mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-04 23:13:41 +08:00
f99af807d0
- 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 | ||
Images | ||
AttachmentController.php | ||
AuditLogController.php | ||
BookController.php | ||
BookExportController.php | ||
BookshelfController.php | ||
BookSortController.php | ||
ChapterController.php | ||
ChapterExportController.php | ||
CommentController.php | ||
Controller.php | ||
FavouriteController.php | ||
HomeController.php | ||
MaintenanceController.php | ||
PageController.php | ||
PageExportController.php | ||
PageRevisionController.php | ||
PageTemplateController.php | ||
RecycleBinController.php | ||
RoleController.php | ||
SearchController.php | ||
SettingController.php | ||
StatusController.php | ||
TagController.php | ||
UserApiTokenController.php | ||
UserController.php | ||
UserProfileController.php | ||
UserSearchController.php |