5358 Commits

Author SHA1 Message Date
Ben Thomson
2df04a75b2 Fix font location 2022-05-11 13:02:40 +08:00
Ben Thomson
1a6ab951a8 Move icons into root UI folder.
Also separated the global base styles for icons with the actual icon list, so we can limit the icons loaded (ie. for the standard exception / error views)
2022-05-11 13:01:41 +08:00
Ben Thomson
8c9de1b399 Load separate icon file in Backend pages 2022-05-11 11:47:01 +08:00
Ben Thomson
af9876b7c9 Compile icon styling into separate CSS file 2022-05-11 11:43:04 +08:00
Ben Thomson
47e01dc84f Remove explicit links to icon LESS file.
We will load icons independently in another file so it can be cached independently.
2022-05-11 11:36:48 +08:00
Ben Thomson
1b3e01e2be Merge branch 'wip/1.2' into wip/1.2-font-awesome-6 2022-05-11 11:16:23 +08:00
Marco
ac130c462c
Fix undefined variable $packagePath in mix:watch error (#485)
When the package is not present in package.json, the correct error is not thrown because $packagePath not exists.

Co-authored-by: Luke Towers <github@luketowers.ca>
2022-05-09 10:48:19 +08:00
Luke Towers
872be9d671 Merge branch 'develop' into wip/1.2 2022-05-08 14:47:50 -06:00
Luke Towers
3fbc50f06a Improve support for custom configuration of ReportContainers
Previously any configuration that was made via makeConfig() before being passed to the ReportContainer would cause it to break. This fixes that issue.
2022-05-08 14:43:35 -06:00
Ben Thomson
ad4704360b
Remove extra license file 2022-05-07 11:46:42 +08:00
Ben Thomson
afb9ae8c0c Fix shimmed icons, remove some CSS variables, recompile 2022-05-06 13:43:23 +08:00
Ben Thomson
bd3401f6de Upgrade Font Awesome 4 to 6 2022-05-06 13:28:57 +08:00
Ben Thomson
6298026d20 Compile all assets 2022-05-06 10:09:51 +08:00
Ben Thomson
9b7bdc2df7 Merge branch 'develop' into wip/1.2 2022-05-05 09:02:41 +08:00
Ben Thomson
43d3869581 Create custom Snowboard build for Backend
This build does not include the Flash listener, to prevent double flash messages from occurring, as the old flash message system is still used throughout the Backend.
2022-05-03 14:48:41 +08:00
Marc Jauvin
fc57f5b0e7
hide smtp user/password fields if smtp authorization is false (#544) 2022-05-02 14:40:20 -06:00
Luke Towers
c9c4b6113c Fix windows tests & update references to backend view files 2022-05-02 13:02:34 -06:00
Ben Thomson
ceb6cca1ff Fix linting issue with fileupload partial 2022-05-02 16:39:50 +08:00
Ben Thomson
175580aa2f Implement code style for partials.
Adjust all partials to meet new code style.
2022-05-02 16:34:47 +08:00
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
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
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
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