Commit Graph

4257 Commits

Author SHA1 Message Date
Luke Towers de3f8142fb Support multiple instances of the PermissionEditor on a single page 2019-08-29 17:51:52 -06:00
alekseyp 5afb1ee04f Include file extension in combiner URLs (#4567)
Credit to @alekseyp.
2019-08-25 19:52:14 -06:00
Mohamed Ali Behiry e0e23c1fdf Improved Arabic translation (#4555)
Credit to @mabehiry
2019-08-19 09:14:00 -06:00
Ben Thomson a67ccfe993
Allow decompiled Backend JS assets (#4549)
This change will allow the individual JS assets that are compiled into a full compilation file to be loaded individually instead, allowing the developer to see their changes immediately. It introduces a new configuration variable, `cms.decompileBackendAssets`, that controls this functionality. By default, it is false and not tied to the debug value, requiring it to be explicitly enabled.
2019-08-16 16:19:16 +08:00
Dan Harrin 3365820178 Use selected dropdown item as repeater title (#4544)
Credit to @DanHarrin. Initial implementation by @MattPurland. Finishes https://github.com/octobercms/october/pull/2956
2019-08-16 16:13:35 +08:00
Saifur Rahman Mohsin ecf75e7e46 Mention the lang dependency (#4551)
Credit to @SaifurRahmanMohsin.
2019-08-15 16:55:07 -06:00
Ayumi Hamasaki 7aae3f1ef8 Upload vendor file Spectrum V1.8.0 (#4536)
Credit to @ayumihamsaki
2019-08-15 10:04:59 -06:00
Dan Harrin f7539b2c32 Added getReportWidgets() method (#4525)
Credit to @DanHarrin
2019-08-15 09:36:15 -06:00
Dan Harrin 9521dd795c Minor Formatting Corrections in Usage Comments (#4541)
Credit to @DanHarrin
2019-08-15 09:14:54 -06:00
Ben Thomson f190f7a347
Fix exception on middleware loader
An exception was thrown when loading middleware if a requested controller is from a disabled plugin, as the `getRequestedController` method returns a Response object in this scenario.

Hat tip to @w20k.
2019-08-15 16:52:24 +08:00
Samuell 9b8974b003 Add validator for plugin navigation items (#4497)
This will detect invalid navigation item configuration in installed plugins. In debug mode, this will throw an error, otherwise, it will simply log the error.

Credit to @Samuell1. Fixes #4491.
2019-08-15 11:47:13 +08:00
Samuell 60a235e000 Add warning in status widget when debug mode is enabled (#4500)
Debug mode is now shown as a warning in the Status report widget to indicate that its use is discouraged for production websites.

Credit to @Samuell1.
2019-08-15 11:44:22 +08:00
Dan Harrin 188c565d69 Hide active theme's Delete button (#4528)
Credit to @DanHarrin.
2019-08-15 11:42:25 +08:00
Dan Harrin 4434808549 Remove theme data on theme deletion (#4529)
Credit to @DanHarrin. Fixes #1292.
2019-08-15 11:41:03 +08:00
Dan Harrin 967fd02d8c Fix minor spelling errors and inconsistencies (#4543)
Credit to @DanHarrin.
2019-08-15 11:39:26 +08:00
Dan Harrin 67c9decb20 Standardise use of [] vs array() (#4548)
Credit to @DanHarrin
2019-08-14 20:46:36 -06:00
Luke Towers 36ab42aa24 Ensure the the TagList FormWidget is respecting relationship constraints (conditions & scope) 2019-08-14 19:58:42 -06:00
Luke Towers b75d0af966 Improve support for previewMode in Repeaters & NestedForms
Fixes #4521
2019-08-10 09:28:01 -06:00
Ben Thomson c8ae520a79
Fix code smells in lang files left from last commit 2019-08-09 16:19:44 +08:00
Ben Thomson 199407f1a0
Revert #4401 for build 458.
Reverts commit 22847e7892. Will be redeployed in build 459.
2019-08-09 16:07:32 +08:00
Ben Thomson b5a3c64bf1
Fix "widget not bound to controller" error for nested repeaters (#4434)
Since repeaters have no value by themselves, a repeater that contains only another repeater was throwing a "widget not bound to controller" exception when adding a new item - the repeater item processing was not creating a form widget for the inner repeater on load, or in an AJAX call. This fix specifically checks if a child repeater has called for a new item, and if so and the current repeater has no value for this particular item, it will add a "stub" form widget to correctly bind the widget.

Fixes #4344.
2019-08-07 22:44:31 +08:00
RickAcb 0383af6282 Update __isset function to comply with the same checks as __get (#4514)
Credit to @RickAcb.
2019-08-04 19:56:15 +08:00
Ben Thomson 8219f19e8d
Style side panel header with brand colors
Remove commented-out code
2019-08-04 15:35:18 +08:00
Ayumi Hamasaki 5e18655ae9 Fix Rich Editor focus to fill the full height of the container (#4485)
Credit to @ayumihamsaki.
2019-07-30 09:04:38 +08:00
Luke Towers 99777f5977 Fix issue with AJAX framework load order on the frontend.
Partially reverts f4e50ddd1a in response to https://github.com/octobercms/october/pull/4285#issuecomment-513566437. Functionality can be re-added at a later date under an optional parameter added to the {% framework %} tag. Replaces https://github.com/octobercms/october/pull/4469
2019-07-29 16:30:14 -06:00
Luke Towers d8cd45163d Fixed the focus outline for no results on the CodeEditor search box. Credit to @ayumihamsaki. Replaces #4483. Fixes #4482. 2019-07-26 15:05:07 -06:00
Anurat Chapanond 02ba765a9e Added Thai translation (#4472)
Credit to @anurat.
2019-07-26 14:52:52 -06:00
Ben Thomson 610e0c383c
Set validation attributes after context check.
This prevent fields with multiple contexts from overwriting the label name of another context in the validation messages.

Fixes https://github.com/rainlab/user-plugin/issues/371.
2019-07-26 00:27:45 +08:00
Samuell df81ea182b Remove alert to prevent showing same popup twice (#4470)
Credit to @Samuell1
2019-07-24 12:33:18 -06:00
Luke Towers 1587c7f49c Warn developers to not be silly. Fixes #4466. 2019-07-23 11:17:56 -06:00
Ben Thomson a7bc442df5
Pass through enableDefaults config to nested forms
This should allow default values to be used in nested form fields within new repeater items.

Fixes #4380.
2019-07-23 11:20:18 +08:00
Samuell 36c69a063b Add support for tab icons in theme customization (#4464)
Fixes #4131. Credit to @Samuell1
2019-07-21 23:45:30 -06:00
Samuell c21c22e1ba Add option to disable UpdateManager after backend login (#4266)
Credit to @Samuell1. Fixes #3471.
2019-07-19 14:50:42 -06:00
Kallef Alexandre 84a1df63f2 Hide link to "Access Logs" when the user doesn't have access (#4462)
Credit to @prhost
2019-07-19 09:53:02 -06:00
Ben Thomson a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
webmaxx cc7d595fff Added `maxFilesize` option to the `FileUpload` FormWidget (#4077)
Credit to @webmaxx
2019-07-18 08:48:31 -06:00
Ayumi Hamasaki ae5f1a4282 Clean up output of Twig dump() function (#4460)
Credit to @ayumihamsaki. Fixes #4446.
2019-07-17 22:54:24 -06:00
Alexander Guth 7557173df4 Fix text filter scope (#4445)
Credit to @alxy. Fixes https://github.com/octobercms/october/pull/4241#issuecomment-510140574
2019-07-17 15:12:32 -06:00
Ayumi Hamasaki 22847e7892 Improve backend accessibility (#4401)
Credit to @ayumihamsaki. Fixes #4400.

- Added WAI-ARIA to the layout templates files.
- Added Focus-ring polyfill to allow better keyboard navigation and screen reader support.
- Added WAI-ARIA to tabs and created keyboard arrow controls for tabs.
- Added event.key polyfill to allow removal of deprecated event.keyCode, event.charCode and event.which.
- Fixed all the whitespace, tabbing and indent issues with all the lang files.
- Keyboard navigation now allows the following key actions: Tab, Up Arrow, Down Arrow, Left Arrow, Right Arrow, Home and End buttons.
- Added keyboard navigation for tab panels.
2019-07-17 15:07:45 -06:00
Anita e9665ab551 Fix layout of colorpicker for no custom color selected (#4457)
Credit to @anitaeisenhaber
2019-07-17 14:54:02 -06:00
Aleksey Sannikov 0df2e4e776 Update lang.php (Russian) (#4455)
Credit to @jexme.
2019-07-16 13:44:11 +03:00
Alexander Voronin f4240d7e2c Fix: Disabled global AJAX events (#4282)
Credit to @VoroninWD.
2019-07-14 23:41:35 +03:00
Kallef Alexandre 94a71ff3da Improved Brazilian Portuguese translations (#4450)
Credit to @prhost
2019-07-13 16:42:43 -06:00
Luke Towers c04b7faecc
Translate Inspector option titles 2019-07-12 09:42:22 -06:00
Dan Harrin 1089d8e763 Missing Spanish Translations (#4448)
Credit to @DanHarrin.
2019-07-12 11:02:39 +03:00
Long Wen 2613141870 Update zh-cn/lang.php file (#4447)
Credit to @wenlong-date.
2019-07-11 17:21:24 +03:00
Luke Towers 7782e04ef8
Fix typo
Credit to @alxy for spotting it
2019-07-09 09:52:30 -06:00
Luke Towers e0e951dfcd
Disable searching and sorting on any_template
Fixes #4441. Make the new template and old template columns visible and sort by them instead if you need to sort by that column.
2019-07-09 08:38:30 -06:00
Luke Towers 029a299816
Remove support for invalid relation type column
Fixes #4443.
2019-07-09 08:25:08 -06:00
Luke Towers f9f337e664
Only attempt to translate string values
Fixes #4398. Credit to @w20k for finding the issue.
2019-07-09 08:12:44 -06:00