Samuel Georges
28c30daa4f
Use safe md parsing for mail
...
Ensure backward compatibility by disabling indented code blocks for mail templates
Tweak mail brand colors to match October
2017-07-22 19:01:20 +10:00
Samuel Georges
d9e2fbe386
Apply all vars to mail brand css
2017-07-22 18:18:30 +10:00
Samuel Georges
4e5ac44999
Create remaining mail partials
...
Improve mail partial lookup method
2017-07-22 18:03:58 +10:00
Samuel Georges
31ffadbc4c
Introduce mail branding settings
2017-07-22 17:20:48 +10:00
Samuel Georges
181be5979a
More meaningful mail views
2017-07-22 17:19:47 +10:00
Samuel Georges
8e0279e45e
Trigger color picker change event
2017-07-22 17:18:45 +10:00
Samuel Georges
cd6a7c75dc
Refresh colorpicker form widget
...
Replace colpick with spectrum plugin
Recompile client lang
2017-07-22 11:40:59 +10:00
Samuel Georges
5078578a04
Rollback 205f02b44ad3d7b43e370b430b9cb8fc570ea392
...
This keeps it as generic copypasta
With or without this, an unauthorized page is shown if the user has no permission
2017-07-22 09:46:55 +10:00
Luke Towers
205f02b44a
Improve unauthorized redirection trigger case
2017-07-21 14:47:18 -06:00
Luke Towers
151ed057e8
Improve support for #2985
...
Improves support for editing theme options by enabling the currently active theme's customizations to be saved without a dirname in the URL.
2017-07-21 14:45:51 -06:00
Samuel Georges
7a7a1186d6
Clean up imports
2017-07-21 15:42:49 +10:00
Samuel Georges
161a1fffbb
Wording change
2017-07-21 15:40:02 +10:00
Samuel Georges
3f40a6dbaf
Refactor solution from #2985
2017-07-21 15:38:53 +10:00
Luke Towers
647a656f67
Add more granular permissions for editing themes ( #2985 )
...
* Add more granular permissions for editing themes
* Fix component token parser exception message
2017-07-21 14:29:30 +10:00
Samuel Georges
4663531de2
Introduce mail partials + twig
...
Improve layout seeding
2017-07-19 21:14:08 +10:00
Samuel Georges
52e61f6a3b
Make fields stretchy
2017-07-15 20:01:56 +10:00
Samuel Georges
d7117f9cb2
Stetch + size improvements
2017-07-15 19:53:08 +10:00
Samuel Georges
0aa1fa96fb
Fixes non-split stretch mode
2017-07-15 19:10:01 +10:00
Samuel Georges
953336d250
Option "searching" defaults to false
2017-07-15 14:34:53 +10:00
Samuel Georges
db943c077b
This doesn't need to be a form
2017-07-15 12:29:20 +10:00
Samuel Georges
4239caf9eb
Enable searching via config
...
Only the ServerEventDataSource supports this for now. This is purely to satisfy https://github.com/rainlab/translate-plugin/pull/272
Clean up and fix net spam
2017-07-15 12:18:11 +10:00
Samuel Georges
3145611150
Add search to table widget
...
Refs https://github.com/rainlab/translate-plugin/pull/272
Recompile assets
2017-07-15 12:06:50 +10:00
Samuel Georges
e1629a9413
Remove system dependency on cms module
...
Refit #2970
2017-07-15 10:14:15 +10:00
BenjaVR
c2d99e6d92
UpdateManager runs without Cms module
2017-07-15 10:11:23 +10:00
Samuel Georges
81b28e3938
Render order should be Twig -> Markdown -> Html
...
Use unrendered markdown as defaul text template
2017-07-15 00:55:56 +10:00
Samuel Georges
dc3e521c36
Merge pull request #2968 from slowpokefarm/master
...
Allow using zero-keys in Filter widget options
2017-07-15 00:05:39 +10:00
Stanislav Rimsha
6f691680cf
Allow using zero-keys in Filter widget options
2017-07-14 15:57:47 +02:00
Samuel Georges
c83b432e36
Add exception handling
2017-07-14 22:29:36 +10:00
Samuel Georges
78d722adf0
Set last build number, updating via composer
2017-07-14 22:01:11 +10:00
Samuel Georges
f6eade56af
fire -> handle
2017-07-14 16:28:47 +10:00
Samuel Georges
5a4e2b6b11
Email templates now use Markdown
...
Move mail template management to MailManager
2017-07-14 16:20:53 +10:00
Samuel Georges
3b7330f06a
Typo
2017-07-13 19:38:44 +10:00
Samuel Georges
4fd1ca824f
Introduce concept of system roles
...
These are roles defined by a special API code, once a system role code is detected, the role becomes locked and its permissions are sourced from the AuthManager. All permissions are granted to system roles by default, unless otherwise specified. This should make it easier to create client accounts as "Publishers", hiding developer tools like the CMS and Builder plugins by default.
2017-07-13 19:29:50 +10:00
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