1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 07:32:39 +01:00
BookStack/tests
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 Added chapters to the API 2020-05-23 00:28:41 +01:00
Auth Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
Entity Updated some comment elements and standardised more JS 2020-07-28 18:19:18 +01:00
Permissions Removed role 'name' field from database 2020-08-04 14:55:01 +01:00
test-data Made display thumbnail generation use original data if smaller 2019-12-22 12:44:49 +00:00
Unit Updated functionality for logging failed access 2020-07-28 12:59:43 +01:00
Uploads Fixed issue where URL params in image names would cause loading failure 2020-07-25 11:18:40 +01:00
User Added tests and translations for dark-mode components 2020-04-11 20:44:23 +01:00
ActivityTrackingTest.php Re-structured the app code to be feature based rather than code type based 2018-09-25 12:30:50 +01:00
BrowserKitTest.php Updated to Laravel 5.8 2019-09-13 23:58:40 +01:00
CommandsTest.php Added command to regenerate comment content 2020-05-01 23:41:47 +01:00
CreatesApplication.php Namespaced tests to align with new laravel default 2017-02-04 11:58:42 +00:00
ErrorTest.php Prevented entity "Not Found" events from being logged 2020-05-23 11:28:59 +01:00
HomepageTest.php Updated page delete to handle inactive custom homepage correctly 2019-05-27 12:40:19 +01:00
LanguageTest.php Updated styles to use logical properties/values 2020-04-05 13:07:19 +01:00
PublicActionTest.php Performed review of "public intended" functionality provided in #1817 2020-03-14 18:29:31 +00:00
SharedTestHelpers.php Prevented entity "Not Found" events from being logged 2020-05-23 11:28:59 +01:00
TestCase.php Simplified guard names and rolled out guard route checks 2020-02-02 13:10:21 +00:00
TestEmailTest.php Updated email test send to show error on failure 2020-02-15 14:13:15 +00:00
TestResponse.php Added testing coverage for Bookshelves 2018-09-21 15:15:16 +01:00
ThemeTest.php Added test to check custom theme lang items 2019-10-26 18:07:14 +01:00