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
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
BrowserKitTest.php
CommandsTest.php Added command to regenerate comment content 2020-05-01 23:41:47 +01:00
CreatesApplication.php
ErrorTest.php Prevented entity "Not Found" events from being logged 2020-05-23 11:28:59 +01:00
HomepageTest.php
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
TestEmailTest.php
TestResponse.php
ThemeTest.php