45 Commits

Author SHA1 Message Date
Hendrik Erz
c2b44bea2c
Pass autogenerated admin password as the default during winter:install (#665)
Also enables the use of `admin` as a password during the seeding process, not that it would be a good idea to use it.
2022-08-31 15:37:34 -06:00
Luke Towers
f14642cc58 Fix scope overreach of migration from 2016.
Backend migrations should only touch the backend tables, same for the system module. This was added for build 345 in 2016 in the wrong migrations. See d7cfe61e67
2022-03-11 22:17:27 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Saifur Rahman Mohsin
59de6e1d25
Respect user-defined admin password during october:install(#5481)
During the regular october install using october:install, the user-defined password is overwritten with the random generated string password. Instead, now it uses random password only if the user-defined password defaults to *admin* and if a user did set a custom password, that is used instead.
2021-02-26 13:49:52 -06:00
Ben Thomson
d7d6faeedb
Generate random password for seeded admin account through october:up (#4866) 2020-11-20 03:43:33 -06:00
Samuel Georges
6e607361dc Restore default password setting 2020-02-27 20:07:41 +11:00
Ben Thomson
8279bc63e4
Seed admin password that passes our current validation rules 2020-01-19 22:27:12 +08:00
Ben Thomson
4302f8d4f5
Change module seeders to only temporary unguard attributes 2020-01-19 22:26:46 +08:00
Ben Thomson
a59d3b83eb Code quality clean up (#4449)
Credit to @bennothommo
2019-07-18 08:50:37 -06:00
Luke Towers
85e614203c Add soft delete column to backend users so that migrations that use the User model work 2018-12-19 19:43:04 -06:00
Luke Towers
54a67ca556 Implemented soft deleting for backend users 2018-12-17 23:09:17 -06: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
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
ae73c2c592 Remove test testListsNestedUnknownColumn
^ because different DB drivers behave differently
Minor touch ups
2016-01-04 17:54:23 +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
e8e0f50bd4 Fixes typo 2015-11-28 13:13:50 +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
ad60afebc4 Make the default admin group code a constant
We should consider locking this record attribute in future?
2015-08-07 18:43:05 +10:00
Samuel Georges
461e4f75de Improve admin list toolbar
Change "Admins" group to "Owners" (more descriptive)
Fix bug in Firefox on Mediafinder form widget not respecting max-width 100%
Recompile assets
2015-07-04 09:34:35 +10: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
9fdfda4472 Add code to seeder 2014-12-16 13:55:46 +11:00
Samuel Georges
470f876fff Add API code field to admin groups 2014-12-16 13:47:18 +11:00
Samuel Georges
bd1b930316 Make more room for group descriptions 2014-12-16 12:42:29 +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
Sam Georges
e81b7394b1 Fixes #733 - Be more considerate of others 2014-11-01 16:15:17 +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