Abdullah Atta
a25d21038a
core: fix Object is not iterable error on some platforms
...
This happened due to [Symbol.asyncIterable] not getting
transformed when it was a method of a class. Moving it inside
another method fixes the issue.
2025-02-03 12:17:57 +05:00
Abdullah Atta
6e8610c358
core: compute usesFallbackPWHash instead of storing it
...
this fixes the fallback logic for already logged in users
2024-12-24 10:10:56 +05:00
Abdullah Atta
8c7093189b
core: add support for sorting search results
...
search results are sorted by date created for now until
we add proper support for sorting search results
in the ui
2024-12-23 14:30:45 +05:00
Abdullah Atta
4b9a95ded7
core: add support for fallback hashing
...
on ios some users using passwords with multi byte characters
generates the wrong hash. This commit adds support for fallback
to allow those users to continue to login once the fix has been applied.
2024-12-21 14:15:56 +05:00
Abdullah Atta
af3fba5176
core: lazily use db in config & kv stores
2024-11-23 13:28:55 +05:00
Abdullah Atta
175c6cdba0
core: send db name with migration events
2024-11-19 17:01:24 +05:00
Abdullah Atta
a315473ea4
core: add migration start/finished events
2024-11-18 13:45:52 +05:00
Abdullah Atta
1f24fd4758
core: use better_trigram for improved content tokenization
2024-11-16 14:16:01 +05:00
Abdullah Atta
3f82a4ebd4
core: fix using wrong encryption key shows incorrect password error
2024-11-15 16:02:55 +05:00
Abdullah Atta
f0c5f6b949
core: lazy init compressor
2024-11-13 15:48:33 +05:00
Abdullah Atta
59739067b6
core: make imports compatible with esm
2024-09-23 15:32:12 +05:00
Abdullah Atta
020244231f
desktop: update electron to v30 ( #6498 )
2024-09-13 08:39:18 +05:00
Abdullah Atta
9ef07f22af
core: ignore diacritics when searching (requires rebuilding search index)
2024-09-12 12:54:16 +05:00
Abdullah Atta
11a5e8c180
core: delete all relations with fromId/toId set to null
2024-09-02 14:20:58 +05:00
Abdullah Atta
69cb24149d
core: fix progress when bulk downloading files
2024-08-13 11:09:03 +05:00
Abdullah Atta
fbcb8675ca
core: optimize attachment caching in offline mode
2024-08-13 11:09:03 +05:00
Ammar Ahmed
d12ed967e3
mobile: add support for offline mode, backup with attachments
2024-08-13 11:09:03 +05:00
Abdullah Atta
759fba06ae
web: add options to create backups with attachments
2024-08-13 11:09:03 +05:00
Abdullah Atta
341032c884
core: add support for including attachments in backups
2024-08-13 11:09:03 +05:00
Abdullah Atta
57ddaafc16
core: download all attachments when full offline mode is on
2024-08-13 11:09:03 +05:00
Abdullah Atta
ca0a4cb02c
core: add localStorage like ConfigStorage based on SQLite
2024-07-16 17:18:25 +05:00
Abdullah Atta
443d6625f9
core: add support for deleting logs for a specific date
2024-05-20 15:05:18 +05:00
Abdullah Atta
b6f95ff7cd
core: use sqlite for storing logs
2024-05-20 15:05:18 +05:00
Abdullah Atta
43f4669360
core: fix notes with no conflict marked as conflicted
2024-05-17 12:29:58 +05:00
Abdullah Atta
fe1ea6dc27
core: do not update dateModified when updating content internally
2024-05-14 15:21:00 +05:00
Abdullah Atta
cf1b774255
core: filter out conflicted notes & content during sync
2024-05-14 15:21:00 +05:00
Abdullah Atta
198fa33fc0
core: do not update dateModified when setting synced=true
2024-05-14 15:21:00 +05:00
Abdullah Atta
5ab721e3e2
core: fix async iterator on sql collection only returning dateCreated & id
2024-05-10 10:22:03 +05:00
Abdullah Atta
080101bc45
core: fix database disk image malformed error ( #5525 )
2024-05-09 10:08:44 +05:00
Abdullah Atta
4819e17da3
core: rerun sync if there are unsynced changes after sync complete
2024-05-08 16:48:59 +05:00
Abdullah Atta
68d06ff3f8
core: fix legacy backup restoration
2024-05-07 15:57:22 +05:00
Abdullah Atta
79f20d100c
core: fix File already exists error on duplicate downloads
2024-05-07 12:57:51 +05:00
Abdullah Atta
ac96354b4c
core: handle case when updating item while a push is ongoing
2024-05-06 22:04:04 +05:00
Abdullah Atta
c9a8134265
core: fix notes & notebooks sorting
2024-05-05 00:00:49 +05:00
Abdullah Atta
6f0fe03760
core: do not throw if user not found during legacy backup
2024-05-04 23:28:37 +05:00
Muhammad Ali
159ce97e42
core: fix crash due to unsanitized sort options ( #5324 )
...
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co >
2024-05-04 23:26:58 +05:00
Abdullah Atta
0f5ce465c3
web: add logging related to attachments
2024-05-04 22:51:01 +05:00
Abdullah Atta
5dbabc2706
core: fix database disk image is malformed error on updating deleted content
2024-04-30 21:51:17 +05:00
Abdullah Atta
f21533e5e4
core: fix sql collection only getting first batch on iteration
2024-04-30 21:50:00 +05:00
Abdullah Atta
811f2305ec
core: disable transactions for now
2024-04-22 12:23:43 +05:00
Abdullah Atta
0e4cd087d4
core: add tests for virtualized grouping
2024-04-20 16:42:11 +05:00
Abdullah Atta
271913ba20
core: fix migrate to sqlite progress reporting
2024-04-18 12:53:16 +05:00
Abdullah Atta
c9e5ee9ddb
core: use database logger instead of console.error
2024-04-18 09:37:21 +05:00
Abdullah Atta
d0372b82db
core: add content noteId to sqlite index
2024-04-17 16:14:00 +05:00
Abdullah Atta
fbb3a56c0c
core: fix too many SQL variables error on trash cleanup
2024-04-15 22:01:32 +05:00
Abdullah Atta
c35dd826dc
core: fix too many SQL variables error on bulk deletion
2024-04-09 13:17:12 +05:00
Abdullah Atta
a15978bf6a
core: separate db setup & init
2024-03-29 15:38:36 +05:00
Abdullah Atta
9f4647be47
core: add support for dropping triggers
2024-03-29 15:37:59 +05:00
Abdullah Atta
ec00779062
core: only create triggers if they do not exist
2024-03-28 09:50:37 +05:00
Abdullah Atta
165ba064a9
core: add support for skipping database initialization
2024-03-28 09:50:37 +05:00