Commit Graph

33 Commits

Author SHA1 Message Date
Henry Jameson ff10834f1a cleanup stray console logs 2023-12-14 00:14:06 +02:00
Henry Jameson dbfca224d8 server-side storage for flags 2022-08-04 01:56:52 +03:00
Henry Jameson fddb531ed2 --fix 2022-07-31 12:35:48 +03:00
Henry Jameson a97c07bfdf fix settings not persisting 2022-03-17 09:02:26 +02:00
lain 1e57adf6d4 Linting + docs 2020-06-13 11:53:16 +02:00
lain 9bfb3754c1 ServiceWorker: Use loader to only notification messages.
This keeps the translation size very small and makes it easy to
integrate all the languages, as dynamically loading them isn't
easy in the service worker.
2020-06-13 11:48:02 +02:00
lain 178ff1672d PersistedState: Replace object-path with lodash function
We were loading that one anyway.
2020-06-11 18:44:45 +02:00
eugenijm 2c61eb8e7f Added polyfills for EventTarget (needed for Safari) and CustomEvent (needed for IE) 2020-01-24 00:55:13 +03:00
taehoon 268e9ce504 make sure to clear old token when logout 2019-06-20 11:48:29 -04:00
jasper 2d05aef24b Add await to login action' 2019-03-26 14:26:26 -07:00
dave 31d09931c8 #450 - dispatch login after saved state is loaded 2019-03-22 14:04:22 -04:00
lain 5318227c37 afterStoreSetup: Move log in and theme load to afterStoreSetup. 2019-03-13 13:29:34 +01:00
dave 63cfe051c7 #371: show notification when user setting's saved 2019-02-19 12:38:49 -05:00
shpuld 3fb531976a Change the async stuff to not render app before theme is loaded 2019-02-09 11:26:35 +02:00
Egor Kislitsyn c5847349e0 improve web push notifications 2018-12-25 20:43:18 +07:00
Henry Jameson a806d43f05 Merge remote-tracking branch 'upstream/develop' into feature/theming2
* upstream/develop: (60 commits)
  whoops
  whoops
  DM timeline: stream new statuses
  update-japanese-translation
  Add actual user search.
  incorporate most translation changes from MR 368
  update french translation
  Always show dm panel.
  Add direct message tab.
  api service url
  remove deploy stage
  remove deploy stage
  updated and completed German translation
  On logout switch to public timeline.
  minor modification of Chinese translation
  update Chinese translation
  Add Chinese language
  Fix posting.
  Put oauth text into description.
  Display OAuth login on login form button.
  ...
2018-11-26 05:21:58 +03:00
Roger Braun 0aa5fe9d0d Remove gonsole.logg :DD 2018-10-26 16:05:27 +02:00
Roger Braun 9af204b293 Move login to oauth. 2018-10-26 15:16:23 +02:00
Henry Jameson f78a5158e1 something works without exploding and i'm tired already 2018-10-02 21:43:58 +03:00
Henry Jameson 40a175389a Removed warning. Added support for working without static/config.json 2018-09-17 18:00:56 +03:00
Henry Jameson 580aae1b54 Added more stuff that's actually being added to instanceConfig, simplified the whitelist. 2018-09-17 17:51:39 +03:00
Henry Jameson f1c16327b6 Initial version 2018-09-17 17:51:39 +03:00
shpuld d65d6e5da4 Clean up, use translations, persist theme, add more presets. 2017-11-18 13:13:51 +02:00
Roger Braun 8b4f59e1f7 Try logging in with the existing cookie. 2017-09-02 19:50:02 +03:00
Roger Braun 40b607bdea Set state to loaded if it crashes while loading. 2017-04-09 22:15:35 +02:00
Roger Braun e531c78079 Only persist state after we loaded one. 2017-04-09 16:30:21 +02:00
Roger Braun 480a1ba253 Use cache to quickly access users. 2017-03-08 17:59:12 +01:00
Roger Braun 5143ae7f72 Switch to localforage to use indexeddb by default. 2017-03-07 08:43:48 +01:00
Roger Braun 2b2061b03f Switch to lz-string.
Pako was very slow in Chromium.
2017-02-23 19:11:22 +01:00
Roger Braun aa3512205d Only save every minute. 2017-02-22 10:32:44 +01:00
Roger Braun 6e388c0126 Compress saved state with zlib. 2017-02-20 18:54:09 +01:00
Roger Braun ce6fb91501 Throttle saving data, once every 5 seconds is enough. 2017-02-20 18:38:18 +01:00
Roger Braun ebf9fe6a98 Pull in persistence plugin, don't blow up on full storage. 2017-02-20 18:25:19 +01:00