125 Commits

Author SHA1 Message Date
Luke Towers
69e56b0b5b
Fixes #3315
Fixes #3315 by moving the manipulation of the filter widget scopes to the controller event method instead of before any part of the controller constructor method is run.
2017-12-28 13:21:00 -06:00
Luke Towers
f850b5d7ca Removes unnecessary blocking head placeholders. Refs: https://github.com/rainlab/pages-plugin/issues/239 2017-11-15 20:26:48 -06:00
Christophe Vuagniaux
dc16902fca Don't block backend connection when a plugin migration triggers exception (#3188) 2017-10-21 10:11:11 -06:00
Samuel Georges
669a4cee6e Merge branch 'maintenance-mediamanager' into develop 2017-10-16 17:56:34 +11:00
Samuel Georges
2a1234d21c Update MM lang refs 2017-10-16 17:52:50 +11:00
Luke Towers
f739e457e4 Enable superusers to actually use the is_superuser filter 2017-10-14 21:55:56 -06:00
Luke Towers
fa840d79f6 Improve support for three tier user system
This builds on 4fd1ca824f by switching from a two tier approach to permissions (superusers and regular users), to a three tier approach (superusers (developer), second-in-command (clients with manage_users permissions), and regular users). If support for a four tier approach is necessary (Superuser, Franchise Owner, Franchise Business Manager, Franchise Staff as an example), then it can be implemented simply by adding a flag to roles that would prevent anyone except for a superuser from assigning that role.

