Dan Harrin
9521dd795c
Minor Formatting Corrections in Usage Comments ( #4541 )
...
Credit to @DanHarrin
2019-08-15 09:14:54 -06:00
Dan Harrin
67c9decb20
Standardise use of [] vs array() ( #4548 )
...
Credit to @DanHarrin
2019-08-14 20:46:36 -06: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
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
a59d3b83eb
Code quality clean up ( #4449 )
...
Credit to @bennothommo
2019-07-18 08:50:37 -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
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
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
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
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
SeriousKen
a9e198c8b4
Add check to make sure event result is an array in Form widget ( #4331 )
...
Wildcard listeners will add null responses to the event result array and causes an error when they are merged into the result. This PR adds a check to see if each event result is an array before adding it to the result array.
Credit to @SeriousKen. Fixes https://github.com/OFFLINE-GmbH/oc-clockwork-plugin/issues/1
2019-05-20 13:32:29 +08:00
Luke Towers
9f08086c27
Open `rowlink` rows in a new tab when the Command or Ctrl key is held down (previously only did it for the Ctrl key)
2019-05-10 17:46:20 -06:00
Alexander Guth
4e92686c1a
Add support for filters in the RelationController configuration ( #4241 )
...
Credit to @alxy. Docs: https://github.com/octobercms/docs/pull/368
2019-05-04 09:08:12 +08:00
Patrik Nemeček
b345191b3f
Add escaping of values to more backend fields ( #4296 )
...
Credit to @patriknemecek
2019-04-26 12:05:08 -06:00
Denis Denisov
bb37068b1a
Remove functionality to swipe between tabs on mobile ( #4103 )
...
Fixes #4037 . Credit to @w20k
2019-04-25 01:48:12 -06:00
SeriousKen
15bfcf8cfd
Add support for morphOne relations in backend list columns ( #4079 )
...
Fixes #4078 . Credit to @SeriousKen
2019-04-19 16:31:12 -06:00
Luke Towers
57d54eb882
Improve code clarity
2019-04-19 12:39:36 -06:00
Rachasak Ragkamnerd
70cd444f8a
Added support for 'cache' attribute to addJs() to disable CF RocketLoader ( #4092 )
...
Credit to @itpcc
Due to CloudFlare Rocket Loader, CF will automatically try to optimize page loading speed by changing script type attribute. This breaks the script execution order and makes the user unable to upload the file(s) in the backend using "FileUpload" widget.
However, [CloudFlare allows adding "data-cfasync"](https://support.cloudflare.com/hc/en-us/articles/200169436-How-can-I-have-Rocket-Loader-ignore-specific-JavaScripts- ) to prevent this. And it was used in the [commit #3841 ](https://github.com/octobercms/october/pull/3841/files ).
2019-04-16 20:27:13 -06:00
Alexander Guth
84839ba231
Do not hardcode handler name ( #4235 )
...
Credit to @alxy. This enables us to reuse the widget with a different alias name. Also, this is the octoberish way of referring to handlers. Tested on the Test plugin.
2019-04-05 09:23:50 -06:00
Samuel Georges
5190c8177b
Avoid terminating the app using exit() or die()
...
Refs #3783
Refs #3746
2019-03-29 07:10:07 +11:00
Samuel Georges
334ad94ca4
Merge pull request #3965 from ayumihamsaki2/master
...
Update Dashboard Columns from 10 to 12
2019-03-29 01:04:16 +11:00
Ben Thomson
8c1106f027
Allow list configs to add class to head row cell ( #4207 )
...
Credit to @bennothommo. Documented by https://github.com/octobercms/docs/pull/367
2019-03-25 13:37:32 -06:00
Tomy Smith
40bc6e0d67
Ignore disabled FormWidgets in getSaveData() ( #4116 )
...
Fixes #3983 . Credit to @tmus.
2019-03-19 16:45:32 -06:00
Ben Thomson
13a7cc915d
Use Form getSaveData method when saving form widgets within repeaters ( #4160 )
...
Credit to @bennothommo
2019-03-15 22:39:34 -06:00
Luke Towers
bbf398133e
Fix issues with AJAX handlers on dashboard widgets. Replaces #4132
2019-02-13 15:05:18 -06:00
Luke Towers
1fc8dc6fd4
Added ability to require permissions use ReportWidgets
2019-02-11 16:02:30 -06:00
Ben Thomson
970d5622c0
Allow datatables to work within a repeater ( #4102 )
...
Fixes #4063 . Credit to @bennothommo.
2019-02-04 12:50:40 -06:00
Antonie Hogewoning
16ca521cd0
Fix setting default values for repeater in update context ( #4098 )
...
Credit to @CptMeatball
2019-01-31 13:50:21 -06:00
Denis Denisov
ec2a0d5fb0
Tabs and tabels scrolling fix ( #4069 )
...
Fixes #4037 . Credit to @w20k
2019-01-21 23:35:27 -06:00
Luke Towers
8c9be817cc
Added support for min, max, and step for the number field type
2019-01-18 18:14:25 -06:00
Luke Towers
3ff77120c6
Improved disabled support for balloon-selector and fileupload fields
2019-01-16 13:32:31 -06:00
Anže Časar
74484b1ec2
Fix default value translation ( #4062 )
...
Credit to @acasar
2019-01-15 13:38:22 -06:00
Luke Towers
2d6b9c76a9
Recompile assets
2019-01-15 13:35:12 -06:00
Luke Towers
a9a0544ab0
recompiled stylesheets, retaining newlines for improved diff readability
2019-01-14 11:52:16 -06:00
Luke Towers
1c0fd1b419
Yet another change to perfect the getParentForm() method
2019-01-10 18:59:29 -06:00
Luke Towers
1b3263d4c7
Pass the containing Form widget to the FormFields that it generates.
...
This enables complex FormWidgets that need to know what Form widget they belong to to access that information with $this->formField->form; This also enables a fix for: https://github.com/rainlab/location-plugin/issues/48
2019-01-10 10:22:59 -06:00
fansaien
5db5522d4d
Fix the filter options being escaped twice ( #4032 )
...
Credit to @fansaien.
Reference: https://github.com/octobercms/october/pull/3793 . This commit added the e() function for translation results.
Because the filter is using the mustache template, and the manual said: All variables are HTML escaped by default. If you want to return unescaped HTML, use the triple mustache: {{{name}}} (https://mustache.github.io/mustache.5.html )
That means the string will be escaped twice. So, I removed the e().
2019-01-03 14:04:26 -06:00
Ben Thomson
ee003c416c
Redirect user to last available page in list widget if current page is unavailable ( #4020 )
...
Credit to @bennothommo. Fixes #4008 .
2018-12-30 12:49:42 -06:00
Ben Thomson
b6bd643e21
Rename prepareModel to prepareQuery, deprecate prepareModel
2018-12-30 16:25:01 +08:00
Luke Towers
26173486d3
Fix issue where the clear search button would submit a form if the search widget is within an HTML form
2018-12-28 11:51:51 -06:00
Luke Towers
a2708ee0f5
Added backend.manage_default_dashboard permission to lock down who has access to change the default dashboard for the system. Fixes #2176
2018-12-20 17:26:49 -06:00
Luke Towers
44ac62abeb
Recompiled LESS using new CSS minification
2018-12-20 13:41:09 -06:00
Woo
eb1d3fadbc
Add format property to list columns ( #3990 )
...
Credit to @vicrly. Fixes #3967 .
2018-12-19 20:52:07 -06:00
Jim Cottrell
34da61805b
Replace URL parameters dynamically without needing a list in advance ( #3361 )
...
Fixes #3358 . Credit to @jimcottrell
2018-12-18 10:03:03 -06:00