Luke Towers
85b133090d
Use .php for the backend view extension instead of .htm
2022-05-02 00:04:25 -06:00
Luke Towers
643a581ce9
Add support for .php as a backend partial extension
2022-05-01 23:50:38 -06:00
AIC BV
593a5ba8b2
Fix spacing in MailPartial.php ( #540 )
2022-04-30 12:10:02 +08:00
AIC BV
35d230b43b
Fix spacing in MailLayout.php ( #539 )
2022-04-30 12:05:41 +08:00
Ben Thomson
7eda7b44a5
Merge branch 'develop' into wip/1.2
2022-04-29 14:26:29 +08:00
Ben Thomson
1d93841594
Fix relation count in lists for non snake-case relations
...
Laravel will automatically snake-case the given relation name (unless it is aliased) into the field "model_name_count" when retrieving a relation count. Since we don't allow an alias as part of the Lists config, we will simply snake-case the relation name too to retrieve the correct value.
Refs:
- https://github.com/laravel/framework/issues/18381
- https://github.com/laravel/framework/blob/6.x/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php#L402
2022-04-29 14:25:13 +08:00
Marc Jauvin
8dbc2de227
Add spanish localization for 'auth.invalid_login' ( #543 )
...
Credit to Federico Schafer
2022-04-28 19:12:27 -06:00
Luke Towers
ba5378c5ef
Add missing import
2022-04-27 10:58:29 -06:00
Marc Jauvin
d9cdf3dba0
Only show "Send test message" button on Mail Settings page ( #537 )
2022-04-24 15:18:36 -06:00
WebVPF
65e19d9b52
Allow for nested partial files in components in the recommended extension file type mapping ( #453 )
...
Credit to @WebVPF
2022-04-20 23:29:38 -06:00
Arvis Lācis
1f4a33d48c
Support nestedform fields in ThemeData forms ( #534 )
...
Credit to @arvislacis.
Refs: https://octobercms.com/forum/post/using-nestedform-on-theme-configuration
2022-04-20 14:33:34 -06:00
Ben Thomson
0b573cc7a2
Merge branch 'develop' into wip/1.2
2022-04-19 10:53:31 +08:00
Ben Thomson
d0dda02073
Use more lenient base URL validation
...
The previous regex failed for "localhost" URLs.
2022-04-19 10:52:45 +08:00
Ben Thomson
2a8afecb23
Make "mix:update" command compatible with 1.2
2022-04-19 10:12:59 +08:00
Ben Thomson
4f401377fd
Merge branch 'develop' into wip/1.2
2022-04-19 10:11:49 +08:00
Ben Thomson
9573d11d4b
Add "mix:update" command to update Node dependencies
...
Operates almost entirely the same as "mix:install", but ensures dependencies are using the most up-to-date version. This will help resolve cases where an NPM audit reports vulnerable dependencies.
2022-04-14 20:31:38 +08:00
Jack Wilkinson
bb3b6271ca
Fix error using undefined var ( #532 )
2022-04-10 19:11:39 -06:00
Ben Thomson
0a1b289986
Merge branch 'develop' into wip/1.2
2022-04-07 20:41:28 +08:00
Marc Jauvin
b74822217c
change confirmation prompt ( #529 )
2022-04-06 23:52:52 -06:00
Marc Jauvin
c456a3275b
Add "send test message" button on MailSettings page ( #528 )
...
Implements #527 . Credit to @mjauvin
2022-04-06 09:32:22 -06:00
Ben Thomson
c15d216cc7
Add Snowboard assets in Backend
2022-04-06 22:39:54 +08:00
Ben Thomson
4c19aac6c7
Fix base URL joining when using window.location
2022-04-06 22:39:41 +08:00
Ben Thomson
8e57999eff
Set up System module asset compilation with Mix
...
- Copied restructure from the "wip/inspector-rewrite" branch.
- Added manifest and vendor files in "{% snowboard %}" tag.
- Used standard Mix config path to auto-register the module.
2022-04-06 22:21:06 +08:00
Luke Towers
9aedac5a0a
Merge pull request #526 from wintercms/wip/1.2-fix-backend-mail-settings
...
Update MailSettings for new Laravel mail config structure. (#522 )
2022-04-05 15:32:38 -06:00
Luke Towers
5ff453a5a7
Minor tweaks; moved SES fields to the Winter.DriverAWS plugin
2022-04-05 14:57:59 -06:00
Marc Jauvin
9e1a02cad0
Update MailSettings for new Laravel mail config structure. ( #522 )
...
Requires wintercms/storm#79
Removed the following drivers configs not native in Laravel:
- Mailgun
- Mailchimp (Mandrill)
- Postmark
- SparkPost
- Amazon SES
Credit to @mjauvin
2022-04-05 14:40:49 -06:00
Luke Towers
09e80e9e6c
Merge pull request #486 from wintercms/wip/1.2-improve-scaffolding
...
Scaffolding Improvements
Still a few todo items but I've added them to the main comment on the Laravel 9 PR to be dealt with later so that we can start using the work that exists on this so far.
2022-04-03 14:50:38 -06:00
Luke Towers
6fd53d4e18
Improve Settings scaffolding
2022-04-03 14:47:20 -06:00
Luke Towers
f3c9a25742
Fix create:controller command
2022-04-03 14:31:27 -06:00
Luke Towers
e2e2fc428d
Stub out create:migration
2022-04-03 14:20:54 -06:00
Luke Towers
1934cead68
Plugins should be generated the same no matter what OS is being used to generate them
2022-04-03 13:53:26 -06:00
Luke Towers
574437b9be
Moved GeneratorCommand back to Scaffold
2022-04-03 13:40:18 -06:00
Luke Towers
2c74cdb681
Merge branch 'wip/1.2' into wip/1.2-improve-scaffolding
2022-04-03 13:33:15 -06:00
Ben Thomson
107db21d65
Fix code smell
2022-04-01 11:49:56 +08:00
Ben Thomson
1b7fc17aa4
Allow removed plugin to be re-added
2022-04-01 11:46:36 +08:00
Ben Thomson
ffc9961ab9
Add better handling of Snowboard dependencies
...
This will allow for singletons to not fire off their "ready" handler until after the dependencies are fulfilled. Normal plugins which are used and have not had their dependencies fulfilled will still throw an error.
2022-04-01 11:31:15 +08:00
Ben Thomson
c39090bcec
Check that Snowboard is loaded before the core plugins load
2022-04-01 10:21:13 +08:00
Ben Thomson
192b91af12
Snowboard updates
...
- Added events "flash.create" and "flash.remove" triggered when flash messages are created and removed
- Added URL utility into Snowboard core to handle URL generation and base URL detection
- Added base URL in Twig tag
- Updated Stylesheet Loader to use base URL when injecting extras CSS
2022-04-01 10:14:10 +08:00
Marc Jauvin
752d6ad47e
fix null coalescent operator ( #518 )
2022-03-31 07:41:16 -04:00
Ben Thomson
9b22dab824
Allow flash to display indefinitely with 0 duration
2022-03-31 15:03:57 +08:00
Ben Thomson
8d14838f81
Fix flash timer bar on hide, adjust colours for legibility
2022-03-31 14:47:13 +08:00
Luke Towers
7b7add2338
Merge develop into 1.2
2022-03-23 22:35:58 -06:00
Luke Towers
ecc258dbc4
Simplify prepareVars usage, fix create:theme usage
2022-03-23 15:32:08 -06:00
Luke Towers
00f721c351
Localized create:model scaffolding
2022-03-23 15:18:28 -06:00
Luke Towers
a02c33489d
Add localization support to create:controller
2022-03-23 15:11:49 -06:00
Luke Towers
0641ab7243
Adjusted interfaces and made create:plugin include translations
2022-03-23 15:07:00 -06:00
Luke Towers
c37190065a
Simplify diff
2022-03-23 14:30:59 -06:00
Luke Towers
9301a98d8c
Merge branch 'wip/1.2' into wip/1.2-improve-scaffolding
2022-03-23 13:44:09 -06:00
Ben Thomson
e7eb6e3deb
Fix code style
2022-03-23 20:38:30 +08:00
Ben Thomson
83861eaae7
Slight adjustments to code style
2022-03-23 20:34:49 +08:00