2766 Commits

Author SHA1 Message Date
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
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
Ayumi Hamasaki
23282bbaa6 Accessibility enhancement for code editor icons (#4395)
Credit to @ayumihamsaki. Fixes #4392
2019-07-08 10:51:25 +03:00
Ben Thomson
be2a850787
Fix code quality errors in Lists widget 2019-07-07 14:49:56 +08:00
Ben Thomson
c1dcc62559
Increment column count when tree is shown
Fix centering of no record message in lists when tree is enabled.
2019-07-07 13:05:18 +08:00
Ben Thomson
3eac21219f
Clean up index functionality in Repeater widget (#4424)
- Remove $indexCount property, as it is no longer needed
- Determine highest key number in data, and increment when adding item
- Remove some old code and dependencies

Fixes #4402.
2019-06-29 13:42:45 +08:00
Ayumi Hamasaki
884042952f Block off SW running in backend and reduce lookups (#4385)
Credit to @ayumihamsaki. Related #4384
2019-06-25 17:15:11 +03:00
Ben Thomson
95b9a8a9fd
Fix Travis CI file scope (#4408)
Original PR (#4394) was picking up changes from other branches as well as from `master`. This change should limit the scope of files to just the changed files in this PR.
2019-06-24 13:47:47 +08:00
Ben Thomson
6fb6e5f71c
Improve Travis CI build process (#4394) 2019-06-24 07:38:41 +08:00
Luke Towers
a1b1018083 Typo fix 2019-06-21 12:08:36 -06:00
fansaien
b1b9141dcc Improve support for protected files on S3 (#4390)
Credit to @fansaien. S3 supports generating temporaryUrls to files that don't exist yet so this adds a check to make sure temp URLs are only generated for valid files.
2019-06-21 00:24:08 -06:00
Rike-cz
acf4577255 Add preview mode for taglist widget (#4349)
Credit to @Rike-cz.
2019-06-19 08:22:36 +08:00
Ayumi Hamasaki
f4e50ddd1a Add new Performance API's to October CMS (#4285)
PR adds a new Priority Hints API, Preload API and async to the October CMS AJAX injected code and a new Priority Hints API to the loaded assets in the head section.

Credit to @ayumihamsaki. Related #4277, #4030
2019-06-17 01:17:34 +03:00
Luke Towers
71241ee6d4 Fix error messages in RelationController
Fixes #4342
2019-06-12 00:26:55 -06:00
Alexander Voronin
c7cea9fd83 Update path to video-poster.png (#4240)
Now located in Backend module, not CMS module. Credit to @VoroninWD.
2019-06-10 00:24:34 +08:00
Ben Thomson
6d283829c0
Store limited list widget configuration in user preferences (#4360)
Provides a new method of storing the list page count and visible column configs that survives a user logging out then logging back in to October. In addition, the users are provided with a "Reset to Default" button in the config modal allowing them to use the default list config if preferred.
2019-06-08 11:28:08 +08:00
Larry Barker
66776e0614 Fix empty menu item counter (#4374)
Remove empty counter from main menu items when set to false. Fixes #4371. Credit to @LarBearrr
2019-06-06 19:16:55 -07:00
Szabó Gergő
0d76ac9584 Fix: Apply custom secondary color to Pages list (#4355)
Credit to @gergo85.
2019-06-04 11:22:25 +03:00
Marc Jauvin
30f4d4c5af Fix: Restore FroalaEditor extendability (#4356)
Credit to @mjauvin.
2019-06-03 14:15:47 +03:00
Luke Towers
15e3bd131a
Merge pull request #4358 from octobercms/wip/file-improvements
Use temporaryUrls for protected files if the storage driver supports them. Related: octobercms/library#406
2019-06-02 20:49:12 -06:00
Samuel Georges
1ad43554d4 Compile rich editor with inline style and class
Fixes #3883
2019-06-01 14:43:07 +10:00
Luke Towers
e87184d2bd Fix for installs that don't use the cloud drivers 2019-05-31 01:03:07 -06:00
Luke Towers
ef4f1e49ee Added temporaryUrlTTL configuration option, switched is_a() to instanceof 2019-05-31 00:53:27 -06:00
Luke Towers
aea4857eba Use temporaryUrls for protected files if the storage driver in use supports them 2019-05-30 17:47:01 -06:00
Scott Bedard
85c7ba34c9 Default to full width (12cl) dashboard widgets (#4348) 2019-05-26 09:07:47 +03:00
Rike-cz
83e48c9625 Media Manager with SVG preview (#4011) 2019-05-25 15:51:50 +03:00