Marc Jauvin
3341a47789
Provide the current Form instance to partials ( #902 )
...
Co-authored-by: Luke Towers <luke@luketowers.ca>. Documented by https://github.com/wintercms/docs/pull/130
2023-05-17 15:21:48 -06:00
Marc Jauvin
7adf773ee8
Support trigger actions for dropdown fields in preview mode ( #905 )
...
Fixes #905
2023-05-17 07:41:08 -06:00
Luke Towers
95619bf30a
Add missing .php from migration file name
2023-05-09 18:14:22 -06:00
Marc Jauvin
fc748326ef
Improve docs for checking for the correct Form widget instance ( #899 )
...
Co-authored-by: Luke Towers <luke@luketowers.ca>
2023-05-02 17:36:31 -06:00
Ben Thomson
d27dbbc5f8
Use temporary themesPath config for CMS tests
...
The override for the paths in the testing environment was causing plugin tests to fail as the base plugin test class was pointing to the wrong plugin root.
I've changed it so the override is now only applied for the test(s) that need it.
Refs: https://github.com/wintercms/wn-redirect-plugin/pull/15#issuecomment-1510038828
2023-04-30 20:38:01 +08:00
Jack Wilkinson
6fa840074a
Switch from using DIRECTORY_SEPARATOR to '/' ( #898 )
...
Fixes #895
2023-04-27 21:49:16 -06:00
Luke Towers
7534508afd
Run tests on 8.2 as well
2023-04-27 11:04:55 -06:00
Luke Towers
2148ab537a
Fix ImageResizer test
2023-04-27 11:00:16 -06:00
Marc Jauvin
cda7c7aab5
Update composer.json
2023-04-27 05:59:18 -04:00
Luke Towers
43d251d340
Remove debugging step from workflow
...
Credit to @igibek & @argusSecurityBot for reporting.
2023-04-25 20:52:02 -06:00
Luke Towers
11ec68f60f
Improve type hinting
2023-04-25 20:35:55 -06:00
Zach Schneider
fb80727501
Add sizeBytes & lastModified to mediamanager.js getItems() ( #890 )
...
This adds the sizeBytes & lastModified item attributes to the getItems() function in mediamanager.js exposing them for use in the onInsert() handler of the MediaManager popup.
Credit to @zaxbux
2023-04-23 08:53:49 -06:00
Ben Thomson
f92f3a3d17
Make "winter:util" artisan test clean up after itself
2023-04-22 22:16:05 +08:00
Jack Wilkinson
177d30b8a2
Add Mediafinder Modes ( #780 )
...
This PR introduces support for all mediamanager filters as modes for the mediafinder formwidget.
This means that the following mode values would be available:
image
file
document
audio
video
all (default)
2023-04-21 10:11:06 -06:00
AIC BV
7f79742732
Make date field bigger, time field smaller in "datetime" field ( #887 )
2023-04-20 07:29:38 +08:00
Marc Jauvin
e9b1c45172
Update wikimedia/composer-merge-plugin to latest version ( #886 )
2023-04-15 21:59:28 -06:00
AIC BV
77ca808b11
Removed unnecessary traceLog call ( #880 )
2023-04-14 11:56:05 -06:00
Luke Towers
6d5388229f
Add support for single symbolized assets to theme asset URL generation
...
Also added tests for symbolized assets passed to the asset combiner from the themeUrl() method.
2023-04-11 12:28:44 -06:00
Luke Towers
b22dbdedf2
Ignore assets using path symbols
...
This excludes assets using path symbols from the child -> parent theme path resolution logic.
Fixes #884 .
2023-04-11 10:59:07 -06:00
Ben Thomson
dfd2ec26e2
Convert Snowboard extras to classes
...
Follows on from 56b7a8f47f
, for the same reason.
2023-04-06 15:37:52 +08:00
Ben Thomson
56b7a8f47f
Convert Snowboard requests to classes
...
For some reason, these were not true importable classes as they were using the global Snowboard variable, so they couldn't be used in custom Snowboard builds.
I've created two new build files that use the same names as the previous builds, so this should be BC, but the source files are now true classes so they can be imported at will.
2023-04-05 09:47:56 +08:00
Ben Thomson
16cdf50fc0
Properly handle arrayed fields when files are enabled in old framework
...
Fixes https://github.com/wintercms/winter/issues/872
2023-04-03 14:41:10 +08:00
Marc Jauvin
34609321b9
Add support for pathSymbols in asset filenames ( #874 )
2023-03-30 08:46:04 -06:00
Jack Wilkinson
9294d39cc4
Multiple assets in combiner url ( #875 )
2023-03-29 08:06:30 +08:00
Marc Jauvin
0e506ebdcb
Fix inspector depends functionality. ( #710 )
2023-03-28 21:16:27 +08:00
Luca Benati
0534b87662
Missing IT translation for send password reset email ( #869 )
2023-03-28 11:58:39 +08:00
xitara
5087713f18
Fixed JS error in IconPicker FormWidget ( #867 )
2023-03-14 16:08:53 -06:00
Jack Wilkinson
dde07a08ea
Manually register system class aliases in test bootstrap ( #863 )
2023-03-08 09:53:58 -06:00
xitara
6954797be2
Add 'themes.' prefix to let work backend theme localization again ( #861 )
2023-03-06 07:24:30 -06:00
xitara
5d07e6523c
Fix Class "Cms\Classes\Log" not found error ( #858 )
2023-03-05 20:26:23 +08:00
Luke Towers
a2988a8025
Fixed incorrect variable
...
🤦
2023-03-03 13:12:28 -06:00
Luke Towers
482d7b5e1d
Fix issue where plugin replacing a version that isn't present in its version.yaml would fail
...
Fixes https://github.com/wintercms/wn-blog-plugin/issues/33 .
Note for @bennothommo @jaxwilko @mjauvin, we may have issues at some point if the replaced plugin goes past the version that the replacing plugin starts its replacement at (for example, if RainLab.Blog starts going past 2.0 then we're going to have to rethink how we handle that migration process so that we can support taking over existing migrations that go past 2.0 on the original plugin while starting the replacement plugin's migrations at 2.0, although there's potentially some issues with that too. Perhaps we could require confirmation to rollback a plugin to the last version that it could be taken over from before allowing the takeover to proceed?
2023-03-03 13:03:36 -06:00
Jack Wilkinson
5b4e977b07
Fix typehint ( #856 )
2023-03-02 09:20:10 -06:00
Luke Towers
1adb3abbff
Merge pull request #726 from wintercms/wip/child-theme
2023-03-01 07:42:14 -06:00
Jack Wilkinson
af37464ea3
Added child theme tests
2023-03-01 11:53:36 +00:00
Damien MATHIEU
e5f951a43a
Include theme Blocks in the Tailwind theme scaffold ( #850 )
2023-02-28 17:38:38 -06:00
Luke Towers
2aa1620edc
Added .block files to the VS Code recommendations
2023-02-28 11:07:22 -06:00
Luke Towers
65be1261a0
Update docblock
2023-02-28 10:53:25 -06:00
Luke Towers
29457dee56
Disable snowboard debugging by default
2023-02-28 10:51:25 -06:00
Damien MATHIEU
caf1c77a14
Improve French translations ( #849 )
...
Improve French translations
2023-02-28 10:51:31 -05:00
WebVPF
b1d28d9d3e
Improved Russian translations ( #847 )
2023-02-28 20:32:57 +08:00
Jack Wilkinson
263a1a3c00
Removed undefined var and replaced with halycon registered event
2023-02-27 18:43:02 +00:00
Luke Towers
c91fe4ff5c
Apply suggestions from code review
2023-02-27 12:25:38 -06:00
Jack Wilkinson
3febe416fe
Merge branch 'develop' into wip/child-theme
2023-02-27 17:53:17 +00:00
Luke Towers
a9e2e01fb6
Update modules/cms/classes/Theme.php
2023-02-27 11:52:48 -06:00
Luke Towers
85fe239da0
Update modules/cms/widgets/AssetList.php
2023-02-27 11:35:33 -06:00
Luke Towers
3c393b74c1
Update modules/cms/classes/Controller.php
2023-02-27 11:32:50 -06:00
Luke Towers
02319de0ed
Update modules/cms/classes/Controller.php
2023-02-27 11:28:15 -06:00
Luke Towers
ad3e19eeeb
Update modules/cms/classes/Controller.php
2023-02-27 11:26:40 -06:00
Jack Wilkinson
49d7ea0801
Removed whitespace
2023-02-27 17:19:53 +00:00