BookStack/resources
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
..
icons Reviewed tag in seach work 2021-05-24 16:12:09 +01:00
js Reviewed and refactored additional editor draft save warnings 2021-10-04 20:26:55 +01:00
lang Reviewed and refactored additional editor draft save warnings 2021-10-04 20:26:55 +01:00
sass Made the TOTP URL visible during setup 2021-09-01 20:58:19 +01:00
views Reviewed adding IP recording to activity & audit log 2021-09-26 17:18:12 +01:00