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
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