6507 Commits

Author SHA1 Message Date
Luke Towers
e05a20eddc
Make wikimedia-merge-plugin less greedy by default
Since the recommended way to install plugins is to use Composer, this greedy configuration would occasionally cause issues where running composer update would fail because the currently installed version of a plugin would have dependencies that would be merged as part of the main composer.json file that would conflict with the next version of the plugin; meaning that in order to install the next version of the plugin you could be forced to first delete the existing one.

It is now recommended to treat this line more like the workspaces section in package.json and manually specify the paths you wish to have the merge plugin handle on a per project basis.
2022-07-18 23:58:15 -06:00
Luke Towers
5561d6aa31
Fix fixture paths for case-sensitive filesystems
Fixes #619
2022-07-18 13:06:26 -06:00
Ben Thomson
1212c764f7 Update testing command in GitHub Actions 2022-07-18 08:34:28 +08:00
Ben Thomson
894e4063fc Remove submodule 2022-07-18 08:33:03 +08:00
Ben Thomson
43468b3b9f Automatically inject bootstrap into winter:test command
This commit also enforces some testing environment variables at the process level.
2022-07-18 08:32:12 +08:00
Arvis Lācis
583f1f4063
Small typo fix (#612) 2022-07-17 11:21:46 -06:00
Luke Towers
459b541e35
typo fix
Thanks @arvislacis for noticing
2022-07-17 11:19:34 -06:00
Luke Towers
cbe43569a7
Update AutoDatasource->lastModified return type
Updates to match the DBDatasource & FileDatasource
2022-07-15 13:51:47 -06:00
Luke Towers
fdbe42a78a
Document app.tempPath
Documents https://github.com/wintercms/storm/pull/89/files
2022-07-15 12:54:41 -06:00
Luke Towers
ee3006e2a6
Add winter:password as an alias for winter:passwd
Easier to verbally communicate and have it "just work"
2022-07-15 01:37:49 -06:00
Luke Towers
e565728f55 Update GH actions for official 1.2 release 2022-07-15 01:08:36 -06:00
Luke Towers
74c3bbddbd
Merge pull request #148 from wintercms/wip/1.2
Support Laravel 9 / PHP 8.1
2022-07-15 01:00:22 -06:00
Luke Towers
6f12f8a479
Merge branch 'develop' into wip/1.2 2022-07-14 23:30:20 -06:00
WebVPF
f84ba7c14f
Improved Russian translation (#605) 2022-07-14 22:36:00 -06:00
Mike Robinson
e764d0f54f
Update maximum supported PHP version for 1.1 (#603)
Fixes #601
2022-07-14 10:57:05 -06:00
WebVPF
3ee25c3912
Update EditorConfig link (#602) 2022-07-14 10:41:41 -06:00
Luke Towers
5b8d189df4 Fix issues with accessing the expected context variables inside of Twig macros.
This fixes #578 by adding the ability to pass the CMS Controller instance to the CMS Twig Extension removing the reliance on context variables as well as making the expected "global" twig variables inside of the CMS Twig environment actually global within that environment.

Replaces #598 & #593.

Credit to @RomainMazB for the initial implementation.
2022-07-10 01:09:09 -06:00
Ben Thomson
e2683d8041 Actually finish the test 2022-07-09 19:54:39 +08:00
Ben Thomson
77f4606265 Add unit test for #578 2022-07-09 19:51:25 +08:00
Luke Towers
c8d576713a Add create:job scaffolding command 2022-07-08 16:19:48 -06:00
Luke Towers
7586151d0e Add aliases for base test classes for compatibility 2022-07-08 16:16:43 -06:00
Luke Towers
f05aba7387
Default to public visibility for the local disk
See https://github.com/wintercms/winter/issues/503
2022-07-08 16:00:19 -06:00
Luke Towers
6d23e21755 Remove plugin from pluginFlags property if it has no active flags
Fixes an issue that occurs when removing the last flag from a plugin doesn't re-enable it.
2022-07-06 20:21:53 -06:00
Luke Towers
b52d4ac275 Cleanup unnecessary imports 2022-07-06 15:35:56 -06:00
Luke Towers
c9a72b885b
Merge pull request #596 from wintercms/wip/1.2-fix-mediamanger-thumbnail-view
[WIP] 1.2 - Fix MediaManger Thumbnail View
2022-07-06 15:11:04 -06:00
Luke Towers
b29d1b9883 Code style fixes 2022-07-06 15:00:34 -06:00
Luke Towers
585949abc4 Code review
Removed a bunch of thumbnail generation related methods that are no longer required now that the ImageResizer class handles it all.
2022-07-06 14:42:34 -06:00
Jack Wilkinson
a31fa1b1d2 Added lazy resizing support for thumbnail view in media manager 2022-07-06 04:07:38 +01:00
Romain 'Maz' BILLOIR
c0119a09ce
Fix return type in placeholderFunction (#594) 2022-07-05 02:26:29 -06:00
Jack Wilkinson
60f06512c3
Added defaults to brand settings config calls (#595) 2022-07-05 02:22:28 -06:00
Ben Thomson
b90b4fe869 Fix constructor signature in User Throttle model 2022-07-04 09:34:08 +08:00
Ben Thomson
e13c4534db Fix constructor signature in Meta class 2022-07-04 09:28:34 +08:00
Ben Thomson
0add2263b8
Code analysis tweaks (#589)
Implements fixes to some breaking changes introduced in https://github.com/wintercms/storm/pull/64.
2022-07-04 09:22:59 +08:00
Ben Thomson
ce63a34a8b Merge branch 'develop' into wip/1.2 2022-07-01 09:30:17 +08:00
Ben Thomson
bbc53388d4 Apply consistent path normalisation to fix Windows test 2022-07-01 09:24:05 +08:00
Jack Wilkinson
725fbc03f6
Use the ImageResizer for resizing and cropping in the MediaManager (#577)
This implements support for the ImageResizer within the media manager for thumbnail resizing & image cropping. This simplifies and centralizes the image resizing code within the media manager and allows for better support on readonly filesystems by relying on the ImageResizer class to process image modification requests.
2022-06-29 15:52:12 -06:00
Ben Thomson
3ff0360887 Fix view maker unit test for Windows 2022-06-29 20:17:48 +08:00
Jack Wilkinson
0860a7af92
Added fix to ensure correct normalization and return (#588)
Fixes https://github.com/wintercms/winter/issues/569
2022-06-29 19:56:18 +08:00
Ben Thomson
5ccde6fb46 Merge remote-tracking branch 'origin/develop' into wip/1.2 2022-06-28 13:12:15 +08:00
Arvis Lācis
e211bede7f
Outputs time respecting backend preferences (#572) 2022-06-26 14:19:41 -06:00
Luke Towers
e58c768945 Bump minimum Laravel version to 9.1
See 63ca843643
2022-06-24 22:19:00 -06:00
Ben Thomson
7a25524f73
Fix site relative partial paths failing in 1.2 (#587)
Matches the behavior of the ViewMaker in the 1.1 branch more closely by checking if the partial path is a local reference first, returning that path if it is. Only if this check fails will it then run through the view paths.

Fixes https://github.com/wintercms/winter/issues/571

Also fixes the ViewMaker tests by emulating the same behaviour as a web request and having the current directory be the base path of the site, not the directory of the current module or plugin being tested.
2022-06-24 22:09:40 -06:00
Luke Towers
3dd8d61ae4
Switch back to using Laravel CacheServiceProvider
Partially reverts part of 1bbfb67d8c in favour of https://github.com/wintercms/storm/pull/86/files
2022-06-24 21:40:02 -06:00
Ben Thomson
5a0649de72 Rebuild Snowboard agian 2022-06-25 11:18:03 +08:00
Ben Thomson
4085a734b6 Revert "Rebuild Snowboard"
This reverts commit ba986fa923724f9d1c961a7541a588d9e120b36e.
2022-06-25 11:17:10 +08:00
Ben Thomson
ba986fa923 Rebuild Snowboard 2022-06-24 22:44:31 +08:00
Ben Thomson
4e43366f7d Allow a string selector for the form in a request 2022-06-24 22:42:17 +08:00
Ben Thomson
fe312dff1a Allow a string selector for the form in a request 2022-06-24 22:41:10 +08:00
Ben Thomson
5201d710cb Merge branch 'develop' into wip/1.2 2022-06-24 11:58:58 +08:00
Ben Thomson
2497b8dc7b Use correct line breaks for Windows tests 2022-06-24 11:49:11 +08:00