Samuel Georges
358a6337df
We probably don't need to call this twice
...
Refs f8d9667f0ed343210fb96983a97b7bfa779b4def
2017-07-13 19:15:47 +10:00
Samuel Georges
8002c1010b
Create migrate script to split permissions out
...
Permissions have been moved from Groups to a new Role model
Refs #2367
2017-07-11 19:17:44 +10:00
Samuel Georges
1db67af8e8
Merge remote-tracking branch 'remotes/origin/develop' into l55upgrade
...
Conflicts:
modules/system/lang/en/lang.php
2017-07-11 10:48:54 +10: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
Samuel Georges
a84c193cb2
Update FontAwesome to v4.7.0
...
Recompile less
2017-07-09 12:21:59 +10: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
Samuel Georges
56eb61183b
Minor UI improvements to recordfinder
...
Allow span elements to use oc-loading
2017-07-06 19:11:57 +10: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
Luke Towers
9b2e37e287
Early removal of HHVM
...
Early merge of 2424a6563d
because it's annoying that the builds fail on pull requests for the develop branch all of the time.
2017-07-04 08:32:37 -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
Samuel Georges
9467a6ccfe
Adds a radio alignment helper
...
Minor touch up to tab styling
2017-07-04 17:19:22 +10:00
buuug7
879afdeea9
Update Chinese translations ( #2948 )
...
Credit to @buuug7. Refs: #2948
2017-07-03 07:45:35 -06:00
Samuel Georges
d1c160f9dc
Check both instances to fix #1854
...
It appears there is no way around this. All directories should be lower case in October, prior to this, October wanted uppercase characters. Make up your mind guy, come on! ;-)
2017-07-01 12:26:55 +10:00
Samuel Georges
2424a6563d
Bye HHVM, thanks for your contributions!
2017-07-01 11:13:50 +10:00
Samuel Georges
247151f4f8
Fixes test
2017-06-30 04:58:51 +10: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
Samuel Georges
87f8f8feb1
Fixes inconsistency in component partial folder names
...
This is a breaking change that will require further attention - refs #1854
Eg: myComponent, the default component partial would use lower case folders
- /plugins/acme/test/components/mycomponent/default.htm
The theme component partial override would use case sensitive folders
- /themes/foobar/partials/myComponent/default.htm
This is fixed as
- /themes/foobar/partials/mycomponent/default.htm
Minor code fix to ModelBehavior class
2017-06-27 05:34:13 +10:00
Samuel Georges
6aa60305a0
Add test for sensitivity component partial overrides
...
Refs #1854
Laravel looks like it broke ->contains($model), fix test for now
2017-06-27 05:05:24 +10: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
Samuel Georges
8a9355ca66
Fixes typo
2017-06-25 09:38:18 +10:00
Samuel Georges
600035cd49
Tszuj up some styling
...
Add active states and color correct treeview
Adjust proportions of repeater add button
2017-06-24 17:18:08 +10:00
Samuel Georges
56028c0724
Revert recent treeview changes
...
This ends up over complicating things
2017-06-24 16:01:01 +10:00
Samuel Georges
08a710eb9a
Update ace editor 1.2.3 to 1.2.6
...
Recompile assets
Refs #2570 (without the spam)
2017-06-24 09:01:07 +10:00
Samuel Georges
c3570ffd7e
The event emitter should not be a dependency
...
Fixes #2938
2017-06-23 08:11:41 +10: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
Samuel Georges
b572382de7
Didn't end up using this, so doc instead
2017-06-22 18:00:59 +10: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
Samuel Georges
9eb0cc24ae
Opens a channel for model to talk with form widget
...
.. and controller and beyond.
2017-06-17 21:20:34 +10:00
Samuel Georges
c5975b3917
Fix the appearance of optgroup in select
2017-06-15 17:59:16 +10:00
Luke Towers
c6541d3c89
Merge pull request #2921 from b0gok/patch-9
...
Added translation into Russian for new log section
2017-06-12 08:27:38 -06:00
Vladimir Kattsov
22df6578a2
Added translation into Russian for new log section
2017-06-12 16:01:47 +03:00
Samuel Georges
c0aa03a400
Create an error making trait
...
Widgets can throw fatal errors too
2017-06-11 22:38:03 +10:00
Samuel Georges
a2a7eec4f5
Rename methods in CollapsableWidget
...
The methods were far too generic. When a trait or behavior is used, it's usually a good include to include the name of the trait in the methods and properties it provides. This reduces the chance of a conflict with the implementing class.
2017-06-10 15:42:24 +10:00
Samuel Georges
f020479b91
Move session logic to SessionMaker
...
This allows controller behaviors to access session utils
2017-06-10 04:58:29 +10:00
Samuel Georges
9dd6f10d6f
Refit to new class loader
2017-06-08 18:56:54 +10:00
Samuel Georges
da468deb23
Add new framework cache files
2017-06-08 16:26:24 +10:00
Samuel Georges
e5358a81ce
Custom icon support for treeview
2017-06-08 14:25:45 +10: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
Luke Towers
613ebf090d
Re-add the merge plugin
...
@daftspunk I readded the merge plugin accidentally removed in: db82bfa815
2017-06-06 09:28:50 -06:00