Luke Towers
2046efb51d
Prevent users from granting permissions they don't have
...
Prevents users from granting permissions that they themselves do not have. Fixes #1673 , and is a partial solution to #2367 . However, this still does not address the issue of being able to assign / manage groups that have permissions that the user doing the management does not themselves have. That will have to be addressed separately as a part of #2367 .
2017-07-09 20:24:17 -06:00
Luke Towers
056a37fce4
Fix repeater title generation in readOnly mode
...
Refs: 2a16847724
2017-07-09 13:06:23 -06:00
Luke Towers
c9e31fd83b
Support previewMode for the balloon-selector
...
Add support for previewMode in the Balloon Selector form field type.
Refs: #2724 , 5f91c45
2017-07-09 12:53:29 -06:00
Luke Towers
9ff11da179
Remove unused descriptionFrom property
...
Removes unused descriptionFrom property that was probably copy-pasta remnants from the RecordFinder formwidget when nameFrom was implemented in 6aaf4cce43 . Also removed it from the docs here: 6164e4a9e7
2017-07-09 09:48:17 -06:00
Luke Towers
2a16847724
Add support for readOnly Repeater Widgets ( #2960 )
...
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
* Add support for previewMode in Repeater FormWidget
Refs: #2724 , 5f91c45f79
2017-07-08 13:34:04 -06:00
Tschallacka
e8e4209909
Fix inflexible relation toolbar ( #2760 )
...
Improves support for models that don't use `id` as their primary key.
2017-07-04 18:56:38 -06:00
Luke Towers
1a5e86e38d
Improve support for non-id primary keys
...
Related: #2760
2017-07-04 18:55:42 -06:00
Hartmut Glücker
dfcf324d00
Support changing the global default for richeditor buttons ( #2937 )
...
Added support for changing the global default for richeditor buttons.
Addresses: #2677 , #2384 , #2078 , #1743 and rainlab/pages-plugin#188
2017-07-04 08:10:58 -06:00
buuug7
879afdeea9
Update Chinese translations ( #2948 )
...
Credit to @buuug7. Refs: #2948
2017-07-03 07:45:35 -06:00
Tobias Kündig
4f97d07962
Added firstDay option to datepicker form widget ( #2940 )
...
Documented here: https://github.com/octobercms/docs/pull/243
2017-06-28 07:23:59 -06:00
Szabó Gergő
f7f507dbdc
Translate the value of the text field ( #2942 )
...
It is a useful feature, if you like to add translatable value.
2017-06-26 09:38:31 -06:00
Christophe Vuagniaux
e3a567cb78
Enable configuration of backend login session persistence ( #2924 )
...
Thanks to @ChVuagniaux. Fixes #2394
2017-06-22 14:34:16 -06:00
Luke Towers
f8d9667f0e
Support field being disabled in filterFields()
...
Completes support for the underlying field object being disabled in model's filterFields() method by rechecking status immediately before rendering.
2017-06-22 09:45:29 -06:00
Alexander Shapoval
e6d79057c6
Translation into Ukrainian has been added. Added translations into Russian ( #2931 )
...
* Added Ukrainian language. Credit to @PopcornPHP for the translation.
2017-06-17 15:22:50 -06:00
Priit Perna
eff3f2e905
Backend translation for estonian ( #2911 )
...
* Added language files for Estonian (et). Thanks to @priitperna!
2017-06-07 11:07:34 -06:00
Samuel Georges
305f962e1f
Merge pull request #2904 from arzola/patch-event-doc
...
Update Report widget event-extensibility docblock
2017-06-06 20:22:54 +10:00
Oscar Arzola
8a40e1cc89
Update Report widget docblock
2017-06-02 23:53:27 -05:00
Samuel Georges
ef94decb1a
Merge pull request #2898 from arzola/master
...
Added Extensibility to ReportWidgets
2017-06-03 00:56:35 +10:00
Oscar Arzola
a7d20211ae
Fixed Formatting and added docblock
2017-06-02 09:51:13 -05:00
Oscar Arzola
0bd12cf0e6
Added Extensibility to ReportWidgets
2017-05-30 16:49:35 -05:00
Priit Perna
2b3b6ece46
Made checkbox quick selection configurable
...
With this change the following configuration will show the quick selection links:
"quickselect" => true
2017-05-18 15:16:42 +03:00
Priit Perna
8ee7d3f5ae
Added scope support to the Relation formwidget
2017-05-17 13:00:40 +03:00
Samuel Georges
57aa723c23
filterExtendScopes -> listFilterExtendScopes
...
extendFilterScopes -> extendListFilterScopes
Filter still belongs to the "List", this would help resolve conflicts if there were ever a FilterController that would carry rightful claim to "filterExtendScopes"
2017-05-14 14:47:17 +10:00
CSNWEB
fe3e44efeb
Add method to easily extend filter scopes ( #2866 )
...
* Add method to easily extend filter scopes
* Add non static method for filter scope extension
2017-05-13 17:31:09 -06:00
Luke Towers
95cd3f7077
Translate group name and description
...
Refs: https://github.com/octobercms/october/issues/2772#issuecomment-301125572
2017-05-12 11:22:13 -06:00
Samuel Georges
6a6378a24d
Strip indexes from repeater data sets
2017-04-26 08:10:45 +10:00
Quezler
cc17b679f1
Code dusting ( #2826 )
...
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
cb56c61e36
Retain true backward compatibility with early repeater
2017-04-24 19:06:59 +10:00
Samuel Georges
d7ef8cdcf8
Minor logic change
2017-04-24 13:24:57 +10:00
Samuel Georges
6825ce12c8
Allow external group field definition - Refs #2772
2017-04-24 13:24:57 +10:00
Samuel Georges
c52f91a6d2
Collapsed items should default to or include the group name - Refs #2772
2017-04-24 13:24:56 +10:00
Samuel Georges
dac744dbc6
Scrollpad not rendering on open - Refs #2772
2017-04-24 13:24:56 +10:00
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