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
Http Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
Notifications
Providers Removed bmp and tiff support from uploaded images. 2020-04-05 16:15:05 +01:00
Settings
Translation
Uploads Fixed issue where URL params in image names would cause loading failure 2020-07-25 11:18:40 +01:00
Application.php
helpers.php Linked new API token system into middleware 2019-12-30 02:16:07 +00:00
Model.php
Ownable.php Updated comment md rendering to be server-side 2020-05-01 23:24:11 +01:00