BookStack/app
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
..
Actions Applied StyleCI changes 2021-09-29 23:53:11 +01:00
Api Updated API auth handling of email confirmations 2021-08-05 22:07:08 +01:00
Auth Applied StyleCI changes 2021-09-29 23:53:11 +01:00
Config Reviewed addition to db table prefix 2021-09-29 18:41:11 +01:00
Console Applied styleci changes 2021-09-26 15:48:22 +01:00
Entities Reviewed and refactored additional editor draft save warnings 2021-10-04 20:26:55 +01:00
Exceptions Converted AuthTest away from BrowserKit 2021-09-17 23:44:54 +01:00
Facades Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Http Reviewed and refactored additional editor draft save warnings 2021-10-04 20:26:55 +01:00
Interfaces Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Notifications Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Providers Applied styleci changes 2021-09-26 15:48:22 +01:00
Settings Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Theming Applied latest styleci changes 2021-09-06 22:19:06 +01:00
Traits Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
Translation Apply fixes from StyleCI 2021-08-21 14:49:40 +00:00
Uploads Applied styleci changes 2021-09-26 15:48:22 +01:00
Util Altered the parsing of custom head to prevent htmlentities on content 2021-09-12 16:19:17 +01:00
Application.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00
helpers.php Merge branch 'v21.05.x' 2021-07-03 12:02:13 +01:00
Model.php Apply fixes from StyleCI 2021-06-26 15:23:15 +00:00