This project is mirrored from https://github.com/tootsuite/mastodon. Pull mirroring updated .
  1. 31 May, 2020 3 commits
  2. 29 May, 2020 2 commits
    • ThibG's avatar
      Fix timeline markers in Firefox (regression from #13887) (#13889) · cc650bc0
      ThibG authored
      Unfortunately, Firefox does not support the `keepalive` parameter
      I used in the previous PR. However it supports the `navigator.sendBeacon`
      API that allows that kind of things, but does not allow setting headers.
      
      Therefore, this PR replaces it with a `sendBeacon` call that passes the
      bearer token in the POST data.
      
      Doorkeeper will then handle the auth token out of the box, as long as
      it is passed as form data. Passing the query as JSON does not work.
      cc650bc0
    • ThibG's avatar
      Fix timeline markers not working on Chrome (#13887) · 5aff2a69
      ThibG authored
      * Periodically save timeline markers
      
      This saves timeline markers immediately upon message arrival, but not more
      than once every 5 minutes.
      
      This does not change how the markers are saved on closing the window,
      except that it avoids submitting them if there is no need for it.
      
      * Use the Fetch API when possible instead of XHR on window unload
      5aff2a69
  3. 28 May, 2020 22 commits
  4. 25 May, 2020 6 commits
  5. 24 May, 2020 1 commit
  6. 23 May, 2020 4 commits
  7. 21 May, 2020 2 commits