Ben Thomson
40303e4aee
Disable booting backend localization if theme is missing.
...
Fixes https://github.com/octobercms/october/issues/5381
2020-12-04 16:30:23 +08:00
Martin Vančo
5bbc714984
Update sk.js ( #5375 )
...
Fixes wrong 'style' translation (replaces letter 'ť' with 'Š'), adds translation for Insert File and Insert Audio.
2020-12-03 12:26:20 +08:00
Ben Thomson
b9833a6862
Compile JS and lang assets
2020-11-27 14:29:26 +08:00
Ben Thomson
89dbe8dc72
Fix duplicate AJAX call on using Apply or Clear buttons in group filter
...
Fixes https://github.com/octobercms/october/issues/5365
2020-11-27 14:25:49 +08:00
Luke Towers
c8899898e6
Documented richeditor.listTypes & richeditor.getTypeInfo events ( #5295 )
2020-11-20 15:45:17 -06:00
Alvaro Cánepa
e2eb299bee
Migrate to League\Csv 9.0 ( #5335 )
...
OC 1.1 require `league/csv: ~9.1` but use code from 8.x on ImportExport behavior.
https://csv.thephpleague.com/9.0/upgrading/
2020-11-20 15:41:05 -06:00
Ben Thomson
d7d6faeedb
Generate random password for seeded admin account through october:up ( #4866 )
2020-11-20 03:43:33 -06:00
hackolein
96fd2ec657
Match paths sent to theme:sync more exactly ( #5334 )
...
`artisan theme:sync --target=database --force --paths=layouts/,pages/,partials/`
But at the moment it also synchronizes paths that should not be synchronized. For example: `content/static-pages/`. Because here the pattern applies to `pages/`.
The fix is that the pattern starts at the beginning of the line.
Co-authored-by: Heiko Böhme <hboehme@menadwork.com>
2020-11-20 03:02:10 -06:00
Ben Thomson
00849268ed
Allow customised deletion messages in lists
...
Provides the ability for developers to specify a custom message for bulk deletion actions, as well as a custom message when no records could be deleted due to missing selections or an altered query not finding any applicable records.
2020-11-19 17:28:30 +08:00
Samuell
5d0988559b
Component property can be mixed value ( #5355 )
2020-11-16 01:36:55 -06:00
Luke Towers
d34fb8ab51
Improve Twig security policy
...
Follow up to 106daa2930...7cb148c167
. Thanks to @ka1n4t for the additional review.
2020-11-13 03:48:27 -06:00
Ben Thomson
16e0bd4d09
Move theme localization to the boot process. ( #5349 )
...
It appears that doing this in the "register" process can result, at times, in an exception to be thrown as the connection to the DB is not yet established.
2020-11-11 09:53:31 +08:00
Ben Thomson
50816a9556
Add support for defining quick actions in the Backend's main nav ( #5344 )
...
Plugins now have the ability to define quick actions through a "registerQuickActions" method, which follows the same configuration as the "registerNavigation" method. It is still recommended and preferred that most plugin functionality be defined in their own main menu items, but this will allow a plugin to easily define a shortcut (or remove one).
2020-11-10 12:53:17 +08:00
Marc Jauvin
f18769e282
Check that mail templates/layouts exist before extracting view content ( #5322 )
...
Co-authored-by: Luke Towers <github@luketowers.ca>
Co-authored-by: Ben Thomson <git@alfreido.com>
2020-11-10 10:47:56 +08:00
Marc Jauvin
3590571642
fix themes localization namespace ( #5348 )
2020-11-09 13:10:22 -06:00
Siarhei Karavai
061d35e5fd
Register theme backend localization files ( #4960 )
...
Closes #4308 .
2020-11-07 15:13:25 -06:00
Marc Jauvin
59d183b3b0
Add Sortable Behavior to ReorderController validateModel ( #5268 )
...
Checks for the newly added Sortable Behavior as well as the existing Sortable Trait. See b19deb853f
2020-11-04 11:18:22 -06:00
Salvatore Brosio
df91c529a1
Improved Italian translations ( #5338 )
...
Co-authored-by: salvatore brosio <salvatore.brosio@gmail.com>
2020-10-29 11:25:19 -06:00
Ben Thomson
866af34b1a
Use number literals for booleans in filter conditions.
...
SQL Server treats literal "false" and "true" as column names. This is probably the same for any other database type that does not have a true "boolean" storage.
Refs: https://github.com/rainlab/blog-plugin/pull/526#issuecomment-716299459
2020-10-26 15:32:13 +08:00
Senuros
5dfe1ff748
Improve German translation ( #5331 )
2020-10-25 20:10:08 -06:00
Senuros
e1ba909b65
Improve German translation ( #5329 )
2020-10-23 23:05:40 -06:00
Bertware
6fb3708440
Improve Dutch translation ( #5328 )
...
Sources:
https://www.vandale.nl/gratis-woordenboek/nederlands/betekenis/component
http://de-of-het.nl/component/
2020-10-23 14:14:59 -06:00
Luke Towers
fbb470c7ee
UX improvements for managing plugins.
...
Fixes #5127 , also will force a page reload after changing the status of a plugin (remove, disable, enable, etc) so that the menu structure is accurately reflected.
2020-10-22 16:14:14 -06:00
Luke Towers
86496ff818
Support disks that can't be serialized in ImageResizer. ( #5324 )
...
Requires https://github.com/octobercms/library/pull/532
2020-10-22 13:20:19 -06:00
TimFoerster
bd83f34ac4
Minor UX tweak ( #5325 )
...
Change order to plugin, theme to match the install page.
2020-10-22 09:02:22 -06:00
Luke Towers
a9a2c6e83b
Improve handling of custom editor styles in the backend
2020-10-20 15:35:27 -06:00
Igor
baecc2c1e6
Fix codestyle ( #5323 )
2020-10-20 15:02:53 -06:00
Luke Towers
51d1c16369
More tweaks to the default publisher permissions, added separate permission for users to manage their own personal editor preferences.
2020-10-20 09:20:16 -06:00
Marc Jauvin
aa9c209e76
Hide stripe load indicator when a redirect response is returned ( #5321 )
...
Fixes #5055
2020-10-19 11:08:37 -06:00
Luke Towers
a9d54eaa97
Warn about unsupported cache drivers being used for image resizing
2020-10-15 09:48:46 -06:00
Samuel Georges
3dc105173a
Only allow local files via view engine
...
The Laravel view engine wants to supply the Twig engine with an absolute path, even though this is outside the inclusion rules. This implements a temporary exception to wave it through. It seems like a suitable alternative instead of implementing a reverse lookup to ensure the path is a valid view file, since we can trust the source engine has passed the value through its resolver already
Fixes previous fix
2020-10-13 19:14:49 +11:00
4NIK3T
463cd57bc0
Add removeSideMenuItems function ( #5285 )
...
Similar to addSideMenuItems, add a helper function to removeSideMenuItems
2020-10-13 15:51:59 +08:00
Salvatore Brosio
8a9775428b
Improve Italian translation ( #5310 )
2020-10-12 12:11:24 -06:00
Ayumi
df4c2cf86e
Default session.same_site to Lax ( #5293 )
2020-10-12 12:10:17 -06:00
Marc Jauvin
20181b16de
Remove hidden CMS pages from menus ( #5309 )
2020-10-12 11:35:33 -06:00
Samuel Georges
11c93f0a3b
Fixes View::make recursion
...
This logic is called via {% include %} (fixed) and as a custom .htm driver for View::make (broken). The previous change was too aggressive and broke the latter. This still fixes arbitrary file inclusion whilst retaining the original design. Both logic paths are now fixed and have been tested
2020-10-11 19:05:38 +11:00
Ben Thomson
af6db51b79
Allow "no records" message to be defined for relation widgets.
...
Both the "view" and "manage" widgets, in list mode, now support a custom message when no records are available. To maintain BC, if "emptyMessage" is provided in the relation config, this is still used for the "view" widget in list mode.
Fixes https://github.com/octobercms/october/issues/3594
2020-10-07 14:05:17 +08:00
Nick Khaetsky
f8f5e6e022
Changing translation of "layout" word in Russian ( #5291 )
...
Last commit changed translation of word "layout" from 'Шаблон' to 'Макет'. By "straightforward" translation this was maybe correct, but contextually not. We decided to make a poll, to vote for new translation.
2020-10-02 02:38:10 -06:00
Blaž Oražem
4d25ec6813
Improve Slovenian translation ( #5292 )
2020-10-02 02:35:39 -06:00
Samuel Georges
f9e14b02f5
Only allow view files in system twig
...
This no longer allows arbitrary inclusions, only views from the native Laravel view engine. Note this also affects the cms twig loader
2020-09-30 11:11:03 +10:00
Pierre-André Vullioud
b6ee7d9bca
Improve French translation ( #5283 )
2020-09-24 09:47:38 -06:00
Ben Thomson
789de0217d
Add styling for fancy breadcrumb based on Backend brand colors
2020-09-24 16:52:59 +08:00
Luke Towers
0101e1f96b
Fix issue with image resizer URLs that contain URL-encoded characters (i.e. spaces)
...
Don't double decode the URL when validating it because the routing engine already decoded it once
2020-09-19 14:07:23 -06:00
Luke Towers
15ca68c22d
No need to throw exceptions when generating MediaLibrary URLs
2020-09-18 16:01:02 -06:00
Luke Towers
fe2ca6c15e
Fix issue where resized images were not correctly identified as already having been resized when atomic (blue/green) deployment strategies are used in conjunction with files being stored on the local filesystem in a shared symlinked storage folder.
2020-09-18 00:11:11 -06:00
Luke Towers
618e2b58ab
Ignore images that can't be processed by the resizer
2020-09-17 22:53:49 -06:00
Ben Thomson
ed06a6f1ac
Do minItem initialization before checking current value in repeater prep
...
Fixes https://github.com/octobercms/october/issues/5274
2020-09-17 12:45:55 +08:00
Ben Thomson
216b0d6004
Remove errors from october:fresh
and indicate which demo files were moved
...
Follow-up work to fc9d6233a8da738b5b8bbdf2fb7e6fd67da12b66.
2020-09-14 08:09:00 +08:00
Marc Jauvin
fc9d6233a8
Allow october:fresh to remove remove the demo plugin even when the demo theme has already been removed ( #5275 )
2020-09-13 16:51:09 -06:00
Luke Towers
dca6128501
Change Twig template loading fallbacks
...
Previously:
- registered Laravel view file
- attempt to load file as a CMS partial
Now:
- registered Laravel view file
- valid CMS partials
- any file that Twig can access (from the project root) rendered as a plain twig template (but with support for the CMS twig environment)
Fixes 80aab47f04 (commitcomment-42223643)
, https://github.com/octobercms/october/issues/5261#issuecomment-691235167
2020-09-11 15:47:49 -06:00