BookStack/app/Entities/Tools
Dan Brown f99af807d0
Reviewed and refactored additional editor draft save warnings
- 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.
2021-10-04 20:26:55 +01:00
..
Markdown Applied stylci advisories 2021-08-24 21:23:55 +01:00
BookContents.php Reorgranised blade view files to form a convention 2021-08-22 13:17:32 +01:00
ExportFormatter.php Added untrusted server fetching control 2021-08-31 20:22:42 +01:00
NextPreviousContentLocator.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
PageContent.php Allowed page includes on custom home 2021-10-04 11:26:26 +01:00
PageEditActivity.php Reviewed and refactored additional editor draft save warnings 2021-10-04 20:26:55 +01:00
PermissionsUpdater.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SearchIndex.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SearchOptions.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SearchRunner.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
ShelfContext.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SiblingFetcher.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
SlugGenerator.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
TrashCan.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00