Commit Graph

72 Commits

Author SHA1 Message Date
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
thecodrr
7bae5df9c4 fix: handle unsupported sse messages 2020-09-20 09:15:23 +05:00
thecodrr
8aa38fdc39 fix: can't find variable HOST 2020-09-19 11:48:31 +05:00
thecodrr
bf29a0ab16 fix: properly change host via db.host method 2020-09-19 11:46:36 +05:00
thecodrr
1058ae9909 feat: add ability to change HOST url 2020-09-19 11:36:37 +05:00
thecodrr
24c28483c1 feat: allow frontend to specify its own eventsource lib 2020-09-17 10:10:38 +05:00
thecodrr
06707669dd feat: implement database backup 2020-09-13 13:24:24 +05:00
thecodrr
9c5fa7e88d fix: auto clear of trash after 7 days
We were getting this error: `Cannot read property 'remove' of undefined`
2020-09-07 09:45:31 +05:00
thecodrr
ea51fa7aa0 feat: handle "not authorized" error by logging the user out 2020-08-25 09:08:55 +05:00
thecodrr
10689d9ef9 feat: implement direct syncing using sse (experimental) 2020-08-24 13:07:16 +05:00
thecodrr
215493e556 fix: add async modifier to function 2020-08-24 11:33:37 +05:00
thecodrr
4be79ec57b fix: get whole user object if accessToken is undefined 2020-08-24 11:29:39 +05:00
thecodrr
2fcea10e43 fix: subscribe to event before calling user.sync 2020-08-24 11:25:09 +05:00
thecodrr
30a64a3795 feat: add sse support 2020-08-24 11:14:16 +05:00
thecodrr
2e80859bea feat: sync user on startup 2020-05-23 17:20:24 +05:00
thecodrr
f6673b4271 fix: pass this.context to session manger 2020-05-14 15:07:49 +05:00
thecodrr
2218798ab4 refactor: move session validation to its fn 2020-05-14 13:56:39 +05:00
thecodrr
4ee2d307c3 feat: impl session validation 2020-05-14 13:51:48 +05:00
thecodrr
2ec3d5ef1d api: add auto syncing after 3 minutes 2020-05-04 17:23:16 +05:00
thecodrr
912381ac0c fix: collection saved with wrong keys in prod 2020-04-21 17:39:02 +05:00
thecodrr
55b6b0733b core: clear cache and database on logout 2020-04-16 03:27:22 +05:00
thecodrr
2deec9b675 core: implement event manager 2020-04-16 03:19:50 +05:00
thecodrr
8ad2bc5457 sync: prepare -> collector, other optimizations 2020-04-16 03:04:44 +05:00
thecodrr
1828728f77 fix: tags & color not initializing properly 2020-04-16 02:39:35 +05:00