Commit Graph

3424 Commits

Author SHA1 Message Date
Alwin Drenth c1cd76d60a Update Dutch language files (#2987) 2017-07-21 09:27:27 -06:00
Luke Towers 950c341c49 Prevent privilege escalation from crafted requests
Follow up to 2046efb51d.
The previous commit prevented users from visually managing permissions that they themselves didn't have access to, this follow-up commit enforces that limitation serverside to defend against crafted privilege escalation attacks by authenticated users.
2017-07-10 18:36:43 -06:00
Benjamin 89d0d29b69 Added SASS support to Resources component (#2961) 2017-07-10 17:29:11 -06:00
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
Max Schmitt aeba740243 Add getStatusCode() in Cms\Classes\Controller (#2959)
Related: #2953. Provide a method to access the current statusCode of a CMS controller.
2017-07-08 08:53:08 -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
Sevdin Filiz 3dba1a8f61 Make SettingsManager more like NavigationManager (#2954)
Enables partial modification of Setting Items just like is currently supported in Menu Items
2017-07-04 08:30:48 -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
Vladimir Kattsov 22df6578a2 Added translation into Russian for new log section 2017-06-12 16:01:47 +03:00
Samuel Georges 7afb09cf98 Merge pull request #2914 from alxy/patch-18
Pass the current context to the selector
2017-06-08 07:30:39 +10:00
Alexander Guth 0f4d7b6a85 Pass the current context to the selector
This fixes an issue with more than one form on a single page. The messages will be correctly displayed in the container of their corresponding form.
2017-06-07 22:36:18 +02: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
Samuel Georges 6891d21bdf Merge pull request #2871 from priitperna/master
Added scope support to the Relation formwidget
2017-05-27 22:19:20 +10:00
Samuel Georges 63f1f0ac13 Merge pull request #2894 from gergo85/develop
Add imageWidth and imageHeight parameters
2017-05-27 22:10:48 +10:00
Luke Towers 2b2bdc2dd0 Merge pull request #2884 from PaulGwamanda/patch-1
Move flashmessage 37px lower
2017-05-26 12:08:12 -06:00
Paul Gwamanda bbeb272657 Update storm.css
Add compiled storm.css file from flashmessage.less
2017-05-26 15:24:26 +02:00
Luke Towers f819aa607d Hide the loading indicator after AJAX request
Fixes #2780
2017-05-25 11:58:52 -06:00
Szabó Gergő 92a5b9ab22 Add imageWidth and imageHeight parameters 2017-05-25 15:30:22 +02:00
Paul Gwamanda 5d30e0889e Update flashmessage.less
Updating .flash-message from margin-top 30px and to top: 50px
2017-05-23 09:38:23 +02:00
Paul Gwamanda 0ad185345c Move flashmessage 30px lower
Flash message gets in the way of menu items, for a better user interface suggest moving it 30px lower
2017-05-22 14:06:17 +02:00
Samuel Georges afad2138ec Merge pull request #2879 from gergo85/patch-2
Fixed spaces
2017-05-20 10:26:59 +10:00
Samuel Georges 25bcc35020 Stream notes to console 2017-05-20 09:03:58 +10:00
Szabó Gergő c597563145 Fixed spaces 2017-05-19 11:29:19 +02: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 4d1bec860d thumbnailDirectory -> thumbFolder 2017-05-16 08:47:15 +10:00
Samuel Georges d9cf7381dc Implement helper method for checking ignored path
Refs #2858
2017-05-16 07:38:38 +10:00
Samuel Georges 2a0a91486c Logic error - fixes #2654 2017-05-16 07:24:07 +10:00
Samuel Georges 5ca3c3fa35 Merge pull request #2859 from TimFoerster/patch-2
Allows 0 and ‘0’ values as default values for theme settings
2017-05-15 20:31:59 +10:00
Samuel Georges f05f4c21cf Merge pull request #2858 from TimFoerster/patch-1
Filter layout by ignored file names
2017-05-15 20:29:53 +10:00
Luke Towers a5b081b74b Make the MediaManager messages more generic 2017-05-15 00:16:28 -06:00
Luke Towers 21d4f683c3 Support custom thumbnail directory
This enables support for edge cases that require custom thumbnail directories (such as requiring authentication to view generated thumbnails).
2017-05-14 22:41:31 -06:00
Luke Towers 7a820f3c43 Remove reference to hardcoded media path
Replaces the reference to a hardcoded `/media` path when generating a local temp file path to utilize the folder name as set in `cms.storage.media.folder`.
2017-05-14 22:28:08 -06:00
Luke Towers 0f04afbea4 Recompile mediamanager assets to include the fix 2017-05-14 19:34:50 -06:00