3329 Commits

Author SHA1 Message Date
Panagiotis Papadopoulos
3c8723a404 feat(config): add Cookies.cookiePath option to config
defaults to "/" as previously set by default options
2025-02-10 08:33:31 +01:00
Elian Doran
48d4093274
Merge pull request #1143 from TriliumNext/fix_ts-file-mime-import
fix(import/mime): fix ts file mime import handling
2025-02-09 23:07:49 +02:00
Panagiotis Papadopoulos
2d1381b4f8 fix(import/mime): fix TypeScript handling
.ts file are now treated as code type with text/x-typescript as MIME type

fixes #1142
2025-02-09 17:45:15 +01:00
Panagiotis Papadopoulos
5d019137fa test: add test for .ts file 2025-02-09 17:43:25 +01:00
Elian Doran
27397be7f4
feat(export/md): update to latest turndown version (fixes #337) 2025-02-08 22:59:28 +02:00
Elian Doran
6fcd14c23e
feat(mobile): add calendar button (fixes #1128) 2025-02-08 11:42:25 +02:00
Elian Doran
a2995ef267
feat(mobile): add open today's journal note (closes #1129). 2025-02-08 10:46:06 +02:00
Elian Doran
f8f1e537db
feat(mobile): add new note launcher bar (fixes #1105) 2025-02-08 10:43:18 +02:00
Elian Doran
96dc063b50
refactor(hidden-subtree): deduplicate launchers 2025-02-08 10:37:17 +02:00
Elian Doran
7b36040b26
refactor(hidden_subtree): launch bar config in dedicated file 2025-02-08 10:05:31 +02:00
Elian Doran
45ab9d4395
fix(electron): auto-reload for static assets 2025-02-08 01:41:48 +02:00
Elian Doran
7f314d2d75
feat(build): set up webpack cache 2025-02-08 00:41:39 +02:00
Elian Doran
cecd7eccad
Merge remote-tracking branch 'origin/develop' into feature/in_app_help 2025-02-07 22:28:01 +02:00
Elian Doran
d3b55932a6
fix(build): errors after refactoring 2025-02-07 20:27:22 +02:00
Elian Doran
acb858bc29
chore(test): simplify import of becca_mocking 2025-02-06 20:55:46 +02:00
Elian Doran
a767ee3d2c
fix(server): sorting notes by custom attribute with missing value not idempotent 2025-02-06 20:41:35 +02:00
Elian Doran
7fa0ad336e
Merge remote-tracking branch 'origin/develop' into feature/in_app_help 2025-02-05 19:56:03 +02:00
Elian Doran
892734bce3
Merge develop into test_server-utils 2025-02-04 21:28:44 +02:00
Elian Doran
ce45309818
feat(deps): remove dependency on semver 2025-02-04 21:15:47 +02:00
Elian Doran
766473c291
fix(search): empty mindmap note breaking search (closes #1107) 2025-02-03 18:59:56 +02:00
Elian Doran
aca0588b26
feat(in-app-help): disable adding child notes 2025-02-02 18:13:47 +02:00
Elian Doran
45ddafba6d
fix(in-app-help): proper note hoisting 2025-02-02 17:54:14 +02:00
Elian Doran
e24013adf5
feat(in-app-help): integrate into existing help command 2025-02-02 17:49:26 +02:00
Elian Doran
122c1ad1ec
feat(in-app-help): render folders as book 2025-02-02 17:34:52 +02:00
Elian Doran
02708d593f
feat(in-app-help): add default icon for notes 2025-02-02 17:03:27 +02:00
Elian Doran
6215a21bae
feat(in-app-help): add dedicated icon for folders 2025-02-02 17:02:10 +02:00
Elian Doran
62dc11f9b8
feat(in-app-help): add icons for text notes 2025-02-02 16:54:09 +02:00
Elian Doran
7c34a6178a
feat(in-app-help): render documentation 2025-02-02 15:34:44 +02:00
Elian Doran
61ee15cc01
feat(in-app-help): update docName attribute if it got changed 2025-02-02 15:32:28 +02:00
Elian Doran
94d53727d1
feat(in-app-help): support child nesting 2025-02-02 14:31:07 +02:00
Elian Doran
f1d641ac32
feat(in-app-help): create notes at root level 2025-02-02 14:20:02 +02:00
Elian Doran
acbd936654
chore(types): add type for note meta file 2025-02-02 13:55:15 +02:00
Elian Doran
5afddb4ecc
feat(inapp-help): add hidden item for user guide 2025-02-02 13:30:22 +02:00
Adorian Doran
ca496e1d12 desktop app/export pdf: enable background colors 2025-02-01 19:16:47 +02:00
Elian Doran
fa655ea45e
feat(pdf): describe the attributes & fix conflict in name 2025-02-01 17:34:42 +02:00
Elian Doran
f41138800f
feat(pdf): allow changing page size via attribute 2025-02-01 17:10:49 +02:00
Elian Doran
9a3a6f90ea
Add option to export 2025-02-01 16:59:23 +02:00
Adorian Doran
9c4535bade desktop app(export pdf): enable document outline and PDF tags generation 2025-02-01 16:31:25 +02:00
Adorian Doran
6d6272e5b6 desktop app(export pdf): refactor 2025-02-01 16:14:49 +02:00
Panagiotis Papadopoulos
e710409134 test(server/utils): remove completed TODO 2025-02-01 15:10:31 +01:00
Panagiotis Papadopoulos
08c32da0d2 test(server/utils): fix warnings and explicitly await timeLimit tests 2025-02-01 15:06:07 +01:00
Panagiotis Papadopoulos
13e72c5e0a test(server/utils): add basic test for toObject 2025-02-01 15:00:47 +01:00
Panagiotis Papadopoulos
5c904f100a test(server/utils): add prettier ignore statement to avoid newlines getting mangled 2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
4917296d96 test(server/utils): add basic test for deferred
this needs to be expanded, but I don't fully understand
what the exact purpose is of this deferred fn
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
e1795a0ad1 test(server/utils): add tests for toMap 2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
ab0c84a57e refactor(server/utils): use a "real" Map for toMap 2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
f0ba056bb7 test(server/utils): add tests for escapeHtml & unescapeHtml 2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
d71e127828 refactor(server/utils): re-export escape/unescape instead of wrapping them in function
-> since the functions did not do *anything* other than calling the escape/unescape module -> let's just re-export them directly
2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
72f0de6b78 test(server/utils): add todo remarks 2025-02-01 14:37:12 +01:00
Panagiotis Papadopoulos
9f2dd21865 test(server/utils): add tests for randomSecureToken
(bit ugly I have to say, as we are essentially partially testing "crypto" module here,
probably should be instead replaced by a version that mocks crypto module and checks, if the called functions match the expectations)
2025-02-01 14:37:12 +01:00