Compare commits

...

9713 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
Elian Doran 62706a6af2
chore(release): 0.92.4 2025-03-16 16:04:21 +07:00
Elian Doran 79c82b16ce
feat(docs): document admonitions 2025-03-16 16:00:10 +07:00
Elian Doran ba96806fab
chore(docs): change order of top level elements 2025-03-16 15:56:59 +07:00
Elian Doran 8c1f4b0014
feat(docs): erase unnecessary attachments 2025-03-16 14:45:21 +07:00
Elian Doran 051cba9a6d
fix(docs): content language attachment 2025-03-16 14:41:58 +07:00
Elian Doran 800424405a
fix(import/zip): support special characters for attachments 2025-03-16 14:39:27 +07:00
Elian Doran 132a8f7c65
chore(docs): update to match new img handling 2025-03-16 14:05:38 +07:00
Elian Doran 3eaa68da23
feat(import/markdown): maintain consistency with CKEditor for images 2025-03-16 13:58:31 +07:00
Elian Doran 8aaf2367e9
feat(in-app-help): hide notes that are hidden from share 2025-03-16 13:33:07 +07:00
Elian Doran 6f799692e0
feat(in-app-help): render note list 2025-03-16 13:24:34 +07:00
Elian Doran 7df86dd60b
Merge pull request #1439 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.9.0
2025-03-16 12:27:32 +07:00
Elian Doran dd8818f0ac
Merge pull request #1438 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.28.0
2025-03-16 12:26:22 +07:00
Elian Doran 35dad6ffce
Merge pull request #1437 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.4.2
2025-03-16 12:24:51 +07:00
renovate[bot] b13cab411b
fix(deps): update dependency better-sqlite3 to v11.9.0 2025-03-16 02:48:25 +07:00
renovate[bot] 09a1227b63
chore(deps): update dependency typedoc to v0.28.0 2025-03-16 02:48:13 +07:00
renovate[bot] 511c69bdb0
fix(deps): update dependency mind-elixir to v4.4.2 2025-03-16 02:48:00 +07:00
Elian Doran 2828b39f48
chore(client/ts): port some more files 2025-03-16 00:45:46 +07:00
Elian Doran ee5eba193a
Merge pull request #1395 from TriliumNext/build_improve-electron-forge_v3
build(electron-forge): improve electron-forge build process
2025-03-15 23:53:56 +07:00
Elian Doran c1acaa0159
Merge branch 'develop' into build_improve-electron-forge_v3 2025-03-15 23:42:43 +07:00
Elian Doran bb14667bdf
fix(text): PHP, Sass, TypeScript/JSX not rendered in code blocks 2025-03-15 23:12:07 +07:00
Elian Doran 7b1299a758
fix(client): error due to typings 2025-03-15 22:45:13 +07:00
Elian Doran 3c93fdc202
feat(markdown/import): remove space in admonition 2025-03-15 22:39:33 +07:00
Elian Doran 40d233dccc
chore(deps): remove no longer necessary html-minifier 2025-03-15 22:20:43 +07:00
Elian Doran 182bccad39
chore(client/ts): port some dialogs 2025-03-15 22:14:21 +07:00
perf3ct c556989f85
Merge branch 'develop' into ai-llm-integration 2025-03-15 19:38:27 +07:00
Elian Doran 1bf16bfa22
feat(import/markdown): remove spaces in lists 2025-03-15 21:30:19 +07:00
Elian Doran 30593eeeac
refactor(import/markdown): change renderer instead of applying an uglifier 2025-03-15 21:07:02 +07:00
Elian Doran 36fa0af706
fix(docs): update calendar view documentation 2025-03-15 19:44:15 +07:00
Elian Doran 00106580ca
fix(admonitions): floating images breaking out 2025-03-15 19:31:45 +07:00
Elian Doran ac419e8ab4
feat(docs): remove inline warnings and apply admonitions 2025-03-15 18:56:55 +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
Elian Doran c27f13d49f
fix(test): one more broken test 2025-03-15 18:18:17 +07:00
Elian Doran 2b966afbe1
fix(test): tests that got broken along the way 2025-03-15 17:51:10 +07:00
Elian Doran bc8cca664b
feat(ci): trigger dev workflow on PR and main branch 2025-03-15 17:14:17 +07:00
Elian Doran e9a0c68a28
Merge branch 'develop' into build_improve-electron-forge_v3 2025-03-15 17:00:53 +07:00
Elian Doran 103b29d3de
Revert "fix(flatpak): try setting different bin to avoid sandbox issue"
This reverts commit a778ec617f.
2025-03-15 13:44:30 +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
Panagiotis Papadopoulos 3b8c645cca Merge branch 'develop' into build_improve-electron-forge_v3 2025-03-15 12:09:52 +07:00
Elian Doran a778ec617f
fix(flatpak): try setting different bin to avoid sandbox issue 2025-03-15 13:01:28 +07:00
Elian Doran df5939b201
feat(share): add basic support for admonitions 2025-03-15 12:30:07 +07:00
Elian Doran f841b139d9
fix(admonitions): missing style on mobile 2025-03-15 12:25:48 +07:00
Elian Doran 535233fec8
feat(import/markdown): basic support for admonitions 2025-03-15 11:58:11 +07:00
Elian Doran 6d67e69e2f
feat(export/markdown): basic support for admonitions 2025-03-15 11:30:56 +07:00
Elian Doran b1e3ea4c80
fix(admonition): inserting new admonitions of given type not working 2025-03-15 10:50:04 +07:00
Elian Doran c3a9582208 fix(admonition): inserting new admonitions of given type not working 2025-03-15 10:49:27 +07:00
Elian Doran 0f41afe841
fix(tmp): files not cleaned up 2025-03-15 10:34:17 +07:00
Elian Doran aa6ee3fd60
fix(global_menu): double separator on mobile 2025-03-15 10:34:07 +07:00
Elian Doran 0f28bbb1be
feat(server): use custom temporary directory within trilium-data 2025-03-15 10:11:54 +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 45b7d51db9
fix(zen): missing edit read-only note (closes #1371) 2025-03-15 02:21:00 +07:00
Elian Doran 6c1f631ddb
fix(right_pane): buttons disappearing (force min width, closes #1419). 2025-03-15 02:08:46 +07:00
Elian Doran 6acb490df4
feat(editor): move code formatting back to main level (closes #1375) 2025-03-15 02:00:42 +07:00
Elian Doran 598413b56d
test(editor): ensure both toolbars have same items 2025-03-15 01:57:53 +07:00
Elian Doran fd029ac451
fix(ribbon): exception about focusing 2025-03-15 01:40:46 +07:00
Elian Doran b4ea96b7c7
Merge pull request #1428 from pchemguy/bat-files-fixes
Fixes missing quotes in the `bat` files.
2025-03-15 01:20:37 +07:00
Elian Doran 63ad784021
feat(math/display): allow inserting in display in a list 2025-03-15 01:07:59 +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 4db2aab47f
feat(admonition): integrate autoformatting 2025-03-14 23:09:46 +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 9ff1ea4b8f
style(admonition): bottom margin for last item 2025-03-14 22:29:24 +07:00
Elian Doran 265d54e44b
fix(export): remove non-functional PDF export type 2025-03-14 22:24:10 +07:00
Elian Doran d9764365cb
feat(import): allow importing .excalidraw files 2025-03-14 22:13:31 +07:00
Elian Doran ad8c1a4a29
feat(export): use right extension for canvas 2025-03-14 22:01:04 +07:00
Elian Doran abddde910c
refactor(canvas): use better approach to disabling export 2025-03-14 21:59:02 +07:00
Elian Doran 3c146cdb20
fix(canvas): unable to export as image (closes #1431) 2025-03-14 21:53:23 +07:00
Elian Doran ae3f0e0e4b
fix(types): add missing dependency 2025-03-14 21:43:37 +07:00
Elian Doran 56d3cd038c
fix(deps): add missing dependency 2025-03-14 21:42:59 +07:00
Elian Doran a2f0896c2a
feat(import/markdown): collapse unnecessary whitespace when importing 2025-03-14 19:50:26 +07:00
Elian Doran c892c95aae
chore(docs): collapse unnecessary whitespace 2025-03-14 19:47:08 +07:00
Elian Doran bbf6ae6aab
feat(sql_console): preserve whitespace in columns 2025-03-14 18:53:04 +07:00
Elian Doran 8b0ddf6f9d
chore(docs): update markdown documentation with proper keyboard shortcuts 2025-03-14 18:01:53 +07:00
Elian Doran 6b89bffffb
feat(export/markdown): preserve keyboard shortcuts 2025-03-14 17:59:50 +07:00
Elian Doran 80421bb220
refactor(server): rename md -> markdown for consistency 2025-03-14 16:25:10 +07:00
PChemGuy df9a413ef8 Strip trailing backslash
%~dp0 always contains a trailing backslash. The way %DIR% is used in the following line, the trailing slash should be stripped. Alternatively, `%DIR%\\` may be replaced with `%DIR%`, but I would advice against. It is ok to have `%~dp0trilium-data`, which is a conventional pattern. Once %~dp0 is replaced with %DIR% (which is not really warranted here), stripping the trailing slash right after assignment is preferable.
2025-03-14 14:29:37 +07:00
PChemGuy 4971619b69 Missing quotes 2025-03-14 14:19:11 +07:00
Elian Doran 875e65284c
feat(docs): use <kbd> for keyboard shortcuts 2025-03-14 12:11:09 +07:00
Elian Doran 806cd7129a
fix(docs): rtl image 2025-03-14 11:34:27 +07:00
Elian Doran c8725ce6ef
feat(docs): align documentation with new settings 2025-03-14 11:32:07 +07:00
Elian Doran 0c55b1eee8
feat(editor): rewrite <i> to <em> for compatibility with Markdown 2025-03-14 11:31:46 +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
Elian Doran 9b217a5b82
Merge pull request #1366 from rom1dep/calendar_enh_displayed
feat(calendar) improvements
2025-03-14 11:17:44 +07:00
Elian Doran a50b8c7f0a
Merge pull request #1425 from TriliumNext/renovate/mermaid-11.x
fix(deps): update dependency mermaid to v11.5.0
2025-03-14 11:15:51 +07:00
Elian Doran 5efb5fd303
Merge pull request #1424 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.2.3
2025-03-14 11:15:12 +07:00
renovate[bot] 2e436cdd46
chore(deps): update dependency electron to v35 2025-03-14 09:14:49 +07:00
Elian Doran 3656b1e0eb
Merge pull request #1423 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.4
2025-03-14 11:14:47 +07:00
Elian Doran b2060799c4
Merge pull request #1422 from TriliumNext/renovate/axios-1.x
fix(deps): update dependency axios to v1.8.3
2025-03-14 11:14:13 +07:00
Elian Doran b18e5a34c4
Merge pull request #1421 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.3.3
2025-03-14 11:13:57 +07:00
Elian Doran 2578c2d4f6
Merge pull request #1398 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.4.4
2025-03-14 11:13:17 +07:00
renovate[bot] 618bba71da
fix(deps): update dependency mermaid to v11.5.0 2025-03-14 02:53:05 +07:00
renovate[bot] 8bff71fed4
fix(deps): update dependency i18next to v24.2.3 2025-03-14 02:52:56 +07:00
renovate[bot] 839cfac2ac
fix(deps): update dependency force-graph to v1.49.4 2025-03-14 02:52:45 +07:00
renovate[bot] ded979b6ff
fix(deps): update dependency axios to v1.8.3 2025-03-14 02:52:32 +07:00
renovate[bot] 948c60277d
chore(deps): update dependency electron to v34.3.3 2025-03-14 02:52:20 +07:00
Elian Doran f487348cc5
chore(admonitions): remove formatting plugin for now 2025-03-14 00:04:23 +07:00
Elian Doran ee76e81d1f
feat(admonitions): integrate custom admonitions plugin 2025-03-14 00:02:55 +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 507a594198
feat(admonitions): color the icon 2025-03-13 16:22:05 +07:00
Elian Doran 732252df5b
feat(admonitions): add custom color per admonition 2025-03-13 16:19:58 +07:00
Elian Doran ba39769174
feat(admonitions): add icon 2025-03-13 16:13:16 +07:00
Elian Doran 21658e62b4 feat(editor): add style plugin 2025-03-13 14:01:16 +07:00
Panagiotis Papadopoulos 6a9342abce build(Docker): add a temporary exception for files that copy-dist tries to copy for electron-forge, as otherwise copy-dist will fail inside Docker build
this will be fixed in an upcoming PR where I overhaul copy-dist to allow for build target specific copying of files
2025-03-13 08:44:31 +07:00
Panagiotis Papadopoulos 67c752c11b ci: adjust build-electron action to use the newly introduced outDir "./dist" for electron-forge 2025-03-13 08:21:12 +07:00
Elian Doran adf5bee98f
feat(admonitions): apply basic styling & configure for paragraphs 2025-03-13 09:15:11 +07:00
Panagiotis Papadopoulos cc0931b402 build(electron-forge): set outDir to ./dist, to have the same behaviour as the Server builds
since we run electron-forge inside the ./build folder, we need to go up a directory (using ../dist), to have it output to ./dist
2025-03-13 08:09:53 +07:00
Panagiotis Papadopoulos b48fbbe583 build(copy-dist): copy over desktop.ejs for electron-forge as well
it is required for Flatpak/Deb/RPM Linux packages
2025-03-13 07:59:12 +07:00
Panagiotis Papadopoulos 1877d26296 chore(scripts): electron-forge:prepare -> copy node_modules folder as is
electron-forge does not like, if we get rid of devDeps ourselves already it seems.
It *wants* to do it itself, otherwise build fails…

It does seem to correctly strip all the devDeps though, at least there's that.
2025-03-13 07:59:12 +07:00
Panagiotis Papadopoulos 4ce2c10d72 build(copy-dist): copy over the start scripts for now 2025-03-13 07:59:12 +07:00
Panagiotis Papadopoulos 11772860b6 build(electron-forge): stop copying unused .anonymize-database.sql as ressource 2025-03-13 07:59:12 +07:00
Panagiotis Papadopoulos 6b9d8f0d67 build(electron-forge): execute electron-forge commands in our "build" output context
since we build TS and webpack ourselves and are not using any electron-forge plugins (at least at the moment) -> we should use the "build" folder as build context for electron-forge:

in comparison to running electron-forge in the root folder of the project, this avoids electron-forge from packing the source code multiple times (e.g. once as uncompiled TS, then as compiled JS, and then (partially) a third time as webpack bundled JS files), same as some of the assets.

to achieve this, we run our usual TS/Webpack build process, but then install the npm dependencies *inside* the build folder (as otherwise electron-forge would choke on the missing node_modules it and abort building).

In theory we could avoid cd-ing into the build folder, by providing the "dir" as argument to electron-forge's CLI -- BUT that wouldn't play well with our CI, where we are passing --arch and --platform options to it, which need to come *before* the dir argument.

since we now cd into the "build" folder, we also need to adjust the path in package.json "main" again
2025-03-13 07:59:12 +07:00
Adorian Doran 10de4e798b client/options: fix failing test 2025-03-13 06:10:09 +07:00
Adorian Doran eb630c80d6 client/options: format code 2025-03-13 05:50:29 +07:00
Adorian Doran 5cab7eb403 client/options: reorder sections 2025-03-13 05:46:34 +07:00
Adorian Doran 04c6813b0a client/options: relocate the "Localization" section to the "Language & Region" page 2025-03-13 05:35:43 +07:00
Adorian Doran 1369a44d9b style/options/ETAPI: add an icon to the create token button 2025-03-13 05:25:34 +07:00
Adorian Doran 88aa9a4e79 client/options/code notes: create the "Editor" section, reorganize 2025-03-13 05:20:58 +07:00
Adorian Doran 0e748fbce0 style/options/ETAPI: update the icon of the edit token button 2025-03-13 04:30:42 +07:00
Adorian Doran 6c6d20a830 style: fix note title input overlapping with the zen mode exit button 2025-03-13 04:19:42 +07:00
Adorian Doran 69f95068f1 style(next)/shell/right pane: minor restyle 2025-03-13 04:04:08 +07:00
Adorian Doran 2066f821cb style(next)/ribbon/image properties: improve the layout 2025-03-13 03:24:04 +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
Adorian Doran 25a787f9dc Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-12 22:30:51 +07:00
Adorian Doran a2b73feb25 style/image properties: add icons to buttons 2025-03-12 22:30:49 +07:00
Elian Doran 062955aa81
feat(editor): integrate styles support 2025-03-12 22:08:23 +07:00
Elian Doran b8cbd79ae1
refactor(client): rename ckeditor config file 2025-03-12 22:08:23 +07:00
Adorian Doran fc4712240c Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-12 21:42:43 +07:00
Adorian Doran 18882d0b7e style(next)/toasts: change the dark mode colors 2025-03-12 21:42:39 +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
Elian Doran d469670a46
feat(docs): document formatting keyboard shortcuts + fix broken image 2025-03-12 19:03:33 +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
Elian Doran e0cebf1c00
style(next): apply kbd style to content 2025-03-12 18:08:39 +07:00
Elian Doran 383408e884
style(editor): add some separators to formatting toolbar 2025-03-12 18:06:34 +07:00
Elian Doran 87d28c8c2f
style(editor): group some formatting options for floating toolbar 2025-03-12 18:04:20 +07:00
Elian Doran bec7a526ad
feat(editor): add support for marking keyboard shortcuts 2025-03-12 17:58:12 +07:00
Adorian Doran bb8325cf8d Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-12 15:08:26 +07:00
Adorian Doran da9a029f8f style(next)/note list: remove a no longer needed border 2025-03-12 15:08:22 +07:00
Elian Doran c02b5468a6
feat(docs): clean up RTL and reorder 2025-03-12 14:47:42 +07:00
Elian Doran 5dd5e8da91
feat(docs): document adjusting image alignment 2025-03-12 13:36:30 +07:00
Adorian Doran f991cee3ac Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-12 13:31:07 +07:00
Adorian Doran 1426e43fb8 style(next): move color variables to color scheme-related stylesheets 2025-03-12 13:31:04 +07:00
Elian Doran 61899aa32d
chore(edit-docs): ignore document.db 2025-03-12 13:14:09 +07:00
Elian Doran e90bbe31ba
feat(docs): document the launch bar 2025-03-12 13:14:09 +07:00
Elian Doran 034998fa97
feat(docs): document vertical vs horizontal layout 2025-03-12 13:14:08 +07:00
Elian Doran 3a41d8fd11
feat(docs): improve note tree documentation 2025-03-12 13:14:08 +07:00
Elian Doran e9175d60ec
feat(docs): improve documentation for code notes, code blocks 2025-03-12 13:14:08 +07:00
Adorian Doran 4f87bd101e Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-12 12:55:57 +07:00
Adorian Doran 9c78415a1f style(next): restyle toasts 2025-03-12 12:55:55 +07:00
Elian Doran 06d848ba17
feat(code): support mips (closes #1406) 2025-03-12 10:54:44 +07:00
Elian Doran 42821d47c8
refactor(mime): sort alphabetically 2025-03-12 10:54:19 +07:00
Panagiotis Papadopoulos d7aedfbd36 build(copy-dist): exit on any caught error to make sure copy-dist fails during CI if any error occurs
if we don't exit, it will just log the issue - however we *want* it to fail it there is an error, so that it doesn't continue in the CI

alternative would be to rethrow the error, but then we'd print the error into the logs twice :-)

closes https://github.com/TriliumNext/Notes/issues/1413
2025-03-12 09:52:42 +07:00
Adorian Doran b730ca0033 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-12 10:44:04 +07:00
Adorian Doran bad7776076 style/toasts: get rid of some !important properties 2025-03-12 10:43:53 +07:00
Panagiotis Papadopoulos d088c8e5b2 build(copy-dist): fix path to excalidraw fonts 2025-03-12 08:57:05 +07:00
Elian Doran 2463e44bf8
chore(deps): downgrade to react 18 2025-03-12 09:15:37 +07:00
renovate[bot] b600b51fe8
chore(deps): update dependency happy-dom to v17.4.4 2025-03-12 02:59:14 +07:00
Adorian Doran ddd2babe21 style/content renderer: localize some strings 2025-03-12 03:40:56 +07:00
Adorian Doran b082f95d42 style/content renderer: add icons to the "download" and "open" buttons 2025-03-12 03:32:54 +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
Adorian Doran 79fb87d9ff style(next)/search: refactor 2025-03-12 03:13:41 +07:00
Adorian Doran 027577c709 style(next)/search: change the alignment of the search-related buttons 2025-03-12 03:12:22 +07:00
Adorian Doran dd62979d65 style/attachments page: add an icon to the upload button 2025-03-12 02:49:40 +07:00
Adorian Doran f86170f553 style/note revisions dialog: add icons to buttons 2025-03-12 02:38:34 +07:00
perf3ct fcba151287
allow for manual index rebuild, and ONLY rebuild the index 2025-03-12 00:17:30 +07:00
Adorian Doran 82b012a38b style(next)/ribbon/file properties: refactor 2025-03-12 02:13:32 +07:00
perf3ct eaa947ef7c
"rebuild index" functionality for users 2025-03-12 00:08:39 +07:00
Adorian Doran 4b6998975f style(next)/ribbon/file properties: improve the layout 2025-03-12 02:06:29 +07:00
Adorian Doran 600585bfd3 style(next)/ribbon/file properties: improve the layout 2025-03-12 02:02:18 +07:00
perf3ct 72b1426d94
break up large vector_store into smaller files 2025-03-12 00:02:02 +07:00
Adorian Doran 0c8e7806f4 style/ribbon/file properties: add icons to buttons 2025-03-12 02:01:19 +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
Adorian Doran 62b5bbc9ce style(next): fix the submenu arrows overlapping the keyboard shortcuts 2025-03-12 00:57:16 +07:00
perf3ct 6ce3f1c355
better note names to LLM? 2025-03-11 22:47:36 +07:00
Elian Doran 3ae48bba00
chore(deps): update react to latest 2025-03-12 00:06:11 +07:00
Elian Doran cf76358dd7
fix(canvas): font loading 2025-03-11 23:03:34 +07:00
Elian Doran c2cb48a25c
chore(deps): update to excalidraw 0.18.0 2025-03-11 22:59:16 +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
Elian Doran 39f3cb47fa
Merge pull request #1393 from TriliumNext/build_hotfix-electron
fix(build/electron): hotfix for failing nightly electron builds
2025-03-11 22:20:17 +07:00
Elian Doran 15c04c38b9
chore(docs): add HTML user guide 2025-03-11 22:04:19 +07:00
Elian Doran 3723824246
chore(scripts): downgrade Electron to 33 for Nix 2025-03-11 22:02:05 +07:00
Elian Doran 5ee13623ee
feat(edit-docs): generate HTML documentation as well 2025-03-11 21:58:32 +07:00
Elian Doran 9d161a007e
feat(etc/reddit): add icon 2025-03-11 21:57:43 +07:00
Elian Doran 3457c2e4d8
feat(content_renderer): render docnotes 2025-03-11 21:57:33 +07:00
Elian Doran 32f84e8378
refactor(client): extract doc rendering to dedicated service 2025-03-11 21:32:48 +07:00
Panagiotis Papadopoulos 4494662d2a fix(build/electron): hot fix for failing nightly electron builds
this is caused by recently reverting the output of "build:prepare-dist" from "dist" to "build"

-> this is just a temporary fix -> I am working in parallel already on an improved electron-forge build process, whihc will be ready by end of the week
2025-03-11 20:24:11 +07:00
Elian Doran 4124c96e02
fix(docs): syntax highlighting for Nginx 2025-03-11 21:12:42 +07:00
Elian Doran b278bc8ce4
refactor(test): use matrix for testing import/export 2025-03-11 21:11:23 +07:00
Elian Doran 8c71e6aa90
fix(export/markdown): proper language tag for Nginx 2025-03-11 21:05:55 +07:00
Elian Doran 09c081fdcf
feat(edit-docs): remove input file 2025-03-11 20:48:40 +07:00
Elian Doran ba17ce8616
fix(docs): numbering in Nginx 2025-03-11 20:46:50 +07:00
Elian Doran 34ffba54ac
feat(edit-docs): do proper becca cleaning before starting 2025-03-11 20:42:53 +07:00
Elian Doran d3cfc1c88b
feat(edit-docs): ignore options change 2025-03-11 20:40:25 +07:00
perf3ct 71b3b04c53
break up the huge context_extractor into smaller files 2025-03-11 18:39:59 +07:00
Elian Doran 4969cf7d5b
feat(edit-docs): wait for import to finish before starting electron 2025-03-11 20:39:30 +07:00
Elian Doran ac4a8a44d4
chore(docs): import canvas note documentation 2025-03-11 20:27:54 +07:00
Elian Doran 69a39bca2f
fix(docs): clean up documentation 2025-03-11 20:23:36 +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
Elian Doran c79eeea060
fix(docs): few broken image references 2025-03-11 19:50:29 +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
Elian Doran f86434523e
fix(export): maintain same order of attachments 2025-03-11 18:27:08 +07:00
Elian Doran bb288c5c68
fix(edit-docs): consistency check issues 2025-03-11 18:26:49 +07:00
Elian Doran 0af357ece8
chore(docs): update with deterministic order 2025-03-11 18:05:42 +07:00
Elian Doran a2795f3440
fix(import/markdown): title deduplication breaking special chars 2025-03-11 17:51:35 +07:00
Elian Doran 3d10ac5e1f
chore(docs): solve import/export errors 2025-03-11 17:36:42 +07:00
Elian Doran 997e962fbe
fix(edit-docs): attachments duplication 2025-03-11 17:24:29 +07:00
Elian Doran e939b7b3d9
fix(docs): unescaped URL in images 2025-03-11 17:24:15 +07:00
Elian Doran a441ea2461
feat(md): rewrite image URL with spaces 2025-03-11 17:12:56 +07:00
Elian Doran f67e2ebcd5
chore(edit-docs): move Markdown documentation outside src for now 2025-03-11 16:11:16 +07:00
Elian Doran 971b388d1a
Merge pull request #1392 from TriliumNext/Note_Revisions
Fix the bug where note revisions cannot be previewed.
2025-03-11 13:39:00 +07:00
Elian Doran a33d532958
Merge pull request #1382 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.4.3
2025-03-11 13:38:25 +07:00
Elian Doran 80d1985882
Merge pull request #1381 from TriliumNext/renovate/autoprefixer-10.x
chore(deps): update dependency autoprefixer to v10.4.21
2025-03-11 13:38:05 +07:00
Elian Doran ecc5e0f3b8
Merge pull request #1388 from TriliumNext/build_electron-dump-db
build(electron-forge): stop packing dump-db folder
2025-03-11 13:37:19 +07:00
Elian Doran 5252fe3d1e
Merge pull request #1390 from TriliumNext/renovate/typescript-eslint-monorepo
chore(deps): update dependency typescript-eslint to v8.26.1
2025-03-11 13:34:45 +07:00
Elian Doran 182da7717f
Merge pull request #1389 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.3.2
2025-03-11 13:34:21 +07:00
Elian Doran 6b3bf1151a
Merge branch 'develop' into renovate/happy-dom-monorepo 2025-03-11 13:27:41 +07:00
Elian Doran c16f240f31
Merge branch 'develop' into renovate/autoprefixer-10.x 2025-03-11 13:27:38 +07:00
SiriusXT 4b269c2859 Fix the bug where note revisions cannot be previewed. 2025-03-11 16:24:35 +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
renovate[bot] 5299da6525
chore(deps): update dependency typescript-eslint to v8.26.1 2025-03-11 02:37:37 +07:00
renovate[bot] ca6253f3bb
chore(deps): update dependency electron to v34.3.2 2025-03-11 02:37:19 +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
Elian Doran d639798fa8
refactor(server): deduplicate options init 2025-03-10 21:21:59 +07:00
Elian Doran e79f18f001
fix(edit-docs): convert to Markdown 2025-03-10 21:15:33 +07:00
perf3ct f482b3b4c8
do a better job of extracting context 2025-03-10 18:53:36 +07:00
Elian Doran d134ee0552
fix(edit-docs): preserve attachment IDs 2025-03-10 20:50:57 +07:00
Elian Doran b412f06b79
fix(edit-docs): doubly nested directories 2025-03-10 20:16:56 +07:00
perf3ct c386e34c33
Update the chat panel theme some 2025-03-10 17:34:31 +07:00
Elian Doran 7a4b1b41b4
feat(edit-docs): periodic export 2025-03-10 19:34:10 +07:00
Elian Doran 841bc54f78
feat(edit-docs): preserve IDs when importing 2025-03-10 19:14:46 +07:00
Panagiotis Papadopoulos 02a00000fb build(electron-forge): stop packing dump-db folder
see https://github.com/TriliumNext/Notes/issues/1115
2025-03-10 18:11:56 +07:00
Elian Doran 966ad36919
fix(edit-docs): allow import of contents 2025-03-10 18:56:00 +07:00
Elian Doran 8ac5d01f43
feat(edit-docs): start importing zip 2025-03-10 18:51:40 +07:00
Elian Doran 15936ff8b8
fix(edit-docs): relative path 2025-03-10 17:57:56 +07:00
Elian Doran a1918ad491
feat(edit-docs): start creating input zip file 2025-03-10 17:50:58 +07:00
Elian Doran 2b891adc34
feat(edit-docs): create child note for importing 2025-03-10 17:41:13 +07:00
Elian Doran 42d3236fe7
fix(edit-docs): stop initializing if DB is already so 2025-03-10 17:08:40 +07:00
Elian Doran f3d753cc46
feat(edit-docs): initialize database automatically 2025-03-10 17:04:17 +07:00
Elian Doran 6a549af34a
feat(edit-docs): clean up meta 2025-03-10 16:37:39 +07:00
Elian Doran bffb0963df
feat(edit-docs): clean up ZIP file 2025-03-10 16:31:44 +07:00
Elian Doran df2a9aed44
feat(edit-docs): automatically write documentation on start-up 2025-03-10 16:20:48 +07:00
Elian Doran 2530c01a31
chore(docs): update in-app documentation 2025-03-10 16:20:13 +07:00
Elian Doran 054a919fad
chore(docs): small structure update 2025-03-10 15:04:04 +07:00
Elian Doran 9fa19469fd
chore(docs): improvements + new doc 2025-03-10 14:21:53 +07:00
Elian Doran b9c409ec33
chore(scripts): edit documentation with Nix 2025-03-10 10:53:49 +07:00
Elian Doran 6c845102d3
fix(build): missing arguments in eslint.spec.ts 2025-03-10 09:25:33 +07:00
Elian Doran e6c04e70e4
Merge pull request #1369 from TriliumNext/build_improve-server-build
build: fix/improve server build
2025-03-10 09:19:09 +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
renovate[bot] 9dcfae56a1
chore(deps): update dependency happy-dom to v17.4.3 2025-03-10 02:33:38 +07:00
renovate[bot] 05b2f8c097
chore(deps): update dependency autoprefixer to v10.4.21 2025-03-10 02:33:29 +07:00
Romain DEP. 5658f22f9a feat(calendar): do no longer require `#` or `~` to be specified by the user
to signify that the provided attribute is a label or a relation. It will now
work either way, giving preference to the label if one is found.
2025-03-09 22:44:45 +07:00
Elian Doran 0232fee905
chore(docs): reorder and improve slightly 2025-03-09 23:29:01 +07:00
Romain DEP. 85917d7207 feat(calendar): support displaying of attributes and realtions with multiple cardinality 2025-03-09 21:26:41 +07:00
Elian Doran e129e0369d
server(attachments): render empty SVGs properly (closes #1378) 2025-03-09 22:23:01 +07:00
Elian Doran be6e56fbe8
feat(eslint): add support for module.exports 2025-03-09 21:41:13 +07:00
Elian Doran 1fb4634b7b
feat(eslint): add globals for jQuery 2025-03-09 21:38:16 +07:00
Elian Doran 8a1b565aee
feat(touch_bar): add unlock button for read-only text 2025-03-09 20:41:31 +07:00
Panagiotis Papadopoulos afe4fc2d1a build(build-server): add more detail to status "echo"s 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 3450066214 build(build.sh): remove unused build script
this is not used anymore at all, it was replaced by GitHub CI Actions

it even mentions several other scripts, that got removed in the meantime as well
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 36fad35be5 build(build-server): rename archive name to the same naming scheme used in the Github CI 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 56340009ca build(build-server): remove now unused DONTCOPY check 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos d110c8b067 build(build-server): add some status "echo"s 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos d8ad018819 build(build-server): also delete electron map files 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 33de342842 build(build-server): download and extract node in a single step 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 4bba061629 build(build-server): get rid of now unnecessary arch handling for node
directly use "ARCH" instead of creating 2 variables with the identical content as "ARCH"
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 87d37366e4 build(build-server): remove unnecessary copying of translations
already happens during build:prepare-dist step
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 1324cc2e53 build(build-server): add TODO remark 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 80d6cd0356 build(build-server): delete temp build dir copy in dist folder 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos e0413b528f build(build-server): use a single "rm" command 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 19abd14058 build(build-server): use build dir for build and dist for final archive output 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 9bd31698e1 build(copy-trilium): use "|" as sed separator
allows us to avoid having to escape "/"
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 1ae5c43010 build(copy-trilium): do all the work inside build dir, no target directory needed anymore
-> all of these steps will eventually be merged with copy-dist script to have a unified copying script
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos f8b06f0634 build(copy-trilium): get rid of unecessary copying of files
-> already handled by "build:prepare-dist" step
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 930be2de05 build(copy-dist): copy LICENSE and README as well
copied over from copy-trilium.sh script
2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos c89d86acb1 build(copy-trilium): use "build:prepare-dist" build script 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos d65281bfa5 build(copy-trilium): use npm ci 2025-03-09 18:59:54 +07:00
Panagiotis Papadopoulos 607f9096aa build: output into "build" folder again → "dist" will be used for the final output in archive form
this will allow for cleaner separation -> build for the output from the build stage (i.e. TS/Webpack + asset copying) and dist for the archive format of the build folder
2025-03-09 18:59:54 +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
Romain DEP. 6c1cb71c9f feat(calendar): make it so that events with customized `calendar:startDate` and `calendar:endDate` can be drag&dropped on the calendar view 2025-03-09 13:03:15 +07:00
Elian Doran 064799e8cb
feat(docs): add v1 of the full documentation 2025-03-09 13:19:48 +07:00
Elian Doran b7cb2e6e97
feat(docs): basic integration with shared db 2025-03-09 13:19:38 +07:00
Elian Doran b00224c63c
Merge pull request #1367 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.10
2025-03-09 09:41:29 +07:00
Elian Doran 5b5fb6bbd9
Merge pull request #1368 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.4.2
2025-03-09 09:40:42 +07:00
perf3ct adaac46fbf
I'm 100% going to have to destroy this commit later 2025-03-09 02:19:26 +07:00
renovate[bot] 4ef1c5d4e2
chore(deps): update dependency happy-dom to v17.4.2 2025-03-09 01:53:34 +07:00
renovate[bot] 56c575cec2
chore(deps): update dependency @types/node to v22.13.10 2025-03-09 01:53:24 +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
Romain DEP. 3fe78cad61 feat(calendar): rename "promotedAttributes" into "displayedAttributes" and permit non-promoted attributes to be displayed 2025-03-08 22:17:58 +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
Adorian Doran eb9d7dd172 style/login: prevent the page content being rendered before the stylesheet is loaded 2025-03-08 20:53:54 +07:00
Adorian Doran 7434fb372e style/login: prevent the icon from being dragged 2025-03-08 20:45:12 +07:00
Adorian Doran d17513bec0 style(next): tweak the style of the login page 2025-03-08 20:40:00 +07:00
Adorian Doran fc87f64840 style(next)/options: restyle the warning boxes 2025-03-08 19:32:56 +07:00
Adorian Doran f6e869f2ac Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 19:17:13 +07:00
Adorian Doran 69fab9a6d6 style(next)/options/shortcuts: improve the appearance of the page 2025-03-08 19:16:48 +07:00
Elian Doran 14c3fd5892
Merge pull request #1347 from TriliumNext/chore_eslint-fixes_src-routes
chore(lint): fix eslint issues in `src/routes`
2025-03-08 18:25:47 +07:00
Panagiotis Papadopoulos c120132cbb
Merge branch 'develop' into chore_eslint-fixes_src-routes 2025-03-08 17:15:53 +07:00
Panagiotis Papadopoulos ecf1a0e4ad refactor(utils): add safeExtractMessageAndStackFromError util to remove code duplication 2025-03-08 17:07:25 +07:00
Panagiotis Papadopoulos e20b662ea7 chore(routes): fix no-explicit-any lint/ts error for restoreRevision 2025-03-08 16:12:37 +07:00
Panagiotis Papadopoulos 7bd9be7b29 chore: use more narrow NoteType for RevisionRow 2025-03-08 16:11:58 +07:00
Panagiotis Papadopoulos e3d0c53d03 chore(routes): fix no-explicit-any lint/ts error for catch blocks 2025-03-08 16:03:30 +07:00
Panagiotis Papadopoulos 272d7cd652 chore(routes/api/clipper): fix prefer-const lint errors 2025-03-08 15:31:12 +07:00
Panagiotis Papadopoulos dd9e1e69d7 fix(routes/api/clipper): fix typo in error message 2025-03-08 15:27:39 +07:00
Panagiotis Papadopoulos 08a6053c38 refactor(routes/api/clipper): get rid of second htmlSanitizer call for pageUrl
-> the value is already sanitized in line 112, there's no need to call htmlSanitizer a second time here
2025-03-08 15:27:04 +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 4cffc50218
Merge pull request #1361 from TriliumNext/themeUseNextAsBase
Theme use next as base
2025-03-08 09:55:11 +07:00
SiriusXT 1a54b8f5a5 Add themes that can be base 2025-03-08 15:10:38 +07:00
SiriusXT e2c317f59c Add themes that can be base 2025-03-08 14:58:19 +07:00
Adorian Doran 1e81831ea0 style(next)/options: improve (again) the layout of the option cards 2025-03-08 05:49:18 +07:00
Adorian Doran 240ee2b6ac style(next)/options: improve the layout of the option cards 2025-03-08 05:34:43 +07:00
Adorian Doran d47350363a style(next): remove no longer unused style 2025-03-08 04:45:55 +07:00
Adorian Doran 6a1f1948f0 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 04:44:26 +07:00
Adorian Doran db4c5bcac2 client/options/advanced: use a table for "Existing anonymized databases" 2025-03-08 04:44:23 +07:00
Elian Doran 268b666d52
feat(template): duplicate content for geomap & mindmap (closes #357) 2025-03-08 04:28:24 +07:00
Elian Doran ed06a3ee97
feat(template): duplicate content for relation map 2025-03-08 04:26:30 +07:00
Elian Doran 5d9bea8987
feat(template): duplicate content for canvas 2025-03-08 04:24:09 +07:00
Elian Doran c7b99adb6a
feat(template): duplicate content for mermaid diagrams 2025-03-08 04:23:05 +07:00
Adorian Doran 82a63a65da style(next)/options/shortcuts: tweak group headings 2025-03-08 04:17:16 +07:00
Adorian Doran 7582b1c43d style/options/appearance: fix the width of the "Main font" combo box 2025-03-08 04:01:49 +07:00
Adorian Doran fa60e66a75 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 03:52:31 +07:00
Adorian Doran d16708cf75 style(next)/options: tweak labels 2025-03-08 03:52:14 +07:00
Elian Doran 4f671738e6
fix(client): remove misleading message about removing revisions (closes #1308) 2025-03-08 03:45:02 +07:00
Adorian Doran decf62c58c style: add a gap between consecutive radios / check boxes 2025-03-08 03:33:02 +07:00
Adorian Doran 9626b42443 style(next): add a gap between consecutive radios / check boxes 2025-03-08 03:27:59 +07:00
Adorian Doran 15d3285a90 client/options/text notes: convert the "Heading Style" combo box into radio buttons 2025-03-08 03:21:32 +07:00
Adorian Doran a694017c87 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 03:18:57 +07:00
Adorian Doran 2cfb83a93c client/options/appearance: convert the "First day of the week" combo box into radio buttons 2025-03-08 03:18:42 +07:00
Elian Doran 4839edb3d7
feat(dump-db): use tsx instead of esrun 2025-03-08 03:14:38 +07:00
Elian Doran 9db5557cc1
Merge pull request #1359 from TriliumNext/renovate/eslint-monorepo
chore(deps): update eslint monorepo to v9.22.0
2025-03-08 03:10:33 +07:00
Elian Doran acedb0e94c
Merge pull request #1225 from TriliumNext/build_improve-ts-webpack
build: improvements for TS & Webpack & Docker
2025-03-08 03:08:30 +07:00
Elian Doran d2ffd4a8cd
Merge pull request #1358 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.4.0
2025-03-08 03:05:41 +07:00
Elian Doran 2ff7d7bc6d
Merge branch 'develop' into renovate/eslint-monorepo 2025-03-08 03:03:00 +07:00
Elian Doran 7ade401018
feat(eslint): downgrade unused variables to warning 2025-03-08 03:02:25 +07:00
Elian Doran 3756524ad3
feat(test): basic tests for ESLint 2025-03-08 02:55:59 +07:00
Elian Doran 770b4afff3
Merge pull request #1360 from TriliumNext/renovate/eslint-linter-browserify-9.x
fix(deps): update dependency eslint-linter-browserify to v9.22.0
2025-03-08 02:50:24 +07:00
renovate[bot] e530df8645
fix(deps): update dependency eslint-linter-browserify to v9.22.0 2025-03-08 00:46:50 +07:00
renovate[bot] 9d6adef5bf
chore(deps): update dependency happy-dom to v17.4.0 2025-03-08 00:46:41 +07:00
Elian Doran 79adb0b20e
feat(client): add recommended rules 2025-03-08 02:45:40 +07:00
Elian Doran 0273fad0ba
refactor(deps): use different approach for eslint 2025-03-08 02:37:29 +07:00
renovate[bot] 7d21bcd611
chore(deps): update eslint monorepo to v9.22.0 2025-03-08 00:37:21 +07:00
Elian Doran c4f8e9605f
fix(client): update ESLint to latest 2025-03-08 02:20:56 +07:00
Elian Doran 3c84d0558d
fix(style): login in dark mode not rendering correctly 2025-03-08 02:10:14 +07:00
Elian Doran f8d759cbc3
chore(lock): version 2025-03-08 02:10:14 +07:00
Elian Doran c297f88395
chore(server): remove unnecessary log 2025-03-08 02:10:14 +07:00
Adorian Doran e74de6105a client/options: minor tweaks 2025-03-08 01:59:29 +07:00
Panagiotis Papadopoulos 91c37fa235 chore(routes/electron): disable lint rule for specific line
in this case using "{}" allows all primitive values, which seems to be what is required here.
so let's disable the rule "@typescript-eslint/no-empty-object-type" for this line
2025-03-08 00:54:29 +07:00
Panagiotis Papadopoulos b56ff558a4 refactor(routes/api/import): get rid of "any" type in catch blocks 2025-03-08 00:39:01 +07:00
Panagiotis Papadopoulos 07fd5327b1 refactor(routes/custom): get rid of "any" type catch blocks 2025-03-08 00:22:12 +07:00
Panagiotis Papadopoulos 4b6972fb21 refactor(error_handlers): get rid of "any" type in csrf error handler 2025-03-08 00:15:46 +07:00
Panagiotis Papadopoulos 76574f0938 refactor(error_handlers): use HttpError classes in errorHandler
also gets rid of "any" type :-)
2025-03-08 00:14:24 +07:00
Adorian Doran 6d39c404c4 client/options/appearance/ribbon widgets: place checkboxes on separate lines 2025-03-08 01:01:05 +07:00
Adorian Doran d24b5a232f style: fix the form text color 2025-03-08 00:54:53 +07:00
Adorian Doran 9a09a89066 client/options/appearance: change the layout of the "Native title bar" and "Enable background effects" options 2025-03-08 00:52:02 +07:00
Panagiotis Papadopoulos 0c8df7f885 refactor(error_handlers): use newly added ForbiddenError class 2025-03-07 23:30:12 +07:00
Panagiotis Papadopoulos 70e227f4c3 build(Docker): improve image size, by deleting node-compile-cache 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 907b8c503e build: copy package-lock.json into dist folder as well 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 38690053a8 build(Docker): improve image size, by deleting unnecessary node_modules fodler from dist folder
added a TODO as well, to get rid of this strange step here at some point
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 3553d64060 build(Docker/ci): get rid of running partial build locally
this is now handled fully inside Docker.

exception for "test_docker" job in "main-docker"
-> it seems that one needs to be there still, since it runs Playwright tests from outside the container
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos f544a84f6d build(Docker): simplify Docker alpine build and runtime stage
same changes as for the "non-alpine" Dockerfile previously commited, but adapted to Alpine.

this Dockerfile is aimed at production builds, i.e. trying to keep size as small as possible at the cost of "rebuild speed", due to missed docker cache opportunities.

Build Stage:
* do the complete build inside docker as oposed to the previous "hybrid", where tsc was run locally and the output got copied into the Docker build stage → you can now build this with Docker, without having to install the whole node/TS env locally

* build into a "build" subfolder, for easier clean up during build stage

* get rid of now unnecessary extra file/asset handling, as this is now handled by `npm run build:prepare-dist`

* no `npm prune` needed here, as we delete the whole build folder anyways in the last build step

Runtime stage:
* move the "electron" dep removal from the builder stage to the runtime stage, before installing the dependencies

* move to `npm ci` for reproducible installations – but only installing runtime deps here

* get rid of now unnecessary copying commands from the builder stage, as everything is now neatly available in "/usr/src/app"
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 68875683af build(Docker): get rid of apparently unused packages at build stage 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos e9824c4568 build(dockerignore): ignore unnecessary files 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos c68b0b02e4 build(Docker): simplify Docker build and runtime stage
this Dockerfile is aimed at production builds, i.e. trying to keep size as small as possible at the cost of "rebuild speed", due to missed docker cache opportunities.

Build Stage:
* do the complete build inside docker as oposed to the previous "hybrid", where tsc was run locally and the output got copied into the Docker build stage → you can now build this with Docker, without having to install the whole node/TS env locally

* build into a "build" subfolder, for easier clean up during build stage

* get rid of now unnecessary extra file/asset handling, as this is now handled by `npm run build:prepare-dist`

* no `npm prune` needed here, as we delete the whole build folder anyways in the last build step

Runtime stage:
* move the "electron" dep removal from the builder stage to the runtime stage, before installing the dependencies

* move to `npm ci` for reproducible installations – but only installing runtime deps here

* get rid of now unnecessary copying commands from the builder stage, as everything is now neatly available in "/usr/src/app"
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 2973d38db0 build(Docker): move server-package.json preparation into Dockerfile 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos bb7a4f9bc3 build(Docker): comment out seemingly useless installation of build dependencies 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos e389592017 build(copy-dist): copying build folder is not required anymore
TS and Webpack build into the dist folder directly now
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 5e289ea12d build: get rid of intermediary "build" folder -> use "dist" directly 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 3032156b45 build(copy-dist): execute code in try/catch -> get rid of function
since we don't export this anywhere, might as well just call the steps directly
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos d75cf8c11e build(copy-dist): consolidate nodeModules copying into a single loop 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos a816abb372 build(copy-dist): use sync copying
since this is a "standalone" script we are running and no other JS scritps are running "in the background", there's no real benefit for async here.
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 37f1525d0e build(copy-dist): remove unused paths 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos dbeae62709 build(copy-dist): simplify "copyNodeModuleFileOrFolder" copying
there's no benefit from stripping "node_modules/" from the string, to later add it again using the `DEST_DIR_NODE_MODULES` constant

=> just copy directly into the `DEST_DIR` folder and preserver the `node_modules` part in the path
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos ac3e96291a build(copy-dist): simplify "build" copying
there's no need to read the folder structure and then copy each single file in a loop

=> just copy the whole folder and be done with it :-)
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 9ac451e2b2 build(copy-dist): consolidate files and folder copying into one asset copying job
there's no benefit in having them split up like before
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos dbc2df0820 build(copy-dist): consolidate folder copying
the "srcDirsToCopy" block is useless now, we can just use the previous dirsToCopy to achieve the exact same thing
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 24382d8176 build(copy-dist): avoid copying over the app dir into dist
we have the bundled "app-dist" already in the "dist", copying over the original unbundled "app" folder serves no benefit here
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos af5e4ee3b5 build(copy-dist): copy over required folders/files from "public" folder 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 135101f57b build(copy-dist): do not copy build folder into src folder
stop the build folder from being copied into the dist/src subfolder
→ there is no sense in doing that
→ the contents of the build folder are corretly copied previously already (see line 26ff)
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 60a2b56636 chore(copy-dist): removee unnecesary copy of tsconfig.webpack.json
webpack bundling already ran before this script, so there is no need to copy this file over
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos e483cbca3c build(tsconfig): remove unnecessary exclude lines
these folder are already "excluded" implicitly, since we only include "./src" folder
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 3e307f4711 build(scripts): add "build:clean" script for removing dist and build folders 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 6c4a1732ad build(copy-trilium): use `npm run build:ts` 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos d0bb5f9768 build(scripts): add webpack progress flag 2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 3a87d71073 build(scripts): add build:ts and update build:prepare-dist
since we build into the build folder -> we should also clean the folder before building as well

also it makes sense to run tsc first, as it runs faster, so if there's any TS errors, we will have a faster failing build
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos e0c0086eb3 build(tsconfig): fix glob for build config
not sure why, but seems like it doesn't like `[jt]s` – which causes it to skip certain .d.ts files, making tsc fail
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 2be9389f3b build(webpack): change to nosources-source-map
as per https://webpack.js.org/configuration/devtool/#production

serving the `source-map` file to "normal" users seems to be not recommended, so instead let's go with `nosources-source-map`:

a) this drastically reduces app-dist folder size from 20MB down to 8.7MB
b) it still allows for stack traces
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos 745b294ca1 build(webpack): output webpack build in build folder
output the bundled files directly in the build folder
a) keeps the src folder clean from build output
b) it saves us some "manual" copying work
2025-03-07 23:14:56 +07:00
Panagiotis Papadopoulos cefc402263 build: add separate tsconfig.build.json
this prevents tsc from unnecessarily transpiling the frontend part as well:
previously it was transpiled by tsc, but the files got discarded and replaced by the files built by webpack.

speeds up tsc command a bit as well:
from 14 seconds to ~8 secs
2025-03-07 23:14:56 +07:00
Elian Doran a6e7f98f69
chore(release): 0.92.3-beta 2025-03-07 23:59:10 +07:00
Elian Doran e76601cd21
fix(bin): empty package.json 2025-03-07 23:58:41 +07:00
Elian Doran e252b491ba
chore(bin): make less error-tolerant 2025-03-07 23:57:31 +07:00
Elian Doran 555dcc956e
chore(release): 0.92.3-beta 2025-03-07 23:55:26 +07:00
Panagiotis Papadopoulos 2c91f6e7bc refactor(errors): add HttpError class and extend existing errors from it 2025-03-07 22:47:03 +07:00
Panagiotis Papadopoulos 39d45dc11b refactor(error_handlers): use existing NotFoundError class
also gets rid of "any" type :-)
2025-03-07 22:31:55 +07:00
Panagiotis Papadopoulos d8ce385134 refactor(routes): refactor handleException and get rid of "any" type 2025-03-07 22:27:13 +07:00
Panagiotis Papadopoulos ba5152de40 refactor(errors): extend errors from Error and add/assign statusCode
this is in preparation for updating the routes/handleException method, to get rid of "any" (and improve in general)
2025-03-07 22:22:44 +07:00
Elian Doran 3958312651
fix(e2e): flaky test due to navigation 2025-03-07 20:34:08 +07:00
Elian Doran eb19e31fc3
fix(e2e): tests failing when run locally 2025-03-07 20:34:01 +07:00
Elian Doran 9d05fedc69
Merge pull request #1355 from TriliumNext/renovate/npm-axios-vulnerability
fix(deps): update dependency axios to v1.8.2 [security]
2025-03-07 20:25:21 +07:00
Elian Doran cbd6278a0b
Merge pull request #1348 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.3.1
2025-03-07 20:14:30 +07:00
Elian Doran f6b52f5ce9
Merge pull request #1349 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.0.8
2025-03-07 20:14:17 +07:00
renovate[bot] efc57e383c
fix(deps): update dependency axios to v1.8.2 [security] 2025-03-07 18:13:51 +07:00
Elian Doran 40d6a28751
Merge pull request #1350 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.3
2025-03-07 20:13:43 +07:00
Elian Doran 73791211c5
Merge pull request #1351 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.51.0
2025-03-07 20:13:18 +07:00
Elian Doran b0f86af57e
Merge branch 'develop' into renovate/playwright-monorepo 2025-03-07 20:13:10 +07:00
Elian Doran 4c6556cf18
Merge pull request #1352 from TriliumNext/renovate/happy-dom-monorepo
chore(deps): update dependency happy-dom to v17.3.0
2025-03-07 20:12:57 +07:00
Elian Doran 3465bc3f1a
Merge branch 'develop' into renovate/happy-dom-monorepo 2025-03-07 19:44:26 +07:00
Elian Doran c1c9bf9122
Merge branch 'develop' into renovate/playwright-monorepo 2025-03-07 19:44:24 +07:00
Elian Doran 02b50703b2
Merge branch 'develop' into renovate/force-graph-1.x 2025-03-07 19:44:19 +07:00
Elian Doran ab104af9ac
Merge branch 'develop' into renovate/vitest-monorepo 2025-03-07 19:44:16 +07:00
Elian Doran 178a58375a
Merge branch 'develop' into renovate/electron-34.x 2025-03-07 19:43:42 +07:00
Elian Doran 313d418345
fix(test): rollback database version 2025-03-07 10:23:02 +07:00
renovate[bot] 633369b5bd
chore(deps): update dependency happy-dom to v17.3.0 2025-03-07 01:27:34 +07:00
renovate[bot] 06d5abded4
chore(deps): update dependency @playwright/test to v1.51.0 2025-03-07 01:27:24 +07:00
renovate[bot] 41368db8b6
fix(deps): update dependency force-graph to v1.49.3 2025-03-07 01:27:12 +07:00
renovate[bot] 4ff3b87f23
chore(deps): update vitest monorepo to v3.0.8 2025-03-07 01:27:02 +07:00
renovate[bot] a40dc2047b
chore(deps): update dependency electron to v34.3.1 2025-03-07 01:26:47 +07:00
Panagiotis Papadopoulos 04f3b637f9 chore(lint): fix no-explicit-any in export.ts 2025-03-06 23:32:05 +07:00
Panagiotis Papadopoulos 7feb38ffa1 chore(lint): fix no-unused-vars errors 2025-03-06 23:21:47 +07:00
Panagiotis Papadopoulos c8e36942fc chore(lint): get rid of "any" in attachments
req.file is of type "Express.Multer.File | undefined".
Returning with an "uploaded: false" type object -> same handling as in
image.ts
2025-03-06 23:09:24 +07:00
Elian Doran 00e576b052
Revert "Merge pull request #1234 from TriliumNext/feature/task_list"
This reverts commit 58a8821c22, reversing
changes made to 50d491b432.
2025-03-06 23:52:01 +07:00
Elian Doran ee7b97ae56
revert(db): back to 228 (no tasks) 2025-03-06 23:45:06 +07:00
Panagiotis Papadopoulos dfb8982a99 chore(lint): improve type and get rid of "any" 2025-03-06 22:44:54 +07:00
Elian Doran 89767d0135
feat(client): allow triggering search on hash change 2025-03-06 22:21:50 +07:00
Elian Doran 79cc1cbf17
fix(link): search from URL not working (closes #1335) 2025-03-06 22:17:14 +07:00
Elian Doran 1ba6104e36
feat(vscode): set XML formatter 2025-03-06 21:19:35 +07:00
Elian Doran f209e4f14d
feat(vscode): add vitest integration 2025-03-06 21:19:28 +07:00
Elian Doran a162fbfe42
fix(mermaid): <br> breaking diagram rendering (closes #1345) 2025-03-06 21:18:36 +07:00
Elian Doran e795caa2f3
fix(note_language): no separator when no languages 2025-03-06 20:50:58 +07:00
Elian Doran ddd0c3a878
Merge pull request #1319 from TriliumNext/feature/rtl
Right-to-left support
2025-03-06 18:12:44 +07:00
Elian Doran 7c5430ba49
Merge pull request #1341 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.9
2025-03-06 08:22:03 +07:00
Elian Doran c155702d91
Merge pull request #1342 from TriliumNext/renovate/ws-8.x
chore(deps): update dependency @types/ws to v8.18.0
2025-03-06 08:21:37 +07:00
renovate[bot] ab578f9379
chore(deps): update dependency @types/ws to v8.18.0 2025-03-06 02:50:55 +07:00
renovate[bot] ebaa909488
chore(deps): update dependency @types/node to v22.13.9 2025-03-06 02:50:47 +07:00
Adorian Doran c463106ccc style(next): tweak modals 2025-03-06 03:02:41 +07:00
Adorian Doran 283d192fe8 style(next)/jump to note: fix modal footer background 2025-03-06 02:30:32 +07:00
Adorian Doran fbba1021cc style(next): restyle modals 2025-03-06 02:28:19 +07:00
Elian Doran a3a34cfab0
fix(rtl): wrong content when switching to an empty note 2025-03-05 23:06:18 +07:00
Elian Doran 77d6cdc546
fix(note_language): double separator when only RTL languages 2025-03-05 23:00:48 +07:00
Elian Doran deb5d82c02
fix(test): broken after adding content-only languages 2025-03-05 22:18:24 +07:00
Elian Doran ca757b20d5
fix(note_language): duplicate separators if no language selected 2025-03-05 22:16:31 +07:00
Elian Doran 15075c8626
fix(build): tests failing due to cyclic dependencies 2025-03-05 22:11:03 +07:00
Elian Doran 07dbacb61f
fix(build): incorrect import 2025-03-05 22:05:12 +07:00
Elian Doran 1976fe6729
Merge remote-tracking branch 'origin/develop' into feature/rtl
; Conflicts:
;	src/public/app/widgets/floating_buttons/help_button.ts
2025-03-05 21:57:53 +07:00
Elian Doran c99c4a4302
Revert "feat(rtl): add language switcher toolbar"
This reverts commit e930ae5f40.
2025-03-05 21:57:08 +07:00
Elian Doran 8d60429b9c
style(note_language): size and positioning of the help button 2025-03-05 21:51:08 +07:00
Elian Doran 84c480c4c6
feat(in-app-help): remove "contextual-help" suffix 2025-03-05 21:44:40 +07:00
Elian Doran 01f9ddaea7
fix(in-app-help): unnecessary bottom padding 2025-03-05 21:39:26 +07:00
Elian Doran 07b1f69f7a
fix(in-app-help): fix image max width 2025-03-05 21:38:56 +07:00
Elian Doran dd28ce9e5d
feat(note_language): add in-app help 2025-03-05 21:38:41 +07:00
Elian Doran e514396c42
feat(docs): prepare documentation for RTL text support 2025-03-05 21:27:53 +07:00
Adorian Doran f2d1726852 style(next)/tab bar: do not use a distinct visual state for tabs being dragged in horizontal toolbar layout 2025-03-05 21:15:35 +07:00
Adorian Doran 6b9311f9ef style(next)/toolbar: rollback the sync status icon animation 2025-03-05 21:03:23 +07:00
Elian Doran 9ced699751
feat(rtl): reposition buttons for read-only language change 2025-03-05 19:23:04 +07:00
Elian Doran c217d1c037
chore(i18n: rename localization setting 2025-03-05 19:20:34 +07:00
Panagiotis Papadopoulos 0f0e55deb2 chore(lint): fix lint issues in src/routes 2025-03-05 18:09:44 +07:00
Elian Doran a9938cbf7d
feat(options/language): improve description & add translations 2025-03-05 18:54:59 +07:00
Elian Doran 3d600c885a
feat(note_language): refresh rtl for read-only notes 2025-03-05 17:33:46 +07:00
Elian Doran 24c2b54bc9
feat(note_language): reload list of languages when changed 2025-03-05 17:23:22 +07:00
Elian Doran 8e2517459f
feat(rtl): align floating buttons properly 2025-03-05 17:12:14 +07:00
Elian Doran 25c9f52cf4
feat(note_language): add a button to configure the language 2025-03-05 16:44:36 +07:00
Elian Doran 4a75f9f48b
feat(rtl): adjust padding for read-only text 2025-03-05 14:39:26 +07:00
Elian Doran 51813099b3
feat(note_language): reinitialize editor when switching between RTL and LTR notes 2025-03-05 14:35:05 +07:00
Elian Doran 93e2515190
Merge pull request #1332 from TriliumNext/port_dialogs
port dialogs
2025-03-05 14:21:02 +07:00
JYC333 883a67bcfe
Merge branch 'develop' into port_dialogs 2025-03-05 13:09:00 +07:00
Elian Doran 17e3bd9f6d
Merge pull request #1339 from TriliumNext/build_server-build-dump-db
build(build-server): stop copying dump-db during build
2025-03-05 13:48:13 +07:00
Jin d4fe8cf4b9 refactor: 💡 add event data and remove redundant code 2025-03-05 12:44:36 +07:00
Elian Doran 4c0ecc4df9
Merge pull request #1315 from TriliumNext/chore_add-eslint
chore: add eslint as linter
2025-03-05 12:55:48 +07:00
Elian Doran 2b0cb8225f
Merge branch 'develop' into build_server-build-dump-db 2025-03-05 12:55:14 +07:00
Elian Doran 3d7798859f
Merge pull request #1338 from TriliumNext/chore_move-deps-to-dev
chore(deps): move deps to devDeps
2025-03-05 12:54:59 +07:00
Panagiotis Papadopoulos f8c8b9eb3f build(build-server): stop copying dump-db during build 2025-03-05 09:28:41 +07:00
Panagiotis Papadopoulos 33eb8fe820 chore(deps): move deps to devDeps
* happy-dom → only needed for tests
* knockout → this is now bundled by webpack during build stage
* ts-loader → only needed during build stage
2025-03-05 09:24:20 +07:00
Panagiotis Papadopoulos d8ea415b84
Merge branch 'develop' into chore_add-eslint 2025-03-05 09:16:02 +07:00
Elian Doran 7bcbf29f21
fix(canvas): unable to copy-paste 2025-03-05 09:27:20 +07:00
Elian Doran ea3364ab09
feat(note_language): support RTL in read-only text 2025-03-04 23:13:23 +07:00
Elian Doran 115c3bbeb0
chore(client/ts): port read_only_text 2025-03-04 22:59:46 +07:00
Elian Doran f150ec15bc
refactor(client): move finding by locale in service 2025-03-04 22:45:38 +07:00
Elian Doran d582fdea02
feat(settings/i18n): filter only display languages 2025-03-04 22:19:37 +07:00
Elian Doran 775fd3f22b
feat(note_language): filter by enabled languages 2025-03-04 21:56:21 +07:00
Elian Doran 9f6b97cdfa
feat(note_language): display checkbox to the right 2025-03-04 21:31:19 +07:00
Elian Doran d31ba6f47c
feat(note_language): add checkbox 2025-03-04 21:04:50 +07:00
Elian Doran b150a05a55
feat(note_language): group right-to-left languages 2025-03-04 20:58:32 +07:00
Elian Doran 4c89a2ac27
feat(i18n): sort languages alphabetically 2025-03-04 20:51:22 +07:00
Elian Doran 951f4c4921
feat(note_language): align list of languages to the right 2025-03-04 20:48:36 +07:00
Elian Doran 856410120c
feat(note_language): improve layout of list of languages 2025-03-04 20:39:30 +07:00
Elian Doran 427b7fe992
feat(note_language): rebuild editor when language is switched 2025-03-04 20:34:36 +07:00
Elian Doran c6b3c1bf88
feat(note_language): add right-to-left languages 2025-03-04 20:31:51 +07:00
Elian Doran 42d3334c9d
feat(note_language): initialize CKEditor with right language 2025-03-04 19:29:02 +07:00
Elian Doran 80da713a7e feat(editor): add text part language 2025-03-04 19:10:12 +07:00
Elian Doran 3546ac6ded
refactor(note_language): remove unnecessary fields 2025-03-04 18:40:26 +07:00
Elian Doran b81fd69981
fix(note_language): crash if user entered invalid locale 2025-03-04 18:38:07 +07:00
Elian Doran bb42b5fb19
feat(note_language): allow removing language tag 2025-03-04 18:35:42 +07:00
Elian Doran 598586f735
feat(note_language): update value of combobox 2025-03-04 18:30:43 +07:00
Elian Doran bccfeed431
feat(note_language): set language attribute for note 2025-03-04 17:54:52 +07:00
Elian Doran dbea35f9f3
feat(note_language): set a default value for the combo 2025-03-04 17:49:58 +07:00
Elian Doran acc76f9b74
feat(note_language): add an option for no language set 2025-03-04 17:48:04 +07:00
Elian Doran 5b4d323936
feat(client): display list of languages 2025-03-04 17:43:24 +07:00
Elian Doran fd652ea7a5
feat(client): hide language for non-text notes 2025-03-04 17:29:37 +07:00
Elian Doran 642b84ce6b
feat(client): create an empty language switcher at note level 2025-03-04 17:27:00 +07:00
Elian Doran c0c85e96ce
chore(client/ts): port basic_properties 2025-03-04 17:18:17 +07:00
Panagiotis Papadopoulos 2c7a25b7fc chore(eslint): add rule for unused vars
this is already used across codebase: using "_" as placeholder for deliberately unused vars (e.g. when destructuring arrays)
2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos 6a5e622637 scripts(linter): remove "--cache" flag
using it is not recommended for ts-eslint:
https://typescript-eslint.io/troubleshooting/faqs/eslint#can-i-use-eslints---cache-with-typescript-eslint
2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos b2ac5b6337 chore(eslint): ignore certain folders 2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos 40144fc171 deps: update typescript-eslint to 8.26.0 2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos 1e599af480 chore(eslint): disable 'no-undef' rule
For TS projects this is already enforced by tsc, see:
https://eslint.org/docs/latest/rules/no-undef#handled_by_typescript
2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos 744a0b8042 chore: ignore build related folder in eslint config 2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos 0d66f9d4eb chore(scripts): add dev:linter-check and dev:linter-fix
purposely *not* named as dev:eslint, just to "decouple" the script from eslint, in case there ever is the need to change that :-)
2025-03-04 12:19:23 +07:00
Panagiotis Papadopoulos aed835b6c2 chore: add initial eslint configuration
rules will need some finetuning still
2025-03-04 12:19:23 +07:00
Adorian Doran ce2961ebd6 style(next)/toolbar: animate the sync status icon 2025-03-04 11:55:37 +07:00
Adorian Doran b03c75c09b style(next): fix note menu artifacts in split view 2025-03-04 11:19:33 +07:00
Adorian Doran 77c4b50215 style(next)/SQL Console: tweak appearance 2025-03-04 11:14:10 +07:00
Elian Doran 901d2d72ae
feat(print): improve code block style 2025-03-04 09:29:53 +07:00
Adorian Doran 6555add2aa client/options/other: tweak the "HTML Import Tags" section 2025-03-04 01:48:09 +07:00
Jin c4d2c2b8de refactor: 💡 remove redundant code 2025-03-04 00:42:31 +07:00
Jin f1ecab84d9 refactor: 💡 remove unused code 2025-03-04 00:35:29 +07:00
Jin f1f55fd4f8 fix: 🐛 fix add external link
fix can't add external link from add link dialog
2025-03-04 00:33:09 +07:00
Adorian Doran a97c8087a1 style(next)/shell: correct border offset, add entrance animation for notes 2025-03-04 01:31:36 +07:00
Adorian Doran ee40bb3b33 style(next)/ribbon/note info: improve the layout on constrained width 2025-03-04 00:55:24 +07:00
Jin 5543650166 chore: 🤖 (ts) port add_link dialog 2025-03-03 23:54:09 +07:00
Adorian Doran dcea67fa9d Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-04 00:12:15 +07:00
Adorian Doran 3d2801096f style(next): add a border to separate note splits 2025-03-04 00:12:02 +07:00
Elian Doran c41fbe8e45
fix(client): build error due to null 2025-03-03 23:40:32 +07:00
Elian Doran 3855f0e75f
Revert "port tab manager to ts"
This reverts commit 45a50f3aa1.
2025-03-03 23:34:54 +07:00
Adorian Doran 3f641c98fb Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-03 23:08:25 +07:00
Adorian Doran 9ca43aceed style(next)/search in note: tweak the border line 2025-03-03 23:08:16 +07:00
Jin 0e81f086c0 chore: 🤖 (ts) port about dialog 2025-03-03 22:06:04 +07:00
Elian Doran 5289f94553
Merge pull request #1320 from TriliumNext/porting_js
chore: port more js to ts
2025-03-03 23:04:14 +07:00
Adorian Doran d779cc1854 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-03 22:49:16 +07:00
Adorian Doran 3b16ad508e style(next)/search in note: gracefully handle narrow widths 2025-03-03 22:47:32 +07:00
Elian Doran cf554fc4af
Merge branch 'develop' into porting_js 2025-03-03 22:46:10 +07:00
Jin 1b76442367 chore: 🤖 fix webpack build error 2025-03-03 21:03:45 +07:00
Elian Doran 2213c500c2 fix(client): allow overriding position using getter (closes #1321) 2025-03-03 21:03:45 +07:00
Elian Doran 3c290c9fc5
fix(client): allow overriding position using getter (closes #1321) 2025-03-03 21:20:42 +07:00
Elian Doran 8e66dc300f
Merge branch 'develop' into porting_js 2025-03-03 20:30:15 +07:00
Elian Doran ef9eebc030
Merge pull request #1283 from TriliumNext/chore_prettier
chore: fix prettier code style issues
2025-03-03 20:28:33 +07:00
Elian Doran 65a51153b3
Merge remote-tracking branch 'origin/develop' into chore_prettier 2025-03-03 20:21:47 +07:00
Elian Doran 741a4af570
fix(build): an argument was not provided 2025-03-03 20:00:52 +07:00
Elian Doran 2a4d3b71f2
Merge pull request #1324 from TriliumNext/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.3
2025-03-03 19:57:33 +07:00
JYC333 0d5bef422a
Merge branch 'develop' into renovate/prettier-3.x 2025-03-03 18:30:58 +07:00
Adorian Doran 605d99a7e8 style(next): horizontal toolbar layout tweaks 2025-03-03 18:17:13 +07:00
Elian Doran e930ae5f40
feat(rtl): add language switcher toolbar 2025-03-03 18:12:15 +07:00
Adorian Doran 4d6e115208 style(next)/attribute detail dialog: tweak input labels 2025-03-03 18:04:21 +07:00
Adorian Doran 495a394d79 style(next)/search in note: remove the italic font style from the match counters 2025-03-03 17:50:59 +07:00
Adorian Doran e55708f79f client/settings/appearance: fix restart application button style 2025-03-03 16:04:23 +07:00
Adorian Doran c7e9963db1 client/setup dialog: add a margin after the password field 2025-03-03 16:00:03 +07:00
Jin ad711ff00c chore: 🤖 clean up debug code 2025-03-03 11:29:37 +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
renovate[bot] 125eef234b
chore(deps): update dependency prettier to v3.5.3 2025-03-03 02:26:21 +07:00
Jin 45a50f3aa1 port tab manager to ts 2025-03-03 01:04:42 +07:00
Jin 8e0b9d17a4 port split note container to ts 2025-03-02 21:52:48 +07:00
Elian Doran b99ead6a84
feat(setings): add option section for settings 2025-03-02 22:23:47 +07:00
Elian Doran e7d2be4663
feat(options/language): store list of languages 2025-03-02 21:58:40 +07:00
Panagiotis Papadopoulos 2efc1a0e2e chore(prettier): ignore public/app/doc_notes 2025-03-02 20:48:07 +07:00
Panagiotis Papadopoulos 2beaaa95bf chore(prettier): fix code style 2025-03-02 20:47:57 +07:00
Elian Doran bc787213f4
feat(options/language): display list of languages 2025-03-02 21:47:53 +07:00
Elian Doran 73daec6644
feat(settings): create a language settings section 2025-03-02 21:24:31 +07:00
Elian Doran 43d8affcc8
feat(i18n): translate unknown content widget message 2025-03-02 21:17:04 +07:00
Elian Doran 67509bc92f
fix(migration): no such table "tasks" 2025-03-02 20:43:52 +07:00
Elian Doran 1ca485e4b5
fix(migration): using async in transaction 2025-03-02 20:43:01 +07:00
Elian Doran 16ad054d2a
refactor(migration): remove async import from migration scripts 2025-03-02 20:28:41 +07:00
Elian Doran b4310b5275
fix(migration): ESM imports not working on Windows 2025-03-02 20:23:38 +07:00
Elian Doran f04e747786
fix(migration): TypeScript migrations not run 2025-03-02 19:59:50 +07:00
Elian Doran a80c3e32f1
fix(migration): JavaScript-based migrations not working 2025-03-02 19:39:06 +07:00
Elian Doran 01ff3d396d
chore(test): add database testing migration 2025-03-02 17:11:07 +07:00
Elian Doran 49a22bce80
Merge pull request #1316 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.2
2025-03-02 11:43:36 +07:00
renovate[bot] 436788cf96
fix(deps): update dependency force-graph to v1.49.2 2025-03-02 02:33:14 +07:00
Elian Doran c8a7f893e1
Merge pull request #1312 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.8
2025-03-01 10:18:47 +07:00
Elian Doran 17884558ad
fix(server): build errors after newer types 2025-03-01 10:16:24 +07:00
Elian Doran 8e4530293d
Merge pull request #1314 from hasecilu/i18n/Spanish
chore(i18n): update Spanish translation
2025-03-01 10:07:11 +07:00
Elian Doran 072b5b2035
Merge pull request #1313 from TriliumNext/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.8.2
2025-03-01 10:06:30 +07:00
renovate[bot] 455b2bf338
chore(deps): update dependency @types/node to v22.13.8 2025-03-01 08:05:52 +07:00
Elian Doran 9a5c08f117
Merge pull request #1304 from TriliumNext/chore_ts-port_read_only_code
chore(ts): start porting read_only_code
2025-03-01 10:05:11 +07:00
hasecilu 038e3a15cd
chore(i18n): update Spanish translation 2025-02-28 22:44:48 +07:00
renovate[bot] 6c67c9a41f
chore(deps): update dependency typescript to v5.8.2 2025-03-01 01:31:56 +07:00
Panagiotis Papadopoulos d6b164413e chore(ts): port read_only_code 2025-02-28 23:19:42 +07:00
Elian Doran 259ce440c5
fix(build): type error due to test 2025-02-28 22:02:41 +07:00
Elian Doran 2a75819734
chore(docs): start writing entrypoint for editing docs 2025-02-28 22:02:29 +07:00
Elian Doran 4211e4e11c
chore(deps): npm audit fix 2025-02-28 21:24:26 +07:00
Elian Doran f76f679800
feat(calendar): allow relations in promoted attributes 2025-02-28 20:46:41 +07:00
Elian Doran e7d06fceba
test(calendar): labels as promoted attributes 2025-02-28 20:34:30 +07:00
Elian Doran a8b119e4df
test(calendar): relation as custom title with attribute relation 2025-02-28 20:13:37 +07:00
Elian Doran f953f6514f
test(calendar): relation as custom title with attribute label 2025-02-28 20:11:45 +07:00
Elian Doran ca7cff45c9
test(calendar): relation as custom title 2025-02-28 19:55:02 +07:00
Elian Doran 6f2a0f9ee1
refactor(types): better type definitions 2025-02-28 19:44:32 +07:00
Elian Doran 5b9bfac1f8
test(calendar): custom label as title 2025-02-28 19:36:50 +07:00
Elian Doran f674ba0d4a
test(calendar): custom start/end date 2025-02-28 19:32:32 +07:00
Elian Doran 5731cb9b4d
test(calendar): start date & end date 2025-02-28 19:23:45 +07:00
Elian Doran d83b2a6a38
refactor(test): dedicated helper for froca 2025-02-28 19:18:37 +07:00
Elian Doran ad18916973
refactor(test): dedicated folder for test support 2025-02-28 19:13:33 +07:00
Elian Doran 2531e5617f
refactor(test): remove need for async import 2025-02-28 19:12:19 +07:00
Elian Doran f646e0f724
refactor(test): global initialisation 2025-02-28 19:11:12 +07:00
Elian Doran 7a34a2f59c
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-02-28 19:03:50 +07:00
Elian Doran 85882d843b
chore(test): basic test harness for calendar view event testing 2025-02-28 19:03:08 +07:00
Elian Doran f60667b618
Merge pull request #1306 from clsty/develop
Translation: Fix, improve and finish for zh-CN
2025-02-28 18:56:19 +07:00
clsty c8c7680a10 Fix missing translation on zh-CN translation 2025-03-01 00:13:25 +07:00
Elian Doran 6df588da22
chore(client/ts): port backend_log 2025-02-28 17:59:38 +07:00
Elian Doran 423037b9d6
chore(client/ts): port search_options 2025-02-28 17:58:51 +07:00
Elian Doran 2c714afa21
chore(client/ts): port floating buttons 2025-02-28 17:55:47 +07:00
Elian Doran 83d25964c7
Merge pull request #1307 from TriliumNext/porting_js
porting js
2025-02-28 17:49:35 +07:00
Elian Doran e58a61051b
Merge pull request #1302 from TriliumNext/build_webpack-i18n-dayjs-splitjs
build: let webpack handle `dayjs`, `split.js` and `i18next`
2025-02-28 17:44:33 +07:00
clsty 77c0bfe93b Minor improves on zh-CN translation 2025-02-28 23:23:29 +07:00
clsty 9826256e29 Fix indent 2025-02-28 23:03:59 +07:00
Jin a3d9b04d96 port history navigation, remove redundance 2025-02-28 15:45:26 +07:00
Jin c67445f511 optimize month selector behavior 2025-02-28 15:09:28 +07:00
Jin a99c86ea9f port calender to ts 2025-02-28 15:09:01 +07:00
clsty 23553692ac Update zh-CN translation. 2025-02-28 19:30:14 +07:00
Panagiotis Papadopoulos 1450e57a6a chore(deps): move "i18next-http-backend" to devDependencies
since it is not used in server side code and it is bundled by webpack, it is only needed during build stage -> devDependency
on server-side we use i18next and i18next-fs-backend -> so these need to stay in dependencies
2025-02-28 08:35:57 +07:00
Panagiotis Papadopoulos d3283746fc fix(type_widgets/doc): import i18next
since we don't export the full i18n object (not sure why?),
I had to add an additional export "getCurrentLanguage"

-> needs to be a function, because otherwise it will be a static value (being set to undefined),
which is *not* what we want
2025-02-28 08:30:35 +07:00
Panagiotis Papadopoulos f3148bf478 build: let webpack bundle i18next 2025-02-28 08:26:48 +07:00
Panagiotis Papadopoulos b60f22c6b9 chore(deps): move "split.js" to devDependencies
since it is not used in server side code and it is bundled by webpack, it is only needed during build stage -> devDependency
2025-02-28 08:09:36 +07:00
Panagiotis Papadopoulos 559517ace1 build: let webpack bundle split.js 2025-02-27 23:00:44 +07:00
Panagiotis Papadopoulos 49a2eb0ccf build: let webpack bundle dayjs 2025-02-27 22:44:18 +07:00
Elian Doran 06a439e95d
feat(options/apperance): hide layout orientation section 2025-02-27 19:31:36 +07:00
Elian Doran a615b473a7
Merge pull request #1297 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.1
2025-02-27 19:17:05 +07:00
Elian Doran 1a9c28f9bd
Merge pull request #1298 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.3.0
2025-02-27 19:16:29 +07:00
Elian Doran 93d5b20362
Merge pull request #1299 from TriliumNext/renovate/axios-1.x
fix(deps): update dependency axios to v1.8.1
2025-02-27 19:14:51 +07:00
Elian Doran 6501b95eac
Merge pull request #1300 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.4.1
2025-02-27 19:14:08 +07:00
renovate[bot] b0fa70870c
fix(deps): update dependency mind-elixir to v4.4.1 2025-02-27 02:27:48 +07:00
renovate[bot] 74fc5562b2
fix(deps): update dependency axios to v1.8.1 2025-02-27 02:27:39 +07:00
renovate[bot] c033ad261c
chore(deps): update dependency electron to v34.3.0 2025-02-27 02:27:30 +07:00
renovate[bot] fe7f2e43be
fix(deps): update dependency force-graph to v1.49.1 2025-02-27 02:27:17 +07:00
Elian Doran 5435b3c8fd
feat(calendar): allow customisable start & end dates 2025-02-27 00:02:58 +07:00
Elian Doran 7d5b0f825c
Merge pull request #1295 from TriliumNext/feat_add-link-to-swagger-ui
feat(options/etapi): improve etapi options page description
2025-02-26 23:42:38 +07:00
Elian Doran fd66da95f3
fix(options/etapi): comments being visible to the user 2025-02-26 23:42:03 +07:00
Elian Doran 8e5762b125
chore(i18n/ro): translate new messages 2025-02-26 23:09:39 +07:00
Elian Doran bee1df4fdf
feat(options/etapi): open swagger UI in in-app-help 2025-02-26 23:06:35 +07:00
Elian Doran 4df76fafe1
Merge branch 'develop' into feat_add-link-to-swagger-ui 2025-02-26 22:46:31 +07:00
Elian Doran 3d36d6d121
Merge pull request #1276 from TriliumNext/renovate/apple-actions-import-codesign-certs-3.x
chore(deps): update apple-actions/import-codesign-certs action to v3
2025-02-26 22:46:15 +07:00
Elian Doran 995d963450
Merge pull request #1294 from TriliumNext/fix-macos-artifact-names
Fix MacOS artifact names
2025-02-26 22:45:02 +07:00
Elian Doran 5d61f9fb12
fix(tasks): alignment of checkbox 2025-02-26 22:43:38 +07:00
Elian Doran 09f7645925
feat(tasks): improve layout 2025-02-26 22:43:38 +07:00
Elian Doran 2ea85dc238
feat(tasks): trim task name 2025-02-26 22:43:38 +07:00
Elian Doran d0c703515b
feat(tasks): display due date without time 2025-02-26 22:43:38 +07:00
Elian Doran d73c9308a9
chore(server/test): adjust includes/excludes 2025-02-26 22:43:38 +07:00
Elian Doran 89eab387ba
chore(test): html coverage 2025-02-26 22:43:38 +07:00
Elian Doran 6f9fd76465
fix(share): double request of credentials 2025-02-26 22:43:38 +07:00
Elian Doran 7ea3cb71f3
chore(server/test): password protected share 2025-02-26 22:43:38 +07:00
Elian Doran fa60295ab2
feat(note_list): improve file footer 2025-02-26 22:43:38 +07:00
Elian Doran ab5df9e010
feat(note_list): improve video preview 2025-02-26 22:43:38 +07:00
Elian Doran e330d91df2
feat(file): display videos in full width 2025-02-26 22:43:38 +07:00
Elian Doran 07c2342b7b
feat(file): display video in full-width & full-height 2025-02-26 22:43:38 +07:00
Elian Doran 9cc3598095
chore(ci): separate client & server coverage 2025-02-26 22:43:38 +07:00
Panagiotis Papadopoulos 0f1b4614fb chore(options/etapi): add TODO notice to get rid of current workaround 2025-02-26 21:07:56 +07:00
Panagiotis Papadopoulos f1f5839ea2 feat(options/etapi): link to the swagger UI that we ship
since we are shipping it, why not link to it as well :-)
2025-02-26 21:07:56 +07:00
Panagiotis Papadopoulos ba84c694b2 i18n(options/etapi): improve translatability of description string
convert the split up string into a single interpolated string,
which improves translatability (and allows LTR translations)
2025-02-26 21:07:56 +07:00
perf3ct 5109f865c7
Fix MacOS artifact names 2025-02-26 20:06:18 +07:00
Elian Doran 47f84fe4b4
Merge pull request #1292 from TriliumNext/bugfix/macos-fix2
Pass the required `APPLE` secrets to the `build-electron` action
2025-02-26 21:01:29 +07:00
perf3ct 1056176624
we have to pass the secret values to the composite github actions 2025-02-26 18:51:14 +07:00
perf3ct 634b57ce5d
let's see if we can contain the signing explosion to just build-electron 2025-02-26 18:33:57 +07:00
Elian Doran 6fcd229b52
chore(ci): run unit tests in dev workflow 2025-02-26 18:58:27 +07:00
Elian Doran bd933dde28
chore(test): disable download of images 2025-02-26 18:58:08 +07:00
Elian Doran ef736edf09
chore(test): separate client & server tests 2025-02-26 18:39:00 +07:00
Elian Doran 909a74e8ac
chore(test): disable regularly scheduled backup 2025-02-26 18:00:53 +07:00
Elian Doran 180c02d647
chore(test): migrate database to new version 2025-02-26 18:00:45 +07:00
Elian Doran d92959e23a
chore(i18n): reach 100% for Romanian 2025-02-26 17:44:25 +07:00
Elian Doran 3c8a42ed73
Merge pull request #1289 from Potjoe-97/FR-tra
Translation : FR update & tweaks
2025-02-26 17:33:27 +07:00
Elian Doran 43b1b8a306
Merge pull request #1286 from TriliumNext/fix_views_appPath_#1285
fix: EJS crash after failed login
2025-02-26 17:32:53 +07:00
Elian Doran bb8277d035
Merge pull request #1281 from TriliumNext/porting_js
port toc widget button
2025-02-26 17:28:36 +07:00
Potjoe-97 9d188f9ecc
Merge pull request #8 from Potjoe-97/patch-2
Translation: Update FR translation.json
2025-02-26 15:52:15 +07:00
Potjoe-97 f04d749440
Update translation.json 2025-02-26 15:47:25 +07:00
Potjoe-97 631a4ed9b2
Update server.json 2025-02-26 15:13:20 +07:00
Panagiotis Papadopoulos 1a0c35f43d refactor(routes/login): use "shorter" syntax for passing to ejs render 2025-02-26 08:50:36 +07:00
Panagiotis Papadopoulos 0aa1d602a1 fix(routes/login): add missing "appPath" to ejs render 2025-02-26 08:45:35 +07:00
Jin d28dfc2b64 port toc widget button 2025-02-26 00:53:15 +07:00
Elian Doran 8b2788fa8c
chore(scripts): fix start-prod environment 2025-02-25 20:44:10 +07:00
Elian Doran ea04457c06
chore(i18n): refine error message for DB migration 2025-02-25 20:18:23 +07:00
Elian Doran c935cb65a0
fix(tasks): not being able to mark tasks as done 2025-02-25 20:10:57 +07:00
Elian Doran e7601f65bb
feat(tasks): highlight overdue tasks 2025-02-25 19:55:10 +07:00
Elian Doran 64647df043
feat(tasks): sort by due date 2025-02-25 19:48:26 +07:00
Elian Doran 5838ac3bca
feat(tasks): display due date in calendar-relative format 2025-02-25 19:38:15 +07:00
Elian Doran 7bc9114976
feat(tasks): display due date 2025-02-25 19:19:09 +07:00
Elian Doran 637ba78100
feat(tasks): display due date in editable textbox 2025-02-25 18:40:20 +07:00
Elian Doran fcd7b986aa
feat(tasks): make due date editable 2025-02-25 18:36:46 +07:00
Elian Doran 84e8559401
feat(tasks): allow only one editable section at one time 2025-02-25 17:46:17 +07:00
Elian Doran 06831ddc76
feat(tasks): start implementing expandable edit container 2025-02-25 17:43:28 +07:00
Elian Doran cd78955080
Merge pull request #1270 from TriliumNext/porting_js
port js to ts
2025-02-25 17:21:22 +07:00
Elian Doran 175852f6cb
refactor(client): remove unnecessary return type 2025-02-25 17:20:13 +07:00
Elian Doran 4149ebdc69
Merge pull request #1277 from TriliumNext/build_fix-missing-types-webpack
build(webpack): fix missing type declarations
2025-02-25 17:19:29 +07:00
Elian Doran 6d52d7943b
Merge pull request #1275 from TriliumNext/renovate/chardet-2.x
fix(deps): update dependency chardet to v2.1.0
2025-02-25 17:18:26 +07:00
Elian Doran 8e4aead110
Merge pull request #1274 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.0.7
2025-02-25 17:17:51 +07:00
Elian Doran d434b416f3
Merge pull request #1273 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.27.9
2025-02-25 17:17:28 +07:00
Elian Doran ac050bca3b
Merge pull request #1272 from TriliumNext/renovate/sass-1.x
chore(deps): update dependency sass to v1.85.1
2025-02-25 17:17:05 +07:00
Elian Doran 29df170590
Merge remote-tracking branch 'origin/develop' into style/next/restyle-ckeditor 2025-02-25 17:01:11 +07:00
Panagiotis Papadopoulos 194640db66 build(webpack): fix missing type declarations 2025-02-25 08:58:37 +07:00
renovate[bot] 05975a02fb
chore(deps): update apple-actions/import-codesign-certs action to v3 2025-02-25 02:37:14 +07:00
renovate[bot] 7345cddc0a
fix(deps): update dependency chardet to v2.1.0 2025-02-25 02:37:10 +07:00
renovate[bot] a01da98b37
chore(deps): update vitest monorepo to v3.0.7 2025-02-25 02:37:01 +07:00
renovate[bot] c80ec03126
chore(deps): update dependency typedoc to v0.27.9 2025-02-25 02:36:48 +07:00
renovate[bot] cd5df24e6a
chore(deps): update dependency sass to v1.85.1 2025-02-25 02:36:38 +07:00
Jin 1be92baf4a remove edit_button.js 2025-02-25 02:11:53 +07:00
Jin 16b58a58a3 port js to ts 2025-02-25 02:02:20 +07:00
Elian Doran 34762236d1
fix(build): errors due to missing command 2025-02-24 22:50:16 +07:00
Elian Doran 4240af6c43
Merge pull request #1267 from perfectra1n/develop
Enable MacOS code signing and notarization in GitHub Actions
2025-02-24 22:37:09 +07:00
Elian Doran d85c670d7b
Merge pull request #1268 from TriliumNext/port/client_ts
Port note tree to TypeScript
2025-02-24 21:59:31 +07:00
Elian Doran 23d01ec351
fix(build): type definitions for context menu 2025-02-24 21:35:35 +07:00
Elian Doran 7874e88b4a
fix(build): fancytree's JQuery UI interfering with bootstrap 2025-02-24 21:35:23 +07:00
Jon Fuller 9d6caa84cd
Merge branch 'develop' into develop 2025-02-24 08:13:59 +07:00
perf3ct 36ce2a3342
add back prettier-ignore comment for pano 2025-02-24 16:12:53 +07:00
Elian Doran 65804f9c2a
chore(deps): revert changges to package-lock 2025-02-24 17:46:44 +07:00
Elian Doran 28ed616fa6
feat(search): focus on search string by default 2025-02-24 13:51:02 +07:00
Elian Doran 675a5e96e6
chore(client/ts): port search_string 2025-02-24 13:50:08 +07:00
Elian Doran 8ab0084e10
chore(client/ts): port search_definition 2025-02-24 13:45:36 +07:00
Elian Doran 2ab22e7b0e
fix(client): type errors due to command change 2025-02-24 12:39:40 +07:00
Elian Doran 147c340529
Merge remote-tracking branch 'origin/develop' into port/client_ts 2025-02-24 10:14:52 +07:00
Elian Doran 87e687147d
Merge remote-tracking branch 'origin/develop' into port/client_ts 2025-02-24 10:10:34 +07:00
perf3ct b88980ea49
Clean up some of the verbosity 2025-02-24 00:59:08 +07:00
perf3ct fe93ee90c7
Update Entitlements for MacOS 2025-02-24 00:59:02 +07:00
perf3ct e9d4356492
Now we'll try the name with a space in it? 2025-02-24 00:44:50 +07:00
perf3ct 226cf8dfd7
Set up Signing and Notarizing for MacOS 2025-02-23 23:36:30 +07:00
Elian Doran b91b243432
fix(tasks): selection contains spaces 2025-02-23 22:00:50 +07:00
Elian Doran 0ba4c9b9c7
fix(tasks): content flash when updating list of tasks 2025-02-23 21:54:58 +07:00
Elian Doran 31fcf7ea60
feat(tasks): clear text box when entering a task 2025-02-23 21:39:05 +07:00
Elian Doran 24c02e013b
fix(import/enex): "Missing or wrong content type for resource" (fixes #943) 2025-02-23 19:58:43 +07:00
Elian Doran d319eede1f
style(views/calendar): disable link underline 2025-02-23 19:23:00 +07:00
Elian Doran 143b91936c
Merge pull request #1261 from rom1dep/calendar_enh_attributes
feat(view/calendar): let the user specify attributes to be promoted o…
2025-02-23 19:16:35 +07:00
Elian Doran 95e6919dcf
chore(calendar/view): remove unnecessary comment 2025-02-23 19:15:33 +07:00
Elian Doran 07147bf857
fix(view/calendar): add basic support for promoted attributes 2025-02-23 19:14:09 +07:00
Elian Doran 249c42e781
fix(view/calendar): guard condition breaking recursion 2025-02-23 18:39:34 +07:00
Elian Doran 2578d480a8
Merge remote-tracking branch 'origin/develop' into calendar_enh_attributes 2025-02-23 18:38:11 +07:00
Elian Doran 937a314260
Merge pull request #1260 from TriliumNext/chore_port-to-ts_attach
chore(ts): port various attachment related files to TS
2025-02-23 18:33:41 +07:00
Elian Doran 560b7ebe35
refactor(client): use workaround for TS error 2025-02-23 18:32:53 +07:00
Elian Doran 4883debd8d
Merge remote-tracking branch 'origin/develop' into chore_port-to-ts_attach 2025-02-23 18:28:29 +07:00
Elian Doran 637845c396
Merge pull request #1258 from TriliumNext/fix_zenmode-ui-fixes
fix/i18n: tiny zen mode UI fixes
2025-02-23 18:27:56 +07:00
Elian Doran d16026f8e6
Merge pull request #1257 from TriliumNext/chore_deps-update
chore: package.json maintenance
2025-02-23 18:26:59 +07:00
Elian Doran e5aed0a3fc
Merge pull request #1167 from TriliumNext/chore_ts-port_sync_status
chore(ts): port sync_status.ts
2025-02-23 18:26:23 +07:00
Elian Doran 8a08664dd5
Merge pull request #1263 from TriliumNext/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.2
2025-02-23 18:24:51 +07:00
Elian Doran b9f30fc501
chore(build): update Electron version for nix 2025-02-23 18:22:56 +07:00
Adorian Doran 70af260f0f style(next): note map: tweak the color of the "fix nodes" button while toggled 2025-02-23 17:48:58 +07:00
Adorian Doran 474b44608b style(next): forms: remove the background for range inputs 2025-02-23 17:13:56 +07:00
Adorian Doran 12f7119427 style(next): forms: fix tool buttons wrapped inside button groups 2025-02-23 17:01:32 +07:00
Panagiotis Papadopoulos 223a1fb203 refactor: FAttachment/Attachment_details - make fields public and get rid of getters
as per
https://github.com/TriliumNext/Notes/pull/1260#discussion_r1966615186
2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos fb0487ca36 chore(ts): port widgets/attachment_detail to TS 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos add6f80aeb chore(ts/content_renderer): add FAttachment types as used in attachment_detail 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 5d4dc91cc3 chore(ts/Fattachment): add getContentLength, since contentLength is private 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 99e520cbbc chore(ts/Fattachment): add getUtcDateScheduledForErasureSince, since UtcDateScheduledForErasureSince is private 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 1e7dee51fc chore(ts/Fattachment): add getOwnerId, since ownerId is private 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 4ddc36f6b8 chore(ts): import AttachmentRow type in load_results 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 3f2ae81fe4 chore(ts): start port of widgets/attachment_detail 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos d99a44867c chore(ts): add temporary ts-ignore to widgets/buttons/attachments_actions 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 8f643c62e3 chore(ts): port of type_widgets/attachment_list 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos f6785f7980 chore(ts): add missing isDeleted and deleteId types to AttachmentRow 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos bf15192b25 chore(ts): start port of widgets/buttons/attachment_actions 2025-02-23 12:52:37 +07:00
Panagiotis Papadopoulos 70756fe795 chore(ts): start port of type_widgets/attachment_detail 2025-02-23 12:52:36 +07:00
Panagiotis Papadopoulos 31170744d1 chore(ts): allow link.createLink notePath type to accept undefined
it can also accept undefined -> it is even handled in that first if block.
change required for upcoming port of attachment_*.js files
2025-02-23 12:52:36 +07:00
Adorian Doran 1dfa4a8bc2 client: note map: improve the appearance 2025-02-23 06:17:57 +07:00
renovate[bot] e9f5272d98
chore(deps): update dependency prettier to v3.5.2 2025-02-23 02:09:16 +07:00
Romain DEP. 07443042a1 feat(view/calendar): let the user specify attributes to be promoted onto the calendar view, and render them inside the event title 2025-02-22 23:34:14 +07:00
Panagiotis Papadopoulos 4523307ead i18n(close_zen_button): add a translatable title to the button
previously it only displayed the keyboard shortcut, without any extra info
2025-02-22 16:12:12 +07:00
Panagiotis Papadopoulos 755b20bbab fix(global_menu): add missing <kbd> to zen mode 2025-02-22 16:01:49 +07:00
Panagiotis Papadopoulos 49b52d3124 chore: run `npm audit fix`
1 vuln fixed, 6 still open, but there is no fix for these yet
https://github.com/advisories/GHSA-67mh-4wv8-2f99
2025-02-22 15:47:30 +07:00
Panagiotis Papadopoulos da69ee3285 chore(types): move types to devDependencies 2025-02-22 15:44:35 +07:00
Panagiotis Papadopoulos 9fb95585f5 chore(ts): port sync_status.ts 2025-02-22 14:21:56 +07:00
Elian Doran 2380d0af85
Merge pull request #1254 from TriliumNext/ci_remove-extra-arm64-handling
ci: remove unneeded extra arm64 handling
2025-02-22 14:58:50 +07:00
Elian Doran f6224d9ec4
Merge pull request #1168 from TriliumNext/chore_bootstrap-ts-ignore
build: bundle bootstrap with webpack
2025-02-22 14:57:47 +07:00
Elian Doran 58a8821c22
Merge pull request #1234 from TriliumNext/feature/task_list
Task List
2025-02-22 14:37:44 +07:00
Elian Doran fc27c4fc7b
feat(db): create task database in schema 2025-02-22 14:36:15 +07:00
Elian Doran 0b11f4d9c7
chore(server): bump sync version 2025-02-22 14:34:44 +07:00
Elian Doran 50d491b432
build(release): update master branch automatically 2025-02-22 14:25:31 +07:00
Panagiotis Papadopoulos 2492bf60df chore(ci): add zip to description 2025-02-22 13:15:45 +07:00
Panagiotis Papadopoulos 49550e8e69 chore(ci): remove now unneeded arm64 workaround
the change is now part of electron-forge 7.7.0 which we depend on since
fa05f15753
2025-02-22 13:15:45 +07:00
Panagiotis Papadopoulos a0442ded58 chore: get rid of bootstrap related ts-ignore 2025-02-22 13:09:28 +07:00
Panagiotis Papadopoulos cdb988ff64 webpack: revert accidental changing of devtool 2025-02-22 13:02:40 +07:00
Elian Doran 899ad6450a
build(release): use different commit message 2025-02-22 14:02:13 +07:00
Elian Doran 8390807212
release 0.92.2-beta 2025-02-22 13:59:41 +07:00
Elian Doran 60da367570
Merge pull request #1253 from TriliumNext/ci_fix-missing-windows-zip
fix(ci): add missing windows zip build target
2025-02-22 13:56:01 +07:00
Panagiotis Papadopoulos 36b0970835 fix(ci): add missing windows zip build target 2025-02-22 12:41:24 +07:00
Elian Doran 3bea6af20e
chore(release): 0.92.1-beta 2025-02-22 12:58:30 +07:00
Panagiotis Papadopoulos e7d204dfd2 chore(copy-dist): remove now unneeded manual copying of bootstrap dir
webpack is taking care of that for us
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 1ded78975e deps: remove now unused style-loader 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 55bdd4fffc views: add TODO comment 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 0b4f5e998e webpack: add filename option to miniCssExtractPlugin
commented out for now, because it currently does not make sense yet.
This will be working, when I change webpack output to the "build" folder
instead of the current (messy) way, where it outputs into src/public/app-dist
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos dde24785b8 entrypoint: add missing login entry point and port to TS 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos f6d9b42911 entrypoint: add missing, currently required set_password entry point
TODO: I think this can actually be part of the setup entrypoint/view at some point
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos f78a6ed14b views: import webpack created entrypoint css
→ this is currently only consisting of bootstrap, but should in future be more useful
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 837697c503 bootstrap: import bootstrap css in entry points 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 1b309675c8 fix(webpackMiddleware): add (now) missing plugins declaration from productionConfig
required since we used `mini-css-extract-plugin` now
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos ac53079a39 webpack: replace style-loader with `mini-css-extract-plugin`
will allow to have css files instead of style blocks in the html file
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 19e19ca052 assets: remove bootstrap reference 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 5361161433 views: remove bootstrap references 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 762c7dab83 build: add bootstrap webpack related dependencies
https://getbootstrap.com/docs/5.3/getting-started/webpack/
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos ba3599911f chore(bootstrap): import Bootstrap modules 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos fc6b9e00bc webpack: add bootstrap webpack config
https://getbootstrap.com/docs/5.3/getting-started/webpack/
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 17860e6715 fix(note_type_choosers): fix glob.activeDialog assignment
the same thing is done in `confirm.ts` as well, where glob.activeDialog is set to `this.$widget`
2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos ad8adeda0a fix(global_menu): fix non-existing option (according to TS) 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos bc28f323b8 chore(ts): get rid of bootstrap related ts-ignores 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 4f171fd966 chore(ts): get rid of bootstrap related ts-ignores 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos 65ad4c3a2b chore(ts): get rid of bootstrap related ts-ignores 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos cc1a01955a chore(ts): get rid of bootstrap related ts-ignores 2025-02-22 11:56:56 +07:00
Panagiotis Papadopoulos cf11be7f35 chore(ts): get rid of bootstrap related ts-ignores 2025-02-22 11:56:56 +07:00
Elian Doran 3c83112240
Merge pull request #1250 from TriliumNext/feat_typescript-codenote
feat(options_init): add typescript as default set codeNotesMimeTypes value
2025-02-22 12:55:40 +07:00
Elian Doran 4e876ed24d
fix(build): build errors after changing meta data type 2025-02-22 12:52:25 +07:00
Elian Doran 94ce01bbc2
chore(docs): update documentation 2025-02-22 12:49:09 +07:00
Elian Doran 411e3dfa0e
server(export): export Markdown using ATX heading syntax (closes #1251) 2025-02-22 12:45:21 +07:00
Elian Doran a1bfc6aae7
feat(hidden_subtree): update help note icons 2025-02-22 12:31:39 +07:00
Elian Doran 97bc103e76
feat(in_app_help): support folder icons 2025-02-22 12:30:47 +07:00
Panagiotis Papadopoulos 9da1f55409 feat(options_init): add typescript as default set codeNotesMimeTypes value
since it is a very widespread/popular language, it makes sense to have it on by default.

closes #1219
2025-02-22 11:19:32 +07:00
Elian Doran 017fba518d
feat(in_app_help): remove help notes that are no longer present in structure 2025-02-22 12:09:11 +07:00
Elian Doran 63584c153c
feat(views/calendar): filter notes by ancestor 2025-02-22 11:31:36 +07:00
Adorian Doran a4a2e55415 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-22 11:13:24 +07:00
Adorian Doran 4a1691ac31 style(next): promoted attributes widget: update narrow view breakpoint 2025-02-22 11:13:20 +07:00
Elian Doran a3fbf15902
Merge remote-tracking branch 'origin/develop' into feature/task_list 2025-02-22 11:03:18 +07:00
Elian Doran 5a8d5c59f5
feat(views/calendar): support workspaceCalendarRoot 2025-02-22 10:59:03 +07:00
Elian Doran a9cebe312f
refactor(views/calendar): use specific API for date notes for performance 2025-02-22 10:59:03 +07:00
Elian Doran 43f79ca813
feat(views/calendar): click to go to day note 2025-02-22 10:59:03 +07:00
Elian Doran 5c1db3cab2
feat(views/calendar): disable interaction in calendar root mode 2025-02-22 10:59:03 +07:00
Elian Doran bc4d820cb0
feat(views/calendar): display child notes of days 2025-02-22 10:59:03 +07:00
Elian Doran f4e6edd19e
feat(views/calendar): basic recursion for calendar root 2025-02-22 10:59:03 +07:00
Elian Doran 530340f753
fix(client): sporadious crash with classic toolbar not being available 2025-02-22 10:59:03 +07:00
Adorian Doran fcc1068b06 style(next): promoted attributes widget: improve appearance 2025-02-22 10:55:01 +07:00
Adorian Doran 6d19e315f4 style(next): promoted attributes widget: improve appearance on narrow width 2025-02-22 10:19:26 +07:00
Adorian Doran 7269c1b0aa style(next): promoted attributes widget: improve appearance 2025-02-22 10:10:58 +07:00
Adorian Doran 8e69cf79a6 client: promoted attributes widget: add placeholder for blank input fields 2025-02-22 10:05:14 +07:00
Elian Doran 46f543ad54
Merge pull request #1207 from maphew/bare2share2
Bare2share - Redirect bare domain to defined #shareRoot
2025-02-22 09:25:30 +07:00
Elian Doran 38dbf6efcd
Merge pull request #1220 from TriliumNext/feat_friendly-numbers-note-revision
feat: friendly numbers note revision
2025-02-22 09:24:37 +07:00
Elian Doran 8e68ddafd5
Merge pull request #1239 from TriliumNext/i18n_use-empty-string-instead-of-english
i18n: use empty string instead of English string
2025-02-22 09:24:14 +07:00
Elian Doran 0c43b387ce
Merge pull request #1228 from TriliumNext/feat_friendly-numbers-protected_session_timeout
feat: friendly numbers protected session timeout
2025-02-22 09:23:23 +07:00
Elian Doran 8aa560eb82
Merge pull request #1243 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.27.8
2025-02-22 09:22:23 +07:00
Elian Doran 3a2b8e9791
Merge pull request #1242 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.5
2025-02-22 09:22:09 +07:00
Elian Doran 468b3b6027
Merge pull request #1244 from TriliumNext/renovate/swagger-ui-express-4.x
fix(deps): update dependency @types/swagger-ui-express to v4.1.8
2025-02-22 09:21:48 +07:00
Elian Doran f872073f65
Merge pull request #1245 from TriliumNext/renovate/ws-8.x
fix(deps): update dependency ws to v8.18.1
2025-02-22 09:21:23 +07:00
Elian Doran ef4fc0a180
feat(html_sanitizer): enforce strict style rules (closes #931) 2025-02-22 09:18:47 +07:00
Adorian Doran 1d47df5f28 style(next): forms/input groups: improve CSS 2025-02-22 02:37:13 +07:00
Adorian Doran 77264b5385 style(next): forms/input groups: fix icons being skewed in certain conditions 2025-02-22 02:35:24 +07:00
Adorian Doran 41e925dc94 style(next): forms: add support for date and time input fields 2025-02-22 02:31:20 +07:00
Adorian Doran 789178061b style(next): promoted attributes widget: improve CSS, add right margin 2025-02-22 02:21:19 +07:00
renovate[bot] 8011969b9d
fix(deps): update dependency ws to v8.18.1 2025-02-22 00:06:30 +07:00
renovate[bot] 9ab2fe85bd
fix(deps): update dependency @types/swagger-ui-express to v4.1.8 2025-02-22 00:06:21 +07:00
renovate[bot] 6c818427fc
chore(deps): update dependency typedoc to v0.27.8 2025-02-22 00:06:14 +07:00
renovate[bot] 7dab171a0c
chore(deps): update dependency @types/node to v22.13.5 2025-02-22 00:06:04 +07:00
Adorian Doran c680c3476b Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-22 02:05:22 +07:00
Adorian Doran bf0b6ce554 style(next): promoted attributes widget: improve appearance 2025-02-22 02:05:19 +07:00
Elian Doran bedc61c3d0
feat(import/zip): support UTF-16 LE with BOM (closes #1241) 2025-02-22 01:37:22 +07:00
Elian Doran c925ae5f15
feat(import/single): support UTF-16 LE with BOM for markdown notes 2025-02-22 01:37:22 +07:00
Elian Doran 77ee7f96c1
feat(import/single): support UTF-16 LE with BOM for text notes 2025-02-22 01:37:22 +07:00
Elian Doran cadd78524c
feat(import/single): support UTF-16 LE with BOM for code notes 2025-02-22 01:37:22 +07:00
Elian Doran fd4f35e879
feat(import/single): support UTF-16 LE with BOM for HTML 2025-02-22 01:37:22 +07:00
Adorian Doran 39f00bd568 style(next): promoted attributes widget: tweak input groups 2025-02-22 01:35:10 +07:00
Adorian Doran ee2d4c6830 style(next): promoted attributes widget: tweak checkboxes 2025-02-22 01:30:55 +07:00
Adorian Doran e93d47f664 style(next): promoted attributes widget: tweak buttons 2025-02-22 00:53:24 +07:00
Adorian Doran 0c88c4c3ee style(next): partially restyle the promoted attributes widget 2025-02-21 21:31:26 +07:00
Elian Doran 81bdd57398
feat(views/calendar): display event icon 2025-02-21 18:40:54 +07:00
Elian Doran fe5182ebc6
feat(views/calendar): add option to show week numbers 2025-02-21 17:56:34 +07:00
Elian Doran 42d46bdb72
feat(views/calendar): add option to hide weekends 2025-02-21 17:56:34 +07:00
Elian Doran 710cf68c06
feat(views/calendar): make calendar full height 2025-02-21 17:56:34 +07:00
Elian Doran 300bb561bb
Merge pull request #1240 from rom1dep/calendar_enh_color
feat(view/calendar): support coloring
2025-02-21 17:56:24 +07:00
Panagiotis Papadopoulos 96961898ca i18n: use empty string instead of English string
it will fallback to the English string by default
2025-02-21 08:04:43 +07:00
Panagiotis Papadopoulos 1520913686 i18n: use empty string instead of English string
it will fallback to the English string by default
2025-02-21 07:57:07 +07:00
Elian Doran 0e5b8af3a4
Merge remote-tracking branch 'origin/develop' into feature/task_list 2025-02-21 08:53:51 +07:00
Panagiotis Papadopoulos 6fae7a98f5 i18n: use empty string instead of English string
it will fallback to the English string by default
2025-02-21 07:41:50 +07:00
Elian Doran 57dc168c26
Merge pull request #1223 from TriliumNext/feat_timeSelector-min-input
feat: time selector add support for handling min required input
2025-02-20 22:49:14 +07:00
Elian Doran 946d9aee40
feat(settings/share): add subtitles 2025-02-20 22:34:51 +07:00
Elian Doran 16b16927ef
feat(settings/share): add title to section 2025-02-20 22:08:04 +07:00
Elian Doran c2e4def523
Merge branch 'develop' into feat_friendly-numbers-note-revision 2025-02-20 21:45:49 +07:00
Elian Doran 1e11625f14
Merge branch 'develop' into feat_friendly-numbers-protected_session_timeout 2025-02-20 21:45:30 +07:00
Elian Doran 5495677fc2
Merge branch 'develop' into feat_timeSelector-min-input 2025-02-20 21:45:24 +07:00
Elian Doran 2cefdf8b9f
Merge pull request #1229 from McSido/feature/colorful-marker-icons
Enhance geomap marker icons with color
2025-02-20 21:43:42 +07:00
Elian Doran 57b3035559
feat(geomap): refresh map if color attribute is changed 2025-02-20 21:39:35 +07:00
Elian Doran 4f84ad8b81
Merge pull request #1230 from TriliumNext/renovate/tsx-4.x
chore(deps): update dependency tsx to v4.19.3
2025-02-20 21:31:28 +07:00
Elian Doran 1626767f30
Merge pull request #1231 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.0.6
2025-02-20 21:30:57 +07:00
Elian Doran 91003af092
Merge pull request #1232 from TriliumNext/renovate/electron-forge-monorepo
chore(deps): update electron-forge monorepo to v7.7.0
2025-02-20 21:30:11 +07:00
Elian Doran 860de346a7
feat(import/single): treat mdx as markdown 2025-02-20 20:38:58 +07:00
Elian Doran 324a3d0d8b
feat(import): trim .mdx extension from import 2025-02-20 20:29:00 +07:00
Elian Doran f9e4ae7210
feat(import/zip): treat mdx as markdown (closes #1236) 2025-02-20 20:25:42 +07:00
matt wilkie bdd6395a76 works! verify shareRoot is set and note is shared 2025-02-20 09:08:24 +07:00
Elian Doran 1c118f2aa9
feat(startup): display migration errors using system modal 2025-02-20 18:06:19 +07:00
Elian Doran 4010cb2789
Merge branch 'develop' into renovate/electron-forge-monorepo 2025-02-20 17:35:40 +07:00
Elian Doran f83beafd76
Merge branch 'develop' into renovate/vitest-monorepo 2025-02-20 17:35:38 +07:00
Elian Doran 366264f3a9
Merge branch 'develop' into renovate/tsx-4.x 2025-02-20 17:35:35 +07:00
Elian Doran ba91ed1855
Merge branch 'develop' into feature/colorful-marker-icons 2025-02-20 17:34:54 +07:00
Elian Doran ef487f46d1
Merge branch 'develop' into feature/task_list 2025-02-20 17:34:36 +07:00
matt wilkie 2734e230ab WIP: 1st step at verifying shareRoot is set 2025-02-20 08:12:51 +07:00
Elian Doran ca1d5207d8
fix(build): try using ARM runner for building docker 2025-02-20 17:10:16 +07:00
Elian Doran f6b6b2e740
feat(test): ensure backend translations are valid JSON 2025-02-20 12:42:42 +07:00
Elian Doran c255af67c9
fix(i18n): Chinese translations missing due to invalid JSON 2025-02-20 12:40:11 +07:00
Elian Doran 34b4e6d069
feat(test): ensure frontend translations are valid JSON 2025-02-20 12:39:56 +07:00
Elian Doran 4e01534d76
refactor(i18n): move list of locales out of options 2025-02-20 12:27:33 +07:00
Elian Doran a433c9c189
feat(tasks): add SQL migration 2025-02-20 12:07:10 +07:00
renovate[bot] fa05f15753
chore(deps): update electron-forge monorepo to v7.7.0 2025-02-20 02:57:15 +07:00
renovate[bot] 68c7df797d
chore(deps): update vitest monorepo to v3.0.6 2025-02-20 02:57:00 +07:00
renovate[bot] 587a051430
chore(deps): update dependency tsx to v4.19.3 2025-02-20 02:56:46 +07:00
McSido 04a6175630 feat(geomap): enhance icon building to include color class 2025-02-19 22:52:38 +07:00
Panagiotis Papadopoulos bf6c5dfb20 i18n: adjust protected_session_timeout_label
we are not limited to seconds now anymore (at least in the UI :-))
2025-02-19 22:45:07 +07:00
Panagiotis Papadopoulos 19816493d6 chore: rename ProtectedSessionTimeoutOption to plural
matches the remaining Options widgets
2025-02-19 22:37:08 +07:00
Panagiotis Papadopoulos cecde349b7 feat: add ProtectedSessionTimeoutOption to content_widget 2025-02-19 22:35:02 +07:00
Panagiotis Papadopoulos 1a80a379dc refactor(password): move password.ts to password subfolder 2025-02-19 22:32:48 +07:00
Panagiotis Papadopoulos 739eaf9fc0 refactor(password): remove protected_session_timeout TPL element
-> now part of protected_session_timeout widget
2025-02-19 22:27:35 +07:00
Panagiotis Papadopoulos 7f173b287a feat(protected_session_timeout): add minimumSeconds 2025-02-19 22:21:49 +07:00
Elian Doran 62c96fc95e
feat(tasks): implement basic refresh support 2025-02-19 22:34:52 +07:00
Elian Doran c0d3e8d834
feat(tasks): filter by parent note 2025-02-19 22:13:13 +07:00
Elian Doran bb822126cd
feat(tasks): store parent note ID 2025-02-19 21:52:33 +07:00
Elian Doran 034b93c99c
feat(tasks): support entities reloaded properly 2025-02-19 21:30:53 +07:00
Elian Doran f743f634b4
feat(tasks): hide completed tasks for now 2025-02-19 20:33:20 +07:00
Elian Doran 9ed075b675
fix(tasks): task list not clearing properly 2025-02-19 20:02:43 +07:00
Elian Doran 7f0df441b5
fix(tasks): initial state for checkbox 2025-02-19 19:45:23 +07:00
Elian Doran 2de46eb5d2
fix(build): task row should be optional 2025-02-19 19:37:07 +07:00
Elian Doran 2a3546edd5
feat(client/tasks): display completed tasks 2025-02-19 19:27:04 +07:00
Elian Doran 7c0b43db85
feat(tasks): mark tasks as completed 2025-02-19 19:22:38 +07:00
Elian Doran d4ef15212f
style(tasks): improve individual items design 2025-02-19 18:40:26 +07:00
Elian Doran ad492619f5
style(tasks): floating header 2025-02-19 18:30:39 +07:00
Elian Doran 35af12b6e7
fix(vscode): F5 to start server 2025-02-19 18:18:28 +07:00
Elian Doran 0baa804544
fix(server/tasks): becca not updating on task creation 2025-02-19 18:18:20 +07:00
Elian Doran 575ef5e10e
fix(build): missing note type in help button 2025-02-19 18:14:49 +07:00
Matt Wilkie 5a6c3ae426 use the standard classes
per @pano9000 advice, https://github.com/TriliumNext/Notes/pull/1207#issuecomment-2667896424
2025-02-19 08:33:03 +07:00
Elian Doran 6b5d905ebe
fix(client/file): flicker when too big alert is not needed 2025-02-19 13:43:50 +07:00
Elian Doran 61f2e35717
feat(client/file): trim big files in order to improve performance 2025-02-19 13:41:05 +07:00
Elian Doran 4a34d5b2df
Merge pull request #1227 from greg1904/feat/german_translation
feat/german translation - adding missing translations from base english and adding adjustments of inconsistent german translations
2025-02-19 09:39:37 +07:00
greg1904 549917c1f1 small consistency adjustment 2025-02-18 23:56:15 +07:00
greg1904 4ed3a28e29 german adjustments 2025-02-18 23:49:27 +07:00
greg1904 c261bf7f7a Kind --> Unternotiz and some other additions 2025-02-18 23:30:14 +07:00
greg1904 62c9e865f5 added some fields in translation.json + switched "Hinweis" to "Notiz" 2025-02-18 23:12:57 +07:00
Panagiotis Papadopoulos bd75a26803 feat: use TimeSelector for protected_session_timeout
to be used in the Password options
2025-02-18 22:37:20 +07:00
Panagiotis Papadopoulos 9a1d26e129 feat: add protectedSessionTimeoutScale option
to be used in the protected_session_timeout widget, when it is ported to use TimeSelector
2025-02-18 22:37:20 +07:00
Panagiotis Papadopoulos bf41c54bd0 feat: set TimeSelector minimumSeconds for revision_snapshot_interval and remove TODO 2025-02-18 22:32:43 +07:00
Panagiotis Papadopoulos 28148b32d2 i18n: adjust labels for update revision_snapshot_interval options
we don't do seconds only anymore, so strings needed adjusting
2025-02-18 22:29:56 +07:00
Panagiotis Papadopoulos eb08a976dd feat: use TimeSelector for revision_snapshot_interval
added one TODO that needs to be handled in TimeSelector: minimum allowed value (!in seconds!)
2025-02-18 22:29:56 +07:00
Panagiotis Papadopoulos eeb99cf37c feat: add revisionSnapshotTimeIntervalTimeScale option
to be used in the revision_snapshot_interval widget, when it is ported to use TimeSelector
2025-02-18 22:29:56 +07:00
Panagiotis Papadopoulos a0c2715980 i18n(time_selector): add i18n for minimum_input 2025-02-18 22:26:32 +07:00
greg1904 e35ff07b9b Launchbar --> Startleiste 2025-02-18 22:25:05 +07:00
Panagiotis Papadopoulos ce1f418aa7 feat(time_selector): make use of optionsService 2025-02-18 22:18:58 +07:00
greg1904 fbc4206908 adding new fields for launchbar to german translation 2025-02-18 22:18:55 +07:00
Panagiotis Papadopoulos bb4c3ae6ff feat(time_selector): add minimumSeconds handling 2025-02-18 22:18:11 +07:00
Panagiotis Papadopoulos 0332ade13c refactor(time_selector): simplify setting of includedTimeScales 2025-02-18 22:16:13 +07:00
Panagiotis Papadopoulos 2d968b8e9c refactor(time_selector): mark methods as private 2025-02-18 22:15:36 +07:00
Panagiotis Papadopoulos fd2c65dcc0 feat(time_selector): add minimumSeconds class property 2025-02-18 22:14:56 +07:00
Elian Doran 0b8e3b976f
fix(client/tasks): error due to froca update 2025-02-18 21:16:32 +07:00
Elian Doran 373e0b45f2
fix(server/tasks): missing utcDateModified causing errors on create 2025-02-18 21:07:06 +07:00
Elian Doran c00505cd7b
feat(client/tasks): create flow for creating a task 2025-02-18 21:06:51 +07:00
Elian Doran fc1ee7c6f0
feat(client/tasks): add a text box for adding a new task 2025-02-18 20:01:04 +07:00
Elian Doran 7cba5a7c7d
feat(client/tasks): display tasks 2025-02-18 19:58:00 +07:00
Elian Doran 1024733252
feat(client/tasks): create task list note type 2025-02-18 19:42:27 +07:00
Elian Doran 17f9fa7e89
feat(tasks): add POST API 2025-02-18 19:30:02 +07:00
Elian Doran 98dff61305
feat(tasks): add GET API 2025-02-18 19:06:02 +07:00
Elian Doran c0e42e23a6
feat(tasks): create backend model for task 2025-02-18 18:42:26 +07:00
Matt Wilkie aab35955bf remove duplicated sync_2 2025-02-17 16:45:47 +07:00
Romain DEP. bcb40b531f feat(view/calendar): support coloring 2025-02-17 22:20:20 +07:00
Matt Wilkie 32bb43f9c1 fix indent 2025-02-17 13:55:55 +07:00
Matt Wilkie 86ab2d4008 Merge remote-tracking branch 'origin/develop' into bare2share2
# Conflicts:
#	src/public/translations/en/translation.json
2025-02-17 13:54:40 +07:00
Matt Wilkie 657638ee54 responding to code review (thanks pano!) 2025-02-17 13:46:03 +07:00
Elian Doran 50d37bbcb1
chore(client/ts): port note_type 2025-02-17 22:28:54 +07:00
Elian Doran 6706332be3
Merge pull request #1204 from TriliumNext/feat_timeScaleSelectWidget
feat: add time selector option widget
2025-02-17 22:23:29 +07:00
Matt Wilkie 2ec2d784ec results of `npx prettier` 2025-02-17 13:19:55 +07:00
Elian Doran 16caae191e
fix(geomap): stuck viewport and zoom when switching between two geomaps 2025-02-17 21:59:02 +07:00
Elian Doran c7d75b759c
feat(webview): remove disclaimer 2025-02-17 21:50:59 +07:00
Elian Doran b837c57d06
chore(lock): update 2025-02-17 21:49:34 +07:00
Elian Doran ef3a75d58e
feat(webview): set up some sandboxing for <iframe> 2025-02-17 21:49:24 +07:00
Elian Doran 59b474df35
feat(webview): render in browser using iframe 2025-02-17 21:26:00 +07:00
Elian Doran fd47412d51
chore(client/ts): port web_view 2025-02-17 21:22:58 +07:00
Elian Doran 237f2ead73
fix(ci): server platform name missing due to invalid input 2025-02-17 21:16:53 +07:00
Elian Doran 558bee72e9
fix(ci): add missing zip for Windows on nightly 2025-02-17 21:15:12 +07:00
Elian Doran ed082f34d5
fix(ci): add missing zip for Windows 2025-02-17 21:01:06 +07:00
Elian Doran fabafeac86
fix(ci): missing os name in server release artifact 2025-02-17 19:53:25 +07:00
Elian Doran 4dd531e036
chore(release): 0.92.0-beta 2025-02-17 19:29:59 +07:00
Elian Doran 7bcfb1df96
chore(docs): minor updates 2025-02-17 19:28:54 +07:00
Elian Doran e39bee23aa
fix(electron): background effects on fixed light/dark mode (closes #1209) 2025-02-17 18:07:36 +07:00
Elian Doran 5550885206
fix(build): run prepare-dist for electron-forge:make 2025-02-17 17:42:15 +07:00
Panagiotis Papadopoulos d26d668741 feat(time_selector): avoid "template concatenation" 2025-02-17 09:00:44 +07:00
Panagiotis Papadopoulos fc8f805b28 i18n(time_selector): adjust attachment erasure message
as we now are allowing entering the time in other formats (minutes, hours, days) – it doesn't make sense for the label to say "after X seconds".
2025-02-17 06:52:29 +07:00
matt wilkie ed8b8e50a4 feature complete; tested and working on local linux machine 2025-02-16 22:47:50 +07:00
matt wilkie bc66e98533 okay, we can start npm server now, but new db redirects to share 2025-02-16 22:17:59 +07:00
matt wilkie 7af4e52766 brought over changes from 879035d
The last known good state before I got sidetracked into docker changes
2025-02-16 21:29:38 +07:00
Elian Doran 152f3193d1
Merge pull request #1183 from TriliumNext/feature/calendar_view
Calendar view
2025-02-16 20:16:02 +07:00
Elian Doran 725a9fc333
feat(view/calendar): add help 2025-02-16 19:57:44 +07:00
Panagiotis Papadopoulos ccbed7bbc3 feat(time_selector): use showError since this is an error 2025-02-16 18:30:56 +07:00
Panagiotis Papadopoulos 10ba467202 chore(prettier): run prettier on time_selector related files 2025-02-16 18:30:56 +07:00
Panagiotis Papadopoulos 793b0c9fe8 feat(time_selector): add possibility to omit time scales 2025-02-16 18:30:56 +07:00
Panagiotis Papadopoulos 35a3d326f7 i18n(time_selector): translate invalid_input message 2025-02-16 18:30:56 +07:00
Panagiotis Papadopoulos f672054441 feat(time_selector): use time_selector in attachment_erasure_timeout 2025-02-16 18:30:56 +07:00
Panagiotis Papadopoulos e0e530b219 feat(time_selector): use time_selector in note_erasure_timeout 2025-02-16 18:30:56 +07:00
Panagiotis Papadopoulos c0714a92d5 feat(time_selector): add time_selector options widget 2025-02-16 18:30:56 +07:00
Elian Doran 114a70b442
feat(view/calendar): remove redundant margin when in zen mode 2025-02-16 19:20:59 +07:00
Elian Doran 169b2269b1
feat(view/calendar): improve display when creating empty note 2025-02-16 19:17:15 +07:00
Elian Doran e73ea36161
feat(in_app_help): contextual help for book types 2025-02-16 18:09:01 +07:00
Elian Doran c17d10114f
feat(mobile): enable prompt dialog for inserting notes 2025-02-16 17:52:04 +07:00
Elian Doran 5677be2dd5
Merge remote-tracking branch 'origin/develop' into feature/calendar_view 2025-02-16 17:43:04 +07:00
Adorian Doran fbacb5bb71 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-16 15:48:42 +07:00
Adorian Doran 630eb5ac8d style(next): restyle the alert bar 2025-02-16 15:47:44 +07:00
Elian Doran a532ae6426
Merge pull request #1196 from TriliumNext/feature/zen_mode
Zen Mode
2025-02-16 15:39:54 +07:00
Elian Doran dc0ac4daa2
fix(zen): buttons on darwin 2025-02-16 15:38:31 +07:00
Elian Doran 753da46935
Merge remote-tracking branch 'origin/develop' into feature/zen_mode 2025-02-16 15:24:28 +07:00
Elian Doran 569ed0868d
Merge pull request #1195 from dousha/bugfix-unsharing-hoisted
Allow removing weak branches even if it's hoisted
2025-02-16 15:05:17 +07:00
Elian Doran 324233be50
Merge pull request #1201 from TriliumNext/chore_fix-copy-dist-log
chore(copy-dist): "unpack" log messages before printing
2025-02-16 15:00:41 +07:00
Elian Doran 135f3d913a
Merge pull request #1191 from TriliumNext/chore_npm-scripts-namescape
chore: npm scripts namespacing
2025-02-16 14:58:29 +07:00
Elian Doran ee5cc18ef2
fix(view/calendar): end date offset on display 2025-02-16 13:34:39 +07:00
Elian Doran 6d3325766d
feat(view/calendar): refresh calendar when entities change 2025-02-16 13:22:44 +07:00
Elian Doran eff93d8e27
Merge remote-tracking branch 'origin/develop' into feature/calendar_view 2025-02-16 11:47:54 +07:00
Elian Doran 952ec516ee
feat(test): add test for code block mpapings 2025-02-16 11:43:20 +07:00
Elian Doran a8f9403990
feat(code_block): map a few more themes 2025-02-16 11:43:12 +07:00
Elian Doran aa5c69d97a
feat(view/calendar): add flow to create a note 2025-02-15 23:48:06 +07:00
Elian Doran b524abb883
feat(view/calendar): use locale translation for buttons 2025-02-15 21:47:44 +07:00
Elian Doran f8c3587717
feat(view/calendar): add locale support 2025-02-15 21:45:53 +07:00
Elian Doran 9d9b45cafb
feat(calendar_view): set first day of the week based on option 2025-02-15 20:18:27 +07:00
Elian Doran 0bcabacd3a
feat(calendar_view): translate buttons 2025-02-15 20:15:54 +07:00
Elian Doran 03282e12b7
style(calendar_view): improve layout slightly 2025-02-15 14:15:43 +07:00
Panagiotis Papadopoulos dd4f8a8c27 chore(copy-dist): "unpack" log messages before printing
previously it was printin all messages as part of an array, i.e.
["message"]
After spreading the array, we get the desired out
"message"
2025-02-15 13:08:13 +07:00
Elian Doran 660a393ca6
fix(calendar_view): double scrollbar 2025-02-15 14:07:39 +07:00
Elian Doran 22c8cf3bee
feat(calendar_view): allow resizing & fix date offset 2025-02-15 12:47:46 +07:00
Elian Doran e71f0cb091
feat(calendar_view): draggable events 2025-02-15 12:05:35 +07:00
Elian Doran 23cbc82708
feat(calendar_view): clickable events 2025-02-15 11:46:17 +07:00
Elian Doran 1b4281cf77
feat(calendar_view): allow rendering multiple events from multiple relation 2025-02-15 11:42:06 +07:00
Elian Doran a8509d8b1d
feat(calendar_view): allow rendering by custom relation 2025-02-15 11:41:08 +07:00
Elian Doran 10b2d19710
feat(calendar_view): allow rendering by custom attribute 2025-02-15 11:13:44 +07:00
Elian Doran 8111352300
feat(calendar_view): render notes by their end date 2025-02-15 10:58:12 +07:00
Elian Doran 64b446315d
feat(calendar_view): render notes by their start date 2025-02-15 10:43:46 +07:00
Elian Doran 4dc2803cc6
style(calendar_view): apply a padding 2025-02-15 10:35:14 +07:00
Elian Doran 557e4cdfea
style(calendar_view): disable link color 2025-02-15 10:24:40 +07:00
Elian Doran fd22d05d9b
feat(calendar_view): disable user selection 2025-02-15 10:23:57 +07:00
Elian Doran 462a2713a2
feat(calendar_view): integrate fullcalendar 2025-02-15 10:23:33 +07:00
Elian Doran 68ccd23540
refactor(views): pass argument to constructor 2025-02-15 10:13:47 +07:00
Panagiotis Papadopoulos 11a9dfd693 Merge branch 'develop' into chore_npm-scripts-namescape 2025-02-15 09:02:23 +07:00
Elian Doran fc77f56516
chore(in_app_help): update docs 2025-02-15 01:05:37 +07:00
Elian Doran ecb2c53c6f
feat(in_app_help): support webviews 2025-02-15 01:02:24 +07:00
Elian Doran 9299f90b85
feat(docs): internal API docs 2025-02-15 00:33:12 +07:00
Elian Doran 81d5d16e1a
chore(bin): convert generate-openapi to typescript 2025-02-15 00:02:00 +07:00
Elian Doran 2fe6881d73
Merge pull request #1192 from FliegendeWurst/openapi-docs-2
More OpenAPI docs
2025-02-14 23:57:39 +07:00
Elian Doran 552f87e2b3
Merge pull request #1194 from TriliumNext/test-unskip-tests
test: fix and enable ex-flaky tests in `services/search.spec.ts`
2025-02-14 23:43:01 +07:00
Elian Doran 689af591d1
Merge pull request #1190 from TriliumNext/deps_jasmine-types
deps: remove leftover @types/jasmine
2025-02-14 23:41:45 +07:00
Elian Doran ab2a7a6c4a
Merge pull request #1187 from TriliumNext/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.98.0
2025-02-14 23:41:16 +07:00
Elian Doran a716d97e83
Merge pull request #1188 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.14.0
2025-02-14 23:40:32 +07:00
Elian Doran 9f18eb55cb
Merge pull request #1185 from TriliumNext/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.1
2025-02-14 23:39:59 +07:00
Elian Doran 2cb27d4b03
Merge pull request #1186 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.2.0
2025-02-14 23:38:17 +07:00
dousha 9d7f1a2d71 Allow removing weak branches even if it's hoisted 2025-02-15 01:52:07 +07:00
Elian Doran be39668488
feat(zen): add keyboard shortcut 2025-02-14 19:45:57 +07:00
Elian Doran 137aa93451
fix(zen): not working properly when native titlebar is on 2025-02-14 19:07:13 +07:00
Elian Doran ab7457cf90
fix(next): transparency issue when background effects are off 2025-02-14 19:07:02 +07:00
Elian Doran 9221932abb
style(zen): improve position slightly 2025-02-14 18:56:36 +07:00
Elian Doran 1ad8c6b1cb
style(next): apply mica to entire zen screen 2025-02-14 18:51:04 +07:00
Panagiotis Papadopoulos 84429e6e90 test: use integration-tests/db as data dir for tests
we have an initialized DB there, so that "integration like" tests that depend on the DB are not failing
2025-02-14 17:47:24 +07:00
Elian Doran e829abbad3
feat(zen): set up draggable regions 2025-02-14 18:47:15 +07:00
Elian Doran 2c80607bfd
feat(zen): use dedicated floating button to stop zen mode 2025-02-14 18:18:28 +07:00
Elian Doran e8f0af8954
feat(zen): hide some more buttons 2025-02-14 17:39:03 +07:00
Elian Doran 5b5fd77ca8
feat(global_menu): indicate state of zen mode 2025-02-14 14:14:13 +07:00
Elian Doran f93eef28f3
feat(zen): hide most UI elements 2025-02-14 14:11:22 +07:00
Elian Doran 5c81627112
feat(zen): toggle body class for zen 2025-02-14 13:55:04 +07:00
Elian Doran 568a84f5d2
feat(global-menu): add option to toggle zen mode 2025-02-14 13:45:40 +07:00
Elian Doran 70d6d375f9
chore(i18n/ro): fix translation for landscape 2025-02-14 11:04:28 +07:00
FliegendeWurst a115214070 Document some note, branch, tree routes 2025-02-14 09:40:38 +07:00
Panagiotis Papadopoulos 0e18c405d8 test: "unskip" skipped tests 2025-02-14 09:17:57 +07:00
Panagiotis Papadopoulos e89d1b2413 chore(scripts): fix electron:switch in docs 2025-02-14 09:11:35 +07:00
Panagiotis Papadopoulos 21d18b1bdf chore(scripts): add generate-* to namespace "chore:*" 2025-02-14 09:00:42 +07:00
Panagiotis Papadopoulos 0cace7f3f9 chore(scripts): add integration test servers to namespace "test:*" 2025-02-14 08:57:03 +07:00
Panagiotis Papadopoulos 218a889725 chore(scripts): namespace "dev:*" 2025-02-14 08:54:05 +07:00
Panagiotis Papadopoulos ae41555b51 chore(scripts): namespace "test:*" 2025-02-14 08:50:43 +07:00
Panagiotis Papadopoulos 5f5d7b5432 chore(scripts): namespace "electron-forge:*" 2025-02-14 08:48:14 +07:00
Panagiotis Papadopoulos d23734dd3f chore(scripts): add some line breaks for better separation 2025-02-14 08:44:25 +07:00
Panagiotis Papadopoulos 4f6085a1a4 chore(scripts): namespace "build:prepare-dist" 2025-02-14 08:43:41 +07:00
Panagiotis Papadopoulos 9cddb1deac chore(scripts): namespace "build:webpack" 2025-02-14 08:41:34 +07:00
Panagiotis Papadopoulos 47002aa95a chore(scripts): namespace "chore:update-build-info" 2025-02-14 08:38:18 +07:00
Panagiotis Papadopoulos d2e8f946a0 chore(scripts): namespace "chore:ci-update-nightly-version" 2025-02-14 08:35:46 +07:00
Panagiotis Papadopoulos 688eb4d93f chore(scripts): namespace "docs:" 2025-02-14 08:31:07 +07:00
Panagiotis Papadopoulos 58eaf5eb5b test(etapi): mark as TODO for now
fixes typescript build for now
(not even sure, why we are building the tests as well)
2025-02-14 08:01:30 +07:00
Panagiotis Papadopoulos a30d361b1d deps: remove leftover @types/jasmine 2025-02-14 07:52:34 +07:00
Panagiotis Papadopoulos 0145636fc5 chore(scripts): namespace "electron:"
reorder entries
2025-02-14 07:39:01 +07:00
Panagiotis Papadopoulos 06890585d2 chore(scripts): namespace "electron:" 2025-02-14 07:36:49 +07:00
renovate[bot] 3d320308c9
chore(deps): update node.js to v22.14.0 2025-02-14 02:12:50 +07:00
renovate[bot] 325431f050
chore(deps): update dependency webpack to v5.98.0 2025-02-14 02:12:39 +07:00
renovate[bot] 35f9af15e5
chore(deps): update dependency electron to v34.2.0 2025-02-14 02:12:30 +07:00
renovate[bot] 4dfce746e9
chore(deps): update dependency prettier to v3.5.1 2025-02-14 02:12:18 +07:00
FliegendeWurst 0f0ebed78a Document sync push/pull 2025-02-13 23:51:42 +07:00
Panagiotis Papadopoulos 469519f5df chore(scripts): namespace electron:start 2025-02-13 23:25:38 +07:00
Panagiotis Papadopoulos 7b062badf0 chore(scripts): namespace server
server:switch
2025-02-13 23:18:57 +07:00
Panagiotis Papadopoulos f3dda940ec chore(scripts): namespace server
server:start-safe
server:start-no-dir
server:start-test
server:qstart
2025-02-13 23:00:53 +07:00
Panagiotis Papadopoulos 786f3e8d40 chore(scripts): namespace server:start 2025-02-13 22:53:40 +07:00
Elian Doran 4592d6750b
feat(view/calendar): render a text in calendar view 2025-02-13 23:46:20 +07:00
Elian Doran e2bbee8e16
refactor(client): move implementation out of note_list_renderer 2025-02-13 23:23:18 +07:00
Elian Doran 27168b0dc5
feat(view/calendar): add calendar entry to views 2025-02-13 22:57:30 +07:00
Elian Doran e347cdda36
chore(client/ts): port book_properties 2025-02-13 22:45:48 +07:00
Elian Doran 283482caa5
Merge pull request #1163 from TriliumNext/feat_erasure-timeout-ui
feat: friendly number handling for note erasure timeouts
2025-02-13 22:22:27 +07:00
Elian Doran 27b825e511
Merge remote-tracking branch 'origin/develop' into feat_erasure-timeout-ui
; Conflicts:
;	src/public/translations/ro/translation.json
2025-02-13 22:21:38 +07:00
Elian Doran 4b9667b756
feat(settings): make duration selector slightly smaller 2025-02-13 22:21:09 +07:00
Elian Doran e79c742d56
feat(i18n): translate duration units 2025-02-13 22:19:02 +07:00
Elian Doran 7ffece36f0
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-02-13 22:09:12 +07:00
Elian Doran eecbfd0206
fix(client): note autocomplete not working properly on enter (closes #1100) 2025-02-13 22:09:08 +07:00
Elian Doran bfd894b5eb
Merge pull request #1156 from TriliumNext/feat_custom_cookie-session-expiration
feat: allow setting custom session cookie expiration
2025-02-13 21:50:09 +07:00
Elian Doran 508908ded8
Merge pull request #1173 from TriliumNext/fix_etapi-openapi-integration
build: fix missing copying of etapi.openapi.yaml in build process
2025-02-13 21:49:04 +07:00
Elian Doran 4d280f37ea
Merge pull request #1179 from FliegendeWurst/openapi-docs
Automated OpenAPI spec generation
2025-02-13 21:48:45 +07:00
Elian Doran cc74164b94
chore(i18n): achieve 100% completion for Romanian 2025-02-13 21:46:11 +07:00
Elian Doran 3f4458ea2f
Merge pull request #1178 from hasecilu/i18n/Spanish
chore(i18n): update Spanish translation
2025-02-13 21:32:35 +07:00
Elian Doran 030e3cb805
fix(i18n): accidentally translated values 2025-02-13 21:31:54 +07:00
Elian Doran 6e17346768
feat(share): allow serving raw file via query parameter (closes #1182) 2025-02-13 21:28:01 +07:00
Elian Doran 4b597c5d2c
fix(client/revisions): improper rendering of nested lists (closes #1177) 2025-02-13 20:57:34 +07:00
Elian Doran e2cd875c03
refactor(client): fix global event handling for modal 2025-02-13 20:39:00 +07:00
Elian Doran 8f6376e537
chore(client/ts): port revisions 2025-02-13 20:25:13 +07:00
FliegendeWurst be4b74e791 Automated OpenAPI spec generation 2025-02-13 17:02:03 +07:00
hasecilu 4ed71f30f2
chore(i18n): update Spanish translation 2025-02-13 09:39:04 +07:00
Panagiotis Papadopoulos b692c00b8d feat(config): improve typesafety by definitely returning a number
previously it was either a number like string (in case env or config.ini was used) or a number (the fallback value)

we now parseInt the value -> if any value is NaN (e.g. because it was incorrectly set) it will try with the next, before it uses the fallback value

the strange looking `parseInt(String(process.env.TRILIUM_SESSION_COOKIEMAXAGE))` is required to make TypeScript happy, other variants of trying to get the value into a string were not good enough for typescript :-)

The `String(process.env.TRILIUM_SESSION_COOKIEMAXAGE)` will now either return a number like value or 'undefined' (as string), which parseInt parses into NaN, which is falsy.
2025-02-13 09:46:49 +07:00
Panagiotis Papadopoulos cab0a5e41f feat(config): improve Session descriptions 2025-02-13 09:25:24 +07:00
Panagiotis Papadopoulos 201663d9ec chore(prettier): fix prettier issues 2025-02-13 09:07:25 +07:00
Panagiotis Papadopoulos 38215c46ae feat(login): make use of default maxAge by sessionParser
cookie will use the default value set in sessionParser middleware, which is controlled by
config.Session.cookieMaxAge

if rememberMe is not set -> the value is unset and the cookie becomes a non-persistent cookie,
which the browser delete after the current session (e.g. when you close the browser)
2025-02-13 09:04:34 +07:00
Panagiotis Papadopoulos 2a740781cb feat(session_parser): use seconds for setting maxAge and update default value to 21 days
21 days was used in the login route previously, when "remember me" was set
2025-02-13 08:52:05 +07:00
Panagiotis Papadopoulos 04827c0ce1 fix(session_parser): FileStore ttl should be ideally the same as session cookies maxAge
this avoids having "unused" dead session on the filesystem
2025-02-13 08:21:29 +07:00
Panagiotis Papadopoulos 4e23b5193d feat(session_parser): use Session.cookieMaxAge from config 2025-02-13 08:21:29 +07:00
Panagiotis Papadopoulos 53576f5578 feat(config): add Session.cookieMaxAge
allows users to control how long their session will be live, before it expires and they are forced to login again

defaults to 1 day  ("24 * 60 * 60 * 1000") as previously set in sessionParser
2025-02-13 08:21:29 +07:00
Panagiotis Papadopoulos 010783102a build: fix missing copying of etapi.openapi.yaml into dist folder
fixes build via electron-forge
2025-02-12 23:09:20 +07:00
Elian Doran e7f5d1d280
fix(client/ts): load only needed CodeMirror plugins 2025-02-12 22:49:47 +07:00
Elian Doran 69a6739d1f
fix(client): markdown code block not working (closes #1164) 2025-02-12 22:49:09 +07:00
Elian Doran 75afdbe093
chore(client/ts): port editable_code 2025-02-12 21:56:58 +07:00
Adorian Doran cb7b25f054 repo: exclude irrelevant NPM tasks in VS Code 2025-02-12 12:06:55 +07:00
Adorian Doran 9c4aa4f220 style(next): tweak the "Change note icon" button 2025-02-12 01:55:56 +07:00
Adorian Doran fc1e5ce23b style(next): fix comment 2025-02-12 01:46:17 +07:00
Adorian Doran faabec5360 style(next): tweak the note icon popup 2025-02-12 01:45:26 +07:00
Adorian Doran 202bb9e126 style(next): combo boxes: fix the dropdown arrow disappearing in certain situations while in the focused state 2025-02-12 01:29:50 +07:00
Adorian Doran 2f00839f52 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-12 01:17:02 +07:00
Adorian Doran d8962393af style(next): combo boxes: prevent the text overlapping the dropdown arrow 2025-02-12 01:16:57 +07:00
Elian Doran d9e39fa792
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-02-11 22:20:38 +07:00
Elian Doran 0ca9809457
feat(client,server): support mid: links 2025-02-11 22:18:29 +07:00
Elian Doran 4d0969da0a
refactor(client,server): support for URL schemes 2025-02-11 22:14:44 +07:00
Elian Doran f517e4a37a
refactor(editor): move all options into this repo 2025-02-11 20:34:49 +07:00
Elian Doran 8c393e4c47 refactor(editor): move all options into trilium repo 2025-02-11 20:23:56 +07:00
Elian Doran 0d26446262
refactor(editor): move all options into this repo 2025-02-11 20:23:48 +07:00
Elian Doran a209d6872a refactor(editor): move floating toolbar config into Trilium repo 2025-02-11 20:17:14 +07:00
Elian Doran aad38fdd21
refactor(editor): move floating toolbar config into this repo 2025-02-11 20:17:02 +07:00
Elian Doran 7fbe4c10a5 refactor(editor): move classic toolbar config into Trilium repo 2025-02-11 19:49:05 +07:00
Elian Doran 2ac5e860b1
refactor(editor): move classic toolbar config into this repo 2025-02-11 19:48:26 +07:00
Elian Doran bd5232ed14
feat(mobile): add recent changes dialog 2025-02-11 19:38:06 +07:00
Elian Doran aafd905c72
Merge pull request #1158 from TriliumNext/renovate/compression-1.x
fix(deps): update dependency compression to v1.8.0
2025-02-11 19:32:28 +07:00
Elian Doran 11e2dcfc64
refactor(client/ts): port a few small files 2025-02-11 19:29:53 +07:00
Elian Doran 44811f4f4b
refactor(client/ts): port two containers 2025-02-11 19:09:04 +07:00
Elian Doran 13f7129717
refactor(client/ts): port a few more widgets 2025-02-11 19:04:27 +07:00
Elian Doran b69641c0e9
refactor(client): remove abstract doRefresh 2025-02-11 18:59:35 +07:00
Elian Doran 8b9b843c2d
Merge pull request #1140 from dousha/bugfix-protection-box
Fix the password box not removed after entering protected mode
2025-02-11 18:57:41 +07:00
Panagiotis Papadopoulos a5cb78c5ec i18n: adjust note_erasure_timeout.erase_notes_after
since we now don't erase after "x" seconds, we need to change the message
2025-02-11 09:07:46 +07:00
Panagiotis Papadopoulos 8b066b1fc8 chore: add i18n TODO
(it does not make sense yet, to expose these as i18n, as I will be refactoring this whole thing into a standalone widget)
2025-02-11 09:07:46 +07:00
Panagiotis Papadopoulos 2bb79c4209 feat: "friendly number handling" for note erasure timeouts 2025-02-11 09:06:29 +07:00
Elian Doran b1bf6931f2
Merge pull request #1162 from TriliumNext/refactor_routes-login
refactor(routes/login): simplify login function and get rid of deprecated usage of expires
2025-02-11 10:03:09 +07:00
Panagiotis Papadopoulos e3b7ae018f refactor(routes/login): refactor login fn
I also got rid of the deprecated use of "expires" - setting maxAge to undefined is the preferred way
2025-02-11 07:55:18 +07:00
renovate[bot] d7399f6bb5
fix(deps): update dependency compression to v1.8.0 2025-02-11 00:34:18 +07:00
Elian Doran d0399c173e
Merge pull request #1144 from TriliumNext/feature/swagger-ui-in-server
Add Swagger UI endpoint
2025-02-10 23:46:18 +07:00
Elian Doran 905983e794
Merge pull request #1155 from TriliumNext/feat_custom-cookie-path
feat: allow setting custom cookiePath
2025-02-10 23:42:08 +07:00
Elian Doran 5390b97730
Merge pull request #1157 from TriliumNext/fix_disable-dropdown-select-text
fix(ui): disallow text selection in dropdown-menus
2025-02-10 23:33:28 +07:00
Panagiotis Papadopoulos c8f5f8dfcc fix(ui): disallow text selection in dropdown-menus 2025-02-10 20:18:35 +07:00
Panagiotis Papadopoulos 62f8f8f1a7 refactor(config): rename Cookies to Session
as requested in PR #1155
2025-02-10 19:44:19 +07:00
Panagiotis Papadopoulos b6d73df92e feat(csrf_protection): use cookiePath from config 2025-02-10 19:03:10 +07:00
perf3ct 9c86a03acc
Do this thing to make Pano happy :) 2025-02-10 16:03:01 +07:00
Panagiotis Papadopoulos a600568ab8 feat(session_parser): use cookiePath from config 2025-02-10 08:35:01 +07:00
Panagiotis Papadopoulos 3c8723a404 feat(config): add Cookies.cookiePath option to config
defaults to "/" as previously set by default options
2025-02-10 08:33:31 +07:00
Elian Doran 1e95135720
Merge pull request #1147 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.27.7
2025-02-10 09:19:43 +07:00
Elian Doran 022f2b6e62
Merge pull request #1148 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.7
2025-02-10 09:19:23 +07:00
Elian Doran 4160ff2a8b
Merge pull request #1149 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.3.7
2025-02-10 09:18:42 +07:00
Elian Doran d7e134d18e
Merge pull request #1151 from TriliumNext/renovate/prettier-3.x
chore(deps): update dependency prettier to v3.5.0
2025-02-10 09:18:14 +07:00
Elian Doran b9aa976068
Merge pull request #1152 from TriliumNext/chore_remove-jasmine
chore(deps): remove unused jasmine
2025-02-10 09:17:27 +07:00
Elian Doran df47198616
Merge pull request #1153 from TriliumNext/feat_autofocus-protected-note
feat/fix(protected_session): input improvements
2025-02-10 09:16:53 +07:00
Panagiotis Papadopoulos 6c4c9785ff fix(protected_session): fix input->label association 2025-02-10 07:16:36 +07:00
Panagiotis Papadopoulos f657b9dec1 feat(protected_session): set autofocus to password field 2025-02-10 07:15:14 +07:00
Panagiotis Papadopoulos c004adfdff chore(deps): remove unused jasmine 2025-02-10 07:04:09 +07:00
perf3ct 57a34e5c02
use fs/promises instead of fs 2025-02-10 00:50:43 +07:00
renovate[bot] 7083b57ce4
chore(deps): update dependency prettier to v3.5.0 2025-02-10 00:37:05 +07:00
renovate[bot] 316e239a3c
fix(deps): update dependency mind-elixir to v4.3.7 2025-02-10 00:36:49 +07:00
renovate[bot] 5632932873
fix(deps): update dependency marked to v15.0.7 2025-02-10 00:36:40 +07:00
renovate[bot] 3ce7fef64b
chore(deps): update dependency typedoc to v0.27.7 2025-02-10 00:36:31 +07:00
perf3ct d859f50c98
Change Swagger endpoint and site title 2025-02-09 22:17:31 +07:00
perf3ct 18f5f1b759
add Swagger UI endpoint and add to router 2025-02-09 21:15:12 +07:00
perf3ct 72fe367988
Add @types/js-yaml, @types/swagger-ui-express, js-yaml, and swagger-ui-express to support Swagger UI 2025-02-09 21:15:01 +07:00
Elian Doran 48d4093274
Merge pull request #1143 from TriliumNext/fix_ts-file-mime-import
fix(import/mime): fix ts file mime import handling
2025-02-09 23:07:49 +07:00
Panagiotis Papadopoulos 2d1381b4f8 fix(import/mime): fix TypeScript handling
.ts file are now treated as code type with text/x-typescript as MIME type

fixes #1142
2025-02-09 17:45:15 +07:00
Panagiotis Papadopoulos 5d019137fa test: add test for .ts file 2025-02-09 17:43:25 +07:00
Elian Doran c79651add8
fix(print): scrollbar shown in some circumstances 2025-02-09 13:05:42 +07:00
Elian Doran b6a9df981a
feat(login): autofocus the password field 2025-02-09 11:59:09 +07:00
Elian Doran 27397be7f4
feat(export/md): update to latest turndown version (fixes #337) 2025-02-08 22:59:28 +07:00
Elian Doran 9d517988ce
style(client): remove 10px padding if full width file 2025-02-08 22:05:02 +07:00
Elian Doran 90ca4e923e
chore(client/ts): port file 2025-02-08 22:01:21 +07:00
Elian Doran 659e551cdd
feat(client): display PDFs as full width 2025-02-08 21:49:30 +07:00
Elian Doran 2a90f4c6e9
chore(client/ts): port note_wrapper 2025-02-08 21:42:12 +07:00
Elian Doran 4c44ce0ebe
fix(mobile): fix closing tab not always working on iOS 2025-02-08 20:31:10 +07:00
Elian Doran 25cf16c101
feat(mobile): reduced tab right margin 2025-02-08 13:24:55 +07:00
Elian Doran 3d531c9bca
fix(mobile): switching tabs not working 2025-02-08 13:00:14 +07:00
Elian Doran ab5a6c59b8
fix(mobile): improve alignment of the title bar 2025-02-08 12:14:58 +07:00
Elian Doran 1bf2f10c98
feat(geo_map): enable retina detection 2025-02-08 12:09:07 +07:00
Elian Doran f5b0c3b68b
fix(doc): tables that break out of bounds 2025-02-08 12:01:27 +07:00
Elian Doran bf342f7bcf
fix(doc): width on mobile with images 2025-02-08 11:58:21 +07:00
Elian Doran c98df4d6c2
style(next): improve fit of calendar on mobile 2025-02-08 11:54:17 +07:00
Elian Doran 1bc70e9fed
fix(mobile): dropdowns on tablet view 2025-02-08 11:46:47 +07:00
Elian Doran 6fcd14c23e
feat(mobile): add calendar button (fixes #1128) 2025-02-08 11:42:25 +07:00
Elian Doran 7b8c4d2179
fix(client): freeze if empty doc 2025-02-08 11:16:04 +07:00
Elian Doran f50f767e79
fix(client): console error if latest version could not be retrieved 2025-02-08 10:50:55 +07:00
Elian Doran a2995ef267
feat(mobile): add open today's journal note (closes #1129). 2025-02-08 10:46:06 +07:00
Elian Doran f8f1e537db
feat(mobile): add new note launcher bar (fixes #1105) 2025-02-08 10:43:18 +07:00
Elian Doran 96dc063b50
refactor(hidden-subtree): deduplicate launchers 2025-02-08 10:37:17 +07:00
Elian Doran 303cf65020
feat(mobile): improve fixed tree layout 2025-02-08 10:34:08 +07:00
Elian Doran 89db97e97d
feat(mobile): make the title smaller 2025-02-08 10:27:22 +07:00
Elian Doran 57c9e0477e
feat(mobile): launch bar config now has a fixed tree 2025-02-08 10:24:55 +07:00
Elian Doran 7b36040b26
refactor(hidden_subtree): launch bar config in dedicated file 2025-02-08 10:05:31 +07:00
Elian Doran 914a731094
feat(mobile): collapsible advanced section in global menu 2025-02-08 09:55:38 +07:00
Elian Doran ab7fc8871a
fix(geo_map): zoom buttons overlapping with global menu 2025-02-08 09:55:22 +07:00
Elian Doran a4021e94ad
style(next): improve menu separator width on mobile 2025-02-08 09:35:29 +07:00
Elian Doran 777e504a72
style(mobile): minimal formatting bar scrolll 2025-02-08 09:32:44 +07:00
dousha e063eb9ac1 Fix the password box not being removed after entering protected mode (#1078) 2025-02-08 15:25:09 +07:00
Adorian Doran 2db3765bd4 style(next): restyle menu item group headings 2025-02-08 02:37:57 +07:00
Adorian Doran 61a2b2cc3a Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-08 01:47:42 +07:00
Adorian Doran 592e58099d client: search/actions/execute script: fix misaligned close button 2025-02-08 01:47:39 +07:00
Elian Doran 45ab9d4395
fix(electron): auto-reload for static assets 2025-02-08 01:41:48 +07:00
Adorian Doran 9ff8b53ae6 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-08 01:33:37 +07:00
Adorian Doran 8f45fb3c40 style(next): tweak the bookmark folder popup 2025-02-08 01:33:26 +07:00
Elian Doran a1c97142a8
feat(build): set up faster electron build by skipping dist 2025-02-08 00:41:39 +07:00
Elian Doran 7f314d2d75
feat(build): set up webpack cache 2025-02-08 00:41:39 +07:00
Elian Doran 61b7d887cc
chore(deps): update electron to 34.1.1 2025-02-08 00:41:39 +07:00
Adorian Doran 172eb8a529 client: quick search results: fix dropdown compatibility with the Next theme 2025-02-08 00:38:18 +07:00
Adorian Doran 02c08e79ae style(next): remove a not longer needed style 2025-02-08 00:34:01 +07:00
Adorian Doran 94d1dcd99b client: quick search results: remove a redundant button 2025-02-08 00:33:23 +07:00
Adorian Doran 1bfce1c8ed style(next): extend the input field style to cover date/time pickers also 2025-02-08 00:05:36 +07:00
Adorian Doran 9f7a218772 style(next): add some margins to the promoted attributes section 2025-02-08 00:02:04 +07:00
Elian Doran f7397dc2f1
Merge pull request #1124 from TriliumNext/feature/in_app_help
In-app help
2025-02-07 22:56:06 +07:00
Elian Doran f12aed9ac0
feat(in-app-help): hide #docName from note preview 2025-02-07 22:55:50 +07:00
Elian Doran 50dcc92307
fix(in-app-help): note list when rendering in sidebar 2025-02-07 22:45:41 +07:00
Elian Doran 5552db034b
fix(client): regression in new tab 2025-02-07 22:37:43 +07:00
Elian Doran cecd7eccad
Merge remote-tracking branch 'origin/develop' into feature/in_app_help 2025-02-07 22:28:01 +07:00
Elian Doran 0138776a72
feat(tab-bar): prevent user selection 2025-02-07 22:03:22 +07:00
Elian Doran 35207b8df0
feat(geo_map): middle click to open note in new tab 2025-02-07 22:03:00 +07:00
Elian Doran 0dbd136b48
feat(note_tooltip): clickable note title (closes #1063) 2025-02-07 21:44:17 +07:00
Elian Doran 02d16d0125
feat(note_tooltip): improve layout for empty notes 2025-02-07 21:36:22 +07:00
Elian Doran f77a29d7fe
fix(note_tooltip): redundant padding on empty note with no children 2025-02-07 21:19:58 +07:00
Elian Doran 9d097a0ee7
feat(note_tooltip): hide #geolocation 2025-02-07 21:14:40 +07:00
Elian Doran c3c5ab18ef
fix(e2e): broken test after shortcut change 2025-02-07 21:02:30 +07:00
Elian Doran 4463f215d8
fix(demo): broken attributes due to safe import 2025-02-07 20:34:31 +07:00
Elian Doran d3b55932a6
fix(build): errors after refactoring 2025-02-07 20:27:22 +07:00
Elian Doran 2c5fb7edee
fix(in-app-help): navigating to new page breakign scope 2025-02-07 19:33:26 +07:00
Elian Doran c087d3c331
fix(toc): doc type not rendering the first time 2025-02-07 19:23:12 +07:00
Elian Doran a98ed6cd29
fix(toc): not hiding if too few headings 2025-02-07 18:27:13 +07:00
Elian Doran c68cc70f76
chore(build): change flatpak ID 2025-02-07 18:17:06 +07:00
Elian Doran 97b7033959
Merge pull request #1130 from TriliumNext/build_add-flatpak-electron
build: add flatpak build via electron-forge
2025-02-07 18:13:34 +07:00
Elian Doran 56d36c6c11
Merge pull request #1134 from pano9000/fix_ci-linux-server-name
chore(ci): improve server build release file names
2025-02-07 18:12:38 +07:00
Elian Doran 816b0da8ba
Merge pull request #1132 from TriliumNext/chore_linux-desktop-category
build(electron): Add "Office" as category for Desktop file
2025-02-07 18:11:32 +07:00
MeIchthys f7bf2fe614
Update README to include support options. 2025-02-07 09:58:27 +07:00
Panagiotis Papadopoulos db48e3a987
chore(ci): improve server build release file names 2025-02-07 10:36:28 +07:00
Panagiotis Papadopoulos 8cf6a4bec7 build(electron): Add "Office" as category for Desktop file
as per https://specifications.freedesktop.org/menu-spec/latest/category-registry.html

checked with other NoteTaking apps and they all (e.g. Obsidian, Joplin) use "Office" as main category as well, which makes sense here
2025-02-07 08:57:20 +07:00
Panagiotis Papadopoulos 47e2100920 build(electron): use baseLinuxMakerConfigOptions for flatpak as well 2025-02-07 08:52:55 +07:00
Panagiotis Papadopoulos f38f9e640b chore: add .flatpak-builder to .gitignore 2025-02-07 08:18:23 +07:00
Panagiotis Papadopoulos 7c721c4aaa fix(ci): add temp arm64 workaround
currently required, because Flatpak arm64 build currently fails – and if it fails, the remaining builds (deb, rpm, zip) fail as well, as they are created in the same run.
once the fix is released in the next electron-forge, we can get rid of this again.
2025-02-07 08:08:38 +07:00
Panagiotis Papadopoulos 1ec2b8b145 feat(ci): add flatpak build via electron-forge
arm64 currently is broken due to a bug in electron-forge's maker-flatpak, but PR with a fix was submitted already
2025-02-06 23:34:36 +07:00
Panagiotis Papadopoulos 1a89a0989d build(electron): update flatpak config to latest base
previously it was defaulting to an EOL version of the Platform/SDK

Explicitly setting it to 24.08 however makes the build fail, because it defaults to using an outdated "zypak" module, so we need to explicitly mention the latest version here too
2025-02-06 23:34:36 +07:00
Panagiotis Papadopoulos 4bf8cdfc39 deps: add @electron-forge/maker-flatpak to package-lock as well 2025-02-06 23:34:36 +07:00
Panagiotis Papadopoulos 7753905df9 build(electron): add flatpak config 2025-02-06 23:34:36 +07:00
Panagiotis Papadopoulos 399fd481ba deps: add @electron-forge/maker-flatpak 2025-02-06 23:34:36 +07:00
Adorian Doran e288272b22 style(next): attribute detail dialog: add a gap before note paths 2025-02-06 23:01:31 +07:00
Adorian Doran ead3229c1e style(next): settings/advanced: fix bullet list margin 2025-02-06 22:56:24 +07:00
Adorian Doran f2021f8ca1 style(next): note revisions dialog: fix the list appeareance 2025-02-06 22:18:01 +07:00
Adorian Doran e1850281e5 style(next): tweak (again) the note type dropdown 2025-02-06 21:49:19 +07:00
Adorian Doran 919a977643 client: reorder note types 2025-02-06 21:45:17 +07:00
Adorian Doran 48af3e9cf5 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-06 21:24:36 +07:00
Adorian Doran 9ac7369df4 style(next): tweak the note type dropdown 2025-02-06 21:24:32 +07:00
Elian Doran acb858bc29
chore(test): simplify import of becca_mocking 2025-02-06 20:55:46 +07:00
Elian Doran a767ee3d2c
fix(server): sorting notes by custom attribute with missing value not idempotent 2025-02-06 20:41:35 +07:00
Adorian Doran 5e62f4999d client: use a "Beta" badge for beta note types 2025-02-06 20:24:13 +07:00
Adorian Doran 5d845a81f8 style(next): tweak (again) the editability dropdown 2025-02-06 19:50:19 +07:00
Adorian Doran 97cd79e083 style(next): tweak the editability dropdown 2025-02-06 19:49:23 +07:00
Adorian Doran 2ddac39b65 client: tweak the editability dropdown 2025-02-06 19:32:58 +07:00
Adorian Doran 93ee8ea3af Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-06 19:20:14 +07:00
Adorian Doran 746e8ac5ea style(next): tweak the attribute detail dialog 2025-02-06 19:20:10 +07:00
Elian Doran e007840d9d
Merge pull request #1125 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.1.0
2025-02-06 18:57:04 +07:00
Elian Doran c964f61155
fix(ci): stop nightly release from being draft 2025-02-06 18:50:49 +07:00
Adorian Doran 8ca00c2138 client: use the icon action style for the help buttons of the attachment pages 2025-02-06 17:29:41 +07:00
Adorian Doran ef0431fc58 client: fix the style of a checkbox 2025-02-06 16:36:45 +07:00
Adorian Doran b4929d772a style(next): fix disabled menu items not being grayed out 2025-02-06 16:31:38 +07:00
Adorian Doran cba504fb24 style(next): file input: change the foreground color depending on the state 2025-02-06 07:28:12 +07:00
Adorian Doran e4d49cc45d style(next): calendar: remove useless property 2025-02-06 07:19:34 +07:00
Adorian Doran cd35215819 client: use the new file input fields 2025-02-06 07:17:58 +07:00
Adorian Doran 7d2ace92eb style(next): create a style for file (upload) input fields 2025-02-06 07:13:15 +07:00
Adorian Doran 0dcd2718c8 client: fix some broken checkboxes on the legacy theme 2025-02-06 06:22:30 +07:00
Adorian Doran 09ae998437 style(next): calendar: adapt to the changes from the base theme 2025-02-06 06:07:42 +07:00
Adorian Doran f628114923 client: fix the calendar appearance on the legacy theme 2025-02-06 06:05:44 +07:00
Adorian Doran 5ab455adf2 style(next): calendar: various tweaks 2025-02-06 05:36:51 +07:00
Adorian Doran 4c1aeaca93 style(next): calendar: tweak the next/previous buttons 2025-02-06 05:25:18 +07:00
Adorian Doran 57bf142c4c style(next): calendar: tweak the month input field 2025-02-06 05:20:22 +07:00
Adorian Doran abf93dc11d style(next): calendar: tweak the year input field 2025-02-06 05:07:37 +07:00
renovate[bot] e356a34f0d
chore(deps): update dependency electron to v34.1.0 2025-02-06 00:34:24 +07:00
Elian Doran 91073e5e70
feat(electron): larger windows installer 2025-02-05 22:34:17 +07:00
Elian Doran 2e1b2004dc
feat(in-app-help): add a custom style for contextual help headings 2025-02-05 21:25:34 +07:00
Elian Doran b84b7e1cdf
chore(client/ts): port content_widget 2025-02-05 21:13:17 +07:00
Elian Doran 5173e37d8f
chore(client/ts): port type_widget 2025-02-05 21:06:21 +07:00
Elian Doran 7fa0ad336e
Merge remote-tracking branch 'origin/develop' into feature/in_app_help 2025-02-05 19:56:03 +07:00
Elian Doran 780c7377de
Merge remote-tracking branch 'origin/master' into develop 2025-02-05 19:25:00 +07:00
Elian Doran fe85e1e16c
refactor(ci): try to deploy nightly with same release action 2025-02-05 19:10:08 +07:00
Elian Doran 7590c1da24
fix(ci): remove debug action 2025-02-05 18:53:40 +07:00
Elian Doran 803f59260d
fix(ci): error in building electron due to extensions 2025-02-05 18:47:14 +07:00
Elian Doran 856a8a754e
Merge pull request #1122 from TriliumNext/refactor_electron-forge-config
refactor: electron forge config
2025-02-05 18:16:13 +07:00
Elian Doran e050efd1bd
fix(ci): nightly artifact building 2025-02-05 13:36:53 +07:00
Panagiotis Papadopoulos 62099abb29 refactor(forge.config): simplify getExtraResourcesForPlatform 2025-02-05 09:56:08 +07:00
Panagiotis Papadopoulos 2b83470de6 refactor(forge.config): call getExtraResourcesForPlatform once only 2025-02-05 09:33:33 +07:00
Panagiotis Papadopoulos e0862ce8f3 refactor(forge.config): avoid duplication for linux makers
adds a baseLinuxMakersConfigOptions
2025-02-05 09:30:55 +07:00
Panagiotis Papadopoulos 0c1185df33 refactor(forge.config): make afterComplete more concise 2025-02-05 08:53:06 +07:00
Elian Doran ddc6ac4590
fix(server): improve tolerance for node version 2025-02-05 08:55:40 +07:00
Adorian Doran 0d62493b77 style(next): ribbon: minor tweaks 2025-02-05 03:43:13 +07:00
Adorian Doran a8050c9bf8 style(next): input group: fix the color of disabled action buttons 2025-02-05 02:51:08 +07:00
Adorian Doran d080c763f4 style(next): tweak note's menu icon alignment 2025-02-05 02:43:52 +07:00
Adorian Doran 36b138655c style(next): text notes: fix the table caption colors on dark theme 2025-02-05 02:38:15 +07:00
Adorian Doran d9f37dfc19 style(next): delete note preview dialog: add some gap between note's name and its path 2025-02-05 02:31:35 +07:00
Adorian Doran c6787a9cf2 style(next): dropdown menus: fix the scrollbar background for Chromium-based browsers 2025-02-05 02:23:36 +07:00
Adorian Doran ec3d7bd4cd style(next): ckeditor: restyle dropdowns 2025-02-05 01:57:09 +07:00
Elian Doran b851287100
chore(ci): add debug log 2025-02-04 23:50:03 +07:00
Elian Doran 8ad8041689
Merge pull request #1108 from TriliumNext/build_add-rpm-electron
build: add RPM build via electron-forge
2025-02-04 23:26:14 +07:00
Elian Doran 5d3d9162cb
Merge remote-tracking branch 'origin/develop' into build_add-rpm-electron 2025-02-04 23:08:10 +07:00
Elian Doran a9d667e5a9
fix(ci): nightly build for server ARM 2025-02-04 23:00:38 +07:00
Elian Doran d847eab697
fix(ci): nightly artifact build 2025-02-04 22:48:17 +07:00
Elian Doran 51cbe12866
fix(ci): nightly not working due to missing deps 2025-02-04 22:30:08 +07:00
Adorian Doran 13239500f9 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-04 22:25:00 +07:00
Adorian Doran bc82cdbd01 style(next): fix broken backdrop blur when scrolling dropdowns 2025-02-04 22:24:56 +07:00
Elian Doran ca10d94acb
fix(ci): nightly not working due to missing deps 2025-02-04 22:05:10 +07:00
Elian Doran 880c1537d4
Merge remote-tracking branch 'origin/develop' into build_add-rpm-electron 2025-02-04 22:00:00 +07:00
Elian Doran b818320e43
Merge pull request #1119 from TriliumNext/refactor/deduplicate_ci_workflows
Deduplicate CI workflows
2025-02-04 21:55:59 +07:00
Elian Doran 3fb60b64c0
fix(ci): add missing shell config 2025-02-04 21:55:26 +07:00
Elian Doran 0dfd01858b
fix(ci): remove unnecessary artifact upload 2025-02-04 21:50:42 +07:00
Elian Doran 6ae143cc38
refactor(ci): deduplicate server build 2025-02-04 21:49:10 +07:00
Elian Doran 711ab84557
chore(editorconfig): add config for yaml files 2025-02-04 21:41:09 +07:00
Elian Doran cfdb561bf6
fix(ci): required shell 2025-02-04 21:40:59 +07:00
Elian Doran ddb42bfe88
fix(ci): add missing file 2025-02-04 21:40:52 +07:00
Elian Doran 836bbba7fe
refactor(ci): deduplicate preparing artifacts 2025-02-04 21:37:00 +07:00
Elian Doran bfdb69292c
refactor(ci): deduplicate electron-forge 2025-02-04 21:37:00 +07:00
Elian Doran f9082fa812
refactor(ci): deduplicate installing dependencies & updating build 2025-02-04 21:37:00 +07:00
Elian Doran 688b5317c1
refactor(ci): deduplicate dmg init 2025-02-04 21:37:00 +07:00
Adorian Doran 7514e2348c Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-04 21:31:19 +07:00
Adorian Doran f3a0965312 client: mark some checkboxes to use the new style 2025-02-04 21:31:16 +07:00
Elian Doran dfc6eb8523
Merge pull request #1075 from TriliumNext/test_server-utils
server/utils: add tests and smaller refactors / fixes
2025-02-04 21:29:30 +07:00
Elian Doran 892734bce3
Merge `develop` into `test_server-utils` 2025-02-04 21:28:44 +07:00
Elian Doran 0c35714801
Merge pull request #1099 from TriliumNext/refactor_simplify-electron-desktop-ejs
refactor(bin/electron-forge): make desktop.ejs easier to read
2025-02-04 21:24:25 +07:00
Elian Doran 67b46018a2
Merge pull request #1104 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.13.1
2025-02-04 21:23:11 +07:00
Elian Doran a3d3f9f231
Merge pull request #1103 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.50.1
2025-02-04 21:22:50 +07:00
Elian Doran e1ac3e8451
Merge pull request #1118 from TriliumNext/renovate/npm-vitest-vulnerability
chore(deps): update dependency vitest to v3.0.5 [security]
2025-02-04 21:22:14 +07:00
Elian Doran a0f6534cc9
Merge pull request #1113 from TriliumNext/renovate/vitest-monorepo
chore(deps): update dependency @vitest/coverage-v8 to v3.0.5
2025-02-04 21:22:03 +07:00
Elian Doran 902ee74b27
Merge pull request #1114 from TriliumNext/renovate/semver-7.x
fix(deps): remove dependency semver
2025-02-04 21:16:26 +07:00
Elian Doran ce45309818
feat(deps): remove dependency on semver 2025-02-04 21:15:47 +07:00
renovate[bot] 0af08c2a7b
chore(deps): update dependency vitest to v3.0.5 [security] 2025-02-04 18:56:44 +07:00
renovate[bot] e126d7be34
chore(deps): update dependency @types/node to v22.13.1 2025-02-04 01:45:31 +07:00
renovate[bot] d908c9044b
fix(deps): update dependency semver to v7.7.1 2025-02-04 01:45:21 +07:00
renovate[bot] 6facc3d05c
chore(deps): update vitest monorepo to v3.0.5 2025-02-04 01:45:13 +07:00
Adorian Doran 805405484e client: mark the add and save buttons from the "Owned Attributes" tab to use the icon button style 2025-02-04 00:10:38 +07:00
Adorian Doran 90732a5324 style(next): add an alias CSS class (tn-tool-button) for icon buttons 2025-02-04 00:08:43 +07:00
Adorian Doran 5376abac0b style(next): find & replace: tweak appearance 2025-02-03 23:48:37 +07:00
Adorian Doran caf613a4ef client: find & replace: move the current index and total results counters inside the "Find in text" input field 2025-02-03 23:47:42 +07:00
Adorian Doran 404c53ddcd Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-03 23:11:40 +07:00
Adorian Doran 4631298ad0 style(next): improve the layout of the find and replace panel 2025-02-03 23:11:37 +07:00
Elian Doran 6953928f7a
feat(in_app_help): reuse contextual help if possible 2025-02-03 22:50:00 +07:00
Elian Doran c649f473b4
style(geo_map): improve floating buttons 2025-02-03 22:40:41 +07:00
Elian Doran 2b5f37e19d
style(next): improve global menu update badge on horizontal layout 2025-02-03 22:27:41 +07:00
Adorian Doran 4efc86b9a3 style(next): fix the up / down buttons of the "Find in text" input box 2025-02-03 22:15:53 +07:00
Adorian Doran 59fdc7d048 client: fix broken selector 2025-02-03 20:52:48 +07:00
Adorian Doran 16cc4fadd7 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-03 20:26:09 +07:00
Adorian Doran 631d46028c client: tweak the label definition / relation definition dialog 2025-02-03 20:25:43 +07:00
Elian Doran 79e830b6ea
fix(search): empty mindmap note breaking search (closes #1107) 2025-02-03 19:06:51 +07:00
Elian Doran 766473c291
fix(search): empty mindmap note breaking search (closes #1107) 2025-02-03 18:59:56 +07:00
Adorian Doran c9bfd07722 style(next): tweak the new tab page 2025-02-03 17:49:07 +07:00
Adorian Doran 664b1e32a6 style(next): create a CSS file for the empty note (shown when opening a blank tab) 2025-02-03 17:29:10 +07:00
Adorian Doran 6f1f728c1b client: "Setup" dialog: use a consistent format for radio buttons 2025-02-03 17:17:39 +07:00
Adorian Doran 3ec24231f2 client: "Include note" dialog: use a consistent format for radio buttons 2025-02-03 17:06:04 +07:00
Adorian Doran 4dafb47a36 client: add some gap between protected session password prompt form elements 2025-02-03 17:00:01 +07:00
Adorian Doran 8a51f05bf4 client: mark some links to use the new style 2025-02-03 16:52:15 +07:00
Adorian Doran 9a84dec222 client: "Label detail" dialog: use a consistent checkbox format 2025-02-03 16:44:22 +07:00
Adorian Doran c832eed0d7 style(next): fix the combo box style being overridden in some particular cases 2025-02-03 16:37:27 +07:00
Panagiotis Papadopoulos 0ce3ae9476 build(release): fix Unix artefact preparation 2025-02-03 09:40:33 +07:00
Panagiotis Papadopoulos e3c7a72eee build(release): add rpm build for Linux 2025-02-03 09:40:33 +07:00
Panagiotis Papadopoulos 1cd49130dd build(electron): add rpm config 2025-02-03 09:40:33 +07:00
Panagiotis Papadopoulos aa446f7bd6 deps: add @electron-forge/maker-rpm 2025-02-03 09:40:33 +07:00
Elian Doran 438f28b5b0
chore(release): prepare for 0.91.6 2025-02-03 09:48:06 +07:00
Elian Doran fd7f3ef2ff
Merge pull request #1101 from TriliumNext/bugfix/mac-paste
Remove `mac_init` as it was breaking MacOS
2025-02-03 09:35:58 +07:00
renovate[bot] 528fe1904c
chore(deps): update dependency @playwright/test to v1.50.1 2025-02-03 01:09:17 +07:00
Adorian Doran 7d81c65e8e Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-03 01:09:04 +07:00
Adorian Doran ccbd47e03d desktop app: use a custom user agent string 2025-02-03 01:09:01 +07:00
Elian Doran c32778eb65
Merge pull request #1101 from TriliumNext/bugfix/mac-paste
Remove `mac_init` as it was breaking MacOS
2025-02-03 00:49:45 +07:00
Panagiotis Papadopoulos 61e56023d4 refactor(electron-forge/deb): make desktop.ejs easier to read
in theory we could use variables in ejs, but unfortunately electron uses lodash template to create the file, which itself DOES NOT like any let/const/var assignments – wasted a bit of time finding this out, before coming up with this solution
2025-02-02 22:25:56 +07:00
Elian Doran e2c0c6ef92
feat(in-app-help): don't open table of contents when in help view 2025-02-02 21:37:41 +07:00
Elian Doran b2bbf9cc5b
fix(in-app-help): set proper hoist for split help 2025-02-02 20:49:28 +07:00
Elian Doran 868ca2d982
feat(in-app-help): contextual help button for geo notes 2025-02-02 20:44:36 +07:00
perfectra1n 363360f0d5 we can just remove mac_init now since we're not using it 2025-02-02 10:21:59 +07:00
Elian Doran 64654290be
fix(client/ts): regression in table of contents 2025-02-02 20:21:35 +07:00
perfectra1n 512440684e remove `mac_init` functionality as it was overriding paste (and other) functionality, and is no longer needed 2025-02-02 10:19:21 +07:00
Elian Doran d0317f4bb6
chore(client/ts): port toc 2025-02-02 19:44:18 +07:00
Elian Doran d901a0f787
fix(in-app-help): style error when loading a note 2025-02-02 19:21:36 +07:00
Elian Doran 3796818a78
fix(in-app-help): headings not always updated properly 2025-02-02 19:08:44 +07:00
Elian Doran ff0514a7dc
fix(in-app-help): jumping to headings in table of contents 2025-02-02 18:35:41 +07:00
Elian Doran e41a02893f
feat(in-app-help): enable table of contents 2025-02-02 18:33:58 +07:00
Elian Doran aca0588b26
feat(in-app-help): disable adding child notes 2025-02-02 18:13:47 +07:00
Elian Doran 989918efe6
feat(in-app-help): show syntax highlighting 2025-02-02 18:01:42 +07:00
Elian Doran b298f4acea
fix(in-app-help): duplicate icon 2025-02-02 17:56:51 +07:00
Elian Doran 45ddafba6d
fix(in-app-help): proper note hoisting 2025-02-02 17:54:14 +07:00
Elian Doran e24013adf5
feat(in-app-help): integrate into existing help command 2025-02-02 17:49:26 +07:00
Elian Doran 122c1ad1ec
feat(in-app-help): render folders as book 2025-02-02 17:34:52 +07:00
Elian Doran 02708d593f
feat(in-app-help): add default icon for notes 2025-02-02 17:03:27 +07:00
Elian Doran 6215a21bae
feat(in-app-help): add dedicated icon for folders 2025-02-02 17:02:10 +07:00
Elian Doran 62dc11f9b8
feat(in-app-help): add icons for text notes 2025-02-02 16:54:09 +07:00
Elian Doran bac529f1f1
feat(in-app-help): remove duplicate <h1> 2025-02-02 16:18:07 +07:00
Elian Doran ebaba4ff4a
feat(in-app-help): render images 2025-02-02 16:14:29 +07:00
Elian Doran 7c34a6178a
feat(in-app-help): render documentation 2025-02-02 15:34:44 +07:00
Elian Doran 61ee15cc01
feat(in-app-help): update docName attribute if it got changed 2025-02-02 15:32:28 +07:00
Elian Doran 94d53727d1
feat(in-app-help): support child nesting 2025-02-02 14:31:07 +07:00
Elian Doran f1d641ac32
feat(in-app-help): create notes at root level 2025-02-02 14:20:02 +07:00
Elian Doran 58e82fb0f8
chore(in-app-help): add first draft of the user guide 2025-02-02 14:17:25 +07:00
Elian Doran acbd936654
chore(types): add type for note meta file 2025-02-02 13:55:15 +07:00
Elian Doran 5afddb4ecc
feat(inapp-help): add hidden item for user guide 2025-02-02 13:30:22 +07:00
Elian Doran 00bb7af5bd
chore(client/ts): port doc 2025-02-02 12:59:00 +07:00
Elian Doran 2fdac9b438
style(next): small margin to promoted attribute cells 2025-02-02 12:52:50 +07:00
Elian Doran 71cd35c25d
style(next): fix italic text for buttons 2025-02-02 12:50:57 +07:00
Elian Doran ec95f62cd2
fix(server): doc notes not being served in dev mode 2025-02-02 12:47:41 +07:00
Elian Doran 3911c0c22b
refactor(geo_map): extract build icon into method 2025-02-02 11:07:28 +07:00
Adorian Doran 6cd2a16155 style(print): skip highlighting Trilium internal links 2025-02-02 02:51:46 +07:00
Adorian Doran 9b775a142d style(print): improve footnotes 2025-02-02 02:37:39 +07:00
Adorian Doran 120b8466ac style(print): improve the TODO list check boxes 2025-02-02 02:04:25 +07:00
Elian Doran 65e593f3ff
fix(geo-map): duplicate tracks after refresh 2025-02-01 23:35:34 +07:00
Adorian Doran c84737b90e Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-01 22:52:48 +07:00
Adorian Doran 72a9004643 style(print): restyle the TODO list check boxes 2025-02-01 22:52:45 +07:00
Elian Doran 7a0199595d
feat(geo_map): react to changes in hierarchy 2025-02-01 22:22:19 +07:00
Elian Doran 15881dfb6b
feat(geo_map): add basic support for gpx files 2025-02-01 22:13:47 +07:00
Elian Doran 211b557920
refactor(geo_map): move marker processing to dedicated method 2025-02-01 21:46:11 +07:00
Elian Doran bd638b689f
feat(print): improve todo list rendering 2025-02-01 19:45:10 +07:00
Adorian Doran 3eccdd5cff style(print): justify the note's text 2025-02-01 19:41:33 +07:00
Adorian Doran 7702726012 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-01 19:16:49 +07:00
Adorian Doran ca496e1d12 desktop app/export pdf: enable background colors 2025-02-01 19:16:47 +07:00
Elian Doran 6ac868555f
feat(print): fix widowed headings 2025-02-01 19:16:28 +07:00
Elian Doran 2bb006d80e
feat(print): better widows & orphans support 2025-02-01 19:16:28 +07:00
Adorian Doran e3816c30c0 style(print): tweak figure captions 2025-02-01 19:07:51 +07:00
Adorian Doran 170bba1a89 style(print): tweak blockquotes 2025-02-01 19:02:53 +07:00
Adorian Doran b5ee642c2d style(print): tweak footnotes 2025-02-01 18:58:50 +07:00
Adorian Doran 16f62bdde9 style(print): tweak links 2025-02-01 18:41:43 +07:00
Elian Doran fa655ea45e
feat(pdf): describe the attributes & fix conflict in name 2025-02-01 17:34:42 +07:00
Adorian Doran 2659bd33e8 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-01 17:17:57 +07:00
Adorian Doran 3cd02f6ceb client(print): use a larger page margins 2025-02-01 17:17:49 +07:00
Elian Doran f41138800f
feat(pdf): allow changing page size via attribute 2025-02-01 17:10:49 +07:00
Elian Doran 9a3a6f90ea
Add option to export 2025-02-01 16:59:23 +07:00
Elian Doran eedad4170e
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-01 16:59:17 +07:00
Adorian Doran f2cc98eeec client(print): fix the content having a left margin when the note is read-only 2025-02-01 16:58:52 +07:00
Adorian Doran 8b8f0c289e client(print): use a different base font size 2025-02-01 16:51:04 +07:00
Adorian Doran 9c4535bade desktop app(export pdf): enable document outline and PDF tags generation 2025-02-01 16:31:25 +07:00
Elian Doran dd12d7f314
chore(client/ts): port export 2025-02-01 16:23:55 +07:00
Adorian Doran 02d4d011c3 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-01 16:15:25 +07:00
Adorian Doran 6d6272e5b6 desktop app(export pdf): refactor 2025-02-01 16:14:49 +07:00
Panagiotis Papadopoulos e710409134 test(server/utils): remove completed TODO 2025-02-01 15:10:31 +07:00
Panagiotis Papadopoulos 08c32da0d2 test(server/utils): fix warnings and explicitly await timeLimit tests 2025-02-01 15:06:07 +07:00
Panagiotis Papadopoulos 13e72c5e0a test(server/utils): add basic test for toObject 2025-02-01 15:00:47 +07:00
Panagiotis Papadopoulos 5c904f100a test(server/utils): add prettier ignore statement to avoid newlines getting mangled 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 4917296d96 test(server/utils): add basic test for deferred
this needs to be expanded, but I don't fully understand
what the exact purpose is of this deferred fn
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos e1795a0ad1 test(server/utils): add tests for toMap 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos ab0c84a57e refactor(server/utils): use a "real" Map for toMap 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos f0ba056bb7 test(server/utils): add tests for escapeHtml & unescapeHtml 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos d71e127828 refactor(server/utils): re-export escape/unescape instead of wrapping them in function
-> since the functions did not do *anything* other than calling the escape/unescape module -> let's just re-export them directly
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 72f0de6b78 test(server/utils): add todo remarks 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 9f2dd21865 test(server/utils): add tests for randomSecureToken
(bit ugly I have to say, as we are essentially partially testing "crypto" module here,
probably should be instead replaced by a version that mocks crypto module and checks, if the called functions match the expectations)
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos a4ce2ddd5e refactor(server/utils): simplify getResourceDir
get rid of unnecessary else branch here
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 6e5e6989ed fix(server/utils): fix potentially "empty looking" title from getNoteTitle
when the noteMeta title consists of just spaces, it will fall back to "normal" handling again → instead of showing " " as title, which would be perceived as "empty"
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 46f28f4f09 test(server/utils): add edge case test for getNoteTitle
when the noteMeta title consists of just spaces, it should fall back to "normal" handling again → currently this fails
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 65be2cf048 refactor(server/utils): simplify getNoteTitle 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos c3587ad536 test(server/utils): add tests for getNoteTitle 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos c15e46bf25 chore(server/utils): improve types for getNoteTitle 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos b812e67794 test(server/utils): adapt tests for getContentDisposition
since we merged these functions, adapt the previous tests of sanitizeFilenameForHeader and use them for the newly merged function getContentDisposition
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos fedaec6c79 refactor(server/utils): merge sanitizeFilenameForHeader into getContentDisposition
sanitizeFilenameForHeader is not used anywhere else and is tiny, so let's merge it
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 29b1befd60 fix(server/utils): missing export for sanitizeFilenameForHeader 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 6ab9a3979d refactor(server/utils): simplify sanitizeFilenameForHeader
since "" is falsy, we can just use "||" here
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos acb7098bb8 test(server/utils): add tests for sanitizeFilenameForHeader 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos df1d479720 chore(server/utils): sort exports alphabetically 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos ef66d330ec chore(server/utils): timeLimit - add TODO comment 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 9a8a27c02c refactor(server/utils): avoid same variable name for error in timeLimit
rename the error created in timeLimit to `errorTimeLimit` to differentiate it from the error that is caught inside the promise

makes it a bit easier to quickly distinguish these
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 9eeedc827c test(server/utils): add tests for timeLimit 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 440dbfd4d4 refactor(server/utils): use Set for isStringNote 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 3094b1779e test(server/utils): add tests for isStringNote 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 5c20a6d5ee test(server/utils): add tests for isDev 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 283b19c716 fix(server/utils): add missed export of isDev in default export object 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos de5ffb591d test(server/utils): add tests for isMac/isWindows/isElectron 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 81db681732 refactor(server/utils): remove unused union
function is not used at all anywhere
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 45cf0334f1 test(server/utils): add tests for stripTags 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 738436061c test(server/utils): add tests for removeDiacritic and normalize 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 92123e1761 refactor(server/utils): get rid of isString
let's use typeof x === "string" → works exactly the same and at the same speed as this custom isString fn
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 41c96fb202 test(server/utils): add tests for envToBoolean 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 9689222fd4 test(server/utils): add tests for removeTextFileExtension 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 05a0acbdb5 test(server/utils): add tests for newEntityId
and randomString
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 33346e0cee test(server/utils): add tests for sanitizeSqlIdentifier 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 03c1128a72 fix(isEmptyOrWhitespace): avoid exception throwing when passed value is undefined
the req.body value from "routes/api/branches" actually seems to never get parsed into a JS object, but arrives as text string, so req.body.prefix could be undefined, which of course would cause an error to be thrown, when trying to call "match" on undefined.
2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 8546fe2333 test(server/utils): add tests for isEmptyOrWhitespace 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos e6f5321444 test(server/utils): move formatDownloadTitle tests to spec file 2025-02-01 14:37:12 +07:00
Panagiotis Papadopoulos 668cc7e1a4 test(import/utils): prepare spec file 2025-02-01 14:37:12 +07:00
Elian Doran a2f1d71754
chore(client/ts): port mobile_widgets 2025-02-01 14:45:12 +07:00
Elian Doran 2baf75d0c1
feat(electron): custom icon for the windows installer 2025-02-01 14:39:36 +07:00
Adorian Doran dcf164e2ff Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-02-01 14:37:36 +07:00
Adorian Doran a1dfeb14e1 desktop app(export pdf): add page numbering 2025-02-01 14:37:21 +07:00
Elian Doran 72991a5649
fix(tray): improve fit for recent notes 2025-02-01 14:00:56 +07:00
Elian Doran 50514e2418
feat(tray): display recent note date as detail 2025-02-01 13:23:14 +07:00
Elian Doran 495fce7594
feat(tray): use template for menu icons 2025-02-01 12:57:51 +07:00
Elian Doran ddb277e8e5
feat(tray): use template for main icon 2025-02-01 12:53:11 +07:00
Elian Doran 6db51d648b
feat(tray): black icon for macOS 2025-02-01 12:49:01 +07:00
Elian Doran c80bf48d13
fix(tray): bring back dev icon 2025-02-01 12:45:32 +07:00
Elian Doran 0f2e50d265
feat(tray): higher DPI icon 2025-02-01 12:41:43 +07:00
Elian Doran e10256e5bd
fix(tray): error if today's note was missing 2025-02-01 12:25:12 +07:00
Elian Doran 43ba49833d
feat(tray): try add 1.25x and 1.5x for Windows high-DPI 2025-02-01 12:22:13 +07:00
Elian Doran 755774042e
feat(tray): support hi-DPI 2025-02-01 11:59:42 +07:00
Elian Doran 0acd3c621e
Merge pull request #1086 from TriliumNext/fix_search_of_autocomplete
Fix a bug in the full text search in AutoComplete
2025-02-01 11:41:06 +07:00
Elian Doran 0bf3f890a2
feat(tray): support custom icon for dev mode 2025-02-01 11:34:35 +07:00
Elian Doran 80ddc8b4ef
feat(tray): react to language changes 2025-02-01 11:20:29 +07:00
Elian Doran 54f9cf831d
feat(i18n): translate tray icon 2025-02-01 11:16:46 +07:00
Elian Doran 60d8bc8238
feat(tray): reload recent notes on change 2025-02-01 11:07:47 +07:00
Elian Doran ebc523a0fd
feat(tray): reload bookmarks on change 2025-02-01 11:04:49 +07:00
Elian Doran 09bf48e5a4
feat(tray): support bookmark folders 2025-02-01 10:54:00 +07:00
Elian Doran ae4f012390
feat(tray): ensure window is visible 2025-02-01 10:46:27 +07:00
Elian Doran c1f8c8a0b9
feat(tray): react to dark mode change 2025-02-01 10:41:08 +07:00
Elian Doran 4701edff4c
feat(tray): support dark theme for icons 2025-02-01 10:32:57 +07:00
Elian Doran 736f329857
feat(tray): use icons for tray items 2025-02-01 10:21:25 +07:00
Elian Doran 4bd9d32c74
feat(tray): use checkbox for show windows and move to top 2025-02-01 02:46:33 +07:00
Elian Doran 839e8a4143
feat(tray): display recent notes 2025-02-01 02:40:04 +07:00
Elian Doran cd0c79e3d2
feat(tray): show a list of bookmarks 2025-02-01 02:29:34 +07:00
Elian Doran 84edf0348f
feat(tray): open today's journal note 2025-02-01 02:18:10 +07:00
Elian Doran 4b1cbca76d
feat(tray): add option to create new note 2025-02-01 02:08:19 +07:00
Elian Doran 9e0d002704
refactor(tray): use named functions instead of arrow fn 2025-02-01 01:54:51 +07:00
Elian Doran c09ef76f87
Merge pull request #1091 from TriliumNext/feature/different_printing_mechanism
Export as PDF
2025-02-01 01:35:43 +07:00
Elian Doran b59f98d63b
Merge pull request #1092 from lly-c232733/develop
Band-Aid fix for the bootleg eslint
2025-02-01 01:32:03 +07:00
Elian Doran bd363dac93
chore(review): use async 2025-02-01 01:21:38 +07:00
Elian Doran 81755d804b
feat(print): improve code notes 2025-02-01 01:16:35 +07:00
Elian Doran 6ad19198c6
feat(print): improve on mobile 2025-02-01 01:12:53 +07:00
Elian Doran 8e88645fd3
feat(print): hide placeholder if note is empty 2025-02-01 00:55:00 +07:00
Elian Doran 2cc7113c2c
refactor(deps): get rid of print-this 2025-02-01 00:52:46 +07:00
Elian Doran ac5f911d4f
fix(print): include note not always full-height 2025-02-01 00:43:51 +07:00
Elian Doran e20180014b
chore(i18n): translate new messages to Romanian 2025-02-01 00:37:32 +07:00
Elian Doran 719046e2ca
feat(pdf): add keyboard shortcut 2025-02-01 00:36:06 +07:00
Elian Doran f3a3906db7
feat(pdf): support landscape mode at note level 2025-02-01 00:28:48 +07:00
Elian Doran 658ce103fc
feat(pdf): maintain table heading background 2025-02-01 00:08:38 +07:00
Elian Doran bfadd36f3d
style(next): don't print box shadow for code 2025-02-01 00:01:13 +07:00
Elian Doran d1a5d317ed
feat(print): improve rendering of tables 2025-01-31 23:57:50 +07:00
Elian Doran 3927548afb
fix(print): width is not always 100% 2025-01-31 23:50:46 +07:00
Elian Doran ae5a9df5cc
fix(print): sidebar reduces width 2025-01-31 23:49:51 +07:00
Elian Doran 3720ca6fc4
fix(print): hide promoted attributes, note list 2025-01-31 23:45:25 +07:00
Elian Doran cd031336ab
fix(print): disable rounded corners on some containers 2025-01-31 23:44:21 +07:00
Elian Doran 30b1da0f41
fix(print): tabs sometimes visible 2025-01-31 23:43:00 +07:00
Elian Doran 143217be88
fix(print): background color 2025-01-31 23:41:23 +07:00
Elian Doran 84532d42ec
feat(pdf): error handling 2025-01-31 23:29:53 +07:00
Elian Doran d4965e8d41
feat(pdf): improve save filter on Windows 2025-01-31 22:51:58 +07:00
lly-c232733 08133dcf3d
Update eslint.js
not sure why 'latest' is not working, but this fixes the annoying errors related to es5 being default
2025-01-31 15:41:41 +07:00
Elian Doran 7813c896c3
feat(pdf): hide the option if not electron 2025-01-31 22:22:45 +07:00
Elian Doran 508ce4c962
feat(pdf): open the exported file 2025-01-31 22:19:19 +07:00
Elian Doran 8ac1beaee7
chore(i18n): translate one message 2025-01-31 22:13:48 +07:00
Elian Doran edaf030b87
chore(pdf: change icon 2025-01-31 22:01:44 +07:00
Elian Doran e029a3991a
fix(pdf): not disabled for unprintable note types 2025-01-31 22:00:26 +07:00
Elian Doran 615218513a
feat(pdf): suggest proper file name 2025-01-31 21:58:52 +07:00
Adorian Doran 46573714a4 style(next): tweak the text segments of input groups 2025-01-31 21:52:53 +07:00
Elian Doran 414a4d7b17
feat(print): add filter for PDF 2025-01-31 21:51:15 +07:00
Adorian Doran 09c14f8663 style(next): settings/appearance: fix the length of font size input boxes 2025-01-31 21:50:07 +07:00
Elian Doran 0f7826d6d0
feat(print): implement basic export as PDF support 2025-01-31 21:44:59 +07:00
Adorian Doran c5edfbc127 style(next): restyle the text segments of input groups 2025-01-31 21:35:08 +07:00
Adorian Doran b56b42bea0 style(next): improve the color contrast for switches 2025-01-31 21:26:19 +07:00
Elian Doran dbf004d673
feat(print): add option to print as PDF (not yet implemented) 2025-01-31 21:18:24 +07:00
Elian Doran e3dbe21c5a
chore(client/ts): port note_actions 2025-01-31 21:08:09 +07:00
Adorian Doran 48b4f37f91 style(next): adjust the vertical offset of the menu item icons to align with the new font metrics 2025-01-31 21:02:11 +07:00
Elian Doran 298634ceaa
refactor(print): use dedicated print CSS 2025-01-31 20:47:18 +07:00
Elian Doran 561c50706e
feat(print): carry over original print stylesheet 2025-01-31 20:45:18 +07:00
Elian Doran 4a5bf28f06
fix(print): remove title & reduce paddings 2025-01-31 20:43:35 +07:00
Elian Doran d201fe7a06
fix(print): left padding of text notes 2025-01-31 20:40:11 +07:00
Elian Doran 7dfba9f513
feat(print): respect page breaks 2025-01-31 20:32:12 +07:00
Elian Doran c06642ba1e
fix(print): remove extra spacing 2025-01-31 20:27:32 +07:00
Elian Doran d5d7c1565e
feat(print): implement stylesheet for global note printing 2025-01-31 20:24:19 +07:00
SiriusXT b44df12148 Fix a bug in the full text search in AutoComplete 2025-01-31 19:10:45 +07:00
Adorian Doran c878a6d2fd
Merge pull request #1074 from TriliumNext/style/next/forms
Style Next: Restyle form elements
2025-01-31 11:19:25 +07:00
Elian Doran 77bbdc3857
chore(client/ts): port new version of switch 2025-01-31 09:57:25 +07:00
Elian Doran 0dd91ad737
revert: accidental changes after merge 2025-01-31 09:41:53 +07:00
Adorian Doran c6bbc284aa style(next): remove a not longer needed style 2025-01-31 03:32:06 +07:00
Adorian Doran e742bdf401 client: fix the style of the icon category combo box 2025-01-31 02:54:24 +07:00
Adorian Doran e270b0b587 style(next): tweak the colors of the dark theme 2025-01-31 00:26:49 +07:00
Adorian Doran 076c9f4d96 style(next): tweak the colors of the dark theme 2025-01-31 00:09:46 +07:00
Adorian Doran e425f64616 style(next): icon buttons: properly align the buttons in the right panes' header 2025-01-31 00:01:41 +07:00
Adorian Doran f59515fe36 style(next): use the new icon button style for the help buttons associated to switches 2025-01-30 23:56:41 +07:00
Adorian Doran 67904e16a8 client: rollback some buttons as secondary buttons 2025-01-30 23:49:53 +07:00
Adorian Doran 9c847686a6 style(next): use the new icon button style for the ETAPI token table buttons 2025-01-30 23:49:25 +07:00
Adorian Doran c8a556723c style(next): icon buttons: use a distinctive style for the "x" buttons 2025-01-30 23:23:12 +07:00
Adorian Doran ac89c2cb65 style(next): icon buttons: tweak the alignment of the "Create new split" button relative to the note's menu button 2025-01-30 23:08:09 +07:00
Adorian Doran 9cfd01200a style(next): icon buttons: add a style for the visible focus state 2025-01-30 22:50:35 +07:00
Adorian Doran f2f0bf3e10 style(next): icon buttons: keep the button highlighted while the dropdown is open 2025-01-30 22:47:24 +07:00
Adorian Doran 3311f4f01c style(next): restyle icon buttons 2025-01-30 22:44:11 +07:00
Adorian Doran b170c234ce style(next): refactor 2025-01-30 21:00:46 +07:00
Adorian Doran 349ae84c8e style(next): tweak combo box-like dropdown buttons 2025-01-30 20:57:36 +07:00
Adorian Doran c3656e27c8 client: mark a button to by styled as a combo box-like dropdown 2025-01-30 20:46:42 +07:00
Adorian Doran b27537a9c3 style(next): buttons: fix combo box-like dropdown buttons regression 2025-01-30 20:44:27 +07:00
Adorian Doran c26dd283fa client: rollback some buttons as secondary buttons 2025-01-30 20:30:51 +07:00
Elian Doran 3f6e66b5f1
chore(release): bump to v0.91.5 2025-01-30 20:14:22 +07:00
Elian Doran 730a43c922
fix(mobile): formatting bar overlapping with bottom bar (fixes #970) 2025-01-30 19:44:17 +07:00
Elian Doran 047b226426
Merge commit 'ef5f5b35db25bd532c1f22424a7f17576cc219a4' into develop 2025-01-30 18:04:49 +07:00
Elian Doran 565989dd4c
feat(client/ts): port tree (WIP) 2025-01-30 10:14:10 +07:00
Elian Doran 795dec77cf
Merge pull request #1076 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.0.2
2025-01-30 09:01:49 +07:00
Elian Doran 4f69fd664c
Merge pull request #1077 from TriliumNext/renovate/semver-7.x
fix(deps): update dependency semver to v7.7.0
2025-01-30 09:01:26 +07:00
renovate[bot] d27e33c9f0
fix(deps): update dependency semver to v7.7.0 2025-01-30 01:56:57 +07:00
renovate[bot] 3318c9fec6
chore(deps): update dependency electron to v34.0.2 2025-01-30 01:56:48 +07:00
Adorian Doran ad06eaca5e Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-30 00:17:24 +07:00
Adorian Doran a889170844 style(next): buttons: remove useless property 2025-01-30 00:17:03 +07:00
Adorian Doran 774249d6ad style(next): buttons: improve layout 2025-01-29 23:41:57 +07:00
Adorian Doran 700598ed63 style(next): buttons: remove the previously defined gap between buttons 2025-01-29 23:23:47 +07:00
Adorian Doran 4988468103 style(next): buttons: refactor, document 2025-01-29 23:21:44 +07:00
Adorian Doran 0fed7842cf Merge branch 'style/next/forms' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-29 23:14:38 +07:00
Adorian Doran bd37055965 style(next): buttons: style icons 2025-01-29 23:14:27 +07:00
Elian Doran 748162b997
fix(e2e): broken test after style changes 2025-01-29 22:40:43 +07:00
Panagiotis Papadopoulos 092c288df2
chore(issue_templates): add simple Task template 2025-01-29 22:40:43 +07:00
Panagiotis Papadopoulos 818cc30650
refactor(server/utils): isDev move to utils and replace fn with boolean
this value cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 22:40:43 +07:00
Panagiotis Papadopoulos 13a1b42e12
refactor(server/utils): isElectron - replace fn with boolean
this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos 5630a7b2e3
refactor(server/utils): isMac/isWin - replace fn with boolean
those values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos 013b42bdd1
fix(setup): make keyboard navigation work
fixes #94
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos a110161b2e
fix(setup): use safer `text` method instead of html to prevent possible XSS
see also https://api.jquery.com/html/
under "Additional Notes":
"Do not use these methods to insert strings obtained from untrusted sources such as URL query parameters, cookies, or form inputs. Doing so can introduce cross-site-scripting (XSS) vulnerabilities. Remove or escape any user input before adding content to the document. "

fixes #1072
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos 328c53b725
chore(assets): remove manual provision of knockout
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos 06d9b998de
chore(prettier): fix code style for setup.ts 2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos e6103bf11a
chore(views/setup): remove knockout src tag
-> this is now handled inside setup.ts and is handled by webpack
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos 726683078e
chore(views/setup): move syncInProgress to meta tag
makes it easier to hanlde in the setup.ts file
2025-01-29 22:40:42 +07:00
Panagiotis Papadopoulos 52814030d8
chore(client/ts): port setup.js entrypoint to TS 2025-01-29 22:40:42 +07:00
Adorian Doran e96b9f3251 style(next): buttons: style keyboard shortcut 2025-01-29 22:20:52 +07:00
Elian Doran 67a23f0bae
Merge pull request #1070 from TriliumNext/chore_github-issue_task
chore(issue_templates): add simple Task template
2025-01-29 22:17:45 +07:00
Elian Doran 6fab899898
Merge pull request #1073 from TriliumNext/refactor_utils-isPlatform
refactor(server/utils): turn isMac/isWin/isElectron/isDev into boolean
2025-01-29 22:16:20 +07:00
Elian Doran fd53d49937
Merge pull request #1071 from TriliumNext/fix_setup-keyboard-navigation_#94
fix(setup): make keyboard navigation work
2025-01-29 22:10:29 +07:00
Adorian Doran e29389296d style(next): buttons: handle visible focus 2025-01-29 22:02:25 +07:00
Adorian Doran 8718dafe88 style(next): buttons: style disabled buttons 2025-01-29 21:59:18 +07:00
Elian Doran e255fb5a20
Merge pull request #1065 from TriliumNext/chore_port_setup-entrypoint
chore(client/ts): port setup entrypoint
2025-01-29 21:55:39 +07:00
Adorian Doran 2bfb253a2a style(next): buttons: handle "success" button types 2025-01-29 21:53:22 +07:00
Adorian Doran 7d88e43555 client: mark some buttons with their type (primary or secondary) 2025-01-29 21:50:35 +07:00
Adorian Doran 82074ea7eb style(next): buttons: restore a legacy CSS variable 2025-01-29 21:20:31 +07:00
Adorian Doran 16ea6186dd style(next): buttons: rename the CSS variables to avoid clashing with another button styles 2025-01-29 21:17:20 +07:00
Adorian Doran 96b25b8e5e style(next): buttons: use a more accurate CSS selectors 2025-01-29 18:51:00 +07:00
Elian Doran ef5f5b35db
feat(i18n): translate template switch off button 2025-01-29 18:40:56 +07:00
Elian Doran 3c60f181ff
chore(client/ts): port template_switch 2025-01-29 18:39:59 +07:00
Elian Doran 6aba099a29
chore(client/ts): port switch 2025-01-29 18:38:27 +07:00
Elian Doran f86d9b11b1
feat(i18n): translate unable to render note type 2025-01-29 18:37:02 +07:00
Adorian Doran 90afd01d1f style(next): restyle buttons 2025-01-29 18:24:05 +07:00
Adorian Doran dee221e18a Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-29 17:26:24 +07:00
Panagiotis Papadopoulos 31c46753de refactor(server/utils): isDev move to utils and replace fn with boolean
this value cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:58:00 +07:00
Panagiotis Papadopoulos ca2bb94200 refactor(server/utils): isElectron - replace fn with boolean
this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:55:53 +07:00
Panagiotis Papadopoulos 94411cf418 refactor(server/utils): isMac/isWin - replace fn with boolean
those values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:55:53 +07:00
Elian Doran dadda026fb
Merge pull request #1068 from TriliumNext/chore_github-issue-type
chore(issue_templates): Use new type field
2025-01-29 11:19:03 +07:00
Panagiotis Papadopoulos c9c8ee5556 fix(setup): use safer `text` method instead of html to prevent possible XSS
see also https://api.jquery.com/html/
under "Additional Notes":
"Do not use these methods to insert strings obtained from untrusted sources such as URL query parameters, cookies, or form inputs. Doing so can introduce cross-site-scripting (XSS) vulnerabilities. Remove or escape any user input before adding content to the document. "

fixes #1072
2025-01-29 10:07:40 +07:00
Panagiotis Papadopoulos 66c42f0524 fix(setup): make keyboard navigation work
fixes #94
2025-01-29 09:53:03 +07:00
Panagiotis Papadopoulos 1b35ba762f chore(issue_templates): add simple Task template 2025-01-29 09:16:13 +07:00
Panagiotis Papadopoulos 8344dcee85 chore(issue_templates): Use new type field
https://github.com/orgs/community/discussions/148715#discussioncomment-11845050
also removed title field, as duplicating the issue "type" info in there is not
necessary anymore
2025-01-29 09:08:32 +07:00
Panagiotis Papadopoulos ed33b72f57 chore(assets): remove manual provision of knockout
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
2025-01-29 08:48:03 +07:00
Elian Doran 7c28b93477
Merge pull request #1066 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.12.0
2025-01-29 09:20:33 +07:00
renovate[bot] b49ea378cb
chore(deps): update dependency @types/node to v22.12.0 2025-01-29 00:29:12 +07:00
Panagiotis Papadopoulos 4adaa4bd58 chore(prettier): fix code style for setup.ts 2025-01-28 23:18:17 +07:00
Panagiotis Papadopoulos 0559ebb48a chore(views/setup): remove knockout src tag
-> this is now handled inside setup.ts and is handled by webpack
2025-01-28 23:16:16 +07:00
Panagiotis Papadopoulos 98c4baeb6b chore(views/setup): move syncInProgress to meta tag
makes it easier to hanlde in the setup.ts file
2025-01-28 23:15:16 +07:00
Panagiotis Papadopoulos c7b368fa46 chore(client/ts): port setup.js entrypoint to TS 2025-01-28 23:13:06 +07:00
Elian Doran 05b67fc486
fix(mobile): backend log not shown (fixes #1058) 2025-01-28 22:02:52 +07:00
Elian Doran 44928093bb
chore(build): rebuild electron for start-electron-nix 2025-01-28 21:23:20 +07:00
Elian Doran 4da67443c4
feat(print): preserve highlighted text (closes #905) 2025-01-28 21:23:04 +07:00
Elian Doran feb7ceacd8
style(next): fix strikethrough undelete button 2025-01-28 21:11:18 +07:00
Elian Doran 5c31a0afeb
fix(client): quote breaking tooltips (fixes #1003) 2025-01-28 21:03:39 +07:00
Elian Doran a2b6504d9d
feat(ci): build server for Linux ARM 2025-01-28 19:06:14 +07:00
Elian Doran ab9b5a6926
feat(geo_map): move markers when panning across the world 2025-01-28 17:13:15 +07:00
Elian Doran 687be6d722
fix(client): note type chooser does not have geo map entry 2025-01-28 17:05:51 +07:00
Elian Doran eaf548f056
style(next): fix top position of code badge 2025-01-28 17:05:51 +07:00
Elian Doran f1cb95d95e
fix(types): allow falsy values 2025-01-28 16:44:56 +07:00
Elian Doran 189a2296c4
chore(i18n): promote mind map to stable note type 2025-01-28 16:34:10 +07:00
Elian Doran 3f6dc717b6
feat(client/ts): port editability_select 2025-01-28 16:21:26 +07:00
Elian Doran aecba70efc
fix(client): broken layouts in editability and note type dropdowns 2025-01-28 16:18:36 +07:00
Elian Doran 546274a79d
feat(client/ts): port note_list 2025-01-28 14:13:21 +07:00
Elian Doran 15c63f52dc
feat(client/ts): port note_title 2025-01-28 14:07:56 +07:00
Elian Doran 55ce673f1b
Merge pull request #1056 from TriliumNext/chore_port-desktop-mobile-entrypoints
chore: port desktop and mobile entrypoints
2025-01-28 13:10:46 +07:00
Elian Doran 10536adecf
Merge pull request #1057 from TriliumNext/fix_npm-audit
fix(deps): run npm audit fix
2025-01-28 09:05:30 +07:00
Elian Doran 7eed037ace
chore(deps): update package.lock 2025-01-28 08:56:05 +07:00
Elian Doran 7bac28bff4
chore(build): fix running electron on nixos 2025-01-28 08:55:54 +07:00
Panagiotis Papadopoulos 939c2b7ef6 fix(deps): run npm audit fix 2025-01-28 07:40:51 +07:00
Panagiotis Papadopoulos e614e775fa chore(client/ts): port mobile.js entrypoint to TS 2025-01-28 07:25:26 +07:00
Panagiotis Papadopoulos 4c30853258 chore(client/ts): port desktop.js entrypoint to TS 2025-01-28 07:25:26 +07:00
Panagiotis Papadopoulos 144a7ff3a1 chore(types.d.ts): add missing platform prop to CustomGlobals
as used e.g. in dekstop.js – supplied via ejs (and then rendered via `./src/views/partials/windowGlobal`

I left it as optional however, because e.g. it does not seem to exist on *all* pages
2025-01-28 07:25:26 +07:00
Elian Doran 24026ff013
chore(release): prepare for 0.91.4-beta 2025-01-28 00:09:49 +07:00
Elian Doran 7d8e96d6df
fix(context-menu): keyboard shortcut not filling width 2025-01-28 00:03:04 +07:00
Elian Doran 9125aeca29
Merge pull request #1048 from TriliumNext/chore_webpack-share
chore: make share.js work with webpack
2025-01-27 22:42:13 +07:00
Elian Doran 4264e37256
Merge pull request #1053 from TriliumNext/renovate/mind-elixir-node-menu-1.x
fix(deps): update dependency @mind-elixir/node-menu to v1.0.4
2025-01-27 22:19:59 +07:00
Panagiotis Papadopoulos 21539857c3 build(npm): remove override again, as @mind-elixir/node-menu got updated :-) 2025-01-27 19:46:36 +07:00
renovate[bot] 1d9f15b9a2
fix(deps): update dependency @mind-elixir/node-menu to v1.0.4 2025-01-27 16:35:43 +07:00
Elian Doran be115e82b6
Merge pull request #1049 from TriliumNext/build_npm-override
build(npm): use specific overrides instead of `legacy-peer-deps`
2025-01-27 14:49:35 +07:00
Elian Doran 3dd5623f73
Merge pull request #1051 from TriliumNext/chore_delete-outdated-issue-template
chore: delete outdated issue_template.md
2025-01-27 14:43:42 +07:00
Panagiotis Papadopoulos 1d9c43f77e
chore: delete outdated issue_template.md
chore: delete outdated issue_template.md, the current ones are already existing under `.github`
2025-01-27 10:40:33 +07:00
Panagiotis Papadopoulos a234234373 build(npm): use specific overrides instead of `legacy-peer-deps`
allows us to handle these peer dependency
issues on a case by case basis, instead of
generally allowing it for all packages,
which could lead to unnoticed issues.

in this case the @mind-elixir/node-menu package
is still showing mind-elixir 2.x.x as peerDep,
which cannot be resolved, since we use v4
2025-01-27 07:54:48 +07:00
Panagiotis Papadopoulos ad02b86719 chore: remove now unnecessary manual copying of share.js
this is now correctly handled by the webpack build
2025-01-26 21:39:34 +07:00
Panagiotis Papadopoulos 74f6ad46ae chore(app/share): add workaround for dead code eliminination by webpack
since fetchNote function is not used anywhere, webpack will treat it as "dead code" and remove it from the final output

I did not have any success with using webpack config flags like "sideEffects", so I've reverted to this workaround for now
2025-01-26 21:23:08 +07:00
Panagiotis Papadopoulos 3ed9528495 chore(app/share): port to TypeScript 2025-01-26 20:54:30 +07:00
Elian Doran c6730c5467
chore(client/ts): port ribbon_container 2025-01-26 21:24:42 +07:00
Elian Doran 47fb4d7b27
chore(client/ts): port note_info_widget 2025-01-26 21:23:08 +07:00
Elian Doran 20584f622d
chore(client/ts): port zpetne_odkazy 2025-01-26 21:23:08 +07:00
Elian Doran 32fc5def77
chore(client/ts): port note_map 2025-01-26 21:23:08 +07:00
Elian Doran befdade7ba
chore(client/ts): port similar_notes 2025-01-26 21:23:08 +07:00
Elian Doran 4492c60aa9
chore(client/ts): port note_paths 2025-01-26 21:23:08 +07:00
Elian Doran 3f7bda6289
chore(client/ts): port left_pane_toggle 2025-01-26 21:23:08 +07:00
Elian Doran 8e62c942ea
Merge pull request #1037 from TriliumNext/renovate/ws-8.x
chore(deps): update dependency @types/ws to v8.5.14
2025-01-26 20:48:57 +07:00
Elian Doran 61d4d3fd2c
fix(types): broken types after ws upgrade 2025-01-26 20:39:19 +07:00
Elian Doran e4b186ce8a
Merge pull request #1036 from TriliumNext/feat_env-config
feat(services/config): Add ability to set Trilium configuration variables via ENV variables
2025-01-26 14:32:13 +07:00
Elian Doran 7ae7831a27
Merge pull request #1022 from TriliumNext/fix_import-utils-#1016
fix(import/utils.handleH1): fix stripping of all <h1> tags that match title tag
2025-01-26 14:28:52 +07:00
Elian Doran 189dfdb5cd
Merge pull request #1046 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.2.2
2025-01-26 14:25:17 +07:00
renovate[bot] af204d0d74
fix(deps): update dependency i18next to v24.2.2 2025-01-26 00:39:49 +07:00
Elian Doran faf14e1b14
Merge pull request #1043 from TriliumNext/fix_webpack-share-entry
fix(webpack): add missing share.js entry point
2025-01-25 23:42:41 +07:00
Elian Doran e1a095d111
Merge pull request #1045 from TriliumNext/chore_webpack-config-types
chore(webpack): add Configuration type
2025-01-25 23:41:16 +07:00
Elian Doran 0d82b64ed1
Merge pull request #1033 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.13.1
2025-01-25 23:40:13 +07:00
Elian Doran 395aee5657
Merge pull request #1038 from TriliumNext/renovate/electron-forge-monorepo
chore(deps): update electron-forge monorepo to v7.6.1
2025-01-25 23:39:28 +07:00
Elian Doran 20f2fa3135
Merge pull request #1039 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.0.4
2025-01-25 23:38:15 +07:00
Elian Doran 24d4375552
Merge pull request #1040 from TriliumNext/renovate/i18next-http-backend-3.x
fix(deps): update dependency i18next-http-backend to v3.0.2
2025-01-25 23:37:40 +07:00
Elian Doran bc901a1cf6
Merge pull request #1041 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.50.0
2025-01-25 23:37:10 +07:00
Elian Doran f3219da749
Merge pull request #1032 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34.0.1
2025-01-25 23:35:38 +07:00
Panagiotis Papadopoulos 2031029076 chore(webpack): add Configuration type
-> allows for intellisense in e.g. VSCode
2025-01-25 11:31:46 +07:00
Adorian Doran 2f5ac6d114 client: mark the check boxes and radio buttons that should use the new style 2025-01-24 22:55:12 +07:00
Elian Doran 577c61b0d1
Merge pull request #1042 from j9t/refactor/images
refactor: compress images
2025-01-24 22:52:28 +07:00
Adorian Doran fa867cd75d Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-24 22:48:21 +07:00
Adorian Doran 97295e959b style(next): fall back to the user agent's default check boxes and radio buttons if the ":has" selector is not supported 2025-01-24 22:45:58 +07:00
Adorian Doran 41ef47576d client: mark the check boxes and radio buttons that should use the new style 2025-01-24 22:35:45 +07:00
Adorian Doran ed201ff9a4 style(next): use the new check box and radio button style only for the elements using the "tn-checkbox" and "tn-radio" CSS classes 2025-01-24 22:35:08 +07:00
Panagiotis Papadopoulos b7f8f00a14 fix(webpack): add missing share.js entry point 2025-01-24 19:30:07 +07:00
Jens Oliver Meiert 2d86d9a7c0 refactor: compress images (losslessly, with Imagemin Guard)
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
2025-01-24 15:16:05 +07:00
Adorian Doran b43c85157b client: mark the links that should use the new style 2025-01-24 10:49:14 +07:00
Adorian Doran 03e7f4b991 style(next): links: add light / dark theme support 2025-01-24 10:21:50 +07:00
Adorian Doran d6cb2a3751 style(next): links: fix hover state artifacts on Chromium-based browsers 2025-01-24 10:14:18 +07:00
Panagiotis Papadopoulos 8472e44fe6 chore(docker_healthcheck): remove now unused imports 2025-01-24 07:46:39 +07:00
Panagiotis Papadopoulos 2c2a404056 feat(services/config): rename syncProxy to syncServerProxy for naming consistency
backwards compatibility ensured, by still checking the iniConfig for the old value first
2025-01-24 07:45:47 +07:00
renovate[bot] 37cdb2fe5e
chore(deps): update dependency @playwright/test to v1.50.0 2025-01-24 01:20:16 +07:00
renovate[bot] ec6b5cda80
fix(deps): update dependency i18next-http-backend to v3.0.2 2025-01-24 01:20:05 +07:00
renovate[bot] 3cfdc6dac7
chore(deps): update vitest monorepo to v3.0.4 2025-01-24 01:19:57 +07:00
renovate[bot] d35bdfa402
chore(deps): update electron-forge monorepo to v7.6.1 2025-01-24 01:19:45 +07:00
renovate[bot] c56eb9a8a1
chore(deps): update dependency @types/ws to v8.5.14 2025-01-24 01:19:25 +07:00
Panagiotis Papadopoulos 9cca9fe074 feat(config-sample): add Sync config block to config-sample
commented out
2025-01-24 00:12:50 +07:00
perf3ct 5c7c995504 feat: have docker_healthcheck use correct config 2025-01-24 00:06:50 +07:00
Panagiotis Papadopoulos 3fc9a10ab6 refactor(services/sync_options): get rid of process.env query
this is now handled in config.ts already
2025-01-24 00:03:50 +07:00
Panagiotis Papadopoulos 8778ca5f6c fix(services): fix type errors 2025-01-24 00:02:45 +07:00
Panagiotis Papadopoulos 85c6764864 feat(services/config): add Sync config block and fallback values
original idea of using config-sample.ini for default values
is not backwards compatible unfortunately

fallback values taken from config-sample.ini and directly from other code in this codebase, where these values were set
2025-01-23 23:58:46 +07:00
Panagiotis Papadopoulos c7bd5e2c67 feat(services/config): add TriliumConfig Type 2025-01-23 23:50:16 +07:00
renovate[bot] a313b96ff8
chore(deps): update node.js to v22.13.1 2025-01-23 20:17:47 +07:00
Panagiotis Papadopoulos edeaca6d1f feat(services/config): add missing config values
these are used in the codebase, but are not defined in the sample.ini
2025-01-23 20:32:45 +07:00
Panagiotis Papadopoulos 279aa156cf feat(services/config): add possibility to read config from ENV
envToBoolean used to turn "string booleans" into JS booleans
2025-01-23 20:23:31 +07:00
Panagiotis Papadopoulos c0327bf8e2 feat(server/utils): add envToBoolean helper function
turns "true" / "false" strings from a process.env property into actual boolean values or undefined
2025-01-23 20:18:05 +07:00
Elian Doran f672747cfc
chore(build): bump sync version 2025-01-23 16:52:22 +07:00
renovate[bot] 8150e394a4
chore(deps): update dependency electron to v34.0.1 2025-01-23 01:33:28 +07:00
Adorian Doran 0f2fcebe40 client: mark the links that should use the new style 2025-01-23 01:28:35 +07:00
Adorian Doran f4d2c5a2d2 client: mark the links that should use the new style 2025-01-23 01:12:05 +07:00
Adorian Doran 027649213a style(next): create a new style for links 2025-01-23 00:47:14 +07:00
Adorian Doran b0014de365 Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-22 23:48:29 +07:00
Elian Doran 25dcc35b3b
Merge pull request #1030 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.0.3
2025-01-22 23:43:20 +07:00
Elian Doran 0b0fcc0685
Merge pull request #1021 from TriliumNext/chore_move-generate-documents
chore: move generate_documents  to bin folder
2025-01-22 23:42:45 +07:00
Elian Doran 4203a1160e
Merge pull request #1018 from TriliumNext/fix_server-build
fix: fix server build not running due to missing file
2025-01-22 23:39:09 +07:00
Elian Doran 16b5eef650
Merge pull request #1017 from TriliumNext/feature/map_note_type
Map note type
2025-01-22 23:34:44 +07:00
Elian Doran 9e2c592383
feat(geomap): set default position 2025-01-22 23:18:22 +07:00
Elian Doran a8e2c2901b
fix(geomap): error in creating empty map 2025-01-22 23:09:56 +07:00
Elian Doran 7a3a5141af
fix(geomap): not working on electron 2025-01-22 23:08:25 +07:00
Elian Doran 474ae481b6
Merge branch 'develop' into feature/map_note_type 2025-01-22 22:50:38 +07:00
Elian Doran 0288ebcad9
feat(context_menu): dismiss note tooltip when a context menu is shown 2025-01-22 22:24:42 +07:00
Elian Doran d814a4d49f
chore(i18n): translate geo map messages 2025-01-22 22:12:25 +07:00
Elian Doran 5a40d3f020
fix(build): build errors 2025-01-22 21:55:42 +07:00
Elian Doran e06db0038f
fix(geomap): display again note tooltip 2025-01-22 21:49:23 +07:00
Elian Doran 9b1279ce14
feat(geo_map): add option to open location 2025-01-22 21:07:40 +07:00
Elian Doran 47b02da021
feat(geo_map): add back open context menu 2025-01-22 20:02:20 +07:00
Elian Doran 2e1ad24584
feat(geo_map): add option to remove from map 2025-01-22 19:33:53 +07:00
Adorian Doran 84c03c214e Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-22 19:28:26 +07:00
Elian Doran dbd38ecedf
fix(geo_map): markers no longer rendering after clicking on a link 2025-01-22 18:57:09 +07:00
renovate[bot] cd22102dab
chore(deps): update vitest monorepo to v3.0.3 2025-01-22 00:25:19 +07:00
Adorian Doran 455bb38865 client: switch widget: refactor 2025-01-22 01:30:10 +07:00
Adorian Doran d4ef84e0b7 client: switch widget: handle the disabled state 2025-01-22 01:24:09 +07:00
Adorian Doran 356c0570f3 client: switch widget: improve appearance 2025-01-22 00:48:25 +07:00
Adorian Doran 7f78504223 style(next): improve the matching of check boxes and radio buttons that have to be restyled 2025-01-21 23:46:27 +07:00
Elian Doran ac262228f0
feat(geomap): note preview on tooltip 2025-01-21 22:10:20 +07:00
Adorian Doran ec0d7c0835 client: switch widget: redo the switch style 2025-01-21 21:59:08 +07:00
Elian Doran 65553250b5
fix(geomap): dismissing add with any key 2025-01-21 21:50:32 +07:00
Elian Doran 31491b957b
feat(geomap): use persistent notification 2025-01-21 21:29:02 +07:00
Elian Doran b813b107a8
chore(geomap): change attribute to `geolocation` 2025-01-21 21:18:41 +07:00
Elian Doran dc7dd51913
refactor(geomap): simplify changing state 2025-01-21 21:06:36 +07:00
Elian Doran be4ee4c173
feat(geomap): dismiss adding with escape 2025-01-21 21:03:27 +07:00
Elian Doran c2cb07ed08
feat(geomap): dismiss creation if dialog is dismissed 2025-01-21 20:40:19 +07:00
Elian Doran d1aa0e5f50
feat(geomap): invert note creation workflow 2025-01-21 20:38:31 +07:00
Elian Doran 259dcdb568
feat(geomap): set custom icon for notes created from within the map 2025-01-21 19:53:23 +07:00
Elian Doran 6b906a91d7
feat(geomap): add labels to markers 2025-01-21 19:33:12 +07:00
Elian Doran 08722d5935
feat(geomap): add shadow to marker 2025-01-21 19:10:35 +07:00
Elian Doran 1be3492f67
style(geomap): improve alignment for marker icon 2025-01-21 19:02:36 +07:00
Elian Doran 016a9e4a99
fix(geomap): pixel perfect marker positioning 2025-01-21 19:01:22 +07:00
Elian Doran 087d4790f4
feat(geomap): setup marker based on note icon 2025-01-21 18:53:36 +07:00
Elian Doran b2a5f06646
feat(geomap): enable autopan for dragging markers 2025-01-21 15:39:20 +07:00
Elian Doran 04367de112
fix(geomap): duplicate markers 2025-01-21 14:23:59 +07:00
Elian Doran 3281bb8e9f
feat(geomap): allow dragging 2025-01-21 14:17:04 +07:00
Elian Doran fed0598b47
feat(geomap): adjust cursor when adding new note 2025-01-21 13:46:18 +07:00
Adorian Doran 8bdc5c9fea client: switch widget: prevent the check box to become out of sync with the switch toggle status 2025-01-21 05:11:34 +07:00
Adorian Doran 039112f106 client: switch widget: refactor 2025-01-21 04:49:07 +07:00
Adorian Doran 76b99a00f4 client: switch widget: use a simpler HTML structure and refactor its internals 2025-01-21 04:21:01 +07:00
Panagiotis Papadopoulos 05b433d44e test(import/utils): remove leftover unused type 2025-01-21 00:33:45 +07:00
Panagiotis Papadopoulos 2296d1a6ba refactor(import/utils.handleH1): simplify handleH1 2025-01-21 00:25:46 +07:00
Panagiotis Papadopoulos 1de9bc7c6f fix(import/utils.handleH1): fix stripping of all <h1> tags that match title
now it will only strip the very first tag that if it matches the title,
otherwise it gets turned into a h2 tag

fixes #1016
2025-01-21 00:04:05 +07:00
Panagiotis Papadopoulos e1c949aa10 test(import/utils): add test for #handleH1/rework previous tests 2025-01-20 23:57:51 +07:00
Panagiotis Papadopoulos ba91082115 test(import/utils): add test for extractHtmlTitle 2025-01-20 23:04:16 +07:00
Elian Doran ef5b2d60f3
fix(geomap): multiple clicks creating multiple markers 2025-01-20 23:54:22 +07:00
Panagiotis Papadopoulos 1d03818337 chore(generate_documents): add note about script being broken currently 2025-01-20 22:54:12 +07:00
Elian Doran 986a1c25be
feat(geomap): reload markers after adding a new note 2025-01-20 23:53:52 +07:00
Elian Doran f76b454d5a
feat(geomap): load markers at startup 2025-01-20 23:27:32 +07:00
Elian Doran a3f257f3c5
feat(geomap): set location after creating a note 2025-01-20 23:14:31 +07:00
Elian Doran 2582924046
feat(geomap): add prompt for creating child note 2025-01-20 22:50:36 +07:00
Panagiotis Papadopoulos 3206a7fe73 chore: move generate_documents to bin folder
this file is never called in production code and wouldn't even run, even if it was:
the `lorem-ipsum` dependency is in devDependencies, so never gets installed in
any dist builds

move the file to a place where it makes more sense and avoid it getting packaged
without any reason.
2025-01-20 21:46:25 +07:00
Elian Doran f803b9f822
feat(geomap): add floating button section 2025-01-20 22:39:48 +07:00
Elian Doran 4d5e04fc5a
feat(geomap): save & restore zoom 2025-01-20 22:21:59 +07:00
Elian Doran f66f437c8e
feat(geomap): restore view coordinates 2025-01-20 22:19:07 +07:00
Elian Doran 5cefd4f50a
feat(mindmap): save view center coordinates 2025-01-20 21:28:04 +07:00
Panagiotis Papadopoulos 8f09b6a192 fix: fix server build not running due to missing file
as discussed in #1010 – quick & dirty fix by copying over the file into the server side of things
Comment added to both files, about deduplication in the future

fixes #1010
2025-01-20 20:15:39 +07:00
Elian Doran 278870e06a
Merge pull request #1014 from TriliumNext/refactor_import-mime
refactor: refactor and add tests for `services/import/mime`
2025-01-20 20:53:39 +07:00
Elian Doran d2c2d945aa
Merge pull request #1015 from TriliumNext/test_fix-flaky-getPlatformAppDataDir
test(data_dir): fix flaky getPlatformAppDataDir test on Windows
2025-01-20 20:50:26 +07:00
Elian Doran 2b8ee31be3
refactor(geomap): skip module loader for JS 2025-01-20 20:36:58 +07:00
Panagiotis Papadopoulos ca8146413a test(data_dir): fix flaky getPlatformAppDataDir test on Windows
Delete the provided process.env.APPDATA on Windows, so that we can use our own values (one of which is "undefined", which was causing the getPlatformAppDataDir to fallback to the "real" process.env.APPDATA
-> causing failing test, when run on Windows
2025-01-20 18:57:43 +07:00
Elian Doran eca3955dc2
feat(geomap): add basic layer 2025-01-20 19:20:59 +07:00
Elian Doran 94a0403981
feat(geomap): load leaflet 2025-01-20 19:18:29 +07:00
Elian Doran e1952fe6b8
feat(geomap): create geomap note type 2025-01-20 18:45:56 +07:00
Adorian Doran 8f612f4683 style(next): properly handle disabled check boxes and radio buttons 2025-01-20 17:09:01 +07:00
Panagiotis Papadopoulos 4be675c4e1 test(import/mime): add additional test case for getMime 2025-01-20 08:36:11 +07:00
Panagiotis Papadopoulos 4e59f58ce6 refactor(import/mime): simplify getMime 2025-01-20 08:36:11 +07:00
Panagiotis Papadopoulos 6a0edb68de refactor(import/mime): simplify getType 2025-01-20 08:36:11 +07:00
Panagiotis Papadopoulos 91ae4b629e refactor(import/mime): simplify normalizeMimeType 2025-01-20 08:36:11 +07:00
Panagiotis Papadopoulos 815929c376 refactor(import/mime): split CODE_MIME_TYPES Record into two separate objects
CODE_MIME_TYPES -> as a Set -> as we only care about the existance of those types
CODE_MIME_TYPES_OVERRIDE -> as a Map with those keys and the "overwrite" values as associated value

-> this way  we don't have to unnecessarily store additional boolean values for everything *but* those hand ful of mime types

-> also I've sorted the items alphabetically, while I was at it
2025-01-20 08:36:11 +07:00
Panagiotis Papadopoulos 1405e22f89 test(import/mime): add tests 2025-01-20 08:36:11 +07:00
Elian Doran 7f15f8a7de
fix(mindmap): save direction as soon as it is changed (closes #986) 2025-01-19 23:48:30 +07:00
Elian Doran b47dc13ff1
fix(mindmap): regression on new mindmap 2025-01-19 23:38:20 +07:00
Elian Doran 9820e8aa12
fix(mindmap): use dynamic import instead of static one 2025-01-19 23:34:57 +07:00
Elian Doran fb0dda982f
fix(mindmap): restore direction 2025-01-19 23:30:07 +07:00
Elian Doran 0292489001
Merge pull request #1004 from TriliumNext/test_simplify-data-dir
test(services/data_dir): simplify getPlatformAppDataDir
2025-01-19 23:14:19 +07:00
Elian Doran 55ce7aac10
Merge remote-tracking branch 'origin/develop' into test_simplify-data-dir 2025-01-19 23:13:56 +07:00
Elian Doran f36ec9b018
Merge pull request #1008 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.8.1
2025-01-19 23:13:28 +07:00
Elian Doran 632cfb3b7f
Merge pull request #954 from TriliumNext/renovate/better-sqlite3-11.x
fix(deps): update dependency better-sqlite3 to v11.8.1
2025-01-19 23:13:11 +07:00
Elian Doran 24475255d9
Merge pull request #1009 from TriliumNext/renovate/react-monorepo
fix(deps): update react monorepo
2025-01-19 23:11:34 +07:00
Elian Doran b913e4e090
Merge pull request #1012 from TriliumNext/fix_webpack-warning
fix(utils/dynamicRequire): get rid of Webpack Critical dependency warning
2025-01-19 15:59:15 +07:00
Panagiotis Papadopoulos d56752e5a9 fix(utils/dynamicRequire): pass moduleName explicitly as string
fixes the Webpack warning:
"WARNING in ./src/public/app/services/utils.ts 249:15-34
Critical dependency: the request of a dependency is an expression"

as we now explicitly pass the moduleName as string and not "expression"
source:
https://stackoverflow.com/questions/42908116/
2025-01-19 12:57:27 +07:00
renovate[bot] 5ddd88ee55
fix(deps): update dependency better-sqlite3 to v11.8.1 2025-01-19 04:47:01 +07:00
renovate[bot] 66ad3779df
fix(deps): update react monorepo 2025-01-19 00:47:03 +07:00
renovate[bot] 6443b2ea66
fix(deps): update dependency better-sqlite3 to v11.8.1 2025-01-19 00:46:36 +07:00
Elian Doran 9025516806
Merge pull request #1006 from TriliumNext/chore_move-test-files
chore: clean up and move test files next to actual files
2025-01-18 23:49:02 +07:00
Panagiotis Papadopoulos c9619e1a1b chore(tests): fix type error in `data_dir.spec` 2025-01-18 20:45:01 +07:00
Panagiotis Papadopoulos 121e7b33ec chore(tests): comment out "todo" code in `attribute_parser.spec`
we now have more stricter TS rules being applied to the spec files, so `tsc` fails with these now.
and since this is set to TODO, because of outdated code,
let's comment out, instead of using //@ts-expect-error
2025-01-18 20:32:40 +07:00
Panagiotis Papadopoulos 67ee3c30fb chore(tests): remove useless test stub 2025-01-18 20:24:43 +07:00
Panagiotis Papadopoulos 09e0805d16 chore(tests): remove playwright demo spec
as discussed here:
https://github.com/orgs/TriliumNext/discussions/925#discussioncomment-11870786
2025-01-18 20:22:33 +07:00
Panagiotis Papadopoulos 627b2faf0b chore(tests): move remaining valid tests next to actual files 2025-01-18 20:20:30 +07:00
Panagiotis Papadopoulos f803bd6140 chore(tests): move becca_mocking to `spec/support` 2025-01-18 20:16:02 +07:00
Panagiotis Papadopoulos 49246ee456 chore(tests): move tests next to actual file 2025-01-18 20:15:29 +07:00
Adorian Doran 5ad4092cb2 Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-18 20:23:16 +07:00
Panagiotis Papadopoulos 0ccf91721d test(services/data_dir): simplify getPlatformAppDataDir
use the new available mocks to make tests a tiny bit more simpler :-)
2025-01-18 19:17:00 +07:00
Elian Doran 658317799d
feat(options_init): enable fixed editing toolbar by default for new users 2025-01-18 19:38:41 +07:00
Elian Doran 5899ba9a57
Revert "feat(options_init): enable horizontal layout by default for new users"
This reverts commit 637d1df0f5.
2025-01-18 19:37:09 +07:00
Elian Doran ef1ab56f51
chore(i18n): translate two more messages in Romanian 2025-01-18 19:20:49 +07:00
Elian Doran 637d1df0f5
feat(options_init): enable horizontal layout by default for new users 2025-01-18 19:16:26 +07:00
Elian Doran 4e9aafc919
fix(demo): broken TODOs (closes #984) 2025-01-18 19:02:02 +07:00
Elian Doran 0a0707434e
feat(mobile): allow resetting launch bar config 2025-01-18 18:49:36 +07:00
Elian Doran 1369cd8b16
feat(client): implement move to available/visible launchers on mobile as well 2025-01-18 18:45:13 +07:00
Elian Doran b367862fe8
fix(client): launch bar move commands not working (fixes #989) 2025-01-18 18:02:26 +07:00
Elian Doran 3090233078
Merge pull request #998 from TriliumNext/test_data-dir-getTriliumDataDir
test(data_dir): add missing getTriliumDataDir tests
2025-01-18 17:04:28 +07:00
Elian Doran 981e105de8
Merge pull request #999 from TriliumNext/test_fix-search-spec-msg
test(spec/search): fix expect error message printing
2025-01-18 17:03:25 +07:00
Panagiotis Papadopoulos c5d4df11a5 test(spec/search): fix expect error message printing
adjusted message to be printed correctly and adjusted wording ->
previously it was printing "[object object]",
since we are dealing with an  array of objects
2025-01-18 13:55:27 +07:00
Panagiotis Papadopoulos cbc10e1f15 chore(prettier): fix data_dir.spec.ts 2025-01-18 13:21:45 +07:00
Panagiotis Papadopoulos dba0ef4945 test(services/data_dir): make test descriptions a bit more readable 2025-01-18 13:21:45 +07:00
Panagiotis Papadopoulos 31fb8eb3d3 test(services/data_dir): add getTriliumDataDir tests
since we *need* mocks to tests getTriliumDataDir, I had to change a bit the setup structure of the tests as well -> functions needs to be
imported dynamically *after* the mocks are registered
2025-01-18 13:21:45 +07:00
Elian Doran c7e688b6e6
chore(client/ts): port left_pane_container 2025-01-18 12:56:00 +07:00
Elian Doran 8e3faffd35
fix(left-pane): preferred width is not restored (closes #990) 2025-01-18 12:54:59 +07:00
Elian Doran 148e166f5e
fix(electron): mime type not always checkable in settings 2025-01-18 12:44:51 +07:00
Elian Doran 0ae5453717
feat(settings): disable unchecking of plain text mime 2025-01-18 12:36:23 +07:00
Elian Doran 0a611ac4bb
fix(settings): list of mime types disappearing one by one (fixes #988) 2025-01-18 12:33:18 +07:00
Elian Doran 54654322e2
chore(github): treat libraries as vendored 2025-01-18 11:22:17 +07:00
Elian Doran eaacdb57d1
fix(build): add back copying canvas dist files 2025-01-18 11:19:35 +07:00
Elian Doran f2382e2ef5
refactor(canvas): solve API deprecation 2025-01-18 11:15:54 +07:00
Elian Doran 7d3f506efb
refactor(deps): use webpack import for canvas 2025-01-18 11:09:57 +07:00
Elian Doran ab65913e52
Merge pull request #980 from TriliumNext/renovate/npm-katex-vulnerability
fix(deps): update dependency katex to v0.16.21 [security]
2025-01-18 09:44:05 +07:00
Elian Doran 134c056667
chore(e2e): disable firefox tests for now 2025-01-18 09:42:13 +07:00
renovate[bot] 02250a842f
fix(deps): update dependency katex to v0.16.21 [security] 2025-01-18 00:36:50 +07:00
Elian Doran ac30e00c02
refactor(client): remove redundant variable 2025-01-18 01:24:21 +07:00
Elian Doran 0776f17ebb
chore(types): remove redundant interface 2025-01-18 01:24:04 +07:00
Elian Doran 3db93cdf24
chore(client/ts): port note_icon 2025-01-18 01:14:47 +07:00
Elian Doran 043d92a1ab
feat(revisions): add spacing between help and delete (closes #974) 2025-01-18 01:02:03 +07:00
Elian Doran 5985519570
fix(mobile): tab bar context menu (closes #969) 2025-01-18 00:51:59 +07:00
Elian Doran 7c7fd044c6
chore(client/ts): port canvas 2025-01-18 00:42:19 +07:00
Elian Doran 2167948509
fix(canvas): significant lag when dragging (fixes #967) 2025-01-18 00:14:31 +07:00
Elian Doran 7cf1fbf088
fix(mobile): position of note detail menu (closes #971) 2025-01-18 00:04:06 +07:00
Elian Doran e3bcd75a5a
chore(client/ts): port mobile_detail_menu 2025-01-17 23:55:46 +07:00
Elian Doran 229f473f8b
style(next): alignment of dropdown keyboard shortcuts 2025-01-17 23:47:29 +07:00
Elian Doran 11009a5af8
fix(client): positioning of keyboard shortcuts on legacy theme (closes #685) 2025-01-17 23:46:19 +07:00
Elian Doran fdbc33aa23
fix(client): alignment of "Advanced" option in global menu 2025-01-17 23:43:06 +07:00
Elian Doran d9335bec37
fix(client): shortcuts wrapped on two lines on global menu (closes #976) 2025-01-17 23:37:34 +07:00
Elian Doran 47335062a4
feat(e2e): test going back to share root 2025-01-17 23:21:12 +07:00
Elian Doran fd2779383d
Merge branch 'share-fix' into develop 2025-01-17 23:20:09 +07:00
Elian Doran 59d8def2c5
Merge remote-tracking branch 'origin/develop' into share-fix 2025-01-17 23:19:53 +07:00
Elian Doran 6ea8a31a22
feat(e2e): test going to share root 2025-01-17 23:13:55 +07:00
Elian Doran f96ab6da57
Merge pull request #932 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.20
2025-01-17 23:01:05 +07:00
Elian Doran b376f090d8
fix(e2e): bring back help link tests 2025-01-17 22:58:00 +07:00
Elian Doran b4ff765c5e
chore(e2e): use ControlOrMeta instead of Control 2025-01-17 22:58:00 +07:00
Elian Doran 423bea923c
Merge pull request #979 from perfectra1n/develop
Update build-server.sh and GitHub Actions to build ARM server
2025-01-17 22:54:01 +07:00
Jon Fuller 7e30ab2e06
Update build-server.sh and GitHub Actions to build ARM server 2025-01-17 20:45:00 +07:00
Elian Doran 6452fa123c
Merge branch 'develop' into renovate/katex-0.x 2025-01-17 22:29:58 +07:00
Elian Doran d19e9b4681
fix(test): wrong jasmine-based context 2025-01-17 22:29:44 +07:00
Elian Doran 3f92966976
Merge pull request #938 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.49.0
2025-01-17 22:23:13 +07:00
Elian Doran fec0ae62b7
Merge branch 'develop' into renovate/katex-0.x 2025-01-17 22:22:53 +07:00
Elian Doran 7fc5f9ab83
Merge pull request #977 from pano9000/test_vitest
test: add vitest as test framework and port current tests
2025-01-17 22:22:00 +07:00
Elian Doran 33baf6c917
fix(e2e): bring back katex test 2025-01-17 22:16:08 +07:00
Panagiotis Papadopoulos 6401f35783 chore(deps): update vitest to v3 2025-01-17 20:33:34 +07:00
Elian Doran 4dfe2b4935
Merge branch 'develop' into renovate/force-graph-1.x 2025-01-17 21:25:56 +07:00
Elian Doran dd3397bcbb
chore(client/ts): port note_map 2025-01-17 21:25:36 +07:00
Panagiotis Papadopoulos 8b34c149cc chore: remove unused jasmine.json file 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos fb47ecd747 test(data_dir): fix failing test due to vitest being "stricter" than jasmine 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 9f148750d4 chore(vitest): add additional folders to exclude 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 853a7abc4f test: port data_dir.spec.ts to vitest 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 8faff118b1 chore: update npm test scripts with vitest 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 33274ada65 test: port spec tests to vitest 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 6be7109ce3 test: add initial, basic vitest.config.ts 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 0ed06e76c3 test: delete now unused mini_test.ts 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 186f17ec3e chore: add "coverage" folder to gitignore 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 871ee7989e test: set attribute_parser test to "TODO"
the tests are not correctly calling the `parse` method currently
2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 3f584af171 test: port spec-es6 tests to vitest 2025-01-17 20:24:20 +07:00
Panagiotis Papadopoulos 325a3b6c83 deps: add vitest and @vitest/coverage-v8 2025-01-17 20:24:16 +07:00
Elian Doran e7eb385b8f
refactor(deps): integrate force-graph into webpack 2025-01-17 20:21:52 +07:00
Elian Doran 8d026c8134
feat(e2e): basic test for note map rendering 2025-01-17 20:15:48 +07:00
Elian Doran 7e40200436
chore(deps): remove unnecessary iconsur 2025-01-17 19:53:10 +07:00
Elian Doran 0cee8f9f20
refactor(mermaid): use webpack import for mermaid-elk 2025-01-17 19:53:09 +07:00
renovate[bot] 32c4d7350c
fix(deps): update dependency force-graph to v1.49.0 2025-01-17 17:52:23 +07:00
Elian Doran af1d6540bc
Merge pull request #955 from TriliumNext/renovate/fs-extra-11.x
fix(deps): update dependency fs-extra to v11.3.0
2025-01-17 19:51:42 +07:00
Elian Doran 54bf2ad9ff
feat(e2e): test standard flowchart rendering 2025-01-17 19:19:24 +07:00
Elian Doran 751adf474f
feat(e2e): check ELK flowchart 2025-01-17 19:09:19 +07:00
Elian Doran a1b660cfcd
fix(e2e): mindmap test not being run 2025-01-17 18:49:22 +07:00
Elian Doran 66c367fe21
Merge pull request #947 from TriliumNext/bugfix/dump-db-ivlength
Fix default ivLength in dump-db tool
2025-01-17 18:39:30 +07:00
Elian Doran 3abe5a348f
Merge pull request #965 from pano9000/chore_replace-ts-node
chore: get rid of ts-node
2025-01-17 18:38:35 +07:00
Elian Doran 467852191d
Merge pull request #966 from pano9000/fix_csrf-electron-httpOnly
fix(csrf): add exception for electron for httpOnly cookie
2025-01-17 18:36:02 +07:00
Panagiotis Papadopoulos 9382c278b3 fix(csrf): add exception for electron for httpOnly cookie
it does not seem to like having httpOnly set in electron
2025-01-17 17:26:52 +07:00
Panagiotis Papadopoulos 0e33395c47 chore(deps): remove now unused ts-node 2025-01-17 08:09:42 +07:00
Panagiotis Papadopoulos 00bdcfa803 chore(mermaid-elk): replace loader-register with tsx
unnecessary "cross-env" also removed, as it wasn't even
used to set any env variables
2025-01-17 08:05:42 +07:00
Panagiotis Papadopoulos 331dae4eb0 chore: delete unused loader-register file 2025-01-17 08:02:26 +07:00
Adorian Doran faa4a5fcd8 client: update the markup for the "Available MIME types" check boxes 2025-01-17 01:36:54 +07:00
Adorian Doran e8f6f68987 style(next): disable text selection for check boxes and radio buttons 2025-01-17 01:24:34 +07:00
Adorian Doran 07dd8995b6 style(next): overhaul the check / uncheck animation for radio buttons 2025-01-17 01:22:09 +07:00
Adorian Doran 4c84bc724d style(next): refactor 2025-01-17 01:06:25 +07:00
Adorian Doran 2773d560b9 style(next): enforce left padding for radios and check boxes 2025-01-17 01:00:19 +07:00
Adorian Doran a2a9bee7eb style(next): rename some variables 2025-01-17 00:58:11 +07:00
Panagiotis Papadopoulos 748e30b63c chore(scripts): use `tsx` for webpack 2025-01-16 23:52:51 +07:00
Adorian Doran 398591fb1f style(next): restyle check boxes 2025-01-17 00:51:26 +07:00
Panagiotis Papadopoulos 76a0bffcc3 chore(scripts): remove unnecessary cross-env 2025-01-16 23:08:57 +07:00
Adorian Doran fe539b1647 style(next): tweak the colors of the radio buttons 2025-01-16 23:39:18 +07:00
Caleb Norton b8f15d2fe3
Fix parent share link 2025-01-16 15:28:30 +07:00
Elian Doran b2e1a3e97a
Merge pull request #961 from pano9000/fix-csrf-settings
fix(csrf): set more secure csrf related settings
2025-01-16 23:03:43 +07:00
Panagiotis Papadopoulos 5f605b3a91 fix(csrf): set more secure cookieOptions settings
- `sameSite` - previous setting inherited from csurf was to simply not set it at all, which makes all browser nag in their dev console output.
They will default to "Lax" for these type of cookies in the future.
We can even use "strict" here though for our use case:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#samesitesamesite-value

- `httpOnly`: should be enabled for the csrf cookie as well
for the session cookie it already is enabled.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#httponly
2025-01-16 21:40:12 +07:00
Panagiotis Papadopoulos ec19ccd7a7 fix(csrf): stop leaking the CSRF token in the server logs
As per OWASP:
"A CSRF token must not be leaked in the server logs or in the URL.", see:
https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#transmissing-csrf-tokens-in-synchronized-patterns
2025-01-16 21:16:33 +07:00
Elian Doran 283a12b0d5
Merge pull request #960 from pano9000/fix_csrf-csrf_existing_cookie
fix(csrf): fix handling of existing _csrf cookies
2025-01-16 21:53:09 +07:00
Panagiotis Papadopoulos 139bf3dcdf fix(csrf): use generateCsrfToken with more "user friendly" settings
fixes the case, where existing TriliumNext users, will get
a "Invalid CSRF Token" Message, when they have an older
_csrf token in their cookies from a previous installation/visit.
the settings now will handle these cases in the background automatically.

also fixes #950
2025-01-16 20:14:23 +07:00
Panagiotis Papadopoulos 6dd8ab31d5 refactor(csrf): export generateToken utility 2025-01-16 20:14:23 +07:00
Panagiotis Papadopoulos e3d89ce2a5 refactor(csrf): move csrf to own file 2025-01-16 20:14:23 +07:00
Adorian Doran 15dbaf441d style(next): restyle radio buttons 2025-01-16 18:51:35 +07:00
Elian Doran edc6b983ac
Merge remote-tracking branch 'origin/master' into develop 2025-01-16 18:36:35 +07:00
Elian Doran d684440c1f
fix(client): undefined entity in some cases 2025-01-16 18:36:29 +07:00
Elian Doran 1e182f5820
chore(client/ts): port mermaid 2025-01-16 18:20:23 +07:00
Elian Doran 5ca876ca62
fix(mobile): force grouping in editing toolbar 2025-01-16 16:41:52 +07:00
Elian Doran 187ef60350
feat(mobile): disable overscroll for toolbar 2025-01-16 16:32:47 +07:00
Elian Doran 706b011b23
feat(mobile): enforce classic editor 2025-01-16 16:29:51 +07:00
Elian Doran 6f2538a070
feat(mobile): hide editing toolbar on non-text note 2025-01-16 16:14:37 +07:00
Elian Doran 6caddc8004
fix(mobile): position of editing toolbar on tablet mode 2025-01-16 16:09:11 +07:00
Elian Doran 0cab891d2e
chore(client/ts): port classic_editor_toolbar 2025-01-16 15:51:58 +07:00
Elian Doran 1d6e3af9aa
fix(mobile): position of editing toolbar 2025-01-16 15:48:56 +07:00
Elian Doran c8b745bc6a
Merge pull request #952 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.7
2025-01-16 10:49:07 +07:00
Elian Doran d1be673763
Merge pull request #953 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.8.0
2025-01-16 10:45:59 +07:00
Elian Doran 2fbfc9d668
Merge pull request #946 from TriliumNext/renovate/electron-34.x
chore(deps): update dependency electron to v34
2025-01-16 10:43:33 +07:00
Nriver 5ea3e67dc3 remove unused param 2025-01-16 14:18:01 +07:00
Nriver 4b7445be8e fix compatibility for old encrypted data 2025-01-16 14:01:59 +07:00
renovate[bot] a9570965f1
fix(deps): update dependency fs-extra to v11.3.0 2025-01-16 00:57:03 +07:00
renovate[bot] b77f8aeb43
fix(deps): update dependency better-sqlite3 to v11.8.0 2025-01-16 00:56:43 +07:00
renovate[bot] 01b88c52ef
chore(deps): update dependency @types/node to v22.10.7 2025-01-16 00:56:32 +07:00
Elian Doran 4c451753bc
chore(build): remove redundant npx 2025-01-15 19:11:26 +07:00
Elian Doran 7076c4cbd6
chore(deps): update better-sqlite3 to 11.8.0 2025-01-15 19:11:05 +07:00
Nriver 9d32cd36ee Fix default ivLength in dump-db tool 2025-01-15 10:16:04 +07:00
renovate[bot] 0eab68e8d1
chore(deps): update dependency electron to v34 2025-01-15 02:07:18 +07:00
Adorian Doran edd39ad0db style(next): fix the quick search box 2025-01-15 02:59:55 +07:00
Adorian Doran c2dbf0a463 style(next): fix the note title text box 2025-01-15 02:44:28 +07:00
Adorian Doran 896d7a383b style(next): tweak combo boxes 2025-01-15 02:31:49 +07:00
Adorian Doran a184d5bb26 client: use combo box-like dropdown buttons in the "Basic Properties" widget 2025-01-15 02:14:56 +07:00
Adorian Doran 0339d83434 style(next): create a style for dropdown buttons to mimic combo boxes 2025-01-15 02:11:17 +07:00
Adorian Doran f7efc033e1 style(next): fix broken states on textareas 2025-01-15 01:28:18 +07:00
Elian Doran 7dfeb20678
Merge pull request #936 from pano9000/fix_views-deprecated-meta-tag
fix(views): replace deprecated meta tag
2025-01-14 23:51:46 +07:00
Elian Doran 155900929f
Merge pull request #945 from hasecilu/i18n/Spanish
Update Spanish translation
2025-01-14 23:19:46 +07:00
Adorian Doran cb65591004 style(next): tweak the group header for combo box items 2025-01-14 22:39:30 +07:00
Adorian Doran 40b95325dd style(next): tweak the combo box arrow 2025-01-14 22:10:06 +07:00
Adorian Doran 99a6e65d15 style(next): update the colors of combo boxes 2025-01-14 21:40:05 +07:00
hasecilu 3486e566ae
chore(code): be more explicit on config for json files
To avoid changing end line character of translation files
2025-01-14 13:26:40 +07:00
hasecilu 7f9e42abbd
chore(i18n): update Spanish translation 2025-01-14 13:26:39 +07:00
Elian Doran c1211647ab
Merge pull request #940 from pano9000/chore_npm-script-start-test-server
chore(scripts): update `start-test-server` script
2025-01-14 21:26:09 +07:00
Elian Doran 8a7a607fcb
Merge pull request #926 from pano9000:refactor_backend_log
refactor(backend_log): improve `getBackendLog`
2025-01-14 20:41:29 +07:00
Elian Doran 3f612a1b70
Merge pull request #864 from pano9000/refactor_replace-csurf
refactor: replace csurf with csrf-csrf
2025-01-14 20:33:29 +07:00
Elian Doran c8c501d717
Merge branch 'develop' into refactor_replace-csurf 2025-01-14 20:32:52 +07:00
Elian Doran 7dabe33eb2
chore(git): mark root package-lock as auto-generated 2025-01-14 20:32:30 +07:00
Elian Doran eb1af98830
Merge pull request #880 from pano9000/refactor_data_dir
refactor(data_dir): simplify logic and make code robust and testable
2025-01-14 20:20:32 +07:00
Elian Doran 3c0e4b842a
Merge pull request #941 from process/ck-logging
Add server logging for CKEditor state changes
2025-01-14 20:18:06 +07:00
Elian Doran 73053a8728
Merge pull request #928 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.3.6
2025-01-14 20:15:24 +07:00
Elian Doran f478985761
chore(ci): define relations between dev jobs 2025-01-14 20:09:16 +07:00
Elian Doran 0221039ebe
fix(client/ts): fix build errors & define command to event bridge 2025-01-14 20:08:57 +07:00
Elian Doran ef28445de6
Merge pull request #935 from pano9000/fix_deps-update-deprecated-electron
fix(deps): update deprecated electron packages
2025-01-14 19:23:44 +07:00
Elian Doran acf34addf4
Merge pull request #937 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.6
2025-01-14 19:22:57 +07:00
Elian Doran cf2535cb92
Merge branch 'develop' into renovate/mind-elixir-4.x 2025-01-14 19:22:34 +07:00
Elian Doran 73719407ba
Merge pull request #929 from TriliumNext/renovate/ts-loader-9.x
fix(deps): update dependency ts-loader to v9.5.2
2025-01-14 19:22:18 +07:00
Elian Doran 331b2252f2
chore(e2e): rename incorrect test suite 2025-01-14 19:19:46 +07:00
Elian Doran 580bebb4a3
chore(client/ts): port mind_map 2025-01-14 19:18:44 +07:00
Elian Doran e16f4a1a71
chore(client/ts): port type_widget 2025-01-14 19:12:29 +07:00
Elian Doran 353156e625
fix(mindmap): not working due to dependency change 2025-01-14 18:47:42 +07:00
Elian Doran 62fbf3ffd0
Merge branch 'develop' into renovate/mind-elixir-4.x 2025-01-14 12:38:34 +07:00
Elian Doran 2dfac783ce
fix(ci): conflict in name of playwright report artifact 2025-01-14 11:55:04 +07:00
Justin Chines b173429dc5 Add more logging of CKEditor crashes 2025-01-14 15:39:04 +07:00
Justin Chines 7768511fe6 Add server logging for CKEditor state changes 2025-01-14 15:38:13 +07:00
Panagiotis Papadopoulos 0572f22121 chore(scripts): replace ts-node with nodemon in `start-test-server`
keep the same structure as the other scripts, which all use nodemon.
`ts-node` wasn't even working before, it was throwing an "unknown file extension […] for main.ts" error
2025-01-14 08:31:07 +07:00
Panagiotis Papadopoulos cd69199bb1 chore(scripts): chain commands with && in `start-test-server` 2025-01-14 08:23:16 +07:00
Panagiotis Papadopoulos 26bd26b207 fix(deps): remove explicit @electron/rebuild from devDep
it is not directly used by us anymore, however since
`@electron-forge` depends on it, it still gets installed :-)
2025-01-14 08:14:16 +07:00
Panagiotis Papadopoulos ec65f3a9e4 fix(deps): electron-rebuild => @electron/rebuild 2025-01-14 08:14:16 +07:00
Panagiotis Papadopoulos 45fd6cba49 fix(deps): electron-packager => @electron/packager
major version update, because v17 was not released under
@electron/packager.
breaking changes mentioned below, but we are not affected
as far as I can tell.

https://github.com/electron/packager/releases/tag/v18.0.0
2025-01-14 08:14:16 +07:00
renovate[bot] 42ce80813d
chore(deps): update dependency @types/node to v22.10.6 2025-01-14 01:26:14 +07:00
Adorian Doran 9724b19cd2 style(next): add visual cues for the input action buttons when focused via keyboard 2025-01-14 02:12:26 +07:00
Adorian Doran 707d406ee9 style(next): fix the background of disabled input action buttons 2025-01-14 01:51:18 +07:00
Adorian Doran 26e3c13575 style(next): add states for input action buttons, tweak card background color on dark theme 2025-01-14 01:46:28 +07:00
Adorian Doran f462e7f93b style(next): add the initial style for input groups 2025-01-14 01:30:31 +07:00
Elian Doran 1807b2b031
chore(types): missing import type for JS imports 2025-01-13 23:18:10 +07:00
Panagiotis Papadopoulos 8b91c528aa fix(views): replace deprecated meta tag
`apple-mobile-web-app-capable` =>
`mobile-web-app-capable`

as warned by Chrome and also already implemented by
e.g. Flutter or vercel/Next.js:

https://github.com/vercel/next.js/pull/70363
https://github.com/flutter/flutter/issues/154596
2025-01-13 20:49:53 +07:00
Elian Doran 2fa5955bd5
fix(e2e): port for docker 2025-01-13 21:48:30 +07:00
Adorian Doran 5dd7b2c049 style(next): tweak the inputs wrapped inside input groups 2025-01-13 21:45:56 +07:00
Adorian Doran 9ea7b35e6a style(next): use the text box appearance for text areas as well 2025-01-13 21:23:12 +07:00
Elian Doran 6c886fe3b9
chore(e2e): order around docker test 2025-01-13 21:21:18 +07:00
Adorian Doran 56fb70ab5e style(next): refactor CSS 2025-01-13 21:12:27 +07:00
Elian Doran 093f9d60f0
fix(e2e): flaky test due to timeout 2025-01-13 17:46:57 +07:00
Elian Doran b69cad2298
fix(e2e): leaks if language fails 2025-01-13 17:42:21 +07:00
Elian Doran 89d700d5ed
chore(e2e): use different mechanism for closing all tabs 2025-01-13 17:21:50 +07:00
Adorian Doran 93e740cf36 style(next): restyle text boxes 2025-01-13 14:51:23 +07:00
Elian Doran d24227d718
Merge pull request #933 from pano9000/chore_npx-playwright-script
chore(scripts): add `test-playwright` script to package.json
2025-01-13 11:10:48 +07:00
Panagiotis Papadopoulos bcbf4f4090 chore: fix formatting 2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos 903988fec5 i18n(backend_log): translate messages 2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos dcfdb67539 refactor(backend_log): improve handle 'file not found'
handle errors more "user friendly" and actually
let the user know, that either the file is not
existing (yet), or that reading the log failed.
2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos 67d858441a refactor(backend_log): include filename in log 2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos c4ad84ab06 refactor(backend_log): print error to the log 2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos eb4b5a44df refactor(backend_log): use path.join for log file path 2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos 06ebcc210e refactor(backend_log): use async readFile
using synchronous functions on the backend
is not recommended, as it is "blocking the event loop", i.e. no other tasks get executed/processed,
while the file is being read
2025-01-13 09:21:24 +07:00
Panagiotis Papadopoulos b2e83caf4a chore(scripts): add `test-playwright` script to package.json 2025-01-13 09:11:14 +07:00
Elian Doran b30164ef66
chore(e2e): add missing await to expect 2025-01-13 10:00:13 +07:00
Panagiotis Papadopoulos 5373ef509b chore(prettier): fix code style 2025-01-13 08:28:12 +07:00
Panagiotis Papadopoulos 6818b2d54c style: move "important" funcs to top of file 2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos c47522eb50 refactor(data_dir): pass DIR_NAME as argument to getTriliumDir
makes it a bit cleaner and easier to test in the future,
as it is one thing less that'd need mocking :-)
2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos e021c0cd0e test(data_dir): add tests for getDataDirs 2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos 63079c0939 test(data_dir): add tests for getPlatformAppDataDir 2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos 94b8bcf8c9 refactor(data_dir): export functions to allow for testing 2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos 8b1071c459 refactor(data_dir): export dirs as frozen readonly object
previously exported object allowed the values to be changed
accidentally at runtime and buildtime
2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos 759d24855b style(data_dir): fix indentation 2025-01-13 08:26:07 +07:00
Panagiotis Papadopoulos 7a1e8714af refactor(data_dir): logically order/split cases in getTriliumDataDir
- the blocks now clearly follow the intended logic described in the comments
- I renamed the `getAppDataDir` to more specific `getPlatformAppDataDir`
2025-01-13 08:25:53 +07:00
Panagiotis Papadopoulos 3481c8ba84 refactor(data_dir): use path.join for safer joins
https://nodejs.org/api/path.html#pathjoinpaths
2025-01-13 08:24:04 +07:00
Panagiotis Papadopoulos 8826021c63 refactor(data_dir): add createDirIfNotExisting function
removes some code duplication
2025-01-13 08:24:04 +07:00
Panagiotis Papadopoulos 61a19d5628 refactor(data_dir): add FOLDER_PERMISSION const
gets rid of previously "magic number"
2025-01-13 08:24:01 +07:00
Elian Doran fbfee818b2
fix(ci): directory for e2e tests 2025-01-13 09:11:11 +07:00
renovate[bot] 9b765b458c
fix(deps): update dependency katex to v0.16.20 2025-01-13 00:42:04 +07:00
Elian Doran ffacc1f5f7
chore(e2e): disable reuse of server on CI 2025-01-13 00:08:56 +07:00
Elian Doran e556137a25
feat(ci): run playwright for docker builds 2025-01-13 00:08:43 +07:00
Adorian Doran c9bf752b1f Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-12 23:45:03 +07:00
Elian Doran 9fd8e4d030
fix(e2e): language change breaking other tests 2025-01-12 23:41:27 +07:00
Elian Doran 9b85a101a6
feat(e2e): test note settings 2025-01-12 19:43:29 +07:00
Elian Doran 8dbb5497f1
feat(e2e): test mind map display 2025-01-12 19:34:35 +07:00
Elian Doran 54c5ce9257
chore(e2e): port old test for checking mobile language 2025-01-12 18:05:44 +07:00
Elian Doran c641ce26d1
chore(e2e): port old test for checking desktop language 2025-01-12 17:43:16 +07:00
Elian Doran dc83ba51db
chore(e2e): port old test for changing language 2025-01-12 17:36:10 +07:00
Elian Doran 0db3bfd8ae
feat(e2e): add test for settings translations 2025-01-12 17:28:41 +07:00
Elian Doran 1abc8abee6
fix(e2e): missing method 2025-01-12 17:17:07 +07:00
Panagiotis Papadopoulos ea621ef8e1 chore(prettier): fix code style 2025-01-12 13:30:02 +07:00
Panagiotis Papadopoulos 4cd18441e4 deps: Update package-lock 2025-01-12 13:16:26 +07:00
Panagiotis Papadopoulos d1bd2d2812 refactor(routes/login): remove unused rendering of HTML 2025-01-12 13:13:59 +07:00
Panagiotis Papadopoulos 59ecc614c2 refactor: call logout route via JS
required for csrf-csrf to correctly protect against
CSRF, as it required the _csrf cookie AND the
x-csrf-token HTTP header, the latter cannot be set
via simple Form POST action

using "../login" here, because "server" method is automatically prepending all paths with "/api",
which we don't want here, as we want "/login"
2025-01-12 11:43:41 +07:00
Panagiotis Papadopoulos c36085e580 chore: fix TS warning by type narrowing
`req.csrfToken` might be undefined according to `csrf-csrf`
provided types, so use type narrowing to make sure it exists,
before calling it
2025-01-12 10:22:05 +07:00
Panagiotis Papadopoulos d20a3bab2a fix(csrfMiddleware): use sessionSecret instead
since `cookie-parser` is not configured with a secret,
req.secret is not set and hence is `undefined`,
which then is used as literal 'undefined' in the hashing function – making it less secure.

Instead we can use the existing sessionSecret:
the `csrf-csrf` developer confirmed in their Discord chat,
that it would be ok to use the same secret here.
2025-01-12 10:22:05 +07:00
Panagiotis Papadopoulos b787610717 refactor: replace csurf with csrf-csrf
I've kept the identical same settings as before –
however they are not *ideal* from what I read.
More secure settings will need to be tested a bit more thoroughly first and will be a separate PR.
2025-01-12 10:22:05 +07:00
Panagiotis Papadopoulos 5268aaee4f deps: replace csurf with csrf-csrf 2025-01-12 10:22:05 +07:00
renovate[bot] e3b8de8843
fix(deps): update dependency ts-loader to v9.5.2 2025-01-12 02:27:20 +07:00
renovate[bot] 0cf13ca559
fix(deps): update dependency mind-elixir to v4.3.6 2025-01-12 02:27:09 +07:00
Elian Doran cdf4a7385d
Merge pull request #927 from pano9000/chore_package-lock
deps: update package-lock.json
2025-01-11 22:17:09 +07:00
Elian Doran c2dedc24af
fix(build): webpack config for electron-forge 2025-01-11 18:58:51 +07:00
Elian Doran d8f775608c
feat(editor): enable list styles 2025-01-11 18:26:28 +07:00
Elian Doran b6463bb03a feat(editor): enable list styles 2025-01-11 18:26:14 +07:00
Elian Doran d25812cc3b
fix(docker): not running due to missing file on Alpine 2025-01-11 18:14:23 +07:00
Elian Doran b2ca87d7e8
fix(docker): not running due to missing file 2025-01-11 17:59:41 +07:00
Elian Doran 25e0dc3355
fix(electron): copy dist not working due to missing lib 2025-01-11 17:04:07 +07:00
Elian Doran a8051b06fd
chore(e2e): disable webkit for now 2025-01-11 16:36:24 +07:00
Elian Doran e442906265
chore(e2e): fix flaky tests 2025-01-11 16:22:09 +07:00
Panagiotis Papadopoulos 6885cc1399 deps: update package-lock.json 2025-01-11 14:57:37 +07:00
Elian Doran 9db9d412d9
feat(import/markdown): preserve language tags when possible 2025-01-11 15:22:36 +07:00
Elian Doran 0e67078256
feat(export/md): rewrite JavaScript code block languages 2025-01-11 14:11:18 +07:00
Elian Doran 09f36cac00
chore(e2e): add basic test for highlights list 2025-01-11 13:52:30 +07:00
Elian Doran 1530a09dc8
chore(e2e): check katex is rendered in ToC 2025-01-11 13:41:25 +07:00
Elian Doran b44f4e0f74
chore(e2e): add basic test for table of contents 2025-01-11 13:36:56 +07:00
Elian Doran 74b2643c28
chore(e2e): test eslint errors 2025-01-11 12:54:43 +07:00
Elian Doran db66998107
chore(e2e): test eslint warnings 2025-01-11 12:50:36 +07:00
Elian Doran dcc0e76e57
chore(e2e): add backend scripts with lint errors/warnings 2025-01-11 12:22:50 +07:00
Elian Doran 3f6b604b4e
chore(e2e): set TriliumNext as default theme 2025-01-11 12:20:16 +07:00
Elian Doran 703a70056b
feat(code_notes): reintroduce ESLint for server notes 2025-01-11 12:18:16 +07:00
Elian Doran 05529b84ab
chore(client/ts): port options 2025-01-11 11:45:06 +07:00
Elian Doran 7e61af1cc3
chore(client/ts): port options/text_notes 2025-01-11 11:21:14 +07:00
Elian Doran 677760282c
chore(client/ts): port options/other 2025-01-11 11:18:50 +07:00
Elian Doran 03241a8967
chore(client/ts): port options/images 2025-01-11 11:13:11 +07:00
Elian Doran 6665a8d97f
chore(client/ts): port options/codeNotes 2025-01-11 11:11:57 +07:00
Elian Doran 552cc2753f
chore(client/ts): port options/appearance 2025-01-11 11:02:22 +07:00
Elian Doran 5bfcf88acd
chore(client/ts): port options/advanced 2025-01-11 10:51:35 +07:00
Elian Doran fcb7d9754f
Merge pull request #908 from pano9000/fix_printthis_#901
fix(styles): fix ck-editor checkboxes not showing checkmark while printing
2025-01-11 01:51:51 +07:00
Elian Doran c94346c6b9
chore(client/ts): port widgets/buttons/launcher 2025-01-11 01:46:04 +07:00
Elian Doran 7e00b889a0
chore(client/ts): port api_log 2025-01-11 01:46:04 +07:00
Elian Doran 25cd18f6c8
Merge pull request #913 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.13.0
2025-01-11 01:39:33 +07:00
Elian Doran 4829d7eb14
Merge pull request #915 from TriliumNext/renovate/draggabilly-3.x
fix(deps): update dependency draggabilly to v3
2025-01-11 01:19:01 +07:00
Elian Doran 0494d4f046
Merge pull request #912 from TriliumNext/renovate/electron-33.x
chore(deps): update dependency electron to v33.3.1
2025-01-11 01:13:57 +07:00
Elian Doran 138d9a07a5
Merge branch 'develop' into renovate/draggabilly-3.x 2025-01-11 01:13:30 +07:00
Elian Doran 6ad7792ef3
fix(ci): fix authentication error in playwright 2025-01-11 01:04:20 +07:00
Elian Doran 963247f013
chore(playwright): set up server 2025-01-11 00:55:48 +07:00
Elian Doran 67bfd1dde6
Merge branch 'develop' into renovate/draggabilly-3.x 2025-01-11 00:50:58 +07:00
Elian Doran ab2a4d741d
chore(ci): change playwright triggering conditions 2025-01-11 00:50:18 +07:00
renovate[bot] c7bc24ad02
fix(deps): update dependency draggabilly to v3 2025-01-10 22:46:40 +07:00
Elian Doran 497b6e0e2d
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-01-11 00:45:52 +07:00
Elian Doran 2bad89533f
Merge pull request #914 from TriliumNext/renovate/draggabilly-2.x
fix(deps): update dependency draggabilly to v2.4.1
2025-01-11 00:45:43 +07:00
Elian Doran ec4cc0fc33
chore(e2e): add test for dragging to new window 2025-01-11 00:45:02 +07:00
Elian Doran 13d3429424
chore(e2e): add test for dragging tabs 2025-01-11 00:14:02 +07:00
Elian Doran ef8708ab2b
Merge pull request #911 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.6
2025-01-10 22:05:18 +07:00
Elian Doran e2628c58c5
chore(test): move spec to source dir 2025-01-10 22:04:04 +07:00
Elian Doran 36387deb0d
chore(test): add test for markdown import 2025-01-10 22:03:08 +07:00
Elian Doran b1bb49c8e2
Merge remote-tracking branch 'origin/develop' into renovate/marked-15.x 2025-01-10 21:56:35 +07:00
Elian Doran 21b79119f7
Merge pull request #910 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.2.1
2025-01-10 21:55:53 +07:00
Elian Doran 49675c758a
Merge remote-tracking branch 'origin/develop' into renovate/i18next-24.x 2025-01-10 21:54:32 +07:00
Elian Doran 69fd215471
Merge pull request #916 from TriliumNext/renovate/jsdom-26.x
fix(deps): update dependency jsdom to v26
2025-01-10 21:51:51 +07:00
Elian Doran a05e174640
chore(test): add test for content_renderer#renderCode 2025-01-10 21:49:33 +07:00
Elian Doran f12057f799
Merge remote-tracking branch 'origin/develop' into renovate/jsdom-26.x 2025-01-10 21:30:27 +07:00
Elian Doran f026706e25
chore(test): fix typing errors in parser 2025-01-10 21:21:32 +07:00
Elian Doran 180af2ce30
fix(search): limit from UI not applied (closes #920) 2025-01-10 20:10:41 +07:00
Elian Doran 7ea324bc5b
chore(test): fix circular reference in backend tests 2025-01-10 20:09:49 +07:00
Elian Doran 902c6f87a8
style(next): fix MIca on horizontal layout 2025-01-10 18:44:13 +07:00
Panagiotis Papadopoulos 01515bd580 fix(styles): fix ck-editor checkboxes not showing checkmark while printing
Due to CSS specificity using plain "input[checked]::before" does not
work.

fixes #901
2025-01-10 08:22:36 +07:00
renovate[bot] 2596b474ec
fix(deps): update dependency jsdom to v26 2025-01-10 01:54:33 +07:00
renovate[bot] 10dd4b0c72
fix(deps): update dependency draggabilly to v2.4.1 2025-01-10 01:54:13 +07:00
renovate[bot] b1edafb092
chore(deps): update node.js to v22.13.0 2025-01-10 01:54:01 +07:00
renovate[bot] 4d169582e4
chore(deps): update dependency electron to v33.3.1 2025-01-10 01:53:56 +07:00
renovate[bot] 3039a09e64
fix(deps): update dependency marked to v15.0.6 2025-01-10 01:53:45 +07:00
renovate[bot] 1e548adb28
fix(deps): update dependency i18next to v24.2.1 2025-01-10 01:53:35 +07:00
Elian Doran 3568ea650f
fix(deps): npm audit 2025-01-09 22:50:54 +07:00
Elian Doran eebecc1fa2
fix(deps): typescript to 5.7.3 2025-01-09 22:06:07 +07:00
Elian Doran 652648b563
fix(deps): npm audit 2025-01-09 22:05:20 +07:00
Elian Doran 5111f1760d
chore(client/ts): port tab_row 2025-01-09 20:20:06 +07:00
Elian Doran 2080ce5123
refactor(libs): use webpack instead of hard-coded dependency 2025-01-09 19:23:47 +07:00
Elian Doran 324696bc54
refactor(ts): enable verbatim module syntax 2025-01-09 18:36:24 +07:00
Elian Doran 4cbb529fd4
chore(prettier): fix all files 2025-01-09 18:07:02 +07:00
Elian Doran 19ee861699
chore(prettier): disable single quote & enable bracket spacing 2025-01-09 18:06:58 +07:00
Elian Doran 71f763f39c
Merge pull request #906 from pano9000/chore_prettier-json-tabWidth-override
chore(prettier): add override for *.json tab width to match .editorconfig
2025-01-09 17:56:15 +07:00
Panagiotis Papadopoulos 13feeb0626 chore(prettier): add override for json tabwitdth
use the same value as in the existing .editorconfig
2025-01-09 09:24:10 +07:00
Adorian Doran 0115ea8088 style(next): create a CSS file for form-related styles 2025-01-09 01:23:17 +07:00
Elian Doran 6cedd0381d
Merge pull request #903 from TriliumNext/style/next/restyle-help-dialog-
Style Next: Restyle the help dialog
2025-01-09 00:38:16 +07:00
Elian Doran cefc6685e1
Merge pull request #902 from pano9000/deps_prettier
chore(prettier): add prettier as devDep and scripts
2025-01-09 00:33:20 +07:00
Adorian Doran e8fe290d89 style(next): tweak color 2025-01-09 00:15:59 +07:00
Adorian Doran ffd626d18e style(next): define the dark mode colors 2025-01-09 00:12:31 +07:00
Elian Doran 9f71e573aa
chore(i18n): reach 100% translation for Romanian 2025-01-09 00:04:59 +07:00
Elian Doran eb7164528a
feat(i18n): translate note map buttons 2025-01-09 00:04:09 +07:00
Adorian Doran 4ce2fb701f style(next): refactor 2025-01-09 00:01:02 +07:00
Elian Doran 947a7d1ad4
feat(i18n): translate note tree buttons 2025-01-08 23:54:22 +07:00
Adorian Doran 55048e36e7 style(next): add some translucency to the help dialog 2025-01-08 23:44:57 +07:00
Elian Doran 8fa0269070
feat(mention): allow cancelling mention, fixes #4692 2025-01-08 23:36:39 +07:00
Elian Doran c7fdaee8bc
fix(mentions): regression in attribute autocomplete 2025-01-08 23:21:27 +07:00
Panagiotis Papadopoulos 2dab8b5145 chore: add initial .prettierignore 2025-01-08 22:19:51 +07:00
Panagiotis Papadopoulos d73356e7ec scripts: add prettier scripts 2025-01-08 22:15:04 +07:00
Adorian Doran ad77ff11ad style(next): add a cheat sheet-vibe to the help dialog 2025-01-08 22:32:12 +07:00
Adorian Doran e79c24872b client: add some margins to the help dialog 2025-01-08 22:30:10 +07:00
Adorian Doran c00c01dafb style(next): use distinct formatting for the "Markdown-like autoformatting" card 2025-01-08 22:04:55 +07:00
Adorian Doran c23890594f translations: replace the <kbd> tag with <code> for Markdown examples 2025-01-08 22:02:14 +07:00
Adorian Doran b86cd01169 style(next): turn "Only in desktop" into a subheading 2025-01-08 21:42:21 +07:00
Elian Doran 971be65ba5
feat: display insert footnote as split button 2025-01-08 21:42:03 +07:00
Adorian Doran caf9b92db5 style(next): restyle the help cards 2025-01-08 21:35:43 +07:00
Elian Doran 2a97f9dfdd refactor: use submodule for ckeditor5-footnotes 2025-01-08 21:30:47 +07:00
Elian Doran a8026c9ce3
refactor(editor): use submodule for ckeditor5-footnotes 2025-01-08 21:26:11 +07:00
Panagiotis Papadopoulos 2e0822f066 deps: add prettier as devDependency 2025-01-08 19:07:00 +07:00
Elian Doran bacba7d00b
Merge pull request #900 from pano9000/refactor_views-windowGlobal-ejs-partial
refactor(views): use ejs partial for injecting window.glob
2025-01-08 19:11:32 +07:00
Elian Doran 706424e526
Merge pull request #899 from pano9000/fix_views-set_password
fix(views/set_password): various smaller fixes
2025-01-08 19:08:03 +07:00
Elian Doran 88c7a928cc
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-01-08 12:28:28 +07:00
Panagiotis Papadopoulos 14358d1ec0 refactor(views): use ejs partial for injecting window.glob 2025-01-08 09:15:16 +07:00
Panagiotis Papadopoulos 5e91e39841 style(views/set_password): use bootstrap class for padding 2025-01-08 08:07:46 +07:00
Panagiotis Papadopoulos 5bfba405a1 fix(views/set_password): fix page title
I've added set_password.title – currently this
looks like a duplicate string to set_password.heading,
but there will be a separate change to this soon
2025-01-07 23:08:36 +07:00
Panagiotis Papadopoulos ee5a232d20 fix(views/set_password): fix "flash of unstyled content" 2025-01-07 22:50:19 +07:00
Panagiotis Papadopoulos 11415f5b2c fix(views/set_password): fix duplicate input id 2025-01-07 22:38:20 +07:00
Elian Doran 564f1b92d2
Merge pull request #897 from pano9000/style_views-login
style(views/login): add Trilium icon and improve style
2025-01-07 22:27:27 +07:00
Elian Doran d41fee8ade
Merge pull request #896 from pano9000/refactor_view-login_JS
refactor(view/login): simplify JS
2025-01-07 22:20:20 +07:00
Elian Doran 6e38e91267
Merge pull request #893 from pano9000/fix_style_flash_login-view
fix(views/login): fix "flash of unstyled content"
2025-01-07 22:18:49 +07:00
Elian Doran c80299ec47
Merge pull request #892 from TriliumNext/perfectra1n-patch-2
Add timezone and localtime mounts to docker-compose
2025-01-07 22:16:47 +07:00
Panagiotis Papadopoulos 95165b6460 style(views/login): capitalize Trilium Login heading 2025-01-07 19:27:02 +07:00
Panagiotis Papadopoulos 9c03446a50 style(views/login): center heading to be in line w/ the logo 2025-01-07 19:20:05 +07:00
Panagiotis Papadopoulos fb68460435 style(views/login): add Trilium logo above heading 2025-01-07 19:18:03 +07:00
Panagiotis Papadopoulos 1bbfa08238 style(views/login): use bootstrap class for padding 2025-01-07 19:16:43 +07:00
Elian Doran 2e1b472500
style(next): improve code block style 2025-01-07 19:10:33 +07:00
Elian Doran b81c15c84c
feat(ck-mermaid): support read-only mode 2025-01-07 18:53:35 +07:00
Elian Doran 19c90445fa
feat(ck-mermaid): use default mermaid config 2025-01-07 18:24:14 +07:00
Elian Doran 4fbe34ae13
feat: allow custom config 2025-01-07 18:22:46 +07:00
Elian Doran 4b35f8174c
style(ck-mermaid): monospace font 2025-01-07 17:36:30 +07:00
Elian Doran 5d5a490312
fix(ck-mermaid): lazy loading if mermaid is not loaded 2025-01-07 17:27:34 +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 1de6c7d5b2
feat(editor): inline mermaid diagrams 2025-01-07 17:07:08 +07:00
Elian Doran a2e10dcade
feat(build): prepare for legacy build 2025-01-07 15:37:04 +07:00
Elian Doran c1ea1fd608
fix(build): build errors 2025-01-07 14:58:19 +07:00
Elian Doran dafebc4aae
style(share): improve footnote design 2025-01-07 14:48:26 +07:00
Elian Doran 5ffd8bc790
fix(share): footnotes not working 2025-01-07 14:43:12 +07:00
Elian Doran d6dedb1611
style(share): footnotes 2025-01-07 14:33:34 +07:00
Elian Doran 9a07ddac7d
style(footnotes): improve for readonly notes 2025-01-07 14:32:16 +07:00
Elian Doran 1e80f264d9
style(next): improve footnote style 2025-01-07 14:05:08 +07:00
Elian Doran ba0b48d6dc
feat(footnotes): clicking a reference navigates to footnote 2025-01-07 13:43:07 +07:00
Elian Doran eee22eaa1f
feat(footnotes): clicking a footnote from the bottom list navigates to ref 2025-01-07 13:40:12 +07:00
Elian Doran 3f65fb83cb
feat(note_tooltip): display tooltip of footnote reference 2025-01-07 13:27:19 +07:00
Elian Doran ab9769c93b
chore(i18n): translate "Note has been deleted" 2025-01-07 12:44:30 +07:00
Elian Doran 1dcc839bab
feat(highlights): ignore footnotes 2025-01-07 12:38:50 +07:00
Elian Doran 85c225fe05
chore(client/ts): port highlights_list 2025-01-07 12:34:10 +07:00
Elian Doran 0713b4aec8
chore(client/ts): port note_context_aware_widget 2025-01-07 11:55:20 +07:00
Elian Doran f3a18a9942
chore(client/ts): port abstract_button, command_button, onclick_button 2025-01-07 11:26:49 +07:00
Elian Doran 6905e1536e
chore(client/ts): port abstract_button 2025-01-07 11:11:43 +07:00
Panagiotis Papadopoulos 15faf161b5 refactor(views/login): simplify userAgent matching
- there is no need to have the Regexp check done
in 2 separate tests – just do it once
- I also have ordered the userAgents by order of
"popularity", so (in theory) it should match faster
for most people this way
(although realistically you will not notice this at all)
2025-01-07 08:38:12 +07:00
Panagiotis Papadopoulos b44397a6bf refactor(views/login): add getDeviceType function 2025-01-07 08:29:56 +07:00
Panagiotis Papadopoulos 7ca4ed4369 fix(views/login): fix "flash of unstyled content"
move stylesheets to head of HTML to get rid of
"FOUC" aka "Flash of unstyled content"
2025-01-06 23:19:15 +07:00
Elian Doran 5a3a31ff1c
style(next): fix background for launcher pane 2025-01-06 23:07:04 +07:00
Elian Doran e09eae5a4c
fix(editor): footnote toolbar icon on dark theme 2025-01-06 21:48:21 +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 8bebd0a798
feat(editor): add footnotes 2025-01-06 20:30:11 +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
Jon Fuller c64c72b773
Add timezone and localtime mounts to docker-compose 2025-01-06 10:02:11 +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 37ce55506b
feat(editor): update to CKEditor 43.2.0 2025-01-06 16:04:07 +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
Elian Doran 4d219723ae
style(next): select Inter font for now 2025-01-05 18:24:23 +07:00
Elian Doran 2559d8f732
feat(editor): support geo-URIs 2025-01-05 17:28:28 +07:00
Elian Doran fd7b653534
Merge pull request #891 from 0Raptor/develop
Added support for RFC 5870 geo-URIs
2025-01-05 17:08:15 +07:00
Raptor 93af02942a Added support for RFC 5870 geo-URIs 2025-01-05 13:54:19 +07:00
Raptor 179299c2c7 Enable Trilium to use RFC 5870 geo-URIs 2025-01-05 13:53:46 +07:00
Elian Doran 898ed49630
Merge pull request #882 from pano9000/chore_remove_tree-kill
chore(deps): remove unused tree-kill dependency
2025-01-05 13:18:01 +07:00
Elian Doran 6d41af98fd
chore(types): allow containers to constrain children 2025-01-05 12:21:01 +07:00
Elian Doran 4cfb0d6161
fix(mobile): position of editing toolbar when keyboard is hidden 2025-01-05 10:52:26 +07:00
Elian Doran 4ee88c1e96
Merge pull request #887 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.7.2
2025-01-05 10:46:39 +07:00
Elian Doran 820d72906d
Merge pull request #888 from TriliumNext/renovate/better-sqlite3-11.x
fix(deps): update dependency better-sqlite3 to v11.7.2
2025-01-05 10:46:19 +07:00
Elian Doran a2afc5959f
Merge pull request #889 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.3.5
2025-01-05 10:45:26 +07:00
Elian Doran c6e4d4882a
fix(mobile): dropdowns for editing toolbar 2025-01-05 03:06:52 +07:00
renovate[bot] 94813c2f49
fix(deps): update dependency mind-elixir to v4.3.5 2025-01-05 01:06:34 +07:00
renovate[bot] 7a8678e26f
fix(deps): update dependency better-sqlite3 to v11.7.2 2025-01-05 01:06:23 +07:00
renovate[bot] deb7abac06
fix(deps): update dependency better-sqlite3 to v11.7.2 2025-01-05 01:06:08 +07:00
Elian Doran 955542a991
fix(mobile): positioning of the classic toolbar 2025-01-05 02:35:41 +07:00
Elian Doran c1280be74a
fix(mobile): classic toolbar disappearing when pressing dropdowns 2025-01-05 01:49:29 +07:00
Elian Doran ef9e21147f
fix(mobile): classic toolbar disappearing when pressing formatting buttons 2025-01-05 01:09:27 +07:00
Elian Doran 0c544666d8
fix(mobile): fix offset of the formatting bar 2025-01-05 00:57:52 +07:00
Elian Doran 90ec7919ba
feat(mobile): improve positioning of jump to note 2025-01-05 00:24:25 +07:00
Elian Doran 57ed133c7f
feat(mobile): bring jump to note to mobile 2025-01-04 23:43:15 +07:00
Elian Doran 336e298462
style(mobile): background for whole bottom area + fix alignment 2025-01-04 23:05:24 +07:00
Elian Doran 6e2444d74f
style(mobile): add safe region for bottom 2025-01-04 22:56:23 +07:00
Elian Doran 5250a6d8da
style(mobile): center launcher buttons 2025-01-04 22:49:11 +07:00
Elian Doran de7248b7ce
feat(mobile): add back/forward buttons to launch bar 2025-01-04 22:43:51 +07:00
Elian Doran 65a14c62ac
feat(mobile): render mobile visible launchers 2025-01-04 22:11:23 +07:00
Elian Doran e45052cead
chore(client/ts): port launcher & launcher_container 2025-01-04 22:08:07 +07:00
Elian Doran 6966f92339
feat(mobile): use custom icon for configure launchbar 2025-01-04 22:00:39 +07:00
Elian Doran fa6d229ecf
chore(client/ts): port spacer 2025-01-04 21:59:35 +07:00
Elian Doran c2315a9341
refactor(client): use common method for checking if launch bar config 2025-01-04 21:52:41 +07:00
Elian Doran cfeb4eb51f
feat(client): add support for mobile launchers in hidden subtree 2025-01-04 21:46:52 +07:00
Elian Doran 100a80c17d
feat(server): add subtree for mobile launchers 2025-01-04 21:46:22 +07:00
Elian Doran 027b52e785
feat(mobile): add very basic support for tabs 2025-01-04 21:03:03 +07:00
Elian Doran 42e4c7800a
chore(client): remove logs 2025-01-04 20:21:57 +07:00
Panagiotis Papadopoulos c5a8b5b6d8 chore(deps): remove unused tree-kill dependency
code got removed with commit e393914,
but seems that the dependency remained as leftover
2025-01-04 19:07:03 +07:00
Elian Doran 11631687ff
feat(client): add transparent background for status bar on tablets with desktop view 2025-01-04 20:04:02 +07:00
Elian Doran 657fa9402c
feat(mobile): improve layout for settings 2025-01-04 19:26:22 +07:00
Elian Doran 33ce41bdd8
style(mobile): fix unequal right margin 2025-01-04 19:17:16 +07:00
Elian Doran a83931a421
fix(mobile): error when closing modals 2025-01-04 19:15:24 +07:00
Elian Doran 540c1b2207
refactor(client): remove unused property 2025-01-04 19:12:14 +07:00
Elian Doran 4175a69e37
chore(client/ts): port mobile_layout 2025-01-04 18:58:50 +07:00
Elian Doran b5d657071e
feat(mobile): improve about dialog layout 2025-01-04 18:53:34 +07:00
Elian Doran 05a667f256
chore(client/ts): port help 2025-01-04 18:43:25 +07:00
Elian Doran 20b439b2cb
feat(mobile): display help modal (closes #666) 2025-01-04 18:41:51 +07:00
Elian Doran d3096940f6
fix(mobile): text cropped in about dialog 2025-01-04 18:35:56 +07:00
Elian Doran dd8e73d8ca
feat(mobile): display modals at the bottom of the screen 2025-01-04 18:30:27 +07:00
Elian Doran f7d3737cba
feat(mobile): introduce about dialog 2025-01-04 18:24:05 +07:00
Elian Doran 874809254d
chore(client/ts): port global_menu 2025-01-04 18:19:46 +07:00
Elian Doran 356cb2f12f
fix(mobile): context menu and dropdowns for sidebar 2025-01-04 18:14:30 +07:00
Elian Doran fa30961c9e
style: improve code block style for attachments 2025-01-04 17:29:54 +07:00
Elian Doran 3ad67a93c1
feat(attachments): render JSON content 2025-01-04 17:18:56 +07:00
Elian Doran 0bb573022a
fix(server): improved handling for missing files on Firefox 2025-01-04 17:13:47 +07:00
Elian Doran 5ee6ba8cb0
fix(electron): pasting non-existing file crashes the editor (closes #881) 2025-01-04 16:56:26 +07:00
Elian Doran a025645972
fix(mobile): clicking sidebar backdrop to hide it 2025-01-04 14:38:48 +07:00
Elian Doran fb5391a243
fix(mobile): tree view not working on mobile 2025-01-04 14:34:53 +07:00
Elian Doran f909f84268
fix(mobile): launcher bar dropdown position on tablet view 2025-01-04 14:33:10 +07:00
Elian Doran c678d63d02
style(legacy): status bar color on mobile tablet 2025-01-04 14:29:02 +07:00
Elian Doran c130d77a74
style(mobile): improve content background 2025-01-04 14:27:23 +07:00
Elian Doran a3ac2629e9
style(next): improve status bar on tablet mode 2025-01-04 14:23:17 +07:00
Elian Doran a1acb69976
style(next): top border for launcher pane on mobile 2025-01-04 14:19:31 +07:00
Elian Doran 422395671d
fix(mobile): launcher bar on top for tablet mode 2025-01-04 14:18:07 +07:00
Elian Doran 2e85e2adb5
style(next): tree for tablet mode 2025-01-04 14:17:17 +07:00
Elian Doran f63f308659
fix(mobile): layout on tablet mode 2025-01-04 14:14:45 +07:00
Elian Doran 7fc60bfc8f
fix(mobile): swiping with very short gesture 2025-01-04 13:30:36 +07:00
Elian Doran cdfd2827e8
fix(mobile): scrolling within tree 2025-01-04 13:21:10 +07:00
Elian Doran 4dece78591
feat(mobile): improve closing the sidebar 2025-01-04 13:04:44 +07:00
Elian Doran ce56842353
chore(client/ts): port sidebar_container 2025-01-04 12:44:40 +07:00
Elian Doran 999977e32f
fix(mobile): toggling sidebar sometimes doesn't work 2025-01-04 12:18:23 +07:00
Elian Doran ff2999db17
fix(mobile): sidebar randomly showing on taps 2025-01-04 12:09:18 +07:00
Elian Doran bf4decb4fb
fix(server): compile errors after refactoring 2025-01-04 11:52:40 +07:00
Elian Doran d8358407ce
chore(client/ts): port root_command_executor 2025-01-04 11:51:16 +07:00
Elian Doran 634be6bbb4
style(next): rounded corner for sidebar 2025-01-04 01:57:34 +07:00
Elian Doran 066db13c53
fix(mobile): sidebar toggle button 2025-01-04 01:54:01 +07:00
Elian Doran 16e9d74169
style(mobile): increase width of sidebar 2025-01-04 01:43:03 +07:00
Elian Doran ae34741f47
fix(mobile): fluent close of the sidebar 2025-01-04 01:21:53 +07:00
Elian Doran 87b7d8379b
refactor(mobile): use constant for threshold 2025-01-04 01:06:18 +07:00
Elian Doran 60adc84248
fix(mobile): backdrop opacity jumping at start 2025-01-04 00:52:24 +07:00
Elian Doran 5b1540e12b
feat(mobile): add back drop to sidebar 2025-01-04 00:50:11 +07:00
Elian Doran 17b60b21a9
fix(mobile): closing the sidebar 2025-01-04 00:25:59 +07:00
Elian Doran eb97c1e9e2
fix(mobile): prevent back on iOS 2025-01-04 00:22:16 +07:00
Elian Doran 73828a195b
fix(mobile): sidebar shown on taps 2025-01-04 00:20:22 +07:00
Elian Doran aad5b6cdbd
fix(mobile): spurious error when drag ends 2025-01-04 00:01:44 +07:00
Elian Doran c5004491f7
fix(mobile): transition when swiping open 2025-01-03 23:59:01 +07:00
Elian Doran 2c9ca397e4
feat(mobile): basic swipe mechanism for sidebar 2025-01-03 23:44:20 +07:00
Elian Doran 2b7d591822
fix(mobile): safe bottom margin for context menu 2025-01-03 22:31:29 +07:00
Elian Doran 33067e61e3
feat(client): add more monospace system fonts 2025-01-03 21:08:30 +07:00
Elian Doran 84a0e789f1
feat(client): add more system fonts 2025-01-03 20:59:13 +07:00
Elian Doran d34e575488
feat(client): add support for system font 2025-01-03 20:54:14 +07:00
Elian Doran dfc9cdb25a
refactor(client): simplify font definition 2025-01-03 20:36:59 +07:00
Elian Doran 8667c0a686
refactor(server): split font route in two functions 2025-01-03 20:31:13 +07:00
Elian Doran 80af0899b8
chore(types): font families 2025-01-03 20:08:58 +07:00
Elian Doran 8a494b220b
fix(client/fonts): grouping not working properly on iOS 2025-01-03 20:02:43 +07:00
Elian Doran a22afc4283
chore(i18n): translate generic fonts 2025-01-03 19:59:54 +07:00
Elian Doran c6b3cc7882
chore(i18n): translate font selection headings 2025-01-03 19:58:45 +07:00
Elian Doran 0304f1e5e9
feat(client/fonts): add more groups for fonts 2025-01-03 19:49:25 +07:00
Elian Doran 710a80aa26
feat(client/fonts): add groups for fonts 2025-01-03 18:55:45 +07:00
Elian Doran 639d118f41
chore(client/ts): port fonts 2025-01-03 18:44:19 +07:00
Elian Doran 428ffa7826
chore(client/ts): port options_widget 2025-01-03 18:40:52 +07:00
Elian Doran b6e97c1ae9
refactor(server): typed options 2025-01-03 18:32:09 +07:00
Elian Doran 2590a4cb05
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-01-03 17:52:30 +07:00
Elian Doran 2c469283f0
Merge pull request #879 from pano9000/refactor_utils_formatDownloadTitle
refactor(utils/formatDownloadTitle): simplify function
2025-01-03 17:23:32 +07:00
Elian Doran 52bbfbef05
Merge pull request #878 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.5
2025-01-03 17:18:55 +07:00
Elian Doran 0ad1f3f446
Merge pull request #877 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.5
2025-01-03 17:02:10 +07:00
Panagiotis Papadopoulos 6da656cd67 refactor(formatDownloadTitle): simplify function
I've kept the "extension determination process" in a nested function,
that reuses the formatDownloadTitle arguments,
however it could also be refactored into an own util function later,
if it is ever required.

The for loop got replaced by the built functions in `mimeType`
2025-01-03 14:17:30 +07:00
Panagiotis Papadopoulos d173daa14e test(formatDownloadTitle): add basic test
for some reason this will not run well with `tsx -r esm` though
I've used the built-in node TS runner for now, which works:
`node  --experimental-transform-types`
2025-01-03 12:51:34 +07:00
renovate[bot] ca40c0eb32
chore(deps): update dependency @types/node to v22.10.5 2025-01-03 07:08:20 +07:00
renovate[bot] dd95de0424
fix(deps): update dependency marked to v15.0.5 2025-01-03 01:47:20 +07:00
Elian Doran 16aa27b1c6
Merge remote-tracking branch 'origin/develop' into develop 2025-01-03 01:16:57 +07:00
Elian Doran c03ca4eea7
chore(i18n): fix wrong translation of predefined font 2025-01-03 00:59:57 +07:00
Elian Doran a9ea3c8b63
refactor(server): typed keyboard action names 2025-01-03 00:59:38 +07:00
Elian Doran 7ad43ff38b
Merge pull request #876 from pano9000/chore_remove_unused_request_dep
chore(deps): remove unused 'request'
2025-01-03 00:23:27 +07:00
Panagiotis Papadopoulos 9d48f80551 chore(deps): remove unused 'request' 2025-01-02 20:48:44 +07:00
Elian Doran 6825fe2e03
Merge pull request #875 from pano9000/refactor_isMac_isWin
refactor(utils): add isMac and isWindows util functions
2025-01-02 20:05:07 +07:00
Elian Doran 6a9c8ff8dd
Merge pull request #874 from pano9000/refactor_sanitizeAttributeName
refactor(sanitizeAttributeName): simplify function and export
2025-01-02 20:01:50 +07:00
Panagiotis Papadopoulos ac77d20aaf refactor: use isMac and isWindows util funcs 2025-01-02 18:47:41 +07:00
Panagiotis Papadopoulos 13235a25b1 refactor(utils): add isMac and isWindows as util func 2025-01-02 18:45:41 +07:00
Panagiotis Papadopoulos d798388026 test(sanitizeAttributeNames): add basic test 2025-01-02 18:25:09 +07:00
Panagiotis Papadopoulos 1053da3e40 refactor(sanitizeAttributeNames): use a ternary operator 2025-01-02 18:25:09 +07:00
Panagiotis Papadopoulos afb91f82e1 refactor(sanitizeAttributeNames): directly export function
no need to wrap the exported function in an object first
2025-01-02 18:25:09 +07:00
Elian Doran 2556d51870
Merge pull request #873 from pano9000/refactor_use_Set
refactor(services): use Set instead of Arrays for faster lookups
2025-01-02 17:50:35 +07:00
Elian Doran d07aa0990b
Merge pull request #872 from pano9000/refactor_utils-export
refactor(utils): use named exports for the utils functions
2025-01-02 17:48:43 +07:00
Panagiotis Papadopoulos baea3bdcdd refactor(services): use Set instead of Arrays for faster lookups 2025-01-02 14:59:26 +07:00
Panagiotis Papadopoulos 728037075f refactor(services): use named imports from utils
had rename the imports due to name clashes
2025-01-02 13:48:18 +07:00
Panagiotis Papadopoulos 7fe23c7ac2 refactor(services): use named imports from utils 2025-01-02 13:47:44 +07:00
Panagiotis Papadopoulos 3814621e1c reafctor(services/utils): export functions individually 2025-01-02 13:26:25 +07:00
Elian Doran 6fe4027a75
Merge pull request #871 from TriliumNext/feature/i18n-part8
Feature/i18n part8
2025-01-02 11:54:57 +07:00
Nriver 1ba66f0414 update Chinese translation and synchronize with English 2025-01-02 17:20:57 +07:00
Elian Doran 2d43d3a813
feat(mobile): prevent accidental zoom 2025-01-02 01:36:58 +07:00
Elian Doran 3913088451
feat(mobile): display editor toolbar only when focused 2025-01-02 01:21:30 +07:00
Elian Doran 795f715852
fix(mobile): full-height sidebar 2025-01-02 00:46:03 +07:00
Elian Doran f315457047
fix(mobile): bottom bar not always shown 2025-01-02 00:38:52 +07:00
Elian Doran f4607123f2
style(next): transparent note title on mobile 2025-01-02 00:07:09 +07:00
Elian Doran b11f2a6992
fix(mobile): position of classic toolbar on tablet view 2025-01-01 21:40:47 +07:00
Elian Doran a8f052071e
Merge pull request #866 from pano9000/refactor_session_secret
refactor(session_secret): use existing randomSecureToken function
2025-01-01 21:27:14 +07:00
Elian Doran c482cef369
fix(mobile): sidebar not working in tablet view 2025-01-01 21:24:26 +07:00
Elian Doran 44ed840e78
Merge pull request #870 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.3
2025-01-01 12:08:19 +07:00
renovate[bot] 0b188ba22a
chore(deps): update dependency @types/node to v22.10.3 2025-01-01 01:38:52 +07:00
Panagiotis Papadopoulos 79887d1ce0 refactor(session_secret): use existing randomSecureToken function
this also improves secret security,
as it uses a larger charset size
than the UPPERCASED HEX secret before
2024-12-31 11:22:18 +07:00
Elian Doran 8959b96f28
Merge pull request #862 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.19
2024-12-30 20:52:20 +07:00
renovate[bot] d98a920154
fix(deps): update dependency katex to v0.16.19 2024-12-30 00:15:18 +07:00
Elian Doran 794750c91a
Merge pull request #861 from pano9000/chore_fix-typo_protected-session-password
chore: fix typo in protected_session_password dialog
2024-12-29 12:57:12 +07:00
Elian Doran 2daa14b39b
Merge pull request #860 from pano9000/i18n_fix-backed_up_to
i18n: improve translatability of database_backed_up_to string
2024-12-29 12:56:24 +07:00
Elian Doran 3c37d5d630
Merge pull request #859 from pano9000/i18n_translatable_duplicate_note_#825
i18n: make duplicate notes suffix translatable
2024-12-29 12:55:18 +07:00
Elian Doran 42c6c44924
Merge pull request #857 from pano9000/feat_i18n-kdb-tags-#820
i18n: make <kbd> tags translatable
2024-12-29 12:53:01 +07:00
Elian Doran e722b65620
Merge pull request #853 from TriliumNext/renovate/jquery.fancytree-2.x
fix(deps): update dependency jquery.fancytree to v2.38.4
2024-12-29 12:43:18 +07:00
Elian Doran 112cfffb67
Merge pull request #852 from hasecilu/i18n/Spanish
Update Spanish translation
2024-12-29 12:28:20 +07:00
Panagiotis Papadopoulos c695fcf10e chore: fix typo in protected_session_password dialog 2024-12-29 09:09:09 +07:00
Panagiotis Papadopoulos 4d63ae4c43 i18n: improve translatability of database_backed_up_to 2024-12-28 23:14:02 +07:00
Panagiotis Papadopoulos 256853a6f8 i18n: make duplicate notes suffix translatable 2024-12-28 22:41:40 +07:00
Panagiotis Papadopoulos 28bbbae529 i18n: move kbd tag to translation string (help.headings) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 05b65da5b4 i18n: move kbd tag to translation string (help.collapseExpand) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 1362ce6c32 i18n: move kbd tag to translation string (help.jumpToParentNote) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 9bbb121792 i18n: move kbd tag to translation string (help.newTabNoteLink) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 6e8e472400 i18n: move kbd tag to translation string (help.createEditLink) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 9533554af7 i18n: move kbd tag to translation string (help.selectNote) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 4849aefc71 i18n: move kbd tag to translation string (help.goUpDown) 2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 32de793cc7 i18n: move kbd tag to translation string (add_link.button_add_link)
had to create a separate entry here, as the "add_link" property got reused in the dialog title and the button
2024-12-28 20:17:12 +07:00
Panagiotis Papadopoulos 69aad95e4a i18n: move kbd tag to translation string (launcher_context_menu) 2024-12-28 20:17:10 +07:00
Panagiotis Papadopoulos d8224be621 i18n: move kbd tag to translation string (search_definition.search_button)
here I've merged the two existing translations,
as it otherwise splits them up in an
awkward way for translations -
which also caused some mistranslations
already.
that way it also would've made it impossible to translate for RTL languages.
2024-12-28 20:09:00 +07:00
Panagiotis Papadopoulos 817b335d2f i18n: move kbd tag to translation string (protected_session.start_session_button) 2024-12-28 20:09:00 +07:00
Panagiotis Papadopoulos e24a80a3d1 i18n: move kbd tag to translation string (sort_child_notes.sort) 2024-12-28 20:09:00 +07:00
Panagiotis Papadopoulos 915b355abf i18n: move kbd tag to translation string (include_note.button_include) 2024-12-28 20:09:00 +07:00
Panagiotis Papadopoulos b41952a1e4 i18n: move kbd tag to translation string (tree-context-menu.open-in-a-new-tab) 2024-12-28 20:08:54 +07:00
Elian Doran 62696a4e0a
feat(mobile): display classic toolbar above keyboard 2024-12-28 14:58:33 +07:00
Elian Doran b168d68f93
style(mobile): improve sidebar margins on iOS 2024-12-28 14:29:26 +07:00
Elian Doran cd0df29307
style(mobile): improve sidebar animation 2024-12-28 14:22:38 +07:00
Elian Doran 8568e4b898
fix(mobile): floating buttons appearing above sidebar 2024-12-28 14:14:09 +07:00
Elian Doran 24a9487c6f
fix(mobile): toggling sidebar closes active note 2024-12-28 14:12:53 +07:00
Elian Doran 857f33db08
feat(mobile): add button to toggle sidebar 2024-12-28 14:11:58 +07:00
Elian Doran b00ca234f5
feat(mobile): implement dismiss region of sidebar 2024-12-28 13:56:20 +07:00
Elian Doran 61ccee27f2
feat(mobile): implement simple slide effect for tree 2024-12-28 13:46:08 +07:00
Elian Doran 748eedbbd2
refactor(client): remove unused variable 2024-12-28 13:32:03 +07:00
Elian Doran b2aa05cb9a
style(next): reduce tree font size 2024-12-28 13:29:55 +07:00
Elian Doran 6112a65fe5
style(next): fix regression on desktop 2024-12-28 13:16:35 +07:00
Elian Doran 3ea26a46c5
fix(mobile): bottom margin on iOS 2024-12-28 12:24:57 +07:00
Elian Doran ba84cd0390
feat(mobile): improve layout on iOS 2024-12-28 11:57:13 +07:00
Elian Doran 192afff139
style(next): fix alignment of items with submenus 2024-12-28 11:46:57 +07:00
Elian Doran 59ba3bf2a6
feat(mobile): move launch bar at the bottom 2024-12-28 11:36:25 +07:00
Elian Doran ccc46dc410
style(next): fix hover background color on mobile 2024-12-28 11:36:10 +07:00
Elian Doran 9b842a721d
style(next): fix submenu background on mobile 2024-12-28 11:33:37 +07:00
Elian Doran 7112441818
style(legacy): apply launcher context fixes on mobile 2024-12-28 11:21:19 +07:00
Elian Doran 68805ddd49
style(legacy): apply context menu fixes on mobile 2024-12-28 11:20:23 +07:00
Elian Doran 55fc2a3ebb
fix(mobile): clicking notes on iOS 2024-12-28 11:12:14 +07:00
Elian Doran 04a3ed5642
fix(mobile): selecting random elements while context menu is shown 2024-12-28 11:07:44 +07:00
Elian Doran bd10babd1b
fix(mobile): display of context menu on iOS 2024-12-28 11:01:05 +07:00
Elian Doran 12eff0fef5
style(next): toggle arrow on mobile 2024-12-28 10:39:45 +07:00
Elian Doran a28dff7525
fix(client): drop down no longer hiding when it should 2024-12-28 10:35:10 +07:00
Elian Doran 85f7d90c90
style(next): fix submenu background on mobile 2024-12-28 10:30:04 +07:00
Elian Doran e6afdc919d
style(next): max height & scrollable dropdown menu 2024-12-28 10:24:05 +07:00
Elian Doran a2c652f108
fix(mobile): relayout would sometimes hide the context menu 2024-12-28 10:22:01 +07:00
Elian Doran 08ad954e9c
fix(mobile): menu hiding when collapsing submenu 2024-12-28 10:04:53 +07:00
Elian Doran 01322c50ec
feat(mobile): improve submenu triggering 2024-12-28 09:59:44 +07:00
Elian Doran 1eecf9a5c8
feat(mobile): context menu triggering 2024-12-28 09:50:19 +07:00
renovate[bot] 178d25db0e
fix(deps): update dependency jquery.fancytree to v2.38.4 2024-12-28 00:45:45 +07:00
Elian Doran 0eca95cecb
feat(next): improve position of submenus on mobile 2024-12-28 01:15:45 +07:00
Elian Doran b06959900f
fix(next): improve context menu position on mobile 2024-12-28 01:12:30 +07:00
Elian Doran 23a8023f0b
feat(mobile): force horizontal layout on mobile 2024-12-28 01:06:02 +07:00
Elian Doran fe9d98d248
feat(next): improve global menu layout on mobile 2024-12-28 01:02:46 +07:00
Elian Doran ed5add5954
style(next): improve global menu on mobile 2024-12-28 00:56:48 +07:00
Elian Doran e17697f41e
fix(mobile): calendar not shown properly on horizontal layout (closes #783) 2024-12-28 00:46:21 +07:00
hasecilu c5878c6674
chore(code): add config for json files 2024-12-27 16:30:22 +07:00
hasecilu 0aa986d6ce
chore(i18n): reach 100% for Spanish 2024-12-27 16:23:26 +07:00
Elian Doran b682192c7b
chore(i18n): translate one more message 2024-12-28 00:15:58 +07:00
Elian Doran 35a054fac7
Merge pull request #845 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.27.6
2024-12-27 11:55:22 +07:00
Elian Doran 661d25d9a1
Merge pull request #840 from TriliumNext/renovate/highlightjs-cdn-assets-11.x
fix(deps): update dependency @highlightjs/cdn-assets to v11.11.1
2024-12-27 11:54:21 +07:00
Tom Aitken 7d4f8530a7 updated ckeditor5 dependency to not be latest 2024-12-27 14:19:38 +07:00
renovate[bot] 3490a33b5b
chore(deps): update dependency typedoc to v0.27.6 2024-12-27 01:38:59 +07:00
renovate[bot] 5a856044c3
fix(deps): update dependency @highlightjs/cdn-assets to v11.11.1 2024-12-26 00:08:25 +07:00
Elian Doran 079265f5ca
fix(client/ts): type error regarding note rows 2024-12-25 08:54:33 +07:00
Elian Doran 2e70aed490
Merge pull request #835 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.47.2
2024-12-25 08:48:45 +07:00
renovate[bot] 02c2771fb3
fix(deps): update dependency force-graph to v1.47.2 2024-12-25 01:27:42 +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 728695e016
feat(client/code-note): add support for HCL files (closes #771) 2024-12-23 22:51:41 +07:00
Elian Doran 064d270ff3
feat(client/text-note): add highlighting for batch files (closes #830) 2024-12-23 22:44:56 +07:00
Elian Doran 5153fb8aff
feat(client/code-note): add support for batch files 2024-12-23 22:44:04 +07:00
Elian Doran 018be8c926
chore(client/ts): port components/shortcut_component 2024-12-23 21:47:36 +07:00
Elian Doran 8a47b2f5a8
chore(client/ts): port components/note_context 2024-12-23 15:16:41 +07:00
Elian Doran c06dc23ecf
chore(client/ts): port components/mobile_screen_switcher 2024-12-23 14:21:43 +07:00
Elian Doran 68d4f9f507
chore(client/ts): port components/main_tree_executors 2024-12-23 14:14:38 +07:00
Elian Doran ec685db093
chore(client/ts): port components/app_context 2024-12-23 14:10:57 +07:00
Elian Doran 838dc521b1
chore(client/ts): port services/note_list_renderer 2024-12-23 11:00:10 +07:00
Elian Doran 9bdee7afff
fix(client): unescaped HTML in bookmarked notes & folders 2024-12-22 22:23:26 +07:00
Elian Doran 0bad36b9f2
chore(client/ts): port utils/formatters 2024-12-22 22:16:00 +07:00
Elian Doran a349223e54
chore(client/ts): port widgets/attribute_editor 2024-12-22 21:59:08 +07:00
Elian Doran b01725101d
refactor(client/ts): use filtered generics for context menu commands 2024-12-22 19:34:19 +07:00
Elian Doran 19652fbbce
refactor(client/ts): use command names enum in context menu 2024-12-22 18:33:57 +07:00
Elian Doran f4e2973a0c
chore(client/ts): port menus/tree_context_menu 2024-12-22 18:08:23 +07:00
Elian Doran dd4885e15c
chore(client/ts): port menus/link_context_menu 2024-12-22 18:03:03 +07:00
Elian Doran 6140bb5d99
chore(client/ts): port menus/launcher_context_menu 2024-12-22 17:56:53 +07:00
Elian Doran a14d112a5c
chore(client/ts): port menus/image_context_menu 2024-12-22 17:46:30 +07:00
Elian Doran eb9a55bf4f
chore(client/ts): port menus/electron_context_menu 2024-12-22 17:44:50 +07:00
Elian Doran 6480ce9aaf
chore(client/ts): remove redundant file 2024-12-22 17:33:33 +07:00
Elian Doran 10f8da8015
refactor(client/ts): use context_menu in note_type_chooser 2024-12-22 17:33:00 +07:00
Elian Doran 5f0ace2886
chore(client/ts): port menus/context_menu 2024-12-22 17:29:09 +07:00
Elian Doran 38752f0006
chore(client/ts): add snippet 2024-12-22 16:54:08 +07:00
Elian Doran c5fa865d9d
chore(client/ts): port widgets/attribute_widgets/attribute_detail 2024-12-22 16:22:10 +07:00
Elian Doran 7a2b5e731e
chore(code): fix more js & ts files 2024-12-22 15:45:54 +07:00
Elian Doran b321d99076
chore(code): fix editorconfig for src/public 2024-12-22 15:42:15 +07:00
Elian Doran ae90ff2df4
chore(env): add editorconfig to recommendations 2024-12-22 15:33:17 +07:00
Elian Doran 8b189dd10e
chore(code): set up editorconfig 2024-12-22 15:32:52 +07:00
Elian Doran 2ec903893c
Merge pull request #821 from TriliumNext/feature/client_typescript_port2
Port frontend to TypeScript (36.7% -> 48.5%)
2024-12-22 15:23:01 +07:00
Elian Doran b920fb24ba
Merge pull request #273 from TriliumNext/feature/client_typescript_port1
Port frontend to TypeScript (0% -> 36.7%)
2024-12-22 15:17:00 +07:00
Elian Doran 854ac81637
Bump to 0.91.2-beta 2024-12-22 14:45:20 +07:00
Elian Doran 4563366732
fix(client): delete modal crashing 2024-12-22 00:34:25 +07:00
Elian Doran 4e75ba78b4
fix(electron): not starting in dev mode 2024-12-22 00:28:17 +07:00
Elian Doran e88cbd5991
fix(client/ts): dropdowns not working after conversion 2024-12-22 00:10:02 +07:00
Elian Doran be0c80249e
refactor(client/ts): use compact mappings for commands 2024-12-21 23:57:55 +07:00
Elian Doran 3bfb163a39
refactor(client/ts): use discriminated unions for triggering events 2024-12-21 23:54:47 +07:00
Elian Doran 4e3417482e
refactor(client/ts): use discriminated unions for triggering commands 2024-12-21 23:47:18 +07:00
Elian Doran 9d4841306f
refactor(client/ts): use separate interfaces for trigger data 2024-12-21 23:29:17 +07:00
Elian Doran be93380d03
fix(client/ts): build error 2024-12-21 23:17:59 +07:00
Elian Doran cde74faca9
chore(client/ts): port services/note_create 2024-12-21 23:17:57 +07:00
Elian Doran 88d5aa973c
chore(client/ts): port widgets/note_type_chooser 2024-12-21 23:17:53 +07:00
Elian Doran 7565fdfd5c
chore(client/ts): port services/mime_types 2024-12-21 23:17:51 +07:00
Elian Doran c93fcc6988
chore(client/ts): port services/mermaid 2024-12-21 23:17:48 +07:00
Elian Doran f4c73d45c7
chore(client/ts): port services/mac_init 2024-12-21 23:17:46 +07:00
Elian Doran a759c1fbd2
chore(client/ts): port services/link 2024-12-21 23:17:43 +07:00
Elian Doran 3df585c72a
Merge remote-tracking branch 'origin/feature/client_typescript_port1' into feature/client_typescript_port2 2024-12-21 21:59:18 +07:00
Elian Doran e121e4298a
chore(deps): revert changes to integrity in package lock 2024-12-21 21:36:39 +07:00
Elian Doran 1bfd1553e5
chore(deps): fix types in non-dev-dependencies 2024-12-21 21:32:48 +07:00
Elian Doran 791f9b16b0
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1
; Conflicts:
;	package-lock.json
2024-12-21 21:30:32 +07:00
Elian Doran e7e763435e
feat(client): use shared config which also fixes production builds 2024-12-21 21:22:27 +07:00
Elian Doran 0611a7aa15
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-12-21 21:14:17 +07:00
Elian Doran 5601c8a9ee
Merge pull request #822 from TriliumNext/renovate/braintree-sanitize-url-7.x
fix(deps): update dependency @braintree/sanitize-url to v7.1.1
2024-12-21 21:14:13 +07:00
Elian Doran 09435b6711
chore(i18n): reach 100% for Romanian 2024-12-21 21:13:55 +07:00
Elian Doran 84bd854740
Merge pull request #823 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.2.0
2024-12-21 21:10:09 +07:00
Elian Doran 301e4b6ea9
feat(i18n): translate new note title 2024-12-21 21:08:34 +07:00
Elian Doran dbe9e43ff1
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1
; Conflicts:
;	package-lock.json
2024-12-21 20:47:07 +07:00
Elian Doran dd622f399a
fix(client): remove redundant log 2024-12-21 20:46:20 +07:00
Elian Doran 09cc487e68
fix(client): error in trace when changing settings that requires refresh 2024-12-21 20:45:53 +07:00
Elian Doran c6d04b50fb
chore(client/ts): fix build errors 2024-12-21 19:26:12 +07:00
Elian Doran 3d2d3b1106
chore(client/ts): port services/library_loader 2024-12-21 18:00:36 +07:00
Elian Doran 03b6ac450d
chore(client/ts): port services/keyboard_actions 2024-12-21 17:55:22 +07:00
Elian Doran 476ce0545a
chore(client/ts): port services/import 2024-12-21 17:50:18 +07:00
Elian Doran f15bebd330
chore(client/ts): port services/image 2024-12-21 17:48:27 +07:00
Elian Doran 14dd3a0021
chore(client/ts): port services/glob 2024-12-21 17:47:09 +07:00
Elian Doran 6e8fa6d757
chore(client/ts): port services/file_watcher 2024-12-21 17:42:48 +07:00
Elian Doran 45a652828e
chore(client/ts): port widgets/dialogs/confirm 2024-12-21 17:39:14 +07:00
Elian Doran 1656acdb49
chore(client/ts): port widgets/dialogs/confirm 2024-12-21 17:32:50 +07:00
Elian Doran e54e8fdef8
chore(client/ts): port widgets/dialogs/prompt 2024-12-21 17:12:22 +07:00
Elian Doran 7fc4443206
chore(client/ts): port services/debounce 2024-12-21 17:00:36 +07:00
Elian Doran 911323c099
chore(client/ts): port services/clipboard 2024-12-21 16:48:14 +07:00
Elian Doran c0e9684f73
chore(client/ts): port services/bundle 2024-12-21 16:43:50 +07:00
Elian Doran c956d4358c
chore(client/ts): port services/bulk_action 2024-12-21 16:36:16 +07:00
Elian Doran 05e49f77e6
chore(client/ts): remove unused type definition 2024-12-21 15:34:15 +07:00
Elian Doran efb17c9010
chore(client/ts): port services/branches 2024-12-21 15:34:07 +07:00
Elian Doran cc8f927718
chore(client/ts): port widgets/dialogs/delete_notes 2024-12-21 15:30:11 +07:00
Elian Doran 00870ba807
chore(client/ts): port widgets/basic_widget 2024-12-21 15:09:52 +07:00
Elian Doran 6f0d6a968d
chore(client/ts): port bulk_actions/label 2024-12-21 15:05:41 +07:00
Elian Doran b14cb4e3ce
chore(client/ts): port bulk_actions/note 2024-12-21 15:04:33 +07:00
Elian Doran 5bdb325e08
chore(client/ts): port bulk_actions/relations 2024-12-21 15:03:45 +07:00
Elian Doran ef4d2378f1
chore(client/ts): port services/content_renderer 2024-12-21 14:56:51 +07:00
Elian Doran 27ed750d48
chore(client/ts): port bulk_actions/add_relation 2024-12-21 14:39:42 +07:00
Elian Doran 6f32f21ac4
chore(client/ts): port services/note_tooltip 2024-12-21 14:38:25 +07:00
Elian Doran e889955e8b
chore(client/ts): port services/note_autocomplete 2024-12-21 14:34:38 +07:00
Elian Doran 934a395f15
chore(client/ts): port bulk_actions/execute_script 2024-12-21 09:29:50 +07:00
Elian Doran ac75e72491
chore(client/ts): port bulk_actions/abstract_bulk_action 2024-12-21 09:26:37 +07:00
renovate[bot] 0d27937c95
fix(deps): update dependency i18next to v24.2.0 2024-12-21 01:13:20 +07:00
renovate[bot] 4a1c0cfda9
fix(deps): update dependency @braintree/sanitize-url to v7.1.1 2024-12-21 01:13:09 +07:00
Elian Doran 3db9076230
Merge pull request #818 from TriliumNext/renovate/webpack-cli-6.x
chore(deps): update dependency webpack-cli to v6
2024-12-21 00:13:57 +07:00
Elian Doran 1c22097ac0
Merge pull request #815 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.18
2024-12-21 00:13:04 +07:00
Elian Doran 9ecffd3bfb
Merge pull request #814 from TriliumNext/renovate/chokidar-4.x
fix(deps): update dependency chokidar to v4.0.3
2024-12-21 00:12:16 +07:00
Elian Doran 5bd28beee6
Merge pull request #816 from TriliumNext/renovate/sanitize-html-2.x
fix(deps): update dependency sanitize-html to v2.14.0
2024-12-21 00:11:18 +07:00
renovate[bot] ea42994292
chore(deps): update dependency webpack-cli to v6 2024-12-20 17:33:54 +07:00
Elian Doran 48dbb17ade
fix(client): tabs not clickable due to z-index 2024-12-20 08:24:54 +07:00
Elian Doran 4505564f13
chore(client/ts): port services/note_types 2024-12-19 22:29:03 +07:00
Elian Doran f7dc9ea8e4
chore(client/ts): port services/protected_session 2024-12-19 22:25:48 +07:00
Elian Doran 214a71892d
chore(client/ts): port services/render 2024-12-19 22:20:57 +07:00
Elian Doran f3a7de58d5
chore(client/ts): port services/resizer 2024-12-19 22:19:35 +07:00
Elian Doran 7c2002c589
chore(client/ts): port services/script_context 2024-12-19 22:16:06 +07:00
Elian Doran 650a116193
chore(client/ts): port services/frontend_script_api 2024-12-19 22:06:42 +07:00
Elian Doran 7b7980cefb
chore(client/ts): port services/shortcuts 2024-12-19 21:03:38 +07:00
Elian Doran e8d1fe4e84
chore(client/ts): port services/sync 2024-12-19 20:58:50 +07:00
Elian Doran 52d7e613ec
chore(client/ts): remove ported file 2024-12-19 20:57:54 +07:00
Elian Doran 36cb07b2f9
chore(client/ts): port services/search 2024-12-19 20:57:37 +07:00
Elian Doran 8454be0a6a
chore(client/ts): display only js files in progress checker 2024-12-19 20:56:18 +07:00
Elian Doran 1548b2e3e4
chore(client/ts): fix errors in i18n 2024-12-19 20:52:43 +07:00
Elian Doran 924453cb6f
chore(client/ts): fix errors in attributes 2024-12-19 20:51:47 +07:00
Elian Doran 8726cc62f3
chore(client/ts): fix errors in syntax_highlight 2024-12-19 20:47:55 +07:00
Elian Doran 9c90ffde9d
chore(client/ts): fix errors in attribute_renderer 2024-12-19 20:47:02 +07:00
Elian Doran ffd609e0c5
chore(client/ts): fix errors related to autocomplete 2024-12-19 20:44:21 +07:00
Elian Doran e4053de735
chore(client/ts): enable server config to compile client as well 2024-12-19 20:44:07 +07:00
Elian Doran c8866d2669
chore(client/ts): port services/syntax_highlight 2024-12-19 20:27:27 +07:00
Elian Doran 8ec0efe5b3
chore(client/ts): fix another dependency to server 2024-12-19 20:14:48 +07:00
Elian Doran 9071a97730
chore(client/ts): fix one dependency to server 2024-12-19 20:03:38 +07:00
Elian Doran d9a1bd78b0
chore(client/ts): port services/attributes 2024-12-19 19:36:30 +07:00
Elian Doran 47aed18ff4
chore(client/ts): port services/i18n 2024-12-19 19:36:15 +07:00
Elian Doran 5d5a68170a
chore(client/ts): port services/attribute_renderer 2024-12-19 19:23:07 +07:00
Elian Doran 5d4e7a16fd
chore(client/ts): port services/attribute_parser 2024-12-19 19:21:02 +07:00
Elian Doran 39b82b4c98
chore(client/ts): port services/attribute_autocomplete 2024-12-19 19:15:28 +07:00
Elian Doran 21ae604307
chore(git): mark package-lock.json as auto-generated for GitHub 2024-12-19 19:14:19 +07:00
Elian Doran d34544acbf
chore(deps): apply npm audit 2024-12-19 19:13:13 +07:00
Elian Doran ba6c6cb77f
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1
; Conflicts:
;	package-lock.json
2024-12-19 19:05:51 +07:00
Elian Doran 42a7556c55
fix(server): not running in prod due to webpack change 2024-12-19 18:16:46 +07:00
Elian Doran cb488eb333
style(next): improve global menu button on horizontal layout 2024-12-19 18:05:14 +07:00
Elian Doran ff465baaf2
style(next): keep calendar item pressed when popped up 2024-12-19 18:02:46 +07:00
Elian Doran 5b305af95d
fix(client): icon disappearing when tab is focused 2024-12-19 09:04:53 +07:00
renovate[bot] 76cc29e2d6
fix(deps): update dependency sanitize-html to v2.14.0 2024-12-19 00:53:30 +07:00
renovate[bot] 464db49fae
fix(deps): update dependency katex to v0.16.18 2024-12-19 00:53:20 +07:00
renovate[bot] 73156ad658
fix(deps): update dependency chokidar to v4.0.3 2024-12-19 00:53:10 +07:00
Elian Doran 818f961fe7
Merge pull request #813 from pano9000/feat_improve_labels_a11y_#790
feat(a11y): explicitly associate label and input elements
2024-12-19 01:12:00 +07:00
Elian Doran b3b7c4ebea
fix(client): error when pressing template switch help (fixes #570) 2024-12-19 00:59:42 +07:00
Panagiotis Papadopoulos 6a044ee848 feat(a11y): explicitly associate label and input elements 2024-12-18 23:56:50 +07:00
Elian Doran 1a5e2519df
feat(client): toggle left pane automatically when configuring launchbar 2024-12-18 23:19:07 +07:00
Elian Doran a9640fbee7
fix(client): tooltips not working in ribbon (closes #795) 2024-12-18 22:58:54 +07:00
Elian Doran 9dd296f83c
fix(client): quick search down arrow not working on no results (closes #798) 2024-12-18 22:54:52 +07:00
Elian Doran a2c287e8b8
fix(client): clicking icons in tabs (closes #812) 2024-12-18 22:45:52 +07:00
Elian Doran dd67887b37
Merge pull request #809 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.1.2
2024-12-18 15:01:16 +07:00
Elian Doran 2355abf8dc
Merge pull request #810 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.17
2024-12-18 14:53:52 +07:00
renovate[bot] f4a31071cd
fix(deps): update dependency katex to v0.16.17 2024-12-18 00:56:37 +07:00
renovate[bot] ca384adc70
fix(deps): update dependency i18next to v24.1.2 2024-12-18 00:56:25 +07:00
Elian Doran e8071e5290
Merge pull request #808 from pano9000/chore_update-package-lock
chore(deps): update package-lock.json
2024-12-18 00:46:03 +07:00
Elian Doran 907a27ae9d
refactor(export): simplify code 2024-12-17 23:45:37 +07:00
Elian Doran f02cca7385
chore(test): test for no language tag for codeblock export 2024-12-17 23:42:31 +07:00
Elian Doran 2fbdec4448
feat(export/md): remove trilium language tag for code blocks 2024-12-17 23:40:39 +07:00
Elian Doran eee21f3741
feat(export/md): rewrite language tag to a more common syntax 2024-12-17 23:35:08 +07:00
Elian Doran ba95caaf6d
chore(test): add template literal for trimming indentation 2024-12-17 23:08:17 +07:00
Panagiotis Papadopoulos a24f039686 chore(deps): update package-lock.json 2024-12-17 20:28:20 +07:00
Elian Doran 7bae719309
Merge pull request #802 from TriliumNext/style/next/restyle-jump-to-note-
Style Next: Restyle the "Jump to Note" dialog
2024-12-17 19:25:17 +07:00
Elian Doran 179b14eb07
Merge pull request #801 from pano9000/fix_794_aria-label-i18n
i18n: localize hardcoded English aria-labels
2024-12-17 19:21:55 +07:00
Elian Doran 82676a4d97
Merge pull request #800 from TriliumNext/feat/themes/color-scheme-preference
Color scheme selection
2024-12-17 19:19:13 +07:00
Elian Doran e7711ce408
Merge pull request #787 from CobriMediaJulien/develop
Fixing Bugs and introduce better library support in canvas note
2024-12-17 19:09:40 +07:00
Elian Doran aa5f1c928b
Merge pull request #803 from TriliumNext/renovate/chokidar-4.x
fix(deps): update dependency chokidar to v4.0.2
2024-12-17 18:55:32 +07:00
renovate[bot] ae7c78e382
fix(deps): update dependency chokidar to v4.0.2 2024-12-17 00:56:45 +07:00
Adorian Doran 1859a247ec style(next): jump to note: change the mouse cursor for list items 2024-12-17 02:18:21 +07:00
Adorian Doran af8e664b54 style(next): jump to note: tweak the search box buttons 2024-12-17 02:04:19 +07:00
Adorian Doran bc5fde54d5 style(next): jump to note: improve appearance 2024-12-17 01:38:55 +07:00
Adorian Doran 99e78aae8c style(next): jump to note: restyle the dialog and list items 2024-12-17 00:37:06 +07:00
Panagiotis Papadopoulos 42169d830f i18n: localize aria-label (note_type_chooser) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos f655eb860c i18n: localize aria-label (move_to) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 30756f692d i18n: localize aria-label (markdown_import) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 4617eaa7fe i18n: localize aria-label (prompt) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos fc3a0bf527 i18n: localize aria-label (recent_changes) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 6f5bd8afeb i18n: localize aria-label (revisions) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos e0e96f17fd i18n: localize aria-label (sort_child_notes) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos bbb111164f i18n: localize aria-label (jumpt_to_note) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 2b22b8ea99 i18n: localize aria-label (delete_notes) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 3d18f56c33 i18n: localize aria-label (password_not_set) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 97c5d2e80f i18n: localize aria-label (confirm) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 9861132373 i18n: localize aria-label (include_note) 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos ccb6508f3a i18n: localize aria-label 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos 98769fd5c3 i18n: localize aria-label 2024-12-16 23:30:59 +07:00
Panagiotis Papadopoulos ebb53d77c5 i18n: localize aria-label 2024-12-16 23:30:59 +07:00
Adorian Doran 9c9c3f90dc client: add Romanian translation 2024-12-16 23:47:01 +07:00
Adorian Doran 608ac5f561 style(next): remove useless CSS import 2024-12-16 23:06:23 +07:00
Adorian Doran 85cf7c0212
Merge pull request #799 from pano9000/chore_fix-typo-trillium
(chore): fix typo Trillium
2024-12-16 22:53:43 +07:00
Adorian Doran 8c17be8953 client: rename the "System" theme to "Auto" 2024-12-16 22:16:26 +07:00
Adorian Doran aba2813682 client: add the "System" theme 2024-12-16 22:09:26 +07:00
Adorian Doran 1c3643695c client: split the Next theme into three separate themes, each dedicated to a specific color scheme 2024-12-16 21:49:09 +07:00
Adorian Doran 3390a2a968 client: add color scheme-related variations of the Next theme 2024-12-16 21:13:29 +07:00
Panagiotis Papadopoulos a30db37ded chore(images): fix Trillium typo in title svg tag
using double 'L' instead of single 'L'
2024-12-16 20:02:33 +07:00
Panagiotis Papadopoulos 522bf92134 chore(i18n): fix Trillium typo
using double 'L' instead of single 'L'
2024-12-16 20:01:06 +07:00
Elian Doran cd9af1c4ec
Merge pull request #792 from TriliumNext/renovate/express-rate-limit-7.x
fix(deps): update dependency express-rate-limit to v7.5.0
2024-12-16 18:24:45 +07:00
Elian Doran 1d7e47b40d
Merge pull request #791 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.4
2024-12-16 18:23:16 +07:00
Elian Doran 6783d9833b
chore(client): remove redundant log in sync status 2024-12-16 09:05:44 +07:00
renovate[bot] 8f2272f476
fix(deps): update dependency express-rate-limit to v7.5.0 2024-12-16 00:11:57 +07:00
renovate[bot] 44d3633004
fix(deps): update dependency marked to v15.0.4 2024-12-16 00:11:47 +07:00
Elian Doran 7361614ccc
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1 2024-12-15 20:25:41 +07:00
Elian Doran 3f22981720
Merge pull request #789 from hasecilu/i18n/Spanish
Update Spanish translation
2024-12-15 20:08:51 +07:00
hasecilu adc92d84b3
chore(i18n): update Spanish translation 2024-12-15 12:01:07 +07:00
hasecilu d2d12ff12a
fix(i18n): Capitalization 2024-12-15 12:01:07 +07:00
CobriMediaJulien c419818006
Update battachment.ts typo 2024-12-15 16:54:39 +07:00
CobriMediaJulien d9d3613caf
Update battachment.ts to fix bug that prevents loading library items 2024-12-15 16:41:36 +07:00
CobriMediaJulien e64e51c078
Update utils.ts to fix backend bug that prevented library items from loading 2024-12-15 15:56:10 +07:00
CobriMediaJulien 3ed9f4e056
Update sattachment.ts -> Fix backend bug that prevented library items from loading 2024-12-15 15:54:26 +07:00
CobriMediaJulien ee4fe05cd1
Update canvas.js
Improvement of canva library feature. Now u can delete items and manage your library in the UI.
2024-12-15 15:51:11 +07:00
CobriMediaJulien 1893195f2f
Merge branch 'TriliumNext:develop' into develop 2024-12-15 15:36:44 +07:00
Elian Doran d2ef7bfe48
Merge pull request #777 from TriliumNext/renovate/highlightjs-cdn-assets-11.x
fix(deps): update dependency @highlightjs/cdn-assets to v11.11.0
2024-12-15 11:06:37 +07:00
Elian Doran 48f94a3797
Merge pull request #776 from TriliumNext/renovate/typedoc-0.x
chore(deps): update dependency typedoc to v0.27.5
2024-12-15 10:45:59 +07:00
Elian Doran bf1e832d3b
chore(docs): update frontend docs 2024-12-15 10:44:40 +07:00
renovate[bot] bb6011ca86
fix(deps): update dependency @highlightjs/cdn-assets to v11.11.0 2024-12-15 00:52:09 +07:00
renovate[bot] f46e0c0367
chore(deps): update dependency typedoc to v0.27.5 2024-12-15 00:51:56 +07:00
Elian Doran bc756b1450
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1 2024-12-14 11:12:25 +07:00
Elian Doran f67e757405
chore(i18n): translate multibar toolbar string 2024-12-14 11:12:15 +07:00
Elian Doran 31a8d7dc9f
fix(client): import to bootstrap modal 2024-12-14 10:40:28 +07:00
Elian Doran 80afac902a
chore(build): fix path to tsconfig 2024-12-14 10:37:01 +07:00
Elian Doran 9fd288fe7e
chore(build): integrate TypeScript into webpack 2024-12-14 10:25:25 +07:00
Elian Doran c5d77df387
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1 2024-12-14 10:10:23 +07:00
Elian Doran 5ea5bfdb59
feat(build): run only in dev mode 2024-12-14 10:10:10 +07:00
Elian Doran b3b8ae4a0e
feat(build): integrate webpack middleware 2024-12-14 10:05:38 +07:00
Elian Doran 9e661ed684
chore(build): separate tsconfig for public 2024-12-14 09:56:04 +07:00
Elian Doran 483b543272
fix(build): type errors due to new development 2024-12-14 09:43:16 +07:00
Elian Doran 66ccc5fe2f
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1 2024-12-14 09:27:51 +07:00
Elian Doran 3e710fbdf5
fix(build): linux server failing due to missing legacy deps 2024-12-14 08:56:38 +07:00
Elian Doran adf676253d
chore(build): bump to 0.91.1-beta 2024-12-14 08:53:12 +07:00
Elian Doran 2bfdc755f1
style(next): fix redundant dropdown arrow in calendar 2024-12-14 04:01:12 +07:00
Elian Doran 74f833f7b2
fix(calendar): don't trigger dropdown refresh 2024-12-14 03:58:11 +07:00
Elian Doran 95084c9a80
style(next): improve calendar month selector style 2024-12-14 03:54:33 +07:00
Elian Doran c8ae0891bc
feat(calendar): use bootstrap dropdown instead of select 2024-12-14 03:50:42 +07:00
Elian Doran 639936dffe
style(next): fix blur in nested submenus 2024-12-14 03:22:16 +07:00
Elian Doran b872ad0c25
feat(theme): add description for #appThemeBase 2024-12-14 02:35:49 +07:00
Elian Doran b2b41edd61
feat(theme): allow using next as base theme 2024-12-14 02:30:23 +07:00
Elian Doran 43567525e3
feat(jump-to-note): ignore ~internalLink (closes #713) 2024-12-14 02:07:00 +07:00
Elian Doran 9494362fb0
chore(i18n): reach 100% in Romanian 2024-12-14 01:54:50 +07:00
Elian Doran dd2ae28422
chore(i18n): translate note autocomplete in Romanian 2024-12-14 01:51:29 +07:00
Elian Doran c95e478595
feat(i18n): add translation for note_autocomplete 2024-12-14 01:48:56 +07:00
Elian Doran 0f1a98795f
fix(client): "Go to note" button in note_autocomplete not working (closes #732) 2024-12-14 01:40:20 +07:00
Elian Doran ec16052e7b
chore(deps): update mermaid-elk to 0.1.7 2024-12-14 01:28:06 +07:00
Elian Doran f30c35f0f2
feat(classic-toolbar): allow user to toggle multiline toolbar 2024-12-14 01:24:29 +07:00
Elian Doran 65deec5861
feat(text-note): add Terraform HCL support for code blocks 2024-12-14 01:07:53 +07:00
Elian Doran b82634b39b
chore(deps): add terraform for highlight.js 2024-12-14 01:06:35 +07:00
Elian Doran 27aa50d8af
chore(deps): update @types/archiver to 6.0.3 2024-12-14 00:24:09 +07:00
Elian Doran ef361aec41
chore(deps): update eslint to 9.17.0 2024-12-14 00:23:38 +07:00
Elian Doran 3d18c0a059
chore(deps): mark csurf as deprecated 2024-12-14 00:23:15 +07:00
Elian Doran ad221a064d
chore(deps): update nodemon to 3.1.9 2024-12-14 00:21:43 +07:00
Elian Doran 6e91c01837
chore(deps): update force-graph to 1.47.1 2024-12-14 00:20:56 +07:00
Elian Doran 1e2aa3c52d
style(next): improve settings layout slightly 2024-12-13 23:52:35 +07:00
Elian Doran 6703fa7a0c
style(next): use lighter weight for titles 2024-12-13 23:46:54 +07:00
Elian Doran 74c10dff05
fix(native-buttons): fix background difference on modals 2024-12-13 23:30:31 +07:00
Elian Doran 2babc680a8
fix(client): alignment of sync tooltip on horizontal layout 2024-12-13 22:43:58 +07:00
Elian Doran f96a3ce32e
fix(server): HTTP streaming notes with unicode names (closes #757) 2024-12-13 22:05:05 +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
CobriMediaJulien 24d5311b9f
Update note_content_fulltext.ts
Mindmap search works now
2024-12-13 13:28:58 +07:00
Elian Doran 0ca2d5e0b0
style(next): fix launcher pane context menu 2024-12-13 11:03:01 +07:00
Elian Doran 1b29c81ceb
Merge pull request #767 from pano9000/develop
chore(docker-compose): add remark about UFW issues
2024-12-13 08:44:04 +07:00
Elian Doran 68fda768e7
Merge pull request #769 from TriliumNext/style/next/recent-changes-section
Style Next: Improve the styling of the "Recent Changes" list
2024-12-13 08:43:27 +07:00
Adorian Doran a8a82e7425 style(next): recent changes list: optimize 2024-12-13 03:24:21 +07:00
Adorian Doran 008e3a4dd8 client: recent changes list: make possible to use a distinct style for note titles 2024-12-13 03:21:32 +07:00
Adorian Doran 7be83f78c2 style(next): recent changes list: remove the dash between time and note title 2024-12-13 03:19:27 +07:00
Adorian Doran 04e96eefe4 style(next): recent changes list: use a strikethrough text for deleted notes 2024-12-13 03:16:36 +07:00
Adorian Doran 0b266393b5 client: recent changes list: make possible to use a distinct style for the title of deleted notes 2024-12-13 03:11:23 +07:00
Adorian Doran b41dab090f style(next): recent changes list: disable the item hover effect on deleted notes 2024-12-13 03:03:50 +07:00
Adorian Doran 5d4dd8bc0a client: recent changes list: make possible to use a distinct style for items referencing deleted notes 2024-12-13 02:59:04 +07:00
Adorian Doran 5caf4c2461 client: recent changes list: properly handle clicks on items referencing deleted notes 2024-12-13 02:48:33 +07:00
Adorian Doran 0417a6e144 style(next): recent changes list: rename CSS variables 2024-12-13 02:41:52 +07:00
Adorian Doran 58c0306224 style(next): recent changes list: tweak items 2024-12-13 02:36:29 +07:00
Adorian Doran fff0c5cea0 style(next): recent changes list: make the "undelete" links look again like a link 2024-12-13 02:31:52 +07:00
Adorian Doran cd30d7dd0f style(next): recent changes list: remove the item border 2024-12-13 02:17:57 +07:00
Adorian Doran 6e1cfdbb89 client: recent changes list: make the whole item clickable, not just the note title 2024-12-13 02:11:51 +07:00
Adorian Doran aee8749bac client: recent changes list: remove the dash between the time and the note title from markup 2024-12-13 01:53:04 +07:00
Adorian Doran 556baf2782 style(next): recent changes list: tweak timeline connector on item hover 2024-12-13 01:45:31 +07:00
Adorian Doran 1410a6cf7a style(next): recent changes list: add a hover effect for items 2024-12-13 01:19:12 +07:00
Adorian Doran 6f75932015 style(next): recent changes list: improve the layout of the list items 2024-12-13 00:10:49 +07:00
Elian Doran 91800df82c
chore(build): bump to 1.2.0 2024-12-12 23:31:55 +07:00
Panagiotis Papadopoulos 3cda3987db chore(docker-compose): add remark about UFW issues
closes #766
2024-12-12 21:18:18 +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 346ae7d815
Merge pull request #763 from TriliumNext/style/next/tree-settings-panel
Style Next: Restyle the tree settings popup
2024-12-12 08:45:12 +07:00
Elian Doran 62e797a3aa
Merge pull request #760 from TriliumNext/style/next/restyle-tree-actions
Style Next: Restyle the tree action buttons
2024-12-12 08:43:42 +07:00
Elian Doran 8e87a9eb24
Merge pull request #762 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.1.0
2024-12-12 08:42:29 +07:00
Elian Doran 6735569f7d
Merge pull request #761 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.2
2024-12-12 08:32:03 +07:00
Adorian Doran 87dcdcacc3 style(next): tree actions toolbar: gracefully handle when the floating button overlaps with the tree item action buttons 2024-12-12 02:52:18 +07:00
Adorian Doran 0670c44c45
Merge branch 'develop' into style/next/restyle-tree-actions 2024-12-12 02:16:08 +07:00
Adorian Doran 350219361b style(next): correct section name 2024-12-12 02:09:48 +07:00
Adorian Doran 92f27e06de style(next): restyle the tree settings popup 2024-12-12 02:06:26 +07:00
renovate[bot] 41fa67f7a1
fix(deps): update dependency i18next to v24.1.0 2024-12-12 00:05:34 +07:00
renovate[bot] dcda2bc5d6
chore(deps): update dependency @types/node to v22.10.2 2024-12-12 00:05:25 +07:00
Adorian Doran eb30cb7303 client: add a heading to the tree settings panel 2024-12-12 01:46:43 +07:00
Adorian Doran e4b1f56a5e style(next): tree actions toolbar: fix icon alignment in certain conditions 2024-12-12 01:29:14 +07:00
Adorian Doran a7e000035d style(next): tree actions toolbar: fix the user being unable to activate the action button for the last item 2024-12-12 01:07:18 +07:00
Adorian Doran 9d7caaae96 style(next): tree actions toolbar: tweak transitions 2024-12-12 00:59:48 +07:00
Adorian Doran 336f978add style(next): tree actions toolbar: relocate variable declarations 2024-12-12 00:50:28 +07:00
Adorian Doran 8b9d4ed106 style(next): tree actions toolbar: improve styling 2024-12-12 00:49:05 +07:00
Adorian Doran 9ce97decf2 style(next): overhaul the tree actions toolbar 2024-12-12 00:31:19 +07:00
Elian Doran e41b4e18e1
Merge pull request #759 from TriliumNext/feat/client/format-note-paths
Format note paths
2024-12-11 23:54:30 +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
Adorian Doran 5126cd4a6c style(next): tweak the paths displayed in the search section 2024-12-11 22:30:04 +07:00
Adorian Doran 0a02c2538c style(next): use a better layout for the paths displayed in the "Recent Changes" section 2024-12-11 22:26:19 +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 6f2b91f76e
style(next): explore showing tree actions on hover only 2024-12-11 21:40:17 +07:00
Elian Doran 92b639d7dc
style(next): add back tree options 2024-12-11 21:36:11 +07:00
Elian Doran 1833894004
chore(backend-docs): update after new library added 2024-12-11 19:34:34 +07:00
Elian Doran 84d1738085
Merge remote-tracking branch 'origin/develop' into kleutzinger-forks/develop 2024-12-11 19:29:34 +07:00
Elian Doran 6117b9b372
Merge pull request #749 from TriliumNext/renovate/compression-1.x
fix(deps): update dependency compression to v1.7.5
2024-12-11 19:24:10 +07:00
Elian Doran 6cfe0956ae
Merge pull request #750 from TriliumNext/renovate/jsdom-25.x
fix(deps): update dependency jsdom to v25.0.1
2024-12-11 19:22:30 +07:00
Elian Doran d44f4acc45
Merge pull request #751 from TriliumNext/renovate/mime-types-2.x-lockfile
fix(deps): update dependency mime-types to v2.1.35
2024-12-11 19:20:43 +07:00
Elian Doran c2e87f08be
Merge pull request #754 from TriliumNext/renovate/better-sqlite3-11.x-lockfile
fix(deps): update dependency better-sqlite3 to v11.7.0
2024-12-11 19:20:13 +07:00
Elian Doran 53b3ef163b
Merge pull request #748 from TriliumNext/renovate/jsdoc-4.x
chore(deps): update dependency jsdoc to v4.0.4
2024-12-11 18:49:18 +07:00
Elian Doran 02ce82eaf5
chore(backend-docs): solve a few warnings 2024-12-11 18:47:19 +07:00
Elian Doran 3fe4608ff6
chore(backend-docs): process with typedoc 2024-12-11 18:44:45 +07:00
Elian Doran 6bbff3efd8
chore(frontend-docs): fix warnings & update 2024-12-11 18:31:29 +07:00
Elian Doran 1fa2758464
Merge remote-tracking branch 'origin/develop' into renovate/jsdoc-4.x 2024-12-11 18:25:12 +07:00
Elian Doran 791a7c7fcd
Merge pull request #756 from TriliumNext/renovate/eslint-monorepo
fix(deps): update dependency eslint to v9.16.0
2024-12-11 18:23:40 +07:00
Elian Doran e85da342d1
Merge pull request #752 from TriliumNext/renovate/mind-elixir-4.x
fix(deps): update dependency mind-elixir to v4.3.3
2024-12-11 18:22:10 +07:00
renovate[bot] f84b923f8b
fix(deps): update dependency better-sqlite3 to v11.7.0 2024-12-11 16:19:40 +07:00
Elian Doran 62c386ee9e
Merge pull request #755 from TriliumNext/renovate/electron-debug-4.x
fix(deps): update dependency electron-debug to v4.1.0
2024-12-11 18:18:29 +07:00
Elian Doran c0895d5b35
Merge pull request #747 from TriliumNext/renovate/ws-8.x
chore(deps): update dependency @types/ws to v8.5.13
2024-12-11 17:42:52 +07:00
Elian Doran 9c04128145
Merge pull request #753 from TriliumNext/renovate/playwright-monorepo
chore(deps): update dependency @playwright/test to v1.49.1
2024-12-11 17:41:47 +07:00
renovate[bot] 7dc9befc7a
chore(deps): update dependency @types/ws to v8.5.13 2024-12-11 15:41:29 +07:00
Elian Doran 48406bd806
Merge pull request #746 from TriliumNext/renovate/cls-hooked-4.x
chore(deps): update dependency @types/cls-hooked to v4.3.9
2024-12-11 17:39:57 +07:00
renovate[bot] e23fe010b5
chore(deps): update dependency @types/cls-hooked to v4.3.9 2024-12-11 11:48:28 +07:00
Elian Doran 2d1ac0f535
Merge pull request #745 from TriliumNext/renovate/better-sqlite3-7.x
chore(deps): update dependency @types/better-sqlite3 to v7.6.12
2024-12-11 13:47:38 +07:00
Elian Doran 758768e4d5
Merge remote-tracking branch 'origin/develop' into renovate/better-sqlite3-7.x 2024-12-11 13:46:44 +07:00
Elian Doran e3c29d43b5
Merge pull request #744 from TriliumNext/renovate/better-sqlite3-7.x-lockfile
chore(deps): update dependency @types/better-sqlite3 to v7.6.12
2024-12-11 13:45:21 +07:00
Elian Doran 55e3eae322
chore(build): switch nix to electron 33 2024-12-11 08:16:48 +07:00
Elian Doran 181ee3ef6d
fix(server): not building due to API change 2024-12-11 08:16:37 +07:00
Kevin Leutzinger e83c07a7b0 add @types/cheerio 2024-12-11 00:17:28 +07:00
Kevin Leutzinger e2e2c9dbaf Expose cheerio in backend script api 2024-12-11 00:03:02 +07:00
renovate[bot] b99b51fce9
fix(deps): update dependency eslint to v9.16.0 2024-12-11 00:29:53 +07:00
renovate[bot] c97a4f1bc5
fix(deps): update dependency electron-debug to v4.1.0 2024-12-11 00:29:42 +07:00
renovate[bot] 2c6bc4b47b
chore(deps): update dependency @playwright/test to v1.49.1 2024-12-11 00:29:25 +07:00
renovate[bot] 9becc021ae
fix(deps): update dependency mind-elixir to v4.3.3 2024-12-11 00:29:13 +07:00
renovate[bot] 58aaa4daf4
fix(deps): update dependency mime-types to v2.1.35 2024-12-11 00:29:03 +07:00
renovate[bot] a2c61ef033
fix(deps): update dependency jsdom to v25.0.1 2024-12-11 00:28:56 +07:00
renovate[bot] aed6866a15
fix(deps): update dependency compression to v1.7.5 2024-12-11 00:28:48 +07:00
renovate[bot] f108775a6a
chore(deps): update dependency jsdoc to v4.0.4 2024-12-11 00:28:40 +07:00
renovate[bot] 156dded1cc
chore(deps): update dependency @types/better-sqlite3 to v7.6.12 2024-12-11 00:28:15 +07:00
renovate[bot] d26ef26971
chore(deps): update dependency @types/better-sqlite3 to v7.6.12 2024-12-11 00:28:01 +07:00
Elian Doran 289e33f479
Merge pull request #645 from TriliumNext/renovate/image-type-5.x
fix(deps): update dependency image-type to v5
2024-12-10 23:21:57 +07:00
Elian Doran e0e98e229e
chore(deps): migrate to image-type 5.2.0 2024-12-10 23:21:32 +07:00
renovate[bot] d6b2fc8828
fix(deps): update dependency image-type to v5 2024-12-10 21:18:14 +07:00
Elian Doran abd5238acc
Merge pull request #646 from TriliumNext/renovate/is-svg-5.x
fix(deps): update dependency is-svg to v5
2024-12-10 23:16:33 +07:00
Elian Doran c9874e6b2f
chore(deps): adapt to is-svg v5 2024-12-10 23:16:10 +07:00
Adorian Doran 5523e30583 style(next): tweak the note paths from the "Recent Changes" section 2024-12-10 23:08:10 +07:00
renovate[bot] 99cb751cab
fix(deps): update dependency is-svg to v5 2024-12-10 21:07:27 +07:00
Elian Doran d204aca228
Merge pull request #647 from TriliumNext/renovate/jimp-1.x
fix(deps): update dependency jimp to v1
2024-12-10 23:06:29 +07:00
Elian Doran f648f11153
chore(deps): adapt to jimp v1 2024-12-10 23:05:59 +07:00
Adorian Doran 431522f5b1 style(next): apply style to all note paths, change the delimiter symbol 2024-12-10 23:02:15 +07:00
Elian Doran ae48125dbb
Merge pull request #641 from TriliumNext/renovate/chokidar-4.x
fix(deps): update dependency chokidar to v4
2024-12-10 22:49:40 +07:00
Elian Doran c6e8a2a459
Merge pull request #635 from TriliumNext/renovate/express-5.x
chore(deps): update dependency @types/express to v5
2024-12-10 22:43:47 +07:00
Elian Doran 5190b28d3c
chore(types): adapt to new express type definitions 2024-12-10 22:35:23 +07:00
Adorian Doran 2b36bde9a9 client: format the note paths displayed in the note links 2024-12-10 22:24:53 +07:00
Adorian Doran 0588c91d1d client: refactor 2024-12-10 21:49:42 +07:00
Adorian Doran f2067d0b12 client: refactor 2024-12-10 21:43:23 +07:00
Elian Doran 4e0b9d431d
Merge pull request #636 from TriliumNext/renovate/electron-33.x
chore(deps): update dependency electron to v33
2024-12-10 21:40:37 +07:00
Elian Doran 9e05206854
chore(deps): update better-sqlite to 11.7.0 2024-12-10 21:39:19 +07:00
Elian Doran 567664a2a3
Merge pull request #639 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22
2024-12-10 21:33:34 +07:00
Elian Doran 4325c90f09
Merge pull request #740 from Nertonm/patch-1
Added Brazillian Portuguese translation on server.json
2024-12-10 21:24:37 +07:00
Elian Doran 432c5c06a2
Merge pull request #736 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.15
2024-12-10 21:22:51 +07:00
Elian Doran 555d0e665f
Merge pull request #743 from TriliumNext/style-next/reorganize-css
Style Next: Reorganize the CSS
2024-12-10 21:19:08 +07:00
Elian Doran 73c5b2a465
Merge pull request #741 from TriliumNext/feat/formatted-dates
Format dates and times
2024-12-10 21:14:42 +07:00
Adorian Doran cc1962d9c0 style(next): split the main theme CSS code into multiple files 2024-12-10 20:15:48 +07:00
Adorian Doran 74ace248d5 client: date formatter utility: improve 2024-12-10 18:48:48 +07:00
Adorian Doran 89334691b7 client: fix a typo 2024-12-10 18:43:51 +07:00
Adorian Doran d7004bc3b5 client: allow date & time to be passed as a string to the date & time formatter, refactor 2024-12-10 18:40:24 +07:00
Adorian Doran 895d50694b client: format dates and times in the "About" section 2024-12-10 18:24:41 +07:00
Adorian Doran 19e40bf46b client: format dates and times in the "Note Info" widget 2024-12-10 18:20:12 +07:00
Adorian Doran 83e1ce2bc4 client: format dates and times in the "Recent Changes" section 2024-12-10 18:11:55 +07:00
Adorian Doran 1268916ad7 client: date formatter utility: add the ability to format exclusively dates or times 2024-12-10 18:09:55 +07:00
Adorian Doran 88376e1158 client: format dates for the ETAPI tokens table 2024-12-10 17:16:20 +07:00
Adorian Doran 56b6dae447 client: refactor 2024-12-10 17:13:58 +07:00
Adorian Doran b097a8fc37 client: create a date formatter utility 2024-12-10 17:13:46 +07:00
Nerton b57e87c519
Create server.json 2024-12-10 11:51:15 +07:00
renovate[bot] 767b571faf
fix(deps): update dependency katex to v0.16.15 2024-12-10 01:08:57 +07:00
Elian Doran 018557bb57
fix(electron): mind map not working due to missing deps 2024-12-09 23:32:39 +07:00
Elian Doran 35eee82da5
Merge pull request #727 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.14
2024-12-09 23:19:36 +07:00
Elian Doran efae109e35
feat(settings): merge zoom factor with desktop app settings 2024-12-09 22:51:27 +07:00
Elian Doran f1241b2ebf
chore(i18n): add translation for electron integration settings 2024-12-09 22:46:48 +07:00
Elian Doran 0b27a72c31
chore(settings): change description for desktop settings 2024-12-09 22:45:01 +07:00
Elian Doran 698ab86224
feat(settings): turn native title bar into a checkbox 2024-12-09 22:40:25 +07:00
Elian Doran 1e985f7858
feat(settings): add button to restart application 2024-12-09 22:36:46 +07:00
Elian Doran 3605a77b25
fix(mica): applying mica when disabled 2024-12-09 22:29:04 +07:00
Elian Doran 37b10e2144
style(settings): merge description into checkbox 2024-12-09 22:26:39 +07:00
Elian Doran a6f29bfbf3
feat(settings): refresh window when toggling background effects 2024-12-09 22:16:11 +07:00
Elian Doran 3bcd79c625
chore: fix indentation 2024-12-09 22:11:23 +07:00
Elian Doran 3a63f44c3a
fix(settings): default option for checkbox 2024-12-09 22:08:31 +07:00
Elian Doran d4f3de3ad7
refactor(settings): rename native titlebar to electron integration 2024-12-09 22:07:51 +07:00
Elian Doran b81b93a590
feat(settings): add toggle for mica 2024-12-09 22:06:38 +07:00
Elian Doran c39e8be29a
feat(server): set up option to toggle background effects 2024-12-09 21:57:54 +07:00
Elian Doran f4efefe480
feat(mica): add back toggleable 2024-12-09 21:54:11 +07:00
Elian Doran 648d81169c
style(next): set ellipsis for tabs 2024-12-09 21:49:14 +07:00
Elian Doran 86ec0bb60b
fix(native-buttons): margin-right on vertical layout 2024-12-09 21:48:08 +07:00
Elian Doran bae77b6b18
chore(build): remove hard-coded sync server for no-dir 2024-12-09 11:23:41 +07:00
Elian Doran 1929d34f88
fix(electron): native title buttons not working on Linux 2024-12-09 10:28:09 +07:00
Elian Doran d97737756c
chore(build): disable safe mode by default 2024-12-09 10:09:41 +07:00
Elian Doran 4a284aa8ec
chore(build): add no-dir for nix + prepare-dist 2024-12-09 10:08:44 +07:00
Elian Doran 8e65139c0f
feat(safe): don't load themes if safe mode is active 2024-12-09 10:08:31 +07:00
renovate[bot] 43f6bbc8f9
chore(deps): update node.js to v22 2024-12-09 07:53:03 +07:00
renovate[bot] b6b76be9bf
chore(deps): update dependency electron to v33 2024-12-09 07:52:55 +07:00
Elian Doran 1b963e8b09
chore(build): add script to run using Nix electron 2024-12-09 09:51:54 +07:00
Elian Doran 0ec50ca67b
Revert "vscode: Add task to watch build errors"
This reverts commit 893a563afb.
2024-12-09 09:30:11 +07:00
MeIchthys d6d5e84a6f
Fix relation/link map urls (#728) 2024-12-08 21:49:28 +07:00
renovate[bot] cc1a8da47e
fix(deps): update dependency katex to v0.16.14 2024-12-09 01:20:08 +07:00
CobriMediaJulien cf8ec5a286
Update note_content_fulltext.ts 2024-12-08 22:56:26 +07:00
CobriMediaJulien e63d3489b0
Better Canvas search to prevent metadata beeing searched in fulltext 2024-12-08 22:52:51 +07:00
Elian Doran 275907f0fb
Merge pull request #720 from CobriMediaJulien/develop
Bugfix, Canvas and Mindmap content didn´t show in search
2024-12-08 21:10:24 +07:00
Elian Doran 89d3ffa41e
chore(deps): set legacy peer deps for mindmap 2024-12-08 17:43:30 +07:00
Elian Doran 7f813f7c66
style(mindmap): improve theme of node menu 2024-12-08 17:29:35 +07:00
Elian Doran d880771df6
style(mindmap): improve layout of node menu 2024-12-08 17:15:39 +07:00
Elian Doran 1648a40e57
feat(mindmap): integrate node map stylesheet into component 2024-12-08 17:12:57 +07:00
Elian Doran fdcc69591b
feat(mindmap): enable node-menu (closes #723) 2024-12-08 17:07:39 +07:00
Elian Doran 12c97c10a1
Merge pull request #721 from TriliumNext/renovate/https-proxy-agent-7.x
fix(deps): update dependency https-proxy-agent to v7.0.6
2024-12-08 11:30:09 +07:00
renovate[bot] c6b1bc1213
fix(deps): update dependency https-proxy-agent to v7.0.6 2024-12-08 00:33:32 +07:00
CobriMediaJulien 336fff9099
Bugfix, Canvas and Mindmap content doesnt show in wuick search and fulltextsearch. 2024-12-07 20:11:52 +07:00
Elian Doran b72fa607f9
Merge pull request #719 from hasecilu/i18n/Spanish_again
Update Spanish translations
2024-12-07 19:44:41 +07:00
hasecilu d3b6c7b2ca
chore(i18n): Update Spanish translations 2024-12-07 11:38:18 +07:00
hasecilu d71b4dc89a
fix(i18n): Make source string to be on English 2024-12-07 11:38:17 +07:00
Elian Doran d3f55fa4b2
Merge pull request #648 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15
2024-12-07 12:48:39 +07:00
Elian Doran 3a90c7a45a
Merge pull request #644 from TriliumNext/renovate/i18next-http-backend-3.x
fix(deps): update dependency i18next-http-backend to v3
2024-12-07 12:44:43 +07:00
Elian Doran 830b57c33a
Merge pull request #643 from TriliumNext/renovate/helmet-8.x
fix(deps): update dependency helmet to v8
2024-12-07 12:43:01 +07:00
Elian Doran 90a52b957c
Merge pull request #634 from TriliumNext/renovate/yauzl-3.x
fix(deps): update dependency yauzl to v3.2.0
2024-12-07 12:40:33 +07:00
Elian Doran c3fac4eb2c
Merge pull request #633 from TriliumNext/renovate/yargs-17.x-lockfile
fix(deps): update dependency yargs to v17.7.2
2024-12-07 12:39:53 +07:00
Elian Doran a7539849ed
chore(build): fix missing types for yargs 2024-12-07 12:39:32 +07:00
renovate[bot] 62d4286dec
fix(deps): update dependency marked to v15 2024-12-07 10:39:26 +07:00
Elian Doran 0292c7da44
Merge pull request #676 from TriliumNext/renovate/axios-1.x
fix(deps): update dependency axios to v1.7.9
2024-12-07 12:37:33 +07:00
Elian Doran 5b2579e158
Merge pull request #689 from TriliumNext/renovate/mermaid-11.x
fix(deps): update dependency mermaid to v11.4.1
2024-12-07 12:36:57 +07:00
Elian Doran b9e877d7de
Merge pull request #708 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24.0.5
2024-12-07 12:35:47 +07:00
Elian Doran 3cfe112353
Merge pull request #688 from TriliumNext/renovate/mermaid-js-layout-elk-0.x
fix(deps): update dependency @mermaid-js/layout-elk to v0.1.7
2024-12-07 12:33:42 +07:00
Elian Doran 7fa74cfa55
Merge pull request #714 from TriliumNext/renovate/express-4.x
fix(deps): update dependency express to v4.21.2
2024-12-07 12:28:33 +07:00
Elian Doran bb034eb8ba
chore(deps): remove redundant dependency to node-abi 2024-12-07 12:26:12 +07:00
renovate[bot] 3c7ebfd7eb
fix(deps): update dependency jimp to v1 2024-12-07 10:24:25 +07:00
Elian Doran 2025b91333
Merge pull request #631 from TriliumNext/renovate/is-svg-4.x
fix(deps): update dependency is-svg to v4.4.0
2024-12-07 12:22:51 +07:00
Elian Doran 370d363afc
Merge pull request #628 from TriliumNext/renovate/webfreak001-deploy-nightly-3.x
chore(deps): update webfreak001/deploy-nightly action to v3.2.0
2024-12-07 12:14:02 +07:00
Elian Doran 170a81e75d
Merge pull request #693 from TriliumNext/renovate/jasmine-5.x
chore(deps): update dependency jasmine to v5.5.0
2024-12-07 12:12:45 +07:00
renovate[bot] 6f371915bf
chore(deps): update dependency @types/express to v5 2024-12-07 10:11:44 +07:00
Elian Doran f1812a4b98
Merge pull request #675 from TriliumNext/renovate/cookie-parser-1.x
chore(deps): update dependency @types/cookie-parser to v1.4.8
2024-12-07 12:11:14 +07:00
Elian Doran e2a33e9694
Merge pull request #680 from TriliumNext/renovate/express-session-1.x
chore(deps): update dependency @types/express-session to v1.18.1
2024-12-07 12:10:58 +07:00
Elian Doran 154bd92eaf
Merge pull request #656 from TriliumNext/renovate/typescript-5.x
chore(deps): update dependency typescript to v5.7.2
2024-12-07 12:10:05 +07:00
Elian Doran 03dbf1a4f7
chore(client): solve TypeScript errors after upgrade 2024-12-07 12:09:51 +07:00
Elian Doran e90e6d2dad
chore(ci): run development build 2024-12-07 12:04:57 +07:00
renovate[bot] ca2207ddd6
chore(deps): update dependency typescript to v5.7.2 2024-12-07 10:02:06 +07:00
Elian Doran 7322a88c12
Merge pull request #709 from TriliumNext/renovate/webpack-5.x
chore(deps): update dependency webpack to v5.97.1
2024-12-07 12:01:22 +07:00
Elian Doran d037aea8a7
Merge pull request #640 from TriliumNext/renovate/stringbean-docker-healthcheck-action-3.x
chore(deps): update stringbean/docker-healthcheck-action action to v3
2024-12-07 12:00:24 +07:00
Elian Doran 5281d613d4
Merge pull request #638 from TriliumNext/renovate/docker-metadata-action-5.x
chore(deps): update docker/metadata-action action to v5
2024-12-07 11:59:53 +07:00
Elian Doran 15e499a98d
Merge pull request #637 from TriliumNext/renovate/docker-login-action-3.x
chore(deps): update docker/login-action action to v3
2024-12-07 11:59:38 +07:00
Elian Doran 753fc22ae8
Merge pull request #627 from TriliumNext/renovate/node-20.x
chore(deps): update node.js to v20.18.1
2024-12-07 11:58:52 +07:00
Elian Doran f1e106483d
Merge pull request #681 from TriliumNext/renovate/electron-forge-monorepo
chore(deps): update electron-forge monorepo to v7.6.0
2024-12-07 11:57:48 +07:00
Elian Doran aeb05191af
Merge pull request #717 from TriliumNext/feature/mica
Mica (Windows transparency effects)
2024-12-07 10:42:44 +07:00
Elian Doran 8b96320e41
style(next): improve left pane hover on mica vertical 2024-12-07 10:13:22 +07:00
Elian Doran f5a21e47d5
style(next): remove new tab background on mica 2024-12-07 10:05:51 +07:00
Elian Doran 5a5a3ab508
feat(mica): define material at CSS level 2024-12-07 10:02:56 +07:00
Elian Doran 5d07c3049d
fix(mica): mica flicker when loading classic theme 2024-12-07 09:58:41 +07:00
Elian Doran 43101620af
style(next): improve mica for light theme horzontal layout 2024-12-07 09:54:00 +07:00
Elian Doran 4faf22b988
style(next): fix mica on light theme for horizontal layout 2024-12-07 09:40:11 +07:00
Elian Doran 043f47dbd2
style(next): fix mica leak in right sidebar gutter 2024-12-07 09:37:09 +07:00
Elian Doran cf128c1275
Merge remote-tracking branch 'origin/develop' into feature/mica 2024-12-07 03:35:40 +07:00
Elian Doran 7d907b4ee6
Merge pull request #711 from TriliumNext/renovate/force-graph-1.x
fix(deps): update dependency force-graph to v1.47.0
2024-12-07 03:22:15 +07:00
Elian Doran 57d2b0ebf5
fix(mica): apply correct mica when switching layouts 2024-12-07 03:15:39 +07:00
Elian Doran 407448476b
refactor(mica): remove background effects system 2024-12-07 02:48:10 +07:00
Elian Doran 3f104ca663
style(next): fix native buttons background for mica 2024-12-07 02:34:28 +07:00
Elian Doran ae23a2e73e
style(next): fix launcher pane mica for vertical layout 2024-12-07 02:31:47 +07:00
Adorian Doran c5c991f1b1 style(next): recent changes list: use sticky headers 2024-12-07 02:30:01 +07:00
Elian Doran 6365682ae1
style(next): tweak horizontal layout mica intensity 2024-12-07 02:19:33 +07:00
Elian Doran c02462bf81
style(next): apply mica to tabs on vertical layout 2024-12-07 02:16:44 +07:00
Elian Doran 47256e1718
style(next): apply mica to tree on vertical layout 2024-12-07 02:12:55 +07:00
Elian Doran ed98d0ce49
feat(mica): apply to vertical layout as well 2024-12-07 02:06:15 +07:00
Adorian Doran bf1c834454 style(next): adjust icon offset 2024-12-07 02:02:29 +07:00
Elian Doran 3fac2a1ef1
style(next): improve bottom border on mica 2024-12-07 02:01:35 +07:00
Elian Doran b243041966
style(next): fix tab bottom border on mica 2024-12-07 02:01:27 +07:00
Adorian Doran bb07b040e6 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2024-12-07 01:59:44 +07:00
Adorian Doran 501cac3ce1 style(next): restyle the quick search results 2024-12-07 01:59:36 +07:00
Adorian Doran 528645c025 client: tweak the quick search results 2024-12-07 01:58:50 +07:00
Elian Doran 3ceba62dbe
style(next): fix gutter background color in mica 2024-12-07 01:17:17 +07:00
Elian Doran d35da72505
style(next): apply tint for mica 2024-12-07 01:13:39 +07:00
Elian Doran e21e0c6b38
style(mica): apply heavy transparency 2024-12-07 01:07:23 +07:00
Elian Doran cdae9f075c
feat(mica): pass CSS class 2024-12-07 00:56:27 +07:00
Elian Doran 8cd2c69e3f
feat(mica): enable by default 2024-12-07 00:56:19 +07:00
Elian Doran 774c26711f
fix(style): horizontal layout border with native window buttons 2024-12-07 00:45:49 +07:00
Elian Doran e22e974786
Merge pull request #702 from TriliumNext/feature/native_window_buttons
Native title bar buttons
2024-12-07 00:43:06 +07:00
Elian Doran 2d0e88b503
fix(native-buttons): watching for changes on other platforms than win32 2024-12-07 00:41:26 +07:00
Adorian Doran 74e561ab9a style(next): turn green the shield icon when the protected session is active 2024-12-07 00:32:14 +07:00
Elian Doran 04cbb7ea07
style(native-buttons): smaller padding for macos 2024-12-07 00:31:17 +07:00
Elian Doran fc9d06f876
fix(native-buttons): regression on windows 2024-12-07 00:27:53 +07:00
Elian Doran 0f48ccd53c
fix(native-buttons): regressions on server 2024-12-07 00:20:02 +07:00
Elian Doran 88a93e3a7b
fix(native-buttons): regressions on mac 2024-12-07 00:14:05 +07:00
Elian Doran aad2f93844
feat(next): remove pin from custom title bar buttons 2024-12-06 22:30:55 +07:00
Elian Doran 50b69d26f6
style(next): improve custom title bar buttons 2024-12-06 22:24:02 +07:00
Elian Doran ef6410f25d
fix(native-buttons): runtime errors due to missing functions 2024-12-06 22:18:32 +07:00
Elian Doran 91a8460eea
fix(native-buttons): regression on vertical layout on non-macOS 2024-12-06 22:13:20 +07:00
Elian Doran 5d1e6d6f31
feat(native-buttons): fallback to original implementation for Linux 2024-12-06 22:12:27 +07:00
Elian Doran 8cf3addb7d
Merge remote-tracking branch 'origin/develop' into feature/native_window_buttons
; Conflicts:
;	src/public/stylesheets/theme-next.css
2024-12-06 21:23:49 +07:00
Elian Doran f80a17ebc1 feat(editor): update allowedProtocols 2024-12-06 20:59:08 +07:00
renovate[bot] 91d2c11458
fix(deps): update dependency express to v4.21.2 2024-12-06 02:19:27 +07:00
Adorian Doran 164b3df922 style(next): tweak the "Recent Changes" list 2024-12-06 02:00:52 +07:00
Adorian Doran cf5e98bff5 style(next): create a timeline for the "Recent Changes" list 2024-12-06 01:33:23 +07:00
Elian Doran e8cb664ba7
style(next): adjust tab bar height 2024-12-05 20:48:00 +07:00
Elian Doran aefd139592
feat(next): improve left margin to allow moving 2024-12-05 20:34:55 +07:00
Elian Doran b9129f62b4
style(next): add a border on vertical layout on darwin 2024-12-05 19:09:28 +07:00
Elian Doran 5c09b2d6c4
style(next): adjust offset for native title bar buttons 2024-12-05 19:05:03 +07:00
Elian Doran 8f9c555bcb
feat(editor): update allowedProtocols 2024-12-05 18:24:25 +07:00
Elian Doran b7b8ab56e9
Merge pull request #694 from TriliumNext/sirius_patch_1
Add supported link protocols
2024-12-05 18:24:13 +07:00
renovate[bot] 8dc1e52535
chore(deps): update dependency webpack to v5.97.1 2024-12-05 16:22:22 +07:00
Elian Doran 4077a01019
Merge pull request #700 from CobriMediaJulien/develop
New Features for note map
2024-12-05 18:21:06 +07:00
renovate[bot] 70b29bc16e
fix(deps): update dependency force-graph to v1.47.0 2024-12-05 02:35:18 +07:00
Adorian Doran 4e2cd4ac35 client: add a leading whitespace to note paths 2024-12-05 02:56:44 +07:00
Adorian Doran 84cb13595a style(next): use a different border radius for note preview tooltips 2024-12-05 02:54:16 +07:00
Adorian Doran fdd7c3d64b style(next): restyle note paths 2024-12-05 02:38:26 +07:00
Adorian Doran 603ae47225 client: correct class names 2024-12-05 02:09:04 +07:00
Adorian Doran 79b1d01267 client: format note paths: each segment and delimiter as a separate span 2024-12-05 02:06:32 +07:00
Adorian Doran 4016c76cc7 style(next): tweak again the note preview tooltips 2024-12-05 01:19:48 +07:00
Adorian Doran 17ecf4961c style(next): tweak note preview tooltips 2024-12-05 01:06:44 +07:00
Adorian Doran 5c1a404ed0 style(next): restyle tooltips 2024-12-05 00:26:11 +07:00
Elian Doran 05c5109331
feat(native-buttons): adjustable offset 2024-12-05 00:02:57 +07:00
Elian Doran 00c6d97e4a
feat(native-buttons): set arbitrary offset for traffic light 2024-12-04 23:44:26 +07:00
Elian Doran cd8c596bef
fix(native-buttons): double left pane toggle widget 2024-12-04 23:22:51 +07:00
Elian Doran 9d98c4a661
feat(native-buttons): allow drag behind title area 2024-12-04 23:21:04 +07:00
Elian Doran 8d2a8ead04
feat(native-buttons): apply full width regardless 2024-12-04 23:16:03 +07:00
Elian Doran 14fb8b5dd9
refactor(native-buttons): reduce duplication 2024-12-04 22:58:32 +07:00
Elian Doran b32eef9aa9
fix(native-buttons): fix left margin on darwin 2024-12-04 22:58:13 +07:00
Elian Doran 7cb5ef2266
feat(style): pass whether electron to CSS 2024-12-04 22:57:03 +07:00
Elian Doran e9cf310657
feat(style): pass platform to CSS 2024-12-04 22:55:07 +07:00
Adorian Doran a87c4132ce style(next): tweak the zoom buttons from the global menu 2024-12-04 22:46:56 +07:00
Adorian Doran 74fcb83b6d style(next): tweak icon offset 2024-12-04 22:27:03 +07:00
Adorian Doran 7a9cb953bf style(next): add a warning animation for the sync status indicator when the sync fails 2024-12-04 22:22:01 +07:00
Elian Doran 07beeda79c
feat(native-buttons): apply inset style for macOS 2024-12-04 22:05:46 +07:00
Adorian Doran 0cc1fb5bc8 style(next): fix the sync status indicator 2024-12-04 21:35:26 +07:00
Adorian Doran 4da8c6f873 style: fix the z-index for tooltips 2024-12-04 20:51:41 +07:00
Adorian Doran d1ef08c7cc style(next): fix the tooltip background color on the light color scheme 2024-12-04 20:20:35 +07:00
renovate[bot] 7096aa2f8d
fix(deps): update dependency axios to v1.7.9 2024-12-04 08:24:18 +07:00
renovate[bot] c845b3c111
fix(deps): update dependency i18next to v24.0.5 2024-12-04 00:09:54 +07:00
renovate[bot] 0d1e0fe754
chore(deps): update dependency jasmine to v5.5.0 2024-12-03 02:17:43 +07:00
Adorian Doran d5ff354e2f style: fix missing quotes 2024-12-03 00:17:33 +07:00
Adorian Doran 994255451d style: update the calendar icons 2024-12-03 00:14:38 +07:00
Elian Doran dffc9b51ae
style(next): fix tabs jumping around 2024-12-03 00:05:16 +07:00
Elian Doran 69902c04bd
style(next): draw tab workspace accent instead of background 2024-12-03 00:04:12 +07:00
Elian Doran a2f39c4f99
feat(tab): trigger note icons via theme variable 2024-12-02 23:30:52 +07:00
Elian Doran 55e78f25ef
Merge remote-tracking branch 'origin/develop' into feature/note_tab_icons 2024-12-02 23:20:20 +07:00
Elian Doran ca0f491685
style(tree): thinner space between share & link icons 2024-12-02 23:19:25 +07:00
Elian Doran 5df2e3e9cd
style(next): improve tooltip design 2024-12-02 23:13:00 +07:00
Elian Doran a1a2fd717b
style(next): improve inline code slightly 2024-12-02 23:06:41 +07:00
Elian Doran 415ba7c260
style(next): sharper tab border for dark style 2024-12-02 22:58:41 +07:00
Elian Doran 5ab099196f
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-12-02 22:54:02 +07:00
Elian Doran 445ab7c171
style(next): improve code note padding in note list grid view 2024-12-02 22:53:58 +07:00
Elian Doran 0746838737
style(next): improve text note view in note list grid view 2024-12-02 22:53:08 +07:00
Adorian Doran a22d207d43 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2024-12-02 22:42:28 +07:00
Adorian Doran 95035acf38 style(next): restyle the calendar 2024-12-02 22:42:19 +07:00
Elian Doran 717fd92f64
style(next): change horizontal layout tab style 2024-12-02 22:26:17 +07:00
Elian Doran 9fcdc0e0c5
style(next): improve hr style 2024-12-02 22:16:26 +07:00
Elian Doran ce1ae84313
style(next): improve blockquote style 2024-12-02 22:04:56 +07:00
Elian Doran e91afe1a09
style(next): change hover mechanism for note list 2024-12-02 22:00:30 +07:00
Elian Doran 61a4a2230b
style(next): regression in list-type note list layout 2024-12-02 21:52:44 +07:00
Elian Doran 9ba22c32b1
style(next): full width images in note list layout 2024-12-02 21:50:26 +07:00
Elian Doran 884092582f
style(next): improve note list layout 2024-12-02 21:45:27 +07:00
Elian Doran 46be700c05
style(next): refactor note list handling 2024-12-02 21:39:08 +07:00
Elian Doran c63b1d0d5c
style(next): smaller headings in note list 2024-12-02 21:31:45 +07:00
Elian Doran b68981a12e
style(next): full width preview for code notes 2024-12-02 21:30:51 +07:00
Elian Doran d35e933206
fix(i18n): wrong text for export single HTML 2024-12-02 21:18:24 +07:00
Elian Doran 0368b7c252
fix(import): check boxes state not preserved on safe import 2024-12-02 21:08:38 +07:00
Elian Doran 6b973e835e
fix(import): check boxes not preserved on safe import 2024-12-02 21:08:09 +07:00
Elian Doran 5a6151e225
fix(demo): to do lists not working 2024-12-02 21:01:30 +07:00
Elian Doran d472a00532
style(next): fix title bar background on classical themes 2024-12-01 21:15:04 +07:00
Elian Doran 29fb9f426f
style(next): fix title bar background 2024-12-01 21:12:06 +07:00
Elian Doran 8135fa09c3
feat(native-buttons): differentiate background based on layout 2024-12-01 21:06:01 +07:00
Adorian Doran 22db58d410 style(next): apply the new style on the quick search box for the horizontal layout also 2024-12-01 18:48:01 +07:00
Adorian Doran ff06582eb6 style(next): remove the rounded corner of the center pane on horizontal layout 2024-12-01 18:35:23 +07:00
Elian Doran e933b8d5c8
chore(i18n): fix capitalization 2024-12-01 18:34:15 +07:00
Elian Doran 95664adb64
chore(i18n): remove period for menu item 2024-12-01 18:33:40 +07:00
Elian Doran c06ff4ec27
fix(native-buttons): right margin 2024-12-01 18:31:21 +07:00
Elian Doran 28b27f04cd
fix(electron): fix regression when native title bar is on 2024-12-01 18:18:53 +07:00
Elian Doran 9e0546da27 theme(next): make subtle border color less subtle on dark mode 2024-12-01 18:03:13 +07:00
Elian Doran 5761320731 feat(native-buttons): watch for theme changes 2024-12-01 17:59:55 +07:00
Elian Doran 45faa666ba fix(native-buttons): enable buttons on other windows as well 2024-12-01 17:44:42 +07:00
Elian Doran a369ca01cd fix(promoted): ID overlap when clicking on labels 2024-12-01 17:38:13 +07:00
Elian Doran b730d60704 feat(client): always display mind map as full content width 2024-12-01 17:25:19 +07:00
Elian Doran 229825d99c Merge remote-tracking branch 'origin/develop' into feature/native_window_buttons 2024-12-01 17:20:01 +07:00
Elian Doran 061a5be362 chore(deps): update to better-sqlite3 (11.6.0) 2024-12-01 17:17:59 +07:00
Elian Doran e9aba033a1 Merge remote-tracking branch 'origin/develop' into feature/native_window_buttons 2024-12-01 17:14:02 +07:00
Elian Doran 1e41245ef7 fix(settings): unable to set mimetype 2024-12-01 17:08:28 +07:00
Elian Doran cd01e149e0 Revert "style(next): experimental tree lines"
This reverts commit 0dbe88092e.
2024-12-01 17:04:13 +07:00
Elian Doran 958f436cb4 style(next): add color for horizontal launcher bark on dark mode 2024-12-01 17:03:52 +07:00
Elian Doran b7487461fe fix(server): hidden subtree not initializing due to missing translations 2024-12-01 17:00:36 +07:00
Elian Doran 8931f1778e
feat(tabs): experiment with note icons instead of workspace icons 2024-12-01 11:35:58 +07:00
Elian Doran 819a6d2364
Merge remote-tracking branch 'origin/develop' into feature/native_window_buttons 2024-12-01 10:49:30 +07:00
Elian Doran 0dbe88092e
style(next): experimental tree lines 2024-12-01 10:46:15 +07:00
Elian Doran 9e5000bce0
style(next): smaller tree padding 2024-12-01 10:41:12 +07:00
Elian Doran 91aad26eae
style(next): regressions for vertical layout 2024-12-01 10:38:24 +07:00
Elian Doran d05c1deb07
fix(client): build error due to non-existing import 2024-12-01 10:37:45 +07:00
Elian Doran 12f54a659c
Merge remote-tracking branch 'origin/develop' into feature/native_window_buttons 2024-12-01 10:32:47 +07:00
Elian Doran 947cff5805
style(next): tweak add new tab background 2024-12-01 10:32:22 +07:00
Elian Doran 082cb71e83
style(next): tweak launcher bar height 2024-12-01 10:31:00 +07:00
Elian Doran 6c035c7756
style(next): improve tab hover color and alignment 2024-12-01 10:25:38 +07:00
Elian Doran a883744237
fix(launcher): tooltip position for bookmark buttons 2024-12-01 10:19:20 +07:00
Elian Doran f8f61c1c3e
style(next): improve horizontal layout slightly 2024-12-01 10:13:30 +07:00
Elian Doran 6da5067003
style(next): add a border between tab bar and launcher on horizontal 2024-12-01 10:01:46 +07:00
Elian Doran ad62611e90
style(next): apply same color to tab and launch bar 2024-12-01 09:58:04 +07:00
Elian Doran c4085b0729
style(next): joined tabs to launch bar on horizontal layout 2024-12-01 09:53:15 +07:00
Elian Doran e7c4e037e0
feat(electron): add script to watch for src/public changes 2024-12-01 09:48:55 +07:00
Elian Doran 091f06253f
feat(electron): support live reload in dist/src/public 2024-12-01 09:47:23 +07:00
Elian Doran bd890c49d5
feat(electron): relocate pin to global menu 2024-12-01 03:02:03 +07:00
Elian Doran 01512152ea
feat(electron): load overlay information from CSS 2024-12-01 02:36:00 +07:00
Elian Doran 60192977c9
feat(electron): set overlay information at runtime 2024-12-01 02:18:35 +07:00
Elian Doran 0089346d04
feat(electron): enable native window buttons on frameless 2024-12-01 02:02:33 +07:00
juju 3a4da07b39 New Note_Map features 2024-11-30 19:57:06 +07:00
juju b3c247c7dc new features for note_map 2024-11-30 19:20:07 +07:00
Adorian Doran 221fd3c297 style(next): update colors 2024-11-30 19:10:44 +07:00
renovate[bot] 428e6b9e41
fix(deps): update dependency i18next-http-backend to v3 2024-11-30 13:06:36 +07:00
Elian Doran 3a0a6bc388
Merge pull request #657 from TriliumNext/renovate/i18next-24.x
fix(deps): update dependency i18next to v24
2024-11-30 15:04:49 +07:00
Elian Doran 4056e21051
fix(next): dragging the window in Electron 2024-11-30 14:55:15 +07:00
Elian Doran b351293ea8
fix(read-only-note): syntax highlight not working (closes #668) 2024-11-30 14:16:45 +07:00
Elian Doran cb9678c991
style(next): remove shadow for protected notes 2024-11-30 11:26:22 +07:00
Elian Doran 0731186015
style(next): improve protected indicator in tree 2024-11-30 11:20:12 +07:00
Elian Doran 4cd59932a3
style(next): improve note list design 2024-11-30 11:15:08 +07:00
Elian Doran 6d1f8c8947
style(next): remove white bar between ribbon and content 2024-11-30 10:42:01 +07:00
Elian Doran ae82041ad3
chore(i18n): finalize translation for Romanian 2024-11-30 10:40:26 +07:00
Elian Doran ae97432ae5
feat(i18n): translate hidden notes and settings 2024-11-30 10:37:15 +07:00
Elian Doran 690506ea26
feat(i18n): restore hidden subtree names on language change 2024-11-30 10:13:39 +07:00
Elian Doran 6a9865eb4f
feat(i18n): add Traditional Chinese 2024-11-30 10:07:37 +07:00
Elian Doran 9337610ffa
Merge pull request #698 from dwong33/patch-2
Update translation.json
2024-11-30 09:58:00 +07:00
Elian Doran 5b90a1c3f6
fix(settings): bring back pinning of plain text in MIME types 2024-11-30 03:00:24 +07:00
Elian Doran 0ef5cb843e
feat(settings): fix orphans/widows in code MIME types 2024-11-30 02:56:43 +07:00
Elian Doran 978bb5eb0b
style(next): carry over note list style from GNOME theme 2024-11-30 02:44:36 +07:00
Elian Doran c1d44f80d3
style(next): fix a margin 2024-11-30 02:32:45 +07:00
Elian Doran 005674e955
fix(settings): merge help text for HTML import tags 2024-11-30 02:32:37 +07:00
Elian Doran f5c8dac5f0
style(next): reduce heavy vertical spacing 2024-11-30 02:25:46 +07:00
Elian Doran 0dd36cca1c
style(next): layout improvements 2024-11-30 02:20:57 +07:00
Elian Doran b2d731619f
style(next): fix layout on database integrity 2024-11-30 02:11:34 +07:00
Elian Doran 84dc71ea3c
style(next): fix top margin on "Other" section 2024-11-30 02:11:26 +07:00
Elian Doran 8552d95770
style(next): small improvements to margins 2024-11-30 02:01:15 +07:00
Elian Doran 8f12103106
refactor(settings): merge consistency checks with integrity checks 2024-11-30 01:56:55 +07:00
Elian Doran eba605fa49
chore(i18n): fix typo 2024-11-30 01:55:19 +07:00
Elian Doran 5df40d9e0a
style(settings): display anonymize database in two columns 2024-11-30 01:49:40 +07:00
Elian Doran f22cdb85a8
style(next): improve h5 in settings 2024-11-30 01:43:14 +07:00
Elian Doran bb23aeb925
style(settings): improve highlights list separation 2024-11-30 01:38:45 +07:00
Elian Doran 6af51d393d
fix(settings): separate section for layout 2024-11-30 01:36:32 +07:00
Elian Doran 131288bb4e
style(next): card style for options 2024-11-30 01:35:33 +07:00
Elian Doran 4ecf49b175
feat(client): display different icon to toggle sidebar on horizontal layout 2024-11-30 01:23:54 +07:00
Elian Doran ca6687208b
feat(client): move toggle sidebar to tab bar on horizontal layout 2024-11-30 01:20:47 +07:00
Elian Doran 29d6ef85ff
Merge pull request #661 from TriliumNext/feature/trilium_next_theme
Introduce a theme for TriliumNext
2024-11-30 01:03:35 +07:00
Elian Doran 0ea4171b1b
style(next): improve tab height on horizontal further 2024-11-30 00:58:59 +07:00
Elian Doran 921f216872
Merge remote-tracking branch 'origin/develop' into feature/trilium_next_theme 2024-11-30 00:55:37 +07:00
Elian Doran 8c62949d09
style(next): tab height on horizontal layout 2024-11-30 00:52:09 +07:00
Elian Doran fffd93d4f1
server(hidden): change default icons for next/prev launchers 2024-11-30 00:48:04 +07:00
Elian Doran 23f70367cc
Merge pull request #695 from hasecilu/i18n/Spanish
i18n: Update Spanish translations
2024-11-30 00:11:50 +07:00
Adorian Doran 7a0649038b Fix an unwanted interference with certain combo boxes 2024-11-30 00:11:35 +07:00
Adorian Doran d7240b5bb4 Refactor 2024-11-30 00:07:19 +07:00
Adorian Doran 00f73059f7 Allow customizing the hover color of the right pane items 2024-11-30 00:04:32 +07:00
Adorian Doran 48253e0c60 Tweak the quick search button 2024-11-29 23:59:01 +07:00
Adorian Doran d2af4c362f Tweak the left pane's action buttons 2024-11-29 22:42:52 +07:00
hasecilu 7d2d39a2a4
i18n: Update Spanish translations 2024-11-29 14:41:14 +07:00
Adorian Doran 7496101505 Restyle the new tab button 2024-11-29 22:36:05 +07:00
Adorian Doran d5695757cb Change the colors of the new tab button 2024-11-29 22:19:57 +07:00
Adorian Doran 4028fa0c00 Allow the left pane action button color to be customized, tweak colors 2024-11-29 22:10:38 +07:00
Adorian Doran 8540201cd5 Tweak again the new tab button 2024-11-29 21:47:03 +07:00
Adorian Doran 38025e0912 Tweak the new tab button 2024-11-29 21:43:53 +07:00
Adorian Doran cdc530ad8b Fix a glitch of the new tab button 2024-11-29 21:37:03 +07:00
Adorian Doran 197f291c28 Tweak colors 2024-11-29 21:33:12 +07:00
Adorian Doran c6b7015c86 Update again the colors of the dark theme 2024-11-29 21:12:11 +07:00
Adorian Doran 5face4930a Update the colors of the dark theme 2024-11-29 19:10:12 +07:00
Adorian Doran 3583f536da Fix the hover background of the global menu button 2024-11-29 17:54:22 +07:00
Adorian Doran 513d7f35b2 Tweak the offset of menu item icons 2024-11-29 17:48:54 +07:00
Adorian Doran a53403f8d8 Tweak the icons for the menu items 2024-11-29 17:37:34 +07:00
Adorian Doran 3cfdbc5f21 Tweak menu item keyboard shortcut 2024-11-29 16:35:11 +07:00
Adorian Doran 1ddd5d800d Restyle menu item arrows 2024-11-29 16:29:38 +07:00
Adorian Doran 8ee30e1a22 Restyle menu item delimiters 2024-11-29 15:54:10 +07:00
Adorian Doran 6e870dbb81 Restyle menus 2024-11-29 15:28:35 +07:00
Adorian Doran 821a077130 Switch the color of the search button according to the current state 2024-11-29 12:56:30 +07:00
Adorian Doran 6a74765bc8 Don't highlight the quick search button if the search text box is not focused 2024-11-29 12:42:18 +07:00
Adorian Doran 04efba1f26 Add hover state for the quick search box 2024-11-29 12:34:32 +07:00
SiriusXT b2ff7fdf93 Add supported link protocols 2024-11-29 18:01:12 +07:00
Adorian Doran e6aa8a5299 Restyle the quick search box 2024-11-29 03:01:27 +07:00
Adorian Doran 6ad09280d0 Improve the overall appearance when the left pane is collapsed 2024-11-29 00:58:22 +07:00
Adorian Doran 65fb7cb4cb Adjust transition durations 2024-11-29 00:36:07 +07:00
Adorian Doran 2b55339ac6 Fix broken transition 2024-11-29 00:32:07 +07:00
Adorian Doran 7bba991336 Add an active state transition for the new tab button 2024-11-29 00:16:27 +07:00
Adorian Doran fefb79a7ae Fix background glitch 2024-11-28 23:59:42 +07:00
Adorian Doran 50cf7d47e7 Add transition to the new tab button 2024-11-28 23:57:31 +07:00
Adorian Doran 3d8a662903 Add transition for the close tab button 2024-11-28 23:51:57 +07:00
Adorian Doran 1d95fb3931 Add transitions for tabs 2024-11-28 23:40:53 +07:00
Elian Doran b632b7d91b
chore(i18n): translate to Romanian 2024-11-28 23:36:42 +07:00
Elian Doran 38b4b3953d
feat(i18n): translate import toast messages 2024-11-28 23:36:42 +07:00
Elian Doran b3b8e60192
Merge pull request #601 from maphew/feature/extend-kept-html-tags
Feature: user configurable list of allowed html tags in import
2024-11-28 22:26:31 +07:00
Elian Doran bc78455da1
feat(editor): support general HTML elements 2024-11-28 22:11:54 +07:00
Elian Doran 6d72149da7 feat(client): enable General HTML Support plugin 2024-11-28 22:11:28 +07:00
Elian Doran 9997f5c17a
fix(client): code not building due to attempt to access server code 2024-11-28 21:59:19 +07:00
Elian Doran aa99efc362
Merge remote-tracking branch 'origin/develop' into feature/extend-kept-html-tags
; Conflicts:
;	src/routes/api/options.ts
;	src/services/options_init.ts
2024-11-28 21:56:08 +07:00
renovate[bot] 7ed247f3ac
fix(deps): update dependency i18next to v24 2024-11-28 19:49:43 +07:00
Elian Doran b28a377b5f
Merge pull request #629 from TriliumNext/renovate/i18next-fs-backend-2.x
fix(deps): update dependency i18next-fs-backend to v2.6.0
2024-11-28 21:48:41 +07:00
Elian Doran 801254ce8e
feat(client): add CSS root class for layout 2024-11-28 21:28:37 +07:00
Elian Doran 48a27710d6
Merge pull request #692 from TriliumNext/feature/page_breaks
Support page breaks for printing
2024-11-28 20:33:22 +07:00
Elian Doran 64dfbd29ee feat(editor): enable PageBreak plugin 2024-11-28 20:33:12 +07:00
Elian Doran 7a8b526795
fix(print): respect page breaks 2024-11-28 20:21:17 +07:00
Elian Doran 6fde3305a1
feat(editor): enable insertion of page breaks 2024-11-28 20:06:33 +07:00
Elian Doran 1e0f5312e8 feat(balloon): group some items under Insert submenu 2024-11-28 20:01:05 +07:00
Elian Doran 62db25ce10
feat(editor): group some items under Insert submenu 2024-11-28 20:00:55 +07:00
Elian Doran 21a5481691
Merge pull request #598 from maphew/feature/prefer-html-title
Importing single HTML file: prefer html title over filename
2024-11-28 19:46:15 +07:00
Elian Doran 98b4e36f78
chore(test): remove test for now 2024-11-28 19:43:06 +07:00
Elian Doran 83cd72fa86
fix(import/single): title appearing as text 2024-11-28 19:41:45 +07:00
Elian Doran cef464f88b
fix(import/single): h1 not being removed due to downgrade to h2 2024-11-28 19:37:00 +07:00
Elian Doran 6056b55bde
fix(import/single): title extraction not working due to h1 conversion 2024-11-28 19:30:47 +07:00
Elian Doran 29b062660d
Merge pull request #659 from TriliumNext/quick_search_in_autocomplete
Add full text search in autocomplete
2024-11-28 19:17:03 +07:00
renovate[bot] 75479d56ae
fix(deps): update dependency i18next-fs-backend to v2.6.0 2024-11-28 17:10:37 +07:00
Elian Doran 5be532f46f
Merge pull request #630 from TriliumNext/renovate/i18next-http-backend-2.x
fix(deps): update dependency i18next-http-backend to v2.7.1
2024-11-28 19:08:13 +07:00
Dwong33 f384781f3a
Update translation.json
Introduced Traditional Chinese translation
2024-11-28 02:24:49 +07:00
Adorian Doran a0e01fef67 Tweak tabs 2024-11-28 08:48:23 +07:00
renovate[bot] b553fc911d
fix(deps): update dependency mermaid to v11.4.1 2024-11-28 02:09:05 +07:00
renovate[bot] 4bba0410c4
fix(deps): update dependency @mermaid-js/layout-elk to v0.1.7 2024-11-28 02:08:55 +07:00
Adorian Doran e040835d7b Add a distinctive style for tabs while being dragged 2024-11-28 00:31:45 +07:00
Adorian Doran 6d2e3a6f5e Tweak the colors of the inactive tab 2024-11-27 23:07:48 +07:00
Adorian Doran 180c592d5f Improve the close tab button 2024-11-27 22:57:09 +07:00
Adorian Doran 1b26128731 Improve the appearance of the new tab button, extract variables 2024-11-27 22:40:55 +07:00
Adorian Doran 3f36555973 Restyle the new tab button 2024-11-27 22:07:36 +07:00
Elian Doran 11c48988e1
Merge pull request #538 from TriliumNext/feature/improved_promoted_attributes
Change layout of promoted attributes
2024-11-27 21:33:32 +07:00
Elian Doran bb4164f10f
Merge remote-tracking branch 'origin/develop' into feature/improved_promoted_attributes
; Conflicts:
;	src/public/app/layouts/desktop_layout.js
2024-11-27 21:29:15 +07:00
Adorian Doran 787466f2c6 Update CSS selector 2024-11-27 21:26:33 +07:00
Elian Doran 0b20e8a37d
style(promoted): improve checkbox style 2024-11-27 21:26:07 +07:00
Adorian Doran 6c99a691dc Restyle the close tab buttons 2024-11-27 21:23:39 +07:00
Elian Doran f125ba55c1
style(promoted): fix heightfor rows 2024-11-27 21:22:50 +07:00
Elian Doran ceae1d5aa3
revert(client): add back fixed title bar 2024-11-27 21:12:44 +07:00
renovate[bot] a118c18649
fix(deps): update dependency i18next-http-backend to v2.7.1 2024-11-27 19:02:48 +07:00
Elian Doran 6ef55c73d4
Merge pull request #626 from TriliumNext/renovate/i18next-23.x
fix(deps): update dependency i18next to v23.16.8
2024-11-27 21:00:20 +07:00
Elian Doran 2550c00da0
Merge pull request #677 from TriliumNext/feature/i18n-part8
Feature/i18n part8
2024-11-27 20:49:25 +07:00
Elian Doran 47579e5799
feat(theme): inform user that the next theme is beta 2024-11-27 20:46:32 +07:00
Elian Doran a3ab9f0cd2
style(next): remove redundant font 2024-11-27 20:46:32 +07:00
Elian Doran b33e27baba
style(next): add a few extra fonts 2024-11-27 20:46:31 +07:00
Elian Doran 30ece35f0c
style(next): set up Lato font 2024-11-27 20:46:31 +07:00
Adorian Doran 51ee664609 Adjust padding 2024-11-27 20:43:07 +07:00
Adorian Doran c391ef868f Tweak the center pane 2024-11-27 20:20:12 +07:00
Adorian Doran b6dda4983c Merge branch 'feature/trilium_next_theme' of https://github.com/TriliumNext/Notes into feature/trilium_next_theme 2024-11-27 20:04:13 +07:00
Adorian Doran e4c7d8d015 Restyle tabs 2024-11-27 20:04:07 +07:00
Elian Doran ba310b2128
style(next): fix launcher pane style for horizontal 2024-11-27 19:58:27 +07:00
Elian Doran 58b823285e
Revert "style(next): fix tab height on horizontal layout"
This reverts commit 6e90b5c6a0.
2024-11-27 19:56:27 +07:00
Elian Doran 0661e72f6e
style(next): fix gutter color for dark mode 2024-11-27 19:55:17 +07:00
Elian Doran 6e90b5c6a0
style(next): fix tab height on horizontal layout 2024-11-27 19:52:03 +07:00
Elian Doran 8988d93ff0
Merge remote-tracking branch 'origin/develop' into feature/trilium_next_theme 2024-11-27 19:47:30 +07:00
Adorian Doran f24242d721 Add a way to customize the height of the tab bar / tabs and the first tab offset 2024-11-27 19:27:11 +07:00
Adorian Doran 7d737e7636 Introduce a root background color, make the tab bar and gutter background transparent 2024-11-27 18:59:54 +07:00
SiriusXT 13da46ff1b Add full text search in autocomplete results 2024-11-27 10:14:13 +07:00
SiriusXT f36594efb7 Add full text search in autocomplete results 2024-11-27 10:10:37 +07:00
SiriusXT ba1ed34e53 Add full text search in autocomplete results 2024-11-27 09:51:34 +07:00
renovate[bot] 3825b0642d
chore(deps): update electron-forge monorepo to v7.6.0 2024-11-27 00:47:40 +07:00
renovate[bot] c68bb23fee
chore(deps): update dependency @types/express-session to v1.18.1 2024-11-27 00:47:25 +07:00
Adorian Doran a1fc670839 Tweak the highlights list pane 2024-11-27 02:40:21 +07:00
Adorian Doran 9d289ec7bc Tweak the table of contents pane 2024-11-27 02:20:52 +07:00
Adorian Doran abfbe2cb39 Correct offsets to accommodate the new font metrics 2024-11-27 01:20:13 +07:00
Adorian Doran 12cae219db Switch the main font to "Lato" 2024-11-27 01:13:35 +07:00
Adorian Doran dd707d64e5 Restyle the gutter 2024-11-27 01:06:30 +07:00
Adorian Doran 4977092776 Add a fade in animation when the tree view is shown 2024-11-27 00:54:29 +07:00
Adorian Doran 3c8fbd91d0 Hide the tree actions 2024-11-27 00:39:02 +07:00
Adorian Doran 180d0e9ef6 Restyle the tree view item action buttons 2024-11-27 00:36:52 +07:00
Adorian Doran d788ce8ef1 Tweak tree view items 2024-11-27 00:04:25 +07:00
Adorian Doran 07a766d304 Tweak tree view items 2024-11-26 23:54:56 +07:00
Adorian Doran bb3f779d34 Add some horizontal padding for the tree view 2024-11-26 23:31:27 +07:00
Adorian Doran 8f38c36469 Fix the action buttons not showing up for the selected item 2024-11-26 23:26:20 +07:00
Adorian Doran f2cd34ab6a Add transition 2024-11-26 23:14:38 +07:00
Elian Doran 19e5f7364f
Merge pull request #678 from TriliumNext/feature/update_search
Make exact matches rise higher up in search
2024-11-26 22:52:13 +07:00
Adorian Doran f2ebb3ccab Restyle the tree view items 2024-11-26 22:36:30 +07:00
Adorian Doran df94dabcd3 Tweak the left pane 2024-11-26 21:15:51 +07:00
perf3ct 84007a1103
tweak weights 2024-11-26 19:15:45 +07:00
Adorian Doran ae7764a366 Restyle the vertical launcher pane 2024-11-26 17:35:22 +07:00
Adorian Doran 208dbd46f5 Light theme: tweak launcher pane and left pane colors 2024-11-26 14:12:19 +07:00
SiriusXT e877ad68cf Add full text search in autocomplete 2024-11-26 16:20:38 +07:00
SiriusXT 0d9e13c1e0 Merge branch 'develop' into quick_search_in_autocomplete 2024-11-26 15:49:11 +07:00
SiriusXT 889c1e0346 Add full text search in autocomplete 2024-11-26 15:41:18 +07:00
perf3ct 7fdaedd468
also significantly increase noteId matches 2024-11-26 03:52:20 +07:00
perf3ct a97a0660ea
add back comment 2024-11-26 03:41:01 +07:00
Nriver 1c2975a818 add translation for doc notes 2024-11-26 09:08:39 +07:00
renovate[bot] d6991467ed
chore(deps): update dependency @types/cookie-parser to v1.4.8 2024-11-26 00:58:50 +07:00
perf3ct bca7d9c4d2
weigh exact title matches heavily 2024-11-25 23:04:20 +07:00
Elian Doran 1e996d6f82
docs(demo): add mermaid diagram with ELK 2024-11-25 23:31:43 +07:00
Elian Doran 33ec142ea3
chore(deps): use mermaid ELK at root level 2024-11-25 23:24:26 +07:00
Elian Doran 1dec64c712
fix(mermaid): load ELK in previews 2024-11-25 22:00:19 +07:00
Elian Doran 2ef956da87
feat(mermaid): load ELK library on demand 2024-11-25 21:58:56 +07:00
Elian Doran e3c8c0c1f2
feat(mermaid): support ELK diagrams in editor 2024-11-25 21:32:31 +07:00
Elian Doran 482cb46afa
chore(mermaid): rebuild ELK to export something 2024-11-25 21:30:20 +07:00
Elian Doran 4d5f04de13
chore(mermaid): set up single-chunk ELK 2024-11-25 21:16:39 +07:00
Elian Doran d36b8ff4c4
chore(mermaid): set up project for building ELK 2024-11-25 21:10:27 +07:00
Elian Doran a7722e6bca
feat(backend-log): set to full content width 2024-11-25 20:34:05 +07:00
Elian Doran c763c090be
feat(backend-log): use CodeMirror as editor 2024-11-25 20:31:25 +07:00
Elian Doran 36ac3f5ee6
Merge pull request #670 from TriliumNext/meichthys
Remove resizer from backend log text area
2024-11-25 20:19:29 +07:00
Elian Doran ebb4b37873
Merge pull request #673 from TriliumNext/feature/i18n-part7
Feature/i18n part7
2024-11-25 20:16:26 +07:00
Nriver dedef69aec add translation for image_context_menu.js and link_context_menu.js 2024-11-25 17:41:00 +07:00
Nriver d9ceca8cc5 add missing translation 2024-11-25 17:40:15 +07:00
Nriver 0a38d132c2 update Chinese translation and synchronize with English 2024-11-25 16:53:04 +07:00
MeIchthys ae784eafd4
Remove resizer from backend log text area 2024-11-24 20:58:30 +07:00
Adorian Doran 116e362a5e Apply translucency to menus 2024-11-24 22:38:00 +07:00
Adorian Doran 2243db5b20 Correct the indentation 2024-11-24 22:31:22 +07:00
Adorian Doran 388b5a9464 Add comments 2024-11-24 22:28:50 +07:00
Adorian Doran 5563a2b4b0 Add the color definitions for the light theme 2024-11-24 22:19:02 +07:00
Adorian Doran 3d54b7b34f Define the drop shadow of code boxes via a CSS variable 2024-11-24 22:04:58 +07:00
Adorian Doran 954a51e6c7 Migrate the previously designed code blocks to the new theme 2024-11-24 21:58:45 +07:00
Elian Doran 8dd9510de8
fix(client): bookmark alignment on horizontal layout 2024-11-24 12:17:47 +07:00
Elian Doran a13c0a5743
Merge pull request #653 from mm21/develop
Add label definition type for standalone time
2024-11-24 11:43:44 +07:00
Elian Doran 793984e8f2
Merge remote-tracking branch 'origin/master' into develop 2024-11-24 11:35:31 +07:00
Elian Doran bb36b33694
Bump to 0.90.12 2024-11-24 11:35:06 +07:00
Elian Doran e982696ef4
Merge pull request #663 from hasecilu/i18n/Spanish
I18n/spanish
2024-11-24 11:32:45 +07:00
Elian Doran 3120b34c70
Merge pull request #663 from hasecilu/i18n/Spanish
I18n/spanish
2024-11-24 11:29:24 +07:00
SiriusXT 836fa2deee change allowSearchNotes to allowJumpToSearchNotes 2024-11-24 13:11:57 +07:00
SiriusXT 1d1c7eb2ca Add full text search in autocomplete results 2024-11-24 13:10:33 +07:00
hasecilu 945d5412b0
i18n: Update Spanish translation 2024-11-23 17:45:57 +07:00
hasecilu f31a4865c3
bin(translation): Refactor script and add new locales to the list
- Check if JSON files exists before counting keys
- New locales:
  - German
  - Portuguese, Brazil
  - Chinese, Taiwan
2024-11-23 17:45:57 +07:00
Elian Doran e602445694
style(next): use sans-serif font with temporary Inter 2024-11-23 16:54:41 +07:00
Elian Doran 5b62ad101d
Merge remote-tracking branch 'origin/develop' into feature/trilium_next_theme 2024-11-23 16:27:55 +07:00
SiriusXT 5370e1e27c Add full text search in autocomplete 2024-11-23 20:51:51 +07:00
Elian Doran 68fd954a67
Merge pull request #654 from TriliumNext/feature/adjustable_launcher_bar_position
Add support for horizontal launcher bar
2024-11-23 14:40:30 +07:00
Elian Doran c294469f12
Merge remote-tracking branch 'origin/develop' 2024-11-23 14:04:36 +07:00
Elian Doran e49f4c3e42
fix(client): title bar buttons on horizontal layout 2024-11-23 13:41:50 +07:00
Elian Doran a207fd523a
fix(client): double separator in global menu 2024-11-23 10:06:04 +07:00
Elian Doran 2950132271
fix(mobile): advanced submenu misalignment 2024-11-23 10:03:34 +07:00
Elian Doran 8b8929dde0
chore(docs): document css and optCss 2024-11-23 10:01:49 +07:00
Elian Doran e0d9cda522
fix(mobile): padding for the title 2024-11-23 09:59:48 +07:00
Elian Doran ba5371d76b
fix(mobile): vertical layout not sized properly 2024-11-23 09:56:48 +07:00
Elian Doran fbae0062af
feat(mobile): change context menu icon on horizontal layout 2024-11-23 09:48:18 +07:00
Elian Doran ea399e590d
feat(mobile): reorder context menu 2024-11-23 09:45:52 +07:00
Elian Doran 2dda8f60ed
feat(mobile): move menu button to the right 2024-11-23 09:43:34 +07:00
Elian Doran 14fa687b9c
fix(mobile): width of launcher bar items 2024-11-23 09:40:32 +07:00
Elian Doran 91d23bae8e
refactor(client): use different hiding mechanism for quick search 2024-11-23 09:37:24 +07:00
Elian Doran d2d2620742
feat(mobile): hide quick search 2024-11-23 09:34:26 +07:00
Elian Doran 8a61b58970
fix(mobile): fix alignment for horizontal layout 2024-11-23 09:29:49 +07:00
Elian Doran 23ef2c593e
chore(i18n): translate layout settings 2024-11-23 09:18:12 +07:00
Elian Doran 62d23b3643
feat(client): respect layout orientation selected by user 2024-11-23 09:09:09 +07:00
Elian Doran 4f305b52eb
feat(client): allow user to change layout orientation 2024-11-23 09:06:30 +07:00
Elian Doran e32f54a5c9
feat(server): add support for layout orientation option 2024-11-23 09:06:16 +07:00
Elian Doran 2d8fb4eff5
chore(i18n): fix punctuation 2024-11-23 00:48:01 +07:00
Elian Doran eaa6d6c3cf
fix(client): tooltip position for calendar in vertical layout 2024-11-23 00:32:36 +07:00
Elian Doran 0f7b96f096
fix(client): quick search in vertical layout 2024-11-23 00:29:28 +07:00
Elian Doran 13e33549c1
fix(client): global menu alignment on horizontal layout 2024-11-23 00:24:29 +07:00
Elian Doran 23873b72bf
fix(client): dropdown width for horizontal layout 2024-11-23 00:15:50 +07:00
Elian Doran 5f9439a9e0
fix(client): dropdown tooltip placement for horizontal layout 2024-11-23 00:11:49 +07:00
Elian Doran 7e5fea8cd2
fix(client): tooltip position for hide left pane button 2024-11-23 00:07:40 +07:00
Elian Doran fd8f9506d4
fix(client): tooltip position for launcher on horizontal layout 2024-11-23 00:02:02 +07:00
Elian Doran 13a997beb0
fix(client): add new tab not working in horizontal layout 2024-11-22 23:02:43 +07:00
Elian Doran f62e860b61
feat(client): use hamburger menu for horizontal layout 2024-11-22 22:44:34 +07:00
Elian Doran 50bf94875c
fix(client): global submenu not working in horizontal layout 2024-11-22 22:16:48 +07:00
Elian Doran 20b0215364
feat(client): set up quick search as launcher 2024-11-22 22:01:38 +07:00
Elian Doran 045c8699a9
refactor(client): use switch instead of chained-if 2024-11-22 21:56:34 +07:00
Elian Doran 15b9f38439
style(client): improve background for full-width tab bar 2024-11-22 21:41:23 +07:00
Elian Doran 91c4ea333e
feat(client): move tab bar on horizontal layout 2024-11-22 21:37:54 +07:00
Elian Doran d1550db08d
fix(client): experiment with full-width tab bar 2024-11-22 21:35:47 +07:00
Elian Doran c858630678
fix(client): fix size for horizontal launcher bar 2024-11-22 21:14:50 +07:00
Elian Doran c9f2a2bd6b
feat(client): reorder buttons on horizontal bar 2024-11-22 21:10:49 +07:00
Elian Doran efc84722a9
feat(client): implement top launcher pane 2024-11-22 21:05:45 +07:00
Elian Doran 8300acd30b
refactor(client): add support for optional children in layout 2024-11-22 20:36:08 +07:00
Elian Doran fd53781c71
feat(theme): use TriliumNext as login & set password theme 2024-11-22 20:22:48 +07:00
Elian Doran 76256c1b9c
feat(theme): use TriliumNext as setup theme 2024-11-22 20:21:22 +07:00
Elian Doran 2e544a7337
feat(theme): use TriliumNext as default theme 2024-11-22 20:15:35 +07:00
Elian Doran 3e705ec4fd
feat(theme): use prefers-color-scheme for automatic theme 2024-11-22 20:12:22 +07:00
Elian Doran 7cb9671fe3
feat(theme): start implementing a theme for TriliumNext 2024-11-22 20:12:09 +07:00
mm21 2f7d061ef1 Add label definition type for standalone time 2024-11-22 17:58:23 +07:00
Elian Doran 79b31bda76
chore(i18n): reach 100% for Romanian + small change 2024-11-22 19:48:57 +07:00
Elian Doran c30a4373d9
Merge pull request #652 from TriliumNext/remove-renovate-action
Remove the renovate action in favor of the GH app
2024-11-22 19:43:54 +07:00
perf3ct 12065902d2
Remove the renovate action in favor of the GH app 2024-11-22 17:39:34 +07:00
Elian Doran aa01161a40
Merge pull request #651 from TriliumNext/tab_enhance
Add reopen_last_tab and copy_tab_to_new_window to  tab management
2024-11-22 19:01:20 +07:00
SiriusXT 3cfc2ac768 Add reopen_last_tab and copy_tab_to_new_window to tab management 2024-11-22 17:24:06 +07:00
renovate[bot] 5faa6e1d67
fix(deps): update dependency helmet to v8 2024-11-21 21:54:26 +07:00
renovate[bot] 190c7f7274
fix(deps): update dependency chokidar to v4 2024-11-21 21:53:55 +07:00
renovate[bot] 0cb7d82d16
chore(deps): update stringbean/docker-healthcheck-action action to v3 2024-11-21 21:53:41 +07:00
renovate[bot] 1e478a7a52
chore(deps): update docker/metadata-action action to v5 2024-11-21 21:53:20 +07:00
renovate[bot] caf5b34d70
chore(deps): update docker/login-action action to v3 2024-11-21 21:53:17 +07:00
renovate[bot] 35bc2ade9c
fix(deps): update dependency yauzl to v3.2.0 2024-11-21 21:52:45 +07:00
renovate[bot] ecca6952d1
fix(deps): update dependency yargs to v17.7.2 2024-11-21 21:52:31 +07:00
renovate[bot] c8f1108a3c
fix(deps): update dependency is-svg to v4.4.0 2024-11-21 21:52:07 +07:00
renovate[bot] 87600dc65b
chore(deps): update webfreak001/deploy-nightly action to v3.2.0 2024-11-21 21:51:25 +07:00
renovate[bot] 8453255ed3
chore(deps): update node.js to v20.18.1 2024-11-21 21:51:18 +07:00
renovate[bot] e4f9affc82
fix(deps): update dependency i18next to v23.16.8 2024-11-21 21:51:15 +07:00
Elian Doran 79a906e695
Merge pull request #649 from TriliumNext/perfectra1n-patch-2
Also run Docker healthcheck checks on PRs
2024-11-21 23:11:22 +07:00
Elian Doran 2ffd0de736
feat(client): translate Electron context menu 2024-11-21 20:58:54 +07:00
Elian Doran ea8e98b8ef
refactor(client): define context menu shortcuts in separate field 2024-11-21 20:33:47 +07:00
Jon Fuller 84b555de3c
Also run Docker healthcheck checks on PRs 2024-11-21 09:39:13 +07:00
Elian Doran a037f95ff1
Merge pull request #625 from TriliumNext/renovate/migrate-config
chore(config): migrate renovate config
2024-11-21 19:07:00 +07:00
renovate[bot] 50d9f382a1
chore(config): migrate config renovate.json 2024-11-21 16:53:03 +07:00
Elian Doran ed90e0f7a9
client: Change tree star icon to link (closes #565) 2024-11-21 18:37:37 +07:00
Elian Doran 8c7cba4f33
server: Add a new settings launcher (closes #619) 2024-11-21 18:11:08 +07:00
Adorian Doran 128c4d45df Add a separator to the editor's context menu running under Electron 2024-11-21 17:21:57 +07:00
Adorian Doran 8658f9e6d3 Prevent the global menu's zoom container to be highlighted when being hovered 2024-11-21 17:11:32 +07:00
Adorian Doran 312c3ed6ad Add an extra separator for the zoom controls in the global menu 2024-11-21 16:27:48 +07:00
Adorian Doran bd2bcb7c97 Fix useless separator in the global menu when running under Electron 2024-11-21 16:21:24 +07:00
Elian Doran ae85bffd08
Merge pull request #618 from TriliumNext/feat/tweak-menus
Tweak menus
2024-11-20 19:12:43 +07:00
Elian Doran 84f63d5cf7
client: Remove icon color for close button 2024-11-20 19:12:20 +07:00
Elian Doran 0f75319677
Merge remote-tracking branch 'origin/develop' into develop
; Conflicts:
;	src/public/translations/de/translation.json
2024-11-20 19:10:04 +07:00
Adorian Doran 050eb08b1a Close #613 2024-11-20 19:01:20 +07:00
Elian Doran cdf8490651
Merge pull request #585 from TriliumNext/sirius_patch_2
Triggers full text search when Ctrl + Enter is pressed in note_autocomplete.
2024-11-20 18:54:20 +07:00
Adorian Doran 8f05b24694 Move back the close tab-related actions at the top of the menu 2024-11-20 14:39:19 +07:00
j13055 95f80efaeb fixed some errors 2024-11-20 13:24:14 +07:00
Adorian Doran 281b81ee60 Remove the shadow and the opening delay for the "Main Menu -> Advanced" submenu in mobile view 2024-11-20 14:18:17 +07:00
Adorian Doran 85b507938b Allow the submenu opening delay be set via a CSS variable 2024-11-20 14:16:10 +07:00
j13055 0c02a3bae9 tranlate not translated lines 2024-11-20 11:40:48 +07:00
Adorian Doran ac9f344130 Retrigger the opening animation when repositioning menus that are already open 2024-11-20 11:30:45 +07:00
Adorian Doran 2b432dd4f7 Delay the opening of submenus 2024-11-20 10:57:34 +07:00
Adorian Doran 3d27a60897 Add a fade animation when a menu is opening 2024-11-20 10:48:42 +07:00
Adorian Doran 3792761ffc Add missing icons 2024-11-20 10:13:52 +07:00
Adorian Doran 322d261df7 Tweak the icons of the launcher context menu items 2024-11-20 09:48:20 +07:00
Adorian Doran 1fb58f3e87 Reorganize the launcher context menu 2024-11-20 09:38:20 +07:00
SiriusXT c51adbc449 Add full text search in autocomplete 2024-11-20 14:22:39 +07:00
Adorian Doran 4179f9c155 Improve the sub-menu arrows for the tree context menu 2024-11-20 02:56:18 +07:00
Adorian Doran 35faba2c2f Fix the note revision list displaying a shadow 2024-11-20 02:30:29 +07:00
Adorian Doran dc893a438e Refine the icons from the tree menu 2024-11-20 02:10:29 +07:00
Adorian Doran a83e68fbb6 Change the "open externally" icons to avoid confusion with "open in a new tab" 2024-11-20 02:03:40 +07:00
Adorian Doran a677f4381d Add icon for "Open note in a new tab" 2024-11-20 01:45:36 +07:00
Adorian Doran 98dfeee188 Update the icons of the tree context menu 2024-11-20 01:42:42 +07:00
Adorian Doran dc7bb6d7eb Reorganize the tree context menu 2024-11-20 00:47:04 +07:00
Adorian Doran 855f936dbf Reorganize the attachment menu 2024-11-20 00:11:54 +07:00
Adorian Doran 48e7bab81b Reorganize the tab menu 2024-11-19 23:57:12 +07:00
Adorian Doran 694f896623 Highlight the "Delete note" menu item as a destructive action 2024-11-19 23:46:49 +07:00
Adorian Doran 5df287db23 Use a distinct icon color for destructive menu items 2024-11-19 23:44:57 +07:00
Elian Doran 8868a4eae1
Merge pull request #616 from TriliumNext/perfectra1n-patch-2
Update renovate.json
2024-11-19 23:40:38 +07:00
Elian Doran 0da1bee02c
i18n: Fix typo 2024-11-19 23:39:43 +07:00
Elian Doran 779218849a
i18n: Translate bulk action categories 2024-11-19 23:38:49 +07:00
Adorian Doran 4999809e3a Reorganize the note menu 2024-11-19 23:32:10 +07:00
Adorian Doran fd5412b715 Merge branch 'develop' of https://github.com/TriliumNext/Notes into feat/tweak-menus 2024-11-19 23:16:13 +07:00
Adorian Doran 4bcca01ff3 Add a drop shadow for menus 2024-11-19 22:55:44 +07:00
Adorian Doran 9b5526c99f Tweak the color of the menu separator 2024-11-19 22:40:52 +07:00
Adorian Doran 80ce2f5dbd Reorder the global menu items 2024-11-19 22:31:29 +07:00
Jon Fuller f629d48028
Update renovate.json
Remove the package rules for now, use the default schemas. Also include this repository in the config since I forgot that part 🤣
2024-11-19 12:08:17 +07:00
Elian Doran da95e15b01
Merge pull request #615 from TriliumNext/feat/tweak-backup-list
Improve the "Existing backups" section
2024-11-19 20:40:30 +07:00
Adorian Doran 70be4cd1c2 Update the Romanian translation 2024-11-19 20:34:54 +07:00
Adorian Doran 349b1c1d78 Improve appeareance 2024-11-19 20:28:47 +07:00
Adorian Doran e94942d665 Handle the situation where no backups are available 2024-11-19 20:22:10 +07:00
Elian Doran 4418ad986e
Merge pull request #612 from meichthys/develop
Improve note revision wording and consistency
2024-11-19 20:22:07 +07:00
Elian Doran c962a94e29
Merge pull request #607 from TriliumNext/add-renovate
Add renovate GitHub Action and JSON config
2024-11-19 20:21:05 +07:00
Elian Doran 7f3d5f1e70
Merge pull request #609 from TriliumNext/siriusxt_patch_1
Add box icons to note menu
2024-11-19 18:38:34 +07:00
Adorian Doran 32a4a9c072 Sort the backup files by date & time 2024-11-19 18:07:42 +07:00
Adorian Doran 22b768e5e8 Add translation 2024-11-19 18:00:23 +07:00
Adorian Doran 970c3bd7ad Format date and time 2024-11-19 17:54:34 +07:00
Adorian Doran 75941de449 Replace the "Existing backups" bulleted list with a table 2024-11-19 17:42:03 +07:00
MeIchthys 5d6a42b987
Improve note revision wording and consistency
Removed plurals where not needed, capitalized revisions dialog title, made note revision setting titles consistent with note revision dialog.
2024-11-19 14:22:52 +07:00
SiriusXT d8e50a2ab8 add icons to the Attachments menu 2024-11-19 22:21:33 +07:00
Adorian Doran 5b050410cb Fix the action button tooltips for the "Existing tokens" table 2024-11-19 09:48:44 +07:00
SiriusXT f7b1c3fee3 Add box icons to note menu 2024-11-19 14:03:30 +07:00
SiriusXT 0ba883ce2f Add box icons to note menu 2024-11-19 12:08:41 +07:00
SiriusXT 2b0d68368c Add box icons to note menu 2024-11-19 11:08:20 +07:00
maphew cc98a16246 refactor: one authoritave source for allowed html tags 2024-11-18 19:52:31 +07:00
perf3ct 180993ead9
make it clear that renovate opened this PR, for easier filtering 2024-11-18 20:22:38 +07:00
perf3ct f4ed98ebda
add renovate GitHub Action and json config 2024-11-18 20:16:39 +07:00
Elian Doran a4c0ae06db
client: Fix duplicate ribbon tabs (fixes #582) 2024-11-18 20:52:35 +07:00
Elian Doran 7a8d7f074c
client: Fix share boxicon not working correctly (fixes #603) 2024-11-18 19:12:31 +07:00
maphew 8574d2b143 Fix save) triggers 'not allowed to be changed'
"500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"

Note: the "allowed to change" list is set on startup. When a new option
is added Trilium must be restarted.
2024-11-17 20:38:27 +07:00
maphew 8db1205d57 Fix whitespace, \n delimiters
Bugs remaining:
- [reset to default] and page exit (e.g. save) triggers:
  "500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"
2024-11-17 20:30:28 +07:00
maphew f3b398570e make options UI properly read from translations file
Bugs remaining:
- extra whitespace under heading
- existing list is filled with `\n` instead of delimiters
- [reset to default] triggers
  "500 PUT options. Option 'allowedHtmlTags' is not allowed to be changed"
2024-11-17 20:16:09 +07:00
maphew 91b48095e4 add UI widget for allowed html tags option
todo: test with live app
2024-11-17 16:39:03 +07:00
maphew d08f09ae3b read allowedTags from options, fall back to static 2024-11-17 16:08:44 +07:00
maphew 9ef899eec5 extend html tags which are kept on import
https://github.com/TriliumNext/Notes/issues/567

this is the easy method, just add the tags to core, not attempting to
read the list from a user configurable location.
The addition is clearly marked in code.
2024-11-17 15:58:48 +07:00
Elian Doran b4072ec8a5
Merge pull request #600 from dwong33/dwong33-patch-1
Created server.json, introduced Traditional Chinese translation
2024-11-17 18:47:58 +07:00
Dwong33 a50e3935b5
Rename zh/server.json to tw/server.json
Better suit the zh-tw vs zh-cn
2024-11-17 04:18:46 +07:00
Dwong33 3034ca217d
Created server.json, introduced Traditional Chinese translation 2024-11-17 04:15:08 +07:00
matt wilkie 5999dabd0b test fix: sqlite no such table entity_changes
claude:
I've updated the test file to:

Add the entity_changes table with all required fields
Add missing fields to the notes table (isDeleted)
Add missing fields when inserting the parent note
2024-11-16 21:39:08 +07:00
matt wilkie 9cd398d1ce test fix: setup CLS context
claude sez: "I see the issue. The tests are failing because we need to set up the CLS (Continuation Local Storage) context that Trilium uses for transactions. Let me check how this is handled in other tests:

I've updated the test file to:

I've updated the test file to:

Use an in-memory database for testing
Set up necessary database tables in beforeEach
Wrap all database operations in cls.init() and sql.transactional()
Handle async operations properly
2024-11-16 21:36:07 +07:00
matt wilkie e397011437 test fix: describe not defined
"$ npx tsx spec/services/import/single.spec.ts
/home/mhw/dev/tnext/spec/services/import/single.spec.ts:6
describe('HTML Import', () => {
^
ReferenceError: describe is not defined
    at <anonymous> (/home/mhw/dev/tnext/spec/services/import/single.spec.ts:6:1)

Node.js v18.17.1"
2024-11-16 21:26:26 +07:00
matt wilkie a1ff4bb132 test fix: do not access content directly
"TSError: ⨯ Unable to compile TypeScript:
spec/services/import/single.spec.ts:137:25 - error TS2339: Property 'content' does not exist on type 'BNote'."
2024-11-16 21:21:24 +07:00
SiriusXT 002839176e Triggers full text search when Ctrl + Enter is pressed 2024-11-17 12:18:05 +07:00
matt wilkie 14d7e3e1ce test: attempt fix test import error by using importSinglefile instead of importHtml 2024-11-16 21:17:50 +07:00
SiriusXT e091ef64dd Triggers full text search when Ctrl + Enter is pressed 2024-11-17 12:17:11 +07:00
SiriusXT 46823d28e8 Merge branch 'develop' into sirius_patch_2 2024-11-17 12:15:29 +07:00
SiriusXT 616d7117db Merge branch 'sirius_patch_2' of https://github.com/TriliumNext/Notes into sirius_patch_2 2024-11-17 12:14:55 +07:00
SiriusXT 4e10071649 Triggers full text search when Ctrl + Enter is pressed in autocomplete 2024-11-17 12:14:44 +07:00
maphew 3a7564f733 a missed .ts file 2024-11-16 09:45:13 +07:00
maphew 47c05b2c6d feat: prefer HTML title tag over filename during import
When importing HTML files, extract and use the title from the <title> tag
if available, falling back to the filename only when no title tag is found.

This improves handling of titles with special characters that can't be
represented in filenames.
2024-11-16 09:06:58 +07:00
Elian Doran 3ff75b14e9
Merge pull request #595 from hasecilu/i18n/Spanish
i18n: Update Spanish translations for stable release
2024-11-16 00:25:08 +07:00
hasecilu 82e7814569
i18n: Update Spanish translations for stable release 2024-11-15 15:22:07 +07:00
Elian Doran 66e8cc40eb
i18n: Translate Romanian strings 2024-11-15 22:34:09 +07:00
Elian Doran 2260dcefe5
client,server: Enforce min value of max content width (closes #593) 2024-11-15 22:29:59 +07:00
Elian Doran 40c9ef69e7
Merge pull request #587 from TriliumNext/feature/editor-type-radios
Replace the editor type combo box with radio buttons
2024-11-15 21:01:10 +07:00
Elian Doran a8b87a1507
Merge pull request #576 from TriliumNext/siriusxt_patch
Add a text replacement feature to the find_widget
2024-11-15 20:51:27 +07:00
Elian Doran 1df1637257
Merge pull request #589 from TriliumNext/sirius_patch_3
Add more link protocol support
2024-11-15 20:43:09 +07:00
Adorian Doran 616cb87d4e client: Change the icon of the "Formatting" tab 2024-11-14 20:55:30 +07:00
Elian Doran 75a81dc28e ckeditor-decoupled: Add back find & replace button 2024-11-14 20:49:20 +07:00
SiriusXT 7f0d675ab8 Add more link protocol support 2024-11-14 14:04:10 +07:00
SiriusXT c907b288bd Add more link protocol support 2024-11-14 11:18:03 +07:00
SiriusXT d9ab5d71aa Add more link protocol support 2024-11-14 11:15:38 +07:00
Adorian Doran 8731b8a65b Fix translation 2024-11-13 23:55:30 +07:00
Adorian Doran de4f06d9be Update translations 2024-11-13 23:35:10 +07:00
Adorian Doran 9485067749 client: Replace the editor type combo box with radio buttons 2024-11-13 23:34:43 +07:00
j13055 cd35706147 added missing translations 2024-11-13 13:59:36 +07:00
j13055 3b94aee7b7 finished server translations 2024-11-13 12:39:50 +07:00
j13055 06e30674fe corrected setup translations 2024-11-13 12:31:51 +07:00
j13055 f7b1e87bc4 corrected login translations 2024-11-13 12:26:30 +07:00
j13055 2c252a9984 finished keyboard_actions translations 2024-11-13 12:25:11 +07:00
SiriusXT db79f231a0 Triggers full text search when Ctrl + Enter is pressed in note_autocomplete 2024-11-13 17:13:07 +07:00
Elian Doran 8c5d5e384f
Merge remote-tracking branch 'origin/develop' into feature/improved_promoted_attributes
; Conflicts:
;	src/public/app/layouts/desktop_layout.js
2024-11-12 20:03:54 +07:00
Elian Doran 693bcfb587
client: Add find & replace button to fixed toolbar 2024-11-12 19:47:50 +07:00
Elian Doran 38d32813d2
client: Fix syntax highlight for shell scripts (closes #583) 2024-11-12 19:32:38 +07:00
SiriusXT a0c6d695b0 Fix find_widget bugs 2024-11-12 10:56:54 +07:00
SiriusXT d63baa1503 Merge branch 'develop' into siriusxt_patch 2024-11-12 08:59:53 +07:00
Elian Doran 6734d765c9
Bump to 0.90.11-beta 2024-11-11 19:48:50 +07:00
Elian Doran 470594b1c7
Merge pull request #573 from TriliumNext/perfectra1n-patch-2
Update README to mention MacOS command fix
2024-11-11 19:42:56 +07:00
Elian Doran 782d34566d
Merge pull request #577 from hasecilu/i18n/Spanish_mini
i18n: Update Spanish translations, 100%
2024-11-11 19:41:32 +07:00
hasecilu 1b2a772612
i18n: Update Spanish translations, 100% 2024-11-11 10:35:54 +07:00
SiriusXT 497c24ee1e Fix the bug that code can't get the selected text 2024-11-11 23:13:26 +07:00
SiriusXT 8893e9d4d5 add replacement feature for code note 2024-11-11 22:57:24 +07:00
SiriusXT 2d9376a05c add a text replacement feature to the find_widget 2024-11-11 18:59:03 +07:00
SiriusXT ce40c74e83 Merge branch 'develop' into siriusxt_patch 2024-11-11 18:26:07 +07:00
SiriusXT 0aef04cea1 add a text replacement feature to the find_widget 2024-11-11 18:19:19 +07:00
SiriusXT 12b71961ae add a text replacement feature to the find_widget 2024-11-11 18:11:31 +07:00
Elian Doran 46218d6ab4
Merge pull request #574 from TriliumNext/fix-version-update-check
More reliably check for version updates
2024-11-11 00:47:51 +07:00
perf3ct 1d2366fa06
fix "click to download" button 2024-11-10 17:18:26 +07:00
perf3ct 0acba0eac4
add docstring for func 2024-11-09 22:23:02 +07:00
perf3ct 48d53e276e
more reliably check for version numbers 2024-11-09 22:16:00 +07:00
Elian Doran 47baa02bca
i18n: Translate 100% of Romanian 2024-11-09 23:34:18 +07:00
Elian Doran bc35c3c641
i18n: Remove some German-only messages 2024-11-09 23:31:45 +07:00
Jon Fuller 790b87f23f
Update README to mention MacOS command fix 2024-11-09 13:28:45 +07:00
Elian Doran 48ba15ad88
i18n: Fix incorrect IDs for German 2024-11-09 23:25:34 +07:00
Elian Doran cda28cfd65
Merge pull request #561 from j13055/develop
added german translation
2024-11-09 23:17:23 +07:00
Elian Doran 7ffe145481
Merge pull request #569 from TriliumNext/perfectra1n-patch-2
Update README.md for incremented sync version
2024-11-09 23:14:53 +07:00
Elian Doran ac2bca790b
Fix duplicate title for Trilium toolbar item (fixes #525) 2024-11-09 23:12:10 +07:00
Elian Doran cf2639a016 Fix duplicate title for Trilium toolbar item 2024-11-09 23:11:58 +07:00
Elian Doran 774966e640
client: Allow more link protocols (fixes #122) 2024-11-09 23:06:26 +07:00
Elian Doran c69bd8dcaf Update config based on #2 2024-11-09 22:58:20 +07:00
Elian Doran 81310d33b0
Merge pull request #571 from TriliumNext/feature/classic_editor
Classic editor for text notes (with fixed toolbar)
2024-11-09 22:40:38 +07:00
Jon Fuller 34e6430977
Update README.md
Co-authored-by: Elian Doran <contact@eliandoran.me>
2024-11-09 12:30:52 +07:00
Elian Doran 15b4eacdca
client: Change design of editor settings slightly 2024-11-09 21:35:37 +07:00
Elian Doran 7c342aed9e
client: Use translations for editor settings 2024-11-09 21:34:09 +07:00
Elian Doran 8c69d47aed
client,server: Implement shortcut for toggle classic editor toolbar 2024-11-09 18:36:38 +07:00
Elian Doran f88d3220b5
client: Repair attribute editor 2024-11-09 18:09:05 +07:00
Elian Doran 70a98a3d33
client: Use refactored version of CKEditor 2024-11-09 15:40:14 +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 6e0a10cf2c
client: Hide ribbon tab when classic editor is off 2024-11-09 14:54:04 +07:00
Elian Doran c421e75f55
client: Respect editor type choice 2024-11-09 14:49:05 +07:00
Elian Doran 89420eafa3
client: Set up ui for selecting editor UI 2024-11-09 14:33:20 +07:00
Elian Doran 7a70fc14b3
server: Set up editor type option 2024-11-09 14:33:14 +07:00
Elian Doran d2008e7e5f
client: Use different method to highlight disabled buttons 2024-11-09 14:15:03 +07:00
Elian Doran 745c9846a6
client: Use better method to expose CK watchdog 2024-11-09 14:13:08 +07:00
Elian Doran db8ab2bc72 Use better method to expose watchdog 2024-11-09 14:12:58 +07:00
Elian Doran 3972bb2ecf
client: Use build of CKEditor containing both types 2024-11-09 14:11:15 +07:00
Elian Doran a7bb9219bf Set up metapackage containing both build types 2024-11-09 14:10:29 +07:00
Elian Doran 06262adf91
client: Use translation for classic toolbar title 2024-11-09 13:40:13 +07:00
Elian Doran 5771060b57
client: Reorganize classic toolbar 2024-11-09 13:39:24 +07:00
Elian Doran 6a11f9c073
client: Add some JSDoc 2024-11-09 10:46:12 +07:00
Elian Doran 85ee7def84
client: Improve loading feel for classic toolbar 2024-11-09 10:37:14 +07:00
Elian Doran b88f0e0109
client: Hide ribbon for non text or read-only notes 2024-11-09 10:33:45 +07:00
Elian Doran 787aa6f5a6
client: Remove background for decoupled editor 2024-11-09 09:56:25 +07:00
Elian Doran 4f39188198
client: Use decoupled CKEditor 2024-11-09 09:43:37 +07:00
Elian Doran dd6e762dab
client: Activate ribbon toolbar by default 2024-11-09 09:19:38 +07:00
Elian Doran 48bc9204ac
client: Create empty toolbar ribbon 2024-11-09 09:18:59 +07:00
Elian Doran 918f425e1f
client: Group options for classic editor 2024-11-09 09:12:46 +07:00
Elian Doran 821af8dc11
client: Integrate block toolbar into classic options 2024-11-09 08:29:58 +07:00
Elian Doran 44734435ea
client: Remove block toolbar in classic mode 2024-11-09 00:32:26 +07:00
Elian Doran 01c53b6d9f
client: Use same config as bubble editor for classic 2024-11-09 00:21:27 +07:00
Elian Doran 9a5de0d4c8
client: Basic integration of classic editor w/ no attribute editor 2024-11-09 00:15:19 +07:00
Elian Doran 5116bddc5f
client: Group image align buttons in CKEditor 2024-11-08 23:44:52 +07:00
Elian Doran 92aa671ec7
client: Support inline images in CKEditor (fixes #531) 2024-11-08 23:29:56 +07:00
Elian Doran 1f4d09f6f0
client: Patch CKEditor to fix IME (fixes #568)
See https://github.com/ckeditor/ckeditor5/pull/16289
2024-11-08 22:49:07 +07:00
Elian Doran 29e83b97e6
client: Fix rendering notes if hljs is not loaded 2024-11-08 21:50:22 +07:00
Jon Fuller 18de0857b3
Update README.md for incremented sync version 2024-11-08 10:43:45 +07:00
Elian Doran 2048a30aa5
Merge pull request #547 from TriliumNext/smaller-container
Make the container smaller
2024-11-08 19:20:48 +07:00
Elian Doran 78017e4d36
client: Improve classic toolbar layout on mobile 2024-11-08 00:26:20 +07:00
Elian Doran 35fe5845a3
client: Fix classic editor on mobile 2024-11-08 00:20:51 +07:00
Elian Doran 1261bdbb29
client: Use correct background for code note preview 2024-11-07 23:58:10 +07:00
Elian Doran 91fa1a6cb1
client: Add syntax highlight for code note previews 2024-11-07 23:53:02 +07:00
Elian Doran 1816fcd3ac
client: force-graph: 1.45.0 -> 1.46.0 2024-11-07 23:11:22 +07:00
Elian Doran d13044b972
client: mind-elixir: 4.3.0 -> 4.3.1 2024-11-07 23:09:59 +07:00
Elian Doran f5205fdd30
electron: Fix code block theme loading in dev mode 2024-11-07 23:09:53 +07:00
Elian Doran 930b8e0ce2
Merge pull request #555 from rom1dep/mouse_scroll_dir
fix: mouse scroll wheel direction for zoom level
2024-11-07 22:25:24 +07:00
Elian Doran b5988ba7c2
Merge pull request #559 from TriliumNext/siriusxt-test
Make attachments open in a new tab/browser
2024-11-07 22:22:42 +07:00
j13055 75e2ceed5d added german translation 2024-11-06 13:52:23 +07:00
SiriusXT d2ee3738a2 Make attachments open in a new tab/browser 2024-11-06 10:02:42 +07:00
perf3ct 8a548f6589
also update the Alpine Dockerfile 2024-11-05 16:41:00 +07:00
perf3ct 0859a955b1 Results in a much smaller container 2024-11-04 17:38:05 +07:00
Elian Doran a02146df17
server: Fix loading of code block theme on server builds 2024-11-05 02:58:21 +07:00
Elian Doran a6385557b5
Merge pull request #545 from TriliumNext/latest-is-stable-container
Explicitly manage the "latest" tag, and have it point to the same tag as "stable"
2024-11-05 02:41:03 +07:00
Elian Doran 00aebfcdf0
Merge pull request #530 from Potjoe-97/patch-1
Patch fr translation
2024-11-05 02:38:53 +07:00
Elian Doran c6b3ace807
client: mind-elixir: 4.2.4 -> 4.3.0 2024-11-05 02:33:12 +07:00
Elian Doran 6799544950
Update package-lock.json 2024-11-05 02:31:42 +07:00
Elian Doran da1cf4d6ed
Bump to 0.90.10-beta 2024-11-04 17:24:30 +07:00
Romain DEP. 21cfb64f83 fix: mouse scroll wheel direction 2024-11-03 23:01:01 +07:00
Adorian Doran dd7c2084fa client: apply grouping to the MIME type list 2024-11-03 15:43:33 +07:00
Adorian Doran 4f5d874028 client: Use a multiple column layout for the MIME type listing 2024-11-03 15:42:13 +07:00
Potjoe-97 80e6276d31
Merge branch 'develop' into patch-1 2024-11-03 10:48:00 +07:00
Potjoe-97 0192060ad2
Update fr server.json : all strings translated 2024-11-03 10:44:56 +07:00
Potjoe-97 e41ff54c0d
Update translation.json : all strings translated 2024-11-03 10:43:15 +07:00
perf3ct bdece7216f
have the latest tag be the same as stable tag
get rid of this annoying default "latest" tag useage

to squash

to squash, I love whitespace

don't need to verify
2024-11-02 21:51:06 +07:00
Elian Doran 611fb90a52
Merge pull request #544 from hasecilu/i18n/Spanish_update
i18n: Update Spanish translations
2024-11-02 21:45:41 +07:00
hasecilu 75e554d86b
i18n: Update Spanish translations 2024-11-02 13:09:44 +07:00
Elian Doran 0db1a63cef
client: Fix sync error toast 2024-11-02 19:02:26 +07:00
Elian Doran 4ffc6f716c
client: Enable syntax highlighting in print 2024-11-02 16:40:33 +07:00
Elian Doran fa3200ba8f
electron: Fix docnotes not rendering 2024-11-02 16:11:59 +07:00
Elian Doran bff9bedc44
i18n: Translate sync messages 2024-11-02 15:43:16 +07:00
Elian Doran f8777b0de1
server: Fix path on dev environment 2024-11-02 15:01:58 +07:00
Adorian Doran 48e6c1a33d client: Properly align of the "Override theme fonts" checkbox 2024-11-02 14:34:55 +07:00
Adorian Doran 4c43ac5bdd client: Use a shadowless box for printed code blocks 2024-11-02 14:29:20 +07:00
Elian Doran 45ccc7562e
client: Fix error in toast due to missing import 2024-11-02 12:19:17 +07:00
Elian Doran e72eb5f27c
electron: Fix asset path on forge build 2024-11-02 11:49:33 +07:00
Elian Doran d1404492a7
build: Use shorter special version moniker
Some builds fail in the CI because the extra part of the version is limited to 20 chars.
2024-11-02 11:04:16 +07:00
Elian Doran 238c9c6f0d
build: Fix updating nightly version for desktop builds 2024-11-02 10:43:42 +07:00
Elian Doran 443f02a78e
client,server: i18next: 23.16.2 -> 23.16.4 2024-11-02 10:24:53 +07:00
Elian Doran 5fbd052138
build: Update tooling dependencies 2024-11-02 10:23:46 +07:00
Elian Doran bc84a71929
client: mermaid: 11.3.0 -> 11.4.0 2024-11-02 10:22:22 +07:00
Elian Doran a514a51fff
client: mind-elixir: 4.2.3 -> 4.2.4 2024-11-02 10:18:58 +07:00
Elian Doran 24022834e2
db: Update demo section on code blocks 2024-11-02 10:15:22 +07:00
Elian Doran 9fdc84d91f
build: Update nightly version for server as well 2024-11-02 09:53:36 +07:00
Elian Doran 9c27672794
build: Update nightly version to avoid caching issues 2024-11-02 09:47:31 +07:00
Elian Doran f37fa3723b
Merge pull request #526 from TriliumNext/feature/syntax_highlight
Basic syntax highlight support for code blocks
2024-11-02 01:46:02 +07:00
Elian Doran b14065d442
server: Address self-review 2024-11-02 01:42:25 +07:00
Elian Doran 1554e25283
server: Add documentation for code_block_theme 2024-11-02 01:39:35 +07:00
Elian Doran 4e945583a1
server: Add some documentation 2024-11-02 00:55:45 +07:00
Elian Doran 92c588dc98
server: Implement color theme migration based on existing theme 2024-11-02 00:39:22 +07:00
Elian Doran 5c66e3fd04
server: Initialize code block theme for old databases as well 2024-11-02 00:20:27 +07:00
Elian Doran e508313f21
electron: Fix deprecation warning 2024-11-01 23:42:32 +07:00
Elian Doran df3f51d1f3
electron: Fix loading of highlight.js 2024-11-01 23:42:23 +07:00
Elian Doran 0a6815e448
Merge remote-tracking branch 'origin/develop' into feature/syntax_highlight 2024-11-01 23:20:12 +07:00
Elian Doran 293db6962e
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-11-01 23:14:41 +07:00
Elian Doran eb05c5b919
Merge pull request #534 from TriliumNext/AutomaticallyShowRecentNotes
Automatically trigger autocomplete on focus.
2024-11-01 20:37:39 +07:00
Elian Doran bbaed45f6b
client: Fix scrolling in empty tab search list after constraining height 2024-11-01 20:23:46 +07:00
Elian Doran aa7d7b3afd
client: Add borders to empty tab search list 2024-11-01 20:20:53 +07:00
Elian Doran fc4797d04f
Merge pull request #541 from TriliumNext/export_file_name
Crop fileName  and prevent cutting into the extension.
2024-11-01 19:44:31 +07:00
Elian Doran c2baa4b752
server: Add comment to clarify use of regex 2024-11-01 19:43:39 +07:00
Elian Doran faeefc75ba
Merge pull request #542 from TriliumNext/close_tabs
close right tabs
2024-11-01 19:07:55 +07:00
Elian Doran d0904c1051
client: Change translation for closing tabs to the right 2024-11-01 19:05:56 +07:00
Elian Doran 11a82e62f1
client: Change layout of tab context menu slightly 2024-11-01 19:03:06 +07:00
SiriusXT 7b24f7e332 close right tabs 2024-11-01 22:01:46 +07:00
SiriusXT 7f17f93767 Crop fileName and prevent cutting into the extension. 2024-11-01 21:43:09 +07:00
SiriusXT cdd5a17fce Make note-detail-empty always display autocompletion. 2024-11-01 15:30:31 +07:00
SiriusXT dbca50d9b0 Make note-detail-empty always display autocompletion. 2024-11-01 14:45:49 +07:00
Elian Doran 57a86c75d8
i18n: Fix single Romanian translation 2024-10-31 23:54:50 +07:00
Elian Doran 4032135505
Revert "client: Move ribbon at the bottom"
This reverts commit 9b4ae87ef875d83c8735743972663f82913c9ff3.
2024-10-31 23:44:32 +07:00
Elian Doran db0911cc28
client: Focus promoted cell when clicking label 2024-10-31 23:42:14 +07:00
Elian Doran ac61d0f3ea
client: Move ribbon at the bottom 2024-10-31 23:42:14 +07:00
Elian Doran fcebb43410
client: Use single column layout for promoted attributes 2024-10-31 23:42:14 +07:00
Elian Doran 18b0907841
client: Move note title to scrolling container 2024-10-31 23:42:14 +07:00
Elian Doran 35da7908f8
client: Move promoted attributes to scrolling container 2024-10-31 23:42:14 +07:00
Elian Doran 9e3c1b46cd
client: Don't load syntax highlighter when not needed 2024-10-31 22:47:34 +07:00
Elian Doran 00209ec77a
client: Apply syntax highlight to included notes 2024-10-31 22:18:00 +07:00
Elian Doran dfa4f3cd84
client: Apply syntax highlight to note preview 2024-10-31 22:14:54 +07:00
Elian Doran 3af29a78dc
client: Refactor syntax highlighting for read-only text into service 2024-10-31 22:11:59 +07:00
Elian Doran 4d783f1879
client: Fix color theme leak when deactivating highlighting 2024-10-31 21:45:06 +07:00
Elian Doran c3e10b2b76
client: Remove syntax highlight in preview when disabled 2024-10-31 21:33:00 +07:00
Elian Doran f57ab4b9f0
client: Fix word wrap preview being in reverse 2024-10-31 21:29:01 +07:00
Elian Doran a690155d7e
client: Improve group for no theme 2024-10-31 21:17:40 +07:00
Elian Doran cc0b3db424
client: Translate dark/light color theme groups 2024-10-31 21:00:48 +07:00
Elian Doran ae60f8c842
client: Group color themes by dark/light 2024-10-31 20:54:33 +07:00
Elian Doran 90dffdc6ed
client: Enable preview for word wrap 2024-10-31 20:18:02 +07:00
Elian Doran ac13291744
client,server: Allow disabling syntax highlight 2024-10-31 18:03:52 +07:00
Elian Doran bbc038f254
Merge remote-tracking branch 'origin/develop' into feature/syntax_highlight 2024-10-31 17:48:49 +07:00
Elian Doran f8df3a6933
client: Fix crash for some unhandled rejections 2024-10-31 17:48:33 +07:00
Elian Doran b10e2d9ec4
Update README to add a few shields 2024-10-31 14:00:14 +07:00
SiriusXT 2387bbd17f Automatically trigger autocomplete on focus. 2024-10-30 22:30:40 +07:00
Adorian Doran f13d88c3c0 Add a background color transition for the code sample 2024-10-29 18:46:55 +07:00
Adorian Doran 2459bbf341 Improve the layout of the "Word wrapping" checkbox 2024-10-29 18:39:14 +07:00
Adorian Doran 60426ea487 Fix word-wrapping 2024-10-29 12:57:15 +07:00
Adorian Doran b112cb609f Tweak the padding of the language badges 2024-10-29 01:55:29 +07:00
Adorian Doran b9ebc66122 Customize the scrollbar in code boxes for WebKit-based browsers 2024-10-29 01:30:08 +07:00
Adorian Doran 2f4ed92346 Prevent the language badge to be scrolled in code boxes 2024-10-29 01:07:24 +07:00
Adorian Doran d3d001d8ea Tweak (again) the shadow of code blocks 2024-10-28 23:52:45 +07:00
Adorian Doran 70cee7dbf6 Tweak the shadow of code blocks 2024-10-28 23:44:40 +07:00
Adorian Doran 36fde2b03d Tweak the language badge of code blocks 2024-10-28 23:29:53 +07:00
Potjoe-97 88d8f57697
Merge pull request #3 from Potjoe-97/patch-2
Update translation.json
2024-10-28 16:03:33 +07:00
Potjoe-97 b7e254975f
Update translation.json 2024-10-28 16:02:17 +07:00
Potjoe-97 97b2ba2da1
Update server.json 2024-10-28 16:01:04 +07:00
Adorian Doran bda8173932 Improve the sample code 2024-10-28 16:08:46 +07:00
Adorian Doran 48f9f072b4 Format theme names 2024-10-28 16:07:52 +07:00
Elian Doran 9c55203ea0
client: Add credits 2024-10-28 00:05:43 +07:00
Elian Doran dbb5e0e971
server: Add friendlier names for color themes 2024-10-27 23:46:03 +07:00
Elian Doran b8eb09b46b
server: Refactor code block theme search into own service 2024-10-27 23:12:55 +07:00
Elian Doran 5682b2d819
client: Translate word wrapping 2024-10-27 22:57:34 +07:00
Elian Doran 5109c07e9c
client: Toggle word wrapping for code blocks 2024-10-27 22:51:24 +07:00
Elian Doran b8569ea243
client, server: Create option to control word wrapping for code blocks 2024-10-27 21:51:56 +07:00
Elian Doran 52bc28def7
client: Rename section to CodeBlockOptions 2024-10-27 21:42:40 +07:00
Elian Doran e65d4cdfbf
client: Rename endpoint to codeblock-themes 2024-10-27 21:40:22 +07:00
Elian Doran 96b9042559
client: Rename option to codeBlockTheme 2024-10-27 21:39:50 +07:00
Elian Doran e68d070320
client: Set up localization for syntax highlighting section 2024-10-27 21:27:35 +07:00
Elian Doran ef5f2c680b
client: Rephrase theme section 2024-10-27 21:19:27 +07:00
Elian Doran 6717b1b4ae
client: Rephrase section 2024-10-27 21:15:51 +07:00
Elian Doran 41e3163595
client: Fix flicker of font selection 2024-10-27 21:03:13 +07:00
Elian Doran 514653fb50
client: Fix flicker of preview 2024-10-27 20:22:23 +07:00
Elian Doran e843f1adc1
client: Fix background of preview 2024-10-27 20:19:53 +07:00
Elian Doran 83f5b47c99
client: Set up simple preview for syntax highlight 2024-10-27 20:18:44 +07:00
Elian Doran 2fdff29067
client: Apply syntax highlight in real-time 2024-10-27 20:08:12 +07:00
Elian Doran 0d270cbeb6
client: Use 3px shadow for dark theme 2024-10-27 20:01:08 +07:00
Elian Doran f947a039b9
client: Apply background to read-only code blocks as well 2024-10-27 19:58:00 +07:00
Elian Doran d2235a185b
client: Improve style for code blocks 2024-10-27 19:54:05 +07:00
Elian Doran 87bc142552
client: Fix foreground color 2024-10-27 19:43:48 +07:00
Elian Doran 1a25f60264
client: Fix background color 2024-10-27 19:41:28 +07:00
Elian Doran fe4dbae079
client: Apply highlighting theme on refresh 2024-10-27 17:41:37 +07:00
Elian Doran e1ae014b74
server: Remove dashes from syntax theme name 2024-10-27 17:25:05 +07:00
Elian Doran 7952a5a81e
client: Fix order of options 2024-10-27 12:54:40 +07:00
Elian Doran 60b6f7df89
client: Allow switching theme 2024-10-27 12:54:06 +07:00
Elian Doran 7354fb5b4a
client,server: List syntax highlighting themes 2024-10-27 12:41:53 +07:00
Elian Doran 1fb0b74f76
client: Use same mechanism for read-only notes 2024-10-27 12:15:32 +07:00
Elian Doran 9e3b915612
client: Use translation for auto-detect 2024-10-27 11:47:36 +07:00
Elian Doran 7505db220e
client: Implement auto syntax highlighting 2024-10-27 11:46:19 +07:00
Elian Doran a3932376f3
client: Add Javadoc for newly introduced methods 2024-10-27 11:32:54 +07:00
Elian Doran 3a609d54ab
client: Fix highlighting for JavaScript 2024-10-27 11:21:08 +07:00
Elian Doran c4bd4eb440
client: Respect user language selection for editor 2024-10-27 11:18:36 +07:00
Elian Doran e931df721d
client: Fix duplication when requesting scripts 2024-10-27 10:48:50 +07:00
Elian Doran 1e9324c303
client: Support custom language types for highlight 2024-10-27 10:39:31 +07:00
Elian Doran 6c4513fb2e
client: Enable syntax highlight for read-only notes 2024-10-27 08:52:34 +07:00
Elian Doran c7e1362105
Merge branch 'develop' into feature/syntax_highlight 2024-10-26 23:39:49 +07:00
Elian Doran acf37f9327
client: Fix error when duplicating note 2024-10-26 23:39:38 +07:00
Elian Doran f80cf0aa02
Add limit to blocks highlighting 2024-10-26 23:39:18 +07:00
Elian Doran 6078620bf1
Carry over code block highlighting 2024-10-26 23:27:23 +07:00
Elian Doran 579b3f4ca0
Carry over highlighter initialization 2024-10-26 23:21:51 +07:00
Elian Doran bf28005f46
Create dedicated file for syntax highlight 2024-10-26 23:16:24 +07:00
Elian Doran c81b847b61
Set up highlight.js 2024-10-26 22:57:07 +07:00
Elian Doran 05116b3b0d
client-ts: Port widgets/icon_list 2024-10-26 10:41:02 +07:00
Elian Doran 8cc271a192
client: Fix a few TypeScript build errors 2024-10-26 10:31:51 +07:00
Elian Doran 86fc59d265
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1
; Conflicts:
;	package-lock.json
;	package.json
;	src/public/app/components/app_context.ts
;	src/public/app/services/hoisted_note.ts
;	src/public/app/services/open.ts
;	src/public/app/services/toast.ts
2024-10-26 10:20:19 +07:00
Elian Doran 88cd2ac25c
build: Fix duplication 2024-10-26 01:00:44 +07:00
Elian Doran e3e6f56a88
build: Add icon.png for Linux builds (fixes #507) 2024-10-26 00:58:02 +07:00
Elian Doran 0768a2a0a3
build: Add StartupWMClass to deb build 2024-10-26 00:42:44 +07:00
Elian Doran 84d216da54
i18n: Translate missing keys for Romanian 2024-10-25 21:06:03 +07:00
Elian Doran 391f518c01
i18n: Translate search note prefix 2024-10-25 21:04:13 +07:00
Elian Doran 2324c9a13b
client: Fix HTML in some toasts 2024-10-25 20:51:50 +07:00
Elian Doran 6799c44e22
client: Fix redundant toast message 2024-10-25 20:50:13 +07:00
Elian Doran f0052d56b7
Merge pull request #520 from hasecilu/i18n/more_Spanish_translation
More Spanish translation
2024-10-25 20:49:48 +07:00
Elian Doran 53822fd47f
client: Remove redundant global 2024-10-25 20:44:08 +07:00
hasecilu b02c4b54e5
i18n: Fix source strings 2024-10-25 11:32:43 +07:00
hasecilu 27f07ee604
i18n: Update Spanish translations 2024-10-25 11:32:42 +07:00
Elian Doran 03a23d15f9
client: Fix double errors if not returning a widget 2024-10-25 20:22:29 +07:00
Elian Doran 70d55097ee
client: Fix crash if note tree fails to find a child note 2024-10-25 20:15:12 +07:00
Elian Doran 560467bdba
client: Log uncaught promise errors 2024-10-25 19:57:40 +07:00
Elian Doran cb4fe4481f
client: Strengthen widget rendering errors detection 2024-10-25 19:57:31 +07:00
Elian Doran eee088316d
client: Improve logging for some bundle errors 2024-10-24 20:55:36 +07:00
Elian Doran 81ca0a3776
client: Improve logging for basic sync crash 2024-10-24 18:47:16 +07:00
Elian Doran 48b0af1bba
client: Stop crash if right widget crashes during render 2024-10-24 18:14:17 +07:00
Elian Doran 43ef452d44
client: Fix error when running script due to translations 2024-10-23 20:33:55 +07:00
Elian Doran 70ebf1a08f
client: Fix content size for code editor 2024-10-23 20:27:36 +07:00
Elian Doran 9f6f0f5d60
server: Update locale when switching language from settings 2024-10-23 19:56:06 +07:00
Elian Doran af67362ad6
server: Translate weekday and month names 2024-10-23 19:34:09 +07:00
Elian Doran 77550f3087
server: Fix regression due to express types 2024-10-22 20:09:42 +07:00
Elian Doran 5813282248
Prepare for 0.90.9-beta 2024-10-22 20:05:43 +07:00
Elian Doran e77b223508
client: Update force-graph 1.43.5 -> 1.45.0 2024-10-22 20:03:05 +07:00
Elian Doran 7aafdce629
server: Update jasmine, debounce 2024-10-22 19:56:15 +07:00
Elian Doran a2f0cb394a
server: Update marked, sanitize-html to latest 2024-10-22 19:53:22 +07:00
Elian Doran e8d1518965
build: Update TypeScript 2024-10-22 19:30:34 +07:00
Elian Doran 8b333b32af
mind-elixir: 4.2.2 -> 4.2.3 2024-10-22 19:27:53 +07:00
Elian Doran cda369ed4d
server: Update express, express-rate-limit, express-session to latest 2024-10-22 19:25:47 +07:00
Elian Doran b5bc93d794
i18next: 23.16.1 -> 23.16.2 2024-10-22 19:24:16 +07:00
Elian Doran b96047e962
vanilla-js-wheel-zoom: 9.0.2 -> 9.0.4 2024-10-22 19:22:14 +07:00
Elian Doran 31ccbb0d23
mind-elixir: 4.2.0 -> 4.2.2 2024-10-22 19:17:52 +07:00
Elian Doran cb9403535d
i18next: 23.16.0 -> 23.16.1 2024-10-22 19:17:52 +07:00
Elian Doran b5ee90a1d2
i18n: Translate delete/restore branch 2024-10-22 19:17:52 +07:00
Elian Doran 9ed7eb977e
i18n: Translate launcher context menu 2024-10-22 19:17:52 +07:00
Elian Doran 8cc487da7c
i18n: Translate confirmation popups 2024-10-22 19:17:52 +07:00
Elian Doran ae593ea363
i18n: Translate protected session 2024-10-22 19:17:52 +07:00
Elian Doran 26e4decaec
i18n: Translate toast errors 2024-10-22 19:17:52 +07:00
Elian Doran 28f6712a4f
i18n: Translate toast messages 2024-10-22 19:17:52 +07:00
Elian Doran 93efce4023
server: Minimize not found logs (closes #505) 2024-10-22 19:17:52 +07:00
Elian Doran 689b3a3079
i18n: Fix capitalization of no anonymization 2024-10-22 19:17:51 +07:00
Elian Doran 4ad725842e
server: Trim .htm when importing zip (closes #500) 2024-10-20 00:17:51 +07:00
Elian Doran d4956ad3a2
client: Refactor and add documentation 2024-10-19 23:19:11 +07:00
Elian Doran c7b7c68a05
client: Reduce code duplication for CodeMirror 2024-10-19 23:12:33 +07:00
Elian Doran cab1d7d353
client: Set up syntax highlight in read-only code (closes #504) 2024-10-19 22:56:45 +07:00
Elian Doran 7957c6d34e
client: Fix promoted attribute style regressions (closes #503) 2024-10-19 22:40:27 +07:00
Elian Doran c18c972a57
i18n: Use variable interpolation for delete relation warning 2024-10-19 11:13:54 +07:00
Elian Doran 29a700f731
i18n: Fix duplication in delete relations count 2024-10-19 10:55:48 +07:00
Elian Doran 815eab26f6
i18n: Fix duplication in delete note count 2024-10-19 10:50:56 +07:00
Elian Doran 103da23b5a
i18n: Fix strange title in Romanian 2024-10-19 10:46:28 +07:00
Elian Doran ba1d82bc0a
i18n: Fix capitalization of checkbox 2024-10-19 10:45:45 +07:00
Elian Doran 21f8a29761
Bump to v0.90.8 2024-10-19 09:44:34 +07:00
Elian Doran f38870b27d
i18next: 23.15.2 -> 23.16.0 2024-10-17 23:15:46 +07:00
Elian Doran 56a6d27240
client: mind-elixir: 4.1.5 -> 4.2.0 2024-10-17 23:12:43 +07:00
Elian Doran 38e5ef2c7d
i18n: Translate some more Romanian messages 2024-10-17 22:50:20 +07:00
Elian Doran e29d600517
Merge pull request #489 from TriliumNext/add-stable-tag-to-containers
Introduce `stable` tag on containers
2024-10-17 22:43:04 +07:00
Elian Doran 42605fbbad
Merge pull request #495 from Potjoe-97/develop
i18n : Add fr translation (2/2)
2024-10-17 22:42:01 +07:00
Elian Doran 11ca427a28
Merge pull request #496 from hasecilu/i18n/Spanish_more
Continue Spanish translation
2024-10-17 22:40:34 +07:00
hasecilu 28d8088763
i18n: Create script to create PO files for translation
Script for translators
2024-10-17 13:34:40 +07:00
hasecilu 664c4789c0
i18n: Update Spanish translation 2024-10-17 12:30:36 +07:00
Potjoe-97 7c5667b457 Minor fixes 2024-10-17 15:54:42 +07:00
Potjoe-97 0afd22e196 Edited French option to display native spelling 2024-10-17 15:12:51 +07:00
Potjoe-97 b3abee71b7 Major overhaul fr translation
Corrections & Consistency
2024-10-17 13:33:28 +07:00
Elian Doran 9bd5596b2a
i18n: Set up French 2024-10-16 20:29:42 +07:00
Elian Doran e0e3c15e6e
Merge pull request #493 from Potjoe-97/develop
Add french translation
2024-10-16 20:28:38 +07:00
Potjoe-97 31396264fa Corrections i18n : {} attribute detail 2024-10-16 14:52:05 +07:00
Potjoe-97 b1aada22b5 Corrections in /src/public/translations/fr 2024-10-16 11:32:34 +07:00
Elian Doran d7eaf72a6d
Merge pull request #491 from TriliumNext/feature/i18n-part6
Feature/i18n part6
2024-10-16 12:13:28 +07:00
Potjoe-97 59df442676 Corrections /src/public/translations/fr
Consistency in translations/server.json
2024-10-15 20:29:34 +07:00
Potjoe-97 9770db7f3c Consistency : "étiquette" now translated into "label" 2024-10-15 18:52:34 +07:00
Potjoe-97 8c36cea71b src/public/translations/fr : First draft 2024-10-15 18:16:39 +07:00
Potjoe-97 b03f40f1f9 Edit french translation 2024-10-15 15:48:11 +07:00
Potjoe-97 00dba7bef4 Add french translation 2024-10-15 15:20:04 +07:00
Nriver 4186f3d136 add translation for app_context.js 2024-10-15 15:46:34 +07:00
Nriver 529502524d add missing context menu translation 2024-10-15 15:24:01 +07:00
Nriver 7c518e9512 add translation for watched_file_update_status.js 2024-10-15 15:19:09 +07:00
Nriver 5e2d1bc124 add translation for toc.js 2024-10-15 15:12:09 +07:00
Nriver 7dfe6f276e update Chinese translation and synchronize with English 2024-10-15 15:05:48 +07:00
Nriver 858db68d66 add translation for tab_row.js 2024-10-15 14:51:26 +07:00
Jon Fuller b72f46f108
Don't add `stable` if pushed tag has `-` 2024-10-14 14:06:55 +07:00
Elian Doran 83dbe0539e
client: Highlight content links on hover 2024-10-14 22:47:16 +07:00
Jon Fuller 87e0cf55f1
Introduce `stable` tag on containers
Closes #488
2024-10-14 12:18:29 +07:00
Elian Doran 8315d5c778
Update package-lock 2024-10-14 22:13:04 +07:00
Elian Doran 61bd7dca18
client: Fix underlines for all links (closes #485) 2024-10-14 22:12:48 +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
Elian Doran 7f338044b0
Merge pull request #484 from meichthys/develop
Move Description section to top of bug report
2024-10-14 09:39:56 +07:00
meichthys ea3f47b8fa Move Description section to top of bug report 2024-10-14 01:12:43 +07:00
Elian Doran 4faf27364f
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-10-13 15:45:48 +07:00
Elian Doran 52a6d0b48a
Bump version to 0.90.7-beta 2024-10-13 15:45:40 +07:00
Elian Doran cddc9a7b6a
i18n: Mark mind map as beta 2024-10-13 14:43:50 +07:00
Elian Doran 75d019863f
server: Disable debug mode for i18n 2024-10-13 14:40:07 +07:00
Elian Doran 849a6a3aef
electron: Solve server translation loading on macOS 2024-10-13 14:24:46 +07:00
Elian Doran e7378306a2
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-10-13 13:52:39 +07:00
Elian Doran 1277dfc5d5
electron: Add back server translations 2024-10-13 12:31:37 +07:00
Elian Doran ae680847dc
vscode: Pin nightly GitHub Action 2024-10-13 12:28:05 +07:00
Elian Doran a5fd57308a
server: Fix translations in standalone build 2024-10-13 12:09:36 +07:00
Elian Doran fa769df7b0
client: Fix table background on dark mode 2024-10-13 11:20:26 +07:00
Elian Doran 8136a2972e
Merge pull request #465 from quantum5/pwa-icon-fix
server: fix blurry PWA icon
2024-10-13 10:51:00 +07:00
Elian Doran 8c8c3974f3
Merge pull request #480 from hasecilu/i18n/Spanish_server
i18n: Add more Spanish translations
2024-10-13 10:07:39 +07:00
hasecilu e81bfa3693
i18n: Add more Spanish translations 2024-10-12 17:30:59 +07:00
Elian Doran a857f4816f
codemirror: 5.65.15 -> 5.65.18 2024-10-12 20:48:39 +07:00
Elian Doran ade34f9745
client: Use CodeMirror from package.json 2024-10-12 20:41:50 +07:00
Elian Doran fd66cb930d
electron: Update electron-forge to latest 2024-10-12 20:22:18 +07:00
Elian Doran 182d9afac1
tools: Update development tools 2024-10-12 20:18:44 +07:00
Elian Doran 4e6ef0be95
i18next: 23.15.1 -> 23.15.2 + http-backend 2024-10-12 20:16:23 +07:00
Elian Doran 88961ea93f
mermaid: 11.2.0 -> 11.3.0 2024-10-12 20:14:46 +07:00
Elian Doran a3f2946a17
mind-elixir: 4.1.1 -> 4.1.5 2024-10-12 20:12:45 +07:00
Elian Doran 8ae5f9ea9b
electron: Fix translations in packaged builds 2024-10-12 19:40:54 +07:00
Elian Doran 9ec2508f09
i18n: Add more Romanian translations 2024-10-12 18:53:24 +07:00
Elian Doran bae63b08a2
server, electron: Fix crash if locale is undefined 2024-10-12 18:24:10 +07:00
Elian Doran 729a188528
docker: Fix server translation initialization (closes #439) 2024-10-12 10:53:30 +07:00
Elian Doran 2c5a5acffa
server: Improve type for keyboard shortcut scope 2024-10-12 10:31:12 +07:00
Elian Doran e45c5f429d
server: Fix crash when starting server in Docker due to translations 2024-10-12 10:29:50 +07:00
Elian Doran 5c44ac5ad8
ci: Fix permissions for nightly 2024-10-11 22:15:50 +07:00
Elian Doran b44c2f5ebf
ci: Configure nightly deployment 2024-10-11 22:07:22 +07:00
Elian Doran 6e64cab2d4
Merge pull request #327 from TriliumNext/JYC333-patch-1
Create nightly release action
2024-10-11 21:56:04 +07:00
Elian Doran 9c8cf0bc09
Merge pull request #452 from TriliumNext/fix-image-copy
Use the electron Clipboard module when using "Copy image to clipboard"
2024-10-11 19:48:18 +07:00
Elian Doran bafc556b00
server: Fix build errors 2024-10-11 19:45:54 +07:00
Elian Doran 0ec3232c81
Merge pull request #451 from jaimeferj/bugfix/parseDatesOnSort
Fixes issue #441: Dates were not parsed on sorting
2024-10-10 23:31:47 +07:00
Elian Doran 469c1ceb07
Merge pull request #458 from TriliumNext/zip-import-image-fix
Resolve MIME type not being used when creating new note correctly, upon zip import
2024-10-10 23:26:48 +07:00
Elian Doran 5e80f120c9
server: Refactor variable usage 2024-10-10 20:21:06 +07:00
Elian Doran 8faa26b663
Merge pull request #391 from SiriusXT/revisions_number_limit
Revisions number limit
2024-10-10 20:13:24 +07:00
Elian Doran 201e2fcfdb
Merge pull request #472 from dousha/bugfix-math-preview
Override the z-index of Bootstrap tooltips
2024-10-10 20:04:25 +07:00
Elian Doran 5678487a16
Merge pull request #473 from TriliumNext/feature/i18n-part5
Feature/i18n part5
2024-10-10 19:13:31 +07:00
Nriver 6646e8c311 update Chinese translation and synchronize with English 2024-10-10 15:42:10 +07:00
dousha 96fc4d3280 Override the z-index of Bootstrap tooltips, making it conform to CKEditor's z-index ordering.
This change overrides the z-index of Bootstrap tooltips (calculates to 1080 in the current version) to the value assigned to CKEditor Panel Balloons (calculates to 1000 in the current version) minus 1. It also removes the original override to the CKEditor Panel Balloons which forces the autocomplete box to appear above tooltips, which is no longer needed and would interfere with math preview boxes.

This change fixes the regression to the [original issue][1] and the [math preview issue][2]. One notable effect is that tooltips will not cover menus when overlapped with one, including menus opened from the top-right corner. Further discussion and more extensive testing are encouraged.

[1]: https://github.com/zadam/trilium/issues/1272
[2]: https://github.com/TriliumNext/Notes/issues/297
2024-10-10 13:19:08 +07:00
Elian Doran 0a69189b9b
i18n: Reach 100% for Romanian 2024-10-09 22:04:00 +07:00
Elian Doran cb3ea3fb75
Merge pull request #449 from hasecilu/i18n/Spanish_pt_3_4
i18n: Continue Spanish translation, parts 3 and 4
2024-10-09 21:58:38 +07:00
Elian Doran 787a2d1957
Merge pull request #450 from hasecilu/docs/fix_links
docs: Use relative link to other README files
2024-10-09 21:56:38 +07:00
Elian Doran 89e1275dda
i18n: Tweak a single message 2024-10-09 20:06:20 +07:00
Elian Doran ddc927d617
server: Bump sync version (closes #467) 2024-10-09 20:06:13 +07:00
Quantum d46963e496 server: fix blurry PWA icon 2024-10-08 20:32:17 +07:00
perf3ct c37a51c6d0
use type assertions to make TS happy? 2024-10-03 22:48:47 +07:00
perf3ct 91095e8d4e
detectFileTypeAndMime also returns the type, fixes #456 2024-10-03 22:24:43 +07:00
MeIchthys d4fa7e3fd2
Add link to docs repo under contributing section 2024-10-03 23:23:43 +07:00
perf3ct 9204f0735c
use fewer const 2024-09-30 19:43:44 +07:00
perf3ct cfc32a14e0
Use the electron Clipboard module when using "Copy image to clipboard" 2024-09-28 17:41:59 +07:00
Jaime Fernández 270aa52591 Fixes issue #441: Dates were not parsed on sorting 2024-09-28 02:33:36 +07:00
hasecilu 99a5913391
docs: Use relative link to other README files
`master` branch was hardcoded despite working on `develop` branch
2024-09-27 14:38:45 +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
hasecilu c3d6165aff
i18n: Continue Spanish translation, parts 3 and 4
Some fixes were done thanks by using PO file with Poedit. It enhances a
lot the workflow for translators

---

Step 1: Create PO files from English and localized JSON files as source
$ json2po -t en es po-es

Step 2: Make the translation

Step 3: Recover translation from PO files to JSON file. Remember to set
the indentation to 2 spaces
$ po2json -t en po-es es

Step 4: Update localized JSON file with missing tags from English JSON
$ jq -s '.[0] * .[1]' en/translation.json \
    es/translation.json > merged.json
$ mv merged.json es/translation.json

Step 5: Remove PO files
$ rm -r po-es
2024-09-25 17:54:46 +07:00
Elian Doran 9220616bb5
Merge pull request #448 from Nriver/feature/i18n-part4
Feature/i18n part4
2024-09-25 18:54:12 +07:00
Nriver eb9b4aee21 add translation for 6 widgets 2024-09-24 09:57:16 +07:00
Nriver d9a7671830 update Chinese translation and synchronize with English 2024-09-24 09:28:46 +07:00
SiriusXT 353c410f0e Merge branch 'develop' into revisions_number_limit 2024-09-17 19:58:16 +07:00
Elian Doran 7ca4cddc58
Merge pull request #431 from TriliumNext/perfectra1n-patch-2
Print Docker container log, regardless of success or failure of healthcheck
2024-09-15 23:29:06 +07:00
Elian Doran 12543f762b
Merge pull request #432 from TriliumNext/hide_float_button
Floating buttons can be displayed again after being closed
2024-09-15 23:21:44 +07:00
SiriusXT ec7fabcb58 Floating buttons can be displayed again after being closed 2024-09-15 22:22:38 +07:00
Jin 5d08f2bc5a fix revision list ESC behaviour 2024-09-15 12:41:45 +07:00
SiriusXT a557b82c83 Fixed the bug that notes in different formats cannot be restoredRevisioned 2024-09-15 12:48:01 +07:00
SiriusXT 62a884cb5a fix potential bugs that may exist in getRevisions 2024-09-15 10:51:55 +07:00
perfectra1n 88875a3375
Print Docker container log, if success or failure healthcheck 2024-09-14 12:50:25 +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
SiriusXT cd547ebdaf Fix svg not previewing in revisions 2024-09-14 21:09:52 +07:00
Elian Doran e511d6aecf
client: Fix strange margins when ribbon has hidden components 2024-09-14 14:47:48 +07:00
Elian Doran 9b6148dec3
client: Translate attribute editor placeholder 2024-09-14 14:44:32 +07:00
Elian Doran 29a1aad45a
Merge pull request #430 from TriliumNext/fix
Fix global menu advanced command can't click
2024-09-14 14:40:03 +07:00
SiriusXT a9fce727d4 Fix svg not previewing in revisions 2024-09-14 19:37:25 +07:00
Elian Doran 9e85d2cdbd
server: Fix missing translations in keyboard actions 2024-09-14 14:34:24 +07:00
Jin c4f430276a fix global menu advanced command can't click 2024-09-14 11:02:23 +07:00
SiriusXT fdf57b6cfa revisions_number_limit 2024-09-14 16:00:18 +07:00
SiriusXT 0a9e76abb7 Merge branch 'develop' into revisions_number_limit 2024-09-14 14:58:47 +07:00
SiriusXT 3e085e5cae Show revision information 2024-09-14 14:32:43 +07:00
Elian Doran 73cd54e75c
client: Fix shortcuts section crashing when no translations 2024-09-13 22:58:39 +07:00
Elian Doran 28b8e59b4d
electron: Translate title bar button 2024-09-13 22:56:30 +07:00
Elian Doran 51b6725b91
server,electron: Downgrade incompatible libraries for now 2024-09-13 22:54:06 +07:00
Elian Doran 93ca30fda0
build: Fix type not in dev dependencies 2024-09-13 22:46:15 +07:00
Elian Doran 8c222368de
i18n: Translate some more messages in Romanian 2024-09-13 22:26:56 +07:00
Elian Doran a3aa6b0628
client: Translate note tree 2024-09-13 22:22:16 +07:00
Elian Doran d0061794dd
client: Translate note icon 2024-09-13 22:17:22 +07:00
Elian Doran 17c8708b54
client: Translate quick search 2024-09-13 22:08:52 +07:00
Elian Doran da0ddbb80d
i18n: Translate the rest of Romanian messages 2024-09-13 21:59:19 +07:00
Elian Doran 138b4b1a95
i18n: Remove unused key 2024-09-13 21:57:23 +07:00
Elian Doran 1299072ea9
server: Update dependencies 2024-09-13 21:51:46 +07:00
Elian Doran bb5893f989
electron: Update squirrel startup 2024-09-13 21:49:36 +07:00
Elian Doran 7b764fd7d8
client: Update mermaid, mind elixir 2024-09-13 21:48:38 +07:00
Elian Doran ac2fc49a48
build: Update tooling dependencies 2024-09-13 21:44:57 +07:00
Elian Doran c0abf6e2c5
Use fixed versions for all dependencies 2024-09-13 21:43:58 +07:00
Elian Doran 85ff0bac55
electron: Set up StartupWMClass to avoid missing icon 2024-09-13 21:21:29 +07:00
Elian Doran 3671b83a9c
server: Disable debug logs for i18n 2024-09-13 21:16:20 +07:00
Elian Doran 6970bf4fc1
Merge pull request #428 from TriliumNext/icon_improvement
Fix strange underline for zoom button
2024-09-13 17:50:44 +07:00
SiriusXT e5cce1b1bc Fix strange underline for zoom button 2024-09-13 22:24:19 +07:00
Elian Doran faa8eca810
i18n: Translate a few Romanian messages 2024-09-13 14:57:05 +07:00
SiriusXT 84bf0cbae5 Merge branch 'develop' into revisions_number_limit 2024-09-13 19:46:07 +07:00
SiriusXT a77264208e Merge branch 'develop' into icon_improvement 2024-09-13 19:15:33 +07:00
SiriusXT ee06db8c8f Fix strange underline for zoom button 2024-09-13 19:10:44 +07:00
Elian Doran e330b43750
Merge pull request #426 from TriliumNext/feature/i18n-part3
Feature/i18n part3
2024-09-13 10:28:26 +07:00
Nriver f5b21498bf add translation for mermaid.js 2024-09-13 11:24:42 +07:00
Nriver 83388ecf1c add translation for 2 widgets 2024-09-13 11:10:59 +07:00
Nriver 87de631af4 sync Chinese translation with English 2024-09-13 10:53:50 +07:00
Nriver e4271d3945 update missing translation 2024-09-13 10:29:44 +07:00
Elian Doran 65b8a2f97c
Merge pull request #425 from TriliumNext/dropped-backslash
Picking up the backslash that I dropped
2024-09-13 00:04:08 +07:00
perfectra1n 0656154c35
Picking up the backslash that I dropped
I wiped it off and cheered it up, so it should be ready to go now.
2024-09-12 13:45:13 +07:00
Elian Doran b3f682144b
server: Update better-sqlite3 11.1.2 → 11.3.0 2024-09-12 23:08:22 +07:00
Elian Doran d3c3e157c7
server: Update express 4.19.2 -> 4.21.0 2024-09-12 22:49:21 +07:00
Elian Doran 2534402157
client,server: Update i18next 23.14.0 -> 23.15.1 2024-09-12 22:47:46 +07:00
Elian Doran ec80ba5caf
build: Update jasmine from 5.1.0 to 5.3.0 2024-09-12 22:43:21 +07:00
Elian Doran 26621b6336
build: Fix test-jasmine on Windows 2024-09-12 22:42:22 +07:00
Elian Doran d961e3cdf1
build: tsx 4.19.0 -> 4.19.1 2024-09-12 22:39:38 +07:00
Elian Doran 7ef399912b
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2024-09-12 22:23:51 +07:00
Elian Doran 9fc789676f
electron: Fix window drag not working 2024-09-12 22:23:49 +07:00
Elian Doran f01dc3d102
Merge pull request #424 from TriliumNext/stop-sha-images
Stop tagging images with `sha*`
2024-09-12 22:23:36 +07:00
perfectra1n 501bf624cc
Stop tagging images with `sha*` 2024-09-12 12:20:54 +07:00
Elian Doran f8605688ab
Merge pull request #423 from TriliumNext/perfectra1n-patch-1
Add explicit permissions for GITHUB_TOKEN for package access
2024-09-12 20:54:15 +07:00
Elian Doran 590a9bef2d
client: Fix calendar double open on existing note 2024-09-12 20:53:31 +07:00
perfectra1n 419756d19e
Add explicit permissions for GITHUB_TOKEN for package access 2024-09-12 10:42:47 +07:00
Elian Doran 93ce81b355
Merge pull request #416 from SiriusXT/highlightslits
Toc and Highlightslist improvement
2024-09-12 20:24:30 +07:00
Elian Doran 8bfa4461b0
Merge pull request #381 from TriliumNext/bootstrap
Upgrade bootstrap from v4 to v5
2024-09-12 20:09:19 +07:00
Elian Doran 648feb82f8
client: Fix close button on dark theme 2024-09-12 20:06:40 +07:00
Elian Doran 74645e12fc
Merge remote-tracking branch 'origin/develop' into bootstrap 2024-09-12 20:06:31 +07:00
Elian Doran 71de1a0b55
Merge pull request #421 from TriliumNext/perfectra1n-patch-1
Force `github.repository_owner` to lowercase
2024-09-12 19:59:23 +07:00
perfectra1n 694f3cb174
Force `github.repository_owner` to lowercase
Ahhhh, the joys of Docker....
2024-09-12 09:54:00 +07:00
Elian Doran a2bc5073d0
client: Fix note hint not working in calendar 2024-09-12 19:37:15 +07:00
Elian Doran 3134ef7c03
Merge pull request #402 from perfectra1n/develop
Use matrix strategy for CI/CD
2024-09-12 19:24:56 +07:00
Elian Doran 8e665e27e7
client: Fix calendar opening notes twice (closes #417) 2024-09-12 19:22:58 +07:00
Elian Doran e6fbf62cf9
Merge pull request #414 from SiriusXT/i18n_falls_back_en
i18n Fallback to English for null characters
2024-09-12 19:03:50 +07:00
Jin ce8b5e33da fix regressions 2024-09-12 13:55:07 +07:00
SiriusXT b63b603d64 complete toc/highlightslist improvements 2024-09-12 19:34:23 +07:00
SiriusXT 31aa6feb0c Make toc/hightlightslist reopen after it's closed 2024-09-12 19:22:41 +07:00
SiriusXT 98c9e25124 Merge branch 'develop' into highlightslits 2024-09-12 09:37:01 +07:00
SiriusXT bb97e1a661 Let toc and highlights_list display formulas 2024-09-12 09:36:08 +07:00
Elian Doran a4341a5cac
Merge pull request #392 from SiriusXT/Icon_improvements
Icon improvements
2024-09-11 23:56:10 +07:00
Elian Doran fe844d4f8c
client: Fix math not loading (closes #297) 2024-09-11 23:50:17 +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
SiriusXT 447cf60afb i18n Fallback to English for null characters 2024-09-11 15:17:21 +07:00
Elian Doran 7a11f9aaff
Merge pull request #389 from SiriusXT/open_in_file_manager_of_data
Open in file manager of Trilium's data directory
2024-09-10 21:04:56 +07:00
chesspro13 2e21a45fc1
Merge branch 'develop' into feature/MFA 2024-09-09 16:30:18 +07:00
Jin 527591f651 fix package-lock conflict 2024-09-10 00:48:52 +07:00
Jin fca6f99870 fix checkbox problem 2024-09-10 00:45:00 +07:00
Jin 8c97f0bec7 fix some styles, add some cn translations 2024-09-10 00:45:00 +07:00
Jin 58ee801e57 other fixes 2024-09-10 00:45:00 +07:00
Jin c1ce578018 fix all dialogs 2024-09-10 00:45:00 +07:00
Jin 464d8417f5 fix all dropdowns and tooltips, fix some translations 2024-09-10 00:45:00 +07:00
Jin 44bd008829 fix note revisions layout 2024-09-10 00:45:00 +07:00
Jin f3b7261748 fix all launcher bar components 2024-09-10 00:45:00 +07:00
Jin 5d579fee68 Upgrade bootstrap from v4 to v5, fix global menu 2024-09-10 00:44:54 +07:00
Elian Doran d7ab99013c
client: Fix zoom interfering with mind map (closes #387) 2024-09-09 23:59:25 +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
Elian Doran a3a5339048
client: Fix relative path for loading languages 2024-09-09 20:42:47 +07:00
Elian Doran d95a23de28
Merge pull request #392 from SiriusXT/Icon_improvements
Icon improvements
2024-09-09 20:30:35 +07:00
SiriusXT 744d953822 icon improvement 2024-09-09 20:15:35 +07:00
SiriusXT f8e5717b80 Merge branch 'develop' into revisions_number_limit 2024-09-09 14:52:31 +07:00
SiriusXT 3ad2d1a309 Merge branch 'develop' into open_in_file_manager_of_data 2024-09-09 14:50:01 +07:00
SiriusXT 7186222393 Merge branch 'develop' into Icon_improvements 2024-09-09 14:30:22 +07:00
SiriusXT d66c07717c Merge branch 'develop' into Icon_improvements 2024-09-09 14:08:27 +07:00
Elian Doran 132dd7514a
client: Update axios 1.7.2 to 1.7.7 2024-09-09 00:22:49 +07:00
Elian Doran aca9d0f1ef
server: Update ini 4.1.3 -> 5.0.0 2024-09-09 00:20:11 +07:00
Elian Doran eabceae6f1
server: Update Marked 13.0.2 → 14.1.2 2024-09-09 00:18:15 +07:00
Elian Doran 3a5b05e5c6
client: Bump eslint to 9.10.0 2024-09-09 00:14:29 +07:00
Elian Doran 11e5f6a1c1
client: Update dayjs 1.11.12 -> 1.11.13 2024-09-09 00:10:52 +07:00
Elian Doran bec9acdc3f
client: Update jsdom 24.1.0 -> 25.0.0 2024-09-09 00:07:53 +07:00
Elian Doran 37079b7388
client: Update Mermaid to 11.1.1 2024-09-09 00:03:02 +07:00
Elian Doran 22b7bf826b
electron: Bump electron-dl 2024-09-08 23:59:55 +07:00
Elian Doran 7cc71a4fdb
electron: Bump electron-debug 2024-09-08 23:51:01 +07:00
Elian Doran fb28b9d36d
client: Improve max content widget fit on other languages 2024-09-08 22:20:38 +07:00
Elian Doran 720087f082
client: Translate open help page 2024-09-08 22:18:54 +07:00
Elian Doran 3bdb87d3aa
client: Translate template switch 2024-09-08 22:14:51 +07:00
Elian Doran e4066ba164
client: Translate shared switch 2024-09-08 22:11:52 +07:00
Elian Doran a0fdaabb1f
client: Translate protected switch 2024-09-08 22:04:22 +07:00
Elian Doran 38ac4318b9
client: Translate rest of note types 2024-09-08 21:54:30 +07:00
Elian Doran e382a32ebd
client: Translate note types 2024-09-08 21:48:24 +07:00
Elian Doran 8074245758
client: Translate shared info 2024-09-08 21:19:13 +07:00
Elian Doran f26a04216a
server: Translate share page 2024-09-08 20:36:25 +07:00
Elian Doran e565d29490
server: Translate share 404 2024-09-08 20:25:38 +07:00
Elian Doran 947c50353d
server: Translate here link in setup 2024-09-08 20:16:57 +07:00
Elian Doran 83851a61d5
i18n: Translate setup screen into Romanian 2024-09-08 20:02:29 +07:00
Elian Doran 893a1e3723
i18n: Translate setup screen 2024-09-08 20:00:55 +07:00
Elian Doran 6bf18b6837
i18n: Configure i18n-ally for .ejs templates 2024-09-08 19:27:19 +07:00
Elian Doran 94857d8802
server: Translate JavaScript required 2024-09-08 18:55:11 +07:00
Elian Doran 58d1e77ac1
server: Translate set password page 2024-09-08 18:28:29 +07:00
Elian Doran 1fbc65b007
electron: Fix crash on first start due to i18n 2024-09-08 18:23:06 +07:00
Elian Doran c25c8c753d
server: Translate login page 2024-09-08 18:12:16 +07:00
Elian Doran 317b7b4c59
server: Implement basic restore of language 2024-09-08 18:01:08 +07:00
Elian Doran 68042994e0
electron: Fix loading of i18n 2024-09-08 17:40:05 +07:00
Elian Doran d00c028a0c
client: Fix note actions not fitting on all languages 2024-09-08 16:38:12 +07:00
Elian Doran a9e6c887f2
i18n: Configure extensions & nodemon 2024-09-08 16:04:14 +07:00
Elian Doran 69f9457bda
i18n: Translate keyboard actions into Romanian 2024-09-08 16:04:00 +07:00
Elian Doran 0fed54f1c3
server: Translate keyboard actions 2024-09-08 15:33:06 +07:00
Elian Doran b45fde2e5f
server: Set up early initialization of i18n 2024-09-08 15:31:47 +07:00
Elian Doran c1010a79f9
server: Initialize backend translations 2024-09-08 14:37:40 +07:00
Elian Doran c33154d128
i18n: Translate tree context menu 2024-09-08 12:32:22 +07:00
Elian Doran c0d613c46d
i18n: Translate note map buttons 2024-09-08 11:59:24 +07:00
Elian Doran 4f7bbee769
i18n: Fix erase attachments button translation 2024-09-08 11:53:36 +07:00
Elian Doran 7a567583f2
i18n: Improve keybindings phrasing 2024-09-08 11:49:23 +07:00
Elian Doran 0ac1f071cd
i18n: Tweak two Romanian translations 2024-09-08 11:48:01 +07:00
perf3ct 114e7809fe
Fix CI/CD to use Matrix strategy
fix the digests missing

tweak dockerhub digests 1

Revert "tweak dockerhub digests 1"

This reverts commit 3542125d6035d2330fe1075682b046133568137d.

Revert "fix the digests missing"

This reverts commit 01954e5687549586233d73339b74e03e2182a339.

give this a shot then

add short sha

fix sha tag names
2024-09-07 22:34:57 +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
Elian Doran 4106cc61b5
release 0.90.6-beta 2024-09-07 21:36:34 +07:00
Elian Doran 7c0d6930fa
build: Revert alpine build 2024-09-07 21:35:51 +07:00
chesspro13 9c748f326a
Ported from branch OIDC 2024-09-07 10:21:41 +07:00
Elian Doran 1c8cc36402
release 0.90.5-beta 2024-09-07 10:02:55 +07:00
Elian Doran 4f6392ce14
ci: Rename server release artifact 2024-09-07 10:02:28 +07:00
Elian Doran c6abbf0cf7
ci: Remove test name for release 2024-09-07 09:49:54 +07:00
Elian Doran 89beda16fd
Clean up workflow 2024-09-07 09:42:16 +07:00
Elian Doran 6dee56d72e
Prepare for release 2024-09-07 09:34:59 +07:00
Elian Doran e4d6ab3a6e
ci: Refactor release workflow & add version in name 2024-09-07 00:54:21 +07:00
Elian Doran c964f9eeff
ci: Upload server build as well 2024-09-07 00:20:38 +07:00
Elian Doran 7248d5bab8
ci: Release ZIP artifacts as well 2024-09-06 23:59:09 +07:00
Elian Doran 42c714891a
ci: Set up a test release process 2024-09-06 23:50:11 +07:00
SiriusXT 89e073bf28 bx-map-alt->bxl-graphql 2024-09-05 15:24:37 +07:00
SiriusXT 490ae1c9fd icon improvements 2024-09-05 15:09:31 +07:00
SiriusXT 2a27383682 revision snapshots number limit 2024-09-04 14:27:33 +07:00
SiriusXT 00f8a43b0f test 2024-09-04 12:10:13 +07:00
SiriusXT 759ac4a4c8 test 2024-09-04 11:52:05 +07:00
SiriusXT e66b865cd6 open directory 2024-09-04 11:08:04 +07:00
SiriusXT 78bfc3341b Add versioningLimit label support 2024-09-04 09:04:40 +07:00
SiriusXT 898afb7ed7 Add revision number limit 2024-09-04 08:41:17 +07:00
Elian Doran 2b01392b41
Merge pull request #390 from hasecilu/i18n/Spanish_again
i18n: Complete Spanish translation again
2024-09-04 07:47:51 +07:00
hasecilu 8eb12b2280
i18n: Complete Spanish translation again 2024-09-03 17:27:33 +07:00
Elian Doran 67528789ed
client: Fix open note custom when no terminal 2024-09-03 22:13:17 +07:00
Elian Doran 2e86ae6556
db: Remove image URL from mindmap 2024-09-03 22:10:18 +07:00
Elian Doran 1e6e9fa417
db: Fix preview for mindmap 2024-09-03 21:43:24 +07:00
Elian Doran a27feee1be
client: Clean up restart warnings in spellcheck 2024-09-03 21:24:03 +07:00
Elian Doran 6a3e4671b6
client: Disable ligatures in help dropdown code 2024-09-03 21:14:47 +07:00
Elian Doran 6a8825d972
i18n: Add a few minor tweaks to Romanian translation 2024-09-03 21:14:40 +07:00
Elian Doran 3a87f8bc31
client: Fix F1 shortcut in mind map (fixes #387) 2024-09-03 20:57:39 +07:00
Elian Doran 15a041a195
server: Remove redundant whitespace in CPU log 2024-09-03 19:09:50 +07:00
Elian Doran 891621be69
Merge pull request #388 from SiriusXT/electron_start_dialog
The new instance makes the dialog box error not display
2024-09-03 19:07:15 +07:00
SiriusXT bc4444d132 open in file manager of Trilium's data directory 2024-09-03 10:37:28 +07:00
SiriusXT 56259616cb open in file manager of Trilium's data directory 2024-09-03 10:06:01 +07:00
SiriusXT 4113574a43 makes the dialog box error not display 2024-09-03 08:49:19 +07:00
SiriusXT cef8086419 The new instance makes the dialog box error not display 2024-09-03 08:23:05 +07:00
Elian Doran 9d59203121
build: Update Electron Forge to latest 2024-09-03 01:14:36 +07:00
Elian Doran f426e3d764
build: Update TypeScript 2024-09-03 01:11:02 +07:00
Elian Doran f378411bb8
client,server: Update i18next 2024-09-03 01:08:30 +07:00
Elian Doran b882bcb1df
i18n: Reach 100% for Romanian 2024-09-03 00:41:31 +07:00
Elian Doran 8abb8f9e0e
client,server: Downgrade edit branch prefix to note-tree scope (fixes #385) 2024-09-02 23:37:34 +07:00
Elian Doran 191c9e9c82
i18n: Fix a typo in translation 2024-09-02 23:31:56 +07:00
Elian Doran 94c5fba66f
server: Fix import of mind map notes 2024-09-02 23:31:49 +07:00
Elian Doran 86c74c7fdb
db: Update demo to add mindmap 2024-09-02 23:00:31 +07:00
Elian Doran 9cf45468ae
client: Prevent dismissing the calendar popup by clicking on an empty space inside it 2024-09-02 22:24:53 +07:00
Elian Doran c2ce7d617a
client: Fix calendar dropdown not closing (fixes #384)
The regression was introduced in 612e4406b5.
This might cause some other issues in closing the highlights, but none
were identified during a cursory testing.
2024-09-02 22:15:46 +07:00
Elian Doran 50c0252055
client: Fix mindmap preview in revision 2024-09-02 22:03:02 +07:00
Elian Doran f82ff5aa76
i18n: Add some more Romanian translations (87.3%) 2024-09-02 22:02:50 +07:00
Elian Doran 0b5945f219
i18n: Add more Romanian translations 2024-09-02 21:23:29 +07:00
Elian Doran 0bdb6d7e96
i18n: Remove redundant translations 2024-09-02 20:40:57 +07:00
Elian Doran e78ab589b0
i18n: Add a few more translations 2024-09-02 20:31:23 +07:00
Elian Doran 339bd84cf9
i18n: Translate note_info_widget in Romanian 2024-09-02 20:23:06 +07:00
Elian Doran 529760213b
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-09-02 20:19:45 +07:00
Elian Doran 1c17bf82a0
Merge pull request #380 from hasecilu/i18n/README_Spanish
Translate README to Spanish
2024-09-02 20:18:03 +07:00
hasecilu 200e1c016c
i18n: Translate README to Spanish
Also complete some missing strings
2024-09-02 07:46:57 +07:00
Elian Doran f29e047ba2
i18n: Translate note actions and erasure into Romanian 2024-09-02 14:53:40 +07:00
Elian Doran 466d4966fd
i18n: Tweak a few more messages 2024-09-02 13:56:57 +07:00
Elian Doran 8a83267ead
i18n: Translate more Romanian words 2024-09-02 13:55:26 +07:00
Elian Doran 5e8be78760
i18n: Change reference to pasting in Romanian 2024-09-01 23:56:47 +07:00
Elian Doran 2a6870d73b
client: Fix console error when exporting SVG after multiple note types 2024-09-01 23:24:36 +07:00
Elian Doran ace237989c
client: Reduce code duplication 2024-09-01 23:20:41 +07:00
Elian Doran 61e0678af4
client: Implement SVG export button for mindmap 2024-09-01 23:10:58 +07:00
Elian Doran 27a287f8ea
client: Change translation for Export SVG button 2024-09-01 23:05:25 +07:00
Elian Doran 87b8c623c5
client: Rename MermaidExportButton to SvgExportButton 2024-09-01 23:05:06 +07:00
Elian Doran 64b4aba6ba
client: Enable copy image reference button for mindmaps 2024-09-01 22:56:45 +07:00
Elian Doran 5c2446be67
share: Render mind map 2024-09-01 22:41:48 +07:00
Elian Doran 1437df7de1
client,server: Set up SVG rendering for mindmap 2024-09-01 22:36:50 +07:00
Elian Doran ad88042e5b
i18n: Add even more Romanian translations 2024-09-01 21:02:19 +07:00
Elian Doran f3669dfc42
i18n: Add a few more Romanian translations 2024-09-01 20:52:09 +07:00
Elian Doran efdc3ebfac
i18n: Improve highlight wording 2024-09-01 20:47:05 +07:00
Elian Doran 2751d655e6
i18n: Review a few translations 2024-09-01 20:32:01 +07:00
Elian Doran 73ba913f59
client: Fix mindmap in multiple tabs not working 2024-09-01 18:51:51 +07:00
Elian Doran 49a373426e
Merge pull request #379 from hasecilu/i18n/Spanish
Update Spanish translation
2024-09-01 18:28:09 +07:00
hasecilu 392fb2abad
i18n: Translate new strings 2024-09-01 09:01:42 +07:00
hasecilu d543e8147f
i18n: Fix "consistency" Spanish translations 2024-09-01 09:01:42 +07:00
Elian Doran 27dbcdd281
ci: Fix problematic ignore for workflow 2024-09-01 17:28:32 +07:00
Elian Doran 0dbad48d47
electron: Fix missing mind-elixir 2024-09-01 17:24:44 +07:00
Elian Doran 07170a5a39
client: Improve code selection in note type 2024-09-01 16:56:25 +07:00
Elian Doran 13860a3f16
client: Remove redundant separators in note type selection 2024-09-01 16:51:33 +07:00
Elian Doran 95b7a30d06
client: Add mind map to note type combo 2024-09-01 16:47:27 +07:00
Elian Doran b32f3ffd84
client: Fix center issue at startup 2024-09-01 16:44:55 +07:00
Elian Doran 6c54f3c804
client: Improve mind map saving & centering 2024-09-01 16:31:05 +07:00
Elian Doran 1b08487ee9
client: Fix first show in mindmap 2024-09-01 16:14:19 +07:00
Elian Doran ff3d01f2c7
client: Implement basic refresh for mind map 2024-09-01 15:51:01 +07:00
Elian Doran 10df00d62f
client: Save content of mind map 2024-09-01 15:41:59 +07:00
Elian Doran 73c19c6cbf
client: Enable viewing source of mind map 2024-09-01 15:38:13 +07:00
Elian Doran c2959fe52d
client: Fix switching notes, default text 2024-09-01 15:25:28 +07:00
Elian Doran 594f816702
client: Add basic mindmap integration 2024-09-01 15:04:47 +07:00
Elian Doran e39dd1525d
client: Create blank type widget for mind map 2024-09-01 14:16:45 +07:00
Elian Doran 945bc7ded3
i18n: Add a few more Romanian translations (39.4%) 2024-09-01 10:24:24 +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
Elian Doran 5df6f32fda
i18n: Add Romanian to the list of languages 2024-09-01 02:06:51 +07:00
Elian Doran d31bc8a0bd
i18n: Translate Romanian (18.8%) 2024-09-01 02:05:33 +07:00
Elian Doran 73e25fc721
i18n: Small tweaks to translation 2024-09-01 02:04:52 +07:00
Elian Doran 5df371b20a
i18n: Fix one more translation issue 2024-09-01 00:34:14 +07:00
Elian Doran e6e478e857
i18n: Fix incorrect & missing keys 2024-09-01 00:32:48 +07:00
Elian Doran bfea3d53b3
client: Use translations for first day of week 2024-09-01 00:22:29 +07:00
Elian Doran 9fa31db207
client: Fix another case of tooltip overlap 2024-09-01 00:16:09 +07:00
Elian Doran 84efc13b52
client: Make sure tooltips cannot overlap (fixes #375) 2024-09-01 00:04:29 +07:00
Elian Doran 607af4b8fc
client: Dismiss tooltip if clicking a link inside it 2024-08-31 23:58:26 +07:00
Elian Doran 08060abe76
electron: Ignore TRILIUM_HOST env (fixes #368) 2024-08-31 23:41:08 +07:00
Elian Doran 27f513e2a3
server: Improve error handling for invalid host 2024-08-31 23:38:30 +07:00
Elian Doran 40651e9852
server,electron: Improve error logging 2024-08-31 23:28:45 +07:00
Elian Doran c6d043b42c
electron: Fix crash on Linux 2024-08-31 23:08:19 +07:00
Elian Doran 3a3dae3d02
client: Refresh calendar immediately 2024-08-31 17:08:55 +07:00
Elian Doran 5c326c553c
client: Add support for first day of week (closes #247) 2024-08-31 17:05:02 +07:00
Elian Doran 981ff34ac4
client: Update calendar header for first day of week 2024-08-31 16:50:23 +07:00
Elian Doran f5330cb915
client,server: Add first day of week option 2024-08-31 16:24:09 +07:00
Elian Doran dab97071c0
client: Improve calendar design slightly (closes #374) 2024-08-31 15:27:59 +07:00
Elian Doran 84056415ca
client: Implement simple year switcher for calendar 2024-08-31 14:49:01 +07:00
Elian Doran 9cc2e7745e
client: Implement simple month switcher 2024-08-31 14:42:21 +07:00
Elian Doran cb57ceb541
client: Add basic year navigation to calendar 2024-08-31 14:32:25 +07:00
Elian Doran 0fd92a379b
build: Build alpine only for amd64 2024-08-30 23:04:10 +07:00
Elian Doran 1a17b8907a
build: Fix docker alpine not building 2024-08-30 22:35:02 +07:00
Elian Doran b7ed153b14
Merge pull request #373 from SiriusXT/New_window_from_taskbar
Open New window from taskbar
2024-08-30 22:24:38 +07:00
Elian Doran b1163624ba
Merge pull request #377 from SiriusXT/find_widget
Fix a bug of find widget
2024-08-30 22:22:44 +07:00
Elian Doran 59a92c33b6
Merge pull request #366 from TriliumNext/update-cicd-again
Alpine = AMD64, Debian = ARM
2024-08-30 22:15:54 +07:00
MeIchthys 55403c6e76
Add note to upgrade to latest trilium version before migrating 2024-08-30 13:15:45 +07:00
SiriusXT 35171fe2b4 Fix a bug of find widget 2024-08-30 11:42:55 +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
Elian Doran 95158c30b7
Merge pull request #372 from TriliumNext/add-png-images
Add PNG icons from SVG icons.
2024-08-29 09:45:41 +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
perf3ct da20a377c1
have alpine more closely match deb dockerfile 2024-08-28 18:24:00 +07:00
perf3ct fcbb178096
change Dockerfile.alpine name 2024-08-28 17:07:25 +07:00
SiriusXT 553a2f9929 New window from taskbar 2024-08-28 06:30:25 +07:00
SiriusXT e5213640d7 Open new window from taskbar 2024-08-28 06:28:02 +07:00
perf3ct c95da1c813
move to better folder 2024-08-27 19:04:03 +07:00
perf3ct 2ee290034a
remove entries in gitignore for larger pngs 2024-08-27 19:03:54 +07:00
perf3ct 69a81afd09
add png images from svg 2024-08-27 17:10:53 +07:00
Tom Aitken 33a95bc1a9 Initialize the repository using CKEditor 5 Package Generator. 2024-08-27 22:37:22 +07:00
Elian Doran a18ac7c504
client: Fix default focus of "Include note" dialog (closes #365) 2024-08-27 00:30:54 +07:00
Elian Doran 07bd3de4fb
Merge pull request #359 from hasecilu/i18n/Spanish_pt2
i18n: Continue Spanish translation, part 2
2024-08-26 21:26:08 +07:00
Elian Doran ef955a300a
Merge pull request #342 from TriliumNext/feature/i18n-part2
i18n support (part 2)
2024-08-26 21:24:56 +07:00
MeIchthys 19cb783e66
Update README.md
Fix minor spelling error
2024-08-26 08:47:53 +07:00
MeIchthys d2dd61f297
Update README.md
Add note about migrating from zadam/Trilium
2024-08-26 08:46:36 +07:00
perf3ct a769aef059
have alpine be only for amd64 2024-08-24 00:22:30 +07:00
perf3ct 6eb6bfa25d
have debian be only for arm 2024-08-24 00:22:25 +07:00
perf3ct 6b916c1494
add other CI/CD step 2024-08-24 00:10:46 +07:00
perf3ct 08a4b2d19a
add new alpine files 2024-08-19 22:24:13 +07:00
Nriver 2890885157 Merge remote-tracking branch 'upstream-next/develop' into feature/i18n-part2 2024-08-19 17:09:03 +07:00
hasecilu 2d65797dfc
i18n: Continue Spanish translation, part 2
Indentation changed to 4 spaces
2024-08-18 12:02:39 +07:00
Elian Doran bb2fa70cd6
client: Fix title outline (closes #358) 2024-08-17 10:59:12 +07:00
Elian Doran 937e87d760
client: Improve hint & toast regarding attachments 2024-08-17 10:51:43 +07:00
Elian Doran 808797a48b
client: Fix double question mark in attachments context menu (see #306) 2024-08-17 10:42:59 +07:00
Elian Doran c61f76f020
server: Show absolute path to data dir 2024-08-17 02:08:25 +07:00
Elian Doran 16073ea4aa
client: Disable some context options in settings (closes #346) 2024-08-17 02:01:12 +07:00
Elian Doran 3163b8687b
client: Disable more items in options 2024-08-17 01:57:52 +07:00
Elian Doran 1c1d71e2d0
client: Disable show attachments in options 2024-08-17 01:52:52 +07:00
Elian Doran e70531fcc1
client: Remove broken Firefox scrollbar styling 2024-08-17 01:19:07 +07:00
Elian Doran 12756a165f
client: Improve Firefox scrollbar background 2024-08-17 01:13:43 +07:00
Elian Doran fa4b890bce
client: Disable template button in options 2024-08-17 00:56:49 +07:00
Elian Doran c1ab1296f8
client: Disable share button in options 2024-08-17 00:56:49 +07:00
Elian Doran 1284cf9868
client: Fix invisible scrollbar on Firefox 2024-08-17 00:56:49 +07:00
Elian Doran b0480e1667
client: Add a toggle to set template label (closes #348) 2024-08-16 23:41:59 +07:00
Elian Doran ca6b4c3497
client: Hide spellcheck settings on web (closes #345) 2024-08-16 22:14:19 +07:00
Elian Doran 1172908e41
client: Hide tray settings on web 2024-08-16 22:05:53 +07:00
Elian Doran 4a8c3d719f
client: Hide native title bar setting on web 2024-08-16 22:02:38 +07:00
Elian Doran bd732386e4
Merge pull request #334 from TriliumNext/lib
Remove hard-coded libraries part 2
2024-08-16 19:20:43 +07:00
Nriver 8e87bcf37b add translation for bookmark_switch.js and editability_select.js 2024-08-16 11:39:26 +07:00
Nriver 0198f135ac Fix duplicated key and missing '{' in translation.json 2024-08-16 11:27:22 +07:00
Nriver ff3effdb31 Merge remote-tracking branch 'upstream-next/develop' into feature/i18n-part2 2024-08-16 11:23:35 +07:00
Jin 22d344e764 keep zadam codemirror.js 2024-08-15 20:48:14 +07:00
Jin c85a8ecc7d remove libraries and fix js code color problem 2024-08-15 20:48:14 +07:00
Jin 2fec1b79af remove codemirror and autocomplete libraries 2024-08-15 20:48:14 +07:00
Jin 69586e6876 fix js note can't run 2024-08-15 18:50:17 +07:00
Elian Doran d2bd369144
Merge pull request #351 from TriliumNext/chore/update-language-name
update language name
2024-08-15 12:48:31 +07:00
Nriver 47e8977371 update language name 2024-08-15 16:23:37 +07:00
Elian Doran 71f8d09043
i18n: Add Spanish to the list 2024-08-15 10:44:05 +07:00
Elian Doran 216afdd494
Merge pull request #349 from hasecilu/i18n/Spanish
i18n: Add Spanish translation
2024-08-15 10:23:55 +07:00
Elian Doran 2de2c7fc9d
client: Fix custom scroll bar on Chrome/Electron (closes #350) 2024-08-15 09:59:37 +07:00
Nriver e7eec0f328 add translation for widget: attachment_detail.js 2024-08-15 11:42:30 +07:00
Nriver 4c3694bfa3 add translation for widget: api_log.js 2024-08-15 11:33:44 +07:00
Nriver 34d2f20e16 fix translation key 2024-08-15 11:31:11 +07:00
Nriver a78859fc2a add translation for the last 2 option files 2024-08-15 11:26:51 +07:00
Nriver cc98ae0ea4 Merge remote-tracking branch 'upstream-next/develop' into feature/i18n-part2 2024-08-15 11:04:14 +07:00
hasecilu 6b8cb54e71
i18n: Add Spanish translation 2024-08-14 19:48:13 +07:00
Elian Doran 5609612473
client: Add a synthetic fix for CKeditor list spacing (closes #341) 2024-08-15 01:11:48 +07:00
Elian Doran 317505484e
integration-test: Set up system for resetting in-memory DB 2024-08-15 00:06:37 +07:00
Elian Doran d1f4d99c19
integration-test: Set up development server 2024-08-14 23:03:36 +07:00
Elian Doran 2e56db6475
integration-test: Add notes for deletion 2024-08-14 23:03:17 +07:00
Elian Doran 1656cfae63
client: Remove i18n debug logs 2024-08-14 22:19:01 +07:00
Elian Doran 295cd6ac83
client: Fix double translation causing logs 2024-08-14 22:17:20 +07:00
Elian Doran bd20cec286
client: Remove errors in log when changing a setting 2024-08-14 22:10:54 +07:00
Elian Doran 115c2576cf
client: Fix duplicate items in language selection 2024-08-14 21:51:42 +07:00
Elian Doran c204b31cda
client: Fix fancytree being broken on mobile 2024-08-14 19:15:07 +07:00
Elian Doran 07fb8c072d
server: Fix CSRF on mobile reload (closes #318) 2024-08-14 18:59:02 +07:00
Nriver 9210f915ca fix text wrap for shortcuts.js 2024-08-14 17:14:07 +07:00
Nriver 78e908c761 add translation for shortcuts.js 2024-08-14 17:12:33 +07:00
Nriver 68733cf0c2 add translation for 3 option files 2024-08-14 11:31:00 +07:00
Nriver b231905981 add translation for backup.js 2024-08-14 11:07:00 +07:00
Elian Doran a9b094bf27
Merge pull request #330 from TriliumNext/feature/i18n_language_switcher
Implement a language switcher
2024-08-12 19:48:16 +07:00
Elian Doran 3c37f13f54
Merge remote-tracking branch 'origin/develop' into feature/i18n_language_switcher 2024-08-12 16:03:17 +07:00
Elian Doran 196c4f7976
Merge pull request #328 from JYC333/lib
Remove hard-coded libraries part 1
2024-08-12 10:23:13 +07:00
Elian Doran f378cf9ff9
Merge pull request #264 from TriliumNext/feature/i18n
i18n support again (part 1)
2024-08-12 10:21:44 +07:00
Elian Doran ef20645447
docker: Fix reading USER_UID/GID (closes #331) 2024-08-12 10:01:22 +07:00
Elian Doran c4a4acdc39
Merge pull request #333 from TriliumNext/chore/update-gitignore
Ignore JetBrains IDE shelf files
2024-08-12 09:13:13 +07:00
Nriver 54a63e7689 Ignore JetBrains IDE shelf files 2024-08-12 11:39:50 +07:00
Nriver dcdbb092c3 update links in Chinese translation 2024-08-12 09:54:37 +07:00
Elian Doran e87ef882d5
client: Fix restoring language on mobile 2024-08-11 15:38:47 +07:00
Elian Doran 221fc66ca1
client: Fix flakiness when changing language on desktop 2024-08-11 14:22:37 +07:00
Elian Doran ec3066caee
integration-test: Fix test for i18n 2024-08-11 14:13:05 +07:00
Elian Doran 45e2b565ef
integration-test: Start writing test for language change 2024-08-11 13:56:11 +07:00
Elian Doran ffdc90012e
integration-test: Add support for running dev server 2024-08-11 13:56:02 +07:00
Elian Doran 307c6ebb73
client: Remove flags from language selection to avoid potential political issues 2024-08-11 13:07:17 +07:00
Jin 9fc0b7cc38 fix eslint error 2024-08-11 10:13:20 +07:00
Jin b5e8fcaf57 fix eslint module 2024-08-11 10:13:01 +07:00
Jin 0967ee1b46 remove fancytree and bootstrap 2024-08-11 10:13:01 +07:00
Jin c16c528270 fix electron import 2024-08-11 10:13:01 +07:00
Jin d3803fc6f3 remove hard-coded libraries part 1 2024-08-11 10:12:55 +07:00
Elian Doran 18515111ff
client: Address self-review changes 2024-08-11 08:29:02 +07:00
Elian Doran ea34a1688c
i18n: Revert indentation change 2024-08-11 08:27:21 +07:00
Elian Doran aa5a7294df
client: Add country flags to language selection 2024-08-11 08:24:15 +07:00
Elian Doran e086ba5eb4
i18n: Translate locale section 2024-08-11 08:18:06 +07:00
Elian Doran 22dc4ef997
client: Apply locale selection 2024-08-11 08:12:01 +07:00
Elian Doran bc648e981e
client: Add language switcher in settings 2024-08-11 07:46:27 +07:00
Elian Doran 51afb63e25
server: Add endpoint to get list of locales 2024-08-11 07:36:09 +07:00
Elian Doran 6871216649
server: Set up a locale option 2024-08-11 07:36:00 +07:00
Elian Doran 94340ab1a1
build: Fix app name in Electron Forge hook 2024-08-11 06:57:34 +07:00
Elian Doran 3a837cf663
Merge remote-tracking branch 'origin/develop' into feature/i18n 2024-08-11 06:26:32 +07:00
Elian Doran edebe8f7c6
build: Remove unnecessary electron-installer-debian 2024-08-11 06:11:10 +07:00
Elian Doran 3028b20a7f
build: Change name of application for Electron Forge 2024-08-11 06:09:28 +07:00
Elian Doran 2752f30f21
ci: Fix name conflict in artifacts 2024-08-11 05:27:24 +07:00
Jin a50e5cc733 fix typo 2024-08-10 22:52:41 +07:00
JYC333 b790dabc8c
Create nighyly release action 2024-08-10 22:38:32 +07:00
Elian Doran 395cf59e59
Merge pull request #325 from JYC333/action
FIx Github actions
2024-08-10 23:00:15 +07:00
Jin 6113990b50 fix name conflict 2024-08-10 21:12:58 +07:00
Jin 71495f3878 seperate artifacts and add arch to matrix 2024-08-10 21:02:15 +07:00
Jin b83c6023c4 port dump-db and other tools to TS 2024-08-10 18:23:49 +07:00
Jin 2cc34efbde update backend_script_api.ts @link 2024-08-10 14:07:51 +07:00
Elian Doran 4090386cc3
ci: Try to fix "Cannot find module 'appdmg'" 2024-08-10 14:14:32 +07:00
Elian Doran ee9ce5fadc
ci: Disable npm cache to see if that's the cause for macos failing to build 2024-08-10 13:50:43 +07:00
Elian Doran f7639d2537
Merge pull request #322 from JYC333/develop
Fix CI builds
2024-08-10 13:44:49 +07:00
Jin 16851d10b4 fix main.yml conflict 2024-08-10 12:42:59 +07:00
Jin 468e996ba1 remove wrong fix 2024-08-10 12:02:45 +07:00
Jin 86603573f0 fix ci build 2024-08-10 12:00:57 +07:00
Jin 690bd4ce5f fix ci errors 2024-08-10 11:39:05 +07:00
Elian Doran daeea2258d
build: Turn off fail fast for matrix 2024-08-10 12:30:56 +07:00
Elian Doran 8cc583e714
build: Fix extra resources for macos 2024-08-10 12:23:26 +07:00
Elian Doran a29392e75a
ci: Experiment with build matrix 2024-08-10 12:14:35 +07:00
Elian Doran 061b0c981d
Merge pull request #294 from JYC333/sql
Remove hard-coded better-sqlite3 binaries
2024-08-10 10:56:38 +07:00
Elian Doran 72b669b5db
release 0.90.4 2024-08-10 01:05:59 +07:00
Elian Doran 2a5c444eff
client: Fix link to Wiki in F1 popup 2024-08-10 00:39:45 +07:00
Elian Doran 0deb5df11d
docs: Use nicer links to Wiki (dynamic) 2024-08-10 00:26:39 +07:00
Elian Doran 280f9a98c4
docs: Use nicer links to Wiki 2024-08-09 23:44:41 +07:00
JYC333 b05e51f2f1
Merge branch 'TriliumNext:develop' into sql 2024-08-09 22:40:54 +07:00
Jin 9efa748e66 fix CI 2024-08-09 22:36:43 +07:00
Jin 8932028a75 minor fix 2024-08-09 22:30:21 +07:00
Jin 62e483a21a using esrun for webpack and fix package arch problem 2024-08-09 22:23:54 +07:00
Elian Doran e2bdfbbedb
server: Remove now comment 2024-08-09 22:35:26 +07:00
Elian Doran f297105c25
server: Fix duplicating notes with relationships (closes #308) 2024-08-09 22:31:30 +07:00
Elian Doran ddc82853fc
integration-test: Set up password that was missing for some reason 2024-08-09 22:13:01 +07:00
Elian Doran 64f99ba637
integration-test: Allow for in-memory database 2024-08-09 21:51:10 +07:00
Elian Doran 1542eb14b3
integration-test: Set up DB for #308 2024-08-09 21:43:20 +07:00
Elian Doran 5aa0040a83
integration-test: Disable WAL for cleaner commits 2024-08-09 21:32:12 +07:00
Elian Doran c2e7ccddb4
integration-test: Start implementing dedicated DB 2024-08-09 21:28:35 +07:00
Nriver c9d0d339eb add translation for all text note options 2024-08-09 14:48:54 +07:00
Nriver d6aa4d26dd add translation for all other options 2024-08-09 14:37:03 +07:00
Elian Doran d0042b5891
Merge pull request #317 from TriliumNext/remove-ci-cd-matrices
Remove the strategy matrix for concurrent builds.
2024-08-09 09:22:02 +07:00
Nriver f6f5cc2ecb add translation for all image options 2024-08-09 13:54:28 +07:00
Nriver 38f19e21f0 add translation for all code note options 2024-08-09 13:46:26 +07:00
Nriver b78ac44e73 Merge remote-tracking branch 'upstream-next/develop' into feature/i18n 2024-08-09 13:36:48 +07:00
perf3ct 19ad1a1b82
linux/arm64/v8 is normalized as linux/arm64 2024-08-08 17:27:36 +07:00
perf3ct 00b40df6e1
remove the strategy matrix to fix ci/cd builds 2024-08-08 17:24:50 +07:00
Elian Doran 9d5966819b
Merge pull request #316 from TriliumNext/update-start-docker
Update start-docker.sh to be more distro-agnostic
2024-08-09 01:22:51 +07:00
perf3ct 13ad877b2f
also change the tags of build-docker.sh to triliumnext 2024-08-08 15:17:38 +07:00
perf3ct 138b85dd3c
change from gosu to just su 2024-08-08 15:17:02 +07:00
Elian Doran 50a6a1f3dc
Merge pull request #314 from TriliumNext/fix-arm-builds
Fix ARM container builds
2024-08-09 01:06:32 +07:00
Elian Doran 42058034a5
client: Fix redirecting to wrong URL for downloading new version (closes #313) 2024-08-09 00:54:26 +07:00
perf3ct 3014b11422
swap su-exec to gosu 2024-08-08 14:52:09 +07:00
Elian Doran a98f01d924
integration-test: Create authentication setup 2024-08-09 00:41:55 +07:00
perfectra1n d09195097d
Merge branch 'develop' into fix-arm-builds 2024-08-08 14:40:41 +07:00
perf3ct 676bff43d9
fix arm builds 2024-08-08 14:38:39 +07:00
Elian Doran 6a459427fb
Merge pull request #309 from slashtechno/update-docker-compose
Update `docker-compose.yml`
2024-08-09 00:01:22 +07:00
Elian Doran 513b0c6597
ci: Remove problematic platforms for now 2024-08-08 23:26:58 +07:00
Elian Doran 36f51baf2b
client: Fix CKEditor modal background after update (fixes #304) 2024-08-08 19:59:30 +07:00
Elian Doran 3cc3c751b4
electron: Fix missing icons (closes #311) 2024-08-08 19:23:37 +07:00
slashtechno 5fbda79dbe
Remove erroneous backtick 2024-08-08 10:21:13 +07:00
slashtechno b7ce4d04ba
revert spacing to what it was before 2024-08-08 09:06:40 +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
Nriver ec4b35ea75 add translation for all appearance options 2024-08-08 11:43:09 +07:00
Nriver e8dc75df51 improve font size UI under smaller screen 2024-08-08 11:04:37 +07:00
Nriver febd1d5ab3 add translation for font option 2024-08-08 11:02:04 +07:00
Nriver fcf4b57838 add translation for backend_log.js and
5 advanced options
2024-08-08 10:40:15 +07:00
Nriver 9885abc626 add translation for 2 type widgets 2024-08-08 09:44:13 +07:00
Nriver 01f99d7f12 Merge remote-tracking branch 'upstream-next/develop' into feature/i18n 2024-08-08 09:04:14 +07:00
Elian Doran 17e306a3c9
Merge pull request #310 from capi/add-dockerhub-link-to-readme
docs: Add Dockerhub link to readme
2024-08-08 00:19:12 +07:00
Martin Carpella 32eaded3af docs: Add Dockerhub link to readme 2024-08-07 23:15:19 +07:00
Elian Doran 865c0fb981
docker: Reintroduce cross-platform builds 2024-08-08 00:06:19 +07:00
Elian Doran 645fd43339
Revert "docker: Reintroduce cross-platform builds"
This reverts commit 85db664756.
2024-08-08 00:03:51 +07:00
Elian Doran 85db664756
docker: Reintroduce cross-platform builds 2024-08-07 23:46:12 +07:00
Elian Doran f4e7dcd5e8
docker: Fix healthcheck & convert to TypeScript (closes #296) 2024-08-07 23:25:22 +07:00
slashtechno 4bc24246ab
Update Docker image tag in build script 2024-08-07 15:51:29 +07:00
Elian Doran 9cf14cc3a8
ci: Use healthcheck action 2024-08-07 22:42:55 +07:00
Elian Doran e64234b462
ci: Add test for Docker healtcheck 2024-08-07 22:31:09 +07:00
Elian Doran 5295d956a2
ci: Add Docker test step 2024-08-07 22:25:01 +07:00
Elian Doran a8814f0e9b
ci: Extract docker build into separate workflow 2024-08-07 22:10:16 +07:00
slashtechno 883e71612c
Use `triliumnext/notes` as image in `docker-compose.yml`
Also added comments to `docker-compose.yml` and removed unused volumes
2024-08-07 13:39:56 +07:00
Elian Doran 2efbe97286
integration-test: Add basic test for KaTeX 2024-08-07 20:27:04 +07:00
Elian Doran cc9bb31b9c
integration-test: Disable webkit runner for now 2024-08-07 20:21:04 +07:00
Elian Doran b2e27144b7
integration-test: Initialize Playwright 2024-08-07 20:21:04 +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
Nriver 8dbafa3cd9 revert change of i18n.js 2024-08-07 17:00:17 +07:00
Nriver 14bdd3819f Merge remote-tracking branch 'upstream-next/develop' into feature/i18n 2024-08-07 16:56:36 +07:00
meichthys 72173533a6 Update references from Trilium -> TriliumNext 2024-08-07 01:08:45 +07:00
meichthys 0b7bf533fa Update third-party communities description 2024-08-07 01:07:32 +07:00
meichthys b3791f7a6a Add `open-source` and `cross-platform` to project tagline 2024-08-07 01:06:15 +07:00
meichthys 3042ce13e7 Update installation instructions & communication links 2024-08-07 01:05:11 +07:00
meichthys ac9a9a7758 Rename Builds section to "Installation" 2024-08-07 00:43:58 +07:00
meichthys 94c53e6342 Remove MacOS unsupported message 2024-08-07 00:43:27 +07:00
meichthys eb91cfd650 Clarify Flatpack is not yet available 2024-08-07 00:33:37 +07:00
Nriver 3d955abd31 resolve code conflict in book.js 2024-08-07 11:48:24 +07:00
Nriver 8f6087068e add translation for type widgets: relation_map.js 2024-08-07 11:35:55 +07:00
Nriver 2754bd7a93 add translation for 8 type widgets 2024-08-07 11:18:02 +07:00
Nriver 40f74656f3 add translation for all 9 search option files 2024-08-07 10:16:27 +07:00
Elian Doran cba15f9df5
ci: Deploy main on tags as well 2024-08-06 23:09:31 +07:00
Elian Doran b72626aab6
release 0.90.3 2024-08-06 20:40:58 +07:00
Elian Doran 712ef92f7c
build: Mark releases as draft 2024-08-06 20:40:54 +07:00
Elian Doran c3b742df3b
docs: Fix dynamic references to wiki 2024-08-06 20:38:35 +07:00
Elian Doran 85eaf0cb52
docs: Fix the remainder of hard-coded links to wiki 2024-08-06 20:18:19 +07:00
Elian Doran c1fcb10bc0
docs: Change reference to search.md 2024-08-06 20:12:13 +07:00
Elian Doran 743fee2783
electron: Fix alt+left, alt+right navigation
Broken due to a change in Electron API:
https://github.com/electron/electron/pull/41577/files
2024-08-06 18:44:19 +07:00
Nriver 9453ec4e29 add translation for the last ribbon widget 2024-08-06 10:41:08 +07:00
Nriver 74c4634da2 add translation for ribbon widgets: search_definition.js 2024-08-06 10:39:15 +07:00
Nriver a8bb064557 add translation for ribbon widgets: script_executor.js 2024-08-06 10:16:56 +07:00
Nriver b7809a709c add translation for ribbon widgets: promoted_attributes.js 2024-08-06 10:12:53 +07:00
Nriver 2916182cdf add translation for 2 ribbon widgets 2024-08-06 10:01:21 +07:00
Jin 42e3f126e4 add arm64 for linux 2024-08-05 20:46:32 +07:00
Jin e10df0708c remove old build scripts 2024-08-05 20:30:16 +07:00
Jin 46164de94a fix github action 2024-08-05 20:29:17 +07:00
Jin 39c0250833 fix server package 2024-08-05 20:20:35 +07:00
Jin e5e92c8ece add electron-forge for all platforms 2024-08-05 18:47:57 +07:00
Jin 5f6aba8a10 remove comments 2024-08-05 17:14:24 +07:00
Jin e5c1d38722 - Remove hard-coded `better-sqlite3` binaries
- Fix ExperimentalWarning
2024-08-05 17:14:24 +07:00
Nriver 835891999e add translation for ribbon widgets: note_paths.js 2024-08-05 10:59:26 +07:00
Nriver 729715ebfb add translation for ribbon widgets: note_map.js 2024-08-05 10:55:37 +07:00
Nriver bdc6a1fe29 add translation for ribbon widgets: note_info_widget.js 2024-08-05 10:48:37 +07:00
Nriver 931e319fbf add translation for ribbon widgets: inherited_attribute_list.js 2024-08-05 10:43:11 +07:00
Nriver 6743eb8d1b add translation for ribbon widgets: image_properties.js 2024-08-05 10:40:08 +07:00
Nriver e2aaa97a01 fix text wrap for file_properties.js 2024-08-05 10:34:00 +07:00
Nriver c2a8f4f4a3 add translation for ribbon widgets: file_properties.js 2024-08-05 10:32:48 +07:00
Nriver 4270ab416e add translation for ribbon widgets: edited_notes.js 2024-08-05 10:26:40 +07:00
Nriver d47a5c4ffe add translation for ribbon widgets: book_properties.js 2024-08-05 10:23:38 +07:00
Nriver 97e127a4af fix double curly braces 2024-08-05 10:18:42 +07:00
Nriver cfd33c802c add translation for ribbon widgets: basic_properties.js 2024-08-05 10:09:25 +07:00
Nriver 971f52f92a add translation for mobile_detail_menu.js 2024-08-05 09:57:36 +07:00
Nriver 71c09b1d67 add translation for all floating buttons 2024-08-05 09:49:52 +07:00
Elian Doran f3641e5fa6
server: Fix fulltext search ignoring buffers 2024-08-04 23:26:35 +07:00
Elian Doran 8f5859f344
Merge pull request #285 from perfectra1n/develop
Add CI/CD step for DockerHub containers
2024-08-04 19:47:02 +07:00
perfectra1n a8337c51dd
Merge branch 'develop' into develop 2024-08-04 09:42:37 +07:00
Elian Doran 2f9a75b74c
Merge pull request #291 from TriliumNext/feature/new_icon
New icon
2024-08-04 19:36:25 +07:00
Elian Doran 2d7ffaf2a8
ci: Revert change 2024-08-04 19:35:59 +07:00
Elian Doran 8ca6dbe34b
Scale mac icon to 0.8 2024-08-04 17:11:46 +07:00
Elian Doran 5ee62d4d65
Create Big Sur-style icons 2024-08-04 16:42:35 +07:00
Elian Doran 3544dc6650
Fix weird plural in author name 2024-08-04 16:09:44 +07:00
Elian Doran 03cb773560
Add sharper icons using Inkscape for rendering 2024-08-04 15:36:51 +07:00
Elian Doran 3659cad587
bin: Don't remove intermediate icons, simply ignore them 2024-08-04 15:18:39 +07:00
Elian Doran 54b9bcb6de
Build small icons for macOS as well 2024-08-04 14:30:55 +07:00
Elian Doran 712b180f94
Set up 1024x1024 icon for macOS 2024-08-04 14:26:30 +07:00
Elian Doran 3ce2c98317
bin: Add asserts for create-icons dependencies 2024-08-04 14:26:10 +07:00
Elian Doran 880b0420cc
client: Update icon in CKEditor 2024-08-04 14:15:35 +07:00
Elian Doran 11c110f682
Update progress script to list files 2024-08-04 13:55:51 +07:00
Elian Doran c76c17fc6f
Merge remote-tracking branch 'origin/develop' into feature/client_typescript_port1
; Conflicts:
;	package-lock.json
2024-08-04 13:42:54 +07:00
Elian Doran 28f633d903
client-ts: Add some small adjustments 2024-08-04 13:37:39 +07:00
Elian Doran f1896c3f5f
client-ts: Port services/hoisted_note.js 2024-08-04 13:34:29 +07:00
Elian Doran e872e88376
client-ts: Port services/tree.js 2024-08-04 13:32:29 +07:00
Elian Doran cbdb8b8b18
client-ts: Port services/open.js 2024-08-04 13:27:23 +07:00
Elian Doran 90be9b28a8
client-ts: Fix type error in server.ts 2024-08-04 12:35:42 +07:00
Elian Doran c0a26889e4
Document #run=mobileStartup (fixes #290) 2024-08-04 10:46:28 +07:00
Elian Doran efc5ac0e9b
ci: Add workflow_dispatch to main 2024-08-03 23:37:28 +07:00
Elian Doran 86463086fa
Update non-rendering emoji
See https://emojipedia.org/right-thought-bubble
2024-08-03 23:21:15 +07:00
Elian Doran 48ac02a1a7
Update logo in demo document 2024-08-03 22:33:33 +07:00
Elian Doran a94c2c45b7
build: Build Squirrel splash image as well 2024-08-03 22:25:10 +07:00
Elian Doran f81bf509cd
build: Create script to build icons for the application 2024-08-03 22:20:05 +07:00
Elian Doran 7906c8b64f
Remove unused icons 2024-08-03 21:55:38 +07:00
Elian Doran 80289b8059
client: Fix icon jumping on hover 2024-08-03 21:43:49 +07:00
Elian Doran 96aecf8544
client: Match original size icon slightly 2024-08-03 21:40:07 +07:00
Elian Doran deb2f389df
client: Use correct color 2024-08-03 21:37:46 +07:00
Elian Doran ab25778e7e
client: Embed SVG directly 2024-08-03 21:35:16 +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
Nriver d93a94322e fix broken button feature by over-translating 2024-08-02 09:40:49 +07:00
Nriver 156d3c421c fix miss deleted import 2024-08-02 09:21:15 +07:00
Nriver 7fc3fdab94 add translation for note launcher button 2024-08-02 09:09:49 +07:00
Nriver 625e9efcf3 add translation for buttons: update_available.js 2024-08-02 09:06:37 +07:00
Nriver e2d43b4538 add translation for buttons: revisions_button.js 2024-08-02 09:01:39 +07:00
Elian Doran 3b0ea51f5f
docs: Add a few details about CKEditor 2024-08-02 00:20:17 +07:00
Nriver 9320a548f4 add translation for buttons: protected_session_status.js 2024-08-01 14:32:53 +07:00
Nriver 4081f44a0e add translation for buttons: onclick_button.js 2024-08-01 14:30:11 +07:00
Nriver d21ca03e9c add translation for buttons: note actions 2024-08-01 14:26:37 +07:00
Nriver 355c4164c9 add translation for buttons: move pane button 2024-08-01 14:20:33 +07:00
Nriver 989a0d6cd9 add translation for buttons: left pane toggle 2024-08-01 14:18:21 +07:00
Nriver 8a0fec0a63 add translation for buttons: global menu 2024-08-01 13:54:59 +07:00
perf3ct eb91834539
trigger CI 2024-07-31 12:06:01 +07:00
perf3ct c104475cd6
have DockerHub login use username secret instead 2024-07-31 12:03:53 +07:00
perf3ct 2a09c620fd
update step names 2024-07-31 12:00:47 +07:00
perfectra1n fe03db7dba
Merge pull request #1 from perfectra1n/cicd-add-dockerhub-images
add steps to push container to DockerHub as well
2024-07-31 11:59:05 +07:00
perf3ct 5b74a931aa
fix push action ids 2024-07-31 11:58:49 +07:00
perf3ct ee4544cefe
add steps to push container to DockerHub as well 2024-07-31 11:56:17 +07:00
Nriver d84f4387c5 add translation for buttons: edit button 2024-07-31 10:59:22 +07:00
Nriver 75e8a6cdc0 add translation for buttons: create pane button 2024-07-31 10:57:45 +07:00
Nriver 38a9ad6a46 add translation for buttons: close pane button 2024-07-31 10:51:35 +07:00
Nriver b99510ad4f add translation for buttons: calendar 2024-07-31 10:46:31 +07:00
Nriver 02ecdf565e add translation for buttons: attachments actions 2024-07-31 10:32:43 +07:00
Nriver f116e52228 add translation for bulk action titles 2024-07-30 10:15:07 +07:00
Nriver 3ff361495e add translation for bulk action of relation 2024-07-30 10:06:54 +07:00
Nriver 50434201cf add translation for bulk action of notes 2024-07-30 09:40:02 +07:00
Elian Doran 99ca701a5c electron: Fix initial sync (closes #284)
Apparently the issue was caused by options_init which for Electron was
attempting to read the theme asynchronously. That's why it didn't cause
issues on the server build.
2024-07-29 20:41:28 +07:00
Nriver f7b5dbd12f fix text wrap in about dialog 2024-07-29 10:40:30 +07:00
Nriver 71e69d34ed fix text wrap in rename label 2024-07-29 10:40:12 +07:00
Nriver 738684c4c7 add translation for bulk action of labels 2024-07-29 10:37:53 +07:00
Nriver bcf892ca37 add translation for bulk action and script execute 2024-07-29 10:23:32 +07:00
Nriver 92b0c7f0b7 add translation for attribute editor 2024-07-29 10:14:27 +07:00
Elian Doran bc5a1de9b7 server: Fix import when no meta (closes #281) 2024-07-28 23:39:25 +07:00
Elian Doran 89314fac03 server: Report ZIP import errors properly 2024-07-28 23:38:34 +07:00
Elian Doran 347f18058f build: Set up iconUrl for squirrel build 2024-07-28 21:51:48 +07:00
Elian Doran 2f0d41922b
release 0.90.2-beta 2024-07-28 10:12:19 +07:00
Elian Doran 1d142b9e57
build: Fix accidental change in release script 2024-07-28 10:12:08 +07:00
Elian Doran e654f053b1
Merge pull request #277 from TriliumNext/feature/update_ckeditor_v41.4.2
ckeditor: 41.0.0 -> 41.4.2
2024-07-28 09:07:37 +07:00
Elian Doran d5693e21df
ci: Fix main not triggering 2024-07-28 00:22:52 +07:00
Elian Doran 32dc064ffa
docs: Add some more documentation 2024-07-27 23:49:56 +07:00
Elian Doran d9d8fff249
docs: Update example env 2024-07-27 23:39:15 +07:00
Elian Doran 312c85ae30
docs: Update documentation 2024-07-27 23:28:14 +07:00
Elian Doran f5e02102e7
docs: Improve the preview script 2024-07-27 23:27:18 +07:00
Elian Doran f32fb168dc
docs: Fix the prepare script if run from a different dir 2024-07-27 23:27:11 +07:00
Elian Doran 1871846b64
ckeditor: Bring back emojis 2024-07-27 23:10:33 +07:00
Elian Doran f5ebd66661
ckeditor: 41.0.0 -> 41.4.2 2024-07-27 21:53:59 +07:00
Elian Doran e4d464d6c9
electron: Fix deprecated assert syntax 2024-07-27 16:51:36 +07:00
Elian Doran 557f6096b4
i18n: Fix warning about missing dev language 2024-07-27 16:50:34 +07:00
Elian Doran 84c535ae0d
electron: Fix "Cannot access 'sqlInit' before initialization" at startup 2024-07-27 16:45:02 +07:00
Elian Doran e5cdccc066
build: Make copy-dist silent 2024-07-27 16:42:47 +07:00
Elian Doran ac4f902bb9
electron: Display TypeScript stack traces 2024-07-27 16:40:59 +07:00
Elian Doran 3bc83e19fa
build: Turn off safe mode by default in order to be able to test scripts 2024-07-27 15:28:12 +07:00
Elian Doran 3466786a96
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2024-07-27 15:25:34 +07:00
Elian Doran b58b7a6575
Merge pull request #268 from TriliumNext/feature/server_esm_part4
Server ESM port: Fix Electron build
2024-07-27 15:21:03 +07:00
Elian Doran 48cf41b5a5
Merge pull request #243 from TriliumNext/feature/server_esm_part3
Server ESM port: Getting things to run
2024-07-27 15:20:52 +07:00
Elian Doran 7b2d70ba56
Merge remote-tracking branch 'origin/develop' into feature/server_esm_part3 2024-07-27 15:20:39 +07:00
Elian Doran 1a5649e8ac
Merge pull request #259 from TriliumNext/feature/server_esm
Server ESM port: Basic imports
2024-07-27 15:19:44 +07:00
Elian Doran 0f7446c198
client: Display errors for all basic widgets instead of just right panel widget 2024-07-27 12:26:35 +07:00
Elian Doran 0ba9fc7f5b
client: Display errors for right panel widgets instead of crashing 2024-07-27 12:24:49 +07:00
Elian Doran 584ba246e3
client: Use translations for critical error 2024-07-27 12:10:59 +07:00
Elian Doran 22761d8a00
client: Display critical error toast instead of blank screen 2024-07-27 12:05:24 +07:00
Elian Doran 7bb70bb659
client: Allow newlines in toast message 2024-07-27 12:03:40 +07:00
Nriver f3e09c3a4b add translation for attribute detail 2024-07-26 17:00:28 +07:00
Nriver fa2d0578c0 fix export note title 2024-07-26 14:02:54 +07:00
Elian Doran b7754bcea0
client-ts: Port services/app/app_context 2024-07-25 21:03:15 +07:00
Elian Doran cd5ea28e14
client-ts: Port services/app/date_notes 2024-07-25 20:49:37 +07:00
Elian Doran ac7316ae93
client-ts: Port services/app/ws 2024-07-25 20:47:33 +07:00
Elian Doran c5113d9881
client-ts: Fix build errors in froca 2024-07-25 20:44:00 +07:00
Elian Doran efaa1f47f7
client-ts: Port services/app/froca_updater 2024-07-25 20:42:56 +07:00
Elian Doran 8fb6b64fa9
client-ts: Port services/app/entities 2024-07-25 20:36:15 +07:00
Elian Doran 047c3eea69
client-ts: Port services/app/components/zoom 2024-07-25 19:27:42 +07:00
Elian Doran 6c7a272edc
client-ts: Port services/app/services/spaced_update 2024-07-25 19:22:44 +07:00
Elian Doran 411234dd9c
client-ts: Port services/app/components/component 2024-07-25 19:21:40 +07:00
Nriver da96344690 add translation for the rest 7 dialogs 2024-07-25 17:14:08 +07:00
Elian Doran b508b5bbfd
Update SECURITY.md 2024-07-25 00:31:42 +07:00
Elian Doran dc48eeb7c1
dev: Set up default JSON formatter on VS Code 2024-07-25 00:30:51 +07:00
Elian Doran 65563cb29e
client-ts: Port services/protected_session_holder 2024-07-25 00:27:55 +07:00
Elian Doran cf57819b22
client-ts: Port services/toast 2024-07-25 00:26:27 +07:00
Elian Doran 78f929ee69
client-ts: Port services/options 2024-07-25 00:25:11 +07:00
Elian Doran 5875aa3bef
client-ts: Port services/server 2024-07-25 00:24:20 +07:00
Elian Doran ba7035a346
client-ts: Port services/utils 2024-07-25 00:18:57 +07:00
Elian Doran 0c8092b8f4
client-ts: Port services/entities/fblob 2024-07-25 00:13:53 +07:00
Elian Doran bece0aa784
client-ts: Port services/mutex 2024-07-25 00:12:24 +07:00
Elian Doran 679e9eba77
client-ts: Port services/load_results 2024-07-25 00:09:34 +07:00
Elian Doran 6c94cbf388
client-ts: Port services/css_class_manager 2024-07-25 00:01:39 +07:00
Elian Doran 81327a09d5
client-ts: Port services/promoted_attribute_definition_parser 2024-07-24 23:57:43 +07:00
Elian Doran 3fbedfb0a1
client-ts: Port services/validation_error 2024-07-24 23:30:10 +07:00
Elian Doran 380f4a1d54
client-ts: Adapt progress script 2024-07-24 23:23:36 +07:00
Elian Doran 3ba8f93412
Merge remote-tracking branch 'origin/develop' into feature/server_esm_part4 2024-07-24 21:39:39 +07:00
Elian Doran 25db092b41
electron: Fix crash due to missing i18next 2024-07-24 21:04:20 +07:00
Elian Doran ae80a748af
electron: Fix not starting due to squirrel 2024-07-24 20:57:32 +07:00
Elian Doran 6006d01f8b
electron: Fix JSON imports 2024-07-24 20:52:46 +07:00
Elian Doran 7fb3abb4ea
electron: Fix directory imports 2024-07-24 20:41:44 +07:00
Elian Doran bb19cc216b
server: Fix shadowed fields in becca entities 2024-07-24 20:40:03 +07:00
Elian Doran 709101c540
server: Fix some build errors 2024-07-24 20:35:19 +07:00
Elian Doran eca9459d4c
server: Use the TypeScript configuration that corresponds for Electron 2024-07-24 20:33:49 +07:00
Elian Doran 24af2e55dc
server: Fix the remainder of import issues 2024-07-24 20:33:35 +07:00
Elian Doran 42f0073ab6
server: Fix various imports 2024-07-24 20:31:26 +07:00
Elian Doran 20ee62dfb1
server: Fix search-related imports 2024-07-24 20:30:12 +07:00
Elian Doran 2787feb593
server: Fix missing .js import for blob_interface 2024-07-24 20:27:50 +07:00
Elian Doran 8a5dca5dca
server: Fix missing .js import for becca 2024-07-24 20:26:57 +07:00
Elian Doran d5ec62f797
server: Fix missing .js import for shaca 2024-07-24 20:25:38 +07:00
Elian Doran 3595ace249
server: Fix missing .js import for request_interface 2024-07-24 20:24:47 +07:00
Elian Doran ed0970b33b
server: Fix missing .js import for entity_changes_interface 2024-07-24 20:24:13 +07:00
Elian Doran ed0d86c787
server: Fix missing .js import for note-interface 2024-07-24 20:23:34 +07:00
Elian Doran 212d61c1d2
server: Fix missing .js import for route-interface 2024-07-24 20:23:05 +07:00
Elian Doran 3067380338
server: Fix missing .js import for etapi-interface 2024-07-24 20:21:52 +07:00
Elian Doran 76fcea7189
server: Fix missing .js import for rows file 2024-07-24 20:20:20 +07:00
MeIchthys 379c07a7fa
Update issue template to use new version scheme and TriliumNext Documentation links 2024-07-24 09:49:50 +07:00
Nriver a8d6e5b1ea add translation for 6 more dialogs 2024-07-24 17:34:26 +07:00
Nriver 5691554442 add translation for `enter` 2024-07-24 17:32:01 +07:00
Nriver a01065908d Merge remote-tracking branch 'upstream-next/develop' into feature/i18n 2024-07-24 09:17:51 +07:00
Elian Doran f382d3c728
Merge remote-tracking branch 'origin/feature/update_bettersqlite3' into feature/server_esm_part3 2024-07-24 00:02:15 +07:00
Elian Doran fd1f43d192
Merge remote-tracking branch 'origin/feature/update_electron' into feature/server_esm_part3 2024-07-24 00:01:44 +07:00
Elian Doran 989462c1b8
electron: Fix Common.js import 2024-07-24 00:00:41 +07:00
Elian Doran bd6ef06732
Merge remote-tracking branch 'origin/develop' into feature/server_esm_part3 2024-07-23 23:43:00 +07:00
Elian Doran b9a2be6808
Merge pull request #248 from TriliumNext/feature/i18n_first_steps
i18n: First steps
2024-07-23 23:27:45 +07:00
Elian Doran ece343ac09
dev: Improve custom translation framework slightly 2024-07-23 23:27:00 +07:00
Elian Doran 2fb05ab37d
Merge remote-tracking branch 'origin/develop' into feature/i18n_first_steps
; Conflicts:
;	package-lock.json
;	package.json
2024-07-23 23:22:34 +07:00
Elian Doran de342c3285
dev: Set up key style & source language 2024-07-23 23:19:11 +07:00
Elian Doran 906dad62a8
dev: Set up i18n-ally 2024-07-23 22:52:34 +07:00
Elian Doran 0606fe01f6
Merge pull request #242 from TriliumNext/feature/server_esm_part2
Server ESM port: Convert some of the asynchronous imports
2024-07-23 19:17:20 +07:00
Elian Doran 1b5b3e697e
Merge branch 'feature/server_esm_part2' into feature/server_esm_part3 2024-07-23 19:15:59 +07:00
Elian Doran 3aa38b998a
server: Address requested changes 2024-07-23 19:14:33 +07:00
Elian Doran 45bf75b864
Merge branch 'feature/server_esm' into feature/server_esm_part2 2024-07-23 19:08:46 +07:00
Elian Doran 7f2caa00cb
test: Remove commented-out code 2024-07-23 19:07:39 +07:00
Nriver 935e882f3e translate 5 more dialogs and refine some translation 2024-07-23 17:38:22 +07:00
Elian Doran e9e329c6dd build: Fix Windows installer build 2024-07-23 00:26:02 +07:00
Elian Doran faa9ebe1bc build: Remove unnecessary rm 2024-07-23 00:24:27 +07:00
Elian Doran 26efa9299e build: Fix export = 2024-07-23 00:17:20 +07:00
Elian Doran 3dbf8fb1c1 build: Fix running webpack on ESM 2024-07-23 00:12:08 +07:00
Elian Doran 6f6ce38538 build: Increase strictness of copy-trilium 2024-07-22 21:44:48 +07:00
Elian Doran e74eff75db Revert "build: Export correct build info"
This reverts commit ef4f0f80b9.
2024-07-22 21:43:55 +07:00
Elian Doran 7fb4a66127 build: Remove redundant rm 2024-07-22 21:39:36 +07:00
Elian Doran ef4f0f80b9 build: Export correct build info 2024-07-22 21:35:24 +07:00
Elian Doran dd14ba9e0e build: Increase error strictness 2024-07-22 21:33:07 +07:00
Elian Doran c39d131426 ci: Add ESM change to main temporarily 2024-07-22 21:23:06 +07:00
Elian Doran b0d6564a63 server: Fix share not working after ESM port 2024-07-22 21:17:43 +07:00
Elian Doran c20c8d1176 server: Fix init database not working due to share db 2024-07-22 21:17:27 +07:00
Elian Doran 10239d1a0b Merge branch 'feature/server_esm_part2' into feature/server_esm_part3 2024-07-22 20:20:34 +07:00
Elian Doran f0a561565e Merge branch 'feature/server_esm' into feature/server_esm_part2 2024-07-22 20:15:49 +07:00
Elian Doran e53b7dd297 Merge remote-tracking branch 'origin/develop' into feature/server_esm 2024-07-22 19:59:44 +07:00
Elian Doran 997da1c3bc client: Change URL for checking updates (not testable yet) 2024-07-22 19:40:00 +07:00
Elian Doran c1b5eb086b ci: Don't build main if only docs were changed 2024-07-22 19:39:15 +07:00
Nriver cb9b4c07e5 translate some dialogs 2024-07-22 17:31:54 +07:00
Elian Doran 043313c71a Merge branch 'feature/update_electron' into feature/update_bettersqlite3 2024-07-21 23:29:48 +07:00
Elian Doran 62804ec67a Merge remote-tracking branch 'origin/develop' into feature/update_electron 2024-07-21 23:28:03 +07:00
Elian Doran 4edb0374fc server: Fix "Content hash check for [...] sector [...] FAILED"
The issue was caused by a guard condition which prevented the writing of
entity changes which came from the remote and were marked as deleted,
resulting in an incorrect checksum when attempting to sync.
2024-07-21 21:14:27 +07:00
Elian Doran 2e9a624bfd
release 0.90.1-beta 2024-07-21 13:25:01 +07:00
Elian Doran 715a952148
build: Remove auth if token not provided 2024-07-21 13:24:44 +07:00
Elian Doran d09578735e
build: Implement cross-platform build info script 2024-07-21 11:45:31 +07:00
Elian Doran 374a51b77c
ci: Update build info for Windows setup as well 2024-07-21 11:26:14 +07:00
Elian Doran 5a8442f3d8
build: Fix artifacts not generated due to name change 2024-07-21 10:57:43 +07:00
Elian Doran f07a6600c9
ci: Patch package.json main 2024-07-21 09:12:46 +07:00
Elian Doran b2f688a3e5
ci: Fix typo 2024-07-21 08:53:21 +07:00
Elian Doran 4a7c447528
Merge pull request #255 from TriliumNext/feature/windows_installer
Windows installer
2024-07-21 08:52:06 +07:00
Elian Doran 028565d89b
ci: Fix dev workflow no longer triggering 2024-07-21 08:48:54 +07:00
Elian Doran b55e93c7c1
ci: Join workflows 2024-07-21 08:37:18 +07:00
Elian Doran ad7a29a700
ci: Try to fix missing assets in installer 2024-07-21 00:31:36 +07:00
Elian Doran f49008bf21
ci: Improve workflow 2024-07-21 00:02:43 +07:00
Elian Doran 3ac643b3ac
build: Reorder scripts & rename artifact 2024-07-20 23:56:28 +07:00
Elian Doran 2e2400edb3
build: Improve product information in package.json 2024-07-20 23:39:53 +07:00
Elian Doran 6c36c47135
ci: Adapt to changes to package.json 2024-07-20 23:34:52 +07:00
Elian Doran a5f7a3a029
build: Improve package.json for building with electron-forge 2024-07-20 23:33:40 +07:00
Elian Doran 52af97c88f
build: Remove electron-builder 2024-07-20 23:24:04 +07:00
Elian Doran dcb5d539b3
Fix removing dependency on electron 2024-07-20 23:23:44 +07:00
Elian Doran 19e776b1f6
Merge remote-tracking branch 'origin/develop' into feature/windows_installer
; Conflicts:
;	electron.js
;	package-lock.json
;	package.json
2024-07-20 23:07:32 +07:00
Elian Doran f9a4f9b538
Merge pull request #253 from TriliumNext/feature/update_ci
CI improvements
2024-07-20 22:28:26 +07:00
Elian Doran 5277c3e6b6
ci: Revert artifact upload for darwin 2024-07-20 22:23:31 +07:00
Elian Doran e380fa5224
ci: Fix permission issue with build script 2024-07-20 22:10:09 +07:00
Elian Doran 5eabdf8496
ci: Cancel unnecessary actions 2024-07-20 22:03:51 +07:00
Elian Doran 128af66797
ci: Don't pack Windows artifact 2024-07-20 22:02:29 +07:00
Elian Doran 80e647ffec
ci: Update build info 2024-07-20 21:58:14 +07:00
Elian Doran 7dc8c662ca
ci: Revert .tar.xz to avoid losing permissions 2024-07-20 21:50:32 +07:00
Elian Doran cc55e1b657
ci: Remove .tar.xz to avoid double archiving 2024-07-20 21:48:04 +07:00
Elian Doran 27c2d1efbd
ci: Fix double .zip artifact name 2024-07-20 21:46:37 +07:00
Elian Doran 4dc615fe68
ci: Fix double zipping 2024-07-20 21:39:11 +07:00
Elian Doran 9647738162
Merge pull request #252 from TriliumNext/feature/update_reduce_binary_size
Reduce dist size
2024-07-20 21:33:21 +07:00
Elian Doran 5b8148206d
Merge pull request #251 from TriliumNext/feature/update_server_dependencies
Update server dependencies
2024-07-20 21:33:05 +07:00
Elian Doran 758c08ec85
build: Remove map files & ts files 2024-07-20 20:55:38 +07:00
Elian Doran cb0d1d80a1
build: Remove some more unnecessary files 2024-07-20 20:53:33 +07:00
Elian Doran 9dcf51b117
build: Remove some unnecessary files 2024-07-20 20:39:18 +07:00
Elian Doran 389097bcc2
build: Silence clean-up phase 2024-07-20 20:31:36 +07:00
Elian Doran 366e791e2d
build: Use--omit=dev 2024-07-20 20:19:38 +07:00
Elian Doran d570b3c428
build: Move rimraf to devDependencies 2024-07-20 20:18:47 +07:00
Elian Doran 3b3f676964
server: Update ini, debounce 2024-07-20 19:06:56 +07:00
Elian Doran 77ddf529ac
server: Update https-proxy-agent, sax 2024-07-20 19:06:55 +07:00
Elian Doran ba74f39d86
server: Update semver, async-mutex 2024-07-20 19:06:55 +07:00
Elian Doran 76890de33b
server: Update dayjs 2024-07-20 19:06:55 +07:00
Elian Doran e9860e9523
server: Update axios, ejs 2024-07-20 19:06:55 +07:00
Elian Doran 44d095777c
server: Update ws 2024-07-20 19:06:55 +07:00
Elian Doran af726eff6c
server: Update jsdom 2024-07-20 19:06:55 +07:00
Elian Doran abd860754f
server: Update express, express-rate-limit 2024-07-20 19:06:55 +07:00
Elian Doran 1a5b3ab0e3
server: Update yauzl 2024-07-20 19:06:55 +07:00
Elian Doran 8a507d3cc0
server: Update sanitize-url, archiver, marked, sanitize-html, turndown 2024-07-20 19:06:55 +07:00
Elian Doran 645c16e450
Merge pull request #228 from TriliumNext/feature/update_to_node20
Update Node.js version
2024-07-20 19:06:21 +07:00
Elian Doran 338012ec7e
build: Bring update script for better-sqlite3 2024-07-20 16:48:41 +07:00
Elian Doran e778680e94
Merge branch 'feature/update_to_node20' into feature/update_electron 2024-07-20 16:39:38 +07:00
Elian Doran 9b9180e5c8
Merge remote-tracking branch 'origin/develop' into feature/update_to_node20 2024-07-20 16:30:46 +07:00
Elian Doran 460bd6b979
ci: Always build main for update branches 2024-07-20 16:30:17 +07:00
Elian Doran 45a751ac6c
Merge remote-tracking branch 'origin/feature/update_to_node20' into feature/update_electron 2024-07-20 15:27:19 +07:00
Elian Doran c080dab9fa
Revert "ci: Build main temporarily"
This reverts commit 776d2e7402.
2024-07-20 15:24:36 +07:00
Elian Doran 75ccf9c3a7
Merge pull request #232 from TriliumNext/feature/update_tooling_dependencies
Update tooling dependencies
2024-07-20 15:22:15 +07:00
Elian Doran 66415abe8a
server: Remove dependency to "open", closes #221
This is a very old dependency from 2018:
aa2bbc6575

It is no longer used.
2024-07-20 15:21:24 +07:00
Elian Doran 431e04d039
build: Update rimraf, webpack, nodemon, jsdoc 2024-07-20 15:21:24 +07:00
Elian Doran 946a02fd67
build: Determine better-sqlite3 version automatically 2024-07-20 15:13:42 +07:00
Elian Doran 6a7f95f75b
Revert "ci: Build main temporarily"
This reverts commit 79871dce638f47a86f673daa36cec84daa37c6ae.
2024-07-20 15:13:42 +07:00
Elian Doran 2a57765dd9
build: Update bettersqlite3 binary for Linux server 2024-07-20 15:13:42 +07:00
Elian Doran 42c0a557b4
build: Update bettersqlite3 binary for Linux desktop 2024-07-20 15:13:42 +07:00
Elian Doran aa6cf1f11c
build: Update bettersqlite3 binary for macOS 2024-07-20 15:13:42 +07:00
Elian Doran d73b10d10d
build: Update bettersqlite3 binary for Windows 2024-07-20 15:13:42 +07:00
Elian Doran 6aea3b1472
Revert "build: Investigate not embedding better_sqlite3 natives"
This reverts commit 0e10fbb0875e515b6c10d4d010fe81464b41f6b4.
2024-07-20 15:13:40 +07:00
Elian Doran edc18e5be8
Revert "build: Fix ".node is not a valid Win32 application""
This reverts commit 8ac84e12c8dd2a838bf602e032b08d507b9d763b.
2024-07-20 15:13:19 +07:00
Elian Doran 86659552ee
build: Fix ".node is not a valid Win32 application"
See https://github.com/electron/packager/issues/740.
2024-07-20 15:13:19 +07:00
Elian Doran 03ab41bfba
build: Investigate not embedding better_sqlite3 natives 2024-07-20 15:13:17 +07:00
Elian Doran 956beb1cc0
server: Update better-sqlite3 from 8.5.0 to 11.1.2 2024-07-20 15:12:34 +07:00
Elian Doran 9db4e1d7d3
build: Fix Node version incompatibility 2024-07-20 15:10:50 +07:00
Elian Doran 776d2e7402
ci: Build main temporarily 2024-07-20 15:10:50 +07:00
Elian Doran 41286d41ee
electron: Downgrade electron-debug
Avoids an import error because electron-debug became ESM-only in version
4. We will update to it once we upgrade to ESM.
2024-07-20 15:10:50 +07:00
Elian Doran 4bae19b1c3
electron: Switch 25.9.8 -> 31.2.1 2024-07-20 15:10:49 +07:00
Elian Doran b587ec474c
build: Use rimraf instead of rm -rf 2024-07-20 14:16:49 +07:00
Elian Doran 837b7ce3d1
Merge remote-tracking branch 'origin/develop' into feature/update_to_node20 2024-07-20 13:23:25 +07:00
Elian Doran 05776d178e
docs: Move binaries to bin/ 2024-07-20 13:14:48 +07:00
Elian Doran 46c193dd9f
docs: Get rid of /share 2024-07-20 13:10:19 +07:00
Elian Doran 5bcae52d08
docs: Always use HTML extensions 2024-07-20 13:08:22 +07:00
Elian Doran 4f5fa9f42b
docs: Deploy .html files for GitHub Pages 2024-07-20 12:51:41 +07:00
Elian Doran d381ef5100
docs: Deploy first documentation 2024-07-20 12:41:39 +07:00
Elian Doran 0a1a8c5a27
docs: Deploy to docs folder 2024-07-20 12:41:30 +07:00
Elian Doran 5db499cf56
docs: Create home page with redirect 2024-07-20 12:40:03 +07:00
Elian Doran bfab6b4d5c
docs: Add preview script 2024-07-20 12:29:12 +07:00
Elian Doran 621cc4a065
docs: Get rid of domain in output folder 2024-07-20 12:26:52 +07:00
Elian Doran 30c1810211
docs: Set up basic download script 2024-07-20 12:23:56 +07:00
Elian Doran e284ea945c
i18n: Improve formatting 2024-07-20 11:42:54 +07:00
Elian Doran 288e677495
i18n: Change back to English 2024-07-20 10:37:28 +07:00
Elian Doran 5ea35dd851
i18n: Implement HTTP backend loader 2024-07-20 10:19:11 +07:00
Elian Doran d4bf162e92
i18n: Add i18next-http-backend to library loader 2024-07-20 10:07:10 +07:00
Elian Doran d14cf7c246
i18n: Move translations to backend serve 2024-07-20 10:02:25 +07:00
Elian Doran 784891409f
i18n: Add Romanian as demo 2024-07-20 09:51:09 +07:00
Elian Doran 0dbe6702ff
i18n: Translate about page 2024-07-20 09:42:55 +07:00
Elian Doran 10ec7d6b2b
i18n: Set up client dependency to i18next 2024-07-20 09:32:56 +07:00
Elian Doran 33d6d51d59
i18n: Set up i18next 2024-07-20 09:24:16 +07:00
Elian Doran a71a53de97
Merge pull request #246 from CrO2Cl2/develop
update Italian README
2024-07-20 00:03:11 +07:00
CrO2Cl2 6a0949e5b4 found out the Italian README was actually already in here, and Translated all of the new stuff 2024-07-19 18:27:18 +07:00
Elian Doran 33a26b0b70
Merge pull request #212 from TriliumNext/bugfix/sync_failure
Sync failed: Cannot read properties of undefined (reading 'utcDateChanged')
2024-07-19 19:33:42 +07:00
Elian Doran ab23459299
server: Fix script execution error (closes #244) 2024-07-19 19:30:27 +07:00
CrO2Cl2 f18939942b copy Italian README by MatMasIt from Zadams Repo 2024-07-19 16:27:29 +07:00
Elian Doran 40363f6e8e
Merge pull request #225 from TriliumNext/feature/update_typescript
Update TypeScript dependencies
2024-07-19 19:12:13 +07:00
Elian Doran 583a4420fd
Merge pull request #245 from Nriver/develop
update Chinese README
2024-07-19 18:33:24 +07:00
Nriver 508b53d47b update Chinese README 2024-07-19 15:00:53 +07:00
Elian Doran dd416ed042
server-esm: Revert types config 2024-07-19 00:54:43 +07:00
Elian Doran a10cc7bf8b
server-esm: Fix missing becca 2024-07-19 00:49:56 +07:00
Elian Doran 1cd6670c55
server-esm: Fix circular dependency between sql and sql_init 2024-07-19 00:47:09 +07:00
Elian Doran 87fbd4bce8
server-esm: Fix cyclical dependency 2024-07-19 00:34:37 +07:00
Elian Doran b6c5880484
server-esm: Fix use of __dirname 2024-07-19 00:18:35 +07:00
Elian Doran 27c296fa6c
server-esm: Fix marked import issue 2024-07-19 00:02:39 +07:00
Elian Doran fb7c0fdb4c
server-esm: Use tsx instead of ts-node 2024-07-18 23:59:48 +07:00
Elian Doran 93a0782009
server-esm: Fix a few more straightforward imports 2024-07-18 23:48:14 +07:00
Elian Doran 508b5e3c69
server-esm: Handle more straightforward requires 2024-07-18 23:45:17 +07:00
Elian Doran f137d38300
server-esm: Handle async client 2024-07-18 23:42:54 +07:00
Elian Doran da0829245f
server-esm: Handle proxy agent 2024-07-18 23:40:32 +07:00
Elian Doran 0a7828b9ae
server-esm: Handle two more async imports 2024-07-18 23:39:04 +07:00
Elian Doran 86808c07bd
server-esm: Handle migrations asynchronously 2024-07-18 23:36:49 +07:00
Elian Doran 3852753a89
server-esm: Avoid passing async to express 2024-07-18 23:36:26 +07:00
Elian Doran fe385bf2e4
server-esm: Solve a few straightforward cases 2024-07-18 23:35:13 +07:00
Elian Doran 013f25a49b
server-esm: Make crash async 2024-07-18 23:26:21 +07:00
Elian Doran 8a30663d1e
server-esm: Start with some fundamental imports 2024-07-18 23:24:36 +07:00
Elian Doran 6de1291efa
server-esm: Configure for dynamic imports 2024-07-18 23:23:23 +07:00
Elian Doran 4f018c8ceb
server-esm: Fix one more service import 2024-07-18 23:15:01 +07:00
Elian Doran bf29b30004
server-esm: Fix some more service imports 2024-07-18 23:06:08 +07:00
Elian Doran c5561530ec
server-esm: Fix import to session-file-store 2024-07-18 22:59:39 +07:00
Elian Doran f4d19e2bc1
server-esm: Solve some more imports 2024-07-18 22:58:12 +07:00
Elian Doran 4ed88d28e9
server-esm: Fix type errors related to cloning 2024-07-18 22:41:58 +07:00
Elian Doran 8ac8f6c2df
server-esm: Fix a few more import issues 2024-07-18 22:33:36 +07:00
Elian Doran ad93fe4b75
server-esm: Remove dynamic imports due to past circular issues 2024-07-18 22:30:16 +07:00
Elian Doran efdae79c10
server-esm: Remove two more straightforward imports 2024-07-18 22:25:03 +07:00
Elian Doran a8fd3be133
server-esm: Remove dynamic import to utils 2024-07-18 22:21:33 +07:00
Elian Doran 0c87fab550
server-esm: Fix wonderful token type mismatch 2024-07-18 22:18:10 +07:00
Elian Doran 20c729e62b
server-esm: Solve a few straightforward imports 2024-07-18 22:11:38 +07:00
Elian Doran 5d3e54ee9c
server-esm: Fix Electron helpers 2024-07-18 22:07:57 +07:00
Elian Doran 1dc894e279
server-esm: Fix the remaining compilation errors 2024-07-18 21:56:20 +07:00
Elian Doran 46f76d7284
server-esm: Fix some imports in app.ts 2024-07-18 21:55:26 +07:00
Elian Doran 6c8e9f69b0
server-esm: Fix import of package.json 2024-07-18 21:53:50 +07:00
Elian Doran ecb8a7f394
server-esm: Change single export to export default 2024-07-18 21:50:12 +07:00
Elian Doran 0ceae0a65e
server-esm: Change some more export object to export default object 2024-07-18 21:47:30 +07:00
Elian Doran 55eecb0f61
server-esm: Change export object to export default object 2024-07-18 21:42:44 +07:00
Elian Doran 2750df04a3
server-esm: Change simple library import statements 2024-07-18 21:37:45 +07:00
Elian Doran 35d11cc0d2
server-esm: Change simple local import statements 2024-07-18 21:35:17 +07:00
Elian Doran 8fb67c9766
server-esm: Normalize quotes in require imports 2024-07-18 21:28:51 +07:00
Elian Doran 971c1472a5
server: Set to bundler / ES2015 2024-07-18 21:22:10 +07:00
Elian Doran 893a563afb
vscode: Add task to watch build errors 2024-07-18 20:45:46 +07:00
Elian Doran 8b79975500
server: Fix SVG backwards compatibility (fixes #238) 2024-07-18 19:29:34 +07:00
Elian Doran 824bc4705f
Merge pull request #234 from root-hal9000/develop
Fixed links to wiki and documentation to redirect to TriliumNext Docs
2024-07-18 12:58:20 +07:00
root-hal9000 75d583e064 Russian language README fixes
- fixes links and other small issues that differed from the English version, same as other languages
- Fixed forgotten change of title in Japanese version
2024-07-17 18:16:58 +07:00
root-hal9000 7562c28686 updated links in japanese readme 2024-07-17 18:06:44 +07:00
root-hal9000 4ef6406a76 Italian README links fixed
- Italian: same basic clean up and change of links as the other languages
**** Please note: Italian README file is not present in master branch
- For chinese: changed title to TriliumNext and fixed general link to docs
2024-07-17 18:00:08 +07:00
root-hal9000 be978e893f Updates of chinese language readme
-  updated for content to match current English version
- Changed wiki links from original zadam repo to TriliumNext docs
- changed release/builds link to TriliumNext repo
- removed gitpod reference
- added the same heading icons as in english version
- left a link referring to a third party wiki in chinese. Were they the ones who translated this? : https://github.com/baddate/trilium/wiki/
- did not mess with adding any of the new content such as "Why TriliumNext" - need an actual translator for a few of these
2024-07-17 17:49:21 +07:00
root-hal9000 95b8bf620f update links in English language readme 2024-07-17 17:24:00 +07:00
Elian Doran e74b7f6964
build: Update NODE_VERSION in build-server 2024-07-17 01:08:33 +07:00
Elian Doran 612907c830
Revert "ci: Force build release for branch"
This reverts commit bc60d77cd7.
2024-07-17 01:01:41 +07:00
Elian Doran 6a2ed4f621
server: Upgrade better-sqlite3 to 8.5.0 2024-07-17 00:40:52 +07:00
Elian Doran bc60d77cd7
ci: Force build release for branch 2024-07-17 00:02:19 +07:00
Elian Doran fe4bf31de8
Update .gitpod to Node 20 2024-07-17 00:01:33 +07:00
Elian Doran 0c0bcdcf4e
ci: Update to Node 20 2024-07-16 23:59:46 +07:00
Elian Doran a7006df892
docker: Update to Node 20.15.1 2024-07-16 23:52:55 +07:00
Elian Doran 690048e910
Merge pull request #215 from TriliumNext/feature/investigate_tests
(Bug report) Search not working correctly
2024-07-16 23:19:22 +07:00
Elian Doran 2dbe3c62c2
Merge pull request #227 from TriliumNext/feature/client_updates
Update client dependencies, Canvas: "Copy image reference to clipboard" no longer working
2024-07-16 23:02:18 +07:00
Elian Doran 1eefa65418
client: Update KaTeX to 10.9.1 2024-07-16 22:51:44 +07:00
Elian Doran 7ad977de63
client: Update Mermaid to 10.9.1 2024-07-16 22:49:23 +07:00
Elian Doran d48cdb1c8d
client: Update Excalidraw to 0.17.6 2024-07-16 22:43:15 +07:00
Elian Doran ea1da1e155
server: Fix rendering of SVG attachments (closes #226) 2024-07-16 22:29:00 +07:00
Elian Doran 623b2730ed
server: Update @types/* to latest 2024-07-16 21:43:14 +07:00
Elian Doran c0b3c8496e
server: Fix build errors after updating to latest TypeScript 2024-07-16 21:43:04 +07:00
Elian Doran 9fdb7b29de
server: Update TypeScript to latest 2024-07-16 21:30:07 +07:00
Elian Doran e89faf6786
Merge remote-tracking branch 'origin/develop' into feature/investigate_tests 2024-07-16 18:33:55 +07:00
Elian Doran 66108c1067
client: Fix regression (front end no longer loading) 2024-07-16 18:33:39 +07:00
Elian Doran eb39da19b3
server: Fix build comparator preferring numeric comparators 2024-07-15 23:20:20 +07:00
Elian Doran 105aa3e5f8
tests: Fix test-jasmine on Windows 2024-07-15 22:42:12 +07:00
Elian Doran 9dc22264f4
test: Add additional context for failed test 2024-07-15 22:36:09 +07:00
Elian Doran 80d2a69f47
test: Ignore tests that are failing upstream due to "no such table: notes" 2024-07-15 22:31:04 +07:00
Elian Doran e393914b94
tests: Align with original repo
Apparently upstream does not run all the tests, the beforeAll() is not
even executed. On our side it was, causing a lot of errors related to
timeouts.
2024-07-15 22:24:14 +07:00
Elian Doran eff6ca3365
Merge pull request #173 from TriliumNext/feat/ts-unit-and-integration-tests
feat: TS unit and integration tests
2024-07-15 21:21:11 +07:00
Elian Doran 6a7eb9b34f
Merge remote-tracking branch 'origin/develop' into feat/ts-unit-and-integration-tests
; Conflicts:
;	package.json
;	tsconfig.json
2024-07-15 21:17:20 +07:00
Elian Doran 1e54a9660b
Revert indentation change 2024-07-15 21:15:22 +07:00
Elian Doran 653fba3b71
client: Fix URL to repository 2024-07-15 20:21:43 +07:00
Elian Doran ea47668916
server: Clarify name 2024-07-15 19:31:59 +07:00
Elian Doran 81a2b206ca
electron: Improve run & switch scripts 2024-07-15 19:25:55 +07:00
Elian Doran ddce014495
server: Fix sync failing if local EC is missing 2024-07-15 19:25:31 +07:00
Elian Doran f323193c9d
release 0.90.0-beta 2024-07-14 22:32:45 +07:00
Elian Doran b811f3d399
release 0.90.0-beta 2024-07-14 22:32:17 +07:00
Elian Doran bbbbc3b860
bin/build*: Adjust error tolerance 2024-07-14 21:48:15 +07:00
Elian Doran c9f27547a2
bin/build*: Check if dpkg-deb tool is correct 2024-07-14 21:45:48 +07:00
Elian Doran 6bf063b92f
bin/build*: Check that required binaries are present 2024-07-14 21:35:08 +07:00
Elian Doran 590442b0d5
client,server: Trilium Notes -> TriliumNext Notes (closes #195) 2024-07-14 21:20:42 +07:00
Elian Doran 4862b324a5
bin/release: Get rid of sponge 2024-07-14 21:13:06 +07:00
Elian Doran f678c4337b
bin/release: Fail if jq is missing 2024-07-14 21:12:51 +07:00
Elian Doran 686b9c840e
release 0.9.0 2024-07-14 21:04:43 +07:00
Elian Doran 2e8b2d4b81
server: Fix empty note titles (closes #205) 2024-07-14 20:50:42 +07:00
Elian Doran 3d423d25f8
Merge pull request #208 from TriliumNext/bugfix/fix_importing_non_text_files
Unable to import a PDF file
2024-07-14 17:14:04 +07:00
Elian Doran 79123b0c63
server: Fix import of non-text files 2024-07-14 15:21:45 +07:00
Elian Doran 595402adea
dev: Fix npm start-electron script 2024-07-14 13:03:06 +07:00
Elian Doran f40257b591
Merge pull request #206 from TriliumNext/bugfix/image_upload_regression
server: Fix regression in uploading images
2024-07-14 11:07:34 +07:00
Elian Doran b6ca2281f7
Merge pull request #199 from TriliumNext/feature/port_0.63.7
Port 0.63.7
2024-07-14 10:17:18 +07:00
Elian Doran 186650b1cf
ci: Add workflow to build macOS ARM64 2024-07-14 10:12:12 +07:00
Elian Doran 1dad4bc80f
Merge remote-tracking branch 'origin/develop' into feature/port_0.63.7 2024-07-14 09:58:37 +07:00
Elian Doran d66a70f099
Merge pull request #201 from TriliumNext/feature/fix_build_scripts
Fix build scripts & add CI for running them
2024-07-14 09:58:00 +07:00
Elian Doran 0792714e45
server: Fix regression in uploading images
The attachment is first saved with no content while the image is being
asynchronously resized. On our side we had a guard condition fail if the
content was empty, whereas the original implementation was simply using
an empty string instead.
2024-07-14 09:52:01 +07:00
Elian Doran 6ecbf1c528
Merge pull request #198 from TriliumNext/bugfix/note_import_type
Fix import note type
2024-07-14 00:51:04 +07:00
Elian Doran 5460359753
Merge pull request #196 from TriliumNext/feature/fix_docker_build
Fix Docker build
2024-07-14 00:43:33 +07:00
Elian Doran 75ebe24abb
ci: Remove temporary branch config 2024-07-14 00:43:04 +07:00
Elian Doran 3f5e5fd840
ci: Set up Wine 2024-07-14 00:30:49 +07:00
Elian Doran 998db5ce95
ci: Add build Windows 2024-07-14 00:14:30 +07:00
Elian Doran 7aed6d4ad4
ci: Add build Linux Server 2024-07-13 23:16:35 +07:00
Elian Doran 99ea741275
ci: Add build Linux 2024-07-13 22:52:28 +07:00
Elian Doran e6ff99198f
ci: Fix docker build after macOS integration 2024-07-13 22:10:57 +07:00
Elian Doran 7c43a49046
ci: Add workflow for building macOS x86_64 2024-07-13 21:39:22 +07:00
Elian Doran 5b30bae5b2
bin: Adapt copy-trilium to TypeScript changes 2024-07-13 21:11:03 +07:00
Elian Doran 947aaa6156
webpack: Switch to TypeScript-based config 2024-07-13 21:10:40 +07:00
Elian Doran 534fe87fb1
Merge pull request #200 from TriliumNext/feature/basic_ci
Basic CI pipeline
2024-07-13 20:21:23 +07:00
Elian Doran 1652a7a2ec
ci: Remove test branch 2024-07-13 20:04:00 +07:00
Elian Doran 7184c648ab
ci: Test Docker publishing 2024-07-13 19:39:56 +07:00
Elian Doran be239d2230
ci: Set up node environment & cache 2024-07-13 19:11:25 +07:00
Elian Doran 439bf410ac
ci: Use newer versions of actions 2024-07-13 19:05:39 +07:00
Elian Doran 5aadcb69f8
Merge branch 'feature/fix_docker_build' into feature/basic_ci 2024-07-13 19:02:57 +07:00
Elian Doran 543c29e539
server: Change build directory 2024-07-13 19:02:51 +07:00
Elian Doran 8bcff49198
ci: Install npm dependencies 2024-07-13 18:57:13 +07:00
Elian Doran c0cc1e3b52
ci: Run tsc & create server-package.json 2024-07-13 18:56:18 +07:00
Elian Doran 19550eec6a
ci: Set up Docker build in dev workflow 2024-07-13 18:51:46 +07:00
Elian Doran 45f2691053
ci: Disable original CI workflows 2024-07-13 18:47:53 +07:00
Elian Doran ba2931b854
Update package.json 2024-07-13 18:41:36 +07:00
Elian Doran d5c1bd1085
Merge remote-tracking branch 'upstream/master' into feature/port_0.63.7
; Conflicts:
;	package-lock.json
;	src/routes/api/files.ts
;	src/services/build.js
;	src/services/notes.ts
2024-07-13 18:36:04 +07:00
Elian Doran 606490a611
server: Remove log and fix whitespace 2024-07-13 16:56:13 +07:00
Elian Doran d99cc11d8b
server: Fix import of notes with type=file 2024-07-13 16:52:31 +07:00
Elian Doran 1b0690ddfc
server: Fix note type import
A regression caused by the port to TypeScript caused all note types to
be treated as a "text" instead of other types such as canvas. The MIME
type, however, was unaffected.
2024-07-13 16:43:33 +07:00
Elian Doran ef92d17272
Revert change to tsconfig.json 2024-07-13 14:02:19 +07:00
Elian Doran 7fd63e8064
docker: Remove unneeded build directory 2024-07-13 11:45:20 +07:00
Elian Doran d18bfb9d69
docker: Fix build by generating artifacts 2024-07-13 11:40:52 +07:00
Elian Doran 60d134a89b
Revert "docker: Fix webpack"
This reverts commit 0a7fcf399f.
2024-07-13 11:32:02 +07:00
Elian Doran 9b88228be9
docker: Cache system dependencies installation 2024-07-13 11:14:32 +07:00
Elian Doran 0a7fcf399f
docker: Fix webpack 2024-07-13 11:06:45 +07:00
Elian Doran 408369fcac
docker: Add build directory to gitignore 2024-07-13 10:54:37 +07:00
Elian Doran c435b97e10
docker: Fix "Missing script: "rebuild"" 2024-07-13 10:54:29 +07:00
Elian Doran e7c3dab56f
Merge pull request #194 from TriliumNext/feature/disable_format_on_save
Disable format on save temporarily
2024-07-13 09:48:04 +07:00
Elian Doran 374b1f9bb2
Disable format on save for VS Code 2024-07-13 00:27:53 +07:00
MeIchthys 5f23a4e3c7
Fix TrilumRocks Link 2024-07-03 01:15:31 +07:00
meichthys 4e93209fbd - Update chat link to link to Matrix space instead of single room
- Emphasize Awesome Trilium repo
- Remove Ukraine images
- Add note about links still referring to original repo
- Emojify all headings
- Add "Why TriliumNext" section
2024-07-03 01:14:39 +07:00
meichthys 1cff016923 Revert "Update README.md (#171)"
This reverts commit a80a857e46.
2024-07-03 00:29:41 +07:00
MeIchthys a80a857e46
Update README.md (#171)
* Emojify readme and remove original repo specific items (links, images, maintenance mode notice, etc)

* Update readme links to point to TriliumNext repo

* Add link to TriliumRocks
2024-07-02 08:08:44 +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
perfectra1n 47c5f60a85
Merge pull request #179 from TriliumNext/perfectra1n-patch-1
Add "unofficial" section, and add some fancier wording
2024-06-17 17:57:24 +07:00
perfectra1n ec2e6f2507
Update README.md 2024-06-15 22:30:35 +07:00
perfectra1n 8eb1e803b5
Add "unofficial" section, and add some fancier wording around "discuss with us" 2024-06-15 22:28:30 +07:00
Zerebos 2cdd2a0a54
Fix several accessibility issues 2024-06-10 02:17:50 +07:00
Alex 17fac31cd1 convert es6 tests to ts 2024-06-09 12:16:09 +07:00
Alex 615f15756b Merge branch 'develop' into feat/ts-unit-and-integration-tests 2024-06-09 11:36:52 +07:00
Alex d7f8cb4e38 remove rebuild 2024-06-09 11:35:48 +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
Elian Doran 44ad22ceea
Merge pull request #167 from TriliumNext/feat/chatroom-links
Include links to chatrooms in readme
2024-06-03 18:55:16 +07:00
alexpietsch 40dfc46250 add links to readme 2024-05-31 19:37:09 +07:00
Alex 9775a8b7c5
feat: Add prettier config (#165)
* add prettier config

* format some files

* Revert "format some files"

This reverts commit 2c5681ba88.
2024-05-31 12:04:42 +07:00
zadam 82a437f2a8 remove unnecessary debounce which caused missed changes 2024-05-30 06:55:45 +07:00
zadam a64a0e52ec Merge branch 'refs/heads/stable'
# Conflicts:
#	package-lock.json
2024-05-30 06:46:36 +07:00
zadam 88c4171031 lock file 2024-05-30 06:46:22 +07:00
zadam b6c7e2e48f error handling 2024-05-30 06:25:03 +07:00
zadam 305d28b5b3 remove warning about the relation map - trilium is sunsetting anyway, there's no point now in deprecating this feature, fixes #4779 2024-05-30 06:24:50 +07:00
zadam a88bf68eb6 verify that the uploaded modified file is temporary
(cherry picked from commit a2711cfb7b)
2024-05-30 06:10:30 +07:00
zadam 8ebebecd93
Merge pull request #4772 from gigamonster256/macos-arm64
Support compiling native MacOS arm64 (Apple Silicon) builds
2024-05-30 06:06:08 +07:00
Alex b88f81b718 feat: add temp formatter settings 2024-05-21 20:31:22 +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
Caleb Norton f0d30dbe49 Add macos arm64 to release script 2024-05-18 03:48:33 +07:00
Caleb Norton d142d3261d support compiling native arm64 macos builds 2024-05-18 03:34:24 +07:00
zadam 25b49e1ca2 release 0.63.6 2024-05-18 06:17:21 +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
zadam c7f19e04fa Merge remote-tracking branch 'origin/master' 2024-05-18 05:50:53 +07:00
zadam a2711cfb7b verify that the uploaded modified file is temporary 2024-05-18 05:50:46 +07:00
contributor 750d2fe3bb capture location.hash with save-selection (example.com/long-article#part10) 2024-05-10 14:10:41 +07:00
Alex fcb30f6319 feat: migrate jasmine tests to ts 2024-05-08 23:59:11 +07:00
Alex aa4960f1a5 Merge branch 'develop' into feat/ts-unit-and-integration-tests 2024-05-08 21:17:29 +07:00
Elian Doran ade6d08ded
Merge pull request #67 from TriliumNext/fix/EtapiError-prototype
fix: set prototype
2024-05-08 21:37:36 +07:00
Elian Doran 045f318612
Merge pull request #60 from TriliumNext/fix/start-electron
fix: start-electron script
2024-05-08 21:36:36 +07:00
Elian Doran 2d67abbc12
Merge branch 'zadam:master' into develop 2024-05-07 20:44:45 +07:00
Alex 5f539427a9 fix: set prototype 2024-05-05 12:40:00 +07:00
zadam f984b361ee
Merge pull request #4717 from MatMasIt/italian-translation
Italian translation of README
2024-05-05 05:13:26 +07:00
Alex e7f11d6687 enable jasmine test runs 2024-05-03 21:18:20 +07:00
Alex 3e82d30a32 fix: skipLibCheck 2024-05-01 11:32:08 +07:00
alexpietsch d2604e91d4 feat: add ts script for cross plattform use 2024-05-01 00:05:24 +07:00
Alex e2b4eaf9cc fix: copy only necessary modules 2024-04-29 23:37:08 +07:00
Alex 0a69ed91b6 fix: add postinstall step 2024-04-29 14:58:16 +07:00
Alex 8c0ce174b5 fix: script permissions 2024-04-29 14:54:39 +07:00
alexpietsch c8adf2a685 fix: restore start-electron script functionality 2024-04-29 00:36:27 +07:00
Elian Doran a68b75f069
Merge pull request #48 from TriliumNext/feature/typescript_backend_11
Convert backend to TypeScript (89% -> 92%, final)
2024-04-20 09:37:19 +07:00
Elian Doran 2771bd4ece
Merge pull request #47 from TriliumNext/feature/typescript_backend_10
Convert backend to TypeScript (84% -> 89%)
2024-04-20 09:36:08 +07:00
Elian Doran 19cf9df52c
Merge pull request #45 from TriliumNext/feature/typescript_backend_9
Convert backend to TypeScript (81% -> 84%)
2024-04-20 09:35:18 +07:00
Elian Doran 15168fb213
server-ts: Use unknown for validators 2024-04-18 21:26:29 +07:00
Elian Doran 0d700d6951
server-ts: Address review 2024-04-17 23:00:02 +07:00
Elian Doran 67cb02ed92
server-ts: Address some more review comments 2024-04-17 22:54:05 +07:00
Elian Doran 1d1ccc8d63
server-ts: Fix regression 2024-04-17 22:49:41 +07:00
Elian Doran 262e4db0f2
server-ts: Remove unnecessary type comments 2024-04-17 22:35:38 +07:00
Elian Doran c814187a25
server-ts: Address review 2024-04-17 22:24:27 +07:00
Elian Doran 138be84e45
server-ts: Address requested changes 2024-04-16 21:10:39 +07:00
Elian Doran 625d935f08
Merge pull request #44 from TriliumNext/feature/typescript_backend_8
Convert backend to TypeScript (80% -> 81%)
2024-04-16 21:01:20 +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
Elian Doran 98d12901a5
Merge pull request #43 from TriliumNext/feature/typescript_backend_7
Convert backend to TypeScript (71% -> 80%)
2024-04-15 21:51:00 +07:00
Elian Doran 1372cc1cb9
server-ts: Fix regression 2024-04-15 21:20:59 +07:00
Elian Doran a072016fc5
Merge pull request #42 from TriliumNext/feature/typescript_backend_6
Convert backend to TypeScript (67% -> 71%)
2024-04-15 21:12:55 +07:00
Elian Doran 97230ca82a
server-ts: Remove some esdoc types 2024-04-15 21:12:34 +07:00
Elian Doran 4c69384b5d
Merge pull request #41 from TriliumNext/feature/typescript_backend_5
Convert backend to TypeScript (64% -> 67%)
2024-04-15 21:09:37 +07:00
Elian Doran 6ac3c172b1
Merge pull request #28 from TriliumNext/feature/typescript_backend_4
Convert backend to TypeScript (50% -> 64%)
2024-04-15 21:00:38 +07:00
Elian Doran a66e4435ba
server-ts: Address requested changes 2024-04-13 17:30:48 +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
Elian Doran ae29699e65
server-ts: Port www 2024-04-11 23:14:37 +07:00
Elian Doran 9022bc338a
server-ts: Port app 2024-04-11 23:03:19 +07:00
Elian Doran dededcd303
server-ts: Port routes/routes 2024-04-11 23:00:24 +07:00
Elian Doran 4638351ec8
server-ts: Update progress script 2024-04-11 22:21:38 +07:00
Elian Doran 1ac65fff47
server-ts: Address requested changes 2024-04-11 19:49:01 +07:00
Elian Doran 17eda952e4
Merge branch 'feature/typescript_backend_5' into feature/typescript_backend_10 2024-04-10 19:29:00 +07:00
Elian Doran 8629993fe4
Merge branch 'feature/typescript_backend_5' into feature/typescript_backend_9 2024-04-10 19:28:36 +07:00
Elian Doran 8297e1a835
Merge branch 'feature/typescript_backend_5' into feature/typescript_backend_8 2024-04-10 19:28:10 +07:00
Elian Doran b517b18394
Merge branch 'feature/typescript_backend_5' into feature/typescript_backend_7 2024-04-10 19:27:31 +07:00
Elian Doran 32e34eec90
Merge branch 'feature/typescript_backend_5' into feature/typescript_backend_6 2024-04-10 19:26:30 +07:00
Elian Doran fb32ab9707
server-ts: Address requested changes 2024-04-10 19:26:08 +07:00
Elian Doran 8acfb5b558
Merge pull request #25 from TriliumNext/feature/typescript_backend_3
Convert backend to TypeScript (35% -> 50%)
2024-04-10 19:16:29 +07:00
Elian Doran a7ae16bb39
Merge pull request #18 from TriliumNext/feature/typescript_backend_2
Convert backend to TypeScript (19% -> 35%)
2024-04-10 19:16:06 +07:00
Elian Doran c08393f04b
server-ts: Port share/routes 2024-04-10 19:04:38 +07:00
Elian Doran 88aba1c844
server-ts: Port share/shaca/content_renderer 2024-04-09 22:58:24 +07:00
Elian Doran 7c76d28f75
server-ts: Port share/shaca/shaca_loader 2024-04-09 22:49:05 +07:00
Elian Doran b3c2602620
server-ts: Port share/shaca/shaca 2024-04-09 22:42:48 +07:00
Elian Doran 0865e90cae
server-ts: Port share/shaca/sbranch 2024-04-09 22:33:59 +07:00
Elian Doran e1d74cd2f5
server-ts: Port share/shaca/sattribute 2024-04-09 22:29:40 +07:00
Elian Doran c4c2259e69
server-ts: Port share/shaca/sattachment 2024-04-09 22:21:07 +07:00
Elian Doran 3e4b0d5f91
server-ts: Port share/shaca/snote 2024-04-09 22:13:01 +07:00
Elian Doran b07df6061f
server-ts: Port share/share_root 2024-04-09 21:51:23 +07:00
Elian Doran 80a1b8b44d
server-ts: Port share/sql 2024-04-09 21:50:47 +07:00
Elian Doran 45e3632c6e
server-ts: Port share/shaca/abstract_shaca_entity 2024-04-09 21:48:15 +07:00
Elian Doran 39e152b0b9
Merge branch 'feature/typescript_backend_6' into feature/typescript_backend_10 2024-04-09 21:46:24 +07:00
Elian Doran 2a99ecc384
Merge branch 'feature/typescript_backend_6' into feature/typescript_backend_9 2024-04-09 21:45:40 +07:00
Elian Doran 22477f90ae
Merge branch 'feature/typescript_backend_6' into feature/typescript_backend_8 2024-04-09 21:45:04 +07:00
Elian Doran d8c2ba0ed8
Merge branch 'feature/typescript_backend_6' into feature/typescript_backend_7 2024-04-09 21:44:26 +07:00
Elian Doran 74441273a8
server-ts: Fix getAttribute permitting null 2024-04-09 21:43:42 +07:00
Elian Doran ed79c1c62a
server-ts: Convert etapi/special_notes 2024-04-07 18:21:18 +07:00
Elian Doran 9b9b452055
server-ts: Convert etapi/spec 2024-04-07 18:18:26 +07:00
Elian Doran 5fdf094e9d
server-ts: Convert etapi/notes 2024-04-07 16:56:45 +07:00
Elian Doran e4024408bd
server-ts: Convert etapi/bbranches 2024-04-07 15:21:42 +07:00
Elian Doran 602b4988ae
server-ts: Convert etapi/backup 2024-04-07 15:18:35 +07:00
Elian Doran 071f9400d7
server-ts: Convert etapi/auth 2024-04-07 15:17:45 +07:00
Elian Doran 1e2a30adcc
server-ts: Convert etapi/attributes 2024-04-07 15:15:50 +07:00
Elian Doran a6de065bf4
server-ts: Convert etapi/attachments 2024-04-07 15:13:34 +07:00
Elian Doran 3bd7231ba9
server-ts: Convert etapi/validators 2024-04-07 14:59:40 +07:00
Elian Doran 4bb46aeb9c
server-ts: Convert etapi/mappers 2024-04-07 14:56:22 +07:00
Elian Doran 26859e83e4
server-ts: Convert etapi/app_info 2024-04-07 14:54:42 +07:00
Elian Doran 569bdf19be
server-ts: Convert etapi/etapi_utils 2024-04-07 14:54:01 +07:00
Elian Doran b8eb301f34
server-ts: Add types for multer 2024-04-07 14:38:51 +07:00
Elian Doran 10c21d3403
server-ts: Convert routes/index 2024-04-07 14:36:47 +07:00
Elian Doran a18b054dbb
server-ts: Convert routes/setup 2024-04-07 14:33:41 +07:00
Elian Doran 2e906af77d
server-ts: Convert routes/session_parser 2024-04-07 14:32:08 +07:00
Elian Doran 34cd2eba91
server-ts: Remove use of (req as any) 2024-04-07 14:29:08 +07:00
Elian Doran 7fe6d1ab4d
server-ts: Convert routes/login 2024-04-07 14:22:01 +07:00
Elian Doran c2eefad287
server-ts: Convert routes/error_handlers 2024-04-07 14:13:57 +07:00
Elian Doran 202fda3c30
server-ts: Convert routes/electron 2024-04-07 14:09:37 +07:00
Elian Doran 4940207b15
server-ts: Convert routes/custom 2024-04-07 14:05:50 +07:00
Elian Doran 79c9d7e305
server-ts: Convert routes/assets 2024-04-07 14:02:52 +07:00
Elian Doran 6e042c20e9
server-ts: Convert routes/api/tree 2024-04-06 23:34:47 +07:00
Elian Doran 7a98718e64
server-ts: Convert routes/api/sync 2024-04-06 23:28:51 +07:00
Elian Doran 6bbb1f8404
server-ts: Convert routes/api/stats 2024-04-06 23:15:00 +07:00
Elian Doran cecfc4cd34
server-ts: Convert routes/api/sql 2024-04-06 23:12:22 +07:00
Elian Doran c1875a8c8f
server-ts: Convert routes/api/special_notes 2024-04-06 23:11:02 +07:00
Elian Doran 249e81c9eb
server-ts: Convert routes/api/similar_notes 2024-04-06 23:09:32 +07:00
Elian Doran 5804dc52bc
server-ts: Convert routes/api/setup 2024-04-06 23:08:41 +07:00
Elian Doran 90cf913083
server-ts: Convert routes/api/sender 2024-04-06 23:01:08 +07:00
Elian Doran fa82158e30
server-ts: Convert routes/api/search 2024-04-06 22:48:20 +07:00
Elian Doran de42df40bb
server-ts: Convert routes/api/script 2024-04-06 22:38:17 +07:00
Elian Doran 6265aa99d3
server-ts: Convert routes/api/revisions 2024-04-06 22:32:03 +07:00
Elian Doran 4ab6f159e5
server-ts: Fix "Missing or incorrect type for target branch ID"
When attempting to add a new note from the relation map
2024-04-06 22:17:47 +07:00
Elian Doran b50ceaf299
server-ts: Convert routes/api/relation-map 2024-04-06 22:13:47 +07:00
Elian Doran 96c8c9080d
server-ts: Convert routes/api/recent_notes 2024-04-06 22:07:58 +07:00
Elian Doran 66d7548046
server-ts: Convert routes/api/recent_changes 2024-04-06 22:07:03 +07:00
Elian Doran 4b1c351195
server-ts: Convert routes/api/password 2024-04-06 22:00:03 +07:00
Elian Doran eb7a7e4988
server-ts: Convert routes/api/other 2024-04-06 21:58:32 +07:00
Elian Doran 3d75366f02
server-ts: Convert routes/api/options 2024-04-06 21:57:26 +07:00
Elian Doran c63c7d518c
server-ts: Convert routes/api/notes 2024-04-06 21:55:27 +07:00
Elian Doran 37697c7db7
server-ts: Convert routes/api/note_map 2024-04-06 21:45:58 +07:00
Elian Doran b1744c3867
server-ts: Convert routes/api/login 2024-04-06 21:34:34 +07:00
Elian Doran b0d6035a67
server-ts: Convert routes/api/keys 2024-04-06 21:31:09 +07:00
Elian Doran 3902719008
server-ts: Convert routes/api/import 2024-04-06 21:30:27 +07:00
Elian Doran 291b791b67
server-ts: Convert routes/api/image 2024-04-06 21:21:22 +07:00
Elian Doran b552f40ae8
server-ts: Convert routes/api/fonts 2024-04-05 22:24:21 +07:00
Elian Doran 0ab137de03
server-ts: Convert routes/api/files 2024-04-05 22:22:18 +07:00
Elian Doran 952c3cc12f
server-ts: Convert routes/api/export 2024-04-05 20:58:31 +07:00
Elian Doran e451237361
server-ts: Convert routes/api/etapi_tokens 2024-04-05 20:56:23 +07:00
Elian Doran 27637b0483
server-ts: Convert routes/api/consistency_checks 2024-04-05 20:55:21 +07:00
Elian Doran 122ff3bb1d
server-ts: Convert routes/api/cloning 2024-04-05 20:47:07 +07:00
Elian Doran f98f84d419
server-ts: Convert routes/api/bnote 2024-04-05 20:45:57 +07:00
Elian Doran 40ef533c5f
server-ts: Convert routes/api/bulk_action 2024-04-05 20:36:10 +07:00
Elian Doran fd77c5e8c4
server-ts: Convert routes/api/branches 2024-04-05 20:33:04 +07:00
Elian Doran 706b9d0f46
server-ts: Convert routes/api/backend_log 2024-04-05 20:28:19 +07:00
Elian Doran 82f5553980
server-ts: Convert routes/api/autocomplete 2024-04-05 20:26:45 +07:00
Elian Doran c0349b3f84
server-ts: Convert routes/api/attributes 2024-04-05 20:22:10 +07:00
Elian Doran 9330241045
server-ts: Convert routes/api/attachments 2024-04-05 20:16:46 +07:00
Elian Doran b13ad5d01e
server-ts: Convert routes/api/app_info 2024-04-05 20:12:54 +07:00
Elian Doran ea36b37f66
server-ts: Convert services/scheduler 2024-04-04 23:08:32 +07:00
Elian Doran 92ca32bd70
server-ts: Convert services/handlers 2024-04-04 23:04:54 +07:00
Elian Doran 59c533cb6c
server-ts: Convert services/script 2024-04-04 22:47:58 +07:00
Elian Doran 884b6618fb
server-ts: Convert services/script_context 2024-04-04 22:29:12 +07:00
Elian Doran 15dee4b952
server-ts: Convert services/backend_script_api 2024-04-04 22:04:30 +07:00
Elian Doran a154dc76ce
server-ts: Port services/options 2024-04-03 23:28:26 +07:00
Elian Doran 532ed1d3f9
server-ts: Port services/setup 2024-04-03 23:18:39 +07:00
Elian Doran 984ce49168
server-ts: Port services/special_notes 2024-04-03 23:05:06 +07:00
Elian Doran 16283d4054
server-ts: Port services/spaced_update 2024-04-03 22:53:41 +07:00
Elian Doran 915de23e34
server-ts: Port services/anonymize 2024-04-03 22:51:07 +07:00
Elian Doran 53d4873c1f
server-ts: Port services/import/zip 2024-04-03 22:46:14 +07:00
Elian Doran 764d251b0a
server-ts: Port services/import/enex 2024-04-03 21:29:26 +07:00
Elian Doran aa233b8adb
server-ts: Port consistency_checks 2024-04-03 20:48:54 +07:00
Elian Doran ed47c23e23
Merge branch 'feature/typescript_backend_3' into feature/typescript_backend_4 2024-04-03 20:21:55 +07:00
Elian Doran 5baabecdee
Merge branch 'feature/typescript_backend_2' into feature/typescript_backend_3 2024-04-03 20:21:13 +07:00
Elian Doran 17c7e2d8e7
server-ts: Address further suggestions 2024-04-03 20:04:20 +07:00
Elian Doran 5d452a1525
server-ts: Address review 2024-04-03 19:22:49 +07:00
Elian Doran f857b8a9bb
server-ts: Refactor out abstract init in entities 2024-04-03 19:05:10 +07:00
Elian Doran a354b54a08
server-ts: Fix getContent in updateNoteData 2024-04-03 18:53:56 +07:00
Elian Doran e96b56e061
server-ts: Fix build errors 2024-04-03 00:02:51 +07:00
Elian Doran 0daa4cc89a
Merge branch 'feature/typescript_backend_3' into feature/typescript_backend_4 2024-04-02 23:57:01 +07:00
Elian Doran 99d50957dd
server-ts: Address self-review 2024-04-02 23:55:02 +07:00
Elian Doran d4c8d24d50
server-ts: Address some review comments 2024-04-02 23:39:45 +07:00
Elian Doran a420129631
server-ts: Fix build errors after merge 2024-04-02 23:34:12 +07:00
Elian Doran 090d353fd0
Merge branch 'feature/typescript_backend_2' into feature/typescript_backend_3 2024-04-02 23:26:16 +07:00
Elian Doran b84b27692c
server-ts: Fix some issues from self-review 2024-04-02 23:22:45 +07:00
Elian Doran adc384a971
Merge pull request #13 from TriliumNext/feature/typescript_backend
Convert backend to TypeScript (0% -> 19%)
2024-04-02 22:30:39 +07:00
Elian Doran 08f0c01eef
server-ts: Solve build errors after merge 2024-03-30 11:09:45 +07:00
Elian Doran db2b33704f
Merge branch 'feature/typescript_backend' into feature/typescript_backend_2 2024-03-30 10:54:06 +07:00
Elian Doran 3eb7ed5dda
server-ts: Address requested changes 2024-03-30 10:49:40 +07:00
Elian Doran 5e5add7e47
Merge remote-tracking branch 'origin/develop' into feature/typescript_backend 2024-03-30 09:23:00 +07:00
Mattia Mascarello ac1e1ebe43 Forgot to translate a heading 2024-03-28 20:51:28 +07:00
Mattia Mascarello 499bfaea9b Added italian to other READMEs language section 2024-03-28 20:42:53 +07:00
Mattia Mascarello fa4772b91e proofreading 2024-03-28 20:38:20 +07:00
Mattia Mascarello fa7b190c6b Translated readme in italian 2024-03-28 19:23:01 +07:00
zadam 84feec2e7e Merge branch 'stable'
# Conflicts:
#	package-lock.json
2024-03-28 07:26:17 +07:00
zadam 3035473751 release 0.63.5 2024-03-28 07:11:39 +07:00
zadam 399458b52f package lock 2024-03-28 07:08:31 +07:00
zadam becac5fbad fix rendering of math on non-root paths, closes #4713 2024-03-28 07:08:15 +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
Elian Doran 926b3e9650
Merge remote-tracking branch 'origin/develop' into feature/typescript_backend 2024-03-17 21:44:06 +07:00
Elian Doran cbad58201e
server-ts: Solve requested changes 2024-03-17 21:40:14 +07:00
Elian Doran 040ed39a4e
server-ts: Fix undefined in task_context 2024-03-17 21:37:40 +07:00
Elian Doran 9f6a8dc75c
server-ts: Fix undefined in ws 2024-03-17 21:34:50 +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
zadam bfb8aa6481 remove eslint 2024-03-06 07:17:51 +07:00
zadam 2bb4cccd82 fix excalidraw 0.17 integration 2024-03-06 07:13:30 +07:00
zadam 6fad5f2b51 Merge branch 'master' into excali-17-2 2024-03-06 06:53:19 +07:00
zadam 36357bdf86 update mermaid 2024-03-06 06:52:41 +07:00
zadam 80eaf10656 remove husky 2024-03-06 06:51:25 +07:00
zadam f46ce0417d more prettier removals 2024-03-06 06:48:25 +07:00
zadam 6f1e6402f0 package upgrades + removal of prettier 2024-03-06 06:47:30 +07:00
Elian Doran 8c5f680dca
server-ts: Fix build errors 2024-02-25 15:06:43 +07:00
Elian Doran 7f0102181d
server-ts: Port services/import/single 2024-02-25 14:52:20 +07:00
Elian Doran 59d618f06b
server-ts: Port services/import/markdown 2024-02-25 08:12:07 +07:00
Elian Doran cc1a545e13
server-ts: Port services/import/opml 2024-02-25 08:07:17 +07:00
Elian Doran fd37fd3a45
server-ts: Port services/import/mime 2024-02-25 07:57:17 +07:00
Elian Doran 052a0a44f2
server-ts: Port services/import/utils 2024-02-25 07:54:51 +07:00
Elian Doran fa0ed35752 server-ts: Port services/image 2024-02-20 23:29:03 +07:00
Elian Doran 29d37c40c1 server-ts: Port services/export/zip 2024-02-19 23:08:43 +07:00
Elian Doran 1728365fa1 server-ts: Port services/export/single 2024-02-19 22:12:00 +07:00
Elian Doran cfeb0cc6f7 server-ts: Port services/export/opml 2024-02-19 22:07:21 +07:00
Elian Doran ec4bd6659a server-ts: Port services/export/md 2024-02-19 21:59:40 +07:00
Elian Doran 0903cf2646
Merge branch 'feature/typescript_backend_2' into feature/typescript_backend_3 2024-02-18 20:43:27 +07:00
Elian Doran cbc01e1a8d
server-ts: FIXME -> TODO 2024-02-18 20:41:30 +07:00
Elian Doran 11c7533984
Merge branch 'feature/typescript_backend' into feature/typescript_backend_2 2024-02-18 20:39:18 +07:00
Elian Doran aff1c30557
server-ts: FIXME -> TODO 2024-02-18 20:29:23 +07:00
Elian Doran 3d9da26bb3
server-ts: Address review comments 2024-02-18 18:11:56 +07:00
Elian Doran 91ddabbb9b
server-ts: Remove redundant file 2024-02-18 13:44:41 +07:00
Elian Doran 3030fbe60b
server-ts: Port services/notes 2024-02-18 13:42:05 +07:00
Elian Doran 5f4f30f84b
server-ts: Port services/options_init 2024-02-18 13:32:00 +07:00
Elian Doran 45cb7ced2c
server-ts: Port services/host 2024-02-18 13:26:28 +07:00
Elian Doran dbccf6b433
server-ts: Port services/one_time_timer 2024-02-18 13:25:18 +07:00
Elian Doran 6df09cb157
server-ts: Port services/bulk_actions 2024-02-18 13:23:37 +07:00
Elian Doran 6cedad07e5
server-ts: Port services/cloning 2024-02-18 13:16:54 +07:00
Elian Doran e4556afcc9
server-ts: Port services/session_secret 2024-02-18 13:13:16 +07:00
Elian Doran d89b791914
server-ts: Port services/sync 2024-02-18 13:10:51 +07:00
Elian Doran 43c89c0e9d
server-ts: Port services/content_hash 2024-02-18 12:50:58 +07:00
Elian Doran 0ba80b176c
server-ts: Port services/sync_update 2024-02-18 12:40:30 +07:00
Elian Doran 3ea4b7a72b
server-ts: Port services/tray 2024-02-18 12:28:32 +07:00
Elian Doran 330334dcb4
server-ts: Port services/window 2024-02-18 12:19:09 +07:00
Elian Doran ddcbb29a67
server-ts: Update script to display remaining filelist 2024-02-18 11:50:22 +07:00
Elian Doran 9ea4fcd667
server-ts: Port services/branches 2024-02-18 11:48:38 +07:00
Elian Doran 0d4fb42731
server-ts: Port services/tree 2024-02-18 11:47:32 +07:00
Elian Doran d8d729342d
server-ts: Port services/attributes 2024-02-18 11:26:05 +07:00
Elian Doran 2fbd2e3c29
server-ts: Port services/search/services/search 2024-02-18 11:16:30 +07:00
Elian Doran 15169289f0
server-ts: Port services/search/services/parse 2024-02-18 02:27:04 +07:00
Elian Doran 29b3fb3646
server-ts: Port services/search/expressions/property_comparison 2024-02-18 01:50:16 +07:00
Elian Doran 533a597a5c
server-ts: Port services/search/services/lex 2024-02-18 01:46:32 +07:00
Elian Doran deed58c2fc
server-ts: Port services/search/services/handle_parens 2024-02-18 01:38:51 +07:00
Elian Doran 8acb64198c
server-ts: Port services/search/services/build_comparator 2024-02-18 01:38:42 +07:00
Elian Doran f5b690d088
server-ts: Port services/search/expressions/relation_where 2024-02-18 01:19:50 +07:00
Elian Doran 0f7f0ceedc
server-ts: Port services/search/expressions/parent_of 2024-02-18 01:18:20 +07:00
Elian Doran 87708aa9c3
server-ts: Port services/search/expressions/order_by_and_limit 2024-02-18 01:17:02 +07:00
Elian Doran c63d05b582
server-ts: Port services/search/expressions/or 2024-02-18 01:06:42 +07:00
Elian Doran 460982d290
server-ts: Port services/search/expressions/note_flat_text 2024-02-18 01:05:34 +07:00
Elian Doran 414964e791
server-ts: Port services/search/expressions/note_content_fulltext 2024-02-18 01:01:17 +07:00
Elian Doran 3df6acda32
server-ts: Port services/search/expressions/not 2024-02-18 00:51:18 +07:00
Elian Doran 571c9f544c
server-ts: Port services/search/expressions/label_comparison 2024-02-18 00:50:14 +07:00
Elian Doran acb31b621f
server-ts: Port services/search/expressions/is_hidden 2024-02-18 00:48:37 +07:00
Elian Doran 35886c3b00
server-ts: Port services/search/expressions/descendant_of 2024-02-18 00:47:25 +07:00
Elian Doran ccc51e0123
server-ts: Port services/search/expressions/child_of 2024-02-18 00:46:25 +07:00
Elian Doran 0df488667e
server-ts: Port services/search/expressions/attribute_exists 2024-02-18 00:45:21 +07:00
Elian Doran 7018cc77a3
server-ts: Port services/search/expressions/and 2024-02-18 00:43:55 +07:00
Elian Doran 8d2eddd14d
server-ts: Port services/search/expressions/true 2024-02-18 00:42:17 +07:00
Elian Doran 414515bc87
server-ts: Port services/search/expressions/ancestor 2024-02-18 00:40:15 +07:00
Elian Doran ce60fc0c3a
server-ts: Port services/search/expressions/expression 2024-02-18 00:36:37 +07:00
Elian Doran 216f3f2c07
server-ts: Port services/search/value_extractor 2024-02-18 00:34:36 +07:00
Elian Doran 80e6ced5db
server-ts: Port services/search/search_result 2024-02-18 00:30:16 +07:00
Elian Doran fbf77f3382
server-ts: Port services/search/search_context 2024-02-18 00:28:05 +07:00
Elian Doran 1010d11827
server-ts: Port services/hoisted_note 2024-02-18 00:22:46 +07:00
Elian Doran 5d683721b1
server-ts: Change data type 2024-02-17 23:32:32 +07:00
Elian Doran de7f4de05b
server-ts: Port services/notes & hidden_subtree 2024-02-17 23:02:19 +07:00
Elian Doran 669988953d
server-ts: Port services/request 2024-02-17 21:58:35 +07:00
Elian Doran dc22d05657
server-ts: Port services/html_sanitizer 2024-02-17 21:33:47 +07:00
Elian Doran 00c692cf28
server-ts: Port services/note_types 2024-02-17 21:29:28 +07:00
Elian Doran 77fb7bc6e8
server-ts: Port services/erase 2024-02-17 21:13:04 +07:00
Elian Doran f31d788e2e
server-ts: Port services/auth 2024-02-17 21:08:56 +07:00
Elian Doran 45582ebaac
server-ts: Port services/meta/* 2024-02-17 21:01:31 +07:00
Elian Doran 748a551def
server-ts: Port similarity 2024-02-17 20:55:36 +07:00
Elian Doran d35613f510
server-ts: Port becca_loader 2024-02-17 20:45:31 +07:00
Elian Doran 3d5ef81860
server-ts: Simplify deferred promise in sql_init 2024-02-17 20:33:18 +07:00
Elian Doran 9f99b4282a
server-ts: Port becca/becca_service 2024-02-17 20:30:21 +07:00
Elian Doran 3b7812f829
server-ts: Port becca/entity_constructor 2024-02-17 20:28:05 +07:00
Elian Doran 1c7532df46
server-ts: Port sync_options 2024-02-17 20:24:32 +07:00
Elian Doran a029ee268a
server-ts: Fix export 2024-02-17 20:06:54 +07:00
Elian Doran 1b58dbe401
server-ts: Port etapi_tokens service 2024-02-17 19:55:40 +07:00
Elian Doran 56ca0ea5d0
server-ts: Port migration, port, sql_init services 2024-02-17 19:51:22 +07:00
Elian Doran 246a90d73c
server-ts: Port revisions service 2024-02-17 19:44:46 +07:00
Elian Doran a58abffe58
server-ts: Port migration service 2024-02-17 19:42:30 +07:00
Elian Doran 8936a3fa3b
server-ts: Port backup service 2024-02-17 19:33:29 +07:00
Elian Doran 6b8ee084e6
server-ts: Port keyboard_actions 2024-02-17 19:29:15 +07:00
Elian Doran 5916a8b5b8
server-ts: Fix build errors 2024-02-17 19:20:32 +07:00
Elian Doran a183f21078
server-ts: Convert attribute_formatter 2024-02-17 19:15:50 +07:00
Elian Doran 9826fed905
server-ts: Port app* services 2024-02-17 19:09:36 +07:00
Elian Doran a06aa9df8a
server-ts: Port anonymization service 2024-02-17 19:02:14 +07:00
Elian Doran 1e91db865b
server-ts: Implement review comments 2024-02-17 18:55:41 +07:00
Elian Doran 8af5434462
server-ts: Add script to check progress 2024-02-17 13:32:43 +07:00
Elian Doran 6f0659c03c
server-ts: Bring back nodemon 2024-02-17 13:32:43 +07:00
Elian Doran b8ccf5ba8f
server-ts: Fix error with sanitize_attribute_name 2024-02-17 13:32:43 +07:00
Elian Doran 45a6c9558f
server-ts: Fix references to js files for converted files 2024-02-17 13:32:43 +07:00
Elian Doran 4df599fec2
server-ts: Fix some build errors 2024-02-17 13:32:43 +07:00
Elian Doran 030aec2f3e
server-ts: Fix more references to js files for converted files 2024-02-17 13:32:43 +07:00
Elian Doran 8b250e4a13
server-ts: Fix references to js files for converted files 2024-02-17 13:32:43 +07:00
Elian Doran 2f96dc2d9d
server-ts: Fix most type errors in becca 2024-02-17 13:32:43 +07:00
Elian Doran 26388ad3b6
server-ts: Fix errors in becca-interface 2024-02-17 13:32:43 +07:00
Elian Doran 2c0063a5cc
server-ts: Remove .js extensions in src/becca 2024-02-17 13:32:43 +07:00
Elian Doran 3a20bef1a9
server-ts: Fix more errors in becca entities 2024-02-17 13:32:42 +07:00
Elian Doran 9aec3390dd
server-ts: Fix most errors in bnote 2024-02-17 13:32:42 +07:00
Elian Doran f9ba8ca87d
server-ts: Fix errors in abstract_becca_entity 2024-02-17 13:32:42 +07:00
Elian Doran f51f070b2f
server-ts: Port bbranch (with some build errors) 2024-02-17 13:32:42 +07:00
Elian Doran cf18e61a33
server-ts: Port ws service & dependencies 2024-02-17 13:32:42 +07:00
Elian Doran 4b1d2c6bad
server-ts: Port options service 2024-02-17 13:32:42 +07:00
Elian Doran 06287da9d8
server-ts: Port battribute 2024-02-17 13:32:42 +07:00
Elian Doran eef8297ce1
server-ts: Port bblob 2024-02-17 13:32:42 +07:00
Elian Doran 2f15d79476
server-ts: Port betapi_token 2024-02-17 13:32:42 +07:00
Elian Doran 768aaf2d78
server-ts: Port boption 2024-02-17 13:32:42 +07:00
Elian Doran 6dd2cd39aa
server-ts: Convert a few classes in becca 2024-02-17 13:32:42 +07:00
Elian Doran e04bd5aaf0
server-ts: Convert more classes, including entity_changes.js 2024-02-17 13:32:42 +07:00
Elian Doran cb14d4d8f9
server-ts: Convert blob.js 2024-02-17 13:32:42 +07:00
Elian Doran 85af0a24ee
server-ts: Convert becca.js 2024-02-17 13:32:42 +07:00
Elian Doran 3a7d0d1f13
server-ts: Add some type fixes to sql.ts 2024-02-17 13:32:42 +07:00
Elian Doran 5309d4ad5c
server-ts: instance_id.js -> ts 2024-02-17 13:32:42 +07:00
Elian Doran 786d851293
server-ts: events.js -> ts 2024-02-17 13:32:41 +07:00
Elian Doran b63e870038
server-ts: protected_session.js -> ts 2024-02-17 13:32:41 +07:00
Elian Doran c20d2273e6
server-ts: services/encryption/*.js -> ts 2024-02-17 13:32:41 +07:00
Elian Doran dc359b2a74
server-ts: resource_dir.js -> ts 2024-02-17 13:32:41 +07:00
Elian Doran d3c9e7e157
server-ts: errors/*.js -> .ts 2024-02-17 13:32:41 +07:00
Elian Doran 82a9808dea
server-ts: sql.js -> sql.ts 2024-02-17 13:32:41 +07:00
Elian Doran e2a727ec8a
server-ts: date_utils.js -> date_utils.ts 2024-02-17 13:32:41 +07:00
Elian Doran 7a9365457a
server-ts: utils.js -> utils.ts 2024-02-17 13:32:41 +07:00
Elian Doran 28735fa16a
server-ts: Fix build errors 2024-02-17 13:32:41 +07:00
Elian Doran ff2e05fe83
server-ts: Fix references to cls.js 2024-02-17 13:32:41 +07:00
Elian Doran 96b6d17d77
server-ts: Remove need for 'allowImportingTsExtensions' 2024-02-17 13:32:40 +07:00
Elian Doran 78f631373b
server-ts: cls.js -> cls.ts 2024-02-17 13:32:40 +07:00
Elian Doran 981221d599
server-ts: data_dir.js -> data_dir.ts 2024-02-17 13:32:40 +07:00
Elian Doran bda11fad40
server-ts: Fix errors in log.ts 2024-02-17 13:32:40 +07:00
Elian Doran 39627a4fc4
server-ts: log.js -> log.ts 2024-02-17 13:32:40 +07:00
Elian Doran 094895ec72
server-ts: Enable ts-node instead of nodemon 2024-02-17 13:32:40 +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
zadam 8199073342 excali 17 2023-12-27 22:48:46 +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
Elian Doran 4c1bc10d0f Publish installer artifact 2023-11-09 21:00:53 +07:00
Elian Doran fe82b1d2d6 Start writing GitHub Actions workflow 2023-11-09 20:51:03 +07:00
Elian Doran a5c150baba Remove unused electron-forge config 2023-11-09 20:04:30 +07:00
Elian Doran e9282976d5 Fix application icon 2023-11-08 23:53:08 +07:00
Elian Doran 7cace222c0 Fix installer if webpack not run 2023-11-08 23:17:13 +07:00
Elian Doran df79f3d9c9 Add a custom setup banner 2023-11-08 23:08:38 +07:00
Elian Doran ddfa0d0749 Set up application icon 2023-11-08 22:40:38 +07:00
Elian Doran c0c5e30898 Add icon to setup 2023-11-08 22:10:22 +07:00
Elian Doran b1e0492e05 Prevent (re)start on install & uninstall 2023-11-08 21:56:02 +07:00
Elian Doran 2faee49bd9 Use package.json instead for consistency 2023-11-08 21:40:58 +07:00
Elian Doran 380b967407 Configure author & description for maker-squirrel 2023-11-08 21:40:04 +07:00
Elian Doran 145a09edd1 Set up Electron Forge
This should allow us to package Trilium for multiple platforms,
including generating a Windows installer which is our current target.
2023-11-08 21:28:04 +07:00
Elian Doran b07628abda Remove electron-builder dependency
The `electron-builder` dependency was introduced a while ago in #289,
but finally removed bcbbf4dc3e so there
should be no reason to keep it around.
2023-11-08 21:21:01 +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
4001 changed files with 295349 additions and 386133 deletions

@ -1,7 +0,0 @@
.git
.idea
/bin
/dist
/docs
/npm-debug.log
node_modules

@ -0,0 +1,26 @@
root = true
[*.{js,ts}]
charset = utf-8
end_of_line = lf
indent_size = 4
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
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.yml]
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

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

@ -1,7 +0,0 @@
node_modules
dist
bin
docs
libraries
coverage
play

@ -1,212 +0,0 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
node: true,
},
// plugins: ['prettier'], // to be activated
extends: ['eslint:recommended', 'airbnb-base', 'plugin:jsonc/recommended-with-jsonc', 'prettier'],
overrides: [
{
files: ['*.json', '*.json5', '*.jsonc'],
parser: 'jsonc-eslint-parser',
},
{
files: ['package.json'],
parser: 'jsonc-eslint-parser',
rules: {
'jsonc/sort-keys': [
'off',
{
pathPattern: '^$',
order: [
'name',
'version',
'private',
'packageManager',
'description',
'type',
'keywords',
'homepage',
'bugs',
'license',
'author',
'contributors',
'funding',
'files',
'main',
'module',
'exports',
'unpkg',
'jsdelivr',
'browser',
'bin',
'man',
'directories',
'repository',
'publishConfig',
'scripts',
'peerDependencies',
'peerDependenciesMeta',
'optionalDependencies',
'dependencies',
'devDependencies',
'engines',
'config',
'overrides',
'pnpm',
'husky',
'lint-staged',
'eslintConfig',
],
},
{
pathPattern: '^(?:dev|peer|optional|bundled)?[Dd]ependencies$',
order: { type: 'asc' },
},
],
},
},
],
globals: {
$: true,
jQuery: true,
glob: true,
log: true,
EditorWatchdog: true,
React: true,
appState: true,
ExcalidrawLib: true,
elements: true,
files: true,
ReactDOM: true,
// src\public\app\widgets\type_widgets\relation_map.js
jsPlumb: true,
panzoom: true,
logError: true,
// src\public\app\widgets\type_widgets\image.js
WZoom: true,
// \src\public\app\widgets\type_widgets\read_only_text.js
renderMathInElement: true,
// \src\public\app\widgets\type_widgets\editable_text.js
BalloonEditor: true,
FancytreeNode: true,
CKEditorInspector: true,
// \src\public\app\widgets\type_widgets\editable_code.js
CodeMirror: true,
// \src\public\app\services\resizer.js
Split: true,
// \src\public\app\services\content_renderer.js
mermaid: true,
// src\public\app\services\frontend_script_api.js
dayjs: true,
// \src\public\app\widgets\note_map.js
ForceGraph: true,
// \src\public\app\setup.js
ko: true,
syncInProgress: true,
// src\public\app\services\utils.js
logInfo: true,
__non_webpack_require__: true,
describe: true,
it: true,
expect: true
},
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
// eslint:recommended
'no-unused-vars': 'off',
'linebreak-style': 'off',
'no-useless-escape': 'off',
'no-empty': 'off',
'no-constant-condition': 'off',
'getter-return': 'off',
'no-cond-assign': 'off',
'no-async-promise-executor': 'off',
'no-extra-semi': 'off',
'no-inner-declarations': 'off',
// prettier
'prettier/prettier': ['off', { endOfLine: 'auto' }],
// airbnb-base
'no-console': 'off',
'no-plusplus': 'off',
'no-param-reassign': 'off',
'global-require': 'off',
'no-use-before-define': 'off',
'no-await-in-loop': 'off',
radix: 'off',
'import/order': 'off',
'import/no-extraneous-dependencies': 'off',
'prefer-destructuring': 'off',
'no-shadow': 'off',
'no-new': 'off',
'no-restricted-syntax': 'off',
strict: 'off',
'class-methods-use-this': 'off',
'no-else-return': 'off',
'import/no-dynamic-require': 'off',
'no-underscore-dangle': 'off',
'prefer-template': 'off',
'consistent-return': 'off',
'no-continue': 'off',
'object-shorthand': 'off',
'one-var': 'off',
'prefer-const': 'off',
'spaced-comment': 'off',
'no-loop-func': 'off',
'arrow-body-style': 'off',
'guard-for-in': 'off',
'no-return-assign': 'off',
'dot-notation': 'off',
'func-names': 'off',
'import/no-useless-path-segments': 'off',
'default-param-last': 'off',
'prefer-arrow-callback': 'off',
'no-unneeded-ternary': 'off',
'no-return-await': 'off',
'import/extensions': 'off',
'no-var': 'off',
'import/newline-after-import': 'off',
'no-restricted-globals': 'off',
'operator-assignment': 'off',
'no-eval': 'off',
'max-classes-per-file': 'off',
'vars-on-top': 'off',
'no-bitwise': 'off',
'no-lonely-if': 'off',
'no-multi-assign': 'off',
'no-promise-executor-return': 'off',
'no-empty-function': 'off',
'import/no-unresolved': 'off',
camelcase: 'off',
eqeqeq: 'off',
'lines-between-class-members': 'off',
'import/no-cycle': 'off',
'new-cap': 'off',
'prefer-object-spread': 'off',
'no-new-func': 'off',
'no-unused-expressions': 'off',
'lines-around-directive': 'off',
'prefer-exponentiation-operator': 'off',
'no-restricted-properties': 'off',
'prefer-rest-params': 'off',
'no-unreachable-loop': 'off',
'no-alert': 'off',
'no-useless-return': 'off',
'no-nested-ternary': 'off',
'prefer-regex-literals': 'off',
'import/no-named-as-default-member': 'off',
yoda: 'off',
'no-script-url': 'off',
'no-prototype-builtins':'off'
},
};

21
.gitattributes vendored

@ -0,0 +1,21 @@
# Mark files as auto-generated to simplify reviews.
package-lock.json linguist-generated=true
**/package-lock.json linguist-generated=true
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"]

@ -1,13 +1,18 @@
name: Bug Report
description: Report a bug
title: "(Bug report) "
labels: "Type: Bug"
type: "Bug"
body:
- type: textarea
attributes:
label: Description
description: A clear and concise description of the bug and any additional information.
validations:
required: true
- type: input
attributes:
label: Trilium Version
description: What version of Trilium are you using?
placeholder: 0.57.0-beta
label: TriliumNext Version
description: What version of TriliumNext are you using?
placeholder: 0.90.0-beta
validations:
required: true
- type: dropdown
@ -24,7 +29,7 @@ body:
- type: dropdown
attributes:
label: What is your setup?
description: https://github.com/zadam/trilium/wiki#choose-the-setup
description: https://triliumnext.github.io/Docs/Wiki/quick-start.html
options:
- Local (no sync)
- Local + server sync
@ -38,15 +43,9 @@ body:
placeholder: "e.g. Windows 10 version 1909, macOS Catalina 10.15.7, or Ubuntu 20.04"
validations:
required: true
- type: textarea
attributes:
label: Description
description: A clear and concise description of the bug and any additional information.
validations:
required: true
- type: textarea
attributes:
label: Error logs
description: Please provide error logs, see [wiki page](https://github.com/zadam/trilium/wiki/Error-logs) for instructions on how to submit them.
description: Please provide error logs, see [wiki page](https://triliumnext.github.io/Docs/Wiki/error-logs.html) for instructions on how to submit them.
validations:
required: false

@ -1,12 +1,11 @@
name: Feature Request
description: Ask for a new feature to be added
title: "(Feature request) "
labels: "Type: Enhancement"
type: "Feature"
body:
- type: textarea
attributes:
label: Describe feature
description: A clear and concise description of what you want to be added..
description: A clear and concise description of what you want to be added.
validations:
required: true
- type: textarea

@ -0,0 +1,10 @@
name: Task
description: Create a new Task
type: "Task"
body:
- type: textarea
attributes:
label: Describe Task
description: A clear and concise description of what the task is about.
validations:
required: true

@ -0,0 +1,164 @@
name: "Build Electron App"
description: "Builds and packages the Electron app for different platforms"
inputs:
os:
description: "One of the supported platforms: macos, linux, windows"
required: true
arch:
description: "The architecture to build for: x64, arm64"
required: true
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@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
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

@ -0,0 +1,33 @@
inputs:
os:
description: "One of the supported platforms: windows"
required: true
arch:
description: "The architecture to build for: x64, arm64"
required: true
runs:
using: composite
steps:
- 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 }}

@ -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

@ -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}}"

@ -0,0 +1,150 @@
name: Dev
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
GHCR_REGISTRY: ghcr.io
DOCKERHUB_REGISTRY: docker.io
IMAGE_NAME: ${{ github.repository_owner }}/notes
TEST_TAG: ${{ github.repository_owner }}/notes:test
permissions:
pull-requests: write # for PR comments
jobs:
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: 22
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4
- name: Check affected
run: pnpm nx affected --verbose -t typecheck build rebuild-deps test-build
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: 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: apps/server
cache-from: type=gha
cache-to: type=gha,mode=max
test_docker:
name: Check Docker build
runs-on: ubuntu-latest
needs:
- build_docker
- check-affected
strategy:
matrix:
include:
- dockerfile: Dockerfile.alpine
- dockerfile: Dockerfile
steps:
- 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
run: echo "TEST_TAG=${TEST_TAG,,}" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: apps/server
file: apps/server/${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Validate container run output
run: |
CONTAINER_ID=$(docker run -d --log-driver=journald --rm --name trilium_local ${{ env.TEST_TAG }})
echo "Container ID: $CONTAINER_ID"
- name: Wait for the healthchecks to pass
uses: stringbean/docker-healthcheck-action@v3
with:
container: trilium_local
wait-time: 50
require-status: running
require-healthy: true
# 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

@ -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 }}

@ -0,0 +1,307 @@
on:
push:
branches:
- "develop"
- "feature/update**"
- "feature/server_esm**"
paths-ignore:
- "docs/**"
- "bin/**"
tags:
- "v*"
workflow_dispatch:
env:
GHCR_REGISTRY: ghcr.io
DOCKERHUB_REGISTRY: docker.io
IMAGE_NAME: ${{ github.repository_owner }}/notes
TEST_TAG: ${{ github.repository_owner }}/notes:test
permissions:
contents: read
packages: write
jobs:
test_docker:
name: Check Docker build
runs-on: ubuntu-latest
strategy:
matrix:
include:
- dockerfile: Dockerfile.alpine
- dockerfile: Dockerfile
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
- name: Set TEST_TAG to lowercase
run: echo "TEST_TAG=${TEST_TAG,,}" >> $GITHUB_ENV
- 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: 22
cache: "pnpm"
- name: Install npm dependencies
run: pnpm install --frozen-lockfile
- name: Install Playwright Browsers
run: pnpm exec playwright install --with-deps
- name: Run the TypeScript build
run: pnpm run server:build
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: apps/server
file: apps/server/${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Validate container run output
run: |
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
uses: stringbean/docker-healthcheck-action@v3
with:
container: trilium_local
wait-time: 50
require-status: running
require-healthy: true
- name: Run Playwright tests
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:
name: Playwright report (${{ matrix.dockerfile }})
path: playwright-report/
retention-days: 30
# 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
build:
name: Build Docker images
strategy:
fail-fast: false
matrix:
include:
- dockerfile: Dockerfile.alpine
platform: linux/amd64
image: ubuntu-latest
- dockerfile: Dockerfile
platform: linux/arm64
image: ubuntu-24.04-arm
- 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
permissions:
contents: read
packages: write
attestations: write
id-token: write
steps:
- name: Prepare
run: |
platform=${{ matrix.platform }}
echo "PLATFORM_PAIR=${platform//\//-}" >> $GITHUB_ENV
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
- 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
with:
images: |
${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch
type=ref,event=tag
type=sha
flavor: |
latest=false
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.GHCR_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKERHUB_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push by digest
id: build
uses: docker/build-push-action@v6
with:
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
- name: Export digest
run: |
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests-${{ env.PLATFORM_PAIR }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
merge:
name: Merge manifest lists
runs-on: ubuntu-latest
needs:
- build
steps:
- name: Download digests
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digests-*
merge-multiple: true
- name: Set IMAGE_NAME to lowercase
run: echo "IMAGE_NAME=${IMAGE_NAME,,}" >> $GITHUB_ENV
- name: Set TEST_TAG to lowercase
run: echo "TEST_TAG=${TEST_TAG,,}" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: |
${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}
${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}
flavor: |
latest=false
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.GHCR_REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ${{ env.DOCKERHUB_REGISTRY }}
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create manifest list and push
working-directory: /tmp/digests
run: |
# Extract the branch or tag name from the ref
REF_NAME=$(echo "${GITHUB_REF}" | sed 's/refs\/heads\///' | sed 's/refs\/tags\///')
# Create and push the manifest list with both the branch/tag name and the commit SHA
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
-t ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${REF_NAME} \
$(printf '${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
-t ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${REF_NAME} \
$(printf '${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
# If the ref is a tag, also tag the image as stable as this is part of a 'release'
# and only go in the `if` if there is NOT a `-` in the tag's name, due to tagging of `-alpha`, `-beta`, etc...
if [[ "${GITHUB_REF}" == refs/tags/* && ! "${REF_NAME}" =~ - ]]; then
# First create stable tags
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
-t ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:stable \
$(printf '${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
-t ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:stable \
$(printf '${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}@sha256:%s ' *)
# Small delay to ensure stable tag is fully propagated
sleep 5
# Now update latest tags
docker buildx imagetools create \
-t ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:stable
docker buildx imagetools create \
-t ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:latest \
${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:stable
fi
- name: Inspect image
run: |
docker buildx imagetools inspect ${{ env.GHCR_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}
docker buildx imagetools inspect ${{ env.DOCKERHUB_REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }}

@ -0,0 +1,129 @@
name: Nightly Release
on:
# This can be used to automatically publish nightlies at UTC nighttime
schedule:
- 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
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
os:
- name: macos
image: macos-latest
shell: bash
forge_platform: darwin
- name: linux
image: ubuntu-22.04
shell: bash
forge_platform: linux
- name: windows
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: 22
cache: 'pnpm'
- name: Install dependencies
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
uses: ./.github/actions/build-electron
with:
os: ${{ matrix.os.name }}
arch: ${{ matrix.arch }}
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 }}
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 }}
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
- name: Publish release
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: 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:
fail-fast: false
matrix:
arch: [x64, arm64]
include:
- arch: x64
runs-on: ubuntu-22.04
- 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:
os: linux
arch: ${{ matrix.arch }}
- name: Publish release
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/*.*
tag_name: nightly
name: Nightly Build

@ -0,0 +1,43 @@
name: playwright
on:
push:
branches:
- master
pull_request:
permissions:
actions: read
contents: read
jobs:
main:
runs-on: ubuntu-latest
steps:
- 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 }}

@ -0,0 +1,126 @@
name: Release
on:
push:
tags:
- "v*"
permissions:
contents: write
discussions: write
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
shell: bash
forge_platform: darwin
- name: linux
image: ubuntu-latest
shell: bash
forge_platform: linux
- name: windows
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: 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 }}
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 }}
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 }}
WINDOWS_SIGN_EXECUTABLE: ${{ vars.WINDOWS_SIGN_EXECUTABLE }}
- name: Upload the artifact
uses: actions/upload-artifact@v4
with:
name: release-desktop-${{ matrix.os.name }}-${{ matrix.arch }}
path: apps/desktop/upload/*.*
build_server:
name: Build Linux Server
strategy:
fail-fast: false
matrix:
arch: [x64, arm64]
include:
- arch: x64
runs-on: ubuntu-22.04
- 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:
os: linux
arch: ${{ matrix.arch }}
- 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: 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 }}

61
.gitignore vendored

@ -1,16 +1,49 @@
.DS_Store
node_modules/
dist/
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
*.db
config.ini
cert.key
cert.crt
server-package.json
.idea/httpRequests/
data/
data-test/
tmp/
.eslintcache
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 18.18.2 && nvm use 18.18.2
init: npm install
command: npm run start-server
ports:
- port: 8080
onOpen: open-preview

1
.husky/.gitignore vendored

@ -1 +0,0 @@
_

@ -1,4 +0,0 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#npx lint-staged

@ -6,8 +6,10 @@
<option name="TAB_SIZE" value="2" />
</value>
</option>
<JSCodeStyleSettings version="0">
<option name="USE_EXPLICIT_JS_EXTENSION" value="TRUE" />
</JSCodeStyleSettings>
<codeStyleSettings language="JSON">
<indentOptions>
<option name="INDENT_SIZE" value="4" />
</indentOptions>
</codeStyleSettings>
</code_scheme>
</component>

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="EslintConfiguration">
<option name="fix-on-save" value="true" />
</component>
</project>

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

@ -0,0 +1 @@
save-prefix = ''

@ -0,0 +1 @@
22.16.0

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

@ -1,13 +0,0 @@
//https://prettier.io/docs/en/options.html
module.exports = {
semi: true,
trailingComma: 'none',
singleQuote: true,
printWidth: 100,
tabWidth: 4,
useTabs: false,
quoteProps: "as-needed",
bracketSpacing: true,
arrowParens: "avoid"
// htmlWhitespaceSensitivity: 'ignore',
};

@ -1,6 +1,16 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"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"
]
}

@ -0,0 +1,33 @@
# An array of strings which contain Language Ids defined by VS Code
# You can check available language ids here: https://code.visualstudio.com/docs/languages/identifiers
languageIds:
- javascript
- typescript
- html
# An array of RegExes to find the key usage. **The key should be captured in the first match group**.
# You should unescape RegEx strings in order to fit in the YAML file
# To help with this, you can use https://www.freeformatter.com/json-escape.html
usageMatchRegex:
# The following example shows how to detect `t("your.i18n.keys")`
# the `{key}` will be placed by a proper keypath matching regex,
# you can ignore it and use your own matching rules as well
- "[^\\w\\d]t\\(['\"`]({key})['\"`]"
# A RegEx to set a custom scope range. This scope will be used as a prefix when detecting keys
# and works like how the i18next framework identifies the namespace scope from the
# useTranslation() hook.
# You should unescape RegEx strings in order to fit in the YAML file
# To help with this, you can use https://www.freeformatter.com/json-escape.html
scopeRangeRegex: "useTranslation\\(\\s*\\[?\\s*['\"`](.*?)['\"`]"
# An array of strings containing refactor templates.
# The "$1" will be replaced by the keypath specified.
refactorTemplates:
- t("$1")
- ${t("$1")}
- <%= t("$1") %>
# If set to true, only enables this custom framework (will disable all built-in frameworks)
monopoly: true

@ -1,24 +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,33 +1,32 @@
{
"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": "dbaeumer.vscode-eslint"
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.formatOnSave": true,
"eslint.format.enable": true,
"eslint.probe": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"json",
"jsonc"
],
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"json",
"jsonc"
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"github-actions.workflows.pinned.workflows": [
".github/workflows/nightly.yml"
],
"files.eol": "\n",
"typescript.validate.enable": true,
"typescript.tsserver.experimental.enableProjectDiagnostics": true,
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}

@ -0,0 +1,24 @@
{
// Place your Notes workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"JQuery HTMLElement field": {
"scope": "typescript",
"prefix": "jqf",
"body": ["private $${1:name}!: JQuery<HTMLElement>;"]
}
}

@ -1,42 +0,0 @@
# !!! Don't try to build this Dockerfile directly, run it through bin/build-docker.sh script !!!
FROM node:18.18.2-alpine
# Create app directory
WORKDIR /usr/src/app
# Bundle app source
COPY . .
COPY server-package.json package.json
# Install app dependencies
RUN set -x \
&& apk add --no-cache --virtual .build-dependencies \
autoconf \
automake \
g++ \
gcc \
libtool \
make \
nasm \
libpng-dev \
python3 \
&& npm install \
&& apk del .build-dependencies \
&& npm run webpack \
&& npm prune --omit=dev \
&& cp src/public/app/share.js src/public/app-dist/. \
&& cp -r src/public/app/doc_notes src/public/app-dist/. \
&& rm -rf src/public/app
# Some setup tools need to be kept
RUN apk add --no-cache su-exec shadow
# Add application user and setup proper volume permissions
RUN adduser -s /bin/false node; exit 0
# Start the application
EXPOSE 8080
CMD [ "./start-docker.sh" ]
HEALTHCHECK --start-period=10s CMD exec su-exec node node docker_healthcheck.js

@ -1,82 +0,0 @@
# Trilium Notes
[English](https://github.com/zadam/trilium/blob/master/README.md) | [Chinese](https://github.com/zadam/trilium/blob/master/README-ZH_CN.md) | [Russian](https://github.com/zadam/trilium/blob/master/README.ru.md) | [Japanese](https://github.com/zadam/trilium/blob/master/README.ja.md)
[![Join the chat at https://gitter.im/trilium-notes/Lobby](https://badges.gitter.im/trilium-notes/Lobby.svg)](https://gitter.im/trilium-notes/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Trilium Notes 是一个层次化的笔记应用程序,专注于建立大型个人知识库。请参阅[屏幕截图](https://github.com/zadam/trilium/wiki/Screenshot-tour)以快速了解:
![](https://raw.githubusercontent.com/wiki/zadam/trilium/images/screenshot.png)
Ukraine is currently suffering from Russian aggression, please consider donating to [one of these charities](https://old.reddit.com/r/ukraine/comments/s6g5un/want_to_support_ukraine_heres_a_list_of_charities/).
<img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" alt="drawing" width="600"/>
<img src="https://signmyrocket.com//uploads/2b2a523cd0c0e76cdbba95a89a9636b2_1676971281.jpg" alt="Trilium Notes supports Ukraine!" width="600"/>
## 特性
* 笔记可以排列成任意深的树。单个笔记可以放在树中的多个位置(请参阅[克隆](https://github.com/zadam/trilium/wiki/Cloning-notes)
* 丰富的所见即所得笔记编辑功能,包括带有 Markdown [自动格式化功能的](https://github.com/zadam/trilium/wiki/Text-notes#autoformat)表格,图像和[数学](https://github.com/zadam/trilium/wiki/Text-notes#math-support)
* 支持编辑[使用源代码的笔记](https://github.com/zadam/trilium/wiki/Code-notes),包括语法高亮显示
* 笔记之间快速[导航](https://github.com/zadam/trilium/wiki/Note-navigation),全文搜索和[笔记聚焦](https://github.com/zadam/trilium/wiki/Note-hoisting)
* 无缝[笔记版本控制](https://github.com/zadam/trilium/wiki/Note-revisions)
* 笔记[属性](https://github.com/zadam/trilium/wiki/Attributes)可用于笔记组织,查询和高级[脚本编写](https://github.com/zadam/trilium/wiki/Scripts)
* [同步](https://github.com/zadam/trilium/wiki/Synchronization)与自托管同步服务器
* 有一个[第三方提供的同步服务器托管服务](https://trilium.cc/paid-hosting)
* 公开地[分享](https://github.com/zadam/trilium/wiki/Sharing)(发布)笔记到互联网
* 具有按笔记粒度的强大的[笔记加密](https://github.com/zadam/trilium/wiki/Protected-notes)
* 使用自带的 Excalidraw 来绘制图表(笔记类型“画布”)
* [关系图](https://github.com/zadam/trilium/wiki/Relation-map)和[链接图](https://github.com/zadam/trilium/wiki/Link-map),用于可视化笔记及其关系
* [脚本](https://github.com/zadam/trilium/wiki/Scripts) - 请参阅[高级功能展示](https://github.com/zadam/trilium/wiki/Advanced-showcases)
* 在拥有超过 10 万条笔记时仍能保持良好的可用性和性能
* 针对智能手机和平板电脑进行优化的[用于移动设备的前端](https://github.com/zadam/trilium/wiki/Mobile-frontend)
* [夜间主题](https://github.com/zadam/trilium/wiki/Themes)
* [Evernote](https://github.com/zadam/trilium/wiki/Evernote-import) 和 [Markdown 导入导出](https://github.com/zadam/trilium/wiki/Markdown)功能
* 使用[网页剪藏](https://github.com/zadam/trilium/wiki/Web-clipper)轻松保存互联网上的内容
## 构建
Trilium 可以用作桌面应用程序Linux 和 Windows或服务器Linux上托管的 Web 应用程序。虽然有 macOS 版本的桌面应用程序,但它[不受支持](https://github.com/zadam/trilium/wiki/FAQ#mac-os-support)。
* 如果要在桌面上使用 Trilium请从[最新版本](https://github.com/zadam/trilium/releases/latest)下载适用于您平台的二进制版本,解压缩该软件包并运行`trilium`可执行文件。
* 如果要在服务器上安装 Trilium请参考[此页面](https://github.com/zadam/trilium/wiki/Server-installation)。
* 当前仅支持(测试过)最近发布的 Chrome 和 Firefox 浏览器。
Trilium 也提供 Flatpak
[<img width="240" src="https://flathub.org/assets/badges/flathub-badge-en.png">](https://flathub.org/apps/details/com.github.zadam.trilium)
## 文档
[有关文档页面的完整列表,请参见 Wiki。](https://github.com/zadam/trilium/wiki/)
* [Wiki 的中文翻译版本](https://github.com/baddate/trilium/wiki/)
您还可以阅读[个人知识库模式](https://github.com/zadam/trilium/wiki/Patterns-of-personal-knowledge-base),以获取有关如何使用 Trilium 的灵感。
## 贡献
使用基于浏览器的开发环境
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/zadam/trilium)
或者克隆本仓库到本地,并运行
```
npm install
npm run start-server
```
## 致谢
* [CKEditor 5](https://github.com/ckeditor/ckeditor5) - 市面上最好的所见即所得编辑器,拥有互动性强且聆听能力强的团队
* [FancyTree](https://github.com/mar10/fancytree) - 一个非常丰富的关于树的库强大到没有对手。没有它Trilium Notes 将不会如此。
* [CodeMirror](https://github.com/codemirror/CodeMirror) - 支持大量语言的代码编辑器
* [jsPlumb](https://github.com/jsplumb/jsplumb) - 强大的可视化连接库。用于[关系图](https://github.com/zadam/trilium/wiki/Relation-map)和[链接图](https://github.com/zadam/trilium/wiki/Link-map)
## 捐赠
你可以通过 GitHub Sponsors[PayPal](https://paypal.me/za4am) 或者比特币 (bitcoin:bc1qv3svjn40v89mnkre5vyvs2xw6y8phaltl385d2) 来捐赠。
## 许可证
本程序是自由软件:你可以再发布本软件和/或修改本软件,只要你遵循 Free Software Foundation 发布的 GNU Affero General Public License 的第三版或者任何(由你选择)更晚的版本。

@ -1,83 +0,0 @@
# Trilium Notes
[English](https://github.com/zadam/trilium/blob/master/README.md) | [Chinese](https://github.com/zadam/trilium/blob/master/README-ZH_CN.md) | [Russian](https://github.com/zadam/trilium/blob/master/README.ru.md) | [Japanese](https://github.com/zadam/trilium/blob/master/README.ja.md)
Trilium Notes は、大規模な個人知識ベースの構築に焦点を当てた、階層型ノートアプリケーションです。概要は[スクリーンショット](https://github.com/zadam/trilium/wiki/Screenshot-tour)をご覧ください:
<a href="https://github.com/zadam/trilium/wiki/Screenshot-tour"><img src="https://raw.githubusercontent.com/wiki/zadam/trilium/images/screenshot.png" alt="Trilium Screenshot" width="1000"></a>
ウクライナは現在、ロシアの侵略から自国を守っています。[ウクライナ軍や人道的な慈善団体への寄付](https://standforukraine.com/)をご検討ください。
<p float="left">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" alt="drawing" width="400"/>
<img src="https://signmyrocket.com//uploads/2b2a523cd0c0e76cdbba95a89a9636b2_1676971281.jpg" alt="Trilium Notes supports Ukraine!" width="570"/>
</p>
## 🎁 特徴
* ノートは、任意の深さのツリーに配置できます。単一のノートをツリー内の複数の場所に配置できます ([cloning](https://github.com/zadam/trilium/wiki/Cloning-notes) を参照)
* マークダウン[オートフォーマット](https://github.com/zadam/trilium/wiki/Text-notes#autoformat)による、表、画像、[数学](https://github.com/zadam/trilium/wiki/Text-notes#math-support)などの豊富な WYSIWYG ノート編集機能
* シンタックスハイライトを含む[ソースコード付きノート](https://github.com/zadam/trilium/wiki/Code-notes)の編集をサポート
* [ノート間のナビゲーション](https://github.com/zadam/trilium/wiki/Note-navigation)、全文検索、[ノートホイスト](https://github.com/zadam/trilium/wiki/Note-hoisting)が高速かつ簡単に行えます
* シームレスな[ノートのバージョン管理](https://github.com/zadam/trilium/wiki/Note-revisions)
* ノート[属性](https://github.com/zadam/trilium/wiki/Attributes)は、ノート整理、クエリ、高度な[スクリプト](https://github.com/zadam/trilium/wiki/Scripts)に使用できます
* 自己ホスト型同期サーバーとの[同期](https://github.com/zadam/trilium/wiki/Synchronization)
* [同期サーバーをホストするサードパーティ・サービス](https://trilium.cc/paid-hosting)があります
* 公開インターネットへのノートの[共有](https://github.com/zadam/trilium/wiki/Sharing)(公開)
* ノートごとの粒度を持つ強力な[ノート暗号化](https://github.com/zadam/trilium/wiki/Protected-notes)
* 組み込みの Excalidraw を使用した図のスケッチ (ノート タイプ"キャンバス")
* ノートとその関係を可視化するための[関係図](https://github.com/zadam/trilium/wiki/Relation-map)と[リンクマップ](https://github.com/zadam/trilium/wiki/Link-map)
* [スクリプティング](https://github.com/zadam/trilium/wiki/Scripts) - [高度なショーケース](https://github.com/zadam/trilium/wiki/Advanced-showcases)を参照
* 自動化のための [REST API](https://github.com/zadam/trilium/wiki/ETAPI)
* ユーザビリティとパフォーマンスの両方で 100 000 ノート以上に拡張可能
* スマートフォンとタブレット向けのタッチ最適化[モバイルフロントエンド](https://github.com/zadam/trilium/wiki/Mobile-frontend)
* [ナイトテーマ](https://github.com/zadam/trilium/wiki/Themes)
* [Evernote](https://github.com/zadam/trilium/wiki/Evernote-import) と [Markdown のインポートとエクスポート](https://github.com/zadam/trilium/wiki/Markdown)
* Web コンテンツを簡単に保存するための [Web クリッパー](https://github.com/zadam/trilium/wiki/Web-clipper)
サードパーティのテーマ、スクリプト、プラグインなどは、 [awesome-trilium](https://github.com/Nriver/awesome-trilium) をチェックしてください。
## 🏗 ビルド
Trilium は、デスクトップアプリケーションLinux、Windowsまたはサーバー上でホストされるウェブアプリケーションLinuxとして提供されます。 Mac OS のデスクトップビルドも利用可能ですが、 [unsupported](https://github.com/zadam/trilium/wiki/FAQ#mac-os-support) となっています。
* デスクトップで Trilium を使用したい場合は、 [latest release](https://github.com/zadam/trilium/releases/latest) からお使いのプラットフォームのバイナリリリースをダウンロードし、パッケージを解凍して ``trilium`` の実行ファイルを実行してください。
* サーバーに Trilium をインストールする場合は、[このページ](https://github.com/zadam/trilium/wiki/Server-installation)に従ってください。
* 現在、対応(動作確認)しているブラウザは、最近の Chrome と Firefox のみです。
Trilium は Flatpak としても提供されます:
[<img width="240" src="https://flathub.org/assets/badges/flathub-badge-en.png">](https://flathub.org/apps/details/com.github.zadam.trilium)
## 📝 ドキュメント
[ドキュメントページの全リストはwikiをご覧ください。](https://github.com/zadam/trilium/wiki/)
また、[個人的な知識基盤のパターン](https://github.com/zadam/trilium/wiki/Patterns-of-personal-knowledge-base)を読むと、 Trilium の使い方のヒントを得ることができます。
## 💻 コントリビュート
ブラウザベースの開発環境を使用
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/zadam/trilium)
または、ローカルにクローンして実行
```
npm install
npm run start-server
```
## 📢 シャウトアウト
* [CKEditor 5](https://github.com/ckeditor/ckeditor5) - 市場で最高の WYSIWYG エディター、非常にインタラクティブで聞き上手なチーム
* [FancyTree](https://github.com/mar10/fancytree) - 真の競争相手がいない、非常に機能豊富なツリーライブラリです。 Trilium Notes は、これなしでは成り立たないでしょう。
* [CodeMirror](https://github.com/codemirror/CodeMirror) - 膨大な数の言語をサポートするコードエディタ
* [jsPlumb](https://github.com/jsplumb/jsplumb) - 競合のないビジュアルコネクティビティライブラリです。[関係図](https://github.com/zadam/trilium/wiki/Relation-map)、[リンク図](https://github.com/zadam/trilium/wiki/Link-map)で使用。
## 🤝 サポート
GitHub スポンサー、[PayPal](https://paypal.me/za4am)もしくは Bitcoin (bitcoin:bc1qv3svjn40v89mnkre5vyvs2xw6y8phaltl385d2) にて Trilium をサポートすることができます。
## 🔑 ライセンス
このプログラムはフリーソフトウェアです:フリーソフトウェア財団が発行した GNU Affero General Public License のバージョン3、またはそれ以降のバージョンのいずれかに従って、再配布および/または改変することができます。

@ -1,89 +1,2 @@
# Trilium Notes
## Trilium is in maintenance mode - see details in https://github.com/zadam/trilium/issues/4620
Preliminary disccusions on the successor organization are taking place in [Trilium Next discussions](https://github.com/orgs/TriliumNext/discussions).
[![Join the chat at https://gitter.im/trilium-notes/Lobby](https://badges.gitter.im/trilium-notes/Lobby.svg)](https://gitter.im/trilium-notes/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [English](https://github.com/zadam/trilium/blob/master/README.md) | [Chinese](https://github.com/zadam/trilium/blob/master/README-ZH_CN.md) | [Russian](https://github.com/zadam/trilium/blob/master/README.ru.md) | [Japanese](https://github.com/zadam/trilium/blob/master/README.ja.md)
Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases.
See [screenshots](https://github.com/zadam/trilium/wiki/Screenshot-tour) for quick overview:
<a href="https://github.com/zadam/trilium/wiki/Screenshot-tour"><img src="https://raw.githubusercontent.com/wiki/zadam/trilium/images/screenshot.png" alt="Trilium Screenshot" width="1000"></a>
Ukraine is currently defending itself from Russian aggression, please consider [donating to Ukrainian Army or humanitarian charities](https://standforukraine.com/).
<p float="left">
<img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" alt="drawing" width="400"/>
<img src="https://signmyrocket.com//uploads/2b2a523cd0c0e76cdbba95a89a9636b2_1676971281.jpg" alt="Trilium Notes supports Ukraine!" width="570"/>
</p>
## 🎁 Features
* Notes can be arranged into arbitrarily deep tree. Single note can be placed into multiple places in the tree (see [cloning](https://github.com/zadam/trilium/wiki/Cloning-notes))
* Rich WYSIWYG note editing including e.g. tables, images and [math](https://github.com/zadam/trilium/wiki/Text-notes#math-support) with markdown [autoformat](https://github.com/zadam/trilium/wiki/Text-notes#autoformat)
* Support for editing [notes with source code](https://github.com/zadam/trilium/wiki/Code-notes), including syntax highlighting
* Fast and easy [navigation between notes](https://github.com/zadam/trilium/wiki/Note-navigation), full text search and [note hoisting](https://github.com/zadam/trilium/wiki/Note-hoisting)
* Seamless [note versioning](https://github.com/zadam/trilium/wiki/Note-revisions)
* Note [attributes](https://github.com/zadam/trilium/wiki/Attributes) can be used for note organization, querying and advanced [scripting](https://github.com/zadam/trilium/wiki/Scripts)
* [Synchronization](https://github.com/zadam/trilium/wiki/Synchronization) with self-hosted sync server
* there's a [3rd party service for hosting synchronisation server](https://trilium.cc/paid-hosting)
* [Sharing](https://github.com/zadam/trilium/wiki/Sharing) (publishing) notes to public internet
* Strong [note encryption](https://github.com/zadam/trilium/wiki/Protected-notes) with per-note granularity
* Sketching diagrams with built-in Excalidraw (note type "canvas")
* [Relation maps](https://github.com/zadam/trilium/wiki/Relation-map) and [link maps](https://github.com/zadam/trilium/wiki/Link-map) for visualizing notes and their relations
* [Scripting](https://github.com/zadam/trilium/wiki/Scripts) - see [Advanced showcases](https://github.com/zadam/trilium/wiki/Advanced-showcases)
* [REST API](https://github.com/zadam/trilium/wiki/ETAPI) for automation
* Scales well in both usability and performance upwards of 100 000 notes
* Touch optimized [mobile frontend](https://github.com/zadam/trilium/wiki/Mobile-frontend) for smartphones and tablets
* [Night theme](https://github.com/zadam/trilium/wiki/Themes)
* [Evernote](https://github.com/zadam/trilium/wiki/Evernote-import) and [Markdown import & export](https://github.com/zadam/trilium/wiki/Markdown)
* [Web Clipper](https://github.com/zadam/trilium/wiki/Web-clipper) for easy saving of web content
Check out [awesome-trilium](https://github.com/Nriver/awesome-trilium) for 3rd party themes, scripts, plugins and more.
## 🏗 Builds
Trilium is provided as either desktop application (Linux and Windows) or web application hosted on your server (Linux). Mac OS desktop build is available, but it is [unsupported](https://github.com/zadam/trilium/wiki/FAQ#mac-os-support).
* If you want to use Trilium on the desktop, download binary release for your platform from [latest release](https://github.com/zadam/trilium/releases/latest), unzip the package and run ```trilium``` executable.
* If you want to install Trilium on server, follow [this page](https://github.com/zadam/trilium/wiki/Server-installation).
* Currently only recent Chrome and Firefox are supported (tested) browsers.
Trilium is also provided as a Flatpak:
[<img width="240" src="https://flathub.org/assets/badges/flathub-badge-en.png">](https://flathub.org/apps/details/com.github.zadam.trilium)
## 📝 Documentation
[See wiki for complete list of documentation pages.](https://github.com/zadam/trilium/wiki/)
You can also read [Patterns of personal knowledge base](https://github.com/zadam/trilium/wiki/Patterns-of-personal-knowledge-base) to get some inspiration on how you might use Trilium.
## 💻 Contribute
Use a browser based dev environment
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/zadam/trilium)
Or clone locally and run
```
npm install
npm run start-server
```
## 📢 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. Trilium 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://github.com/zadam/trilium/wiki/Relation-map) and [link maps](https://github.com/zadam/trilium/wiki/Link-map)
## 🤝 Support
You can support Trilium using GitHub Sponsors, [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,68 +0,0 @@
# Trilium Notes
[English](https://github.com/zadam/trilium/blob/master/README.md) | [Chinese](https://github.com/zadam/trilium/blob/master/README-ZH_CN.md) | [Russian](https://github.com/zadam/trilium/blob/master/README.ru.md) | [Japanese](https://github.com/zadam/trilium/blob/master/README.ja.md)
[![Join the chat at https://gitter.im/trilium-notes/Lobby](https://badges.gitter.im/trilium-notes/Lobby.svg)](https://gitter.im/trilium-notes/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Trilium Notes это приложение для заметок с иерархической структурой, ориентированное на создание больших персональных баз знаний. Для быстрого ознакомления посмотрите [скриншот-тур](https://github.com/zadam/trilium/wiki/Screenshot-tour):
![](https://raw.githubusercontent.com/wiki/zadam/trilium/images/screenshot.png)
Ukraine is currently suffering from Russian aggression, please consider donating to [one of these charities](https://old.reddit.com/r/ukraine/comments/s6g5un/want_to_support_ukraine_heres_a_list_of_charities/).
<img src="https://upload.wikimedia.org/wikipedia/commons/4/49/Flag_of_Ukraine.svg" alt="drawing" width="600"/>
<img src="https://signmyrocket.com//uploads/2b2a523cd0c0e76cdbba95a89a9636b2_1676971281.jpg" alt="Trilium Notes supports Ukraine!" width="600"/>
## Возможности
* Заметки можно расположить в виде дерева произвольной глубины. Отдельную заметку можно разместить в нескольких местах дерева (см. [клонирование](https://github.com/zadam/trilium/wiki/Cloning-notes))
* Продвинутый визуальный редактор (WYSIWYG) позволяет работать с таблицами, изображениями, [формулами](https://github.com/zadam/trilium/wiki/Text-notes#math-support) и разметкой markdown, имеет [автоформатирование](https://github.com/zadam/trilium/wiki/Text-notes#autoformat)
* Редактирование [заметок с исходным кодом](https://github.com/zadam/trilium/wiki/Code-notes), включая подсветку синтаксиса
* Быстрая и простая [навигация между заметками](https://github.com/zadam/trilium/wiki/Note-navigation), полнотекстовый поиск и [выделение заметок](https://github.com/zadam/trilium/wiki/Note-hoisting) в отдельный блок
* Бесшовное [версионирование заметки](https://github.com/zadam/trilium/wiki/Note-revisions)
* Специальные [атрибуты](https://github.com/zadam/trilium/wiki/Attributes) позволяют гибко организовать структуру, используются для поиска и продвинутого [скриптинга](https://github.com/zadam/trilium/wiki/Scripts)
* [Синхронизация](https://github.com/zadam/trilium/wiki/Synchronization) заметок со своим сервером
* Надёжное [шифрование](https://github.com/zadam/trilium/wiki/Protected-notes) с детализацией по каждой заметке
* [Карты связей](https://github.com/zadam/trilium/wiki/Relation-map) и [карты ссылок](https://github.com/zadam/trilium/wiki/Link-map) для визуализации их взяимосвязей
* [Скрипты](https://github.com/zadam/trilium/wiki/Scripts) - см. [продвинутые примеры](https://github.com/zadam/trilium/wiki/Advanced-showcases)
* Хорошо масштабируется, как по удобству использования, так и по производительности до 100000 заметок
* Оптимизированный [мобильный фронтенд](https://github.com/zadam/trilium/wiki/Mobile-frontend) смартфонов и планшетов
* [Темная тема](https://github.com/zadam/trilium/wiki/Themes)
* Импорт и экпорт [Evernote](https://github.com/zadam/trilium/wiki/Evernote-import) и данных в [markdown](https://github.com/zadam/trilium/wiki/Markdown) формате
* [Web Clipper](https://github.com/zadam/trilium/wiki/Web-clipper) для удобного сохранения веб-контента
## Сборки
Trilium предоставляется в виде десктопного приложения (Linux и Windows) или веб-приложения, размещенного на вашем сервере (Linux). Доступна сборка Mac OS, но она [не поддерживается](https://github.com/zadam/trilium/wiki/FAQ#mac-os-support).
* Если вы хотите использовать Trilium на десктопе, скачайте архив для своей платформы со страницы [релизов](https://github.com/zadam/trilium/releases/latest), распакуйте и запустите исполняемый файл ```trilium```.
* Если вы хотите установить Trilium на сервере, следуйте этой [инструкции](https://github.com/zadam/trilium/wiki/Server-installation).
* В данный момент поддерживаются (протестированы) последние версии браузеров Chrome и Firefox.
## Документация
[Полный список страниц документации доступен в Wiki.](https://github.com/zadam/trilium/wiki/)
Вы также можете ознакомиться с [шаблонами персональных баз знаний](https://github.com/zadam/trilium/wiki/Patterns-of-personal-knowledge-base), чтобы получить представление о том, как можно использовать Trilium.
## Участвуйте в разработке
Используйте онлайн среду разработки в браузере
[![Открыть в Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/zadam/trilium)
Или склонируйте на своё устройство и запустите
```
npm install
npm run start-server
```
## Благодарности
* [CKEditor 5](https://github.com/ckeditor/ckeditor5) - лучший WYSIWYG редактор, очень активная и внимательная команда.
* [FancyTree](https://github.com/mar10/fancytree) - многофункциональная библиотека для создания древовидных структур. Вне конкуренции. Без него Trilium Notes не были бы таким.
* [CodeMirror](https://github.com/codemirror/CodeMirror) - редактор кода с поддержкой огромного количество языков.
* [jsPlumb](https://github.com/jsplumb/jsplumb) - библиотека для визуализации связей. Вне конкуренции. Используется в [картах связей](https://github.com/zadam/trilium/wiki/Relation-map) и [картах ссылок](https://github.com/zadam/trilium/wiki/Link-map).
## Лицензия
Эта программа является бесплатным программным обеспечением: вы можете распространять и/или изменять ее в соответствии с условиями GNU Affero General Public License, опубликованной Free Software Foundation, либо версии 3 Лицензии, либо (по вашему выбору) любой более поздней версии.

@ -10,4 +10,4 @@ Description above is a general rule and may be altered on case by case basis.
## Reporting a Vulnerability
You can report low severity vulnerabilities as GitHub issues, more severe vulnerabilities should be reported to the email zadam.apps@gmail.com
You can report low severity vulnerabilities as GitHub issues, more severe vulnerabilities should be reported to the email [contact@eliandoran.me](mailto:contact@eliandoran.me)

@ -0,0 +1,7 @@
#!/usr/bin/env node
import anonymizationService from "../src/services/anonymization.js";
import fs from "fs";
import path from "path";
fs.writeFileSync(path.resolve(__dirname, "tpl", "anonymize-database.sql"), anonymizationService.getFullAnonymizationScript());

@ -0,0 +1,52 @@
#!/usr/bin/env bash
if ! command -v magick &> /dev/null; then
echo "This tool requires ImageMagick to be installed in order to create the icons."
exit 1
fi
if ! command -v inkscape &> /dev/null; then
echo "This tool requires Inkscape to be render sharper SVGs than ImageMagick."
exit 1
fi
if ! command -v icnsutil &> /dev/null; then
echo "This tool requires icnsutil to be installed in order to generate macOS icons."
exit 1
fi
script_dir=$(realpath $(dirname $0))
cd "${script_dir}/../images/app-icons"
inkscape -w 180 -h 180 "../icon-color.svg" -o "./ios/apple-touch-icon.png"
# Build PNGs
inkscape -w 128 -h 128 "../icon-color.svg" -o "./png/128x128.png"
inkscape -w 256 -h 256 "../icon-color.svg" -o "./png/256x256.png"
# Build dev icons (including tray)
inkscape -w 16 -h 16 "../icon-purple.svg" -o "./png/16x16-dev.png"
inkscape -w 32 -h 32 "../icon-purple.svg" -o "./png/32x32-dev.png"
inkscape -w 256 -h 256 "../icon-purple.svg" -o "./png/256x256-dev.png"
# Build Mac .icns
declare -a sizes=("16" "32" "512" "1024")
for size in "${sizes[@]}"; do
inkscape -w $size -h $size "../icon-color.svg" -o "./png/${size}x${size}.png"
done
mkdir -p fakeapp.app
npx iconsur set fakeapp.app -l -i "png/1024x1024.png" -o "mac/1024x1024.png" -s 0.8
declare -a sizes=("16x16" "32x32" "128x128" "512x512")
for size in "${sizes[@]}"; do
magick "mac/1024x1024.png" -resize "${size}" "mac/${size}.png"
done
icnsutil compose -f "mac/icon.icns" ./mac/*.png
# Build Windows icon
magick -background none "../icon-color.svg" -define icon:auto-resize=16,32,48,64,128,256 "./icon.ico"
# Build Windows setup icon
magick -background none "../icon-installer.svg" -define icon:auto-resize=16,32,48,64,128,256 "./win/setup.ico"
# Build Squirrel splash image
magick "./png/256x256.png" -background "#ffffff" -gravity center -extent 640x480 "./win/setup-banner.gif"

@ -0,0 +1,95 @@
/**
* Usage: tsx ./generate_document.ts 1000
* will create 1000 new notes and some clones into the current document.db
*/
import sqlInit from "../src/services/sql_init.js";
import noteService from "../src/services/notes.js";
import attributeService from "../src/services/attributes.js";
import cls from "../src/services/cls.js";
import cloningService from "../src/services/cloning.js";
import loremIpsum from "lorem-ipsum";
import "../src/becca/entity_constructor.js";
const noteCount = parseInt(process.argv[2]);
if (!noteCount) {
console.error(`Please enter number of notes as program parameter.`);
process.exit(1);
}
const notes = ["root"];
function getRandomNoteId() {
const index = Math.floor(Math.random() * notes.length);
return notes[index];
}
async function start() {
for (let i = 0; i < noteCount; i++) {
const title = loremIpsum.loremIpsum({
count: 1,
units: "sentences",
sentenceLowerBound: 1,
sentenceUpperBound: 10
});
const paragraphCount = Math.floor(Math.random() * Math.random() * 100);
const content = loremIpsum.loremIpsum({
count: paragraphCount,
units: "paragraphs",
sentenceLowerBound: 1,
sentenceUpperBound: 15,
paragraphLowerBound: 3,
paragraphUpperBound: 10,
format: "html"
});
const { note } = noteService.createNewNote({
parentNoteId: getRandomNoteId(),
title,
content,
type: "text"
});
console.log(`Created note ${i}: ${title}`);
if (Math.random() < 0.04) {
const noteIdToClone = note.noteId;
const parentNoteId = getRandomNoteId();
const prefix = Math.random() > 0.8 ? "prefix" : "";
const result = await cloningService.cloneNoteToBranch(noteIdToClone, parentNoteId, prefix);
console.log(`Cloning ${i}:`, result.success ? "succeeded" : "FAILED");
}
// does not have to be for the current note
await attributeService.createAttribute({
noteId: getRandomNoteId(),
type: "label",
name: "label",
value: "value",
isInheritable: Math.random() > 0.1 // 10% are inheritable
});
await attributeService.createAttribute({
noteId: getRandomNoteId(),
type: "relation",
name: "relation",
value: getRandomNoteId(),
isInheritable: Math.random() > 0.1 // 10% are inheritable
});
note.saveRevision();
notes.push(note.noteId);
}
process.exit(0);
}
// @TriliumNextTODO sqlInit.dbReady never seems to resolve so program hangs
// see https://github.com/TriliumNext/Notes/issues/1020
sqlInit.dbReady.then(cls.wrap(start)).catch((err) => console.error(err));

@ -0,0 +1,57 @@
#!/usr/bin/env bash
set -e
if [[ $# -eq 0 ]] ; then
echo "Missing argument of new version"
exit 1
fi
if ! command -v jq &> /dev/null; then
echo "Missing command: jq"
exit 1
fi
VERSION=$1
if ! [[ ${VERSION} =~ ^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(-.+)?$ ]] ;
then
echo "Version ${VERSION} isn't in format X.Y.Z"
exit 1
fi
if ! git diff-index --quiet HEAD --; then
echo "There are uncommitted changes"
exit 1
fi
echo "Releasing Trilium $VERSION"
jq '.version = "'$VERSION'"' package.json > package.json.tmp
mv package.json.tmp package.json
git add package.json
npm run chore:update-build-info
git add src/services/build.ts
TAG=v$VERSION
echo "Committing package.json version change"
git commit -m "chore(release): $VERSION"
git push
echo "Tagging commit with $TAG"
git tag $TAG
git push origin $TAG
echo "Updating master"
git fetch
git checkout master
git reset --hard origin/master
git merge origin/develop
git push

@ -0,0 +1,114 @@
#!/usr/bin/env bash
# --------------------------------------------------------------------------------------------------
#
# Create PO files to make easier the labor of translation.
#
# Info:
# https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html
# https://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/json2po.html
#
# Dependencies:
# jq
# translate-toolkit
# python-wcwidth
#
# Created by @hasecilu
#
# --------------------------------------------------------------------------------------------------
number_of_keys() {
[ -f "$1" ] && jq 'path(..) | select(length == 2) | .[1]' "$1" | wc -l || echo "0"
}
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 "|--------|----------------|----------------|"
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} |"
done
}
update_1() {
# Update PO files from English and localized JSON files as source
# NOTE: if you want a new language you need to first create the JSON files
# on their corresponding place with `{}` as content to avoid error on `json2po`
local locales=("$@")
for path in "${paths[@]}"; do
for locale in "${locales[@]}"; do
json2po -t "${path}/en" "${path}/${locale}" "${path}/po-${locale}"
done
done
}
update_2() {
# Recover translation from PO files to localized JSON files
local locales=("$@")
for path in "${paths[@]}"; do
for locale in "${locales[@]}"; do
po2json -t "${path}/en" "${path}/po-${locale}" "${path}/${locale}"
done
done
}
help() {
echo -e "\nDescription:"
echo -e "\tCreate PO files to make easier the labor of translation"
echo -e "\nUsage:"
echo -e "\t./translation.sh [--stats] [--update1 <OPT_LOCALE>] [--update2 <OPT_LOCALE>]"
echo -e "\nFlags:"
echo -e " --clear\n\tClear all po-* directories"
echo -e " --stats\n\tPrint the number of existing strings on the JSON files for each locale"
echo -e " --update1 <LOCALE>\n\tUpdate PO files from English and localized JSON files as source"
echo -e " --update2 <LOCALE>\n\tRecover translation from PO files to localized JSON files"
}
# Main function ------------------------------------------------------------------------------------
# Get script directory to set file path relative to it
file_path="$(
cd -- "$(dirname "${0}")" >/dev/null 2>&1 || exit
pwd -P
)"
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
if [ "$1" == "--clear" ]; then
for path in "${paths[@]}"; do
for locale in "${locales[@]}"; do
[ -d "${path}/po-${locale}" ] && rm -r "${path}/po-${locale}"
done
done
elif [ "$1" == "--stats" ]; then
stats
elif [ "$1" == "--update1" ]; then
update_1 "${locales[@]}"
elif [ "$1" == "--update2" ]; then
update_2 "${locales[@]}"
else
help
fi
elif [ $# -eq 2 ]; then
if [ "$1" == "--update1" ]; then
update_1 "$2"
elif [ "$1" == "--update2" ]; then
update_2 "$2"
else
help
fi
else
help
fi

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-bookmark"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 7v14l-6 -4l-6 4v-14a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4z" /></svg>

After

Width:  |  Height:  |  Size: 383 B

@ -0,0 +1,39 @@
#!/usr/bin/env bash
if ! command -v magick &> /dev/null; then
echo "This tool requires ImageMagick to be installed in order to create the icons."
exit 1
fi
if ! command -v inkscape &> /dev/null; then
echo "This tool requires Inkscape to be render sharper SVGs than ImageMagick."
exit 1
fi
script_dir=$(realpath $(dirname $0))
images_dir="$script_dir/../../images"
output_dir="$images_dir/app-icons/tray"
function generateDpiScaledIcons {
file=$1
suffix=$2
name="$(basename $file .svg)$suffix"
inkscape -w 16 -h 16 "$file" -o "$output_dir/$name.png"
inkscape -w 20 -h 20 "$file" -o "$output_dir/$name@1.25x.png"
inkscape -w 24 -h 24 "$file" -o "$output_dir/$name@1.5x.png"
inkscape -w 32 -h 32 "$file" -o "$output_dir/$name@2x.png"
}
generateDpiScaledIcons "$images_dir/icon-black.svg" "Template"
generateDpiScaledIcons "$images_dir/icon-color.svg"
generateDpiScaledIcons "$images_dir/icon-purple.svg"
for file in *.svg; do
name="$(basename $file .svg)Template"
generateDpiScaledIcons "$file" "Template"
magick "$output_dir/$name.png" -channel RGB -negate "$output_dir/$name-inverted.png"
magick "$output_dir/$name@1.25x.png" -channel RGB -negate "$output_dir/$name-inverted@1.25x.png"
magick "$output_dir/$name@1.5x.png" -channel RGB -negate "$output_dir/$name-inverted@1.5x.png"
magick "$output_dir/$name@2x.png" -channel RGB -negate "$output_dir/$name-inverted@2x.png"
done

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-x"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>

After

Width:  |  Height:  |  Size: 356 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-plus"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 5l0 14" /><path d="M5 12l14 0" /></svg>

After

Width:  |  Height:  |  Size: 357 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-history"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 8l0 4l2 2" /><path d="M3.05 11a9 9 0 1 1 .5 4m-.5 5v-5h5" /></svg>

After

Width:  |  Height:  |  Size: 387 B

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-calendar-star"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M11 21h-5a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v3.5" /><path d="M16 3v4" /><path d="M8 3v4" /><path d="M4 11h11" /><path d="M17.8 20.817l-2.172 1.138a.392 .392 0 0 1 -.568 -.41l.415 -2.411l-1.757 -1.707a.389 .389 0 0 1 .217 -.665l2.428 -.352l1.086 -2.193a.392 .392 0 0 1 .702 0l1.086 2.193l2.428 .352a.39 .39 0 0 1 .217 .665l-1.757 1.707l.414 2.41a.39 .39 0 0 1 -.567 .411l-2.172 -1.138z" /></svg>

After

Width:  |  Height:  |  Size: 734 B

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
</dict>
</plist>

@ -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,17 @@
import { test as setup, expect } from "@playwright/test";
const authFile = "playwright/.auth/user.json";
const ROOT_URL = "http://localhost:8082";
const LOGIN_PASSWORD = "demo1234";
// Reference: https://playwright.dev/docs/auth#basic-shared-account-in-all-tests
setup("authenticate", async ({ page }) => {
await page.goto(ROOT_URL);
await expect(page).toHaveURL(`${ROOT_URL}/login`);
await page.getByRole("textbox", { name: "Password" }).fill(LOGIN_PASSWORD);
await page.getByRole("button", { name: "Login" }).click();
await page.context().storageState({ path: authFile });
});

@ -0,0 +1,9 @@
import { test, expect } from "@playwright/test";
test("Can duplicate note with broken links", async ({ page }) => {
await page.goto(`http://localhost:8082/#2VammGGdG6Ie`);
await page.locator(".tree-wrapper .fancytree-active").getByText("Note map").click({ button: "right" });
await page.getByText("Duplicate subtree").click();
await expect(page.locator(".toast-body")).toBeHidden();
await expect(page.locator(".tree-wrapper").getByText("Note map (dup)")).toBeVisible();
});

@ -0,0 +1,18 @@
import { test, expect } from "@playwright/test";
test("has title", async ({ page }) => {
await page.goto("https://playwright.dev/");
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/Playwright/);
});
test("get started link", async ({ page }) => {
await page.goto("https://playwright.dev/");
// Click the get started link.
await page.getByRole("link", { name: "Get started" }).click();
// Expects page to have a heading with the name of Installation.
await expect(page.getByRole("heading", { name: "Installation" })).toBeVisible();
});

@ -0,0 +1,21 @@
import test, { expect } from "@playwright/test";
test("Native Title Bar not displayed on web", async ({ page }) => {
await page.goto("http://localhost:8082/#root/_hidden/_options/_optionsAppearance");
await expect(page.getByRole("heading", { name: "Theme" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Native Title Bar (requires" })).toBeHidden();
});
test("Tray settings not displayed on web", async ({ page }) => {
await page.goto("http://localhost:8082/#root/_hidden/_options/_optionsOther");
await expect(page.getByRole("heading", { name: "Note Erasure Timeout" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Tray" })).toBeHidden();
});
test("Spellcheck settings not displayed on web", async ({ page }) => {
await page.goto("http://localhost:8082/#root/_hidden/_options/_optionsSpellcheck");
await expect(page.getByRole("heading", { name: "Spell Check" })).toBeVisible();
await expect(page.getByRole("heading", { name: "Tray" })).toBeHidden();
await expect(page.getByText("These options apply only for desktop builds")).toBeVisible();
await expect(page.getByText("Enable spellcheck")).toBeHidden();
});

@ -0,0 +1,18 @@
import test, { expect } from "@playwright/test";
test("Renders on desktop", async ({ page, context }) => {
await page.goto("http://localhost:8082");
await expect(page.locator(".tree")).toContainText("Trilium Integration Test");
});
test("Renders on mobile", async ({ page, context }) => {
await context.addCookies([
{
url: "http://localhost:8082",
name: "trilium-device",
value: "mobile"
}
]);
await page.goto("http://localhost:8082");
await expect(page.locator(".tree")).toContainText("Trilium Integration Test");
});

@ -0,0 +1,12 @@
import { test, expect } from "@playwright/test";
const expectedVersion = "0.90.3";
test("Displays update badge when there is a version available", async ({ page }) => {
await page.goto("http://localhost:8080");
await page.getByRole("button", { name: "" }).click();
await page.getByText(`Version ${expectedVersion} is available,`).click();
const page1 = await page.waitForEvent("popup");
expect(page1.url()).toBe(`https://github.com/TriliumNext/Notes/releases/tag/v${expectedVersion}`);
});

@ -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,9 @@
import etapi from "../support/etapi.js";
/* TriliumNextTODO: port to Vitest
etapi.describeEtapi("app_info", () => {
it("get", async () => {
const appInfo = await etapi.getEtapi("app-info");
expect(appInfo.clipperProtocolVersion).toEqual("1.0");
});
});
*/

@ -0,0 +1,10 @@
import etapi from "../support/etapi.js";
/* TriliumNextTODO: port to Vitest
etapi.describeEtapi("backup", () => {
it("create", async () => {
const response = await etapi.putEtapiContent("backup/etapi_test");
expect(response.status).toEqual(204);
});
});
*/

@ -0,0 +1,26 @@
import etapi from "../support/etapi.js";
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";
/* TriliumNextTODO: port to Vitest
etapi.describeEtapi("import", () => {
// temporarily skip this test since test-export.zip is missing
xit("import", async () => {
const scriptDir = path.dirname(fileURLToPath(import.meta.url));
const zipFileBuffer = fs.readFileSync(path.resolve(scriptDir, "test-export.zip"));
const response = await etapi.postEtapiContent("notes/root/import", zipFileBuffer);
expect(response.status).toEqual(201);
const { note, branch } = await response.json();
expect(note.title).toEqual("test-export");
expect(branch.parentNoteId).toEqual("root");
const content = await (await etapi.getEtapiContent(`notes/${note.noteId}/content`)).text();
expect(content).toContain("test export content");
});
});
*/

@ -0,0 +1,103 @@
import crypto from "crypto";
import etapi from "../support/etapi.js";
/* TriliumNextTODO: port to Vitest
etapi.describeEtapi("notes", () => {
it("create", async () => {
const { note, branch } = await etapi.postEtapi("create-note", {
parentNoteId: "root",
type: "text",
title: "Hello World!",
content: "Content",
prefix: "Custom prefix"
});
expect(note.title).toEqual("Hello World!");
expect(branch.parentNoteId).toEqual("root");
expect(branch.prefix).toEqual("Custom prefix");
const rNote = await etapi.getEtapi(`notes/${note.noteId}`);
expect(rNote.title).toEqual("Hello World!");
const rContent = await (await etapi.getEtapiContent(`notes/${note.noteId}/content`)).text();
expect(rContent).toEqual("Content");
const rBranch = await etapi.getEtapi(`branches/${branch.branchId}`);
expect(rBranch.parentNoteId).toEqual("root");
expect(rBranch.prefix).toEqual("Custom prefix");
});
it("patch", async () => {
const { note } = await etapi.postEtapi("create-note", {
parentNoteId: "root",
type: "text",
title: "Hello World!",
content: "Content"
});
await etapi.patchEtapi(`notes/${note.noteId}`, {
title: "new title",
type: "code",
mime: "text/apl",
dateCreated: "2000-01-01 12:34:56.999+0200",
utcDateCreated: "2000-01-01 10:34:56.999Z"
});
const rNote = await etapi.getEtapi(`notes/${note.noteId}`);
expect(rNote.title).toEqual("new title");
expect(rNote.type).toEqual("code");
expect(rNote.mime).toEqual("text/apl");
expect(rNote.dateCreated).toEqual("2000-01-01 12:34:56.999+0200");
expect(rNote.utcDateCreated).toEqual("2000-01-01 10:34:56.999Z");
});
it("update content", async () => {
const { note } = await etapi.postEtapi("create-note", {
parentNoteId: "root",
type: "text",
title: "Hello World!",
content: "Content"
});
await etapi.putEtapiContent(`notes/${note.noteId}/content`, "new content");
const rContent = await (await etapi.getEtapiContent(`notes/${note.noteId}/content`)).text();
expect(rContent).toEqual("new content");
});
it("create / update binary content", async () => {
const { note } = await etapi.postEtapi("create-note", {
parentNoteId: "root",
type: "file",
title: "Hello World!",
content: "ZZZ"
});
const updatedContent = crypto.randomBytes(16);
await etapi.putEtapiContent(`notes/${note.noteId}/content`, updatedContent);
const rContent = await (await etapi.getEtapiContent(`notes/${note.noteId}/content`)).arrayBuffer();
expect(Buffer.from(new Uint8Array(rContent))).toEqual(updatedContent);
});
it("delete note", async () => {
const { note } = await etapi.postEtapi("create-note", {
parentNoteId: "root",
type: "text",
title: "Hello World!",
content: "Content"
});
await etapi.deleteEtapi(`notes/${note.noteId}`);
const resp = await etapi.getEtapiResponse(`notes/${note.noteId}`);
expect(resp.status).toEqual(404);
const error = await resp.json();
expect(error.status).toEqual(404);
expect(error.code).toEqual("NOTE_NOT_FOUND");
expect(error.message).toEqual(`Note '${note.noteId}' not found.`);
});
});
*/

@ -0,0 +1,155 @@
import type child_process from "child_process";
import { describe, beforeAll, afterAll } from "vitest";
let etapiAuthToken: string | undefined;
const getEtapiAuthorizationHeader = (): string => "Basic " + Buffer.from(`etapi:${etapiAuthToken}`).toString("base64");
const PORT: string = "9999";
const HOST: string = "http://localhost:" + PORT;
type SpecDefinitionsFunc = () => void;
function describeEtapi(description: string, specDefinitions: SpecDefinitionsFunc): void {
describe(description, () => {
let appProcess: ReturnType<typeof child_process.spawn>;
beforeAll(async () => {});
afterAll(() => {});
specDefinitions();
});
}
async function getEtapiResponse(url: string): Promise<Response> {
return await fetch(`${HOST}/etapi/${url}`, {
method: "GET",
headers: {
Authorization: getEtapiAuthorizationHeader()
}
});
}
async function getEtapi(url: string): Promise<any> {
const response = await getEtapiResponse(url);
return await processEtapiResponse(response);
}
async function getEtapiContent(url: string): Promise<Response> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "GET",
headers: {
Authorization: getEtapiAuthorizationHeader()
}
});
checkStatus(response);
return response;
}
async function postEtapi(url: string, data: Record<string, unknown> = {}): Promise<any> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: getEtapiAuthorizationHeader()
},
body: JSON.stringify(data)
});
return await processEtapiResponse(response);
}
async function postEtapiContent(url: string, data: BodyInit): Promise<Response> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "POST",
headers: {
"Content-Type": "application/octet-stream",
Authorization: getEtapiAuthorizationHeader()
},
body: data
});
checkStatus(response);
return response;
}
async function putEtapi(url: string, data: Record<string, unknown> = {}): Promise<any> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "PUT",
headers: {
"Content-Type": "application/json",
Authorization: getEtapiAuthorizationHeader()
},
body: JSON.stringify(data)
});
return await processEtapiResponse(response);
}
async function putEtapiContent(url: string, data?: BodyInit): Promise<Response> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "PUT",
headers: {
"Content-Type": "application/octet-stream",
Authorization: getEtapiAuthorizationHeader()
},
body: data
});
checkStatus(response);
return response;
}
async function patchEtapi(url: string, data: Record<string, unknown> = {}): Promise<any> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "PATCH",
headers: {
"Content-Type": "application/json",
Authorization: getEtapiAuthorizationHeader()
},
body: JSON.stringify(data)
});
return await processEtapiResponse(response);
}
async function deleteEtapi(url: string): Promise<any> {
const response = await fetch(`${HOST}/etapi/${url}`, {
method: "DELETE",
headers: {
Authorization: getEtapiAuthorizationHeader()
}
});
return await processEtapiResponse(response);
}
async function processEtapiResponse(response: Response): Promise<any> {
const text = await response.text();
if (response.status < 200 || response.status >= 300) {
throw new Error(`ETAPI error ${response.status}: ${text}`);
}
return text?.trim() ? JSON.parse(text) : null;
}
function checkStatus(response: Response): void {
if (response.status < 200 || response.status >= 300) {
throw new Error(`ETAPI error ${response.status}`);
}
}
export default {
describeEtapi,
getEtapi,
getEtapiResponse,
getEtapiContent,
postEtapi,
postEtapiContent,
putEtapi,
putEtapiContent,
patchEtapi,
deleteEtapi
};

@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "NodeNext",
"declaration": false,
"sourceMap": true,
"outDir": "./build",
"strict": true,
"noImplicitAny": true,
"resolveJsonModule": true,
"lib": ["ES2023"],
"downlevelIteration": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowJs": true
},
"include": ["./src/public/app/**/*"],
"files": [
"./src/public/app/types.d.ts",
"./src/public/app/types-lib.d.ts",
"./src/types.d.ts"
]
}

@ -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}`;

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

@ -0,0 +1,17 @@
{
"name": "Trilium Notes",
"short_name": "Trilium",
"description": "Trilium Notes is a hierarchical note taking application with focus on building large personal knowledge bases.",
"theme_color": "#333333",
"background_color": "#1F1F1F",
"display": "standalone",
"scope": "/",
"start_url": "/",
"icons": [
{
"src": "icon.png",
"sizes": "512x512",
"type": "image/png"
}
]
}

@ -0,0 +1,608 @@
import froca from "../services/froca.js";
import RootCommandExecutor from "./root_command_executor.js";
import Entrypoints, { type SqlExecuteResults } from "./entrypoints.js";
import options from "../services/options.js";
import utils, { hasTouchBar } from "../services/utils.js";
import zoomComponent from "./zoom.js";
import TabManager from "./tab_manager.js";
import Component from "./component.js";
import keyboardActionsService from "../services/keyboard_actions.js";
import linkService, { type ViewScope } from "../services/link.js";
import MobileScreenSwitcherExecutor, { type Screen } from "./mobile_screen_switcher.js";
import MainTreeExecutors from "./main_tree_executors.js";
import toast from "../services/toast.js";
import ShortcutComponent from "./shortcut_component.js";
import { t, initLocale } from "../services/i18n.js";
import type NoteDetailWidget from "../widgets/note_detail.js";
import type { ResolveOptions } from "../widgets/dialogs/delete_notes.js";
import type { PromptDialogOptions } from "../widgets/dialogs/prompt.js";
import type { ConfirmWithMessageOptions, ConfirmWithTitleOptions } from "../widgets/dialogs/confirm.js";
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 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;
}
interface RootWidget extends Component {
render: () => JQuery<HTMLElement>;
}
interface BeforeUploadListener extends Component {
beforeUnloadEvent(): boolean;
}
/**
* Base interface for the data/arguments for a given command (see {@link CommandMappings}).
*/
export interface CommandData {
ntxId?: string | null;
}
/**
* Represents a set of commands that are triggered from the context menu, providing information such as the selected note.
*/
export interface ContextMenuCommandData extends CommandData {
node: Fancytree.FancytreeNode;
notePath?: string;
noteId?: string;
selectedOrActiveBranchIds: string[];
selectedOrActiveNoteIds?: string[];
}
export interface NoteCommandData extends CommandData {
notePath?: string | null;
hoistedNoteId?: string | null;
viewScope?: ViewScope;
}
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}.
*/
export type CommandMappings = {
"api-log-messages": CommandData;
focusTree: CommandData;
focusOnTitle: CommandData;
focusOnDetail: CommandData;
focusOnSearchDefinition: Required<CommandData>;
searchNotes: CommandData & {
searchString?: string;
ancestorNoteId?: string | null;
};
closeTocCommand: CommandData;
closeHlt: CommandData;
showLaunchBarSubtree: CommandData;
showRevisions: CommandData;
showLlmChat: CommandData;
createAiChat: CommandData;
showOptions: CommandData & {
section: string;
};
showExportDialog: CommandData & {
notePath: string;
defaultType: "single" | "subtree";
};
showDeleteNotesDialog: CommandData & {
branchIdsToDelete: string[];
callback: (value: ResolveOptions) => void;
forceDeleteAllClones: boolean;
};
showConfirmDeleteNoteBoxWithNoteDialog: ConfirmWithTitleOptions;
openedFileUpdated: CommandData & {
entityType: string;
entityId: string;
lastModifiedMs: number;
filePath: string;
};
focusAndSelectTitle: CommandData & {
isNewNote?: boolean;
};
showPromptDialog: PromptDialogOptions;
showInfoDialog: ConfirmWithMessageOptions;
showConfirmDialog: ConfirmWithMessageOptions;
showRecentChanges: CommandData & { ancestorNoteId: string };
showImportDialog: CommandData & { noteId: string };
openNewNoteSplit: NoteCommandData;
openInWindow: NoteCommandData;
openNoteInNewTab: CommandData;
openNoteInNewSplit: CommandData;
openNoteInNewWindow: CommandData;
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: {};
protectSubtree: ContextMenuCommandData;
unprotectSubtree: ContextMenuCommandData;
openBulkActionsDialog:
| ContextMenuCommandData
| {
selectedOrActiveNoteIds?: string[];
};
editBranchPrefix: ContextMenuCommandData;
convertNoteToAttachment: ContextMenuCommandData;
duplicateSubtree: ContextMenuCommandData;
expandSubtree: ContextMenuCommandData;
collapseSubtree: ContextMenuCommandData;
sortChildNotes: ContextMenuCommandData;
copyNotePathToClipboard: ContextMenuCommandData;
recentChangesInSubtree: ContextMenuCommandData;
cutNotesToClipboard: ContextMenuCommandData;
copyNotesToClipboard: ContextMenuCommandData;
pasteNotesFromClipboard: ContextMenuCommandData;
pasteNotesAfterFromClipboard: ContextMenuCommandData;
moveNotesTo: ContextMenuCommandData;
cloneNotesTo: ContextMenuCommandData;
deleteNotes: ContextMenuCommandData;
importIntoNote: ContextMenuCommandData;
exportNote: ContextMenuCommandData;
searchInSubtree: ContextMenuCommandData;
moveNoteUp: ContextMenuCommandData;
moveNoteDown: ContextMenuCommandData;
moveNoteUpInHierarchy: ContextMenuCommandData;
moveNoteDownInHierarchy: ContextMenuCommandData;
selectAllNotesInParent: ContextMenuCommandData;
createNoteIntoInbox: CommandData;
addNoteLauncher: ContextMenuCommandData;
addScriptLauncher: ContextMenuCommandData;
addWidgetLauncher: ContextMenuCommandData;
addSpacerLauncher: ContextMenuCommandData;
moveLauncherToVisible: ContextMenuCommandData;
moveLauncherToAvailable: ContextMenuCommandData;
resetLauncher: ContextMenuCommandData;
executeInActiveNoteDetailWidget: CommandData & {
callback: (value: NoteDetailWidget | PromiseLike<NoteDetailWidget>) => void;
};
executeWithTextEditor: CommandData &
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}.
*/
executeWithContentElement: CommandData & ExecuteCommandData<JQuery<HTMLElement>>;
executeWithTypeWidget: CommandData & ExecuteCommandData<TypeWidget | null>;
addTextToActiveEditor: CommandData & {
text: string;
};
/** Works only in the electron context menu. */
replaceMisspelling: CommandData;
importMarkdownInline: CommandData;
showPasswordNotSet: CommandData;
showProtectedSessionPasswordDialog: CommandData;
showUploadAttachmentsDialog: CommandData & { noteId: string };
showIncludeNoteDialog: CommandData & { textTypeWidget: EditableTextTypeWidget };
showAddLinkDialog: CommandData & { textTypeWidget: EditableTextTypeWidget, text: string };
closeProtectedSessionPasswordDialog: CommandData;
copyImageReferenceToClipboard: CommandData;
copyImageToClipboard: CommandData;
updateAttributesList: {
attributes: Attribute[];
};
addNewLabel: CommandData;
addNewRelation: CommandData;
addNewLabelDefinition: CommandData;
addNewRelationDefinition: CommandData;
cloneNoteIdsTo: CommandData & {
noteIds: string[];
};
moveBranchIdsTo: CommandData & {
branchIds: string[];
};
/** Sets the active {@link Screen} (e.g. to toggle the tree sidebar). It triggers the {@link EventMappings.activeScreenChanged} event, but only if the provided <em>screen</em> is different than the current one. */
setActiveScreen: CommandData & {
screen: Screen;
};
closeTab: CommandData;
closeToc: CommandData;
closeOtherTabs: CommandData;
closeRightTabs: CommandData;
closeAllTabs: CommandData;
reopenLastTab: CommandData;
moveTabToNewWindow: CommandData;
copyTabToNewWindow: CommandData;
closeActiveTab: CommandData & {
$el: JQuery<HTMLElement>;
};
setZoomFactorAndSave: {
zoomFactor: string;
};
reEvaluateRightPaneVisibility: CommandData;
runActiveNote: CommandData;
scrollContainerToCommand: CommandData & {
position: number;
};
scrollToEnd: CommandData;
closeThisNoteSplit: CommandData;
moveThisNoteSplit: CommandData & { isMovingLeft: boolean };
jumpToNote: CommandData;
// Geomap
deleteFromMap: { noteId: string };
openGeoLocation: { noteId: string; event: JQuery.MouseDownEvent };
toggleZenMode: CommandData;
updateAttributeList: CommandData & { attributes: Attribute[] };
saveAttributes: CommandData;
reloadAttributes: CommandData;
refreshNoteList: CommandData & { noteId: string };
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[];
};
refreshIncludedNote: {
noteId: string;
};
apiLogMessages: {
noteId: string;
messages: string[];
};
entitiesReloaded: {
loadResults: LoadResults;
};
addNewLabel: CommandData;
addNewRelation: CommandData;
sqlQueryResults: CommandData & {
results: SqlExecuteResults;
};
readOnlyTemporarilyDisabled: {
noteContext: NoteContext;
};
/** Triggered when the {@link CommandMappings.setActiveScreen} command is invoked. */
activeScreenChanged: {
activeScreen: Screen;
};
activeContextChanged: {
noteContext: NoteContext;
};
beforeNoteSwitch: {
noteContext: NoteContext;
};
beforeNoteContextRemove: {
ntxIds: string[];
};
noteSwitched: NoteSwitchedContext;
noteSwitchedAndActivated: NoteSwitchedContext;
setNoteContext: {
noteContext: NoteContext;
};
reEvaluateHighlightsListWidgetVisibility: {
noteId: string | undefined;
};
reEvaluateTocWidgetVisibility: {
noteId: string | undefined;
};
showHighlightsListWidget: {
noteId: string;
};
showTocWidget: {
noteId: string;
};
showSearchError: {
error: string;
};
searchRefreshed: { ntxId?: string | null };
hoistedNoteChanged: {
noteId: string;
ntxId: string | null;
};
contextsReopened: {
ntxId?: string;
mainNtxId: string | null;
tabPosition: number;
afterNtxId?: string;
};
noteDetailRefreshed: {
ntxId?: string | null;
};
noteContextReorder: {
oldMainNtxId: string;
newMainNtxId: string;
ntxIdsInOrder: string[];
};
newNoteContextCreated: {
noteContext: NoteContext;
};
noteContextRemoved: {
ntxIds: string[];
};
exportSvg: { ntxId: string | null | undefined; };
exportPng: { ntxId: string | null | undefined; };
geoMapCreateChildNote: {
ntxId: string | null | undefined; // TODO: deduplicate ntxId
};
tabReorder: {
ntxIdsInOrder: string[];
};
refreshNoteList: {
noteId: string;
};
noteTypeMimeChanged: { noteId: string };
zenModeChanged: { isEnabled: boolean };
relationMapCreateChildNote: { ntxId: string | null | undefined };
relationMapResetPanZoom: { ntxId: string | null | undefined };
relationMapResetZoomIn: { ntxId: string | null | undefined };
relationMapResetZoomOut: { ntxId: string | null | undefined };
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> = {
[key in T as `${key}Event`]: (data: EventData<T>) => void;
};
export type CommandListener<T extends CommandNames> = {
[key in T as `${key}Command`]: (data: CommandListenerData<T>) => void;
};
export type CommandListenerData<T extends CommandNames> = CommandMappings[T];
type CommandAndEventMappings = CommandMappings & EventMappings;
type EventOnlyNames = keyof EventMappings;
export type EventNames = CommandNames | EventOnlyNames;
export type EventData<T extends EventNames> = CommandAndEventMappings[T];
/**
* This type is a discriminated union which contains all the possible commands that can be triggered via {@link AppContext.triggerCommand}.
*/
export type CommandNames = keyof CommandMappings;
type FilterByValueType<T, ValueType> = { [K in keyof T]: T[K] extends ValueType ? K : never }[keyof T];
/**
* Generic which filters {@link CommandNames} to provide only those commands that take in as data the desired implementation of {@link CommandData}. Mostly useful for contextual menu, to enforce consistency in the commands.
*/
export type FilteredCommandNames<T extends CommandData> = keyof Pick<CommandMappings, FilterByValueType<CommandMappings, T>>;
export class AppContext extends Component {
isMainWindow: boolean;
components: Component[];
beforeUnloadListeners: WeakRef<BeforeUploadListener>[];
tabManager!: TabManager;
layout?: Layout;
noteTreeWidget?: NoteTreeWidget;
lastSearchString?: string;
constructor(isMainWindow: boolean) {
super();
this.isMainWindow = isMainWindow;
// non-widget/layout components needed for the application
this.components = [];
this.beforeUnloadListeners = [];
}
/**
* Must be called as soon as possible, before the creation of any components since this method is in charge of initializing the locale. Any attempts to read translation before this method is called will result in `undefined`.
*/
async earlyInit() {
await options.initializedPromise;
await initLocale();
}
setLayout(layout: Layout) {
this.layout = layout;
}
async start() {
this.initComponents();
this.renderWidgets();
await froca.initializedPromise;
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(),
new StartupChecks()
];
if (utils.isMobile()) {
this.components.push(new MobileScreenSwitcherExecutor());
}
for (const component of this.components) {
this.child(component);
}
if (utils.isElectron()) {
this.child(zoomComponent);
}
if (hasTouchBar) {
this.child(new TouchBarComponent());
}
}
renderWidgets() {
if (!this.layout) {
throw new Error("Missing layout.");
}
const rootWidget = this.layout.getRootWidget(this);
const $renderedWidget = rootWidget.render();
keyboardActionsService.updateDisplayedShortcuts($renderedWidget);
$("body").append($renderedWidget);
$renderedWidget.on("click", "[data-trigger-command]", function () {
if ($(this).hasClass("disabled")) {
return;
}
const commandName = $(this).attr("data-trigger-command");
const $component = $(this).closest(".component");
const component = $component.prop("component");
component.triggerCommand(commandName, { $el: $(this) });
});
this.child(rootWidget);
this.triggerEvent("initialRenderComplete", {});
}
triggerEvent<K extends EventNames>(name: K, data: EventData<K>) {
return this.handleEvent(name, data);
}
triggerCommand<K extends CommandNames>(name: K, _data?: CommandMappings[K]) {
const data = _data || {};
for (const executor of this.components) {
const fun = (executor as any)[`${name}Command`];
if (fun) {
return executor.callMethod(fun, data);
}
}
// this might hint at error, but sometimes this is used by components which are at different places
// in the component tree to communicate with each other
console.debug(`Unhandled command ${name}, converting to event.`);
return this.triggerEvent(name, data as CommandAndEventMappings[K]);
}
getComponentByEl(el: HTMLElement) {
return $(el).closest(".component").prop("component");
}
addBeforeUnloadListener(obj: BeforeUploadListener) {
if (typeof WeakRef !== "function") {
// older browsers don't support WeakRef
return;
}
this.beforeUnloadListeners.push(new WeakRef<BeforeUploadListener>(obj));
}
}
const appContext = new AppContext(window.glob.isMainWindow);
// we should save all outstanding changes before the page/app is closed
$(window).on("beforeunload", () => {
let allSaved = true;
appContext.beforeUnloadListeners = appContext.beforeUnloadListeners.filter((wr) => !!wr.deref());
for (const weakRef of appContext.beforeUnloadListeners) {
const component = weakRef.deref();
if (!component) {
continue;
}
if (!component.beforeUnloadEvent()) {
console.log(`Component ${component.componentId} is not finished saving its state.`);
toast.showMessage(t("app_context.please_wait_for_save"), 10000);
allSaved = false;
}
}
if (!allSaved) {
return "some string";
}
});
$(window).on("hashchange", function () {
const { notePath, ntxId, viewScope, searchString } = linkService.parseNavigationStateFromUrl(window.location.href);
if (notePath || ntxId) {
appContext.tabManager.switchToNoteContext(ntxId, notePath, viewScope);
} else if (searchString) {
appContext.triggerCommand("searchNotes", { searchString });
}
});
export default appContext;

@ -0,0 +1,129 @@
import utils from "../services/utils.js";
import type { CommandMappings, CommandNames, EventData, EventNames } from "./app_context.js";
/**
* Abstract class for all components in the Trilium's frontend.
*
* Contains also event implementation with following properties:
* - event / command distribution is synchronous which among others mean that events are well-ordered - event
* which was sent out first will also be processed first by the component
* - execution of the event / command is asynchronous - each component executes the event on its own without regard for
* other components.
* - although the execution is async, we are collecting all the promises, and therefore it is possible to wait until the
* event / command is executed in all components - by simply awaiting the `triggerEvent()`.
*/
export class TypedComponent<ChildT extends TypedComponent<ChildT>> {
$widget!: JQuery<HTMLElement>;
componentId: string;
children: ChildT[];
initialized: Promise<void> | null;
parent?: TypedComponent<any>;
_position!: number;
constructor() {
this.componentId = `${this.sanitizedClassName}-${utils.randomString(8)}`;
this.children = [];
this.initialized = null;
}
get sanitizedClassName() {
// webpack mangles names and sometimes uses unsafe characters
return this.constructor.name.replace(/[^A-Z0-9]/gi, "_");
}
get position() {
return this._position;
}
set position(newPosition: number) {
this._position = newPosition;
}
setParent(parent: TypedComponent<any>) {
this.parent = parent;
return this;
}
child(...components: ChildT[]) {
for (const component of components) {
component.setParent(this);
this.children.push(component);
}
return this;
}
handleEvent<T extends EventNames>(name: T, data: EventData<T>): Promise<unknown[] | unknown> | null | undefined {
try {
const callMethodPromise = this.initialized ? this.initialized.then(() => this.callMethod((this as any)[`${name}Event`], data)) : this.callMethod((this as any)[`${name}Event`], data);
const childrenPromise = this.handleEventInChildren(name, data);
// don't create promises if not needed (optimization)
return callMethodPromise && childrenPromise ? Promise.all([callMethodPromise, childrenPromise]) : callMethodPromise || childrenPromise;
} catch (e: any) {
console.error(`Handling of event '${name}' failed in ${this.constructor.name} with error ${e.message} ${e.stack}`);
return null;
}
}
triggerEvent<T extends EventNames>(name: T, data: EventData<T>): Promise<unknown> | undefined | null {
return this.parent?.triggerEvent(name, data);
}
handleEventInChildren<T extends EventNames>(name: T, data: EventData<T>): Promise<unknown[] | unknown> | null {
const promises: Promise<unknown>[] = [];
for (const child of this.children) {
const ret = child.handleEvent(name, data) as Promise<void>;
if (ret) {
promises.push(ret);
}
}
// don't create promises if not needed (optimization)
return promises.length > 0 ? Promise.all(promises) : null;
}
triggerCommand<K extends CommandNames>(name: K, data?: CommandMappings[K]): Promise<unknown> | undefined | null {
const fun = (this as any)[`${name}Command`];
if (fun) {
return this.callMethod(fun, data);
} else {
if (!this.parent) {
throw new Error(`Component "${this.componentId}" does not have a parent attached to propagate a command.`);
}
return this.parent.triggerCommand(name, data);
}
}
callMethod(fun: (arg: unknown) => Promise<unknown>, data: unknown) {
if (typeof fun !== "function") {
return;
}
const startTime = Date.now();
const promise = fun.call(this, data);
const took = Date.now() - startTime;
if (glob.isDev && took > 20) {
// measuring only sync handlers
console.log(`Call to ${fun.name} in ${this.componentId} took ${took}ms`);
}
if (glob.isDev && promise) {
return utils.timeLimit(promise, 20000, `Time limit failed on ${this.constructor.name} with ${fun.name}`);
}
return promise;
}
}
export default class Component extends TypedComponent<Component> {}

@ -0,0 +1,233 @@
import utils from "../services/utils.js";
import dateNoteService from "../services/date_notes.js";
import protectedSessionHolder from "../services/protected_session_holder.js";
import server from "../services/server.js";
import appContext, { type NoteCommandData } from "./app_context.js";
import Component from "./component.js";
import toastService from "../services/toast.js";
import ws from "../services/ws.js";
import bundleService from "../services/bundle.js";
import froca from "../services/froca.js";
import linkService from "../services/link.js";
import { t } from "../services/i18n.js";
import type FNote from "../entities/fnote.js";
// TODO: Move somewhere else nicer.
export type SqlExecuteResults = string[][][];
// TODO: Deduplicate with server.
interface SqlExecuteResponse {
success: boolean;
error?: string;
results: SqlExecuteResults;
}
// TODO: Deduplicate with server.
interface CreateChildrenResponse {
note: FNote;
}
export default class Entrypoints extends Component {
constructor() {
super();
if (jQuery.hotkeys) {
// hot keys are active also inside inputs and content editables
jQuery.hotkeys.options.filterInputAcceptingElements = false;
jQuery.hotkeys.options.filterContentEditable = false;
jQuery.hotkeys.options.filterTextInputs = false;
}
}
openDevToolsCommand() {
if (utils.isElectron()) {
utils.dynamicRequire("@electron/remote").getCurrentWindow().toggleDevTools();
}
}
async createNoteIntoInboxCommand() {
const inboxNote = await dateNoteService.getInboxNote();
if (!inboxNote) {
console.warn("Missing inbox note.");
return;
}
const { note } = await server.post<CreateChildrenResponse>(`notes/${inboxNote.noteId}/children?target=into`, {
content: "",
type: "text",
isProtected: inboxNote.isProtected && protectedSessionHolder.isProtectedSessionAvailable()
});
await ws.waitForMaxKnownEntityChangeId();
await appContext.tabManager.openTabWithNoteWithHoisting(note.noteId, { activate: true });
appContext.triggerEvent("focusAndSelectTitle", { isNewNote: true });
}
async toggleNoteHoistingCommand({ noteId = appContext.tabManager.getActiveContextNoteId() }) {
const activeNoteContext = appContext.tabManager.getActiveContext();
if (!activeNoteContext || !noteId) {
return;
}
const noteToHoist = await froca.getNote(noteId);
if (noteToHoist?.noteId === activeNoteContext.hoistedNoteId) {
await activeNoteContext.unhoist();
} else if (noteToHoist?.type !== "search") {
await activeNoteContext.setHoistedNoteId(noteId);
}
}
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);
}
}
async unhoistCommand() {
const activeNoteContext = appContext.tabManager.getActiveContext();
if (activeNoteContext) {
activeNoteContext.unhoist();
}
}
copyWithoutFormattingCommand() {
utils.copySelectionToClipboard();
}
toggleFullscreenCommand() {
if (utils.isElectron()) {
const win = utils.dynamicRequire("@electron/remote").getCurrentWindow();
if (win.isFullScreenable()) {
win.setFullScreen(!win.isFullScreen());
}
} // outside of electron this is handled by the browser
}
reloadFrontendAppCommand() {
utils.reloadFrontendApp();
}
async logoutCommand() {
await server.post("../logout");
window.location.replace(`/login`);
}
backInNoteHistoryCommand() {
if (utils.isElectron()) {
// standard JS version does not work completely correctly in electron
const webContents = utils.dynamicRequire("@electron/remote").getCurrentWebContents();
const activeIndex = parseInt(webContents.navigationHistory.getActiveIndex());
webContents.goToIndex(activeIndex - 1);
} else {
window.history.back();
}
}
forwardInNoteHistoryCommand() {
if (utils.isElectron()) {
// standard JS version does not work completely correctly in electron
const webContents = utils.dynamicRequire("@electron/remote").getCurrentWebContents();
const activeIndex = parseInt(webContents.navigationHistory.getActiveIndex());
webContents.goToIndex(activeIndex + 1);
} else {
window.history.forward();
}
}
async switchToDesktopVersionCommand() {
utils.setCookie("trilium-device", "desktop");
utils.reloadFrontendApp("Switching to desktop version");
}
async switchToMobileVersionCommand() {
utils.setCookie("trilium-device", "mobile");
utils.reloadFrontendApp("Switching to mobile version");
}
async openInWindowCommand({ notePath, hoistedNoteId, viewScope }: NoteCommandData) {
const extraWindowHash = linkService.calculateHash({ notePath, hoistedNoteId, viewScope });
if (utils.isElectron()) {
const { ipcRenderer } = utils.dynamicRequire("electron");
ipcRenderer.send("create-extra-window", { extraWindowHash });
} else {
const url = `${window.location.protocol}//${window.location.host}${window.location.pathname}?extraWindow=1${extraWindowHash}`;
window.open(url, "", "width=1000,height=800");
}
}
async openNewWindowCommand() {
this.openInWindowCommand({ notePath: "", hoistedNoteId: "root" });
}
async runActiveNoteCommand() {
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") {
return;
}
// TODO: use note.executeScript()
if (note.mime.endsWith("env=frontend")) {
await bundleService.getAndExecuteBundle(note.noteId);
} else if (note.mime.endsWith("env=backend")) {
await server.post(`script/run/${note.noteId}`);
} else if (note.mime === "text/x-sqlite;schema=trilium") {
const resp = await server.post<SqlExecuteResponse>(`sql/execute/${note.noteId}`);
if (!resp.success) {
toastService.showError(t("entrypoints.sql-error", { message: resp.error }));
}
await appContext.triggerEvent("sqlQueryResults", { ntxId: ntxId, results: resp.results });
}
toastService.showMessage(t("entrypoints.note-executed"));
}
hideAllPopups() {
if (utils.isDesktop()) {
$(".aa-input").autocomplete("close");
}
}
noteSwitchedEvent() {
this.hideAllPopups();
}
activeContextChangedEvent() {
this.hideAllPopups();
}
async forceSaveRevisionCommand() {
const noteId = appContext.tabManager.getActiveContextNoteId();
await server.post(`notes/${noteId}/revision`);
toastService.showMessage(t("entrypoints.note-revision-created"));
}
}

@ -0,0 +1,8 @@
import type { MenuCommandItem } from "../menus/context_menu.js";
import type { CommandNames } from "./app_context.js";
type ListenerReturnType = void | Promise<void>;
export interface SelectMenuItemEventListener<T extends CommandNames> {
selectMenuItemHandler(item: MenuCommandItem<T>): ListenerReturnType;
}

@ -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
});
}
}

@ -0,0 +1,15 @@
import Component from "./component.js";
import type { CommandListener, CommandListenerData } from "./app_context.js";
export type Screen = "detail" | "tree";
export default class MobileScreenSwitcherExecutor extends Component implements CommandListener<"setActiveScreen"> {
private activeScreen?: Screen;
setActiveScreenCommand({ screen }: CommandListenerData<"setActiveScreen">) {
if (screen !== this.activeScreen) {
this.activeScreen = screen;
this.triggerEvent("activeScreenChanged", { activeScreen: screen });
}
}
}

@ -0,0 +1,416 @@
import protectedSessionHolder from "../services/protected_session_holder.js";
import server from "../services/server.js";
import utils from "../services/utils.js";
import appContext, { type EventData, type EventListener } from "./app_context.js";
import treeService from "../services/tree.js";
import Component from "./component.js";
import froca from "../services/froca.js";
import hoistedNoteService from "../services/hoisted_note.js";
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 = (editor: CKTextEditor) => void;
class NoteContext extends Component implements EventListener<"entitiesReloaded"> {
ntxId: string | null;
hoistedNoteId: string;
mainNtxId: string | null;
notePath?: string | null;
noteId?: string | null;
parentNoteId?: string | null;
viewScope?: ViewScope;
constructor(ntxId: string | null = null, hoistedNoteId: string = "root", mainNtxId: string | null = null) {
super();
this.ntxId = ntxId || NoteContext.generateNtxId();
this.hoistedNoteId = hoistedNoteId;
this.mainNtxId = mainNtxId;
this.resetViewScope();
}
static generateNtxId() {
return utils.randomString(6);
}
setEmpty() {
this.notePath = null;
this.noteId = null;
this.parentNoteId = null;
// hoisted note is kept intentionally
this.triggerEvent("noteSwitched", {
noteContext: this,
notePath: this.notePath
});
this.resetViewScope();
}
isEmpty() {
return !this.noteId;
}
async setNote(inputNotePath: string | undefined, opts: SetNoteOpts = {}) {
opts.triggerSwitchEvent = opts.triggerSwitchEvent !== undefined ? opts.triggerSwitchEvent : true;
opts.viewScope = opts.viewScope || {};
opts.viewScope.viewMode = opts.viewScope.viewMode || "default";
if (!inputNotePath) {
return;
}
const resolvedNotePath = await this.getResolvedNotePath(inputNotePath);
if (!resolvedNotePath) {
return;
}
if (this.notePath === resolvedNotePath && utils.areObjectsEqual(this.viewScope, opts.viewScope)) {
return;
}
await this.triggerEvent("beforeNoteSwitch", { noteContext: this });
closeActiveDialog();
this.notePath = resolvedNotePath;
this.viewScope = opts.viewScope;
({ noteId: this.noteId, parentNoteId: this.parentNoteId } = treeService.getNoteIdAndParentIdFromUrl(resolvedNotePath));
this.saveToRecentNotes(resolvedNotePath);
protectedSessionHolder.touchProtectedSessionIfNecessary(this.note);
if (opts.triggerSwitchEvent) {
await this.triggerEvent("noteSwitched", {
noteContext: this,
notePath: this.notePath
});
}
await this.setHoistedNoteIfNeeded();
if (utils.isMobile()) {
this.triggerCommand("setActiveScreen", { screen: "detail" });
}
}
async setHoistedNoteIfNeeded() {
if (this.hoistedNoteId === "root" && this.notePath?.startsWith("root/_hidden") && !this.note?.isLabelTruthy("keepCurrentHoisting")) {
// hidden subtree displays only when hoisted, so it doesn't make sense to keep root as hoisted note
let hoistedNoteId = "_hidden";
if (this.note?.isLaunchBarConfig()) {
hoistedNoteId = "_lbRoot";
} else if (this.note?.isOptions()) {
hoistedNoteId = "_options";
}
await this.setHoistedNoteId(hoistedNoteId);
}
}
getSubContexts() {
return appContext.tabManager.noteContexts.filter((nc) => nc.ntxId === this.ntxId || nc.mainNtxId === this.ntxId);
}
/**
* A main context represents a tab and also the first split. Further splits are the children contexts of the main context.
* Imagine you have a tab with 3 splits, each showing notes A, B, C (in this order).
* In such a scenario, A context is the main context (also representing the tab as a whole), and B, C are the children
* of context A.
*
* @returns {boolean} true if the context is main (= tab)
*/
isMainContext() {
// if null, then this is a main context
return !this.mainNtxId;
}
/**
* See docs for isMainContext() for better explanation.
*
* @returns {NoteContext}
*/
getMainContext() {
if (this.mainNtxId) {
try {
return appContext.tabManager.getNoteContextById(this.mainNtxId);
} catch (e) {
this.mainNtxId = null;
return this;
}
} else {
return this;
}
}
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) {
await server.post("recent-notes", {
noteId: this.note?.noteId,
notePath: this.notePath
});
utils.reloadTray();
}
}, 5000);
}
async getResolvedNotePath(inputNotePath: string) {
const resolvedNotePath = await treeService.resolveNotePath(inputNotePath, this.hoistedNoteId);
if (!resolvedNotePath) {
logError(`Cannot resolve note path ${inputNotePath}`);
return;
}
if ((await hoistedNoteService.checkNoteAccess(resolvedNotePath, this)) === false) {
return; // note is outside of hoisted subtree and user chose not to unhoist
}
return resolvedNotePath;
}
get note(): FNote | null {
if (!this.noteId || !(this.noteId in froca.notes)) {
return null;
}
return froca.notes[this.noteId];
}
/** @returns {string[]} */
get notePathArray() {
return this.notePath ? this.notePath.split("/") : [];
}
isActive() {
return appContext.tabManager.activeNtxId === this.ntxId;
}
getPojoState() {
if (this.hoistedNoteId !== "root") {
// keeping empty hoisted tab is esp. important for mobile (e.g. opened launcher config)
if (!this.notePath && this.getSubContexts().length === 0) {
return null;
}
}
return {
ntxId: this.ntxId,
mainNtxId: this.mainNtxId,
notePath: this.notePath,
hoistedNoteId: this.hoistedNoteId,
active: this.isActive(),
viewScope: this.viewScope
};
}
async unhoist() {
await this.setHoistedNoteId("root");
}
async setHoistedNoteId(noteIdToHoist: string) {
if (this.hoistedNoteId === noteIdToHoist) {
return;
}
this.hoistedNoteId = noteIdToHoist;
if (!this.notePathArray?.includes(noteIdToHoist)) {
await this.setNote(noteIdToHoist);
}
await this.triggerEvent("hoistedNoteChanged", {
noteId: noteIdToHoist,
ntxId: this.ntxId
});
}
/** @returns {Promise<boolean>} */
async isReadOnly() {
if (this?.viewScope?.readOnlyTemporarilyDisabled) {
return false;
}
// "readOnly" is a state valid only for text/code notes
if (!this.note || (this.note.type !== "text" && this.note.type !== "code")) {
return false;
}
if (options.is("databaseReadonly")) {
return true;
}
if (this.note.isLabelTruthy("readOnly")) {
return true;
}
if (this.viewScope?.viewMode === "source") {
return true;
}
// 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 viewScope = this.viewScope!;
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">) {
if (this.noteId && loadResults.isNoteReloaded(this.noteId)) {
const noteRow = loadResults.getEntityRow("notes", this.noteId);
if (noteRow.isDeleted) {
this.noteId = null;
this.notePath = null;
this.triggerEvent("noteSwitched", {
noteContext: this,
notePath: this.notePath
});
}
}
}
hasNoteList() {
return (
this.note &&
["default", "contextual-help"].includes(this.viewScope?.viewMode ?? "") &&
(this.note.hasChildren() || this.note.getLabelValue("viewType") === "calendar") &&
["book", "text", "code"].includes(this.note.type) &&
this.note.mime !== "text/x-sqlite;schema=trilium" &&
!this.note.isLabelTruthy("hideChildrenOverview")
);
}
async getTextEditor(callback?: GetTextEditorCallback) {
return this.timeout<CKTextEditor>(
new Promise((resolve) =>
appContext.triggerCommand("executeWithTextEditor", {
callback,
resolve,
ntxId: this.ntxId
})
)
);
}
async getCodeEditor() {
return this.timeout(
new Promise<CodeMirror>((resolve) =>
appContext.triggerCommand("executeWithCodeEditor", {
resolve,
ntxId: this.ntxId
})
)
);
}
/**
* Returns a promise which will retrieve the JQuery element of the content of this note context.
*
* Do note that retrieving the content element needs to be handled by the type widget, which is the one which
* provides the content element by listening to the `executeWithContentElement` event. Not all note types support
* this.
*
* If no content could be determined `null` is returned instead.
*/
async getContentElement() {
return this.timeout<JQuery<HTMLElement>>(
new Promise((resolve) =>
appContext.triggerCommand("executeWithContentElement", {
resolve,
ntxId: this.ntxId
})
)
);
}
async getTypeWidget() {
return this.timeout(
new Promise<TypeWidget | null>((resolve) =>
appContext.triggerCommand("executeWithTypeWidget", {
resolve,
ntxId: this.ntxId
})
)
);
}
timeout<T>(promise: Promise<T | null>) {
return Promise.race([promise, new Promise((res) => setTimeout(() => res(null), 200))]) as Promise<T>;
}
resetViewScope() {
// view scope contains data specific to one note context and one "view".
// it is used to e.g., make read-only note temporarily editable or to hide TOC
// this is reset after navigating to a different note
this.viewScope = {};
}
async getNavigationTitle() {
if (!this.note) {
return null;
}
const { note, viewScope } = this;
const isNormalView = (viewScope?.viewMode === "default" || viewScope?.viewMode === "contextual-help");
let title = (isNormalView ? note.title : `${note.title}: ${viewScope?.viewMode}`);
if (viewScope?.attachmentId) {
// assuming the attachment has been already loaded
const attachment = await note.getAttachmentById(viewScope.attachmentId);
if (attachment) {
title += `: ${attachment.title}`;
}
}
return title;
}
}
export default NoteContext;

@ -0,0 +1,263 @@
import Component from "./component.js";
import appContext, { type CommandData, type CommandListenerData } from "./app_context.js";
import dateNoteService from "../services/date_notes.js";
import treeService from "../services/tree.js";
import openService from "../services/open.js";
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() {
const noteContext = appContext.tabManager.getActiveContext();
if (noteContext?.viewScope) {
noteContext.viewScope.readOnlyTemporarilyDisabled = true;
appContext.triggerEvent("readOnlyTemporarilyDisabled", { noteContext });
}
}
async showSQLConsoleCommand() {
const sqlConsoleNote = await dateNoteService.createSqlConsole();
if (!sqlConsoleNote) {
return;
}
const noteContext = await appContext.tabManager.openTabWithNoteWithHoisting(sqlConsoleNote.noteId, { activate: true });
appContext.triggerEvent("focusOnDetail", { ntxId: noteContext.ntxId });
}
async searchNotesCommand({ searchString, ancestorNoteId }: CommandListenerData<"searchNotes">) {
const searchNote = await dateNoteService.createSearchNote({ searchString, ancestorNoteId });
if (!searchNote) {
return;
}
// force immediate search
await froca.loadSearchNote(searchNote.noteId);
const noteContext = await appContext.tabManager.openTabWithNoteWithHoisting(searchNote.noteId, {
activate: true
});
appContext.triggerCommand("focusOnSearchDefinition", { ntxId: noteContext.ntxId });
}
async searchInSubtreeCommand({ notePath }: CommandListenerData<"searchInSubtree">) {
const noteId = treeService.getNoteIdFromUrl(notePath);
this.searchNotesCommand({ ancestorNoteId: noteId });
}
openNoteExternallyCommand() {
const noteId = appContext.tabManager.getActiveContextNoteId();
const mime = appContext.tabManager.getActiveContextNoteMime();
if (noteId) {
openService.openNoteExternally(noteId, mime || "");
}
}
openNoteCustomCommand() {
const noteId = appContext.tabManager.getActiveContextNoteId();
const mime = appContext.tabManager.getActiveContextNoteMime();
if (noteId) {
openService.openNoteCustom(noteId, mime || "");
}
}
enterProtectedSessionCommand() {
protectedSessionService.enterProtectedSession();
}
leaveProtectedSessionCommand() {
protectedSessionService.leaveProtectedSession();
}
hideLeftPaneCommand() {
appContext.triggerEvent("setLeftPaneVisibility", { leftPaneVisible: false });
}
showLeftPaneCommand() {
appContext.triggerEvent("setLeftPaneVisibility", { leftPaneVisible: true });
}
toggleLeftPaneCommand() {
appContext.triggerEvent("setLeftPaneVisibility", { leftPaneVisible: null });
}
async showBackendLogCommand() {
await appContext.tabManager.openTabWithNoteWithHoisting("_backendLog", { activate: true });
}
async showHelpCommand() {
await this.showAndHoistSubtree("_help");
}
async showLaunchBarSubtreeCommand() {
const rootNote = utils.isMobile() ? "_lbMobileRoot" : "_lbRoot";
await this.showAndHoistSubtree(rootNote);
this.showLeftPaneCommand();
}
async showShareSubtreeCommand() {
await this.showAndHoistSubtree("_share");
}
async showHiddenSubtreeCommand() {
await this.showAndHoistSubtree("_hidden");
}
async showOptionsCommand({ section }: CommandListenerData<"showOptions">) {
await appContext.tabManager.openContextWithNote(section || "_options", {
activate: true,
hoistedNoteId: "_options"
});
}
async showSQLConsoleHistoryCommand() {
await this.showAndHoistSubtree("_sqlConsole");
}
async showSearchHistoryCommand() {
await this.showAndHoistSubtree("_search");
}
async showAndHoistSubtree(subtreeNoteId: string) {
await appContext.tabManager.openContextWithNote(subtreeNoteId, {
activate: true,
hoistedNoteId: subtreeNoteId
});
}
async showNoteSourceCommand() {
const notePath = appContext.tabManager.getActiveContextNotePath();
if (notePath) {
await appContext.tabManager.openTabWithNoteWithHoisting(notePath, {
activate: true,
viewScope: {
viewMode: "source"
}
});
}
}
async showAttachmentsCommand() {
const notePath = appContext.tabManager.getActiveContextNotePath();
if (notePath) {
await appContext.tabManager.openTabWithNoteWithHoisting(notePath, {
activate: true,
viewScope: {
viewMode: "attachments"
}
});
}
}
async showAttachmentDetailCommand() {
const notePath = appContext.tabManager.getActiveContextNotePath();
if (notePath) {
await appContext.tabManager.openTabWithNoteWithHoisting(notePath, {
activate: true,
viewScope: {
viewMode: "attachments"
}
});
}
}
toggleTrayCommand() {
if (!utils.isElectron()) return;
const { BrowserWindow } = utils.dynamicRequire("@electron/remote");
const windows = BrowserWindow.getAllWindows() as Electron.BaseWindow[];
const isVisible = windows.every((w) => w.isVisible());
const action = isVisible ? "hide" : "show";
for (const window of windows) window[action]();
}
toggleZenModeCommand() {
const $body = $("body");
$body.toggleClass("zen");
const isEnabled = $body.hasClass("zen");
appContext.triggerEvent("zenModeChanged", { isEnabled });
}
firstTabCommand() {
this.#goToTab(1);
}
secondTabCommand() {
this.#goToTab(2);
}
thirdTabCommand() {
this.#goToTab(3);
}
fourthTabCommand() {
this.#goToTab(4);
}
fifthTabCommand() {
this.#goToTab(5);
}
sixthTabCommand() {
this.#goToTab(6);
}
seventhTabCommand() {
this.#goToTab(7);
}
eigthTabCommand() {
this.#goToTab(8);
}
ninthTabCommand() {
this.#goToTab(9);
}
lastTabCommand() {
this.#goToTab(Number.POSITIVE_INFINITY);
}
#goToTab(tabNumber: number) {
const mainNoteContexts = appContext.tabManager.getMainNoteContexts();
const index = tabNumber === Number.POSITIVE_INFINITY ? mainNoteContexts.length - 1 : tabNumber - 1;
const tab = mainNoteContexts[index];
if (tab) {
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,44 @@
import appContext, { type EventData, type EventListener } from "./app_context.js";
import shortcutService from "../services/shortcuts.js";
import server from "../services/server.js";
import Component from "./component.js";
import froca from "../services/froca.js";
import type { AttributeRow } from "../services/load_results.js";
export default class ShortcutComponent extends Component implements EventListener<"entitiesReloaded"> {
constructor() {
super();
server.get<AttributeRow[]>("keyboard-shortcuts-for-notes").then((shortcutAttributes) => {
for (const attr of shortcutAttributes) {
this.bindNoteShortcutHandler(attr);
}
});
}
bindNoteShortcutHandler(labelOrRow: AttributeRow) {
const handler = () => appContext.tabManager.getActiveContext()?.setNote(labelOrRow.noteId);
const namespace = labelOrRow.attributeId;
if (labelOrRow.isDeleted) {
// only applicable if row
if (namespace) {
shortcutService.removeGlobalShortcut(namespace);
}
} else if (labelOrRow.value) {
shortcutService.bindGlobalShortcut(labelOrRow.value, handler, namespace);
}
}
async entitiesReloadedEvent({ loadResults }: EventData<"entitiesReloaded">) {
for (const attr of loadResults.getAttributeRows()) {
if (attr.type === "label" && attr.name === "keyboardShortcut" && attr.noteId) {
const note = await froca.getNote(attr.noteId);
// launcher shortcuts are handled specifically
if (note && attr && note.type !== "launcher") {
this.bindNoteShortcutHandler(attr);
}
}
}
}
}

@ -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();
}
}

@ -0,0 +1,68 @@
import options from "../services/options.js";
import Component from "./component.js";
import utils from "../services/utils.js";
const MIN_ZOOM = 0.5;
const MAX_ZOOM = 2.0;
class ZoomComponent extends Component {
constructor() {
super();
if (utils.isElectron()) {
options.initializedPromise.then(() => {
const zoomFactor = options.getFloat("zoomFactor");
if (zoomFactor) {
this.setZoomFactor(zoomFactor);
}
});
window.addEventListener("wheel", (event) => {
if (event.ctrlKey) {
this.setZoomFactorAndSave(this.getCurrentZoom() - event.deltaY * 0.001);
}
});
}
}
setZoomFactor(zoomFactor: string | number) {
const parsedZoomFactor = typeof zoomFactor !== "number" ? parseFloat(zoomFactor) : zoomFactor;
const webFrame = utils.dynamicRequire("electron").webFrame;
webFrame.setZoomFactor(parsedZoomFactor);
}
async setZoomFactorAndSave(zoomFactor: number) {
if (zoomFactor >= MIN_ZOOM && zoomFactor <= MAX_ZOOM) {
zoomFactor = Math.round(zoomFactor * 10) / 10;
this.setZoomFactor(zoomFactor);
await options.save("zoomFactor", zoomFactor);
} else {
console.log(`Zoom factor ${zoomFactor} outside of the range, ignored.`);
}
}
getCurrentZoom() {
return utils.dynamicRequire("electron").webFrame.getZoomFactor();
}
zoomOutEvent() {
this.setZoomFactorAndSave(this.getCurrentZoom() - 0.1);
}
zoomInEvent() {
this.setZoomFactorAndSave(this.getCurrentZoom() + 0.1);
}
zoomResetEvent() {
this.setZoomFactorAndSave(1);
}
setZoomFactorAndSaveEvent({ zoomFactor }: { zoomFactor: number }) {
this.setZoomFactorAndSave(zoomFactor);
}
}
const zoomService = new ZoomComponent();
export default zoomService;

@ -0,0 +1,117 @@
import appContext from "./components/app_context.js";
import utils from "./services/utils.js";
import noteTooltipService from "./services/note_tooltip.js";
import bundleService from "./services/bundle.js";
import toastService from "./services/toast.js";
import noteAutocompleteService from "./services/note_autocomplete.js";
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 "boxicons/css/boxicons.min.css";
import "jquery-hotkeys";
import "autocomplete.js/index_jquery.js";
await appContext.earlyInit();
bundleService.getWidgetBundlesByParent().then(async (widgetBundles) => {
// A dynamic import is required for layouts since they initialize components which require translations.
const DesktopLayout = (await import("./layouts/desktop_layout.js")).default;
appContext.setLayout(new DesktopLayout(widgetBundles));
appContext.start().catch((e) => {
toastService.showPersistent({
title: t("toast.critical-error.title"),
icon: "alert",
message: t("toast.critical-error.message", { message: e.message })
});
console.error("Critical error occured", e);
});
});
glob.setupGlobs();
if (utils.isElectron()) {
initOnElectron();
}
noteTooltipService.setupGlobalTooltip();
noteAutocompleteService.init();
if (utils.isElectron()) {
electronContextMenu.setupContextMenu();
}
function initOnElectron() {
const electron: typeof Electron = utils.dynamicRequire("electron");
electron.ipcRenderer.on("globalShortcut", async (event, actionName) => appContext.triggerCommand(actionName));
electron.ipcRenderer.on("openInSameTab", async (event, noteId) => appContext.tabManager.openInSameTab(noteId));
const electronRemote: typeof ElectronRemote = utils.dynamicRequire("@electron/remote");
const currentWindow = electronRemote.getCurrentWindow();
const style = window.getComputedStyle(document.body);
initDarkOrLightMode(style);
initTransparencyEffects(style, currentWindow);
if (options.get("nativeTitleBarVisible") !== "true") {
initTitleBarButtons(style, currentWindow);
}
}
function initTitleBarButtons(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {
if (window.glob.platform === "win32") {
const applyWindowsOverlay = () => {
const color = style.getPropertyValue("--native-titlebar-background");
const symbolColor = style.getPropertyValue("--native-titlebar-foreground");
if (color && symbolColor) {
currentWindow.setTitleBarOverlay({ color, symbolColor });
}
};
applyWindowsOverlay();
// Register for changes to the native title bar colors.
window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change", applyWindowsOverlay);
}
if (window.glob.platform === "darwin") {
const xOffset = parseInt(style.getPropertyValue("--native-titlebar-darwin-x-offset"), 10);
const yOffset = parseInt(style.getPropertyValue("--native-titlebar-darwin-y-offset"), 10);
currentWindow.setWindowButtonPosition({ x: xOffset, y: yOffset });
}
}
function initTransparencyEffects(style: CSSStyleDeclaration, currentWindow: Electron.BrowserWindow) {
if (window.glob.platform === "win32") {
const material = style.getPropertyValue("--background-material");
// TriliumNextTODO: find a nicer way to make TypeScript happy unfortunately TS did not like Array.includes here
const bgMaterialOptions = ["auto", "none", "mica", "acrylic", "tabbed"] as const;
const foundBgMaterialOption = bgMaterialOptions.find((bgMaterialOption) => material === bgMaterialOption);
if (foundBgMaterialOption) {
currentWindow.setBackgroundMaterial(foundBgMaterialOption);
}
}
}
/**
* Informs Electron that we prefer a dark or light theme. Apart from changing prefers-color-scheme at CSS level which is a side effect,
* this fixes color issues with background effects or native title bars.
*
* @param style the root CSS element to read variables from.
*/
function initDarkOrLightMode(style: CSSStyleDeclaration) {
let themeSource: typeof nativeTheme.themeSource = "system";
const themeStyle = style.getPropertyValue("--theme-style");
if (style.getPropertyValue("--theme-style-auto") !== "true" && (themeStyle === "light" || themeStyle === "dark")) {
themeSource = themeStyle;
}
const { nativeTheme } = utils.dynamicRequire("@electron/remote") as typeof ElectronRemote;
nativeTheme.themeSource = themeSource;
}

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