discourse/app
Sam Saffron c5e67726fd FIX: under some conditions draft would say it was saving when not
This is a major change to draft internals. Previously there were quite a
few cases where the draft system would say "draft saved", when in fact
we just skipped saving.

This commit ensures the draft system deals with draft ownership handover in
a predictable way.

For example:

- Window 1 editing draft
- Window 2 editing same draft at the same time

Previously we would allow window 1 and 2 to just fight on the same draft
each window overwriting the same draft over an over.

This commit introduces an ownership concept where either window 1 or 2 win
and user is prompted on the loser window to reload screen to correct the issue

This also corrects edge cases where a user could have multiple browser windows
open and posts in 1 window, later to post in the second window. Previously
drafts would break in the second window, this corrects it.
2019-10-31 17:15:58 +11:00
..
assets FIX: under some conditions draft would say it was saving when not 2019-10-31 17:15:58 +11:00
controllers FIX: under some conditions draft would say it was saving when not 2019-10-31 17:15:58 +11:00
helpers DEV: pluck_first 2019-10-21 12:08:20 +01:00
jobs FEATURE: allow sending bulk invites to staged users 2019-10-30 11:40:03 +05:30
mailers PERF: cache new users counts in summary emails 2019-10-25 16:33:36 -04:00
models FIX: under some conditions draft would say it was saving when not 2019-10-31 17:15:58 +11:00
serializers FEATURE: Site setting/UI to allow users to set their primary group (#8244) 2019-10-28 12:46:27 -05:00
services FEATURE: Site setting/UI to allow users to set their primary group (#8244) 2019-10-28 12:46:27 -05:00
views DEV: replace inline RTL attributes with classes in digest.html.erb 2019-10-28 16:36:55 -04:00