Commit Graph

566 Commits

Author SHA1 Message Date
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
2aa0fa592c fix: properly clear data from memory on logout 2020-09-19 11:33:31 +05:00
thecodrr
0e3682450c perf: use Promise.all when encrypting for possibly better perf 2020-09-17 19:58:33 +05:00
thecodrr
89be1c2cd2 fix: getRandomValues length is double so generate 12 bytes long hex 2020-09-17 15:04:16 +05:00
thecodrr
24c28483c1 feat: allow frontend to specify its own eventsource lib 2020-09-17 10:10:38 +05:00
thecodrr
88fe786cfa feat: use built-in getRandomValues for generating ids 2020-09-17 00:39:02 +05:00
thecodrr
090be2642f feat: add pinned items group at the top 2020-09-15 10:15:05 +05:00
thecodrr
fe369e6771 test: update utils test to test the new grouping logic 2020-09-15 10:11:56 +05:00
thecodrr
86dc31d778 feat: remove special case grouping 2020-09-15 10:10:05 +05:00
thecodrr
043cbe34a8 feat: migrate topic ids to proper random ids 2020-09-14 16:09:01 +05:00
thecodrr
06707669dd feat: implement database backup 2020-09-13 13:24:24 +05:00
thecodrr
842e851ee3 feat: add unsubscribeAll method to EventManager 2020-09-09 11:45:42 +05:00
thecodrr
c565e7480c feat: publish event when deleting empty note 2020-09-09 11:33:47 +05:00
thecodrr
067bdb7320 fix: do not move empty note to trash 2020-09-09 11:14:35 +05:00
thecodrr
1785ce9571 fix: empty note is not automatically deleted 2020-09-09 11:09:03 +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
5cc70ef235 chore: update quill-delta-to-markdown package 2020-09-07 09:43:29 +05:00
thecodrr
bb3378f8ca feat: improve plain text generation 2020-08-31 14:14:21 +05:00
thecodrr
1dccbd4168 fix: only remove new lines if metadata value is string 2020-08-31 13:58:15 +05:00
thecodrr
0d9f9f8d1f fix: do JSON.stringify on all metadata values 2020-08-31 13:55:27 +05:00
thecodrr
267142474e fix: remove new lines from all metadata tags 2020-08-31 13:54:10 +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
e5683e000e fix: generate 24 bit random ids 2020-08-27 13:22:03 +05:00
thecodrr
5a0c85fd4d feat: use cryptographically secure item ids 2020-08-27 13:13:43 +05:00
thecodrr
ea51fa7aa0 feat: handle "not authorized" error by logging the user out 2020-08-25 09:08:55 +05:00
thecodrr
35995784d9 fix: merge conflict detection when merging via sse 2020-08-25 08:52:12 +05:00
thecodrr
10689d9ef9 feat: implement direct syncing using sse (experimental) 2020-08-24 13:07:16 +05:00
thecodrr
d7e3e1d1e7 fix: merge user properly on user sync 2020-08-24 13:05:41 +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
94e02adf67 fix: remove leading front slash from HOST 2020-08-24 11:27:21 +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
fcf2478d70 ci: fix merger test 2020-08-24 11:14:04 +05:00
thecodrr
1c81b8ae74 feat: add accept http header 2020-08-22 12:31:28 +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
8e9bf61ee2 fix: local HOST url 2020-08-06 10:01:09 +05:00
thecodrr
fe89982f62 feat: fix HOST url 2020-08-06 09:59:30 +05:00
thecodrr
f01a18f1d9 feat: remove internet check 2020-08-06 09:57:16 +05:00
thecodrr
fdd37df726 feat: conditional api host for debugging 2020-08-06 09:43:44 +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