Commit Graph

273 Commits

Author SHA1 Message Date
Ammar Ahmed
a68f74bc1b core: fix locking notes with empty content (#6545)
* core: fix locking notes with empty content

* core: lock note and return if rawContent already locked

* core: update comment

* core: allow locking an empty note

* core: updates

* core: updates

---------

Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
2024-09-13 12:18:55 +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
2293866c61 core: fix note title can be set to empty 2024-09-10 09:27:38 +05:00
Abdullah Atta
84d68ca67b core: add more tests 2024-08-27 16:04:51 +05:00
Abdullah Atta
846aae312e core: fix backup tests 2024-08-13 11:09:03 +05:00
Abdullah Atta
bd0a338dd6 core: fix dateEdited not updating on saving locked content 2024-05-10 10:46:11 +05:00
Abdullah Atta
080101bc45 core: fix database disk image malformed error (#5525) 2024-05-09 10:08:44 +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
4a9f5b1d8b core: remove .only from trash tests 2024-05-01 15:19:57 +05:00
Abdullah Atta
a46409ff44 core: add more fts trigger tests 2024-04-30 21:51:17 +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
Muhammad Ali
a5eb5e9df3 core: fix incorrect upcoming time in weekly/monthly reminders (#4464) 2024-04-25 16:22:34 +05:00
Abdullah Atta
0e4cd087d4 core: add tests for virtualized grouping 2024-04-20 16:42:11 +05:00
Abdullah Atta
e007f2592c core: add extensive grouping/sorting tests 2024-03-26 07:55:23 +05:00
Abdullah Atta
9ad9c0c633 core: fix duplicate tags created during migration 2024-03-22 10:16:00 +05:00
Abdullah Atta
67fa1d6bb4 core: sort & group reminders in sqlite 2024-03-21 11:21:06 +05:00
Abdullah Atta
85342e5f74 core: fix table x has no column y errors 2024-03-21 11:21:05 +05:00
Abdullah Atta
2713f26f90 core: fix migration errors & compact deleted items 2024-03-21 11:19:32 +05:00
Abdullah Atta
b4542a532b core: always delete vault references on vault deletion 2024-03-21 11:19:03 +05:00
Abdullah Atta
3ff6b5afd1 core: fix database image is malformed error when deleting vault 2024-03-21 11:19:03 +05:00
Abdullah Atta
cd55f443d9 core: add more lookup tests 2024-03-21 11:18:13 +05:00
Abdullah Atta
974221d938 core: allow testing with persisted database 2024-03-21 11:18:13 +05:00
Abdullah Atta
53490cc28b core: refactor test setup & use better-sqlite-multiple-cipher 2024-03-21 11:18:13 +05:00
Abdullah Atta
d3a32421ee core: migrate deleted items as well 2024-03-21 11:18:10 +05:00
Abdullah Atta
ca05865021 core: fix adding note to vault should return its id 2024-03-21 11:18:09 +05:00
Abdullah Atta
60e1da412c core: enable sync during tests 2024-03-21 11:18:08 +05:00
Abdullah Atta
27cf0a3c6b core: improve backup importing 2024-03-21 11:18:08 +05:00
Abdullah Atta
28470d60c6 core: migrate key value storage to sqlite 2024-03-21 11:15:56 +05:00
Abdullah Atta
b086e652c3 core: fix moving nested notebooks to trash 2024-03-21 11:15:55 +05:00
Abdullah Atta
dc3caa16d0 core: migrate vault to a database collection 2024-03-21 11:15:31 +05:00
Abdullah Atta
500388a634 core: fix sync & monographs tests 2024-03-21 11:14:54 +05:00
Abdullah Atta
fd7b33fe30 core: make all the core tests pass again 2024-03-21 11:14:54 +05:00
Abdullah Atta
2ceb68ec87 core: implement new high perf indexed based grouping 2024-03-21 11:11:28 +05:00
Abdullah Atta
9ac9e21645 core: changes according to client needs 2024-03-21 11:04:26 +05:00
Abdullah Atta
44846cc7b5 core: fix database migration 2024-03-21 11:04:26 +05:00
Abdullah Atta
96e36a6f73 core: add support for incremental grouping 2024-03-21 11:04:26 +05:00
Abdullah Atta
21b3866df4 core: migrate everything to sqlite 2024-03-21 11:04:25 +05:00
Abdullah Atta
a91717aca3 core: migrate all database writes to sqlite 2024-03-21 11:04:11 +05:00
Abdullah Atta
9d6733deff core: make migration tests less flaky 2024-03-21 11:03:14 +05:00
Abdullah Atta
86652230bc core: add tests for migrations 2024-03-21 11:03:14 +05:00
Abdullah Atta
588e37aa20 core: migrate settings to its own collection 2024-03-21 11:03:14 +05:00
Abdullah Atta
79b75c5ba7 core: get rid of topics; move to sub notebooks 2024-03-21 11:03:14 +05:00
Abdullah Atta
cc60558839 core: migrate attachments to use relations for linking to notes 2024-03-21 11:03:13 +05:00
Abdullah Atta
c7a6cd8964 core: minor updates and fixes 2024-03-21 11:02:47 +05:00
Abdullah Atta
5b537ab470 core: fix types & syncing issues 2024-03-21 11:02:47 +05:00
Abdullah Atta
41ea254301 core: convert almost everything to typescript 2024-03-21 10:58:39 +05:00
Muhammad Ali
abc3b5569c core: fix upcoming reminder time calculation (#3341)
* core: added missing equality sign

* core: added test
2023-09-21 14:04:20 +05:00
Abdullah Atta
c5352c2a73 core: add support for restoring new nnbackupz format 2023-09-13 10:23:44 +05:00
Abdullah Atta
e1cfbb155d core: fix Cannot read properties of null (reading 'clear') 2023-09-13 10:23:44 +05:00