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
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
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
Alwin Drenth
c1cd76d60a
Update Dutch language files ( #2987 )
2017-07-21 09:27:27 -06:00
Samuel Georges
4663531de2
Introduce mail partials + twig
...
Improve layout seeding
2017-07-19 21:14:08 +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
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
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
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
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
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
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
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
e5358a81ce
Custom icon support for treeview
2017-06-08 14:25:45 +10: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