Compare commits

...

4832 Commits

Author SHA1 Message Date
Elian Doran 6db9918702
Update README.md 2025-06-24 23:24:23 +07:00
Elian Doran f234e3543d
Update README.md 2025-06-22 10:43:15 +07:00
Elian Doran f529cfd928
chore(i18n): update Spanish translation (#2371) 2025-06-21 23:18:28 +07:00
hasecilu 26d0ba04ab
chore(i18n): update Spanish translation 2025-06-21 11:19:57 +07:00
hasecilu f85ef444f4
fix(script): paths on translation script 2025-06-21 11:19:55 +07:00
Elian Doran f97bd77117
Update README.md 2025-06-21 17:11:25 +07:00
Elian Doran 962066fd60
chore(scripts): add script used to port issues 2025-06-21 16:38:22 +07:00
Elian Doran ff917e93c9
e2e(desktop): fix process leak 2025-06-21 14:28:57 +07:00
Elian Doran a7091779b7
e2e(desktop): create empty project 2025-06-21 14:23:47 +07:00
Elian Doran 520b862551
Revert "feat(ci): experiment with building Windows on same runner"
This reverts commit ce305f0f45.
2025-06-21 14:18:41 +07:00
Elian Doran 5fbd34c7c1
Revert "chore(forge): add an arbitrary wait to see if it solves some CI errors"
This reverts commit 4f6729857b.
2025-06-21 14:18:36 +07:00
Elian Doran c827b20e26
Revert "chore(forge): add a pre-make wait as well"
This reverts commit a150047432.
2025-06-21 14:18:31 +07:00
Elian Doran a150047432
chore(forge): add a pre-make wait as well 2025-06-21 13:40:47 +07:00
Elian Doran 4f6729857b
chore(forge): add an arbitrary wait to see if it solves some CI errors 2025-06-21 13:19:35 +07:00
Elian Doran ce305f0f45
feat(ci): experiment with building Windows on same runner 2025-06-21 10:57:45 +07:00
Elian Doran 3a50ffede1
refactor(forge): add types to config 2025-06-21 10:46:12 +07:00
Elian Doran 41e88614d7
docs(guide): improve and update supported syntax for Markdown import 2025-06-21 09:49:26 +07:00
Elian Doran 002c567ae9
feat(ci): display trace if playwright fails in docker 2025-06-21 09:26:05 +07:00
Elian Doran a9c07af402
fix(client): failing with duplicate modules 2025-06-21 09:00:07 +07:00
Elian Doran 3048c39877
Revert "chore(env): remove 4GB override"
This reverts commit 3280123414.
2025-06-21 01:20:41 +07:00
Elian Doran a95dc14d24
test(import/zip): test silverbullet import 2025-06-21 01:09:03 +07:00
Elian Doran 24c82fa7b6
fix(import/zip): regression in normal import 2025-06-20 22:13:36 +07:00
Elian Doran 02a0624e8f
feat(import/zip): support image with absolute path 2025-06-20 21:59:11 +07:00
Elian Doran e6e276a0cf
feat(import/markdown): support image via wikilink 2025-06-20 21:40:23 +07:00
Elian Doran 8d90231f76
fix(import/markdown): support wikilinks in other elements other than paragraphs 2025-06-20 21:00:39 +07:00
Elian Doran 4a40b22c9a
feat(import/zip): support root-relative paths 2025-06-20 20:56:25 +07:00
Elian Doran 79b3b92ec9
chore(client): skip dynamic imports in cyclic check 2025-06-20 18:32:32 +07:00
Elian Doran ae1a4fbbf6
fix(client): cyclic dependency server <-> ws 2025-06-20 18:32:20 +07:00
Elian Doran 3190aa6fe6
feat(import/markdown): start parsing wikilinks 2025-06-20 18:28:08 +07:00
Elian Doran 1c3cd9e7ca
chore(deps): update vitest monorepo to v3.2.4 (#2364) 2025-06-20 15:52:42 +07:00
Elian Doran c61713333d
Merge remote-tracking branch 'origin/develop' into renovate/vitest-monorepo 2025-06-20 15:35:27 +07:00
Elian Doran a861defbee
feat(server): lint for trailing slashes in sync URL and extra slashes… (#2345) 2025-06-20 10:55:46 +07:00
Elian Doran ea0b570910
chore(deps): update dependency @playwright/test to v1.53.1 (#2362) 2025-06-20 09:51:22 +07:00
renovate[bot] 8d46ab3806
chore(deps): update dependency @playwright/test to v1.53.1 2025-06-20 06:28:12 +07:00
Elian Doran 058b3f8241
chore(deps): update nx monorepo to v21.2.1 (#2363) 2025-06-20 08:27:22 +07:00
Elian Doran 57a688b6b6
fix(deps): update codemirror to v6.0.2 (#2365) 2025-06-20 08:26:16 +07:00
Elian Doran ad18d853e2
chore(deps): update dependency electron to v36.5.0 (#2366) 2025-06-20 08:25:12 +07:00
renovate[bot] 8f5be936a7
chore(deps): update dependency electron to v36.5.0 2025-06-20 02:47:20 +07:00
renovate[bot] f2c02f869e
fix(deps): update codemirror to v6.0.2 2025-06-20 02:46:24 +07:00
renovate[bot] cf28777119
chore(deps): update nx monorepo to v21.2.1 2025-06-20 02:43:32 +07:00
Elian Doran cca8504796
refactor(client): circular dep in utils 2025-06-19 22:44:02 +07:00
Elian Doran 09391a92e5
refactor(client): circular dep: toast <-> ws 2025-06-19 22:29:44 +07:00
Elian Doran 50db8ef9c3
refactor(client): circular dependency in fnote 2025-06-19 22:23:17 +07:00
Elian Doran 8ab21f3bab
chore(client): add tool to view circular deps 2025-06-19 22:03:01 +07:00
Elian Doran efdf79feaa
refactor(client): circular dependency causing test failure 2025-06-19 22:01:01 +07:00
Elian Doran 9418055b69
chore(test): fix imports 2025-06-19 21:30:42 +07:00
Elian Doran 5070633257
refactor(client): remove unnecessary files 2025-06-19 21:30:26 +07:00
Elian Doran 764917562e
chore(test): fix set up 2025-06-19 21:30:10 +07:00
Elian Doran 54290a1373
chore(tsconfig): remove src for forge config 2025-06-19 21:01:23 +07:00
Elian Doran 0325bee425
feat(ckeditor): fallback to GPL if license key fails 2025-06-19 19:38:10 +07:00
Elian Doran e280968271
feat(ckeditor): allow use of GPL license 2025-06-19 18:55:02 +07:00
Elian Doran b809137c93
refactor(text): move license key management to config 2025-06-19 18:47:41 +07:00
Elian Doran 248f6d6a7d
refactor(forge): switch to TypeScript 2025-06-19 15:45:39 +07:00
Elian Doran 0744a85421
feat(flake): handle StartupWMClass 2025-06-19 15:34:09 +07:00
Elian Doran e5a6f53f98
Revert "feat(flake); set up overlay"
This reverts commit 751de1d43c.
2025-06-19 12:55:04 +07:00
Elian Doran 751de1d43c
feat(flake); set up overlay 2025-06-19 12:49:26 +07:00
perf3ct 2704b1546b
feat(server): fix lint type errors for normalizing server URLs 2025-06-18 21:07:12 +07:00
perf3ct acd68817e9
feat(server): fix lint type errors for normalizing server URLs 2025-06-18 20:46:11 +07:00
Elian Doran 8b841c5aa7
feat(autocomplete): support specifying path when creating a new note (#2342) 2025-06-18 23:14:46 +07:00
Elian Doran a37af29c6c
fix(client): link to API documentation (#2356) 2025-06-18 23:10:00 +07:00
Elian Doran ade0d4bb1a
fix(website): update README.md instructions (#2357) 2025-06-18 23:08:56 +07:00
Arne Keller d79c491777
fix(website): update README.md instructions 2025-06-18 19:08:24 +07:00
FliegendeWurst f9cf542e66 fix(client): link to API documentation
Fixes https://github.com/TriliumNext/Notes/issues/1779
2025-06-18 17:58:29 +07:00
Elian Doran 609ed6274e
fix(code): respect user font selection 2025-06-18 17:42:03 +07:00
Elian Doran 7faaefee20
feat(help): display contextual button text snippets 2025-06-18 15:35:56 +07:00
Elian Doran 578310a1c0
test(ckeditor5): add check for translation override 2025-06-18 14:44:56 +07:00
Elian Doran 93f544a221
feat(text-snippets): rewrite CKEditor translations 2025-06-18 13:13:59 +07:00
Elian Doran 9c80ab22af
chore(client): use production ckeditor key for dev as well 2025-06-18 11:06:57 +07:00
Elian Doran 7decbc34c7
chore(deps): update dependency @types/node to v22.15.32 (#2347) 2025-06-18 11:02:07 +07:00
Elian Doran e606276f19
chore(deps): update typescript-eslint monorepo to v8.34.1 (#2348) 2025-06-18 11:01:42 +07:00
SiriusXT a78e4d7a58 chore(i18n): update path selection prompt 2025-06-18 14:28:43 +07:00
renovate[bot] 426c9a377a
chore(deps): update typescript-eslint monorepo to v8.34.1 2025-06-18 06:16:35 +07:00
renovate[bot] d2a3ae2a6f
chore(deps): update dependency @types/node to v22.15.32 2025-06-18 06:15:35 +07:00
renovate[bot] fbd6b7d22b
chore(deps): update vitest monorepo to v3.2.4 2025-06-18 06:11:31 +07:00
Elian Doran a42375931f
chore(deps): update vitest monorepo to v3.2.4 (#2349) 2025-06-18 09:08:41 +07:00
Elian Doran d894bff2a0
fix(deps): update dependency bootstrap to v5.3.7 (#2350) 2025-06-18 09:07:48 +07:00
Elian Doran 4515ed600c
fix(deps): update dependency mind-elixir to v4.6.1 (#2351) 2025-06-18 09:07:10 +07:00
Elian Doran 4df3cdd975
chore(deps): update dependency openai to v5.5.1 (#2352) 2025-06-18 09:06:31 +07:00
SiriusXT 5fc0a0460d Merge branch 'develop' into note-create 2025-06-18 11:21:32 +07:00
renovate[bot] 74851a859b
chore(deps): update dependency openai to v5.5.1 2025-06-18 02:56:07 +07:00
renovate[bot] 9bb94513ca
fix(deps): update dependency mind-elixir to v4.6.1 2025-06-18 02:55:10 +07:00
renovate[bot] bb74aa7976
fix(deps): update dependency bootstrap to v5.3.7 2025-06-18 02:54:19 +07:00
renovate[bot] 12318b38ee
chore(deps): update vitest monorepo to v3.2.4 2025-06-18 02:53:25 +07:00
Jon Fuller bb70c2a3fa
Merge branch 'develop' into fix/lint-server-url 2025-06-17 16:00:36 +07:00
perf3ct b47180a219
feat(server): create unit tests for normalizing server URL, and fix logic based on feedback 2025-06-17 21:32:27 +07:00
Elian Doran 4eb64357a1
chore(website): add macos screenshots 2025-06-17 23:39:25 +07:00
perf3ct 0fe89115d1
feat(server): lint for trailing slashes in sync URL and extra slashes in customRequestHandler 2025-06-17 19:37:40 +07:00
Elian Doran 330932adde
fix(website): script errors due to double body 2025-06-17 22:08:34 +07:00
Elian Doran b9daca5b9c
website: favicon / dark mode / more content (#2343) 2025-06-17 21:38:24 +07:00
Elian Doran c6c48d84ab
flake: fix Electron version, fix Wayland support, fix source filter (#2329) 2025-06-17 21:33:45 +07:00
Elian Doran 2c87721953
docs(guide): premium features 2025-06-17 21:01:01 +07:00
Elian Doran 45a446d0f6
chore(text): set up production key 2025-06-17 20:55:38 +07:00
Elian Doran 40086434ec
refactor(subtree): duplicate bx in icon name 2025-06-17 20:55:38 +07:00
Elian Doran bde3f0a55c
fix(nx): revert infinite watching causing severe issues with the daemon
See https://github.com/TriliumNext/Notes/pull/2285#issuecomment-2981118813
2025-06-17 20:55:37 +07:00
Elian Doran 9adae105e2
docs: regex search / Nix flake / restore dev docs (#2341) 2025-06-17 20:53:43 +07:00
Elian Doran 60dbf9dd67
Text snippets (#2344) 2025-06-17 19:29:53 +07:00
Elian Doran 374309a40c
fix(templates): description displayed on separate lines 2025-06-17 19:21:21 +07:00
Elian Doran dcccb5ad30
feat(builtin_templates): add icon for text snippets 2025-06-17 19:21:21 +07:00
Elian Doran 47eaee8b70
feat(builtin_templates): add description field for text snippets 2025-06-17 19:21:21 +07:00
Elian Doran 9687a9d8ff
refactor(note_types): separate user templates into own method 2025-06-17 19:21:21 +07:00
Elian Doran fa11295693
feat(templates): add support for built-in templates 2025-06-17 19:21:21 +07:00
Elian Doran 7e399cc10c
feat(text-snippets): support description 2025-06-17 19:21:20 +07:00
Elian Doran 59e0857bb5
feat(text-snippets): add default icon for templates 2025-06-17 19:21:20 +07:00
Elian Doran 4f9bd970af
feat(text-snippets): better reaction to removing templates 2025-06-17 19:21:20 +07:00
Elian Doran 3e40a35c19
feat(text-snippets): reload when a new template is added 2025-06-17 19:21:20 +07:00
Elian Doran 97799bfacc
feat(text-snippets): handle renames by refreshing the editor 2025-06-17 19:21:20 +07:00
Elian Doran fb1a74a96d
feat(text-snippets): debounce updates to avoid duplication 2025-06-17 19:21:20 +07:00
Elian Doran 9f82e0a6d6
refactor(text-snippets): use a map instead of an object 2025-06-17 19:21:20 +07:00
Elian Doran 421e125882
feat(text-snippets): handle content changes 2025-06-17 19:21:20 +07:00
Elian Doran 17ede00fb2
feat(text-snippets): reload editors when templates change 2025-06-17 19:21:20 +07:00
Elian Doran 502638bae7
feat(text-snippets): add toolbar entry 2025-06-17 19:21:20 +07:00
Elian Doran af8a905150
feat(text-snippets): basic integration 2025-06-17 19:21:20 +07:00
FliegendeWurst 6c2a228267 fix(website): feature block descriptions 2025-06-17 18:10:56 +07:00
FliegendeWurst f9ecfd1ad0 feat(website): dark mode 2025-06-17 18:10:56 +07:00
FliegendeWurst 2c3cbcb1f9 website: refactor feature blocks, add more 2025-06-17 18:10:56 +07:00
FliegendeWurst d1583ca091 fix(website): normal link styling 2025-06-17 18:10:56 +07:00
FliegendeWurst 3c21d97a8a fix(website): page titles 2025-06-17 18:10:56 +07:00
FliegendeWurst 8f7468cd60 website: link to distribution packages 2025-06-17 18:10:56 +07:00
FliegendeWurst 6668e639d5 fix(website): proper favicon 2025-06-17 18:10:56 +07:00
SiriusXT bcc689cae3 Merge branch 'develop' into note-create 2025-06-17 21:18:06 +07:00
SiriusXT 20173d544b feat(autocomple): support specifying path when creating a new note 2025-06-17 20:41:23 +07:00
Arne Keller e90d4cf86f docs: add section on Nix flake 2025-06-17 13:05:20 +07:00
Arne Keller 1de02b85b3 chore(docs): restore dev docs 2025-06-17 13:05:20 +07:00
FliegendeWurst dab43d9372 docs: mention escaped backslashes in regex search 2025-06-17 13:05:20 +07:00
Elian Doran 3b579a3b7b
Slash commands (#2336) 2025-06-17 12:49:26 +07:00
Elian Doran a4a5e0bdf0
refactor(ckeditor5): class name 2025-06-16 23:52:16 +07:00
Elian Doran 9cb227c1ca
fix(context menu): not auto-closing on mobile (#2331) 2025-06-16 23:49:41 +07:00
Elian Doran c4c7321f60
fix(slash): layout on legacy theme 2025-06-16 23:06:34 +07:00
Elian Doran cce27900b8
feat(slash): add a few aliases 2025-06-16 22:57:47 +07:00
Elian Doran 32f4d7be39
fix(slash): adding links not focusing box 2025-06-16 22:52:54 +07:00
Elian Doran bbeb4e25f3
refactor(ckeditor): use vite environment variables for inspector 2025-06-16 22:01:05 +07:00
Elian Doran 88f78f3e32
feat(slash): better icons for admonitions 2025-06-16 21:42:31 +07:00
Adorian Doran 36581ba882 style(next)/dialogs/note type chooser: stop highlighting the default item 2025-06-16 21:30:34 +07:00
Elian Doran 1a64b3ce8e
feat(slash): alignment 2025-06-16 21:21:42 +07:00
Elian Doran 32ee75ea43
feat(slash): markdown import 2025-06-16 21:14:46 +07:00
Elian Doran 06ebe0a9b3
feat(slash): include page break 2025-06-16 21:11:03 +07:00
Elian Doran 6069518749
feat(slash): include note 2025-06-16 20:58:42 +07:00
Elian Doran c09a9aa7d3
feat(slash): insert math 2025-06-16 20:55:02 +07:00
Elian Doran 13afcb8a49
feat(slash): insert internal link 2025-06-16 20:48:01 +07:00
Elian Doran 9bfff03cff
feat(slash): insert date/time 2025-06-16 20:42:55 +07:00
Adorian Doran 8780debc90 style(next)/dialogs/note type chooser: improve appearance 2025-06-16 20:31:57 +07:00
Elian Doran 6f386f50ff
chore(slash): change title of admonitions 2025-06-16 20:22:37 +07:00
Elian Doran 43eff08004
feat(slash): insert footnote command 2025-06-16 20:21:54 +07:00
Elian Doran 3a0b616800
feat(slash): admonition types 2025-06-16 20:15:44 +07:00
Adorian Doran cb65d02dc6 style(next)/quick search: avoid text shadow for the focused search result items 2025-06-16 20:11:38 +07:00
Adorian Doran bef485c676 style: switch to the new link style 2025-06-16 20:01:41 +07:00
Adorian Doran 9e4d350848 style(next)/launcher calendar: fix the hover state for the month field 2025-06-16 19:46:20 +07:00
Adorian Doran ccc7a8010e style(next)/combo box: properly handle the hover state when the dropdown arrow is not defined 2025-06-16 19:44:07 +07:00
Adorian Doran 7269c46de3 style(next): note attachments page: tweak header font size 2025-06-16 19:32:05 +07:00
Elian Doran 178df38377
chore(text): increase mention list max height 2025-06-16 19:25:06 +07:00
Elian Doran 1201f7138a
style(next): slash commands layout 2025-06-16 19:24:42 +07:00
Elian Doran 9ff4be8871
feat(text): set up slash commands 2025-06-16 19:24:23 +07:00
Adorian Doran 0a17fb586c Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-16 19:08:08 +07:00
Adorian Doran 1f8713f57e style(next): tweak the note icon selection button 2025-06-16 19:07:56 +07:00
Elian Doran 507fc17701
feat(text): set up license key for development 2025-06-16 18:38:06 +07:00
Elian Doran 26ad428b24
Merge branch 'jshprentz/develop' into develop 2025-06-16 17:51:22 +07:00
Elian Doran 26af3a9d68
Highlight Elixir in code notes (#2327) 2025-06-16 17:50:51 +07:00
Elian Doran 8ecf6ad78e
feat(codemirror): add elixir support 2025-06-16 17:48:20 +07:00
SiriusXT 45977efd5f fix(context menu): not auto-closing on mobile 2025-06-16 17:21:44 +07:00
FliegendeWurst c0b746e03f fix(desktop): proper icon path
The previous value points to a file that no longer exists in the
release builds. This file also only exists in the flake build.
2025-06-16 08:34:46 +07:00
FliegendeWurst a13e4d5d79 fix(flake): set resourceDir explicitly 2025-06-16 08:28:44 +07:00
FliegendeWurst e8f2f0f577 feat(flake): Wayland support 2025-06-16 08:08:04 +07:00
FliegendeWurst f56ba7295a chore(flake): note differences to electron-forge build 2025-06-16 08:04:43 +07:00
FliegendeWurst 8cdb1859e3 fix(flake): use same Electron version as normal build
Also fix the source filtering logic to work properly.
2025-06-16 07:51:26 +07:00
Joel Shprentz 6bfc78e148 Merge branch 'develop' of https://github.com/jshprentz/TriliumNextNotes into develop 2025-06-16 02:28:50 +07:00
Joel Shprentz cc97ec332d Codemirror does not support Elixir. Remove Elixir from the list. 2025-06-16 02:25:57 +07:00
Joel Shprentz f2e4dad318
Merge branch 'TriliumNext:develop' into develop 2025-06-15 22:12:08 +07:00
Joel Shprentz 9c45e9fa1a Support highlighting Elixir code notes. 2025-06-16 01:54:31 +07:00
Elian Doran e1e2afc3cd
docs(release): sync description with GitHub 2025-06-16 00:14:52 +07:00
Elian Doran b9ae226569
chore(release): bump version 2025-06-15 23:32:26 +07:00
Elian Doran e23e5227a4
docs(user): improve documentation on sharing 2025-06-15 23:32:26 +07:00
Elian Doran dd647dbb0b
docs(release): v0.95.0 2025-06-15 23:32:26 +07:00
Elian Doran 04794c38d8
fix(forge): locales with dash on non-mac 2025-06-15 21:27:53 +07:00
Elian Doran 8d868b77d0
feat(forge): English locale on Linux 2025-06-15 21:16:02 +07:00
Elian Doran 3435f20baa
feat(forge): remove unused locales on macOS 2025-06-15 21:06:01 +07:00
Elian Doran 7427507aca
fix(forge): adapt removing lproj on macOS 2025-06-15 20:49:07 +07:00
Elian Doran 3d7784ca18
Revert "fix(desktop): use plugin to clean up languages"
This reverts commit cbcc219f1f.
2025-06-15 19:57:48 +07:00
Elian Doran 0414500c17
Revert "fix(forge): English locale still missing"
This reverts commit 385ebb486e.
2025-06-15 19:57:37 +07:00
Elian Doran 385ebb486e
fix(forge): English locale still missing 2025-06-15 19:30:22 +07:00
Elian Doran cbcc219f1f
fix(desktop): use plugin to clean up languages 2025-06-15 19:06:06 +07:00
Elian Doran 58e2bc2b6c
Merge pull request #2324 from TriliumNext/renovate/major-ckeditor5-config-packages
chore(deps): update ckeditor5 config packages to v11 (major)
2025-06-15 18:51:19 +07:00
Elian Doran c1e53c09d6
Merge pull request #2305 from TriliumNext/renovate/mime-types-3.x-lockfile
chore(deps): update dependency @types/mime-types to v3.0.1
2025-06-15 18:50:20 +07:00
Elian Doran f7a6a10c7a
Merge branch 'develop' into renovate/mime-types-3.x-lockfile 2025-06-15 18:08:24 +07:00
Elian Doran e739aee95f
Merge pull request #2318 from TriliumNext/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.29.0
2025-06-15 18:01:49 +07:00
Elian Doran 1b6c2cdad1
Merge pull request #2320 from TriliumNext/renovate/tsx-4.x-lockfile
fix(deps): update dependency tsx to v4.20.3
2025-06-15 18:01:16 +07:00
Elian Doran e56d7e3aa0
Merge pull request #2306 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency @typescript-eslint/parser to v8.34.0
2025-06-15 18:00:34 +07:00
Elian Doran 354c4ff8db
Merge pull request #2317 from TriliumNext/renovate/axios-1.x
chore(deps): update dependency axios to v1.10.0
2025-06-15 17:59:39 +07:00
Elian Doran 681b61e166
Merge pull request #2316 from TriliumNext/renovate/vite-plugin-static-copy-3.x
chore(deps): update dependency vite-plugin-static-copy to v3.0.2
2025-06-15 17:59:11 +07:00
Elian Doran 74c6c5d8cf
Merge pull request #2315 from TriliumNext/renovate/svelte-5.x-lockfile
chore(deps): update dependency svelte to v5.34.3
2025-06-15 17:57:53 +07:00
Elian Doran 8746df4907
Merge pull request #2314 from TriliumNext/renovate/lint-staged-16.x-lockfile
chore(deps): update dependency lint-staged to v16.1.2
2025-06-15 17:57:02 +07:00
Elian Doran acbd4c5c3e
Merge pull request #2288 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.3
2025-06-15 17:56:34 +07:00
renovate[bot] edd1571c4e
chore(deps): update ckeditor5 config packages to v11 2025-06-15 14:43:06 +07:00
renovate[bot] 8289dff3e8
fix(deps): update dependency tsx to v4.20.3 2025-06-15 14:42:18 +07:00
renovate[bot] d654bb5d16
chore(deps): update eslint monorepo to v9.29.0 2025-06-15 14:41:28 +07:00
renovate[bot] b985796139
chore(deps): update dependency axios to v1.10.0 2025-06-15 14:40:40 +07:00
renovate[bot] 99fd7b275b
chore(deps): update dependency @typescript-eslint/parser to v8.34.0 2025-06-15 14:39:53 +07:00
renovate[bot] 161671e112
chore(deps): update vitest monorepo to v3.2.3 2025-06-15 14:39:00 +07:00
renovate[bot] 02a0173c91
chore(deps): update dependency vite-plugin-static-copy to v3.0.2 2025-06-15 14:38:03 +07:00
renovate[bot] 4f7069a7c3
chore(deps): update dependency svelte to v5.34.3 2025-06-15 14:37:15 +07:00
renovate[bot] fa4e17c273
chore(deps): update dependency lint-staged to v16.1.2 2025-06-15 14:36:22 +07:00
renovate[bot] 7edd20d179
chore(deps): update dependency @types/mime-types to v3.0.1 2025-06-15 14:35:27 +07:00
Elian Doran f423d3a145
Merge pull request #2322 from TriliumNext/feature/fix_nx_ignore
Feature/fix nx ignore
2025-06-15 17:10:54 +07:00
Elian Doran 3aba961f5e
Revert "test(server): skip failing test"
This reverts commit 82be37b4af.
2025-06-15 17:09:23 +07:00
Elian Doran d2cfb5e94f
chore(nx): have website:typecheck depend on build 2025-06-15 17:03:02 +07:00
Elian Doran cb22c2cc7f
chore(pnpm): align only built dependencies 2025-06-15 16:42:18 +07:00
Elian Doran 3280123414
chore(env): remove 4GB override 2025-06-15 16:11:39 +07:00
Elian Doran 82be37b4af
test(server): skip failing test 2025-06-15 16:03:12 +07:00
Elian Doran 0e51a35842
feat(ci): run test-build in affected 2025-06-15 15:42:33 +07:00
Elian Doran 86dc3762b6
fix(nx): patch asset copying to ignore .gitignore 2025-06-15 15:41:10 +07:00
Elian Doran edc341f024
test(server): ensure build artifacts exist 2025-06-15 15:40:54 +07:00
Elian Doran f2bef879ce
chore(nx): remove dist & node_modules from .nxignore 2025-06-15 14:52:27 +07:00
Elian Doran a5c6a8e0a9
Revert "test(server): disable file parallelism to avoid CI failures"
This reverts commit 17f27e520c.
2025-06-15 14:41:51 +07:00
Elian Doran 641d2b0527
test(server): skip streaming tests 2025-06-15 14:41:29 +07:00
Elian Doran e7d129f2f7
chore(renovate): disable bun 2025-06-15 14:41:29 +07:00
Elian Doran bfc778f002
chore(test): use verbose reporter 2025-06-15 14:28:47 +07:00
Elian Doran 8d2d5504dd
test(server): skip memory leak test to see if it breaks the CI 2025-06-15 14:17:18 +07:00
Elian Doran 17f27e520c
test(server): disable file parallelism to avoid CI failures 2025-06-15 14:00:54 +07:00
Elian Doran f8c1dabfd5
Revert "chore(test): skip test breaking the CI"
This reverts commit f3b6817aa7.
2025-06-15 13:59:56 +07:00
Elian Doran f3b6817aa7
chore(test): skip test breaking the CI 2025-06-15 13:46:13 +07:00
Elian Doran 61d405da68
chore(ci): run server in sequential tests 2025-06-15 13:01:37 +07:00
Elian Doran d4be6b1de0
chore(renovate): disable HTML manager
Hopefully to reduce the time it takes for renovate to process the repo.
2025-06-15 12:49:08 +07:00
Elian Doran d199fc322e
refactor(client): set up manual chunk for CKEditor 2025-06-15 12:41:03 +07:00
Elian Doran 42ccdd1646
test(server): try to use threads instead of forks to avoid ELIFECYCLE issues in the CI 2025-06-15 12:40:53 +07:00
Elian Doran 185652fb6e
chore(deps): sync package lock 2025-06-15 12:06:43 +07:00
Elian Doran 4a579863d1
refactor(deps): remove unnecessary root dependencies 2025-06-15 12:00:59 +07:00
Elian Doran 882b2418d6
chore(renovate): group ckeditor5 config packages 2025-06-15 11:59:52 +07:00
Elian Doran 1dce202d21
test(server): try to reduce number to avoid CI crashing 2025-06-15 11:58:03 +07:00
Elian Doran 2d5754c005
refactor(client,server): remove redundant libraries directory 2025-06-15 11:56:50 +07:00
Elian Doran 9f694fad8b
fix(forge): missing English locale on Windows 2025-06-15 11:38:14 +07:00
Elian Doran 9a2264c7f6
chore(forge): make the removed locales list more compact 2025-06-15 11:20:18 +07:00
Elian Doran 77497dbc28
chore(forge): fail build if locale is missing 2025-06-15 11:12:01 +07:00
Elian Doran 1848d5dc96
chore(types): type missing in the CI 2025-06-14 23:54:19 +07:00
Elian Doran 6f5c66f324
chore(types): fix errors in website 2025-06-14 23:40:41 +07:00
Elian Doran 296c95e800
chore(nx): configure for SvelteKit 2025-06-14 22:40:45 +07:00
Elian Doran 6416c6b947
Merge branch 'feature/landing_page' into develop 2025-06-14 21:41:19 +07:00
Elian Doran 30320f6d84
fix(website): download links for server 2025-06-14 21:39:22 +07:00
Elian Doran b58d0f6663
style(website): slight adjustments to sizes 2025-06-14 18:02:10 +07:00
Elian Doran 56dc1b7e49
feat(website): bigger download button 2025-06-14 17:59:43 +07:00
Elian Doran cef832fda4
fix(website/download): fix URLs for download 2025-06-14 17:55:38 +07:00
Elian Doran 7066fc3092
feat(website/download): section for paid hosting 2025-06-14 17:14:33 +07:00
Elian Doran 235f7c8aec
feat(website/download): section for server downloads 2025-06-14 17:06:51 +07:00
Elian Doran f0ce728982
refactor(website): improve types 2025-06-14 16:40:50 +07:00
Elian Doran be7fe9610f
feat(website/download): improved descriptions 2025-06-14 16:38:26 +07:00
Elian Doran 49cd0d44ac
feat(website/download): improved platform titles 2025-06-14 16:34:51 +07:00
Elian Doran 45a053dfbf
feat(website/download): reorganize desktop downloads 2025-06-14 16:29:40 +07:00
Elian Doran cf47abe849
refactor(website/download): read version number from package.json 2025-06-14 14:34:31 +07:00
Elian Doran 6e97b08256
fix(website/download): use proper download links 2025-06-14 14:33:17 +07:00
Elian Doran 668706a6d9
feat(website/download): integrate architecture selector 2025-06-14 14:24:59 +07:00
Elian Doran 68dc81ac96
feat(website): integrate download matrix for server 2025-06-14 14:14:58 +07:00
Elian Doran 58a099dbc7
Merge pull request #2312 from TriliumNext/doc
docs: ✏️ Fix MFA Readme link
2025-06-14 14:14:10 +07:00
JYC333 740e65a791
Merge pull request #2307 from TriliumNext/renovate/tsx-4.x-lockfile
fix(deps): update dependency tsx to v4.20.3
2025-06-14 13:09:24 +07:00
JYC333 d3aabadb66
Merge branch 'develop' into renovate/tsx-4.x-lockfile 2025-06-14 12:58:08 +07:00
JYC333 571c93c610
Merge pull request #2266 from TriliumNext/renovate/eslint-monorepo
fix(deps): update eslint monorepo to v9.29.0
2025-06-14 12:57:37 +07:00
Jin 168f9b54ba docs: ✏️ Fix MFA Readme link 2025-06-14 12:54:58 +07:00
Elian Doran 65e207648b
feat(website): basic platform detection 2025-06-14 13:45:44 +07:00
Elian Doran cb6cb97326
feat(website): place download now button in header as well 2025-06-14 13:35:31 +07:00
Elian Doran 450fa5311c
feat(website/download): add basic server section 2025-06-14 13:31:52 +07:00
Elian Doran 4edd701c29
feat(website/download): add a basic architecture selector 2025-06-14 13:25:19 +07:00
Elian Doran 630aade97a
feat(website): start a download section 2025-06-14 13:18:34 +07:00
Elian Doran c97098d60d
chore(website): change hero section 2025-06-14 12:45:34 +07:00
Elian Doran 7d0a555999
fix(website): z-index of header 2025-06-14 12:38:31 +07:00
Elian Doran 2c4d0d800c
feat(website): simplify features highlights section 2025-06-14 12:36:32 +07:00
Elian Doran c7ed63a0e3
fix(website): alignment of footer 2025-06-14 12:31:41 +07:00
Elian Doran 3cc69849db
feat(website): add a nice gradient 2025-06-14 12:24:23 +07:00
Elian Doran 32ef25a868
feat(website): add a basic final call-to-action 2025-06-14 12:17:37 +07:00
Elian Doran 437e8875d8
feat(website): move screenshot to the right 2025-06-14 12:15:08 +07:00
Elian Doran 652e91586e
feat(website): add a basic intro into the features 2025-06-14 12:13:23 +07:00
Elian Doran 4946a50ebd
chore(vscode): add tailwind extension to recommendations 2025-06-14 12:02:43 +07:00
Elian Doran c69ecb768b
feat(website): add a basic feature highlights section 2025-06-14 12:02:22 +07:00
Elian Doran 88abb895ff
feat(website): add a basic copyright footer 2025-06-14 11:59:11 +07:00
Elian Doran 09dd8f9828
feat(website): slight improvements to header 2025-06-14 11:49:45 +07:00
Elian Doran 7dd6c1a6cc
feat(website): basic screenshot 2025-06-14 11:42:02 +07:00
Elian Doran 9eda9b1399
feat(website): basic hero section 2025-06-14 11:30:13 +07:00
Elian Doran e66e70f7f2
feat(website): very simple header 2025-06-14 11:13:40 +07:00
Elian Doran 77213a0dbe
chore(website): add inlang to ignore 2025-06-14 11:13:30 +07:00
Elian Doran 73b1aa7c6c
chore(vscode): add svelte to recommendations 2025-06-14 11:12:49 +07:00
Elian Doran c43a7df781
chore(website): create empty SvelteKit project 2025-06-14 11:05:38 +07:00
renovate[bot] 97d6d1a5d2
fix(deps): update eslint monorepo to v9.29.0 2025-06-14 07:45:46 +07:00
Elian Doran 925a674de6
Merge pull request #2311 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.29.0
2025-06-14 10:39:41 +07:00
Elian Doran 297aef788c
Merge pull request #2298 from TriliumNext/renovate/codemirror
fix(deps): update codemirror
2025-06-14 10:36:34 +07:00
renovate[bot] 6ecc67c8cf
fix(deps): update dependency eslint-linter-browserify to v9.29.0 2025-06-14 07:24:48 +07:00
renovate[bot] 0f4b26fa6f
fix(deps): update codemirror 2025-06-14 07:23:54 +07:00
Elian Doran 8704b01f4c
Merge pull request #2299 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v21.2.0
2025-06-14 10:19:53 +07:00
Elian Doran 5c3a69984a
Merge remote-tracking branch 'origin/develop' into renovate/tsx-4.x-lockfile 2025-06-14 10:15:47 +07:00
renovate[bot] 1dec510120
chore(deps): update nx monorepo to v21.2.0 2025-06-13 13:28:06 +07:00
Elian Doran 4da7fd2c87
Merge pull request #2297 from TriliumNext/renovate/tsx-4.x
chore(deps): update dependency tsx to v4.20.3
2025-06-13 16:23:51 +07:00
renovate[bot] 143209307f
chore(deps): update dependency tsx to v4.20.3 2025-06-13 12:45:44 +07:00
renovate[bot] e300f9087a
fix(deps): update dependency tsx to v4.20.3 2025-06-13 12:42:01 +07:00
Elian Doran 26afab03ce
Merge pull request #2303 from TriliumNext/sirius_patch
fix(image): ensure images opened in a new tab can be activated
2025-06-13 15:31:27 +07:00
Elian Doran 2f3275474f
Merge pull request #2304 from TriliumNext/sirius_patch2
fix(ckeditor): restore focus after importing markdown
2025-06-13 15:28:04 +07:00
SiriusXT 41eff6de17 fix(ckeditor): restore focus after importing markdown 2025-06-13 19:40:49 +07:00
SiriusXT 07bb0644b2 fix(image): ensure images opened in a new tab can be activated 2025-06-13 18:08:15 +07:00
Elian Doran 5b6c003888
Merge pull request #2300 from TriliumNext/renovate/tsx-4.x-lockfile
fix(deps): update dependency tsx to v4.20.2
2025-06-13 09:21:05 +07:00
renovate[bot] d93e66665c
fix(deps): update dependency tsx to v4.20.2 2025-06-13 00:42:33 +07:00
Elian Doran f0c696d6fd
Merge pull request #2281 from TriliumNext/fix/show-warning-when-rosetta-2
fix(client): show warning/error when app is using Rosetta 2 translation (running wrong arch)
2025-06-12 23:05:54 +07:00
Elian Doran 9713864bb6
refactor(cpu_dialog): more mentions of rosetta 2025-06-12 22:53:15 +07:00
Elian Doran c6c59c63bb
feat(cpu_dialog): add actual Windows CPU detection 2025-06-12 22:49:31 +07:00
Elian Doran 0a81e26e7e
feat(cpu_dialog): fix icon alignment & add message for windows 2025-06-12 22:43:30 +07:00
Elian Doran 2c032d54c1
chore(cpu_dialog): simplify the dialog 2025-06-12 22:30:33 +07:00
Elian Doran a635131f47
style(cpu_dialog): use modal-footer 2025-06-12 22:23:37 +07:00
Elian Doran 8edbbe27f8
refactor(client,server): rebrand to CPU arch warnings 2025-06-12 22:16:57 +07:00
Elian Doran db3c008c07
fix(server): headers sent twice 2025-06-12 22:07:50 +07:00
Elian Doran a20a06c994
refactor(client): simplify DOM 2025-06-12 22:06:34 +07:00
Elian Doran fe1f4a4294
refactor(client): remove contrasting title bar 2025-06-12 22:03:22 +07:00
Elian Doran b4d2d21620
refactor(client): relocate architecture mismatch checks 2025-06-12 22:00:51 +07:00
Elian Doran f6bba436f4
Revert "fix(client): also move the logic from the server to the client lol"
This reverts commit e401c8c930.
2025-06-12 21:46:27 +07:00
Elian Doran 79aae8fb43
Merge remote-tracking branch 'origin/develop' into fix/show-warning-when-rosetta-2 2025-06-12 21:32:50 +07:00
Elian Doran c34c0c49db
Merge pull request #2293 from TriliumNext/tree
fix(tree): Unexpected collapse after hoisting a note
2025-06-12 18:34:09 +07:00
Elian Doran 59296f3045
fix(server): crashes due to req.body being undefined 2025-06-12 15:01:35 +07:00
SiriusXT df68ed33bc Merge branch 'develop' into tree 2025-06-12 19:46:11 +07:00
SiriusXT 369eb7844d fix(tree): Unexpected collapse after hoisting a note 2025-06-12 19:36:54 +07:00
Elian Doran b3270ae7c8
chore(server): enable source map for serve 2025-06-12 12:08:45 +07:00
Elian Doran 995de2b740
feat(editor): hide balloon toolbar when in code block 2025-06-12 10:12:17 +07:00
Elian Doran be718ce4e0
refactor(client): remove unnecessary widget 2025-06-12 09:23:30 +07:00
Elian Doran 63ce62a67d
Merge pull request #2290 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.54.0
2025-06-12 09:20:42 +07:00
Elian Doran fc84c06346
Merge pull request #2292 from TriliumNext/renovate/tsx-4.x-lockfile
fix(deps): update dependency tsx to v4.20.1
2025-06-12 09:20:30 +07:00
renovate[bot] 3ccd5b52fa
fix(deps): update dependency tsx to v4.20.1 2025-06-12 05:54:46 +07:00
renovate[bot] bd3f74c17b
chore(deps): update dependency @anthropic-ai/sdk to v0.54.0 2025-06-12 05:53:56 +07:00
Elian Doran 10e063b39e
Merge pull request #2285 from werererer/fix/nx-project-discovery
fix(build): fix Nx project discovery issue caused by parent .gitignore
2025-06-12 08:46:17 +07:00
Elian Doran 6876337f5f
Merge pull request #2289 from TriliumNext/renovate/preact-10.x
fix(deps): update dependency preact to v10.26.9
2025-06-12 08:45:58 +07:00
Elian Doran c43a654f8e
Merge pull request #2291 from TriliumNext/renovate/tsx-4.x
chore(deps): update dependency tsx to v4.20.1
2025-06-12 08:44:54 +07:00
Elian Doran 40a7890b45
Merge pull request #2287 from TriliumNext/renovate/mime-types-3.x-lockfile
chore(deps): update dependency @types/mime-types to v3.0.1
2025-06-12 08:44:32 +07:00
renovate[bot] b8115fed70
chore(deps): update dependency tsx to v4.20.1 2025-06-12 01:16:04 +07:00
renovate[bot] b1f7a8e932
fix(deps): update dependency preact to v10.26.9 2025-06-12 01:14:34 +07:00
renovate[bot] 5514fbd113
chore(deps): update dependency @types/mime-types to v3.0.1 2025-06-12 01:12:47 +07:00
Elian Doran 2fe34b1b0d
Merge branch 'develop' into fix/nx-project-discovery 2025-06-11 23:58:47 +07:00
Jakob Schlanstedt efb0050e57 fix(build): ensure projects are discovered by ignoring parent .gitignore rules 2025-06-11 22:43:42 +07:00
Elian Doran cfd68f41eb
Merge pull request #2220 from TriliumNext/moveupdown
fix(move_block): move multiple lines up/down
2025-06-11 22:42:10 +07:00
Elian Doran 5090b38f9c
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-11 22:33:18 +07:00
Elian Doran 57ad6065d8
Merge pull request #2282 from TriliumNext/feat/add-llm-model-unit-tests
feat(unit): add unit tests around LLM model names within outgoing req…
2025-06-11 22:10:36 +07:00
Elian Doran 65b7c2d82f
Merge pull request #2249 from TriliumNext/odic
MFA docs improve
2025-06-11 22:08:21 +07:00
Elian Doran 7863a5e09c
chore: disable source maps 2025-06-11 22:03:25 +07:00
Jin 94e3586555 refactor: 💡 add link in MFA option point to help page 2025-06-11 20:52:07 +07:00
Jin ac14a22a43 chore: 🤖 align the same structure with option page 2025-06-11 20:52:07 +07:00
Jin 14179f3bd3 docs: ✏️ show MFA in-app help page 2025-06-11 20:52:07 +07:00
Jin 988a2b8d29 docs: ✏️ Add custom OAuth issuer docs 2025-06-11 20:52:07 +07:00
JYC333 9c38398ae3
Merge pull request #2278 from TriliumNext/renovate/major-typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8 (major)
2025-06-11 20:51:13 +07:00
renovate[bot] c4226ea454
chore(deps): update typescript-eslint monorepo to v8 2025-06-11 18:11:06 +07:00
Elian Doran 19668d1931
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-11 21:08:37 +07:00
Elian Doran 23c45ee219
feat(forge): remove unused locales 2025-06-11 21:08:02 +07:00
Elian Doran ed5505e093
Merge pull request #2271 from TriliumNext/renovate/softprops-action-gh-release-2.x
chore(deps): update softprops/action-gh-release action to v2.3.2
2025-06-11 20:09:52 +07:00
Elian Doran fb9f5a7584
Merge branch 'develop' into renovate/softprops-action-gh-release-2.x 2025-06-11 20:09:30 +07:00
Elian Doran 825c2c1fe9
Merge pull request #2255 from TriliumNext/feature/client_size_optimisation
Client bundle size optimization
2025-06-11 20:06:31 +07:00
Elian Doran 7c2a29edce
chore(deps): deduplicate roughjs 2025-06-11 19:45:36 +07:00
Elian Doran 26f44ea1f8
chore(deps): deduplicate preact 2025-06-11 19:42:44 +07:00
Jon Fuller 6dbdf336aa
Merge branch 'develop' into feat/add-llm-model-unit-tests 2025-06-11 09:41:11 +07:00
Elian Doran 89d32db601
fix(canvas): loading of fonts under dev mode 2025-06-11 19:34:35 +07:00
Elian Doran 65f9b1c4ef
Merge remote-tracking branch 'origin/develop' into feature/client_size_optimisation
; Conflicts:
;	pnpm-lock.yaml
2025-06-11 19:02:34 +07:00
Elian Doran 6596431154
chore(client): force mermaid to avoid double packaging 2025-06-11 18:59:46 +07:00
Elian Doran 9bab8f0bdb
refactor(canvas): remove unnecessary env setup 2025-06-11 18:59:46 +07:00
Elian Doran 892c27c945
chore(canvas): set up cleanup 2025-06-11 18:59:45 +07:00
Elian Doran bb762cfab6
refactor(canvas): remove use of any 2025-06-11 18:59:45 +07:00
Elian Doran 9d296dd692
refactor(canvas): use deferred promise instead of sleep 2025-06-11 18:59:45 +07:00
Elian Doran 0da05a7dbe
refactor(canvas): don't expose API directly 2025-06-11 18:59:45 +07:00
Elian Doran dab9b02990
refactor(canvas): remove unnecessary fragment 2025-06-11 18:59:45 +07:00
Elian Doran 5b4ceb27c5
refactor(canvas): remove unnecessary ref 2025-06-11 18:59:45 +07:00
Elian Doran 51d06ec40d
chore(deps): fix lockfile 2025-06-11 18:59:45 +07:00
renovate[bot] e7285573ac
chore(deps): update dependency openai to v5.3.0 2025-06-11 18:59:45 +07:00
renovate[bot] 509e3284ed
chore(deps): update vitest monorepo to v3.2.3 2025-06-11 18:59:45 +07:00
renovate[bot] c8530bca75
chore(deps): update dependency serve-favicon to v2.5.1 2025-06-11 18:59:45 +07:00
renovate[bot] b27d017174
chore(deps): update dependency @types/mime-types to v3.0.1 2025-06-11 18:59:45 +07:00
Elian Doran 963c7386b1
chore(ci): remove accidental workflow 2025-06-11 18:59:45 +07:00
Elian Doran e032e6f217
refactor(deps): remove package lock from package 2025-06-11 18:59:45 +07:00
Elian Doran 00c5497d93
chore(cI): use pnpm exec instead of pnpx 2025-06-11 18:59:45 +07:00
JYC333 8ed62398fa
Merge pull request #2276 from TriliumNext/renovate/major-happy-dom-monorepo
chore(deps): update dependency happy-dom to v18
2025-06-11 17:00:49 +07:00
renovate[bot] fff87aec87
chore(deps): update dependency happy-dom to v18 2025-06-11 14:35:56 +07:00
JYC333 6ef71b9209
Merge pull request #2274 from TriliumNext/renovate/major-eslint-monorepo
chore(deps): update dependency eslint to v9
2025-06-11 16:32:50 +07:00
perf3ct e401c8c930
fix(client): also move the logic from the server to the client lol 2025-06-11 14:30:33 +07:00
renovate[bot] ba9f034694 chore(deps): update dependency eslint to v9 2025-06-11 16:17:30 +07:00
JYC333 adbc906f9e
Merge pull request #2273 from TriliumNext/renovate/swagger-ui-5.x
chore(deps): update dependency @types/swagger-ui to v5
2025-06-11 16:17:04 +07:00
perf3ct 3041af7fe2
feat(client): also fix translations 2025-06-11 14:13:59 +07:00
perf3ct 23ce896681
feat(client): show warning when running through rosetta 2 2025-06-11 14:04:42 +07:00
renovate[bot] 5249624486
chore(deps): update dependency @types/swagger-ui to v5 2025-06-11 13:23:33 +07:00
JYC333 3f5024dc6d
Merge pull request #2264 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.53.0
2025-06-11 15:20:37 +07:00
renovate[bot] 1afb971877
chore(deps): update dependency @playwright/test to v1.53.0 2025-06-11 09:46:56 +07:00
JYC333 0d605cbc74
Merge pull request #2260 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.31
2025-06-11 11:35:06 +07:00
renovate[bot] cc7c175b45
chore(deps): update dependency @types/node to v22.15.31 2025-06-11 09:10:55 +07:00
JYC333 c6f48d1dc0
Merge pull request #2269 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5.3.0
2025-06-11 11:08:55 +07:00
renovate[bot] 3ddde700fb
chore(deps): update dependency openai to v5.3.0 2025-06-11 08:59:30 +07:00
JYC333 22450519a4
Merge pull request #2263 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.3
2025-06-11 10:54:41 +07:00
renovate[bot] 9ece11ae9b
chore(deps): update vitest monorepo to v3.2.3 2025-06-11 08:46:50 +07:00
JYC333 c3796dcdb0
Merge pull request #2262 from TriliumNext/renovate/serve-favicon-2.x
chore(deps): update dependency serve-favicon to v2.5.1
2025-06-11 10:43:18 +07:00
renovate[bot] c0b9bb282c
chore(deps): update dependency serve-favicon to v2.5.1 2025-06-11 08:34:14 +07:00
JYC333 97a904e4b4
Merge pull request #2259 from TriliumNext/renovate/mime-types-3.x-lockfile
chore(deps): update dependency @types/mime-types to v3.0.1
2025-06-11 10:22:37 +07:00
renovate[bot] 411875ac5f
chore(deps): update dependency @types/mime-types to v3.0.1 2025-06-11 07:48:05 +07:00
Elian Doran 7b43cfc563
chore(ci): remove accidental workflow 2025-06-11 10:45:25 +07:00
Elian Doran d6c250111a
chore(ci): trigger nightly when workflow changes 2025-06-11 10:24:27 +07:00
renovate[bot] fdd70e4403
chore(deps): update softprops/action-gh-release action to v2.3.2 2025-06-11 07:17:24 +07:00
Elian Doran bcd7c29db4
refactor(deps): remove package lock from package 2025-06-11 10:07:39 +07:00
Elian Doran d3c2315e2d
chore(cI): use pnpm exec instead of pnpx 2025-06-11 09:24:07 +07:00
Elian Doran a7c115cdf5
chore(canvas): solve type errors 2025-06-10 23:41:15 +07:00
Elian Doran 4bd5644258
refactor(canvas): access to wrapper 2025-06-10 23:40:14 +07:00
Elian Doran 5b98277f3c
chore(canvas): bring back more options 2025-06-10 23:29:36 +07:00
Elian Doran ddbd268a66
chore(canvas): bring back load/save 2025-06-10 23:25:43 +07:00
Elian Doran dd58685455
chore(canvas): bring back scene API 2025-06-10 23:09:36 +07:00
Elian Doran 5ad3d7d077
chore(canvas): missing API endpoint 2025-06-10 22:50:39 +07:00
Elian Doran 3e0f420eec
chore(canvas): reintroduce wrapper 2025-06-10 22:44:11 +07:00
Elian Doran 0f47a4988b
refactor(canvas): proof of concept for preact-based canvas 2025-06-10 22:22:47 +07:00
Elian Doran 0f9fe0367a
chore(client): fix excalidraw erroring out due to react 2025-06-10 21:23:46 +07:00
Elian Doran b2b6654846
refactor(share): removing problematic build step 2025-06-10 21:09:24 +07:00
Elian Doran 83c136174e
chore(client): build dependencies before serving 2025-06-10 21:09:10 +07:00
perf3ct e1e1eb4f51
feat(unit): add unit tests around LLM model names within outgoing requests 2025-06-10 16:27:05 +07:00
Elian Doran 61958a35c2
fix(ci): release breaking due to upstream
See:
- https://github.com/softprops/action-gh-release/issues/627
- https://github.com/softprops/action-gh-release/issues/628
2025-06-10 14:16:42 +07:00
Elian Doran 5558d6e149
chore(ci): try to increase max heap size everywhere 2025-06-10 13:56:56 +07:00
SiriusXT 3a56a16a58 fix: moving tables/blockQuote 2025-06-10 18:50:32 +07:00
Elian Doran e7ab96538c
refactor(share): update package meta 2025-06-10 13:46:33 +07:00
Elian Doran cbc57c3a77
Merge pull request #2243 from TriliumNext/open_in_new_window
fix(link): Unable to open notes in a new window
2025-06-10 13:35:00 +07:00
Elian Doran 2bcaf7d8a8
Merge pull request #2236 from TriliumNext/zen
fix(zen): Show fixed toolbar in Zen mode
2025-06-10 13:18:15 +07:00
Elian Doran db80ebe6dd
Merge pull request #2232 from TriliumNext/ckeditor5-alignment
feat(ckeditor): Add text alignment
2025-06-10 13:15:42 +07:00
Elian Doran 72217253be
Merge pull request #2245 from TriliumNext/renovate/npm-esbuild-vulnerability
chore(deps): update dependency esbuild to ^0.25.0 [security]
2025-06-10 13:10:12 +07:00
Elian Doran 12ef314ab7
Merge pull request #2230 from TriliumNext/tab-row
Tab row scroll
2025-06-10 13:08:51 +07:00
renovate[bot] ce38f47bee
chore(deps): update dependency esbuild to ^0.25.0 [security] 2025-06-10 09:55:49 +07:00
Elian Doran 36f0de888e
Merge pull request #2209 from TriliumNext/feat/llm-unit-tests
feat(llm): add unit tests
2025-06-10 12:52:29 +07:00
SiriusXT e440f31cb5 Merge branch 'develop' into open_in_new_window 2025-06-10 17:51:54 +07:00
Elian Doran 94cd0fc5d1
Merge pull request #2222 from TriliumNext/feature/share_theme
Integrate Trilium Rocks share theme
2025-06-10 12:43:51 +07:00
SiriusXT ee9267775e vitest(link): add Vitest test cases for parseNavigationStateFromUrl 2025-06-10 17:38:05 +07:00
SiriusXT 885cdc8c97 Fix: Unable to open in a new window 2025-06-10 17:25:10 +07:00
Elian Doran 9d347ecf74
Merge remote-tracking branch 'origin/develop' into feature/share_theme
; Conflicts:
;	pnpm-lock.yaml
2025-06-10 08:58:20 +07:00
Elian Doran 23238a6ca0
Merge pull request #2238 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react to v19.1.7
2025-06-10 08:52:17 +07:00
Elian Doran 9dc067564e
Merge pull request #2239 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.3
2025-06-10 08:51:54 +07:00
Elian Doran 7936e2d124
Merge pull request #2240 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5.2.0
2025-06-10 08:51:33 +07:00
Elian Doran 3e73fc03e6
Merge pull request #2241 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to ~8.34.0
2025-06-10 08:51:08 +07:00
renovate[bot] ff19bab496
chore(deps): update typescript-eslint monorepo to ~8.34.0 2025-06-10 01:13:09 +07:00
renovate[bot] 12c4ca5f08
chore(deps): update dependency openai to v5.2.0 2025-06-10 01:11:51 +07:00
renovate[bot] 7b0ab4ee83
chore(deps): update vitest monorepo to v3.2.3 2025-06-10 01:11:10 +07:00
renovate[bot] 1feb4d42b7
chore(deps): update dependency @types/react to v19.1.7 2025-06-10 01:10:24 +07:00
SiriusXT 17ff0e8afc Merge branch 'develop' into ckeditor5-alignment 2025-06-10 09:07:21 +07:00
Elian Doran 7fcbb83dbe
chore(forge): increase heap space for CI 2025-06-09 23:31:56 +07:00
Elian Doran 8ee6c7114c
test(server-e2e): remove test that was no longer relevant 2025-06-09 23:10:19 +07:00
Elian Doran ceb6134af2
fix(client): uninitialized field 2025-06-09 22:40:45 +07:00
Elian Doran 0ff8b7edd8
chore(share): fix typecheck issues 2025-06-09 22:31:14 +07:00
Elian Doran 8e73c5906d
fix(server): missing boxicons in desktop/mobile 2025-06-09 22:18:44 +07:00
Elian Doran 4216a71a85
fix(server): render share theme on prod 2025-06-09 21:58:56 +07:00
Elian Doran 64e857362f
refactor(share): remove Swagger-specific CSS 2025-06-09 21:54:46 +07:00
Elian Doran 8e4bf1538d
feat(share): render math 2025-06-09 21:35:29 +07:00
Elian Doran 0ea60fa9d7
fix(client): bring back toast for read-only notes 2025-06-09 21:31:04 +07:00
Elian Doran 6667167b26
chore(server): set implicit dependency to share 2025-06-09 21:19:54 +07:00
Elian Doran fd06046be5
refactor(share): remove swagger integration 2025-06-09 21:17:04 +07:00
Elian Doran f20d4cbed2
refactor(share): translate messages 2025-06-09 21:16:03 +07:00
Elian Doran 18e6981e9a
refactor(share): don't load boxicons if not needed 2025-06-09 21:00:58 +07:00
Elian Doran d68d0b5dd8
feat(share): disable search if single note 2025-06-09 20:53:48 +07:00
Elian Doran 3b81d00de7
fix(share): crash if sharing single note without tree 2025-06-09 20:52:02 +07:00
Elian Doran dd6660a6cd
chore(share): use locale-friendly date 2025-06-09 20:49:06 +07:00
Elian Doran 8cb7dc7a7e
feat(share): integrate last updated date 2025-06-09 20:47:36 +07:00
Elian Doran dc5bb627ed
feat(share): integrate prev/next navigation 2025-06-09 20:36:04 +07:00
Elian Doran 4d5a0e7832
refactor(share): don't load jQuery if not needed 2025-06-09 20:15:55 +07:00
Elian Doran 0e88818220
refactor(share): don't load highlighting if not needed 2025-06-09 20:03:32 +07:00
Elian Doran ea015bc2cf
refactor(share): remove no longer necessary highlight module 2025-06-09 19:55:21 +07:00
Elian Doran 02fe7c97ca
feat(share): automatic light/dark mode 2025-06-09 19:38:44 +07:00
Elian Doran 0cba323091
feat(share): display icons in note tree 2025-06-09 18:47:02 +07:00
Elian Doran 89e931bca6
feat(share): improve style of copy button 2025-06-09 18:31:02 +07:00
SiriusXT ace7e67c00 fix(zen): Show fixed toolbar in Zen mode 2025-06-09 17:27:31 +07:00
Elian Doran 1bcb811835
feat(share): enable syntax highlighting 2025-06-09 18:22:30 +07:00
JYC333 fba29249b0
Merge pull request #2231 from TriliumNext/toolbar
chore(editor): relocate link icon in floating toolbar
2025-06-09 17:18:02 +07:00
SiriusXT 496c36fde8 chore(editor): relocate link icon in floating toolbar 2025-06-09 16:56:51 +07:00
Elian Doran 54ffeeaed9
refactor(share): remove experiment to precompile EJS 2025-06-09 16:24:21 +07:00
Elian Doran 828da2aabf
refactor(share): relocate 404 template 2025-06-09 16:22:22 +07:00
Elian Doran a61d76deed
refactor(share): remove old templates 2025-06-09 16:13:11 +07:00
Elian Doran 2238fed1b7
style(share): remove superfluous padding 2025-06-09 16:06:30 +07:00
Elian Doran 50777faa02
feat(share): add the Trilium logo by default 2025-06-09 15:10:50 +07:00
Elian Doran 157b4f9398
feat(share): expand subchildren when in folder 2025-06-09 15:02:50 +07:00
Elian Doran 091ffdeb59
feat(share): allow viewing directories 2025-06-09 14:54:04 +07:00
Elian Doran 0b3846fc35
fix(share): reintroduce theme-specific scripts 2025-06-09 14:39:56 +07:00
Elian Doran c2e0640ea8
chore(share): fix error in dev mode 2025-06-09 14:29:19 +07:00
Elian Doran 3cd4b1b67e
chore(share): remove redundant script import 2025-06-09 14:28:13 +07:00
Elian Doran 41edab3857
fix(share): regressions in child preview due to base theme 2025-06-09 14:21:47 +07:00
Elian Doran 12dbf36358
fix(share): regressions in menu due to base theme 2025-06-09 14:21:07 +07:00
Elian Doran d630d407ca
refactor(share): integrate with base CSS 2025-06-09 14:20:50 +07:00
Elian Doran 8bdf3626f0
refactor(share): integrate with client 2025-06-09 14:13:35 +07:00
Elian Doran 3def1a1e57
chore(share): introduce theme script 2025-06-09 13:37:38 +07:00
Elian Doran 4fcb186022
chore(share): bring back original share.js 2025-06-09 13:35:14 +07:00
Elian Doran 7451c2701e
chore(share): bring back CSS 2025-06-09 13:33:25 +07:00
Elian Doran 098cd19b18
chore(share): fall back to original EJS rendering mechanism 2025-06-09 13:20:41 +07:00
Elian Doran 2827126be7
chore(share): embed imports 2025-06-09 12:39:48 +07:00
SiriusXT e6c2f729f4 Merge branch 'develop' into moveupdown 2025-06-09 16:41:31 +07:00
Elian Doran 7e443e7b8d
refactor(share): use custom build plugin 2025-06-09 11:18:47 +07:00
Elian Doran d6bb790e26
chore(share): use rendered template (missing include) 2025-06-09 11:12:02 +07:00
Elian Doran 2d3265136d
chore(share): prebuilt template 2025-06-09 11:00:58 +07:00
Elian Doran 11853962b7
refactor(share): remove note uploading mechanism 2025-06-09 10:51:18 +07:00
Elian Doran c6ffa53f0b
chore(share): set nx name 2025-06-09 10:48:31 +07:00
SiriusXT 2544c9b483 feat(ckeditor): Add text alignment 2025-06-09 15:00:08 +07:00
Elian Doran 8557159273
Merge pull request #2229 from TriliumNext/renovate/stylelint-config-ckeditor5-11.x-lockfile
chore(deps): update dependency stylelint-config-ckeditor5 to v11
2025-06-09 09:43:54 +07:00
Elian Doran a4192cf061
Merge pull request #2228 from TriliumNext/renovate/eslint-config-ckeditor5-11.x-lockfile
chore(deps): update dependency eslint-config-ckeditor5 to v11
2025-06-09 09:43:32 +07:00
Elian Doran d37491e95a
Merge pull request #2227 from TriliumNext/renovate/pnpm-10.x
chore(deps): update pnpm to v10.12.1
2025-06-09 09:43:11 +07:00
renovate[bot] e93e32d01c
chore(deps): update pnpm to v10.12.1 2025-06-09 06:23:50 +07:00
SiriusXT ff1030332c Merge branch 'develop' into tab-row 2025-06-09 14:20:08 +07:00
SiriusXT f48d17cb22 fix(tab-row): Make the default distance include margin 2025-06-09 14:06:15 +07:00
Elian Doran ca4b8fa5ec
Merge pull request #2226 from TriliumNext/renovate/cheerio-1.x
chore(deps): update dependency cheerio to v1.1.0
2025-06-09 09:03:20 +07:00
Elian Doran c155b8651f
Merge branch 'develop' into renovate/cheerio-1.x 2025-06-09 09:03:17 +07:00
Elian Doran 199c047c28
Merge pull request #2225 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.2
2025-06-09 09:02:37 +07:00
Elian Doran ff603b2fab
Merge pull request #2224 from TriliumNext/renovate/mime-types-3.x-lockfile
chore(deps): update dependency @types/mime-types to v3.0.1
2025-06-09 09:01:46 +07:00
SiriusXT 949ff17776 fix(tab-row): Simplify scrolling logic 2025-06-09 13:59:52 +07:00
SiriusXT de4f0f7d6f fix(tab-row): Simplify scrolling logic 2025-06-09 11:33:16 +07:00
SiriusXT a23b0c5ec9 fix(move_block): Make the object movable 2025-06-09 10:04:10 +07:00
renovate[bot] 96000a8a72
chore(deps): update dependency stylelint-config-ckeditor5 to v11 2025-06-09 01:03:54 +07:00
renovate[bot] b2ccf126ed
chore(deps): update dependency eslint-config-ckeditor5 to v11 2025-06-09 01:03:05 +07:00
renovate[bot] b779577f9b
chore(deps): update dependency cheerio to v1.1.0 2025-06-09 00:47:05 +07:00
renovate[bot] 21e2a7e2cd
chore(deps): update vitest monorepo to v3.2.2 2025-06-09 00:46:25 +07:00
renovate[bot] 583356cf89
chore(deps): update dependency @types/mime-types to v3.0.1 2025-06-09 00:45:45 +07:00
perf3ct e96fdbf72f
fix(llm): fix logging type check 2025-06-09 00:23:02 +07:00
perf3ct 41906abaf9
feat(route): allow for routes to handle their own response 2025-06-09 00:08:06 +07:00
perf3ct ca6277f6e9
feat(llm): handle error catching in streaming better 2025-06-09 00:07:00 +07:00
perf3ct e98fabcc9d
fix(unit): resolve auth error in llm unit test
keep working
2025-06-08 23:19:40 +07:00
perf3ct f5ad5b875e
fix(tests): resolve LLM streaming unit test failures
closer to fixing...

closer...

very close to passing...
2025-06-08 23:02:15 +07:00
perf3ct daa32e4355
Revert "fix(unit): comment out this test for now to see if the rest pass"
This reverts commit 95a33ba3c0.
2025-06-08 22:02:56 +07:00
perf3ct 95a33ba3c0
fix(unit): comment out this test for now to see if the rest pass 2025-06-08 21:54:19 +07:00
perf3ct b28387bada
feat(llm): decrease the throttle on the chunking tests lol 2025-06-08 21:47:53 +07:00
perf3ct 93cf868dcf
feat(llm): last test should be passing now 2025-06-08 21:38:57 +07:00
perf3ct 224cae6db2
fix(unit): resolve type errors 2025-06-08 21:03:07 +07:00
perf3ct 0c44dd0e63
fix(unit): alright I'm just going to get rid of this test to pick my battles 2025-06-08 20:55:27 +07:00
perf3ct d60e795421
feat(llm): still working on fixing tests... 2025-06-08 20:39:35 +07:00
perf3ct c6f2124e9d
feat(llm): add tests for streaming 2025-06-08 20:30:33 +07:00
Elian Doran 04f4933e97
fix(share): fonts not loading 2025-06-08 23:23:21 +07:00
Elian Doran fa5cd150d9
fix(share): loading of tree and table of contents 2025-06-08 23:22:59 +07:00
Elian Doran 9469433143
chore(share): basic integration of CSS 2025-06-08 23:12:09 +07:00
Elian Doran 881a015f68
chore(share): integrate root template 2025-06-08 22:57:24 +07:00
Elian Doran 8e27d877a1
chore(share): install packages 2025-06-08 22:16:21 +07:00
Elian Doran eea3163f51 Add 'packages/share-theme/' from commit '2cdd2a0a543f0bced8284ca55bc94efadbc7c91f'
git-subtree-dir: packages/share-theme
git-subtree-mainline: d8f0709bce
git-subtree-split: 2cdd2a0a54
2025-06-08 22:06:45 +07:00
perf3ct c1bcb73337
feat(llm): also improve the llm streaming service, to make it cooperate with unit tests better 2025-06-08 18:40:20 +07:00
Elian Doran d8f0709bce
fix(editor): white screen if CKEditor crashes a second time 2025-06-08 21:35:01 +07:00
perf3ct 40cad2e886
fix(unit): I believe it should pass now? 2025-06-08 18:20:30 +07:00
perf3ct a8faf5d699
fix(unit): still working on getting the LLM unit tests to pass... 2025-06-08 18:13:27 +07:00
Elian Doran d7f26fa27c
fix(editor): data loss if updating while editor crashed 2025-06-08 20:39:31 +07:00
Elian Doran b379f89a7a
chore(client): fix logging errors with circular objects 2025-06-08 20:35:38 +07:00
Elian Doran 10abb50971
chore(text): remove duplicate error log 2025-06-08 20:31:09 +07:00
perf3ct e011c56715
fix(unit): no more type errors hopefully 2025-06-08 16:33:26 +07:00
Jon Fuller d7abd3a8ed
Merge branch 'develop' into feat/llm-unit-tests 2025-06-08 08:49:08 +07:00
SiriusXT be447b4139 fix(move_block): keep moved blocks in view 2025-06-08 16:49:02 +07:00
SiriusXT 48613da57f fix(move_block): move multiple lines up/down 2025-06-08 16:30:10 +07:00
Elian Doran ef111c36c0
Merge pull request #2219 from hulmgulm/nginx
Doc: update Nginx reverse proxy documentation
2025-06-08 11:02:07 +07:00
hulmgulm 765601bb75
Merge branch 'TriliumNext:develop' into nginx 2025-06-08 09:52:18 +07:00
Elian Doran e87789d92b
Merge pull request #2208 from TriliumNext/fix/llm-chat-save-bug
fix(llm): save to the same note that the chat request was sent from
2025-06-08 10:45:58 +07:00
Elian Doran a95acd5529
Merge pull request #2210 from TriliumNext/renovate/compression-1.x
chore(deps): update dependency @types/compression to v1.8.1
2025-06-08 10:45:39 +07:00
Elian Doran 34bc4c9c8c
Merge pull request #2218 from hulmgulm/develop
Doc: Updated theme reference
2025-06-08 10:43:50 +07:00
renovate[bot] e3d0a73459
chore(deps): update dependency @types/compression to v1.8.1 2025-06-08 07:43:23 +07:00
Elian Doran 93b5fc2236
Merge pull request #2206 from TriliumNext/fix/llm-embeddings-removal-increment-version
fix(server): increment SYNC_VERSION and APP_DB_VERSION for LLM embedd…
2025-06-08 10:42:59 +07:00
Elian Doran 8c25b59bed
Merge pull request #2217 from TriliumNext/fix/llm-add-warning2
feat(llm): add warning to the top of LLM Chat Notes and LLM settings that the feature is experimental
2025-06-08 10:40:22 +07:00
Elian Doran fb8f3d1d29
Merge pull request #2212 from TriliumNext/renovate/express-5.x-lockfile
chore(deps): update dependency @types/express to v5.0.3
2025-06-08 10:38:53 +07:00
renovate[bot] 3f1007e904
chore(deps): update dependency @types/express to v5.0.3 2025-06-08 07:36:36 +07:00
Elian Doran 916e855ed0
Merge pull request #2215 from TriliumNext/renovate/multer-1.x
chore(deps): update dependency @types/multer to v1.4.13
2025-06-08 10:33:11 +07:00
renovate[bot] 5b154d2544
chore(deps): update dependency @types/multer to v1.4.13 2025-06-08 07:31:57 +07:00
Elian Doran 6734dae956
chore(server): add serve-nodir 2025-06-08 10:29:20 +07:00
Elian Doran 6b844063b6
Merge pull request #2216 from TriliumNext/renovate/serve-static-1.x
chore(deps): update dependency @types/serve-static to v1.15.8
2025-06-08 10:28:11 +07:00
Elian Doran 5313ce7843
Merge pull request #2211 from TriliumNext/renovate/cookie-parser-1.x
chore(deps): update dependency @types/cookie-parser to v1.4.9
2025-06-08 10:27:33 +07:00
Elian Doran 34fa770748
Merge pull request #2213 from TriliumNext/renovate/express-session-1.x
chore(deps): update dependency @types/express-session to v1.18.2
2025-06-08 10:26:58 +07:00
Elian Doran ee1e0da156
Merge pull request #2214 from TriliumNext/renovate/mime-types-3.x
chore(deps): update dependency @types/mime-types to v3.0.1
2025-06-08 10:26:27 +07:00
hulmgulm 48a310e0aa
Update Nginx.md 2025-06-08 08:34:27 +07:00
hulmgulm 7ef610b702
Update Reference.md 2025-06-08 08:14:39 +07:00
perf3ct 29d9c9834a
feat(llm): add warning to the top of LLM Chat Notes and LLM settings that the feature is experimental 2025-06-08 04:48:19 +07:00
perf3ct 055b34fb46
feat(llm): fix last unit tests 2025-06-08 04:33:33 +07:00
renovate[bot] 858801502d
chore(deps): update dependency @types/serve-static to v1.15.8 2025-06-08 01:58:09 +07:00
renovate[bot] f83d33754e
chore(deps): update dependency @types/mime-types to v3.0.1 2025-06-08 01:56:48 +07:00
renovate[bot] a3c655ffc5
chore(deps): update dependency @types/express-session to v1.18.2 2025-06-08 01:55:20 +07:00
renovate[bot] cf9f59304c
chore(deps): update dependency @types/cookie-parser to v1.4.9 2025-06-08 01:53:26 +07:00
perf3ct cc089c245e
fix(llm): save the chat to a specific note, not the currently active note 2025-06-08 00:02:40 +07:00
perf3ct c6062f453a
fix(llm): changing providers works now 2025-06-07 23:57:35 +07:00
perf3ct 414781936b
fix(llm): always fetch the user's selected model 2025-06-07 23:36:53 +07:00
perf3ct 0ce5307c0b
fix(llm): well this has been using the wrong value the whole time 2025-06-07 23:16:44 +07:00
perf3ct 313c624871
feat(e2e): more tests pass! 2025-06-07 23:15:30 +07:00
perf3ct d8bbece02a
feat(e2e): llm tests mostly pass 2025-06-07 23:07:54 +07:00
perf3ct bb483558b0
feat(llm): add e2e tests for llm 2025-06-07 22:41:55 +07:00
perf3ct b6b88dff86
fix(server): increment SYNC_VERSION and APP_DB_VERSION for LLM embeddings removal 2025-06-07 21:13:02 +07:00
perf3ct 7f9ad04b57
feat(llm): create unit tests for LLM services 2025-06-07 21:03:54 +07:00
perf3ct c2eed44150
fix(llm): make sure that we're referencing the correct Note ID when saving 2025-06-07 20:15:11 +07:00
Elian Doran ebb1654d0e
Merge pull request #2205 from TriliumNext/feat/llm-remove-embeddings
Remove Embeddings from LLM feature
2025-06-07 22:54:05 +07:00
perf3ct ff37050470
fix(llm): delete provider_manager for embeddings too 2025-06-07 19:33:19 +07:00
perf3ct b0d804da08
fix(llm): remove the vectorSearch stage from the pipeline 2025-06-07 18:57:08 +07:00
perf3ct 4550c12c6e
feat(llm): remove everything to do with embeddings, part 3 2025-06-07 18:30:46 +07:00
perf3ct 44a2e7df21
feat(llm): remove everything to do with embeddings, part 2 2025-06-07 18:20:06 +07:00
Elian Doran bed3c61142
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 21:15:38 +07:00
perf3ct 44a45780b7
feat(llm): remove everything to do with embeddings 2025-06-07 18:11:12 +07:00
Elian Doran cedf6cc631
Merge pull request #1888 from TriliumNext/renovate/express-5.x
fix(deps): update dependency express to v5
2025-06-07 20:17:10 +07:00
Elian Doran 7281233012
chore(build): enable source maps 2025-06-07 20:12:13 +07:00
Elian Doran 4def18e882
fix(desktop): query parameters not working 2025-06-07 18:46:29 +07:00
Elian Doran 03024ef7a9
chore(desktop): bypass query error 2025-06-07 15:59:17 +07:00
Elian Doran 9907f7f60f
fix(desktop): CLS failing due to lack of listeners 2025-06-07 15:45:56 +07:00
Elian Doran ebeabe2b54
fix(desktop): adapt request mocking to express 5 2025-06-07 14:58:07 +07:00
Panagiotis Papadopoulos 0bc91349f6
refactor(routes/custom): update path "/custom/*path" for express v5 2025-06-07 14:21:37 +07:00
Panagiotis Papadopoulos 23297c9860
fix(routes): remove unused wildcard in apiRoute "/api/options/:name/:value*"
the updateOption function that handles the req.param is just destructuring `const { name, value } = req.params;` and does nothing else with the path or any params.
The remaining parts of the wildcard (which can be accessed via req.param[0]) are just ignored here.

even with express v4, this would *always* just take and process the very first part of the path, in the exact wildcard's place, e.g.

`/api/options/locale/de` and
`/api/options/locale/de/test/whatever`
would *both* end up destructuring "value" from req.param as "de" (because it is in the exact place of the 'value' wildcard)

in express v5 the wildcard behaviour changes -> here req.param.value would return an array with the paths split into separate string.

but since the code previously regarded only the first part of the path -> we can just get rid of the wildcard and use a named route param

the only thing to keep in mind: if a request with more than one "value" is received, (e.g. `/api/options/locale/de/test/whatever`) -> since we don't have the wildcard anymore  -> this will turn to a 404.
IMHO that is actually desirable here though
2025-06-07 14:21:35 +07:00
renovate[bot] 086bd10f84
fix(deps): update dependency express to v5 2025-06-07 11:15:22 +07:00
Elian Doran 70cdc100d9
Merge pull request #2198 from TriliumNext/oidc
Support custom oidc server
2025-06-07 14:13:14 +07:00
Elian Doran 17c2ae1177
Merge pull request #2177 from TriliumNext/tab-row-scroll
fix(tab-row): ensure similar behavior between horizontal/vertical scrolling
2025-06-07 14:05:03 +07:00
Elian Doran 497a851ebe
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 13:52:00 +07:00
Elian Doran 9a48547232
Merge pull request #2194 from TriliumNext/renovate/eslint-config-ckeditor5-11.x-lockfile
chore(deps): update dependency eslint-config-ckeditor5 to v11
2025-06-07 13:42:36 +07:00
Elian Doran 97dfd454b8
Merge pull request #2195 from TriliumNext/renovate/stylelint-config-ckeditor5-11.x-lockfile
chore(deps): update dependency stylelint-config-ckeditor5 to v11
2025-06-07 13:42:14 +07:00
Elian Doran 2d8317887d
chore(release): fix setting as prerelease 2025-06-07 13:35:29 +07:00
Elian Doran 5dc4f0eae6
docs(readme): add badge to relative CI for client 2025-06-07 13:30:21 +07:00
JYC333 8849d482b0
Merge pull request #2193 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.2
2025-06-07 12:15:23 +07:00
Jin bffb47645c fix: 🐛 fix SSO icon loading 2025-06-07 12:10:41 +07:00
Jin 4cafd83c25 feat: 🎸 set SSO login page ui 2025-06-07 12:10:41 +07:00
Jin db3bf4c12c feat: 🎸 set SSO login logic 2025-06-07 12:10:41 +07:00
Jin fa44a5343b feat: 🎸 support custon oidc server 2025-06-07 12:10:41 +07:00
renovate[bot] e5cc58b4e2
chore(deps): update dependency stylelint-config-ckeditor5 to v11 2025-06-07 10:06:51 +07:00
renovate[bot] dbaee4d29b
chore(deps): update dependency eslint-config-ckeditor5 to v11 2025-06-07 10:06:01 +07:00
renovate[bot] a6d1fd3d9f
chore(deps): update vitest monorepo to v3.2.2 2025-06-07 10:05:13 +07:00
Elian Doran c8b3cdf01b
feat(ci): introduce RelativeCI for the client 2025-06-07 13:02:37 +07:00
Elian Doran 5a53fbbb01
chore(ci): get rid of size reporters 2025-06-07 12:52:33 +07:00
Elian Doran 408dcf7713
chore(release): prepare for v0.94.1 2025-06-07 12:46:18 +07:00
Elian Doran 7cbff47078
docs(release): mention rebranding process 2025-06-07 12:45:07 +07:00
Elian Doran d20386f8da
chore(release): add changelog 2025-06-07 12:38:06 +07:00
Elian Doran 4fd99e1728
docs(user): describe session management 2025-06-07 12:38:06 +07:00
Elian Doran af698550fd
Merge pull request #2197 from TriliumNext/ck_patch
fix(ckeditor5): scroll to selection after undo/redo to keep cursor in view
2025-06-07 12:15:02 +07:00
Elian Doran e50f5ce139
Merge branch 'develop' into ck_patch 2025-06-07 12:11:23 +07:00
Elian Doran 7a04c8a7fd
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 12:04:16 +07:00
Elian Doran 68631150af
chore(test): adjust timeout 2025-06-07 12:04:14 +07:00
SiriusXT 9dd7f75ec0 fix(ckeditor5): scroll to selection after undo/redo to keep cursor in view 2025-06-07 16:51:10 +07:00
SiriusXT e70b0d47c9 chore: fix incorrect comment in date/time 2025-06-07 16:49:10 +07:00
Elian Doran 9ead5abc62
Merge pull request #2181 from TriliumNext/feat/llm-change-to-single-provider
LLM integration, part 4
2025-06-07 11:38:30 +07:00
Elian Doran a7f4bcda8f
fix(test): wrong assertion after changing expiration interval 2025-06-07 11:38:18 +07:00
Elian Doran 5c87bab5a7
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 11:28:32 +07:00
Elian Doran 68163f90d1
fix(server): keep session cookies up to to 24h (closes #2196) 2025-06-07 11:28:30 +07:00
Elian Doran dc35ad9ace
fix(server): type errors due to session management 2025-06-07 11:27:07 +07:00
Elian Doran 244a162e42
feat(server): renew session when "Remember me" is off 2025-06-07 11:12:36 +07:00
JYC333 27b54fd7a4
Merge pull request #2192 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v21.1.3
2025-06-07 10:10:07 +07:00
Elian Doran f8ded7b171
test(server): sessions are cleaned up 2025-06-07 10:47:02 +07:00
Elian Doran 3cf35f9e0c
refactor(test): group login tests 2025-06-07 10:33:02 +07:00
Elian Doran 8516df8f9b
test(server): ensure session expiry date is well set 2025-06-07 10:10:04 +07:00
Elian Doran e003ec3b6f
test(server): ensure session info exists 2025-06-07 10:03:53 +07:00
Elian Doran 2ceab66b98
refactor(server): augment session data instead of replacing it at request level 2025-06-07 09:55:19 +07:00
perf3ct 6fdd0d021c
fix(llm): don't show embedding models in the chat section 2025-06-07 04:23:18 +07:00
perf3ct 4732d7784f
fix(llm): add missing translations 2025-06-07 04:13:57 +07:00
renovate[bot] 3bb84ee676
chore(deps): update nx monorepo to v21.1.3 2025-06-07 02:05:12 +07:00
perf3ct cb3844e627
fix(llm): fix duplicated text when streaming responses 2025-06-07 00:27:56 +07:00
perf3ct 6bc9b3c184
feat(llm): resolve sending double headers in responses, and not being able to send requests to ollama 2025-06-07 00:02:26 +07:00
Elian Doran 941d0d45f8
feat(client): render tooltips for bookmarks 2025-06-07 00:03:30 +07:00
Elian Doran 6e67832416
fix(client): clicking on note list not working due to anchor management 2025-06-06 23:59:43 +07:00
Elian Doran 73cf828bc9
feat(client): one-click navigation to bookmarks (closes #2187) 2025-06-06 23:50:42 +07:00
Elian Doran 7007feabd8
chore(client): text notes not rendering in dev mode 2025-06-06 23:47:35 +07:00
perf3ct 20ec294774
feat(llm): still work on decomplicating provider creation 2025-06-06 20:30:24 +07:00
Elian Doran acaaf1f1f4
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-06 23:26:34 +07:00
Elian Doran c18451a378
fix(server): no longer working subdir due to assets (fixes #2098) 2025-06-06 23:26:30 +07:00
perf3ct 8f33f37de3
feat(llm): for sure overcomplicate what should be a very simple thing 2025-06-06 20:11:33 +07:00
perf3ct 85cfc8fbd4
feat(llm): have OpenAI provider not require API keys (for endpoints like LM Studio) 2025-06-06 19:22:39 +07:00
Elian Doran 4489f6c437
Merge pull request #1918 from TriliumNext/feat/note-edit-readonly-fix2
Store initial "automatic read-only" decision, so that actively edited Note doesn't transition to read-only
2025-06-06 19:42:15 +07:00
Elian Doran a2a509d45c
refactor(client): rename readOnlyDecision 2025-06-06 19:29:06 +07:00
Elian Doran 091cd7a18a
fix(server): totp asked even if no authentication is enabled 2025-06-06 16:17:21 +07:00
SiriusXT 17885f6091 fix(tab-row): Remove smooth scrolling 2025-06-06 19:09:25 +07:00
SiriusXT 537ad1c1e5 fix(tab-row): Fix extra +1 when extraWidthRemaining is a decimal 2025-06-06 15:55:00 +07:00
Elian Doran 63a6f00a47
chore(server): add logs to debug missing session 2025-06-06 09:27:51 +07:00
Elian Doran 1a54a17b0d
Merge pull request #2182 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.30
2025-06-06 09:24:25 +07:00
renovate[bot] 4eaeeaaaa1
chore(deps): update dependency @types/node to v22.15.30 2025-06-06 06:14:50 +07:00
Elian Doran 255c69b867
style(client): fix dropdown selection color 2025-06-06 09:13:43 +07:00
Elian Doran f99a59359d
Merge pull request #2183 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5.1.1
2025-06-06 09:11:35 +07:00
Elian Doran f25c6ec358
Merge pull request #2184 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.2
2025-06-06 09:11:13 +07:00
renovate[bot] 0b15dd7ad2
chore(deps): update vitest monorepo to v3.2.2 2025-06-06 01:31:34 +07:00
renovate[bot] bc09c6f217
chore(deps): update dependency openai to v5.1.1 2025-06-06 01:30:50 +07:00
SiriusXT a38c091d73 Merge branch 'develop' into tab-row-scroll 2025-06-06 09:09:56 +07:00
SiriusXT f723ca65d1 fix(tab-row): Reduce animation frames 2025-06-06 09:08:17 +07:00
SiriusXT 6d416cfe65 fix(tab-row): Reduce animation frames 2025-06-06 09:06:14 +07:00
perf3ct c26b74495c
feat(llm): remove LLM deprecated functions 2025-06-05 22:34:20 +07:00
perf3ct 3a4bb47cc1
feat(llm): embeddings work and are created when launching for the first ever time 2025-06-05 21:03:15 +07:00
JYC333 0af1c8b3be
Merge pull request #2083 from TriliumNext/date/time
feat: Add configurable date/time format for Alt+T shortcut
2025-06-05 21:48:14 +07:00
JYC333 96431fc581
Merge branch 'develop' into date/time 2025-06-05 21:29:39 +07:00
perf3ct bb8a374ab8
feat(llm): transition from initializing LLM providers, to creating them on demand 2025-06-05 19:27:45 +07:00
perf3ct c1b10d70b8
feat(llm): also add functions to clear/unregister embedding providers 2025-06-05 18:59:32 +07:00
perf3ct 49e123f399
feat(llm): create endpoints for starting/stopping embeddings 2025-06-05 18:47:25 +07:00
perf3ct a084805762
Merge branch 'develop' into feat/llm-change-to-single-provider 2025-06-05 18:26:40 +07:00
Elian Doran e56e3595a8
fix(client): context menu dismissing on mobile (closes #2128) 2025-06-05 19:14:50 +07:00
Elian Doran f527b13973
Merge pull request #2179 from TriliumNext/demo
docs: ✏️ Fix Journal demo relation name
2025-06-05 18:22:51 +07:00
SiriusXT ea1bce4e7b fix(tab-row): ensure similar behavior between horizontal/vertical scrolling 2025-06-05 23:19:00 +07:00
Jin 4770bdeb90 docs: ✏️ Fix Journal demo relation name 2025-06-05 17:16:37 +07:00
Elian Doran 818b7afeff
feat(docker): try building linux/arm/v8
This is conceptually the same as as linux/arm64 but it is needed on some providers.
2025-06-05 18:13:59 +07:00
SiriusXT 6508ef4fce fix(tab-row): Avoid this.newTabOuterWidth being a decimal in Electron 2025-06-05 20:27:58 +07:00
SiriusXT 7b1c6807ba fix(tab-row): Remove shift+wheel tab switching 2025-06-05 20:20:29 +07:00
SiriusXT be8ee350cb fix(tab-row): ensure similar behavior between horizontal/vertical scrolling 2025-06-05 19:54:37 +07:00
Elian Doran b39119119b
fix(share): custom share templates no longer working 2025-06-05 14:32:49 +07:00
Elian Doran 79dae44dbc
feat(share): improve error logging for missing templates 2025-06-05 14:32:49 +07:00
Elian Doran b81be8f8d7
feat(share): pass t for translations 2025-06-05 14:32:49 +07:00
SiriusXT 5d017f4524 Merge branch 'develop' into date/time 2025-06-05 18:57:19 +07:00
SiriusXT 99d26b794d Merge branch 'develop' into tab-row-scroll 2025-06-05 18:27:05 +07:00
Elian Doran ccff7baf95
Merge pull request #2145 from TriliumNext/renovate/electron-36.x
chore(deps): update dependency electron to v36.4.0
2025-06-05 12:57:56 +07:00
Elian Doran 1911323033
Merge pull request #2146 from TriliumNext/renovate/ckeditor-monorepo
fix(deps): update ckeditor monorepo to v45.2.0
2025-06-05 12:56:57 +07:00
SiriusXT b721bb4cfc fix(tab-row): ensure similar behavior between horizontal/vertical scrolling 2025-06-05 17:54:34 +07:00
renovate[bot] f3d03be9a5
fix(deps): update ckeditor monorepo to v45.2.0 2025-06-05 09:24:58 +07:00
renovate[bot] c06ca0dbf8
chore(deps): update dependency electron to v36.4.0 2025-06-05 09:24:16 +07:00
Elian Doran 14269fdfa5
Merge pull request #2143 from TriliumNext/renovate/eslint-stylistic-monorepo
chore(deps): update dependency @stylistic/eslint-plugin to v4.4.1
2025-06-05 12:21:58 +07:00
renovate[bot] 3fba17d73f
chore(deps): update dependency @stylistic/eslint-plugin to v4.4.1 2025-06-05 09:18:08 +07:00
Elian Doran 9d477fcc8d
Merge pull request #2171 from TriliumNext/renovate/ckeditor-ckeditor5-package-tools-4.x
chore(deps): update dependency @ckeditor/ckeditor5-package-tools to v4
2025-06-05 12:15:08 +07:00
Elian Doran ca19268bd1
Merge pull request #2144 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react-dom to v19.1.6
2025-06-05 12:13:56 +07:00
Elian Doran a36178be03
Merge pull request #2174 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.53.0
2025-06-05 12:13:29 +07:00
renovate[bot] 5dc48a776c
chore(deps): update dependency @types/react-dom to v19.1.6 2025-06-05 09:13:08 +07:00
Elian Doran c787c870f4
Merge pull request #2175 from TriliumNext/renovate/codemirror-themes
fix(deps): update codemirror themes to v6.2.0
2025-06-05 12:10:58 +07:00
renovate[bot] 1eb53f448a
fix(deps): update codemirror themes to v6.2.0 2025-06-05 08:45:23 +07:00
renovate[bot] 839369e253
chore(deps): update dependency @ckeditor/ckeditor5-package-tools to v4 2025-06-05 08:38:18 +07:00
renovate[bot] 446a38e861
chore(deps): update dependency @anthropic-ai/sdk to v0.53.0 2025-06-05 08:36:11 +07:00
Elian Doran 9e8a388592
chore(renovate): group codemirror themes into single PR 2025-06-05 11:32:59 +07:00
Elian Doran 0c8ea23345
Revert "chore: 🤖 Update docs"
This reverts commit 6caba39621.
2025-06-05 08:52:38 +07:00
perf3ct 5db514e245
fix(llm): fix the buggy embedding selection dropdown 2025-06-04 23:02:10 +07:00
perf3ct 5bc2c3ac18
feat(llm): also have the embedding provider settings be changeable 2025-06-04 22:58:20 +07:00
perf3ct 63722a28a2
feat(llm): also add embeddings options for embedding creation 2025-06-04 22:30:16 +07:00
perf3ct 3dee462476
feat(llm): automatically fetch models when provider settings change 2025-06-04 21:32:42 +07:00
perf3ct fe15a0378a
fix(llm): have the model_selection_stage use the instance of the aiServiceManager 2025-06-04 20:23:06 +07:00
JYC333 c40e224727
Merge pull request #2136 from TriliumNext/dateNote
Calendar template docs update
2025-06-04 22:15:05 +07:00
perf3ct a20e36f4ee
feat(llm): change from using precedence list to using a sing specified provider for either chat and/or embeddings 2025-06-04 20:13:13 +07:00
Elian Doran 9bfadd7799
Merge branch 'develop' into dateNote 2025-06-04 22:54:10 +07:00
Elian Doran 4475568d19
fix(server): migration not working due to change in becca loader 2025-06-04 22:36:51 +07:00
Elian Doran f9d8bf26c4
test(server): migrate integration database to latest 2025-06-04 21:51:46 +07:00
Elian Doran 86689896a1
test(server): don't do automatic backup if migrating database 2025-06-04 21:44:27 +07:00
Elian Doran c538b54947
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-06-04 20:21:10 +07:00
Elian Doran a334e82eb0
chore(ci): switch to 22.04 for compatibility reasons 2025-06-04 20:21:07 +07:00
Elian Doran 1818ae1f72
fix(desktop): blank screen when starting (closes #2103) 2025-06-04 19:55:04 +07:00
Jin 3339b36e61 docs: ✏️ Fix day note docs error 2025-06-04 17:01:00 +07:00
Elian Doran 5fc8100c5d
fix(build): not all entity types taken into consideration 2025-06-04 15:48:38 +07:00
Jin f3aa6adb65 docs: ✏️ Update day note and template docs 2025-06-04 11:14:42 +07:00
Jin 6caba39621 chore: 🤖 Update docs 2025-06-04 11:00:14 +07:00
SiriusXT a88815cf6b fix(insert time): resolve merge conflicts 2025-06-04 16:53:36 +07:00
Jin deacd7f340 docs: ✏️ Update day note docs 2025-06-04 10:52:19 +07:00
SiriusXT 8b8969f6e9 feat(insert time):fix: resolve merge conflicts 2025-06-04 16:50:36 +07:00
SiriusXT 3cdee1ac86 Merge branch 'develop' into date/time 2025-06-04 16:48:37 +07:00
Elian Doran df7f0d4099
Merge pull request #2110 from TriliumNext/feat/llm-integration-part3
LLM Integration, part 3
2025-06-04 11:41:49 +07:00
Elian Doran 6563601667
Merge pull request #2123 from FliegendeWurst/shortcuts-i18n
feat(i18n): description for all keyboard shortcuts
2025-06-04 11:39:47 +07:00
Elian Doran 8445ece231
Merge pull request #2106 from TriliumNext/fix/llm-becca-sync
fix(llm): Fix Note Embeddings not being synced correctly and causing sync loops
2025-06-04 11:38:49 +07:00
Elian Doran dfed0d5f5b
Merge pull request #2092 from TriliumNext/feature/grafana-dashboard
feat(metrics): add documentation for using grafana dashboard
2025-06-04 11:35:55 +07:00
Elian Doran 2e1ced38e4
Merge pull request #2127 from TriliumNext/fix/llm-model-names
fix(llm): don't filter for specific words when pulling models for openai
2025-06-04 11:34:47 +07:00
Jin 48ad381a50 refactor: 💡 Add typing 2025-06-04 10:33:40 +07:00
Elian Doran 4cab710dfd
Merge pull request #2101 from TriliumNext/patch-theme-2
fix(theme): theme is not enabled on the phone
2025-06-04 11:28:22 +07:00
Elian Doran 869ebc8844
Merge pull request #2129 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.6.3
2025-06-04 11:13:26 +07:00
Elian Doran c5662cae46
Merge pull request #2100 from TriliumNext/patch-style
fix(theme): missing --selection-background-color in theme
2025-06-04 11:12:08 +07:00
Elian Doran aa6ad0b619
Merge pull request #2117 from TriliumNext/external_links
fix(link): Allow external links containing # to open
2025-06-04 11:10:08 +07:00
Elian Doran 555c596a0f
Merge branch 'develop' into shortcuts-i18n 2025-06-04 11:04:41 +07:00
Elian Doran 5b9b51d905
Merge branch 'develop' into renovate/happy-dom-monorepo 2025-06-04 11:00:36 +07:00
Elian Doran d61fe70f4e
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-06-04 10:53:09 +07:00
Elian Doran 6405b6e7e4
chore(server): remove configuration for reporters 2025-06-04 10:52:52 +07:00
Jin f650cca652 refactor: 💡 replace substr with substring 2025-06-04 09:47:05 +07:00
renovate[bot] 62161f6a5d
chore(deps): update dependency happy-dom to v17.6.3 2025-06-04 07:37:20 +07:00
Elian Doran ce570bf080
Merge branch 'develop' into feature/grafana-dashboard 2025-06-04 10:36:56 +07:00
Elian Doran f4358f3dc1
Merge branch 'develop' into patch-style 2025-06-04 10:36:49 +07:00
Elian Doran 3ccc16ca19
Merge pull request #2130 from TriliumNext/renovate/multer-2.x
chore(deps): update dependency multer to v2.0.1
2025-06-04 10:33:37 +07:00
Elian Doran 75135b390b
Merge pull request #2131 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.1
2025-06-04 10:33:08 +07:00
Elian Doran 853ad9fe25
Merge pull request #2132 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5.1.0
2025-06-04 10:32:38 +07:00
Elian Doran f781ded95e
Merge pull request #2107 from FliegendeWurst/flake-incremental
refactor(flake): use pnpm2nix, add server package
2025-06-04 10:06:29 +07:00
renovate[bot] 93ea1e7cdb
chore(deps): update dependency openai to v5.1.0 2025-06-04 07:05:07 +07:00
renovate[bot] fd4bc922c1
chore(deps): update vitest monorepo to v3.2.1 2025-06-04 07:04:24 +07:00
renovate[bot] e24b467801
chore(deps): update dependency multer to v2.0.1 2025-06-04 07:03:31 +07:00
SiriusXT 6a80bda335 vitest(link): add Vitest test cases for parseNavigationStateFromUrl 2025-06-04 14:58:11 +07:00
SiriusXT 69d1c1519f fix(link): Allow external links containing # to open 2025-06-04 14:57:13 +07:00
Elian Doran dbeb4e1c87
fix(share): missing CK editor stylesheet (closes #2124) 2025-06-04 09:22:07 +07:00
Elian Doran 380cb62d2b
chore(editor): relocate bookmark icon in floating toolbar 2025-06-04 08:54:18 +07:00
SiriusXT 0b3ebae59c fix(insert time): Remove unnecessary async 2025-06-04 09:07:15 +07:00
perf3ct 3050424d53
fix(llm): don't filter for specific words when pulling models for openai 2025-06-03 20:47:16 +07:00
Elian Doran 307af229ae
fix(test): one more flaky test 2025-06-03 21:25:00 +07:00
Elian Doran 4a4c34e966
fix(test): some etapi tests failing 2025-06-03 20:16:39 +07:00
FliegendeWurst 12d018fdfc feat(i18n): description for all keyboard shortcuts 2025-06-03 19:10:12 +07:00
Elian Doran cecbe5862c
fix(etapi): some endpoints failing due to async (closes #2105) 2025-06-03 19:46:38 +07:00
Elian Doran ff1a8d2280
test(etapi): port get-date-notes 2025-06-03 19:32:17 +07:00
Elian Doran 931f9e572a
test(etapi): deduplicate cloning in delete-entities 2025-06-03 19:24:23 +07:00
Elian Doran cd310119bc
test(etapi): delete-entities not running properly due to missing await 2025-06-03 19:23:11 +07:00
Elian Doran 594e264eea
test(etapi): port delete-note-with-all-branches 2025-06-03 19:21:02 +07:00
Elian Doran 9d1717ca9f
test(etapi): port delete-cloned-branch 2025-06-03 19:16:59 +07:00
Elian Doran 94fd53db05
test(etapi): port delete-attribute 2025-06-03 19:11:27 +07:00
Elian Doran fe19e05715
test(etapi): port delete-attachment 2025-06-03 19:08:50 +07:00
Elian Doran 3ec29b2e21
test(etapi): port get-inherited-attribute-cloned 2025-06-03 18:38:15 +07:00
FliegendeWurst 7c47cf420c fix(flake): remove pnpm version override 2025-06-03 17:37:57 +07:00
Elian Doran 9d24ed902c
test(etapi): port get-inherited-attribute 2025-06-03 18:26:13 +07:00
FliegendeWurst 267facbaa0 fix(flake): remove not needed build artifacts 2025-06-03 17:15:00 +07:00
FliegendeWurst d86337a993 refactor(flake): use pnpm2nix, add server package 2025-06-03 17:15:00 +07:00
Elian Doran 8b2d951ad1
test(etapi): port patch-attribute 2025-06-03 18:14:49 +07:00
JYC333 cf24308cb0
Merge pull request #2114 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.6.1
2025-06-03 16:56:59 +07:00
JYC333 815f087bcb
Merge pull request #2115 from TriliumNext/renovate/vitest-monorepo
chore(deps): update dependency @vitest/coverage-v8 to v3.2.0
2025-06-03 16:51:23 +07:00
renovate[bot] 28b2454761
chore(deps): update dependency happy-dom to v17.6.1 2025-06-03 14:51:09 +07:00
JYC333 2e16a91cb4
Merge pull request #2113 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8.33.1
2025-06-03 16:48:51 +07:00
JYC333 9966413402
Merge pull request #2111 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5.0.2
2025-06-03 16:48:11 +07:00
Jin ee478bf2d1 Remove packageManager in apps/desktop 2025-06-03 16:45:29 +07:00
Elian Doran ee4f9b265e
test(etapi): port patch branch 2025-06-03 12:07:44 +07:00
Elian Doran cfe2bd135b
test(etapi): port patch attachment 2025-06-03 12:07:44 +07:00
Elian Doran 2dd2adefae
test(etapi): port import zip 2025-06-03 12:07:44 +07:00
Elian Doran 3dfe2ce066
test(etapi): port export note subtree 2025-06-03 12:07:44 +07:00
Elian Doran 94cb18589a
test(etapi): port patch note 2025-06-03 12:07:44 +07:00
Elian Doran 842c8a5028
test(etapi): port post revision 2025-06-03 12:07:44 +07:00
Elian Doran bef121239c
test(etapi): port metrics 2025-06-03 12:07:44 +07:00
Elian Doran dddbb9d4d1
test(etapi): port attachment content 2025-06-03 12:07:44 +07:00
Elian Doran d75e86789d
test(etapi): port note content 2025-06-03 12:07:44 +07:00
Jin 5b051db3eb update pnpm 2025-06-03 09:57:49 +07:00
SiriusXT a5ba1b0489 fix(link): Allow external links containing # to navigate 2025-06-03 14:27:32 +07:00
perf3ct b76166b0d5
fix(llm): always fetch the embedding model 2025-06-03 05:13:32 +07:00
perf3ct 336cd1fbda
fix(llm): storing >1 message in a chat note works
fix(llm): storing >1 message in a chat note works
2025-06-03 03:15:17 +07:00
perf3ct d4d55b20a8
fix(llm): get rid of a lot of log.info() statements that were spammy 2025-06-03 03:00:15 +07:00
Jon Fuller 36a1316612
Merge branch 'develop' into patch-style 2025-06-02 19:18:53 +07:00
renovate[bot] 7036616a51
chore(deps): update vitest monorepo to v3.2.0 2025-06-03 01:04:13 +07:00
renovate[bot] 6a69ce65d7
chore(deps): update typescript-eslint monorepo to v8.33.1 2025-06-03 01:02:38 +07:00
renovate[bot] be3b72d6b0
chore(deps): update dependency openai to v5.0.2 2025-06-03 00:58:57 +07:00
perf3ct d2ba270fdf
fix(llm): sending messages no longer throws an error at first 2025-06-03 00:18:45 +07:00
perf3ct ab3758c9b3
refactor(llm): resolve issue with headers being sent after request was sent 2025-06-02 23:54:38 +07:00
perf3ct e7e04b7ccd
refactor(llm): streamline chat response handling by simplifying content accumulation and removing unnecessary thinking content processing 2025-06-02 23:25:15 +07:00
perf3ct aad92b57c7
fix(llm): prevent sent message duplication 2025-06-02 22:47:30 +07:00
perf3ct 0d305cd22c
refactor(llm): optimize chat UI updates by checking for new content and preserving scroll position 2025-06-02 22:34:10 +07:00
perf3ct 7b498cf384
refactor(llm): update chat saving logic to prevent race conditions between client and server 2025-06-02 22:30:59 +07:00
perf3ct ed64a5b4f7
refactor(llm): simplify chat handling by removing session store and directly integrating chat storage service 2025-06-02 22:09:59 +07:00
perf3ct d8d5318ace
refactor(llm): remove deprecated validateEmbeddingProviders method and update session handling in chat services 2025-06-02 21:55:52 +07:00
Jon Fuller 4aa936bd2b
Merge branch 'develop' into fix/llm-becca-sync 2025-06-02 14:52:03 +07:00
perf3ct 3a55735cd5
refactor(llm): implement new configuration methods for provider order and validation, enhancing error handling and deprecating legacy functions 2025-06-02 21:49:35 +07:00
perf3ct 5a5a69ebb8
refactor(llm): streamline model selection by utilizing the new configuration system and enhance error handling 2025-06-02 21:44:43 +07:00
perf3ct ce7c4a31a1
refactor(llm): enhance configuration handling to avoid default assumptions and improve error handling 2025-06-02 21:43:36 +07:00
perf3ct 45175b6af3
refactor(llm): integrate new configuration system for provider management and model selection 2025-06-02 21:36:19 +07:00
perf3ct 00ce765e96
Merge branch 'develop' into feat/llm-integration-part3 2025-06-02 20:24:18 +07:00
perf3ct 934efab533
refactor(llm): update handling of note embeddings and clean up LoadResults class 2025-06-02 19:10:47 +07:00
perf3ct b0d60f8004
refactor(llm): update NoteEmbeddingRow structure and add handling in LoadResults class 2025-06-02 19:01:34 +07:00
Elian Doran 4ed30e0624
test(etapi): port basic-auth 2025-06-02 21:43:40 +07:00
Elian Doran 26fcc4fb24
feat(flake): support darwin 2025-06-02 21:25:25 +07:00
Elian Doran 95641a3b6d
test(etapi): port search 2025-06-02 21:16:57 +07:00
Elian Doran 4e81be8c76
test(etapi): port other 2025-06-02 20:59:25 +07:00
Elian Doran 887a7f900c
test(etapi): port create-entities 2025-06-02 20:36:53 +07:00
Elian Doran 6121fb0ad6
test(etapi): port create-backup 2025-06-02 19:30:06 +07:00
Elian Doran 9e6d78b625
test(etapi): port no-token 2025-06-02 19:26:36 +07:00
Elian Doran f9f3f1983f
test(etapi): port basic-auth 2025-06-02 19:16:48 +07:00
Elian Doran b88af5e4b3
test(etapi): port api-metrics 2025-06-02 19:02:01 +07:00
Elian Doran 053ff0568d
test(etapi): port app-info 2025-06-02 18:51:10 +07:00
perf3ct cc0795f812
fix(llm): also add note_embeddings to froca and consistency tests 2025-06-02 15:49:45 +07:00
perf3ct f3a21cda98
fix(llm): add the noteEmbedding object to all things becca to make it happy 2025-06-02 15:26:32 +07:00
perf3ct dcab4caee3
feat(llm): redo chat storage, part 3 2025-06-02 15:12:08 +07:00
Elian Doran d9249e3760
fix(server): webclipper not working due to import issue 2025-06-02 16:34:41 +07:00
Elian Doran 1af20bdb73
fix(vite): tests not runnable 2025-06-02 16:25:19 +07:00
Elian Doran d7c6c8f5fd
feat(geomap): the line of GPX traces now respects the `#color` attribute 2025-06-02 15:53:19 +07:00
SiriusXT 78626e67d2 fix(theme): When using next as the base for custom themes, the next theme is not enabled on the phone 2025-06-02 16:13:17 +07:00
Elian Doran 9ba49bdc5f Add 'apps/web-clipper/' from commit '786d249a6effe0262859d05e6cb1737e5fc8bdd8'
git-subtree-dir: apps/web-clipper
git-subtree-mainline: b0e5190718
git-subtree-split: 786d249a6e
2025-06-02 10:26:57 +07:00
SiriusXT f4f593c2ba fix(theme): missing --selection-background-color in theme 2025-06-02 15:24:52 +07:00
Elian Doran 70fb610e8d
Merge branch 'develop' into feature/grafana-dashboard 2025-06-02 09:11:38 +07:00
Elian Doran b0e5190718
Merge pull request #2081 from TriliumNext/renovate/openai-5.x
chore(deps): update dependency openai to v5
2025-06-02 09:10:17 +07:00
Elian Doran 3819885370
Merge pull request #2078 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.28.0
2025-06-02 09:09:26 +07:00
Elian Doran 1b72cff234
Merge pull request #2079 from TriliumNext/renovate/eslint-monorepo
fix(deps): update eslint monorepo to v9.28.0
2025-06-02 09:09:04 +07:00
Elian Doran f4c74b5c7c
Merge pull request #2080 from TriliumNext/renovate/mime-types-3.x
chore(deps): update dependency @types/mime-types to v3
2025-06-02 09:08:42 +07:00
Elian Doran 089bf75ee2
Merge pull request #2075 from TriliumNext/feature/nix_flake
Nix flake
2025-06-02 08:58:22 +07:00
perf3ct f6af617f6b
feat(llm): redo chat storage, part 2 2025-06-02 02:38:21 +07:00
perf3ct 03b8eff8f6 feat(metrics): also add metrics feature to readme 2025-06-01 19:18:04 +07:00
perf3ct 86d5e416b5 feat(metrics): add documentation for using grafana dashboard 2025-06-01 19:01:15 +07:00
Jon Fuller c28edb674c
Merge branch 'develop' into feat/note-edit-readonly-fix2 2025-06-01 18:51:28 +07:00
perf3ct 35f78aede9
feat(llm): redo chat storage, part 1 2025-06-02 00:56:19 +07:00
Adorian Doran 206905b278 style(next)/ribbon: improve the appearance of the Edited Notes list 2025-06-01 16:36:00 +07:00
SiriusXT 3c23f5d43f fix(insert time): Improve translation 2025-06-01 21:23:11 +07:00
Adorian Doran e3d1eccfd6 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-01 16:15:03 +07:00
Adorian Doran 8b2c978413 style(next)/floating buttons container: fix an alignment issue 2025-06-01 16:15:00 +07:00
Elian Doran 68d094d119
docs(guide): mention geo map updates 2025-06-01 15:52:03 +07:00
Elian Doran 41b0f27420
fix(geo_map): icons for GPX waypoints 2025-06-01 15:46:33 +07:00
SiriusXT 7918f8f230 fix(insert time): Improve translation 2025-06-01 20:35:55 +07:00
Elian Doran 4509ef62b5
refactor(client): fix types 2025-06-01 15:23:35 +07:00
Elian Doran 1ee10ca209
fix(geomap): missing start/end icons + add customization 2025-06-01 15:18:15 +07:00
SiriusXT b973fc7748 feat(insert time): change file name 2025-06-01 20:16:56 +07:00
SiriusXT 8e56faf9f0 fix(insert time): restore editor focus after inserting time 2025-06-01 19:37:49 +07:00
Elian Doran e48d6aec31
docs(release): mention bugfix 2025-06-01 14:19:20 +07:00
Elian Doran 365fd37be5
refactor(geomap): avoid parsing XML twice 2025-06-01 14:18:27 +07:00
SiriusXT cef362c123 feat(insert time): Add inserting time via UI 2025-06-01 19:15:59 +07:00
Elian Doran c5d64c182b
fix(geomap): not rendering on desktop (closes #2085) 2025-06-01 14:11:14 +07:00
SiriusXT 22586bfcc0 feat(insert time): Add configurable date/time format for Alt+T shortcut 2025-06-01 16:18:54 +07:00
SiriusXT 029d6df5ec Merge branch 'develop' into date/time 2025-06-01 15:41:46 +07:00
SiriusXT a8c4b11c9f feat(insert time): Add configurable date/time format for Alt+T shortcut 2025-06-01 15:27:50 +07:00
Elian Doran 96a5729b60
Merge pull request #2082 from TriliumNext/feat/llm-integration-part2
LLM integration, part 2
2025-06-01 09:17:54 +07:00
perf3ct 596f99ed0c
feat(llm): do a better job with the "thinking" colors 2025-06-01 03:23:04 +07:00
perf3ct d948ef5ed2
feat(llm): show "thinking" area in the UI 2025-06-01 03:21:48 +07:00
perf3ct 2c48a70bfb
feat(llm): use ckeditor for text input area for mention support instead of textinput 2025-06-01 03:03:26 +07:00
perf3ct 3fae664877
feat(llm): add utils for excluding notes from LLM 2025-06-01 02:51:36 +07:00
renovate[bot] 7c2bb38182
chore(deps): update dependency openai to v5 2025-06-01 01:52:10 +07:00
renovate[bot] 2fb2fcf88b
chore(deps): update dependency @types/mime-types to v3 2025-06-01 01:51:27 +07:00
renovate[bot] 3c6acc0681
fix(deps): update eslint monorepo to v9.28.0 2025-06-01 01:50:41 +07:00
renovate[bot] f56804168d
fix(deps): update dependency eslint-linter-browserify to v9.28.0 2025-06-01 01:49:10 +07:00
perf3ct ba98bd9097
Merge branch 'develop' into feat/llm-integration-part2 2025-05-31 10:48:00 +07:00
FliegendeWurst 381498433f fix(flake): copy app icon 2025-05-31 19:15:46 +07:00
FliegendeWurst 628c52eb04 fix(flake): don't double wrap output 2025-05-31 19:14:30 +07:00
FliegendeWurst 89e2d46088 fix(flake): handle sass updates better 2025-05-31 19:14:07 +07:00
Elian Doran 0e4ad86fbd
Merge pull request #2076 from FliegendeWurst/flake-1
feat(flake): desktop item, wrapped binary
2025-05-31 20:00:52 +07:00
FliegendeWurst d506283e48 feat(flake): desktop item, wrapped binary 2025-05-31 18:56:32 +07:00
Elian Doran fc4ec9a045
refactor(flake): deduplicate environment variables 2025-05-31 19:24:43 +07:00
Elian Doran 7b577e31c4
chore(flake): build native dependencies 2025-05-31 19:16:23 +07:00
Elian Doran 93a9911727
chore(flake): actually copy the dist 2025-05-31 18:32:23 +07:00
Elian Doran e2737d2d55
chore(flake): get build to succeed 2025-05-31 18:23:18 +07:00
Elian Doran c365cdb6c6
chore(flake): patch dart 2025-05-31 18:21:08 +07:00
Elian Doran e82567a33d
chore(flake): get the build to run 2025-05-31 18:15:22 +07:00
Elian Doran bbe3bd7107
chore(flake): ignore /result from repo 2025-05-31 18:09:45 +07:00
Elian Doran 5cd087f660
chore(flake): get dependencies to install 2025-05-31 18:08:06 +07:00
Elian Doran 27dd097394
chore(flake): start off with empty project 2025-05-31 17:41:56 +07:00
Elian Doran 1a2bb1e407
fix(electron): crash on some Linux distributions 2025-05-31 16:57:06 +07:00
SngAbc e2ac581b14
Merge pull request #2072 from vanndoublen/feature/custom-datetime-format
Feature/custom datetime format
2025-05-31 21:50:26 +07:00
Elian Doran 3046fe2bf2
chore(repo): clean up a few unused files 2025-05-31 14:07:33 +07:00
Elian Doran 8c02efb1bd
chore(github): set vendored to true 2025-05-31 14:07:24 +07:00
Elian Doran 6c35778f3d
chore(dump-db): remove shebang 2025-05-31 13:52:43 +07:00
Elian Doran bb3102eb76
chore(github): set vendored 2025-05-31 13:52:10 +07:00
Elian Doran 5ae9f8588e
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-31 13:36:32 +07:00
Elian Doran 1b5e51b285
fix(server): entrypoint for standalone server 2025-05-31 13:36:28 +07:00
Elian Doran d8dfdd1c59
Merge pull request #2068 from TriliumNext/renovate/openai-4.x
chore(deps): update dependency openai to v4.104.0
2025-05-31 12:18:03 +07:00
renovate[bot] d7cb09c71c
chore(deps): update dependency openai to v4.104.0 2025-05-31 09:17:24 +07:00
Elian Doran 6f15ccd0ce
Merge pull request #2067 from TriliumNext/renovate/codemirror
fix(deps): update dependency @codemirror/view to v6.37.1
2025-05-31 12:15:31 +07:00
Elian Doran 2021df6ec6
Merge pull request #2066 from TriliumNext/renovate/ollama-0.x
chore(deps): update dependency ollama to v0.5.16
2025-05-31 12:15:12 +07:00
Elian Doran 6ff63009c6
Merge pull request #2065 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.29
2025-05-31 12:14:53 +07:00
Elian Doran 5d7e1e1031
Merge pull request #2064 from TriliumNext/translate-cn
translate(cn): Fix some Chinese translations
2025-05-31 12:14:22 +07:00
Elian Doran 56b7965c9a
refactor(codemirror): split custom tab functionality into more methods 2025-05-31 12:11:57 +07:00
Elian Doran 9e3909a5f7
fix(code): pressing tab while multiple lines are selected would replace with tab 2025-05-31 12:06:14 +07:00
Elian Doran 03de472a57
fix(codemirror): search not unfolding results 2025-05-31 11:44:10 +07:00
Elian Doran fac8f531b8
fix(codemirror): total number of results not correct on large or folded documents 2025-05-31 11:22:04 +07:00
renovate[bot] 46d127b808
fix(deps): update dependency @codemirror/view to v6.37.1 2025-05-31 02:58:51 +07:00
renovate[bot] 60526c21fb
chore(deps): update dependency ollama to v0.5.16 2025-05-31 02:58:06 +07:00
renovate[bot] 2ff1ad04ae
chore(deps): update dependency @types/node to v22.15.29 2025-05-31 02:57:25 +07:00
SiriusXT 419a29372d translate(cn): Fix some Chinese translations 2025-05-31 10:55:28 +07:00
SiriusXT b01258a8ce translate(cn): Fix some Chinese translations 2025-05-31 10:43:49 +07:00
Elian Doran 5af4d65d1f
chore(server): bump node version 2025-05-31 01:32:52 +07:00
Elian Doran 33924cb7f8
chore(env): set up nvmrc 2025-05-31 01:31:13 +07:00
Elian Doran bc58ef605f
fix(llm): LLM note type should not be selectable (closes #1848) 2025-05-31 00:57:14 +07:00
Elian Doran 5d2a779817
chore(server): remove now redundant shebang 2025-05-31 00:19:06 +07:00
Elian Doran ac384257d3
refactor(github): reorganize attributes 2025-05-31 00:17:54 +07:00
Elian Doran 5c16afbd69
chore(github): mark documentation 2025-05-31 00:08:55 +07:00
Elian Doran af82107248
chore(github): mark demo as non-detectable 2025-05-31 00:05:46 +07:00
Elian Doran ff2a8e8708
chore(github): mark demo as vendored 2025-05-30 23:58:17 +07:00
Elian Doran 7542038756
fix(style): context menu appearing while page is loading 2025-05-30 22:01:12 +07:00
Elian Doran 77eceabf6e
Revert "style(next): fix dropdown container while app is loading"
This reverts commit 939469ba54.
2025-05-30 21:58:46 +07:00
Elian Doran 27bdb39155
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-30 21:47:19 +07:00
Elian Doran 60a298ab38
docs(release): mention documentation update 2025-05-30 21:47:17 +07:00
Elian Doran 71f5b3fd88
Merge pull request #2056 from HersheyStormBottle/patch-2
Update Packaged version for Linux.md
2025-05-30 21:46:17 +07:00
Elian Doran 355d1cfb5e
chore(docs): sync 2025-05-30 21:45:45 +07:00
Elian Doran 56cf993f46
Merge remote-tracking branch 'origin/develop' into patch-2 2025-05-30 21:39:57 +07:00
Elian Doran adc9172681
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-30 21:33:28 +07:00
Elian Doran 8994f537dc
fix(migration): use bundleable migrations
This fixes TypeScript migrations, which were not being run correctly
even in previous versions.

On the ESBuild version, neither SQL migrations worked due to the fact
that they were not being bundled.
2025-05-30 21:32:35 +07:00
Elian Doran 939469ba54
style(next): fix dropdown container while app is loading 2025-05-30 19:22:51 +07:00
Elian Doran b93e44a38f
fix(llm): button shown even if disabled 2025-05-30 17:39:38 +07:00
Elian Doran e4af99bfd4
Merge pull request #2059 from TriliumNext/tab-row
feat(tab-row): Added smooth decay logic
2025-05-30 17:31:48 +07:00
SiriusXT 7010472bea feat(tab): enable Shift + Wheel to switch tabs 2025-05-30 20:40:33 +07:00
SiriusXT dd4cb7de7d feat(tab-row): Added smooth decay logic to ensure responsive and fluid animation 2025-05-30 20:28:17 +07:00
Elian Doran 64234aed9b
docs(release): update 2025-05-30 09:18:01 +07:00
Elian Doran 74a11b5e66
Merge pull request #2055 from TriliumNext/mind-map-find
feat(mindMap): support find
2025-05-30 09:17:48 +07:00
SiriusXT e59c972780 fix(e2e): Search works when dismissing a tab 2025-05-30 09:59:29 +07:00
perf3ct a7906d6b99
refactor(llm): improve search tools error handling and parameter validation with clearer guidance 2025-05-30 00:23:18 +07:00
perf3ct 910c5039f4
feat(llm): add LLM guidance system for failed tool executions and validations 2025-05-30 00:15:40 +07:00
perf3ct f04e56137b
refactor(llm): improve type safety in tool calling stage and simplify tool call handling 2025-05-29 22:05:38 +07:00
perf3ct 7c63652105
feat(llm): improve type safety and error handling in tool call transformations 2025-05-29 22:03:23 +07:00
perf3ct 2f303b1ae9
feat(llm): also update OpenAI tool usage prompts 2025-05-29 21:58:03 +07:00
perf3ct 8f8b9d9e3b
feat(llm): really try to coax ollama to run tools 2025-05-29 21:24:04 +07:00
perf3ct 87859aec1c
fix(llm): reduce the use of "any" in the tool_calling_stage and update prompt for tool calling 2025-05-29 21:15:05 +07:00
perf3ct ba59d6b3c1
feat(llm): reduce the use of "any" in the tool calling stage 2025-05-29 21:07:12 +07:00
perf3ct 511d2c5e96
feat(llm): add empty result handling and parameter adjustment suggestions for tool execution 2025-05-29 21:04:06 +07:00
perf3ct 6169efe96b
fix(llm): make sure the default option for ollama in settings matches what the client shows 2025-05-29 20:47:25 +07:00
perf3ct f6329aab73
fix(llm): fix provider error checking 2025-05-29 20:45:27 +07:00
Jon Fuller ef581b181f
fix(docs): update the command used to edit docs 2025-05-29 12:01:07 +07:00
Elian Doran 7ef05780a6
fix(client): selecting note after split pane opens in wrong pane 2025-05-29 21:02:35 +07:00
Hershey 1db36c5aec
Update Packaged version for Linux.md
- Added link to releases
- Added clarity on wget use
- Added missing suffix to file in nohup command
- Added clarity on nohups function
2025-05-29 16:44:30 +07:00
Elian Doran f4c615cfec
fix(editor): ctrl-clicking a reference link would open it in a new browser tab 2025-05-29 18:26:12 +07:00
SiriusXT 11b8c3425c feat(mindMap): support find 2025-05-29 23:09:52 +07:00
Elian Doran c11c271aa6
style(search): remove calendar view toolbar padding 2025-05-29 17:46:22 +07:00
Elian Doran ce3506d5d0
feat(search): display calendar view if the right viewType attribute is set 2025-05-29 17:44:00 +07:00
Elian Doran 01f6368f95
chore(search): don't render note list if no results 2025-05-29 17:41:02 +07:00
Elian Doran 5b99c8f595
fix(client): override bootstrap defaults 2025-05-29 17:19:29 +07:00
Elian Doran af5eab4518
fix(calendar): becomes invisible if resizing while not visible 2025-05-29 15:29:05 +07:00
Elian Doran 93a1d62218
fix(sql_console): background color 2025-05-29 14:48:17 +07:00
Elian Doran 844fb3cfb7
refactor(client): use different approach for disabling code background 2025-05-29 14:45:55 +07:00
Elian Doran e29e711861
fix(mermaid): background color of the preview 2025-05-29 14:41:50 +07:00
Elian Doran 9fadc9341a
fix(mermaid): code background stuck after navigating to new note 2025-05-29 14:35:40 +07:00
Elian Doran ae5421902b
Merge pull request #2044 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency @typescript-eslint/eslint-plugin to ~8.33.0
2025-05-29 13:56:58 +07:00
Elian Doran b88f07c202
refactor(server): add missing override 2025-05-29 13:34:42 +07:00
Elian Doran 2309863d64
refactor(ckeditor5): remove unused method 2025-05-29 13:25:31 +07:00
Elian Doran e70d2a25fa
refactor(highlightjs): clean up unused imports 2025-05-29 13:25:21 +07:00
Elian Doran b5f2c2d557
refactor(ckeditor5): add explicit types 2025-05-29 13:24:32 +07:00
Elian Doran 3eddb55aa2
refactor(ckeditor5): add explicit override 2025-05-29 13:22:38 +07:00
renovate[bot] 1d5ad500eb
chore(deps): update dependency @typescript-eslint/eslint-plugin to ~8.33.0 2025-05-29 10:06:49 +07:00
Elian Doran 74b7420942
Merge pull request #2047 from TriliumNext/renovate/eslint-config-ckeditor5-10.x-lockfile
chore(deps): update dependency eslint-config-ckeditor5 to v10
2025-05-29 13:04:30 +07:00
Elian Doran df1d23ae4d
chore(forge): build failing due to minimatch 2025-05-29 12:40:35 +07:00
Elian Doran 09003270f1
chore(codemirror): problematic provide due to types 2025-05-29 11:45:26 +07:00
Elian Doran 57cdd9ee93
chore(ckeditor5): migrate config
See:

* https://github.com/ckeditor/ckeditor5-package-generator/pull/229
* https://github.com/ckeditor/ckeditor5-linters-config/pull/60
2025-05-29 11:27:41 +07:00
renovate[bot] caa87df7ad
chore(deps): update dependency eslint-config-ckeditor5 to v10 2025-05-29 08:08:04 +07:00
Elian Doran 27f36a438a
chore(ci): run nx affected in verbose mode 2025-05-29 11:01:11 +07:00
Elian Doran ede1760d1a
Merge pull request #2051 from TriliumNext/renovate/codemirror
fix(deps): update dependency @codemirror/view to v6.37.0
2025-05-29 10:59:12 +07:00
Elian Doran 63ea9104c6
Merge pull request #2029 from TriliumNext/refactor/typecheck_errors
Solve typecheck errors
2025-05-29 10:21:53 +07:00
Elian Doran 7651083e63
Merge remote-tracking branch 'origin/develop' into refactor/typecheck_errors 2025-05-29 09:35:12 +07:00
renovate[bot] 42e2a7ed24
fix(deps): update dependency @codemirror/view to v6.37.0 2025-05-29 06:25:34 +07:00
Elian Doran 78236954e5
Merge pull request #2045 from TriliumNext/renovate/globals-16.x
fix(deps): update dependency globals to v16.2.0
2025-05-29 09:18:29 +07:00
renovate[bot] d98831c408
fix(deps): update dependency globals to v16.2.0 2025-05-29 06:18:08 +07:00
Elian Doran 3a33013307
Merge pull request #2043 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.16.0
2025-05-29 09:17:27 +07:00
renovate[bot] 77bf898805
chore(deps): update node.js to v22.16.0 2025-05-29 06:16:15 +07:00
Elian Doran 80560f3906
Merge pull request #2046 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.6.0
2025-05-29 09:16:10 +07:00
Elian Doran f0a22fb761
Merge pull request #2035 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react to v19.1.6
2025-05-29 09:13:01 +07:00
Elian Doran 4e1959a159
Merge pull request #2036 from TriliumNext/renovate/electron-36.x
chore(deps): update dependency electron to v36.3.2
2025-05-29 09:12:32 +07:00
Elian Doran 5b723dc308
Merge pull request #2038 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.28.5
2025-05-29 09:11:22 +07:00
Elian Doran c9b8bbb560
Merge pull request #2039 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25.2.1
2025-05-29 09:10:59 +07:00
Elian Doran 0550a8cfc3
Merge pull request #2040 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.5.6
2025-05-29 09:10:34 +07:00
Elian Doran efd1b82d7b
Merge pull request #2042 from TriliumNext/renovate/node-abi-4.x
chore(deps): update dependency node-abi to v4.9.0
2025-05-29 09:09:55 +07:00
Elian Doran d19cab6b41
Merge pull request #2049 from TriliumNext/renovate/yargs-18.x
fix(deps): update dependency yargs to v18
2025-05-29 09:07:23 +07:00
renovate[bot] 9de1d94924
fix(deps): update dependency yargs to v18 2025-05-29 01:47:00 +07:00
renovate[bot] c5e1e1f87b
fix(deps): update dependency mind-elixir to v4.6.0 2025-05-29 01:44:29 +07:00
renovate[bot] 70f5a1c5c5
chore(deps): update dependency node-abi to v4.9.0 2025-05-29 01:40:52 +07:00
renovate[bot] 3db7535340
chore(deps): update dependency happy-dom to v17.5.6 2025-05-29 01:39:12 +07:00
renovate[bot] 50b7046d6c
fix(deps): update dependency i18next to v25.2.1 2025-05-29 01:38:27 +07:00
renovate[bot] 46ef50173b
chore(deps): update dependency typedoc to v0.28.5 2025-05-29 01:37:42 +07:00
renovate[bot] 1404af9db4
chore(deps): update dependency electron to v36.3.2 2025-05-29 01:36:27 +07:00
renovate[bot] 052583c331
chore(deps): update dependency @types/react to v19.1.6 2025-05-29 01:35:46 +07:00
Elian Doran f87e7fb577
chore(ckeditor5): missing type augmentations 2025-05-28 23:03:19 +07:00
Elian Doran 7af44f609d
chore(client): fix a type error in tests 2025-05-28 21:36:00 +07:00
Elian Doran c597ad7694
chore(client): remove unused linter for now 2025-05-28 21:15:55 +07:00
Elian Doran 395bc372ce
chore(ckeditor5): type errors due to augmentation 2025-05-28 20:46:33 +07:00
Elian Doran 26c1cbeff1
chore(client): fix most type errors 2025-05-28 20:42:21 +07:00
Elian Doran cb7aee742e
chore(vscode): configure TypeScript SDK 2025-05-28 20:10:14 +07:00
Elian Doran 52a082d0e2
chore(server): align test configuration 2025-05-28 20:09:56 +07:00
Elian Doran ff106e21cf
chore(server): fix more type errors 2025-05-28 19:57:55 +07:00
Elian Doran ba7c93967e
chore(server): fix some type errors 2025-05-28 19:03:53 +07:00
Elian Doran 483e09aaa0
fix(test): avoid ELIFECYCLE by recursive calling of test 2025-05-28 18:03:02 +07:00
Elian Doran 21370f3b3e
docs(release): update changelog 2025-05-28 18:01:47 +07:00
Elian Doran 23439a0b0e
Merge pull request #2030 from TriliumNext/tab
fix: improve tab scroll UX by switching from instant to smooth behavior
2025-05-28 17:49:42 +07:00
Elian Doran 5357bfa3eb
Merge pull request #2032 from TriliumNext/math1
fix(math-edit): Set focus to input field when inserting math formula
2025-05-28 17:47:48 +07:00
SiriusXT 3b09147e52 fix(math-edit): Set focus to input field when inserting math formula 2025-05-28 20:39:17 +07:00
SiriusXT a8f94b712f fix(ts): specify array type to fix TS2345 error 2025-05-28 16:49:43 +07:00
SiriusXT bbc77b522f fix(tab-row): Optimize tab-row scrolling experience 2025-05-28 16:46:56 +07:00
Elian Doran 05c4721bd5
chore(server): type error due to ESM vs CJS 2025-05-28 00:05:16 +07:00
Elian Doran 811f0ea2bf
chore(server,desktop): re-enable strict mode 2025-05-28 00:00:59 +07:00
Elian Doran c4e10b6eba
fix(commons): not importable due to wrong meta 2025-05-27 23:49:33 +07:00
Elian Doran 8578aa26c1
chore(types): disable verbatim module syntax for now 2025-05-27 23:43:28 +07:00
Elian Doran 7972d3f31b
chore(ckeditor5): fix type errors 2025-05-27 23:36:41 +07:00
Elian Doran fe8e090b1b
chore(codemirror): fix type errors 2025-05-27 23:33:45 +07:00
Elian Doran 44c502f9cc
chore(deps): remove dependencies on swc 2025-05-27 23:31:29 +07:00
Elian Doran d81ab9ea1d
fix(commons): type errors 2025-05-27 23:28:09 +07:00
Elian Doran 114607f762
refactor(commons): switch to esbuild 2025-05-27 23:28:01 +07:00
Elian Doran 1893686e66
feat(ci): run typecheck 2025-05-27 23:21:26 +07:00
Elian Doran 111258b539
chore(deps): run audit 2025-05-27 22:29:19 +07:00
Elian Doran 2dfccc4929
chore(nx): expose scripts 2025-05-27 22:26:58 +07:00
Elian Doran ef6eac6f6e
chore(desktop): fix version 2025-05-27 22:26:52 +07:00
Elian Doran 8e4b3711d4
refactor(scripts): fix type errors 2025-05-27 22:25:00 +07:00
Elian Doran 7d29a6279e
fix(server): exporting .zip not working in dev mode 2025-05-27 22:04:09 +07:00
Elian Doran 41b3441e42
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 22:00:53 +07:00
Elian Doran 5a6b310b27
chore(clipboard): simplify toast messages 2025-05-27 22:00:50 +07:00
Adorian Doran eb6c122658 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 21:14:58 +07:00
Adorian Doran 9405225e69 style(next)/code blocks/copy button: refactor 2025-05-27 21:14:55 +07:00
Elian Doran 4ab297d00f
refactor(editor): correct type for keystroke 2025-05-27 21:01:35 +07:00
Elian Doran 06528ec74b
docs(user): add some more keyboard shortcuts 2025-05-27 21:00:13 +07:00
Elian Doran c3e0ef3a27
docs(user): mention keyboard shortcuts 2025-05-27 20:54:17 +07:00
Elian Doran c55a3ca898
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 20:42:29 +07:00
Elian Doran e2a089eb7e
feat(editor/move_block): support multiple keystrokes 2025-05-27 20:39:52 +07:00
Adorian Doran 8c06175c52 style(next)/action buttons: fix a bug 2025-05-27 20:36:59 +07:00
Elian Doran 27d1a87fb0
feat(editor): allow moving blocks up/down 2025-05-27 20:36:57 +07:00
Adorian Doran 8121dbed74 style(next)/code blocks/copy button: use a better layout 2025-05-27 20:36:07 +07:00
Adorian Doran 541897b1d0 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 20:15:10 +07:00
Adorian Doran 4ba99989e3 style/code blocks/copy button: optimize the layout 2025-05-27 20:14:55 +07:00
Elian Doran c82c01fb41
Merge pull request #1923 from TriliumNext/feat/add-rootless-dockerfiles
feat(ci): add rootless dockerfiles
2025-05-27 20:07:55 +07:00
Elian Doran 521f4c2410
docs(release): mention rootless Docker mode 2025-05-27 20:07:33 +07:00
Elian Doran 061e238a8e
fix(docker/rootless): missing bash under alpine 2025-05-27 20:05:08 +07:00
Elian Doran c46d5cc9e9
fix(docker/rootless): CRLF issues on Windows 2025-05-27 19:57:18 +07:00
Elian Doran 02fc5214a3
fix(docker/rootless): entrypoint if executable bit is not set 2025-05-27 19:52:44 +07:00
Elian Doran a1dda3c01a
Merge branch 'develop' into feat/add-rootless-dockerfiles 2025-05-27 19:34:49 +07:00
Elian Doran 46bffcaef7
Merge pull request #1973 from NickBusey/patch-1
Update Steel Blue.css
2025-05-27 19:34:21 +07:00
Elian Doran 31c95d568c
chore(demo): sync 2025-05-27 19:33:46 +07:00
Nick Busey dd05a9f720
Update Steel Blue.css
"Top-right corner" isn't correct in macOS anyway, so probably cleaner to just remove it.
2025-05-27 19:30:41 +07:00
Elian Doran 0e10485199
chore(demo): sync 2025-05-27 19:24:05 +07:00
Elian Doran ad0c73d210
feat(edit-docs): read from input directory instead of the zip 2025-05-27 19:24:04 +07:00
Elian Doran 0bb294753f
chore(demo): sync 2025-05-27 19:24:04 +07:00
Elian Doran 6264b9a60a
fix(edit-demo): path to extracted files 2025-05-27 19:24:04 +07:00
Elian Doran 099e73b114
chore(demo): move to right directory 2025-05-27 19:24:04 +07:00
Elian Doran 7cb4cc8469
fix(edit-demo): get it to actually start 2025-05-27 19:24:04 +07:00
Elian Doran 76bc3d858c
fix(edit-demo): path to demo database 2025-05-27 19:24:04 +07:00
Adorian Doran 530b2adc34 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 18:32:22 +07:00
Adorian Doran b07ec68705 style/code blocks/copy button: prevent overlapping with the code block's text 2025-05-27 18:32:18 +07:00
perf3ct 405b1c5ffc
fix(docs): fix bearer_token reference in metrics docs 2025-05-27 15:23:44 +07:00
Adorian Doran 75ec3934af style/code blocks/copy button: tweak appearance 2025-05-27 18:18:16 +07:00
Elian Doran 6021d33317
chore(edit-docs): split into two entrypoints 2025-05-27 14:03:54 +07:00
Elian Doran bf082fdd40
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-27 10:47:25 +07:00
Elian Doran a3b6f21b4f
chore(edit-docs): remove unnecessary config 2025-05-27 10:47:07 +07:00
Elian Doran b5c99b082f
docs(release): update change log 2025-05-27 09:55:24 +07:00
Elian Doran 39f1c4e57d
Merge pull request #2024 from TriliumNext/feat/metrics-endpoint
Metrics, metrics endpoint, and showing cool data
2025-05-27 09:46:35 +07:00
perf3ct ab2f27180d feat(server/metrics): add documentation around the new metrics endpoint 2025-05-26 13:51:03 +07:00
perf3ct 3479f5016d
feat(server): unit tests for metrics endpoints 2025-05-26 20:36:57 +07:00
perf3ct 758b22e6b1
feat(server): remove the use of "any" for metrics endpoint 2025-05-26 20:26:03 +07:00
perf3ct 52fb5fa298
feat(server): add metrics endpoint and functionality 2025-05-26 19:50:04 +07:00
Elian Doran a703172549
docs(release): add new entries in changelog 2025-05-26 20:54:01 +07:00
Elian Doran 3ca2b24db3
feat(client): implement clipboard fallback method 2025-05-26 20:30:32 +07:00
Elian Doran ac0f6662a6
feat(client): improve error handling if unable to copy to clipboard 2025-05-26 20:12:38 +07:00
Elian Doran a666e26194
feat(client): display message when copying code block in text note 2025-05-26 20:02:32 +07:00
Elian Doran a20e171443
chore(desktop): disable emit declarations 2025-05-26 19:35:42 +07:00
Elian Doran ba4a146b71
chore(client): fix duplicate font 2025-05-26 18:14:47 +07:00
Elian Doran 39d5c5f756
chore(server): do not emit declaration files 2025-05-26 17:50:49 +07:00
Elian Doran 79422da733
Merge pull request #2014 from FliegendeWurst/demo-mode
feat(server): add option to mount database read-only
2025-05-26 16:47:10 +07:00
Elian Doran 6a29fae7c0
Merge pull request #2003 from TriliumNext/math-edit
feat(math): support multi-line formula editing
2025-05-26 16:43:16 +07:00
Elian Doran 5fcf4afcfa
Merge branch 'develop' into math-edit 2025-05-26 16:39:01 +07:00
Elian Doran cd15116f0e
Revert "chore(desktop): disable electron forge rebuild"
This reverts commit dfad73ee02.
2025-05-26 16:38:11 +07:00
Elian Doran 97b3268429
Merge pull request #2023 from TriliumNext/feature/code_block_toolbar
Code block toolbar
2025-05-26 16:07:48 +07:00
Elian Doran ca65cafe31
docs(release): mention code blocks change 2025-05-26 15:51:14 +07:00
Elian Doran b5c09eee73
refactor(client): missing type errors for syntax highlight 2025-05-26 15:46:19 +07:00
Elian Doran 426549a189
chore(client): use translations 2025-05-26 15:40:57 +07:00
Elian Doran 612566d9d2
chore(client): use translations 2025-05-26 15:25:28 +07:00
Elian Doran b177e7a637
feat(client/read-only-text): implement copying to clipboard 2025-05-26 15:19:53 +07:00
Elian Doran 02e2b5d4ad
feat(client): add a copy button to read-only text 2025-05-26 15:17:10 +07:00
Elian Doran 4752db6bc5
style(ckeditor5/codeblock): limit language selector height 2025-05-26 12:35:38 +07:00
Elian Doran 622d026efc
refactor(ckeditor5/codeblock): simplify copy clipboard plugin 2025-05-26 12:23:11 +07:00
Elian Doran a77d89f4c7
feat(ckeditor5/codeblock): implement copy to clipboard function 2025-05-26 12:18:21 +07:00
SiriusXT 32fd575cc4 fix(math edit): preserve line breaks 2025-05-26 17:17:18 +07:00
Elian Doran fc83f67d7c
chore(ckeditor5/codeblock): add command for copying to clipboard 2025-05-26 11:37:44 +07:00
Elian Doran 5eecea52bf
feat(ckeditor5/codeblock): add copy icon 2025-05-26 11:37:26 +07:00
SiriusXT aff5a9c31d style(math): Set the default width of the math formula editing dialog 2025-05-26 16:05:27 +07:00
Elian Doran 751ed0b5d4
refactor(ckeditor5/codeblock): split dropdown into own plugin 2025-05-26 10:53:12 +07:00
Elian Doran 178ce31064
feat(ckeditor5/codeblock): add language dropdown 2025-05-26 10:09:33 +07:00
Elian Doran a1d5719fe0
feat(ckeditor5): create an empty toolbar for code blocks 2025-05-26 09:17:35 +07:00
Elian Doran bab679fd2a
fix(edit-docs): not working under NixOS 2025-05-26 08:20:48 +07:00
Elian Doran 3091eb831a
fix(client): cannot build due to import error in some circumstances 2025-05-26 08:20:39 +07:00
Elian Doran f2d99e3fc7
Merge pull request #2021 from maphew/patch-1
fix broken link to config-sample.ini
2025-05-26 08:19:17 +07:00
Elian Doran 3d22a64b5a
chore(docs): update public documentation as well 2025-05-26 08:18:54 +07:00
matt wilkie ff990839cb
fix broken link to config-sample.ini 2025-05-25 13:43:00 +07:00
Elian Doran bab8d6f12a
refactor(client): remove unused type 2025-05-25 23:12:54 +07:00
Elian Doran 2f406aea83
fix(client/search): broken search in read-only text 2025-05-25 23:09:16 +07:00
Elian Doran b4df8f75b9
fix(client/search): search broken due to highlighting 2025-05-25 23:00:53 +07:00
Elian Doran cb8a08d590
chore(nx): run client server automatically 2025-05-25 22:20:02 +07:00
Elian Doran aa72b6ebf6
Merge pull request #2020 from FliegendeWurst/patch-4
Update Repology table in README.md
2025-05-25 22:03:03 +07:00
Elian Doran 93c939bf08
fix(docker/rootless): main entry point extension 2025-05-25 21:48:12 +07:00
Elian Doran b635c74d01
fix(docker/rootless): copy sequence after switch to esbuild 2025-05-25 21:47:35 +07:00
Elian Doran 84ab4dcb8b
chore(docker): format Dockerfiles 2025-05-25 21:45:42 +07:00
Arne Keller 1bc2f876c2
Update Repology table in README.md 2025-05-25 20:30:42 +07:00
Elian Doran aa10638fd8
feat(nx/server): add build/run scripts for docker rootless 2025-05-25 21:25:43 +07:00
Elian Doran a32f355193
Merge remote-tracking branch 'origin/develop' into feat/add-rootless-dockerfiles 2025-05-25 21:22:31 +07:00
Elian Doran 9878b4d8c8
Merge pull request #2009 from TriliumNext/renovate/electron-36.x
chore(deps): update dependency electron to v36.3.1
2025-05-25 21:19:38 +07:00
Elian Doran 13a8c6c488
Merge branch 'develop' into renovate/electron-36.x 2025-05-25 21:13:29 +07:00
Elian Doran 0f7ea60be1
Merge branch 'develop' into math-edit 2025-05-25 21:05:47 +07:00
Elian Doran b6f6968c49
Merge pull request #2019 from TriliumNext/sirius_patch
Fix: Automatically close modal when dropdown is dismissed
2025-05-25 21:04:22 +07:00
Elian Doran 87f12b6e4c
Merge pull request #1992 from TriliumNext/feature/server_esbuild
Convert server to ESBuild
2025-05-25 21:03:38 +07:00
Elian Doran 549ef96806
docs(release): simplify release note & add warning for manual install 2025-05-25 20:43:48 +07:00
Elian Doran dbe16be7ad
fix({desktop,edit-docs}: zip export 2025-05-25 20:38:06 +07:00
Elian Doran 3850d471c0
fix(server): CSS raw imports 2025-05-25 20:06:04 +07:00
SiriusXT 04343fbc2e Fix: Automatically close modal when dropdown is dismissed 2025-05-26 00:17:52 +07:00
Elian Doran b0fe4f67d8
fix(edit-docs): main window not starting properly 2025-05-25 18:29:31 +07:00
Elian Doran 9688013c91
fix(server): login rendering failure 2025-05-25 17:36:53 +07:00
Elian Doran 758745f19e
fix(desktop): missing tray icon 2025-05-25 16:42:00 +07:00
Elian Doran 82f94ff3e6
fix(server): wrong import for dayjs 2025-05-25 16:33:34 +07:00
Elian Doran 470cc69a85
Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-25 16:23:39 +07:00
Elian Doran adc8e8ad73
fix(server): serving of images in dev mode 2025-05-25 14:15:12 +07:00
Elian Doran fa9d0be651
refactor(server): async import without side effects 2025-05-25 14:09:51 +07:00
Elian Doran e07a7d291b
chore(nx): remove dependency on webpack 2025-05-25 12:24:01 +07:00
Elian Doran f73daf5b95
chore(edit-docs): fix rebuild and entrypoint 2025-05-25 12:16:57 +07:00
Elian Doran 315224c046
chore(desktop): remove unnecessary files 2025-05-25 11:48:31 +07:00
Elian Doran be8749d84e
chore(edit-docs): switch to esbuild 2025-05-25 11:47:03 +07:00
Elian Doran d70140c180
chore(desktop): add electron-forge:start 2025-05-25 11:00:22 +07:00
Elian Doran 6bbf808cb4
fix(desktop): @electron/remote missing in package 2025-05-25 11:00:01 +07:00
Elian Doran f9b0df3056
chore(desktop): libraries not bundled 2025-05-25 10:12:09 +07:00
Elian Doran 469c8a0a22
chore(server-e2e): mistakenly used continuous task 2025-05-25 08:54:50 +07:00
Elian Doran ef81e505d2
Merge pull request #2016 from TriliumNext/renovate/eslint-stylistic-monorepo
chore(deps): update dependency @stylistic/eslint-plugin to v4.4.0
2025-05-25 08:37:56 +07:00
renovate[bot] 501cb2bb05
chore(deps): update dependency @stylistic/eslint-plugin to v4.4.0 2025-05-25 02:46:00 +07:00
Elian Doran 791a51dfe3
chore(desktop/forge): add missing fields 2025-05-24 21:57:09 +07:00
Elian Doran 72c1fb25a7
chore(desktop/forge): missing electron dependency 2025-05-24 21:50:18 +07:00
Elian Doran 601e81fb18
chore(desktop/forge): force presence of package.json 2025-05-24 21:47:57 +07:00
Elian Doran ddda222eee
chore(nx): sync tsconfig 2025-05-24 20:46:32 +07:00
Adorian Doran 04eb45f1e4 style(next)/tool buttons: improve selector specificity 2025-05-24 18:52:00 +07:00
FliegendeWurst 50d045b70e fix(client): don't save note tab context for read-only database 2025-05-24 17:43:08 +07:00
FliegendeWurst 5acdb698bb fix(server): don't optimize database in read-only mode 2025-05-24 17:35:52 +07:00
FliegendeWurst 23422731e2 fix(client): handle read-only in note tree auto-collapse 2025-05-24 17:35:52 +07:00
FliegendeWurst bd0cb91171 feat(server): log ignored DB changes in wrapper 2025-05-24 17:35:52 +07:00
FliegendeWurst 6f5304467a fix(client): read-only handling of recent notes 2025-05-24 17:35:52 +07:00
FliegendeWurst 8d21b3a8c5 fix(client): read-only handling in canvas note 2025-05-24 17:35:52 +07:00
FliegendeWurst 923316e14e feat(client): handle read-only database 2025-05-24 17:34:04 +07:00
Adorian Doran 6aa42a0749 style(next)/mentions list: remove the border of the focused items 2025-05-24 18:17:54 +07:00
Adorian Doran d058bbc776 style(next): add a notice 2025-05-24 18:11:23 +07:00
Adorian Doran b258a8b60f style(next): update the colors of the mention list 2025-05-24 18:00:46 +07:00
Adorian Doran c47f050994 style(next)/emoji dropdown: remove the background of the placeholder text 2025-05-24 16:58:52 +07:00
Adorian Doran 37fd8a7095 style/mentions list: workaround to avoid some CSS property overrides 2025-05-24 16:55:30 +07:00
Elian Doran f5d6fca892
Merge pull request #2006 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v21.1.2
2025-05-24 15:43:44 +07:00
Elian Doran 8218fc1545
Merge pull request #2007 from TriliumNext/renovate/diff-8.x
fix(deps): update dependency diff to v8.0.2
2025-05-24 15:42:49 +07:00
Elian Doran 3ac4113235
Merge pull request #2008 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.52.0
2025-05-24 15:42:30 +07:00
Elian Doran 200345576c
Merge pull request #2010 from TriliumNext/renovate/openai-4.x
chore(deps): update dependency openai to v4.103.0
2025-05-24 15:41:44 +07:00
Elian Doran 3bd2d865df
fix(desktop): path to main 2025-05-24 15:40:29 +07:00
Elian Doran 63022c76d8
chore(desktop): avoid forge dependencies via custom package.JSON 2025-05-24 14:40:22 +07:00
Elian Doran dfad73ee02
chore(desktop): disable electron forge rebuild 2025-05-24 12:26:32 +07:00
Elian Doran 25f214d24a
fix(desktop): set proper path to main 2025-05-24 12:26:22 +07:00
renovate[bot] 81efea083b
chore(deps): update dependency openai to v4.103.0 2025-05-24 02:29:08 +07:00
renovate[bot] 66afc72d19
chore(deps): update dependency electron to v36.3.1 2025-05-24 02:28:25 +07:00
renovate[bot] 1e55076228
chore(deps): update dependency @anthropic-ai/sdk to v0.52.0 2025-05-24 02:27:38 +07:00
renovate[bot] 978983eac2
fix(deps): update dependency diff to v8.0.2 2025-05-24 02:26:49 +07:00
renovate[bot] 6a6d68a11f
chore(deps): update nx monorepo to v21.1.2 2025-05-24 02:25:51 +07:00
Elian Doran 56dd10bd15
fix(desktop): path to forge config 2025-05-23 23:29:54 +07:00
Elian Doran 9867d1ab9f
fix(docker): reintroduce docker healthcheck 2025-05-23 22:37:16 +07:00
Elian Doran 43d9f77518
fix(desktop/esbuild): asset path not working at runtime 2025-05-23 17:56:44 +07:00
Elian Doran 64b4869939
fix(desktop/esbuild): assets & launch options 2025-05-23 17:50:28 +07:00
Elian Doran 2da3d9b1ed
fix(desktop/esbuild): rebuild not working due to lack of package.json 2025-05-23 17:50:09 +07:00
Adorian Doran 45cc8aa99b style(next)/formatting toolbar: tweak the appearance of split buttons 2025-05-23 17:49:19 +07:00
Elian Doran 6f8bf58456
chore(desktop/esbuild): convert webpack config 2025-05-23 17:33:57 +07:00
Elian Doran d7f8946c98
fix(server/esbuild): missing build dependencies 2025-05-23 17:22:15 +07:00
Elian Doran 60af6f5826
fix(server/esbuild): use separate config in order to solve dependency order issue 2025-05-23 17:11:24 +07:00
Adorian Doran a0aa7b6721 style(next)/formatting toolbar: tweak the appearance of the toolbar buttons in the "on" state 2025-05-23 17:03:34 +07:00
Adorian Doran 9389c58e89 style(next)/formatting toolbar/insert table dropdown: apply a shadow for the highlighted cell buttons 2025-05-23 16:48:10 +07:00
Elian Doran 306d75e3f3
fix(server/esbuild): runtime error due to missing jsdom 2025-05-23 16:39:34 +07:00
Adorian Doran 20c4fbc8ac style(next)/formatting toolbar: fix backdrop blur on dropdowns 2025-05-23 16:33:30 +07:00
Elian Doran 1a49a25a7d
fix(docker): extension in `start-docker.sh` 2025-05-23 13:29:51 +07:00
SiriusXT 262ec45fe0 feat(math): support multi-line formula editing 2025-05-23 17:03:07 +07:00
Elian Doran 1abf1d3f60
chore(server/esbuild): switch to cjs to embed deps 2025-05-23 11:58:36 +07:00
Adorian Doran ac1d56b1d6 client/formatting toolbar: fix the "Markdown import" button's icon 2025-05-23 02:03:20 +07:00
Adorian Doran a8dbe9baef style(next)/formatting toolbar: align to right the last button group of the toolbar 2025-05-23 01:57:58 +07:00
perf3ct aa8fd6dbd1 feat(docker): add to the rootless docker docs 2025-05-22 15:54:10 +07:00
perf3ct 6de074a976
fix(docker): have the container fill in the user variable 2025-05-22 22:47:29 +07:00
Adorian Doran bb936707c3 style(next)/formatting toolbar: tweak the "Insert table" dropdown 2025-05-23 01:45:31 +07:00
Adorian Doran df87933218 style(next)/formatting toolbar: tweak (again) the numbered list dropdown 2025-05-23 01:34:47 +07:00
Adorian Doran beb842aec0 style(next)/formatting toolbar: tweak the numbered list dropdown 2025-05-23 01:23:35 +07:00
Elian Doran 9ff2271423
chore(server): disable code splitting
Not supported due to dynamic requires which are not supported by esbuild.
2025-05-22 23:14:44 +07:00
Elian Doran 5501733498
refactor(server): unnecessary usage of fs-extra 2025-05-22 23:06:04 +07:00
Adorian Doran 4d0e956a09 style(next)/formatting toolbar: tweak the icon color of dropdown items 2025-05-22 23:00:43 +07:00
Adorian Doran 4651ce2c4c style(next)/formatting toolbar: tweak the checkmark for list items 2025-05-22 22:52:16 +07:00
perf3ct 093cd5c53f fix(docker): fix when we copy and chmod the entrypoint for rootless images 2025-05-22 12:49:38 +07:00
Adorian Doran 0616b24147 style(next)/formatting toolbar: tweak the default width of the dropdown panels 2025-05-22 22:43:36 +07:00
Elian Doran b792816d00
fix(server/esbuild): enable code splitting to help with electron imports 2025-05-22 22:36:55 +07:00
Adorian Doran a8738fd174 style(next)/formatting toolbar: tweak layout 2025-05-22 22:30:53 +07:00
Elian Doran f859114231
fix(server/esbuild): dependencies not bundled 2025-05-22 21:23:09 +07:00
Adorian Doran af5d804593 style(next)/formatting toolbar: tweak the floating toolbar show / hide button 2025-05-22 20:39:51 +07:00
Adorian Doran 795897d3b6 style(next)/formatting toolbar/color picker dropdown: remove the shadow of the selected color button 2025-05-22 20:16:58 +07:00
Elian Doran 867dd70c02
fix(docker): package.json missing for rebuild 2025-05-22 19:02:53 +07:00
Adorian Doran 66047e3569 style(next)/formatting toolbar: show the focus rectangle only when it is necessary 2025-05-22 19:02:30 +07:00
Adorian Doran 1981a26dd3 style(next)/formatting toolbar: tweak appearance 2025-05-22 18:52:18 +07:00
Elian Doran c38061c67d
chore(server-e2e): adjust for server timeout 2025-05-22 18:32:03 +07:00
Adorian Doran 27ddbf8a86 style(next)/formatting toolbar/color picker dropdown: fix the icon colors 2025-05-22 18:05:21 +07:00
Elian Doran dac801b369
fix(server/esbuild): node_modules not copied 2025-05-22 16:54:19 +07:00
Elian Doran f13ec55082
fix(server): build not depending properly 2025-05-22 16:53:27 +07:00
Elian Doran 3b9683d763
fix(server): unable to depend on src 2025-05-22 15:37:34 +07:00
Elian Doran edc180189c
Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-22 12:24:02 +07:00
Elian Doran 5444e6b9cb
refactor(server): separate build config for serve 2025-05-22 11:54:29 +07:00
Elian Doran b837f6a775
Merge pull request #1996 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v21.1.1
2025-05-22 09:28:37 +07:00
renovate[bot] 90ea0cd8b0
chore(deps): update nx monorepo to v21.1.1 2025-05-22 06:18:20 +07:00
Elian Doran 7b00dbce89
Merge pull request #1999 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.16.0
2025-05-22 09:14:49 +07:00
Elian Doran ff758690e2
Merge pull request #1997 from TriliumNext/renovate/compression-1.x
chore(deps): update dependency @types/compression to v1.8.0
2025-05-22 09:14:17 +07:00
Elian Doran 6325e8ad78
Merge pull request #1994 from TriliumNext/renovate/swc-monorepo
chore(deps): update dependency @swc/core to v1.11.29
2025-05-22 09:13:30 +07:00
Elian Doran 5438029c4f
Merge pull request #1995 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react to v19.1.5
2025-05-22 08:56:27 +07:00
Elian Doran a215c72e51
Merge pull request #1998 from TriliumNext/renovate/openai-4.x
chore(deps): update dependency openai to v4.102.0
2025-05-22 08:55:43 +07:00
renovate[bot] 5c0de8fec7
chore(deps): update node.js to v22.16.0 2025-05-22 01:57:05 +07:00
renovate[bot] a6f9a4fa62
chore(deps): update dependency openai to v4.102.0 2025-05-22 01:57:00 +07:00
renovate[bot] 0878752c56
chore(deps): update dependency @types/compression to v1.8.0 2025-05-22 01:56:17 +07:00
renovate[bot] 10b59f0297
chore(deps): update dependency @types/react to v19.1.5 2025-05-22 01:54:41 +07:00
renovate[bot] cdcc11e460
chore(deps): update dependency @swc/core to v1.11.29 2025-05-22 01:53:46 +07:00
perfectra1n 436fc4c943 fix(docker): make the rootless entrypoint print more useful information if uid/gid are wrong 2025-05-21 15:42:30 +07:00
perfectra1n d73a289a05 feat(docker): move from inline script to entrypoint 2025-05-21 15:40:21 +07:00
Adorian Doran 726a89f5f9 style(next)/formatting toolbar/color dropdowns: tweak the current color checkmark 2025-05-22 00:16:23 +07:00
Adorian Doran 123f8af4c2 style(next)/formatting toolbar: document CSS 2025-05-22 00:06:53 +07:00
Adorian Doran a1718b6613 style(next)/formatting toolbar: fix another glitch 2025-05-22 00:05:07 +07:00
Adorian Doran 492081bbbd Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-21 23:59:43 +07:00
Adorian Doran 13f2854749 style(next)/formatting toolbar: fix a glitch 2025-05-21 23:59:39 +07:00
Elian Doran a0d099d4a2
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-05-21 23:58:59 +07:00
Elian Doran e1b5736214
docs(release): update changelog 2025-05-21 23:58:54 +07:00
Adorian Doran ff63b75e3a Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-21 23:56:28 +07:00
Adorian Doran 37f712a5fc style(next)/formatting toolbar: tweak the colors of open dropdown buttons 2025-05-21 23:56:25 +07:00
Elian Doran 100184121c
Merge pull request #1984 from TriliumNext/markdown-math
fix(import): Unable to handle multi line mathematical formulas when i…
2025-05-21 23:55:51 +07:00
Elian Doran 2f208a8302
refactor(db-compare): type errors 2025-05-21 23:54:18 +07:00
Adorian Doran 31ed853ade style(next)/formatting toolbar: improve a CSS selector 2025-05-21 23:45:27 +07:00
Adorian Doran 6aae91ca69 style(next)/formatting toolbar: restyle the buttons in the "on" state 2025-05-21 23:40:38 +07:00
Elian Doran 9a18fea073
feat(server): add safeguard if public is missing 2025-05-21 23:31:40 +07:00
perf3ct a05e126d7d feat(docs): add documentation around using the rootless Docker image 2025-05-21 13:21:32 +07:00
Adorian Doran 9999540b1b style(next)/formatting toolbar: tweak the colors of collapsible dropdown sections 2025-05-21 22:59:27 +07:00
perf3ct cbbbae727f Merge branch 'develop' into feat/add-rootless-dockerfiles 2025-05-21 12:58:05 +07:00
Adorian Doran d02a52852a style(next)/formatting toolbar: tweak the "Insert table" dropdown 2025-05-21 22:44:58 +07:00
Elian Doran 8cf4040ca0
fix(server/esbuild): assets not copied in prod build 2025-05-21 22:44:40 +07:00
Adorian Doran a128b681bd style(next)/formatting toolbar: tweak the "Admonition" dropdown 2025-05-21 22:06:15 +07:00
Adorian Doran 91192de9e8 style/admonitions: fix typo 2025-05-21 21:54:28 +07:00
Adorian Doran 6efc810b74 style(next)/formatting toolbar: restyle the "Admonition" dropdown 2025-05-21 21:49:55 +07:00
Adorian Doran addafa85c3 client/formatting toolbar: add CSS classes to the "Admonition" dropdown items 2025-05-21 21:36:00 +07:00
Adorian Doran 485015103a style/admonitions: extract accent colors as CSS variables 2025-05-21 21:34:22 +07:00
FliegendeWurst 2427addf65 feat(server): override options for read-only database 2025-05-21 17:24:36 +07:00
Elian Doran dc0409e5a8
chore(nx): sync tsconfig 2025-05-21 18:20:25 +07:00
Elian Doran 6c25471f91
fix(server): resource dir for serve mode 2025-05-21 18:20:17 +07:00
Elian Doran 4d8b9a6035
fix(server): copying of assets 2025-05-21 18:20:02 +07:00
Elian Doran b59af770c2
fix(server): server not starting due to dependency on electron remote 2025-05-21 18:06:09 +07:00
FliegendeWurst fd0f0196cc feat(server): add option to mount database read-only 2025-05-21 17:00:08 +07:00
Adorian Doran 8ffe44de8a style(next)/formatting toolbar: restyle collapsible dropdown sections 2025-05-21 17:43:34 +07:00
Elian Doran 45c946352e
refactor(express-partial-content): port to esbuild 2025-05-21 17:31:40 +07:00
Elian Doran 9d6758b315
refactor(server); electron imports causing issues in bundle 2025-05-21 16:32:51 +07:00
Elian Doran fe8b905922
refactor(serve): unnecessary export causing issues with types 2025-05-21 16:32:30 +07:00
Elian Doran 3b6679a744
refactor(serve): solve some more type errors 2025-05-21 16:00:57 +07:00
Elian Doran d8cb933b2b
refactor(serve): enforce same version of express-serve-static-core typings 2025-05-21 15:57:31 +07:00
Elian Doran 0a56587c75
fix(server): import issue for share template 2025-05-21 15:43:02 +07:00
Elian Doran de83029c3a
refactor(server): various type errors 2025-05-21 15:42:53 +07:00
Elian Doran 6414dd71ab
refactor(server): more unaccessible types 2025-05-21 15:42:35 +07:00
Elian Doran 7aaa94d01b
refactor(server): missing exports causing hidden types 2025-05-21 15:34:31 +07:00
Elian Doran b9df707369
refactor(server): type errors due to change in API 2025-05-21 15:34:16 +07:00
Elian Doran 4acdad0a2b
feat(vscode): report project-level errors 2025-05-21 15:19:13 +07:00
Elian Doran 7087b493af
Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-21 15:12:56 +07:00
Adorian Doran c771d7479f style(next)/formatting toolbar: tweak the "Font Size" dropdown 2025-05-21 15:04:18 +07:00
Elian Doran 827a8fc1b4
refactor(server): solve some build type errors 2025-05-21 13:31:07 +07:00
Elian Doran afb3918571
refactor(server): switch to esbuild 2025-05-21 13:30:46 +07:00
SiriusXT 04bd541542 fix(markdown): Make the math formula conversion ignore formulas inside code blocks 2025-05-21 17:15:54 +07:00
Elian Doran 4f5aaf05b1
Merge pull request #1991 from TriliumNext/renovate/major-happy-dom-monorepo
chore(deps): update dependency happy-dom to v17
2025-05-21 09:27:46 +07:00
renovate[bot] be1242c35c
chore(deps): update dependency happy-dom to v17 2025-05-21 05:53:44 +07:00
Elian Doran a4c745690a
Merge pull request #1989 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.21
2025-05-21 08:49:13 +07:00
renovate[bot] 288cf2498c
chore(deps): update dependency @types/node to v22.15.21 2025-05-21 05:46:56 +07:00
Elian Doran a109060614
Merge pull request #1990 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to ~15.11.0
2025-05-21 08:42:17 +07:00
renovate[bot] 6ae477590b
chore(deps): update dependency happy-dom to ~15.11.0 2025-05-21 02:28:45 +07:00
Elian Doran ef3ae56174
Merge pull request #1987 from TriliumNext/renovate/nx-monorepo 2025-05-21 00:03:03 +07:00
renovate[bot] 3409d49971
chore(deps): update nx monorepo to v21.1.0 2025-05-20 20:59:03 +07:00
Elian Doran 679c6de3c0
Merge pull request #1986 from TriliumNext/renovate/webpack-5.x 2025-05-20 23:56:17 +07:00
renovate[bot] 71b4e1b46b
chore(deps): update dependency webpack to v5.99.9 2025-05-20 20:56:05 +07:00
Elian Doran ebbfbc5510
Merge pull request #1985 from TriliumNext/renovate/npm-happy-dom-vulnerability 2025-05-20 23:56:00 +07:00
renovate[bot] 898a1461a5
chore(deps): update dependency happy-dom to v15 [security] 2025-05-20 20:55:17 +07:00
Elian Doran ddc81cebfe
Merge pull request #1988 from TriliumNext/renovate/image-type-6.x 2025-05-20 23:53:13 +07:00
renovate[bot] b90c3284c6
chore(deps): update dependency image-type to v6 2025-05-20 17:44:04 +07:00
Elian Doran a0a5a2c90d
Merge pull request #1956 from TriliumNext/client_vite
Port client to Vite
2025-05-20 20:34:50 +07:00
Elian Doran e573fd7fdb
fix(server): serving of Excalidraw assets 2025-05-20 20:19:34 +07:00
Elian Doran 5d47d2652d
test(server): broken test due to changes in path 2025-05-20 19:47:34 +07:00
Elian Doran 74a15ee6a4
fix(server): root assets path in dev mode 2025-05-20 19:34:21 +07:00
Elian Doran 61aeb2c9ff
chore(server): separate port for start-prod 2025-05-20 19:16:46 +07:00
Elian Doran 303819605a
fix(in-app-help): error in prod 2025-05-20 19:16:39 +07:00
Elian Doran ccb7dc557c
fix(server): missing bootstrap in prod 2025-05-20 19:16:23 +07:00
Elian Doran 9c1a65427f
fix(in-app-help): rendering in dev mode 2025-05-20 18:33:25 +07:00
Elian Doran d06b2c4c00
fix(server): @fs proxy not working correctly 2025-05-20 18:23:02 +07:00
Elian Doran 7e1eaafc25
fix(client): highlightjs not working properly in dev mode 2025-05-20 18:06:55 +07:00
SiriusXT 6a9b44e4a1 Fixed indentation 2025-05-20 22:14:30 +07:00
SiriusXT 6e8e343301 fix(import): Unable to handle multi line mathematical formulas when importing markdown 2025-05-20 22:03:40 +07:00
vanndoublen f640c9212e
Merge branch 'develop' into feature/custom-datetime-format 2025-05-20 19:55:45 +07:00
iamvann d1f8e651f4 fix: address the review feedback 2025-05-20 19:46:50 +07:00
Elian Doran c34b4ceba5
fix(client): wrong name for assets 2025-05-20 12:29:36 +07:00
Elian Doran 0edbc7311a
chore(deps): remove cdn-assets from client 2025-05-20 12:13:32 +07:00
Elian Doran aa298fa80b
fix(client): optimizing highlightjs causes issues in prod 2025-05-20 12:12:31 +07:00
Elian Doran 02dd61fad6
Revert "fix(client/vite): highlight.js not playing well with ESM-native"
This reverts commit 7702a87640.
2025-05-20 11:58:11 +07:00
Elian Doran 6d4c57f136
chore(deps): explicit dependency on highlight.js 2025-05-20 11:58:08 +07:00
Elian Doran 9ec08fd63f
Revert "test(highlightjs): broken import"
This reverts commit c7a4c927c6.
2025-05-20 11:57:30 +07:00
Elian Doran 17187e2de1
Revert "test(highlightjs): another broken import"
This reverts commit 7743f99b6f.
2025-05-20 11:57:24 +07:00
Elian Doran 2b02c4856e
Revert "fix(highlightjs): broken imports for syntax highlighting"
This reverts commit b242809eb2.
2025-05-20 11:57:17 +07:00
Elian Doran 26aba7866c
Revert "fix(highlightjs): languages incorrectly imported"
This reverts commit 6286c39381.
2025-05-20 11:56:43 +07:00
Elian Doran 57108d4dfd
Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-20 11:02:01 +07:00
Elian Doran 8f3d98b14b
docs(release): update 2025-05-20 10:55:10 +07:00
Elian Doran 82242a8c16
Merge pull request #1962 from TriliumNext/left-pane
Fix: The button for toggling the left pane visibility in the launcher…
2025-05-20 10:52:48 +07:00
Elian Doran 4985b043fc
Merge pull request #1975 from TriliumNext/update-button
fix(global_menu): Fix update button is blank
2025-05-20 10:50:49 +07:00
Elian Doran ff6630f236
Merge pull request #1976 from FliegendeWurst/readme-rewrite
Reorganize + rewrite readme, reducing redundancy
2025-05-20 10:48:56 +07:00
Elian Doran fb379c908c
Merge pull request #1977 from TriliumNext/renovate/leaflet-1.x
chore(deps): update dependency @types/leaflet to v1.9.18
2025-05-20 10:39:46 +07:00
Elian Doran 4e4da17644
Merge pull request #1980 from TriliumNext/renovate/multer-2.x
chore(deps): update dependency multer to v2
2025-05-20 10:38:31 +07:00
Elian Doran 8bb90a4dd0
Merge pull request #1982 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.12
2025-05-20 10:37:49 +07:00
renovate[bot] 528bd9ca03
fix(deps): update dependency marked to v15.0.12 2025-05-20 07:14:26 +07:00
Elian Doran 36f46e1e45
chore(deps): remove unnecessary @types 2025-05-20 10:14:16 +07:00
SiriusXT 8aa3a96857 Merge branch 'develop' into left-pane 2025-05-20 15:10:52 +07:00
Elian Doran f5d8aeb2dc
Merge pull request #1966 from TriliumNext/renovate/diff-8.x
chore(deps): update dependency @types/diff to v8
2025-05-20 10:09:58 +07:00
Elian Doran 571617f89e
Merge branch 'develop' into renovate/leaflet-1.x 2025-05-20 10:08:26 +07:00
Elian Doran 332a330ab9
Merge pull request #1978 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.1.4
2025-05-20 09:50:40 +07:00
Elian Doran 75710a195f
Merge pull request #1979 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25.2.0
2025-05-20 09:50:16 +07:00
SiriusXT 025c6a4e0e fix(leftpaneVisibility): Make leftpane visibility switch no longer depend on entitiesReloadedEvent 2025-05-20 14:33:01 +07:00
FliegendeWurst 35d68b0778 Reorganize + rewrite readme, reducing redundancy 2025-05-20 08:17:03 +07:00
renovate[bot] 48f8feb6e1
chore(deps): update dependency multer to v2 2025-05-20 02:48:51 +07:00
renovate[bot] 28cc563f54
fix(deps): update dependency i18next to v25.2.0 2025-05-20 02:48:09 +07:00
renovate[bot] 167a2aff5b
chore(deps): update vitest monorepo to v3.1.4 2025-05-20 02:47:21 +07:00
renovate[bot] 9ae05cb95e
chore(deps): update dependency @types/leaflet to v1.9.18 2025-05-20 02:46:00 +07:00
Elian Doran 0be40012ba
chore(vite): get rid of missing boxicons 2025-05-19 20:16:49 +07:00
Elian Doran 40aa71b2b4
fix(vite): serving of source assets 2025-05-19 20:04:51 +07:00
Elian Doran e536ec4cbf
fix(vite): use base path 2025-05-19 19:51:33 +07:00
Elian Doran 6286c39381
fix(highlightjs): languages incorrectly imported 2025-05-19 19:05:33 +07:00
Elian Doran b242809eb2
fix(highlightjs): broken imports for syntax highlighting 2025-05-19 18:58:32 +07:00
Elian Doran 7743f99b6f
test(highlightjs): another broken import 2025-05-19 18:49:35 +07:00
Elian Doran c7a4c927c6
test(highlightjs): broken import 2025-05-19 18:45:43 +07:00
Elian Doran cad6417c4d
fix(client): loading app CSS no longer working 2025-05-19 18:40:04 +07:00
Elian Doran 8a1f05cd26
refactor(client): remove library loader entirely 2025-05-19 18:23:23 +07:00
SiriusXT 501fab2736 Merge branch 'develop' into left-pane 2025-05-19 23:17:43 +07:00
Elian Doran 7702a87640
fix(client/vite): highlight.js not playing well with ESM-native 2025-05-19 18:09:37 +07:00
Elian Doran a5f0b3b9b2
Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-19 16:50:00 +07:00
Elian Doran 7d0d7e931c
Merge pull request #1970 from TriliumNext/feature/highlightjs
Improve Highlight.js integration
2025-05-19 16:47:33 +07:00
Elian Doran 41533598fd
Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-19 16:42:11 +07:00
Elian Doran 6131ae68bb
chore(highlightjs): tests not runnable 2025-05-19 16:30:00 +07:00
Elian Doran f859b374a3
Merge remote-tracking branch 'origin/develop' into feature/highlightjs 2025-05-19 16:06:24 +07:00
Elian Doran 1e3c2e4214
fix(highlighting): theme IDs contain spaces 2025-05-19 15:01:35 +07:00
SiriusXT fdcccb6fe4 fix(css): Add a missing semicolon 2025-05-19 18:33:26 +07:00
SiriusXT de0d041886 fix(css): Add a missing css space 2025-05-19 18:30:39 +07:00
SiriusXT abfdf40e43 fix(global_menu): Fix update button is blank 2025-05-19 18:27:22 +07:00
Elian Doran dcb136026b
Merge pull request #1971 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.19
2025-05-19 09:47:23 +07:00
renovate[bot] 93e168db89
chore(deps): update dependency @types/node to v22.15.19 2025-05-19 02:12:39 +07:00
Elian Doran 6b919b4f99
feat(highlighting): add tccn3 2025-05-18 22:40:59 +07:00
Elian Doran 42c61ae9cb
feat(highlighting): add rpm specfile 2025-05-18 22:24:21 +07:00
Elian Doran b80ca1eef2
feat(highlighting): add dylan 2025-05-18 22:13:58 +07:00
Elian Doran a520e72a15
feat(highlighting): add cobol 2025-05-18 22:03:30 +07:00
Elian Doran 0572295c51
feat(highlighting): add mirc 2025-05-18 21:59:55 +07:00
Elian Doran 51545b39bb
feat(highlighting): add systemverilog 2025-05-18 21:44:01 +07:00
Elian Doran 973d9c2192
feat(highlighting): add swift 2025-05-18 21:42:40 +07:00
Elian Doran 4877b4569f
feat(highlighting): add scheme 2025-05-18 21:39:47 +07:00
Elian Doran 475a4d05db
feat(highlighting): add scala 2025-05-18 21:39:12 +07:00
Elian Doran 59ca0e981a
feat(highlighting): add perl 2025-05-18 21:36:18 +07:00
Elian Doran 755d74feff
feat(highlighting): add clojurescript 2025-05-18 21:30:33 +07:00
Elian Doran a0140455bf
feat(highlighting): add jinja2 2025-05-18 21:24:59 +07:00
Elian Doran a8f810becd
feat(highlighting): add XML-DTD 2025-05-18 21:22:33 +07:00
Elian Doran 6a3a6243c4
feat(highlight): add cypher 2025-05-18 21:18:45 +07:00
Elian Doran eb77a880dc
feat(highlight): add gdscript 2025-05-18 21:10:26 +07:00
Elian Doran 784e434fc8
refactor(client): remove unnecessary code 2025-05-18 20:23:43 +07:00
Elian Doran f92047bcac
refactor(common): rename highlightjs to markdown language code 2025-05-18 20:22:32 +07:00
Elian Doran 9642f209a0
fix(highlight.js): occasional crash when multiple code blocks in read-only mode 2025-05-18 20:11:07 +07:00
Elian Doran a3c39bbf5e
refactor(highlight.js): fix build error for HCL language 2025-05-18 19:57:11 +07:00
Elian Doran 9a9e990e97
fix(highlighting): highlighting not always applying to read-only text at first start 2025-05-18 19:37:16 +07:00
Elian Doran df6797d9ea
fix(highlighting): highlighting not working immediately after a refresh 2025-05-18 19:34:27 +07:00
Elian Doran 1a4d1bc791
refactor(commons): deduplicate mime_type_definitions 2025-05-18 19:33:11 +07:00
Elian Doran 6c70bd6ed6
chore(highlightjs): reintroduce no syntax highlight 2025-05-18 19:16:44 +07:00
Elian Doran 4537dfa660
chore(highlightjs): reintroduce grouping of themes 2025-05-18 18:58:46 +07:00
Elian Doran 5a186e6853
fix(highlightjs): syntax highlight not working in settings 2025-05-18 18:34:12 +07:00
Elian Doran f6728ca931
refactor(highlightjs): get rid of highlight.js in library loader 2025-05-18 18:28:08 +07:00
Elian Doran b998dee476
chore(highlightjs): reintegrate loading of themes 2025-05-18 18:24:35 +07:00
Elian Doran 66cbe468f5
chore(highlightjs): load theme by IDs 2025-05-18 17:50:31 +07:00
Elian Doran 8b11f25f0c
chore(highlightjs): introduce client-level list of themes 2025-05-18 17:12:45 +07:00
Elian Doran 488761d4b9
fix(highlightjs): loading all supported languages at once 2025-05-18 16:11:40 +07:00
Elian Doran b0ebeb22d5
fix(highlightjs): unable to match due to init normalization 2025-05-18 16:05:50 +07:00
SiriusXT 0d09a7558f fix: Incorrectly calculating rest-pane width 2025-05-18 20:19:30 +07:00
Elian Doran 4fad4de319
chore(highlightjs): basic integration 2025-05-18 15:16:53 +07:00
Elian Doran 2c4b28c6cb
refactor(highlightjs): remove alias 2025-05-18 14:24:54 +07:00
Elian Doran fd52b9ec4b
test(highlightjs): ensure language registration works 2025-05-18 14:23:10 +07:00
SiriusXT 9682253ced fix: Incorrectly calculating rest-pane width in https://github.com/TriliumNext/Notes/pull/1962 2025-05-18 18:38:52 +07:00
SiriusXT 0e9c381df4 fix(launcher-pane): Prevent the launcher pane from being compressed 2025-05-18 18:19:54 +07:00
Elian Doran b6557d2a42
chore(highlightjs): fix deprecation warning 2025-05-18 11:33:53 +07:00
Elian Doran 6f96a0ef4c
chore(highlightjs): integrate terraform 2025-05-18 11:33:02 +07:00
Elian Doran 294727600b
feat(highlightjs): add test 2025-05-18 11:26:59 +07:00
SiriusXT 22b64a0dc4 fix(ui): Exclude launcher pane width from Split calculation; Record Split state for multiple windows 2025-05-18 16:24:13 +07:00
Elian Doran 6625997554
chore(highlightjs): map definitions 2025-05-18 11:12:40 +07:00
Elian Doran e0aa6f9200
chore(highlightjs): create empty mapping file 2025-05-18 10:13:38 +07:00
Elian Doran 51f2b9fc81
fix(highlightjs): integrate with the rest of the application 2025-05-18 10:05:02 +07:00
Elian Doran 5205320d44
fix(highlightjs): integration with editable text 2025-05-18 10:01:35 +07:00
renovate[bot] d650532e10
chore(deps): update dependency @types/diff to v8 2025-05-18 06:29:49 +07:00
SiriusXT c65f0d4249 Fix (left pane toggle logic): properly handle both synced and current window visibility states 2025-05-18 10:22:49 +07:00
Elian Doran e4f633d827
refactor(highlightjs): export necessary methods 2025-05-18 00:31:20 +07:00
Elian Doran 7bfe261ac6
refactor(highlightjs): move dependency 2025-05-18 00:20:43 +07:00
Elian Doran d4fab87ed9
refactor(highlightjs): create separate project 2025-05-18 00:16:09 +07:00
Elian Doran 932a371b3a
chore(server): remove unnecessary CSS 2025-05-18 00:03:16 +07:00
Elian Doran c0c79b123f
fix(mobile): apply same fix about jquery 2025-05-18 00:01:53 +07:00
Elian Doran c1648f9742
chore(client): suppress module level directives warnings 2025-05-17 23:57:08 +07:00
Elian Doran c1ae5b22a1
chore(client): suppress SCSS warnings 2025-05-17 23:57:07 +07:00
Elian Doran 84d9198396
refactor(client): tree CSS 2025-05-17 23:11:17 +07:00
Elian Doran 901ab54e64
fix(client): missing fancytree dependencies 2025-05-17 23:07:01 +07:00
Elian Doran 67d0d0f5ca
refactor(client): different method for loading jquery 2025-05-17 22:52:57 +07:00
Elian Doran 4b22d05aca
refactor(server): remove leftover autocomplete in EJS 2025-05-17 22:42:50 +07:00
iamvann 2e3a8dfacb fix/commet 2025-05-18 03:36:39 +07:00
Elian Doran 23db7fe602
chore(client): partial integrate jquery.fancytree 2025-05-17 22:15:10 +07:00
iamvann 4fbfcefa94 feat: Implement configurable date/time format for Alt+T shortcut 2025-05-18 03:14:18 +07:00
Elian Doran 3f2a0e302d
refactor(client): integrate jquery-hotkeys 2025-05-17 21:27:23 +07:00
Elian Doran a4cfef7892
fix(canvas): proxying of fonts 2025-05-17 19:52:04 +07:00
Elian Doran 56d4d7c20f
Merge pull request #1955 from TriliumNext/feature/db_session_store
In-database session store
2025-05-17 19:51:02 +07:00
Elian Doran 0b4f362983
Merge remote-tracking branch 'origin/develop' into feature/db_session_store 2025-05-17 18:59:45 +07:00
Elian Doran efc5269474
fix(test): import errors due to session parser 2025-05-17 18:58:18 +07:00
SiriusXT 7e64e31dfe Fix: The button for toggling the left pane visibility in the launcher was initially not visible on startup 2025-05-17 23:51:37 +07:00
Elian Doran 3cf27026b2
Merge pull request #1961 from TriliumNext/toc
style(toc): Adjust the CSS of the TOC
2025-05-17 18:05:03 +07:00
SiriusXT 9d7ac79a25 style(toc): Adjust the CSS of the TOC 2025-05-17 21:55:10 +07:00
SiriusXT 6c2c84d941 style(toc): Adjust the CSS of the TOC 2025-05-17 17:33:29 +07:00
Elian Doran 17b444241d
Merge pull request #1948 from TriliumNext/docs 2025-05-17 12:17:51 +07:00
Elian Doran 25ef844038
Merge pull request #1959 from TriliumNext/renovate/eslint-linter-browserify-9.x 2025-05-17 12:16:40 +07:00
JYC333 3222765bb6 add sync known issue 2025-05-17 16:00:15 +07:00
Elian Doran 5dbf78ff33
Merge pull request #1960 from TriliumNext/renovate/eslint-monorepo
fix(deps): update eslint monorepo to v9.27.0
2025-05-17 10:58:25 +07:00
Elian Doran 69487167cc
Merge pull request #1958 from TriliumNext/renovate/openai-4.x
chore(deps): update dependency openai to v4.100.0
2025-05-17 10:58:14 +07:00
Elian Doran 626e321f52
fix(math): proxying of fonts 2025-05-17 10:50:52 +07:00
renovate[bot] 58e197004c
fix(deps): update eslint monorepo to v9.27.0 2025-05-17 07:38:59 +07:00
renovate[bot] c433ef7210
fix(deps): update dependency eslint-linter-browserify to v9.27.0 2025-05-17 07:38:27 +07:00
renovate[bot] ce6ce988d7
chore(deps): update dependency openai to v4.100.0 2025-05-17 07:37:53 +07:00
JYC333 1206053fce
Merge pull request #1957 from TriliumNext/renovate/express-4.x-lockfile
chore(deps): update dependency @types/express to v4.17.22
2025-05-17 15:36:08 +07:00
Elian Doran 7b787fff59
feat(client): integrate katex 2025-05-17 10:31:31 +07:00
JYC333 4dcb697a8f use admonition 2025-05-17 15:26:51 +07:00
Elian Doran 255e529714
fix(share): content.css missing 2025-05-17 10:13:03 +07:00
Elian Doran f7471b5a12
fix(share): script not loadable due to ESM 2025-05-17 10:08:18 +07:00
Elian Doran 786233ab06
fix(share): script not loadable due to relative path 2025-05-17 10:07:48 +07:00
Elian Doran 470ac18cba
feat(client): integrate normalize.css 2025-05-17 10:03:37 +07:00
renovate[bot] d98eeab95a
chore(deps): update dependency @types/express to v4.17.22 2025-05-17 06:53:52 +07:00
Elian Doran a564a0df86
Merge branch 'develop' into feature/db_session_store 2025-05-17 09:51:18 +07:00
Elian Doran a5952b76d2
fix(test/server): dayjs initialization issue 2025-05-17 09:45:53 +07:00
JYC333 2f3f8b31cf improve MFA docs 2025-05-17 10:13:00 +07:00
Elian Doran bfa4c09c7e
fix(client): integrate highlight.js (partially) 2025-05-17 01:43:37 +07:00
Elian Doran 875075e8c4
fix(client): emoji definitions 2025-05-17 01:39:31 +07:00
Elian Doran ac2e5fc3b7
fix(client): integrate autocomplete into client 2025-05-17 01:29:51 +07:00
Elian Doran 90ee0965c7
fix(client): integrate boxicons into client 2025-05-17 01:23:50 +07:00
Elian Doran 278cdf64f2
feat(server): serve client directly instead of proxying 2025-05-17 00:51:06 +07:00
Elian Doran cb381d01c1
chore(server): remove URL logging to increase performance slightly 2025-05-17 00:23:45 +07:00
Elian Doran b678e4ea28
fix(server): package.json not accessible 2025-05-17 00:14:20 +07:00
Elian Doran 83058e91b0
fix(server): some dist assets not served properly 2025-05-17 00:08:49 +07:00
Elian Doran dd73517e7f
fix(server): some assets not served properly 2025-05-17 00:05:42 +07:00
Elian Doran a3a810cbec
Merge branch 'feature/db_session_store' into client_vite 2025-05-16 23:57:32 +07:00
Elian Doran df27cf4c77
chore(release): mention session change 2025-05-16 23:56:18 +07:00
Elian Doran c6434729bc
chore(server/session): get rid of file-session dependency 2025-05-16 23:52:58 +07:00
Elian Doran afec7918dd
fix(server/session): respect cookie expiration date 2025-05-16 23:47:39 +07:00
Elian Doran 15a513d7cd
feat(server/session): clean up expired sessions 2025-05-16 23:44:41 +07:00
Elian Doran 43ab13e126
refactor(server/session): better error management 2025-05-16 23:36:56 +07:00
Elian Doran b313b0b965
chore(server/session): implement session get 2025-05-16 23:31:42 +07:00
Elian Doran dfb8c9f4ce
chore(server/session): implement session destroy 2025-05-16 23:24:17 +07:00
Elian Doran c3770f0dae
chore(server/session): implement session write 2025-05-16 23:22:14 +07:00
Elian Doran ec39667cba
feat(server/session): update database to hold session information 2025-05-16 23:07:23 +07:00
Elian Doran 390b384936
refactor(server): remove unnecessary script 2025-05-16 22:56:00 +07:00
Elian Doran d3488ca96a
refactor(server): fix vite runtime not proxied 2025-05-16 22:55:49 +07:00
Elian Doran ae2eb9f4bb
refactor(server): fix script dir for libraries 2025-05-16 22:39:52 +07:00
Elian Doran ac79ae29f2
refactor(server): fix stylesheet paths 2025-05-16 22:27:01 +07:00
Elian Doran 1d675538a8
refactor(server): improve script URL rewriting 2025-05-16 22:24:12 +07:00
Elian Doran d4dbe1cb89
fix(server): proxying of inner client modules 2025-05-16 22:10:06 +07:00
Elian Doran e28a64a037
fix(client/vite): handle static assets 2025-05-16 21:31:57 +07:00
Elian Doran 6ccfa0940f
fix(client/vite): runtime error due to chunk name 2025-05-16 21:11:03 +07:00
Elian Doran 4d2ae6a34f
fix(client/vite): build errors due to top-level async 2025-05-16 21:06:30 +07:00
Elian Doran e23400bec1
fix(client/vite): build errors due to mark.js 2025-05-16 21:06:21 +07:00
Elian Doran 016d59fae1
refactor(client/vite): first setup 2025-05-16 20:48:29 +07:00
Elian Doran a3a1667351
docs(release): note collapsible toc 2025-05-16 20:17:13 +07:00
Elian Doran 6dc8e3a0e3
Merge pull request #1954 from TriliumNext/toc
feat(toc): Collapsible TOC
2025-05-16 20:00:23 +07:00
Elian Doran 1d58b285de
fix(server): week notes broken due to misuse of transactions 2025-05-16 19:09:54 +07:00
SiriusXT c80d7a3ec3 feat(toc): Collapsible TOC 2025-05-16 21:25:10 +07:00
Elian Doran e946bde939
chore(desktop): use electron 35 for NixOS 2025-05-16 10:49:47 +07:00
Elian Doran b84e14b8ce
refactor(client): use proper imports for translation 2025-05-16 10:49:35 +07:00
JYC333 ee98f79187
Merge pull request #1949 from TriliumNext/renovate/electron-36.x
chore(deps): update dependency electron to v36.2.1
2025-05-16 11:53:05 +07:00
JYC333 ca9583bf1d
Merge pull request #1950 from TriliumNext/renovate/vite-plugin-dts-4.x-lockfile
chore(deps): update dependency vite-plugin-dts to v4.5.4
2025-05-16 11:52:32 +07:00
JYC333 55c6c75104
Merge pull request #1953 from TriliumNext/renovate/webdriverio-monorepo
chore(deps): update dependency webdriverio to v9.14.0
2025-05-16 11:52:08 +07:00
JYC333 6050f5aa91
Merge pull request #1951 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.15.1
2025-05-16 11:51:13 +07:00
JYC333 17a570486d
Merge pull request #1952 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.51.0
2025-05-16 11:50:37 +07:00
JYC333 479ef63480 update MFA docs 2025-05-16 11:02:06 +07:00
renovate[bot] 90a5233f04
chore(deps): update dependency webdriverio to v9.14.0 2025-05-16 02:47:54 +07:00
renovate[bot] 2aa0e3b765
chore(deps): update dependency @anthropic-ai/sdk to v0.51.0 2025-05-16 02:46:58 +07:00
renovate[bot] 5b904dc65b
chore(deps): update node.js to v22.15.1 2025-05-16 02:46:08 +07:00
renovate[bot] 0924bf1ad5
chore(deps): update dependency vite-plugin-dts to v4.5.4 2025-05-16 02:46:04 +07:00
renovate[bot] 515a63028b
chore(deps): update dependency electron to v36.2.1 2025-05-16 02:44:32 +07:00
JYC333 d95a313dad update MFA docs 2025-05-16 10:41:32 +07:00
Elian Doran a7cb2c0c23
fix(ci/docker): add missing build step 2025-05-15 21:54:31 +07:00
Elian Doran 105e7d821a
fix(style): calendar tooltip wrongly positioned on horizontal layout 2025-05-15 21:28:17 +07:00
Elian Doran 6a8a870c08
style(next): fix regression in autocomplete selection 2025-05-15 21:28:17 +07:00
Elian Doran ff075464a2
chore(types): fix error in backend log due to mismatching types 2025-05-15 21:28:17 +07:00
Elian Doran 7c1b13a2e7
feat(backend_log): disable some editor features to increase performance 2025-05-15 21:28:17 +07:00
Elian Doran 9133aab6ad
fix(backend_log): editor crashing 2025-05-15 21:28:07 +07:00
Elian Doran 1893037ad2
fix(ci): bypass an NX error 2025-05-15 19:32:53 +07:00
Elian Doran 517a06e068
fix(ci): use proper command to run playwright 2025-05-15 19:09:02 +07:00
Elian Doran 14a1455c5f
chore(release): update change log 2025-05-15 19:09:01 +07:00
Elian Doran 7c753117b8
Merge pull request #1913 from TriliumNext/css-tweaks
Some css fine tunes
2025-05-15 19:05:36 +07:00
Elian Doran eed5ce0ff6
Merge pull request #1942 from TriliumNext/renovate/ckeditor-monorepo
fix(deps): update ckeditor monorepo to v45.1.0
2025-05-15 19:03:47 +07:00
Elian Doran 7fe6696d36
fix(ci): docker path to database 2025-05-15 18:41:56 +07:00
Elian Doran 2f12d1a69f
fix(ckeditor): image upload not working 2025-05-15 18:09:33 +07:00
Elian Doran 1d2c3fc7a7
fix(ci): adapt playwright config for docker 2025-05-15 17:24:24 +07:00
Elian Doran 9a825a76b5
fix(ci): main docker build failing due to path to Dockerfile 2025-05-15 17:07:40 +07:00
Elian Doran 27eed9b25e
fix(attributes): attributes context menu no longer triggering 2025-05-15 14:09:41 +07:00
Elian Doran b7d118a12c
fix(attributes): reference links not working 2025-05-15 12:17:59 +07:00
Elian Doran ff89ab646c
fix(text): auto-completion not working 2025-05-15 11:56:49 +07:00
renovate[bot] f3fd4dd273
fix(deps): update ckeditor monorepo to v45.1.0 2025-05-15 05:41:52 +07:00
Elian Doran 826230311a
Merge pull request #1938 from TriliumNext/renovate/codemirror
fix(deps): update codemirror
2025-05-15 08:39:43 +07:00
renovate[bot] e46631dd58
fix(deps): update codemirror 2025-05-15 05:35:48 +07:00
Elian Doran 850823a3ca
Merge pull request #1939 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25.1.3
2025-05-15 08:34:51 +07:00
Elian Doran f5b38662f6
Merge pull request #1943 from TriliumNext/renovate/diff-8.x
fix(deps): update dependency diff to v8
2025-05-15 08:33:39 +07:00
renovate[bot] e4df610eeb
fix(deps): update dependency diff to v8 2025-05-15 05:29:53 +07:00
renovate[bot] faa4871351
fix(deps): update dependency i18next to v25.1.3 2025-05-15 05:29:07 +07:00
Elian Doran 221cfe2652
Merge pull request #1935 from TriliumNext/feature/fix_transaction_issues
Fix transaction issues
2025-05-15 08:25:55 +07:00
Elian Doran 35c9f10188
Merge pull request #1941 from TriliumNext/renovate/pnpm-10.x
chore(deps): update pnpm to v10.11.0
2025-05-15 08:23:49 +07:00
Elian Doran d400895f96
Merge pull request #1940 from TriliumNext/renovate/sanitize-html-2.x
chore(deps): update dependency sanitize-html to v2.17.0
2025-05-15 08:22:43 +07:00
Elian Doran f70412eb11
Merge pull request #1937 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.18
2025-05-15 08:21:13 +07:00
renovate[bot] 4705d795b2
chore(deps): update pnpm to v10.11.0 2025-05-15 02:17:17 +07:00
renovate[bot] 72e10df6c2
chore(deps): update dependency sanitize-html to v2.17.0 2025-05-15 02:15:24 +07:00
renovate[bot] dd8a772fa2
chore(deps): update dependency @types/node to v22.15.18 2025-05-15 02:12:56 +07:00
Elian Doran a333f8a59a
fix(server): async routes causing transaction issues 2025-05-14 22:58:53 +07:00
Elian Doran c8ace1e0b2
refactor(server): use separate method for async route 2025-05-14 22:30:02 +07:00
Elian Doran 6f3339211c
refactor(server): separate routes from route API 2025-05-14 22:11:30 +07:00
Elian Doran acc83ae1c2
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-14 20:42:03 +07:00
Elian Doran 0b2fab887b
chore(monorepo): remove unnecessary files 2025-05-14 19:54:13 +07:00
Jon Fuller 6430d7048d
Merge branch 'develop' into feat/add-rootless-dockerfiles 2025-05-14 09:02:47 +07:00
Elian Doran 334d9afa5f
Merge pull request #1924 from TriliumNext/feature/signing_issues
Investigate signing issues
2025-05-14 18:48:28 +07:00
Elian Doran 50157ed525
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-14 18:44:32 +07:00
Elian Doran e10069a03e
feat(code): full-height background 2025-05-14 18:30:39 +07:00
JYC333 01bd3ad64b update pnpm 2025-05-14 23:14:36 +07:00
Elian Doran d91fd0f2d0
chore(signing): disable debug 2025-05-14 13:03:48 +07:00
Elian Doran 4adaf97127
feat(signing): improve error logging in case of error 2025-05-14 13:03:09 +07:00
Elian Doran 19534c391f
chore(release): update change log for #1933 2025-05-14 12:58:11 +07:00
Elian Doran 5c8d3f9c51
Merge pull request #1933 from TriliumNext/codemirror_find
fix(find): readonly code getSelection
2025-05-14 12:56:55 +07:00
SiriusXT 05f441924a Remove read-only checks of find 2025-05-14 14:46:42 +07:00
Elian Doran 1abcf7244f
fix(signing): fix wrong source path 2025-05-14 09:25:19 +07:00
Elian Doran f4e2296d9b
fix(signing): wrong path import 2025-05-14 09:02:37 +07:00
Elian Doran d1607dcfb5
Merge pull request #1925 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.50.4
2025-05-14 08:49:12 +07:00
Elian Doran 8a5708b5ba
Merge pull request #1927 from TriliumNext/renovate/debug-4.x
chore(deps): update dependency debug to v4.4.1
2025-05-14 08:48:38 +07:00
renovate[bot] 274410956c
chore(deps): update dependency debug to v4.4.1 2025-05-14 05:29:11 +07:00
Elian Doran d81bec9ec6
Merge pull request #1928 from TriliumNext/renovate/supertest-7.x
chore(deps): update dependency supertest to v7.1.1
2025-05-14 08:28:31 +07:00
renovate[bot] ac18be8334
chore(deps): update dependency @anthropic-ai/sdk to v0.50.4 2025-05-14 05:28:23 +07:00
Elian Doran 4c2408def1
Merge pull request #1929 from TriliumNext/renovate/react-monorepo
chore(deps): update react monorepo
2025-05-14 08:28:06 +07:00
Elian Doran af81c5913b
Merge pull request #1930 from TriliumNext/renovate/codemirror
fix(deps): update dependency @codemirror/view to v6.36.8
2025-05-14 08:27:12 +07:00
Elian Doran c71f23a0f0
Merge pull request #1931 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.6
2025-05-14 08:26:28 +07:00
Elian Doran 1b47c69a69
Merge pull request #1932 from TriliumNext/renovate/webdriverio-monorepo
chore(deps): update dependency webdriverio to v9.13.0
2025-05-14 08:26:10 +07:00
SiriusXT 3dd13ca321 fix(find): readonly code getSelection 2025-05-14 11:13:22 +07:00
renovate[bot] dbcbbe843a
chore(deps): update dependency webdriverio to v9.13.0 2025-05-14 01:44:58 +07:00
renovate[bot] fb41908f5a
fix(deps): update dependency force-graph to v1.49.6 2025-05-14 01:44:04 +07:00
renovate[bot] 36b7d20b8a
fix(deps): update dependency @codemirror/view to v6.36.8 2025-05-14 01:43:16 +07:00
renovate[bot] c8e83f8bc4
chore(deps): update react monorepo 2025-05-14 01:41:38 +07:00
renovate[bot] 63f3152365
chore(deps): update dependency supertest to v7.1.1 2025-05-14 01:40:54 +07:00
perf3ct caccbf49c0
feat(client): try a different approach to handling read-only threshold
feat(client): revert note_details.ts
2025-05-13 22:02:59 +07:00
perf3ct f07ad03343
feat(client): support temporarily disabling read-only note when read-only threshold is triggered
feat(client): stop the cursor from going to the top of the note when note transitions to read-only but we're still editing

feat(client): stop the cursor from going to the top of the note when note transitions to read-only but we're still editing, take 2
2025-05-13 22:02:59 +07:00
Elian Doran 293167c93e
chore(signing): remove lstat 2025-05-13 22:38:57 +07:00
Elian Doran 4bb0783790
chore(signing): add debug logs 2025-05-13 22:38:24 +07:00
Elian Doran cffdaf46f6
docs(release): credit ctrl+shift+click change 2025-05-13 21:58:53 +07:00
Elian Doran 988997b118
docs(release): credit documentation changes 2025-05-13 21:57:58 +07:00
Elian Doran 02ac77dfda
Merge pull request #1922 from TriliumNext/docs/update-readme-for-pnmpm
feat(docs): add documentation links and updated pnpm commands to README
2025-05-13 21:56:48 +07:00
Elian Doran 1854d3ef59
Merge pull request #1921 from TriliumNext/docs/add-upload-size-env-var-docs
Add documentation around setting the various environment variables to control upload size limit
2025-05-13 21:56:37 +07:00
Elian Doran 73e1487cab
Merge pull request #1908 from TriliumNext/feature/codemirror6
Update to CodeMirror 6
2025-05-13 21:55:03 +07:00
perf3ct 0298c62ec7
feat(ci): add rootless dockerfiles 2025-05-13 18:51:18 +07:00
Elian Doran 3a984ffb2c
feat(docs): color schemes for code notes 2025-05-13 21:39:15 +07:00
Elian Doran 588a9dc78f
chore(edit-docs): fix nixos serve script 2025-05-13 21:33:07 +07:00
Elian Doran cfe3aa54c1
chore(release): document regression in syntax highlighting 2025-05-13 21:20:14 +07:00
perf3ct c0f76b9251
feat(docs): add documentation links and updated pnpm commands to README 2025-05-13 17:41:41 +07:00
SiriusXT 6d7abace97 fix(tooltip): Sometimes tooltip flashes 2025-05-14 01:00:13 +07:00
perf3ct 2ea60bc4a7 feat(docs): add documentation around setting the various environment variables to control upload size limit 2025-05-13 09:49:18 +07:00
Elian Doran cead31e08d
fix(e2e): code script broken due to codemirror update 2025-05-13 19:29:36 +07:00
SiriusXT 5ce0383c03 fix(tooltip): Sometimes tooltip flashes 2025-05-13 22:15:00 +07:00
Elian Doran 1f57aaf27c
feat(code): proper search for read-only notes 2025-05-13 16:33:53 +07:00
Elian Doran 41f142ab06
feat(code): re-trigger search after replace 2025-05-13 15:27:50 +07:00
Elian Doran 28aaa28ce5
feat(code): integrate indentation markers 2025-05-13 14:38:00 +07:00
SiriusXT 2f582a4f9a Inline formulas do not have a .katex-display class 2025-05-13 19:09:16 +07:00
SiriusXT 6cb27279a0 fix(ui): fix misaligned display in footnote tooltip 2025-05-13 18:04:18 +07:00
Elian Doran 3ace3d9ed9
chore(code/find): reimplement replace all 2025-05-13 09:42:31 +07:00
Elian Doran b646475018
chore(code/find): reimplement single replace 2025-05-12 23:52:41 +07:00
Elian Doran 690337ee40
chore(code/find): reintroduce highlight for active item 2025-05-12 23:36:22 +07:00
Elian Doran 77fe100591
fix(code/find): clean up search 2025-05-12 22:17:10 +07:00
Elian Doran da6cb71c6a
fix(code/find): infinite loop when empty 2025-05-12 22:11:51 +07:00
Elian Doran 07a751c677
fix(server): assets that were no longer needed 2025-05-12 22:04:18 +07:00
Elian Doran 3b7870fcbd
chore(deps): update lock file 2025-05-12 21:54:12 +07:00
Elian Doran 22d9091315
refactor(code/find): reimplement find next 2025-05-12 21:21:46 +07:00
Elian Doran 2fbff5328b
chore(options): remove redundant log 2025-05-12 21:15:31 +07:00
Elian Doran ba2dae4c61
refactor(code/find): integrate search into find plugin 2025-05-12 21:05:15 +07:00
Elian Doran 8a35e390f2
refactor(code/find): remove inner class 2025-05-12 20:59:46 +07:00
Elian Doran e5417827f4
chore(code/find): update current found 2025-05-12 20:43:30 +07:00
Elian Doran e08011b3d6
chore(code/find): scroll to nearest result 2025-05-12 20:39:09 +07:00
Elian Doran c4863dec50
chore(code/find): jump to first result 2025-05-12 20:27:23 +07:00
Elian Doran f2745d546b
chore(code/find): reintroduce total number of results 2025-05-12 19:35:07 +07:00
Elian Doran 749ae1b6b4
chore(code/find): reintroduce match highlighting 2025-05-12 18:47:50 +07:00
Elian Doran f20232c077
fix(code/find): crashes at dialog shown 2025-05-12 18:24:36 +07:00
Elian Doran ac49c0f59b
refactor(server): remove dependency on codemirror project 2025-05-12 18:15:19 +07:00
Elian Doran 36009307d1
refactor(server): remove dependency on codemirror 2025-05-12 18:07:50 +07:00
SiriusXT ad6671b09a fix(ui): Fix widget controls inside the footnote 2025-05-12 22:30:29 +07:00
Elian Doran 17194806db
chore(code): reintroduce tab index 2025-05-12 15:47:21 +07:00
Elian Doran 1a7a65126e
feat(options): add a related settings option for Appearance 2025-05-12 15:26:49 +07:00
Elian Doran 42ed6167c9
style(options): reduce margins for code block appearance 2025-05-12 13:28:40 +07:00
Elian Doran 5f2314f901
chore(options): change translations for code block appearance 2025-05-12 13:18:32 +07:00
Elian Doran 260e6ee991
feat(options): move code block appearance settings to "Text notes" 2025-05-12 13:12:57 +07:00
Elian Doran bedbc9373c
chore(code): reintroduce some commented-out behaviours 2025-05-12 12:37:38 +07:00
Elian Doran 00a9908907
Merge remote-tracking branch 'origin/develop' into feature/codemirror6 2025-05-12 10:04:30 +07:00
Elian Doran ae83f0a1c7
docs(release): update changelog 2025-05-12 10:02:37 +07:00
Elian Doran 308700defd
Merge pull request #1906 from TriliumNext/importMarkdownfromClipboard
Fix incorrect import of multiple inline math.
2025-05-12 10:00:46 +07:00
SiriusXT 755d0002c9 fix(ui): Avoid over-long title blocking electron native title bar 2025-05-12 14:56:04 +07:00
SiriusXT 7e35a2dee5 fix(ui): Fix the launcher shifting issue when collapsing the left pane 2025-05-12 14:14:27 +07:00
SiriusXT 729a32610a fix(ui): Avoid the background invisible when selecting text with background color 2025-05-12 14:09:35 +07:00
SiriusXT dea8fa411f Revert "Avoid the background invisible when selecting text with background color" 2025-05-12 09:11:22 +07:00
Elian Doran 5f2735749e
Merge pull request #1854 from TriliumNext/open_new_tab
Open note and activate
2025-05-12 00:41:29 +07:00
Elian Doran 46c689e229
docs(release): update changelog 2025-05-12 00:35:50 +07:00
Elian Doran fac16ffd2a
feat(code): add translations for settings change 2025-05-12 00:31:48 +07:00
Elian Doran e3aa8afcad
feat(code): adjust word wrapping automatically 2025-05-12 00:25:31 +07:00
Elian Doran d79977b9a4
feat(code): adjust word wrapping automatically in preview 2025-05-12 00:23:47 +07:00
Elian Doran 4e18798850
feat(code): move preview to apperance 2025-05-12 00:07:41 +07:00
Elian Doran 21a72ab265
style(code): improve margins for preview 2025-05-11 23:15:19 +07:00
Elian Doran 81a7133ab1
fix(code): apply syntax highlighting to preview 2025-05-11 23:10:01 +07:00
Elian Doran 9875d4ba3c
feat(code): basic theme preview for code notes 2025-05-11 23:07:49 +07:00
Elian Doran 65699ba606
style(code): slight adjustments 2025-05-11 22:47:24 +07:00
Elian Doran bd26e1a578
feat(code): provide sensible theme defaults 2025-05-11 22:22:35 +07:00
Elian Doran 34a1f48a9e
refactor(code): use hyphens for theme ID 2025-05-11 22:21:25 +07:00
Elian Doran f0d2fbc882
feat(code): update theme automatically when changed 2025-05-11 22:14:49 +07:00
Elian Doran d41b780f43
feat(code): friendly theme names 2025-05-11 22:03:37 +07:00
Elian Doran d80d97ca31
feat(code): add the rest of the themes 2025-05-11 21:58:50 +07:00
Elian Doran 340dec725c
fix(code): align syntax highlight settings 2025-05-11 21:40:13 +07:00
Elian Doran b2aec4dfdb
feat(code): display user-selected color themes 2025-05-11 21:18:14 +07:00
Elian Doran af187d1188
feat(client): set color scheme option 2025-05-11 20:53:58 +07:00
Elian Doran 92dcfb3304
feat(server): define code note theme option 2025-05-11 20:52:26 +07:00
Elian Doran 224b7f4826
feat(options): list color themes 2025-05-11 20:43:19 +07:00
Elian Doran ca467fcd7a
feat(server): add endpoint to list code note themes 2025-05-11 20:40:22 +07:00
Elian Doran 7475e94c53
chore(settings): empty section for code notes color theme 2025-05-11 20:19:54 +07:00
Elian Doran 36246104dd
feat(codemirror): add model for themes 2025-05-11 20:19:40 +07:00
Elian Doran cf7c5d3cb4
feat(text): add Nix language 2025-05-11 19:45:56 +07:00
Elian Doran 2b192eb1b9
feat(code): add Nix language 2025-05-11 19:44:10 +07:00
Elian Doran ce5debd9bf
fix(mermaid): diagram not updating 2025-05-11 19:24:05 +07:00
Elian Doran e4f5e5473b
chore(release): update changelog 2025-05-11 19:10:48 +07:00
Elian Doran 58b9d9074e
feat(mermaid): add basic syntax highlight 2025-05-11 19:08:43 +07:00
Elian Doran 2704548eb8
chore(code): stop loading unnecessary extensions for read-only mode 2025-05-11 18:51:44 +07:00
Elian Doran a20a51fa75
fix(code): indentation working in read-only mode 2025-05-11 18:45:37 +07:00
Elian Doran 3e5e19b8a5
chore(code): reintroduce read-only mode 2025-05-11 18:42:56 +07:00
Elian Doran 49838fb773
refactor(code): stop exposing CodeMirror configuration 2025-05-11 18:41:10 +07:00
Elian Doran c24e1f0ec5
fix(code): syntax highlighting not working in read-only code 2025-05-11 18:37:53 +07:00
Elian Doran b1f08b944a
feat(code): remove unnecessary border in read-only code 2025-05-11 18:36:49 +07:00
Elian Doran f0ae5aeba6
chore(code): fix placeholder 2025-05-11 18:33:45 +07:00
Elian Doran efece397ad
chore(code): adapt stylesheet 2025-05-11 18:30:38 +07:00
Elian Doran 44069b8ccb
chore(code): replace tab if pressed while selected 2025-05-11 18:03:28 +07:00
Elian Doran 8d18823608
chore(code): support multiple selections in tab 2025-05-11 18:00:07 +07:00
Elian Doran 4bac03570c
chore(code): add smart tab behaviour 2025-05-11 17:39:10 +07:00
Elian Doran 9bbe111dd9
chore(code): introduce fold gutter 2025-05-11 17:16:07 +07:00
Elian Doran 9b958fc659
chore(code): reintroduce vim keybindings 2025-05-11 17:04:15 +07:00
Elian Doran f526332d38
Merge pull request #1909 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.4.7
2025-05-11 16:46:32 +07:00
Elian Doran e5fad63403
chore(code): set up TypeScript TSX 2025-05-11 16:04:17 +07:00
Elian Doran 9d363fb42c
refactor(code): clean up library_loader 2025-05-11 16:01:45 +07:00
Elian Doran 7fda7051f2
chore(code): use proper JSON extension 2025-05-11 15:59:35 +07:00
Elian Doran 9e5f2bf8c8
chore(code): fix type errors 2025-05-11 15:33:46 +07:00
Elian Doran 2476f380b0
chore(code): set up test for eslint 2025-05-11 15:29:03 +07:00
Elian Doran 38fbaabfbc
chore(code): integrate ESLint 2025-05-11 15:18:42 +07:00
Elian Doran fade41ff65
chore(code): integrate JavaScript for TypeScript and JSX 2025-05-11 14:06:55 +07:00
Elian Doran dbfc36f4aa
chore(code): integrate JavaScript extension 2025-05-11 14:05:04 +07:00
Elian Doran c09d3ae5e0
chore(code): use CSS plugin 2025-05-11 13:56:34 +07:00
Elian Doran 06e1144498
chore(code): use XML plugin 2025-05-11 13:52:53 +07:00
Elian Doran e5402abae0
chore(code): use html plugin 2025-05-11 13:50:04 +07:00
Elian Doran 2fe09147fd
chore(code): integrate Smarty support 2025-05-11 13:21:57 +07:00
Elian Doran 620927dfea
chore(code): integrate Twig support 2025-05-11 13:15:39 +07:00
Elian Doran 327fe211ff
chore(code): integrate Vue support 2025-05-11 13:13:47 +07:00
Elian Doran 1454af6087
chore(code): integrate PHP support 2025-05-11 13:12:52 +07:00
Elian Doran afa1aa32aa
chore(code): integrate Markdown support 2025-05-11 13:09:36 +07:00
Elian Doran 686e57516b
chore(code): integrate more legacy modes 2025-05-11 12:54:25 +07:00
renovate[bot] dff419c960
chore(deps): update dependency happy-dom to v17.4.7 2025-05-11 09:37:54 +07:00
Elian Doran 56761bb633
Merge pull request #1910 from TriliumNext/renovate/lint-staged-16.x
chore(deps): update dependency lint-staged to v16
2025-05-11 12:33:44 +07:00
Elian Doran 9c8126016e
fix(code): history of undo/redo preserved across notes 2025-05-11 12:23:09 +07:00
Elian Doran a4054dfa42
chore(code): reintroduce history (undo-redo) 2025-05-11 12:19:39 +07:00
Elian Doran 67d1868078
chore(code): mark syntax highlighting as fallback 2025-05-11 12:13:45 +07:00
Elian Doran df92ec9521
chore(code): reintroduce bracket matching 2025-05-11 12:11:24 +07:00
Elian Doran ec72800b00
chore(code): reintroduce highlight active line & selection 2025-05-11 12:10:28 +07:00
Elian Doran 2628132350
chore(code): reintroduce line wrapping 2025-05-11 12:07:54 +07:00
Elian Doran 9867cd83c4
chore(code): reintroduce tab size of 4 2025-05-11 11:37:52 +07:00
Elian Doran d29286f9e3
chore(code): reintroduce placeholder 2025-05-11 11:27:27 +07:00
Elian Doran 7cd4bce5b0
feat(code): support gdscript (godot) 2025-05-11 11:18:19 +07:00
Elian Doran 55cf7e0c9b
refactor(code): sort by mime type 2025-05-11 11:10:24 +07:00
Elian Doran 9f3e990c95
chore(code): reintegrate hcl syntax 2025-05-11 10:54:15 +07:00
Elian Doran efc08a61ef
chore(code): reintegrate batch syntax 2025-05-11 10:38:36 +07:00
SiriusXT f26a7a90a2 test(e2e): open and activate notes from the launch pane and tree 2025-05-11 10:53:45 +07:00
renovate[bot] f0c8dc9011
chore(deps): update dependency lint-staged to v16 2025-05-11 01:39:08 +07:00
SiriusXT 8486bbc9ae Merge branch 'develop' into open_new_tab 2025-05-11 08:41:58 +07:00
Elian Doran 01f02b736c
chore(code): enable syntax highlighting 2025-05-10 23:34:23 +07:00
Elian Doran 5a07d5a913
chore(code): define legacy mappings 2025-05-10 23:09:59 +07:00
Elian Doran 8bb1ac7e71
chore(code): start mapping syntax highlight 2025-05-10 22:31:01 +07:00
Elian Doran 71218c0bd4
chore(code): enable syntax highlighting plugin 2025-05-10 21:38:12 +07:00
Elian Doran 385809df84
fix(code): reintroduce indent with tab 2025-05-10 20:20:38 +07:00
Elian Doran 3e5e9096d2
fix(code): saving on change 2025-05-10 20:07:53 +07:00
Elian Doran ef312c9550
refactor(code): use dedicated method for setting text 2025-05-10 19:22:57 +07:00
Elian Doran 0c9be9291b
fix(code): set initial text 2025-05-10 19:19:03 +07:00
Elian Doran c84a390699
feat(code): enable line numbers 2025-05-10 19:15:38 +07:00
Elian Doran cfa8987b25
feat(code): switch to CodeMirror 6 2025-05-10 19:10:30 +07:00
SiriusXT 58e53fc8ce add test case for multiple inline math expressions in imported Markdown 2025-05-11 00:09:15 +07:00
SiriusXT 8355e02e91 Avoid the background invisible when selecting text with background color 2025-05-10 23:38:22 +07:00
Elian Doran ddf43a5e24
chore(nx): create project for codemirror 2025-05-10 18:30:09 +07:00
Elian Doran 699cb8e412
docs(release): update changelog 2025-05-10 18:25:39 +07:00
Elian Doran e10d135765
Merge pull request #1905 from TriliumNext/left-pane
Only expand/collapse the left pane of the focused window.
2025-05-10 18:20:51 +07:00
SiriusXT 047109f821 Fix incorrect import of multiple inline math. 2025-05-10 22:56:36 +07:00
SiriusXT e5a9ebddac Merge branch 'develop' into left-pane 2025-05-10 21:39:21 +07:00
Elian Doran 35c98f23bd
docs(release): update 2025-05-10 15:42:32 +07:00
Elian Doran 43d1b53bca
Merge pull request #1861 from TriliumNext/content-menu-target
Make it show which node triggered the event when right-clicking on tree
2025-05-10 15:41:59 +07:00
Elian Doran 307d94a5df
Merge pull request #1876 from TriliumNext/find_replace
Make the find function for read-only code scroll correctly.
2025-05-10 15:40:53 +07:00
Elian Doran 696784b9a9
Merge pull request #1896 from TriliumNext/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.8.3
2025-05-10 15:40:15 +07:00
Elian Doran 2251a5511e
Merge branch 'develop' into open_new_tab 2025-05-10 15:34:31 +07:00
Elian Doran 553b07ab37
Merge remote-tracking branch 'origin/develop' into find_replace 2025-05-10 15:26:52 +07:00
Elian Doran 6e1dfb8e27
Merge branch 'develop' into content-menu-target 2025-05-10 15:24:47 +07:00
Elian Doran ba009ba66b
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-10 15:20:28 +07:00
Elian Doran dd0d45fbde
chore(nx/edit-docs): set server to implicit dependencies to avoid sync issues 2025-05-10 15:20:25 +07:00
Elian Doran dd7df1344e
fix(ckeditor5): build failing due to types path 2025-05-10 15:19:59 +07:00
Elian Doran 9e1c15067c
Merge pull request #1812 from TriliumNext/renovate/electron-36.x
chore(deps): update dependency electron to v36
2025-05-10 15:12:13 +07:00
Elian Doran 84322e8882
fix(forge): override node-abi 2025-05-10 14:58:21 +07:00
renovate[bot] 38e5cb45cb
chore(deps): update dependency electron to v36 2025-05-10 11:14:37 +07:00
Elian Doran ea53346be0
Merge pull request #1892 from TriliumNext/renovate/electron-forge-monorepo
chore(deps): update electron-forge monorepo to v7.8.1
2025-05-10 14:11:58 +07:00
Elian Doran df7646b3b6
Merge pull request #1889 from TriliumNext/renovate/major-react-monorepo
fix(deps): update react monorepo to v19 (major)
2025-05-10 14:10:54 +07:00
renovate[bot] ad6eeb2022
fix(deps): update react monorepo to v19 2025-05-10 10:43:08 +07:00
Elian Doran 12f5b9feeb
fix(ci): wrong context directory for docker 2025-05-10 13:41:51 +07:00
renovate[bot] 929ebf114c
chore(deps): update dependency typescript to v5.8.3 2025-05-10 10:40:07 +07:00
renovate[bot] e18678462e
chore(deps): update electron-forge monorepo to v7.8.1 2025-05-10 10:39:19 +07:00
Elian Doran e153aab722
Merge pull request #1900 from TriliumNext/renovate/lint-staged-15.x
chore(deps): update dependency lint-staged to v15
2025-05-10 13:35:31 +07:00
Elian Doran 456be1314e
Merge pull request #1902 from TriliumNext/renovate/vite-plugin-svgo-2.x
chore(deps): update dependency vite-plugin-svgo to v2
2025-05-10 13:35:04 +07:00
Elian Doran d59b6a3275
Merge pull request #1903 from TriliumNext/renovate/major-typescript-eslint-monorepo
chore(deps): update typescript-eslint monorepo to v8 (major)
2025-05-10 13:34:27 +07:00
renovate[bot] 08390950b2
chore(deps): update typescript-eslint monorepo to v8 2025-05-10 10:00:57 +07:00
renovate[bot] 5c3f32e370
chore(deps): update dependency vite-plugin-svgo to v2 2025-05-10 10:00:10 +07:00
renovate[bot] 46a1614c17
chore(deps): update dependency lint-staged to v15 2025-05-10 09:59:15 +07:00
Elian Doran c0a19f4c58
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-10 12:55:13 +07:00
Elian Doran 4446aa8c65
fix(ci): wrong use of nx 2025-05-10 12:55:08 +07:00
Elian Doran 1304f13f60
Merge pull request #1901 from TriliumNext/renovate/stylelint-16.x
chore(deps): update dependency stylelint to v16
2025-05-10 12:52:06 +07:00
renovate[bot] 8f7a9f278f
chore(deps): update dependency stylelint to v16 2025-05-10 09:51:57 +07:00
Elian Doran 3fe7327038
refactor: get rid of husky 2025-05-10 12:51:07 +07:00
Elian Doran 08b72f20fa
Merge pull request #1898 from TriliumNext/renovate/major-eslint-monorepo
chore(deps): update dependency eslint to v9
2025-05-10 12:49:06 +07:00
Elian Doran 2cd13a17c4
Merge pull request #1897 from TriliumNext/renovate/vite-plugin-svgo-1.x
chore(deps): update dependency vite-plugin-svgo to ~1.6.0
2025-05-10 12:47:36 +07:00
renovate[bot] 86b8023a93
chore(deps): update dependency eslint to v9 2025-05-10 09:22:09 +07:00
renovate[bot] 6e73fbc5d6
chore(deps): update dependency vite-plugin-svgo to ~1.6.0 2025-05-10 09:21:22 +07:00
Elian Doran 2397719a24
Merge pull request #1847 from TriliumNext/feature/ckeditor_lib
Integrate CKEditor into the monorepo
2025-05-10 11:41:32 +07:00
Elian Doran ac92a410c2
Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-10 11:11:57 +07:00
Elian Doran 38ea450b07
fix(docker): not building due to CKEditor patches 2025-05-10 11:10:45 +07:00
Elian Doran 98b36e8a82
Merge pull request #1893 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.50.3
2025-05-10 09:23:19 +07:00
SiriusXT bd4ebd3893 To avoid the left pane from sometimes being resized to a very small width. 2025-05-10 09:19:41 +07:00
renovate[bot] ed6778b257
chore(deps): update dependency @anthropic-ai/sdk to v0.50.3 2025-05-09 23:49:29 +07:00
Elian Doran 39efdad46d
Merge pull request #1817 from TriliumNext/renovate/react-monorepo
chore(deps): update react monorepo
2025-05-10 02:33:35 +07:00
Elian Doran 8c17c5d7dc
test(ckeditor5-mermaid): fix failing tests 2025-05-10 02:31:29 +07:00
Elian Doran ef3d6ebf29
test(ckeditor5-mermaid): fix errors due to missing license key 2025-05-10 02:25:11 +07:00
Elian Doran abc8e2279c
test(ckeditor5-mermaid): fix imports 2025-05-10 02:23:22 +07:00
Elian Doran c3f9f3696e
feat(docs): document CKEditor plugin migration 2025-05-10 02:00:49 +07:00
Elian Doran aab762911b
refactor(client): fix type errors related to CKEditor 2025-05-10 01:52:42 +07:00
Elian Doran 3bad43c50d
chore(deps): update package lock 2025-05-10 01:20:00 +07:00
Elian Doran 275f37314d
chore(docs): mention triggering the math popup 2025-05-10 00:54:43 +07:00
Elian Doran 5ec6f59f91
chore(ckeditor5-math): get rid of sinon 2025-05-10 00:54:27 +07:00
Elian Doran 16ec4a64d7
test(ckeditor5-math): get the rest of the tests to pass 2025-05-10 00:53:56 +07:00
Elian Doran df2461ffc0
test(ckeditor5-math): disable broken tests 2025-05-10 00:42:06 +07:00
Elian Doran 6134d010ac
test(ckeditor5-math): fix errors due to missing stopPropagation 2025-05-10 00:17:55 +07:00
Elian Doran 4fb333f15e
refactor(ckeditor5-math): wrong expect import 2025-05-10 00:01:38 +07:00
Elian Doran da3c7d2541
refactor(ckeditor5-math): move tests from sinon to vitest 2025-05-09 23:56:09 +07:00
Elian Doran 382d16ec68
test(e2e): flaky test 2025-05-09 23:02:00 +07:00
Elian Doran 8684101dcf
test(ckeditor5-mermaid): solve "duplicated modules" error 2025-05-09 22:35:36 +07:00
Elian Doran 471c688457
test(ckeditor5-math): change extensions to ts 2025-05-09 22:30:37 +07:00
Elian Doran 11a2bdb2da
test(ckeditor5-math): solve "duplicated modules" error 2025-05-09 22:28:35 +07:00
Elian Doran c9834e58bb
test(ckeditor5-math): license key not found 2025-05-09 22:16:12 +07:00
Elian Doran c3d028b495
chore(ci): run some tests sequentially 2025-05-09 22:04:23 +07:00
Elian Doran 3eeed5790a
chore(ckeditor5-*): remove default tests 2025-05-09 21:50:40 +07:00
Elian Doran f5d9789e83
chore(ckeditor5-admoniton): don't fail on no tests 2025-05-09 21:40:17 +07:00
Elian Doran ee6c5fd2aa
chore(ckeditor): update vitest 2025-05-09 21:38:53 +07:00
Elian Doran 4033718366
chore(docs): update app version 2025-05-09 21:14:29 +07:00
Elian Doran 51993757cc
docs(user): bookmarks & emojis 2025-05-09 21:13:38 +07:00
Elian Doran b164d2e85b
chore(nx/server): implicit dependencies for server 2025-05-09 18:05:30 +07:00
Elian Doran 563466ca37
chore(e2e): revisit explicit dependency on server:build 2025-05-09 17:52:00 +07:00
Elian Doran 06c7bed26c
fix(ckeditor): code block background not working properly 2025-05-09 17:39:09 +07:00
SiriusXT a76ca76813 Only expand/collapse the left pane of the focused window. 2025-05-09 22:31:16 +07:00
Elian Doran 66ae794332
chore(e2e): set up explicit dependency on server:build 2025-05-09 17:26:56 +07:00
Elian Doran ca2693ff02
fix(client): missing CK stylesheet in dist 2025-05-09 14:19:42 +07:00
Elian Doran cc9cb6f73a
fix(desktop): build failing due to missing CSS 2025-05-09 14:12:58 +07:00
Elian Doran 230ac7feeb
Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-09 13:56:31 +07:00
Elian Doran 3b7285ba5d
Merge pull request #1885 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.3.0
2025-05-09 13:52:12 +07:00
SiriusXT aecde9656b highlight the first visible find result in scrolling container. 2025-05-09 18:48:28 +07:00
renovate[bot] 8402f98db9
chore(deps): update dependency electron to v35.3.0 2025-05-09 10:39:03 +07:00
Elian Doran 7a1f9e4d55
Merge pull request #1884 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.41.0
2025-05-09 13:37:00 +07:00
Elian Doran 794499a515
Merge pull request #1883 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25.1.2
2025-05-09 13:36:35 +07:00
Elian Doran b7b118c7a6
Merge pull request #1882 from TriliumNext/renovate/eslint-config-prettier-10.x-lockfile
chore(deps): update dependency eslint-config-prettier to v10.1.5
2025-05-09 13:36:13 +07:00
Elian Doran e328184954
Merge pull request #1881 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.17
2025-05-09 13:35:39 +07:00
renovate[bot] 6a72b0e429
chore(deps): update dependency eslint-config-prettier to v10.1.5 2025-05-09 09:44:37 +07:00
Elian Doran 9cda12f6ed
Merge pull request #1887 from TriliumNext/renovate/better-sqlite3-11.x
fix(deps): update dependency better-sqlite3 to v11.10.0
2025-05-09 12:42:27 +07:00
renovate[bot] 8c782ef5d1
fix(deps): update dependency better-sqlite3 to v11.10.0 2025-05-09 09:06:43 +07:00
renovate[bot] 9bc3162b51
chore(deps): update dependency @anthropic-ai/sdk to v0.41.0 2025-05-09 09:05:28 +07:00
renovate[bot] 03e92e40cd
fix(deps): update dependency i18next to v25.1.2 2025-05-09 09:05:02 +07:00
renovate[bot] 82cfe4c80e
chore(deps): update dependency @types/node to v22.15.17 2025-05-09 09:03:40 +07:00
Elian Doran e51527d5ce
Merge pull request #1879 from TriliumNext/renovate/openai-4.x
chore(deps): update dependency openai to v4.98.0
2025-05-09 12:01:31 +07:00
renovate[bot] 917d2393c1
chore(deps): update react monorepo 2025-05-09 09:00:49 +07:00
Elian Doran 53b3e4ac6d
Merge pull request #1880 from TriliumNext/renovate/globals-16.x
fix(deps): update dependency globals to v16.1.0
2025-05-09 11:59:41 +07:00
Elian Doran 0f6f64f431
Merge pull request #1878 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v21.0.3
2025-05-09 11:59:16 +07:00
renovate[bot] 959d726588
fix(deps): update dependency globals to v16.1.0 2025-05-09 08:38:04 +07:00
renovate[bot] 0822cc9247
chore(deps): update dependency openai to v4.98.0 2025-05-09 08:37:35 +07:00
renovate[bot] eda398cb6e
chore(deps): update nx monorepo to v21.0.3 2025-05-09 08:37:03 +07:00
Elian Doran a5a158fb14
chore(deps): remove deprecated type dependency 2025-05-09 11:31:57 +07:00
Elian Doran 9b78ad41ea
chore(client): reintroduce CKEditor inspector 2025-05-09 11:21:47 +07:00
Elian Doran a0fac8b6d9
fix(server): export not working due to content CSS 2025-05-09 10:31:37 +07:00
Elian Doran 9cb56a4875
chore(server): serve ck-content for share 2025-05-09 10:29:24 +07:00
Elian Doran 8a23c3987e
chore(nx): sync tsconfig 2025-05-09 09:17:20 +07:00
SiriusXT 67e84d921f Avoid reporting errors when performFind has not been called 2025-05-09 10:00:12 +07:00
SiriusXT fc50252e97 Close the find dialog when the note is temporarily readable 2025-05-09 09:37:50 +07:00
Elian Doran 9b30e3646f
chore(ckeditor): add original content CSS 2025-05-08 23:19:16 +07:00
Elian Doran 4f7b494947
chore(ckeditor): add Trilium changes into content CSS 2025-05-08 23:15:22 +07:00
Elian Doran c6c27acd6a
chore(deps): fix some dependency issues 2025-05-08 21:35:35 +07:00
Elian Doran 57352aabd7
Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-08 21:22:15 +07:00
Elian Doran 5db6043017
chore(ckeditor): edit patches & add one for code blocks 2025-05-08 20:12:52 +07:00
Elian Doran 73f69f91f2
fix(server): code block themes not listed again 2025-05-08 18:51:37 +07:00
Elian Doran ea03381801
refactor(ckeditor): fix type errors in syntax highlighting 2025-05-08 17:56:43 +07:00
Elian Doran 8e7c7ce30f
refactor(ckeditor): syntax highlighting as plugin 2025-05-08 14:56:02 +07:00
Elian Doran 3216e2f2e4
chore(nx/server): change dependency method to client 2025-05-08 14:02:01 +07:00
SiriusXT 858814356a Make the find function for read-only code scroll correctly. 2025-05-08 16:25:44 +07:00
Elian Doran 301ba991c0
Merge pull request #1765 from TriliumNext/renovate/eslint-monorepo
fix(deps): update eslint monorepo to v9.26.0
2025-05-08 08:29:20 +07:00
renovate[bot] d5424ba9ce
fix(deps): update eslint monorepo to v9.26.0 2025-05-07 19:38:39 +07:00
Elian Doran 3e53e4b314
Merge pull request #1868 from TriliumNext/renovate/vitest-monorepo
chore(deps): update dependency @vitest/coverage-v8 to v3.1.3
2025-05-07 22:37:05 +07:00
Elian Doran 726797b13d
chore(client): fix more type errors 2025-05-07 22:29:11 +07:00
Elian Doran 3e468d7960
Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-07 21:39:07 +07:00
Elian Doran 57dfcd6fd3
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-07 21:37:54 +07:00
Elian Doran 955f3547e8
chore(edit-docs): sync package 2025-05-07 21:17:36 +07:00
Elian Doran d689c2e144
refactor(packages/*): solve type errors 2025-05-07 21:15:50 +07:00
Elian Doran 28266c5bd0
refactor(client): solve type errors 2025-05-07 21:15:32 +07:00
renovate[bot] 5ea26ea07a
chore(deps): update dependency @vitest/coverage-v8 to v3.1.3 2025-05-07 17:38:51 +07:00
Elian Doran a763cafb3f
Merge pull request #1863 from TriliumNext/renovate/swc-monorepo
chore(deps): update dependency @swc/cli to v0.7.5
2025-05-07 20:37:43 +07:00
Elian Doran 50f0460d9c
Merge pull request #1872 from TriliumNext/renovate/cheerio-1.x
chore(deps): update dependency @types/cheerio to v1
2025-05-07 20:34:32 +07:00
Elian Doran f044a84521
chore(deps): update lock file
Removing sqlite3 from built dependencies to avoid the unnecessary compilation of sqlite3 which has no provided binary on some architectures (ARM), just for db-compare
2025-05-07 19:41:09 +07:00
Elian Doran 90be226ecc
chore(ckeditor): remove deprecated "full" image setting 2025-05-07 19:19:31 +07:00
Elian Doran e636619563
chore(ckeditor): update to 45.0.0 2025-05-07 19:15:08 +07:00
Elian Doran bab9832ab3
chore(ckeditor): update to 44.3.0 2025-05-07 18:48:55 +07:00
renovate[bot] 9db2518b1b
chore(deps): update dependency @swc/cli to v0.7.5 2025-05-07 15:40:56 +07:00
Elian Doran eb54b0bb32
chore(ckeditor): remove original special characters 2025-05-07 18:38:36 +07:00
Elian Doran aabd3da8bf
feat(ckeditor): add emoji functionality 2025-05-07 18:27:37 +07:00
Elian Doran 1d577bffd3
chore(ckeditor): update to 44.2.0 2025-05-07 17:30:09 +07:00
Elian Doran c87a4284c2
chore(deps): hoist ckeditor packages
Needed because they are random type errors
between products.
2025-05-07 17:11:41 +07:00
Elian Doran c260638982
chore(ckeditor): update to 44.1.0 2025-05-07 17:10:24 +07:00
Elian Doran ef76d28d38
feat(ckeditor): enable bookmark plugin 2025-05-07 16:58:29 +07:00
Elian Doran f8e644acd7
chore(ckeditor): update to 44.4.0 2025-05-07 15:44:23 +07:00
Elian Doran a9a3550dbf
chore(ckeditor): update to 43.3.1 2025-05-07 15:17:07 +07:00
Elian Doran dbfb088408
Merge branch 'feature/ckeditor_lib' of github.com:TriliumNext/Notes into feature/ckeditor_lib 2025-05-07 13:56:58 +07:00
Elian Doran 588ea2674a
chore(ckeditor): clean up old build-trilium files 2025-05-07 13:56:51 +07:00
Elian Doran abf7cd86d3
Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-07 13:13:52 +07:00
renovate[bot] 4f83019b94
chore(deps): update dependency @types/cheerio to v1 2025-05-07 10:12:33 +07:00
Elian Doran b13bc23c24
chore(nx/ckeditor): fix two @ts-expect-error 2025-05-07 11:37:56 +07:00
Elian Doran 57d945fff0
feat(nx/ckeditor): set up cache 2025-05-07 10:03:29 +07:00
Elian Doran 8d285e2cb3
Merge pull request #1873 from TriliumNext/renovate/major-nx-monorepo
chore(deps): update nx monorepo to v21 (major)
2025-05-07 09:13:43 +07:00
Elian Doran 70c7410f15
Merge pull request #1870 from TriliumNext/renovate/sanitize-html-2.x
chore(deps): update dependency @types/sanitize-html to v2.16.0
2025-05-07 09:12:27 +07:00
renovate[bot] ffa1406a2b
chore(deps): update nx monorepo to v21 2025-05-07 06:12:16 +07:00
Elian Doran 9a00a108ae
Merge pull request #1871 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25.1.1
2025-05-07 09:11:59 +07:00
Elian Doran 9c289853be
Merge pull request #1869 from TriliumNext/renovate/bootstrap-5.x
fix(deps): update dependency bootstrap to v5.3.6
2025-05-07 09:09:43 +07:00
Elian Doran 3602bcca40
Merge pull request #1867 from TriliumNext/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.99.8
2025-05-07 09:06:50 +07:00
Elian Doran 96b71a6f15
Merge pull request #1864 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.15.14
2025-05-07 09:06:01 +07:00
renovate[bot] 0d374810a1
fix(deps): update dependency i18next to v25.1.1 2025-05-07 05:56:15 +07:00
renovate[bot] dd26bd0dbe
chore(deps): update dependency @types/sanitize-html to v2.16.0 2025-05-07 05:55:45 +07:00
renovate[bot] 5ce8359a23
fix(deps): update dependency bootstrap to v5.3.6 2025-05-07 05:55:21 +07:00
renovate[bot] fec7d03dee
chore(deps): update dependency webpack to v5.99.8 2025-05-07 05:53:49 +07:00
renovate[bot] 3d2c5dc21b
chore(deps): update dependency @types/node to v22.15.14 2025-05-07 05:52:30 +07:00
Elian Doran a9374185d9
fix(scripts): electron not rebuilding edit-docs 2025-05-07 08:44:07 +07:00
JYC333 14896fe845 Fix electron dep conflicts 2025-05-07 09:03:54 +07:00
JYC333 8f524f4529 Fix edit-docs nx error 2025-05-07 08:51:25 +07:00
Elian Doran e067e79505
refactor(ckeditor): remove unnecessary build step 2025-05-06 22:56:26 +07:00
Elian Doran 2aa14b53e7
chore(ckeditor): update patch 2025-05-06 21:51:36 +07:00
Elian Doran 72dced679d
fix(ckeditor): mentions not working in attribute editor 2025-05-06 19:43:11 +07:00
Elian Doran ff0a24df55
chore(ckeditor): set correct metadata 2025-05-06 19:29:22 +07:00
Elian Doran 307c322165
fix(client): reintroduce attribute editor 2025-05-06 19:29:22 +07:00
SiriusXT 52d6d05159 Add e2e: open and activate notes from the launch pane and tree 2025-05-06 21:27:58 +07:00
Elian Doran b2ff0739d5
feat(ckeditor): add patch for mentions 2025-05-06 15:56:36 +07:00
SiriusXT 2436838aae Hide the content menu on mouse up 2025-05-06 20:40:13 +07:00
Elian Doran c98c2432ef
chore(deps): use different approach for chalk, upath 2025-05-06 15:29:13 +07:00
SiriusXT 4f42be3647 Remove delays to close the right-click menu 2025-05-06 19:41:54 +07:00
Elian Doran f80d06a61f
chore(git): set up mail map for zadam 2025-05-06 11:09:03 +07:00
SiriusXT 647a5c948c Make it show which node triggered the event when right-clicking on the tree. 2025-05-06 14:55:17 +07:00
Elian Doran 19f6f3352d
feat(nx/desktop): integrate rebuild at monorepo level 2025-05-06 09:09:59 +07:00
Elian Doran 4adafce9c4
chore(ckeditor): remove unnecessary chalk and upath step 2025-05-05 21:47:46 +07:00
Elian Doran 70ec38d534
chore(ckeditor): create shared type for editor 2025-05-05 21:44:27 +07:00
Elian Doran 6386c45212
chore(ckeditor): set proper typecheck dependencies 2025-05-05 21:12:00 +07:00
Elian Doran 5247eeaa04
chore(ckeditor): fix a type error 2025-05-05 21:11:48 +07:00
Elian Doran 629c56ebc8
chore(ckeditor): fix type declarations not being generated for dist 2025-05-05 21:11:39 +07:00
Elian Doran 3daa5da289
refactor(client): remove unnecessary CK interface 2025-05-05 19:12:27 +07:00
Elian Doran ac7f178e26
chore(client): fix a type error 2025-05-05 19:12:14 +07:00
Elian Doran 340bd7c90e
chore(nx): integrate build:dist for ckeditor plugins 2025-05-05 18:54:32 +07:00
Elian Doran b8d960282c
chore(nx): sync ts 2025-05-05 18:43:57 +07:00
Elian Doran 6d77ab5091
chore(ckeditor): remove redundant package locks 2025-05-05 18:43:47 +07:00
Elian Doran 380dedb43f
chore(ckeditor): fix error about eslint plugin 2025-05-05 18:43:36 +07:00
Elian Doran 910b0d280d
fix(ckeditor5): reintroduce block handle for floating editor 2025-05-05 15:43:14 +07:00
Elian Doran 10e5852a67
chore(nx): use shorter names for ckeditor packages 2025-05-05 15:01:32 +07:00
Elian Doran 9f25162700
refactor(ckeditor5-mermaid): use proper method for config type 2025-05-05 14:54:17 +07:00
Elian Doran cf492a5f47
feat(nx/desktop): add serve no-dir 2025-05-05 10:27:52 +07:00
Elian Doran e94d8b5b47
feat(nx/desktop): get electron to start on NixOS 2025-05-05 09:52:26 +07:00
Elian Doran d6548f4cd6
chore(ckeditor5): integrate ckeditor5-math 2025-05-04 23:03:29 +07:00
Elian Doran e85e92e074
chore(ckeditor5-math): integrate tests partially 2025-05-04 22:50:18 +07:00
Elian Doran 5d42b942ba
chore(ckeditor5-math): integrate source code 2025-05-04 22:16:32 +07:00
Elian Doran ee6e111a85
chore(ckeditor5-math): clean up 2025-05-04 21:34:02 +07:00
Elian Doran 9de3f0f4ba
chore(ckeditor5-footnotes): clean up 2025-05-04 21:24:35 +07:00
Elian Doran 78544e5c99 Add '_regroup/ckeditor5-math/' from commit '6231df7f0e9df7f4d6982b103c02400d4f0b8937'
git-subtree-dir: _regroup/ckeditor5-math
git-subtree-mainline: 034cd58833
git-subtree-split: 6231df7f0e
2025-05-04 21:20:21 +07:00
Elian Doran 034cd58833
chore(nx): sync tsconfig 2025-05-04 21:10:34 +07:00
Elian Doran 46e21928b8
chore(ckeditor5): integrate ckeditor5-footnotes 2025-05-04 21:10:06 +07:00
Elian Doran c0a64d1ef0
chore(ckeditor5-footnotes): fix more errors 2025-05-04 21:06:57 +07:00
Elian Doran face58c7e2
chore(ckeditor5-*): fix dependency to CKEditor 2025-05-04 20:57:57 +07:00
Elian Doran d977866c44
chore(ckeditor5-footnotes): integrate source code changes 2025-05-04 20:31:25 +07:00
Elian Doran 9643bf310e Add '_regroup/ckeditor5-footnotes/' from commit 'f5a6ff5684e612606d9e158e8f143bceb1cdbf8f'
git-subtree-dir: _regroup/ckeditor5-footnotes
git-subtree-mainline: 80c390c72b
git-subtree-split: f5a6ff5684
2025-05-04 19:59:07 +07:00
Elian Doran 80c390c72b
chore(ckeditor5-*): fix build errors 2025-05-04 19:58:18 +07:00
Elian Doran 6626aca12a
chore(ckeditor5-math): initialize empty plugin 2025-05-04 19:53:24 +07:00
Elian Doran 2d27a4b50d
chore(ckeditor5-footnotes): initialize empty plugin 2025-05-04 19:53:17 +07:00
Elian Doran a494ff1169
chore(ckeditor5): integrate ckeditor5-admonition 2025-05-04 19:06:23 +07:00
Elian Doran b0169d58ae
chore(ckeditor5-admonition): integrate code structure 2025-05-04 18:53:18 +07:00
Elian Doran 19168934bf
chore(ckeditor5-admonition): fix build errors 2025-05-04 18:41:44 +07:00
Elian Doran 35f5245c9e
chore(ckeditor5-admonition): create empty project 2025-05-04 18:36:03 +07:00
Elian Doran be5f62def5 Add '_regroup/ckeditor5-admonition/' from commit 'c3a95822085abd4c38c46c4999342ecfebd5ac7b'
git-subtree-dir: _regroup/ckeditor5-admonition
git-subtree-mainline: 07c2f1805e
git-subtree-split: c3a9582208
2025-05-04 18:33:29 +07:00
Elian Doran 07c2f1805e
chore(ckeditor5-mermaid): integrate the rest of the files 2025-05-04 18:19:26 +07:00
Elian Doran 89f95f6187
fix(ckeditor5-mermaid): add missing CSS 2025-05-04 18:12:04 +07:00
Elian Doran 6b1dab4448
chore(ckeditor5-mermaid): add rollup and build artifacts to ignore 2025-05-04 17:58:51 +07:00
Elian Doran 58382913a1
fix(ckeditor5-mermaid): solve some runtime errors 2025-05-04 17:32:42 +07:00
Elian Doran cdb62f4376
chore(ckeditor5): integrate ckeditor5-mermaid 2025-05-04 17:25:30 +07:00
Elian Doran fa58055109
chore(ckeditor5-mermaid): port source code 2025-05-04 17:12:49 +07:00
Elian Doran 178903f6b2 Add '_regroup/ckeditor5-mermaid/' from commit 'c15257da7e57b6303fda9744ee4153d1c5311d6f'
git-subtree-dir: _regroup/ckeditor5-mermaid
git-subtree-mainline: 90c0f41713
git-subtree-split: c15257da7e
2025-05-04 15:23:12 +07:00
Elian Doran 90c0f41713
chore(ckeditor5-mermaid): prepare for repo 2025-05-04 15:18:54 +07:00
Elian Doran 094648e7e6
chore(ckeditor5-mermaid): create new project 2025-05-04 15:10:45 +07:00
Elian Doran ba5c6eb816
chore(ckeditor5-keyboard-marker): fix missing composite for tsconfig 2025-05-04 15:00:10 +07:00
Elian Doran dad7e3e408
chore(ckeditor5-keyboard-marker): integrate rest of the files 2025-05-04 14:58:29 +07:00
Elian Doran 2a966e7fd8
chore(ckeditor5): integrate keyboard-marker 2025-05-04 14:47:59 +07:00
Elian Doran 11c437e67c
chore(ckeditor5-keyboard-marker): port source code 2025-05-04 14:38:37 +07:00
Elian Doran 2a700da824 Add '_regroup/ckeditor5-keyboard-marker/' from commit 'c875badc77499941b974c0e5ea7c24728a47e35d'
git-subtree-dir: _regroup/ckeditor5-keyboard-marker
git-subtree-mainline: b5fa9f8ea4
git-subtree-split: c875badc77
2025-05-04 14:24:39 +07:00
Elian Doran b5fa9f8ea4
chore(nx/ckeditor): initialize emptyproject for keyboard-marker 2025-05-04 14:17:47 +07:00
Elian Doran c5fc51365d
fix(client): build error due to missing copy-webpack-plugin 2025-05-04 14:17:12 +07:00
Elian Doran 62bd4220e7
docs(release): add footnotes change 2025-05-04 13:49:17 +07:00
SiriusXT 9b1ddd970c Add help for CTRL+SHIFT+CLICK 2025-05-04 17:30:13 +07:00
SiriusXT 5944d0acf4 Open an image in a new tab using ctrl+shift+click 2025-05-04 17:24:15 +07:00
SiriusXT 9765f2f6d7 Use Ctrl + Shift + Click on the launcher pane to open and activate in a new tab. 2025-05-04 17:18:02 +07:00
SiriusXT d3a6079d9b Open in a new tab and activate notes when ctrl+click in tree 2025-05-04 17:02:57 +07:00
Elian Doran f5a6ff5684
Merge pull request #1 from werererer/feature/footnotes-for-image-captions
feat(image-captions): make footnotes work in image captions
2025-05-04 11:59:02 +07:00
Elian Doran f0c735e4fc
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-04 11:10:04 +07:00
Elian Doran a1461fffde
fix(ci): docker-main not building due to use of npm 2025-05-04 11:09:59 +07:00
Elian Doran 69c541b118
Merge pull request #1850 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.28.4
2025-05-04 11:03:33 +07:00
Elian Doran 17c9dfc3d3
Merge pull request #1851 from TriliumNext/renovate/ws-8.x
chore(deps): update dependency ws to v8.18.2
2025-05-04 11:02:48 +07:00
Elian Doran d424ac6a9f
Merge pull request #1852 from TriliumNext/renovate/sqlite3-5.x
fix(deps): update dependency sqlite3 to v5.1.7
2025-05-04 11:01:40 +07:00
Elian Doran 3aaff38b30
Merge pull request #1853 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.26.0
2025-05-04 11:00:55 +07:00
Elian Doran 82888c62bc
chore(deps): unnecessary types 2025-05-04 10:41:08 +07:00
renovate[bot] acc5e34483
fix(deps): update dependency eslint-linter-browserify to v9.26.0 2025-05-04 07:40:48 +07:00
renovate[bot] d6a61767b5
fix(deps): update dependency sqlite3 to v5.1.7 2025-05-04 07:40:27 +07:00
renovate[bot] 1a6f7572c1
chore(deps): update dependency ws to v8.18.2 2025-05-04 07:39:41 +07:00
renovate[bot] d21d61d09a
chore(deps): update dependency typedoc to v0.28.4 2025-05-04 07:38:55 +07:00
Elian Doran b15b057777
fix(test): code block path not working when running tests 2025-05-04 10:31:24 +07:00
Elian Doran 398fc904b4
docs(release): technical improvements 2025-05-04 00:28:21 +07:00
Elian Doran 0da3148a00
Merge pull request #1749 from FliegendeWurst/patch-3
docs(dev): more info on several database tables
2025-05-04 00:27:24 +07:00
Elian Doran 1652481e42
Merge pull request #1846 from FliegendeWurst/openapi-revive
OpenAPI documentation fixes
2025-05-04 00:24:15 +07:00
Elian Doran 5090daed95
fix(server): list of syntax highlighting not working properly 2025-05-04 00:20:59 +07:00
Elian Doran 0ccbf75fa1
chore(ckeditor5/plugins): integrate file-upload 2025-05-03 23:39:30 +07:00
Elian Doran 26c060bd22
chore(ckeditor5/plugins): add file-upload
Original commit: a440988df452ab4367f5288269ba3c05aa5e6b8e
2025-05-03 23:13:01 +07:00
Elian Doran 3b13ba46f1
Merge pull request #1831 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v20.8.1
2025-05-03 22:44:21 +07:00
FliegendeWurst ea41b768f7 docs(dev): more entity_changes info 2025-05-03 21:18:46 +07:00
Arne Keller d2342b872c docs(dev): reword blobs doc to avoid any misunderstandings 2025-05-03 21:18:42 +07:00
renovate[bot] 235dd4c016
chore(deps): update nx monorepo to v20.8.1 2025-05-03 18:23:35 +07:00
Elian Doran 93b58f65c6
Merge pull request #1838 from TriliumNext/renovate/eslint-plugin-playwright-2.x 2025-05-03 21:18:50 +07:00
Elian Doran 68187527ba
Merge pull request #1834 from TriliumNext/renovate/typescript-5.x 2025-05-03 21:15:34 +07:00
renovate[bot] acbba43d37
chore(deps): update dependency typescript to ~5.8.0 2025-05-03 18:13:53 +07:00
Elian Doran bbd54836ec
Merge pull request #1839 from TriliumNext/renovate/jsdom-26.x 2025-05-03 21:13:48 +07:00
Elian Doran 285061fb6d
Merge pull request #1836 from TriliumNext/renovate/swc-monorepo 2025-05-03 21:10:05 +07:00
Elian Doran e51e66cdfc
Merge branch 'develop' into renovate/eslint-plugin-playwright-2.x 2025-05-03 21:04:28 +07:00
Elian Doran 68e38b0f21
Merge branch 'develop' into renovate/jsdom-26.x 2025-05-03 21:03:27 +07:00
Elian Doran 68456f0488
chore(tsconfig): disable no implicit override for now 2025-05-03 18:04:43 +07:00
Elian Doran 96fbf610d6
chore(ckeditor5/plugins): integrate includenote 2025-05-03 18:04:29 +07:00
Elian Doran 9d11f0e9c3
chore(ckeditor5/plugins): integrate mention customization 2025-05-03 17:48:22 +07:00
Elian Doran a44eaeaf10
chore(ckeditor5/plugins): integrate markdown inline 2025-05-03 17:22:49 +07:00
Elian Doran 2f09411c0d
chore(ckeditor5/plugins): integrate indent block shortcut 2025-05-03 17:20:14 +07:00
Elian Doran afb987d4dd
chore(ckeditor5/plugins): integrate emoji special characters 2025-05-03 17:14:18 +07:00
Elian Doran bf45720f21
chore(ckeditor5/plugins): integrate remove format links 2025-05-03 17:05:50 +07:00
Elian Doran 2dcd37001f
chore(ckeditor5/plugins): integrate reference link 2025-05-03 17:00:24 +07:00
Elian Doran a54d8ed811
chore(ckeditor5/plugins): integrate internal link 2025-05-03 16:51:17 +07:00
Elian Doran daa1df5a24
chore(ckeditor5/plugins): integrate italic as em & strikehtrough as del 2025-05-03 16:45:42 +07:00
Elian Doran 5cb5d8e511
chore(ckeditor5/plugins): integrate uploadimage 2025-05-03 16:40:32 +07:00
Elian Doran 444e33628c
fix(nx/client): assets and inline SVG for CKEditor plugins 2025-05-03 16:16:53 +07:00
Elian Doran 528704ef71
refactor(nx/client): use composable webpack config 2025-05-03 15:20:22 +07:00
Elian Doran ae85ec6ca6
chore(ckeditor5/plugins): integrate cuttonote 2025-05-03 15:05:00 +07:00
Elian Doran f664efacbf
chore(ckeditor5): integrate CSS 2025-05-03 13:02:35 +07:00
Elian Doran 8cc8dc2582
chore(ckeditor5): integrate basic plugins 2025-05-03 12:59:35 +07:00
Elian Doran e1af7eba93
chore(ckeditor5): first integration into client (WIP) 2025-05-03 12:39:34 +07:00
Elian Doran ba67812101
chore(ckeditor5): integrate building of ballon & decoupled 2025-05-03 12:14:45 +07:00
Elian Doran 0e95149daa Add '_regroup/ckeditor5-build-trilium/' from commit '1a1cb3d60be4f042b523fd3dd2fc54c67afff1c9'
git-subtree-dir: _regroup/ckeditor5-build-trilium
git-subtree-mainline: b6f166f1d7
git-subtree-split: 1a1cb3d60b
2025-05-03 12:05:08 +07:00
Elian Doran b6f166f1d7
chore(ckeditor5): add ckeditor as pnpm dependency 2025-05-03 12:04:55 +07:00
Elian Doran ba6aa16778
chore(nx/ckeditor5): create empty lib project 2025-05-03 11:44:18 +07:00
Elian Doran 05ad0666da
Merge pull request #1844 from TriliumNext/renovate/diff-7.x
fix(deps): update dependency diff to v7
2025-05-03 11:36:19 +07:00
renovate[bot] bf6cc402f1
fix(deps): update dependency diff to v7 2025-05-03 08:35:04 +07:00
Elian Doran 16b45d7cf1
Merge pull request #1830 from TriliumNext/renovate/ollama-0.x
chore(deps): update dependency ollama to v0.5.15
2025-05-03 11:34:04 +07:00
Elian Doran 4ce9678b7f
Merge pull request #1845 from TriliumNext/renovate/sqlite-5.x
fix(deps): update dependency sqlite to v5
2025-05-03 11:33:04 +07:00
Elian Doran cc24fe124f
Merge pull request #1832 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.52.0
2025-05-03 11:31:33 +07:00
renovate[bot] fd90038680
chore(deps): update swc monorepo 2025-05-03 08:28:27 +07:00
Elian Doran c1e5ab27b6
fix(dump-db): type-only import 2025-05-03 11:28:14 +07:00
Elian Doran e17cf9e0c6
Merge pull request #1840 from TriliumNext/renovate/webpack-cli-6.x
chore(deps): update dependency webpack-cli to v6
2025-05-03 11:25:12 +07:00
Elian Doran 70cf2513ce
feat(ci): add build to nx affected 2025-05-03 11:25:02 +07:00
Elian Doran 886dd60dd0
feat(db-compare): adapt to v214 2025-05-03 11:24:19 +07:00
Elian Doran b56ae01990
feat(db-compare): display usage 2025-05-03 11:15:50 +07:00
Elian Doran 21f1bfbfd0
feat(db-compare): improve error logging when loading database 2025-05-03 11:10:57 +07:00
renovate[bot] bcb113fd51
fix(deps): update dependency sqlite to v5 2025-05-03 08:03:26 +07:00
renovate[bot] 9adedd4fd2
chore(deps): update dependency webpack-cli to v6 2025-05-03 08:03:07 +07:00
Elian Doran 9959f28232
Merge pull request #1835 from TriliumNext/renovate/pnpm-10.x
chore(deps): update pnpm to v10.10.0
2025-05-03 10:59:08 +07:00
Elian Doran 39c90c23d3
Merge pull request #1841 from TriliumNext/renovate/npm-sqlite3-vulnerability
fix(deps): update dependency sqlite3 to v5.1.5 [security]
2025-05-03 10:57:29 +07:00
Elian Doran 58947bda83
chore(db-compare): get rid of package-lock 2025-05-03 10:56:56 +07:00
Elian Doran 63dbf9195d
chore(db-compare): approve build for sqlite3 2025-05-03 10:55:52 +07:00
FliegendeWurst f2c3ea78f5 Revive generate-openapi script 2025-05-03 09:05:31 +07:00
Arne Keller 6467265cfd Misc docs 2025-05-03 08:57:33 +07:00
Arne Keller 9b188503db Fix version number in API docs
TODO: get this automatically?
2025-05-03 08:54:20 +07:00
Arne Keller c8d5d69193 Fix doc comment, fix OpenAPI types 2025-05-03 08:53:36 +07:00
renovate[bot] d07035a7dd
fix(deps): update dependency sqlite3 to v5.1.5 [security] 2025-05-03 00:53:20 +07:00
Elian Doran 059553fd81
refactor(readme): change screenshot location 2025-05-03 03:53:08 +07:00
Elian Doran 7b25592cc5
chore(db-compare): port to TypeScript 2025-05-03 03:50:06 +07:00
Elian Doran 4b38eda827
chore(db-compare): move source code into monorepo 2025-05-03 03:35:10 +07:00
Elian Doran 0d4d9f7adf
chore(db-compare): create empty project for monorepo 2025-05-03 03:31:44 +07:00
Elian Doran 10319065ee Add '_regroup/trilium-db-compare/' from commit '22d59127f91a588dc5ce9555b7551e428df6a97a'
git-subtree-dir: _regroup/trilium-db-compare
git-subtree-mainline: 3e992736d5
git-subtree-split: 22d59127f9
2025-05-03 03:29:42 +07:00
renovate[bot] 922c4b22c4
chore(deps): update dependency jsdom to v26 2025-05-03 00:28:23 +07:00
renovate[bot] 2dbae3150e
chore(deps): update dependency eslint-plugin-playwright to v2 2025-05-03 00:27:57 +07:00
Elian Doran 3e992736d5
chore(deps): unnecessary webpack plugin 2025-05-03 03:26:58 +07:00
renovate[bot] df83e6c6f7
chore(deps): update pnpm to v10.10.0 2025-05-03 00:26:37 +07:00
renovate[bot] e33057004b
chore(deps): update dependency @playwright/test to v1.52.0 2025-05-03 00:24:47 +07:00
renovate[bot] 9867f4a617
chore(deps): update dependency ollama to v0.5.15 2025-05-03 00:24:08 +07:00
Elian Doran 6a4c705a44
chore(monorepo): clean up some more files 2025-05-03 03:20:19 +07:00
Elian Doran eadbad1e23
chore(monorepo): integrate VSCode config 2025-05-03 03:17:06 +07:00
Elian Doran f9db91d5a1
chore(monorepo): integrate everything from old monorepo 2025-05-03 03:14:23 +07:00
Elian Doran 85c8be691d
fix(canvas): fonts not loading 2025-05-03 03:14:00 +07:00
Elian Doran 848613667e
Merge pull request #1829 from TriliumNext/monorepo/express-partial-content
Integrate express-partial-content into monorepo
2025-05-03 02:48:28 +07:00
Elian Doran f8ccbb341e
chore(express-partial-content): remove sample files 2025-05-03 02:32:43 +07:00
Elian Doran c1a5b1a0aa
chore(express-partial-content): integrate tests and convert to vitest 2025-05-03 02:31:20 +07:00
Elian Doran d6736821b6
chore(express-partial-content): integrate more files 2025-05-03 02:06:43 +07:00
Elian Doran abede6239d
fix(import): MP4 videos not recognized due to upstream bug 2025-05-03 01:59:29 +07:00
Elian Doran dc8a0c6fff
chore(express-partial-content): integrate with server 2025-05-03 01:59:17 +07:00
Elian Doran 910cd68d0f
chore(express-partial-content): solve type errors 2025-05-03 01:38:21 +07:00
Elian Doran 7976f43a35
chore(express-partial-content): solve import errors 2025-05-03 01:24:10 +07:00
Elian Doran adc5e8929b
chore(express-partial-content): move source files 2025-05-03 01:21:46 +07:00
Elian Doran 24224d2c72
chore(nx): create empty project 2025-05-03 01:20:47 +07:00
Elian Doran 5dc060f49c Add '_regroup_monorepo/express-partial-content/' from commit 'b80bfb7ca44c16bd5b747362ac2f53ece911b225'
git-subtree-dir: _regroup_monorepo/express-partial-content
git-subtree-mainline: 7349176c98
git-subtree-split: b80bfb7ca4
2025-05-03 01:19:52 +07:00
Elian Doran c23bad3112
Merge pull request #1788 from TriliumNext/renovate/anthropic-ai-sdk-0.x
chore(deps): update dependency @anthropic-ai/sdk to v0.40.1
2025-05-03 01:04:09 +07:00
Elian Doran 640f31e243
Merge pull request #1790 from TriliumNext/renovate/openai-4.x
chore(deps): update dependency openai to v4.97.0
2025-05-03 01:03:45 +07:00
Elian Doran 7349176c98
chore(docs): revert accidental change of README 2025-05-03 01:02:38 +07:00
Elian Doran ca716bd0f5
Merge pull request #1752 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.2.2
2025-05-03 00:01:53 +07:00
renovate[bot] bac1781902
chore(deps): update dependency electron to v35.2.2 2025-05-02 20:57:24 +07:00
Elian Doran 588b65dd8d
Merge pull request #1787 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.15.0
2025-05-02 23:56:13 +07:00
Elian Doran 7822d2ed32
Merge pull request #1811 from TriliumNext/renovate/electron-rebuild-4.x
chore(deps): update dependency @electron/rebuild to v4
2025-05-02 23:55:59 +07:00
Elian Doran 0bbfaff84c
Merge remote-tracking branch 'origin/develop' into renovate/electron-rebuild-4.x 2025-05-02 23:40:12 +07:00
Elian Doran 64fa4cdec9
chore(ci): set fetch depth for affected 2025-05-02 23:38:58 +07:00
Elian Doran b645ee1dae
chore(ci): set default base for affected 2025-05-02 23:35:55 +07:00
Elian Doran 8dda47dbf7
chore(ci): set up affected on main branch 2025-05-02 23:34:47 +07:00
Elian Doran c83501001e
chore(ci): try to fix affected base 2025-05-02 23:30:12 +07:00
Elian Doran 11d33bf232
chore(ci): set SHAs for affected check 2025-05-02 23:26:59 +07:00
Elian Doran a10e3e0088
chore(edit-docs): apply same changes as desktop 2025-05-02 23:25:01 +07:00
Elian Doran 0b00c73ed3
chore(desktop): adapt to new rebuild script 2025-05-02 23:24:32 +07:00
Elian Doran 845af5472e
chore(ci): skip other jobs if affected fails 2025-05-02 23:19:43 +07:00
Elian Doran c4e6039b84
chore(nx): ssync tsconfig 2025-05-02 23:17:11 +07:00
Elian Doran 5406d69094
chore(nx): set default branch 2025-05-02 23:17:03 +07:00
Elian Doran 3ea3ad1c1b
feat(ci): check rebuild-deps 2025-05-02 23:16:54 +07:00
Elian Doran c081f324cd
Merge pull request #1757 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.28.3
2025-05-02 23:07:59 +07:00
Elian Doran e7eb832733
Merge pull request #1786 from TriliumNext/renovate/leaflet-gpx-2.x
fix(deps): update dependency leaflet-gpx to v2.2.0
2025-05-02 23:06:42 +07:00
Elian Doran 31f591ab62
Merge pull request #1758 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25.0.2
2025-05-02 23:05:52 +07:00
Elian Doran 7067c9d088
Merge pull request #1766 from TriliumNext/renovate/vitest-monorepo
chore(deps): update dependency @vitest/coverage-v8 to v3.1.2
2025-05-02 23:05:26 +07:00
Elian Doran f380bbf151
Merge pull request #1759 from TriliumNext/renovate/csrf-csrf-3.x
chore(deps): update dependency csrf-csrf to v3.2.2
2025-05-02 23:04:48 +07:00
Elian Doran f87633b585
Merge pull request #1768 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.11
2025-05-02 23:01:24 +07:00
Elian Doran 01ca949277
Merge pull request #1767 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.25.1
2025-05-02 23:00:52 +07:00
Elian Doran b301b073a3
Merge pull request #1789 from TriliumNext/renovate/axios-1.x
chore(deps): update dependency axios to v1.9.0
2025-05-02 22:58:56 +07:00
renovate[bot] fa48d90fe4
chore(deps): update node.js to v22.15.0 2025-05-02 19:56:19 +07:00
Elian Doran 5a9a72058e
Merge pull request #1785 from TriliumNext/renovate/webpack-5.x 2025-05-02 22:53:50 +07:00
Elian Doran a57b3f98da
Merge pull request #1809 from TriliumNext/renovate/tsx-4.x 2025-05-02 22:52:02 +07:00
renovate[bot] 51a5d9b76a
chore(deps): update dependency openai to v4.97.0 2025-05-02 19:51:27 +07:00
Elian Doran 88e41f32d8
Merge pull request #1813 from TriliumNext/renovate/is-svg-6.x 2025-05-02 22:49:36 +07:00
Elian Doran a9d42498cc
Merge pull request #1783 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.5.2
2025-05-02 22:20:06 +07:00
Elian Doran 27435a23c7
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-02 21:37:27 +07:00
renovate[bot] 60e29ea807
chore(deps): update dependency tsx to v4.19.4 2025-05-02 18:34:24 +07:00
Elian Doran ba5eef66e7
docs(release): mention dependency updates 2025-05-02 21:32:49 +07:00
Elian Doran c564cce4ff
Merge pull request #1818 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.4.6
2025-05-02 21:31:39 +07:00
Elian Doran 6b64c4daaa
chore(release): update version in package.json 2025-05-02 21:29:19 +07:00
renovate[bot] eb5bf9aef3
chore(deps): update dependency webpack to v5.99.7 2025-05-02 18:18:19 +07:00
Elian Doran 11047cac42
Merge pull request #1828 from TriliumNext/renovate/npm-esbuild-vulnerability
chore(deps): update dependency esbuild to ^0.25.0 [security]
2025-05-02 21:15:23 +07:00
renovate[bot] a6e6ba7efd
chore(deps): update dependency is-svg to v6 2025-05-02 18:08:59 +07:00
renovate[bot] a771006e6b
chore(deps): update dependency @electron/rebuild to v4 2025-05-02 18:07:13 +07:00
renovate[bot] 492ee052e2
fix(deps): update dependency leaflet-gpx to v2.2.0 2025-05-02 18:06:37 +07:00
renovate[bot] 979e17bd48
chore(deps): update dependency csrf-csrf to v3.2.2 2025-05-02 18:05:03 +07:00
renovate[bot] 1cfc1c8a8c
chore(deps): update dependency axios to v1.9.0 2025-05-02 18:04:35 +07:00
renovate[bot] 8691adb224
chore(deps): update dependency @anthropic-ai/sdk to v0.40.1 2025-05-02 18:04:03 +07:00
Elian Doran d1b945e769
chore(release): mention monorepo 2025-05-02 21:03:31 +07:00
renovate[bot] bc104c35ac
fix(deps): update dependency mind-elixir to v4.5.2 2025-05-02 18:02:00 +07:00
renovate[bot] 98891bad24
fix(deps): update dependency marked to v15.0.11 2025-05-02 18:01:29 +07:00
renovate[bot] 8a7600c7cb
fix(deps): update dependency i18next to v25.0.2 2025-05-02 18:00:59 +07:00
renovate[bot] 93f77d384e
fix(deps): update dependency eslint-linter-browserify to v9.25.1 2025-05-02 18:00:31 +07:00
renovate[bot] d9d2964fd3
chore(deps): update dependency typedoc to v0.28.3 2025-05-02 17:58:27 +07:00
renovate[bot] c5ec750bde
chore(deps): update dependency happy-dom to v17.4.6 2025-05-02 17:57:56 +07:00
renovate[bot] 49f79d176c
chore(deps): update dependency @vitest/coverage-v8 to v3.1.2 2025-05-02 17:57:27 +07:00
renovate[bot] 4ec92c35c4
chore(deps): update dependency esbuild to ^0.25.0 [security] 2025-05-02 17:57:19 +07:00
Elian Doran cfccf29672
Merge pull request #1773 from TriliumNext/feature/nx_monorepo
Set up NX-based monorepo
2025-05-02 20:54:23 +07:00
Elian Doran 81ebbb9390
chore(docs): restructure developer guide for monorepo 2025-05-02 20:51:13 +07:00
Elian Doran 27d1948bb1
chore(docs): improve EOL handling 2025-05-02 20:21:59 +07:00
Elian Doran 3e77e360ee
fix(edit-docs): wrong path to user guide 2025-05-02 20:02:50 +07:00
Elian Doran 54fa812ef7
chore(deps): sync package lock 2025-05-02 20:02:36 +07:00
Elian Doran e596adca00
fix(nx/edit-docs): rebuild script not working properly 2025-05-02 20:02:29 +07:00
Elian Doran 6e46ab0598
fix(export/zip): stylesheet not embedded due to wrong path 2025-05-02 20:01:07 +07:00
Elian Doran 6c2e5a1cc4
fix(server): help-dist incorrectly served in prod 2025-05-02 19:23:29 +07:00
Elian Doran 542d50b66e
fix(sign): errors caused by logging 2025-05-02 17:19:44 +07:00
Elian Doran a97e110820
Revert "chore(monorepo): use hoisted pattern as it might help signing"
This reverts commit 762da51183.
2025-05-02 12:53:10 +07:00
Elian Doran 762da51183
chore(monorepo): use hoisted pattern as it might help signing 2025-05-01 22:37:27 +07:00
Elian Doran de2de04f35
chore(sign): use sign code known to work 2025-05-01 21:49:22 +07:00
Elian Doran ebab12dcc2
chore(sign): change log format 2025-05-01 21:49:10 +07:00
Elian Doran 18fff2823c
chore(monorepo): integrate some more files 2025-05-01 21:30:51 +07:00
Elian Doran 1b2d769e85
chore(vs-code): i18n integration 2025-05-01 21:21:40 +07:00
Elian Doran 5596fa54f2
chore(sign): fix another import error 2025-05-01 21:19:34 +07:00
Elian Doran 1f9ddce566
chore(sign): fix import error 2025-05-01 21:07:55 +07:00
Elian Doran d388cfa653
chore(vs-code): extension recommandations 2025-05-01 20:56:29 +07:00
Elian Doran d48face40f
Merge branch 'feature/nx_monorepo' of https://github.com/TriliumNext/Notes into feature/nx_monorepo 2025-05-01 20:47:04 +07:00
Elian Doran 04ed9c0155
chore(sign): clean up 2025-05-01 20:45:04 +07:00
Elian Doran c4b89f7340
Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-05-01 19:18:59 +07:00
Elian Doran 8f46116e9a
chore(sign): stop terminating signing if it fails 2025-05-01 19:15:02 +07:00
Elian Doran 308bbd160a
chore(sign): log architecture of sign tool 2025-05-01 17:59:52 +07:00
Elian Doran 9b2accb370
chore(sign): log architecture of sign tool 2025-05-01 17:50:02 +07:00
Elian Doran 385182cd97
fix(edit-docs): get Electron to actually start 2025-05-01 17:22:26 +07:00
Elian Doran b72e7339c8
fix(edit-docs): missing assets 2025-05-01 16:42:21 +07:00
Elian Doran 389bb79607
fix(edit-docs): electron not being able to start 2025-05-01 16:37:13 +07:00
Elian Doran 8d705f1712
chore(e2e): remove usage of path which caused some issues 2025-05-01 16:36:42 +07:00
Elian Doran 1d1289142d
chore(types): fix errors due to verbatim module syntax 2025-05-01 16:36:26 +07:00
Elian Doran 783c99a738
test(client): wrong path to help button 2025-05-01 16:31:22 +07:00
Elian Doran 42ea41b33e
chore(nx): fix "Cannot read properties of undefined" 2025-05-01 16:28:06 +07:00
Elian Doran 3119169b2e
Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-05-01 16:22:53 +07:00
Elian Doran 8667ee3eb4
fix(server): in-app documentation for prod 2025-05-01 16:21:08 +07:00
Elian Doran d690344c00
chore(server-e2e): URL causing cookies to not work properly 2025-05-01 14:29:45 +07:00
Elian Doran a083418906
chore(server-e2e): allow starting via VS Code 2025-05-01 13:39:10 +07:00
Elian Doran b64521d250
chore(nx/desktop): use custom electron-rebuild script 2025-05-01 12:45:42 +07:00
Elian Doran a0c1bdde88
chore(nx/desktop): fix electron-rebuild on fresh install 2025-05-01 11:30:44 +07:00
Elian Doran 6e29b050af
chore(nx/desktop): rename scripts to avoid collision with server 2025-05-01 11:28:05 +07:00
Elian Doran 094c94e848
chore(sign-windows): display output dir 2025-05-01 10:36:15 +07:00
Elian Doran 4689ef213c
Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-04-30 22:29:51 +07:00
Elian Doran 87d7dc8618
chore(nx): add name to each project 2025-04-30 22:28:25 +07:00
Elian Doran e314372fbd
chore(edidt-docs): fix entrypoint partially 2025-04-30 22:17:38 +07:00
Elian Doran 52d6efedff
chore(edit-docs): get it to start partially 2025-04-30 22:17:38 +07:00
Elian Doran 5d982ea438
chore(forge): gather files to be signed for analysis 2025-04-30 14:02:47 +07:00
Elian Doran 57c6dd2fee
chore(forge): gather files to be signed for analysis 2025-04-30 11:36:13 +07:00
Elian Doran 614958f16c
chore(docker): reintroduce healthchecks 2025-04-30 10:23:13 +07:00
Elian Doran 78c88d797c
chore(docker): fix missing bindings after refactoring 2025-04-30 10:01:56 +07:00
Elian Doran 466e7e2fb9
chore(ci/docker): fix entrypoint 2025-04-30 09:45:52 +07:00
Elian Doran 419eb0bf9b
chore(ci/docker): fix "no such file or directory" 2025-04-30 09:36:00 +07:00
Elian Doran dd99f6c918
chore(docker): integrate debian-based container 2025-04-29 22:41:26 +07:00
Elian Doran fada21027e
chore(ci): adapt more docker steps 2025-04-29 22:20:17 +07:00
Elian Doran 2920838ab1
chore(docker): fix docker-build script 2025-04-29 21:54:40 +07:00
Elian Doran 6da8a89e80
chore(docker): use paths relative to project 2025-04-29 21:48:35 +07:00
Elian Doran a6f401be4b
chore(ci/playwright): change playwright targets 2025-04-29 15:09:08 +07:00
Elian Doran 965d64f56c
chore(ci/playwright): set up pnpm 2025-04-29 14:33:19 +07:00
Elian Doran 83385a20bc
chore(edit-docs): add serve script 2025-04-29 13:11:25 +07:00
Elian Doran 00396614ed
chore(nx): integrate edit-docs 2025-04-29 12:50:05 +07:00
Elian Doran d812471f8c
chore(ci/docker): trigger dist build 2025-04-29 12:30:53 +07:00
Elian Doran 37708c8866
fix(docker): missing file 2025-04-29 12:19:45 +07:00
Elian Doran 6aaa25ef9d
chore(nx/ci): add concurrency to nightly builds 2025-04-29 11:35:15 +07:00
Elian Doran 7e2d63847e
chore(nx/ci): fix "Build Docker image" step 2025-04-29 11:34:12 +07:00
Elian Doran 054c0246d5
test(turndown-plugin-gfm): fix tests for table 2025-04-29 11:29:15 +07:00
Elian Doran 2c2953cb9e
test(turndown-plugin-gfm): wrong test cases for strikethrough 2025-04-29 11:13:25 +07:00
Elian Doran 50d1d4fae1
chore(test/client): wrong path to docs 2025-04-29 10:57:15 +07:00
Elian Doran 32bc24b4c8
chore(test/client): solve dependency error due to CJS 2025-04-29 10:53:08 +07:00
Elian Doran d31fa7a6cd
chore(nx/e2e): use generated playwright workflow 2025-04-29 10:01:07 +07:00
Elian Doran e0002078b7
chore(deps): update lock file 2025-04-29 09:51:45 +07:00
Elian Doran ee428012e2
chore(nx/desktop): add entry point for NixOS 2025-04-29 09:51:32 +07:00
Elian Doran 9d5fbc60ad
chore(nx/dump-db): integrate into monorepo 2025-04-29 00:17:58 +07:00
Elian Doran fdcdc41ea6
chore(nx): clean up package JSON 2025-04-28 23:31:58 +07:00
Elian Doran 64f315437e
chore(turndown-plugin-gfm): integrate tests 2025-04-28 23:27:00 +07:00
Elian Doran b9af4e4e28
chore(nx): remove unnecessary git files 2025-04-28 23:02:03 +07:00
Elian Doran e18613148b
chore(nx/server): set up e2e 2025-04-28 22:58:00 +07:00
Elian Doran 546bb52abe
chore(nx/forge): print signing logs on error 2025-04-28 21:57:48 +07:00
Elian Doran 6aaacd6ca1
fix(test/server): one more failing test 2025-04-28 21:55:40 +07:00
Elian Doran 4976033c16
chore(nx/forge): log architecture 2025-04-28 21:29:03 +07:00
Elian Doran ea4f5f157e
chore(nx/forge): try to copy the file instead 2025-04-28 21:04:11 +07:00
Elian Doran 9bf1e7b0b6
chore(nx/forge): display content for debugging 2025-04-28 20:38:22 +07:00
Elian Doran 31aff8a43a
chore(nx/forge): try to use real path for signing 2025-04-28 20:24:01 +07:00
Elian Doran d6c67b00e6
chore(nx/forge): report error when signing 2025-04-28 20:20:16 +07:00
Elian Doran 2ccbc100ec
chore(nx/forge): add error logging for windows signing 2025-04-28 20:09:45 +07:00
Elian Doran 317d95fd60
chore(nx/desktop): set up serve 2025-04-28 19:58:43 +07:00
Elian Doran 7671143233
chore(test/server): fix date notes test 2025-04-28 17:38:24 +07:00
Elian Doran bb278d495e
chore(test/server): fix some mocks no longer working 2025-04-28 17:35:52 +07:00
Elian Doran 6db6bec847
chore(test/server): fix isWindows() read before defined 2025-04-28 17:31:08 +07:00
Elian Doran 43876deefc
chore(test/server): always initialize translations 2025-04-28 17:30:58 +07:00
Jakob Schlanstedt f10548a05c feat(image-captions): make footnotes work in image captions 2025-04-28 16:08:05 +07:00
Elian Doran 6e4698cf61
chore(test/server): fix some initialization errors 2025-04-28 17:02:43 +07:00
Elian Doran cc07144f21
chore(test/server): wrong test config 2025-04-28 16:41:49 +07:00
Elian Doran 59663ed696
fix(test/server): supertest-based tests no longer working 2025-04-28 16:41:41 +07:00
Elian Doran 4dafa56671
fix(test): url import not found 2025-04-28 11:03:38 +07:00
Elian Doran f6dc912d2a
fix(test): i18n tests 2025-04-28 10:56:20 +07:00
Elian Doran 5029bfe3fe
chore(nx): merge vitest configs 2025-04-28 10:43:18 +07:00
Elian Doran 05a61ebd29
fix(server): imports in migration not working 2025-04-28 10:19:51 +07:00
Elian Doran d74b8e65bd
fix(server): migration not working 2025-04-28 10:02:20 +07:00
Elian Doran 729ea1d2bc
refactor(test/server): database 2025-04-28 09:52:59 +07:00
Elian Doran 0bef31c8a7
refactor(server): migration DBs 2025-04-28 09:46:25 +07:00
Elian Doran f60bc89820
refactor(client): unused imports 2025-04-28 09:46:00 +07:00
Elian Doran 8773c32d4f
Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-04-28 09:38:09 +07:00
Elian Doran a8b881799d
chore(nx/test): set up global test script 2025-04-28 09:18:29 +07:00
Elian Doran 0fa6524de4
chore(test/server): add back integration test database 2025-04-28 08:54:57 +07:00
Elian Doran fb6c8e04aa
fix(nx/turndown-plugin-gfm): wrong entrypoint for vite 2025-04-28 08:26:31 +07:00
Elian Doran b5eedf259e
chore(nx/server): introduce tests 2025-04-28 08:26:13 +07:00
Elian Doran b2f8b0014f
chore(nx/ci): display output of signing 2025-04-27 23:51:15 +07:00
Elian Doran bac0503c74
chore(nx/ci): add debug logs for signing 2025-04-27 23:47:51 +07:00
Elian Doran eab98e23c0
chore(nx/ci): display output of signing 2025-04-27 22:05:09 +07:00
Elian Doran dbad4fce36
chore(nx/forge): try a method to avoid missing prebuilds 2025-04-27 21:22:04 +07:00
Elian Doran fec9ca60db
fix(nx/forge): rebuild not working due to ignore logic 2025-04-27 18:14:55 +07:00
Elian Doran ceb4f2084f
chore(nx/forge): add debug logging for electron-rebuild 2025-04-27 17:42:07 +07:00
Elian Doran 8c685e6c7b
chore(nx/forge): try to force rebuild packages 2025-04-27 17:41:54 +07:00
Elian Doran 7cc2e04319
fix(forge/macos): approve fs-xattr & macos-alias 2025-04-27 14:32:37 +07:00
Elian Doran 00806841ab
Revert "chore(nx/forge): add some debug logging for env"
This reverts commit 575f38e6e0.
2025-04-27 14:15:08 +07:00
Elian Doran 543d61590f
feat(forge): bypass macos signing when building locally 2025-04-27 14:14:54 +07:00
Elian Doran 6e1b8ba932
fix(nx/forge): missing apple id for signing 2025-04-27 12:59:46 +07:00
Elian Doran 575f38e6e0
chore(nx/forge): add some debug logging for env 2025-04-27 12:52:11 +07:00
Elian Doran dfdc93f3fe
chore(nx/forge): missing license meta 2025-04-27 12:46:45 +07:00
Elian Doran bf98d92c23
chore(nx/server): fix upload path 2025-04-27 12:43:26 +07:00
Elian Doran 0784a71d79
chore(nx/forge): fix package not building server 2025-04-27 12:38:09 +07:00
Elian Doran 3bdd13fa44
chore(nx/forge): work on server packaging 2025-04-27 12:22:10 +07:00
Elian Doran 1a92e489d9
chore(nx/forge): try setting more options to fix rpm build 2025-04-27 12:13:36 +07:00
Elian Doran 8377a805c2
chore(nx/forge): try setting more options to fix deb build 2025-04-27 12:06:02 +07:00
Elian Doran d4b5f9508f
chore(nx/ci): fix wrong cache 2025-04-27 12:03:12 +07:00
Elian Doran 54202c55d2
chore(nx/forge): try to fix .deb building 2025-04-27 11:58:05 +07:00
Elian Doran edffe3afe5
chore(nx/ci): set client as implicit dependency for server 2025-04-27 11:39:02 +07:00
Elian Doran c1a7b3653d
chore(nx/ci): fix some dependencies not being triggered 2025-04-27 11:32:26 +07:00
Elian Doran 8f5dc1a1c5
chore(nx/ci):: fix glob 2025-04-27 10:28:22 +07:00
Elian Doran 5560691bea
chore(nx/ci):: run electron-forge:make 2025-04-27 10:15:00 +07:00
Elian Doran 17e5a6e6ac
chore(nx/ci):: workspace scripts 2025-04-27 09:58:40 +07:00
Elian Doran 9f5d23349d
chore(nx/ci): set up pnpm install 2025-04-27 09:41:43 +07:00
Elian Doran 76a6decf65
chore(nx/ci): set up pnpm 2025-04-27 09:40:13 +07:00
Elian Doran 273af2d83b
chore(nx/client): set up pnpm for release 2025-04-26 23:44:46 +07:00
Elian Doran 3890eff6ba
chore(nx/client): reintegrate tests 2025-04-26 23:03:16 +07:00
Elian Doran 251660e0cb
chore(nx): restructure dependencies 2025-04-26 22:40:34 +07:00
Elian Doran 81df2e7fa8
refactor(nx/forge): typo 2025-04-26 11:58:35 +07:00
Elian Doran bfb2ca577d
fix(nx/forge): missing highlightjs 2025-04-26 11:45:32 +07:00
Elian Doran 880958e251
fix(nx/forge): missing jquery-hotkeys 2025-04-26 11:38:39 +07:00
Elian Doran 7a2b481036
chore(nx/desktop): dedicated port 2025-04-26 11:27:53 +07:00
Elian Doran 379d482d24
fix(nx/server): incorrect normalize.css 2025-04-26 10:14:01 +07:00
Elian Doran 345e5cfaf0
fix(nx/forge): path to electron-forge binaries 2025-04-26 09:58:42 +07:00
Elian Doran b34d82336c
fix(nx/forge): app icons missing 2025-04-26 09:56:23 +07:00
Elian Doran 82e98e5f59
fix(nx/forge): electron-forge:make not working 2025-04-26 04:07:22 +07:00
Elian Doran 312288988d
feat(nx/forge): reduce size of better-sqlite3 2025-04-26 04:03:20 +07:00
Elian Doran ebb78e4ce5
fix(nx/forge): serve assets from ASAR 2025-04-26 03:25:07 +07:00
Elian Doran e266b50198
chore(nx/forge): fix prebuilds and build from dist 2025-04-26 03:23:47 +07:00
Elian Doran aa388e0509
chore(nx/forge): ignore a few unnecessary files 2025-04-26 02:13:59 +07:00
Elian Doran dffbbeebc9
chore(nx/forge): add package command 2025-04-26 02:12:52 +07:00
Elian Doran 6db093c1e9
chore(nx): update gitignore 2025-04-26 01:29:03 +07:00
Elian Doran adb6a7c58b
fix(nx/forge): nuspec failing due to missing meta 2025-04-26 01:28:07 +07:00
Elian Doran de4fc4735b
fix(nx/forge): setup icon 2025-04-26 01:09:32 +07:00
Elian Doran b6b9ca1ab5
chore(nx/forge): add strange workaround to solve node modules
Here we need to ensure that there is no `node_modules` in
`apps/desktop` since electron-forge will pick it up and use only that,
meaning that all the hoisted dependencies available in the project root
will not be accessible and it will error out.

See https://github.com/pnpm/pnpm/issues/7880 for more information.
2025-04-26 00:42:43 +07:00
Elian Doran 997ed22b86
chore(nx/forge): templates not working 2025-04-25 18:44:03 +07:00
Elian Doran 457bf2bf5e
chore(nx/server): get electron-forge up to "Finalizing package" 2025-04-25 18:23:52 +07:00
Elian Doran 4257da62fd
fix(nx/forge): get forge building to actually run 2025-04-25 17:46:50 +07:00
Elian Doran 506935b365
fix(nx/forge): get forge command to execute 2025-04-25 17:13:01 +07:00
Elian Doran 8f26d4cf63
fix(nx/docker): LLM prompts not accessible 2025-04-25 16:28:36 +07:00
Elian Doran 69f854034f
fix(nx/docker): client-side translations 2025-04-25 14:06:33 +07:00
Elian Doran d8ee579204
fix(nx/docker): icon, manifest & robots.txt 2025-04-25 14:01:39 +07:00
Elian Doran b63a5d348a
fix(nx/docker): serving most assets 2025-04-25 13:40:11 +07:00
Elian Doran db71c18d2b
feat(nx/docker): bind port 2025-04-25 13:34:06 +07:00
Elian Doran 76e43f3274
chore(nx/server): sync dependencies 2025-04-25 13:26:20 +07:00
Elian Doran 73bfff34db
fix(nx/docker): access to ETAPI 2025-04-25 13:26:08 +07:00
Elian Doran 9fc06c4aed
refactor(nx/docker): more cacheable installation 2025-04-25 12:41:50 +07:00
Elian Doran b9a16c6173
fix(nx/docker): wrong paths at app level 2025-04-25 12:27:34 +07:00
Elian Doran a808f0680c
fix(nx/docker): wrong native for better-sqlite3 2025-04-25 12:17:52 +07:00
Elian Doran 9ef24eff52
chore(vscode): add yaml to recommendations 2025-04-25 12:14:35 +07:00
Elian Doran 422c16997b
chore(vscode): add docker to recommendations 2025-04-25 12:00:08 +07:00
Elian Doran cc7d6dea25
chore(nx/docker): add entrypoint for starting docker 2025-04-25 11:57:53 +07:00
Elian Doran b44876ee08
chore(nx/server): resource dir 2025-04-25 10:50:58 +07:00
Elian Doran 0e8b1f31b3
chore(nx/docker): basic integration 2025-04-25 09:54:10 +07:00
Elian Doran 12977f145c
chore(nx): add server:start 2025-04-25 08:49:04 +07:00
Elian Doran 12581a5363
chore(monorepo/server): native dependencies 2025-04-25 00:14:00 +07:00
Elian Doran 7adafdf56e
fix(monorepo/electron): tray icon 2025-04-24 23:27:01 +07:00
Elian Doran 26815842c5
chore(monorepo/server): type error 2025-04-24 22:37:35 +07:00
Elian Doran be79eb41da
fix(monorepo/{client,server}): loading of fonts 2025-04-24 22:36:10 +07:00
Elian Doran 7935b250d0
fix(monorepo/desktop): remote not working 2025-04-24 22:16:59 +07:00
Elian Doran e8095e8056
chore(vscode): add NX console to recommended extensions 2025-04-24 22:09:46 +07:00
Elian Doran 37a7cb6e82
chore(monorepo/desktop): improve run script 2025-04-24 21:47:03 +07:00
Elian Doran e819facf63
fix(monorepo/server): missing dependencies to bettersqlite 2025-04-24 21:45:13 +07:00
Elian Doran ec8740b179
fix(nx/desktop): get dist to start by simplifying module import 2025-04-24 21:30:31 +07:00
Elian Doran aab545b82e
chore(nx/server): set proper resource dir when run from dist 2025-04-24 16:08:02 +07:00
Elian Doran aa68c705f0
chore(nx/server): remove logging 2025-04-24 15:51:58 +07:00
Elian Doran e6f9d402cd
fix(nx/desktop): use proper approach for ejs missing 2025-04-24 15:51:49 +07:00
Elian Doran 3ce4aa12d4
fix(nx/desktop): ejs missing 2025-04-24 15:39:34 +07:00
Elian Doran e3cff46151
chore(nx/desktop): remove unnecessary dependencies & adapt scripts 2025-04-24 15:10:22 +07:00
Elian Doran 6aef6dfbd8
chore(nx/desktop): copy client 2025-04-24 15:04:39 +07:00
Elian Doran f602a9f8bc
chore(nx/desktop): run scripts 2025-04-24 15:04:34 +07:00
Elian Doran cd14d8eee5
fix(nx/server): access to highlight.js styles 2025-04-24 14:55:11 +07:00
Elian Doran 494ee4739a
fix(nx/server): access to assets in prod 2025-04-24 14:47:48 +07:00
Elian Doran d6f4b44360
chore(nx): change data dir for server:start-prod 2025-04-24 14:41:36 +07:00
Elian Doran 6cd604313e
chore(nx): update scripts 2025-04-24 14:36:36 +07:00
Elian Doran ab2f0eed74
fix(nx/server): disable chunking for prod 2025-04-24 14:36:25 +07:00
Elian Doran 258fe2e452
fix(nx/server): missing images in dist 2025-04-24 13:45:48 +07:00
Elian Doran 13d9cb4679
fix(nx/server): flaky run due to missing debug dependency 2025-04-24 13:43:41 +07:00
Elian Doran a84744da30
chore(nx): trigger client build when server is built 2025-04-24 13:34:03 +07:00
Elian Doran b3754f4263
chore(nx): sync tsconfig 2025-04-24 13:25:32 +07:00
Elian Doran 11955ae56e
fix(nx/server): serve most assets for dist 2025-04-24 13:18:06 +07:00
Elian Doran 5911eaf6b2
fix(nx/server): get images to work in dev mode 2025-04-24 12:35:53 +07:00
Elian Doran d2010872ac
feat(nx/server): copy client into server 2025-04-24 11:55:21 +07:00
Elian Doran 28ce71a203
fix(monorepo/server): get translations to work 2025-04-24 11:38:50 +07:00
Elian Doran c79e3f535a
fix(monorepo/server): asset path 2025-04-24 11:30:59 +07:00
Elian Doran c8f0fac7c7
fix(monorepo/client): errors after pnpm 2025-04-24 11:28:59 +07:00
Elian Doran de944576b6
chore(monorepo/server): set up copy of bettersqlite 2025-04-24 11:18:08 +07:00
Elian Doran 42c5ef257d
chore(monorepo): get electron to start 2025-04-23 19:59:16 +07:00
Elian Doran 5389b8b3c7
chore(monorepo): switch to pnpm 2025-04-23 19:12:54 +07:00
Elian Doran 5dd2b216a5
fix(nx/desktop): backend not imported well 2025-04-23 14:58:49 +07:00
Elian Doran 5d02afe7f8
chore(nx/desktop): implement electron-rebuild 2025-04-23 14:38:41 +07:00
Elian Doran 4e6047f84d
chore(nx/desktop): copy .node file for better-sqlite3 2025-04-23 14:31:11 +07:00
Elian Doran 470cd7f622
chore(nx/desktop): bundle server 2025-04-23 13:29:27 +07:00
Elian Doran 7f9651450b
chore(nx/desktop): set up source code via webpack 2025-04-23 13:22:13 +07:00
Elian Doran 15fbe41312
chore(nx/desktop): switch to webpack-based build 2025-04-23 13:10:13 +07:00
Elian Doran 492e953517
chore(nx/desktop): start off with empty project 2025-04-23 12:59:26 +07:00
Elian Doran ca309f3b58
chore(nx/client): get rid of warnings overlay 2025-04-23 12:20:29 +07:00
Elian Doran 9d284a5fe5
chore(nx/client): revert change to i18n debug 2025-04-23 12:17:57 +07:00
Elian Doran 43a44bf44c
chore(nx/client): supress bootstrap warnings 2025-04-23 12:10:47 +07:00
Elian Doran 44b778fde6
fix(nx/client): proxying of libraries 2025-04-23 11:40:23 +07:00
Elian Doran b213f9940e
fix(nx/client): missing runtime chunk 2025-04-23 11:24:30 +07:00
Elian Doran 824d9e8b59
refactor(nx/client): fix CSS comment breaking build 2025-04-23 10:30:47 +07:00
Elian Doran b2d051edee
refactor(nx/server): fix proxying of stylesheets 2025-04-23 10:24:05 +07:00
Elian Doran 0d4de2a7dd
refactor(nx/client): add types for http proxy 2025-04-23 10:16:11 +07:00
Elian Doran 659ccd8561
refactor(nx/client): set up proxy to client 2025-04-23 10:08:02 +07:00
Elian Doran 5308a089b8
chore(nx/client): set up proxy to client 2025-04-23 10:06:37 +07:00
Elian Doran 4e8ab98db1
chore(nx/client): missing config-sample 2025-04-23 10:00:05 +07:00
Elian Doran eb67fe540a
chore(nx/client): set up environment variables for serve 2025-04-23 09:59:05 +07:00
Elian Doran c3a0c5427d
chore(nx/client): set up entrypoints 2025-04-23 09:32:47 +07:00
Elian Doran f89eb8cfd9
chore(nx/client): warning about util module 2025-04-23 09:27:53 +07:00
Elian Doran 23bfda0b51
chore(nx/client): fix dependency to commons 2025-04-23 09:22:43 +07:00
Elian Doran bcc908a4b2
chore(nx/client): fix asset error 2025-04-23 08:40:19 +07:00
Elian Doran f2ade4e6ca
chore(nx/client): bypass module errors due to electron dependency 2025-04-23 08:38:06 +07:00
Elian Doran aeeedea542
chore(monorepo/client): reintroduce script loader 2025-04-22 23:53:12 +07:00
Elian Doran eb6d802952
chore(monorepo/client): set up stylesheets 2025-04-22 23:02:36 +07:00
Elian Doran fa48e5986b
chore(monorepo/client): set up dependencies 2025-04-22 22:50:24 +07:00
Elian Doran 70466dd784
chore(monorepo/client): sync settings 2025-04-22 22:29:00 +07:00
Elian Doran 9afe2ef761
chore(monorepo/client): move client source files 2025-04-22 22:12:56 +07:00
Elian Doran 23572bd47c
chore(monorepo/client): create empty project 2025-04-22 22:06:10 +07:00
Elian Doran e817a55660
chore(nx/server): fix api_docs_js_1.default.register is not a function 2025-04-22 21:35:09 +07:00
Elian Doran d5e1c5ce1d
chore(nx/server): fix favicon 2025-04-22 21:35:03 +07:00
Elian Doran 21487142cd
chore(nx/server): add dependency to electron 2025-04-22 21:30:25 +07:00
Elian Doran b27ff1def5
chore(nx/commons): fix compilation 2025-04-22 21:26:38 +07:00
Elian Doran 40fec89add
chore(nx/turndown-plugin): fix compilation 2025-04-22 21:25:17 +07:00
Elian Doran 2aad162f8e
chore(monorepo/server): fix db asset path 2025-04-22 19:56:00 +07:00
Elian Doran 6543d6c362
chore(monorepo/server): remove top-level await completely 2025-04-22 19:47:27 +07:00
Elian Doran 6e35806340
chore(monorepo/server): fix build errors due to wrong imports 2025-04-22 19:21:19 +07:00
Elian Doran e655963004
chore(monorepo): remove dist 2025-04-22 19:18:55 +07:00
Elian Doran 1c63fb7eec
chore(monorepo/server): configure to work with top-level await 2025-04-22 19:18:02 +07:00
Elian Doran 462ed3c6be
chore(nx/server): remove empty file 2025-04-22 17:57:47 +07:00
Elian Doran 9dafabac45
chore(nx/server): manage dependencies 2025-04-22 17:37:02 +07:00
Elian Doran 1cbf574c21
chore(nx): remove unnecessary files 2025-04-22 17:23:44 +07:00
Elian Doran e76f47ebb4
chore(nx/server): switch to module 2025-04-22 17:21:54 +07:00
Elian Doran b2af043110
chore(nx/server): move source code 2025-04-22 17:16:41 +07:00
Elian Doran 9c0d42252e
chore(nx): create empty project for server 2025-04-22 17:13:17 +07:00
Elian Doran a10a4ba17d
chore(nx): prepare turndown-plugin-gfm 2025-04-22 15:21:13 +07:00
Elian Doran 41cf38a26c
chore(nx): prepare commons 2025-04-22 15:07:48 +07:00
Elian Doran 84b6764166
chore(nx): initialize empty commons project 2025-04-22 14:45:25 +07:00
Elian Doran 57ecf72c90
chore(nx): initialize as empty project 2025-04-22 14:38:57 +07:00
Elian Doran a56b3c8bdc
chore(nx): move .vscode extensions to old 2025-04-22 14:35:06 +07:00
Elian Doran 4f70084d24
chore(nx): start off with a blank package.json 2025-04-22 10:09:22 +07:00
Elian Doran 62dbcc0a2e
chore(nx): move all monorepo-style in subfolder for processing 2025-04-22 10:06:06 +07:00
Elian Doran 2e200eab39
Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-22 09:48:11 +07:00
Elian Doran fcd6a31a18
chore(monorepo/server): move Docker files 2025-04-22 09:45:56 +07:00
Elian Doran a068f75960
chore(monorepo/edit-docs): fix module issue & add entry point 2025-04-22 09:37:02 +07:00
Adorian Doran 3f7b42d656 readme: correct the screenshot's window shadow 2025-04-22 01:00:15 +07:00
Adorian Doran c5c2f98030 readme: use a screenshot with window shadow 2025-04-22 00:24:08 +07:00
Adorian Doran 88906e0bb9 readme: use a light theme screenshot 2025-04-22 00:14:43 +07:00
Adorian Doran 2c0ad021db readme: update the app screenshot 2025-04-22 00:08:57 +07:00
Adorian Doran f61f7137f6 readme: add a screenshot 2025-04-22 00:05:59 +07:00
Elian Doran e49d248bf5
chore(monorepo/dump-db): move to apps 2025-04-21 23:20:48 +07:00
Elian Doran b750920832
chore(monorepo/edit-docs): port files 2025-04-21 23:18:45 +07:00
Elian Doran df7e7b4d95
chore(monorepo): missing vitest dependency 2025-04-21 22:58:33 +07:00
Elian Doran 3eba61d3e2
chore(monorepo): remove no longer relevant script 2025-04-21 22:38:33 +07:00
Elian Doran 5564c76bb2
chore(monorepo): sync package lock 2025-04-21 09:18:05 +07:00
Elian Doran 0aa55ddebc
fix(monorepo/desktop): fix missing express-partial-content 2025-04-21 09:15:08 +07:00
Jin 01121f991e chore: 🤖 update deps from develop 2025-04-21 01:25:52 +07:00
Jin 6e1a631a72 Merge branch 'develop' into feature/client_server_separation 2025-04-21 01:22:52 +07:00
Elian Doran d47a0a3f87
fix(monorepo/desktop): fix missing @electron/remote 2025-04-21 00:44:33 +07:00
Elian Doran 28972b8657
fix(monorepo/desktop): fix electron-debug error 2025-04-21 00:28:53 +07:00
Elian Doran 46117ec9cb
fix(monorepo/desktop): fix electron-level deps 2025-04-21 00:19:58 +07:00
Elian Doran 8cc4bcb711
fix(monorepo/server): fix missing monorepo dependencies 2025-04-20 23:26:50 +07:00
Elian Doran 953ad2ba1e
fix(monorepo/electron): fix missing commons dependency in prod 2025-04-20 23:10:24 +07:00
Elian Doran 562d6fab3f
fix(monorepo/server): fix missing yauzl dependency in prod 2025-04-20 22:52:04 +07:00
Elian Doran 24bce54bc4
fix(monorepo/electron): rebuild deps for start-prod 2025-04-20 22:34:12 +07:00
Elian Doran 75462fb06d
fix(monorepo/server): fix mime-types not present in dist 2025-04-20 10:07:54 +07:00
Elian Doran f73cabc952
fix(monorepo/electron): local dependency issues when running electron-forge result 2025-04-20 09:01:57 +07:00
JYC333 cdefe47728
Merge pull request #1754 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.25.0
2025-04-20 07:08:22 +07:00
Elian Doran 2a5766312d
fix(monorepo/server): stop installing dependencies from build-electron 2025-04-19 21:37:28 +07:00
Elian Doran 371234af47
fix(monorepo/server): try npm i instead of ci 2025-04-19 21:30:25 +07:00
Elian Doran 10f392642a
fix(monorepo/server): try to fix npm ci error due to monorepo dep 2025-04-19 15:37:44 +07:00
Elian Doran 75bdb3117f
fix(monorepo/server): use different mechanism for obtaining dependencies 2025-04-19 15:05:15 +07:00
Elian Doran e408f7d8f1
fix(monorepo/electron): fix some sub-dependencies not being copied 2025-04-19 14:29:55 +07:00
Elian Doran 3558d3aced
fix(monorepo/electron): server dependency not packaged 2025-04-19 14:09:38 +07:00
JYC333 841fddb2ec
Merge pull request #1753 from TriliumNext/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.25.0
2025-04-19 18:24:59 +07:00
JYC333 48f8df2c7b
Merge pull request #1751 from TriliumNext/renovate/openai-4.x
fix(deps): update dependency openai to v4.95.1
2025-04-19 18:24:12 +07:00
JYC333 8a6ea5f90f
Merge pull request #1750 from TriliumNext/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.99.6
2025-04-19 18:23:47 +07:00
Elian Doran fa9748e8ca
chore(monorepo): fix artifact publishing for nightly 2025-04-19 13:06:00 +07:00
Elian Doran 145006040f
chore(monorepo): try to fix ARM64 not building properly on Linux 2025-04-19 12:55:01 +07:00
Elian Doran 31721cb682
chore(monorepo): move README onto docs 2025-04-19 12:46:21 +07:00
Elian Doran abcf08e68c
fix(monorepo/electron): rewrite package.json to avoid flaky config implementations in electron-forge 2025-04-19 12:34:24 +07:00
Elian Doran 8733acebf5
fix(monorepo/electron): add back executable name in package.json 2025-04-19 12:08:45 +07:00
Elian Doran 423cc3490b
fix(monorepo/electron): use yet another approach for executableName 2025-04-19 12:00:58 +07:00
Elian Doran 0b327dd4b1
fix(monorepo/electron): use different approach for deb that might work 2025-04-19 11:47:57 +07:00
Elian Doran 8dabeb1398
fix(monorepo/electron): linux failing due to deb packaging 2025-04-19 11:38:57 +07:00
Elian Doran 93e4fc1a74
fix(monorepo/electron): windows building failing due to nuspec 2025-04-19 11:35:51 +07:00
Elian Doran 00a98643b0
chore(monorepo): move some files back to root 2025-04-19 11:25:32 +07:00
Elian Doran 45b1258dcc
fix(monorepo/electron): bin path 2025-04-19 10:54:14 +07:00
Elian Doran 1041b337f3
fix(monorepo/electron): upload path 2025-04-19 10:45:11 +07:00
Elian Doran 8a8c8e17f1
fix(monorepo/electron): artifact searching 2025-04-19 10:35:07 +07:00
Elian Doran ba04fd31f3
fix(monorepo/electron): reintroduce other icons 2025-04-19 10:34:48 +07:00
Elian Doran ee422ee514
fix(monorepo/electron): reintroduce app icons 2025-04-19 10:21:59 +07:00
Elian Doran 084578befe
chore(monorepo/electron): add global clean script 2025-04-19 10:04:12 +07:00
Elian Doran 5d9f2c8d6c
chore(monorepo/electron): run prepare-dist for server 2025-04-19 09:53:20 +07:00
renovate[bot] 1efa85b145
fix(deps): update dependency eslint-linter-browserify to v9.25.0 2025-04-19 02:56:29 +07:00
renovate[bot] ea8cdbb05b
chore(deps): update eslint monorepo to v9.25.0 2025-04-19 02:56:18 +07:00
renovate[bot] acdce04083
fix(deps): update dependency openai to v4.95.1 2025-04-19 02:55:55 +07:00
renovate[bot] 8fda84830e
chore(deps): update dependency webpack to v5.99.6 2025-04-19 02:55:42 +07:00
Elian Doran 7010741beb
chore(monorepo): handle build chains in root package scripts 2025-04-19 01:41:24 +07:00
Elian Doran 3d5e6196cc
fix(monorepo/electron): out of date lock 2025-04-19 01:26:41 +07:00
Elian Doran 6c443c1cb1
chore(monorepo/electron): introduce global script & rename to desktop 2025-04-19 01:25:28 +07:00
Elian Doran 3935ae2df1
chore(monorepo/electron): reintroduce electron forge 2025-04-19 01:08:44 +07:00
Elian Doran 132242bf14
Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-19 01:08:18 +07:00
Elian Doran d714c047a1
feat(monorepo/electron): allow running prod build 2025-04-19 00:45:39 +07:00
Elian Doran e027f7e37b
fix(monorepo/electron): copy-dist failing 2025-04-19 00:20:18 +07:00
Elian Doran 27465275f6
chore(monorepo/electron): invoke copy-dist 2025-04-19 00:17:36 +07:00
Elian Doran 183cbc6daf
chore(monorepo/electron): rebuild sqlite 2025-04-19 00:08:56 +07:00
Elian Doran 454301748e
chore(monorepo/electron): add run script 2025-04-18 23:59:09 +07:00
Elian Doran 00ca0e6e32
chore(monorepo/electron): rewrite server imports 2025-04-18 23:56:58 +07:00
Elian Doran 5fd8038cb7
chore(monorepo/electron): add types for squirrel 2025-04-18 23:56:36 +07:00
Elian Doran acc7729891
chore(monorepo/electron): add extra dependencies 2025-04-18 23:54:05 +07:00
Elian Doran dd07663183
chore(monorepo/electron): create package.json 2025-04-18 23:46:59 +07:00
Elian Doran 706a2ece5d
chore(monorepo/ci): script failing due to dist change 2025-04-18 23:37:30 +07:00
Elian Doran 3f12483f29
chore(monorepo/ci): script failing due to anonymize-database.sql 2025-04-18 23:27:10 +07:00
Elian Doran 855c1b96f4
chore(monorepo/ci): script failing due to some non-existing files 2025-04-18 23:23:50 +07:00
Elian Doran b2ebc8de0b
chore(monorepo/ci): trigger client build also 2025-04-18 23:19:50 +07:00
Elian Doran d4ad130b85
chore(monorepo/ci): trigger commons build first 2025-04-18 23:16:11 +07:00
Elian Doran a588003962
fix(monorepo/ci): not triggering the right package command 2025-04-18 23:10:47 +07:00
Elian Doran 402da5df87
fix(monorepo/server): building the server 2025-04-18 23:07:44 +07:00
Elian Doran 37bf7c2bfb
chore(monorepo/client): less verbose webpack output 2025-04-18 22:57:22 +07:00
Elian Doran e8d9f980cd
fix(monorepo): wrong server:build 2025-04-18 22:54:54 +07:00
Elian Doran 2037868044
fix(monorepo/client): fix excalidraw not being copied 2025-04-18 22:52:32 +07:00
Elian Doran 8c3879af5c
Merge pull request #1748 from rom1dep/fix_multi_displayedAttributes
fix(calendar): make it once again possible to show more than one `diplayedAttributes` at a time.
2025-04-18 22:38:15 +07:00
Elian Doran 70b49f1eae
fix(monorepo/ci): fix "Run the TypeScript build" steps 2025-04-18 22:26:11 +07:00
Elian Doran 5e5b3077a1
Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-18 22:14:20 +07:00
Romain DEP. 4d8b40bfbd fix(calendar): make it once again possible to show more than one `diplayedAttributes` at a time.
Fixes #1747
2025-04-18 21:13:03 +07:00
Elian Doran 87f3797b96
fix(monorepo/server): libraries not accessible on dist 2025-04-18 21:59:14 +07:00
Elian Doran 2325fbc72d
chore(monorepo/server): find workaround to copy node modules 2025-04-18 21:52:50 +07:00
Elian Doran 81e6537007
chore(monorepo/server): dist:start running in dev mode 2025-04-18 20:40:24 +07:00
Elian Doran 88994ae9d9
chore(monorepo/server): copy client artifacts 2025-04-18 19:55:30 +07:00
Elian Doran d24e66872d
fix(monorepo/server): missing asset in dist 2025-04-18 19:41:09 +07:00
Elian Doran 3df195aac1
fix(monorepo/server): dist not running due to gfm package 2025-04-18 19:26:43 +07:00
Adorian Doran 1eb27b7eb1 style(next)/restyle CKEditor: use the proper font in popups 2025-04-18 19:08:03 +07:00
Elian Doran d688f7f0a0
chore(monorepo/server): add script to run dist 2025-04-18 18:52:31 +07:00
Elian Doran 14b8578ff7
fix(monorepo/server): copying of source code 2025-04-18 18:48:51 +07:00
Elian Doran 5b298867b3
fix(monorepo/server): path of copy-dist 2025-04-18 18:31:41 +07:00
Adorian Doran 0c10dd75f9 style(next)/restyle CKEditor: restyle the action buttons 2025-04-18 18:24:46 +07:00
Elian Doran 4ecb80ce9a
chore(monorepo/server): move licenses & adapt script 2025-04-18 18:15:31 +07:00
Elian Doran c7b2a730f8
chore(monorepo/server): move dist & some scripts 2025-04-18 18:14:56 +07:00
Adorian Doran 408209a5d8 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-04-18 17:56:07 +07:00
Adorian Doran 4570e80871 style(next)/restyle CKEditor: restyle horizontal separators 2025-04-18 17:56:04 +07:00
Elian Doran 645cf6c364
chore(monorepo): bring back copy dist 2025-04-18 17:45:32 +07:00
Elian Doran 5c426df549
chore(monorepo): bring back build server 2025-04-18 17:38:10 +07:00
Elian Doran b3946db40a
chore(monorepo): scripts to build globally 2025-04-18 17:32:48 +07:00
Elian Doran bc42038e01
chore(monorepo/client): fix non-expected error 2025-04-18 17:32:36 +07:00
Elian Doran fe27eea5ba
chore(monorepo): add global test script 2025-04-18 17:20:23 +07:00
Elian Doran f0d365e336
chore(monorepo/client): reintegrate tests 2025-04-18 17:16:03 +07:00
Elian Doran 12bdf5adde
chore(monorepo/server): remove server: prefix from scripts 2025-04-18 17:08:43 +07:00
Elian Doran eecf984d35
chore(monorepo/server): improve running of tests 2025-04-18 17:07:23 +07:00
Elian Doran 6aa6597cb1
chore(monorepo/server): reintroduce tests 2025-04-18 16:55:43 +07:00
Elian Doran c62fb0fb54
chore(monorepo): adapt update-build-info 2025-04-18 16:46:34 +07:00
Elian Doran a271e57ac1
chore(monorepo): adapt update nightly for client & server 2025-04-18 16:41:41 +07:00
Elian Doran 15bba955fd
chore(monorepo): reintegrate update nightly version 2025-04-18 16:39:37 +07:00
Elian Doran eb6c89f1b4
chore(monorepo): remove npm prepare breaking npm ci 2025-04-18 16:34:55 +07:00
Elian Doran 42befb1a23
chore(monorepo): remove deprecated gitpod 2025-04-18 16:13:37 +07:00
Elian Doran ca37a416bb
chore(monorepo): put back docs 2025-04-18 16:10:44 +07:00
Elian Doran 0143db5b45
chore(monorepo): put back CI and environment setup 2025-04-18 16:10:03 +07:00
Elian Doran 639a56ee7d
Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-18 14:05:57 +07:00
Elian Doran b85f052161
Merge pull request #1743 from TriliumNext/renovate/apple-actions-import-codesign-certs-5.x
chore(deps): update apple-actions/import-codesign-certs action to v5
2025-04-18 14:04:54 +07:00
Elian Doran 7443d12ce6
chore(monorepo/server): get rid of webpack middleware 2025-04-18 14:02:58 +07:00
Elian Doran 9b07e605f0
fix(monorepo/server): translations 2025-04-18 14:00:51 +07:00
Elian Doran ccb5ee744c
fix(monorepo/server): serving of libraries 2025-04-18 13:58:53 +07:00
Elian Doran 1af338b64f
fix(monorepo/server): app-dist (as requested by webpack) on dev mode 2025-04-18 13:54:40 +07:00
Elian Doran 2af9a9a535
fix(monorepo/server): serve stylesheets 2025-04-18 13:34:51 +07:00
Elian Doran f95f2e1dd8
fix(monorepo/server): get app assets to be served 2025-04-18 13:33:30 +07:00
Elian Doran 04b89dacb8
chore(monorepo/server): add assets temporarily in order to start 2025-04-18 13:31:59 +07:00
Elian Doran 7f5154a629
chore(monorepo/server): get favicon to work 2025-04-18 13:15:24 +07:00
JYC333 18f16c2d29
Merge pull request #1742 from TriliumNext/renovate/openai-4.x
fix(deps): update dependency openai to v4.95.0
2025-04-18 18:12:36 +07:00
Elian Doran 4ef4b843ed
chore(monorepo/server): missing swagger-ui-express 2025-04-18 13:12:16 +07:00
Elian Doran 4b109c17dc
chore(monorepo/server): missing initialization data 2025-04-18 13:11:58 +07:00
Elian Doran ea13565fc1
chore(monorepo/server): fix error due to markdown-gfm 2025-04-18 13:05:32 +07:00
Elian Doran fa49f8ac54
chore(monorepo/server): fix most dependency issues 2025-04-18 13:03:08 +07:00
renovate[bot] a22909582a
fix(deps): update dependency openai to v4.95.0 2025-04-18 10:00:22 +07:00
JYC333 2511b8c046
Merge pull request #1741 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.52.0
2025-04-18 17:59:59 +07:00
JYC333 f09924f216
Merge pull request #1740 from TriliumNext/renovate/ollama-0.x
fix(deps): update dependency ollama to v0.5.15
2025-04-18 17:59:16 +07:00
Elian Doran 8d6194f049
chore(monorepo/server): serve client staticly 2025-04-18 12:54:06 +07:00
Elian Doran 1861d157d4
chore(monorepo): update package lock 2025-04-18 12:51:08 +07:00
Elian Doran f6d095fe2b
chore(monorepo/server): fix error due to express types 2025-04-18 12:50:59 +07:00
Elian Doran fc228ca47c
chore(monorepo/server): integrate turndown-plugin-gfm 2025-04-18 12:47:58 +07:00
Elian Doran 3ddc8e5e7b
chore(monorepo/server): fix imports for becca mocking 2025-04-18 12:43:19 +07:00
Elian Doran b0e97856bd
chore(monorepo/server): fix imports for hidden subtree 2025-04-18 12:40:35 +07:00
Elian Doran ad8b77564c
chore(monorepo/server): fix imports for options_interface 2025-04-18 12:39:52 +07:00
Elian Doran 04594edc64
chore(monorepo/server): revert imports to share rows 2025-04-18 12:38:33 +07:00
Elian Doran a59954eb17
chore(monorepo/server): rows import 2025-04-18 12:34:27 +07:00
Elian Doran 0c5a678a8a
chore(monorepo/server): trimindentation import 2025-04-18 12:32:23 +07:00
Elian Doran 816355d397
chore(monorepo/server): keyboard-actions 2025-04-18 12:31:06 +07:00
Elian Doran 872d868cf6
chore(monorepo/server): add more libraries & their types 2025-04-18 12:29:47 +07:00
Elian Doran 4185b2d72a
chore(monorepo/server): specify dependencies 2025-04-18 12:24:51 +07:00
Elian Doran 5058891af8
chore(monorepo/server): move server-side source code 2025-04-18 12:09:56 +07:00
Elian Doran da41b95d36
chore(monorepo/server): integrate type definitions 2025-04-18 11:59:00 +07:00
Elian Doran 9a2cd6b5b8
chore(monorepo/server): create package.json 2025-04-18 11:52:52 +07:00
Elian Doran 8bcea010dd
chore(monorepo/client): missing provider in vitest config 2025-04-18 11:40:45 +07:00
Elian Doran 059e617839
chore(monorepo/client): type error in library loader 2025-04-18 11:39:11 +07:00
Elian Doran dd3982e24c
chore(monorepo/client): missing script-loader declaration 2025-04-18 11:37:43 +07:00
Elian Doran 1542c4faf3
chore(monorepo/client): missing eslint dependency 2025-04-18 11:30:26 +07:00
Elian Doran c4b7f6fff8
chore(monorepo/client): CKEditor-related type errors 2025-04-18 11:28:38 +07:00
Elian Doran b109e7db77
chore(monorepo/client): add eslint 2025-04-18 11:24:01 +07:00
Elian Doran bb4cf44d67
chore(monorepo/client): add back stylesheets 2025-04-18 11:21:47 +07:00
Elian Doran 470e443841
chore(monorepo/client): integrate test support 2025-04-18 11:19:43 +07:00
Elian Doran e327c918e1
fix(monorepo/client): wrong data type for autocomplete 2025-04-18 11:08:22 +07:00
Adorian Doran cd94668650 style(next)/restyle CKEditor: restyle tooltips 2025-04-18 11:03:57 +07:00
Elian Doran 04e51bdfbb
fix(monorepo/client): missing CSS loader 2025-04-18 11:03:29 +07:00
Elian Doran fe87889ee7
chore(monorepo/client): various type errors 2025-04-18 11:00:48 +07:00
Elian Doran 13a6fefaa2
fix(monorepo/client): errors in type definition 2025-04-18 11:00:31 +07:00
Adorian Doran 99e6a64c3b style(next)/restyle CKEditor: improve the appearance of popups 2025-04-18 10:46:43 +07:00
Elian Doran 920e1dbcd0
chore(monorepo/client): solve some import errors 2025-04-18 10:46:43 +07:00
Elian Doran c02a006c67
chore(monorepo/client): solve some type errors 2025-04-18 10:46:32 +07:00
Elian Doran 17c7d7d908
fix(monorepo/client): missing electron remote dep 2025-04-18 10:41:29 +07:00
Adorian Doran 837cdea26f Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-04-18 10:39:44 +07:00
Adorian Doran 728d5ac68a style(next)/restyle CKEditor: improve the appearance of popups 2025-04-18 10:39:40 +07:00
Elian Doran 28a319be0b
chore(monorepo/client): allow top-level await 2025-04-18 10:39:35 +07:00
Elian Doran 6b73ec4c1f
chore(monorepo/client): group more data types into commons 2025-04-18 10:37:03 +07:00
Elian Doran 1b24207e9e
fix(monorepo/client): error related to blobs 2025-04-18 10:36:51 +07:00
Elian Doran 011c859cea
chore(monorepo/client): set up some common dependencies 2025-04-18 10:04:06 +07:00
renovate[bot] c594f5b5ee
chore(deps): update apple-actions/import-codesign-certs action to v5 2025-04-18 01:49:45 +07:00
renovate[bot] ce05d70fe3
chore(deps): update dependency @playwright/test to v1.52.0 2025-04-18 01:49:27 +07:00
renovate[bot] d958ee82cd
fix(deps): update dependency ollama to v0.5.15 2025-04-18 01:49:16 +07:00
Elian Doran 42744acbb3
chore(monorepo/client): set up commons package 2025-04-18 02:45:31 +07:00
Elian Doran 25160a23a6
Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-18 02:33:39 +07:00
Elian Doran 2793f489d6
chore(monorepo/client): update package-lock 2025-04-18 02:32:06 +07:00
Elian Doran a446e9ce84
fix(monorepo/client): errors due to missing dependencies 2025-04-18 02:28:33 +07:00
Elian Doran 5b28e309a8
fix(monorepo): remove profiling which was masking errors 2025-04-18 02:09:50 +07:00
Elian Doran 30214490f4
chore(monorepo): get webpack to run something 2025-04-18 02:03:34 +07:00
Elian Doran 6b62bdef3c
chore(monorepo): relocate webpack dependencies 2025-04-18 01:41:44 +07:00
Panagiotis Papadopoulos 9ef6f3e947 fix(services/auth): fix ERR_HTTP_HEADERS_SENT errors on new unitialized Setups
was previously showing two errors:
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
2025-04-18 00:39:17 +07:00
Elian Doran de2cdd5e78
chore(monorepo): relocate client files 2025-04-18 01:37:55 +07:00
Elian Doran 4aad0552b3
chore(monorepo): set up package.json for client 2025-04-18 01:35:06 +07:00
Elian Doran a3cfef211e
chore(monorepo): prepare basic structure 2025-04-18 01:29:23 +07:00
Elian Doran 318808f9ec
chore(monorepo): move everything into subdirectory for easy diffing 2025-04-18 01:28:32 +07:00
Elian Doran 3b69eadbf6
chore(github): remove old workflows 2025-04-18 00:46:52 +07:00
Elian Doran 65c3c6b89a
fix(client): admonitions broken due to merge conflicts 2025-04-18 00:37:03 +07:00
Elian Doran 60c0a6d543
Merge pull request #1521 from TriliumNext/renovate/apple-actions-import-codesign-certs-5.x
chore(deps): update apple-actions/import-codesign-certs action to v5
2025-04-18 00:34:31 +07:00
Panagiotis Papadopoulos 93f645fc5b fix(routes/api/options): readd splitEditorOrientation option
got deleted accidentally by 49076e3cf6 (diff-85a967d423ba952960f6b0b8fd74f2f4aa84e3d94fa68d3404a68a205a4b4cb6)
2025-04-17 23:28:04 +07:00
perf3ct bbe697cc3e
fix(deps): macos signing is so complicated, had to fix making keychains searchable for v5 2025-04-17 21:07:22 +07:00
Elian Doran 2e8ab7e2a2
Merge pull request #1711 from TriliumNext/test_add-login-route-tests
test(routes/login): add initial tests via supertest
2025-04-18 00:02:46 +07:00
Panagiotis Papadopoulos a149b56f9d test(routes/login): add temporary timeout to workaround failing on CI 2025-04-17 22:59:42 +07:00
Panagiotis Papadopoulos 5462bdeef5 test(routes/login): use beforeAll for now 2025-04-17 22:59:42 +07:00
Panagiotis Papadopoulos 55e2abc7de test(config): add custom cookieMaxAge for now 2025-04-17 22:59:42 +07:00
Panagiotis Papadopoulos a2fc327cdb test(routes/login): add more tests for the login route 2025-04-17 22:59:42 +07:00
Panagiotis Papadopoulos af3a0cc05a test(routes/login): add initial test via supertest for failed login 2025-04-17 22:59:42 +07:00
Elian Doran cb80d62606
chore(release): use PAT to trigger release (should fix auto-trigger for winget) 2025-04-17 23:55:51 +07:00
Elian Doran ddb9281203
feat(release): support prereleases with -rc format 2025-04-17 23:50:33 +07:00
Elian Doran 910f75ae40
feat(release): publish to announcements 2025-04-17 23:46:46 +07:00
Elian Doran 57f86cf60a
fix(winget): wrong token 2025-04-17 23:45:28 +07:00
perf3ct 4ddc67701c
Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-5.x 2025-04-17 20:42:22 +07:00
perf3ct 18e6527191
fix(deps): attempt to resolve issue created due to https://github.com/Apple-Actions/import-codesign-certs/issues/71 2025-04-17 20:39:42 +07:00
Elian Doran 7b3c432698
docs(release): upcoming version 2025-04-17 23:29:54 +07:00
Elian Doran e89b41a48b
Merge pull request #1120 from TriliumNext/style/next/restyle-ckeditor
Style Next: Restyle CKEditor
2025-04-17 23:22:17 +07:00
Adorian Doran c8a3ce4298 style(next)/restyle CKEditor: overhaul the appearance 2025-04-17 23:09:25 +07:00
Elian Doran 93841f7ea7
Merge remote-tracking branch 'origin/master' into develop 2025-04-17 23:01:40 +07:00
Elian Doran bf4e1b3e43
chore(docs): release template 2025-04-17 23:00:46 +07:00
Elian Doran 03e3863b16
Merge pull request #1325 from TriliumNext/ai-llm-integration
[WIP] AI/LLM integration
2025-04-17 22:57:30 +07:00
Elian Doran 6c0a43fee2
chore(docs): sync again 2025-04-17 22:44:28 +07:00
Elian Doran 041c228053
fix(client): root CSS import breaking some tests 2025-04-17 22:40:59 +07:00
Elian Doran ee0a1e5cbf
chore(docs): sync LLM documentation with develop 2025-04-17 22:29:12 +07:00
Elian Doran 0133e83d23
Merge remote-tracking branch 'origin/develop' into ai-llm-integration 2025-04-17 22:24:55 +07:00
Elian Doran 8211fd36af
fix(release): unable to access change log 2025-04-17 22:17:30 +07:00
perf3ct 3958d1d561
well the search_notes tool does something more useful now 2025-04-17 19:13:11 +07:00
perf3ct eb5b85315f
format document 2025-04-17 18:38:21 +07:00
perf3ct a0dda48748
this is absolutely cursed, but query decomp works now 2025-04-17 18:36:53 +07:00
Elian Doran f6b5fb43f4
chore(release): amend reverted patch 2025-04-17 21:30:02 +07:00
Elian Doran 78ad4f3da7
chore(release): prepare for 0.93.0 2025-04-17 21:27:00 +07:00
Elian Doran 3ec7da67d0
docs(release): clean up changelog 2025-04-17 21:20:31 +07:00
perf3ct daa56b10e8
maybe 2025-04-17 18:19:40 +07:00
Elian Doran b700bb65d8
fix(search): note path contains icon (closes #1721) 2025-04-17 21:08:04 +07:00
perf3ct d83cce88cb
format decomp files 2025-04-17 17:50:16 +07:00
Elian Doran 069e307ec4
refactor(note_autocomplete): icon as separate field 2025-04-17 20:49:45 +07:00
Elian Doran 482243b419
fix(tree): note order sometimes incorrect (closes #1727) 2025-04-17 20:36:51 +07:00
perf3ct 19c36b18a6
query decomp is closer to working 2025-04-17 17:26:41 +07:00
perf3ct 7062e51f2d
well at least query decomposition is working..for now 2025-04-17 17:19:52 +07:00
Adorian Doran b3384a538c style(next)/restyle CKEditor: fix tooltips 2025-04-17 20:05:42 +07:00
Elian Doran 722abb14de
docs(release): clean up unneeded sections in v0.93.0 2025-04-17 20:04:58 +07:00
Elian Doran 8e7f0f6478
faet(docs): document the new CORS options 2025-04-17 20:00:46 +07:00
Elian Doran 2babc2c5d9
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-04-17 19:52:58 +07:00
Elian Doran 0b53de7912
chore(release): update changelog 2025-04-17 19:52:55 +07:00
Elian Doran 6ca49e977d
Merge pull request #1724 from yiranlus/develop
Allow setting CORS headers
2025-04-17 19:52:34 +07:00
Elian Doran 26ed302d3b
chore(release): update changelog 2025-04-17 19:51:52 +07:00
Elian Doran 4f075927f3
Merge pull request #1732 from TriliumNext/notepath
Make each part of the note path clickable.
2025-04-17 19:48:53 +07:00
perf3ct 5e50a2918d
I don't think this can hurt to prioritize summaries of content 2025-04-17 16:30:57 +07:00
perf3ct d1295ede90
fix formatting in vector_search_tool 2025-04-17 16:26:13 +07:00
perf3ct 0f23be96ca
clarify that the note title is not the ID 2025-04-17 16:25:39 +07:00
perf3ct 9b5167231f
add more logs around tool calling and recursion 2025-04-17 16:10:13 +07:00
Elian Doran c2b5f0a5a3
feat(import/markdown): support todo lists in the CKEditor style 2025-04-17 18:34:59 +07:00
Elian Doran 2edaa2c4d4
feat(export/markdown): add support for todos 2025-04-17 18:34:59 +07:00
Adorian Doran 0cfd9a634c style(next): refactor 2025-04-17 18:29:52 +07:00
Adorian Doran cbf51ca5f9 Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/restyle-ckeditor 2025-04-17 18:29:37 +07:00
SiriusXT b7e7196f48 Shortcut to open link 2025-04-17 18:37:58 +07:00
SiriusXT 49bc6e8c91 Add Shift + Click to open the note in a new tab and activate it. 2025-04-17 17:12:48 +07:00
SiriusXT b86407b7f5 Make each part of the note path clickable. 2025-04-17 16:30:46 +07:00
JYC333 ea8b5131e1
Merge pull request #1730 from TriliumNext/renovate/sanitize-html-2.x
fix(deps): update dependency sanitize-html to v2.16.0
2025-04-17 16:10:01 +07:00
perf3ct 6f3d2b6ee2
dropdown for tool execution box
well this is some interesting CSS
2025-04-17 03:58:27 +07:00
perf3ct 9eec41816f
fix the double saving of responses in the chat note 2025-04-17 03:29:18 +07:00
perf3ct e968e00c80
try to fix tools again...
trying to fix tools, again...
2025-04-17 03:29:18 +07:00
renovate[bot] 4b3f12426f
fix(deps): update dependency sanitize-html to v2.16.0 2025-04-17 02:00:26 +07:00
perf3ct c1ea9e376a
I think sessions are finally decoupled 2025-04-16 22:56:54 +07:00
perf3ct 5e1fc5625d
closer to decoupling sessions...
douple sessions, again

closer...

uhhh

closer....

closer...
2025-04-16 22:56:54 +07:00
perf3ct 2b14f73ad4
update frontend 2025-04-16 22:42:10 +07:00
perf3ct cdc84f1cef
decouple sessions even further
i think this is a better idea?
2025-04-16 22:42:10 +07:00
perf3ct 06924aad59
move these to the interfaces folder 2025-04-16 21:20:34 +07:00
perf3ct 1968a5fff8
create `restoreSessionFromChatNote` function 2025-04-16 21:18:01 +07:00
perf3ct daccadd5e0
why does it work now 2025-04-16 21:09:44 +07:00
perf3ct ec6214bee0
well, at least resolve these issues? 2025-04-16 20:33:04 +07:00
perf3ct 8f1723c386
get rid of unused functions 2025-04-16 20:10:41 +07:00
perf3ct 3da33987a0
move some more logic into the "container widget" for llm_chat 2025-04-16 20:09:26 +07:00
perf3ct 21b07ff7e4
this one too 2025-04-16 19:36:34 +07:00
perf3ct d149e21896
rename files with underscore 2025-04-16 19:36:10 +07:00
perf3ct 534396bce5
break up the rest_chat_service 2025-04-16 19:35:09 +07:00
perf3ct 77e637384d
have the Chat Note be the single source of truth, part 1 2025-04-16 18:52:22 +07:00
Elian Doran b875717117
chore(vscode): recommend Markdown all in one 2025-04-16 21:27:30 +07:00
Elian Doran 5322dcb46e
Merge pull request #1725 from TriliumNext/renovate/i18next-25.x
fix(deps): update dependency i18next to v25
2025-04-16 21:19:09 +07:00
perf3ct 07db19abd8
reduce the use of any, part 4 2025-04-16 17:49:43 +07:00
perf3ct 80ea2c3eef
reduce the use of any, part 3 2025-04-16 17:29:35 +07:00
perf3ct 4601e3bfdb
reduce the use of any, part 2 2025-04-16 17:20:36 +07:00
perf3ct 64f2a93ac0
reduce the use of any, part 1 2025-04-16 17:07:54 +07:00
Elian Doran 2ad834fe5b
fix(client): unable to trigger move to dialog via keyboard shortcut 2025-04-16 14:55:00 +07:00
Elian Doran b4c74af662
fix(anonymization): full anonymization not redacting attachment titles 2025-04-16 14:29:04 +07:00
perf3ct bbb382ef65 add ai docs 2025-04-15 20:18:29 +07:00
perf3ct 3fec87106f
add missing translation 2025-04-16 00:34:51 +07:00
renovate[bot] 8fec0cb871
fix(deps): update dependency i18next to v25 2025-04-16 00:19:35 +07:00
perf3ct 2acc30f94a
Merge branch 'develop' into ai-llm-integration 2025-04-16 00:18:10 +07:00
Yiran Lu e6ccd88abb add CORS settings in config-sample.ini 2025-04-16 01:08:17 +07:00
Yiran Lu 402d84e9ee change to more logical environment variable name 2025-04-16 01:01:29 +07:00
perf3ct 193c577acf
wow, this fixed openai too 2025-04-15 22:54:18 +07:00
perf3ct 0bca44f8e0
fix the table reference 2025-04-15 22:54:18 +07:00
perf3ct e5aab5bc04
Fix Anthropic responses when tools are called 2025-04-15 22:54:18 +07:00
perf3ct 38e7d10fd7
well, this is close enough for now and Anthropic 2025-04-15 22:53:38 +07:00
perf3ct 76d13f682e
this works, mostly
const cleanupDelay = toolsExecuted ? 15000 : 1000
2025-04-15 22:53:38 +07:00
perf3ct edd075cba1
tool calling works, but still no response yet
closer..

nice

definitely remove this for now
2025-04-15 22:13:25 +07:00
Yiran Lu e2bf203404
Merge branch 'develop' into develop 2025-04-15 23:36:17 +07:00
Yiran Lu 07955daa1c Allow setting CORS headers 2025-04-15 23:14:01 +07:00
Elian Doran afac983687
Merge pull request #1700 from TriliumNext/tab-scroll
Allow the Tab row scroll
2025-04-15 21:36:28 +07:00
perf3ct 6df87fc163
closer to anthropic tool calling... 2025-04-15 18:27:30 +07:00
Elian Doran 80f895a2d5
chore(release): mention feature in changelog 2025-04-15 21:26:04 +07:00
Elian Doran 8f3af176a0
Merge remote-tracking branch 'origin/develop' into tab-scroll 2025-04-15 21:23:14 +07:00
perf3ct 374975eafc
fix hardcoded values part 5 2025-04-15 18:03:35 +07:00
perf3ct 67a45333b3
clean up hardcoded values part 4 2025-04-15 17:53:05 +07:00
perf3ct 284ba096d0
fix hardcoded values part 3 2025-04-15 17:46:42 +07:00
perf3ct 0d7cfe8061
fix hardcoded values part 2 2025-04-15 17:44:29 +07:00
perf3ct 8591705290
yeet hardcoded values 2025-04-15 17:41:28 +07:00
Elian Doran b2b52956ad
chore(release): mention bugfix 2025-04-15 19:57:26 +07:00
Elian Doran 2b4d9f8536
fix(sql): prepared statements leak raw state (fixes #1705) 2025-04-15 19:54:48 +07:00
SiriusXT d1c2672f99 Fix trackpad not switching tabs. 2025-04-15 23:38:08 +07:00
Elian Doran bbc8536068
chore(docs): mention in the documentation about Bearer tokens 2025-04-15 17:56:18 +07:00
Elian Doran 46cbbec53a
docs(release): update changelog 2025-04-15 17:55:39 +07:00
Elian Doran 2d46e8c543
Merge pull request #1714 from yiranlus/develop
Support Bearer Authentication
2025-04-15 17:47:15 +07:00
Yiran Lu 0fa084711e
Merge branch 'TriliumNext:develop' into develop 2025-04-15 16:11:16 +07:00
SiriusXT 897fde7332 Fix lag when scrolling the tab row. 2025-04-15 22:09:55 +07:00
Yiran Lu 22f1feece3 add support for Bearer auth 2025-04-15 16:09:55 +07:00
SiriusXT 1c199938b6 Merge branch 'develop' into tab-scroll 2025-04-15 19:44:03 +07:00
SiriusXT 83327b2903 Fix horizontal line issue in horizontal view and drag animation in vertical view. 2025-04-15 19:43:28 +07:00
Elian Doran 627e90ef89
chore(release): update change log 2025-04-15 13:13:23 +07:00
Elian Doran 0f06bf43f0
Merge pull request #1708 from TriliumNext/fix_http-code-failed-login_#1707
fix(login): send back 401 Unauthorized on failed login attempt
2025-04-15 13:12:28 +07:00
Elian Doran 171a023a8c
Merge pull request #1710 from TriliumNext/fix_cookieMaxAge-regression
fix(login): fix regression that removed support for setting custom cookieMaxAge
2025-04-15 13:11:20 +07:00
Panagiotis Papadopoulos ce83c918fb fix(login): fix regression that removed support for setting custom cookieMaxAge
regression introduced with #401
custom cookieMaxAge feature added with #1156

fixes #1709
2025-04-15 09:09:28 +07:00
Panagiotis Papadopoulos fa350e13f6 fix(login): send back 401 Unauthorized on failed login attempt 2025-04-15 08:48:57 +07:00
Elian Doran 3a3f5be7be
Merge pull request #1704 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.30.1
2025-04-15 08:49:07 +07:00
renovate[bot] a5d587abe4
chore(deps): update dependency typescript-eslint to v8.30.1 2025-04-15 02:50:48 +07:00
perf3ct aadb8cce5d
fix the duplicated...messages through the websocket? 2025-04-15 01:29:12 +07:00
perf3ct 3bddb60ecc
get anthropic sdk to send tools
nice

close

what is even going on lol

anthropic tools mostly work
2025-04-15 01:08:25 +07:00
Elian Doran 37e66dc640
chore(docs): update some small sections in README 2025-04-14 23:47:24 +07:00
Elian Doran 2758fa5846
fix(client): grey background in classic theme (closes #1689) 2025-04-14 23:37:40 +07:00
perf3ct 2bc2aa857f
wooo, tool execution container shows for openai 2025-04-14 20:15:14 +07:00
perf3ct c04e3b2c89
okay openai tool calling response is close to working 2025-04-14 19:39:29 +07:00
perf3ct 6750467edc
Merge branch 'develop' into ai-llm-integration 2025-04-14 19:27:08 +07:00
perf3ct 7c97493b5c
fix the note_creation tool 2025-04-14 19:13:53 +07:00
perf3ct 6f98e724a8
see if this doesn't upset the machine? 2025-04-14 19:08:38 +07:00
perf3ct e65c5ddd46
Do a better job of not having the frontend lockup if the session doesn't exist 2025-04-14 19:06:26 +07:00
Panagiotis Papadopoulos e61532566a refactor(cookiePath): remove non-working cookiePath option from config-sample.ini
not sure how I managed to forget to commit this as well, this should've been part of (the now already approved & merged) PR #1686 as well
2025-04-14 20:02:56 +07:00
Elian Doran ed6ba97a69
chore(release): typo 2025-04-14 21:00:11 +07:00
Panagiotis Papadopoulos c76439a35f docs: fix tiny typo 2025-04-14 19:43:58 +07:00
Panagiotis Papadopoulos 77ec3e2170 fix(deps): update vite from 6.2.5 to 6.2.6
fixes vulnerability

vite  6.2.0 - 6.2.5
Severity: moderate
Vite has an `server.fs.deny` bypass with an invalid `request-target` - https://github.com/advisories/GHSA-356w-63v5-8wf4
2025-04-14 19:33:37 +07:00
Elian Doran 5675e6366b
chore(api): document `getWeekNote` 2025-04-14 18:36:54 +07:00
SiriusXT 1c8eb26d77 Merge branch 'develop' into tab-scroll 2025-04-14 19:21:18 +07:00
SiriusXT 91231874e3 Avoid triggering tab switch on long press. 2025-04-14 18:43:54 +07:00
SiriusXT 7ec73698ab Allow the tab row scroll 2025-04-14 17:20:35 +07:00
Elian Doran 34a0470d72
Merge pull request #1698 from TriliumNext/renovate/jsdom-26.x
fix(deps): update dependency jsdom to v26.1.0
2025-04-14 09:01:33 +07:00
Elian Doran 6eb277f502
chore(renovate): remove global repositories setting
Fixes warning ""The \"repositories\" option is a global option reserved only for Renovate's global configuration and cannot be configured within a repository's config file.""
2025-04-14 08:47:54 +07:00
renovate[bot] 234cc9eed8
fix(deps): update dependency jsdom to v26.1.0 2025-04-14 05:44:48 +07:00
Panagiotis Papadopoulos 2d71108723 chore(deps): update transitive dep `electron-installer-common` to 0.10.4
via `npm update electron-installer-common` → gets rid of one 'npm warn'

npm warn deprecated asar@3.2.0: Please use @electron/asar moving forward.  There is no API change, just a package name change
2025-04-14 06:57:06 +07:00
perf3ct 9a68155edc
saving chats finally works again, even if the UI is kinda...broken
wow
2025-04-13 21:26:43 +07:00
Elian Doran 1972961c64
docs(release): touch bar support 2025-04-13 23:49:29 +07:00
Elian Doran e79730a707
Merge pull request #1549 from TriliumNext/feature/touchbar
Basic touchbar integration
2025-04-13 23:42:51 +07:00
Elian Doran 58a33efeab
fix(touchbar): crashing on server 2025-04-13 23:26:35 +07:00
Elian Doran c5ca3decb1
refactor(touchbar): turn into a component 2025-04-13 23:20:22 +07:00
perf3ct f252f53e82
Yeah, this kinda looks okay for tool execution 2025-04-13 20:12:17 +07:00
Elian Doran 14516d53c3
chore(touchbar): disable widget on non-mac 2025-04-13 23:09:14 +07:00
Elian Doran 83e7e82252
chore(touchbar): address self-review 2025-04-13 23:04:06 +07:00
Elian Doran de99759d08
Merge remote-tracking branch 'origin/develop' into feature/touchbar 2025-04-13 22:55:44 +07:00
perf3ct c9bb0fb219
put more websocket logic into the stream handler 2025-04-13 19:44:04 +07:00
Elian Doran 342aff8209
chore(touchbar): reduce centering 2025-04-13 22:16:05 +07:00
Elian Doran ef423f1a1f
chore(touchbar): reduce spacer width 2025-04-13 22:12:38 +07:00
Elian Doran 3fb2378de9
fix(touchbar): errors if there is no modal 2025-04-13 22:10:41 +07:00
Elian Doran d6478c2fed
fix(touchbar): errors refreshing touchbar if parent is missing 2025-04-13 22:08:26 +07:00
Elian Doran d734ac9e45
fix(touchbar): hide read-only button after editing 2025-04-13 21:52:56 +07:00
Elian Doran cbc6e74d64
feat(touchbar): create child note in note tree 2025-04-13 21:47:16 +07:00
Elian Doran f98ac84829
feat(touchbar): delete note in note tree 2025-04-13 21:42:28 +07:00
Elian Doran 9d9ed2edcb
feat(touchbar): refresh properly for calendar view 2025-04-13 21:31:20 +07:00
Elian Doran d1df365e09
feat(touchbar): calendar view 2025-04-13 21:18:43 +07:00
perf3ct d1edf59f97
well this at least allows for streaming responses when no tool calls are made 2025-04-13 17:56:57 +07:00
Elian Doran a0447c41b4
feat(touchbar): display modal title 2025-04-13 20:29:56 +07:00
Elian Doran e6e2bde274
feat(touchbar): basic implementation for modal buttons 2025-04-13 20:27:19 +07:00
Elian Doran ce86a2b077
feat(touchbar): add spacer 2025-04-13 20:10:16 +07:00
Elian Doran 904e8f724d
refactor(touchbar): unnecessary typecast 2025-04-13 20:06:58 +07:00
Elian Doran 31fb7c1404
docs(user): use webviews for frontend & backend APIs 2025-04-13 19:09:14 +07:00
Elian Doran 002140c998
docs(api): document FNote execute behaviour 2025-04-13 18:59:52 +07:00
Elian Doran 84c2ebd7f3
docs(api): pin common classes 2025-04-13 18:48:04 +07:00
Elian Doran c8860ea25a
chore(docs): add author of PR 2025-04-13 17:13:24 +07:00
Elian Doran 9d1e99f2e8
Merge pull request #1686 from TriliumNext/refactor_remove-cookiePath
refactor(cookiePath): remove non-working cookiePath option
2025-04-13 17:12:25 +07:00
Elian Doran b4a5f95eb3
chore(docs): update Nginx documentation 2025-04-13 17:11:06 +07:00
Elian Doran e39c65692e
chore(docs): update changelog 2025-04-13 17:11:06 +07:00
Arne Keller 4256792433
Update README.md for new docs 2025-04-13 17:11:06 +07:00
renovate[bot] 99a10a4115
chore(deps): update dependency mind-elixir to v4.5.1 2025-04-13 17:11:06 +07:00
renovate[bot] 97a51ac39a
chore(deps): update dependency rollup to v4.40.0 2025-04-13 17:11:05 +07:00
Elian Doran f5fbd71b74
chore(api_docs): disable including of the version 2025-04-13 17:11:05 +07:00
Elian Doran 122095c86e
chore(api_docs): use single script for building 2025-04-13 17:11:05 +07:00
Elian Doran 77fc6a8458
feat(docs): document writing documentation 2025-04-13 17:11:05 +07:00
Elian Doran 9770d3ec08
chore(docs): update changelog 2025-04-13 17:09:03 +07:00
Elian Doran a5c0191c8d
Merge pull request #1693 from FliegendeWurst/patch-2
Update README.md for new docs
2025-04-13 17:05:17 +07:00
Elian Doran eba41c03be
Merge pull request #1691 from TriliumNext/renovate/mind-elixir-4.x
chore(deps): update dependency mind-elixir to v4.5.1
2025-04-13 17:04:35 +07:00
Elian Doran 1b4ca2e0b2
Merge pull request #1692 from TriliumNext/renovate/rollup-4.x-lockfile
chore(deps): update dependency rollup to v4.40.0
2025-04-13 17:04:15 +07:00
Arne Keller 59f5a67d23
Update README.md for new docs 2025-04-13 13:42:47 +07:00
Elian Doran 9e2e45fb75
chore(api_docs): disable including of the version 2025-04-13 13:07:20 +07:00
Elian Doran dbe5182a69
chore(api_docs): use single script for building 2025-04-13 13:07:12 +07:00
Elian Doran c719db03ab
feat(docs): document writing documentation 2025-04-13 13:06:47 +07:00
Panagiotis Papadopoulos 324223f5f6 docs(reverse_proxy): add info about proxy_cookie_path 2025-04-13 10:53:34 +07:00
Panagiotis Papadopoulos a979e87a7f refactor(cookiePath): remove non-working cookiePath option
this option will currently not work => the cookie will never
be set by the server, if you use a different path other than "/"

in order for this to work we would need to introduce some kind of
"custom route prefix", that would make express serve the routes with
the custom prefix — but that kinda falls more into a reverse proxy
job territory.

So let's remove this feature for now and amend the docs on how to
correctly handle the cookies per instance via the reverse proxy.
2025-04-13 10:53:34 +07:00
renovate[bot] be8ed8a325
chore(deps): update dependency rollup to v4.40.0 2025-04-13 01:37:27 +07:00
renovate[bot] 7dda5e7a52
chore(deps): update dependency mind-elixir to v4.5.1 2025-04-13 01:37:17 +07:00
perf3ct 263c869091
hmm 2025-04-12 19:09:25 +07:00
Elian Doran 78778305ff
fix(forge): arch not working on win arm64 2025-04-12 21:26:27 +07:00
perf3ct 6bba1be5f4
Structure tool response 2025-04-12 17:23:25 +07:00
perf3ct 519076148d
do a better job of implementing a stream_handler 2025-04-12 17:13:37 +07:00
perf3ct 253dbf92fa
this at least works to send responses when there's no tool calls 2025-04-12 17:03:36 +07:00
Elian Doran 74b3ab313e
docs(script): include version 2025-04-12 14:07:18 +07:00
Elian Doran fbc0b5f84a
docs: merge backend and frontend APIs into script API 2025-04-12 13:36:29 +07:00
Elian Doran 84883a6e26
docs(backend_api): generate frontend script API as well 2025-04-12 13:30:24 +07:00
Elian Doran e8f6e2d433
docs(backend_api): set proper module name 2025-04-12 13:19:03 +07:00
Elian Doran dd42c067f9
docs(backend_api): set proper entry point and include all internal modules 2025-04-12 13:13:39 +07:00
Elian Doran b17df71494
chore(docs): update backend api documentation 2025-04-12 12:53:45 +07:00
Elian Doran d74504d822
chore(docs): sync 2025-04-12 12:46:21 +07:00
Elian Doran 88d0e64f2c
chore(edit-docs): simplify entity changed log 2025-04-12 12:46:13 +07:00
Elian Doran 27ccc56b6d
feat(import/markdown): handle markup in note title 2025-04-12 12:46:00 +07:00
Elian Doran 08a56300b0
feat(docs): improve internal links documentation 2025-04-12 11:50:26 +07:00
Elian Doran bede12f3f6
feat(docs): improve external links documentation 2025-04-12 11:41:37 +07:00
Elian Doran 60217d4e4f
feat(quick_search): align popup to bottom-center (closes #1679) 2025-04-12 11:27:51 +07:00
Elian Doran 7fba2dfb8b
fix(launcher): clarify quick search (closes #1680) 2025-04-12 11:14:38 +07:00
Elian Doran 7b297a5ed7
feat(link): support target=_blank for URLs 2025-04-12 11:08:02 +07:00
Elian Doran e2f327c180
chore(docs): update changelog 2025-04-12 10:57:31 +07:00
Elian Doran 44b9b3d7b8
feat(mobile): add info dialog 2025-04-12 10:55:42 +07:00
Elian Doran 4e7a7e334e
feat(mobile): request confirmation for deleting notes 2025-04-12 10:55:42 +07:00
Elian Doran 8163d2d904
style(mobile): modal bottom margin when no safe margin is set 2025-04-12 10:55:42 +07:00
Elian Doran 3d5868d6b9
style(mobile): height of confirm dialogs 2025-04-12 10:55:42 +07:00
Elian Doran dfab892879
feat(mobile): improve fit of note revisions 2025-04-12 10:55:42 +07:00
Elian Doran 626191ad2f
feat(mobile): add note revisions dialog 2025-04-12 10:55:42 +07:00
Elian Doran 69a5c90ada
refactor(mobile): share protected session & confirm dialogs 2025-04-12 10:55:42 +07:00
Elian Doran a89b868509
feat(mobile): support markdown import dialog 2025-04-12 10:55:42 +07:00
Elian Doran 15a683bce1
feat(mobile): support import/export dialog 2025-04-12 10:55:42 +07:00
Elian Doran aac195c332
feat(mobile): support move/clone to dialog 2025-04-12 10:55:42 +07:00
Elian Doran 9aaf48426a
feat(mobile): support note type selector 2025-04-12 10:55:42 +07:00
Elian Doran cd00c89dfe
feat(mobile): support sort child notes dialog 2025-04-12 10:55:42 +07:00
Elian Doran f348f5d7ed
feat(mobile): support branch prefix dialog 2025-04-12 10:55:42 +07:00
Elian Doran bbd76069c1
refactor(mobile): use shared modal configuration with desktop 2025-04-12 10:55:41 +07:00
Elian Doran a8f1abb77f
fix(mobile): tree not closing after pressing menu item 2025-04-12 10:55:41 +07:00
Elian Doran e5f7b978e0
style(mobile): add a safe bottom region in modals 2025-04-12 10:55:41 +07:00
Elian Doran d2229d6179
fix(mobile): make modal windows scrollable 2025-04-12 10:55:41 +07:00
Elian Doran 167bd39e5b
fix(mobile): add bulk actions dialog 2025-04-12 10:55:41 +07:00
JYC333 f392dfbb49
Merge pull request #1683 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.14.1
2025-04-12 15:43:04 +07:00
Elian Doran abc9f49ae6
fix(mobile): include note & add link dialogs (closes #1677) 2025-04-12 09:24:07 +07:00
Elian Doran 2b3fee88bd
Merge branch 'develop' into renovate/node-22.x 2025-04-12 09:16:41 +07:00
Elian Doran 3c88e3c12c
fix(test): help buttons ID check after change in structure 2025-04-12 09:16:20 +07:00
renovate[bot] d6d67a88b6
chore(deps): update dependency @types/node to v22.14.1 2025-04-12 02:14:23 +07:00
perf3ct 80c29e2a01
Do a better job of handling tools 2025-04-11 22:52:09 +07:00
Elian Doran 2cd69cc57a
chore(docs): remove old documentation 2025-04-12 01:38:51 +07:00
Elian Doran cd35884446
chore(docs): sync developer guide 2025-04-12 01:36:45 +07:00
Elian Doran d3e18a68a8
chore(docs): align images with source 2025-04-12 01:36:17 +07:00
Elian Doran d2a1655de5
feat(docs): add developer guide 2025-04-12 01:36:03 +07:00
Elian Doran 21e84dd95e
chore(docs): optimize JPEG images 2025-04-12 01:30:35 +07:00
Elian Doran 72237df6a2
chore(docs): optimize JPEG images 2025-04-12 01:17:00 +07:00
Elian Doran 38d33abfd4
chore(docs): remove unnecessary index and style files 2025-04-12 01:13:45 +07:00
Elian Doran 8cd10595ff
chore(docs): release note position 2025-04-12 01:07:43 +07:00
Elian Doran 07e2162e94
chore(docs): remove unnecessary release group 2025-04-12 01:00:41 +07:00
Elian Doran 4e5b007c40
feat(docs): optimize PNG images (-2.8 MB) 2025-04-12 00:59:53 +07:00
Elian Doran aaaadcb705
chore(docs): remove image meta 2025-04-12 00:55:49 +07:00
perf3ct def70af65b
break up the chat_panel into smaller files 2025-04-11 21:52:54 +07:00
Elian Doran d05bc03074
feat(in-app-help): use preprocessed subtree data 2025-04-12 00:48:51 +07:00
perf3ct 16604c85a6
I think this is close 2025-04-11 21:38:10 +07:00
Elian Doran fe7650f6ce
feat(docs-edit): minify meta JSON (429 KB gain) 2025-04-12 00:37:36 +07:00
Elian Doran c9dba8c0e7
chore(docs): remove HTML wrapper 2025-04-12 00:32:54 +07:00
Elian Doran 8ecefa4eec
feat(in-app-help): adapt to no HTML wrapper 2025-04-12 00:32:43 +07:00
Elian Doran 460014e54f
feat(docs-edit): don't include HTML wrappers 2025-04-12 00:27:15 +07:00
Elian Doran 9c0c1bad2d
chore(docs): sync 2025-04-12 00:14:00 +07:00
Elian Doran 2b53a1c534
chore(docs): mention admonitions in CKEditor 2025-04-12 00:02:01 +07:00
Elian Doran b26e430c3e
Merge pull request #1673 from TriliumNext/fix_cal
Fix calendar widget doesn't close when click on a note
2025-04-11 23:50:25 +07:00
Jon Fuller 91c31d279b
Potential fix for code scanning alert no. 64: Double escaping or unescaping
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-04-11 13:36:41 +07:00
Elian Doran 0acdab29af
feat(docs): document multiple server instances & reorganize 2025-04-11 23:32:53 +07:00
Jon Fuller 6cc4b7e226
Potential fix for code scanning alert no. 55: Useless regular-expression character escape
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-04-11 13:31:43 +07:00
Jon Fuller 8b2176344a
Potential fix for code scanning alert no. 62: Double escaping or unescaping
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-04-11 13:31:32 +07:00
Jon Fuller 50f4f822b3
Potential fix for code scanning alert no. 60: Double escaping or unescaping
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-04-11 13:30:43 +07:00
Jon Fuller 3cda253d61
Potential fix for code scanning alert no. 61: Double escaping or unescaping
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-04-11 13:30:25 +07:00
Jon Fuller 8727ff95f1
Merge branch 'develop' into ai-llm-integration 2025-04-11 13:27:51 +07:00
perf3ct 681e8bb1ce
streaming works for ollama :) 2025-04-11 20:26:47 +07:00
Elian Doran 7c88681e70
feat(docs): document most features of text notes 2025-04-11 23:21:44 +07:00
perf3ct 451e5ea31f
getting closer to streaming?
even closer?

closer streaming...

this is darn close
2025-04-11 20:18:20 +07:00
Jin 73b043fe8d refactor: 💡 add command data back for tracing aspect 2025-04-11 20:41:04 +07:00
Elian Doran 15f415efeb
chore(docs): mention markdown export improvements 2025-04-11 20:17:05 +07:00
Elian Doran 91daef863d
chore(docs): merge syntax highlight docs 2025-04-11 20:15:33 +07:00
Elian Doran d1b308eced
chore(docs): sync 2025-04-11 20:05:22 +07:00
Elian Doran 2e4524361b
feat(export/markdown): preserve include section 2025-04-11 20:00:32 +07:00
Elian Doran 539e3f1b6a
feat(export/markdown: trim confusing whitespace in lists 2025-04-11 19:25:22 +07:00
Elian Doran eba4c1a545
fix(docs-edit): concurrency issue between import & export 2025-04-11 18:39:12 +07:00
Elian Doran 09cb1eb5de
chore(docs): remove fake release note 2025-04-11 18:38:20 +07:00
Jin b4dbf4d7a5 Revert sort imports refector to avoid conflits 2025-04-11 17:31:12 +07:00
Elian Doran ce5060c25b
chore(release): remove latest config 2025-04-11 18:28:35 +07:00
Elian Doran 73d98648c8
fix(release): wrong ref name for release 2025-04-11 18:28:14 +07:00
Elian Doran 1d5b8dbbbe
refactor(release): trigger via release 2025-04-11 18:27:46 +07:00
Elian Doran d020ca7d24
fix(build): missing argument 2025-04-11 17:18:00 +07:00
Elian Doran 560780e2fc
feat(ci): release all at once and deploy to winget 2025-04-11 17:15:20 +07:00
Elian Doran 0ddc1265d2
Merge pull request #1681 from TriliumNext/revert-1626-deps_express5
Revert "deps: manual upgrade to express 5.1.0"
2025-04-11 17:03:28 +07:00
Elian Doran d8964aee28
Revert "deps: manual upgrade to express 5.1.0" 2025-04-11 16:51:42 +07:00
Elian Doran 6a2d58ea60
fix(electron): stack traces not correct 2025-04-11 16:37:21 +07:00
Elian Doran 89f4ac718c
feat(edit-docs): integrate release notes into repo 2025-04-11 14:23:47 +07:00
Elian Doran 6231ac59d6
chore(edit-docs): change import mechanism 2025-04-11 14:02:55 +07:00
Elian Doran 3c5f5d2f76
feat(release): add reusable workflow to deploy to winget 2025-04-11 12:56:09 +07:00
Elian Doran 4161bc17e1
Merge remote-tracking branch 'origin/develop' into feature/touchbar 2025-04-11 09:54:45 +07:00
Elian Doran 6688151c2b
Merge pull request #1674 from TriliumNext/renovate/electron-rebuild-3.x
chore(deps): update dependency @electron/rebuild to v3.7.2
2025-04-11 08:34:47 +07:00
renovate[bot] e61c59b1a8
chore(deps): update dependency @electron/rebuild to v3.7.2 2025-04-11 02:04:46 +07:00
Panagiotis Papadopoulos 22ac83f443 chore(build-server): add unix EOL to trilium.sh 2025-04-10 23:22:52 +07:00
Jin 1e7f15b3c2 refactor: 💡 sort calendar.ts imports 2025-04-10 22:22:07 +07:00
Jin 522b96f978 refactor: 💡 sort app_context.ts import 2025-04-10 22:21:07 +07:00
Jin 54a0bdeb14 refactor: 💡 remove unused command data (editNoteTitle) 2025-04-10 22:19:04 +07:00
Jin e555a3354f refactor: 💡 fix note_tree.ts lint 2025-04-10 22:18:12 +07:00
Jin 14a3b2811d fix: 🐛 fix calendar widget doesn't close when click on a note 2025-04-10 22:09:04 +07:00
Jin 3e6cc1b449 refactor: 💡 tree.ts refactor 2025-04-10 22:08:34 +07:00
Elian Doran a92b040958
Merge pull request #1579 from TriliumNext/calendar
Add week note and quarter note support
2025-04-10 22:31:01 +07:00
Jin 998abb35be fix: 🐛 fix calendar unit test error 2025-04-10 21:12:56 +07:00
Jin a554085681 fix: 🐛 fix tray.ts build error 2025-04-10 21:01:00 +07:00
Jin 7f381cb733 fix: 🐛 fix sender.ts build error 2025-04-10 20:59:18 +07:00
Jin 6322f8473c fix: 🐛 fix clipper build error 2025-04-10 20:58:04 +07:00
Panagiotis Papadopoulos 1822240ee0
ci: setup CodeQL workflow with default settings 2025-04-10 20:45:24 +07:00
Elian Doran 32a6aed93b
Merge remote-tracking branch 'origin/develop' into calendar 2025-04-10 21:25:58 +07:00
Elian Doran 9cfc08389c
Merge pull request #1626 from TriliumNext/deps_express5
deps: manual upgrade to express 5.1.0
2025-04-10 21:14:10 +07:00
Elian Doran 2cb7002fe4
Merge pull request #1664 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.22
2025-04-10 21:13:42 +07:00
Elian Doran fae027a036
Merge pull request #1661 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.1.5
2025-04-10 21:13:12 +07:00
renovate[bot] 64cc32c4fa
fix(deps): update dependency katex to v0.16.22 2025-04-10 18:12:56 +07:00
Elian Doran 613efc3c78
Merge pull request #1662 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.28.2
2025-04-10 21:12:51 +07:00
Elian Doran 5ed7695426
Merge pull request #1663 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.29.1
2025-04-10 21:12:31 +07:00
Elian Doran 6d45e656cb
Merge pull request #1665 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.8
2025-04-10 21:11:49 +07:00
Elian Doran ff195a930b
Merge pull request #1666 from TriliumNext/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.99.5
2025-04-10 21:11:11 +07:00
Elian Doran 64869f80ee
chore(release): 0.92.7 2025-04-10 21:06:20 +07:00
Elian Doran 3df666b03e
Merge pull request #1668 from TriliumNext/fix_redirectBareDomainError_on_initial_start
fix(auth): avoid "Error: Option 'redirectBareDomain' doesn't exist" on new installations
2025-04-10 20:52:54 +07:00
Panagiotis Papadopoulos 1979affa8a refactor(auth): simplify hasRedirectBareDomain
following change suggestion requested here
https://github.com/TriliumNext/Notes/pull/1668#pullrequestreview-2755816018
2025-04-10 19:49:00 +07:00
Panagiotis Papadopoulos a819166ae5 fix(auth): avoid "Error: Option 'redirectBareDomain' doesn't exist" on new installations
fixes #1667
2025-04-10 19:49:00 +07:00
Elian Doran 9ab48839a7
chore(github): add paypal to funding 2025-04-10 20:29:36 +07:00
Elian Doran 569aeedae4
Update FUNDING.yml 2025-04-10 20:11:50 +07:00
Elian Doran bfafd993ed
chore(readme): add sponsor badge 2025-04-10 20:02:43 +07:00
Elian Doran 279b6fcf14
fix(mobile): bring back bar positioning on iOS 2025-04-10 18:21:36 +07:00
Elian Doran 83fb6f44c2
feat(mobile): hide global menu & tabs when keyboard is opened 2025-04-10 17:45:52 +07:00
Elian Doran 7a1e775de2
feat(mobile): detect presence of the virtual keyboard 2025-04-10 17:41:31 +07:00
Elian Doran 1aa69ba268
fix(mobile): remove vertical scrollbar for editing toolbar 2025-04-10 16:58:30 +07:00
Elian Doran 830285c866
fix(mobile): remove scrollbar for editing toolbar 2025-04-10 16:20:37 +07:00
Elian Doran 4f09f1a266
feat(mobile): flatten editing toolbar 2025-04-10 15:06:33 +07:00
Elian Doran 326c409e47
feat(mobile): reposition dropdowns to point up instead of down 2025-04-10 14:44:27 +07:00
Elian Doran e23b2f3ddd
fix(mobile): bring back scrolling to toolbar 2025-04-10 14:07:44 +07:00
Elian Doran 0f2bc529bf
feat(mobile): improve editing toolbar positioning on Android 2025-04-10 12:10:56 +07:00
Elian Doran fbba76bbb3
refactor(components): split editor toolbar for mobile 2025-04-10 11:50:28 +07:00
Elian Doran c422c3e5b9
fix(mobile): detection when authentication is disabled (closes #1660) 2025-04-10 10:35:24 +07:00
Elian Doran ce4b5b8193
fix(desktop): missing </body> 2025-04-10 09:45:05 +07:00
renovate[bot] 30e9f01a6c
chore(deps): update dependency webpack to v5.99.5 2025-04-10 01:51:33 +07:00
renovate[bot] aee169dd4c
fix(deps): update dependency marked to v15.0.8 2025-04-10 01:51:23 +07:00
renovate[bot] b676086972
chore(deps): update dependency typescript-eslint to v8.29.1 2025-04-10 01:51:02 +07:00
renovate[bot] 572de20bd3
chore(deps): update dependency typedoc to v0.28.2 2025-04-10 01:50:46 +07:00
renovate[bot] 6e48db2d0c
chore(deps): update dependency electron to v35.1.5 2025-04-10 01:50:34 +07:00
perf3ct b68ff88840
some more docstrings 2025-04-09 21:33:30 +07:00
perf3ct 6fe2b87901
rip out openai custom implementation in favor of sdk 2025-04-09 21:16:29 +07:00
perf3ct f71351db6a
also rip out our custom anthropic implementation 2025-04-09 21:08:30 +07:00
perf3ct 53223b5750
well, we ripped out our custom ollama implementation in favor of the SDK 2025-04-09 20:33:55 +07:00
perf3ct 7f92dfc3f1
okay I can call tools? 2025-04-09 20:15:21 +07:00
perf3ct b05b88dd76
yes, this finally does set streaming to true 2025-04-09 19:53:45 +07:00
perf3ct 59a358a3ee
use this new providerMetadata approach 2025-04-09 19:21:34 +07:00
perf3ct 1dfbabc1d1
try using a new ProviderOptions approach 2025-04-09 19:11:27 +07:00
perf3ct 4f812cd2ce
require that ChatCompletionOptions be defined 2025-04-09 17:39:47 +07:00
perf3ct 8ff3f4f269
handle streaming responses better in Chat UI 2025-04-09 17:35:53 +07:00
Elian Doran 2e48837c89
feat(docs): document basic search functionality 2025-04-09 17:06:45 +07:00
Elian Doran feb43193b1
feat(docs): document search in note functionality 2025-04-09 16:47:07 +07:00
Elian Doran 475c3bdde8
chore(docs): add rewritten links for navigation (closes #1643) 2025-04-09 15:57:19 +07:00
Elian Doran a88a92d490
feat(edit-docs): rewrite links to allow navigation in help 2025-04-09 15:48:03 +07:00
Elian Doran 652fc48a86
chore(docs): sync 2025-04-09 15:13:10 +07:00
Elian Doran f7fbda1b00
fix(docs): import errors due to file case errors 2025-04-09 14:46:21 +07:00
Elian Doran 27ad451bd8
feat(electron): support transparency on Linux if background effects are enabled 2025-04-09 14:10:11 +07:00
Elian Doran c603efb44b
Merge pull request #1655 from TriliumNext/type_sql-transactional
types: use type variable for sql.transactional's return value
2025-04-09 12:07:57 +07:00
JYC333 34d401574c
Merge pull request #1650 from TriliumNext/eslint
Use eslint simple-import-sort plugin to enable auto fix
2025-04-09 16:49:27 +07:00
Panagiotis Papadopoulos 6d74f6c1c4 chore(deps): run npm audit fix
fixes
vite  6.2.0 - 6.2.4
Severity: moderate
Vite allows server.fs.deny to be bypassed with .svg or relative paths - https://github.com/advisories/GHSA-xcj6-pq6g-qj4x
2025-04-09 09:52:01 +07:00
Panagiotis Papadopoulos c494cca229
Merge branch 'develop' into type_sql-transactional 2025-04-09 09:44:47 +07:00
Panagiotis Papadopoulos da649d75c0 refactor(routes/api/recovery_codes): use Array.from with mapFn in generateRecoveryCodes
gives us the identical result as before, but a lot more concise and "DRY"
2025-04-09 09:43:38 +07:00
Panagiotis Papadopoulos 68ea84a2cb refactor(routes/api/recovery_codes): use .map instead of .forEach
it doesn't make sense to use a forEach here, when all we do is push values into an array => just use .map directly as it returns an array
2025-04-09 09:24:28 +07:00
Panagiotis Papadopoulos 05917fd815 fix(routes/api/recovery_codes): convert number into string
fixes type error, as usedStatus is expecting string[] and "indexOf" returns a number
2025-04-09 09:21:20 +07:00
Panagiotis Papadopoulos eae68064e5 types(recovery_codes): use sql.transactional Generics to simplify typings 2025-04-09 08:41:55 +07:00
Panagiotis Papadopoulos af85ef0b47 types(services/sql): explicitly cast return value as type variable T instead of any
previously the type variable was useless, because
`const ret = (dbConnection.transaction(func) as any).deferred();` was inferred as "any".
2025-04-09 08:34:42 +07:00
Panagiotis Papadopoulos 80dd925231 chore(lint): fix minor lint issues in recovery_codes
/home/pano/Programming/0_repos/TriliumNextNotes/src/services/encryption/recovery_codes.ts
   2:1  error  Imports should be sorted alphabetically                            sort-imports
   3:1  error  Imports should be sorted alphabetically                            sort-imports
  13:9  error  'encryptedRecoveryCodes' is never reassigned. Use 'const' instead  prefer-const
  57:5  error  Unexpected var, use let or const instead                           no-var
2025-04-09 08:19:20 +07:00
perf3ct 208267edb8
increase context window size 2025-04-09 01:24:43 +07:00
perf3ct c95b9f798c
recursive thinking? 2025-04-09 01:24:32 +07:00
perf3ct 39f979ea8c
sheeeesh 2025-04-09 00:42:15 +07:00
perf3ct e523d88d23
did I really need to specify the context window size in API requests this whole time? 2025-04-08 23:55:04 +07:00
Panagiotis Papadopoulos 4ea82bb50b
Merge branch 'develop' into deps_express5 2025-04-09 00:21:17 +07:00
Panagiotis Papadopoulos 26d5462af4 refactor(routes/custom): update path "/custom/*path" for express v5 2025-04-09 00:17:30 +07:00
perf3ct 7373249dee
well this works for tool calling the "readNote" func 2025-04-08 22:08:52 +07:00
perf3ct 683d1a5481
I think we're close to getting tooling to work
close?
2025-04-08 22:02:54 +07:00
Panagiotis Papadopoulos 8d09ff4299 fix(routes): remove unused wildcard in apiRoute "/api/options/:name/:value*"
the updateOption function that handles the req.param is just destructuring `const { name, value } = req.params;` and does nothing else with the path or any params.
The remaining parts of the wildcard (which can be accessed via req.param[0]) are just ignored here.

even with express v4, this would *always* just take and process the very first part of the path, in the exact wildcard's place, e.g.

`/api/options/locale/de` and
`/api/options/locale/de/test/whatever`
would *both* end up destructuring "value" from req.param as "de" (because it is in the exact place of the 'value' wildcard)

in express v5 the wildcard behaviour changes -> here req.param.value would return an array with the paths split into separate string.

but since the code previously regarded only the first part of the path -> we can just get rid of the wildcard and use a named route param

the only thing to keep in mind: if a request with more than one "value" is received, (e.g. `/api/options/locale/de/test/whatever`) -> since we don't have the wildcard anymore  -> this will turn to a 404.
IMHO that is actually desirable here though
2025-04-08 23:50:53 +07:00
Elian Doran 43c2818299
fix(calendar_view): promoted attributes overlap 2025-04-08 23:38:04 +07:00
Elian Doran 05a006faca
fix(calendar_view): add back note icon 2025-04-08 23:33:57 +07:00
Elian Doran b1c8e625b2
fix(calendar_view): display hours in calendar view 2025-04-08 23:28:27 +07:00
perf3ct cdd4529828
add even more tools 2025-04-08 20:00:49 +07:00
Elian Doran eea141225d
refactor(calendar): dedicated method for building event content 2025-04-08 22:48:57 +07:00
perf3ct 61eaf46a04
definitely don't need this 2025-04-08 19:15:11 +07:00
perf3ct c716481ef8
resolve linter errors 2025-04-08 19:15:11 +07:00
perf3ct 2d745c12c8
wow, this actually does something 2025-04-08 19:15:11 +07:00
perf3ct b8a6da6d52
rename these "agent tools" 2025-04-08 19:15:11 +07:00
perf3ct 7725b924e9
add some more useful tools
CLOSER....

works?
2025-04-08 19:15:11 +07:00
perf3ct 26b1b08129
tool calling is close to working
getting closer to calling tools...

we definitely need this

closer to tool execution...

agentic tool calling is...kind of working?
2025-04-08 19:15:01 +07:00
Elian Doran 0b0d212854
feat(docs): document recent changes 2025-04-08 21:53:31 +07:00
Elian Doran 5b34e8a327
feat(docs): document advanced options in context menu 2025-04-08 21:44:22 +07:00
Elian Doran 5eb8e478b7
feat(docs): document the note tree contextual menu 2025-04-08 20:06:55 +07:00
Elian Doran 584fa67074
fix(bulk_actions): clarify actions taken by "Update relation target" 2025-04-08 19:38:19 +07:00
Elian Doran 2b56c2acbe
feat(docs): document bulk actions 2025-04-08 19:35:13 +07:00
Elian Doran 8949f68b81
fix(server): duplicating note subtree escapes special characters 2025-04-08 18:09:02 +07:00
Jin 08ae71e70f chore: 🤖 use simple-import-sort plugin
Use simple-import-sort plugin to enable auto-fix import sort
2025-04-08 14:09:37 +07:00
Jin f346c40b7c fix: 🐛 fix crash when no calendarRoot 2025-04-08 14:00:42 +07:00
Elian Doran 0eec8042ca
fix(new_tab): workspace switcher no longer displayed
Regression of 7f1eb99127
2025-04-08 12:46:58 +07:00
Elian Doran 3a1f1ceedb
fix(export/markdown): double slashes breaking math expressions (closes #1649) 2025-04-08 12:06:46 +07:00
Elian Doran d03ee26408
fix(editor): random crashes due to lacking null safety in syntax highlight 2025-04-08 09:06:27 +07:00
Elian Doran 8b7f16d49b
fix(editor): syntax highlighting not working in nested elements (closes #1609, closes #843) 2025-04-07 23:51:56 +07:00
Elian Doran 7f1eb99127
fix(client): build error and simplify doRefresh in type widgets 2025-04-07 22:50:38 +07:00
Elian Doran c74f51472e
fix(options): "Override theme fonts" not reflecting immediately 2025-04-07 22:34:47 +07:00
Elian Doran d33162785e
fix(client): right-shift on non-standard themes (closes #1646) 2025-04-07 17:55:35 +07:00
Elian Doran 63458d55d3
fix(client): quick search popup not working in horizontal layout (closes #1647) 2025-04-07 17:36:29 +07:00
Elian Doran 6cc10a47d1
feat(docs): document the hidden tree 2025-04-07 13:29:22 +07:00
Elian Doran 5130089b34
feat(docs): clarify attribute prefixes 2025-04-07 12:35:52 +07:00
Elian Doran ec5025d7fd
feat(docs): clarify attribute use cases 2025-04-07 12:30:37 +07:00
Elian Doran 190cff6f7e
feat(docs): improve description of labels and relations 2025-04-07 12:22:48 +07:00
Elian Doran 72f0bc32df
feat(docs): reorganize scripting notes and finalize attribute reference 2025-04-07 11:16:10 +07:00
Elian Doran cdf9fa5b4a
feat(docs): attribute reference (wip) 2025-04-07 09:47:15 +07:00
perf3ct eb353df010
fix translations, again
fix translations

fix translations

add more missing translations
2025-04-06 20:27:30 +07:00
Elian Doran b7566ad979
feat(docs): hiding note list 2025-04-06 23:06:21 +07:00
Elian Doran 9fb04b256d
feat(docs): document supported syntax 2025-04-06 22:55:24 +07:00
perf3ct bbd81f6ef1
use 16 character random string for session ID 2025-04-06 19:14:16 +07:00
Elian Doran a4f59030e3
chore(docs): revert changes to meta 2025-04-06 21:59:06 +07:00
Elian Doran aca27d1070
Merge remote-tracking branch 'origin/develop' into calendar 2025-04-06 21:55:56 +07:00
perf3ct 023f0b607d
ELIAN HELPED ME 2025-04-06 16:32:04 +07:00
perf3ct 34a9008d29
YEET 2025-04-06 16:00:45 +07:00
perf3ct c53a66be23
maybe
?
2025-04-06 16:00:00 +07:00
Elian Doran 26e7476f0f
fix(build): re-align option definitions 2025-04-06 18:48:53 +07:00
Elian Doran de8370831c
fix(build): totp missing options 2025-04-06 18:44:08 +07:00
Elian Doran 5daed43c0f
Merge branch 'develop' into ai-llm-integration 2025-04-06 18:07:39 +07:00
Panagiotis Papadopoulos ba02070b7c deps: upgrade @triliumnext/express-partial-content to 1.1.0
now we have full express 5 compatibility
2025-04-06 16:59:34 +07:00
Panagiotis Papadopoulos ac270aecb6 deps: upgrade to express 5.1.0
our code is already compliant with v5, and is not affected by the breaking changes described here:
https://expressjs.com/en/guide/migrating-5.html

I ran their codemod command, and it did not find anything – so I also double-checked by manually checking for all of the described changed topics in the migration guide.

with this change npm will still print a warning, due to
`@triliumnext/express-partial-content@"1.0.1"`, which needs to be updated to v5 as well
2025-04-06 16:57:46 +07:00
Elian Doran b80bfb7ca4
chore(release): bump to 1.1.0 2025-04-06 17:23:17 +07:00
Elian Doran 5e55118ae0
chore(deps): update yarn.lock 2025-04-06 17:21:33 +07:00
Elian Doran f58a90c648
feat(docs): sidebar, table of contents, highlights list 2025-04-06 17:13:21 +07:00
Elian Doran 15f62ba1c3
feat(docs): update day notes documentation 2025-04-06 16:47:36 +07:00
Elian Doran cc391eb025
chore(docs): sync 2025-04-06 16:47:36 +07:00
Elian Doran 4126a8c9a2
feat(docs): reorganize & merge attachments 2025-04-06 16:47:36 +07:00
Elian Doran 6a94889646
feat(docs): reorganize script notes & document render note 2025-04-06 16:47:36 +07:00
Elian Doran b593559915
chore(docs): sync 2025-04-06 16:47:36 +07:00
Elian Doran b41025ec15
chore(deps): update package-lock 2025-04-06 16:47:36 +07:00
Elian Doran 36bf34215c
Merge branch 'develop' into calendar 2025-04-06 16:39:56 +07:00
Elian Doran 19a540200e
chore(docs): sync 2025-04-06 16:19:17 +07:00
Elian Doran c9e3fb90f1
feat(docs): reorganize & merge attachments 2025-04-06 16:04:55 +07:00
Elian Doran fb6e6241d9
feat(docs): reorganize script notes & document render note 2025-04-06 15:30:54 +07:00
Elian Doran 161f6172e7
chore(docs): sync 2025-04-06 15:00:24 +07:00
Elian Doran 2e3d692419
chore(deps): update package-lock 2025-04-06 14:58:36 +07:00
Elian Doran ab6d68fc68
chore(release): 0.92.6 2025-04-06 12:46:07 +07:00
Elian Doran 7cd8554d11
fix(client): modal text color on dark mode 2025-04-06 12:38:09 +07:00
Elian Doran 807a2dc2c6
Merge pull request #1637 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.24.0
2025-04-06 11:05:32 +07:00
Elian Doran a82490302c
Merge pull request #1636 from TriliumNext/renovate/jquery.fancytree-2.x
fix(deps): update dependency jquery.fancytree to v2.38.5
2025-04-06 11:02:19 +07:00
renovate[bot] 213da7c32d
fix(deps): update dependency eslint-linter-browserify to v9.24.0 2025-04-06 01:35:35 +07:00
renovate[bot] 5db8b59b51
fix(deps): update dependency jquery.fancytree to v2.38.5 2025-04-06 01:35:22 +07:00
Elian Doran d51151e84b
chore(docs): minor cleanup 2025-04-06 00:26:22 +07:00
Elian Doran 0b8eb66c05
fix(docs): improve reference links and fix broken links 2025-04-06 00:19:55 +07:00
Elian Doran 7c6e7cacae
fix(docs): extra ** for inline code 2025-04-06 00:00:44 +07:00
Elian Doran 8e1f0f8b27
feat(docs): document similar notes 2025-04-05 23:45:54 +07:00
Elian Doran 67f3b4d414
chore(docs): sync 2025-04-05 23:39:32 +07:00
Elian Doran 9593aa13bf
Merge pull request #1635 from TriliumNext/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.24.0
2025-04-05 23:29:13 +07:00
renovate[bot] 503c7b6538
chore(deps): update eslint monorepo to v9.24.0 2025-04-05 19:45:58 +07:00
Elian Doran 572357cb18
Merge pull request #1634 from TriliumNext/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.8.3
2025-04-05 22:44:49 +07:00
Elian Doran 3a07422238
Merge pull request #1633 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.1.4
2025-04-05 22:44:10 +07:00
Elian Doran af76c18837
Merge pull request #1632 from TriliumNext/renovate/bootstrap-5.x
chore(deps): update dependency bootstrap to v5.3.5
2025-04-05 22:43:31 +07:00
Elian Doran 60ad5743a7
Merge pull request #1631 from TriliumNext/renovate/better-sqlite3-7.x
chore(deps): update dependency @types/better-sqlite3 to v7.6.13
2025-04-05 22:41:58 +07:00
Elian Doran 820ea59c82
Merge pull request #1630 from TriliumNext/renovate/better-sqlite3-7.x-lockfile
chore(deps): update dependency @types/better-sqlite3 to v7.6.13
2025-04-05 22:41:49 +07:00
Elian Doran 74d55d500c
feat(editor): rewrite <s> to <del> 2025-04-05 22:37:02 +07:00
Elian Doran 1a1cb3d60b feat(editor): rewrite <s> to <del> 2025-04-05 22:30:47 +07:00
Elian Doran ab416e02b4
feat(import/markdown): preserve column widths 2025-04-05 21:43:26 +07:00
Elian Doran b6c185fd32
feat(import/markdown): preserve image width 2025-04-05 21:43:26 +07:00
Elian Doran 447439efd6
feat(import/markdown): preserve fractional widths 2025-04-05 21:43:26 +07:00
Elian Doran 698e68f280
Merge branch 'develop' into renovate/better-sqlite3-7.x-lockfile 2025-04-05 17:53:01 +07:00
Elian Doran 88cd8dfebb
Merge branch 'develop' into renovate/bootstrap-5.x 2025-04-05 17:52:47 +07:00
Elian Doran 680eb76970
Merge branch 'develop' into renovate/better-sqlite3-7.x 2025-04-05 17:51:57 +07:00
Elian Doran 12c9822db4
Merge branch 'develop' into renovate/electron-35.x 2025-04-05 17:51:41 +07:00
Elian Doran cfcc4740a1
Merge branch 'develop' into renovate/typescript-5.x 2025-04-05 17:51:34 +07:00
Elian Doran 8977926c00
fix(test): failed test due to change in figure handling 2025-04-05 17:51:03 +07:00
Elian Doran cdb5ebb080
feat(import/markdown): preserve trailing semicolon in figure style 2025-04-05 12:37:06 +07:00
Elian Doran 8cb10764b6
feat(import/markdown): preserve trailing semicolon in img 2025-04-05 12:31:02 +07:00
Elian Doran 64ccea5702
feat(import/markdown): preserve figure image size 2025-04-05 11:37:26 +07:00
Elian Doran 7293f59a80
fix(export/markdown): math expressions not working due to string escaping 2025-04-05 11:05:27 +07:00
Elian Doran 4bb767f8ee
fix(import/markdown): preserve escaped math expressions 2025-04-05 10:46:33 +07:00
Elian Doran 721bf455e1
refactor(import/markdown): add guard condition for processing math 2025-04-05 09:59:42 +07:00
Elian Doran e6b9ecda5c
feat(import/markdown): import in-line math properly 2025-04-05 09:59:10 +07:00
Elian Doran 07b5cd3b05
feat(import/markdown): import in-display math properly 2025-04-05 09:57:44 +07:00
Elian Doran fc4eb13e8d
feat(export/markdown): export display math properly 2025-04-05 09:32:08 +07:00
Elian Doran 894cfe4f7a
feat(export/markdown): export in-line math properly 2025-04-05 09:28:18 +07:00
perf3ct 5bcfec1835
add missing translation 2025-04-05 00:54:22 +07:00
perf3ct 9f66a9b413
add missing translations 2025-04-05 00:52:32 +07:00
renovate[bot] 116e4839cf
chore(deps): update dependency typescript to v5.8.3 2025-04-05 00:38:17 +07:00
renovate[bot] 62e72e7250
chore(deps): update dependency electron to v35.1.4 2025-04-05 00:38:07 +07:00
renovate[bot] 67ff1e7e29
chore(deps): update dependency bootstrap to v5.3.5 2025-04-05 00:37:56 +07:00
renovate[bot] c878602f57
chore(deps): update dependency @types/better-sqlite3 to v7.6.13 2025-04-05 00:37:44 +07:00
renovate[bot] df13dfc4eb
chore(deps): update dependency @types/better-sqlite3 to v7.6.13 2025-04-05 00:37:30 +07:00
Elian Doran 173fa36fca
chore(docs): bring back figure sizes 2025-04-05 03:33:53 +07:00
Elian Doran c80d016305
feat(markdown): preserve figures 2025-04-05 03:23:31 +07:00
Elian Doran 319cccfb15
feat(markdown): preserve image width/height attribute 2025-04-05 03:01:06 +07:00
Elian Doran 1f98e75c54
chore(docs): add back some image sizes 2025-04-05 03:00:43 +07:00
Elian Doran da42ddeee7
refactor(export/markdown): use let instead of var 2025-04-05 02:42:24 +07:00
Elian Doran 79fa2a2200
chore(docs): add back some reference links 2025-04-05 02:42:14 +07:00
Elian Doran 6a69e9b208
feat(markdown): use different approach for reference links 2025-04-05 02:31:52 +07:00
Elian Doran 4f22850ea9
feat(import/export): import reference links 2025-04-05 01:56:31 +07:00
Elian Doran 320439333d
fix(demo): convert to LF & add link to include note function 2025-04-05 01:25:54 +07:00
Elian Doran fdc946ef49
chore(scripts): allow editing demo notes on NixOS 2025-04-05 01:23:12 +07:00
Elian Doran bdfb2300bb
feat(docs): minor mermaid improvements 2025-04-05 01:21:33 +07:00
Elian Doran 10b3ede686
feat(docs): improve include note 2025-04-05 01:18:25 +07:00
Elian Doran 1e6c197794
refactor(docs): reposition calendar view 2025-04-05 01:09:30 +07:00
Elian Doran ed53b034f7
feat(docs): document note list 2025-04-05 01:05:40 +07:00
Elian Doran e50c1b36f6
feat(docs): document file note type 2025-04-05 00:54:03 +07:00
Elian Doran 78fba191e1
feat(docs): document note ID and collisions 2025-04-05 00:06:45 +07:00
Elian Doran bb23ae6813
feat(docs): revamp "button use case" 2025-04-04 23:46:07 +07:00
Elian Doran 65e914f916
feat(docs): improve documentation for read-only notes 2025-04-04 23:17:12 +07:00
Elian Doran 65ddfe8776
fix(docs): layout in geomap 2025-04-04 22:50:53 +07:00
Elian Doran 418da69b8a
feat(docs): document quick search & jump to note 2025-04-04 22:46:19 +07:00
Elian Doran 18f812f568
feat(docs): quick overview of options 2025-04-04 22:32:38 +07:00
Elian Doran 2d61944036
feat(docs): document mind map 2025-04-04 22:13:26 +07:00
Elian Doran 4cef5a3e16
feat(docs): fix case for Geo Map and add photo 2025-04-04 22:01:06 +07:00
Elian Doran be3e213ba3
feat(docs): improve documentation on Mermaid 2025-04-04 21:56:44 +07:00
Elian Doran 2a8ab728a7
feat(docs): document note types 2025-04-04 21:29:18 +07:00
Elian Doran cf46f8cf70
fix(docs): missing images in ELK layout 2025-04-04 21:11:00 +07:00
Elian Doran 7d40405b8c
feat(docs): document note tree in relation to split view 2025-04-04 21:01:05 +07:00
Elian Doran c8f2798fc2
feat(docs): document tabs 2025-04-04 20:55:11 +07:00
Elian Doran 92c1dd1177
chore(edit-docs): erase attachments before exporting 2025-04-04 20:35:55 +07:00
Elian Doran d0c1ffc581
feat(docs): document split view 2025-04-04 20:35:26 +07:00
Elian Doran 65d017390e
fix(edit-docs): fix random erase of attachments due to consistency issues 2025-04-04 20:01:28 +07:00
Elian Doran 3a16bf59ef
chore(docs): sync meta 2025-04-04 19:59:04 +07:00
Elian Doran f83d342594
chore(docs): format keyboard shortcut 2025-04-04 18:41:26 +07:00
Elian Doran 99fd4225f4
chore(docs): remove unused attachments 2025-04-04 18:36:36 +07:00
Elian Doran 8e97a06d1c
feat(electron-docs-main): set default options 2025-04-04 18:35:29 +07:00
Elian Doran dc103348d5
fix(client): build errors due to types 2025-04-04 18:07:26 +07:00
Elian Doran 67f39e8bde
fix(client): strange behaviour when navigating between tabs (closes #1615) 2025-04-04 17:57:54 +07:00
Elian Doran 6dc2e4088f
fix(ci): tsx not found when updating build info 2025-04-04 16:36:13 +07:00
Elian Doran c6681801fe
Merge pull request #1625 from TriliumNext/renovate/actions-checkout-4.x
chore(deps): update actions/checkout action to v4
2025-04-04 16:21:45 +07:00
Jin 7bb1e60726 refactor: 💡 fix date_notes format 2025-04-04 13:59:01 +07:00
Jin f9c0b88539 refactor: 💡 fix lint 2025-04-04 13:55:13 +07:00
Jin 6a0207dc45 fix: 🐛 fix async errors 2025-04-04 13:46:39 +07:00
Elian Doran 545e199232
fix(geomap): map cut off at first start 2025-04-04 14:19:44 +07:00
Elian Doran 9204be3157
chore(webpack): add script to run stats 2025-04-04 14:06:48 +07:00
Elian Doran 849fd5a2af
fix(ci): unrecognized name-value "inputs" 2025-04-04 14:06:30 +07:00
Elian Doran ab0213fc3f
refactor(geomap): use webpack for importing marker icon (closes #1628) 2025-04-04 14:02:34 +07:00
Elian Doran 4c05c8ab5e
feat(launch_bar): display popups at the bottom on horizontal layout 2025-04-04 11:44:42 +07:00
JYC333 0449b19ca0
Merge pull request #1 from TriliumNext/express_v5
deps: update to express v5
2025-04-04 15:48:00 +07:00
JYC333 4eb435aeea
Merge pull request #1627 from TriliumNext/fix_turndown-plugin-gfm-audit
fix(turndown-plugin-gfm): run npm audit fix
2025-04-04 15:33:45 +07:00
JYC333 b267b6ad66
Merge pull request #1624 from TriliumNext/renovate/sass-1.x
chore(deps): update dependency sass to v1.86.3
2025-04-04 15:30:07 +07:00
JYC333 08132faa83
Merge pull request #1623 from TriliumNext/renovate/bootstrap-5.x
chore(deps): update dependency bootstrap to v5.3.4
2025-04-04 15:29:35 +07:00
Panagiotis Papadopoulos 53d1aafa0a fix(dump-db): run npm audit fix
fixes
1 high severity vulnerability
tar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar File - https://github.com/advisories/GHSA-pq67-2wwv-3xjx
2025-04-04 09:28:21 +07:00
Panagiotis Papadopoulos 241eeefc0f fix(turndown-plugin-gfm): run npm audit fix
fixes
3 vulnerabilities (1 high, 2 critical)
2025-04-04 09:23:12 +07:00
renovate[bot] 4bfa90fad8
chore(deps): update actions/checkout action to v4 2025-04-04 02:44:05 +07:00
renovate[bot] 7fb37f174a
chore(deps): update dependency sass to v1.86.3 2025-04-04 02:44:00 +07:00
renovate[bot] 2686943504
chore(deps): update dependency bootstrap to v5.3.4 2025-04-04 02:43:49 +07:00
Panagiotis Papadopoulos de92391121 deps: update to express ^5.1.0 2025-04-03 23:30:55 +07:00
Panagiotis Papadopoulos a3b6d4d151 chore: convert to LF line ending 2025-04-03 23:27:32 +07:00
JYC333 614d395d72
Merge pull request #1620 from TriliumNext/fix_leaflet-marker
fix(geo_map): fix leaflet asset copying/loading
2025-04-03 23:05:34 +07:00
Panagiotis Papadopoulos b8af8b4709 fix(geo_map): fix leaflet asset copying
necessary, now that we moved leaflet to devDeps
2025-04-03 22:35:09 +07:00
Jin eb514ad4e3 chore: 🤖 improve code 2025-04-03 22:07:11 +07:00
Elian Doran 0f792ca21d
feat(docs): document automatic opening of PDF 2025-04-03 21:52:29 +07:00
Elian Doran a4f39d6376
feat(docs): document the items of the ribbon 2025-04-03 21:40:02 +07:00
Elian Doran 25fe6c2690
fix(docs): missing images in theme development 2025-04-03 21:08:18 +07:00
Elian Doran 38ed8b6592
fix(docs): missing image in geomap 2025-04-03 20:53:54 +07:00
Jin 79a7513325 fix: 🐛 fix ordinal locale 2025-04-03 19:51:01 +07:00
Elian Doran 0b82489ea0
chore(package): use different port for no-dir 2025-04-03 20:33:12 +07:00
Elian Doran 0acc14fc46
chore(backup): log when backup starts 2025-04-03 20:23:25 +07:00
Elian Doran 14b0a9cb18
chore(docs): normalize non-breaking spaces 2025-04-03 19:35:59 +07:00
Elian Doran 32db26684d
feat(import/markdown): normalize non-breaking spaces 2025-04-03 19:29:51 +07:00
Elian Doran 99461dbf7e
Merge pull request #1606 from TriliumNext/renovate/fullcalendar-monorepo
chore(deps): update fullcalendar monorepo to v6.1.17
2025-04-03 18:44:18 +07:00
Jin dc16b2cb26 Merge branch 'develop' into calendar 2025-04-03 17:32:57 +07:00
Elian Doran 690f365875
chore(release): disable manual workflow triggering
We can use the nightly if we need it.
2025-04-03 18:16:10 +07:00
Elian Doran 3c820fcc68
chore(docker): update build info for dev builds as well 2025-04-03 17:58:26 +07:00
Elian Doran a7ba7d6528
fix(docker): display correct build date (closes #1380) 2025-04-03 17:49:07 +07:00
Elian Doran 947e6b8113
Revert "desktop app: use a custom user agent string" (closes #1538)
This reverts commit ccbd47e03d.
2025-04-03 17:35:53 +07:00
Elian Doran 9c8e066826
fix(client): calendar dropdown cut off 2025-04-03 15:59:21 +07:00
Elian Doran a8e37d1a51
Merge branch 'develop' into renovate/fullcalendar-monorepo 2025-04-03 15:43:25 +07:00
Elian Doran f4b085df3a
Merge pull request #1603 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react-dom to v18.3.6
2025-04-03 15:42:33 +07:00
Elian Doran b4b2934e60
Merge pull request #1604 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.1.3
2025-04-03 15:42:03 +07:00
Elian Doran be29a699f4
Merge pull request #1605 from TriliumNext/renovate/sass-1.x
chore(deps): update dependency sass to v1.86.2
2025-04-03 15:41:41 +07:00
Elian Doran d8a507382b
Merge pull request #1607 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.14.0
2025-04-03 15:41:28 +07:00
Elian Doran ac96005eb4
Merge pull request #1608 from TriliumNext/renovate/rollup-4.x-lockfile
chore(deps): update dependency rollup to v4.39.0
2025-04-03 15:41:20 +07:00
renovate[bot] 4dee990189
chore(deps): update fullcalendar monorepo to v6.1.17 2025-04-03 12:22:06 +07:00
Elian Doran 9a69becf9a
Merge pull request #1610 from TriliumNext/deps_mermaid
deps: move packages to devDeps that are now packed by webpack
2025-04-03 15:21:03 +07:00
Elian Doran 8b823f2a57
Merge branch 'develop' into deps_mermaid 2025-04-03 14:28:30 +07:00
Elian Doran 429b600a22
Merge pull request #1613 from TriliumNext/feature/report_bundle_size
Report bundle size
2025-04-03 14:27:59 +07:00
Elian Doran 2b8ec8f01f
fix(ci): remove appending 2025-04-03 13:18:22 +07:00
Elian Doran 8730a99aeb
chore(ci): display size in MB 2025-04-03 12:58:02 +07:00
Elian Doran 194f05dc9d
fix(ci): allow slashes for branch names in server build 2025-04-03 12:44:00 +07:00
Elian Doran 9c2329a5e6
feat(ci): report server size as well 2025-04-03 12:22:57 +07:00
Elian Doran acbdf98c84
refactor(ci): remove unnecessary variables 2025-04-03 12:20:07 +07:00
Elian Doran 4bf8e28595
fix(ci): add permissions to write comments 2025-04-03 11:58:58 +07:00
Elian Doran a039e15418
feat(ci): report electron size 2025-04-03 11:44:17 +07:00
Elian Doran de3fdbe01a
chore(gitignore): add upload dir 2025-04-03 11:39:05 +07:00
Elian Doran 1e47203b61
Revert "chore(ci): remove server build temporarily" (closes #1612)
This reverts commit c50a67f36b.
2025-04-03 10:55:14 +07:00
Panagiotis Papadopoulos d6e1ad75e0 deps: move jsplumb and panzoom to devDeps
this is now handled by webpack since b44bb4053c
2025-04-03 08:28:17 +07:00
Panagiotis Papadopoulos 77e9a90904 deps: move leaflet to devDeps
this is now handled by webpack since accf245179
2025-04-03 08:20:46 +07:00
Panagiotis Papadopoulos 2833d2fe92 deps: move mermaid to devDeps –
this is now handled by webpack since 28c51cb38a
2025-04-03 08:16:43 +07:00
renovate[bot] d273748d34
chore(deps): update dependency rollup to v4.39.0 2025-04-03 01:42:15 +07:00
renovate[bot] 2a251c0810
chore(deps): update dependency @types/node to v22.14.0 2025-04-03 01:42:07 +07:00
renovate[bot] b3bc90b010
chore(deps): update dependency sass to v1.86.2 2025-04-03 01:41:46 +07:00
renovate[bot] f0770c07d0
chore(deps): update dependency electron to v35.1.3 2025-04-03 01:41:35 +07:00
renovate[bot] c5dcc35cae
chore(deps): update dependency @types/react-dom to v18.3.6 2025-04-03 01:41:25 +07:00
Jin 0e3e8233e3 test: 💍 add journal unit test 2025-04-03 01:02:05 +07:00
Jin ad3e7d611e docs: ✏️ update journal docs 2025-04-03 00:29:18 +07:00
Jin 7cbdacc9b0 feat: 🎸 improve journal name pattern 2025-04-03 00:21:14 +07:00
Jin 6ea3d5fb17 feat: 🎸 add yearPattern 2025-04-03 00:20:41 +07:00
Jin d7df050027 feat: 🎸 add localization for week and quarter note name 2025-04-02 23:58:12 +07:00
JYC333 39d466caf8
Merge pull request #1602 from TriliumNext/chore_format_tests
chore(format): format .spec files
2025-04-02 23:55:08 +07:00
Jin ddba049455 chore: 🤖 Use dayjs to handle ordinal 2025-04-02 23:46:35 +07:00
Jin bf70b949a6 Merge branch 'develop' into calendar 2025-04-02 23:28:15 +07:00
Jin 170375fe04 fix: 🐛 fix mfa get option error 2025-04-02 23:13:59 +07:00
Panagiotis Papadopoulos df5ac3e77d chore(format): fix auto-fixable format issues in *.spec.ts 2025-04-02 23:00:22 +07:00
Panagiotis Papadopoulos 2112bbee0a chore(format): fix auto-fixable format issues in data_dir.spec.ts 2025-04-02 22:41:14 +07:00
Elian Doran 6a3c44f866
fix(markdown/import): markdown quotes not escaping 2025-04-02 23:41:04 +07:00
Elian Doran 749a398128
fix(docs): use LF instead of CRLF 2025-04-02 23:41:04 +07:00
Elian Doran 4b8e3b39fe
chore(docs): fix <kbd> 2025-04-02 23:41:04 +07:00
Elian Doran a3a2bf4484
refactor(docs): use in-memory model 2025-04-02 23:41:04 +07:00
Panagiotis Papadopoulos f0a2808e3e chore(format): fix format issues in sanitize_attribute_name.spec.ts 2025-04-02 22:38:51 +07:00
Panagiotis Papadopoulos ff58184691 chore(format): fix format issues in tree.spec.ts 2025-04-02 22:37:38 +07:00
Panagiotis Papadopoulos 80ce77cdcf chore(format): fix format issues in utils.spec.ts
from
374 problems down to 40
2025-04-02 22:33:14 +07:00
Panagiotis Papadopoulos 3f0dbb9063 chore: fix typo in verifyRecoveryCode function name 2025-04-02 21:41:48 +07:00
Panagiotis Papadopoulos 4e413f6702 chore(eslint): add sort-imports rule
https://eslint.org/docs/latest/rules/sort-imports
2025-04-02 21:28:44 +07:00
perf3ct 14705eb1c5
split up sendMessage into its own service 2025-04-02 19:14:26 +07:00
perf3ct caada309ec
try using XML tags in sending to LLM, so it can more easily pick out information 2025-04-02 18:57:04 +07:00
Elian Doran 56eda374e0
Merge pull request #1575 from TriliumNext/chore_eslint-formatting
chore: use eslint for formatting and replace dprint
2025-04-02 21:19:55 +07:00
Elian Doran ce340b2128
chore(vscode): add ESLint to recommendations 2025-04-02 21:17:02 +07:00
Elian Doran c6d39e4f1f
chore(eslint): set max code length to 100 2025-04-02 21:16:18 +07:00
Elian Doran a8319fcbdf
fix(tab_bar): empty tabs not properly removed at app start 2025-04-02 21:13:41 +07:00
Elian Doran 0c5cd66eae
feat(a11y): set autocomplete for protected session 2025-04-02 21:04:22 +07:00
Elian Doran 8ec97602c8
feat(a11y): set autocomplete for login 2025-04-02 21:02:24 +07:00
Elian Doran af835dfe26
style(set_password): add some margins 2025-04-02 20:59:01 +07:00
Elian Doran c475094284
feat(a11y): suggest new password in set password 2025-04-02 20:51:53 +07:00
Elian Doran f420b5cbd4
feat(electron): constrain setup window size 2025-04-02 20:47:53 +07:00
Elian Doran 3e5bd01fc1
feat(electron): set window minimum size (closes #994) 2025-04-02 20:44:39 +07:00
perf3ct 6e8ab373d8
use highlight.js in code_handlers where possible 2025-04-02 17:38:28 +07:00
Elian Doran d8a1852935
feat(launch_bar): make scrollable when icons don't fit 2025-04-02 20:36:24 +07:00
Jin c6a4e4c6a9 chore: 🤖 use dayjs to get quarter number 2025-04-02 19:30:06 +07:00
perf3ct b7d5d926f7
centralize all formatter prompt strings 2025-04-02 17:29:53 +07:00
perf3ct fde644a432
remove commented imports 2025-04-02 17:26:32 +07:00
Elian Doran 86433e4c51
feat(launch_bar): improve look on small windows 2025-04-02 20:22:10 +07:00
Elian Doran 69b2824f9c
fix(client): note context not correctly define (closes #1193) 2025-04-02 20:08:18 +07:00
Elian Doran db66d86bc2
fix(in-app-help): help not rendering in other languages (fixes #1600) 2025-04-02 16:39:16 +07:00
Jin dfd863161c feat: 🎸 add more date pattern 2025-04-02 12:36:39 +07:00
Jin 396c32bb7d Merge branch 'develop' into calendar 2025-04-02 12:23:19 +07:00
JYC333 ea2de4e4f3
Merge pull request #1591 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.17
2025-04-02 11:47:50 +07:00
JYC333 f6c0c09e20
Merge pull request #1592 from TriliumNext/renovate/ws-8.x
chore(deps): update dependency @types/ws to v8.18.1
2025-04-02 11:47:17 +07:00
JYC333 df328d576f
Merge pull request #1598 from TriliumNext/autoComplete1
Forced to trigger search after compositionend
2025-04-02 11:46:33 +07:00
JYC333 4b64c34cbb
Merge pull request #1595 from TriliumNext/fix/logout-headers-sent-error
Fix "Cannot set headers after they are sent" error in logout function
2025-04-02 11:44:19 +07:00
JYC333 9f3076755c
Merge pull request #1597 from TriliumNext/hotfix/totp-validation-bypass
hotfix(auth): fix TOTP validation bypass issue
2025-04-02 11:42:38 +07:00
SiriusXT cc87ff44a5 Forced to trigger search after compositionend 2025-04-02 15:44:47 +07:00
SiriusXT 30056e7ffe Forced to trigger search after compositionend 2025-04-02 15:19:19 +07:00
Panagiotis Papadopoulos d1b08e535e
Merge branch 'develop' into chore_eslint-formatting 2025-04-02 09:05:42 +07:00
Panagiotis Papadopoulos 7812c0574c chore(eslint): correctly pickup ts files as well 2025-04-02 08:58:52 +07:00
Panagiotis Papadopoulos e98516df8a chore(eslint): remove leftover plugin 2025-04-02 08:54:10 +07:00
Panagiotis Papadopoulos 42edb0c0bd chore(eslint): ignore "demo" folder for now 2025-04-02 08:42:14 +07:00
Panagiotis Papadopoulos d432a56211 chore(scripts): update dev:format scripts to eslint 2025-04-02 08:37:57 +07:00
Panagiotis Papadopoulos a0fe60eff1 chore(eslint): move formatting rules to own config file for now
this will allow us to run linting and formatting separately for now, where we have a ton of linting errors still
2025-04-02 08:35:24 +07:00
Nriver 30fb754a5f hotfix(auth): fix TOTP validation bypass issue 2025-04-02 14:29:37 +07:00
Nriver dab65a6364 Fix "Cannot set headers after they are sent" error in logout function 2025-04-02 14:13:38 +07:00
renovate[bot] 4000387f44
chore(deps): update dependency @types/ws to v8.18.1 2025-04-02 01:38:52 +07:00
renovate[bot] e9ece00450
chore(deps): update dependency @types/node to v22.13.17 2025-04-02 01:38:42 +07:00
perf3ct bdcbc2558a
add two missing options into the UI 2025-04-01 22:19:11 +07:00
perf3ct c500300267
this can be much faster 2025-04-01 21:44:54 +07:00
perf3ct ed52d71729
do a better job at centralizing json extraction, and query "enhancer" search queries 2025-04-01 21:42:09 +07:00
perf3ct 5b3dca88d9
fix interface issues 2025-04-01 20:55:58 +07:00
Elian Doran 9a5793dfdd
fix(pdf): hide title bar buttons when exporting to PDF (closes #1587) 2025-04-01 23:53:38 +07:00
Elian Doran 2a68c28f2e
fix(pdf): hide center pane widgets when exporting to PDF 2025-04-01 23:48:08 +07:00
perf3ct 49076e3cf6
clean up unused options 2025-04-01 20:38:03 +07:00
Elian Doran ba506c9c10
refactor(dev): use es6-string-html for some of the SQL statements (closes #274) 2025-04-01 23:30:21 +07:00
Elian Doran 7a879d7cc8
feat(vscode): add es6-string-html to recommendations 2025-04-01 23:25:03 +07:00
Elian Doran 815078168f
refactor(dev): use es6-string-html for templates 2025-04-01 23:24:34 +07:00
Elian Doran 3f2945018c
feat(demo): reorganize, add icons & geo map 2025-04-01 22:55:20 +07:00
perf3ct afe1de5ed3
get rid of silly ollamaIsEnabled 2025-04-01 19:41:30 +07:00
perf3ct 9719859a39
centralize constants for message formatting 2025-04-01 19:33:53 +07:00
Elian Doran 6aba18887f
chore(docs): change icons & expanded branches 2025-04-01 22:30:37 +07:00
Elian Doran 242706e4ac
chore(docs):: remove unnecessary <div>s 2025-04-01 22:27:29 +07:00
Elian Doran d7fef36b46
Merge pull request #1589 from TriliumNext/autoComplete
To prevent search lag when there are a large number of notes
2025-04-01 22:08:39 +07:00
Elian Doran b94bda6670
chore(note_autocomplete): remove logging 2025-04-01 22:07:59 +07:00
perf3ct 154d2905fa
actually undo translations in hierarchy.ts for now 2025-04-01 18:51:37 +07:00
perf3ct 2db0ff2462
move prompt constants from JS to TS 2025-04-01 18:49:37 +07:00
perf3ct afd16c22b7
make all hierarchy.ts strings translateable, and centralize them 2025-04-01 18:48:39 +07:00
perf3ct 7ae55de8b1
move the embeddings api endpoint to underneath llm 2025-04-01 18:44:10 +07:00
Elian Doran dd46ffa137
Merge pull request #1590 from TriliumNext/fix_543
fix(electron_context_menu): fix disabled search engine contex menu on readonly notes
2025-04-01 21:39:18 +07:00
perf3ct b13a6ec905
add missing translation 2025-04-01 10:56:00 +07:00
perf3ct 1690217797
update LLM API endpoints 2025-04-01 10:55:20 +07:00
perf3ct b7f2a9663e
swap `route` for `apiRoute` in LLM routes 2025-04-01 10:47:05 +07:00
Jin 1630517f61 feat: 🎸 improve title parttern 2025-04-01 19:25:58 +07:00
Panagiotis Papadopoulos a6206d2bd6 fix(electron_context_menu): fix disabled search engine context menu on readonly notes
fixes #543
2025-04-01 19:25:10 +07:00
Jin 8bbe6ee1b3 refactor: 💡 refact quarter func 2025-04-01 19:20:08 +07:00
Panagiotis Papadopoulos a715de6472 chore(deps): run npm audit fix
goes from
7 vulnerabilities (6 moderate, 1 high)
to
5 moderate severity vulnerabilities
2025-04-01 19:15:25 +07:00
Jin 50009bfb6e feat: 🎸 add frontend api support 2025-04-01 19:13:09 +07:00
Jin 486696220f feat: 🎸 add backend script api 2025-04-01 19:05:12 +07:00
Jin bbf7bc9324 Merge branch 'develop' into calendar 2025-04-01 18:57:09 +07:00
Jin 97dd624671 refactor: 💡 improve code quality 2025-04-01 18:56:43 +07:00
Jin 34aac54ecd feat: 🎸 allow more patterns for different journal level 2025-04-01 18:54:42 +07:00
Jin 68d41f1de5 feat: 🎸 add quarter note support 2025-04-01 18:45:09 +07:00
Jin 028ee3852f chore: 🤖 move data_notes to using dayjs 2025-04-01 18:24:10 +07:00
Jin fc84729229 feat: 🎸 clone week note when it cross month 2025-04-01 18:09:08 +07:00
Jin 198842de31 feat: 🎸 create day note under week note 2025-04-01 17:57:16 +07:00
Jin 3fe83e0ab4 fix: 🐛 use first day of week option 2025-04-01 17:25:03 +07:00
Jin 1164126885 feat: 🎸 add and update etapi 2025-04-01 17:10:35 +07:00
Jin 1313003bdb feat: 🎸 add create week note func 2025-04-01 16:57:52 +07:00
Jin 84def1aa30 feat: 🎸 show exist week note when enable week note 2025-04-01 16:51:48 +07:00
Jin 22f1441c4e feat: 🎸 add enableWeekNote func 2025-04-01 16:40:18 +07:00
Jin c43cca6c22 feat: 🎸 add and fix week note api services 2025-04-01 16:25:03 +07:00
Jin b13abf3098 fix: 🐛 fix substring error 2025-04-01 15:33:10 +07:00
SiriusXT adcb803caa To prevent search lag when there are a large number of notes 2025-04-01 21:07:15 +07:00
Jin bead99a85d fix: 🐛 add missing builtin monthPattern label 2025-04-01 14:52:04 +07:00
Jin 674e5976ef refactor: 💡 rename getWeekNote to getWeekFirstDayNote 2025-04-01 14:46:35 +07:00
JYC333 31d81ea2cd
Merge pull request #1585 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.1.1
2025-04-01 14:24:00 +07:00
JYC333 c5f2c6b449
Merge pull request #1584 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.29.0
2025-04-01 14:23:22 +07:00
JYC333 1c84069717
Merge pull request #1583 from TriliumNext/renovate/sass-1.x
chore(deps): update dependency sass to v1.86.1
2025-04-01 14:22:37 +07:00
SiriusXT a7799d32b0 To prevent search lag when there are a large number of notes 2025-04-01 18:47:07 +07:00
Panagiotis Papadopoulos 8dfdb48e8d chore(eslint): configure @stylistic/quotes rule 2025-04-01 09:17:24 +07:00
Panagiotis Papadopoulos e93d7e6bd1 chore: remove .dprint.json config file -> now unused 2025-04-01 09:01:11 +07:00
Panagiotis Papadopoulos cd992806a6 chore(tsconfig): add "*.js" to include, to fix eslint "ProjectService" error
added it only to the "dev" tsconfig.
The tsconfig.build.json, which is used for build output does not require it.

eslint was previosuly reporting on itself:
"TriliumNextNotes/eslint.config.js was not found by the project service. Consider either including it in the tsconfig.json or including it in allowDefaultProject"
2025-04-01 09:00:37 +07:00
Panagiotis Papadopoulos 237fcdab20 chore: run eslint on eslint.config.js :-) 2025-04-01 08:57:24 +07:00
Panagiotis Papadopoulos ad18883952 chore: add padded-blocks @stylistic rule 2025-04-01 08:56:36 +07:00
Panagiotis Papadopoulos 8354fec70e chore: add initial @stylistic rules
based on what we had with dprint -> which in turn was based on what we had with prettier
2025-04-01 08:50:43 +07:00
renovate[bot] 217a28ef01
chore(deps): update vitest monorepo to v3.1.1 2025-04-01 01:38:36 +07:00
renovate[bot] 5db393bfda
chore(deps): update dependency typescript-eslint to v8.29.0 2025-04-01 01:38:19 +07:00
renovate[bot] f80c5ba29e
chore(deps): update dependency sass to v1.86.1 2025-04-01 01:38:04 +07:00
Jin ef8ecc452c chore: 🤖 fix minor 2025-04-01 00:08:48 +07:00
Jin 6f3092567d chore: 🤖 remove unused import 2025-04-01 00:05:14 +07:00
Jin d7e809b059 fix: 🐛 fix week number cross years 2025-04-01 00:04:09 +07:00
Jin be0b66c104 chore: 🤖 use dayjs fully 2025-03-31 23:56:12 +07:00
Jin 1a49c4a1e2 chore: 🤖 use dayjs part 2 2025-03-31 23:27:14 +07:00
Jin c1feedb4db fix: 🐛 fix week number between years 2025-03-31 23:24:11 +07:00
Jin f446fa38f5 fix: 🐛 fix calendar option error 2025-03-31 22:54:07 +07:00
Jin 2dba6cb326 chore: 🤖 using dayjs part 1 2025-03-31 22:26:28 +07:00
Elian Doran 8c6dbb4446
feat(docs): preserve note IDs 2025-03-31 23:20:14 +07:00
Elian Doran b6137c0747
chore(docs): normalize whitespace 2025-03-31 22:56:47 +07:00
Elian Doran 96eb7487e7
chore(gitattributes): set up CRLF handling 2025-03-31 22:51:54 +07:00
Jin ae7aaaf263 fix: 🐛 fix calendar option error 2025-03-31 21:40:33 +07:00
Elian Doran a5b481146b
Merge pull request #1581 from TriliumNext/totp
Fix redirect url with reverse proxy
2025-03-31 22:38:35 +07:00
Jin a80932d3f9 chore: 🤖 add week number explanation 2025-03-31 21:33:15 +07:00
Jin e701adac9f chore: 🤖 improve calendar option page 2025-03-31 21:13:19 +07:00
Jin ff43537942 fix: 🐛 fix redirect url with reverse proxy 2025-03-31 21:08:22 +07:00
JYC333 9397dfd6a6
Merge pull request #1577 from kliu/theme
Use --link-color as the color of links
2025-03-31 20:58:42 +07:00
JYC333 d665a4c611
Merge branch 'develop' into theme 2025-03-31 20:57:34 +07:00
perf3ct ee9c4cb23b
fix the model selection setting to not be overridden by loading available model list 2025-03-31 18:28:21 +07:00
Elian Doran 6976c9555e
fix(mermaid): bypass security issue when generating PNG 2025-03-31 21:18:40 +07:00
Elian Doran 3d0ec27038
fix(mermaid): fix export to PNG for some diagram types 2025-03-31 20:57:39 +07:00
Jin 9c5a016a93 Merge branch 'develop' into calendar 2025-03-31 19:42:58 +07:00
Jin 1581db5138 refactor: 💡 remove unused code 2025-03-31 19:40:50 +07:00
Jin 3b67364916 fix: 🐛 fix prev/next month date not link to right note 2025-03-31 19:40:10 +07:00
Jin 45633ad418 fix: 🐛 fix error caused by first day of week change 2025-03-31 19:37:01 +07:00
Jin d79604d06a feat: 🎸 add next month dates 2025-03-31 19:30:10 +07:00
Jin 71dc975aa9 feat: 🎸 add prev month dates 2025-03-31 19:19:59 +07:00
Jin dece88eef7 feat: 🎸 adjust calendar style 2025-03-31 18:53:17 +07:00
perf3ct bfa4c87076
add missing options 2025-03-31 16:01:38 +07:00
perf3ct edeebc77be
add missing options? 2025-03-31 16:01:22 +07:00
perf3ct 4c720818f0
add MFA branch to ai-llm-integ 2025-03-31 15:55:54 +07:00
perf3ct 435e7cdd4f
Merge branch 'develop' into ai-llm-integration 2025-03-31 15:55:41 +07:00
Elian Doran 3cdbc76fff
feat(mermaid): display an error when PNG export could not occur 2025-03-31 18:37:05 +07:00
kliu 4ca296894d Use --link-color as the color of links 2025-03-31 18:01:52 +07:00
Panagiotis Papadopoulos 66cfc78d8d deps: @stylistic/eslint-plugin for formatting
replaces previously used dprint
2025-03-31 09:01:39 +07:00
Panagiotis Papadopoulos f261c5841a deps: remove dprint
to be replaced by eslint-stylistic
https://eslint.style/
2025-03-31 09:00:15 +07:00
Jin f8da7494c8 feat: 🎸 create week number func 2025-03-31 02:47:16 +07:00
Jin 6084352834 feat: 🎸 reformat week number ui 2025-03-31 02:44:30 +07:00
Jin 0ed957dd77 feat: 🎸 add week numbers 2025-03-31 01:09:57 +07:00
perf3ct f2cb013e14
dynamically adjust context window sizes based on conversation context 2025-03-30 22:13:40 +07:00
Elian Doran f3b866fa7b
fix(import/zip): remove nesting of ck-content divs 2025-03-31 00:58:35 +07:00
perf3ct 29845c343c
move translation strings for AI Chat Note type 2025-03-30 21:28:34 +07:00
Elian Doran f32b76d047
refactor(import/zip): extract method and test it 2025-03-31 00:27:36 +07:00
perf3ct c046343349
fix voyage.ts typescript issues 2025-03-30 21:03:27 +07:00
perf3ct 614d5ccdd3
move from using axios to fetch in llm services 2025-03-30 21:00:02 +07:00
Elian Doran 2a69a98dd3
chore(demo): remove extremely nested content 2025-03-30 23:51:46 +07:00
Elian Doran c2feb56a0a
feat(edit-demo): clean up directory 2025-03-30 23:09:17 +07:00
perf3ct dd9b37e9fb
move query decomp strings to their own file 2025-03-30 20:08:27 +07:00
perf3ct 75601814d4
fix LBTPL_NOTE_LAUNCHER name
asdf
2025-03-30 20:03:05 +07:00
perf3ct 229a29d1cb
create get/set for private funcs 2025-03-30 19:56:09 +07:00
perf3ct 997edd8de8
clean up anthropic constant locations 2025-03-30 19:50:16 +07:00
perf3ct a5488771ae
fix showing percentage of embeddings that are completed 2025-03-30 19:43:10 +07:00
perf3ct 40bbdb2faa
fix chunking imports again 2025-03-30 19:41:31 +07:00
perf3ct 53c756be4f
fix duplicate translations 2025-03-30 19:35:13 +07:00
perf3ct 6b86bf93ae
fix import paths in chunking 2025-03-30 19:35:07 +07:00
perf3ct 9dd76873ac
add embedding recreation button back 2025-03-30 19:32:38 +07:00
Elian Doran dc31ea2333
chore(docs): keep root naming 2025-03-30 22:29:29 +07:00
Elian Doran 9c83738a16
chore(edit-demo): export root instead 2025-03-30 22:27:09 +07:00
Elian Doran 9590f5362e
feat(edit-demo): use in-memory database 2025-03-30 22:26:23 +07:00
Elian Doran 428f00425a
chore(demo): export as root 2025-03-30 22:26:01 +07:00
perf3ct d8d41a14cf
add missing translation strings 2025-03-30 19:20:33 +07:00
Elian Doran e6d77f3058
chore(demo): rename top-level note 2025-03-30 22:08:52 +07:00
perf3ct c701bc5b0b
deduplicate event handlers in ai_settings 2025-03-30 19:06:31 +07:00
Elian Doran 575201fbe8
feat(in-app-help): display day notes help for #calendarRoot 2025-03-30 22:04:16 +07:00
perf3ct d67e8e61cb
break up ai_settings.ts into multiple files 2025-03-30 19:03:41 +07:00
perf3ct 58f855a46b
also fix other providers to not be reset when refreshing settings? 2025-03-30 18:55:09 +07:00
Elian Doran 743c053584
feat(demo): create top-level calendar root 2025-03-30 21:54:59 +07:00
perf3ct 87a905984c
fix Ollama models always being overwritten upon settings load 2025-03-30 18:52:27 +07:00
Elian Doran 4605f9f38f
chore(docs): commit contents of the demo zip for diffing changes 2025-03-30 21:37:36 +07:00
Elian Doran 293314b8ef
feat(edit-demo): unzip demo for easy diffing 2025-03-30 21:37:10 +07:00
Elian Doran 827c228cdc
feat(demo): add entrypoint for editing the demo safely 2025-03-30 21:31:35 +07:00
Elian Doran 78c8b17e33
chore(release): turn into beta 2025-03-30 20:51:08 +07:00
Elian Doran 60becbc38c
fix(build): add dprint to optional dependencies to support ARMv7 (closes #1556) 2025-03-30 18:04:09 +07:00
Elian Doran d69ff1e3cf
Merge pull request #1569 from TriliumNext/feature/fix_release
fix(release): appdmg not found
2025-03-30 17:59:48 +07:00
Elian Doran 2d3a1e9023
fix(build): flaky copy of the artifact 2025-03-30 17:43:34 +07:00
Elian Doran 7b2bbdd52a
fix(release): unable to find appdmg 2025-03-30 17:23:20 +07:00
Elian Doran 93dc16de45
chore(package): update lock 2025-03-30 17:06:59 +07:00
Elian Doran 85000a2b7f
Revert "fix(release): appdmg not found"
This reverts commit 095fbb7015.
2025-03-30 17:04:29 +07:00
Elian Doran a9c3c98fa5
chore(nighly): trigger on forge config change 2025-03-30 16:54:14 +07:00
Elian Doran fb800eb96b
fix(forge): slashes in ref name breaking copying 2025-03-30 16:44:46 +07:00
Elian Doran 095fbb7015
fix(release): appdmg not found 2025-03-30 16:24:39 +07:00
Elian Doran 11dc52f0ce
chore(release): prepare for 0.92.5 2025-03-30 15:32:43 +07:00
Elian Doran e01dc5751a
Merge pull request #1566 from TriliumNext/tray
Fix program crash during initial setup and the tray not showing.
2025-03-30 14:50:11 +07:00
Elian Doran 283229d597
chore(client): add .mobile-only class 2025-03-30 14:30:18 +07:00
Elian Doran 30c14297d0
feat(backend-options): add a refresh floating button 2025-03-30 14:30:18 +07:00
Elian Doran a0d562e01b
feat(backend-options): reduce padding 2025-03-30 14:30:18 +07:00
SiriusXT 10bc7a8bd6 Merge branch 'develop' into tray 2025-03-30 18:48:54 +07:00
SiriusXT 4c063251e0 Fix program crash during initial setup and the tray not showing. 2025-03-30 17:39:28 +07:00
Elian Doran 9c291e3d41
Merge pull request #1561 from TriliumNext/renovate/rollup-4.x-lockfile
chore(deps): update dependency rollup to v4.38.0
2025-03-30 12:16:05 +07:00
Elian Doran bc4918ed5b
feat(backend_log): respect user's word wrapping (closes #1496) 2025-03-30 11:59:38 +07:00
Elian Doran fcd7df52ee
Merge branch 'develop' into renovate/rollup-4.x-lockfile 2025-03-30 11:40:36 +07:00
Elian Doran fbb010edf4
Merge pull request #1560 from TriliumNext/renovate/mind-elixir-4.x
chore(deps): update dependency mind-elixir to v4.5.0
2025-03-30 11:38:14 +07:00
renovate[bot] 66f7ba0065
chore(deps): update dependency rollup to v4.38.0 2025-03-30 02:26:39 +07:00
renovate[bot] b9ae39a3d1
chore(deps): update dependency mind-elixir to v4.5.0 2025-03-30 02:26:30 +07:00
perf3ct 86096ee5b1
Properly reload the LLM chat when swapping between LLM Chat Notes 2025-03-29 22:11:07 +07:00
perf3ct 5d3cfcd0fc
properly manage "saving" LLM chats 2025-03-29 21:55:37 +07:00
perf3ct def28b1dcd
migrate to a pipeline approach for LLM chats 2025-03-29 21:31:33 +07:00
Elian Doran fd53e35f6f
feat(autocomplete): don't search unless length is 3 2025-03-29 22:22:51 +07:00
Elian Doran 766b0723f7
feat(autocomplete): support default icons like on client 2025-03-29 22:18:42 +07:00
Elian Doran a9193fdcd4
feat(autocomplete): display note icon 2025-03-29 22:04:34 +07:00
Jin ec06503104 feat: 🎸 add first week of year option 2025-03-29 13:34:47 +07:00
Elian Doran eb097ec1ea
fix(highlights): unable to navigate to italic links (closes #1555) 2025-03-29 14:12:17 +07:00
Elian Doran a44bf7fb49
chore(highlights): prevent crash if unable to find target element 2025-03-29 14:10:12 +07:00
Elian Doran 04a7ad8d4e
fix(highlights): new italic format not displayed 2025-03-29 14:08:57 +07:00
Elian Doran 9a3f765d42
fix(import/markdown): unable to import code blocks with XML/HTML content if safe mode on (closes #1530) 2025-03-29 13:47:02 +07:00
Elian Doran fd76f8dac9
chore(vitest): switch to JSON for workspace config
Fixes random error due to the presence of the file in `build` directory.
2025-03-29 13:40:44 +07:00
Elian Doran 0982a0e503
feat(docs): improve documentation, add icons, reorganize 2025-03-29 13:07:28 +07:00
Elian Doran 5ae6b18762
fix(docs): remove accidentally added file 2025-03-29 13:07:28 +07:00
Elian Doran 49c41850ad
feat(docs): add basic Bash script for ETAPI 2025-03-29 13:07:28 +07:00
Elian Doran 644d79b1ce
feat(docs): improve documentation on note map/relation map 2025-03-29 13:07:28 +07:00
Elian Doran 80cfd73cae
feat(docs): document some of the technologies used 2025-03-29 13:07:28 +07:00
Elian Doran fbfeb7d2bf
feat(docs): document note source (viewing & editing) 2025-03-29 13:07:28 +07:00
Elian Doran 7be71fc6fa
Merge pull request #401 from TriliumNext/feature/MFA
Feature addition: Multi-Factor Authentication
2025-03-29 13:06:00 +07:00
Jin ed58be1578 Merge branch 'develop' into feature/MFA 2025-03-29 11:23:38 +07:00
Jin 17b4bfca39 chore: 🤖 improve instruction 2025-03-29 11:23:00 +07:00
Elian Doran 96d3d661c2
chore(docs): sync import/export 2025-03-29 11:28:59 +07:00
Elian Doran e62137f245
fix(docs): meta for HTML documentation changing due to root notePosition 2025-03-29 11:28:31 +07:00
Elian Doran 4dd300b702
fix(docs): meta for HTML documentation changing due to isExpanded 2025-03-29 11:25:28 +07:00
Elian Doran ce9a2a258e
Merge pull request #1550 from TriliumNext/renovate/sanitize-html-2.x
chore(deps): update dependency @types/sanitize-html to v2.15.0
2025-03-29 02:56:02 +07:00
Jin a8e37b5b92 Merge branch 'develop' into feature/MFA 2025-03-29 01:45:18 +07:00
Jin 02c4a269be feat: 🎸 upgrade db version 2025-03-29 01:44:25 +07:00
Jin 77f62b94cc refactor: 💡 refact recovery code 2025-03-29 01:40:17 +07:00
renovate[bot] c18e56d12f
chore(deps): update dependency @types/sanitize-html to v2.15.0 2025-03-29 00:39:33 +07:00
Elian Doran d84e8c347a
Merge pull request #1546 from TriliumNext/webpack
Move library loader to webpack
2025-03-29 02:38:34 +07:00
Elian Doran c7c8af28f7
fix(editor): header formatting remaining after cut to note (closes #687) 2025-03-29 02:07:29 +07:00
Elian Doran fceee44844 fix(cuttonote): header formatting remains after cut to note 2025-03-29 02:07:03 +07:00
Jin 2eeb376d24 refactor: 💡 fix typo and imporve code quality 2025-03-29 01:00:08 +07:00
Elian Doran d8b9448b91
fix(editor): not being able to copy from the included note (closes #588) 2025-03-29 01:55:20 +07:00
Elian Doran e303281207 fix(includenote): not being able to copy from the included note
See https://github.com/ckeditor/ckeditor5/issues/4600 for more info.
2025-03-29 01:53:32 +07:00
Jin ce66397257 Merge branch 'develop' into webpack 2025-03-29 00:52:27 +07:00
Jin 608378193f fix: 🐛 fix mark.js load error 2025-03-29 00:51:36 +07:00
perf3ct a8fc9e9768
render chat output as markdown, cool 2025-03-28 23:46:50 +07:00
perf3ct 8497e77b55
fix linter errors in providers 2025-03-28 23:27:40 +07:00
perf3ct 2311c3c049
centralize LLM constants more 2025-03-28 23:25:06 +07:00
perf3ct 224cb22fe9
centralize prompts 2025-03-28 23:07:02 +07:00
perf3ct 72c380b6f4
do a wayyy better job at building the messages with context 2025-03-28 22:50:15 +07:00
Elian Doran bd092e0119
chore(i18n): typo 2025-03-29 00:45:16 +07:00
Elian Doran f743cfc35c
fix(options/mfa): double colons in warning 2025-03-29 00:44:51 +07:00
Elian Doran 4cde9253ed
style(options/mfa): use admonitions 2025-03-29 00:42:20 +07:00
perf3ct ea4d3ac800
Do a better job with Ollama context, again 2025-03-28 22:29:33 +07:00
Elian Doran 9c835d0f7f
chore(docs): always use LF on Windows 2025-03-29 00:22:49 +07:00
Elian Doran 68e1e68cfe
chore(zen): change default keyboard shortcut to F9 (closes #1372) 2025-03-29 00:22:27 +07:00
Jin 534c146542 Merge branch 'develop' into webpack 2025-03-28 23:00:59 +07:00
perf3ct 2899707e64
Better use of interfaces, reducing useage of "any" 2025-03-28 21:47:28 +07:00
Jin 47a363be0f refactor: 💡 improve image zoom 2025-03-28 22:28:09 +07:00
perf3ct d1cd0a8817
fix ai_settings TPL location 2025-03-28 21:26:09 +07:00
perf3ct 2f573d4464
fix TPL location in llm_chat_panel.ts 2025-03-28 21:19:59 +07:00
perf3ct 0aa214786c
yeet unused app_service.js 2025-03-28 21:17:42 +07:00
perf3ct 59e77407e2
get rid of timeouts that aren't needed anymore 2025-03-28 21:14:57 +07:00
Jin 25aa08bb4c chore: 🤖 fix lock file 2025-03-28 22:07:43 +07:00
Jin 797ed2a494 Merge branch 'develop' into feature/MFA 2025-03-28 22:04:23 +07:00
perf3ct 005ddc4a59
create more interfaces to decrease use of "any" 2025-03-28 21:04:12 +07:00
Elian Doran df6c6647c7
chore(deps): remove leaflet from dist 2025-03-28 22:40:19 +07:00
perf3ct 44cd2ebda6
fix requeue errors 2025-03-28 20:37:09 +07:00
perf3ct d201104662
Move additional chat buttons to another spot 2025-03-28 20:34:20 +07:00
Elian Doran 83890ba130
Merge pull request #1537 from TriliumNext/build_webpack-excalidraw-font
build: use webpack for excalidraw
2025-03-28 22:31:32 +07:00
Elian Doran 041c801065
Merge pull request #1539 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.14
2025-03-28 22:24:33 +07:00
Elian Doran 9585c6a55f
fix(client): "Note not found" tooltip for some URLs 2025-03-28 22:22:42 +07:00
perf3ct 921a243b0d
"Chat with Notes" launcher works 2025-03-28 20:16:16 +07:00
Elian Doran 4859de492e
Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-5.x 2025-03-28 22:09:42 +07:00
Elian Doran 4ac52e17da
Merge pull request #1541 from TriliumNext/renovate/mime-types-3.x
fix(deps): update dependency mime-types to v3
2025-03-28 22:08:43 +07:00
Elian Doran bf1896f4fa
Merge pull request #1540 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.1.2
2025-03-28 22:08:12 +07:00
Elian Doran 597874250a
fix(electron): spacing increases when entering Chinese and digits (fixes #1327) 2025-03-28 22:07:01 +07:00
perf3ct a05013c8f4
fix AiChatButton 2025-03-28 20:06:11 +07:00
perf3ct aaa3ee2697
Well the AI chat note type "kinda" works... 2025-03-28 20:01:39 +07:00
Jin 4a2c075935 chore: 🤖 remove calendar css from library_loader 2025-03-28 17:08:34 +07:00
Jin accf245179 chore: 🤖 remove leaflet css from library_loader 2025-03-28 16:58:06 +07:00
Jin b30035834a chore: 🤖 remove mark.js from asset 2025-03-28 16:43:11 +07:00
Jin 3dc7636910 chore: 🤖 remove wheelzoom from asset 2025-03-28 16:40:48 +07:00
Jin 2476e0b504 chore: 🤖 move mark.js to webpack 2025-03-28 16:23:06 +07:00
Jin 94bc550c67 chore: 🤖 move wheel zoom to webpack 2025-03-28 16:16:33 +07:00
Jin 121f297fcb chore: 🤖 better oauth instruction 2025-03-28 12:08:32 +07:00
Jin b51814abeb fix: 🐛 remove oauth default config 2025-03-28 12:03:27 +07:00
Jin cb3627ed50 chore: 🤖 better totp instruction 2025-03-28 12:01:18 +07:00
Jin f19ec9b3c4 fix: 🐛 fix open id check error 2025-03-28 11:59:32 +07:00
Jin aaecb43f8a fix: 🐛 fix oauth logout error 2025-03-28 04:05:00 +07:00
Jin bde58e5836 fix: 🐛 fix login error 2025-03-28 04:01:18 +07:00
Jin 5987dedff8 Merge branch 'develop' into feature/MFA 2025-03-28 03:47:26 +07:00
Jin 2bd408cf8a feat: 🎸 better instruction 2025-03-28 03:46:58 +07:00
Jin 44c8b7d9ea feat: 🎸 improve oauth option page 2025-03-28 03:44:40 +07:00
Jin 7929aaf91a feat: 🎸 returen missing vars for oauth 2025-03-28 03:43:44 +07:00
renovate[bot] def9bbeac7
fix(deps): update dependency mime-types to v3 2025-03-28 02:43:35 +07:00
renovate[bot] 9fe40e2ce6
chore(deps): update dependency electron to v35.1.2 2025-03-28 02:43:19 +07:00
renovate[bot] bc76ba4149
chore(deps): update dependency @types/node to v22.13.14 2025-03-28 02:43:08 +07:00
Jin 332de4e67f feat: 🎸 add subtree translation 2025-03-28 03:42:59 +07:00
Jin c217ccd347 feat: 🎸 remove totp from config 2025-03-28 03:05:04 +07:00
Jin 243d7d0ee9 feat: 🎸 remove totp config 2025-03-28 03:02:55 +07:00
Jin c921982ae7 feat: 🎸 set generate totp function 2025-03-28 03:02:03 +07:00
Jin ea7fbb154f fix: 🐛 init error with totp 2025-03-28 02:38:51 +07:00
Jin 5742d3068e feat: 🎸 move totp services to encryption logic 2025-03-28 02:15:25 +07:00
Jin 687d506ca5 refactor: 💡 rename error class 2025-03-28 01:56:49 +07:00
Jin 18a417addd feat: 🎸 add totp encryption 2025-03-28 01:53:53 +07:00
Jin 04cbe9d3d1 style: 💄 restyle 2025-03-28 01:53:32 +07:00
Jin d4cd0e8eff feat: 🎸 restyle option page 2025-03-28 01:22:30 +07:00
Jin d92fa82ad0 feat: 🎸 set option status 2025-03-28 01:00:58 +07:00
Jin d42b839c32 feat: 🎸 init move mfa option 2025-03-28 00:39:59 +07:00
Panagiotis Papadopoulos 73fa06a06a deps: move react/react-dom to devDeps
these are only used for excalidraw and are bundled by webpack now
2025-03-28 00:20:00 +07:00
Panagiotis Papadopoulos c81fb5dd14 deps: move @excalidraw to devDeps
it is bundled by webpack now
2025-03-28 00:16:30 +07:00
Panagiotis Papadopoulos 98df7bcd83 chore(excalidraw): update comment about EXCALIDRAW_ASSET_PATH 2025-03-28 00:14:04 +07:00
Panagiotis Papadopoulos db959aa997 chore(excalidraw): update EXCALIDRAW_ASSET_PATH
used for the fonts excalidraw requires
2025-03-28 00:06:50 +07:00
Panagiotis Papadopoulos 1c49cb0569 build(webpack): fix copy-to path name
this will now end up in "src/public/app-dist/excalidraw/fonts/"

excalidraw *needs* the fonts to be in a folder called "fonts" as it appends the "EXCALIDRAW_ASSET_PATH" variable with "fonts" automatically -> therefore switch names around to fix the issue
2025-03-27 23:53:08 +07:00
Panagiotis Papadopoulos ee2ee2c291 build(webpack): copy required excalidraw fonts 2025-03-27 23:15:47 +07:00
Panagiotis Papadopoulos 7b6f04e30d deps: add copy-webpack-plugin
to be used for copying excalidraw fonts as assets
2025-03-27 23:12:24 +07:00
Elian Doran 1a312bf01c
Merge pull request #1322 from TriliumNext/chore_dprint
chore: replace prettier with dprint
2025-03-27 22:57:58 +07:00
Panagiotis Papadopoulos e95172e2db build(scripts): replace prettier with dprint
also renaming the script from "dev:prettier" to a more "generic" term "dev:format"
2025-03-27 21:29:18 +07:00
Panagiotis Papadopoulos cdc6ce2118 chore: remove prettier
replaced by dprint due to its configurability
2025-03-27 21:26:39 +07:00
Panagiotis Papadopoulos f965be9f8f deps: add dprint as devDep 2025-03-27 21:24:51 +07:00
Panagiotis Papadopoulos 1c04aa9963 chore: add dprint config
add initial dprint configuration, settings partially taken from the prettier config,

still might need some finetuning
2025-03-27 21:22:07 +07:00
Panagiotis Papadopoulos 6336699618 build(server): improve "node" folder cleanup
* remove useless symlinks to non-existing files (npm, npx -> the actual file gets deleted by "rm -r $BUILD_DIR/node/lib/node_modules/npm"
=> fixes #1499
(this time fully ;-))

* remove unused corepack

* remove useless CHANGELOG.md (LICENSE and README.md should of course still remain)
2025-03-27 21:06:35 +07:00
Elian Doran 91242b6cab
fix(next): regression in mica dark 2025-03-27 19:55:06 +07:00
Elian Doran 1b6ab7e7f2
fix(dropdowns): overlap with quick search results 2025-03-27 19:36:58 +07:00
Elian Doran 10f044aced
Merge pull request #1436 from TriliumNext/build_copy-dist-trilium-merge
build: port copy-trilium.sh cleanup functionality to cross-platform TS
2025-03-27 19:26:34 +07:00
--global cbf3ee9f6e
fix(ci): bring back ref name in artifact (fixes #1532) 2025-03-27 19:03:44 +07:00
Adorian Doran 04a41ca5f4 style(next): add some remarks 2025-03-27 18:50:26 +07:00
Adorian Doran 63efa8ffe4 style(next): improve the window dragging functionality for the vertical toolbar layout 2025-03-27 18:46:03 +07:00
Adorian Doran b6565c3b13 style(next): improve the window dragging functionality also for the vertical toolbar layout 2025-03-27 18:40:49 +07:00
Adorian Doran b9c4d83223 style(next): improve the window dragging functionality for the horizontal toolbar layout 2025-03-27 18:26:21 +07:00
Adorian Doran 66cebf4ebf style(next)/scrollbars: add a remark 2025-03-27 16:12:51 +07:00
Adorian Doran 25d83752e5 style(next): refactor 2025-03-27 16:08:34 +07:00
Adorian Doran 10ea58a368 style(next)/scrollbars: restore the support for custom background color 2025-03-27 16:06:53 +07:00
Adorian Doran 4ab70fcb8a style(next): rename CSS variable 2025-03-27 15:43:33 +07:00
Adorian Doran 01004ac425 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-27 15:41:27 +07:00
Adorian Doran 99bdf33236 style(next): fix scrollbar appearance in code blocks 2025-03-27 15:41:24 +07:00
Elian Doran 2ce1858d40
Merge pull request #1533 from FliegendeWurst/patch-1
README.md: TriliumDroid link, documentation update
2025-03-27 15:27:41 +07:00
Arne Keller 8c4e504cd4
README.md: link to old docs 2025-03-27 14:23:55 +07:00
Arne Keller a7d6f1e4d1
README.md: TriliumDroid link, documentation update 2025-03-27 12:50:39 +07:00
Panagiotis Papadopoulos 5a2c5d8047
Merge branch 'develop' into build_copy-dist-trilium-merge 2025-03-27 09:37:03 +07:00
Panagiotis Papadopoulos 9fe37465c7 build(electron-forge): use double quotes for the buildPath in afterPrune
attempt to fix failing Windows build in CI, which uses cmd shell, which apparently treats single apostrophes differently
2025-03-27 09:35:48 +07:00
Panagiotis Papadopoulos 6218ae6cd7 chore(docker): move exception below TODO comment 2025-03-27 09:07:29 +07:00
Panagiotis Papadopoulos fa0358662a build(docker): add missing cleanupNodeModules removal to Dockerfile
previously forgot to add this here as well -> had it only in the Dockerfile.alpine
2025-03-27 09:06:09 +07:00
Panagiotis Papadopoulos d5bc9841e3 build(docker): use absolute path to stay consistent 2025-03-27 09:05:17 +07:00
Panagiotis Papadopoulos e9fa37c4ee chore(docker): remove TODO 2025-03-27 09:04:10 +07:00
perf3ct 5456ac32ef
set up embedding similarity constants and similarity system 2025-03-26 23:12:45 +07:00
perf3ct a7cafceac9
more heavily weigh notes with title matches when giving context to LLM 2025-03-26 23:05:16 +07:00
Panagiotis Papadopoulos 75431ca634 build: make running of npm ci in build scripts configurable
* moved the running of npm ci from copy-dist to cleanupNodeModules
* added flag to disable it (necessary for electron-forge)
2025-03-27 00:00:41 +07:00
Elian Doran 35fbc731a7
Merge branch 'develop' into ai-llm-integration 2025-03-26 22:46:36 +07:00
Elian Doran cd5bfcf136
Merge branch 'develop' into feature/MFA 2025-03-26 22:33:15 +07:00
Elian Doran 683bf64100
Merge pull request #1528 from TriliumNext/renovate/mermaid-11.x
fix(deps): update dependency mermaid to v11.6.0
2025-03-26 22:31:42 +07:00
perf3ct baef5f9ada
fix updateProvider parameter 2025-03-26 19:21:59 +07:00
perf3ct 15630fb432
add swaggerUI docstrings for LLM/AI API routes 2025-03-26 19:19:19 +07:00
perf3ct 7c519df9b5
fix prompt path import 2025-03-26 19:12:05 +07:00
perf3ct 713805394c
move providers.ts into providers folder 2025-03-26 19:10:16 +07:00
perf3ct 5869eaff9a
move more constants from files into centralized location 2025-03-26 18:08:30 +07:00
perf3ct a50575c12c
move more prompts to the constants file 2025-03-26 18:01:20 +07:00
perf3ct c49883fdfa
move constants to their own files and folder 2025-03-26 17:56:37 +07:00
Adorian Doran cdcfab1011 style(next)/scrollbars: tweak size 2025-03-26 19:47:37 +07:00
Elian Doran b95dca71db
Merge branch 'develop' into renovate/mermaid-11.x 2025-03-26 19:34:55 +07:00
Adorian Doran 733293c09a Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-26 19:33:13 +07:00
Adorian Doran dcd64554eb style(next): fix Firefox scrollbar styles overriding WebKit scrollbar styles 2025-03-26 19:33:11 +07:00
Elian Doran 84d75c3ee8
Merge pull request #1487 from TriliumNext/tray
Fix tray exception when multiple windows
2025-03-26 19:32:22 +07:00
Elian Doran 6b12374678
Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-5.x 2025-03-26 19:23:55 +07:00
Elian Doran 51913ecccf
Merge pull request #1520 from TriliumNext/renovate/electron-forge-monorepo
chore(deps): update electron-forge monorepo to v7.8.0
2025-03-26 19:16:54 +07:00
Adorian Doran 40e990d39a Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-26 19:15:32 +07:00
Adorian Doran be9b19d81c style(next): improve CSS formatting 2025-03-26 19:15:29 +07:00
--global 4b1551f5ec
Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-03-26 19:11:13 +07:00
--global fd0018677c
test(i18n): add refresh button click after language change 2025-03-26 19:11:07 +07:00
Adorian Doran 4b9ea651a1 style(next): restyle Firefox scrollbars 2025-03-26 19:06:22 +07:00
--global e85b7f5e79
chore(vscode): add playwright to recommendations 2025-03-26 18:56:28 +07:00
Adorian Doran c2d917b926 style(next): restyle WebKit scrollbars 2025-03-26 18:53:17 +07:00
--global 0cedd697cc
fix(electron): not starting on an empty DB 2025-03-26 18:41:36 +07:00
Jin 647226858d feat: 🎸 Disable MFA on electron instance 2025-03-26 11:04:04 +07:00
Jin 0741c8546f feat: 🎸 fix electron login logic 2025-03-26 10:58:34 +07:00
Jin 347c644f23 Merge branch 'develop' into feature/MFA 2025-03-26 10:48:16 +07:00
Panagiotis Papadopoulos 0b428035ae build(cleanupNodeModules): move removal of elements to its own function
also added a logging function for debugging purposes
2025-03-26 09:48:06 +07:00
Panagiotis Papadopoulos 51f2e23c2f build(cleanupNodeModules): delete .bin folder
this is only needed for executing package scripts -> which we don't do in production

fixes #1499
2025-03-26 09:28:50 +07:00
Panagiotis Papadopoulos 1528703ed9 build(cleanupNodeModules): add some minimalistic logging 2025-03-26 09:26:22 +07:00
Panagiotis Papadopoulos 1150f78b15 build(cleanupNodeModules): use path.join and basePath for extraFoldersDelete 2025-03-26 09:18:16 +07:00
Panagiotis Papadopoulos 6fe23f9a13 chore(cleanupNodeModules): remove commented out paths
extra note on mermaid: that should be packed by webpack now, so we just need to move it to devDeps and and we should be good
2025-03-26 09:15:33 +07:00
Panagiotis Papadopoulos b457fa2e87 chore(cleanupNodeModules): rename nodeDir to nodeModulesContent 2025-03-26 09:12:22 +07:00
Panagiotis Papadopoulos 83da24b38d build(dockerignore): add cleanupNodeModules as exception 2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 57ee61938d build(copy-trilium): delete now unused script
all of its functionality has been "absorbed" by the cross-platform copy-dist and cleanupNodeModules scripts, that can be used for all of our builds now
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos f79b925e49 build(server): use cleanupNodeModules script 2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 3e3344b329 chore(scripts): remove now unneeded electron-forge:prepare 2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 1ceaafa1e8 build: move cleanupNodeModules to its own file
this is necessary, since for Docker and electron-forge, we need to run this as an extra step after copy-dist

for electron-forge: after it is done with its own "pruning", as we otherwise would need to also take care of certain electron related pruning

for Docker: as a last step in the build stage
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos cd8401089d build(copy-trilium): update list of useless deps paths
* image-q/demo -> doesn't exist anymore (and even if it did - previous cleanup step, would've removed this anyways)
* @excalidraw/excalidraw/dist/* -> updated to point to the dev folder
* boxicons -> only fonts and css folders are used, so remove the other ones
* jimp -> updated paths and removed non-existent path

fixing here for historical reasons, next step is to move these over to copy-dist.ts
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 6749d8084b build(copy-dist): add further cleanupNodeModules functionality
deleting of ts and map files from node_modules folder,
adapted from copy-trilium.sh.
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 8275f3c867 build(copy-dist): execute filterableDirs cleanup in one chain 2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos a9643174cc build(copy-dist): add further folders to list of filterableDirs
same as before, but some of the modules use singular/plural, so just check for both
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 6260ea1532 build(copy-dist): add initial cleanupNodeModules functionality
adapted from copy-trilium.sh
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos bee7793d32 build(copy-trilium): remove now unnecessary package.json patching
this is not needed anymore since commit 6b9d8f0d67
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 8feb201d3d build(electron-forge): set prune to false
since we our own more "sophisticated" pruning during copy-dist, we need to set this to false, as otherwise build will fail
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 6fb270e4f8 build(copy-dist): copy over existing node_modules
helps avoiding downloading the packages a 2nd time during our prune stage
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 8977492981 build(copy-dist): move "pruning" to copy-dist from copy-trilium.sh 2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 1640000291 build(build-server): move "build:prepare-dist" call to build-server from copy-trilium
in preparation to get rid of the file altogether - rest of the functionality will be merged into copy-dist.ts
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 17d5fdb4b0 build(copy-dist): get rid of manual node_module copying
this is useless at the moment, as all build processes are running "npm ci --omit=dev" anyways, i.e. they will just install everything remaining again
2025-03-26 08:12:48 +07:00
Panagiotis Papadopoulos 1e713469e7 build(server): bump to latest node v22.14.0 -> fixes EBADENGINE warning
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'node-abi@4.2.0',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.18.1', npm: '10.8.2' }
npm warn EBADENGINE }
2025-03-26 08:12:22 +07:00
Panagiotis Papadopoulos b97c28bc13 ci: bump to node v22 -> fixes EBADENGINE warning
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'node-abi@4.2.0',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.18.1', npm: '10.8.2' }
npm warn EBADENGINE }
2025-03-26 08:10:04 +07:00
Elian Doran 5ec3d58f6f
fix(electron): option does not exist 2025-03-26 08:30:56 +07:00
perf3ct 44b6734034
anthropic works 2025-03-26 04:13:04 +07:00
Jin d010e6cc73 Merge branch 'develop' into feature/MFA 2025-03-26 03:56:53 +07:00
Jin 7024166fc0 feat: 🎸 Add CN translation 2025-03-26 03:55:06 +07:00
Jin ce053323a9 feat: 🎸 Format code 2025-03-26 03:53:00 +07:00
Jin e2ea6f96ce feat: 🎸 Add CN translation 2025-03-26 03:51:09 +07:00
Jin 4959dbf126 feat: 🎸 Improve TOTP setting page 2025-03-26 03:22:57 +07:00
renovate[bot] e0522fcd48
fix(deps): update dependency mermaid to v11.6.0 2025-03-26 02:11:39 +07:00
Jin 979000c5c8 feat: 🎸 Fix recovery key error 2025-03-26 02:55:42 +07:00
Jin f2a29653b2 feat: 🎸 Fix SSO login 2025-03-26 02:39:29 +07:00
Jin d4b657e4d8 feat: 🎸 Fix import naming 2025-03-26 02:04:24 +07:00
Jin 4762287d61 feat: 🎸 Remove redundant func 2025-03-26 01:58:54 +07:00
Jin 886e63f128 feat: 🎸 Add SSO login button 2025-03-26 01:48:42 +07:00
Jin a30695b9fb feat: 🎸 Remove redundant check auth 2025-03-26 01:36:48 +07:00
Jin e957a17f1c feat: 🎸 Seperate auth check 2025-03-26 00:50:37 +07:00
Jin 083ee5d23b feat: 🎸 Fix TOTP not load correctly 2025-03-26 00:42:19 +07:00
Jin 8f157e04d4 feat: 🎸 Show correct login error to user 2025-03-26 00:13:56 +07:00
Jin c1ed471403 feat: 🎸 Ask user to login if any MFA configs are changed 2025-03-26 00:04:55 +07:00
Jin c2a6d517f0 feat: 🎸 Better naming for vars 2025-03-25 23:53:49 +07:00
Jin 1afccb4129 feat: 🎸 Fix app start error with MFA configs 2025-03-25 23:14:25 +07:00
Jin ae794a562f feat: 🎸 Use config.ini configure 2025-03-25 22:44:59 +07:00
Jin 3fa89b2eba feat: 🎸 Remove unuse gitignore file 2025-03-25 22:32:52 +07:00
Jin 924044ae52 feat: 🎸 Remove dotenv dep 2025-03-25 22:31:07 +07:00
Jin 94cd54f17e feat: 🎸 Use ini file to configure MFA 2025-03-25 22:30:14 +07:00
Jin 8d7339b50a feat: 🎸 Use i18n for text, remove unused vars 2025-03-25 21:00:32 +07:00
Elian Doran 5148ce64ae
chore(i18n): translate missing Romanian messages 2025-03-25 21:51:40 +07:00
Elian Doran 03fd34eeb0
feat(settings/i18n): dedicated restart button 2025-03-25 21:48:02 +07:00
Elian Doran e408cc5b10
feat(settings/i18n): hide formatting locale on non-electron 2025-03-25 21:40:35 +07:00
Elian Doran f0b4acd15a
style(settings): present i18n settings in a different fahsion 2025-03-25 21:23:32 +07:00
Elian Doran 90794fed88
fix(electron): wrong value for --lang 2025-03-25 20:26:21 +07:00
Elian Doran ab58671625
feat(options): restart when setting locale 2025-03-25 20:15:39 +07:00
Elian Doran a5a7a30cd5
feat(electron): respect formatting locale 2025-03-25 20:10:19 +07:00
Elian Doran 45208c8039
chore(i18n): define electron locales for all the supported languages 2025-03-25 19:59:05 +07:00
Elian Doran b923a23d95
feat(settings): make the formatting locale value adjustable 2025-03-25 19:56:07 +07:00
Elian Doran c4559749f1
feat(settings): display option to adjust formatting locale 2025-03-25 19:48:07 +07:00
Elian Doran 73fc7304c7
Merge branch 'develop' into renovate/electron-forge-monorepo 2025-03-25 19:08:50 +07:00
Elian Doran 90ab31329e
Merge pull request #1507 from TriliumNext/feature/windows_signing_v3
Windows Signing
2025-03-25 17:51:12 +07:00
Elian Doran ec7b645d36
Merge pull request #1516 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.13
2025-03-25 11:53:07 +07:00
Elian Doran 3dbce19301
Merge pull request #1519 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.28.0
2025-03-25 11:52:52 +07:00
renovate[bot] 4aa834b23a
chore(deps): update dependency @types/node to v22.13.13 2025-03-25 08:51:39 +07:00
Elian Doran efb0bf9e21
Merge branch 'develop' into renovate/typescript-eslint-monorepo 2025-03-25 10:50:24 +07:00
Elian Doran 19287f6474
Merge pull request #1517 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react to v18.3.20
2025-03-25 10:49:45 +07:00
Elian Doran 9506d0774e
Merge pull request #1518 from TriliumNext/renovate/supertest-6.x
chore(deps): update dependency @types/supertest to v6.0.3
2025-03-25 10:49:31 +07:00
Elian Doran 269cfc4689
feat(ci): trigger on renovate electron forge 2025-03-25 10:48:19 +07:00
Elian Doran d0549ebdf9
Merge branch 'develop' into feature/windows_signing_v3 2025-03-25 10:40:48 +07:00
renovate[bot] 38f33d8573
chore(deps): update apple-actions/import-codesign-certs action to v5 2025-03-25 02:59:09 +07:00
renovate[bot] 9b96cb61cc
chore(deps): update electron-forge monorepo to v7.8.0 2025-03-25 02:59:03 +07:00
renovate[bot] 220bcbd12c
chore(deps): update dependency typescript-eslint to v8.28.0 2025-03-25 02:58:48 +07:00
renovate[bot] 042172cd53
chore(deps): update dependency @types/supertest to v6.0.3 2025-03-25 02:58:33 +07:00
renovate[bot] 19389e4ea0
chore(deps): update dependency @types/react to v18.3.20 2025-03-25 02:58:22 +07:00
perf3ct 654ed4706e
fix embedding provider precedence settings issue 2025-03-24 22:29:26 +07:00
perf3ct 3534399cd9
yerp that was it 2025-03-24 22:28:20 +07:00
perf3ct f1ecc15f45
might have to delete this later, fixing the right-pane-container 2025-03-24 21:18:37 +07:00
perf3ct b00c20c357
Merge branch 'develop' into ai-llm-integration 2025-03-24 21:16:20 +07:00
perf3ct 9d29ff4a6c
don't spam the logs if a provider isn't enabled 2025-03-24 21:13:54 +07:00
perf3ct 567e9e8280
Remove the drag-and-drop for settings, kept breaking 2025-03-24 21:00:40 +07:00
Elian Doran bb1143e582
feat(note_icon): disable in note source (closes #1377) 2025-03-24 22:57:56 +07:00
perf3ct 150b0f0977
remove isEnabled from embedding providers 2025-03-24 20:35:46 +07:00
Elian Doran 4ac57c6b46
fix(client): note icon not hiding after switching notes (closes #964) 2025-03-24 19:42:23 +07:00
Elian Doran 06e1b0f720
fix(client): tooltip overlapping with CKEditor pane (closes #844) 2025-03-24 19:36:42 +07:00
Elian Doran 0686c81a81
Merge pull request #1509 from TriliumNext/renovate/leaflet-1.x
chore(deps): update dependency @types/leaflet to v1.9.17
2025-03-24 19:25:30 +07:00
Elian Doran 76550b761e
Merge pull request #1510 from TriliumNext/renovate/rollup-4.x-lockfile
chore(deps): update dependency rollup to v4.37.0
2025-03-24 19:25:08 +07:00
Elian Doran 9108ea9b8a
fix(electron): disable the creation of desktop icon at runtime (closes #1488) 2025-03-24 19:21:04 +07:00
Elian Doran b0e584924b
fix(eslint): disable linting of TypeScript due to types (closes #1503) 2025-03-24 19:17:54 +07:00
Adorian Doran 2c694fe5d7 style(next): remove useless CSS code 2025-03-24 19:13:28 +07:00
Elian Doran a7d6bf1bd8
feat(forge): match name for artifacts 2025-03-24 19:10:29 +07:00
Elian Doran 4108f7f353
chore(forge): ignore certain artifacts 2025-03-24 19:04:38 +07:00
Adorian Doran 2e15c926c5 style(next)/floating buttons/show table of contents: fix the rounded corners being placed on the wrong side 2025-03-24 18:42:08 +07:00
Adorian Doran 7a2eb81a81 style(next)/floating buttons: make sure the container will have a consistent height 2025-03-24 18:19:28 +07:00
Elian Doran 6f26f4d798
fix(forge): allow local building by ignoring the signing options 2025-03-24 17:53:04 +07:00
Elian Doran 9aef24eecc
chore(ci): remove unnecessary extension input 2025-03-24 17:52:01 +07:00
Elian Doran 3e14ffe1e7
fix(test): flaky test due to concurrency 2025-03-24 17:42:38 +07:00
Adorian Doran e0007f7578 style(next)/floating buttons/backlink counter: fix rounded corners on hover 2025-03-24 17:34:33 +07:00
Elian Doran 04a8bb94b6
fix(ci): wrong runner for signing 2025-03-24 17:32:14 +07:00
Elian Doran c25d42cf5d
chore(ci): solve issues after review 2025-03-24 17:30:37 +07:00
Adorian Doran 3159b19c46 style(next)/floating buttons/backlink counter: improve the appearance of the dropdown panel 2025-03-24 17:30:35 +07:00
Elian Doran 9f3fee2d06
chore(ci): remove now redundant input 2025-03-24 17:15:46 +07:00
Elian Doran 2045865df2
chore(ci): add back all platforms 2025-03-24 17:14:22 +07:00
Elian Doran 3acb5dad30
refactor(ci): remove redundant main workflow 2025-03-24 17:13:08 +07:00
Elian Doran 6a2818cea6
chore(ci): define forge_platform everywhere 2025-03-24 17:12:11 +07:00
Elian Doran d942daea94
chore(ci): customize shell per platform 2025-03-24 17:10:19 +07:00
Adorian Doran 283b8e9bc8 style(next)/floating buttons/backlink counter: fix the dropdown not showing up 2025-03-24 17:05:09 +07:00
Elian Doran 9aaada3f6e
refactor(forge): deduplicate windows signing configuration 2025-03-24 17:04:22 +07:00
Adorian Doran 8cc7d02f36 client: add a CSS class to facilitate identifying visible widgets 2025-03-24 17:00:52 +07:00
Elian Doran 34043a8a70
feat(signing): use environment variables for the executable path 2025-03-24 17:00:37 +07:00
Elian Doran 3413c5e401
fix(nightly): double .zip in name 2025-03-24 16:55:47 +07:00
Elian Doran d4e8d9e942
fix(docker): missing sign windows script 2025-03-24 16:55:39 +07:00
Elian Doran 308632ea51
chore(ci): re-enable Windows signing logs 2025-03-24 13:30:37 +07:00
Elian Doran 18a5a55384
chore(ci): remove debug logs 2025-03-24 12:42:01 +07:00
Elian Doran d5a8387c06
Revert "chore(ci): try to use basic sign tool config"
This reverts commit 53860c4885.
2025-03-24 12:41:38 +07:00
Elian Doran 53860c4885
chore(ci): try to use basic sign tool config 2025-03-24 12:15:15 +07:00
Elian Doran 6f54ac7446
chore(ci): change signing log 2025-03-24 12:05:46 +07:00
Elian Doran 10d8cd95a6
chore(ci): enable windows installer logs 2025-03-24 12:05:34 +07:00
Elian Doran 58e9c7e389
feat(ci): pass signing to squirrel 2025-03-24 11:21:31 +07:00
Elian Doran bfdb3e2add
fix(ci): double trigger for nightly 2025-03-24 09:25:19 +07:00
Elian Doran ad8b5c7c9d
fix(ci): path for hook module script 2025-03-24 08:59:46 +07:00
renovate[bot] 728d2ccfaf
chore(deps): update dependency rollup to v4.37.0 2025-03-24 01:55:36 +07:00
renovate[bot] cb7de2430d
chore(deps): update dependency @types/leaflet to v1.9.17 2025-03-24 01:55:27 +07:00
Elian Doran 40f4fdab47
feat(ci): set up signing hook 2025-03-23 23:22:22 +07:00
Elian Doran ad0f844681
chore(ci): use signing runner 2025-03-23 23:20:13 +07:00
Elian Doran dd26762b1f
feat(ci): upload test artifacts for nightly build 2025-03-23 23:17:54 +07:00
Elian Doran 5d2ea4337c
fix(ci): use right directory for artifact gathering 2025-03-23 23:08:02 +07:00
Elian Doran fae9a1f796
chore(ci): use electron-forge hook for gathering artifacts 2025-03-23 23:06:41 +07:00
Elian Doran a709f68af9
chore(ci): set up node modules 2025-03-23 22:47:59 +07:00
Elian Doran 8e2a95b5c4
chore(ci): use different way of specifying app dir pt. 2 2025-03-23 22:41:26 +07:00
Elian Doran b4dc493a5f
chore(ci): use different way of specifying app dir 2025-03-23 22:12:31 +07:00
Elian Doran ab927ad885
chore(ci): set up npm ci again 2025-03-23 21:55:48 +07:00
Elian Doran d128e9df25
chore(ci): run with debug 2025-03-23 21:48:40 +07:00
Elian Doran 9358f90b48
chore(ci): revert change 2025-03-23 21:41:27 +07:00
Elian Doran a13c9790bd
chore(ci): try running npm i at build step 2025-03-23 21:35:11 +07:00
Elian Doran c477e728ea
chore(ci): define forge platform at workflow level 2025-03-23 21:14:51 +07:00
Elian Doran 98013bc725
chore(ci): use cmd 2025-03-23 21:10:55 +07:00
Elian Doran c50a67f36b
chore(ci): remove server build temporarily 2025-03-23 21:02:37 +07:00
Elian Doran d77b3a07e2
chore(ci): remove unnecessary shell 2025-03-23 21:02:16 +07:00
Elian Doran 89efc55d52
chore(ci): trigger windows only for now 2025-03-23 21:00:37 +07:00
Elian Doran 6aee38337e
fix(mobile): width on tablet view 2025-03-23 20:03:24 +07:00
Elian Doran 6312bd8817
Merge pull request #1384 from TriliumNext/chore_lint-share
chore: fix lint issues in `src/share`
2025-03-23 13:20:50 +07:00
Elian Doran 8f25d4c810
Merge pull request #1500 from TriliumNext/revert-1495-renovate/apple-actions-import-codesign-certs-4.x
Revert "chore(deps): update apple-actions/import-codesign-certs action to v4"
2025-03-23 12:39:40 +07:00
Elian Doran 3173062f48
Revert "chore(deps): update apple-actions/import-codesign-certs action to v4" 2025-03-23 12:29:34 +07:00
Elian Doran f341bb3547
feat(ci): trigger nightly without publish on build-electron change 2025-03-23 12:29:13 +07:00
Elian Doran d52ca626e9
Merge branch 'develop' into chore_lint-share 2025-03-23 12:13:22 +07:00
Elian Doran 27875c4622
fix(e2e): broken after change in Mermaid 2025-03-23 12:10:11 +07:00
Elian Doran 613a7d72ad
Merge pull request #1480 from jshprentz/develop
Add {isoMonth} month pattern to day notes
2025-03-23 09:53:40 +07:00
Elian Doran f815420d1f
Merge pull request #1493 from TriliumNext/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.23.0
2025-03-23 09:31:10 +07:00
Elian Doran 0994e33933
Merge pull request #1494 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.23.0
2025-03-23 09:29:07 +07:00
Elian Doran be2b8d2080
Merge pull request #1495 from TriliumNext/renovate/apple-actions-import-codesign-certs-4.x
chore(deps): update apple-actions/import-codesign-certs action to v4
2025-03-23 09:28:28 +07:00
SiriusXT 87c70cb46e Fixed focusing on old windows when opening new windows from tray 2025-03-23 10:44:01 +07:00
Elian Doran 4af586e237
Merge branch 'develop' into renovate/eslint-monorepo 2025-03-23 00:28:03 +07:00
Elian Doran d2406a7574
Merge branch 'develop' into renovate/eslint-linter-browserify-9.x 2025-03-23 00:27:51 +07:00
Elian Doran 25c66e7c57
Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-4.x 2025-03-23 00:27:37 +07:00
Elian Doran 0313b4b9c9
Merge pull request #1492 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.11
2025-03-23 00:27:15 +07:00
Elian Doran f5a4acc097
Merge branch 'develop' into tray 2025-03-22 19:00:06 +07:00
Elian Doran bc41deea14
Merge branch 'develop' into renovate/node-22.x 2025-03-22 18:59:48 +07:00
Elian Doran c97f6da615
Merge pull request #1498 from hasecilu/i18n/Spanish
chore(i18n): update Spanish translation
2025-03-22 18:43:32 +07:00
hasecilu 81e250f5c5
chore(i18n): update Spanish translation 2025-03-22 09:56:22 +07:00
Jin f42ecb2e83 Merge branch 'develop' into feature/MFA 2025-03-22 15:56:16 +07:00
Jin e3fb871e4f feat: 🎸 Reformat MFA option page 2025-03-22 15:55:14 +07:00
Elian Doran ccb98d69fa
fix(mindmap): pane resizer not always working 2025-03-22 16:47:01 +07:00
Elian Doran ab4e9db864
feat(mindmap): add PNG export 2025-03-22 16:35:07 +07:00
Elian Doran 67bfeda3d9
chore(svg_export): change icon 2025-03-22 16:33:00 +07:00
Elian Doran 7cc8dd082d
feat(mermaid): enable export as PNG (closes #536) 2025-03-22 16:30:19 +07:00
Jin 717ad3b97d feat: 🎸 Port MFA to ts 2025-03-22 14:56:17 +07:00
Elian Doran 047c4dc4ca
fix(mermaid): not scrolling up properly (closes #282) 2025-03-22 15:55:55 +07:00
Elian Doran 9e75c32ded
fix(mermaid): enforce vertical layout on mobile 2025-03-22 15:51:21 +07:00
Elian Doran 5282f9f0bf
feat(mermaid): set right mime type 2025-03-22 15:48:03 +07:00
Elian Doran 858ad91708
feat(import/single): mermaid with .mmd extension 2025-03-22 15:45:36 +07:00
Jin 54a5f8164a feat: 🎸 Fix option defintions 2025-03-22 14:43:32 +07:00
Elian Doran 3dae771e90
feat(import/single): mermaid with .mermaid extension 2025-03-22 15:41:56 +07:00
Jin c3d3ab4330 Merge branch 'develop' into feature/MFA 2025-03-22 14:38:22 +07:00
Jin 9d49546bc9 feat: 🎸 Fix ts compile error 2025-03-22 14:35:37 +07:00
Elian Doran 16cbd2f793
feat(export/single): mermaid with right extension and MIME 2025-03-22 15:22:55 +07:00
Elian Doran 6ab820f172
refactor(export/single): make note type mapping testable 2025-03-22 15:20:58 +07:00
Elian Doran 60d3bafc8e
fix(types): build errors due to CodeMirror opts 2025-03-22 15:04:31 +07:00
Elian Doran 7c9a7c9ff6
refactor(mermaid): move mermaid config to service 2025-03-22 15:02:04 +07:00
Elian Doran 1463411ad1
refactor(mermaid): stop using deprecated APIs 2025-03-22 14:57:11 +07:00
Elian Doran 26fa1ec420
fix(text/mermaid): not rendering due to webpack change 2025-03-22 14:51:13 +07:00
Elian Doran c15257da7e
refactor(mermaid): use different lazyloading mechanism 2025-03-22 14:50:05 +07:00
Elian Doran 985b1b7fce
chore(mermaid): remove redundant message 2025-03-22 14:42:07 +07:00
Elian Doran 87209285df
feat(mermaid): use admonition style for error messages 2025-03-22 14:39:43 +07:00
Elian Doran 5bea0680fb
style(mermaid): preserve whitespace in error messages 2025-03-22 14:36:05 +07:00
Elian Doran 5a72d66321
feat(mermaid): recenter even when under error 2025-03-22 14:34:42 +07:00
Elian Doran 82cb31da53
style(mermaid): vertical layout for errors 2025-03-22 14:15:05 +07:00
Elian Doran 72c024fc26
fix(mermaid): toggle read-only for protected note 2025-03-22 14:12:24 +07:00
Elian Doran b777e916c4
feat(mermaid): hide layout switcher if in readonly mode 2025-03-22 14:10:38 +07:00
Elian Doran 3bbb2c3e80
feat(mermaid): save SVG attachment only when needed 2025-03-22 13:56:29 +07:00
Jin c8164c81be feat: 🎸 fix recovery_codes error 2025-03-22 12:47:49 +07:00
Jin b320553d18 feat: 🎸 fix open_id error 2025-03-22 12:46:59 +07:00
Jin 0871d16fbc feat: 🎸 remove conflict code 2025-03-22 12:41:22 +07:00
Elian Doran fd46cd7529
feat(mermaid): custom zoom buttons 2025-03-22 13:36:11 +07:00
Jin fdc10d0120 feat: 🎸 fix ts error 2025-03-22 12:35:37 +07:00
Jin 8df1e3263b Merge branch 'develop' into feature/MFA 2025-03-22 12:35:00 +07:00
Elian Doran 77fbeb4351
refactor(note_map): extract floating button style 2025-03-22 13:06:00 +07:00
Elian Doran 68b3c06c95
feat(mermaid): reintroduce editability basic widget 2025-03-22 12:58:36 +07:00
Elian Doran 2bbd9a4362
fix(mermaid): read-only button shown in view source 2025-03-22 12:57:32 +07:00
Elian Doran 831cd19d0b
refactor(client): implement read-only toggle floating button 2025-03-22 12:55:30 +07:00
Elian Doran cd6ef4d3ab
refactor(client): move edit button to floating buttons dir 2025-03-22 12:32:06 +07:00
Elian Doran 8996a56680
feat(mermaid): support readonly mode 2025-03-22 12:23:50 +07:00
Elian Doran ef9bec9dd4
feat(mermaid): custom title for switch layout button 2025-03-22 10:48:12 +07:00
Elian Doran b54603b7d7
feat(mermaid): change icon based on new layout 2025-03-22 10:43:24 +07:00
Elian Doran afa865765b
fix(mermaid): split on vertical layout 2025-03-22 10:36:54 +07:00
Elian Doran 4860594758
feat(mermaid): react to layout change immediately 2025-03-22 10:34:22 +07:00
Elian Doran cf874b5ee8
feat(mermaid): add basic support for vertical layout 2025-03-22 10:27:42 +07:00
renovate[bot] 007817bbdb
chore(deps): update apple-actions/import-codesign-certs action to v4 2025-03-22 01:59:15 +07:00
renovate[bot] 88e0aec3d6
fix(deps): update dependency eslint-linter-browserify to v9.23.0 2025-03-22 01:59:08 +07:00
renovate[bot] cc9b0987b2
chore(deps): update eslint monorepo to v9.23.0 2025-03-22 01:58:58 +07:00
renovate[bot] e8242e87fb
chore(deps): update dependency @types/node to v22.13.11 2025-03-22 01:58:47 +07:00
Elian Doran 91dca2df35
feat(mermaid): disable line wrapping by default 2025-03-22 02:36:47 +07:00
Elian Doran acf6d9dc4f
refactor(split_editor): allow different attachment name 2025-03-22 02:21:24 +07:00
Elian Doran 98e4d563ad
chore(mermaid): remove old widget 2025-03-22 02:15:09 +07:00
Elian Doran 373c0799fe
chore(mermaid): disable linter for now 2025-03-22 02:15:09 +07:00
Elian Doran 9985e9b623
feat(mermaid): add visual indicator for preview on error 2025-03-22 02:15:09 +07:00
Elian Doran f42a89a548
feat(mermaid): add an error display continer 2025-03-22 02:15:09 +07:00
Elian Doran d4cd550b7a
feat(linter/mermaid): improve parsing of messages 2025-03-22 02:15:09 +07:00
Elian Doran 8b08e67fdc
feat(linter/mermaid): better handling of zero position 2025-03-22 02:15:09 +07:00
Elian Doran 5d8ac3b9f7
feat(test): add test for mermaid linter 2025-03-22 02:15:09 +07:00
Elian Doran 44db1545a1
feat(mermaid): start implementing a basic linter 2025-03-22 02:15:09 +07:00
Elian Doran c416fca88a
fix(mermaid): bring back export as SVG 2025-03-22 02:15:09 +07:00
Elian Doran 1fb2b5341d
fix(mermaid): saving of attachment 2025-03-22 02:15:09 +07:00
Elian Doran b8a560354f
refactor(mermaid): recenter on new note 2025-03-22 02:15:09 +07:00
Elian Doran 28c51cb38a
refactor(client): use webpack for mermaid 2025-03-22 02:15:09 +07:00
Elian Doran f4d5b9fc29
feat(mermaid): swap preview and content 2025-03-22 02:15:09 +07:00
Elian Doran 8cab2aec0f
fix(mermaid): bring back ELK rendering 2025-03-22 02:15:09 +07:00
Elian Doran 2b19675d1a
feat(mermaid): smoother split drag 2025-03-22 02:15:09 +07:00
Elian Doran ae18b4b634
fix(mermaid): bring back auto resize on drag 2025-03-22 02:15:09 +07:00
Elian Doran cbc6efdad2
fix(mermaid): bring back pan/zoom 2025-03-22 02:15:09 +07:00
Elian Doran e0a8b64b4d
fix(mermaid): refresh when editing 2025-03-22 02:15:09 +07:00
Elian Doran 67ab91267d
fix(mermaid): bring back rendering 2025-03-22 02:15:09 +07:00
Elian Doran 8952ff512f
feat(split_editor): make the two panes resizable 2025-03-22 02:15:09 +07:00
Elian Doran 395d76a156
feat(mermaid): basic horizontal layout 2025-03-22 02:15:09 +07:00
Elian Doran 56da5f7761
refactor(client/ts): start implementing experimental split type view for mermaid 2025-03-22 02:15:09 +07:00
Elian Doran 7a16774cdc
feat(mermaid): make diagram full width for pan/zoom purposes 2025-03-22 02:15:09 +07:00
Adorian Doran 592a7fe771 style(next)/floating buttons: update the highlight animation 2025-03-22 01:28:53 +07:00
Adorian Doran 4292d67b95 style(next)/floating buttons: tweak 2025-03-22 01:08:57 +07:00
Adorian Doran 44419b7cb5 style/floating buttons: change some icons 2025-03-22 01:08:30 +07:00
Adorian Doran eab644248b style(next): use the new floating buttons style for the geo map notes as well 2025-03-22 00:04:02 +07:00
Adorian Doran 1299e0c855 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-21 20:21:46 +07:00
Adorian Doran 058983e98d style(next)/floating buttons: tweak 2025-03-21 20:21:44 +07:00
Elian Doran 772d07a60f
Merge pull request #1466 from TriliumNext/feature/port_ts
client: port ts
2025-03-21 18:49:52 +07:00
Elian Doran eab10acc98
Merge branch 'develop' into feature/port_ts 2025-03-21 18:39:33 +07:00
Elian Doran 7008acf511
chore(client/ts): remove check_ts_progress script 2025-03-21 18:16:37 +07:00
Elian Doran c2a7b92660
chore(client/ts): port desktop_layout 2025-03-21 18:14:37 +07:00
Elian Doran 8e3a75ad57
chore(client/ts): reduce log level for syntax highlight widget 2025-03-21 17:48:54 +07:00
Elian Doran b876f98d69
fix(client/ts): fix rest of build errors 2025-03-21 17:39:18 +07:00
Elian Doran 1ab87be0e6
chore(client/ts): fix errors in editable_text 2025-03-21 17:34:39 +07:00
Elian Doran ebbf29b1a5
chore(client/ts): port syntax_highlight 2025-03-21 15:50:58 +07:00
Elian Doran 08df7e6484
Merge pull request #1481 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35.0.3
2025-03-21 13:43:30 +07:00
Elian Doran 7277c10f38
Merge pull request #1482 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.28.1
2025-03-21 13:43:06 +07:00
Elian Doran 6569a72bc4
Merge pull request #1483 from TriliumNext/renovate/codemirror-5.x
fix(deps): update dependency codemirror to v5.65.19
2025-03-21 13:42:49 +07:00
Elian Doran cb630337ca
Merge pull request #1484 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.5
2025-03-21 13:42:24 +07:00
Elian Doran 60d5497a6c
Merge pull request #1485 from TriliumNext/renovate/multer-1.x
fix(deps): update dependency multer to v1.4.5-lts.2
2025-03-21 13:41:48 +07:00
Elian Doran 98d3b54c5e
Merge pull request #1486 from TriliumNext/renovate/supertest-7.x
chore(deps): update dependency supertest to v7.1.0
2025-03-21 13:41:11 +07:00
SiriusXT da59dd2ece Add Chinese translation 2025-03-21 13:56:21 +07:00
SiriusXT 21b17889ac Merge branch 'develop' into tray 2025-03-21 11:12:03 +07:00
SiriusXT be2064fbf0 Fix tray exception when multiple windows 2025-03-21 11:08:33 +07:00
renovate[bot] 90cdb5d641
chore(deps): update dependency supertest to v7.1.0 2025-03-21 02:40:58 +07:00
renovate[bot] 0e8cd3b4ba
fix(deps): update dependency multer to v1.4.5-lts.2 2025-03-21 02:40:48 +07:00
renovate[bot] 1b5d665fbc
fix(deps): update dependency force-graph to v1.49.5 2025-03-21 02:40:38 +07:00
renovate[bot] 8755c84dea
fix(deps): update dependency codemirror to v5.65.19 2025-03-21 02:40:27 +07:00
renovate[bot] f9878962b8
chore(deps): update dependency typedoc to v0.28.1 2025-03-21 02:40:17 +07:00
renovate[bot] cf70dd0b4f
chore(deps): update dependency electron to v35.0.3 2025-03-21 02:40:05 +07:00
Adorian Doran 6d82905ad4 style(next)/floating buttons: tweak 2025-03-21 04:12:12 +07:00
Adorian Doran 99bd803d81 style(next)/floating buttons: tweak the separator color 2025-03-21 03:40:07 +07:00
Adorian Doran 6b71efbfd3 style(next): restyle the floating buttons 2025-03-21 03:17:43 +07:00
Joel Shprentz c1e8542f74 Correct placeholder name in documentation 2025-03-21 00:59:45 +07:00
Joel Shprentz 5f26a503af In month note title patterns, replace {isoMonth} with e.g. "2025-03" for March 2025. 2025-03-20 22:59:20 +07:00
perf3ct 0707266dc1
reset embedding_queue where objects are "isprocessing" 2025-03-20 22:17:04 +07:00
perf3ct 3d70a6c42e
appropriately show if there are any notes still in the queue 2025-03-20 22:05:10 +07:00
Elian Doran 5b82b750dc
chore(client/ts): port editable_text 2025-03-20 23:42:32 +07:00
Elian Doran 1f69259a93
chore(client/ts): port abstract_text_type_widget 2025-03-20 23:09:06 +07:00
Adorian Doran 7202afab8e style(next)/options: add a gap between consecutive buttons 2025-03-20 22:22:39 +07:00
perf3ct 34940b5258
Merge branch 'develop' into ai-llm-integration 2025-03-20 19:52:01 +07:00
Elian Doran b44bb4053c
refactor(deps): use webpack for jsplumb & panzoom 2025-03-20 21:51:03 +07:00
perf3ct c9728e70bb
also extract Note relationships and send as context 2025-03-20 19:50:48 +07:00
perf3ct 915c95f7cb
more aggressively filter notes out that don't work for us 2025-03-20 19:42:38 +07:00
perf3ct 1be70f1163
do a better job of building the context 2025-03-20 19:35:20 +07:00
perf3ct 9c1ab4f322
add to base prompt 2025-03-20 19:22:41 +07:00
perf3ct 273dff2a34
create a better base system prompt 2025-03-20 19:11:32 +07:00
Elian Doran 3047957239
chore(client/ts): port type_widgets/relation_map 2025-03-20 21:07:10 +07:00
perf3ct eb1ef36ab3
move the llm_prompt_constants to its own folder 2025-03-20 18:49:30 +07:00
Adorian Doran 4cb866c0e6 client/options/sync: reorder the input fields 2025-03-20 19:59:13 +07:00
Adorian Doran 480292dc01 style(next)/options/appearance/fonts: refactor input groups 2025-03-20 19:02:46 +07:00
Adorian Doran b705e24a97 style(next): tweak number input groups 2025-03-20 18:58:19 +07:00
Elian Doran e682f01c47
chore(client/ts): port promoted_attributes 2025-03-20 18:39:04 +07:00
Elian Doran c27d5afdf2
chore(client/ts): port inherited_attribute_list 2025-03-20 18:28:37 +07:00
Elian Doran bd06d1d7b2
chore(client/ts): port image_properties 2025-03-20 18:25:17 +07:00
Adorian Doran 861f1efa5b Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-20 18:22:44 +07:00
Elian Doran a2b6bb7ecf
chore(client/ts): port file_properties 2025-03-20 18:22:42 +07:00
Adorian Doran 0086d645ef client/options/other/snapshot limit: specify the measurement unit inside of the input field 2025-03-20 18:22:35 +07:00
Elian Doran af0db5d508
style(next): fix regression in horizontal mica 2025-03-20 18:17:15 +07:00
Adorian Doran 113b42f32d Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-20 18:04:39 +07:00
Adorian Doran e8a745c11a client/options/sync/timeout: specify the measurement unit inside of the input field 2025-03-20 18:04:36 +07:00
Elian Doran 947dea5e3a
Merge pull request #1343 from TriliumNext/renovate/electron-35.x
chore(deps): update dependency electron to v35
2025-03-20 18:03:11 +07:00
Elian Doran 48e9e30efe
Merge branch 'feature/port_ts' of ssh://github.com/TriliumNext/Notes into feature/port_ts 2025-03-20 17:57:16 +07:00
Adorian Doran 5e6fc5b183 client/options/images/JPEG quality: specify the measurement unit inside of the input field 2025-03-20 17:55:22 +07:00
Adorian Doran 772b69eebe client/options/images/max dimensions: specify the measurement unit inside of the input field 2025-03-20 17:53:07 +07:00
Adorian Doran 4f3bc20bac client/options/code notes/automatic read-only size: specify the measurement unit inside of the input field 2025-03-20 17:48:40 +07:00
Adorian Doran 65ee564518 client/options/text notes/automatic read-only size: specify the measurement unit inside of the input field 2025-03-20 17:45:22 +07:00
Adorian Doran de7b7e3d8f client/options/text notes/table of contents: specify the measurement unit inside of the input field 2025-03-20 17:41:30 +07:00
Adorian Doran bec15fb9c3 client/options/appearance/max content width: specify the measurement unit inside of the input field 2025-03-20 17:34:58 +07:00
Adorian Doran 7288757777 style(next)/options/appearance: tweak font size inputs 2025-03-20 17:23:29 +07:00
Adorian Doran d189f2b66b Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-20 14:40:44 +07:00
Adorian Doran 57b5e47b5a style(next): reorganize CSS 2025-03-20 14:40:42 +07:00
JYC333 d70cf14947
Merge branch 'develop' into renovate/electron-35.x 2025-03-20 10:56:49 +07:00
Elian Doran 8f6fcee67d
chore(client/ts): port import dialog 2025-03-20 10:41:19 +07:00
Elian Doran 3527ab2c5d
chore(client/ts): port include dialog 2025-03-20 10:41:19 +07:00
Elian Doran 8d14092a91
chore(client/ts): port more dialogs 2025-03-20 10:41:19 +07:00
Elian Doran ffa463f1fc
chore(client/ts): fix build errors 2025-03-20 10:41:19 +07:00
Elian Doran 7c805eb427
chore(client/ts): port find_in_html/text 2025-03-20 10:41:19 +07:00
Elian Doran ef59b636b1
client: port ts 2025-03-20 10:41:19 +07:00
Elian Doran 7ea6c97c6f
feat(in-app-help): improve code block style 2025-03-20 10:28:24 +07:00
Elian Doran 911e112964
Merge pull request #1470 from TriliumNext/renovate/react-monorepo
chore(deps): update dependency @types/react to v18.3.19
2025-03-20 10:21:57 +07:00
Adorian Doran 5f12ddaa14 style(next): reorganize CSS 2025-03-20 10:20:25 +07:00
Adorian Doran 2191b1b9fd style(next): reorganize CSS 2025-03-20 10:04:05 +07:00
Adorian Doran 431ffa7820 style(next): reorganize CSS 2025-03-20 09:32:22 +07:00
Adorian Doran ea467c392d Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-20 09:18:43 +07:00
Adorian Doran f6e0e93629 style(next): reorganize CSS 2025-03-20 09:18:39 +07:00
Elian Doran 7fe594d4ad
chore(deps): update mind-elixir to latest (closes #1464) 2025-03-20 09:03:30 +07:00
Elian Doran 6d9c41f524
Merge pull request #1467 from TriliumNext/deps_move-mind-elixir_webpack
deps: bundle mind-elixir with webpack
2025-03-20 08:59:30 +07:00
Elian Doran 3e7d41c738
Merge pull request #1469 from TriliumNext/renovate/express-5.x
chore(deps): update dependency @types/express to v5.0.1
2025-03-20 08:56:36 +07:00
Elian Doran 7fda0dd572
Merge pull request #1474 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.27.0
2025-03-20 08:56:02 +07:00
Elian Doran 60a33d8279
Merge pull request #1475 from TriliumNext/renovate/sanitize-html-2.x
fix(deps): update dependency sanitize-html to v2.15.0
2025-03-20 08:55:29 +07:00
Elian Doran 50b9120bdc
Merge pull request #1473 from TriliumNext/renovate/axios-1.x
fix(deps): update dependency axios to v1.8.4
2025-03-20 08:55:09 +07:00
Elian Doran bce4cfe731
chore(turndown-plugin-gfm): fix build warnings 2025-03-20 08:53:01 +07:00
Elian Doran 419d5ffd1b
chore(deps): update turndown-plugin-gfm to latest deps 2025-03-20 08:53:01 +07:00
renovate[bot] b26555604c
fix(deps): update dependency sanitize-html to v2.15.0 2025-03-20 02:13:24 +07:00
renovate[bot] 1e5f7ef6dd
chore(deps): update dependency typescript-eslint to v8.27.0 2025-03-20 02:13:14 +07:00
renovate[bot] 3b9fcede0d
fix(deps): update dependency axios to v1.8.4 2025-03-20 02:12:59 +07:00
renovate[bot] 0ae705b925
chore(deps): update dependency @types/react to v18.3.19 2025-03-20 02:11:14 +07:00
renovate[bot] 49a77790f2
chore(deps): update dependency @types/express to v5.0.1 2025-03-20 02:11:03 +07:00
perf3ct e566692361
centralize all prompts 2025-03-20 00:06:56 +07:00
Adorian Doran 2031882c0d style(next)/jump to note: tweak the modal's padding 2025-03-19 23:38:03 +07:00
Elian Doran 9eec7237de
chore(client/ts): port include dialog 2025-03-19 23:27:52 +07:00
Elian Doran d0e33f8aaa
chore(client/ts): port more dialogs 2025-03-19 23:06:16 +07:00
Elian Doran fac575bd4a
Merge remote-tracking branch 'origin/develop' into feature/port_ts 2025-03-19 22:41:08 +07:00
Elian Doran 119bb38062
chore(client/ts): fix build errors 2025-03-19 22:39:49 +07:00
perf3ct 4ff3c5abcf
agentic thinking really works now 🗿 2025-03-19 20:35:17 +07:00
perf3ct 90db570e30
agent tools do something now 2025-03-19 20:17:52 +07:00
perf3ct 0d4b6a71fc
update agent tools 2025-03-19 20:09:18 +07:00
Elian Doran 89d51a9c4f
chore(client/ts): port find_in_html/text 2025-03-19 22:00:41 +07:00
Panagiotis Papadopoulos 90d0c859fc chore(mind_map): import node-menu's style.css to allow webpack to bundle it
previously this was loaded from the node_modules folder and was exposed via a static asset path
-> since we got rid of this with the last commit, we need to instead let webpack bundle it "importing" the css here
2025-03-19 21:00:37 +07:00
perf3ct 5b81252959
fix translation 2025-03-19 19:55:56 +07:00
Jon Fuller 024b063c23
Merge branch 'develop' into ai-llm-integration 2025-03-19 12:47:18 +07:00
perf3ct 23480960c0
get rid of this unused file too 2025-03-19 19:44:04 +07:00
perf3ct d5efcfe0a9
fix chat_service imports 2025-03-19 19:33:03 +07:00
perf3ct 466b749298
yeet deprecated function 2025-03-19 19:31:25 +07:00
perf3ct db4dd6d2ef
refactor "context" services 2025-03-19 19:28:02 +07:00
Panagiotis Papadopoulos feb9fa03c3 chore(deps): move mind-elixir related packages to devDependencies
webpack takes care of bundling these, so we don't need the modules at runtime anymore
2025-03-19 20:03:24 +07:00
perf3ct 352204bf78
add agentic thinking to chat 2025-03-19 18:49:14 +07:00
perf3ct 492c05bad4
clean up silly chat_widget that was in the wrong place 2025-03-19 18:31:54 +07:00
Elian Doran 7f87318f8f
Merge pull request #1462 from TriliumNext/port_dialogs
Port dialogs to ts
2025-03-19 20:23:33 +07:00
JYC333 83d6e329ba
Merge branch 'develop' into port_dialogs 2025-03-19 19:20:46 +07:00
Elian Doran d6d08cbb89
chore(deps): update package lock 2025-03-19 20:19:24 +07:00
Elian Doran 68f212a679
refactor(types): unnecessary any 2025-03-19 20:19:24 +07:00
Elian Doran d0948727df
Merge pull request #1457 from TriliumNext/e2e_fix
refactor: 💡 Improve e2e test stability
2025-03-19 20:18:20 +07:00
Elian Doran 716f8ecc17
Merge pull request #1340 from TriliumNext/fix_tab
Fix bug after porting tab manager
2025-03-19 20:17:21 +07:00
Elian Doran 83afecdced
Merge branch 'develop' into fix_tab 2025-03-19 20:10:38 +07:00
Elian Doran 80066fd2f5
chore(docs): update meta and sync import/export 2025-03-19 20:06:02 +07:00
Elian Doran 957642caaa
fix(build): dependency issue when run under docker 2025-03-19 20:00:22 +07:00
Panagiotis Papadopoulos 33922c52f8 fix(mind_map): fix node-menu visibility
=> rename css class name to match upstream

the class name got changed from ".mind-elixir → .map-container" by upstream via 294c2d5bb0

partially addresses #1464 → this allows us to see the node-menu sidebar again
2025-03-19 18:37:42 +07:00
Elian Doran 0408b3d260
chore(deps): remove @joplin/turndown-plugin-gfm 2025-03-19 19:24:06 +07:00
Elian Doran a4ae0ba628
chore(build): add turndown-plugin-gfm to copy-dist 2025-03-19 19:23:43 +07:00
Elian Doran 7315d38cb6
Merge remote-tracking branch 'origin/develop' into develop 2025-03-19 18:56:44 +07:00
Elian Doran 18a50c6339
feat(export/markdown): remove joplin table wrapper 2025-03-19 18:54:39 +07:00
Elian Doran 909b7f5d39
chore(docs): remove incorrect # or ~ prefix in calendar view 2025-03-19 18:50:39 +07:00
Elian Doran f23b45318d
fix(export/markdown): fix code in tables 2025-03-19 18:42:40 +07:00
Elian Doran 884c5986ec
chore(markdown/export): use in-tree plugin 2025-03-19 18:31:45 +07:00
Adorian Doran f14c101d6d style(next)/launcher bar: fix the focus outline for the global menu on the vertical layout 2025-03-19 18:26:13 +07:00
Elian Doran 2021c8f751
chore(turndown-plugin-gfm): align with upstream
219d5bcae3
2025-03-19 18:22:20 +07:00
perf3ct f6afb1d963
set up agentic thinking 2025-03-19 16:19:48 +07:00
Elian Doran d3423127d8 Add 'packages/turndown-plugin-gfm/' from commit '0f43299c17108e9508e7e6237369e86f504ea60a'
git-subtree-dir: packages/turndown-plugin-gfm
git-subtree-mainline: ebebdd0b07
git-subtree-split: 0f43299c17
2025-03-19 18:16:20 +07:00
Adorian Doran c93ac0445e style(next)/launcher bar: use a custom focus rectangle for the global menu button 2025-03-19 18:10:54 +07:00
Adorian Doran eb13b34429 style(next)/launcher bar: use a custom focus rectangle for buttons 2025-03-19 18:02:58 +07:00
Elian Doran ebebdd0b07
docs(calendar): mention different views 2025-03-19 18:01:52 +07:00
Elian Doran be5e2f529f
fix(in-app-help): in-app help buttons not pointing to the right page 2025-03-19 17:53:40 +07:00
Adorian Doran 28cb621bea style(next)/launcher bar: tweak the appearance in the horizontal layout 2025-03-19 17:39:38 +07:00
Adorian Doran f2f5af1c4b style(next)/launcher bar: use distinct theme variables for the vertical / horizontal layouts 2025-03-19 17:30:30 +07:00
Jin a0c025014c fix: 🐛 Fix right click behavior
Fix the bug that when right click on unactive note and do move and clone
command, it still gonna move and clone the active note
2025-03-19 15:14:17 +07:00
Panagiotis Papadopoulos 20bbb80805 chore(deps): move @fullcalendar related to devDependencies
webpack takes care of bundling these, so we don't need the modules at runtime anymore
2025-03-19 14:47:51 +07:00
Jin 43ef9415d2 refactor: 💡 Port clone_to to ts 2025-03-19 14:27:33 +07:00
Jin 1aa6c17b56 refactor: 💡 Port bulk actions to ts 2025-03-19 14:22:40 +07:00
Jin 91a963fafd refactor: 💡 Port branch prefix to ts 2025-03-19 13:59:36 +07:00
SiriusXT 606e6bcca2 Click the icon to show the window 2025-03-19 15:35:12 +07:00
perf3ct 1a8ce967d9
stop the log spam 2025-03-18 22:20:17 +07:00
perf3ct 8129f8f2b1
oh my goodness, saving these settings finally works 2025-03-18 22:04:09 +07:00
perf3ct f05fe3f72b
set up embedding normalization 2025-03-18 21:09:19 +07:00
Jin 49d7fa1735 fix: 🐛 Fix playwright test 2025-03-18 22:01:08 +07:00
Jin ae1a4b7a80 fix: 🐛 Fix tab empty path behavior 2025-03-18 21:02:20 +07:00
Jin b18cfb5d20 refactor: 💡 Fix ts error 2025-03-18 21:02:20 +07:00
Jin e12be14dc9 refactor: 💡 remove redundant code 2025-03-18 21:02:20 +07:00
Jin 0858f531e4 fix: 🐛 can't move a tab to new window 2025-03-18 21:02:20 +07:00
Jin c9c18146f4 refactor: 💡 refactor serval event names
refactore serval event names to follow the current usage in repo
2025-03-18 21:02:20 +07:00
Jin a9d8d7d3c5 fix: 🐛 fix wrong triggerEvent usage 2025-03-18 21:02:20 +07:00
Jin 469c2c3ce9 Revert "Revert "port tab manager to ts""
This reverts commit 3855f0e75f.
2025-03-18 21:02:20 +07:00
Elian Doran 96e2cc29e0
fix(mermaid): diagram still displayed on error 2025-03-18 20:43:11 +07:00
Elian Doran 475374a04b
feat(mermaid): reduce flicker when editing chart 2025-03-18 20:37:06 +07:00
Elian Doran b66677720d
feat(mermaid): restore pan & zoom when changing chart 2025-03-18 20:35:47 +07:00
Elian Doran eeb88ea559
refactor(mermaid): deduplicate gutter size constant 2025-03-18 19:57:41 +07:00
Elian Doran b524f7876a
feat(mermaid): add split between diagram and code 2025-03-18 19:35:23 +07:00
Elian Doran 3fe8fede9a
fix(mermaid): event leak 2025-03-18 19:03:25 +07:00
Elian Doran 4e81e1e5a8
style(mermaid): redundant margins 2025-03-18 18:36:20 +07:00
Elian Doran 6f15169b18
feat(mermaid): better zoom mechanism (closes #474) 2025-03-18 18:31:22 +07:00
Jin 464084ebf4 refactor: 💡 Improve e2e test stability 2025-03-18 14:17:35 +07:00
Elian Doran 16cc543d59
Merge pull request #1454 from TriliumNext/renovate/helmet-8.x
fix(deps): update dependency helmet to v8.1.0
2025-03-18 09:17:01 +07:00
Elian Doran 165b5ad251
Merge branch 'develop' into renovate/helmet-8.x 2025-03-18 09:06:13 +07:00
Elian Doran 2f42fee9b3
Merge pull request #1452 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.9.1
2025-03-18 09:05:43 +07:00
Elian Doran 71188ab98d
Merge pull request #1440 from TriliumNext/renovate/better-sqlite3-11.x
fix(deps): update dependency better-sqlite3 to v11.9.1
2025-03-18 09:04:13 +07:00
Elian Doran ab38005817
Merge pull request #1450 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.51.1
2025-03-18 09:03:45 +07:00
Elian Doran a07b734a91
Merge pull request #1451 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.0.9
2025-03-18 09:03:20 +07:00
Elian Doran 1e3d7ce5df
Merge pull request #1453 from TriliumNext/renovate/sass-1.x
chore(deps): update dependency sass to v1.86.0
2025-03-18 09:02:57 +07:00
Elian Doran 48d987d25d
chore(package): get rid of tsyncserver (closes #1455) 2025-03-18 09:01:14 +07:00
renovate[bot] 0cfeeac4e3
fix(deps): update dependency helmet to v8.1.0 2025-03-18 02:55:36 +07:00
renovate[bot] 5ed25cbce7
fix(deps): update dependency better-sqlite3 to v11.9.1 2025-03-18 02:55:29 +07:00
renovate[bot] ce97d36500
chore(deps): update dependency sass to v1.86.0 2025-03-18 02:55:20 +07:00
renovate[bot] 7ae1f6e02b
fix(deps): update dependency better-sqlite3 to v11.9.1 2025-03-18 02:55:10 +07:00
renovate[bot] 611d93cf20
chore(deps): update vitest monorepo to v3.0.9 2025-03-18 02:54:58 +07:00
renovate[bot] a5fe3788a4
chore(deps): update dependency @playwright/test to v1.51.1 2025-03-18 02:54:43 +07:00
perf3ct 08f7f1962b
do a better job with similarity searches 2025-03-18 00:50:55 +07:00
perf3ct c37201183b
add Voyage AI as Embedding provider 2025-03-17 22:32:00 +07:00
perf3ct 558f6a9802
add translations 2025-03-17 21:55:22 +07:00
perf3ct 84a8473beb
adapt or regenerate embeddings - allows users to decide 2025-03-17 21:47:11 +07:00
perf3ct 5ad730c153
openai finally works, respect embedding precedence 2025-03-17 21:36:14 +07:00
perf3ct ac40fff8d1
draggable options for LLM provider too 2025-03-17 21:30:10 +07:00
perf3ct 43cf33c191
make the AI settings even fancier to setting precedence 2025-03-17 21:24:56 +07:00
perf3ct ebc5107b96
add missing options 2025-03-17 21:23:43 +07:00
perf3ct 3268c435e2
improve embedding precedence 2025-03-17 21:03:42 +07:00
perf3ct 37f1dcdaab
add ability to fetch available models from openai 2025-03-17 21:03:21 +07:00
perf3ct 7ee6cf668e
add additional options and provider sorting 2025-03-17 21:03:07 +07:00
perf3ct 14acd1cd89
improve LLM response parsing 2025-03-17 21:02:05 +07:00
Elian Doran f68347f92c
client: port ts 2025-03-17 22:46:00 +07:00
perf3ct c40c702761
add anthropic options as well 2025-03-17 20:17:28 +07:00
perf3ct 4a4eac6f25
Allow users to specify OpenAI embedding and chat models 2025-03-17 20:07:53 +07:00
perf3ct d95fd0b049
allow specifying openai embedding models too 2025-03-17 19:54:11 +07:00
perf3ct 6d146c2f49
try ollama first, always 2025-03-17 19:41:31 +07:00
perf3ct 5aef80f4cf
fix openai endpoints 2025-03-17 19:36:58 +07:00
perf3ct 8d8c34c0a2
fancier LLM/AI chat errors 2025-03-17 17:16:18 +07:00
perf3ct 79514b8f93
also add the errors to the top of the chat window 2025-03-17 16:33:30 +07:00
Elian Doran 4f7f7c460a
fix(admonitions): unnecessary right margin 2025-03-17 18:28:32 +07:00
perf3ct fe1faf77e2
show user at the top of settings if there are issues 2025-03-17 16:23:58 +07:00
perf3ct 1844ad7b49
fix the isEnabled function 2025-03-17 15:42:38 +07:00
Elian Doran 0ea7e10084
feat(options/llm): improve style of tabs 2025-03-17 11:26:45 +07:00
Elian Doran fa99624ba4
feat(options/llm): move stats at the top 2025-03-17 11:06:03 +07:00
Elian Doran 1efc923320
feat(options/llm): use columns and separators 2025-03-17 11:00:25 +07:00
Elian Doran e6cb06b8ac
feat(options/llm): use form text style 2025-03-17 10:54:54 +07:00
Elian Doran 5a6d27173e
feat(options/llm): improve checkboxes 2025-03-17 10:54:01 +07:00
Elian Doran 36a6d75d20
feat(options/llm): group into sections 2025-03-17 10:40:31 +07:00
Elian Doran 2853b8eb61
feat(options/llm): use tabs for provider configuration 2025-03-17 10:28:14 +07:00
Elian Doran 1dafa65b3a
fix(settings/llm): extra separators 2025-03-16 23:31:47 +07:00
Elian Doran 5d0be300bf
feat(llm): show/hide LLM button based on setting 2025-03-16 23:28:52 +07:00
Elian Doran d7167131cb
refactor(llm): use dedicated widget for llm chat button 2025-03-16 23:22:29 +07:00
Elian Doran 7b643a7d82
fix(llm): duplicate launch bar config 2025-03-16 23:22:29 +07:00
perf3ct cc85b9a8f6
fix autoupdate name inconsistency 2025-03-16 20:55:55 +07:00
perf3ct ab3c6b6fb1
remove options from migrations files 2025-03-16 20:49:55 +07:00
perf3ct d2072c2a6f
"lock" notes that are having their embeddings created 2025-03-16 20:36:47 +07:00
Elian Doran 74064c8d49
fix(calendar): regression in multi-day selection 2025-03-16 21:56:19 +07:00
Elian Doran e34817d89f
feat(docs): update calendar view 2025-03-16 21:31:58 +07:00
Elian Doran 2544294811
feat(calendar): save and restore selected view 2025-03-16 21:20:28 +07:00
Elian Doran e4bb8cb233
feat(calendar): add year view 2025-03-16 20:57:57 +07:00
perf3ct 781a2506f0
fix embeddings w/ cls.init() 2025-03-16 18:55:53 +07:00
Elian Doran d67dd27568
feat(calendar): add list view & improve styling 2025-03-16 20:53:54 +07:00
perf3ct 0081e6f1d0
fix sql error and add missing options 2025-03-16 18:53:01 +07:00
Elian Doran ceddc1b497
feat(calendar): add switch between day/month view 2025-03-16 20:46:59 +07:00
Elian Doran 4d55374784
feat(calendar): add now indicator 2025-03-16 20:40:14 +07:00
Elian Doran 2b24673019
chore(calendar): remove redundant log 2025-03-16 20:38:25 +07:00
perf3ct d8c9d3bdfb
move these settings between db migrations 2025-03-16 18:35:31 +07:00
Elian Doran d7e31f94fd
feat(calendar): allow dragging timed events 2025-03-16 20:34:05 +07:00
Elian Doran ccd9bfc1e7
fix(calendar): end date when inserting with time 2025-03-16 20:26:03 +07:00
perf3ct c315b32c99
wait for DB init even to emit before starting LLM services 2025-03-16 18:21:43 +07:00
Elian Doran 55ccbfe1cc
fix(calendar): handling of start time/end time 2025-03-16 20:16:52 +07:00
Elian Doran 680729de63
feat(calendar): allow dragging to set the time 2025-03-16 20:09:21 +07:00
perf3ct 697d348286
set up more reasonable context window and dimension sizes 2025-03-16 18:08:50 +07:00
Elian Doran 9412cfc19f
feat(calendar): support missing end time 2025-03-16 20:00:43 +07:00
Elian Doran 9083c18392
feat(calendar): support start & end date 2025-03-16 19:54:27 +07:00
Elian Doran 7570205059
feat(calendar): set up time grid 2025-03-16 19:46:39 +07:00
perf3ct 572a03a3f7
Merge branch 'develop' into ai-llm-integration 2025-03-16 17:39:27 +07:00
Elian Doran 4e7572cf04
chore(client/ts): port more files 2025-03-16 18:31:31 +07:00
Elian Doran 7f4f8bcc75
chore(client/ts): port some more files 2025-03-16 17:31:28 +07:00
perf3ct c556989f85
Merge branch 'develop' into ai-llm-integration 2025-03-15 19:38:27 +07:00
Elian Doran 2b1bbd4ad3
fix(build): node ABI 2025-03-15 18:37:29 +07:00
Elian Doran 3734f81752
Merge pull request #1433 from TriliumNext/renovate/better-sqlite3-11.x
fix(deps): update dependency better-sqlite3 to v11.9.0
2025-03-15 18:25:56 +07:00
Elian Doran 103894f733
Merge pull request #1432 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.9.0
2025-03-15 18:24:27 +07:00
Elian Doran bd9fce0a50
Merge branch 'develop' into renovate/electron-35.x 2025-03-15 18:24:10 +07:00
Panagiotis Papadopoulos 73305a5327 chore(share): remove unused args
addresses https://github.com/TriliumNext/Notes/pull/1384#discussion_r1989045491
2025-03-15 12:31:33 +07:00
Panagiotis Papadopoulos ae1ef55522 chore(share): remove unused "_next"
addresses https://github.com/TriliumNext/Notes/pull/1384#discussion_r1989044764
2025-03-15 12:27:02 +07:00
Panagiotis Papadopoulos a5a66a12e2 chore(share): fix tsc nagging about svg not existing on unknown
JSON and TS without using a validation library like zod, is really a bit of a pain in the backside...
2025-03-15 12:19:27 +07:00
Panagiotis Papadopoulos 2a5ac80c05 chore(utils/safeExtractMessageAndStackFromError): add explicit return type to have it as a named tuple 2025-03-15 12:19:27 +07:00
Panagiotis Papadopoulos c2aae45456 chore(share): fix no-unused-vars and prefer-const lint issues 2025-03-15 12:19:27 +07:00
Panagiotis Papadopoulos cd9d90323c chore(share): fix @typescript-eslint/no-unused-vars for unused note variable
there's no need to assign a variable, if we never use the value outside of the if check
2025-03-15 12:19:26 +07:00
Panagiotis Papadopoulos c2b75a6421 chore(share): fix @typescript-eslint/no-unused-vars for "next"
alternative solution, since they are unused and it is the last argument → remove it.
We can still go that route later on though, if we agree upon it.
2025-03-15 12:19:26 +07:00
Panagiotis Papadopoulos bdc829198c chore(share): use safeExtractMessageAndStackFromError to get rid of "any" in try/catch blocks 2025-03-15 12:19:26 +07:00
Elian Doran c3a9582208 fix(admonition): inserting new admonitions of given type not working 2025-03-15 10:49:27 +07:00
renovate[bot] 9136f07968
fix(deps): update dependency better-sqlite3 to v11.9.0 2025-03-15 02:52:57 +07:00
renovate[bot] bd39f38d1a
fix(deps): update dependency better-sqlite3 to v11.9.0 2025-03-15 02:52:41 +07:00
Elian Doran 6231df7f0e
feat(math/display): allow inserting in display in a list 2025-03-15 01:07:32 +07:00
Elian Doran 3a24a959a2 refactor(build): switch to submodule for ckeditor5-math 2025-03-15 01:00:24 +07:00
Elian Doran 578eb46814
fix(build): observable breaking at runtime 2025-03-15 00:59:26 +07:00
Elian Doran d6dbadb89e
chore(build): align package.json with others 2025-03-15 00:59:07 +07:00
Elian Doran 3c505f3d3b
fix(build): augmentations not being imported 2025-03-15 00:29:46 +07:00
Elian Doran 56bb2b0bb8
fix(build): remove usage of global 2025-03-15 00:24:12 +07:00
Elian Doran 80de28c617 fix(admonitions): breaking math plugin 2025-03-14 23:29:41 +07:00
Elian Doran 2c6df42d51 refactor(admonitions): convention for constants 2025-03-14 22:55:32 +07:00
Elian Doran 2f3106d8cd feat(editor): functional autoformat when type is not specified 2025-03-14 22:54:46 +07:00
Elian Doran 4967883f1d feat(editor): functional autoformat when type is specified 2025-03-14 22:47:42 +07:00
Elian Doran 15de8e1b57 feat(editor): rewrite <i> to <em> 2025-03-14 11:30:44 +07:00
Elian Doran 83a4804c2c feat(admonitions): start implementing autoformat 2025-03-14 11:25:38 +07:00
renovate[bot] 2e436cdd46
chore(deps): update dependency electron to v35 2025-03-14 09:14:49 +07:00
Elian Doran 878743500f feat(admonitions): convert to split and get last type 2025-03-13 23:20:58 +07:00
Elian Doran 5c9fe3adcd feat(admonitions): indicate with a checkmark the active type 2025-03-13 22:47:21 +07:00
Elian Doran a3354d4d10 refactor(admonitions): remove no longer needed custom conversion 2025-03-13 22:21:43 +07:00
Elian Doran 504879b11c feat(admonitions): allow changing admonition type 2025-03-13 22:20:12 +07:00
Elian Doran fb7e310224 feat(admonitions): allow selecting admonition type 2025-03-13 21:27:29 +07:00
perf3ct f8d4088dfe
Merge branch 'develop' into ai-llm-integration 2025-03-13 19:10:46 +07:00
Elian Doran d29edbe325 fix(admonitions): create dropdown list 2025-03-13 20:07:55 +07:00
Elian Doran 283dbb2b75 fix(admonitions): double enter to exit block 2025-03-13 19:41:46 +07:00
Elian Doran 8c6c15a8d1 feat(admonitions): apply dedicated admonition class 2025-03-13 19:38:52 +07:00
Elian Doran c49b30cf53 feat(admonitions): use aside instead of blockquote 2025-03-13 19:28:57 +07:00
Elian Doran d11254e044 feat(admonitions): add custom icon 2025-03-13 19:10:07 +07:00
Elian Doran d79110b75c feat(admonitions): rename toolbar button 2025-03-13 19:05:20 +07:00
Elian Doran 137c5c27cd refactor(admonitions): more references to blockquote 2025-03-13 19:02:17 +07:00
Elian Doran e028f88821 chore(admonitions): rename plugin names and more references 2025-03-13 18:41:37 +07:00
Elian Doran 9ef17919c5 refactor(admonitions): remove unnecessary docs 2025-03-13 18:37:43 +07:00
Elian Doran 303a943b81 refactor(admonitions): remove unnecessary tests 2025-03-13 18:37:19 +07:00
Elian Doran a0b60eed8f refactor(admonitions): rename exports 2025-03-13 18:36:36 +07:00
Elian Doran eaa52b4527 refactor(admonition): rename files 2025-03-13 18:35:10 +07:00
Elian Doran 0f9ab0dd89 refactor(admonitions): rename classes 2025-03-13 18:33:39 +07:00
Elian Doran 9af9845985 chore(admonitions): start off with a fresh copy of blockquote plugin 2025-03-13 18:27:05 +07:00
Elian Doran e24812f1a3 chore(admonitions): start off with a fresh copy of blockquote plugin 2025-03-13 18:27:05 +07:00
Elian Doran 21658e62b4 feat(editor): add style plugin 2025-03-13 14:01:16 +07:00
perf3ct 4796c24898
Merge branch 'develop' into ai-llm-integration 2025-03-12 22:49:29 +07:00
perf3ct 6bb4bbb1af
specially handle Buffer objects into Base64 and back for Becca 2025-03-12 22:43:58 +07:00
perf3ct 67766e3e9f
create note_embedding object for becca 2025-03-12 22:37:49 +07:00
perf3ct 8d7e5c8d43
fix the maths for stats 2025-03-12 21:18:59 +07:00
perf3ct d4cfc65b27
yes, now the failed embeddings section at least looks passable 2025-03-12 21:15:57 +07:00
perf3ct ee7b2283de
correctly style the failed embeddings section 2025-03-12 21:13:49 +07:00
perf3ct c914aaa4a8
do a better job of handling failed note embeddings 2025-03-12 21:04:06 +07:00
Elian Doran aac822cf80 feat(editor): add keyboard style button 2025-03-12 21:35:13 +07:00
Jon Fuller 39d265a9fa
Merge branch 'develop' into ai-llm-integration 2025-03-12 11:58:30 +07:00
perf3ct a930b79cf5
synchronize embeddings 2025-03-12 18:22:05 +07:00
perf3ct b6df3a721c
allow user to select *where* they want to generate embeddings 2025-03-12 18:02:51 +07:00
perf3ct 3fee82eaa5
rename files with the same name 2025-03-12 16:51:09 +07:00
perf3ct 73445d97e7
move chunking to its own folder 2025-03-12 16:33:46 +07:00
perf3ct 46a6533e57
update chunking management 2025-03-12 01:26:25 +07:00
perf3ct e5afbc6ddc
better manage chunking errors 2025-03-12 01:21:36 +07:00
perf3ct fcba151287
allow for manual index rebuild, and ONLY rebuild the index 2025-03-12 00:17:30 +07:00
perf3ct eaa947ef7c
"rebuild index" functionality for users 2025-03-12 00:08:39 +07:00
perf3ct 72b1426d94
break up large vector_store into smaller files 2025-03-12 00:02:02 +07:00
perf3ct fc5599575c
allow users to manually request index to be rebuilt 2025-03-11 23:29:54 +07:00
perf3ct 730d123802
create llm index service 2025-03-11 23:26:47 +07:00
perf3ct 3f37196fe7
add additional options for users 2025-03-11 23:26:39 +07:00
perf3ct 0d2858c7e9
upgrade chunking 2025-03-11 23:04:51 +07:00
perf3ct 6ce3f1c355
better note names to LLM? 2025-03-11 22:47:36 +07:00
perf3ct 1f661e4c90
make sure to not retry chunks if they fail or something else 2025-03-11 20:38:40 +07:00
perf3ct f47b070f0f
I think this works to handle failed embeddings 2025-03-11 20:22:01 +07:00
perf3ct 71b3b04c53
break up the huge context_extractor into smaller files 2025-03-11 18:39:59 +07:00
perf3ct 0985cec8d6
implement chunking and use becca for some functionality 2025-03-11 18:17:41 +07:00
perf3ct 4160db9728
fancier (but longer waiting time) messages 2025-03-11 18:07:28 +07:00
perf3ct 56fc720ac7
undo accidental MAX_ALLOWED_FILE_SIZE_MB change 2025-03-11 17:31:26 +07:00
perf3ct ff679b00b6
move providers to their own folder 2025-03-11 17:30:50 +07:00
perf3ct d413e6015a
update checkbox options in settings and update translations 2025-03-11 04:17:18 +07:00
perf3ct d2dc401639
add these options as configurable 2025-03-11 03:58:39 +07:00
Jon Fuller d713f3831a
Merge branch 'develop' into ai-llm-integration 2025-03-10 16:43:48 +07:00
perf3ct ecc183f57d
almost completely styled codeblocks in response 2025-03-10 23:09:15 +07:00
perf3ct 9834e77bb4
fix context logic 2025-03-10 20:04:49 +07:00
perf3ct f482b3b4c8
do a better job of extracting context 2025-03-10 18:53:36 +07:00
perf3ct c386e34c33
Update the chat panel theme some 2025-03-10 17:34:31 +07:00
perf3ct 08626c7a2d
when a user clicks on a source, don't swap focus 2025-03-10 05:57:16 +07:00
perf3ct bd97d971ed
this is pretty close to opening a new tab? 2025-03-10 05:52:33 +07:00
perf3ct 75e18e42bf
Make the sources section fancier 2025-03-10 05:27:27 +07:00
perf3ct c1585c73da
actually shows useful responses now 2025-03-10 05:06:33 +07:00
perf3ct ef6ecdc42d
it errors, but works 2025-03-10 04:28:56 +07:00
perf3ct cf0e9242a0
try a context approach 2025-03-10 03:34:48 +07:00
Elian Doran 8a1b565aee
feat(touch_bar): add unlock button for read-only text 2025-03-09 20:41:31 +07:00
Elian Doran 975e641286
feat(touch_bar): run button for scripts 2025-03-09 15:31:03 +07:00
Elian Doran 615a5f7222
feat(touch_bar): change selected color 2025-03-09 14:58:43 +07:00
Elian Doran 07c9565e0c
feat(touch_bar): reflect state for paragraph and headings 2025-03-09 14:42:23 +07:00
Elian Doran e71a18f4e4
feat(touch_bar): reflect state for underline, italic 2025-03-09 14:37:00 +07:00
Elian Doran fff140d141
feat(touch_bar): reflect state for bold 2025-03-09 14:28:18 +07:00
perf3ct adaac46fbf
I'm 100% going to have to destroy this commit later 2025-03-09 02:19:26 +07:00
perf3ct 733fdcf8ba
update relationship weights 2025-03-08 23:36:04 +07:00
perf3ct 7e232d17e1
Create better relationships between notes, sanitize ridiculous spacing to save tokens 2025-03-08 23:34:09 +07:00
perf3ct 19bf741cd9
fancier embedding process stats 2025-03-08 23:22:28 +07:00
perf3ct 51c83bbbc8
show fancier stats 2025-03-08 23:21:21 +07:00
perf3ct 1ca98e2fc2
update embedding stats every 5s for user 2025-03-08 23:19:41 +07:00
perf3ct 0cd1be5568
Show embedding generation stats to user 2025-03-08 23:17:13 +07:00
perf3ct 0daa9e717f
I can create embeddings now? 2025-03-08 23:13:49 +07:00
perf3ct 6ace4d5692
nearly able to process embeddings 2025-03-08 23:08:25 +07:00
perf3ct dc439b21b0
update schema with our new tables 2025-03-08 23:01:45 +07:00
perf3ct 553f7dd498
fix the Ollama embedding model setting option breaking 2025-03-08 22:28:14 +07:00
perf3ct d3013c925e
add additional options for ollama embeddings 2025-03-08 22:23:50 +07:00
perf3ct ea6f9c8e18
initialize embeddings if option is enabled 2025-03-08 22:04:31 +07:00
perf3ct 1361e4d438
set up embedding API endpoints 2025-03-08 22:04:10 +07:00
perf3ct c442943672
add additional AI / LLM options and translations 2025-03-08 22:03:58 +07:00
perf3ct 1ff5bc6edd
set up embedding providers here? 2025-03-08 22:03:45 +07:00
perf3ct b97c8dd763
set up DB migrations 2025-03-08 22:03:30 +07:00
perf3ct b248a7a2b5
create embedding services 2025-03-08 22:02:47 +07:00
Elian Doran ff78ab650a
feat(touch_bar): use disabled button for geomap 2025-03-08 23:25:06 +07:00
Elian Doran a3c58834d1
feat(touch_bar): reflect new note state 2025-03-08 23:21:13 +07:00
Elian Doran cbbe10ba67
fix(touch_bar): jerkiness when zooming 2025-03-08 23:13:58 +07:00
Elian Doran 323f42873f
refactor(touch_bar): move geomap to parent typewidget 2025-03-08 23:00:05 +07:00
Elian Doran 5961e983c7
feat(touch_bar): new geonote button 2025-03-08 22:56:32 +07:00
perf3ct 9f84a84f96
Merge branch 'develop' into ai-llm-integration 2025-03-08 20:51:57 +07:00
Elian Doran ece26960c3
feat(touch_bar): update zoom slider value 2025-03-08 22:46:14 +07:00
Elian Doran 36eac98b4d
feat(touch_bar): zoom slider 2025-03-08 22:35:36 +07:00
Elian Doran 0fe5f79f09
fix(touch_bar): fix text editor commands 2025-03-08 22:18:03 +07:00
Elian Doran c2e4af1cfa
chore(touch_bar): bring back local config 2025-03-08 22:14:20 +07:00
Elian Doran db8d47183d
refactor(touch_bar): command-driven approach 2025-03-08 22:00:29 +07:00
Elian Doran 214674cf73
feat(touch_bar): use segmented control for heading 2025-03-08 13:26:08 +07:00
Elian Doran 60859954b9
feat(touch_bar): paragraph and heading buttons 2025-03-08 13:22:24 +07:00
Elian Doran 2676596384
feat(touch_bar): reduce items moving around 2025-03-08 13:16:38 +07:00
Elian Doran 9c24b89180
feat(touch_bar): jump to note 2025-03-08 13:13:21 +07:00
Elian Doran d9a689bd9a
feat(touch_bar): functional bold, italic, underline 2025-03-08 12:34:06 +07:00
Elian Doran dd575787fe
feat(touch_bar): functional new note button 2025-03-08 12:06:35 +07:00
Elian Doran f2f0f6178b
fix(touch_bar): blurry native images 2025-03-08 12:01:43 +07:00
Elian Doran 0430a9c3f5
feat(touch_bar): resize icon even if blurry 2025-03-08 11:55:09 +07:00
Elian Doran 3358b405e9
feat(touch_bar): use icon for new note 2025-03-08 11:51:55 +07:00
Elian Doran a170bec3db
feat(touch_bar): basic integration 2025-03-08 11:39:04 +07:00
Elian Doran 80da713a7e feat(editor): add text part language 2025-03-04 19:10:12 +07:00
perf3ct f2a6f92732
hey look, it doesn't crash again 2025-03-02 19:39:10 +07:00
perf3ct e09e15ad05
start from scratch again 2025-03-02 18:58:25 +07:00
Elian Doran 29df170590
Merge remote-tracking branch 'origin/develop' into style/next/restyle-ckeditor 2025-02-25 17:01:11 +07:00
Elian Doran 8c393e4c47 refactor(editor): move all options into trilium repo 2025-02-11 20:23:56 +07:00
Elian Doran a209d6872a refactor(editor): move floating toolbar config into Trilium repo 2025-02-11 20:17:14 +07:00
Elian Doran 7fbe4c10a5 refactor(editor): move classic toolbar config into Trilium repo 2025-02-11 19:49:05 +07:00
Adorian Doran ec3d7bd4cd style(next): ckeditor: restyle dropdowns 2025-02-05 01:57:09 +07:00
Elian Doran b6463bb03a feat(editor): enable list styles 2025-01-11 18:26:14 +07:00
Elian Doran 971be65ba5
feat: display insert footnote as split button 2025-01-08 21:42:03 +07:00
Elian Doran 2a97f9dfdd refactor: use submodule for ckeditor5-footnotes 2025-01-08 21:30:47 +07:00
Elian Doran 4fbe34ae13
feat: allow custom config 2025-01-07 18:22:46 +07:00
Elian Doran f37de61dfb
feat: add support for lazy loading 2025-01-07 17:26:40 +07:00
Elian Doran eee0b3bd07
feat: stop embedding mermaid 2025-01-07 17:11:20 +07:00
Elian Doran 28b182b993 feat(editor): enable mermaid 2025-01-07 17:09:15 +07:00
Elian Doran a2e10dcade
feat(build): prepare for legacy build 2025-01-07 15:37:04 +07:00
Elian Doran 6795e6e411 feat(footnotes): fix dark icon 2025-01-06 21:47:49 +07:00
Elian Doran f09ea0acb5
Bump to hotfix 11 2025-01-06 21:45:36 +07:00
Elian Doran 33feeb3fa8
fix(ui): icon on dark theme 2025-01-06 21:45:20 +07:00
Elian Doran fea66629f6 feat(editor): set up footnotes plugin 2025-01-06 20:29:01 +07:00
Elian Doran bf34816950
fix(build): missing typings 2025-01-06 20:13:41 +07:00
Elian Doran 271a7494f8
fix(build): missing CSS from end package 2025-01-06 20:09:31 +07:00
Elian Doran 0dee713cb5
fix(build): adjustments for legacy build 2025-01-06 19:54:09 +07:00
Elian Doran a0cad40744
fix(build): serve js files as well 2025-01-06 19:48:06 +07:00
Elian Doran 87a13f404a
fix(deps): add missing files 2025-01-06 19:43:40 +07:00
Elian Doran 005cd42ce4
fix(deps): use old packaging mechanism 2025-01-06 19:37:12 +07:00
Elian Doran e4a00ac3e7
fix(deps): try to fix reference to utils 2025-01-06 19:29:11 +07:00
Elian Doran 0a3138c7d3
fix(deps): experiment with adding utils 2025-01-06 19:22:23 +07:00
Elian Doran 0191ed020a
fix(deps): experiment with adding autoformat & core 2025-01-06 19:12:25 +07:00
Elian Doran 1352851d14
chore(meta): change package name and version 2025-01-06 19:03:20 +07:00
Elian Doran de29995cd7
chore(deps): use pinned ck dependency 2025-01-06 19:00:56 +07:00
Elian Doran 22ad52c11d
refactor: use traditional imports 2025-01-06 18:59:52 +07:00
Elian Doran 929ec25a0d
chore(git): get rid of husky 2025-01-06 18:52:30 +07:00
Elian Doran 2774b78b9f
feat(ci): deploy to npm on tag 2025-01-06 18:52:09 +07:00
Elian Doran c613ce0c41 chore(build): update version of build-trilium package as well 2025-01-06 16:05:20 +07:00
Elian Doran 3c43b5b381 feat(editor): update to 43.2.0 2025-01-06 16:03:16 +07:00
Elian Doran 69215121e0
Merge tag 'v43.2.0' 2025-01-06 15:57:50 +07:00
Elian Doran aa48243c16
Merge tag 'v43.1.2' 2025-01-06 15:44:19 +07:00
Elian Doran 99f218d79e refactor: remove some more useless files 2025-01-06 14:12:11 +07:00
Elian Doran 96bc48dbc4 chore(build): dependency to ckeditor5-math 2025-01-06 13:59:58 +07:00
Elian Doran 9a8ee6a714
chore(build): deploy to npm 2025-01-06 13:19:59 +07:00
Raptor 179299c2c7 Enable Trilium to use RFC 5870 geo-URIs 2025-01-05 13:53:46 +07:00
Tom Aitken 7d4f8530a7 updated ckeditor5 dependency to not be latest 2024-12-27 14:19:38 +07:00
Elian Doran 0916d87e3d
feat(client/mfa): improve headings 2024-12-24 14:02:52 +07:00
Elian Doran e20e53f606
feat(client/mfa): improve layout by separating into multiple sections 2024-12-24 14:02:00 +07:00
Elian Doran 2eb4d4fb66
Merge remote-tracking branch 'origin/develop' into feature/MFA 2024-12-24 13:30:37 +07:00
Elian Doran d41e2443bc
chore(build): bump to 1.0.1 2024-12-13 21:46:06 +07:00
Elian Doran a033692965
fix(ci): issue with wrong yarn version 2024-12-13 21:44:17 +07:00
Elian Doran 0b385595da
chore(ci): push on tag only 2024-12-13 21:34:46 +07:00
Elian Doran 5e8dff52b8
chore(build): change metadata 2024-12-13 21:34:02 +07:00
Elian Doran e25c16b230
chore(ci): deploy to npm 2024-12-13 21:24:41 +07:00
Elian Doran 91800df82c
chore(build): bump to 1.2.0 2024-12-12 23:31:55 +07:00
Elian Doran 12fd5364ae
fix(ci): remove mongodb example 2024-12-12 18:54:08 +07:00
Elian Doran 19d6f10ccb
feat(ci): switch to yarn classic 2024-12-12 18:46:16 +07:00
Elian Doran e7ee51f84d
v1.22.22 2024-12-12 18:43:12 +07:00
Elian Doran dd979cf016
fix(ci): publish not working 2024-12-12 18:39:43 +07:00
Elian Doran 478b98112e
fix(ci): setup yarn with corepack 2024-12-12 18:28:24 +07:00
Elian Doran b1be69d686
feat(ci): deploy package using GitHub Actions 2024-12-11 23:15:39 +07:00
Elian Doran 5e0fb0e4af
fix(utils): allow for Unicode characters in Content-Disposition 2024-12-11 23:11:19 +07:00
Elian Doran 46ee587685
fix(deps): tests not running properly 2024-12-11 22:43:44 +07:00
Elian Doran 3c21050a1f
refactor(test): move outside of src folder 2024-12-11 22:21:19 +07:00
Elian Doran 3354d5df7a
chore(deps): upgrade typescript in order to be able to build on newer Node versions 2024-12-11 22:15:19 +07:00
Elian Doran ff52b3212a
chore(deps): upgrade yarn 2024-12-11 22:13:32 +07:00
Elian Doran f80a17ebc1 feat(editor): update allowedProtocols 2024-12-06 20:59:08 +07:00
Elian Doran 6d72149da7 feat(client): enable General HTML Support plugin 2024-11-28 22:11:28 +07:00
Elian Doran 64dfbd29ee feat(editor): enable PageBreak plugin 2024-11-28 20:33:12 +07:00
Elian Doran 1e0f5312e8 feat(balloon): group some items under Insert submenu 2024-11-28 20:01:05 +07:00
Elian Doran 75a81dc28e ckeditor-decoupled: Add back find & replace button 2024-11-14 20:49:20 +07:00
Elian Doran cf2639a016 Fix duplicate title for Trilium toolbar item 2024-11-09 23:11:58 +07:00
Elian Doran c69bd8dcaf Update config based on #2 2024-11-09 22:58:20 +07:00
Elian Doran 169e65f0ef Deduplicate config for the two editor types 2024-11-09 15:39:40 +07:00
Elian Doran 8945b5ab69 Deduplicate plugins for the two editor types 2024-11-09 15:33:47 +07:00
Elian Doran db8ab2bc72 Use better method to expose watchdog 2024-11-09 14:12:58 +07:00
Elian Doran a7bb9219bf Set up metapackage containing both build types 2024-11-09 14:10:29 +07:00
Tony Narlock 2354c5f6c3 Tag 43.2.0 2024-10-14 06:29:59 +07:00
Tony Narlock f8f6fc7f31 docs(CHANGES) Note bump to CKEditor5 43.2.0 2024-10-14 06:29:59 +07:00
Tony Narlock a0bfd7eea6 js(deps) 43.1.1 -> 43.2.0 (legacy installation method)
See also: https://github.com/ckeditor/ckeditor5/blob/v43.2.0/CHANGELOG.md
2024-10-14 06:29:59 +07:00
Tony Narlock c13fbfed71 Tag v43.1.2 2024-09-26 14:23:33 +07:00
Tony Narlock d96282c164 docs(CHANGELOG) Note downgrade ckeditor5-package-tools 2024-09-26 14:23:33 +07:00
Tony Narlock c3ef60421c js(deps) Downgrade ckeditor5-package-tools 2 -> 1 for now
This would break tests. There also seems to be a v3 over the horizon.
2024-09-26 14:23:33 +07:00
Tony Narlock 167308d27f Tag v43.1.1 2024-09-26 13:25:41 +07:00
Tony Narlock 158f900030 docs(CHANGELOG) Note 43.1.1 release 2024-09-26 13:25:41 +07:00
Tony Narlock 96051798cc tests(mathui) Fix TS error
[tsl] ERROR in ckeditor5-math/tests/mathui.ts(52,44)
      TS2554: Expected 1 arguments, but got 0.
2024-09-26 13:25:41 +07:00
Tony Narlock a3ee4ab618 js(deps) 41 -> 43.1.3
See also: https://github.com/ckeditor/ckeditor5/blob/v43.1.1/CHANGELOG.md

Note: This does NOT include support the new installation method yet.
This will come in a future release:
- https://ckeditor.com/docs/ckeditor5/latest/updating/nim-migration/migration-to-new-installation-methods.html
- https://ckeditor.com/docs/ckeditor5/latest/updating/nim-migration/custom-plugins.html

Updates:

 @ckeditor/ckeditor5-autoformat       41.4.2  →   43.1.1
 @ckeditor/ckeditor5-basic-styles     41.4.2  →   43.1.1
 @ckeditor/ckeditor5-block-quote      41.4.2  →   43.1.1
 @ckeditor/ckeditor5-code-block       41.4.2  →   43.1.1
 @ckeditor/ckeditor5-core             41.4.2  →   43.1.1
 @ckeditor/ckeditor5-editor-classic   41.4.2  →   43.1.1
 @ckeditor/ckeditor5-essentials       41.4.2  →   43.1.1
 @ckeditor/ckeditor5-heading          41.4.2  →   43.1.1
 @ckeditor/ckeditor5-image            41.4.2  →   43.1.1
 @ckeditor/ckeditor5-indent           41.4.2  →   43.1.1
 @ckeditor/ckeditor5-link             41.4.2  →   43.1.1
 @ckeditor/ckeditor5-list             41.4.2  →   43.1.1
 @ckeditor/ckeditor5-media-embed      41.4.2  →   43.1.1
 @ckeditor/ckeditor5-package-tools    ^1.1.0  →   ^2.1.0
 @ckeditor/ckeditor5-paragraph        41.4.2  →   43.1.1
 @ckeditor/ckeditor5-table            41.4.2  →   43.1.1
 @ckeditor/ckeditor5-theme-lark       41.4.2  →   43.1.1
 @ckeditor/ckeditor5-upload           41.4.2  →   43.1.1
 ckeditor5                            41.4.2  →   43.1.1
 eslint-config-ckeditor5              ^5.3.2  →   ^7.1.0
 stylelint-config-ckeditor5          >=5.3.2  →  >=7.1.0
2024-09-26 13:25:41 +07:00
chesspro13 120f1677e8
Removed unused import 2024-09-14 10:12:14 +07:00
chesspro13 d92820280d
Fixed problem with using existing databases. 2024-09-14 10:04:39 +07:00
Elian Doran 61e7414df6
Set version to 41.4.2-hotfix1 2024-09-11 23:40:03 +07:00
Elian Doran 70a63d11f6
ci: Publish only on tag 2024-09-11 23:39:55 +07:00
Elian Doran 10e073c658
Merge remote-tracking branch 'origin/bugfix/lazy_loading_not_working' 2024-09-11 23:38:41 +07:00
Elian Doran 0d119b594f
ci: Fix permission issue 2024-09-11 22:05:12 +07:00
Elian Doran a04598ee9d
Update manifest 2024-09-11 21:58:37 +07:00
Elian Doran 06850dca8a
ci: Try to fix registry deployment 2024-09-11 21:54:24 +07:00
Elian Doran 5b736dd451
ci: Skip build step 2024-09-11 21:49:42 +07:00
Elian Doran b91f7d1406
Update editorconfig for workflows 2024-09-11 21:44:44 +07:00
Elian Doran 8864488eac
ci: Add workflow 2024-09-11 21:44:31 +07:00
Elian Doran f8dba858c6
fix: lazyload not working for katex 2024-09-11 21:04:41 +07:00
chesspro13 2e21a45fc1
Merge branch 'develop' into feature/MFA 2024-09-09 16:30:18 +07:00
Chesspro13 fa5c5ce183
Added OpenID and TOTP to readme 2024-09-09 12:29:32 +07:00
Chesspro13 953f539dcc
Changed wording from "Regerate TOTP Secret" to "Generate TOTP Secret" 2024-09-09 12:07:48 +07:00
Chesspro13 d8c8fe0a6d
Added check for running both OpenID and TOTP at the same time. 2024-09-09 12:01:41 +07:00
chesspro13 55b0f0e3f4
Simplified .env 2024-09-07 15:00:12 +07:00
chesspro13 06da11ff41
Disabled TOTP checkbox 2024-09-07 14:38:08 +07:00
chesspro13 ede7bbd8ed
Fixed recovery code refresh bug. 2024-09-07 14:37:09 +07:00
chesspro13 9dd185e37e
Removed unused files/code/imports/comments. 2024-09-07 14:25:48 +07:00
chesspro13 13937a2568
Removed outdated comments 2024-09-07 14:19:16 +07:00
chesspro13 d76396056a
Removed unused script 2024-09-07 14:17:34 +07:00
chesspro13 df3cbf85e1
Removed references to disconnecting OpenID Accounts. For now. 2024-09-07 14:12:27 +07:00
chesspro13 c74da18e23
OAuth working 2024-09-07 13:18:47 +07:00
chesspro13 1a8625b558
Added package-lock.json 2024-09-07 11:53:26 +07:00
chesspro13 494721f38f
Changed Verification order. 2024-09-07 11:51:29 +07:00
chesspro13 37b4bf6b58
Fixed login errors 2024-09-07 11:47:29 +07:00
chesspro13 e232c6634e
TOTP working 2024-09-07 11:41:54 +07:00
chesspro13 9c748f326a
Ported from branch OIDC 2024-09-07 10:21:41 +07:00
Tom Aitken 7125bb73aa v0.0.3 2024-09-01 11:30:52 +07:00
Tom Aitken a7c92c2a63 improve README 2024-09-01 11:29:49 +07:00
Tom Aitken e2446f2742 v0.0.2 2024-08-30 08:55:58 +07:00
Tom Aitken c177f4a1be remove thing frmo README 2024-08-30 08:54:45 +07:00
Tom Aitken 7e08b63636 fixed issues 2024-08-30 00:04:50 +07:00
Thomas Aitken e11c36e5b5
Update README.md 2024-08-29 08:46:58 +07:00
Tom Aitken 4205db0147 all changes 2024-08-29 08:41:45 +07:00
Tom Aitken 33a95bc1a9 Initialize the repository using CKEditor 5 Package Generator. 2024-08-27 22:37:22 +07:00
Piotr Szczęśniak 4cb02b99e6
Merge pull request #22 from ckeditor/bump-build-tools
The global names for the `ckeditor5` and `ckeditor5-premium-features` packages in the UMD builds have been changed to `CKEDITOR` and `CKEDITOR_PREMIUM_FEATURES`, respectively. See https://github.com/ckeditor/ckeditor5/issues/16798.
2024-08-08 08:29:25 +07:00
Piotr Szczęśniak 35b910ac89 Bump package version before release. 2024-08-08 08:26:55 +07:00
Piotr Szczęśniak 26cb45ad19 Updated content of dist folder. 2024-08-07 13:30:31 +07:00
Piotr Szczęśniak 9560604bd6 Bump @ckeditor/ckeditor5-package-tools to the newest version. 2024-08-07 13:28:59 +07:00
Piotr Szczęśniak c44640da3e Bump other dependecies to match with ckeditor5 repo. 2024-08-02 15:38:10 +07:00
Piotr Szczęśniak 516fb7e968 Bump ckeditor5-dev-build-tools and ckeditor5 packages. 2024-08-02 14:49:29 +07:00
Piotr Szczęśniak 238bc92053
Merge pull request #21 from ckeditor/add-dist-folder
Add the `dist` folder to the repository.
2024-07-01 09:37:11 +07:00
Piotr Szczęśniak 3bb643e413 Add the dist folder to the repository. 2024-07-01 09:31:32 +07:00
Piotr Szczęśniak 064d69d797
Merge pull request #19 from ckeditor/add-support-for-nim
Update to support current installation methods of CKEditor 5 (v42.0.0+) and legacy installation methods with DLLs (pre-42.0.0).
2024-06-27 09:37:59 +07:00
Piotr Szczęśniak a950380af5 Fixed DLL sample to work as expected. 2024-06-26 11:21:57 +07:00
Piotr Szczęśniak 8d9b5bc0b4 Change 'devDependencies' version of '@ckeditor/ckeditor5-package-tools' from alpha to latest v2.0.0. 2024-06-26 11:20:55 +07:00
Piotr Szczęśniak 421a431f9a Change devDependency version of ckeditor5 from nightly to latest. 2024-06-25 11:52:28 +07:00
Piotr Szczęśniak e28e5d23e2 Update eslint rules. 2024-06-18 13:14:21 +07:00
Zerebos 2cdd2a0a54
Fix several accessibility issues 2024-06-10 02:17:50 +07:00
Zerebos 01a8d0f864
Make reloading in light theme less janky 2024-06-08 15:21:59 +07:00
Tony Narlock 8e7b8e6d1c docs(CHANGELOG): Note TypeScript tests from #135 2024-06-08 13:55:25 +07:00
Federico 3e1008ee96 Migrate tests to Typescript 2024-06-08 13:52:32 +07:00
Zerebos 81e986db30
Fix multiple cases of overflow 2024-06-08 14:42:39 +07:00
Zerebos 3dc3f1579b
Fix theme switcher showing wrong value 2024-06-08 14:32:06 +07:00
Zerebos a7ed566645
Improve page performance and rendering
- Moves expanding the tree navigation to the template so the rendering is already done before page load
- Adds a way to explicitly set the logo size to prevent the page moving after it loads in
2024-06-08 14:31:40 +07:00
Piotr Szczęśniak ed2f428e77 Unify imports paths. 2024-06-07 15:46:40 +07:00
Zerebos 2485f20d5c
Minor fixes for new options 2024-06-06 19:10:56 +07:00
Zerebos 465468a5a3
Add more customization in template 2024-06-06 12:21:38 +07:00
Zerebos 930632e6fe
Template bugfixes 2024-06-06 11:14:43 +07:00
Piotr Szczęśniak 0fd6547e53 Change version of @ckeditor/ckeditor5-package-tools to alpha. 2024-06-04 09:55:03 +07:00
Piotr Szczęśniak 9a8a2920d9 Change version to 0.0.3. 2024-06-04 09:40:40 +07:00
Piotr Szczęśniak 31eab85ace Update dependecies in package.json. 2024-06-04 09:00:39 +07:00
Piotr Szczęśniak d8a5ceebbc Add proper package name for UMD build. 2024-05-21 12:45:05 +07:00
Piotr Szczęśniak dc82d019dc Fix imports in sample. 2024-05-20 15:14:56 +07:00
Piotr Szczęśniak 10dfcca9b2 Change ckeditor5-package-tools version. 2024-05-20 14:33:26 +07:00
Piotr Szczęśniak 9a1e1eef92 Migration reflected from package-generator to support NIM. 2024-05-20 14:27:21 +07:00
Tony Narlock ac60fc7a76 Tag v41.4.2 (Built against CKEditor 41.4.2)
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v41.4.2
2024-05-18 07:03:15 +07:00
Tony Narlock f2df9f8f2b docs(CHANGES): Note pinning against 41.4.2 2024-05-18 07:03:15 +07:00
Tony Narlock db69bec6f4 js(deps): Pin against CKEditor 41.3.1 -> 41.4.2
@ckeditor/ckeditor5-autoformat      41.3.1  →  41.4.2
 @ckeditor/ckeditor5-basic-styles    41.3.1  →  41.4.2
 @ckeditor/ckeditor5-block-quote     41.3.1  →  41.4.2
 @ckeditor/ckeditor5-code-block      41.3.1  →  41.4.2
 @ckeditor/ckeditor5-core            41.3.1  →  41.4.2
 @ckeditor/ckeditor5-editor-classic  41.3.1  →  41.4.2
 @ckeditor/ckeditor5-essentials      41.3.1  →  41.4.2
 @ckeditor/ckeditor5-heading         41.3.1  →  41.4.2
 @ckeditor/ckeditor5-image           41.3.1  →  41.4.2
 @ckeditor/ckeditor5-indent          41.3.1  →  41.4.2
 @ckeditor/ckeditor5-link            41.3.1  →  41.4.2
 @ckeditor/ckeditor5-list            41.3.1  →  41.4.2
 @ckeditor/ckeditor5-media-embed     41.3.1  →  41.4.2
 @ckeditor/ckeditor5-paragraph       41.3.1  →  41.4.2
 @ckeditor/ckeditor5-table           41.3.1  →  41.4.2
 @ckeditor/ckeditor5-theme-lark      41.3.1  →  41.4.2
 @ckeditor/ckeditor5-upload          41.3.1  →  41.4.2
 ckeditor5                           41.3.1  →  41.4.2

See also: https://github.com/ckeditor/ckeditor5/blob/v41.4.2/CHANGELOG.md
2024-05-18 07:03:15 +07:00
zadam 786d249a6e
Merge pull request #61 from contributor/master
Capture location.hash into pageUrl attribute
2024-05-18 06:12:10 +07:00
contributor 750d2fe3bb capture location.hash with save-selection (example.com/long-article#part10) 2024-05-10 14:10:41 +07:00
Tony Narlock 5fb67d8ace Tag v41.3.1 (build against CKEditor v41.3.1)
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v41.3.1
2024-04-16 05:24:43 +07:00
Tony Narlock 0e1de65dd6 docs(CHANGELOG): Note CKEditor 41.3.1 2024-04-16 05:24:43 +07:00
Tony Narlock 86704cbaf5 build(deps): CKEditor 41.3.0 -> 41.3.1
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v41.3.1
2024-04-16 05:24:43 +07:00
Tony Narlock 292099912b Tag v41.3.0 2024-04-12 04:27:19 +07:00
Tony Narlock 4460973cc1 docs(CHANGELOG): Note CKEditor 41.3.0 2024-04-12 04:27:19 +07:00
Tony Narlock 47f3016ce6 build(deps): CKEditor 41.2.1 -> 41.3.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v41.3.0
2024-04-12 04:27:19 +07:00
zadam 3140ed2302
Update README.md 2024-03-27 06:40:30 +07:00
Tony Narlock 1abc75d0e1 Tag v41.2.3 (CKEditor 41.2.1)
See also: https://github.com/ckeditor/ckeditor5/blob/v41.2.1/CHANGELOG.md
2024-03-22 05:19:15 +07:00
Tony Narlock d27a672d03 docs(CHANGELOG): Note bump for CKEditor 41.2.1 2024-03-22 05:19:15 +07:00
Tony Narlock 62c572fe5c Bump ckeditor pins for CKEditor5 41.2.1
See also: https://github.com/ckeditor/ckeditor5/blob/v41.2.1/CHANGELOG.md
2024-03-22 05:19:15 +07:00
Tony Narlock a0004abff0 Tag v41.2.2 (README update from #133) 2024-03-17 12:37:46 +07:00
Tony Narlock b37df868b0 docs(README): Format with prettier 2024-03-17 12:37:46 +07:00
Tony Narlock dcae401b46 docs(README): Note TypeScript and DLL-build support 2024-03-17 12:37:46 +07:00
Tony Narlock 5f5dabd4c4 chore: Typo fixes 2024-03-17 12:37:46 +07:00
Tony Narlock 85f95e3f98 Tag v41.2.1 (#130 TypeScript rewrite) 2024-03-17 04:28:40 +07:00
Tony Narlock 3b57dbf36d Tag v41.2.1-alpha.3 2024-03-17 04:25:30 +07:00
Tony Narlock 3a769dd0fc package.json: Export .js and .d.ts in builds 2024-03-17 04:25:30 +07:00
Tony Narlock e59e7010ba Tag v41.2.1-alpha.2 2024-03-17 04:25:30 +07:00
Tony Narlock 8b7c6354ea refactor: katex.d.ts -> typings-external.ts
This way the .d.ts will not be deleted when filse are deleted through
rimraf
2024-03-17 04:25:30 +07:00
Tony Narlock 7bd6a7f57c chore: src/svg.d.ts -> typings/svg.d.ts
More appropriate to be stored in the typings directory, as it is
not a source file, but a type definition file for SVGs.
2024-03-17 04:25:30 +07:00
Tony Narlock 482f7b34c4 package.json: Export src/index.ts 2024-03-17 04:25:30 +07:00
Tony Narlock 0a763ad2b3 Tag v41.2.1-alpha.1 2024-03-17 04:25:30 +07:00
Tony Narlock 41edf6e7fc katex.d.ts: Genericize TrustContext for now
src/katex.d.ts:145:36 - error TS2304: Cannot find name 'TrustContext'.
145     trust?: boolean | ( ( context: TrustContext ) => boolean ) | undefined;
2024-03-17 04:25:30 +07:00
Tony Narlock c03f2cff94 .gitignore: Ignore .js and .d.ts files 2024-03-17 04:25:30 +07:00
Tony Narlock d104feb697 chore: Add override for methods
ERROR in ckeditor5-math/src/mathcommand.ts
./src/mathcommand.ts 5:8-13
[tsl] ERROR in ckeditor5-math/src/mathcommand.ts(5,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Command'.
 @ ./src/autoformatmath.ts 6:0-40 24:31-42
 @ ./src/index.ts 5:0-61 5:0-61

ERROR in ckeditor5-math/src/mathcommand.ts
./src/mathcommand.ts 6:8-15
[tsl] ERROR in ckeditor5-math/src/mathcommand.ts(6,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Command'.
 @ ./src/autoformatmath.ts 6:0-40 24:31-42
 @ ./src/index.ts 5:0-61 5:0-61

ERROR in ckeditor5-math/src/mathcommand.ts
./src/mathcommand.ts 48:8-15
[tsl] ERROR in ckeditor5-math/src/mathcommand.ts(48,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Command'.
 @ ./src/autoformatmath.ts 6:0-40 24:31-42
 @ ./src/index.ts 5:0-61 5:0-61

ERROR in ckeditor5-math/src/mathui.ts
./src/mathui.ts 41:8-15
[tsl] ERROR in ckeditor5-math/src/mathui.ts(41,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'Plugin'.
 @ ./src/autoformatmath.ts 7:0-30 33:50-56
 @ ./src/index.ts 5:0-61 5:0-61

ERROR in ckeditor5-math/src/ui/mainformview.ts
./src/ui/mainformview.ts 40:8-14
[tsl] ERROR in ckeditor5-math/src/ui/mainformview.ts(40,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'View<HTMLElement>'.
 @ ./src/mathui.ts 2:0-45 61:29-41
 @ ./src/autoformatmath.ts 7:0-30 33:50-56
 @ ./src/index.ts 5:0-61 5:0-61

ERROR in ckeditor5-math/src/ui/mainformview.ts
./src/ui/mainformview.ts 130:8-14
[tsl] ERROR in ckeditor5-math/src/ui/mainformview.ts(130,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'View<HTMLElement>'.
 @ ./src/mathui.ts 2:0-45 61:29-41
 @ ./src/autoformatmath.ts 7:0-30 33:50-56
 @ ./src/index.ts 5:0-61 5:0-61

ERROR in ckeditor5-math/src/ui/mathview.ts
./src/ui/mathview.ts 76:8-14
[tsl] ERROR in ckeditor5-math/src/ui/mathview.ts(76,9)
      TS4114: This member must have an 'override' modifier because it overrides a member in the base class 'View<HTMLElement>'.
 @ ./src/ui/mainformview.ts 5:0-34 48:32-40
 @ ./src/mathui.ts 2:0-45 61:29-41
 @ ./src/autoformatmath.ts 7:0-30 33:50-56
 @ ./src/index.ts 5:0-61 5:0-61

7 errors have detailed information that is not shown.
Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
2024-03-17 04:25:30 +07:00
Tony Narlock 1beaf1a29c Add tsconfig.release.json 2024-03-17 04:25:30 +07:00
Tony Narlock 8d949a8b80 eslint: Check .ts files 2024-03-17 04:25:30 +07:00
Tony Narlock c4890fd340 package.json: Add ts:{build,clear}, prepublishOnly, postpublish 2024-03-17 04:25:30 +07:00
Tony Narlock 88e07d32a4 Use tsconfig.json inspired by CKEditor5, CKEditor5 plugins 2024-03-17 04:25:30 +07:00
Tony Narlock 114074f027 Tag v41.2.1-alpha.0 2024-03-17 04:25:30 +07:00
Tony Narlock 2825393538 Remove JavaScript files 2024-03-17 04:25:30 +07:00
Federico 9765abc0bd Migrate to Typescript 2024-03-17 04:25:30 +07:00
Tony Narlock 9fa8967d95 Tag v41.2.0
See also: https://github.com/ckeditor/ckeditor5/blob/v41.2.0/CHANGELOG.md
2024-03-08 12:55:16 +07:00
Tony Narlock 1f74c4bc4d docs(CHANGELOG): Note bump to 41.2.0 2024-03-08 12:55:16 +07:00
Tony Narlock bc22f90f8e build(deps): CKEditor 41.1.0 -> 41.2.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v41.2.0
2024-03-08 12:55:16 +07:00
Tony Narlock 173ac06136 Tag v41.1.0 2024-02-13 07:13:34 +07:00
Tony Narlock 26d9d13794 docs(CHANGELOG): Note bump to 41.1.0 2024-02-13 07:13:34 +07:00
Tony Narlock 740c950627 build(deps): Bump CKEditor5 to 41.1.0
See also: https://github.com/ckeditor/ckeditor5/blob/v41.1.0/CHANGELOG.md
2024-02-13 07:13:34 +07:00
Tony Narlock 40403873d0 docs(CHANGELOG): Fix date 2024-01-27 07:00:13 +07:00
Tony Narlock 57f81b8aff Tag v41.0.0 2024-01-27 06:49:19 +07:00
Tony Narlock bc5bc333b7 docs(CHANGELOG): Note bump to 41.0.0 2024-01-27 06:49:19 +07:00
Tony Narlock f36c96602d CSS: ck-z-modal -> ck-z-panel (for v41.0.0)
See also:
- https://github.com/ckeditor/ckeditor5/blob/v41.0.0/CHANGELOG.md

  > ui: The --ck-z-modal CSS custom property was renamed to --ck-z-panel.
  > We recommend updating custom CSS and integrations that use this custom
  > property to avoid presentation issues. See #14973.
- https://github.com/ckeditor/ckeditor5/issues/14973
2024-01-27 06:49:19 +07:00
Tony Narlock f91a79c5e8 build(deps): Bump CKEditor5 to 41.0.0
@ckeditor/ckeditor5-autoformat       40.2.0  →   41.0.0
@ckeditor/ckeditor5-basic-styles     40.2.0  →   41.0.0
@ckeditor/ckeditor5-block-quote      40.2.0  →   41.0.0
@ckeditor/ckeditor5-code-block       40.2.0  →   41.0.0
@ckeditor/ckeditor5-core             40.2.0  →   41.0.0
@ckeditor/ckeditor5-editor-classic   40.2.0  →   41.0.0
@ckeditor/ckeditor5-essentials       40.2.0  →   41.0.0
@ckeditor/ckeditor5-heading          40.2.0  →   41.0.0
@ckeditor/ckeditor5-image            40.2.0  →   41.0.0
@ckeditor/ckeditor5-indent           40.2.0  →   41.0.0
@ckeditor/ckeditor5-link             40.2.0  →   41.0.0
@ckeditor/ckeditor5-list             40.2.0  →   41.0.0
@ckeditor/ckeditor5-media-embed      40.2.0  →   41.0.0
@ckeditor/ckeditor5-paragraph        40.2.0  →   41.0.0
@ckeditor/ckeditor5-table            40.2.0  →   41.0.0
@ckeditor/ckeditor5-theme-lark       40.2.0  →   41.0.0
@ckeditor/ckeditor5-upload           40.2.0  →   41.0.0
ckeditor5                            40.2.0  →   41.0.0
eslint-config-ckeditor5              ^5.1.3  →   ^5.3.0
stylelint-config-ckeditor5          >=5.1.3  →  >=5.3.0

See also: https://github.com/ckeditor/ckeditor5/blob/v41.0.0/CHANGELOG.md
2024-01-27 06:49:19 +07:00
Tony Narlock 53ff7c0d3e Release v40.2.0
Pinned against CKEditor v40.2.0.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v40.2.0
2023-12-12 07:06:11 +07:00
Tony Narlock 94c1beeae5 docs(CHANGELOG): CKEditor 40.2.0 2023-12-12 07:06:11 +07:00
Tony Narlock 0a63b881ea Bump CKEditor 40.1.0 -> 40.2.0
@ckeditor/ckeditor5-autoformat       40.1.0  →   40.2.0
@ckeditor/ckeditor5-basic-styles     40.1.0  →   40.2.0
@ckeditor/ckeditor5-block-quote      40.1.0  →   40.2.0
@ckeditor/ckeditor5-code-block       40.1.0  →   40.2.0
@ckeditor/ckeditor5-core             40.1.0  →   40.2.0
@ckeditor/ckeditor5-editor-classic   40.1.0  →   40.2.0
@ckeditor/ckeditor5-essentials       40.1.0  →   40.2.0
@ckeditor/ckeditor5-heading          40.1.0  →   40.2.0
@ckeditor/ckeditor5-image            40.1.0  →   40.2.0
@ckeditor/ckeditor5-indent           40.1.0  →   40.2.0
@ckeditor/ckeditor5-link             40.1.0  →   40.2.0
@ckeditor/ckeditor5-list             40.1.0  →   40.2.0
@ckeditor/ckeditor5-media-embed      40.1.0  →   40.2.0
@ckeditor/ckeditor5-paragraph        40.1.0  →   40.2.0
@ckeditor/ckeditor5-table            40.1.0  →   40.2.0
@ckeditor/ckeditor5-theme-lark       40.1.0  →   40.2.0
@ckeditor/ckeditor5-upload           40.1.0  →   40.2.0
ckeditor5                            40.1.0  →   40.2.0
eslint-config-ckeditor5              ^5.1.2  →   ^5.1.3
stylelint-config-ckeditor5          >=5.1.2  →  >=5.1.3

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v40.2.0
2023-12-12 07:06:11 +07:00
Zack Rauen 0016b43c09 Update to Trilium 0.62.3 2023-12-05 20:50:29 +07:00
Tony Narlock 45eceb4c30 Release v40.1.0
Pinned against CKEditor v40.1.0.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v40.1.0
2023-11-17 14:55:07 +07:00
Tony Narlock ab34d8ff05 docs(CHANGELOG): Note v40.1.0 2023-11-17 14:55:07 +07:00
Tony Narlock fffb69be08 build(deps): CKEditor 40.0.0 -> 40.1.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v40.1.0
2023-11-17 14:55:07 +07:00
Tony Narlock 7b9e250d5d docs(CHANGELOG): Note node.js bump 2023-10-13 06:34:33 +07:00
Tony Narlock bc44b7f66e docs(CHANGELOG): Bump 39.0.2 to 40.0.0 2023-10-13 06:34:33 +07:00
Tony Narlock 0fc91afdf5 Bump package to 40.0.0 2023-10-13 06:34:33 +07:00
Tony Narlock 37855b960c packaging: Bump node.js minimum to v18 for CKEditor5 v40 2023-10-13 06:34:33 +07:00
Tony Narlock 6eb132ce96 build(deps): CKEditor 39.0.2 -> 40.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v40.0.0
2023-10-13 06:34:33 +07:00
Zack Rauen 5391521c08 Enable sliding categories and extract TODOs 2023-09-30 00:13:37 +07:00
Zack Rauen e7a3f6d17e Generate ToC in templates 2023-09-29 01:43:39 +07:00
Zack Rauen 074ac0b725 Make swagger load from trilium directly 2023-09-28 20:59:17 +07:00
Zack Rauen bde6d83625 Fix css priority for mobile 2023-09-28 20:59:04 +07:00
Zack Rauen bdfe86ba1a Remove dead code and reorganize slightly 2023-09-28 00:24:52 +07:00
Zack Rauen a8bb2f110b Some important QoL changes 2023-09-28 00:14:44 +07:00
Zack Rauen 4147f2b8d8 Switch scripts to redesign 2023-09-27 23:18:03 +07:00
Zack Rauen a7edc5e03e Slightly adjust page template 2023-09-27 22:54:13 +07:00
Zack Rauen 1a40658345 Rework css for new design 2023-09-27 22:53:59 +07:00
Zack Rauen 124fd480b7 Update build script for templates 2023-09-27 16:49:30 +07:00
Zack Rauen 667cd64f3b Rename main to scripts 2023-09-27 16:28:08 +07:00
Zack Rauen 2ae6d4c5a4 Add initial templates 2023-09-27 16:20:04 +07:00
Zack Rauen d9e33270b0 Add README 2023-09-24 06:03:35 +07:00
Zack Rauen ad59080307 Some more finishing touches 2023-09-23 22:39:38 +07:00
Zack Rauen 34fa9a1f01 Some final touches 2023-09-23 07:21:38 +07:00
Zack Rauen cb19ed36bc Make mobile compatible 2023-09-23 02:56:59 +07:00
Zack Rauen 039a5ac2e3 Modularize more and add swagger-ui 2023-09-22 23:57:17 +07:00
Zack Rauen 568ea271a4 Modularize proof of concept 2023-09-21 03:18:11 +07:00
Zack Rauen a584a5c296 Port from trilium notes 2023-09-20 03:38:55 +07:00
Tony Narlock 00d116b68c Release v39.0.2
Pinned against CKEditor v39.0.2.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v39.0.2
2023-09-06 12:06:23 +07:00
Tony Narlock 754e4e6934 docs(CHANGELOG): Note update to v39.0.2 and linting updates 2023-09-06 12:06:23 +07:00
Tony Narlock 5be93cb51b build(deps): CKEditor 39.0.1 -> 39.0.2
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v39.0.2
2023-09-06 12:06:23 +07:00
Tony Narlock e8353130f7 build(deps): {es,style}lint-config-ckeditor5: Bump packages to 5.1.1
eslint-config-ckeditor5      ^5.0.1  →   ^5.1.1
stylelint-config-ckeditor5  >=4.1.1  →  >=5.1.1
2023-09-06 12:06:23 +07:00
Tony Narlock 5b227e0875 Release v39.0.1
Pinned against CKEditor v39.0.1.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v39.0.1
2023-08-10 06:50:01 +07:00
Tony Narlock d118da6d5f build(deps): CKEditor 39.0.0 -> 39.0.1
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v39.0.1
2023-08-10 06:50:01 +07:00
Tony Narlock 9816ad1e41 Release v39.0.0
Pinned against CKEditor v39.0.0.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v39.0.0
2023-08-10 06:42:45 +07:00
Tony Narlock 0377354a78 build(deps): CKEditor 38.1.1 -> 39.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v39.0.0
2023-08-10 06:42:45 +07:00
Tony Narlock 49ddf2e27d release: v38.1.1 2023-07-26 06:10:44 +07:00
Tony Narlock 7ce1dbd83c build(deps): CKEditor 38.1.0 -> 38.1.1
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v38.1.1
2023-07-26 06:10:44 +07:00
Tony Narlock d6e893c0a6 release: v38.1.0 2023-07-26 05:54:26 +07:00
Tony Narlock ed741d473b build(deps): CKEditor5-package-tools: 1.0.0 -> 1.1.0
See also: https://github.com/ckeditor/ckeditor5-package-generator/blob/v1.1.0/CHANGELOG.md
2023-07-26 05:54:26 +07:00
Tony Narlock 3c931c8818 build(deps): CKEditor 38.0.1 -> 38.1.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v38.1.0
2023-07-26 05:54:26 +07:00
zadam 526eaa2749
Merge pull request #54 from manto89/feature/already-visited
Check if the current page is already saved in trilium
2023-07-09 23:02:09 +07:00
zadam f57e97462f
Merge pull request #52 from manto89/feature/keep-title
Keep the title when adding notes
2023-07-09 23:00:36 +07:00
Tony Narlock bd8d3770f7 docs(CHANGELOG): Note typescript workaround 2023-06-21 06:20:19 +07:00
Tony Narlock 9ab561ab11 docs(CHANGELOG): Note package updates 2023-06-21 06:20:19 +07:00
Tony Narlock 5e723dc67a build(deps): eslint-config-ckeditor5: 4.1.1 to 5.0.1
See also: https://github.com/ckeditor/ckeditor5-linters-config/blob/v5.1.0/CHANGELOG.md
2023-06-21 06:16:08 +07:00
Tony Narlock 692a2fa3b6 build(deps): CKEditor5-package-tools: beta.10 -> 1.0.0
See also: https://github.com/ckeditor/ckeditor5-package-generator/blob/v1.0.0/CHANGELOG.md
2023-06-21 06:16:08 +07:00
manto89 1d6211c7fd Add already-section when pageurl matches existing note.
Trigger search note by url after connection to backend
2023-06-21 13:13:28 +07:00
Tony Narlock e903057a14 docs(README): Note TypeScript typings for TypeScript builds 2023-06-20 16:22:58 +07:00
Tony Narlock b8b5f0475a Tag v38.0.1
Release includes CKEditor v38.0.1 pinnings.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v38.0.1
2023-06-20 14:10:47 +07:00
Tony Narlock 121248b944 Tag v38.0.0
Release includes CKEditor v38.0.0 pinnings.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v38.0.0
2023-06-20 14:05:41 +07:00
Tony Narlock 9ab9152abb Bump CKEditor v37.1.0 -> v38.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v38.0.0
2023-06-20 14:05:41 +07:00
manto89 82c1b21d64 add checkbox in popup and handle case in popup.js 2023-06-19 00:02:19 +07:00
Marek Lewandowski 4fcdc10758
Adjusted license header 2023-05-25 09:18:55 +07:00
Piotrek Koszuliński d6293b76ef Lock mermaid to the last known working version (GHWriter is throwing errors when mermaid v9.4.x is installed. 2023-05-17 13:14:38 +07:00
Tony Narlock 26f184840f Tag v37.1.0
Release includes CKEditor v37.1.0 pinnings.

See also: https://github.com/ckeditor/ckeditor5/releases/tag/v37.1.0
2023-04-19 11:54:09 +07:00
Tony Narlock 1eefac11d6 docs(CHANGELOG): Note v37.1.0 update 2023-04-19 11:52:45 +07:00
Tony Narlock ac0926a893 Bump CKEditor v37.0.1 -> v37.1.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v37.1.0
2023-04-19 11:52:45 +07:00
Tony Narlock 023f95d16e Tag v37.0.2 (config fix from #98) 2023-04-05 08:13:04 +07:00
Tony Narlock 888fdd7ba2 docs(CHANGELOG): Note config fix and 37.0.1 (earlier) 2023-04-05 08:13:04 +07:00
Tony Narlock c95ecf504d fix(config): Fix loading with no config object
Fixes #96
2023-04-05 08:13:04 +07:00
Tony Narlock 6c194e8ffd Tag v37.0.1
Bump CKEditor to v37.0.1
2023-04-05 07:10:57 +07:00
Tony Narlock a6c0822a83 Bump CKEditor v37.0.0 -> v37.0.1
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v37.0.1
2023-04-05 07:10:57 +07:00
Tony Narlock ac7ee1bb30 Tag v37.0.0 2023-04-05 07:04:46 +07:00
Tony Narlock 8ee2e4bffc Bump CKEditor to v37.0.1
https://github.com/ckeditor/ckeditor5/blob/v37.0.1/CHANGELOG.md
2023-04-05 07:04:46 +07:00
Tony Narlock c39f95720b .nvmrc: Add v16.20.0 (latest v16 version)
v37 requires nodejs v16 or higher
2023-04-05 07:04:46 +07:00
Tony Narlock 90c108569c Tag v36.0.6 (package-tools update, before v37.0.0) 2023-04-05 06:44:36 +07:00
Tony Narlock 587370cd16 docs(CHANGELOG): Note update of package-tools 2023-04-05 06:44:36 +07:00
Tony Narlock 549e175999 ⬆️ CKEditor package tools: 1.0.0-beta.8 -> beta.10
See also: https://github.com/ckeditor/ckeditor5-package-generator/blob/v1.0.0-beta.10/CHANGELOG.md
2023-04-05 06:44:36 +07:00
Tony Narlock b66910b57a docs(CHANGELOG): Note v36.0.5 2023-04-03 07:15:00 +07:00
Tony Narlock ec54f7c3bb Tag v36.0.5 2023-04-03 07:15:00 +07:00
Tony Narlock 7db1334aa3 docs(CHANGELOG): Note v36.0.4 2023-04-03 07:15:00 +07:00
Tony Narlock e010f626d9 Stub release of 36.0.4 (already released via @isaul32) 2023-04-03 07:15:00 +07:00
Tony Narlock 0f683f3e7e docs(CHANGELOG): Note package names 2023-04-03 07:15:00 +07:00
Tony Narlock 328569e13c docs(README): Use new package name 2023-04-03 07:15:00 +07:00
Tony Narlock 6bdbf1d2d3 docs(CHANGELOG): Note addition of className config variable 2023-04-03 06:58:57 +07:00
Daniel Kulbe c7b616a31d #81 Make span element className configurable 2023-04-03 06:58:57 +07:00
Tony Narlock 406aa5cb3a Revert "package: Fix package name"
This reverts commit 187644536c until
https://github.com/ckeditor/ckeditor5-package-generator/issues/139
is resolved.
2023-03-14 06:34:26 +07:00
Tony Narlock 187644536c package: Fix package name 2023-03-13 19:41:03 +07:00
Tony Narlock 819b55c231 package: Release v36.0.3 (with DLL build from #83) 2023-03-13 19:34:28 +07:00
Daniel Kulbe 4d5b935ecf Fix math not rendered at editor startup 2023-03-13 19:30:58 +07:00
Daniel Kulbe d729aa26dd Add examples to index.html 2023-03-13 19:30:58 +07:00
Daniel Kulbe 383361733a Convert to DLL compatible plugin (#46) 2023-03-13 19:30:58 +07:00
zadam b731a051f1
Merge pull request #49 from jrao1/add-published-date
Send published/modified date when saving whole page
2023-03-07 22:52:35 +07:00
J Rao 1434773572 Send published/modified date when saving whole page 2023-03-06 21:34:51 +07:00
Tony Narlock 0dbe462a9e Tag v36.0.2 2023-02-14 17:26:05 +07:00
Tony Narlock 69bf41839a docs(CHANGES): Note previewClassName update 2023-02-14 17:21:39 +07:00
Tony Narlock ad8ffe0830 fix(MathView): Fix previewClassName 2023-02-14 17:21:39 +07:00
Tony Narlock 47b6e7308f docs(CHANGES): Note update for 36.0.1 2023-02-07 04:56:11 +07:00
Tony Narlock 2d3a1e30ca build(deps): Bump to CKEditor 36.0.1
See also: https://github.com/ckeditor/ckeditor5/blob/v36.0.1/CHANGELOG.md
2023-02-07 04:56:11 +07:00
Tony Narlock dc0286a4b1 docs(CHANGES): Note update for 36.0.0 2023-01-26 15:18:33 +07:00
Tony Narlock 9cdc612313 build(deps): Bump to CKEditor 36.0.0
See also: https://github.com/ckeditor/ckeditor5/blob/v36.0.0/CHANGELOG.md
2023-01-26 15:18:33 +07:00
Tony Narlock cba6e9db11 docs(CHANGES): Note update for 35.4.0 2022-12-13 07:48:22 +07:00
Tony Narlock bee2d1120b build(deps): Bump to CKEditor 35.4.0
See also: https://github.com/ckeditor/ckeditor5/blob/v35.4.0/CHANGELOG.md
2022-12-13 07:48:22 +07:00
Tony Narlock 627dd69f54 docs(CHANGES): Correct date 2022-11-23 09:01:13 +07:00
Tony Narlock f33973f8b9 docs(CHANGELOG): Note 35.3.2 2022-11-23 08:59:13 +07:00
Tony Narlock 9a79eee76a build(deps): Bump to CKEditor 35.3.2
See also: https://github.com/ckeditor/ckeditor5/blob/v35.3.2/CHANGELOG.md
2022-11-23 08:59:13 +07:00
Tony Narlock 2e5d11f8b5 docs(CHANGELOG): Note 35.3.1 2022-11-15 10:30:03 +07:00
Tony Narlock e523907f17 build(deps): Bump to CKEditor 35.3.1
See also: https://github.com/ckeditor/ckeditor5/blob/v35.3.1/CHANGELOG.md
2022-11-15 10:30:03 +07:00
Tony Narlock e28c8c027c docs(CHANGELOG): Note 35.3.0 2022-11-03 18:54:05 +07:00
Tony Narlock 7963330671 build(deps): Bump to CKEditor 35.3.0
See also: https://github.com/ckeditor/ckeditor5/blob/v35.3.0/CHANGELOG.md
2022-11-03 18:54:05 +07:00
zadam 71be9515b9 release 1.0.1 2022-10-29 15:25:37 +07:00
zadam c9c10a90aa 1.0.1 2022-10-29 15:25:20 +07:00
zadam 9130980203 release 1.0.0 2022-10-29 14:59:05 +07:00
zadam efb2436679 release 1.0.0 2022-10-29 14:56:00 +07:00
zadam 5007ec4703 remove username from options 2022-10-29 14:55:26 +07:00
zadam 711e4f8ebd Merge remote-tracking branch 'origin/master' 2022-10-29 14:41:00 +07:00
zadam 9ac8bc28ed rename saveCroppedScreenshot 2022-10-29 14:40:53 +07:00
Tony Narlock 071e19d288 docs(CHANGELOG): Note v35.2.1 pinning release 2022-10-13 12:39:24 +07:00
Tony Narlock b6bae4e4e9 build(deps): Bump dependencies to 35.2.1 2022-10-13 12:39:24 +07:00
Tony Narlock 222dc4591c docs(CHANGELOG): Update for latest 2022-10-13 12:31:23 +07:00
Tony Narlock bf008d05ac build(deps): Bump to CKEditor 35.2.0
See also: https://github.com/ckeditor/ckeditor5/blob/v35.2.0/CHANGELOG.md
2022-10-13 12:31:23 +07:00
Tony Narlock 16f731afd7 Release v35.1.0
See also: https://github.com/ckeditor/ckeditor5/blob/v35.1.0/CHANGELOG.md
2022-09-28 07:35:57 +07:00
Tony Narlock a243ea245d Tag for CKEditor 5 v35.0.1
See also: https://github.com/ckeditor/ckeditor5/blob/v35.0.1/CHANGELOG.md
2022-09-28 07:32:19 +07:00
Tony Narlock f515d7f913 Bump to v35.0.0
See also: https://github.com/ckeditor/ckeditor5/blob/v35.0.0/CHANGELOG.md
2022-09-28 07:20:11 +07:00
Tony Narlock c6f7a223cb Tag v34.2.0 2022-09-28 07:10:34 +07:00
Tony Narlock f7d32927a6 Bump CKEditor to 34.2.0
See also: https://github.com/ckeditor/ckeditor5/blob/v34.2.0/CHANGELOG.md
2022-09-28 07:10:34 +07:00
Dariusz Jarzębski bb85162223
Merge pull request #13 from ckeditor/ckem/12-bump-the-editor-version
Updated CKE5 dev/dependencies and mermaid.
2022-08-10 10:34:18 +07:00
Mateusz Zagórski 1cdcdd937a Updated CKE5 dev/dependencies and mermaid. 2022-08-08 12:13:50 +07:00
zadam ddbf933779
Create LICENSE 2022-08-05 19:19:15 +07:00
Tony Narlock b6fa87b6fe Tag v34.1.1 2022-08-03 18:28:24 +07:00
Tony Narlock f024563960 docs(CHANGES): Note katexRenderOptions 2022-08-03 18:27:27 +07:00
Tony Narlock 8a9e20eb45 docs: Update README for katexRenderOptions 2022-08-03 18:27:27 +07:00
Tony Narlock 46345f2c56 demo: Add example of katexRenderOptions 2022-08-03 18:27:27 +07:00
Tony Narlock f15758b229 New option: katexRenderOptions
See also: https://katex.org/docs/options.html
2022-08-03 18:27:27 +07:00
Dariusz Jarzębski f924a5a3a9
Merge pull request #9 from ckeditor/ckem/8-bump-the-editor-version
Updated CKE5 dev/dependencies and mermaid.
2022-07-19 14:27:59 +07:00
Dariusz Jarzębski c4c0c6c6ce Bump node required version to the CKE5 one. 2022-07-19 14:26:44 +07:00
Dariusz Jarzębski 1acc9849c4
Merge pull request #11 from ckeditor/ckem/10-readme-changes
Updating readme file with manual test information
2022-07-19 14:16:24 +07:00
Dariusz Jarzębski a3481580c5 Minor rewording. 2022-07-19 14:15:14 +07:00
Mateusz Zagórski 94ed16ca98 Added manual test information to the readme file. 2022-07-04 08:25:31 +07:00
Mateusz Zagórski 69cee42b2d Updated CKE5 dev/dependencies and mermaid. 2022-07-04 08:03:13 +07:00
Tony Narlock f8b0c8e679 docs(CHANGELOG): Note changelog differences 2022-06-21 09:02:39 +07:00
Tony Narlock 87d6c6e685 Tag v34.1.0 2022-06-21 08:59:52 +07:00
Tony Narlock 72894d5236 docs(CHANGES): Start adding dates to changelog 2022-05-12 12:32:38 +07:00
Tony Narlock d4a6dd7717 docs(CHANGELOG): Remove current tag from headings when its not the case 2022-05-12 12:30:54 +07:00
Tony Narlock e86471138f Tag v34.0.0 2022-05-12 08:07:58 +07:00
Tony Narlock 3e033936cb docs(CHANGES): Note yarn.lock change 2022-03-22 10:19:58 +07:00
Tony Narlock f3157bf27a build: Add yarn.lock (pinned at v33.0.0's build)
Sub-dependencies can shift across systems and over times. This makes it
easier to track working builds and bisect potential issues, no matter
how minor.
2022-03-22 10:17:16 +07:00
Tony Narlock ffd4fd117a ci: .gitignore: Allow yarn.lock
This adds more certainty to our builds in case sub-dependencies shift
2022-03-22 10:15:21 +07:00
Tony Narlock e24bd0831f Tag v33.0.0 2022-03-22 09:20:59 +07:00
Tony Narlock b88e18deb6 docs(CHANGES): Update changelog for 33.0.0 2022-03-22 09:20:20 +07:00
Tony Narlock 1884310630 Update to CKEditor v33.0.0
- https://github.com/ckeditor/ckeditor5/releases/tag/v33.0.0
- https://github.com/ckeditor/ckeditor5/blob/v33.0.0/CHANGELOG.md#3300-2022-03-07
2022-03-22 09:19:36 +07:00
Marek Lewandowski 4dc6fbf2ad
Merge pull request #4 from ckeditor/i/1545-insert-mermaid-focus
Focusing `textarea` after inserting mermaid widget
2022-03-14 08:37:52 +07:00
Marek Lewandowski ac93f2dc36 Minor code simplification. 2022-03-14 08:33:19 +07:00
Mateusz Zagórski 1941151e73
Merge pull request #5 from ckeditor/i/1575-sample-manual-test
Manual test sample added
2022-03-11 11:10:27 +07:00
Mateusz Zagórski e9ea0175ea Added missing dependency. 2022-03-11 11:06:43 +07:00
Mateusz Zagórski d2f5d40c0d Added sample test files. 2022-03-10 16:34:16 +07:00
Mateusz Zagórski 9f843e8a76 Removed unnecessary code from the test. 2022-03-10 16:19:50 +07:00
Mateusz Zagórski 88d3d65c30 Test coverage added. 2022-03-10 16:15:22 +07:00
Mateusz Zagórski ea1b4d73af Updated insert command & UI. 2022-03-10 13:13:54 +07:00
Marek Lewandowski af36fd8fa5 Started a new version. 2022-03-08 14:52:16 +07:00
Mateusz Zagórski 4b338fe851 Updated mermaid info button url. 2022-03-08 14:48:59 +07:00
Mateusz Zagórski 45a05048fc Updated url. 2022-03-08 13:56:49 +07:00
Marek Lewandowski 2c7913a8e6
Merge pull request #3 from ckeditor/unit-tests
Fixed unit tests runner
2022-03-08 12:52:52 +07:00
Marek Lewandowski dc48d61efe
Merge pull request #2 from ckeditor/mermaid-firefox-toolbar-fix
Fixed toolbar not showing up in firefox.
2022-03-08 12:26:34 +07:00
Marek Lewandowski 82b92aff84 Added a comment referencing source issue. Also removed a stray commented line. 2022-03-08 12:19:09 +07:00
Mateusz Zagórski 41e59b2a13 Updated failing tests. 2022-03-08 12:04:13 +07:00
Marek Lewandowski 4d375e86b0 Merge branch 'master' into mermaid-firefox-toolbar-fix 2022-03-08 12:00:35 +07:00
Mateusz Zagórski 1e963f0125 Merge branch 'master' into unit-tests 2022-03-08 12:00:16 +07:00
Marek Lewandowski 55f684d5a0 Adjusted insert icon label. 2022-03-08 11:26:58 +07:00
Marek Lewandowski 8916224b90
Merge pull request #1 from ckeditor/new-icons
Icons cleanup: changed insert and the preview icons, unified icon name casing
2022-03-08 11:24:39 +07:00
Marek Lewandowski 6f90c0240e Changed mermaid button to lower case. 2022-03-08 11:11:59 +07:00
Marek Lewandowski 479a8008c6 Adjusted icon file name casing. 2022-03-08 11:07:02 +07:00
Marek Lewandowski 9e42fd9b99 Changed the label for mermaid icon. 2022-03-08 11:04:25 +07:00
Mateusz Zagórski 108e2f48f0 Fixed toolbar not showing up in firefox. 2022-03-08 11:03:14 +07:00
Marek Lewandowski 7eb5685633 Preview icon optimized. 2022-03-08 10:57:28 +07:00
Marek Lewandowski 6263c4baa3 Changed insert and the preview icons. 2022-03-08 10:57:07 +07:00
Mateusz Zagórski a54dc7679f Updated package.json & added various config files. 2022-03-08 10:56:53 +07:00
Marek Lewandowski 203ee28f70 Fixed conversion to work properly with v32.0.0 release. 2022-03-04 15:03:20 +07:00
Mateusz Zagórski 302a0dc2ef Initial commit. 2022-03-04 13:39:39 +07:00
zadam 252263de38 add option to screenshot the whole page, kind of, #39 2022-02-19 19:38:01 +07:00
zadam 66c8891fbb make screenshot cancellable via escape key, closes #37 2022-02-19 19:37:23 +07:00
zadam 20a4e2eb08 upgrade readability 2022-02-19 19:35:39 +07:00
Tony Narlock dc75ac8912 Tag v32.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v32.0.0
2022-02-07 15:43:18 +07:00
Tony Narlock 466a78461f docs(CHANGES): Note 32.0.0 update 2022-02-07 15:42:24 +07:00
Tony Narlock 76d6a39aaf v32.0.0 package and webpack updates, node 12 -> 14 2022-02-07 15:42:24 +07:00
Tony Narlock b52255ebbb Update to CKEditor v32.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v32.0.0
2022-02-07 15:42:24 +07:00
Tony Narlock ba988f7a2e docs(CHANGELOG): Fix 31.1.0 copy 2022-02-07 15:39:59 +07:00
Tony Narlock a283762992 chore(.gitignore): Ignore yarn-error.log 2022-02-07 15:39:59 +07:00
Tony Narlock 3d5f530176 Tag v31.1.0 2022-01-05 08:59:51 +07:00
Tony Narlock 1bc4a4cfa0 Tag v31.0.0
See also: https://github.com/ckeditor/ckeditor5/blob/v31.0.0/CHANGELOG.md
2022-01-05 08:55:46 +07:00
zadam 9cf88d9697 fixed release script 2021-11-21 10:29:00 +07:00
zadam 2ee147f625 release 0.3.1 2021-11-20 22:02:51 +07:00
zadam b3d70aaf44 release 0.3.1 2021-11-20 22:00:36 +07:00
zadam 968f735adc update icons 2021-11-20 21:59:31 +07:00
Tony Narlock 6b6e28ec7e v30.0.0 2021-09-29 06:30:19 +07:00
Tony Narlock 90c1175a14 Pin v29.2.0
See also: https://github.com/ckeditor/ckeditor5/blob/v29.2.0/CHANGELOG.md
2021-09-07 12:07:07 +07:00
Tony Narlock f8e369f95c Add missing classic editor dependency for demos 2021-09-07 12:04:51 +07:00
Tony Narlock 1eb0985264 Tag v29.1.0
See also: https://github.com/ckeditor/ckeditor5/blob/v29.1.0/CHANGELOG.md
2021-09-07 11:59:33 +07:00
Tony Narlock 5a5478a55b Tag 29.0.0
See also: https://github.com/ckeditor/ckeditor5/blob/v29.0.0/CHANGELOG.md
2021-09-07 11:58:09 +07:00
zadam 22d59127f9 updated for 0.48 + tweaks 2021-08-08 12:28:42 +07:00
Laurent 0f43299c17
Update README.md 2021-06-27 11:45:17 +07:00
Tony Narlock 8ffdd88c83 Tag v28.0.0 2021-06-21 11:00:46 +07:00
Tony Narlock ee89e04320 Update dependencies for 28.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v28.0.0
2021-06-21 10:58:36 +07:00
Tony Narlock e872daa1f9 Tag v27.1.4 2021-05-16 14:11:58 +07:00
Jules Bertholet bae8c2c41f Use SwitchButtonView for display mode toggle button
Looks much nicer, and more intuitive to use
2021-05-16 14:10:47 +07:00
Tony Narlock 235a817f25 CHANGELOG: Update for #45 2021-05-16 14:07:56 +07:00
Tony Narlock 9d00408612 CHANGELOG: Indent code snippet with tabs 2021-05-16 14:07:56 +07:00
Tony Narlock fef1e16907 README/CHANGELOG: Format in prettier
Formatted with prettier 2.3.0
2021-05-16 14:07:56 +07:00
Tony Narlock 2738046886 prettier: Prevent formatting inner languages inside markdown
See also: https://prettier.io/docs/en/options.html
2021-05-16 14:02:32 +07:00
Tony Narlock 5d3e1ede94 Tag v27.1.3 2021-05-16 13:56:01 +07:00
Tony Narlock a93edc6495 Update CHANGELOG for #41 2021-05-16 13:54:48 +07:00
Jules Bertholet ba34f1f3c1 Don't allow inserting empty equations
Keep the model free of invisible empty equation tags
2021-05-16 13:53:50 +07:00
Tony Narlock 2ad6076d6c Tag v27.1.2 2021-05-05 10:42:59 +07:00
Tony Narlock a8b958d537 Upcast Quill style tags, fixes #39
See also: https://github.com/quilljs/quill/blob/develop/formats/formula.js
2021-05-05 10:40:23 +07:00
Tony Narlock d60e65b220 README: Document development environment 2021-05-05 10:36:00 +07:00
Tony Narlock d77dcf0962 README: Show yarn command 2021-05-05 10:29:12 +07:00
Tony Narlock 6d00e3bdb5 demo: Add dev tools 2021-05-04 09:04:45 +07:00
Tony Narlock c1ac67b4c4 Demo: Live server / dev loop 2021-05-04 09:04:45 +07:00
Tony Narlock 9190b2b68b eslint: Ignore webpack / demo code 2021-05-04 09:04:45 +07:00
Tony Narlock 2024bd8f11 Prettier: Disable autoformatting for src/ folder 2021-05-04 09:04:45 +07:00
Tony Narlock 30058586ab Tag v27.1.1 2021-04-21 13:20:05 +07:00
Tony Narlock e587e3bbad Tag v27.1.0 2021-04-17 13:31:41 +07:00
Tony Narlock 993bd36cf4 README: Document previewClassName, popupClassName 2021-04-17 13:26:26 +07:00
Tony Narlock 0fb49a523e Config: Optional classes previewClassName and popupClassName 2021-04-17 13:26:26 +07:00
Tony Narlock 8f651a9100 Release v27.0.1 2021-04-17 13:25:31 +07:00
Tony Narlock 7d76ccb527 Fix typo in variable 2021-04-17 12:09:58 +07:00
zadam 611cdc3850 release 0.3.0 2021-04-10 11:22:26 +07:00
zadam 6cd9aadfca fix screenshot scaling issue on firefox, https://github.com/zadam/trilium/issues/1202 2021-04-10 11:18:01 +07:00
zadam 80e82b4fde Merge remote-tracking branch 'origin/master'
# Conflicts:
#	popup/popup.html
#	popup/popup.js
2021-03-31 22:25:16 +07:00
zadam 0811276fbb "save note" is now "save link with note" - i.e. we're saving a current URL together with the text note 2021-03-31 22:23:43 +07:00
Tony Narlock bf5dbbe3c5 Tag v27.0.0 for CKEditor5 v27.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v27.0.0
2021-03-29 10:07:48 +07:00
Tony Narlock 58fca40720 Update CHANGELOG for 27.0.0 2021-03-29 10:06:58 +07:00
Tony Narlock ff2d3e57b3 Update packages for CKEditor 27.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v27.0.0
2021-03-29 10:06:58 +07:00
Tony Narlock d6d5eff0b8 README: Fix style of ck-reset_all 2021-03-04 10:25:31 +07:00
Tony Narlock 7d7c01cfa6 README: Add links to MathJax and KaTeX 2021-03-04 10:25:31 +07:00
Tony Narlock cf3f17cb58 README: Small grammar fixes 2021-03-04 10:25:31 +07:00
Tony Narlock 2df892d855 README: Move buttons up 2021-03-04 10:25:31 +07:00
Tony Narlock b8432c124d README: Highlighting for latex examples 2021-03-04 10:25:31 +07:00
Tony Narlock 99df253967 README: Add NPM and License button 2021-03-04 10:25:31 +07:00
Tony Narlock a80ddea65f Update CHANGELOG and package to v26.0.0 2021-03-04 10:02:38 +07:00
Tony Narlock ad2737a939 Update CKEditor to 26.0.0
See also: https://github.com/ckeditor/ckeditor5/releases/tag/v26.0.0
2021-03-04 10:02:38 +07:00
Tony Narlock 24541dd1c5 chore(CHANGELOG): Fix version links 2021-03-02 12:50:10 +07:00
Tony Narlock e66c5fa6d6 Release v25.0.0 2021-03-02 19:11:54 +07:00
Tony Narlock d2bb791666 ckeditor: Update packages 24.0.0 -> 25.0.0 2021-03-02 19:11:54 +07:00
Tony Narlock acee711782 Fix typo in example 2021-03-02 19:10:35 +07:00
Sauli Anto de7a35ce1f Release: v24.0.1. 2021-02-28 13:57:17 +07:00
Sauli Anto ae589a886c Fix balloon view position 2021-02-28 13:49:22 +07:00
zadam e9825a4e50
Merge pull request #29 from alteist/close-tabs-after-saving-link
Add close tabs link in toast message after saving window's tabs
2021-02-22 21:43:17 +07:00
alteist b42fd1a6c5 code cleanup 2021-02-22 15:30:12 +07:00
alteist 73d48d8dd5 Add close tabs link in toast message after saving window's tabs 2021-02-22 14:35:55 +07:00
alteist 6824eb21d4 removed close tabs function, added toast message after saving 2021-02-22 13:34:34 +07:00
alteist 9abee14beb reformat code 2021-02-22 13:24:46 +07:00
alteist 6952c467cd Add save, send and close current window's tabs feature 2021-02-22 01:40:07 +07:00
zadam 57db2adf2d nowe don't sync recent_notes anymore 2021-02-12 22:40:26 +07:00
zadam 4f48625883 up to date with Trilium 0.46 2021-02-11 21:37:26 +07:00
zadam 1c75ea89ad scan only one port instead of 10, https://github.com/zadam/trilium/issues/1503 2020-12-31 00:48:23 +07:00
Sauli Anto 21cb5c2bb6 Release: v24.0.0. 2020-12-12 18:04:54 +07:00
Sauli Anto 72f5db8032 Release: v23.3.0. 2020-11-07 22:23:47 +07:00
Sauli Anto 3354872837 Add autoformat support 2020-11-07 22:19:00 +07:00
Sauli Anto 8d9c974761 Update dependencies 2020-11-07 20:02:46 +07:00
Sauli Anto fc02aef431 Release: v23.2.2. 2020-11-03 21:51:42 +07:00
Sauli Anto 21fccee3ed Update theme repository link 2020-11-03 21:48:08 +07:00
Sauli Anto dc288ea2a6 Fix placeholder handling 2020-11-03 21:45:49 +07:00
Sauli Anto 2fea2e2ffb Fix selection after entering inline expression 2020-11-03 21:45:38 +07:00
zadam 2d814af7f1 fix FF release script 2020-10-20 23:22:41 +07:00
zadam 16b2ffe5d2 release 0.2.0 2020-10-20 23:13:28 +07:00
zadam c67e1857e6 fix FF release script 2020-10-20 23:13:19 +07:00
zadam 1b880a8521 release 0.2.0 2020-10-20 23:09:57 +07:00
zadam 800aaa9f05 release 0.2.0 2020-10-20 23:09:40 +07:00
zadam 2a79ef0aa5 release 0.2.0 2020-10-20 23:09:01 +07:00
zadam 01525464a4 release 0.2.0 2020-10-20 22:57:37 +07:00
zadam b46a16d153 release 0.2.0 2020-10-20 22:53:34 +07:00
Sauli Anto ffb536d663 Release: v23.2.1. 2020-10-18 19:24:10 +07:00
Sauli Anto 68a1ef716c Add balloon block editor demo 2020-10-18 19:22:32 +07:00
Sauli Anto 3629401035 Fix math editing button for balloon editor 2020-10-18 19:19:21 +07:00
Sauli Anto 81414a90f2 Release: v23.2.0. 2020-10-18 14:44:30 +07:00
Sauli Anto aa0392c12f Add math editing button for balloon editor 2020-10-18 14:42:23 +07:00
Sauli Anto 82bb135b24 Release: v23.1.0. 2020-10-11 11:00:05 +07:00
Sauli Anto a665b64839 Add typesetting engine lazy load feature 2020-10-11 10:55:51 +07:00
Sauli Anto 4323e66ae9 Rename inner writer 2020-10-11 10:55:51 +07:00
zadam 89984a7d96 use correct active tab URL 2020-10-09 23:08:57 +07:00
zadam 097d319fca
Merge pull request #6 from lgorence/better_errors
Improve error handling
2020-10-09 22:29:27 +07:00
zadam 28eb3f2aae clip screenshot crops correctly when HIDPI display is used 2020-10-09 22:07:26 +07:00
zadam b61149382e
Merge pull request #24 from siralmat/keyboard-shortcuts
Keyboard shortcuts
2020-10-09 08:52:20 +07:00
zadam 1d682b2389
Merge pull request #23 from siralmat/fixes
Library fix: browser-polyfill.js
2020-10-09 08:51:07 +07:00
Rebecca 111a12f881 Documentation updates 2020-10-09 11:00:16 +07:00
Rebecca d9f6862978 Add support for keyboard shortcuts 2020-10-09 10:23:17 +07:00
Rebecca dfaf6267d3 Replace browser-polyfill.js with compiled script 2020-10-08 15:18:26 +07:00
Sauli Anto 2ab10594bb Update readme 2020-10-02 21:06:25 +07:00
Sauli Anto 4b269f8e58 Release: v23.0.0. 2020-10-02 20:36:16 +07:00
Sauli Anto 886a4f9725 Update all official CKEditor dependencies to version 23 2020-10-02 20:36:09 +07:00
zadam abc26a3867
Merge pull request #21 from meichthys/patch-1
Update Link to Joplin Web Clipper
2020-09-16 21:11:59 +07:00
MeIchthys cc1ad73c68
Update Link to Joplin Web Clipper
The old link was broken as the project structure changed.
2020-09-16 15:10:07 +07:00
Sauli Anto 574bddb215 Update gitignore 2020-09-10 20:24:56 +07:00
Sauli Anto b5a9332c32 Release: v22.0.0. 2020-08-29 18:01:17 +07:00
Sauli Anto 7d0cd0187f Fix writer and seperate schema 2020-08-29 17:33:41 +07:00
Marek Lewandowski c875badc77 Added icons dir to the release. Closes #6. 2020-08-23 12:15:36 +07:00
Marek Lewandowski e791bc06ca Version 1.0.2 released 🎉! 2020-08-12 07:37:06 +07:00
Marek Lewandowski 2d501b97d6 Added npm link in the readme. 2020-08-12 07:36:51 +07:00
Marek Lewandowski 69f6bcf9ac
Merge pull request #5 from fredck/mlewand/i/4
Fixed CKEditor dependencies for easier integration
2020-08-11 14:19:52 +07:00
fredck fbd223f399 Changed dependencies to peerDependencies and allow them to match future versions of CKEditor. 2020-08-11 13:50:19 +07:00
Sauli Anto 0ef44427ce Update readme 2020-08-03 19:14:26 +07:00
Sauli Anto e59bb5d396 Release: v21.0.0. 2020-08-03 19:10:57 +07:00
Marcello Fuschi 839d78d9c2 Update all official CKEditor dependencies to version 21 2020-08-03 18:58:45 +07:00
Marek Lewandowski a9f3c46e9c Fixed package description. 2020-07-16 14:36:35 +07:00
Sauli Anto 468423f096 Release: v20.0.0. 2020-07-13 12:43:55 +07:00
Marcello abeab6db83 Update all official CKEditor dependencies to version 20 2020-07-13 12:40:04 +07:00
zadam 7a42d7e229 send along a local datetime so that the creation date is saved correctly including the timezone 2020-05-29 20:27:17 +07:00
Sauli Anto ec8821ebf9 Update readme 2020-05-12 13:02:49 +07:00
Sauli Anto 8803dde7bc Release: v19.0.0. 2020-05-12 12:43:13 +07:00
Sauli Anto eec9573749 Update dependencies 2020-05-12 12:41:40 +07:00
Marek Lewandowski c3044f40c6 Version 1.0.1 released 🎉! 2020-05-03 21:58:43 +07:00
Marek Lewandowski d2cb1b9d13 Closes #2: Bumped CKE5 version. 2020-05-03 21:58:10 +07:00
Marek Lewandowski 992eccf2c5 Test directory should be ignored. 2020-05-03 21:19:02 +07:00
Marek Lewandowski 0e9c40ecc7 Bumped CKEditor5 upstream package version. 2020-05-03 20:56:13 +07:00
Marek Lewandowski 6890cae149 Added installation steps in the readme file. 2020-04-10 00:53:28 +07:00
Marek Lewandowski 9d10ce4849 Changed the hotkey to `ctrl+alt+k` as `shift+alt+k` is buggy due to https://github.com/ckeditor/ckeditor5/issues/6594. 2020-04-10 00:40:55 +07:00
Marek Lewandowski 3a5ca03970 Added tools config. 2020-04-09 23:42:00 +07:00
Marek Lewandowski c66b149093 Initial implementation of the plugin. 2020-04-09 23:40:58 +07:00
Marek Lewandowski f2eb988319 Added readme and package.json. 2020-04-09 23:34:46 +07:00
Marek Lewandowski debcf029da
Initial commit 2020-04-09 23:09:24 +07:00
Sauli Anto 44eca380a8 Update readme 2020-04-05 17:42:38 +07:00
Sauli Anto 94f6224e52 Release: v18.0.1. 2020-04-05 17:28:43 +07:00
Sauli Anto 9d15010f4a Fix spacebar bug in Firefox 2020-04-05 17:24:46 +07:00
zadam d3539ec9d7 Readability.js update 2020-04-05 15:37:44 +07:00
Sauli Anto 781b7c20fe Update readme 2020-04-05 14:36:31 +07:00
zadam 338f01be01 fixes and library updates 2020-04-02 22:49:27 +07:00
Sauli Anto 1df92a16c3 Update dependencies 2020-03-30 12:49:02 +07:00
zadam d94509a6e3 fixes 2020-03-11 21:55:05 +07:00
zadam 90688a9b59 fixes 2020-03-11 21:30:33 +07:00
zadam d937c754fb fixes 2020-03-11 21:23:56 +07:00
Sauli Anto 78d84b18b0 Update readme 2020-02-28 15:04:07 +07:00
Sauli Anto 425bfe2b03 Release: v17.0.1. 2020-02-27 20:35:10 +07:00
Sauli Anto ce79d13d07 Fix missing dependencies 2020-02-27 20:33:39 +07:00
Sauli Anto 2d75f242c5 Release: v17.0.0. 2020-02-27 20:05:52 +07:00
Sauli Anto 7d40a2c43a Change dependencies to devDependencies 2020-02-27 19:58:02 +07:00
Sauli Anto 4a17a88d7c Update dependencies to v17.0.0 2020-02-27 18:01:21 +07:00
Laurent Cozic d160d5c8d5 1.0.12 2020-01-08 16:52:08 +07:00
Laurent Cozic 0b2f3dc10a Fixed issue with tables that contain only one cell 2020-01-08 16:51:43 +07:00
zadam 99697c383e schema update 2019-12-16 21:22:11 +07:00
Sauli Anto 65198b331a Update readme 2019-10-15 21:32:25 +07:00
Laurent Cozic 9a12000eb0 1.0.11 2019-10-12 19:33:40 +07:00
Laurent Cozic 4368e08c32 1.0.10 2019-10-12 19:33:01 +07:00
Laurent Cozic 4304c3ad92 1.0.9 2019-10-12 19:32:48 +07:00
Laurent Cozic c00d538f88 Fixes #1: Some tables were imported with an extra header 2019-10-12 19:32:33 +07:00
Sauli Anto ec03d72ec5 Add testing guide 2019-10-11 21:37:29 +07:00
Sauli Anto a09eba801f Release: v1.0.3. 2019-10-11 19:31:18 +07:00
Sauli Anto 874cce63c8 Update readme 2019-10-11 19:26:39 +07:00
Sauli Anto b52da3bc6e Fix mathui tests 2019-10-11 19:22:03 +07:00
Sauli Anto 786fc0f3ce Fix automath tests 2019-10-11 18:10:41 +07:00
Sauli Anto b456ed6965 Add some tests 2019-10-09 13:38:30 +07:00
Sauli Anto 1f96286200 Fix disabled eslint lines 2019-10-09 12:21:55 +07:00
Sauli Anto 70fefa84f5 Fix preview flickering effect 2019-10-09 11:16:07 +07:00
Sauli Anto 69a0264f84 Release: v1.0.2. 2019-10-07 11:10:14 +07:00
Sauli Anto 102792a7f9 Update readme 2019-10-07 11:09:43 +07:00
Logan Gorence b1bda646c4
Fix imageless posts when taking a screenshot on an internal page. 2019-10-06 20:59:46 +07:00
Sauli Anto 217900f068 Update readme 2019-10-06 13:33:03 +07:00
Sauli Anto d9fdfda082 Add demos 2019-10-06 13:31:08 +07:00
Sauli Anto 98815fcef0 Add hash to math preview 2019-10-06 11:13:17 +07:00
Sauli Anto 60a145333a Release: v1.0.1. 2019-10-04 20:07:22 +07:00
Sauli Anto 070f84ebd6 Fix preview rendering bug 2019-10-04 20:01:28 +07:00
Sauli Anto 1527c7c9eb Fix rendering width 2019-10-04 18:45:32 +07:00
Sauli Anto ff0742cae3 Fix MathJax 3 rendering 2019-10-04 18:30:48 +07:00
Sauli Anto 91dff8dee9 Update screenshot 2019-10-03 23:39:53 +07:00
Sauli Anto 3002c1733a Remove unnecessary comma 2019-10-03 23:25:16 +07:00
Sauli Anto e40b95ae9e Fix readme indentations 2019-10-03 21:21:33 +07:00
Sauli Anto 16fad7bc19 Fix readme indentations 2019-10-03 21:21:00 +07:00
Sauli Anto ade4ff1b9f Update name 2019-10-03 20:45:50 +07:00
Sauli Anto 8b6804c2a0 Remove paste from office dependency 2019-10-03 19:47:35 +07:00
Sauli Anto 8e6281678a Release: v1.0.0. 2019-10-03 19:27:47 +07:00
Sauli Anto f846bfa029 Normalize line endings 2019-10-03 19:11:10 +07:00
Sauli Anto 379e1a6bef Update readme 2019-10-03 19:11:10 +07:00
Sauli Anto 5e17cf15de Update name 2019-10-03 19:11:10 +07:00
Sauli Anto d83f39e7e2 Fix ToC 2019-10-03 19:11:09 +07:00
Sauli Anto e09a35bb30 Update readme and add screenshots 2019-10-03 19:11:09 +07:00
Sauli Anto 6e6a7ec10a Fix MathJax 2 preview rendering 2019-10-03 19:11:09 +07:00
Sauli Anto 2984df0a9a Fix preview rendering 2019-10-03 19:11:09 +07:00
Sauli Anto 6ea1c38e24 Fix rest parameters 2019-10-03 19:11:09 +07:00
Sauli Anto b7ccab38ff Add preview fix 2019-10-03 19:11:09 +07:00
Sauli Anto e6605706c0 Add preview fix 2019-10-03 19:11:08 +07:00
Sauli Anto 2e94edf4f3 Fix styles 2019-10-03 19:11:08 +07:00
Sauli Anto f89affbc3f Refactor code 2019-10-03 19:11:08 +07:00
Sauli Anto 5011fe40b0 Update readme 2019-10-03 19:11:08 +07:00
Sauli Anto 18c3e58128 Update readme 2019-10-03 19:11:08 +07:00
Sauli Anto e5e78962f0 Remove math paste from office 2019-10-03 19:11:08 +07:00
Sauli Anto 7013be6825 Add paste from word base 2019-10-03 19:11:08 +07:00
Sauli Anto eebd28631e Add tests placeholder 2019-10-03 19:11:08 +07:00
Sauli Anto ec0dac482c Add missing dependencies 2019-10-03 19:11:08 +07:00
Sauli Anto 92007477b0 Format license 2019-10-03 19:11:07 +07:00
Sauli Anto 8e00885b29 Add temporary flickering fix 2019-10-03 19:11:07 +07:00
Sauli Anto fff7e87630 Fix equation regexp 2019-10-03 19:11:07 +07:00
Sauli Anto 6e08776268 Add automath and fix preview and display button 2019-10-03 19:11:07 +07:00
Sauli Anto eed45a5dd3 Add MathJax 3 support 2019-10-03 19:11:07 +07:00
Sauli Anto 566c9a40cb Fix linting errors 2019-10-03 19:11:07 +07:00
Sauli Anto 53c4c72c10 Update readme 2019-10-03 19:11:07 +07:00
Sauli Anto af404c2c22 Update readme 2019-10-03 19:11:06 +07:00
Sauli Anto cab4ef0e77 Fix readme typo 2019-10-03 19:11:06 +07:00
Sauli Anto 2aeafd440a Update readme 2019-10-03 19:11:06 +07:00
Sauli Anto 369b23c154 Update readme 2019-10-03 19:11:06 +07:00
Sauli Anto 23798cfbb7 Update documentation 2019-10-03 19:11:06 +07:00
Sauli Anto 97a142d9cb Remove log 2019-10-03 19:11:06 +07:00
Sauli Anto 820ed0bd9d Disable preview in katex 2019-10-03 19:11:06 +07:00
Sauli Anto 4bae994b4f Add output options 2019-10-03 19:11:06 +07:00
Sauli Anto fe3c7ba393 Update config 2019-10-03 19:11:06 +07:00
Sauli Anto dbaaa96ae9 Add engine option 2019-10-03 19:11:06 +07:00
Sauli Anto a89cadeac5 Add display toggle 2019-10-03 19:11:05 +07:00
Sauli Anto 13a10dcfdd Implement plugin 2019-10-03 19:10:28 +07:00
Laurent Cozic 6fb98621ce Publis script 2019-09-07 10:28:14 +07:00
Laurent Cozic a120d4ec9c Fix importing tables that contain pipes 2019-09-07 10:27:34 +07:00
Laurent Cozic 3358d85996 Fix importing tables that contain pipes 2019-09-07 10:27:01 +07:00
Laurent Cozic b33431774b Fix security issues 2019-09-07 10:18:23 +07:00
zadam 1a58026b23
Update README.md 2019-07-21 22:32:57 +07:00
zadam 372645f642 release 0.1.1 2019-07-20 15:53:10 +07:00
zadam d5a0542703 Merge remote-tracking branch 'origin/master' 2019-07-20 15:52:41 +07:00
zadam 7e5f9f87a1 release 0.1.0 2019-07-20 15:48:26 +07:00
zadam 4a646ca5a7 release 0.0.5 2019-07-20 14:59:12 +07:00
zadam 6d57e49646
Update README.md 2019-07-20 14:42:48 +07:00
zadam ab32a0f593 release 0.0.4 2019-07-20 14:40:56 +07:00
zadam 6b342d2fe7 fix repo name 2019-07-20 14:40:50 +07:00
zadam 56aef8b6ec release 0.0.3 2019-07-20 14:38:08 +07:00
zadam ae5e632cbd release fixes 2019-07-20 14:38:06 +07:00
zadam a952c1bf49 release 0.0.2 2019-07-20 12:19:53 +07:00
zadam d839f86b49 fixes 2019-07-20 12:19:47 +07:00
zadam 8cf44780ce release scripts + check of version compatibility 2019-07-20 12:17:59 +07:00
zadam 94222e80cf fix dev detection 2019-07-19 23:34:54 +07:00
zadam cf97c12516 sign firefox extension 2019-07-19 23:32:46 +07:00
zadam 4e21fc0c06 fix layout issue in chrome 2019-07-19 21:22:44 +07:00
zadam c45bbd0fc9 add .gitignore for .idea 2019-07-19 21:12:38 +07:00
zadam 9359d9924c version can't contain beta suffix 2019-07-19 21:12:13 +07:00
zadam 4618520bf9 font family for popup, different clip types for notes and whole pages 2019-07-19 21:05:22 +07:00
zadam d18045f905 gitignore 2019-07-19 20:40:31 +07:00
zadam bc1dae516b gitignore 2019-07-19 20:39:25 +07:00
zadam 8d28c14133 initial import 2019-07-19 20:35:53 +07:00
Laurent Cozic 7051ce787c 1.0.8 2019-05-11 00:26:38 +07:00
Laurent Cozic 1452200c79 Fixed handling of tables with empty headers 2019-05-11 00:26:27 +07:00
zadam 4b048df995 note_history => note_revisions 2019-04-14 14:53:05 +07:00
zadam aa8f4f964f update for latest DB changes 2019-04-11 22:53:35 +07:00
SukantGujar f685315681 Add npmjs.org friendly changes. 2019-03-27 15:32:08 +07:00
SukantGujar b580e182b9 Add linting 2019-03-26 17:17:10 +07:00
SukantGujar c88336692e v1.0.1 2019-03-22 11:12:18 +07:00
SukantGujar 76ef80b445 Update readme with examples 2019-03-20 15:04:07 +07:00
SukantGujar 36941dae3c Add createPartialContentHandler prefix to logs. 2019-03-19 16:26:50 +07:00
SukantGujar 4b28b4039e Add copyfiles for bundling example assets. 2019-03-19 16:22:19 +07:00
SukantGujar 6387127659 Add mongo content provider example. 2019-03-19 15:05:08 +07:00
SukantGujar 6262af11e7 Add nyc for code-coverage. 2019-03-12 20:06:29 +07:00
SukantGujar a1d2ca7d67 Add yarn cache to travis yml 2019-03-12 19:49:03 +07:00
SukantGujar f31457cffd Add travis ci status to readme. 2019-03-12 19:44:33 +07:00
SukantGujar 46f52f085c Specify nodejs version in travis yml 2019-03-12 19:40:02 +07:00
SukantGujar 3899aab6fe Add travis yml 2019-03-12 19:34:56 +07:00
SukantGujar 4f44bf1cc9 Merge branch 'master' of ssh://github.com-sukantgujar/SukantGujar/express-partial-content 2019-03-12 19:21:29 +07:00
Sukant Gujar 672e2fa732
Update issue templates 2019-03-12 19:20:47 +07:00
Sukant Gujar b02a9d1629
Create CONTRIBUTING.md 2019-03-12 19:19:52 +07:00
Sukant Gujar 37d664496a
Create CODE_OF_CONDUCT.md 2019-03-12 19:13:51 +07:00
Sukant Gujar 3e3858c1bf
Create LICENSE 2019-03-12 19:12:26 +07:00
SukantGujar 81f1f58b7f v1.0.0 2019-03-12 19:03:43 +07:00
SukantGujar 14b7ad9cb8 Add parseRangeHeader tests. 2019-03-12 19:01:50 +07:00
SukantGujar 805aa950b1 Add createPartialContentHandler tests 2019-03-12 18:30:26 +07:00
SukantGujar e44d08b081 Add missing setContentRangeHeader test 2019-03-12 18:30:03 +07:00
SukantGujar 3b1ba655cc Remove console.log 2019-03-12 18:29:13 +07:00
SukantGujar 0e03c8348a Fix returned status when content is not found. 2019-03-12 18:28:57 +07:00
SukantGujar 1ab683b1e7 Add tests for utils 2019-03-12 14:08:22 +07:00
SukantGujar fb5a68e830 Add npm registry related meta 2019-03-12 11:40:14 +07:00
SukantGujar 5675015f12 Merge branch 'master' of ssh://github.com-sukantgujar/SukantGujar/express-partial-content 2019-03-12 10:54:31 +07:00
SukantGujar 00cb4cdb47 Rename factory method, fix readme. 2019-03-12 10:53:04 +07:00
Sukant Gujar 3e5724a9a3 Set theme jekyll-theme-slate 2019-03-12 10:47:11 +07:00
SukantGujar fb8b4854ae Fix code example in readme. 2019-03-12 09:58:42 +07:00
SukantGujar 55856617d2 Split code, fix typo and add readme. 2019-03-12 09:56:33 +07:00
SukantGujar 7aa149dd55 Add description to the packaage. 2019-03-11 17:36:29 +07:00
SukantGujar ca0b97b471 Remove express from deps, move out fCP in separate file. 2019-03-11 17:34:44 +07:00
SukantGujar 33a4b1aea4 Fix compilation error. 2019-03-11 13:49:38 +07:00
SukantGujar 2d2d20f6e9 Split the code, add file server example. 2019-03-11 13:41:55 +07:00
SukantGujar 45439ef50d Add prod build and rimraf. 2019-03-08 18:49:44 +07:00
SukantGujar 9422491a44 Add first draft (untested). 2019-03-08 18:43:22 +07:00
SukantGujar 9a3d218c6e First commit 2019-03-07 17:19:23 +07:00
azivner f2605aaa3e formatting 2018-12-16 23:17:13 +07:00
Laurent Cozic 54f84c12fd 1.0.7 2018-06-09 19:41:25 +07:00
Laurent Cozic 118a856ee7 Merge branch 'master' of github.com:laurent22/joplin-turndown-plugin-gfm 2018-06-09 19:41:11 +07:00
Laurent Cozic 11225771b6 Don't render table outline if it contains only one cell, or no cell at all 2018-06-09 19:40:57 +07:00
azivner d74771b28c update according to latest schema 2018-06-01 23:13:21 +07:00
Laurent Cozic 18e93d7c0b
Update package.json 2018-05-24 12:34:39 +07:00
Laurent Cozic ec895d31fb 1.0.6 2018-05-24 12:31:46 +07:00
Laurent Cozic 59153ece46 Handle colspan in TD tags 2018-05-24 12:31:40 +07:00
Laurent Cozic 44aa7353f0 1.0.5 2018-05-22 00:15:34 +07:00
Laurent Cozic ecb6142c5a Fixed: Ensure there are no blank lines inside tables 2018-05-22 00:15:21 +07:00
Laurent Cozic a2d99a266b 1.0.4 2018-05-21 23:56:00 +07:00
Laurent Cozic 36179a8394 Make table cells at least 3 char long 2018-05-21 23:55:53 +07:00
Laurent Cozic 90cff86ac0 1.0.3 2018-05-21 23:42:28 +07:00
Laurent Cozic a1fa10e997 Merge branch 'master' of github.com:laurent22/joplin-turndown-plugin-gfm 2018-05-21 23:42:14 +07:00
Laurent Cozic 7af39b57f0 Replace newlines inside table cells so that resulting markdown is valid 2018-05-21 23:42:02 +07:00
Laurent Cozic d1563a336a
Update README.md 2018-05-21 23:23:19 +07:00
Laurent Cozic 0f64fe53cb Merge branch 'master' of github.com:laurent22/joplin-turndown-plugin-gfm 2018-05-21 23:22:44 +07:00
Laurent Cozic 36263e6295 Moved package to different namespace so that it can be published to npm 2018-05-21 23:22:32 +07:00
Laurent Cozic 616cc129e2 Don't render the border of tables that contain other tables 2018-05-21 23:21:37 +07:00
Laurent Cozic 9bcb5ec3a9
Update README.md 2018-05-21 23:20:53 +07:00
Laurent Cozic 813b9a61b0 Fix trailing space issue 2018-05-17 01:29:33 +07:00
Laurent Cozic e77328fb23 Handle tables with no headers by creating an empty Markdown header 2018-05-17 01:01:36 +07:00
Dom Christie 61a981b8c6 1.0.2 2018-05-11 12:05:19 +07:00
Dom Christie 22f423429c
Merge pull request #9 from domchristie/tables_with_no_heading_row
Keep tables with no definitive heading row
2018-05-11 12:03:16 +07:00
Dom Christie 93d5aed1fe Keep tables with no definitive heading row 2018-05-11 11:55:21 +07:00
Dom Christie 7eeb773b6b Update security vulnerabilities according to npm audit 2018-05-11 11:20:17 +07:00
azivner 074a063d82 up to date with Trilium 0.6 2018-02-18 22:43:33 +07:00
azivner 1e18443a12 up to date with Trilium 0.4 2018-01-17 23:06:02 +07:00
azivner 031a6eef35 fix columns to reflect current schema 2017-12-30 16:34:58 +07:00
Dom Christie cbe8dc5e5c 1.0.1 2017-12-19 10:01:33 +07:00
Dom Christie aa1b4789ca
Merge pull request #2 from domchristie/update_turndown_4.0.1
Update turndown dev dependency to latest version
2017-12-19 10:01:00 +07:00
Dom Christie b80a6dcb27 Update turndown dev dependency to latest version 2017-12-19 09:55:46 +07:00
Dom Christie 27e789a749
Merge pull request #1 from Galadirith/fix-unpkg-url
Use correct unpkg url for plugin
2017-12-18 18:30:04 +07:00
Edward Fauchon-Jones 1830087ab8
Use correct unpkg url for plugin 2017-12-18 14:03:52 +07:00
Dom Christie 874b9c7ecb 1.0.0 2017-12-17 12:26:55 +07:00
Dom Christie 77c6234c2f Add repository field 2017-12-17 12:26:45 +07:00
Dom Christie 81077a68dd Clarify module files 2017-12-17 12:25:01 +07:00
Dom Christie 20bde1cef6 Update turndown version 2017-12-17 12:24:03 +07:00
Dom Christie 4730ad37bc Fix turndown require path 2017-12-15 08:45:56 +07:00
Dom Christie a999761fa0 Add travis config 2017-12-15 08:36:34 +07:00
Dom Christie ac25f96d4c Update package-lock 2017-12-15 08:32:40 +07:00
azivner e9e92f93b3 fixed recent notes according to updated schema 2017-12-14 22:31:49 +07:00
Dom Christie 37fadbdcf1 0.0.3 2017-12-13 20:53:12 +07:00
azivner 1fdea480d3 fixed terminology 2017-12-12 23:16:38 +07:00
Dom Christie 7354350a22 Use widely-supported method to get align attribute 2017-12-12 22:55:54 +07:00
azivner cd1ce48564 more advanced comparison, synced with how content hash is computed 2017-11-29 19:56:14 +07:00
Dom Christie abd6a18b50 0.0.2 2017-11-24 11:26:12 +07:00
Dom Christie 5603573b6d Build test in build script 2017-11-24 11:26:00 +07:00
Dom Christie 5663b4e006 Do not track test browser build 2017-11-24 11:20:42 +07:00
Dom Christie b2f021ee9e Remove gfm test browser build 2017-11-24 11:20:22 +07:00
Dom Christie 611f0f037c Add highlighted code block rules 2017-11-24 11:19:37 +07:00
Dom Christie a4ef6870b7 Improve table heading row conversion 2017-11-24 11:18:27 +07:00
azivner d21d5d4350 initial import 2017-11-23 23:19:45 +07:00
zadam a016a2ba8f
Initial commit 2017-11-23 23:16:53 +07:00
Dom Christie 42e4a09b57 Add gfm plugins 2017-11-10 14:21:46 +07:00
Dom Christie 216791b9da Use minimal gitignore 2017-11-10 14:14:35 +07:00
Dom Christie 202027774a
Initial commit 2017-11-10 14:09:07 +07:00
3969 changed files with 224820 additions and 195899 deletions

@ -1,42 +0,0 @@
# ignored Files
.dockerignore
.editorconfig
.git*
.prettier*
electron*
entitlements.plist
nodemon.json
renovate.json
trilium.iml
Dockerfile
Dockerfile.*
npm-debug.log
/src/**/*.spec.ts
# ignored folders
/.cache
/.git
/.github
/.idea
/.vscode
/bin
/build
/dist
/docs
/dump-db
/e2e
/integration-tests
/spec
/test
/test-etapi
/node_modules
# exceptions
!/bin/copy-dist.ts
# temporary exception to make copy-dist inside Docker build not fail
# TriliumNextTODO: make copy-dist *not* requiring to copy this file for builds other than electron-forge
!forge.config.cjs
!/bin/tpl
!/bin/electron-forge/desktop.ejs

@ -8,6 +8,9 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.sh]
end_of_line = lf
[{server,translation}.json]
charset = utf-8
end_of_line = lf

@ -0,0 +1 @@
NODE_OPTIONS=--max_old_space_size=4096

21
.gitattributes vendored

@ -1,4 +1,21 @@
# Mark files as auto-generated to simplify reviews.
package-lock.json linguist-generated=true
**/package-lock.json linguist-generated=true
src/public/app/doc_notes/en/User[[:space:]]Guide/** linguist-generated=true
libraries/** linguist-vendored
apps/server/src/assets/doc_notes/en/User[[:space:]]Guide/** linguist-generated
# Ignore from GitHub language stats.
apps/server/src/assets/doc_notes/en/User[[:space:]]Guide/**/*.html eol=lf
apps/server/src/assets/doc_notes/** linguist-vendored=true
apps/edit-docs/demo/** linguist-vendored=true
docs/** linguist-vendored=true
# Normalize line endings.
docs/**/*.md eol=lf
docs/**/*.json eol=lf
demo/**/*.html eol=lf
demo/**/*.json eol=lf
demo/**/*.svg eol=lf
demo/**/*.txt eol=lf
demo/**/*.js eol=lf
demo/**/*.css eol=lf
*.sh eol=lf

@ -1,4 +1,4 @@
# These are supported funding model platforms
github: [zadam]
custom: ["https://paypal.me/za4am"]
github: [eliandoran]
custom: ["https://paypal.me/eliandoran"]

@ -8,206 +8,157 @@ inputs:
arch:
description: "The architecture to build for: x64, arm64"
required: true
extension:
description: "Platform specific extensions to copy in the output: dmg, deb, rpm, exe, zip"
shell:
description: "Which shell to use"
required: true
forge_platform:
description: "The --platform to pass to Electron Forge"
required: true
runs:
using: composite
steps:
# Certificate setup
- name: Import Apple certificates
if: inputs.os == 'macos'
uses: apple-actions/import-codesign-certs@v3
with:
p12-file-base64: ${{ env.APPLE_APP_CERTIFICATE_BASE64 }}
p12-password: ${{ env.APPLE_APP_CERTIFICATE_PASSWORD }}
keychain: build
keychain-password: ${{ github.run_id }}
- name: Install Installer certificate
if: inputs.os == 'macos'
uses: apple-actions/import-codesign-certs@v3
with:
p12-file-base64: ${{ env.APPLE_INSTALLER_CERTIFICATE_BASE64 }}
p12-password: ${{ env.APPLE_INSTALLER_CERTIFICATE_PASSWORD }}
keychain: build
keychain-password: ${{ github.run_id }}
# We don't need to create a keychain here because we're using the build keychain that was created in the previous step
create-keychain: false
- name: Verify certificates
if: inputs.os == 'macos'
shell: bash
run: |
echo "Available signing identities:"
security find-identity -v -p codesigning build.keychain
- name: Set up Python and other macOS dependencies
if: ${{ inputs.os == 'macos' }}
shell: bash
run: |
brew install python-setuptools
brew install create-dmg
- name: Install dependencies for RPM and Flatpak package building
if: ${{ inputs.os == 'linux' }}
shell: bash
run: |
sudo apt-get update && sudo apt-get install rpm flatpak-builder elfutils
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
FLATPAK_ARCH=$(if [[ ${{ inputs.arch }} = 'arm64' ]]; then echo 'aarch64'; else echo 'x86_64'; fi)
FLATPAK_VERSION='24.08'
flatpak install --user --no-deps --arch $FLATPAK_ARCH --assumeyes runtime/org.freedesktop.Platform/$FLATPAK_ARCH/$FLATPAK_VERSION runtime/org.freedesktop.Sdk/$FLATPAK_ARCH/$FLATPAK_VERSION org.electronjs.Electron2.BaseApp/$FLATPAK_ARCH/$FLATPAK_VERSION
# Build setup
- name: Install dependencies
shell: bash
run: npm ci
- name: Update build info
shell: bash
run: npm run chore:update-build-info
# Critical debugging configuration
- name: Run electron-forge build with enhanced logging
shell: bash
env:
# Pass through required environment variables for signing and notarization
APPLE_TEAM_ID: ${{ env.APPLE_TEAM_ID }}
APPLE_ID: ${{ env.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ env.APPLE_ID_PASSWORD }}
run: |
# Map OS names to Electron Forge platform names
if [ "${{ inputs.os }}" = "macos" ]; then
PLATFORM="darwin"
elif [ "${{ inputs.os }}" = "windows" ]; then
PLATFORM="win32"
else
PLATFORM="${{ inputs.os }}"
fi
npm run electron-forge:make -- \
--arch=${{ inputs.arch }} \
--platform=$PLATFORM
# Add DMG signing step
- name: Sign DMG
if: inputs.os == 'macos'
shell: bash
run: |
echo "Signing DMG file..."
dmg_file=$(find ./dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
# Get the first valid signing identity from the keychain
SIGNING_IDENTITY=$(security find-identity -v -p codesigning build.keychain | grep "Developer ID Application" | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
if [ -z "$SIGNING_IDENTITY" ]; then
echo "Error: No valid Developer ID Application certificate found in keychain"
exit 1
fi
echo "Using signing identity: $SIGNING_IDENTITY"
# Sign the DMG
codesign --force --sign "$SIGNING_IDENTITY" --options runtime --timestamp "$dmg_file"
# Notarize the DMG
xcrun notarytool submit "$dmg_file" --apple-id "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --team-id "$APPLE_TEAM_ID" --wait
# Staple the notarization ticket
xcrun stapler staple "$dmg_file"
else
echo "No DMG found to sign"
fi
- name: Verify code signing
if: inputs.os == 'macos'
shell: bash
run: |
echo "Verifying code signing for all artifacts..."
# First check the .app bundle
echo "Looking for .app bundle..."
app_bundle=$(find ./dist -name "*.app" -print -quit)
if [ -n "$app_bundle" ]; then
echo "Found app bundle: $app_bundle"
echo "Verifying app bundle signing..."
codesign --verify --deep --strict --verbose=2 "$app_bundle"
echo "Displaying app bundle signing info..."
codesign --display --verbose=2 "$app_bundle"
echo "Checking entitlements..."
codesign --display --entitlements :- "$app_bundle"
echo "Checking notarization status..."
xcrun stapler validate "$app_bundle" || echo "Warning: App bundle not notarized yet"
else
echo "No .app bundle found to verify"
fi
# Then check DMG if it exists
echo "Looking for DMG..."
dmg_file=$(find ./dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
echo "Verifying DMG signing..."
codesign --verify --deep --strict --verbose=2 "$dmg_file"
echo "Displaying DMG signing info..."
codesign --display --verbose=2 "$dmg_file"
echo "Checking DMG notarization..."
xcrun stapler validate "$dmg_file" || echo "Warning: DMG not notarized yet"
else
echo "No DMG found to verify"
fi
# Finally check ZIP if it exists
echo "Looking for ZIP..."
zip_file=$(find ./dist -name "*.zip" -print -quit)
if [ -n "$zip_file" ]; then
echo "Found ZIP: $zip_file"
echo "Note: ZIP files are not code signed, but their contents should be"
# Certificate setup
- name: Import Apple certificates
if: inputs.os == 'macos'
uses: apple-actions/import-codesign-certs@v5
with:
p12-file-base64: ${{ env.APPLE_APP_CERTIFICATE_BASE64 }}
p12-password: ${{ env.APPLE_APP_CERTIFICATE_PASSWORD }}
keychain: build-app-${{ github.run_id }}
keychain-password: ${{ github.run_id }}
- name: Install Installer certificate
if: inputs.os == 'macos'
uses: apple-actions/import-codesign-certs@v5
with:
p12-file-base64: ${{ env.APPLE_INSTALLER_CERTIFICATE_BASE64 }}
p12-password: ${{ env.APPLE_INSTALLER_CERTIFICATE_PASSWORD }}
keychain: build-installer-${{ github.run_id }}
keychain-password: ${{ github.run_id }}
- name: Verify certificates
if: inputs.os == 'macos'
shell: ${{ inputs.shell }}
run: |
echo "Available signing identities in app keychain:"
security find-identity -v -p codesigning build-app-${{ github.run_id }}.keychain
echo "Available signing identities in installer keychain:"
security find-identity -v -p codesigning build-installer-${{ github.run_id }}.keychain
# Make the keychains searchable
security list-keychains -d user -s build-app-${{ github.run_id }}.keychain build-installer-${{ github.run_id }}.keychain $(security list-keychains -d user | tr -d '"')
security default-keychain -s build-app-${{ github.run_id }}.keychain
security unlock-keychain -p ${{ github.run_id }} build-app-${{ github.run_id }}.keychain
security unlock-keychain -p ${{ github.run_id }} build-installer-${{ github.run_id }}.keychain
security set-keychain-settings -t 3600 -l build-app-${{ github.run_id }}.keychain
security set-keychain-settings -t 3600 -l build-installer-${{ github.run_id }}.keychain
- name: Set up Python and other macOS dependencies
if: ${{ inputs.os == 'macos' }}
shell: ${{ inputs.shell }}
run: |
brew install python-setuptools
brew install create-dmg
- name: Install dependencies for RPM and Flatpak package building
if: ${{ inputs.os == 'linux' }}
shell: ${{ inputs.shell }}
run: |
sudo apt-get update && sudo apt-get install rpm flatpak-builder elfutils
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
FLATPAK_ARCH=$(if [[ ${{ inputs.arch }} = 'arm64' ]]; then echo 'aarch64'; else echo 'x86_64'; fi)
FLATPAK_VERSION='24.08'
flatpak install --user --no-deps --arch $FLATPAK_ARCH --assumeyes runtime/org.freedesktop.Platform/$FLATPAK_ARCH/$FLATPAK_VERSION runtime/org.freedesktop.Sdk/$FLATPAK_ARCH/$FLATPAK_VERSION org.electronjs.Electron2.BaseApp/$FLATPAK_ARCH/$FLATPAK_VERSION
- name: Update build info
shell: ${{ inputs.shell }}
run: npm run chore:update-build-info
# Critical debugging configuration
- name: Run electron-forge build with enhanced logging
shell: ${{ inputs.shell }}
env:
# Pass through required environment variables for signing and notarization
APPLE_TEAM_ID: ${{ env.APPLE_TEAM_ID }}
APPLE_ID: ${{ env.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ env.APPLE_ID_PASSWORD }}
WINDOWS_SIGN_EXECUTABLE: ${{ env.WINDOWS_SIGN_EXECUTABLE }}
TRILIUM_ARTIFACT_NAME_HINT: TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}
run: pnpm nx --project=desktop electron-forge:make -- --arch=${{ inputs.arch }} --platform=${{ inputs.forge_platform }}
# Add DMG signing step
- name: Sign DMG
if: inputs.os == 'macos'
shell: ${{ inputs.shell }}
run: |
echo "Signing DMG file..."
dmg_file=$(find ./apps/desktop/dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
# Get the first valid signing identity from the keychain
SIGNING_IDENTITY=$(security find-identity -v -p codesigning build-app-${{ github.run_id }}.keychain | grep "Developer ID Application" | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
if [ -z "$SIGNING_IDENTITY" ]; then
echo "Error: No valid Developer ID Application certificate found in keychain"
exit 1
fi
- name: Prepare artifacts
shell: bash
run: |
mkdir -p upload
if [ "${{ inputs.os }}" = "macos" ]; then
# For macOS, we need to look in specific directories based on the maker
echo "Collecting macOS artifacts..."
# Look for DMG files recursively
echo "Looking for DMG files..."
dmg_file=$(find ./dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
cp "$dmg_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.dmg"
else
echo "Warning: No DMG file found"
fi
# Look for ZIP files recursively
echo "Looking for ZIP files..."
zip_file=$(find ./dist -name "*.zip" -print -quit)
if [ -n "$zip_file" ]; then
echo "Found ZIP: $zip_file"
cp "$zip_file" "upload/TriliumNextNotes-${{ github.ref_name }}-macos-${{ inputs.arch }}.zip"
else
echo "Warning: No ZIP file found"
fi
else
# For other platforms, use the existing logic but with better error handling
echo "Collecting artifacts for ${{ inputs.os }}..."
for ext in ${{ inputs.extension }}; do
echo "Looking for .$ext files..."
file=$(find ./dist -name "*.$ext" -print -quit)
if [ -n "$file" ]; then
echo "Found $file for extension $ext"
cp "$file" "upload/TriliumNextNotes-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.$ext"
else
echo "Warning: No file found with extension .$ext"
fi
done
fi
echo "Final contents of upload directory:"
ls -la upload/
echo "Using signing identity: $SIGNING_IDENTITY"
# Sign the DMG
codesign --force --sign "$SIGNING_IDENTITY" --options runtime --timestamp "$dmg_file"
# Notarize the DMG
xcrun notarytool submit "$dmg_file" --apple-id "$APPLE_ID" --password "$APPLE_ID_PASSWORD" --team-id "$APPLE_TEAM_ID" --wait
# Staple the notarization ticket
xcrun stapler staple "$dmg_file"
else
echo "No DMG found to sign"
fi
- name: Verify code signing
if: inputs.os == 'macos'
shell: ${{ inputs.shell }}
run: |
echo "Verifying code signing for all artifacts..."
# First check the .app bundle
echo "Looking for .app bundle..."
app_bundle=$(find ./apps/desktop/dist -name "*.app" -print -quit)
if [ -n "$app_bundle" ]; then
echo "Found app bundle: $app_bundle"
echo "Verifying app bundle signing..."
codesign --verify --deep --strict --verbose=2 "$app_bundle"
echo "Displaying app bundle signing info..."
codesign --display --verbose=2 "$app_bundle"
echo "Checking entitlements..."
codesign --display --entitlements :- "$app_bundle"
echo "Checking notarization status..."
xcrun stapler validate "$app_bundle" || echo "Warning: App bundle not notarized yet"
else
echo "No .app bundle found to verify"
fi
# Then check DMG if it exists
echo "Looking for DMG..."
dmg_file=$(find ./apps/desktop/dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
echo "Verifying DMG signing..."
codesign --verify --deep --strict --verbose=2 "$dmg_file"
echo "Displaying DMG signing info..."
codesign --display --verbose=2 "$dmg_file"
echo "Checking DMG notarization..."
xcrun stapler validate "$dmg_file" || echo "Warning: DMG not notarized yet"
else
echo "No DMG found to verify"
fi
# Finally check ZIP if it exists
echo "Looking for ZIP..."
zip_file=$(find ./apps/desktop/dist -name "*.zip" -print -quit)
if [ -n "$zip_file" ]; then
echo "Found ZIP: $zip_file"
echo "Note: ZIP files are not code signed, but their contents should be"
fi

@ -8,24 +8,26 @@ inputs:
runs:
using: composite
steps:
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: Install dependencies
shell: bash
run: npm ci
- name: Run Linux server build
env:
MATRIX_ARCH: ${{ inputs.arch }}
shell: bash
run: |
npm run chore:update-build-info
./bin/build-server.sh
- name: Prepare artifacts
shell: bash
run: |
mkdir -p upload
file=$(find dist -name '*.tar.xz' -print -quit)
cp "$file" "upload/TriliumNextNotes-Server-${{ github.ref_name }}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz"
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
- name: Run Linux server build
env:
MATRIX_ARCH: ${{ inputs.arch }}
shell: bash
run: |
pnpm run chore:update-build-info
pnpm nx --project=server package
- name: Prepare artifacts
shell: bash
run: |
mkdir -p upload
file=$(find ./apps/server/out -name '*.tar.xz' -print -quit)
name=${{ github.ref_name }}
cp "$file" "upload/TriliumNextNotes-Server-${name//\//-}-${{ inputs.os }}-${{ inputs.arch }}.tar.xz"

@ -0,0 +1,79 @@
name: 'Bundle size reporter'
description: 'Post bundle size difference compared to another branch'
inputs:
branch:
description: 'Branch to compare to'
required: true
default: 'main'
paths:
description:
'Paths to json file bundle size report or folder containing bundles'
required: true
default: '/'
onlyDiff:
description: 'Report only different sizes'
required: false
default: 'false'
filter:
description: 'Regex filter based on file path'
required: false
unit:
description: 'Size unit'
required: false
default: 'KB'
# Comment inputs
comment:
description: 'Post comment'
required: false
default: 'true'
header:
description: 'Comment header'
required: false
default: 'Bundle size report'
append:
description: 'Append comment'
required: false
default: 'false'
ghToken:
description: 'Github token'
required: false
runs:
using: 'composite'
steps:
# Checkout branch to compare to [required]
- name: Checkout base branch
uses: actions/checkout@v4
with:
ref: ${{ inputs.branch }}
path: br-base
token: ${{ inputs.ghToken }}
# Generate the bundle size difference report [required]
- name: Generate report
id: bundleSize
uses: nejcm/bundle-size-reporter-action@v1.4.1
with:
paths: ${{ inputs.paths }}
onlyDiff: ${{ inputs.onlyDiff }}
filter: ${{ inputs.filter }}
unit: ${{ inputs.unit }}
# Post github action summary
- name: Post summary
if: ${{ steps.bundleSize.outputs.hasDifferences == 'true' }} # post only in case of changes
run: |
echo '${{ steps.bundleSize.outputs.summary }}' >> $GITHUB_STEP_SUMMARY
shell: bash
# Post github action comment
- name: Post comment
uses: marocchino/sticky-pull-request-comment@v2
if: ${{ steps.bundleSize.outputs.hasDifferences == 'true' }} # post only in case of changes
with:
number: ${{ github.event.pull_request.number }}
header: ${{ inputs.header }}
append: ${{ inputs.append }}
message: '${{ steps.bundleSize.outputs.summary }}'
GITHUB_TOKEN: ${{ inputs.ghToken }}

@ -0,0 +1,100 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL Advanced"
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
schedule:
- cron: '20 7 * * 0'
jobs:
analyze:
name: Analyze (${{ matrix.language }})
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
# required for all workflows
security-events: write
# required to fetch internal or private CodeQL packs
packages: read
# only required for workflows in private repositories
actions: read
contents: read
strategy:
fail-fast: false
matrix:
include:
- language: actions
build-mode: none
- language: javascript-typescript
build-mode: none
# CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
# or others). This is typically only required for manual builds.
# - name: Setup runtime (example)
# uses: actions/setup-example@v1
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# If the analyze step fails for one of the languages you are analyzing with
# "We were unable to automatically build your code", modify the matrix above
# to set the build mode to "manual" for that language. Then modify this step
# to build your code.
# Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
- if: matrix.build-mode == 'manual'
shell: bash
run: |
echo 'If you are using a "manual" build mode for one or more of the' \
'languages you are analyzing, replace this with the commands to build' \
'your code, for example:'
echo ' make bootstrap'
echo ' make release'
exit 1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"

@ -15,39 +15,78 @@ env:
IMAGE_NAME: ${{ github.repository_owner }}/notes
TEST_TAG: ${{ github.repository_owner }}/notes:test
permissions:
pull-requests: write # for PR comments
jobs:
test_dev:
name: Test development
check-affected:
name: Check affected jobs (NX)
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # needed for https://github.com/marketplace/actions/nx-set-shas
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: npm ci
- uses: nrwl/nx-set-shas@v4
- name: Check affected
run: pnpm nx affected --verbose -t typecheck build rebuild-deps test-build
- name: Run the TypeScript build
run: npx tsc
test_dev:
name: Test development
runs-on: ubuntu-latest
needs:
- check-affected
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Run the unit tests
run: npm run test
run: pnpm run test:all
build_docker:
name: Build Docker image
runs-on: ubuntu-latest
needs:
- test_dev
- check-affected
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Update build info
run: pnpm run chore:update-build-info
- name: Trigger client build
run: pnpm nx run client:build
- name: Send client bundle stats to RelativeCI
uses: relative-ci/agent-action@v3
with:
webpackStatsFile: ./apps/client/dist/webpack-stats.json
key: ${{ secrets.RELATIVE_CI_CLIENT_KEY }}
- name: Trigger server build
run: pnpm nx run server:build
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
context: apps/server
cache-from: type=gha
cache-to: type=gha,mode=max
test_docker:
@ -55,6 +94,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build_docker
- check-affected
strategy:
matrix:
include:
@ -64,6 +104,15 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Update build info
run: pnpm run chore:update-build-info
- name: Trigger build
run: pnpm nx run server:build
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
- name: Set TEST_TAG to lowercase
@ -75,8 +124,8 @@ jobs:
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
context: apps/server
file: apps/server/${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
@ -98,5 +147,4 @@ jobs:
# Print the entire log of the container thus far, regardless if the healthcheck failed or succeeded
- name: Print entire log
if: always()
run: |
journalctl -u docker CONTAINER_NAME=trilium_local --no-pager
run: journalctl -u docker CONTAINER_NAME=trilium_local --no-pager

@ -42,26 +42,27 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
node-version: 22
cache: "pnpm"
- name: Install npm dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: pnpm exec playwright install --with-deps
- name: Run the TypeScript build
run: npx tsc
run: pnpm run server:build
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
context: apps/server
file: apps/server/${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
@ -69,7 +70,7 @@ jobs:
- name: Validate container run output
run: |
CONTAINER_ID=$(docker run -d --log-driver=journald --rm --network=host -e TRILIUM_PORT=8082 --volume ./integration-tests/db:/home/node/trilium-data --name trilium_local ${{ env.TEST_TAG }})
CONTAINER_ID=$(docker run -d --log-driver=journald --rm --network=host -e TRILIUM_PORT=8082 --volume ./apps/server/spec/db:/home/node/trilium-data --name trilium_local ${{ env.TEST_TAG }})
echo "Container ID: $CONTAINER_ID"
- name: Wait for the healthchecks to pass
@ -81,7 +82,15 @@ jobs:
require-healthy: true
- name: Run Playwright tests
run: TRILIUM_DOCKER=1 npx playwright test
run: TRILIUM_DOCKER=1 TRILIUM_PORT=8082 pnpm exec nx run server-e2e:e2e
- name: Upload Playwright trace
if: failure()
uses: actions/upload-artifact@v4
with:
name: Playwright trace (${{ matrix.dockerfile }})
path: test-output/playwright/output
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
@ -110,6 +119,9 @@ jobs:
- dockerfile: Dockerfile
platform: linux/arm/v7
image: ubuntu-24.04-arm
- dockerfile: Dockerfile
platform: linux/arm/v8
image: ubuntu-24.04-arm
runs-on: ${{ matrix.image }}
needs:
- test_docker
@ -128,9 +140,24 @@ jobs:
- name: Set TEST_TAG to lowercase
run: echo "TEST_TAG=${TEST_TAG,,}" >> $GITHUB_ENV
- name: Checkout repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run the TypeScript build
run: pnpm run server:build
- name: Update build info
run: pnpm run chore:update-build-info
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
@ -169,8 +196,8 @@ jobs:
id: build
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
context: apps/server
file: apps/server/${{ matrix.dockerfile }}
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true

@ -1,93 +0,0 @@
name: Main
on:
push:
branches:
- "feature/update**"
- "feature/server_esm**"
paths-ignore:
- "docs/**"
- ".github/workflows/main-docker.yml"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
make-electron:
name: Make Electron
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
os:
- name: macos
image: macos-latest
extension: [dmg, zip]
- name: linux
image: ubuntu-latest
extension: [deb, rpm, zip, flatpak]
- name: windows
image: windows-latest
extension: [exe, zip]
runs-on: ${{ matrix.os.image }}
steps:
- uses: actions/checkout@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 20
- name: Run the build
uses: ./.github/actions/build-electron
with:
os: ${{ matrix.os.name }}
arch: ${{ matrix.arch }}
extension: ${{ matrix.os.extension }}
env:
APPLE_APP_CERTIFICATE_BASE64: ${{ secrets.APPLE_APP_CERTIFICATE_BASE64 }}
APPLE_APP_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_APP_CERTIFICATE_PASSWORD }}
APPLE_INSTALLER_CERTIFICATE_BASE64: ${{ secrets.APPLE_INSTALLER_CERTIFICATE_BASE64 }}
APPLE_INSTALLER_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_INSTALLER_CERTIFICATE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
# Clean up keychain after build
- name: Clean up keychain
if: matrix.os.name == 'macos' && always()
run: |
security delete-keychain build.keychain
- name: Publish artifacts
uses: actions/upload-artifact@v4
with:
name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}.zip
path: upload/*.zip
- name: Publish installer artifacts
uses: actions/upload-artifact@v4
with:
name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}.${{matrix.os.extension}}
path: upload/*.${{ matrix.os.extension }}
build_linux_server:
name: Build Linux Server
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
include:
- arch: x64
runs-on: ubuntu-latest
- arch: arm64
runs-on: ubuntu-24.04-arm
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- name: Run the build
uses: ./.github/actions/build-server
with:
arch: ${{ matrix.arch }}
- uses: actions/upload-artifact@v4
with:
name: TriliumNextNotes linux server ${{ matrix.arch }}
path: upload/TriliumNextNotes-linux-${{ matrix.arch }}-${{ github.ref_name }}.tar.xz

@ -5,11 +5,26 @@ on:
- cron: "0 2 * * *" # run at 2 AM UTC
# This can be used to allow manually triggering nightlies from the web interface
workflow_dispatch:
push:
branches:
- renovate/electron-forge*
pull_request:
paths:
- .github/actions/build-electron/*
- .github/workflows/nightly.yml
- forge.config.ts
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
GITHUB_UPLOAD_URL: https://uploads.github.com/repos/TriliumNext/Notes/releases/179589950/assets{?name,label}
GITHUB_RELEASE_ID: 179589950
permissions:
contents: write
jobs:
nightly-electron:
name: Deploy nightly
@ -20,23 +35,28 @@ jobs:
os:
- name: macos
image: macos-latest
extension: [dmg, zip]
shell: bash
forge_platform: darwin
- name: linux
image: ubuntu-latest
extension: [deb, rpm, zip, flatpak]
image: ubuntu-22.04
shell: bash
forge_platform: linux
- name: windows
image: windows-latest
extension: [exe, zip]
image: win-signing
shell: cmd
forge_platform: win32
runs-on: ${{ matrix.os.image }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
- name: Install dependencies
shell: bash
run: npm ci
run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4
- name: Update nightly version
run: npm run chore:ci-update-nightly-version
- name: Run the build
@ -44,7 +64,8 @@ jobs:
with:
os: ${{ matrix.os.name }}
arch: ${{ matrix.arch }}
extension: ${{ join(matrix.os.extension, ' ') }}
shell: ${{ matrix.os.shell }}
forge_platform: ${{ matrix.os.forge_platform }}
env:
APPLE_APP_CERTIFICATE_BASE64: ${{ secrets.APPLE_APP_CERTIFICATE_BASE64 }}
APPLE_APP_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_APP_CERTIFICATE_PASSWORD }}
@ -53,18 +74,27 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
- name: Publish release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v2.3.2
if: ${{ github.event_name != 'pull_request' }}
with:
make_latest: false
prerelease: true
draft: false
fail_on_unmatched_files: true
files: upload/*.*
files: apps/desktop/upload/*.*
tag_name: nightly
name: Nightly Build
- name: Publish artifacts
uses: actions/upload-artifact@v4
if: ${{ github.event_name == 'pull_request' }}
with:
name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}
path: apps/desktop/upload
nightly-server:
name: Deploy server nightly
strategy:
@ -73,7 +103,7 @@ jobs:
arch: [x64, arm64]
include:
- arch: x64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- arch: arm64
runs-on: ubuntu-24.04-arm
runs-on: ${{ matrix.runs-on }}
@ -87,7 +117,8 @@ jobs:
arch: ${{ matrix.arch }}
- name: Publish release
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@v2.3.2
if: ${{ github.event_name != 'pull_request' }}
with:
make_latest: false
prerelease: true

@ -1,27 +1,43 @@
name: Playwright Tests
name: playwright
on:
push:
branches: [ develop ]
branches:
- master
pull_request:
branches: [ develop ]
permissions:
actions: read
contents: read
jobs:
test:
timeout-minutes: 60
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- uses: actions/checkout@v4
with:
filter: tree:0
fetch-depth: 0
# This enables task distribution via Nx Cloud
# Run this command as early as possible, before dependencies are installed
# Learn more at https://nx.dev/ci/reference/nx-cloud-cli#npx-nxcloud-startcirun
# Connect your workspace by running "nx connect" and uncomment this line to enable task distribution
# - run: npx nx-cloud start-ci-run --distribute-on="3 linux-medium-js" --stop-agents-after="e2e-ci"
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: pnpm exec playwright install --with-deps
- uses: nrwl/nx-set-shas@v4
# Prepend any command with "nx-cloud record --" to record its logs to Nx Cloud
# - run: npx nx-cloud record -- echo Hello World
# Nx Affected runs only tasks affected by the changes in this PR/commit. Learn more: https://nx.dev/ci/features/affected
# When you enable task distribution, run the e2e-ci task instead of e2e
- run: pnpm exec nx affected -t e2e

@ -0,0 +1,20 @@
name: Release to winget
on:
release:
types: [ published ]
workflow_dispatch:
inputs:
release_tag:
description: 'Git tag to release from'
type: string
required: true
jobs:
release-winget:
runs-on: ubuntu-latest
steps:
- name: Publish to WinGet
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: TriliumNext.Notes
token: ${{ secrets.WINGET_PAT }}
release-tag: ${{ github.event.inputs.release_tag || github.event.release.tag_name }}

@ -3,9 +3,9 @@ on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
discussions: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@ -20,26 +20,35 @@ jobs:
os:
- name: macos
image: macos-latest
extension: [dmg, zip]
shell: bash
forge_platform: darwin
- name: linux
image: ubuntu-latest
extension: [deb, rpm, zip, flatpak]
shell: bash
forge_platform: linux
- name: windows
image: windows-latest
extension: [exe, zip]
image: win-signing
shell: cmd
forge_platform: win32
runs-on: ${{ matrix.os.image }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Set up node & dependencies
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4
- name: Run the build
uses: ./.github/actions/build-electron
with:
os: ${{ matrix.os.name }}
arch: ${{ matrix.arch }}
extension: ${{ join(matrix.os.extension, ' ') }}
shell: ${{ matrix.os.shell }}
forge_platform: ${{ matrix.os.forge_platform }}
env:
APPLE_APP_CERTIFICATE_BASE64: ${{ secrets.APPLE_APP_CERTIFICATE_BASE64 }}
APPLE_APP_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_APP_CERTIFICATE_PASSWORD }}
@ -48,15 +57,15 @@ jobs:
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
- name: Publish release
uses: softprops/action-gh-release@v2
- name: Upload the artifact
uses: actions/upload-artifact@v4
with:
draft: true
fail_on_unmatched_files: true
files: upload/*.*
name: release-desktop-${{ matrix.os.name }}-${{ matrix.arch }}
path: apps/desktop/upload/*.*
build_linux_server-x64:
build_server:
name: Build Linux Server
strategy:
fail-fast: false
@ -64,7 +73,7 @@ jobs:
arch: [x64, arm64]
include:
- arch: x64
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
- arch: arm64
runs-on: ubuntu-24.04-arm
runs-on: ${{ matrix.runs-on }}
@ -77,9 +86,41 @@ jobs:
os: linux
arch: ${{ matrix.arch }}
- name: Publish release
uses: softprops/action-gh-release@v2
- name: Upload the artifact
uses: actions/upload-artifact@v4
with:
name: release-server-linux-${{ matrix.arch }}
path: upload/*.*
publish_release:
name: Publish release
runs-on: ubuntu-latest
needs:
- make-electron
- build_server
steps:
- run: mkdir upload
- uses: actions/checkout@v4
with:
sparse-checkout: |
docs/Release Notes
- name: Download all artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
pattern: release-*
path: upload
- name: Publish stable release
uses: softprops/action-gh-release@v2.3.2
with:
draft: true
draft: false
body_path: docs/Release Notes/Release Notes/${{ github.ref_name }}.md
fail_on_unmatched_files: true
files: upload/*.*
discussion_category_name: Announcements
make_latest: ${{ !contains(github.ref, 'rc') }}
prerelease: ${{ contains(github.ref, 'rc') }}
token: ${{ secrets.RELEASE_PAT }}

@ -1,71 +0,0 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '37 4 * * 1'
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
steps:
- name: Checkout repository
uses: actions/checkout@v2
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
#- run: |
# make bootstrap
# make release
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

@ -1,53 +0,0 @@
name: Publish Docker image
on:
push:
tags: [v*]
jobs:
push_to_registries:
name: Push Docker image to multiple registries
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
zadam/trilium
ghcr.io/zadam/trilium
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}-latest
type=match,pattern=(\d+.\d+).\d+\-beta,enable=${{ endsWith(github.ref, 'beta') }},group=1,suffix=-latest
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
with:
install: true
- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Log in to GitHub Docker Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Create server-package.json
run: cat package.json | grep -v electron > server-package.json
- name: Build and Push
uses: docker/build-push-action@v2.7.0
with:
context: .
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
cache-from: type=registry,ref=zadam/trilium:buildcache
cache-to: type=registry,ref=zadam/trilium:buildcache,mode=max
tags: ${{ steps.meta.outputs.tags }}

90
.gitignore vendored

@ -1,45 +1,49 @@
.cache
.DS_Store
node_modules/
dist/
build/
coverage/
src/public/app-dist/
# See https://docs.github.com/en/get-started/getting-started-with-git/ignoring-files for more about ignoring files.
# compiled output
dist
tmp
out-tsc
# dependencies
node_modules
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
po-*/
.flatpak-builder/
*.db
!test/**/*.db
!integration-tests/db/document.db
!integration-tests/db/config.ini
integration-tests/db/log
integration-tests/db/sessions
integration-tests/db/backup
integration-tests/db/session_secret.txt
cert.key
cert.crt
server-package.json
.idea/httpRequests/
.idea/shelf/
data/
data-test/
tmp/
.eslintcache
out/
images/app-icons/mac/*.png
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
/playwright/.auth/
data-docs/backup
data-docs/log
data-docs/session
data-docs/session_secret.txt
data-docs/document.*
testem.log
/typings
# System Files
.DS_Store
Thumbs.db
.nx/cache
.nx/workspace-data
vite.config.*.timestamp*
vitest.config.*.timestamp*
test-output
apps/*/data
apps/*/out
upload
.rollup.cache
*.tsbuildinfo
/result
.svelte-kit

@ -1,15 +0,0 @@
FROM gitpod/workspace-full
RUN sudo apt-get update \
&& sudo apt-get install -yq --no-install-recommends \
libpng16-16 \
libpng-dev \
pkg-config \
autoconf \
libtool \
build-essential \
nasm \
libx11-dev \
libxkbfile-dev \
&& sudo rm -rf /var/lib/apt/lists/*

@ -1,11 +0,0 @@
image:
file: .gitpod.dockerfile
tasks:
- before: nvm install 20.15.1 && nvm use 20.15.1
init: npm install
command: npm run server:start
ports:
- port: 8080
onOpen: open-preview

@ -0,0 +1,2 @@
Adam Zivner <adam.zivner@gmail.com>
Adam Zivner <zadam.apps@gmail.com>

@ -0,0 +1 @@
22.16.0

@ -0,0 +1,2 @@
_regroup
_regroup_monorepo

@ -1,6 +0,0 @@
*.html
*.md
*.yml
libraries/*
docs/*
src/public/app/doc_notes/**/*

@ -1,22 +0,0 @@
{
"printWidth": 200,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": false,
"quoteProps": "as-needed",
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
"endOfLine": "lf",
"overrides": [
{
"files": ["*.json"],
"options": {
"tabWidth": 2
}
}
]
}

@ -1,7 +1,16 @@
{
"recommendations": [
"lokalise.i18n-ally",
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"vitest.explorer"
"lokalise.i18n-ally",
"ms-azuretools.vscode-docker",
"ms-playwright.playwright",
"nrwl.angular-console",
"redhat.vscode-yaml",
"tobermory.es6-string-html",
"vitest.explorer",
"yzhang.markdown-all-in-one",
"svelte.svelte-vscode",
"bradlc.vscode-tailwindcss"
]
}

@ -1,20 +0,0 @@
# Review comments generated by i18n-ally. Please commit this file.
reviews:
help.inPageSearch:
description: >-
Describes the shortcut which triggers a search within the current
page/note only
add_label.to_value:
locales:
fr:
comments:
- user:
name: Potjoe-97
email: giann@LAPTOPT490-GF
id: QXec0JUoxfGmMlpch-B1S
comment: ''
suggestion: vers la valeur
type: request_change
time: '2024-10-15T16:57:06.188Z'
resolved: true

@ -1,22 +0,0 @@
{
"version": "0.2.0",
"configurations": [
// nodemon should be installed globally, use npm i -g nodemon
{
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"name": "nodemon start-server",
"program": "${workspaceFolder}/src/www",
"request": "launch",
"restart": true,
"runtimeExecutable": "nodemon",
"env": {
"TRILIUM_ENV": "dev",
"TRILIUM_DATA_DIR": "./data"
},
"skipFiles": ["<node_internals>/**"],
"type": "node",
"outputCapture": "std"
}
]
}

@ -1,30 +1,32 @@
{
"editor.formatOnSave": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\n",
"typescript.tsdk": "node_modules/typescript/lib",
"i18n-ally.sourceLanguage": "en",
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": ["./src/public/translations", "./translations"],
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"github-actions.workflows.pinned.workflows": [".github/workflows/nightly.yml"],
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"npm.exclude": [
"**/build",
"**/dist",
"**/out/**"
],
"[xml]": {
"editor.defaultFormatter": "redhat.vscode-xml"
}
}
"editor.formatOnSave": false,
"files.eol": "\n",
"i18n-ally.sourceLanguage": "en",
"i18n-ally.keystyle": "nested",
"i18n-ally.localesPaths": [
"apps/server/src/assets/translations",
"apps/client/src/translations"
],
"npm.exclude": [
"**/dist",
],
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"github-actions.workflows.pinned.workflows": [
".github/workflows/nightly.yml"
],
"typescript.validate.enable": true,
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}

@ -1,48 +0,0 @@
# Build stage
FROM node:22.14.0-bullseye-slim AS builder
WORKDIR /usr/src/app/build
# Copy only necessary files for build
COPY . .
# Build and cleanup in a single layer
RUN npm ci && \
npm run build:prepare-dist && \
npm cache clean --force && \
rm -rf build/node_modules && \
mv build/* \
start-docker.sh \
/usr/src/app/ && \
rm -rf \
/usr/src/app/build \
/tmp/node-compile-cache
#TODO: improve node_modules handling in copy-dist/Dockerfile -> remove duplicated work
# currently copy-dist will copy certain node_module folders, but in the Dockerfile we delete them again (to keep image size down),
# as we install necessary dependencies in runtime buildstage anyways
# Runtime stage
FROM node:22.14.0-bullseye-slim
WORKDIR /usr/src/app
# Install only runtime dependencies
RUN apt-get update && \
apt-get install -y --no-install-recommends \
gosu && \
rm -rf \
/var/lib/apt/lists/* \
/var/cache/apt/*
COPY --from=builder /usr/src/app ./
RUN sed -i "/electron/d" package.json && \
npm ci --omit=dev && \
npm cache clean --force && \
rm -rf /tmp/node-compile-cache
# Configure container
EXPOSE 8080
CMD [ "./start-docker.sh" ]
HEALTHCHECK --start-period=10s CMD exec gosu node node docker_healthcheck.js

@ -1,46 +0,0 @@
# Build stage
FROM node:22.14.0-alpine AS builder
WORKDIR /usr/src/app/build
# Copy only necessary files for build
COPY . .
# Build and cleanup in a single layer
RUN npm ci && \
npm run build:prepare-dist && \
npm cache clean --force && \
rm -rf build/node_modules && \
mv build/* \
start-docker.sh \
/usr/src/app/ && \
rm -rf \
/usr/src/app/build \
/tmp/node-compile-cache
#TODO: improve node_modules handling in copy-dist/Dockerfile -> remove duplicated work
# currently copy-dist will copy certain node_module folders, but in the Dockerfile we delete them again (to keep image size down),
# as we install necessary dependencies in runtime buildstage anyways
# Runtime stage
FROM node:22.14.0-alpine
# Install runtime dependencies
RUN apk add --no-cache su-exec shadow
WORKDIR /usr/src/app
COPY --from=builder /usr/src/app ./
RUN sed -i "/electron/d" package.json && \
npm ci --omit=dev && \
npm cache clean --force && \
rm -rf /tmp/node-compile-cache
# Add application user
RUN adduser -s /bin/false node; exit 0
# Configure container
EXPOSE 8080
CMD [ "./start-docker.sh" ]
HEALTHCHECK --start-period=10s CMD exec su-exec node node docker_healthcheck.js

@ -1,128 +1,2 @@
# TriliumNext Notes
![Docker Pulls](https://img.shields.io/docker/pulls/triliumnext/notes) ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/triliumnext/notes/total)
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
TriliumNext Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for quick overview:
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="https://github.com/TriliumNext/Docs/blob/main/Wiki/images/screenshot.png?raw=true" alt="Trilium Screenshot" width="1000"></a>
## ⚠️ Why TriliumNext?
[The original Trilium project is in maintenance mode](https://github.com/zadam/trilium/issues/4620)
### Migrating from Trilium?
There are no special migration steps to migrate from a zadam/Trilium instance to a TriliumNext/Notes instance. Just upgrade your Trilium instance to the latest version and [install TriliumNext/Notes as usual](#-installation)
Versions up to and including [v0.90.4](https://github.com/TriliumNext/Notes/releases/tag/v0.90.4) are compatible with the latest zadam/trilium version of [v0.63.7](https://github.com/zadam/trilium/releases/tag/v0.63.7). Any later versions of TriliumNext have their sync versions incremented.
## 💬 Discuss with us
Feel free to join our official conversations. We would love to hear what features, suggestions, or issues you may have!
- [Matrix](https://matrix.to/#/#triliumnext:matrix.org) (For synchronous discussions)
- The `General` Matrix room is also bridged to [XMPP](xmpp:discuss@trilium.thisgreat.party?join)
- [Github Discussions](https://github.com/TriliumNext/Notes/discussions) (For Asynchronous discussions)
- [Wiki](https://triliumnext.github.io/Docs/) (For common how-to questions and user guides)
## 🎁 Features
* Notes can be arranged into arbitrarily deep tree. Single note can be placed into multiple places in the tree (see [cloning](https://triliumnext.github.io/Docs/Wiki/cloning-notes))
* Rich WYSIWYG note editing including e.g. tables, images and [math](https://triliumnext.github.io/Docs/Wiki/text-notes) with markdown [autoformat](https://triliumnext.github.io/Docs/Wiki/text-notes#autoformat)
* Support for editing [notes with source code](https://triliumnext.github.io/Docs/Wiki/code-notes), including syntax highlighting
* Fast and easy [navigation between notes](https://triliumnext.github.io/Docs/Wiki/note-navigation), full text search and [note hoisting](https://triliumnext.github.io/Docs/Wiki/note-hoisting)
* Seamless [note versioning](https://triliumnext.github.io/Docs/Wiki/note-revisions)
* Note [attributes](https://triliumnext.github.io/Docs/Wiki/attributes) can be used for note organization, querying and advanced [scripting](https://triliumnext.github.io/Docs/Wiki/scripts)
* [Synchronization](https://triliumnext.github.io/Docs/Wiki/synchronization) with self-hosted sync server
* there's a [3rd party service for hosting synchronisation server](https://trilium.cc/paid-hosting)
* [Sharing](https://triliumnext.github.io/Docs/Wiki/sharing) (publishing) notes to public internet
* Strong [note encryption](https://triliumnext.github.io/Docs/Wiki/protected-notes) with per-note granularity
* Sketching diagrams with built-in Excalidraw (note type "canvas")
* [Relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map) and [link maps](https://triliumnext.github.io/Docs/Wiki/link-map) for visualizing notes and their relations
* [Scripting](https://triliumnext.github.io/Docs/Wiki/scripts) - see [Advanced showcases](https://triliumnext.github.io/Docs/Wiki/advanced-showcases)
* [REST API](https://triliumnext.github.io/Docs/Wiki/etapi) for automation
* Scales well in both usability and performance upwards of 100 000 notes
* Touch optimized [mobile frontend](https://triliumnext.github.io/Docs/Wiki/mobile-frontend) for smartphones and tablets
* [Night theme](https://triliumnext.github.io/Docs/Wiki/themes)
* [Evernote](https://triliumnext.github.io/Docs/Wiki/evernote-import) and [Markdown import & export](https://triliumnext.github.io/Docs/Wiki/markdown)
* [Web Clipper](https://triliumnext.github.io/Docs/Wiki/web-clipper) for easy saving of web content
✨ Check out the following third-party resources/communities for more TriliumNext related goodies:
- [awesome-trilium](https://github.com/Nriver/awesome-trilium) for 3rd party themes, scripts, plugins and more.
- [TriliumRocks!](https://trilium.rocks/) for tutorials, guides, and much more.
## 🏗 Installation
### Desktop
To use TriliumNext on your desktop machine (Linux, MacOS, and Windows) you have a few options:
* Download the binary release for your platform from the [latest release page](https://github.com/TriliumNext/Notes/releases/latest), unzip the package and run the ```trilium``` executable.
* Access TriliumNext via the web interface of a server installation (see below)
* Currently only the latest versions of Chrome & Firefox are supported (and tested).
* (Coming Soon) TriliumNext will also be provided as a Flatpak
#### MacOS
Currently when running TriliumNext/Notes on MacOS, you may get the following error:
> Apple could not verify "TriliumNext Notes" is free of malware and may harm your Mac or compromise your privacy.
You will need to run the command on your shell to resolve the error (documented [here](https://github.com/TriliumNext/Notes/issues/329#issuecomment-2287164137)):
```bash
xattr -c "/path/to/Trilium Next.app"
```
### Mobile
To use TriliumNext on a mobile device:
* Use a mobile web browser to access the mobile interface of a server installation (see below)
* Use of a mobile app is not yet supported ([see here](https://github.com/TriliumNext/Notes/issues/72)) to track mobile improvements.
### Server
To install TriliumNext on your own server (including via Docker from [Dockerhub](https://hub.docker.com/r/triliumnext/notes)) follow [the server installation docs](https://triliumnext.github.io/Docs/Wiki/server-installation).
## 📝 Documentation
[See wiki for complete list of documentation pages.](https://triliumnext.github.io/Docs)
You can also read [Patterns of personal knowledge base](https://triliumnext.github.io/Docs/Wiki/patterns-of-personal-knowledge) to get some inspiration on how you might use TriliumNext.
## 💻 Contribute
### Code
```shell
git clone https://github.com/TriliumNext/Notes.git
cd Notes
npm install
npm run server:start
```
### Documentation
Head on over to our [Docs repo](https://github.com/TriliumNext/Docs)
## 👏 Shoutouts
* [CKEditor 5](https://github.com/ckeditor/ckeditor5) - best WYSIWYG editor on the market, very interactive and listening team
* [FancyTree](https://github.com/mar10/fancytree) - very feature rich tree library without real competition. TriliumNext Notes would not be the same without it.
* [CodeMirror](https://github.com/codemirror/CodeMirror) - code editor with support for huge amount of languages
* [jsPlumb](https://github.com/jsplumb/jsplumb) - visual connectivity library without competition. Used in [relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map.html) and [link maps](https://triliumnext.github.io/Docs/Wiki/note-map.html#link-map)
## 🤝 Support
Support for the TriliumNext organization will be possible in the near future. For now, you can:
- Support continued development on TriliumNext by supporting our developers: [eliandoran](https://github.com/sponsors/eliandoran) (See the [repository insights]([developers]([url](https://github.com/TriliumNext/Notes/graphs/contributors))) for a full list)
- Show a token of gratitude to the original Trilium developer ([zadam](https://github.com/sponsors/zadam)) via [PayPal](https://paypal.me/za4am) or Bitcoin (bitcoin:bc1qv3svjn40v89mnkre5vyvs2xw6y8phaltl385d2).
## 🔑 License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
> [!IMPORTANT]
> TriliumNext started as a fork of the original Trilium repository (`zadam/trilium`). @zadam transferred the original repo to us so the work will continue in https://github.com/TriliumNext/Trilium.

@ -1,13 +0,0 @@
#!/usr/bin/env bash
cd src/public
echo Summary
cloc HEAD \
--git --md \
--include-lang=javascript,typescript
echo By file
cloc HEAD \
--git --md \
--include-lang=javascript,typescript \
--by-file | grep \.js\|

@ -25,15 +25,16 @@ stats() {
# Print the number of existing strings on the JSON files for each locale
s=$(number_of_keys "${paths[0]}/en/server.json")
c=$(number_of_keys "${paths[1]}/en/translation.json")
echo "| locale |server strings |client strings |"
echo "|--------|---------------|---------------|"
echo "| en | ${s} | ${c} |"
echo "| locale | server strings | client strings |"
echo "|--------|----------------|----------------|"
echo "| en | ${s} | ${c} |"
echo "|--------|----------------|----------------|"
for locale in "${locales[@]}"; do
s=$(number_of_keys "${paths[0]}/${locale}/server.json")
c=$(number_of_keys "${paths[1]}/${locale}/translation.json")
n1=$(((8 - ${#locale}) / 2))
n2=$((n1 == 1 ? n1 + 1 : n1))
echo "|$(printf "%${n1}s")${locale}$(printf "%${n2}s")| ${s} | ${c} |"
echo "|$(printf "%${n1}s")${locale}$(printf "%${n2}s")| ${s} | ${c} |"
done
}
@ -78,7 +79,10 @@ file_path="$(
cd -- "$(dirname "${0}")" >/dev/null 2>&1 || exit
pwd -P
)"
paths=("${file_path}/../translations/" "${file_path}/../src/public/translations/")
paths=(
"${file_path}/../../apps/server/src/assets/translations/"
"${file_path}/../../apps/client/src/translations/"
)
locales=(cn de es fr pt_br ro tw)
if [ $# -eq 1 ]; then

Before

Width:  |  Height:  |  Size: 383 B

After

Width:  |  Height:  |  Size: 383 B

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

Before

Width:  |  Height:  |  Size: 387 B

After

Width:  |  Height:  |  Size: 387 B

Before

Width:  |  Height:  |  Size: 734 B

After

Width:  |  Height:  |  Size: 734 B

@ -0,0 +1,51 @@
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import simpleImportSort from "eslint-plugin-simple-import-sort";
export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.recommended,
// consider using rules below, once we have a full TS codebase and can be more strict
// tseslint.configs.strictTypeChecked,
// tseslint.configs.stylisticTypeChecked,
// tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname
}
}
},
{
plugins: {
"simple-import-sort": simpleImportSort
}
},
{
rules: {
// add rule overrides here
"no-undef": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_"
}
],
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
}
},
{
ignores: [
"build/*",
"dist/*",
"docs/*",
"demo/*",
"src/public/app-dist/*",
"src/public/app/doc_notes/*"
]
}
);

@ -0,0 +1,47 @@
import stylistic from "@stylistic/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
// eslint config just for formatting rules
// potentially to be merged with the linting rules into one single config,
// once we have fixed the majority of lint errors
// Go to https://eslint.style/rules/default/${rule_without_prefix} to check the rule details
export const stylisticRules = {
"@stylistic/indent": [ "error", 4 ],
"@stylistic/quotes": [ "error", "double", { avoidEscape: true, allowTemplateLiterals: "always" } ],
"@stylistic/semi": [ "error", "always" ],
"@stylistic/quote-props": [ "error", "consistent-as-needed" ],
"@stylistic/max-len": [ "error", { code: 100 } ],
"@stylistic/comma-dangle": [ "error", "never" ],
"@stylistic/linebreak-style": [ "error", "unix" ],
"@stylistic/array-bracket-spacing": [ "error", "always" ],
"@stylistic/object-curly-spacing": [ "error", "always" ],
"@stylistic/padded-blocks": [ "error", { classes: "always" } ]
};
export default [
{
files: [ "**/*.{js,ts,mjs,cjs}" ],
languageOptions: {
parser: tsParser
},
plugins: {
"@stylistic": stylistic
},
rules: {
...stylisticRules
}
},
{
ignores: [
"build/*",
"dist/*",
"docs/*",
"demo/*",
// TriliumNextTODO: check if we want to format packages here as well - for now skipping it
"packages/*",
"src/public/app-dist/*",
"src/public/app/doc_notes/*"
]
}
];

@ -0,0 +1,58 @@
{
"main": "./electron-main.js",
"bin": {
"trilium": "src/main.js"
},
"type": "module",
"scripts": {
"server:start-safe": "cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev nodemon src/main.ts",
"server:start-no-dir": "cross-env TRILIUM_ENV=dev nodemon src/main.ts",
"server:start-test": "npm run server:switch && rimraf ./data-test && cross-env TRILIUM_DATA_DIR=./data-test TRILIUM_ENV=dev TRILIUM_PORT=9999 nodemon src/main.ts",
"server:qstart": "npm run server:switch && npm run server:start",
"server:switch": "rimraf ./node_modules/better-sqlite3 && npm install",
"electron:start-no-dir": "cross-env NODE_OPTIONS=\"--import tsx\" TRILIUM_ENV=dev TRILIUM_PORT=37742 electron --inspect=5858 .",
"electron:start-nix": "electron-rebuild --version 33.3.1 && cross-env NODE_OPTIONS=\"--import tsx\" TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev nix-shell -p electron_33 --run \"electron ./electron-main.ts --inspect=5858 .\"",
"electron:start-nix-no-dir": "electron-rebuild --version 33.3.1 && cross-env NODE_OPTIONS=\"--import tsx\" TRILIUM_ENV=dev TRILIUM_PORT=37742 nix-shell -p electron_33 --run \"electron ./electron-main.ts --inspect=5858 .\"",
"electron:start-prod-no-dir": "npm run build:prepare-dist && cross-env TRILIUM_ENV=prod electron --inspect=5858 .",
"electron:start-prod-nix": "electron-rebuild --version 33.3.1 && npm run build:prepare-dist && cross-env TRILIUM_DATA_DIR=./data TRILIUM_ENV=dev nix-shell -p electron_33 --run \"electron ./dist/electron-main.js --inspect=5858 .\"",
"electron:start-prod-nix-no-dir": "electron-rebuild --version 33.3.1 && npm run build:prepare-dist && cross-env TRILIUM_ENV=dev nix-shell -p electron_33 --run \"electron ./dist/electron-main.js --inspect=5858 .\"",
"electron:qstart": "npm run electron:switch && npm run electron:start",
"electron:switch": "electron-rebuild",
"docs:build": "typedoc",
"test": "npm run client:test && npm run server:test",
"client:test": "cross-env TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db TRILIUM_INTEGRATION_TEST=memory vitest --root src/public/app",
"client:coverage": "cross-env TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db TRILIUM_INTEGRATION_TEST=memory vitest --root src/public/app --coverage",
"test:playwright": "playwright test --workers 1",
"test:integration-edit-db": "cross-env TRILIUM_INTEGRATION_TEST=edit TRILIUM_PORT=8081 TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"test:integration-mem-db": "cross-env nodemon src/main.ts",
"test:integration-mem-db-dev": "cross-env TRILIUM_INTEGRATION_TEST=memory TRILIUM_PORT=8082 TRILIUM_ENV=dev TRILIUM_DATA_DIR=./integration-tests/db nodemon src/main.ts",
"dev:watch-dist": "tsx ./bin/watch-dist.ts",
"dev:format-check": "eslint -c eslint.format.config.js .",
"dev:format-fix": "eslint -c eslint.format.config.js . --fix",
"dev:linter-check": "eslint .",
"dev:linter-fix": "eslint . --fix",
"chore:generate-document": "cross-env nodemon ./bin/generate_document.ts 1000",
"chore:generate-openapi": "tsx bin/generate-openapi.js"
},
"devDependencies": {
"@playwright/test": "1.53.1",
"@stylistic/eslint-plugin": "4.4.1",
"@types/express": "5.0.3",
"@types/node": "22.15.32",
"@types/yargs": "17.0.33",
"@vitest/coverage-v8": "3.2.4",
"eslint": "9.29.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"esm": "3.2.25",
"jsdoc": "4.0.4",
"lorem-ipsum": "2.0.8",
"rcedit": "4.0.1",
"rimraf": "6.0.1",
"tslib": "2.8.1",
"typedoc": "0.28.5",
"typedoc-plugin-missing-exports": "4.0.0"
},
"optionalDependencies": {
"appdmg": "0.6.6"
}
}

@ -0,0 +1,15 @@
{
"entryPoints": [
"src/services/backend_script_entrypoint.ts",
"src/public/app/services/frontend_script_entrypoint.ts"
],
"plugin": [
"typedoc-plugin-missing-exports"
],
"outputs": [
{
"name": "html",
"path": "./docs/Script API"
}
]
}

@ -0,0 +1,4 @@
# The development license key for premium CKEditor features.
# Note: This key must only be used for the Trilium Notes project.
# Expires on: 2025-09-13
VITE_CKEDITOR_KEY=eyJhbGciOiJFUzI1NiJ9.eyJleHAiOjE3NTc3MjE1OTksImp0aSI6ImFiN2E0NjZmLWJlZGMtNDNiYy1iMzU4LTk0NGQ0YWJhY2I3ZiIsImRpc3RyaWJ1dGlvbkNoYW5uZWwiOlsic2giLCJkcnVwYWwiXSwid2hpdGVMYWJlbCI6dHJ1ZSwiZmVhdHVyZXMiOlsiRFJVUCIsIkNNVCIsIkRPIiwiRlAiLCJTQyIsIlRPQyIsIlRQTCIsIlBPRSIsIkNDIiwiTUYiLCJTRUUiLCJFQ0giLCJFSVMiXSwidmMiOiI1MzlkOWY5YyJ9.2rvKPql4hmukyXhEtWPZ8MLxKvzPIwzCdykO653g7IxRRZy2QJpeRszElZx9DakKYZKXekVRAwQKgHxwkgbE_w

@ -0,0 +1 @@
VITE_CKEDITOR_ENABLE_INSPECTOR=false

@ -0,0 +1,8 @@
{
"jsc": {
"parser": {
"syntax": "typescript"
},
"target": "es2016"
}
}

@ -0,0 +1,5 @@
import baseConfig from "../../eslint.config.mjs";
export default [
...baseConfig
];

@ -0,0 +1,84 @@
{
"name": "@triliumnext/client",
"version": "0.95.0",
"description": "JQuery-based client for TriliumNext, used for both web and desktop (via Electron)",
"private": true,
"license": "AGPL-3.0-only",
"author": {
"name": "TriliumNext Notes Team",
"email": "contact@eliandoran.me",
"url": "https://github.com/TriliumNext/Notes"
},
"dependencies": {
"@eslint/js": "9.29.0",
"@excalidraw/excalidraw": "0.18.0",
"@fullcalendar/core": "6.1.17",
"@fullcalendar/daygrid": "6.1.17",
"@fullcalendar/interaction": "6.1.17",
"@fullcalendar/list": "6.1.17",
"@fullcalendar/multimonth": "6.1.17",
"@fullcalendar/timegrid": "6.1.17",
"@mermaid-js/layout-elk": "0.1.7",
"@mind-elixir/node-menu": "1.0.5",
"@popperjs/core": "2.11.8",
"@triliumnext/ckeditor5": "workspace:*",
"@triliumnext/codemirror": "workspace:*",
"@triliumnext/commons": "workspace:*",
"@triliumnext/highlightjs": "workspace:*",
"@triliumnext/share-theme": "workspace:*",
"autocomplete.js": "0.38.1",
"bootstrap": "5.3.7",
"boxicons": "2.1.4",
"dayjs": "1.11.13",
"dayjs-plugin-utc": "0.1.2",
"debounce": "2.2.0",
"draggabilly": "3.0.0",
"force-graph": "1.49.6",
"globals": "16.2.0",
"i18next": "25.2.1",
"i18next-http-backend": "3.0.2",
"jquery": "3.7.1",
"jquery-hotkeys": "0.2.2",
"jquery.fancytree": "2.38.5",
"jsplumb": "2.15.6",
"katex": "0.16.22",
"knockout": "3.5.1",
"leaflet": "1.9.4",
"leaflet-gpx": "2.2.0",
"mark.js": "8.11.1",
"marked": "15.0.12",
"mermaid": "11.6.0",
"mind-elixir": "4.6.1",
"normalize.css": "8.0.1",
"panzoom": "9.4.3",
"preact": "10.26.9",
"split.js": "1.6.5",
"svg-pan-zoom": "3.6.2",
"vanilla-js-wheel-zoom": "9.0.4"
},
"devDependencies": {
"@ckeditor/ckeditor5-inspector": "4.1.0",
"@types/bootstrap": "5.2.10",
"@types/jquery": "3.5.32",
"@types/leaflet": "1.9.18",
"@types/leaflet-gpx": "1.3.7",
"@types/mark.js": "8.11.12",
"copy-webpack-plugin": "13.0.0",
"happy-dom": "18.0.1",
"script-loader": "0.7.2",
"vite-plugin-static-copy": "3.0.2"
},
"nx": {
"name": "client",
"targets": {
"serve": {
"dependsOn": [
"^build"
]
},
"circular-deps": {
"command": "pnpx dpdm -T {projectRoot}/src/**/*.ts --tree=false --warning=false --skip-dynamic-imports=circular"
}
}
}
}

@ -0,0 +1,3 @@
import packageJson from "../package.json" with { type: "json" };
export default `assets/v${packageJson.version}`;

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

@ -1,9 +1,8 @@
import froca from "../services/froca.js";
import bundleService from "../services/bundle.js";
import RootCommandExecutor from "./root_command_executor.js";
import Entrypoints, { type SqlExecuteResults } from "./entrypoints.js";
import options from "../services/options.js";
import utils from "../services/utils.js";
import utils, { hasTouchBar } from "../services/utils.js";
import zoomComponent from "./zoom.js";
import TabManager from "./tab_manager.js";
import Component from "./component.js";
@ -22,9 +21,13 @@ import type LoadResults from "../services/load_results.js";
import type { Attribute } from "../services/attribute_parser.js";
import type NoteTreeWidget from "../widgets/note_tree.js";
import type { default as NoteContext, GetTextEditorCallback } from "./note_context.js";
import type { ContextMenuEvent } from "../menus/context_menu.js";
import type TypeWidget from "../widgets/type_widgets/type_widget.js";
import type EditableTextTypeWidget from "../widgets/type_widgets/editable_text.js";
import type { NativeImage, TouchBar } from "electron";
import TouchBarComponent from "./touch_bar.js";
import type { CKTextEditor } from "@triliumnext/ckeditor5";
import type CodeMirror from "@triliumnext/codemirror";
import { StartupChecks } from "./startup_checks.js";
interface Layout {
getRootWidget: (appContext: AppContext) => RootWidget;
@ -52,13 +55,13 @@ export interface ContextMenuCommandData extends CommandData {
node: Fancytree.FancytreeNode;
notePath?: string;
noteId?: string;
selectedOrActiveBranchIds?: any; // TODO: Remove any once type is defined
selectedOrActiveNoteIds: any; // TODO: Remove any once type is defined
selectedOrActiveBranchIds: string[];
selectedOrActiveNoteIds?: string[];
}
export interface NoteCommandData extends CommandData {
notePath?: string;
hoistedNoteId?: string;
notePath?: string | null;
hoistedNoteId?: string | null;
viewScope?: ViewScope;
}
@ -66,6 +69,11 @@ export interface ExecuteCommandData<T> extends CommandData {
resolve: (data: T) => void;
}
export interface NoteSwitchedContext {
noteContext: NoteContext;
notePath: string | null | undefined;
}
/**
* The keys represent the different commands that can be triggered via {@link AppContext#triggerCommand} (first argument), and the values represent the data or arguments definition of the given command. All data for commands must extend {@link CommandData}.
*/
@ -83,6 +91,8 @@ export type CommandMappings = {
closeHlt: CommandData;
showLaunchBarSubtree: CommandData;
showRevisions: CommandData;
showLlmChat: CommandData;
createAiChat: CommandData;
showOptions: CommandData & {
section: string;
};
@ -118,18 +128,23 @@ export type CommandMappings = {
openAboutDialog: CommandData;
hideFloatingButtons: {};
hideLeftPane: CommandData;
showCpuArchWarning: CommandData;
showLeftPane: CommandData;
hoistNote: CommandData & { noteId: string };
leaveProtectedSession: CommandData;
enterProtectedSession: CommandData;
noteContextReorder: CommandData & {
ntxIdsInOrder: string[];
oldMainNtxId?: string | null;
newMainNtxId?: string | null;
};
openInTab: ContextMenuCommandData;
openNoteInSplit: ContextMenuCommandData;
toggleNoteHoisting: ContextMenuCommandData;
insertNoteAfter: ContextMenuCommandData;
insertChildNote: ContextMenuCommandData;
delete: ContextMenuCommandData;
editNoteTitle: ContextMenuCommandData;
editNoteTitle: {};
protectSubtree: ContextMenuCommandData;
unprotectSubtree: ContextMenuCommandData;
openBulkActionsDialog:
@ -161,6 +176,8 @@ export type CommandMappings = {
moveNoteDownInHierarchy: ContextMenuCommandData;
selectAllNotesInParent: ContextMenuCommandData;
createNoteIntoInbox: CommandData;
addNoteLauncher: ContextMenuCommandData;
addScriptLauncher: ContextMenuCommandData;
addWidgetLauncher: ContextMenuCommandData;
@ -173,10 +190,10 @@ export type CommandMappings = {
callback: (value: NoteDetailWidget | PromiseLike<NoteDetailWidget>) => void;
};
executeWithTextEditor: CommandData &
ExecuteCommandData<TextEditor> & {
callback?: GetTextEditorCallback;
};
executeWithCodeEditor: CommandData & ExecuteCommandData<null>;
ExecuteCommandData<CKTextEditor> & {
callback?: GetTextEditorCallback;
};
executeWithCodeEditor: CommandData & ExecuteCommandData<CodeMirror>;
/**
* Called upon when attempting to retrieve the content element of a {@link NoteContext}.
* Generally should not be invoked manually, as it is used by {@link NoteContext.getContentElement}.
@ -193,6 +210,8 @@ export type CommandMappings = {
showPasswordNotSet: CommandData;
showProtectedSessionPasswordDialog: CommandData;
showUploadAttachmentsDialog: CommandData & { noteId: string };
showIncludeNoteDialog: CommandData & { textTypeWidget: EditableTextTypeWidget };
showAddLinkDialog: CommandData & { textTypeWidget: EditableTextTypeWidget, text: string };
closeProtectedSessionPasswordDialog: CommandData;
copyImageReferenceToClipboard: CommandData;
copyImageToClipboard: CommandData;
@ -238,6 +257,7 @@ export type CommandMappings = {
scrollToEnd: CommandData;
closeThisNoteSplit: CommandData;
moveThisNoteSplit: CommandData & { isMovingLeft: boolean };
jumpToNote: CommandData;
// Geomap
deleteFromMap: { noteId: string };
@ -252,11 +272,23 @@ export type CommandMappings = {
refreshResults: {};
refreshSearchDefinition: {};
geoMapCreateChildNote: CommandData;
buildTouchBar: CommandData & {
TouchBar: typeof TouchBar;
buildIcon(name: string): NativeImage;
};
refreshTouchBar: CommandData;
reloadTextEditor: CommandData;
};
type EventMappings = {
initialRenderComplete: {};
frocaReloaded: {};
setLeftPaneVisibility: {
leftPaneVisible: boolean | null;
}
protectedSessionStarted: {};
notesReloaded: {
noteIds: string[];
@ -292,20 +324,11 @@ type EventMappings = {
beforeNoteContextRemove: {
ntxIds: string[];
};
noteSwitched: {
noteContext: NoteContext;
notePath?: string | null;
};
noteSwitchedAndActivatedEvent: {
noteContext: NoteContext;
notePath: string;
};
noteSwitched: NoteSwitchedContext;
noteSwitchedAndActivated: NoteSwitchedContext;
setNoteContext: {
noteContext: NoteContext;
};
noteTypeMimeChangedEvent: {
noteId: string;
};
reEvaluateHighlightsListWidgetVisibility: {
noteId: string | undefined;
};
@ -326,14 +349,16 @@ type EventMappings = {
noteId: string;
ntxId: string | null;
};
contextsReopenedEvent: {
mainNtxId: string;
contextsReopened: {
ntxId?: string;
mainNtxId: string | null;
tabPosition: number;
afterNtxId?: string;
};
noteDetailRefreshed: {
ntxId?: string | null;
};
noteContextReorderEvent: {
noteContextReorder: {
oldMainNtxId: string;
newMainNtxId: string;
ntxIdsInOrder: string[];
@ -341,12 +366,11 @@ type EventMappings = {
newNoteContextCreated: {
noteContext: NoteContext;
};
noteContextRemovedEvent: {
noteContextRemoved: {
ntxIds: string[];
};
exportSvg: {
ntxId: string | null | undefined;
};
exportSvg: { ntxId: string | null | undefined; };
exportPng: { ntxId: string | null | undefined; };
geoMapCreateChildNote: {
ntxId: string | null | undefined; // TODO: deduplicate ntxId
};
@ -362,12 +386,21 @@ type EventMappings = {
relationMapResetPanZoom: { ntxId: string | null | undefined };
relationMapResetZoomIn: { ntxId: string | null | undefined };
relationMapResetZoomOut: { ntxId: string | null | undefined };
activeNoteChangedEvent: {};
activeNoteChanged: {};
showAddLinkDialog: {
textTypeWidget: EditableTextTypeWidget;
text: string;
};
showIncludeDialog: {
textTypeWidget: EditableTextTypeWidget;
};
openBulkActionsDialog: {
selectedOrActiveNoteIds: string[];
};
cloneNoteIdsTo: {
noteIds: string[];
};
refreshData: { ntxId: string | null | undefined };
};
export type EventListener<T extends EventNames> = {
@ -397,7 +430,7 @@ type FilterByValueType<T, ValueType> = { [K in keyof T]: T[K] extends ValueType
*/
export type FilteredCommandNames<T extends CommandData> = keyof Pick<CommandMappings, FilterByValueType<CommandMappings, T>>;
class AppContext extends Component {
export class AppContext extends Component {
isMainWindow: boolean;
components: Component[];
beforeUnloadListeners: WeakRef<BeforeUploadListener>[];
@ -436,13 +469,21 @@ class AppContext extends Component {
this.tabManager.loadTabs();
const bundleService = (await import("../services/bundle.js")).default;
setTimeout(() => bundleService.executeStartupBundles(), 2000);
}
initComponents() {
this.tabManager = new TabManager();
this.components = [this.tabManager, new RootCommandExecutor(), new Entrypoints(), new MainTreeExecutors(), new ShortcutComponent()];
this.components = [
this.tabManager,
new RootCommandExecutor(),
new Entrypoints(),
new MainTreeExecutors(),
new ShortcutComponent(),
new StartupChecks()
];
if (utils.isMobile()) {
this.components.push(new MobileScreenSwitcherExecutor());
@ -455,6 +496,10 @@ class AppContext extends Component {
if (utils.isElectron()) {
this.child(zoomComponent);
}
if (hasTouchBar) {
this.child(new TouchBarComponent());
}
}
renderWidgets() {

@ -66,12 +66,13 @@ export default class Entrypoints extends Component {
}
async toggleNoteHoistingCommand({ noteId = appContext.tabManager.getActiveContextNoteId() }) {
if (!noteId) {
const activeNoteContext = appContext.tabManager.getActiveContext();
if (!activeNoteContext || !noteId) {
return;
}
const noteToHoist = await froca.getNote(noteId);
const activeNoteContext = appContext.tabManager.getActiveContext();
if (noteToHoist?.noteId === activeNoteContext.hoistedNoteId) {
await activeNoteContext.unhoist();
@ -83,6 +84,11 @@ export default class Entrypoints extends Component {
async hoistNoteCommand({ noteId }: { noteId: string }) {
const noteContext = appContext.tabManager.getActiveContext();
if (!noteContext) {
logError("hoistNoteCommand: noteContext is null");
return;
}
if (noteContext.hoistedNoteId !== noteId) {
await noteContext.setHoistedNoteId(noteId);
}
@ -174,7 +180,11 @@ export default class Entrypoints extends Component {
}
async runActiveNoteCommand() {
const { ntxId, note } = appContext.tabManager.getActiveContext();
const noteContext = appContext.tabManager.getActiveContext();
if (!noteContext) {
return;
}
const { ntxId, note } = noteContext;
// ctrl+enter is also used elsewhere, so make sure we're running only when appropriate
if (!note || note.type !== "code") {

@ -0,0 +1,82 @@
import appContext, { type EventData } from "./app_context.js";
import noteCreateService from "../services/note_create.js";
import treeService from "../services/tree.js";
import hoistedNoteService from "../services/hoisted_note.js";
import Component from "./component.js";
/**
* This class contains command executors which logically belong to the NoteTree widget, but for better user experience,
* the keyboard shortcuts must be active on the whole screen and not just on the widget itself, so the executors
* must be at the root of the component tree.
*/
export default class MainTreeExecutors extends Component {
/**
* On mobile it will be `undefined`.
*/
get tree() {
return appContext.noteTreeWidget;
}
async cloneNotesToCommand({ selectedOrActiveNoteIds }: EventData<"cloneNotesTo">) {
if (!selectedOrActiveNoteIds && this.tree) {
selectedOrActiveNoteIds = this.tree.getSelectedOrActiveNodes().map((node) => node.data.noteId);
}
if (!selectedOrActiveNoteIds) {
return;
}
this.triggerCommand("cloneNoteIdsTo", { noteIds: selectedOrActiveNoteIds });
}
async moveNotesToCommand({ selectedOrActiveBranchIds }: EventData<"moveNotesTo">) {
if (!selectedOrActiveBranchIds && this.tree) {
selectedOrActiveBranchIds = this.tree.getSelectedOrActiveNodes().map((node) => node.data.branchId);
}
if (!selectedOrActiveBranchIds) {
return;
}
this.triggerCommand("moveBranchIdsTo", { branchIds: selectedOrActiveBranchIds });
}
async createNoteIntoCommand() {
const activeNoteContext = appContext.tabManager.getActiveContext();
if (!activeNoteContext || !activeNoteContext.notePath || !activeNoteContext.note) {
return;
}
await noteCreateService.createNote(activeNoteContext.notePath, {
isProtected: activeNoteContext.note.isProtected,
saveSelection: false
});
}
async createNoteAfterCommand() {
if (!this.tree) {
return;
}
const node = this.tree.getActiveNode();
if (!node) {
return;
}
const parentNotePath = treeService.getNotePath(node.getParent());
const isProtected = treeService.getParentProtectedStatus(node);
if (node.data.noteId === "root" || node.data.noteId === hoistedNoteService.getHoistedNoteId()) {
return;
}
await noteCreateService.createNote(parentNotePath, {
target: "after",
targetBranchId: node.data.branchId,
isProtected: isProtected,
saveSelection: false
});
}
}

@ -10,13 +10,16 @@ import options from "../services/options.js";
import type { ViewScope } from "../services/link.js";
import type FNote from "../entities/fnote.js";
import type TypeWidget from "../widgets/type_widgets/type_widget.js";
import type { CKTextEditor } from "@triliumnext/ckeditor5";
import type CodeMirror from "@triliumnext/codemirror";
import { closeActiveDialog } from "../services/dialog.js";
export interface SetNoteOpts {
triggerSwitchEvent?: unknown;
viewScope?: ViewScope;
}
export type GetTextEditorCallback = () => void;
export type GetTextEditorCallback = (editor: CKTextEditor) => void;
class NoteContext extends Component implements EventListener<"entitiesReloaded"> {
ntxId: string | null;
@ -81,7 +84,7 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
await this.triggerEvent("beforeNoteSwitch", { noteContext: this });
utils.closeActiveDialog();
closeActiveDialog();
this.notePath = resolvedNotePath;
this.viewScope = opts.viewScope;
@ -157,6 +160,9 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
}
saveToRecentNotes(resolvedNotePath: string) {
if (options.is("databaseReadonly")) {
return;
}
setTimeout(async () => {
// we include the note in the recent list only if the user stayed on the note at least 5 seconds
if (resolvedNotePath && resolvedNotePath === this.notePath) {
@ -252,6 +258,10 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
return false;
}
if (options.is("databaseReadonly")) {
return true;
}
if (this.note.isLabelTruthy("readOnly")) {
return true;
}
@ -260,14 +270,32 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
return true;
}
const blob = await this.note.getBlob();
if (!blob) {
return false;
// Store the initial decision about read-only status in the viewScope
// This will be "remembered" until the viewScope is refreshed
if (!this.viewScope) {
this.resetViewScope();
}
const sizeLimit = this.note.type === "text" ? options.getInt("autoReadonlySizeText") : options.getInt("autoReadonlySizeCode");
const viewScope = this.viewScope!;
return sizeLimit && blob.contentLength > sizeLimit && !this.note.isLabelTruthy("autoReadOnlyDisabled");
if (viewScope.isReadOnly === undefined) {
const blob = await this.note.getBlob();
if (!blob) {
viewScope.isReadOnly = false;
return false;
}
const sizeLimit = this.note.type === "text"
? options.getInt("autoReadonlySizeText")
: options.getInt("autoReadonlySizeCode");
viewScope.isReadOnly = Boolean(sizeLimit &&
blob.contentLength > sizeLimit &&
!this.note.isLabelTruthy("autoReadOnlyDisabled"));
}
// Return the cached decision, which won't change until viewScope is reset
return viewScope.isReadOnly || false;
}
async entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) {
@ -298,7 +326,7 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
}
async getTextEditor(callback?: GetTextEditorCallback) {
return this.timeout<TextEditor>(
return this.timeout<CKTextEditor>(
new Promise((resolve) =>
appContext.triggerCommand("executeWithTextEditor", {
callback,
@ -311,7 +339,7 @@ class NoteContext extends Component implements EventListener<"entitiesReloaded">
async getCodeEditor() {
return this.timeout(
new Promise((resolve) =>
new Promise<CodeMirror>((resolve) =>
appContext.triggerCommand("executeWithCodeEditor", {
resolve,
ntxId: this.ntxId

@ -7,6 +7,9 @@ import protectedSessionService from "../services/protected_session.js";
import options from "../services/options.js";
import froca from "../services/froca.js";
import utils from "../services/utils.js";
import LlmChatPanel from "../widgets/llm_chat_panel.js";
import toastService from "../services/toast.js";
import noteCreateService from "../services/note_create.js";
export default class RootCommandExecutor extends Component {
editReadOnlyNoteCommand() {
@ -75,15 +78,15 @@ export default class RootCommandExecutor extends Component {
}
hideLeftPaneCommand() {
options.save(`leftPaneVisible`, "false");
appContext.triggerEvent("setLeftPaneVisibility", { leftPaneVisible: false });
}
showLeftPaneCommand() {
options.save(`leftPaneVisible`, "true");
appContext.triggerEvent("setLeftPaneVisibility", { leftPaneVisible: true });
}
toggleLeftPaneCommand() {
options.toggle("leftPaneVisible");
appContext.triggerEvent("setLeftPaneVisibility", { leftPaneVisible: null });
}
async showBackendLogCommand() {
@ -226,4 +229,35 @@ export default class RootCommandExecutor extends Component {
appContext.tabManager.activateNoteContext(tab.ntxId);
}
}
async createAiChatCommand() {
try {
// Create a new AI Chat note at the root level
const rootNoteId = "root";
const result = await noteCreateService.createNote(rootNoteId, {
title: "New AI Chat",
type: "aiChat",
content: JSON.stringify({
messages: [],
title: "New AI Chat"
})
});
if (!result.note) {
toastService.showError("Failed to create AI Chat note");
return;
}
await appContext.tabManager.openTabWithNoteWithHoisting(result.note.noteId, {
activate: true
});
toastService.showMessage("Created new AI Chat note");
}
catch (e) {
console.error("Error creating AI Chat note:", e);
toastService.showError("Failed to create AI Chat note: " + (e as Error).message);
}
}
}

@ -0,0 +1,26 @@
import server from "../services/server";
import Component from "./component";
// TODO: Deduplicate.
interface CpuArchResponse {
isCpuArchMismatch: boolean;
}
export class StartupChecks extends Component {
constructor() {
super();
this.checkCpuArchMismatch();
}
async checkCpuArchMismatch() {
try {
const response = await server.get("system-checks") as CpuArchResponse;
if (response.isCpuArchMismatch) {
this.triggerCommand("showCpuArchWarning", {});
}
} catch (error) {
console.warn("Could not check CPU arch status:", error);
}
}
}

@ -0,0 +1,711 @@
import Component from "./component.js";
import SpacedUpdate from "../services/spaced_update.js";
import server from "../services/server.js";
import options from "../services/options.js";
import froca from "../services/froca.js";
import treeService from "../services/tree.js";
import NoteContext from "./note_context.js";
import appContext from "./app_context.js";
import Mutex from "../utils/mutex.js";
import linkService from "../services/link.js";
import type { EventData } from "./app_context.js";
import type FNote from "../entities/fnote.js";
interface TabState {
contexts: NoteContext[];
position: number;
}
interface NoteContextState {
ntxId: string;
mainNtxId: string | null;
notePath: string | null;
hoistedNoteId: string;
active: boolean;
viewScope: Record<string, any>;
}
export default class TabManager extends Component {
public children: NoteContext[];
public mutex: Mutex;
public activeNtxId: string | null;
public recentlyClosedTabs: TabState[];
public tabsUpdate: SpacedUpdate;
constructor() {
super();
this.children = [];
this.mutex = new Mutex();
this.activeNtxId = null;
this.recentlyClosedTabs = [];
this.tabsUpdate = new SpacedUpdate(async () => {
if (!appContext.isMainWindow) {
return;
}
if (options.is("databaseReadonly")) {
return;
}
const openNoteContexts = this.noteContexts
.map((nc) => nc.getPojoState())
.filter((t) => !!t);
await server.put("options", {
openNoteContexts: JSON.stringify(openNoteContexts)
});
});
appContext.addBeforeUnloadListener(this);
}
get noteContexts(): NoteContext[] {
return this.children;
}
get mainNoteContexts(): NoteContext[] {
return this.noteContexts.filter((nc) => !nc.mainNtxId);
}
async loadTabs() {
try {
const noteContextsToOpen = (appContext.isMainWindow && options.getJson("openNoteContexts")) || [];
// preload all notes at once
await froca.getNotes([...noteContextsToOpen.flatMap((tab: NoteContextState) =>
[treeService.getNoteIdFromUrl(tab.notePath), tab.hoistedNoteId])], true);
const filteredNoteContexts = noteContextsToOpen.filter((openTab: NoteContextState) => {
const noteId = treeService.getNoteIdFromUrl(openTab.notePath);
if (!noteId || !(noteId in froca.notes)) {
// note doesn't exist so don't try to open tab for it
return false;
}
if (!(openTab.hoistedNoteId in froca.notes)) {
openTab.hoistedNoteId = "root";
}
return true;
});
// resolve before opened tabs can change this
const parsedFromUrl = linkService.parseNavigationStateFromUrl(window.location.href);
if (filteredNoteContexts.length === 0) {
parsedFromUrl.ntxId = parsedFromUrl.ntxId || NoteContext.generateNtxId(); // generate already here, so that we later know which one to activate
filteredNoteContexts.push({
notePath: parsedFromUrl.notePath || "root",
ntxId: parsedFromUrl.ntxId,
active: true,
hoistedNoteId: parsedFromUrl.hoistedNoteId || "root",
viewScope: parsedFromUrl.viewScope || {}
});
} else if (!filteredNoteContexts.find((tab: NoteContextState) => tab.active)) {
filteredNoteContexts[0].active = true;
}
await this.tabsUpdate.allowUpdateWithoutChange(async () => {
for (const tab of filteredNoteContexts) {
await this.openContextWithNote(tab.notePath, {
activate: tab.active,
ntxId: tab.ntxId,
mainNtxId: tab.mainNtxId,
hoistedNoteId: tab.hoistedNoteId,
viewScope: tab.viewScope
});
}
});
// if there's a notePath in the URL, make sure it's open and active
// (useful, for e.g., opening clipped notes from clipper or opening link in an extra window)
if (parsedFromUrl.notePath) {
await appContext.tabManager.switchToNoteContext(
parsedFromUrl.ntxId,
parsedFromUrl.notePath,
parsedFromUrl.viewScope,
parsedFromUrl.hoistedNoteId
);
} else if (parsedFromUrl.searchString) {
await appContext.triggerCommand("searchNotes", {
searchString: parsedFromUrl.searchString
});
}
} catch (e: unknown) {
if (e instanceof Error) {
logError(`Loading note contexts '${options.get("openNoteContexts")}' failed: ${e.message} ${e.stack}`);
} else {
logError(`Loading note contexts '${options.get("openNoteContexts")}' failed: ${String(e)}`);
}
// try to recover
await this.openEmptyTab();
}
}
noteSwitchedEvent({ noteContext }: EventData<"noteSwitched">) {
if (noteContext.isActive()) {
this.setCurrentNavigationStateToHash();
}
this.tabsUpdate.scheduleUpdate();
}
setCurrentNavigationStateToHash() {
const calculatedHash = this.calculateHash();
// update if it's the first history entry or there has been a change
if (window.history.length === 0 || calculatedHash !== window.location?.hash) {
// using pushState instead of directly modifying document.location because it does not trigger hashchange
window.history.pushState(null, "", calculatedHash);
}
const activeNoteContext = this.getActiveContext();
this.updateDocumentTitle(activeNoteContext);
this.triggerEvent("activeNoteChanged", {}); // trigger this even in on popstate event
}
calculateHash(): string {
const activeNoteContext = this.getActiveContext();
if (!activeNoteContext) {
return "";
}
return linkService.calculateHash({
notePath: activeNoteContext.notePath,
ntxId: activeNoteContext.ntxId,
hoistedNoteId: activeNoteContext.hoistedNoteId,
viewScope: activeNoteContext.viewScope
});
}
getNoteContexts(): NoteContext[] {
return this.noteContexts;
}
getMainNoteContexts(): NoteContext[] {
return this.noteContexts.filter((nc) => nc.isMainContext());
}
getNoteContextById(ntxId: string | null): NoteContext {
const noteContext = this.noteContexts.find((nc) => nc.ntxId === ntxId);
if (!noteContext) {
throw new Error(`Cannot find noteContext id='${ntxId}'`);
}
return noteContext;
}
getActiveContext(): NoteContext | null {
return this.activeNtxId ? this.getNoteContextById(this.activeNtxId) : null;
}
getActiveMainContext(): NoteContext | null {
return this.activeNtxId ? this.getNoteContextById(this.activeNtxId).getMainContext() : null;
}
getActiveContextNotePath(): string | null {
const activeContext = this.getActiveContext();
return activeContext?.notePath ?? null;
}
getActiveContextNote(): FNote | null {
const activeContext = this.getActiveContext();
return activeContext ? activeContext.note : null;
}
getActiveContextNoteId(): string | null {
const activeNote = this.getActiveContextNote();
return activeNote ? activeNote.noteId : null;
}
getActiveContextNoteType(): string | null {
const activeNote = this.getActiveContextNote();
return activeNote ? activeNote.type : null;
}
getActiveContextNoteMime(): string | null {
const activeNote = this.getActiveContextNote();
return activeNote ? activeNote.mime : null;
}
async switchToNoteContext(
ntxId: string | null,
notePath: string,
viewScope: Record<string, any> = {},
hoistedNoteId: string | null = null
) {
const noteContext = this.noteContexts.find((nc) => nc.ntxId === ntxId) ||
await this.openEmptyTab();
await this.activateNoteContext(noteContext.ntxId);
if (hoistedNoteId) {
await noteContext.setHoistedNoteId(hoistedNoteId);
}
if (notePath) {
await noteContext.setNote(notePath, { viewScope });
}
}
async openAndActivateEmptyTab() {
const noteContext = await this.openEmptyTab();
await this.activateNoteContext(noteContext.ntxId);
noteContext.setEmpty();
}
async openEmptyTab(
ntxId: string | null = null,
hoistedNoteId: string = "root",
mainNtxId: string | null = null
): Promise<NoteContext> {
const noteContext = new NoteContext(ntxId, hoistedNoteId, mainNtxId);
const existingNoteContext = this.children.find((nc) => nc.ntxId === noteContext.ntxId);
if (existingNoteContext) {
await existingNoteContext.setHoistedNoteId(hoistedNoteId);
return existingNoteContext;
}
this.child(noteContext);
await this.triggerEvent("newNoteContextCreated", { noteContext });
return noteContext;
}
async openInNewTab(targetNoteId: string, hoistedNoteId: string | null = null, activate: boolean = false) {
const noteContext = await this.openEmptyTab(null, hoistedNoteId || this.getActiveContext()?.hoistedNoteId);
await noteContext.setNote(targetNoteId);
if (activate && noteContext.notePath) {
this.activateNoteContext(noteContext.ntxId, false);
await this.triggerEvent("noteSwitchedAndActivated", {
noteContext,
notePath: noteContext.notePath
});
}
}
async openInSameTab(targetNoteId: string, hoistedNoteId: string | null = null) {
const activeContext = this.getActiveContext();
if (!activeContext) return;
await activeContext.setHoistedNoteId(hoistedNoteId || activeContext.hoistedNoteId);
await activeContext.setNote(targetNoteId);
}
async openTabWithNoteWithHoisting(
notePath: string,
opts: {
activate?: boolean | null;
ntxId?: string | null;
mainNtxId?: string | null;
hoistedNoteId?: string | null;
viewScope?: Record<string, any> | null;
} = {}
): Promise<NoteContext> {
const noteContext = this.getActiveContext();
let hoistedNoteId = "root";
if (noteContext) {
const resolvedNotePath = await treeService.resolveNotePath(notePath, noteContext.hoistedNoteId);
if (resolvedNotePath?.includes(noteContext.hoistedNoteId) || resolvedNotePath?.includes("_hidden")) {
hoistedNoteId = noteContext.hoistedNoteId;
}
}
opts.hoistedNoteId = hoistedNoteId;
return this.openContextWithNote(notePath, opts);
}
async openContextWithNote(
notePath: string | null,
opts: {
activate?: boolean | null;
ntxId?: string | null;
mainNtxId?: string | null;
hoistedNoteId?: string | null;
viewScope?: Record<string, any> | null;
} = {}
): Promise<NoteContext> {
const activate = !!opts.activate;
const ntxId = opts.ntxId || null;
const mainNtxId = opts.mainNtxId || null;
const hoistedNoteId = opts.hoistedNoteId || "root";
const viewScope = opts.viewScope || { viewMode: "default" };
const noteContext = await this.openEmptyTab(ntxId, hoistedNoteId, mainNtxId);
if (notePath) {
await noteContext.setNote(notePath, {
// if activate is false, then send normal noteSwitched event
triggerSwitchEvent: !activate,
viewScope: viewScope
});
}
if (activate && noteContext.notePath) {
this.activateNoteContext(noteContext.ntxId, false);
await this.triggerEvent("noteSwitchedAndActivated", {
noteContext,
notePath: noteContext.notePath // resolved note path
});
}
return noteContext;
}
async activateOrOpenNote(noteId: string) {
for (const noteContext of this.getNoteContexts()) {
if (noteContext.note && noteContext.note.noteId === noteId) {
this.activateNoteContext(noteContext.ntxId);
return;
}
}
// if no tab with this note has been found we'll create new tab
await this.openContextWithNote(noteId, { activate: true });
}
async activateNoteContext(ntxId: string | null, triggerEvent: boolean = true) {
if (!ntxId) {
logError("activateNoteContext: ntxId is null");
return;
}
if (ntxId === this.activeNtxId) {
return;
}
this.activeNtxId = ntxId;
if (triggerEvent) {
await this.triggerEvent("activeContextChanged", {
noteContext: this.getNoteContextById(ntxId)
});
}
this.tabsUpdate.scheduleUpdate();
this.setCurrentNavigationStateToHash();
}
async removeNoteContext(ntxId: string | null): Promise<boolean> {
// removing note context is an async process which can take some time, if users presses CTRL-W quickly, two
// close events could interleave which would then lead to attempting to activate already removed context.
return await this.mutex.runExclusively(async (): Promise<boolean> => {
let noteContextToRemove;
try {
noteContextToRemove = this.getNoteContextById(ntxId);
} catch {
// note context not found
return false;
}
if (noteContextToRemove.isMainContext()) {
const mainNoteContexts = this.getNoteContexts().filter((nc) => nc.isMainContext());
if (mainNoteContexts.length === 1) {
if (noteContextToRemove.isEmpty()) {
// this is already the empty note context, no point in closing it and replacing with another
// empty tab
return false;
}
await this.openEmptyTab();
}
}
// close dangling autocompletes after closing the tab
const $autocompleteEl = $(".aa-input");
if ("autocomplete" in $autocompleteEl) {
$autocompleteEl.autocomplete("close");
}
const noteContextsToRemove = noteContextToRemove.getSubContexts();
const ntxIdsToRemove = noteContextsToRemove.map((nc) => nc.ntxId);
await this.triggerEvent("beforeNoteContextRemove", { ntxIds: ntxIdsToRemove.filter((id) => id !== null) });
if (!noteContextToRemove.isMainContext()) {
const siblings = noteContextToRemove.getMainContext().getSubContexts();
const idx = siblings.findIndex((nc) => nc.ntxId === noteContextToRemove.ntxId);
const contextToActivateIdx = idx === siblings.length - 1 ? idx - 1 : idx + 1;
const contextToActivate = siblings[contextToActivateIdx];
await this.activateNoteContext(contextToActivate.ntxId);
} else if (this.mainNoteContexts.length <= 1) {
await this.openAndActivateEmptyTab();
} else if (ntxIdsToRemove.includes(this.activeNtxId)) {
const idx = this.mainNoteContexts.findIndex((nc) => nc.ntxId === noteContextToRemove.ntxId);
if (idx === this.mainNoteContexts.length - 1) {
await this.activatePreviousTabCommand();
} else {
await this.activateNextTabCommand();
}
}
this.removeNoteContexts(noteContextsToRemove);
return true;
});
}
removeNoteContexts(noteContextsToRemove: NoteContext[]) {
const ntxIdsToRemove = noteContextsToRemove.map((nc) => nc.ntxId);
const position = this.noteContexts.findIndex((nc) => ntxIdsToRemove.includes(nc.ntxId));
this.children = this.children.filter((nc) => !ntxIdsToRemove.includes(nc.ntxId));
this.addToRecentlyClosedTabs(noteContextsToRemove, position);
this.triggerEvent("noteContextRemoved", { ntxIds: ntxIdsToRemove.filter((id) => id !== null) });
this.tabsUpdate.scheduleUpdate();
}
addToRecentlyClosedTabs(noteContexts: NoteContext[], position: number) {
if (noteContexts.length === 1 && noteContexts[0].isEmpty()) {
return;
}
this.recentlyClosedTabs.push({ contexts: noteContexts, position: position });
}
tabReorderEvent({ ntxIdsInOrder }: { ntxIdsInOrder: string[] }) {
const order: Record<string, number> = {};
let i = 0;
for (const ntxId of ntxIdsInOrder) {
for (const noteContext of this.getNoteContextById(ntxId).getSubContexts()) {
if (noteContext.ntxId) {
order[noteContext.ntxId] = i++;
}
}
}
this.children.sort((a, b) => {
if (!a.ntxId || !b.ntxId) return 0;
return (order[a.ntxId] ?? 0) < (order[b.ntxId] ?? 0) ? -1 : 1;
});
this.tabsUpdate.scheduleUpdate();
}
noteContextReorderEvent({
ntxIdsInOrder,
oldMainNtxId,
newMainNtxId
}: {
ntxIdsInOrder: string[];
oldMainNtxId?: string;
newMainNtxId?: string;
}) {
const order = Object.fromEntries(ntxIdsInOrder.map((v, i) => [v, i]));
this.children.sort((a, b) => {
if (!a.ntxId || !b.ntxId) return 0;
return (order[a.ntxId] ?? 0) < (order[b.ntxId] ?? 0) ? -1 : 1;
});
if (oldMainNtxId && newMainNtxId) {
this.children.forEach((c) => {
if (c.ntxId === newMainNtxId) {
// new main context has null mainNtxId
c.mainNtxId = null;
} else if (c.ntxId === oldMainNtxId || c.mainNtxId === oldMainNtxId) {
// old main context or subcontexts all have the new mainNtxId
c.mainNtxId = newMainNtxId;
}
});
}
this.tabsUpdate.scheduleUpdate();
}
async activateNextTabCommand() {
const activeMainNtxId = this.getActiveMainContext()?.ntxId;
if (!activeMainNtxId) return;
const oldIdx = this.mainNoteContexts.findIndex((nc) => nc.ntxId === activeMainNtxId);
const newActiveNtxId = this.mainNoteContexts[oldIdx === this.mainNoteContexts.length - 1 ? 0 : oldIdx + 1].ntxId;
await this.activateNoteContext(newActiveNtxId);
}
async activatePreviousTabCommand() {
const activeMainNtxId = this.getActiveMainContext()?.ntxId;
if (!activeMainNtxId) return;
const oldIdx = this.mainNoteContexts.findIndex((nc) => nc.ntxId === activeMainNtxId);
const newActiveNtxId = this.mainNoteContexts[oldIdx === 0 ? this.mainNoteContexts.length - 1 : oldIdx - 1].ntxId;
await this.activateNoteContext(newActiveNtxId);
}
async closeActiveTabCommand() {
await this.removeNoteContext(this.activeNtxId);
}
beforeUnloadEvent(): boolean {
this.tabsUpdate.updateNowIfNecessary();
return true; // don't block closing the tab, this metadata is not that important
}
openNewTabCommand() {
this.openAndActivateEmptyTab();
}
async closeAllTabsCommand() {
for (const ntxIdToRemove of this.mainNoteContexts.map((nc) => nc.ntxId)) {
await this.removeNoteContext(ntxIdToRemove);
}
}
async closeOtherTabsCommand({ ntxId }: { ntxId: string }) {
for (const ntxIdToRemove of this.mainNoteContexts.map((nc) => nc.ntxId)) {
if (ntxIdToRemove !== ntxId) {
await this.removeNoteContext(ntxIdToRemove);
}
}
}
async closeRightTabsCommand({ ntxId }: { ntxId: string }) {
const ntxIds = this.mainNoteContexts.map((nc) => nc.ntxId);
const index = ntxIds.indexOf(ntxId);
if (index !== -1) {
const idsToRemove = ntxIds.slice(index + 1);
for (const ntxIdToRemove of idsToRemove) {
await this.removeNoteContext(ntxIdToRemove);
}
}
}
async closeTabCommand({ ntxId }: { ntxId: string }) {
await this.removeNoteContext(ntxId);
}
async moveTabToNewWindowCommand({ ntxId }: { ntxId: string }) {
const { notePath, hoistedNoteId } = this.getNoteContextById(ntxId);
const removed = await this.removeNoteContext(ntxId);
if (removed) {
this.triggerCommand("openInWindow", { notePath, hoistedNoteId });
}
}
async copyTabToNewWindowCommand({ ntxId }: { ntxId: string }) {
const { notePath, hoistedNoteId } = this.getNoteContextById(ntxId);
this.triggerCommand("openInWindow", { notePath, hoistedNoteId });
}
async reopenLastTabCommand() {
const closeLastEmptyTab: NoteContext | undefined = await this.mutex.runExclusively(async () => {
let closeLastEmptyTab
if (this.recentlyClosedTabs.length === 0) {
return closeLastEmptyTab;
}
if (this.noteContexts.length === 1 && this.noteContexts[0].isEmpty()) {
// new empty tab is created after closing the last tab, this reverses the empty tab creation
closeLastEmptyTab = this.noteContexts[0];
}
const lastClosedTab = this.recentlyClosedTabs.pop();
if (!lastClosedTab) return closeLastEmptyTab;
const noteContexts = lastClosedTab.contexts;
for (const noteContext of noteContexts) {
this.child(noteContext);
await this.triggerEvent("newNoteContextCreated", { noteContext });
}
// restore last position of contexts stored in tab manager
const ntxsInOrder = [
...this.noteContexts.slice(0, lastClosedTab.position),
...this.noteContexts.slice(-noteContexts.length),
...this.noteContexts.slice(lastClosedTab.position, -noteContexts.length)
];
this.noteContextReorderEvent({ ntxIdsInOrder: ntxsInOrder.map((nc) => nc.ntxId).filter((id) => id !== null) });
let mainNtx = noteContexts.find((nc) => nc.isMainContext());
if (mainNtx) {
// reopened a tab, need to reorder new tab widget in tab row
await this.triggerEvent("contextsReopened", {
mainNtxId: mainNtx.ntxId,
tabPosition: ntxsInOrder.filter((nc) => nc.isMainContext()).findIndex((nc) => nc.ntxId === mainNtx.ntxId)
});
} else {
// reopened a single split, need to reorder the pane widget in split note container
await this.triggerEvent("contextsReopened", {
mainNtxId: ntxsInOrder[lastClosedTab.position].ntxId,
// this is safe since lastClosedTab.position can never be 0 in this case
tabPosition: lastClosedTab.position - 1
});
}
const noteContextToActivate = noteContexts.length === 1 ? noteContexts[0] : noteContexts.find((nc) => nc.isMainContext());
if (!noteContextToActivate) return closeLastEmptyTab;
await this.activateNoteContext(noteContextToActivate.ntxId);
await this.triggerEvent("noteSwitched", {
noteContext: noteContextToActivate,
notePath: noteContextToActivate.notePath
});
return closeLastEmptyTab;
});
if (closeLastEmptyTab) {
await this.removeNoteContext(closeLastEmptyTab.ntxId);
}
}
hoistedNoteChangedEvent() {
this.tabsUpdate.scheduleUpdate();
}
async updateDocumentTitle(activeNoteContext: NoteContext | null) {
if (!activeNoteContext) return;
const titleFragments = [
// it helps to navigate in history if note title is included in the title
await activeNoteContext.getNavigationTitle(),
"TriliumNext Notes"
].filter(Boolean);
document.title = titleFragments.join(" - ");
}
async entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) {
const activeContext = this.getActiveContext();
if (activeContext && loadResults.isNoteReloaded(activeContext.noteId)) {
await this.updateDocumentTitle(activeContext);
}
}
async frocaReloadedEvent() {
const activeContext = this.getActiveContext();
if (activeContext) {
await this.updateDocumentTitle(activeContext);
}
}
}

@ -0,0 +1,135 @@
import utils from "../services/utils.js";
import Component from "./component.js";
import appContext from "./app_context.js";
import type { TouchBarButton, TouchBarGroup, TouchBarSegmentedControl, TouchBarSpacer } from "@electron/remote";
export type TouchBarItem = (TouchBarButton | TouchBarSpacer | TouchBarGroup | TouchBarSegmentedControl);
export function buildSelectedBackgroundColor(isSelected: boolean) {
return isSelected ? "#757575" : undefined;
}
export default class TouchBarComponent extends Component {
nativeImage: typeof import("electron").nativeImage;
remote: typeof import("@electron/remote");
lastFocusedComponent?: Component;
private $activeModal?: JQuery<HTMLElement>;
constructor() {
super();
this.nativeImage = utils.dynamicRequire("electron").nativeImage;
this.remote = utils.dynamicRequire("@electron/remote") as typeof import("@electron/remote");
this.$widget = $("<div>");
$(window).on("focusin", async (e) => {
const $target = $(e.target);
this.$activeModal = $target.closest(".modal-dialog");
const parentComponentEl = $target.closest(".component");
this.lastFocusedComponent = appContext.getComponentByEl(parentComponentEl[0]);
this.#refreshTouchBar();
});
}
buildIcon(name: string) {
const sourceImage = this.nativeImage.createFromNamedImage(name, [-1, 0, 1]);
const { width, height } = sourceImage.getSize();
const newImage = this.nativeImage.createEmpty();
newImage.addRepresentation({
scaleFactor: 1,
width: width / 2,
height: height / 2,
buffer: sourceImage.resize({ height: height / 2 }).toBitmap()
});
newImage.addRepresentation({
scaleFactor: 2,
width: width,
height: height,
buffer: sourceImage.toBitmap()
});
return newImage;
}
#refreshTouchBar() {
const { TouchBar } = this.remote;
const parentComponent = this.lastFocusedComponent;
let touchBar: Electron.CrossProcessExports.TouchBar | null = null;
if (this.$activeModal?.length) {
touchBar = this.#buildModalTouchBar();
} else if (parentComponent) {
const items = parentComponent.triggerCommand("buildTouchBar", {
TouchBar,
buildIcon: this.buildIcon.bind(this)
}) as unknown as TouchBarItem[];
touchBar = this.#buildTouchBar(items);
}
if (touchBar) {
this.remote.getCurrentWindow().setTouchBar(touchBar);
}
}
#buildModalTouchBar() {
const { TouchBar } = this.remote;
const { TouchBarButton, TouchBarLabel, TouchBarSpacer } = this.remote.TouchBar;
const items: TouchBarItem[] = [];
// Look for the modal title.
const $title = this.$activeModal?.find(".modal-title");
if ($title?.length) {
items.push(new TouchBarLabel({ label: $title.text() }))
}
items.push(new TouchBarSpacer({ size: "flexible" }));
// Look for buttons in the modal.
const $buttons = this.$activeModal?.find(".modal-footer button");
for (const button of $buttons ?? []) {
items.push(new TouchBarButton({
label: button.innerText,
click: () => button.click(),
enabled: !button.hasAttribute("disabled")
}));
}
items.push(new TouchBarSpacer({ size: "flexible" }));
return new TouchBar({ items });
}
#buildTouchBar(componentSpecificItems?: TouchBarItem[]) {
const { TouchBar } = this.remote;
const { TouchBarButton, TouchBarSpacer, TouchBarGroup, TouchBarSegmentedControl, TouchBarOtherItemsProxy } = this.remote.TouchBar;
// Disregard recursive calls or empty results.
if (!componentSpecificItems || "then" in componentSpecificItems) {
componentSpecificItems = [];
}
const items = [
new TouchBarButton({
icon: this.buildIcon("NSTouchBarComposeTemplate"),
click: () => this.triggerCommand("createNoteIntoInbox")
}),
new TouchBarSpacer({ size: "small" }),
...componentSpecificItems,
new TouchBarSpacer({ size: "flexible" }),
new TouchBarOtherItemsProxy(),
new TouchBarButton({
icon: this.buildIcon("NSTouchBarAddDetailTemplate"),
click: () => this.triggerCommand("jumpToNote")
})
].flat();
console.log("Update ", items);
return new TouchBar({
items
});
}
refreshTouchBarEvent() {
this.#refreshTouchBar();
}
}

@ -8,9 +8,13 @@ import electronContextMenu from "./menus/electron_context_menu.js";
import glob from "./services/glob.js";
import { t } from "./services/i18n.js";
import options from "./services/options.js";
import server from "./services/server.js";
import type ElectronRemote from "@electron/remote";
import type Electron from "electron";
import "../stylesheets/bootstrap.scss";
import "./stylesheets/bootstrap.scss";
import "boxicons/css/boxicons.min.css";
import "jquery-hotkeys";
import "autocomplete.js/index_jquery.js";
await appContext.earlyInit();

@ -1,7 +1,6 @@
import server from "../services/server.js";
import noteAttributeCache from "../services/note_attribute_cache.js";
import ws from "../services/ws.js";
import froca from "../services/froca.js";
import protectedSessionHolder from "../services/protected_session_holder.js";
import cssClassManager from "../services/css_class_manager.js";
import type { Froca } from "../services/froca-interface.js";
@ -28,7 +27,8 @@ const NOTE_TYPE_ICONS = {
doc: "bx bxs-file-doc",
contentWidget: "bx bxs-widget",
mindMap: "bx bx-sitemap",
geoMap: "bx bx-map-alt"
geoMap: "bx bx-map-alt",
aiChat: "bx bx-bot"
};
/**
@ -36,7 +36,7 @@ const NOTE_TYPE_ICONS = {
* end user. Those types should be used only for checking against, they are
* not for direct use.
*/
export type NoteType = "file" | "image" | "search" | "noteMap" | "launcher" | "doc" | "contentWidget" | "text" | "relationMap" | "render" | "canvas" | "mermaid" | "book" | "webView" | "code" | "mindMap" | "geoMap";
export type NoteType = "file" | "image" | "search" | "noteMap" | "launcher" | "doc" | "contentWidget" | "text" | "relationMap" | "render" | "canvas" | "mermaid" | "book" | "webView" | "code" | "mindMap" | "geoMap" | "aiChat";
export interface NotePathRecord {
isArchived: boolean;
@ -151,7 +151,7 @@ class FNote {
for (const branchId of Object.values(this.childToBranch)) {
const notePosition = this.froca.getBranch(branchId)?.notePosition;
if (notePosition) {
if (notePosition !== undefined) {
branchIdPos[branchId] = notePosition;
}
}
@ -409,8 +409,8 @@ class FNote {
const notePaths: NotePathRecord[] = this.getAllNotePaths().map((path) => ({
notePath: path,
isInHoistedSubTree: isHoistedRoot || path.includes(hoistedNoteId),
isArchived: path.some((noteId) => froca.notes[noteId].isArchived),
isSearch: path.some((noteId) => froca.notes[noteId].type === "search"),
isArchived: path.some((noteId) => this.froca.notes[noteId].isArchived),
isSearch: path.some((noteId) => this.froca.notes[noteId].type === "search"),
isHidden: path.includes("_hidden")
}));
@ -788,7 +788,7 @@ class FNote {
*/
async getRelationTargets(name: string) {
const relations = this.getRelations(name);
const targets = [];
const targets: (FNote | null)[] = [];
for (const relation of relations) {
targets.push(await this.froca.getNote(relation.value));
@ -952,6 +952,12 @@ class FNote {
return null;
}
/**
* Executes this {@link FNote} as a front-end or back-end script.
*
* @throws an {@link Error} if the note has an incorrect note type or MIME for execution.
* @returns a promise that resolves when the script has been run. Additionally, for front-end notes, the promise will contain the value that is returned by the script.
*/
async executeScript() {
if (!this.isJavaScript()) {
throw new Error(`Note ${this.noteId} is of type ${this.type} and mime ${this.mime} and thus cannot be executed`);
@ -975,7 +981,7 @@ class FNote {
continue;
}
const parentNote = froca.notes[parentNoteId];
const parentNote = this.froca.notes[parentNoteId];
if (!parentNote || parentNote.type === "search") {
continue;

@ -1,93 +1,93 @@
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.
Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
https://openfontlicense.org
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide
development of collaborative font projects, to support the font creation
efforts of academic and linguistic communities, and to provide a free and
open framework in which fonts may be shared and improved in partnership
with others.
The OFL allows the licensed fonts to be used, studied, modified and
redistributed freely as long as they are not sold by themselves. The
fonts, including any derivative works, can be bundled, embedded,
redistributed and/or sold with any software provided that any reserved
names are not used by derivative works. The fonts and derivatives,
however, cannot be released under any other type of license. The
requirement for fonts to remain under this license does not apply
to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright
Holder(s) under this license and clearly marked as such. This may
include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the
copyright statement(s).
"Original Version" refers to the collection of Font Software components as
distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting,
or substituting -- in part or in whole -- any of the components of the
Original Version, by changing formats or by porting the Font Software to a
new environment.
"Author" refers to any designer, engineer, programmer, technical
writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining
a copy of the Font Software, to use, study, copy, merge, embed, modify,
redistribute, and sell modified and unmodified copies of the Font
Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components,
in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font
Name(s) unless explicit written permission is granted by the corresponding
Copyright Holder. This restriction only applies to the primary font name as
presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
Software shall not be used to promote, endorse or advertise any
Modified Version, except to acknowledge the contribution(s) of the
Copyright Holder(s) and the Author(s) or with their explicit written
permission.
5) The Font Software, modified or unmodified, in part or in whole,
must be distributed entirely under this license, and must not be
distributed under any other license. The requirement for fonts to
remain under this license does not apply to any document created
using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are
not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
OTHER DEALINGS IN THE FONT SOFTWARE.

Some files were not shown because too many files have changed in this diff Show More