2691 Commits

Author SHA1 Message Date
Samuel Georges
202d1f6b04
Update the checkbox list widget (#4599) 2019-09-21 11:57:53 +10:00
Luke Towers
7e6c1aed84 Added ability to specify a LESS file to be used as a default backend brand CSS override with the config item "brand.customLessPath" 2019-09-18 18:27:18 -06:00
Luke Towers
fafd05f7c0 Cleaning up spacing 2019-09-14 06:27:24 -06:00
Dan Harrin
7b8fecaa51 Replace use of parseJSON with JSON.parse (#4517)
Credit to @DanHarrin
2019-09-14 06:25:18 -06:00
Samuel Georges
2962f75221 Include the JSON parser natively in framework.js
We've also included it as a separate framework.parser.js file in case its needed by some external lib, such as Storm UI
2019-09-14 17:56:18 +10:00
Samuel Georges
ebcb7ee6fd
Add a small JSON Parser to October framework lib (#4527)
* Add a small JSON Parser to October framework lib
2019-09-14 17:29:31 +10:00
pavelmgn
4684312cee Pass path by reference in media.file.upload (#4616)
Credit to @pavelmgn. Refs: https://github.com/octobercms/october/issues/3124#issuecomment-529577947
2019-09-11 22:22:08 -06:00
Samuel Georges
52e2a838eb Fixes typo, recompile assets 2019-09-11 21:42:02 +10:00
Samuel Georges
3291e07191
Update Deprecated code in October into (event.key) (#4489)
Update Deprecated code in October into (event.key)
2019-09-11 21:35:18 +10:00
Samuel Georges
31145a3eb7 Peer review visibility changes
It makes more sense to use a consistent UI for all modes, the CSS is cleaner as a result. The code editor toolbar has been moved to the bottom across all instances. This is favourable to it bleeding outside of its perimeter.

Refs #3947
Refs #3948
2019-09-11 20:54:14 +10:00
Samuel Georges
96537033c8 Recompile assets 2019-09-11 20:02:43 +10:00
Samuel Georges
86ff037221
Merge pull request #4279 from ghost/dropzone
Update Dropzone V4.0.1 to V5.5.1
2019-09-11 20:00:16 +10:00
Ben Thomson
0240c21af6 Fail CSRF token checks if the session expires. (#4598)
Fixes #4595. Credit to @bennothommo
2019-09-04 21:33:10 -06:00
Ayumi Hamasaki
6942e38615 Remove the IE5 - IE7 Holly Hack support (#4594)
Credit to @ayumihamsaki
2019-09-04 09:32:29 -06:00
Ayumi Hamasaki
92e975ffa3 Make the Code editor fullscreen button easier to see (#4546)
Credit to @ayumihamsaki
2019-09-03 11:13:41 -06:00
Luke Towers
de3f8142fb Support multiple instances of the PermissionEditor on a single page 2019-08-29 17:51:52 -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
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 22847e7892a2054da91bd85ec183ba6e7bc52094. 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
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
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
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
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
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
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
029a299816
Remove support for invalid relation type column
Fixes #4443.
2019-07-09 08:25:08 -06:00