6012 Commits

Author SHA1 Message Date
Luke Towers
defe284303 Merge branch 'develop' into wip/1.2 2022-02-13 10:54:44 -06:00
Jack Wilkinson
9cb42fc6ca
Add support for the Laravel asset() helpers (#426)
Related: https://github.com/wintercms/storm/pull/67
2022-02-13 10:52:47 -06:00
Yoshio Tsukuda
cf5ae34f5a
Improved Japanese translation (#446)
Credit to @tukuyo
2022-02-11 14:46:11 -06:00
Luke Towers
5a1367177a Update recommended VSCode extension to the official Winter CMS extension
See: https://github.com/wintercms/vscode-extension
Refs: #432
2022-02-10 22:42:59 -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
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
4342ee7ab2 Missing comma 2022-01-18 11:23:45 -06:00
Luke Towers
0cdb353154 Only show default user warning to users that can do anything about it. 2022-01-18 09:44:15 -06:00
Luke Towers
cc6c8962cc Add a warning when the default admin user is detected 2022-01-18 09:05:17 -06:00
Luke Towers
69ae087619 Merge branch 'develop' of github.com:wintercms/winter into develop
* 'develop' of github.com:wintercms/winter:
  modified some typos in modules/backend/lang/sk/lang.php (#403)
2022-01-15 12:21:09 -06:00
evan70
614b41252f
modified some typos in modules/backend/lang/sk/lang.php (#403) 2022-01-14 10:58:53 +08:00
Luke Towers
a984774144 Tweaks 2022-01-13 01:38:30 -06:00
Ben Thomson
f4d1b838f4 Merge branch 'develop' into wip/1.2 2022-01-12 11:44:21 +08:00
Ben Thomson
6bbfd0e885 Fix issue with required parameters in Inspectable containers
An exception is thrown in cases where a constructor parameter is required and has no default value. This will return null for these parameters.
2022-01-12 10:47:20 +08:00
Luke Towers
4566318bfb
Tighten up comparison
Follow-up to a208f573f7
2022-01-11 19:21:02 -06:00
Luke Towers
0ed1e4c0c0
Fix infinite loop when impersonating users as a non-superadmin
Fixes #357. 

There was an infinite loop that occurred when attempting to impersonate users as a user that had the backend.impersonate_users permission but was not themselves a super user. This was caused because BackendAuth::getImpersonator() returned a separate user instance than the current user being evaluated despite the underlying DB row being the same.
2022-01-11 16:11:40 -06:00
Archimede Solutions
5b58103107
Improve Italian translation (#394)
Credit to @ArchimedeSolutions
2022-01-04 18:04:20 -06:00
WebVPF
cf1725392a
Remove MailBrandSettings custom CSS (#391)
Unneeded with the latest refactor of the colorpicker formwidget.
2022-01-02 08:36:57 -06:00
WebVPF
cc09f29ec5
Use HTTPS template for links in Markdown editor (#387) 2021-12-27 09:40:12 +08:00
WebVPF
d966d33030
Popup Docs UI - wrap configuration in code tags (#388) 2021-12-27 09:34:10 +08:00
Ben Thomson
9e833fe920
Check controller exists before checking method
PHP 8 compatibility fix.

Fixes https://github.com/wintercms/winter/issues/207
2021-12-18 20:24:08 +08:00
Ben Thomson
a0a0073b5e Extend abstract Yaml Processor 2021-12-17 15:12:25 +08:00
Luke Towers
b414396691 Fix library switcher 2021-12-14 15:15:53 -06:00
Luke Towers
ace576818a Style fix 2021-12-14 02:31:38 -06:00
Luke Towers
2ccc5f699d Merge branch 'develop' into wip/1.2
* develop:
  Backport changes from 1.2 and ignore public directory in default .gitignore
  Update custom_styles language from CSS to LESS (#377)

# Conflicts:
#	config/app.php
2021-12-14 02:30:41 -06:00
Luke Towers
7473cbe27b Backport changes from 1.2 and ignore public directory in default .gitignore 2021-12-14 02:29:17 -06:00