BookStack/app
Dan Brown 5f1ee5fb0e
Removed role 'name' field from database
The 'name' field was really redundant and caused confusion in the
codebase, since the 'Display' name is often used and we have a
'system_name' for the admin and public role.

This fixes #2032, Where external auth group matching has confusing
behaviour as matching was done against the display_name, if no
external_auth field is set, but only roles with a match 'name' field
would be considered.

This also fixes and error where the role users migration, on role
delete, would not actually fire due to mis-matching http body keys.
Looks like this has been an issue from the start. Added some testing to
cover. Fixes #2211.

Also converted phpdoc to typehints in many areas of the reviewed code
during the above.
2020-08-04 14:55:01 +01:00
..
Actions Updated functionality for logging failed access 2020-07-28 12:59:43 +01:00
Api Tweaked ListingResponseBuilder to help avoid future issues 2020-04-25 22:15:59 +01:00
Auth Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
Config Updated functionality for logging failed access 2020-07-28 12:59:43 +01:00
Console Added command to regenerate comment content 2020-05-01 23:41:47 +01:00
Entities Merge branch 'master' of git://github.com/drzippie/BookStack into drzippie-master 2020-06-27 17:11:11 +01:00
Exceptions Prevented entity "Not Found" events from being logged 2020-05-23 11:28:59 +01:00
Facades Refactored some core entity actions 2019-09-20 00:18:28 +01:00
Http Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
Notifications Add feature to send test e-mails 2019-10-16 08:24:33 +02:00
Providers Removed bmp and tiff support from uploaded images. 2020-04-05 16:15:05 +01:00
Settings Removed setting override system due to confusing behaviour 2019-12-22 13:19:17 +00:00
Translation Made it possible to override translations via theme system 2019-10-26 18:07:14 +01:00
Uploads Fixed issue where URL params in image names would cause loading failure 2020-07-25 11:18:40 +01:00
Application.php Ran phpcbf and updated helpers typehinting 2019-09-15 18:29:51 +01:00
helpers.php Linked new API token system into middleware 2019-12-30 02:16:07 +00:00
Model.php Set /app PHP code to PSR-2 standard 2018-01-28 16:58:52 +00:00
Ownable.php Updated comment md rendering to be server-side 2020-05-01 23:24:11 +01:00