mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-26 11:11:56 +00:00
- Added testing to cover warning cases. - Refactored logic to be simpler and move much of the business out of the controller. - Added new message that's more suitable to the case this was handling. - For detecting an outdated draft, checked the draft created_at time instead of updated_at to better fit the scenario being checked. - Updated some method types to align with those potentially being used in the logic of the code. - Added a cache of shown messages on the front-end to prevent them re-showing on every save during the session, even if dismissed. |
||
|---|---|---|
| .. | ||
| Api | ||
| Auth | ||
| Commands | ||
| Entity | ||
| Permissions | ||
| Settings | ||
| test-data | ||
| Unit | ||
| Uploads | ||
| User | ||
| AuditLogTest.php | ||
| CreatesApplication.php | ||
| ErrorTest.php | ||
| FavouriteTest.php | ||
| HomepageTest.php | ||
| LanguageTest.php | ||
| OpenGraphTest.php | ||
| PublicActionTest.php | ||
| RecycleBinTest.php | ||
| SecurityHeaderTest.php | ||
| SharedTestHelpers.php | ||
| StatusTest.php | ||
| TestCase.php | ||
| TestEmailTest.php | ||
| TestResponse.php | ||
| ThemeTest.php | ||