Commit Graph

4063 Commits

Author SHA1 Message Date
Samuel Georges ef191d64e4 l55upgrade -> develop 2017-07-26 21:03:52 +10:00
Samuel Georges 9bb639b19f Merge branch 'l55upgrade' into develop 2017-07-26 20:59:58 +10:00
Samuel Georges 5eddd13fe2 Rem debug code 2017-07-26 17:49:05 +10:00
Samuel Georges 18b9253bcb Change to mail partial syntax 2017-07-26 17:48:00 +10:00
Samuel Georges f1ac7eea3b Typo 2017-07-25 17:46:21 +10:00
Samuel Georges 3f0e6d8b29 Register `appName` as global view variable
Minor mail template improvements
2017-07-23 17:20:53 +10:00
Samuel Georges e6b191bd94 Typo 2017-07-22 22:24:31 +10:00
Samuel Georges 9287d926f7 Refit invite and restore mail templates
Fixes {% partial %} node for mail templates
Trim body var for text emails
Style code nodes
2017-07-22 22:23:22 +10:00
Samuel Georges b2b82588f2 Implement CSS to inline styles
Refit system layout
2017-07-22 21:49:48 +10:00
Samuel Georges 0a06582ce7 Layouts can be reset to default 2017-07-22 21:32:16 +10:00
Samuel Georges 261760e4c8 Reset mail brand settings to default
UX fixes to mailtemplates controller, active tab now remains active and redirects leverage active tab setting
2017-07-22 21:20:25 +10:00
Samuel Georges 744bf6af6e Consolidate methods 2017-07-22 20:19:03 +10:00
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 205f02b44a
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
Alwin Drenth c1cd76d60a Update Dutch language files (#2987) 2017-07-21 09:27:27 -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 f8d9667f0e
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