6018 Commits

Author SHA1 Message Date
Luke Towers
2ff9ad250b
Update modules/system/console/MixCompile.php
Co-authored-by: Ben Thomson <git@alfreido.com>
2022-02-13 09:42:12 -06:00
Luke Towers
6808a7a698 Fix mix:compile & mix:watch commands
Also added additional checks to improve developer experience when running the commands.
2022-02-12 09:54:36 -06:00
Luke Towers
b3dc49f649 Remove usage of DIRECTORY_SEPERATOR, Windows supports both separators so this it was unnecessary. 2022-02-11 15:37:53 -06:00
Luke Towers
cdfae4abd1 Automatically add laravel-mix as a package.json dependency if desired 2022-02-11 14:42:51 -06:00
Luke Towers
236ac3929f Add modification of package.json to mix:install and TTY passthrough support 2022-02-11 14:20:56 -06:00
Luke Towers
1cbbd6474d Use relative paths in the MixAssets manager 2022-02-11 14:20:10 -06:00
Luke Towers
b2de281815 Support installing previously unregistered Mix packages for valid modules, themes, & plugins. 2022-02-11 13:18:00 -06:00
Luke Towers
1085be50b5 Implement autoregistration of Laravel Mix packages for modules, plugins, & themes.
Also renamed default to winter.mix.js instead of winter-mix.js started on the mix:install support.

