BookStack/resources/views
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
..
api-docs Updated listing endpoints to be clickable in api docs 2020-05-23 00:53:13 +01:00
attachments Finished breakdown of attachment vue into components 2020-07-04 16:53:02 +01:00
auth Updated styles to use logical properties/values 2020-04-05 13:07:19 +01:00
books Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
chapters Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
comments Updated some comment elements and standardised more JS 2020-07-28 18:19:18 +01:00
common Finished breakdown of attachment vue into components 2020-07-04 16:53:02 +01:00
components Converted image-manager to be component/HTML based 2020-07-25 00:20:58 +01:00
errors Performed review of "public intended" functionality provided in #1817 2020-03-14 18:29:31 +00:00
form Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
pages Removed a few remaining vue references 2020-07-26 14:49:05 +01:00
partials Removed a few remaining vue references 2020-07-26 14:49:05 +01:00
search Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
settings Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
shelves Finished moving tag-manager from a vue to a component 2020-06-29 22:11:03 +01:00
users Added files missed in previous commit 2020-02-02 10:59:03 +00:00
vendor Removed html dir tag for now, Updated lang format 2019-08-18 18:57:35 +01:00
base.blade.php Added dark/light mode toggle to profile dropdown menu 2020-04-11 20:37:51 +01:00
simple-layout.blade.php Cleaned up old toolbar usage 2019-04-06 17:43:44 +01:00
tri-layout.blade.php Made another mass of accessibility improvements 2019-08-25 15:44:51 +01:00