thecodrr
f7b510d87b
fix: do not depend on client for user key salt
2020-11-17 12:17:56 +05:00
thecodrr
df287e5159
feat: use secure key storage (ask for client to store keys)
2020-11-17 11:40:41 +05:00
thecodrr
459247b440
fix: full text search now works again
2020-11-16 15:54:16 +05:00
thecodrr
97b04a891c
fix: check if .length is >= the limit
2020-11-11 20:45:53 +05:00
thecodrr
59cf0cce8f
feat: implement user subscription status checking logic
2020-11-11 15:43:09 +05:00
thecodrr
0d8b755970
feat: remove unnecessary db transaction logic
2020-11-04 10:28:52 +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
36dc92e633
feat: minor cleanups and fixes
2020-10-28 10:58:07 +05:00
thecodrr
bf29a0ab16
fix: properly change host via db.host method
2020-09-19 11:46:36 +05:00
thecodrr
043cbe34a8
feat: migrate topic ids to proper random ids
2020-09-14 16:09:01 +05:00
thecodrr
bb3378f8ca
feat: improve plain text generation
2020-08-31 14:14:21 +05:00
thecodrr
238e8884ff
feat: improve markdown metadata generation
2020-08-31 13:12:09 +05:00
thecodrr
ae820d6449
feat: improve html document generation
2020-08-31 12:45:37 +05:00
thecodrr
eca4dd2673
chore: add documentation for export method
2020-08-31 10:05:34 +05:00
thecodrr
d6bfdc79ec
feat: implement delta export to MD, HTML & TXT
2020-08-31 10:03:56 +05:00
thecodrr
ea51fa7aa0
feat: handle "not authorized" error by logging the user out
2020-08-25 09:08:55 +05:00
thecodrr
d7e3e1d1e7
fix: merge user properly on user sync
2020-08-24 13:05:41 +05:00
thecodrr
94e02adf67
fix: remove leading front slash from HOST
2020-08-24 11:27:21 +05:00
thecodrr
30a64a3795
feat: add sse support
2020-08-24 11:14:16 +05:00
thecodrr
29004abd6d
feat: remove auto logout
2020-08-22 11:52:19 +05:00
thecodrr
c9eff9e2c1
feat: remove unused upgrade code
2020-08-22 11:30:37 +05:00
thecodrr
37dbc7f4f4
feat: backend data structure changes
2020-08-22 11:25:23 +05:00
thecodrr
237cee8a3f
fix: log user out if it's deleted from db
2020-08-15 09:42:32 +05:00
thecodrr
f01a18f1d9
feat: remove internet check
2020-08-06 09:57:16 +05:00
thecodrr
c301d220a4
feat: add internet connectivity check
2020-05-27 10:04:21 +05:00
thecodrr
90fb248e73
BREAKING: remove isPremium method from user
2020-05-27 09:48:49 +05:00
thecodrr
f3538df1cd
fix: use .call to change context in authRequest
2020-05-23 17:29:02 +05:00
thecodrr
f20ec7e387
fix: check if user is logged in before upgrading
2020-05-23 17:24:01 +05:00
thecodrr
2e80859bea
feat: sync user on startup
2020-05-23 17:20:24 +05:00
thecodrr
a7a1d3396a
fix(user): send authorization token with upgrade req
2020-05-21 21:59:06 +05:00
thecodrr
ea169b46f8
feat: impl upgrade logic
2020-05-21 20:34:13 +05:00
thecodrr
81718834e5
feat: properly impl isPremium fn in user
2020-05-14 15:13:15 +05:00
thecodrr
11151d9d2c
feat: implement function to get user's pro status
2020-05-13 04:22:19 +05:00
thecodrr
c902076b4e
fix: crash when logging out
2020-05-04 12:21:15 +05:00
thecodrr
bbebee06a0
user: throw on 200 status code if there's error in body
2020-04-25 12:09:20 +05:00
thecodrr
1078600290
ci: fix user tests
2020-04-16 03:41:43 +05:00
thecodrr
58d63de654
user: fix typo
2020-04-16 03:32:07 +05:00
thecodrr
55b6b0733b
core: clear cache and database on logout
2020-04-16 03:27:22 +05:00
thecodrr
64add84e72
refactor: make everything independent
2020-04-16 02:14:53 +05:00
thecodrr
451b15ef89
user: remove unnecessary async modifier
2020-04-14 11:36:25 +05:00
thecodrr
a462a02f56
user: use fixed salt to derive key for encryption
2020-04-13 15:36:51 +05:00
thecodrr
93f4fdfa6a
sync: encrypt/decrypt data before syncing
2020-04-13 12:04:49 +05:00
thecodrr
b12e61198e
user: derive & store encryption key when authenticating
2020-04-13 11:23:02 +05:00
thecodrr
aaf566924a
fix: resolve all circular dependencies ( fix #9 )
2020-04-12 11:04:30 +05:00
thecodrr
a4d48b8da2
user: fix expiry time handling
2020-04-11 11:28:17 +05:00
thecodrr
4357a1e496
ci: add user model tests
2020-04-07 19:05:00 +05:00
thecodrr
025a953cea
feat: handle deletion for sync
2020-03-23 13:22:28 +05:00
thecodrr
0d2cb3e245
feat: add noteIds arrays to tags & colors collection
2020-03-22 10:59:06 +05:00
thecodrr
c1e6199cc7
sync: make it work (only upload working)
2020-03-19 15:14:29 +05:00