2139 Commits

Author SHA1 Message Date
Samuel Georges
acfe619cb9 Add button lacks loading state - Refs #2772 2017-04-24 13:24:55 +10:00
Luke Towers
0fa0301557 Merge pull request #2803 from CSNWEB/patch-5
Add readonly / disabled support for checkboxlist (relation form widget)
2017-04-22 10:23:52 -06:00
Samuel Georges
ac7da4634a Implement working prototype of a grouped repeater
Refs #2772
2017-04-22 22:01:17 +10:00
Samuel Georges
83e80745b3 Fixes issue with index incrementation 2017-04-22 21:40:35 +10:00
Samuel Georges
46fcdbc636 Progress on repeater field groups
Refs #2772
2017-04-22 21:04:37 +10:00
Samuel Georges
4644218312 Move autocomplete to Storm UI
Rename select AJAX from "source" to "handler" (Refs #2836)
Document select handler usage
Recompile assets
2017-04-22 11:44:27 +10:00
Luke Towers
248af140bb Merge pull request #2835 from interworks-morr/fix_backend_sidenav_layout
Fixing case-sensitive issue with Backend Sidenav Layout - Issue #2834
2017-04-21 13:42:00 -06:00
interworks-morr
46d8ac8972 Fixing case-sensitive issue with Html 2017-04-20 11:47:11 -05:00
Szabó Gergő
130d502f41 Update the Hungarian translation 2017-04-19 10:35:58 +02:00
Luke Towers
a64260c2ff Merge pull request #2808 from jlongo/master
Added support/files for pt_pt language
2017-04-11 01:58:52 -06:00
Samuel Georges
015b34fe88 Block media manager entirely if user lacks access 2017-04-11 08:40:39 +10:00
José Longo
0de1306427 add locale pt-pt in $localeOptions 2017-04-10 15:08:50 +01:00
José Longo
4f3287822b Add dir/file for pt_pt language 2017-04-10 15:04:58 +01:00
CSNWEB
3cfb8c7587 DRY up the code 2017-04-09 04:01:34 +02:00
Samuel Georges
24c8b4368a Various security and UI fixes
The Media Manager now uses a white list approach to blocking files, we have been advised that the blacklist approach is too fragile and we agree.
Asset List and Media Manager now use $.oc.alert when displaying errors
2017-04-09 08:00:56 +10:00
Christophe Vuagniaux
9e74fe6a53 Repeaters Firefox compatibility fixes (#2738)
* Repeaters fix Firefox collapse/expand buttons not working

* Repeaters fix Firefox open new tab when CTRL + click on Expand/Collapse buttons
2017-04-08 20:21:34 +10:00
CSNWEB
ee2dd7ac1c Add readOnly / disabled support for checkboxlist
Relations rendered with the relation formwidget using checkboxlist are now correctly rendered like in the previewMode.
2017-04-07 21:04:20 +02:00
Samuel Georges
982bc43348 Fixes recordfinder (again)
Lots of complicated stuff going on here, all elements are getting wiped out when a record is updated and the control is getting disposed at the same time. We've created a dedicated variable to store the datalocker name as a string, this represents a small memory leak but a necessary one it seems.
Fixes #2798
2017-04-07 07:48:04 +10:00
Samuel Georges
5daf4365ae Move the change event to the input element
This should bubble to the parent control element and persist any logic that depends on the old event
Fixes #2684
2017-04-06 08:08:50 +10:00
Samuel Georges
328a74c1ff Fixes JS error in recordfinder
It looks like the inheritance of the foundation library has caused a logic error
Refs #2756
Recompile assets
2017-04-06 07:51:04 +10:00
Alwin Drenth
dbd9af3ba0 Update Dutch language for build v409 2017-04-01 15:43:14 +02:00
Luke Towers
d1c9b1a6f1 Support updating existing sidemenus
Fixes #2757, #2777
2017-03-24 09:05:35 -06:00
Samuel Georges
330a41f39c Improve form controller docs 2017-03-23 08:48:26 +11:00
Samuel Georges
f8e7fa03e0 Refactor remove option implementation
Refs #2756

Add disabled support
Fixes #1199
2017-03-22 09:26:05 +11:00
Samuel Georges
e8f6cb4dc5 Merge pull request #2756 from ChVuagniaux/RecordFinder-Remove-button
RecordFinder - add a remove button
2017-03-22 09:06:27 +11:00
Samuel Georges
a40357cec9 Added a check for missing dependencies in two places
- System dashboard now lists missing dependencies
- Installing a plugin with missing dependencies will also attempt to install those dependencies at the same time
Fixes #36
2017-03-21 17:42:56 +11:00
juysoft
be7490c878 Update _recordfinder_form hard coded button "Cancel" text 2017-03-18 23:54:24 +02:00
Samuel Georges
6697e00649 Backend::URL -> Backend::url 2017-03-16 17:16:03 +11:00
Samuel Georges
0a981a25f7 API docs progress
Controller -> SystemController for consistency
2017-03-16 17:08:20 +11:00
Samuel Georges
51ac144049 Moves CMS components to directory where they belong
Improve inline docs
2017-03-16 07:00:39 +11:00
Samuel Georges
b841f9e066 {@inheritDoc} -> @inheritDoc 2017-03-16 06:26:14 +11:00
Christophe Vuagniaux
91d39d275c RecordFinder - add a remove button 2017-03-15 12:33:02 +01:00
Samuel Georges
18c6bb63a2 API docs progress 2017-03-15 18:03:26 +11:00
Samuel Georges
ec18697ae2 Cannot use Cms\Classes\Controller as Controller because the name is already in use
Remove test code
2017-03-14 19:42:37 +11:00
Samuel Georges
e54cf7133b Improve some inline docs in preparation for API docs 2017-03-14 19:36:17 +11:00
Samuel Georges
5f91c45f79 Implement disabled support for some form widgets
Recompile assets
Fixes #2749 (Media Finder)
Fixes #2750 (File upload)
Fixes #2751 (Rich Editor)
Refs #2724
2017-03-14 13:52:47 +11:00
Samuel Georges
e7fa4b832a Rollback 84b533454e1c803887adaea88ef2c7d611062d31
See #2749, #2750 & #2751 on notes for how to better handle this. Put simply, the control of disabled VS previewMode should be given to the individual form widget, as opposed to the spawning parent.
2017-03-14 06:49:33 +11:00
Luke Towers
3876dc61d1 Rollback c836d92f9f04f66f8e0e1b4d9ba8af83fed3e439
Rollback due to discussion on c836d92f9f. Will be looked into again later when addressing #2311.
2017-03-13 09:36:49 -06:00
Luke Towers
84b533454e Allow FormWidgets to be disabled like regular FormFields
Adds support for the `disabled` property to FormWidgets so that they will match the behaviour present in regular FormFields. Fixes #2724 and a personal annoyance of mine :)
2017-03-11 02:12:47 -06:00
Samuel Georges
d642605f87 Remove old fix and spruce up code 2017-03-04 15:23:12 +11:00
Samuel Georges
380a71d7b9 IE11 will not honor height 100% when overflow is used on the Y axis
Fixes #2672
2017-03-04 14:55:19 +11:00
Samuel Georges
bc161b94f7 Menu items are supposed to be counted in 100s
Plugin authors may need to adjust their menu items from this.
2017-03-03 08:07:13 +11:00
Szabó Gergő
8cfc10280a Update Hungarian translation 2017-03-02 13:52:01 +01:00
Samuel Georges
e9cc782120 Peer review #2723 2017-03-01 14:31:37 +11:00
Luke Towers
3aa251db4e Client side enforcement of repeater maxitems
Adds client side enforcement of the max items property of the repeater form widget
2017-02-28 20:43:08 -06:00
Luke Towers
5c56c9579d Add support for maxItems to the Repeater FormWidget
Refs: #2710
2017-02-28 20:36:32 -06:00
Samuel Georges
023f2ac0f5 Push add/remove events to JS
Refs #2710 /cc @LukeTowers
2017-03-01 12:40:15 +11:00
Vladimir Kattsov
c73e0ea811 Unhardcoded lang string in active theme widget, add russian translation 2017-02-25 12:05:08 +03:00
Luke Towers
c836d92f9f Make number field an HTML5 number field
Makes the `number` form field actually be an HTML5 `type="number"` field.
2017-02-15 08:44:12 -06:00
Samuel Georges
d9a2b88852 Pass records by reference to overcome halting event issue
Refs https://github.com/octobercms/october/pull/1853
2017-02-15 05:58:44 +11:00