Abdullah Atta
87ba9ae027
core: fix exists is readonly error
2023-01-05 22:01:01 +05:00
Abdullah Atta
8c8be28363
core: fix shortcut is not defined
2023-01-05 22:01:01 +05:00
ammarahm-ed
26ec8551f9
mobile: add disable/snooze function
2023-01-05 22:01:01 +05:00
Abdullah Atta
07ebbf622d
core: add mockdate package
2023-01-05 22:01:01 +05:00
Abdullah Atta
de9566dc75
web: add reminders view
2023-01-05 22:01:01 +05:00
Abdullah Atta
febf742ea2
core: show correct upcoming/past tag for reminders on today
2023-01-05 22:01:01 +05:00
Abdullah Atta
b7ebbfda1d
core: impl reminder time formatting
2023-01-05 22:01:01 +05:00
ammarahm-ed
7ac8b478ed
core: make resolve function sync
2023-01-05 22:01:01 +05:00
ammarahm-ed
0398e99cdf
core: fix note relations not returned
2023-01-05 22:01:01 +05:00
ammarahm-ed
225a671cab
core: fix empty array returned from relation query
2023-01-05 22:01:01 +05:00
ammarahm-ed
99ac6ec58f
core: add localOnly property to reminders
2023-01-05 22:01:01 +05:00
Abdullah Atta
38a34857db
core: generate deterministic ids for relations to avoid duplicates
2023-01-05 22:01:01 +05:00
ammarahm-ed
0dec8b5af4
core: add reminders to GroupKeys
2023-01-05 22:01:01 +05:00
ammarahm-ed
946fd3fc1d
core: add reminders lookup
2023-01-05 22:01:01 +05:00
Abdullah Atta
baa06ebd6e
core: add collection to hold all item<->item references
2023-01-05 22:01:01 +05:00
Abdullah Atta
a8f1fbf6a1
core: add collection for reminders
2023-01-05 22:01:01 +05:00
Abdullah Atta
088235a46d
web: add support for disabling sync & auto sync
2023-01-03 21:46:11 +05:00
Abdullah Atta
003178ba20
web: fix all tests
2022-12-05 16:52:44 +05:00
Abdullah Atta
c5faf62398
web: lazily load web clips just like images
2022-12-05 15:20:54 +05:00
Abdullah Atta
2fdbc9cb1d
web: connect with web clipper & save web clips
2022-12-05 15:20:54 +05:00
Abdullah Atta
3037cf8cfb
web: read & load web clip from attachments
2022-12-05 15:17:38 +05:00
Ammar Ahmed
5445ee0335
core: handle crash when sorting if item doesn't have a title ( #1447 )
2022-12-05 10:54:55 +05:00
Abdullah Atta
f1a2afd9d6
core: do not sync vault key alone
...
this caused a sync loop because vault key is always synced regardless of
whether it has changed or not.
2022-12-02 11:24:56 +05:00
Abdullah Atta
1f61742786
core: fix cannot read properties of undefined (reading '_note')
2022-11-24 16:12:57 +05:00
Abdullah Atta
222fc00bd7
core: update export templates
2022-11-23 16:22:04 +05:00
Abdullah Atta
5e6caa7273
core: use upstream htmlparser2 instead of in-house
...
This is mostly because I am not 100% certain about how stable our own
optimized version is. While it does perform a lot better, there is
significant risk that things might break in production. To avoid
that, I am replacing it with the upstream version which is much more
heavily tested.
2022-11-23 14:58:34 +05:00
Abdullah Atta
b1f5ffc2ec
core: add dateModified comparator
2022-11-23 12:33:35 +05:00
Abdullah Atta
8af8b69cbf
web: add streaming support for importing huge zips
2022-11-23 12:19:32 +05:00
Abdullah Atta
0c0dff3b28
core: fix "Cannot send data if connection is not in "Connected" state"
2022-11-23 12:19:12 +05:00
Abdullah Atta
3ab6c4646c
core: use mutex to establish only 1 connection at a time
2022-11-23 12:19:12 +05:00
Muhammad Ali
82b584b3d1
core: include tags in exported note ( #1345 )
...
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2022-11-23 09:19:07 +05:00
Muhammad Ali
a70961b662
core: respect numbers when sorting items ( #1337 )
...
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
2022-11-17 19:38:05 +05:00
Abdullah Atta
d372c2daf9
core: fix do not eagerly parse HTML
2022-11-11 18:42:23 +05:00
Abdullah Atta
8f5ebe315e
core: use client given compression module
2022-11-11 17:01:01 +05:00
Abdullah Atta
1823a4f4ba
core: fix convert is not defined error
2022-11-11 16:57:05 +05:00
Abdullah Atta
fa6e88a0b0
Merge branch 'master' into new-html-parser
2022-11-10 17:02:32 +05:00
Abdullah Atta
eacbbe2ad8
core: use html-to-text library for better text conversion
2022-11-10 17:00:11 +05:00
alihamuh
4c6c42c794
web: impl preview for trashed notes
...
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
web: done suggested changes
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
Update apps/web/src/stores/editor-store.js
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
Update apps/web/src/stores/editor-store.js
Signed-off-by: Abdullah Atta <thecodrr@protonmail.com >
2022-11-10 15:44:50 +05:00
Abdullah Atta
205373dca3
core: use htmlparser2 for html rewriting
...
This replaces DOMParser with htmlparser2 which is much, much faster.
How much faster? 80%. This new implementation can parse at 50mb/s
which is insane! The old one could only do 5-10mb/s
We still haven't gotten rid of the DOMParser though since HTML-to-MD
conversion still needs it. This will be done soon though by using `dr-sax`.
This uses a custom implementation of htmlparser2 instead of the default
one which is 50% faster.
2022-11-10 15:16:13 +05:00
Abdullah Atta
349cd27650
core: refactor collector to do everything in 1 step
...
This will speed up the sync slightly since we aren't iterating over all
items twice. It also simplifies the code a bit.
2022-11-10 14:38:32 +05:00
Muhammad Ali
f62c045350
core: fix v5.8 backups not restoring due to changed item ids ( #1303 )
...
* core: back restore repaired due to version change
Signed-off-by: Muhammad Ali <alihamuh@gmail.com >
2022-11-09 12:26:33 +05:00
Abdullah Atta
62b93fa5b3
core: fix Cannot read property 'hash' of undefined
2022-10-26 15:16:25 +05:00
Abdullah Atta
082b9755db
core: re-insert only migrated items
...
Previously, we were re-inserting all items regardless of whether they
were changed or not. This raised a lot of issues, not to mention
unnecessary load on our servers because after each migration
all the data is re-synced. Since migration takes place independently on
each device, this multiplies exponentially.
Hopefully after this update, this will only happen much more granually.
2022-10-26 10:52:33 +05:00
Abdullah Atta
f4f33fc852
core: fix null is not an object error
...
This fixes #1231#1230 #1235 #1224
2022-10-26 08:51:37 +05:00
Abdullah Atta
7b458a56b2
core: revert "make sync hub connection more reliable"
2022-10-26 08:51:18 +05:00
Abdullah Atta
e25d4a3039
global: update qclone to 1.2.0
2022-10-19 12:10:31 +05:00
Abdullah Atta
b63ba7c842
core: install @streetwriters/showdown from npm
2022-10-19 11:39:07 +05:00
Abdullah Atta
1d6f7b3e3e
global: remove all .npmrc files
2022-10-19 11:29:39 +05:00
Abdullah Atta
d42f617d0f
core: fix md export for notes with codeblocks
2022-10-18 17:31:31 +05:00
ammarahm-ed
eb0bc2bcfc
mobile: fix exporter errors
2022-10-18 16:45:03 +05:00