Abdullah Atta
bde8dea048
global: update package lockfiles
2024-04-29 11:15:21 +05:00
Abdullah Atta
c4360ab95f
common: fix exports
2024-04-24 11:45:00 +05:00
Abdullah Atta
a4ac051af0
core: minor changes
2024-04-01 11:27:09 +05:00
Ammar Ahmed
cfa98578ea
mobile: note linking
2024-03-21 11:20:26 +05:00
Abdullah Atta
53490cc28b
core: refactor test setup & use better-sqlite-multiple-cipher
2024-03-21 11:18:13 +05:00
Abdullah Atta
27cf0a3c6b
core: improve backup importing
2024-03-21 11:18:08 +05:00
Abdullah Atta
9edf6d165d
core: add support for yearly reminders
2024-03-21 11:16:50 +05:00
Abdullah Atta
2ceb68ec87
core: implement new high perf indexed based grouping
2024-03-21 11:11:28 +05:00
Abdullah Atta
ae023bdf5b
web: implement virtualized search for all items
2024-03-21 11:08:13 +05:00
Abdullah Atta
9ac9e21645
core: changes according to client needs
2024-03-21 11:04:26 +05:00
Abdullah Atta
07d2a701c7
core: optimize bson objectid generation & add benchmarks
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
d51079fc88
core: convert everything else to typescript
2024-03-21 11:03:14 +05:00
Abdullah Atta
41ea254301
core: convert almost everything to typescript
2024-03-21 10:58:39 +05:00
Abdullah Atta
b80f366f8d
core: run patch-package after install
2024-03-06 13:00:34 +05:00
Abdullah Atta
287307a1ba
core: move to json protocol for signalr
2024-03-05 14:23:44 +05:00
Abdullah Atta
da36784e9c
core: fix content inside span not converting to markdown
2024-03-05 13:32:54 +05:00
Abdullah Atta
0879c3b4d6
core: fix formatting of single spaced paragarphs in markdown exports ( #4186 )
...
* core: update showdown library to support single spaced paragraphs
* core: add tests
* core: update showdown library
2024-01-27 18:59:35 +05:00
Abdullah Atta
a442677e91
editor: fix loading of images that have wrong mime type
2024-01-27 16:06:04 +05:00
Abdullah Atta
060fa25814
core: support underline when exporting as md ( fix #3990 )
2024-01-05 20:53:14 +05:00
Ammar Ahmed
96a8e885d3
Fix session expiry dialog not presented when user encryption key is not found ( #3625 )
...
* core: fix session expired dialog not shown when
user encryption key does not
exist
* core: add watch command
2023-10-24 15:58:26 +05:00
Abdullah Atta
9ab7e722e0
core: port fixes for sync issues from typescript branch
2023-09-13 10:23:44 +05:00
Abdullah Atta
7f7c1e6b93
core: use linkedom and node-fetch for tests
2023-09-06 09:40:24 +05:00
Abdullah Atta
8447c2150b
core: improve sync fetch performance
2023-09-04 13:16:22 +05:00
Abdullah Atta
d384aa9dcf
core: use isolated storage for each test for more reliability
2023-08-14 09:54:57 +05:00
Abdullah Atta
7f1184736c
core: use isomorphic-fetch
2023-08-14 09:54:57 +05:00
Abdullah Atta
e4c8e7a0c5
core: download prismjs languages before tests
2023-08-14 09:54:57 +05:00
Abdullah Atta
44e4722de2
global: fix @notesnook/core direct paths
2023-08-14 09:54:57 +05:00
Abdullah Atta
7c2b0c5947
core: start migrating core to typescript & vitest
2023-08-14 09:54:57 +05:00
Abdullah Atta
4bab279345
global: fix conflicting package versions across subprojects
2023-08-01 20:39:16 +05:00
Abdullah Atta
387aeab319
core: bump version to 7.4.1
2023-08-01 09:33:28 +05:00
Muhammad Ali
75e62a3fac
core: pre-render math & code blocks before HTML export
2023-07-25 08:09:27 +05:00
Abdullah Atta
72a25dcf34
global: get rid of lerna
2023-07-06 11:14:04 +05:00
Abdullah Atta
3ff34a5c82
core: use official html-to-text lib instead of fork
2023-04-17 18:09:29 +05:00
ammarahm-ed
1fdede5518
core: add getFileNameWithExtension utility
2023-03-21 09:59:45 +05:00
Abdullah Atta
fb8e3a2364
core: update showdown to 3.0.1.alpha.2
2023-02-09 13:24:18 +05:00
Abdullah Atta
22871d8baf
core: use the new login flow in all tests
2023-01-06 17:44:07 +05:00
Abdullah Atta
07ebbf622d
core: add mockdate package
2023-01-05 22:01:01 +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
8f5ebe315e
core: use client given compression module
2022-11-11 17:01:01 +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
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
e25d4a3039
global: update qclone to 1.2.0
2022-10-19 12:10:31 +05:00
Abdullah Atta
d42f617d0f
core: fix md export for notes with codeblocks
2022-10-18 17:31:31 +05:00
Abdullah Atta
e1fc116994
core: improve content conflict detection using proper HTML diffing ( #1183 )
...
Since HTML is a tree-like language it is futile to compare it character
for character. `html1 === html2` is almost always false. This commit
introduces a simple diffing algorithm that only checks the text inside
the html + a few other attributes to decide whether the 2 HTMLs are
actually different or not. This is obviously not foolproof and it will
ignore everything aesthetic (b, em, strong tags etc.). This is actually
desireable because in our case only the text difference should
warrant a conflict. Everything else can easily be brought back.
Similarly, this also ignores whitespace differences surrouding the
tags.
All in all it'll provide a more reliable alternative to MD5 hashing the
2 HTMLs.
2022-10-13 19:22:32 +05:00
Abdullah Atta
b3ea6523ae
global: set license prop of all package.json files to GPL-3.0-or-later
2022-09-26 15:30:16 +05:00
Abdullah Atta
8fa4e2184f
config: streamline running core tests
...
by default running `npm run test:core` will only run unit tests.
E2E tests require setting up credentials in the .env file.
Until we figure out a way to streamline this whole process,
this is how the tests will be run.
2022-08-31 20:03:58 +05:00
Abdullah Atta
f6b6a0af06
refactor: rename core, theme, and logger
2022-08-29 23:30:48 +05:00