Refs: #440, #401.
2022-02-10 16:10:07 -06:00
Luke Towers
76319578c7 Fixed typo 2022-02-08 02:31:55 -06:00
Luke Towers
95c1d9f695 Merge branch 'develop' into wip/snowboard
* develop: (25 commits)
  Use the asset helper for static assets
  Added asset filter & function versions of all System Twig filters (#428)
  Improve Japanese Translation (#435)
  Improved Latvian translation (#434)
  Improved Ukrainian translation (#433)
  Redirect to the myaccount page as a final fallback
  Improve Persian translations (#423)
  typo fix (#424)
  Improved Russian translation (#422)
  Tidy up
  Style fix
  Go to User's details page when clicking on related user from the roles update page
  Update recommend format for implementing controller behaviors
  Add support for default configuration file names for controller behaviors
  Attach default permissions to the publisher role
  Only show role user management in the update context
  Improve UserRole editing experience
  Fix support for readOnly on the datepicker formwidget.
  Sort assets alphabetically in the CMS Theme Editor (#420)
  VSCode recommended extensions (#417)
  ...
2022-02-07 20:30:15 -06:00
Luke Towers
8454066e2e Use the asset helper for static assets
Also removed the duplicated asset() Twig function.

This helps improve support for Laravel Vapor.
2022-02-06 20:45:31 -06:00
Jack Wilkinson
d96231c57a
Added asset filter & function versions of all System Twig filters (#428) 2022-02-06 19:30:47 -06:00
Yoshio Tsukuda
7aafab288a
Improve Japanese Translation (#435)
Credit to @tukuyo
2022-02-06 01:38:09 -06:00
Arvis Lācis
cd70964cc5
Improved Latvian translation (#434) 2022-02-04 14:30:31 -06:00
WebVPF
9c0ff263e3
Improved Ukrainian translation (#433) 2022-02-04 20:08:13 +08:00
Luke Towers
e6d809e12b
Redirect to the myaccount page as a final fallback
Redirects to the My Account page if the user doesn't have access to any main menu items or the dashboard itself.
2022-01-31 14:03:28 -06:00
rezalaal
36ad13f200
Improve Persian translations (#423)
Co-authored-by: Luke Towers <github@luketowers.ca>
2022-01-31 09:58:26 +08:00
WebVPF
ac33135ea3
typo fix (#424) 2022-01-31 08:50:38 +08:00
WebVPF
acbcd44187
Improved Russian translation (#422)
It has been recommended that the menu items be kept in English for now, as per @WebVPF's [comment](https://github.com/wintercms/winter/pull/422#issuecomment-1024048728). We'll need to revisit this later if we change the UI.
2022-01-28 20:29:59 +08:00
Luke Towers
515628a131 Tidy up 2022-01-26 03:12:43 -06:00
Luke Towers
40673be732 Style fix 2022-01-26 03:03:03 -06:00
Luke Towers
88a26ea3f3 Go to User's details page when clicking on related user from the roles update page 2022-01-26 03:02:33 -06:00
Luke Towers
0abfcf3777 Update recommend format for implementing controller behaviors 2022-01-26 02:50:28 -06:00
Luke Towers
4fea19002c Add support for default configuration file names for controller behaviors
This change means that it is no longer required to define $formConfig, $listConfig, $relationConfig, $importExportConfig, $reorderConfig on your controller classes that implement the relevant controller behaviors unless your configuration file is named something other than the default names used by those controller behaviors.
2022-01-26 02:42:17 -06:00
Luke Towers
e9ed9e4228 Attach default permissions to the publisher role 2022-01-25 21:22:49 -06:00
Luke Towers
301ba2ed02 Only show role user management in the update context 2022-01-25 19:52:50 -06:00
Luke Towers
f28d3173d5 Improve UserRole editing experience
- Added RelationController field to manage all users of a given role at once through the role's form page.
- Added "slug" preset to the code field.
- Limited inheritance of "orphaned" (permissions without default roles assigned) to just the "Developer" role instead of all system roles.
2022-01-25 19:51:08 -06:00
Luke Towers
ed775a3452 Merge branch 'develop' of github.com:wintercms/winter into develop
* 'develop' of github.com:wintercms/winter:
  Sort assets alphabetically in the CMS Theme Editor (#420)
  VSCode recommended extensions (#417)
  Altered order of operations to ensure modules are seeded before plugins (#419)
2022-01-25 19:05:05 -06:00
Luke Towers
bd79b80d01 Fix support for readOnly on the datepicker formwidget.
Fixes #363, replaces #367. Credit to @arvislacis.

Also misc cleanup.
2022-01-25 19:04:38 -06:00
sheck87
94bb7783a6
Sort assets alphabetically in the CMS Theme Editor (#420)
Credit to @sheck87
2022-01-25 18:35:48 -06:00
WebVPF
9b9a1bc13d
VSCode recommended extensions (#417)
Further recommendations to be added in the future.
2022-01-25 18:35:02 -06:00
Jack Wilkinson
927719f758
Altered order of operations to ensure modules are seeded before plugins (#419) 2022-01-24 08:32:36 -06:00
Luke Towers
4e7970c197 Add support for pivot data when creating related records via the RelationController 2022-01-23 20:58:31 -06:00
Luke Towers
5babad9699 add docblock for the JS sanitizer 2022-01-21 16:39:50 -06:00
WebVPF
862b539b01
Fix VSCode settings (#416)
Example:
`.../plugins/winter/blxog/controllers/posts/update.htm`
==>
`**/plugins/*/*/controllers/*/*.htm`
2022-01-21 01:45:50 -06:00
WebVPF
15686424aa
Improved Russian translation (#415) 2022-01-21 09:29:35 +08:00
WebVPF
9642fdd0eb
Added default file associations for VSCode (#414)
Credit to @WebVPF
2022-01-20 11:54:18 -06:00
Luke Towers
416ba70687
Update modules/system/assets/js/snowboard/utilities/JsonParser.js 2022-01-20 11:50:52 -06:00
Ben Thomson
5bb790f1dc
Add better event handling with getting all cookies 2022-01-20 13:42:50 +08:00
Ben Thomson
f98ce67a6a
Fix tests 2022-01-20 13:21:54 +08:00
Ben Thomson
104b567179
Remove debounce 2022-01-20 13:18:44 +08:00
Ben Thomson
17f77fd673
Fix default method definition 2022-01-20 11:39:03 +08:00
Ben Thomson
48cec0594b
Don't sanitize partial content 2022-01-20 10:34:11 +08:00
Ben Thomson
f1fd8af7cb
Merge branch 'develop' into wip/snowboard 2022-01-20 10:29:34 +08:00
Ben Thomson
83c076c7de
Add extensibility to cookie utility 2022-01-20 09:47:20 +08:00
Luke Towers
806ef8ef28 Provide additional information for the JsonParser Snowboard plugin 2022-01-19 15:10:10 -06:00
Ben Thomson
23cceda3ca
Stop Gitpod pre-builds
Don't seem to be working at the moment - will look into it later.
2022-01-19 22:39:59 +08:00
Ben Thomson
195a07a946
Remove leftover development block comment 2022-01-19 17:46:36 +08:00
Ben Thomson
3e609ad95c
Allow fetch options to be modified
This can be done per request through the options, or via a global event.
2022-01-19 17:38:00 +08:00
Ben Thomson
aa4ed5ab21
Fix FakeDom error in tests 2022-01-19 17:16:04 +08:00