4814 Commits

Author SHA1 Message Date
Luke Towers
7e383e7c45 Auto detect editor to use in CMS template editing section 2021-03-06 03:24:39 -06:00
Luke Towers
924b4ce844 Revert 1fac424f71.
Refs: https://github.com/octobercms/october/issues/5457
2021-03-06 03:09:32 -06:00
Luke Towers
b458cb7fdb Improve French translation.
Refs: b33a659689. Credit to @najbo
2021-03-06 03:04:59 -06:00
Luke Towers
ecbdb98997 Improve plugin uninstallation stability when removing plugins with dependencies by reversing the migration order to put dependent plugin's down() methods first.
Refs: daf281df41. Credit to @gitlog
2021-03-06 03:02:46 -06:00
Luke Towers
116165c46d Add support for specifying the perPageOptions for a Lists widget.
Refs: 9d06eb5c7d. Credit to @thomas4bitcraft
2021-03-06 03:00:16 -06:00
Luke Towers
b2b7978aff Add default value for winter:install database selection question.
Refs: 3b650b7ebd. Thanks to @hune2021.
2021-03-06 02:50:30 -06:00
Luke Towers
3ae78a23ce back to list 2021-03-06 02:40:18 -06:00
Ben Thomson
09b07dcbab Merge remote-tracking branch 'origin/develop' into wip/php-8-testing 2021-03-01 22:39:35 +08:00
Marc Jauvin
00f65ca725
Honor cms.linkPolicy config in ImageResizer (#5401) 2021-02-26 13:53:18 -06:00
Saifur Rahman Mohsin
59de6e1d25
Respect user-defined admin password during october:install(#5481)
During the regular october install using october:install, the user-defined password is overwritten with the random generated string password. Instead, now it uses random password only if the user-defined password defaults to *admin* and if a user did set a custom password, that is used instead.
2021-02-26 13:49:52 -06:00
Tolkam
05ff39b30e
Fixed call_user_func_array() named parameters mismatch that came from BackendController (#5493)
Co-authored-by: Kanstantsin K <kk@tolkam.by>
2021-02-08 11:43:30 +08:00
Ruben van Erk
623cfe191a
Improve Dutch translation (#5497) 2021-02-07 11:59:07 -06:00
Michał Płodowski
62dd76b3ef
Update pikaday to version 1.8.2 (#5395)
Fixes #5388
2021-02-05 13:16:29 -06:00
Marc Jauvin
c02346b3d5
Disable customize button on inactive themes (#5492) 2021-02-04 10:35:01 -06:00
Tolkam
26b231cad9
PHP 8 compatibility fixes (#5454)
Co-authored-by: Kanstantsin K <kk@tolkam.by>
2021-02-04 11:59:44 +08:00
Romain 'Maz' BILLOIR
becb688123
Fix docblocks of addCss/Js: add array to $name type (#5491) 2021-02-03 20:53:12 -06:00
Kallef Alexandre
e4a6fcc24a
Improve Brazilian Portuguese translations (#5490) 2021-02-03 14:35:12 -06:00
Szabó Gergő
533e17775a
Improvements to the Hungarian translation (#5475) 2021-02-01 07:43:42 +08:00
Romain 'Maz' BILLOIR
a848688acb
Fix double dash typo on data-ajax--delay (#5477) 2021-01-28 16:39:02 -06:00
Frendhi
d2b3f865f1
Fix checkboxlist label missing if $option is not string or array (#5463) 2021-01-18 17:23:01 +08:00
Luke Towers
47b2aa0f15
Fix safeMode triggering unnecessarily
Fixes a long standing issue where when safe mode is enabled and the line endings present in the templates differed from the line endings used by the user's browser it would cause safe mode to prevent saving any changes (even when those changes did not include real changes to the code property) because the user's browser would "helpfully" change the original line endings to the line endings of the browser before sending it back to the server.
2021-01-15 14:54:31 -06:00
Ben Thomson
555ab61f23
Add app.trustedHosts config and force host checks on password reset (#5423)
Add app.trustedHosts config and force host checks on backend password reset.

Related: f29865ae3d
2021-01-04 12:35:47 -06:00
LucianDex
786d59eff8
Fix typo (#5433) 2020-12-26 18:20:59 -06:00
Luke Towers
5591e3fa94 Add support for choosing the default backend locale from the october:install command.
Requested by @mkinternet
2020-12-18 13:56:28 -06:00
Luke Towers
f63519ff1e Further improvements to the Twig SecurityPolicy 2020-12-18 12:14:18 -06:00
Ayumi
2108321d49
Fix the placeholder hidden behind the counter in the form widget number (#5398)
Fixes #5397
2020-12-12 15:25:53 -06:00
Luke Towers
2d6b35b31e
Pass the Form & Field instances to the static method used to generate field options
Brings code into line with documentation here: 1015a56294
2020-12-11 15:33:43 -06:00
Jim Cottrell
6cd5ec688a
Ensure that MediaLibrary::listAllDirectories() honors config for paths to ignore (#5367) 2020-12-09 13:09:38 +08:00
Marc Jauvin
681f370284
Use new October\Rain Mail facade (#5361)
Related https://github.com/octobercms/library/pull/538
2020-12-08 12:52:10 -06:00
Marc Jauvin
032b8554b3
Register plugin after installation via plugin:install CLI (#5386)
The web based Updates controller avoids this issue by completing the migration step as a separate AJAX request from the step where the plugin files are installed, thus allowing for the plugins to be registered by the PluginManager prior to migrations being run. As the plugin:install CLI command runs in a single request, it is necessary to manually register the newly installed plugin prior to running any migrations for the plugin so that any dependencies introduced by the plugin are guaranteed to be available prior to plugin code being run.
2020-12-08 12:48:26 -06:00
Marc Jauvin
b090d0d745
Cleanup in ImageResizer (#5379)
Match constructor params docblock & fix resized config keys
2020-12-08 12:34:30 -06:00
Luke Towers
2af7bd97a3 Fixed bug where /0 would return the homepage.
Fixes #5390.
2020-12-08 12:00:58 -06:00
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