4285 Commits

Author SHA1 Message Date
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
68f0cd640d Recompile assets 2019-09-14 17:41:13 +10:00
Samuel Georges
2e6347718a
Update jQuery mousewheel from v3.1.9 to v 3.2.0 (#4574)
* Update jQuery mousewheel
2019-09-14 17:38:52 +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
Samuel Georges
35a6fb99b8 Add keyboard support to list items 2019-09-14 16:33:21 +10:00
Samuel Georges
8471c73054 Fixes keyboard support on checkboxes
The keydown/keyup/input events were not working correctly. Also the $cb selector was not specific enough and was picking up on the hidden input used to define the default state.
2019-09-14 16:11:16 +10:00
Ben Thomson
5f0da7e6f6
Revert c5d0a467 (#3834)
Reported issues with tables with constrained widths breaking content too much.

Refs: https://github.com/octobercms/october/issues/4618
2019-09-12 22:34:54 +08: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
72123943de
Merge pull request #4352 from ghost/modernizr3.7.1
Update Modernizr V3.6.0 to V3.7.1
2019-09-11 21:30:39 +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
Samuel Georges
3212fc5b35
Merge pull request #4503 from ghost/role-form
Add role-form to all forms
2019-09-10 17:55:40 +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
Ben Thomson
5723cd4b2a
Match save method signature in Theme Export/Import 2019-09-05 10:58:22 +08: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
Larry Barker
0766be8ecb Move translations for plugin author to system module (#4583)
Credit to @LarBearrr
2019-09-03 11:10:42 -06:00
Luke Towers
02d894f52b Fix use of Storage::url() for local disks that haven't been configured correctly. Fixes #4581 2019-09-02 12:33:36 -06:00
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 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
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
432dd5d91a Add role-form to all forms 2019-07-31 15:46:20 +01: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