The specific changes made by this commit is to support users with the manage_users permission (but who are not superusers) to be able to assign roles to other users and improvements to the sanctity of the superuser itself. Non-superusers can no longer see or edit superusers in the backend (that was previously poorly handled as a non-superuser with manage_users could take over a superuser account since they could modify that account willy-nilly), and the is_superuser filter is accordingly removed as well.
2017-10-14 00:25:52 -06:00
Luke Towers
7fd81c4c2a Initial work on moving media controller to the backend 2017-09-27 22:40:39 -06:00
Samuel Georges
a5377b5018 Replace missing permissions 2017-07-28 00:05:35 +10:00
Samuel Georges
9cadea9b19 Code doc improvements 2017-07-27 17:35:14 +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
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
Christophe Vuagniaux
e3a567cb78 Enable configuration of backend login session persistence (#2924)
Thanks to @ChVuagniaux. Fixes #2394
2017-06-22 14:34:16 -06:00
Samuel Georges
e2781c5fdf URL -> Url 2017-06-02 23:34:50 +10:00
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Pásztor Gábor
87a68f7bf7 Using flexbox on login and reset page. 2016-11-27 16:29:38 +01:00
Ivan Kurnosov
c9ba4c49e6 Fix for postgresql: you cannot compare a boolean column with integers 2016-11-15 16:55:23 +13:00
Samuel Georges
96eba6febc Roll back uncommon features
Refs #2249
2016-07-30 12:04:21 +10:00
Samuel Georges
ec47cba33f Merge pull request #2249 from gergo85/develop
Improve the Administrators list
2016-07-30 11:56:35 +10:00
Szabó Gergő
fa146aaea7 Translate the Loading message 2016-07-28 09:15:12 +02:00
Szabó Gergő
c37f078e29 Improve the Administrators list 2016-07-27 11:50:44 +02:00
Samuel Georges
171b14c6ab Nicer error message when no DB and backend access attempt
This is for flat-file sites that don't use a database. If debug mode is on, it will show an error page with advice to set up the database. If debug mode is off, it will simply show a 404 page. Previously it was a nasty exception/plain error page.
2016-06-05 07:16:11 +10:00
Samuel Georges
805c0939ad Introduce two new dash widgets: welcome and active theme
System warnings have been moved to the system dash widget
Minor styling and language changes
2016-05-28 11:10:33 +10:00
Samuel Georges
e9be15cc15 Preferences -> Preference
Rename brandsetting config folder
2016-05-27 07:46:50 +10:00
Samuel Georges
f676f55375 BrandSettings -> BrandSetting
(Models should be singular)
2016-05-27 07:37:49 +10:00
Samuel Georges
47d0a2677c UI Blocks can now be moved by dragging
Page links handler is now strict definition
Use more explicit naming for config_dashboard config
We have to use the codeeditor for mail templates for now, since froala is not playing nicely with twig
2016-05-27 05:21:50 +10:00
Samuel Georges
010a769b19 Create centered loader with text
Continuity styling updates
2016-05-26 05:20:26 +10:00
Samuel Georges
1608d80127 Reorganise code editor prefs
Fixes visual bugs
Update dashboard icon
Restyle flash messages
2016-04-30 04:53:33 +10:00
Samuel Georges
d6a7fdc74c Reduce the wording on a bunch of messages 2016-04-29 17:36:52 +10:00
Samuel Georges
6c081d9265 Combine editor preferences and backend preferences
Add backend timezone setting used for converting display dates
2016-04-23 05:31:05 +10:00
Samuel Georges
cfd53375ac Fixes to editor preferences 2016-04-21 04:50:05 +10:00
Lucas Martín
e2566c36a0 update codeeditor with new features (#1863)
update ace v1.2.0 to v1.2.3
add codecompletion and live codecompletion(with documentation inline)
add snippets to lenguajes(php,javascript,html,css)
add translation to spanish
add search and replace buttons
2016-04-19 16:36:45 +10:00
Samuel Georges
46e70385e2 The timeout looks bad when there are no widgets 2016-02-25 19:04:59 +11:00
Samuel Georges
c736643202 Tweak the dash loader @alekseybobkov
The leaf is too hard to customize (white label considerations)
Use a white container with subtle fade after loading
Introduce rspin (reverse spin) animation, not used, but may come in handy
2016-02-25 18:57:13 +11:00
Samuel Georges
f6d76fade6 Moved dashboard css from storm to backend
Dashboard is a specific part of the backend and storm should stand alone from this
2016-02-25 18:07:25 +11:00
alekseybobkov
a892fff938 UI updates 2016-02-24 21:24:31 -08:00
alekseybobkov
6ed4bd5ef6 Updates in the UI 2016-02-22 21:52:23 -08:00
alekseybobkov
a943708b99 UI updates 2016-02-19 22:12:41 -08:00
Samuel Georges
659c7098b9 Improve dashboard performance
Dashboard widgets should defer their data requesting using AJAX so they don't kill/lag the whole page request
2016-02-14 08:19:34 +11:00
Samuel Georges
ee155bf1f3 Merge pull request #1702 from gpasztor87/patch-2
Cleanup
2016-01-16 09:07:15 +11:00
Pásztor Gábor
31457bd2ee Cleanup 2016-01-15 10:20:57 +01:00
Pásztor Gábor
537f637e47 Storage path 2016-01-15 10:07:39 +01:00
Samuel Georges
12972cd086 Lax the validation rules on login, email + pass 2015-12-19 09:53:17 +11:00
Samuel Georges
30025a6ada Adds a refresh button to log pages, minor column tweaks 2015-11-28 11:10:06 +11:00
Samuel Georges
2ced2f8c73 Move the superuser flag out of permissions array - fixes #1503 2015-11-28 10:21:41 +11:00
Samuel Georges
6d7a7b0601 Merge pull request #1468 from mul14/min-login-password-should-4
Minimum password length should be 4 characters
2015-10-05 08:42:38 +11:00
Mulia Arifandi Nasution
676a4d00bc Minimum password length should be 4 characters
Because the minimum password length on User model is 4
https://github.com/octobercms/october/blob/master/modules/backend/models/User.php#L26-L27
2015-09-27 02:28:12 +07:00
Dave Shoreman
cac8b54e87 Remove superuser field for non-superusers
If an admin user has permission to manage other users, they are
able to set others as superuser, or even create their own
superuser account. That's not really what we want.
2015-09-26 00:34:12 +01:00
Dave Shoreman
5816ae5604 Add permissions for account dropdown items
This adds permissions to Back-end Preferences and Code editor
preferences in the backend.

Instead of Access denied, the Backend Preferences page displays
an "Unable to find the spcified settings" error. Meh... it works.
2015-09-24 20:40:31 +01:00