This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app
Robin Ward ddf0db0338 Refactor notifications localStorage cache into adapter pattern.
Sometimes you want stale data right away, then refresh it async.
This adds `findStale` to the store for that case. If it returns
an object with `hasResults` you can get the `results` and display
them.

It also returns a `refresh()` method to freshen up the stale data.

To enable `localStorage` support for stale data, just include the
mixin `StaleLocalStorage` into an adapter for that model. This
commit includes a sample of doing that for `Notifications`.
2015-08-31 14:12:27 -04:00
..
assets Refactor notifications localStorage cache into adapter pattern. 2015-08-31 14:12:27 -04:00
controllers FEATURE: copy invite link for topic invites 2015-08-31 21:15:15 +05:30
helpers FIX: Strip lightbox metadata from embedding comments 2015-08-21 15:22:50 -04:00
jobs lower the volume on failed to pull hotlinked image 2015-08-19 12:32:45 +10:00
mailers FEATURE: per-topic unsubscribe option in emails 2015-08-12 23:00:16 +02:00
models FEATURE: copy invite link for topic invites 2015-08-31 21:15:15 +05:30
serializers FIX: error when loading admin > flags 2015-08-28 12:31:32 +02:00
services FIX: send new email activation token if the original token expired 2015-08-24 12:00:00 +05:30
views FIX: When changing colors, refresh the admin stylesheet 2015-08-18 14:13:40 -04:00