Commit Graph

95 Commits

Author SHA1 Message Date
thecodrr
de3e821c1f feat: add offers api to get platform specific promo codes 2021-07-24 11:13:41 +05:00
thecodrr
d9bbb9fbab fix: improve content cleanup logic 2021-07-03 23:07:43 +05:00
thecodrr
f0dbe822c7 feat: cleanup orphaned content items 2021-07-03 14:50:59 +05:00
thecodrr
14fae70840 feat: send user id when fetching announcements 2021-06-28 10:05:39 +05:00
thecodrr
4e1519bbc8 feat: change automatic sync interval to 5s 2021-06-19 11:07:45 +05:00
thecodrr
73212bee0f fix: remove monographs on logout 2021-06-16 11:53:05 +05:00
thecodrr
5f5377bb0e fix: fetch monograph ids on login 2021-06-16 11:51:39 +05:00
thecodrr
09eac22eaf feat: monograph -> monographs 2021-06-15 11:57:00 +05:00
thecodrr
5bfd1c13d2 feat: init monographs on first publish/unpublish 2021-06-15 11:30:33 +05:00
thecodrr
a41e6c9f4f feat: use an internal monographs cache
This completely detaches monographs from notes allowing
much more flexibility and less bugs.
Since there is only a single source of truth, we can easily do things
like self destruct.
2021-06-15 10:09:10 +05:00
thecodrr
ee98a363b8 feat: implement monograph publishing client 2021-06-13 10:00:24 +05:00
thecodrr
aa3c9c49cd feat: announcement -> announcements 2021-06-12 09:25:04 +05:00
thecodrr
4a349a3c27 feat: add func to fetch recent announcement 2021-04-10 10:48:46 +05:00
thecodrr
65c71d7532 fix: clear timeout on user logout 2021-04-07 20:50:14 +05:00
thecodrr
bb41b8c9cb feat: re-enable trash auto cleanup after 7 days 2021-02-27 11:54:52 +05:00
thecodrr
b5a0b9e649 feat: remove trash collection 2021-02-16 16:56:06 +05:00
thecodrr
04a4344087 feat: add auto syncing to premium features 2021-02-15 21:07:46 +05:00
thecodrr
0d35f58c75 feat: expose connectSSE 2021-01-23 12:19:51 +05:00
thecodrr
aec57340c3 refactor: string event names to global event name consts 2021-01-23 10:50:07 +05:00
thecodrr
4e262e615e refactor: change all event strings to constants 2021-01-23 10:48:21 +05:00
thecodrr
0ed57e3620 test: fix all ci tests 2021-01-22 22:08:56 +05:00
thecodrr
086f7e9b50 feat: remove fetchUser call on db.init 2021-01-07 14:59:02 +05:00
thecodrr
6d9c5daa36 feat: get version 2021-01-05 14:07:02 +05:00
thecodrr
a085628f5e fix: refresh token if email got confirmed 2021-01-05 13:07:37 +05:00
thecodrr
b26b5e462e fix: refresh db on sse sync event 2020-12-29 15:32:56 +05:00
thecodrr
39a832495c fix: sse message parsing 2020-12-28 11:34:59 +05:00
thecodrr
b87ba6259a feat: handle emailConfirmed SSE 2020-12-23 11:28:38 +05:00
thecodrr
d371122940 fix: make user.remember work again 2020-12-22 16:13:01 +05:00
thecodrr
2f83971c23 feat: impl db.lastSynced 2020-12-16 14:43:56 +05:00
thecodrr
aef283a663 fix: sse not connecting due to invalid access_token 2020-12-16 13:55:24 +05:00
thecodrr
5c519f17e6 fix: minor errors with fetch request 2020-12-16 13:23:14 +05:00
thecodrr
9f3f1e718b fix: db.host 2020-12-16 12:35:17 +05:00
thecodrr
f8c306380b feat: migrate to use the new backend 2020-12-16 12:06:25 +05:00
thecodrr
a83b2355d2 feat: impl account password changing 2020-12-11 20:19:28 +05:00
thecodrr
34b6bb477c fix: send user:loggedOut event after logging out 2020-12-10 15:29:12 +05:00
thecodrr
551bf269b4 feat: add user deletion and logout on deletion 2020-12-10 14:53:58 +05:00
thecodrr
acd548fd38 fix: minor fixes with migration 2020-12-08 11:58:45 +05:00
thecodrr
24d7b21a1d fix: do not cause a rollover sync on remote item write 2020-12-07 19:00:16 +05:00
thecodrr
310899d0d6 feat: add push-only syncing 2020-12-07 18:26:01 +05:00
thecodrr
df3328355f feat: reduce rollover sync time to 15 seconds 2020-12-07 15:53:33 +05:00
thecodrr
048c74816a refactor: use a single migration backend 2020-12-06 10:52:00 +05:00
thecodrr
65693053e9 feat: initialize migrations 2020-12-05 15:33:40 +05:00
thecodrr
fc7c1001e6 feat: impl automatic database migrations (exp) 2020-12-05 15:26:54 +05:00
thecodrr
9bb1f81d31 fix: ReferenceError: Settings is not defined 2020-11-25 15:18:57 +05:00
thecodrr
f04088d824 feat: add items pin/unpin 2020-11-25 15:04:39 +05:00
thecodrr
1eee45643e feat: defer notes loading 2020-11-24 01:39:32 +05:00
thecodrr
142ec35bfe fix: session was being validated synchronously 2020-11-09 09:15:11 +05:00
thecodrr
6b38d05a8f feat: migrate from delta to content
**This is a breaking change.**

This will allow for extreme flexibility in the future.
We have also removed `text` collection as it is unnecessary.
Improvements in performance will be noticed while syncing.

Known Issues:
1. Since notes lookup depends on note text, it will not work.
2020-11-04 10:17:37 +05:00
thecodrr
6fdb81fd84 feat: add 1 min rollover auto syncing 2020-11-02 09:50:27 +05:00
thecodrr
5e0240ea30 fix: user data structure changes 2020-10-28 12:11:18 +05:00