27 Commits

Author SHA1 Message Date
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
Quezler
cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Samuel Georges
e98aa14a6e Fixes tests - migrations are in global namespace 2016-06-06 07:35:30 +10:00
Samuel Georges
d7cfe61e67 Delete raw data instead of models 2016-06-06 07:25:08 +10:00
Samuel Georges
628031254d Stable prep: Reset the brand settings and backend prefs
These have been restructured since RC version and so should be reset to avoid common bugs
2016-06-06 06:40:57 +10:00
Samuel Georges
f5633c1bc6 SQL MODE code may fail in other drivers, use Dongle instead 2016-04-30 06:22:00 +10:00
Samuel Georges
f45c04a3aa Minor logic error
Trash strict mode off during default migrations: this will occur as a one-time during the RC->stable since the code exists in the migration.
2016-04-30 06:01:51 +10:00
Dave Shoreman
48090351bd Convert current core timestamp columns to nullable
Adds migrations to switch all existing timestamp fields from being
NOT NULL DEFAULT 0, to NULL DEFAULT NULL, in order to get around
issues with new default modes in MySQL that cause errors in 0 dates.
2016-04-29 19:31:17 +01:00
Dave Shoreman
34f2aa7dcf Switch to custom Schema facade
Updates the Schema facade to point to the custom one added in the
library repo, and sets all existing migrations to use our own
Blueprint class instead of the one provided by the Laravel framework.
2016-04-27 08:31:58 +01:00
Samuel Georges
ff52ad6595 Remove Illuminate references 2016-02-23 13:46:57 +11:00
Samuel Georges
8318c05b37 * Build 311
Fixes issue locking out admins after updating to build 310
2015-11-28 16:39:16 +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
67ba31b946 Use shorter index names
Fixes https://github.com/octobercms/install/issues/64
2015-04-03 07:41:53 +11:00
Samuel Georges
b0b3098095 Fixes #836
Fixes https://github.com/octobercms/install/issues/59
2014-12-17 08:04:09 +11:00
Samuel Georges
470f876fff Add API code field to admin groups 2014-12-16 13:47:18 +11:00
Samuel Georges
e3dae22758 Back-end user groups can now be marked to add new administrators by default
Streamline naming of backend user groups
Add description field to backend user group table
2014-12-16 12:39:38 +11:00
Sam Georges
ad26acef29 Fixes https://github.com/octobercms/october/issues/364 - Add indexes 2014-11-01 18:15:45 +11:00
Stefan Talen
7148341b80 Updating backend/database 2014-10-10 23:34:34 +02:00
Sam Georges
8dcef0ebfb Adds index 2014-09-13 18:16:16 +10:00
Sam Georges
b280802644 Refs #383 - Set up basic models for logging 2014-07-29 20:07:20 +10:00
Sam Georges
26e712dc06 Use dropIfExists for smoother rollbacks 2014-06-30 13:23:35 +10:00
Sam Georges
2b820a20d6 Convert all boolean table columnns to use is_ prefix
Add email template/layout system
2014-06-06 21:39:20 +10:00
Sam Georges
40efd04558 Fixes https://github.com/octobercms/install/issues/30 2014-05-27 13:49:42 +10:00
Sam Georges
0088804ee9 SQLite doesn't like this key name 2014-05-16 11:11:29 +10:00
Sam Georges
934d7d869f Use shorter index 2014-05-15 09:20:00 +10:00
Sam Georges
71a5dd67ab Welcome to the world, October :-) 2014-05-14 23:24:20 +10:00