134 Commits

Author SHA1 Message Date
Luke Towers
2fb44fdbee Return backend 404 from files controller 2019-01-15 15:05:57 -06:00
Luke Towers
54a67ca556 Implemented soft deleting for backend users 2018-12-17 23:09:17 -06:00
Szabó Gergő
9522deff4e Add filters to log pages (#3815)
Credit to @gergo85. Thanks to @petehalverson for octodock to test this with
2018-10-16 09:09:41 -06:00
Nathan van der Werf
0f0d108da0
Remove unused imports 2018-08-24 19:51:59 +02:00
Nathan van der Werf
8b6f11e6ac Extract child instructions 2018-08-15 19:25:42 +02:00
Nathan van der Werf
a3d7a028b4 Replace is_null with "=== null" comparison 2018-08-15 18:54:46 +02:00
Wellyson Freitas
c12b76de75 Add extensibility to auth restore view (like signin view) (#3549)
Credit to @wellyfrs.
2018-05-17 00:56:39 -06:00
Luke Towers
f056e8dcb2
Retrieve protected files using the defined file model
Adds support to retrieve protected files using the class they are defined to be using if that class differs from the default System\Models\File class. This makes it possible to use a custom class extending the base file model class that does output processing on the file data (for example, an EncryptedFile class that has to decrypt the file contents before they can be output to the browser).
2018-03-09 23:07:53 -06:00
Szabó Gergő
0256ebc966 Add role filter to administrators (#3350)
Credit to @gergo85
2018-01-10 10:18:19 -06:00
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