thecodrr
4135028137
feat: improve sync over websockets
2022-03-30 15:52:48 +05:00
thecodrr
936fe4943e
fix: fallback to error for errorMessage
2022-03-24 23:17:04 +05:00
thecodrr
799116efe4
fix: cleanup mfa endpoints
2022-03-21 10:23:35 +05:00
thecodrr
c3576520ec
fix: invalid_grant errors are overriden
2022-03-17 22:56:10 +05:00
Abdullah Atta
c350da9fda
feat: add mfa support ( #23 )
2022-03-11 22:49:24 +05:00
thecodrr
0a75048f68
fix: decode html5 escape codes
2022-01-20 00:18:35 +05:00
thecodrr
2e50130c16
feat: better errors when server fails
2022-01-18 12:00:57 +05:00
thecodrr
a130db41a4
fix: try to refresh token before logging out on 401 unauthorized
2022-01-07 13:58:06 +05:00
thecodrr
4bdf5a3152
revert: do not logout on 401 unauthorized
2022-01-05 18:19:02 +05:00
thecodrr
2021fe56d5
fix: force logout user on 401 unauthorized error
2022-01-03 13:26:57 +05:00
thecodrr
c089ccbe19
feat: refresh token on 401 unauthorized error
2021-12-31 09:04:13 +05:00
thecodrr
4a6e3cf774
fix: disable fetch timeout
2021-12-30 12:12:43 +05:00
thecodrr
addde688f7
feat: timeout all requests after 20 seconds
2021-12-25 12:27:23 +05:00
thecodrr
4204d8784d
test: rewrite notehistory tests for improved correctness
2021-12-22 12:07:07 +05:00
thecodrr
5337dd482c
refactor: extendable formatDate function
2021-12-22 10:07:23 +05:00
thecodrr
5bbff5b88d
fix: decompressSync not defined
2021-12-22 09:54:34 +05:00
thecodrr
42d6cfab95
fix: change date style to (MMM DD, YYYY, HH:mm AM/PM)
2021-12-21 14:32:14 +05:00
thecodrr
eef5e96257
fix: do not use default import for fflate
2021-12-21 14:31:11 +05:00
Abdullah Atta
630bb33b10
feat: add note version history ( #20 )
...
* feat: note version history
* fix bugs
* add tests for session history
* update tests
* add tests for restoring content
* add more tests
* update jsdoc
* return empty array if no session history present for a note
* init note history with await
* add note history versions limit
* cleanup note history after adding a new session
* fix tests
* add test for session cleanup
* test: add collector tests
* feat: dateEdited -> dateModified
* feat: migrate to liqe for searching
* chore: forceExit jest after test run
* feat: note version history
* fix bugs
* add tests for session history
* update tests
* add tests for restoring content
* add more tests
* update jsdoc
* return empty array if no session history present for a note
* init note history with await
* add note history versions limit
* cleanup note history after adding a new session
* fix tests
* add test for session cleanup
* init ContentHistory with await
* fix reference to db in init
* make sessionId in db
* check if note is locked through note metadata
* make cleanup method private
* use remove methods in notehistory and contenthistory
* restore note content via notes.add method if note is not locked
* move getting all items to seperate functions
* check if parsed json is valid
* deserialize a session only if it's sessionContent exists
* add locked property to sessionContent
* remove makeSessionId function
* update tests
* remove yarn.lock file
* update tests
Co-authored-by: ammarahm-ed <ammarahmed6506@gmail.com >
2021-12-21 13:41:08 +05:00
thecodrr
3309b3d643
feat: simplify note title & headline extraction
2021-12-16 10:10:00 +05:00
thecodrr
7d4edab92b
fix: HTMLParser.createElement is not a function
2021-12-09 00:36:16 +05:00
thecodrr
fda5e0c84b
fix: do not automatically delete empty notes
2021-12-08 19:32:58 +05:00
thecodrr
f488143f83
fix: do not set custom error for invalid_grant
2021-12-06 12:47:45 +05:00
thecodrr
6d36c86f0d
fix: show proper error for invalid_grant
2021-12-04 10:20:08 +05:00
ammarahm-ed
4d6d36c9b8
fix items sequence in 'abc' grouping
2021-12-01 11:16:12 +05:00
thecodrr
92a8239899
feat: migrate to node-html-parser
2021-11-25 09:46:45 +05:00
thecodrr
5d198e9ea3
feat: add issue reporting api endpoint
2021-11-24 11:40:33 +05:00
thecodrr
e0bdfeab58
fix: show proper error for invalid_grant
2021-11-20 20:45:55 +05:00
thecodrr
9ccb0fee12
fix: attach alias with tag for sorting/grouping
2021-11-18 11:01:12 +05:00
thecodrr
55a538f279
fix: crash when title is empty & groupBy = abc
2021-11-03 13:33:47 +05:00
thecodrr
148b88f10d
fix: make sure all setmanipulator tests pass
2021-10-30 13:48:36 +05:00
thecodrr
a2bab0940d
fix: tag/color aliases not syncing
2021-10-29 14:05:11 +05:00
thecodrr
7346dd516a
fix: cannot read property length of undefined
2021-10-26 09:35:56 +05:00
thecodrr
9e9386f970
fix: do not request access token eagerly
2021-10-26 09:13:18 +05:00
thecodrr
b6a5591966
Merge branch 'master' into attachments
2021-10-04 11:56:52 +05:00
thecodrr
6b619e5d3d
feat: add upload/download cancellation support
2021-09-29 09:53:50 +05:00
thecodrr
7d16b8f388
feat: refactors and add support for upload/download progress
2021-09-26 11:47:13 +05:00
thecodrr
c0c3a1f14d
fix: do not use named regex groups
2021-09-21 13:36:19 +05:00
thecodrr
8ebda5b4fa
fix: sse not connecting on user fetch or login
2021-09-15 12:47:22 +05:00
thecodrr
6033cf8740
inital work
2021-09-15 02:16:55 +05:00
thecodrr
a500247b3c
fix: reconnect SSE on token refresh
2021-08-31 12:11:46 +05:00
thecodrr
41bc72ec96
fix: publishWithResult not working
2021-08-17 13:26:35 +05:00
thecodrr
918b50116d
fix: invalid_grant when refreshing tokens concurrently
2021-08-08 12:20:07 +05:00
thecodrr
de3e821c1f
feat: add offers api to get platform specific promo codes
2021-07-24 11:13:41 +05:00
thecodrr
c6ad645b79
feat: use dayjs for all date/time related logic
2021-07-16 18:46:16 +05:00
thecodrr
16b2bb73a9
fix: compare first letter of title if sort by === title
2021-07-13 20:00:31 +05:00
thecodrr
36353a4b0c
fix: do not allow sort by title when groupBy === default
2021-07-13 20:00:10 +05:00
thecodrr
6300542c5f
feat: remove groupId and replace it with groupBy
2021-07-13 10:33:21 +05:00
thecodrr
5c59ca4f1c
feat: add default group options
2021-07-12 14:09:48 +05:00
thecodrr
285a5cae13
fix: minor bugs with grouping logic
2021-07-12 14:00:22 +05:00