Compare commits

..

2583 Commits

Author SHA1 Message Date
Adorian Doran
206905b278 style(next)/ribbon: improve the appearance of the Edited Notes list 2025-06-01 16:36:00 +03:00
Adorian Doran
e3d1eccfd6 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-01 16:15:03 +03:00
Adorian Doran
8b2c978413 style(next)/floating buttons container: fix an alignment issue 2025-06-01 16:15:00 +03:00
Elian Doran
68d094d119 docs(guide): mention geo map updates 2025-06-01 15:52:03 +03:00
Elian Doran
41b0f27420 fix(geo_map): icons for GPX waypoints 2025-06-01 15:46:33 +03:00
Elian Doran
4509ef62b5 refactor(client): fix types 2025-06-01 15:23:35 +03:00
Elian Doran
1ee10ca209 fix(geomap): missing start/end icons + add customization 2025-06-01 15:18:15 +03:00
Elian Doran
e48d6aec31 docs(release): mention bugfix 2025-06-01 14:19:20 +03:00
Elian Doran
365fd37be5 refactor(geomap): avoid parsing XML twice 2025-06-01 14:18:27 +03:00
Elian Doran
c5d64c182b fix(geomap): not rendering on desktop (closes #2085) 2025-06-01 14:11:14 +03:00
Elian Doran
96a5729b60 Merge pull request #2082 from TriliumNext/feat/llm-integration-part2
LLM integration, part 2
2025-06-01 09:17:54 +03:00
perf3ct
596f99ed0c feat(llm): do a better job with the "thinking" colors 2025-06-01 03:23:04 +00:00
perf3ct
d948ef5ed2 feat(llm): show "thinking" area in the UI 2025-06-01 03:21:48 +00:00
perf3ct
2c48a70bfb feat(llm): use ckeditor for text input area for mention support instead of textinput 2025-06-01 03:03:26 +00:00
perf3ct
3fae664877 feat(llm): add utils for excluding notes from LLM 2025-06-01 02:51:36 +00:00
perf3ct
ba98bd9097 Merge branch 'develop' into feat/llm-integration-part2 2025-05-31 10:48:00 -07:00
Elian Doran
1a2bb1e407 fix(electron): crash on some Linux distributions 2025-05-31 16:57:06 +03:00
Elian Doran
3046fe2bf2 chore(repo): clean up a few unused files 2025-05-31 14:07:33 +03:00
Elian Doran
8c02efb1bd chore(github): set vendored to true 2025-05-31 14:07:24 +03:00
Elian Doran
6c35778f3d chore(dump-db): remove shebang 2025-05-31 13:52:43 +03:00
Elian Doran
bb3102eb76 chore(github): set vendored 2025-05-31 13:52:10 +03:00
Elian Doran
5ae9f8588e Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-31 13:36:32 +03:00
Elian Doran
1b5e51b285 fix(server): entrypoint for standalone server 2025-05-31 13:36:28 +03: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 +03:00
renovate[bot]
d7cb09c71c chore(deps): update dependency openai to v4.104.0 2025-05-31 09:17:24 +00: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 +03: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 +03: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 +03:00
Elian Doran
5d7e1e1031 Merge pull request #2064 from TriliumNext/translate-cn
translate(cn): Fix some Chinese translations
2025-05-31 12:14:22 +03:00
Elian Doran
56b7965c9a refactor(codemirror): split custom tab functionality into more methods 2025-05-31 12:11:57 +03:00
Elian Doran
9e3909a5f7 fix(code): pressing tab while multiple lines are selected would replace with tab 2025-05-31 12:06:14 +03:00
Elian Doran
03de472a57 fix(codemirror): search not unfolding results 2025-05-31 11:44:10 +03:00
Elian Doran
fac8f531b8 fix(codemirror): total number of results not correct on large or folded documents 2025-05-31 11:22:04 +03:00
renovate[bot]
46d127b808 fix(deps): update dependency @codemirror/view to v6.37.1 2025-05-31 02:58:51 +00:00
renovate[bot]
60526c21fb chore(deps): update dependency ollama to v0.5.16 2025-05-31 02:58:06 +00:00
renovate[bot]
2ff1ad04ae chore(deps): update dependency @types/node to v22.15.29 2025-05-31 02:57:25 +00:00
SiriusXT
419a29372d translate(cn): Fix some Chinese translations 2025-05-31 10:55:28 +08:00
SiriusXT
b01258a8ce translate(cn): Fix some Chinese translations 2025-05-31 10:43:49 +08:00
Elian Doran
5af4d65d1f chore(server): bump node version 2025-05-31 01:32:52 +03:00
Elian Doran
33924cb7f8 chore(env): set up nvmrc 2025-05-31 01:31:13 +03:00
Elian Doran
bc58ef605f fix(llm): LLM note type should not be selectable (closes #1848) 2025-05-31 00:57:14 +03:00
Elian Doran
5d2a779817 chore(server): remove now redundant shebang 2025-05-31 00:19:06 +03:00
Elian Doran
ac384257d3 refactor(github): reorganize attributes 2025-05-31 00:17:54 +03:00
Elian Doran
5c16afbd69 chore(github): mark documentation 2025-05-31 00:08:55 +03:00
Elian Doran
af82107248 chore(github): mark demo as non-detectable 2025-05-31 00:05:46 +03:00
Elian Doran
ff2a8e8708 chore(github): mark demo as vendored 2025-05-30 23:58:17 +03:00
Elian Doran
7542038756 fix(style): context menu appearing while page is loading 2025-05-30 22:01:12 +03:00
Elian Doran
77eceabf6e Revert "style(next): fix dropdown container while app is loading"
This reverts commit 939469ba54.
2025-05-30 21:58:46 +03:00
Elian Doran
27bdb39155 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-30 21:47:19 +03:00
Elian Doran
60a298ab38 docs(release): mention documentation update 2025-05-30 21:47:17 +03:00
Elian Doran
71f5b3fd88 Merge pull request #2056 from HersheyStormBottle/patch-2
Update Packaged version for Linux.md
2025-05-30 21:46:17 +03:00
Elian Doran
355d1cfb5e chore(docs): sync 2025-05-30 21:45:45 +03:00
Elian Doran
56cf993f46 Merge remote-tracking branch 'origin/develop' into patch-2 2025-05-30 21:39:57 +03:00
Elian Doran
adc9172681 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-30 21:33:28 +03: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 +03:00
Elian Doran
939469ba54 style(next): fix dropdown container while app is loading 2025-05-30 19:22:51 +03:00
Elian Doran
b93e44a38f fix(llm): button shown even if disabled 2025-05-30 17:39:38 +03: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 +03:00
SiriusXT
7010472bea feat(tab): enable Shift + Wheel to switch tabs 2025-05-30 20:40:33 +08:00
SiriusXT
dd4cb7de7d feat(tab-row): Added smooth decay logic to ensure responsive and fluid animation 2025-05-30 20:28:17 +08:00
Elian Doran
64234aed9b docs(release): update 2025-05-30 09:18:01 +03:00
Elian Doran
74a11b5e66 Merge pull request #2055 from TriliumNext/mind-map-find
feat(mindMap): support find
2025-05-30 09:17:48 +03:00
SiriusXT
e59c972780 fix(e2e): Search works when dismissing a tab 2025-05-30 09:59:29 +08:00
perf3ct
a7906d6b99 refactor(llm): improve search tools error handling and parameter validation with clearer guidance 2025-05-30 00:23:18 +00:00
perf3ct
910c5039f4 feat(llm): add LLM guidance system for failed tool executions and validations 2025-05-30 00:15:40 +00:00
perf3ct
f04e56137b refactor(llm): improve type safety in tool calling stage and simplify tool call handling 2025-05-29 22:05:38 +00:00
perf3ct
7c63652105 feat(llm): improve type safety and error handling in tool call transformations 2025-05-29 22:03:23 +00:00
perf3ct
2f303b1ae9 feat(llm): also update OpenAI tool usage prompts 2025-05-29 21:58:03 +00:00
perf3ct
8f8b9d9e3b feat(llm): really try to coax ollama to run tools 2025-05-29 21:24:04 +00: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 +00:00
perf3ct
ba59d6b3c1 feat(llm): reduce the use of "any" in the tool calling stage 2025-05-29 21:07:12 +00:00
perf3ct
511d2c5e96 feat(llm): add empty result handling and parameter adjustment suggestions for tool execution 2025-05-29 21:04:06 +00: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 +00:00
perf3ct
f6329aab73 fix(llm): fix provider error checking 2025-05-29 20:45:27 +00: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 +03: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 +01: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 +03:00
SiriusXT
11b8c3425c feat(mindMap): support find 2025-05-29 23:09:52 +08:00
Elian Doran
c11c271aa6 style(search): remove calendar view toolbar padding 2025-05-29 17:46:22 +03:00
Elian Doran
ce3506d5d0 feat(search): display calendar view if the right viewType attribute is set 2025-05-29 17:44:00 +03:00
Elian Doran
01f6368f95 chore(search): don't render note list if no results 2025-05-29 17:41:02 +03:00
Elian Doran
5b99c8f595 fix(client): override bootstrap defaults 2025-05-29 17:19:29 +03:00
Elian Doran
af5eab4518 fix(calendar): becomes invisible if resizing while not visible 2025-05-29 15:29:05 +03:00
Elian Doran
93a1d62218 fix(sql_console): background color 2025-05-29 14:48:17 +03:00
Elian Doran
844fb3cfb7 refactor(client): use different approach for disabling code background 2025-05-29 14:45:55 +03:00
Elian Doran
e29e711861 fix(mermaid): background color of the preview 2025-05-29 14:41:50 +03:00
Elian Doran
9fadc9341a fix(mermaid): code background stuck after navigating to new note 2025-05-29 14:35:40 +03: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 +03:00
Elian Doran
b88f07c202 refactor(server): add missing override 2025-05-29 13:34:42 +03:00
Elian Doran
2309863d64 refactor(ckeditor5): remove unused method 2025-05-29 13:25:31 +03:00
Elian Doran
e70d2a25fa refactor(highlightjs): clean up unused imports 2025-05-29 13:25:21 +03:00
Elian Doran
b5f2c2d557 refactor(ckeditor5): add explicit types 2025-05-29 13:24:32 +03:00
Elian Doran
3eddb55aa2 refactor(ckeditor5): add explicit override 2025-05-29 13:22:38 +03:00
renovate[bot]
1d5ad500eb chore(deps): update dependency @typescript-eslint/eslint-plugin to ~8.33.0 2025-05-29 10:06:49 +00: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 +03:00
Elian Doran
df1d23ae4d chore(forge): build failing due to minimatch 2025-05-29 12:40:35 +03:00
Elian Doran
09003270f1 chore(codemirror): problematic provide due to types 2025-05-29 11:45:26 +03: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 +03:00
renovate[bot]
caa87df7ad chore(deps): update dependency eslint-config-ckeditor5 to v10 2025-05-29 08:08:04 +00:00
Elian Doran
27f36a438a chore(ci): run nx affected in verbose mode 2025-05-29 11:01:11 +03: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 +03:00
Elian Doran
63ea9104c6 Merge pull request #2029 from TriliumNext/refactor/typecheck_errors
Solve typecheck errors
2025-05-29 10:21:53 +03:00
Elian Doran
7651083e63 Merge remote-tracking branch 'origin/develop' into refactor/typecheck_errors 2025-05-29 09:35:12 +03:00
renovate[bot]
42e2a7ed24 fix(deps): update dependency @codemirror/view to v6.37.0 2025-05-29 06:25:34 +00: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 +03:00
renovate[bot]
d98831c408 fix(deps): update dependency globals to v16.2.0 2025-05-29 06:18:08 +00: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 +03:00
renovate[bot]
77bf898805 chore(deps): update node.js to v22.16.0 2025-05-29 06:16:15 +00: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 +03: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 +03: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 +03: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 +03: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 +03: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 +03: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 +03: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 +03:00
renovate[bot]
9de1d94924 fix(deps): update dependency yargs to v18 2025-05-29 01:47:00 +00:00
renovate[bot]
c5e1e1f87b fix(deps): update dependency mind-elixir to v4.6.0 2025-05-29 01:44:29 +00:00
renovate[bot]
70f5a1c5c5 chore(deps): update dependency node-abi to v4.9.0 2025-05-29 01:40:52 +00:00
renovate[bot]
3db7535340 chore(deps): update dependency happy-dom to v17.5.6 2025-05-29 01:39:12 +00:00
renovate[bot]
50b7046d6c fix(deps): update dependency i18next to v25.2.1 2025-05-29 01:38:27 +00:00
renovate[bot]
46ef50173b chore(deps): update dependency typedoc to v0.28.5 2025-05-29 01:37:42 +00:00
renovate[bot]
1404af9db4 chore(deps): update dependency electron to v36.3.2 2025-05-29 01:36:27 +00:00
renovate[bot]
052583c331 chore(deps): update dependency @types/react to v19.1.6 2025-05-29 01:35:46 +00:00
Elian Doran
f87e7fb577 chore(ckeditor5): missing type augmentations 2025-05-28 23:03:19 +03:00
Elian Doran
7af44f609d chore(client): fix a type error in tests 2025-05-28 21:36:00 +03:00
Elian Doran
c597ad7694 chore(client): remove unused linter for now 2025-05-28 21:15:55 +03:00
Elian Doran
395bc372ce chore(ckeditor5): type errors due to augmentation 2025-05-28 20:46:33 +03:00
Elian Doran
26c1cbeff1 chore(client): fix most type errors 2025-05-28 20:42:21 +03:00
Elian Doran
cb7aee742e chore(vscode): configure TypeScript SDK 2025-05-28 20:10:14 +03:00
Elian Doran
52a082d0e2 chore(server): align test configuration 2025-05-28 20:09:56 +03:00
Elian Doran
ff106e21cf chore(server): fix more type errors 2025-05-28 19:57:55 +03:00
Elian Doran
ba7c93967e chore(server): fix some type errors 2025-05-28 19:03:53 +03:00
Elian Doran
483e09aaa0 fix(test): avoid ELIFECYCLE by recursive calling of test 2025-05-28 18:03:02 +03:00
Elian Doran
21370f3b3e docs(release): update changelog 2025-05-28 18:01:47 +03: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 +03: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 +03:00
SiriusXT
3b09147e52 fix(math-edit): Set focus to input field when inserting math formula 2025-05-28 20:39:17 +08:00
SiriusXT
a8f94b712f fix(ts): specify array type to fix TS2345 error 2025-05-28 16:49:43 +08:00
SiriusXT
bbc77b522f fix(tab-row): Optimize tab-row scrolling experience 2025-05-28 16:46:56 +08:00
Elian Doran
05c4721bd5 chore(server): type error due to ESM vs CJS 2025-05-28 00:05:16 +03:00
Elian Doran
811f0ea2bf chore(server,desktop): re-enable strict mode 2025-05-28 00:00:59 +03:00
Elian Doran
c4e10b6eba fix(commons): not importable due to wrong meta 2025-05-27 23:49:33 +03:00
Elian Doran
8578aa26c1 chore(types): disable verbatim module syntax for now 2025-05-27 23:43:28 +03:00
Elian Doran
7972d3f31b chore(ckeditor5): fix type errors 2025-05-27 23:36:41 +03:00
Elian Doran
fe8e090b1b chore(codemirror): fix type errors 2025-05-27 23:33:45 +03:00
Elian Doran
44c502f9cc chore(deps): remove dependencies on swc 2025-05-27 23:31:29 +03:00
Elian Doran
d81ab9ea1d fix(commons): type errors 2025-05-27 23:28:09 +03:00
Elian Doran
114607f762 refactor(commons): switch to esbuild 2025-05-27 23:28:01 +03:00
Elian Doran
1893686e66 feat(ci): run typecheck 2025-05-27 23:21:26 +03:00
Elian Doran
111258b539 chore(deps): run audit 2025-05-27 22:29:19 +03:00
Elian Doran
2dfccc4929 chore(nx): expose scripts 2025-05-27 22:26:58 +03:00
Elian Doran
ef6eac6f6e chore(desktop): fix version 2025-05-27 22:26:52 +03:00
Elian Doran
8e4b3711d4 refactor(scripts): fix type errors 2025-05-27 22:25:00 +03:00
Elian Doran
7d29a6279e fix(server): exporting .zip not working in dev mode 2025-05-27 22:04:09 +03:00
Elian Doran
41b3441e42 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 22:00:53 +03:00
Elian Doran
5a6b310b27 chore(clipboard): simplify toast messages 2025-05-27 22:00:50 +03:00
Adorian Doran
eb6c122658 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 21:14:58 +03:00
Adorian Doran
9405225e69 style(next)/code blocks/copy button: refactor 2025-05-27 21:14:55 +03:00
Elian Doran
4ab297d00f refactor(editor): correct type for keystroke 2025-05-27 21:01:35 +03:00
Elian Doran
06528ec74b docs(user): add some more keyboard shortcuts 2025-05-27 21:00:13 +03:00
Elian Doran
c3e0ef3a27 docs(user): mention keyboard shortcuts 2025-05-27 20:54:17 +03:00
Elian Doran
c55a3ca898 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 20:42:29 +03:00
Elian Doran
e2a089eb7e feat(editor/move_block): support multiple keystrokes 2025-05-27 20:39:52 +03:00
Adorian Doran
8c06175c52 style(next)/action buttons: fix a bug 2025-05-27 20:36:59 +03:00
Elian Doran
27d1a87fb0 feat(editor): allow moving blocks up/down 2025-05-27 20:36:57 +03:00
Adorian Doran
8121dbed74 style(next)/code blocks/copy button: use a better layout 2025-05-27 20:36:07 +03:00
Adorian Doran
541897b1d0 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 20:15:10 +03:00
Adorian Doran
4ba99989e3 style/code blocks/copy button: optimize the layout 2025-05-27 20:14:55 +03: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 +03:00
Elian Doran
521f4c2410 docs(release): mention rootless Docker mode 2025-05-27 20:07:33 +03:00
Elian Doran
061e238a8e fix(docker/rootless): missing bash under alpine 2025-05-27 20:05:08 +03:00
Elian Doran
c46d5cc9e9 fix(docker/rootless): CRLF issues on Windows 2025-05-27 19:57:18 +03:00
Elian Doran
02fc5214a3 fix(docker/rootless): entrypoint if executable bit is not set 2025-05-27 19:52:44 +03:00
Elian Doran
a1dda3c01a Merge branch 'develop' into feat/add-rootless-dockerfiles 2025-05-27 19:34:49 +03:00
Elian Doran
46bffcaef7 Merge pull request #1973 from NickBusey/patch-1
Update Steel Blue.css
2025-05-27 19:34:21 +03:00
Elian Doran
31c95d568c chore(demo): sync 2025-05-27 19:33:46 +03: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 +03:00
Elian Doran
0e10485199 chore(demo): sync 2025-05-27 19:24:05 +03:00
Elian Doran
ad0c73d210 feat(edit-docs): read from input directory instead of the zip 2025-05-27 19:24:04 +03:00
Elian Doran
0bb294753f chore(demo): sync 2025-05-27 19:24:04 +03:00
Elian Doran
6264b9a60a fix(edit-demo): path to extracted files 2025-05-27 19:24:04 +03:00
Elian Doran
099e73b114 chore(demo): move to right directory 2025-05-27 19:24:04 +03:00
Elian Doran
7cb4cc8469 fix(edit-demo): get it to actually start 2025-05-27 19:24:04 +03:00
Elian Doran
76bc3d858c fix(edit-demo): path to demo database 2025-05-27 19:24:04 +03:00
Adorian Doran
530b2adc34 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-27 18:32:22 +03:00
Adorian Doran
b07ec68705 style/code blocks/copy button: prevent overlapping with the code block's text 2025-05-27 18:32:18 +03:00
perf3ct
405b1c5ffc fix(docs): fix bearer_token reference in metrics docs 2025-05-27 15:23:44 +00:00
Adorian Doran
75ec3934af style/code blocks/copy button: tweak appearance 2025-05-27 18:18:16 +03:00
Elian Doran
6021d33317 chore(edit-docs): split into two entrypoints 2025-05-27 14:03:54 +03:00
Elian Doran
bf082fdd40 Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-27 10:47:25 +03:00
Elian Doran
a3b6f21b4f chore(edit-docs): remove unnecessary config 2025-05-27 10:47:07 +03:00
Elian Doran
b5c99b082f docs(release): update change log 2025-05-27 09:55:24 +03: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 +03: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 +00:00
perf3ct
758b22e6b1 feat(server): remove the use of "any" for metrics endpoint 2025-05-26 20:26:03 +00:00
perf3ct
52fb5fa298 feat(server): add metrics endpoint and functionality 2025-05-26 19:50:04 +00:00
Elian Doran
a703172549 docs(release): add new entries in changelog 2025-05-26 20:54:01 +03:00
Elian Doran
3ca2b24db3 feat(client): implement clipboard fallback method 2025-05-26 20:30:32 +03:00
Elian Doran
ac0f6662a6 feat(client): improve error handling if unable to copy to clipboard 2025-05-26 20:12:38 +03:00
Elian Doran
a666e26194 feat(client): display message when copying code block in text note 2025-05-26 20:02:32 +03:00
Elian Doran
a20e171443 chore(desktop): disable emit declarations 2025-05-26 19:35:42 +03:00
Elian Doran
ba4a146b71 chore(client): fix duplicate font 2025-05-26 18:14:47 +03:00
Elian Doran
39d5c5f756 chore(server): do not emit declaration files 2025-05-26 17:50:49 +03: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 +03: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 +03:00
Elian Doran
5fcf4afcfa Merge branch 'develop' into math-edit 2025-05-26 16:39:01 +03:00
Elian Doran
cd15116f0e Revert "chore(desktop): disable electron forge rebuild"
This reverts commit dfad73ee02.
2025-05-26 16:38:11 +03:00
Elian Doran
97b3268429 Merge pull request #2023 from TriliumNext/feature/code_block_toolbar
Code block toolbar
2025-05-26 16:07:48 +03:00
Elian Doran
ca65cafe31 docs(release): mention code blocks change 2025-05-26 15:51:14 +03:00
Elian Doran
b5c09eee73 refactor(client): missing type errors for syntax highlight 2025-05-26 15:46:19 +03:00
Elian Doran
426549a189 chore(client): use translations 2025-05-26 15:40:57 +03:00
Elian Doran
612566d9d2 chore(client): use translations 2025-05-26 15:25:28 +03:00
Elian Doran
b177e7a637 feat(client/read-only-text): implement copying to clipboard 2025-05-26 15:19:53 +03:00
Elian Doran
02e2b5d4ad feat(client): add a copy button to read-only text 2025-05-26 15:17:10 +03:00
Elian Doran
4752db6bc5 style(ckeditor5/codeblock): limit language selector height 2025-05-26 12:35:38 +03:00
Elian Doran
622d026efc refactor(ckeditor5/codeblock): simplify copy clipboard plugin 2025-05-26 12:23:11 +03:00
Elian Doran
a77d89f4c7 feat(ckeditor5/codeblock): implement copy to clipboard function 2025-05-26 12:18:21 +03:00
SiriusXT
32fd575cc4 fix(math edit): preserve line breaks 2025-05-26 17:17:18 +08:00
Elian Doran
fc83f67d7c chore(ckeditor5/codeblock): add command for copying to clipboard 2025-05-26 11:37:44 +03:00
Elian Doran
5eecea52bf feat(ckeditor5/codeblock): add copy icon 2025-05-26 11:37:26 +03:00
SiriusXT
aff5a9c31d style(math): Set the default width of the math formula editing dialog 2025-05-26 16:05:27 +08:00
Elian Doran
751ed0b5d4 refactor(ckeditor5/codeblock): split dropdown into own plugin 2025-05-26 10:53:12 +03:00
Elian Doran
178ce31064 feat(ckeditor5/codeblock): add language dropdown 2025-05-26 10:09:33 +03:00
Elian Doran
a1d5719fe0 feat(ckeditor5): create an empty toolbar for code blocks 2025-05-26 09:17:35 +03:00
Elian Doran
bab679fd2a fix(edit-docs): not working under NixOS 2025-05-26 08:20:48 +03:00
Elian Doran
3091eb831a fix(client): cannot build due to import error in some circumstances 2025-05-26 08:20:39 +03: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 +03:00
Elian Doran
3d22a64b5a chore(docs): update public documentation as well 2025-05-26 08:18:54 +03: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 +03:00
Elian Doran
2f406aea83 fix(client/search): broken search in read-only text 2025-05-25 23:09:16 +03:00
Elian Doran
b4df8f75b9 fix(client/search): search broken due to highlighting 2025-05-25 23:00:53 +03:00
Elian Doran
cb8a08d590 chore(nx): run client server automatically 2025-05-25 22:20:02 +03:00
Elian Doran
aa72b6ebf6 Merge pull request #2020 from FliegendeWurst/patch-4
Update Repology table in README.md
2025-05-25 22:03:03 +03:00
Elian Doran
93c939bf08 fix(docker/rootless): main entry point extension 2025-05-25 21:48:12 +03:00
Elian Doran
b635c74d01 fix(docker/rootless): copy sequence after switch to esbuild 2025-05-25 21:47:35 +03:00
Elian Doran
84ab4dcb8b chore(docker): format Dockerfiles 2025-05-25 21:45:42 +03:00
Arne Keller
1bc2f876c2 Update Repology table in README.md 2025-05-25 20:30:42 +02:00
Elian Doran
aa10638fd8 feat(nx/server): add build/run scripts for docker rootless 2025-05-25 21:25:43 +03:00
Elian Doran
a32f355193 Merge remote-tracking branch 'origin/develop' into feat/add-rootless-dockerfiles 2025-05-25 21:22:31 +03: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 +03:00
Elian Doran
13a8c6c488 Merge branch 'develop' into renovate/electron-36.x 2025-05-25 21:13:29 +03:00
Elian Doran
0f7ea60be1 Merge branch 'develop' into math-edit 2025-05-25 21:05:47 +03: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 +03:00
Elian Doran
87f12b6e4c Merge pull request #1992 from TriliumNext/feature/server_esbuild
Convert server to ESBuild
2025-05-25 21:03:38 +03:00
Elian Doran
549ef96806 docs(release): simplify release note & add warning for manual install 2025-05-25 20:43:48 +03:00
Elian Doran
dbe16be7ad fix({desktop,edit-docs}: zip export 2025-05-25 20:38:06 +03:00
Elian Doran
3850d471c0 fix(server): CSS raw imports 2025-05-25 20:06:04 +03:00
SiriusXT
04343fbc2e Fix: Automatically close modal when dropdown is dismissed 2025-05-26 00:17:52 +08:00
Elian Doran
b0fe4f67d8 fix(edit-docs): main window not starting properly 2025-05-25 18:29:31 +03:00
Elian Doran
9688013c91 fix(server): login rendering failure 2025-05-25 17:36:53 +03:00
Elian Doran
758745f19e fix(desktop): missing tray icon 2025-05-25 16:42:00 +03:00
Elian Doran
82f94ff3e6 fix(server): wrong import for dayjs 2025-05-25 16:33:34 +03:00
Elian Doran
470cc69a85 Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-25 16:23:39 +03:00
Elian Doran
adc8e8ad73 fix(server): serving of images in dev mode 2025-05-25 14:15:12 +03:00
Elian Doran
fa9d0be651 refactor(server): async import without side effects 2025-05-25 14:09:51 +03:00
Elian Doran
e07a7d291b chore(nx): remove dependency on webpack 2025-05-25 12:24:01 +03:00
Elian Doran
f73daf5b95 chore(edit-docs): fix rebuild and entrypoint 2025-05-25 12:16:57 +03:00
Elian Doran
315224c046 chore(desktop): remove unnecessary files 2025-05-25 11:48:31 +03:00
Elian Doran
be8749d84e chore(edit-docs): switch to esbuild 2025-05-25 11:47:03 +03:00
Elian Doran
d70140c180 chore(desktop): add electron-forge:start 2025-05-25 11:00:22 +03:00
Elian Doran
6bbf808cb4 fix(desktop): @electron/remote missing in package 2025-05-25 11:00:01 +03:00
Elian Doran
f9b0df3056 chore(desktop): libraries not bundled 2025-05-25 10:12:09 +03:00
Elian Doran
469c8a0a22 chore(server-e2e): mistakenly used continuous task 2025-05-25 08:54:50 +03: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 +03:00
renovate[bot]
501cb2bb05 chore(deps): update dependency @stylistic/eslint-plugin to v4.4.0 2025-05-25 02:46:00 +00:00
Elian Doran
791a51dfe3 chore(desktop/forge): add missing fields 2025-05-24 21:57:09 +03:00
Elian Doran
72c1fb25a7 chore(desktop/forge): missing electron dependency 2025-05-24 21:50:18 +03:00
Elian Doran
601e81fb18 chore(desktop/forge): force presence of package.json 2025-05-24 21:47:57 +03:00
Elian Doran
ddda222eee chore(nx): sync tsconfig 2025-05-24 20:46:32 +03:00
Adorian Doran
04eb45f1e4 style(next)/tool buttons: improve selector specificity 2025-05-24 18:52:00 +03:00
FliegendeWurst
50d045b70e fix(client): don't save note tab context for read-only database 2025-05-24 17:43:08 +02:00
FliegendeWurst
5acdb698bb fix(server): don't optimize database in read-only mode 2025-05-24 17:35:52 +02:00
FliegendeWurst
23422731e2 fix(client): handle read-only in note tree auto-collapse 2025-05-24 17:35:52 +02:00
FliegendeWurst
bd0cb91171 feat(server): log ignored DB changes in wrapper 2025-05-24 17:35:52 +02:00
FliegendeWurst
6f5304467a fix(client): read-only handling of recent notes 2025-05-24 17:35:52 +02:00
FliegendeWurst
8d21b3a8c5 fix(client): read-only handling in canvas note 2025-05-24 17:35:52 +02:00
FliegendeWurst
923316e14e feat(client): handle read-only database 2025-05-24 17:34:04 +02:00
Adorian Doran
6aa42a0749 style(next)/mentions list: remove the border of the focused items 2025-05-24 18:17:54 +03:00
Adorian Doran
d058bbc776 style(next): add a notice 2025-05-24 18:11:23 +03:00
Adorian Doran
b258a8b60f style(next): update the colors of the mention list 2025-05-24 18:00:46 +03:00
Adorian Doran
c47f050994 style(next)/emoji dropdown: remove the background of the placeholder text 2025-05-24 16:58:52 +03:00
Adorian Doran
37fd8a7095 style/mentions list: workaround to avoid some CSS property overrides 2025-05-24 16:55:30 +03: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 +03: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 +03: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 +03: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 +03:00
Elian Doran
3bd2d865df fix(desktop): path to main 2025-05-24 15:40:29 +03:00
Elian Doran
63022c76d8 chore(desktop): avoid forge dependencies via custom package.JSON 2025-05-24 14:40:22 +03:00
Elian Doran
dfad73ee02 chore(desktop): disable electron forge rebuild 2025-05-24 12:26:32 +03:00
Elian Doran
25f214d24a fix(desktop): set proper path to main 2025-05-24 12:26:22 +03:00
renovate[bot]
81efea083b chore(deps): update dependency openai to v4.103.0 2025-05-24 02:29:08 +00:00
renovate[bot]
66afc72d19 chore(deps): update dependency electron to v36.3.1 2025-05-24 02:28:25 +00:00
renovate[bot]
1e55076228 chore(deps): update dependency @anthropic-ai/sdk to v0.52.0 2025-05-24 02:27:38 +00:00
renovate[bot]
978983eac2 fix(deps): update dependency diff to v8.0.2 2025-05-24 02:26:49 +00:00
renovate[bot]
6a6d68a11f chore(deps): update nx monorepo to v21.1.2 2025-05-24 02:25:51 +00:00
Elian Doran
56dd10bd15 fix(desktop): path to forge config 2025-05-23 23:29:54 +03:00
Elian Doran
9867d1ab9f fix(docker): reintroduce docker healthcheck 2025-05-23 22:37:16 +03:00
Elian Doran
43d9f77518 fix(desktop/esbuild): asset path not working at runtime 2025-05-23 17:56:44 +03:00
Elian Doran
64b4869939 fix(desktop/esbuild): assets & launch options 2025-05-23 17:50:28 +03:00
Elian Doran
2da3d9b1ed fix(desktop/esbuild): rebuild not working due to lack of package.json 2025-05-23 17:50:09 +03:00
Adorian Doran
45cc8aa99b style(next)/formatting toolbar: tweak the appearance of split buttons 2025-05-23 17:49:19 +03:00
Elian Doran
6f8bf58456 chore(desktop/esbuild): convert webpack config 2025-05-23 17:33:57 +03:00
Elian Doran
d7f8946c98 fix(server/esbuild): missing build dependencies 2025-05-23 17:22:15 +03:00
Elian Doran
60af6f5826 fix(server/esbuild): use separate config in order to solve dependency order issue 2025-05-23 17:11:24 +03: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 +03: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 +03:00
Elian Doran
306d75e3f3 fix(server/esbuild): runtime error due to missing jsdom 2025-05-23 16:39:34 +03:00
Adorian Doran
20c4fbc8ac style(next)/formatting toolbar: fix backdrop blur on dropdowns 2025-05-23 16:33:30 +03:00
Elian Doran
1a49a25a7d fix(docker): extension in start-docker.sh 2025-05-23 13:29:51 +03:00
SiriusXT
262ec45fe0 feat(math): support multi-line formula editing 2025-05-23 17:03:07 +08:00
Elian Doran
1abf1d3f60 chore(server/esbuild): switch to cjs to embed deps 2025-05-23 11:58:36 +03:00
Adorian Doran
ac1d56b1d6 client/formatting toolbar: fix the "Markdown import" button's icon 2025-05-23 02:03:20 +03:00
Adorian Doran
a8dbe9baef style(next)/formatting toolbar: align to right the last button group of the toolbar 2025-05-23 01:57:58 +03: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 +00:00
Adorian Doran
bb936707c3 style(next)/formatting toolbar: tweak the "Insert table" dropdown 2025-05-23 01:45:31 +03:00
Adorian Doran
df87933218 style(next)/formatting toolbar: tweak (again) the numbered list dropdown 2025-05-23 01:34:47 +03:00
Adorian Doran
beb842aec0 style(next)/formatting toolbar: tweak the numbered list dropdown 2025-05-23 01:23:35 +03: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 +03:00
Elian Doran
5501733498 refactor(server): unnecessary usage of fs-extra 2025-05-22 23:06:04 +03:00
Adorian Doran
4d0e956a09 style(next)/formatting toolbar: tweak the icon color of dropdown items 2025-05-22 23:00:43 +03:00
Adorian Doran
4651ce2c4c style(next)/formatting toolbar: tweak the checkmark for list items 2025-05-22 22:52:16 +03: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 +03:00
Elian Doran
b792816d00 fix(server/esbuild): enable code splitting to help with electron imports 2025-05-22 22:36:55 +03:00
Adorian Doran
a8738fd174 style(next)/formatting toolbar: tweak layout 2025-05-22 22:30:53 +03:00
Elian Doran
f859114231 fix(server/esbuild): dependencies not bundled 2025-05-22 21:23:09 +03:00
Adorian Doran
af5d804593 style(next)/formatting toolbar: tweak the floating toolbar show / hide button 2025-05-22 20:39:51 +03: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 +03:00
Elian Doran
867dd70c02 fix(docker): package.json missing for rebuild 2025-05-22 19:02:53 +03:00
Adorian Doran
66047e3569 style(next)/formatting toolbar: show the focus rectangle only when it is necessary 2025-05-22 19:02:30 +03:00
Adorian Doran
1981a26dd3 style(next)/formatting toolbar: tweak appearance 2025-05-22 18:52:18 +03:00
Elian Doran
c38061c67d chore(server-e2e): adjust for server timeout 2025-05-22 18:32:03 +03:00
Adorian Doran
27ddbf8a86 style(next)/formatting toolbar/color picker dropdown: fix the icon colors 2025-05-22 18:05:21 +03:00
Elian Doran
dac801b369 fix(server/esbuild): node_modules not copied 2025-05-22 16:54:19 +03:00
Elian Doran
f13ec55082 fix(server): build not depending properly 2025-05-22 16:53:27 +03:00
Elian Doran
3b9683d763 fix(server): unable to depend on src 2025-05-22 15:37:34 +03:00
Elian Doran
edc180189c Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-22 12:24:02 +03:00
Elian Doran
5444e6b9cb refactor(server): separate build config for serve 2025-05-22 11:54:29 +03: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 +03:00
renovate[bot]
90ea0cd8b0 chore(deps): update nx monorepo to v21.1.1 2025-05-22 06:18:20 +00: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 +03: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 +03: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 +03: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 +03: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 +03:00
renovate[bot]
5c0de8fec7 chore(deps): update node.js to v22.16.0 2025-05-22 01:57:05 +00:00
renovate[bot]
a6f9a4fa62 chore(deps): update dependency openai to v4.102.0 2025-05-22 01:57:00 +00:00
renovate[bot]
0878752c56 chore(deps): update dependency @types/compression to v1.8.0 2025-05-22 01:56:17 +00:00
renovate[bot]
10b59f0297 chore(deps): update dependency @types/react to v19.1.5 2025-05-22 01:54:41 +00:00
renovate[bot]
cdcc11e460 chore(deps): update dependency @swc/core to v1.11.29 2025-05-22 01:53:46 +00: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 +03:00
Adorian Doran
123f8af4c2 style(next)/formatting toolbar: document CSS 2025-05-22 00:06:53 +03:00
Adorian Doran
a1718b6613 style(next)/formatting toolbar: fix another glitch 2025-05-22 00:05:07 +03:00
Adorian Doran
492081bbbd Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-21 23:59:43 +03:00
Adorian Doran
13f2854749 style(next)/formatting toolbar: fix a glitch 2025-05-21 23:59:39 +03:00
Elian Doran
a0d099d4a2 Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-05-21 23:58:59 +03:00
Elian Doran
e1b5736214 docs(release): update changelog 2025-05-21 23:58:54 +03:00
Adorian Doran
ff63b75e3a Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-21 23:56:28 +03:00
Adorian Doran
37f712a5fc style(next)/formatting toolbar: tweak the colors of open dropdown buttons 2025-05-21 23:56:25 +03: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 +03:00
Elian Doran
2f208a8302 refactor(db-compare): type errors 2025-05-21 23:54:18 +03:00
Adorian Doran
31ed853ade style(next)/formatting toolbar: improve a CSS selector 2025-05-21 23:45:27 +03:00
Adorian Doran
6aae91ca69 style(next)/formatting toolbar: restyle the buttons in the "on" state 2025-05-21 23:40:38 +03:00
Elian Doran
9a18fea073 feat(server): add safeguard if public is missing 2025-05-21 23:31:40 +03: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 +03: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 +03:00
Elian Doran
8cf4040ca0 fix(server/esbuild): assets not copied in prod build 2025-05-21 22:44:40 +03:00
Adorian Doran
a128b681bd style(next)/formatting toolbar: tweak the "Admonition" dropdown 2025-05-21 22:06:15 +03:00
Adorian Doran
91192de9e8 style/admonitions: fix typo 2025-05-21 21:54:28 +03:00
Adorian Doran
6efc810b74 style(next)/formatting toolbar: restyle the "Admonition" dropdown 2025-05-21 21:49:55 +03:00
Adorian Doran
addafa85c3 client/formatting toolbar: add CSS classes to the "Admonition" dropdown items 2025-05-21 21:36:00 +03:00
Adorian Doran
485015103a style/admonitions: extract accent colors as CSS variables 2025-05-21 21:34:22 +03:00
FliegendeWurst
2427addf65 feat(server): override options for read-only database 2025-05-21 17:24:36 +02:00
Elian Doran
dc0409e5a8 chore(nx): sync tsconfig 2025-05-21 18:20:25 +03:00
Elian Doran
6c25471f91 fix(server): resource dir for serve mode 2025-05-21 18:20:17 +03:00
Elian Doran
4d8b9a6035 fix(server): copying of assets 2025-05-21 18:20:02 +03:00
Elian Doran
b59af770c2 fix(server): server not starting due to dependency on electron remote 2025-05-21 18:06:09 +03:00
FliegendeWurst
fd0f0196cc feat(server): add option to mount database read-only 2025-05-21 17:00:08 +02:00
Adorian Doran
8ffe44de8a style(next)/formatting toolbar: restyle collapsible dropdown sections 2025-05-21 17:43:34 +03:00
Elian Doran
45c946352e refactor(express-partial-content): port to esbuild 2025-05-21 17:31:40 +03:00
Elian Doran
9d6758b315 refactor(server); electron imports causing issues in bundle 2025-05-21 16:32:51 +03:00
Elian Doran
fe8b905922 refactor(serve): unnecessary export causing issues with types 2025-05-21 16:32:30 +03:00
Elian Doran
3b6679a744 refactor(serve): solve some more type errors 2025-05-21 16:00:57 +03:00
Elian Doran
d8cb933b2b refactor(serve): enforce same version of express-serve-static-core typings 2025-05-21 15:57:31 +03:00
Elian Doran
0a56587c75 fix(server): import issue for share template 2025-05-21 15:43:02 +03:00
Elian Doran
de83029c3a refactor(server): various type errors 2025-05-21 15:42:53 +03:00
Elian Doran
6414dd71ab refactor(server): more unaccessible types 2025-05-21 15:42:35 +03:00
Elian Doran
7aaa94d01b refactor(server): missing exports causing hidden types 2025-05-21 15:34:31 +03:00
Elian Doran
b9df707369 refactor(server): type errors due to change in API 2025-05-21 15:34:16 +03:00
Elian Doran
4acdad0a2b feat(vscode): report project-level errors 2025-05-21 15:19:13 +03:00
Elian Doran
7087b493af Merge remote-tracking branch 'origin/develop' into feature/server_esbuild 2025-05-21 15:12:56 +03:00
Adorian Doran
c771d7479f style(next)/formatting toolbar: tweak the "Font Size" dropdown 2025-05-21 15:04:18 +03:00
Elian Doran
827a8fc1b4 refactor(server): solve some build type errors 2025-05-21 13:31:07 +03:00
Elian Doran
afb3918571 refactor(server): switch to esbuild 2025-05-21 13:30:46 +03:00
SiriusXT
04bd541542 fix(markdown): Make the math formula conversion ignore formulas inside code blocks 2025-05-21 17:15:54 +08: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 +03:00
renovate[bot]
be1242c35c chore(deps): update dependency happy-dom to v17 2025-05-21 05:53:44 +00: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 +03:00
renovate[bot]
288cf2498c chore(deps): update dependency @types/node to v22.15.21 2025-05-21 05:46:56 +00: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 +03:00
renovate[bot]
6ae477590b chore(deps): update dependency happy-dom to ~15.11.0 2025-05-21 02:28:45 +00:00
Elian Doran
ef3ae56174 Merge pull request #1987 from TriliumNext/renovate/nx-monorepo 2025-05-21 00:03:03 +03:00
renovate[bot]
3409d49971 chore(deps): update nx monorepo to v21.1.0 2025-05-20 20:59:03 +00:00
Elian Doran
679c6de3c0 Merge pull request #1986 from TriliumNext/renovate/webpack-5.x 2025-05-20 23:56:17 +03:00
renovate[bot]
71b4e1b46b chore(deps): update dependency webpack to v5.99.9 2025-05-20 20:56:05 +00:00
Elian Doran
ebbfbc5510 Merge pull request #1985 from TriliumNext/renovate/npm-happy-dom-vulnerability 2025-05-20 23:56:00 +03:00
renovate[bot]
898a1461a5 chore(deps): update dependency happy-dom to v15 [security] 2025-05-20 20:55:17 +00:00
Elian Doran
ddc81cebfe Merge pull request #1988 from TriliumNext/renovate/image-type-6.x 2025-05-20 23:53:13 +03:00
renovate[bot]
b90c3284c6 chore(deps): update dependency image-type to v6 2025-05-20 17:44:04 +00:00
Elian Doran
a0a5a2c90d Merge pull request #1956 from TriliumNext/client_vite
Port client to Vite
2025-05-20 20:34:50 +03:00
Elian Doran
e573fd7fdb fix(server): serving of Excalidraw assets 2025-05-20 20:19:34 +03:00
Elian Doran
5d47d2652d test(server): broken test due to changes in path 2025-05-20 19:47:34 +03:00
Elian Doran
74a15ee6a4 fix(server): root assets path in dev mode 2025-05-20 19:34:21 +03:00
Elian Doran
61aeb2c9ff chore(server): separate port for start-prod 2025-05-20 19:16:46 +03:00
Elian Doran
303819605a fix(in-app-help): error in prod 2025-05-20 19:16:39 +03:00
Elian Doran
ccb7dc557c fix(server): missing bootstrap in prod 2025-05-20 19:16:23 +03:00
Elian Doran
9c1a65427f fix(in-app-help): rendering in dev mode 2025-05-20 18:33:25 +03:00
Elian Doran
d06b2c4c00 fix(server): @fs proxy not working correctly 2025-05-20 18:23:02 +03:00
Elian Doran
7e1eaafc25 fix(client): highlightjs not working properly in dev mode 2025-05-20 18:06:55 +03:00
SiriusXT
6a9b44e4a1 Fixed indentation 2025-05-20 22:14:30 +08:00
SiriusXT
6e8e343301 fix(import): Unable to handle multi line mathematical formulas when importing markdown 2025-05-20 22:03:40 +08:00
Elian Doran
c34b4ceba5 fix(client): wrong name for assets 2025-05-20 12:29:36 +03:00
Elian Doran
0edbc7311a chore(deps): remove cdn-assets from client 2025-05-20 12:13:32 +03:00
Elian Doran
aa298fa80b fix(client): optimizing highlightjs causes issues in prod 2025-05-20 12:12:31 +03: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 +03:00
Elian Doran
6d4c57f136 chore(deps): explicit dependency on highlight.js 2025-05-20 11:58:08 +03:00
Elian Doran
9ec08fd63f Revert "test(highlightjs): broken import"
This reverts commit c7a4c927c6.
2025-05-20 11:57:30 +03:00
Elian Doran
17187e2de1 Revert "test(highlightjs): another broken import"
This reverts commit 7743f99b6f.
2025-05-20 11:57:24 +03:00
Elian Doran
2b02c4856e Revert "fix(highlightjs): broken imports for syntax highlighting"
This reverts commit b242809eb2.
2025-05-20 11:57:17 +03:00
Elian Doran
26aba7866c Revert "fix(highlightjs): languages incorrectly imported"
This reverts commit 6286c39381.
2025-05-20 11:56:43 +03:00
Elian Doran
57108d4dfd Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-20 11:02:01 +03:00
Elian Doran
8f3d98b14b docs(release): update 2025-05-20 10:55:10 +03: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 +03: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 +03:00
Elian Doran
ff6630f236 Merge pull request #1976 from FliegendeWurst/readme-rewrite
Reorganize + rewrite readme, reducing redundancy
2025-05-20 10:48:56 +03: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 +03: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 +03: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 +03:00
renovate[bot]
528bd9ca03 fix(deps): update dependency marked to v15.0.12 2025-05-20 07:14:26 +00:00
Elian Doran
36f46e1e45 chore(deps): remove unnecessary @types 2025-05-20 10:14:16 +03:00
SiriusXT
8aa3a96857 Merge branch 'develop' into left-pane 2025-05-20 15:10:52 +08: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 +03:00
Elian Doran
571617f89e Merge branch 'develop' into renovate/leaflet-1.x 2025-05-20 10:08:26 +03: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 +03: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 +03:00
SiriusXT
025c6a4e0e fix(leftpaneVisibility): Make leftpane visibility switch no longer depend on entitiesReloadedEvent 2025-05-20 14:33:01 +08:00
FliegendeWurst
35d68b0778 Reorganize + rewrite readme, reducing redundancy 2025-05-20 08:17:03 +02:00
renovate[bot]
48f8feb6e1 chore(deps): update dependency multer to v2 2025-05-20 02:48:51 +00:00
renovate[bot]
28cc563f54 fix(deps): update dependency i18next to v25.2.0 2025-05-20 02:48:09 +00:00
renovate[bot]
167a2aff5b chore(deps): update vitest monorepo to v3.1.4 2025-05-20 02:47:21 +00:00
renovate[bot]
9ae05cb95e chore(deps): update dependency @types/leaflet to v1.9.18 2025-05-20 02:46:00 +00:00
Elian Doran
0be40012ba chore(vite): get rid of missing boxicons 2025-05-19 20:16:49 +03:00
Elian Doran
40aa71b2b4 fix(vite): serving of source assets 2025-05-19 20:04:51 +03:00
Elian Doran
e536ec4cbf fix(vite): use base path 2025-05-19 19:51:33 +03:00
Elian Doran
6286c39381 fix(highlightjs): languages incorrectly imported 2025-05-19 19:05:33 +03:00
Elian Doran
b242809eb2 fix(highlightjs): broken imports for syntax highlighting 2025-05-19 18:58:32 +03:00
Elian Doran
7743f99b6f test(highlightjs): another broken import 2025-05-19 18:49:35 +03:00
Elian Doran
c7a4c927c6 test(highlightjs): broken import 2025-05-19 18:45:43 +03:00
Elian Doran
cad6417c4d fix(client): loading app CSS no longer working 2025-05-19 18:40:04 +03:00
Elian Doran
8a1f05cd26 refactor(client): remove library loader entirely 2025-05-19 18:23:23 +03:00
SiriusXT
501fab2736 Merge branch 'develop' into left-pane 2025-05-19 23:17:43 +08:00
Elian Doran
7702a87640 fix(client/vite): highlight.js not playing well with ESM-native 2025-05-19 18:09:37 +03:00
Elian Doran
a5f0b3b9b2 Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-19 16:50:00 +03:00
Elian Doran
7d0d7e931c Merge pull request #1970 from TriliumNext/feature/highlightjs
Improve Highlight.js integration
2025-05-19 16:47:33 +03:00
Elian Doran
41533598fd Merge remote-tracking branch 'origin/develop' into client_vite 2025-05-19 16:42:11 +03:00
Elian Doran
6131ae68bb chore(highlightjs): tests not runnable 2025-05-19 16:30:00 +03:00
Elian Doran
f859b374a3 Merge remote-tracking branch 'origin/develop' into feature/highlightjs 2025-05-19 16:06:24 +03:00
Elian Doran
1e3c2e4214 fix(highlighting): theme IDs contain spaces 2025-05-19 15:01:35 +03:00
SiriusXT
fdcccb6fe4 fix(css): Add a missing semicolon 2025-05-19 18:33:26 +08:00
SiriusXT
de0d041886 fix(css): Add a missing css space 2025-05-19 18:30:39 +08:00
SiriusXT
abfdf40e43 fix(global_menu): Fix update button is blank 2025-05-19 18:27:22 +08: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 +03:00
renovate[bot]
93e168db89 chore(deps): update dependency @types/node to v22.15.19 2025-05-19 02:12:39 +00:00
Elian Doran
6b919b4f99 feat(highlighting): add tccn3 2025-05-18 22:40:59 +03:00
Elian Doran
42c61ae9cb feat(highlighting): add rpm specfile 2025-05-18 22:24:21 +03:00
Elian Doran
b80ca1eef2 feat(highlighting): add dylan 2025-05-18 22:13:58 +03:00
Elian Doran
a520e72a15 feat(highlighting): add cobol 2025-05-18 22:03:30 +03:00
Elian Doran
0572295c51 feat(highlighting): add mirc 2025-05-18 21:59:55 +03:00
Elian Doran
51545b39bb feat(highlighting): add systemverilog 2025-05-18 21:44:01 +03:00
Elian Doran
973d9c2192 feat(highlighting): add swift 2025-05-18 21:42:40 +03:00
Elian Doran
4877b4569f feat(highlighting): add scheme 2025-05-18 21:39:47 +03:00
Elian Doran
475a4d05db feat(highlighting): add scala 2025-05-18 21:39:12 +03:00
Elian Doran
59ca0e981a feat(highlighting): add perl 2025-05-18 21:36:18 +03:00
Elian Doran
755d74feff feat(highlighting): add clojurescript 2025-05-18 21:30:33 +03:00
Elian Doran
a0140455bf feat(highlighting): add jinja2 2025-05-18 21:24:59 +03:00
Elian Doran
a8f810becd feat(highlighting): add XML-DTD 2025-05-18 21:22:33 +03:00
Elian Doran
6a3a6243c4 feat(highlight): add cypher 2025-05-18 21:18:45 +03:00
Elian Doran
eb77a880dc feat(highlight): add gdscript 2025-05-18 21:10:26 +03:00
Elian Doran
784e434fc8 refactor(client): remove unnecessary code 2025-05-18 20:23:43 +03:00
Elian Doran
f92047bcac refactor(common): rename highlightjs to markdown language code 2025-05-18 20:22:32 +03:00
Elian Doran
9642f209a0 fix(highlight.js): occasional crash when multiple code blocks in read-only mode 2025-05-18 20:11:07 +03:00
Elian Doran
a3c39bbf5e refactor(highlight.js): fix build error for HCL language 2025-05-18 19:57:11 +03:00
Elian Doran
9a9e990e97 fix(highlighting): highlighting not always applying to read-only text at first start 2025-05-18 19:37:16 +03:00
Elian Doran
df6797d9ea fix(highlighting): highlighting not working immediately after a refresh 2025-05-18 19:34:27 +03:00
Elian Doran
1a4d1bc791 refactor(commons): deduplicate mime_type_definitions 2025-05-18 19:33:11 +03:00
Elian Doran
6c70bd6ed6 chore(highlightjs): reintroduce no syntax highlight 2025-05-18 19:16:44 +03:00
Elian Doran
4537dfa660 chore(highlightjs): reintroduce grouping of themes 2025-05-18 18:58:46 +03:00
Elian Doran
5a186e6853 fix(highlightjs): syntax highlight not working in settings 2025-05-18 18:34:12 +03:00
Elian Doran
f6728ca931 refactor(highlightjs): get rid of highlight.js in library loader 2025-05-18 18:28:08 +03:00
Elian Doran
b998dee476 chore(highlightjs): reintegrate loading of themes 2025-05-18 18:24:35 +03:00
Elian Doran
66cbe468f5 chore(highlightjs): load theme by IDs 2025-05-18 17:50:31 +03:00
Elian Doran
8b11f25f0c chore(highlightjs): introduce client-level list of themes 2025-05-18 17:12:45 +03:00
Elian Doran
488761d4b9 fix(highlightjs): loading all supported languages at once 2025-05-18 16:11:40 +03:00
Elian Doran
b0ebeb22d5 fix(highlightjs): unable to match due to init normalization 2025-05-18 16:05:50 +03:00
SiriusXT
0d09a7558f fix: Incorrectly calculating rest-pane width 2025-05-18 20:19:30 +08:00
Elian Doran
4fad4de319 chore(highlightjs): basic integration 2025-05-18 15:16:53 +03:00
Elian Doran
2c4b28c6cb refactor(highlightjs): remove alias 2025-05-18 14:24:54 +03:00
Elian Doran
fd52b9ec4b test(highlightjs): ensure language registration works 2025-05-18 14:23:10 +03:00
SiriusXT
9682253ced fix: Incorrectly calculating rest-pane width in https://github.com/TriliumNext/Notes/pull/1962 2025-05-18 18:38:52 +08:00
SiriusXT
0e9c381df4 fix(launcher-pane): Prevent the launcher pane from being compressed 2025-05-18 18:19:54 +08:00
Elian Doran
b6557d2a42 chore(highlightjs): fix deprecation warning 2025-05-18 11:33:53 +03:00
Elian Doran
6f96a0ef4c chore(highlightjs): integrate terraform 2025-05-18 11:33:02 +03:00
Elian Doran
294727600b feat(highlightjs): add test 2025-05-18 11:26:59 +03:00
SiriusXT
22b64a0dc4 fix(ui): Exclude launcher pane width from Split calculation; Record Split state for multiple windows 2025-05-18 16:24:13 +08:00
Elian Doran
6625997554 chore(highlightjs): map definitions 2025-05-18 11:12:40 +03:00
Elian Doran
e0aa6f9200 chore(highlightjs): create empty mapping file 2025-05-18 10:13:38 +03:00
Elian Doran
51f2b9fc81 fix(highlightjs): integrate with the rest of the application 2025-05-18 10:05:02 +03:00
Elian Doran
5205320d44 fix(highlightjs): integration with editable text 2025-05-18 10:01:35 +03:00
renovate[bot]
d650532e10 chore(deps): update dependency @types/diff to v8 2025-05-18 06:29:49 +00:00
SiriusXT
c65f0d4249 Fix (left pane toggle logic): properly handle both synced and current window visibility states 2025-05-18 10:22:49 +08:00
Elian Doran
e4f633d827 refactor(highlightjs): export necessary methods 2025-05-18 00:31:20 +03:00
Elian Doran
7bfe261ac6 refactor(highlightjs): move dependency 2025-05-18 00:20:43 +03:00
Elian Doran
d4fab87ed9 refactor(highlightjs): create separate project 2025-05-18 00:16:09 +03:00
Elian Doran
932a371b3a chore(server): remove unnecessary CSS 2025-05-18 00:03:16 +03:00
Elian Doran
c0c79b123f fix(mobile): apply same fix about jquery 2025-05-18 00:01:53 +03:00
Elian Doran
c1648f9742 chore(client): suppress module level directives warnings 2025-05-17 23:57:08 +03:00
Elian Doran
c1ae5b22a1 chore(client): suppress SCSS warnings 2025-05-17 23:57:07 +03:00
Elian Doran
84d9198396 refactor(client): tree CSS 2025-05-17 23:11:17 +03:00
Elian Doran
901ab54e64 fix(client): missing fancytree dependencies 2025-05-17 23:07:01 +03:00
Elian Doran
67d0d0f5ca refactor(client): different method for loading jquery 2025-05-17 22:52:57 +03:00
Elian Doran
4b22d05aca refactor(server): remove leftover autocomplete in EJS 2025-05-17 22:42:50 +03:00
Elian Doran
23db7fe602 chore(client): partial integrate jquery.fancytree 2025-05-17 22:15:10 +03:00
Elian Doran
3f2a0e302d refactor(client): integrate jquery-hotkeys 2025-05-17 21:27:23 +03:00
Elian Doran
a4cfef7892 fix(canvas): proxying of fonts 2025-05-17 19:52:04 +03:00
Elian Doran
56d4d7c20f Merge pull request #1955 from TriliumNext/feature/db_session_store
In-database session store
2025-05-17 19:51:02 +03:00
Elian Doran
0b4f362983 Merge remote-tracking branch 'origin/develop' into feature/db_session_store 2025-05-17 18:59:45 +03:00
Elian Doran
efc5269474 fix(test): import errors due to session parser 2025-05-17 18:58:18 +03: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 +08: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 +03:00
SiriusXT
9d7ac79a25 style(toc): Adjust the CSS of the TOC 2025-05-17 21:55:10 +08:00
SiriusXT
6c2c84d941 style(toc): Adjust the CSS of the TOC 2025-05-17 17:33:29 +08:00
Elian Doran
17b444241d Merge pull request #1948 from TriliumNext/docs 2025-05-17 12:17:51 +03:00
Elian Doran
25ef844038 Merge pull request #1959 from TriliumNext/renovate/eslint-linter-browserify-9.x 2025-05-17 12:16:40 +03:00
JYC333
3222765bb6 add sync known issue 2025-05-17 16:00:15 +08: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 +03: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 +03:00
Elian Doran
626e321f52 fix(math): proxying of fonts 2025-05-17 10:50:52 +03:00
renovate[bot]
58e197004c fix(deps): update eslint monorepo to v9.27.0 2025-05-17 07:38:59 +00:00
renovate[bot]
c433ef7210 fix(deps): update dependency eslint-linter-browserify to v9.27.0 2025-05-17 07:38:27 +00:00
renovate[bot]
ce6ce988d7 chore(deps): update dependency openai to v4.100.0 2025-05-17 07:37:53 +00: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 +08:00
Elian Doran
7b787fff59 feat(client): integrate katex 2025-05-17 10:31:31 +03:00
JYC333
4dcb697a8f use admonition 2025-05-17 15:26:51 +08:00
Elian Doran
255e529714 fix(share): content.css missing 2025-05-17 10:13:03 +03:00
Elian Doran
f7471b5a12 fix(share): script not loadable due to ESM 2025-05-17 10:08:18 +03:00
Elian Doran
786233ab06 fix(share): script not loadable due to relative path 2025-05-17 10:07:48 +03:00
Elian Doran
470ac18cba feat(client): integrate normalize.css 2025-05-17 10:03:37 +03:00
renovate[bot]
d98eeab95a chore(deps): update dependency @types/express to v4.17.22 2025-05-17 06:53:52 +00:00
Elian Doran
a564a0df86 Merge branch 'develop' into feature/db_session_store 2025-05-17 09:51:18 +03:00
Elian Doran
a5952b76d2 fix(test/server): dayjs initialization issue 2025-05-17 09:45:53 +03:00
JYC333
2f3f8b31cf improve MFA docs 2025-05-17 10:13:00 +08:00
Elian Doran
bfa4c09c7e fix(client): integrate highlight.js (partially) 2025-05-17 01:43:37 +03:00
Elian Doran
875075e8c4 fix(client): emoji definitions 2025-05-17 01:39:31 +03:00
Elian Doran
ac2e5fc3b7 fix(client): integrate autocomplete into client 2025-05-17 01:29:51 +03:00
Elian Doran
90ee0965c7 fix(client): integrate boxicons into client 2025-05-17 01:23:50 +03:00
Elian Doran
278cdf64f2 feat(server): serve client directly instead of proxying 2025-05-17 00:51:06 +03:00
Elian Doran
cb381d01c1 chore(server): remove URL logging to increase performance slightly 2025-05-17 00:23:45 +03:00
Elian Doran
b678e4ea28 fix(server): package.json not accessible 2025-05-17 00:14:20 +03:00
Elian Doran
83058e91b0 fix(server): some dist assets not served properly 2025-05-17 00:08:49 +03:00
Elian Doran
dd73517e7f fix(server): some assets not served properly 2025-05-17 00:05:42 +03:00
Elian Doran
a3a810cbec Merge branch 'feature/db_session_store' into client_vite 2025-05-16 23:57:32 +03:00
Elian Doran
df27cf4c77 chore(release): mention session change 2025-05-16 23:56:18 +03:00
Elian Doran
c6434729bc chore(server/session): get rid of file-session dependency 2025-05-16 23:52:58 +03:00
Elian Doran
afec7918dd fix(server/session): respect cookie expiration date 2025-05-16 23:47:39 +03:00
Elian Doran
15a513d7cd feat(server/session): clean up expired sessions 2025-05-16 23:44:41 +03:00
Elian Doran
43ab13e126 refactor(server/session): better error management 2025-05-16 23:36:56 +03:00
Elian Doran
b313b0b965 chore(server/session): implement session get 2025-05-16 23:31:42 +03:00
Elian Doran
dfb8c9f4ce chore(server/session): implement session destroy 2025-05-16 23:24:17 +03:00
Elian Doran
c3770f0dae chore(server/session): implement session write 2025-05-16 23:22:14 +03:00
Elian Doran
ec39667cba feat(server/session): update database to hold session information 2025-05-16 23:07:23 +03:00
Elian Doran
390b384936 refactor(server): remove unnecessary script 2025-05-16 22:56:00 +03:00
Elian Doran
d3488ca96a refactor(server): fix vite runtime not proxied 2025-05-16 22:55:49 +03:00
Elian Doran
ae2eb9f4bb refactor(server): fix script dir for libraries 2025-05-16 22:39:52 +03:00
Elian Doran
ac79ae29f2 refactor(server): fix stylesheet paths 2025-05-16 22:27:01 +03:00
Elian Doran
1d675538a8 refactor(server): improve script URL rewriting 2025-05-16 22:24:12 +03:00
Elian Doran
d4dbe1cb89 fix(server): proxying of inner client modules 2025-05-16 22:10:06 +03:00
Elian Doran
e28a64a037 fix(client/vite): handle static assets 2025-05-16 21:31:57 +03:00
Elian Doran
6ccfa0940f fix(client/vite): runtime error due to chunk name 2025-05-16 21:11:03 +03:00
Elian Doran
4d2ae6a34f fix(client/vite): build errors due to top-level async 2025-05-16 21:06:30 +03:00
Elian Doran
e23400bec1 fix(client/vite): build errors due to mark.js 2025-05-16 21:06:21 +03:00
Elian Doran
016d59fae1 refactor(client/vite): first setup 2025-05-16 20:48:29 +03:00
Elian Doran
a3a1667351 docs(release): note collapsible toc 2025-05-16 20:17:13 +03:00
Elian Doran
6dc8e3a0e3 Merge pull request #1954 from TriliumNext/toc
feat(toc): Collapsible TOC
2025-05-16 20:00:23 +03:00
Elian Doran
1d58b285de fix(server): week notes broken due to misuse of transactions 2025-05-16 19:09:54 +03:00
SiriusXT
c80d7a3ec3 feat(toc): Collapsible TOC 2025-05-16 21:25:10 +08:00
Elian Doran
e946bde939 chore(desktop): use electron 35 for NixOS 2025-05-16 10:49:47 +03:00
Elian Doran
b84e14b8ce refactor(client): use proper imports for translation 2025-05-16 10:49:35 +03: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 +08: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 +08: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 +08: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 +08: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 +08:00
JYC333
479ef63480 update MFA docs 2025-05-16 11:02:06 +08:00
renovate[bot]
90a5233f04 chore(deps): update dependency webdriverio to v9.14.0 2025-05-16 02:47:54 +00:00
renovate[bot]
2aa0e3b765 chore(deps): update dependency @anthropic-ai/sdk to v0.51.0 2025-05-16 02:46:58 +00:00
renovate[bot]
5b904dc65b chore(deps): update node.js to v22.15.1 2025-05-16 02:46:08 +00:00
renovate[bot]
0924bf1ad5 chore(deps): update dependency vite-plugin-dts to v4.5.4 2025-05-16 02:46:04 +00:00
renovate[bot]
515a63028b chore(deps): update dependency electron to v36.2.1 2025-05-16 02:44:32 +00:00
JYC333
d95a313dad update MFA docs 2025-05-16 10:41:32 +08:00
Elian Doran
a7cb2c0c23 fix(ci/docker): add missing build step 2025-05-15 21:54:31 +03:00
Elian Doran
105e7d821a fix(style): calendar tooltip wrongly positioned on horizontal layout 2025-05-15 21:28:17 +03:00
Elian Doran
6a8a870c08 style(next): fix regression in autocomplete selection 2025-05-15 21:28:17 +03:00
Elian Doran
ff075464a2 chore(types): fix error in backend log due to mismatching types 2025-05-15 21:28:17 +03:00
Elian Doran
7c1b13a2e7 feat(backend_log): disable some editor features to increase performance 2025-05-15 21:28:17 +03:00
Elian Doran
9133aab6ad fix(backend_log): editor crashing 2025-05-15 21:28:07 +03:00
Elian Doran
1893037ad2 fix(ci): bypass an NX error 2025-05-15 19:32:53 +03:00
Elian Doran
517a06e068 fix(ci): use proper command to run playwright 2025-05-15 19:09:02 +03:00
Elian Doran
14a1455c5f chore(release): update change log 2025-05-15 19:09:01 +03:00
Elian Doran
7c753117b8 Merge pull request #1913 from TriliumNext/css-tweaks
Some css fine tunes
2025-05-15 19:05:36 +03: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 +03:00
Elian Doran
7fe6696d36 fix(ci): docker path to database 2025-05-15 18:41:56 +03:00
Elian Doran
2f12d1a69f fix(ckeditor): image upload not working 2025-05-15 18:09:33 +03:00
Elian Doran
1d2c3fc7a7 fix(ci): adapt playwright config for docker 2025-05-15 17:24:24 +03:00
Elian Doran
9a825a76b5 fix(ci): main docker build failing due to path to Dockerfile 2025-05-15 17:07:40 +03:00
Elian Doran
27eed9b25e fix(attributes): attributes context menu no longer triggering 2025-05-15 14:09:41 +03:00
Elian Doran
b7d118a12c fix(attributes): reference links not working 2025-05-15 12:17:59 +03:00
Elian Doran
ff89ab646c fix(text): auto-completion not working 2025-05-15 11:56:49 +03:00
renovate[bot]
f3fd4dd273 fix(deps): update ckeditor monorepo to v45.1.0 2025-05-15 05:41:52 +00:00
Elian Doran
826230311a Merge pull request #1938 from TriliumNext/renovate/codemirror
fix(deps): update codemirror
2025-05-15 08:39:43 +03:00
renovate[bot]
e46631dd58 fix(deps): update codemirror 2025-05-15 05:35:48 +00: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 +03: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 +03:00
renovate[bot]
e4df610eeb fix(deps): update dependency diff to v8 2025-05-15 05:29:53 +00:00
renovate[bot]
faa4871351 fix(deps): update dependency i18next to v25.1.3 2025-05-15 05:29:07 +00:00
Elian Doran
221cfe2652 Merge pull request #1935 from TriliumNext/feature/fix_transaction_issues
Fix transaction issues
2025-05-15 08:25:55 +03: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 +03: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 +03: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 +03:00
renovate[bot]
4705d795b2 chore(deps): update pnpm to v10.11.0 2025-05-15 02:17:17 +00:00
renovate[bot]
72e10df6c2 chore(deps): update dependency sanitize-html to v2.17.0 2025-05-15 02:15:24 +00:00
renovate[bot]
dd8a772fa2 chore(deps): update dependency @types/node to v22.15.18 2025-05-15 02:12:56 +00:00
Elian Doran
a333f8a59a fix(server): async routes causing transaction issues 2025-05-14 22:58:53 +03:00
Elian Doran
c8ace1e0b2 refactor(server): use separate method for async route 2025-05-14 22:30:02 +03:00
Elian Doran
6f3339211c refactor(server): separate routes from route API 2025-05-14 22:11:30 +03:00
Elian Doran
acc83ae1c2 Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-14 20:42:03 +03:00
Elian Doran
0b2fab887b chore(monorepo): remove unnecessary files 2025-05-14 19:54:13 +03: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 +03:00
Elian Doran
50157ed525 Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-14 18:44:32 +03:00
Elian Doran
e10069a03e feat(code): full-height background 2025-05-14 18:30:39 +03:00
JYC333
01bd3ad64b update pnpm 2025-05-14 23:14:36 +08:00
Elian Doran
d91fd0f2d0 chore(signing): disable debug 2025-05-14 13:03:48 +03:00
Elian Doran
4adaf97127 feat(signing): improve error logging in case of error 2025-05-14 13:03:09 +03:00
Elian Doran
19534c391f chore(release): update change log for #1933 2025-05-14 12:58:11 +03:00
Elian Doran
5c8d3f9c51 Merge pull request #1933 from TriliumNext/codemirror_find
fix(find): readonly code getSelection
2025-05-14 12:56:55 +03:00
SiriusXT
05f441924a Remove read-only checks of find 2025-05-14 14:46:42 +08:00
Elian Doran
1abcf7244f fix(signing): fix wrong source path 2025-05-14 09:25:19 +03:00
Elian Doran
f4e2296d9b fix(signing): wrong path import 2025-05-14 09:02:37 +03: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 +03: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 +03:00
renovate[bot]
274410956c chore(deps): update dependency debug to v4.4.1 2025-05-14 05:29:11 +00: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 +03:00
renovate[bot]
ac18be8334 chore(deps): update dependency @anthropic-ai/sdk to v0.50.4 2025-05-14 05:28:23 +00:00
Elian Doran
4c2408def1 Merge pull request #1929 from TriliumNext/renovate/react-monorepo
chore(deps): update react monorepo
2025-05-14 08:28:06 +03: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 +03: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 +03: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 +03:00
SiriusXT
3dd13ca321 fix(find): readonly code getSelection 2025-05-14 11:13:22 +08:00
renovate[bot]
dbcbbe843a chore(deps): update dependency webdriverio to v9.13.0 2025-05-14 01:44:58 +00:00
renovate[bot]
fb41908f5a fix(deps): update dependency force-graph to v1.49.6 2025-05-14 01:44:04 +00:00
renovate[bot]
36b7d20b8a fix(deps): update dependency @codemirror/view to v6.36.8 2025-05-14 01:43:16 +00:00
renovate[bot]
c8e83f8bc4 chore(deps): update react monorepo 2025-05-14 01:41:38 +00:00
renovate[bot]
63f3152365 chore(deps): update dependency supertest to v7.1.1 2025-05-14 01:40:54 +00:00
Elian Doran
293167c93e chore(signing): remove lstat 2025-05-13 22:38:57 +03:00
Elian Doran
4bb0783790 chore(signing): add debug logs 2025-05-13 22:38:24 +03:00
Elian Doran
cffdaf46f6 docs(release): credit ctrl+shift+click change 2025-05-13 21:58:53 +03:00
Elian Doran
988997b118 docs(release): credit documentation changes 2025-05-13 21:57:58 +03: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 +03: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 +03:00
Elian Doran
73e1487cab Merge pull request #1908 from TriliumNext/feature/codemirror6
Update to CodeMirror 6
2025-05-13 21:55:03 +03:00
perf3ct
0298c62ec7 feat(ci): add rootless dockerfiles 2025-05-13 18:51:18 +00:00
Elian Doran
3a984ffb2c feat(docs): color schemes for code notes 2025-05-13 21:39:15 +03:00
Elian Doran
588a9dc78f chore(edit-docs): fix nixos serve script 2025-05-13 21:33:07 +03:00
Elian Doran
cfe3aa54c1 chore(release): document regression in syntax highlighting 2025-05-13 21:20:14 +03:00
perf3ct
c0f76b9251 feat(docs): add documentation links and updated pnpm commands to README 2025-05-13 17:41:41 +00:00
SiriusXT
6d7abace97 fix(tooltip): Sometimes tooltip flashes 2025-05-14 01:00:13 +08: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 +03:00
SiriusXT
5ce0383c03 fix(tooltip): Sometimes tooltip flashes 2025-05-13 22:15:00 +08:00
Elian Doran
1f57aaf27c feat(code): proper search for read-only notes 2025-05-13 16:33:53 +03:00
Elian Doran
41f142ab06 feat(code): re-trigger search after replace 2025-05-13 15:27:50 +03:00
Elian Doran
28aaa28ce5 feat(code): integrate indentation markers 2025-05-13 14:38:00 +03:00
SiriusXT
2f582a4f9a Inline formulas do not have a .katex-display class 2025-05-13 19:09:16 +08:00
SiriusXT
6cb27279a0 fix(ui): fix misaligned display in footnote tooltip 2025-05-13 18:04:18 +08:00
Elian Doran
3ace3d9ed9 chore(code/find): reimplement replace all 2025-05-13 09:42:31 +03:00
Elian Doran
b646475018 chore(code/find): reimplement single replace 2025-05-12 23:52:41 +03:00
Elian Doran
690337ee40 chore(code/find): reintroduce highlight for active item 2025-05-12 23:36:22 +03:00
Elian Doran
77fe100591 fix(code/find): clean up search 2025-05-12 22:17:10 +03:00
Elian Doran
da6cb71c6a fix(code/find): infinite loop when empty 2025-05-12 22:11:51 +03:00
Elian Doran
07a751c677 fix(server): assets that were no longer needed 2025-05-12 22:04:18 +03:00
Elian Doran
3b7870fcbd chore(deps): update lock file 2025-05-12 21:54:12 +03:00
Elian Doran
22d9091315 refactor(code/find): reimplement find next 2025-05-12 21:21:46 +03:00
Elian Doran
2fbff5328b chore(options): remove redundant log 2025-05-12 21:15:31 +03:00
Elian Doran
ba2dae4c61 refactor(code/find): integrate search into find plugin 2025-05-12 21:05:15 +03:00
Elian Doran
8a35e390f2 refactor(code/find): remove inner class 2025-05-12 20:59:46 +03:00
Elian Doran
e5417827f4 chore(code/find): update current found 2025-05-12 20:43:30 +03:00
Elian Doran
e08011b3d6 chore(code/find): scroll to nearest result 2025-05-12 20:39:09 +03:00
Elian Doran
c4863dec50 chore(code/find): jump to first result 2025-05-12 20:27:23 +03:00
Elian Doran
f2745d546b chore(code/find): reintroduce total number of results 2025-05-12 19:35:07 +03:00
Elian Doran
749ae1b6b4 chore(code/find): reintroduce match highlighting 2025-05-12 18:47:50 +03:00
Elian Doran
f20232c077 fix(code/find): crashes at dialog shown 2025-05-12 18:24:36 +03:00
Elian Doran
ac49c0f59b refactor(server): remove dependency on codemirror project 2025-05-12 18:15:19 +03:00
Elian Doran
36009307d1 refactor(server): remove dependency on codemirror 2025-05-12 18:07:50 +03:00
SiriusXT
ad6671b09a fix(ui): Fix widget controls inside the footnote 2025-05-12 22:30:29 +08:00
Elian Doran
17194806db chore(code): reintroduce tab index 2025-05-12 15:47:21 +03:00
Elian Doran
1a7a65126e feat(options): add a related settings option for Appearance 2025-05-12 15:26:49 +03:00
Elian Doran
42ed6167c9 style(options): reduce margins for code block appearance 2025-05-12 13:28:40 +03:00
Elian Doran
5f2314f901 chore(options): change translations for code block appearance 2025-05-12 13:18:32 +03:00
Elian Doran
260e6ee991 feat(options): move code block appearance settings to "Text notes" 2025-05-12 13:12:57 +03:00
Elian Doran
bedbc9373c chore(code): reintroduce some commented-out behaviours 2025-05-12 12:37:38 +03:00
Elian Doran
00a9908907 Merge remote-tracking branch 'origin/develop' into feature/codemirror6 2025-05-12 10:04:30 +03:00
Elian Doran
ae83f0a1c7 docs(release): update changelog 2025-05-12 10:02:37 +03:00
Elian Doran
308700defd Merge pull request #1906 from TriliumNext/importMarkdownfromClipboard
Fix incorrect import of multiple inline math.
2025-05-12 10:00:46 +03:00
SiriusXT
755d0002c9 fix(ui): Avoid over-long title blocking electron native title bar 2025-05-12 14:56:04 +08:00
SiriusXT
7e35a2dee5 fix(ui): Fix the launcher shifting issue when collapsing the left pane 2025-05-12 14:14:27 +08:00
SiriusXT
729a32610a fix(ui): Avoid the background invisible when selecting text with background color 2025-05-12 14:09:35 +08:00
SiriusXT
dea8fa411f Revert "Avoid the background invisible when selecting text with background color" 2025-05-12 09:11:22 +08:00
Elian Doran
5f2735749e Merge pull request #1854 from TriliumNext/open_new_tab
Open note and activate
2025-05-12 00:41:29 +03:00
Elian Doran
46c689e229 docs(release): update changelog 2025-05-12 00:35:50 +03:00
Elian Doran
fac16ffd2a feat(code): add translations for settings change 2025-05-12 00:31:48 +03:00
Elian Doran
e3aa8afcad feat(code): adjust word wrapping automatically 2025-05-12 00:25:31 +03:00
Elian Doran
d79977b9a4 feat(code): adjust word wrapping automatically in preview 2025-05-12 00:23:47 +03:00
Elian Doran
4e18798850 feat(code): move preview to apperance 2025-05-12 00:07:41 +03:00
Elian Doran
21a72ab265 style(code): improve margins for preview 2025-05-11 23:15:19 +03:00
Elian Doran
81a7133ab1 fix(code): apply syntax highlighting to preview 2025-05-11 23:10:01 +03:00
Elian Doran
9875d4ba3c feat(code): basic theme preview for code notes 2025-05-11 23:07:49 +03:00
Elian Doran
65699ba606 style(code): slight adjustments 2025-05-11 22:47:24 +03:00
Elian Doran
bd26e1a578 feat(code): provide sensible theme defaults 2025-05-11 22:22:35 +03:00
Elian Doran
34a1f48a9e refactor(code): use hyphens for theme ID 2025-05-11 22:21:25 +03:00
Elian Doran
f0d2fbc882 feat(code): update theme automatically when changed 2025-05-11 22:14:49 +03:00
Elian Doran
d41b780f43 feat(code): friendly theme names 2025-05-11 22:03:37 +03:00
Elian Doran
d80d97ca31 feat(code): add the rest of the themes 2025-05-11 21:58:50 +03:00
Elian Doran
340dec725c fix(code): align syntax highlight settings 2025-05-11 21:40:13 +03:00
Elian Doran
b2aec4dfdb feat(code): display user-selected color themes 2025-05-11 21:18:14 +03:00
Elian Doran
af187d1188 feat(client): set color scheme option 2025-05-11 20:53:58 +03:00
Elian Doran
92dcfb3304 feat(server): define code note theme option 2025-05-11 20:52:26 +03:00
Elian Doran
224b7f4826 feat(options): list color themes 2025-05-11 20:43:19 +03:00
Elian Doran
ca467fcd7a feat(server): add endpoint to list code note themes 2025-05-11 20:40:22 +03:00
Elian Doran
7475e94c53 chore(settings): empty section for code notes color theme 2025-05-11 20:19:54 +03:00
Elian Doran
36246104dd feat(codemirror): add model for themes 2025-05-11 20:19:40 +03:00
Elian Doran
cf7c5d3cb4 feat(text): add Nix language 2025-05-11 19:45:56 +03:00
Elian Doran
2b192eb1b9 feat(code): add Nix language 2025-05-11 19:44:10 +03:00
Elian Doran
ce5debd9bf fix(mermaid): diagram not updating 2025-05-11 19:24:05 +03:00
Elian Doran
e4f5e5473b chore(release): update changelog 2025-05-11 19:10:48 +03:00
Elian Doran
58b9d9074e feat(mermaid): add basic syntax highlight 2025-05-11 19:08:43 +03:00
Elian Doran
2704548eb8 chore(code): stop loading unnecessary extensions for read-only mode 2025-05-11 18:51:44 +03:00
Elian Doran
a20a51fa75 fix(code): indentation working in read-only mode 2025-05-11 18:45:37 +03:00
Elian Doran
3e5e19b8a5 chore(code): reintroduce read-only mode 2025-05-11 18:42:56 +03:00
Elian Doran
49838fb773 refactor(code): stop exposing CodeMirror configuration 2025-05-11 18:41:10 +03:00
Elian Doran
c24e1f0ec5 fix(code): syntax highlighting not working in read-only code 2025-05-11 18:37:53 +03:00
Elian Doran
b1f08b944a feat(code): remove unnecessary border in read-only code 2025-05-11 18:36:49 +03:00
Elian Doran
f0ae5aeba6 chore(code): fix placeholder 2025-05-11 18:33:45 +03:00
Elian Doran
efece397ad chore(code): adapt stylesheet 2025-05-11 18:30:38 +03:00
Elian Doran
44069b8ccb chore(code): replace tab if pressed while selected 2025-05-11 18:03:28 +03:00
Elian Doran
8d18823608 chore(code): support multiple selections in tab 2025-05-11 18:00:07 +03:00
Elian Doran
4bac03570c chore(code): add smart tab behaviour 2025-05-11 17:39:10 +03:00
Elian Doran
9bbe111dd9 chore(code): introduce fold gutter 2025-05-11 17:16:07 +03:00
Elian Doran
9b958fc659 chore(code): reintroduce vim keybindings 2025-05-11 17:04:15 +03: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 +03:00
Elian Doran
e5fad63403 chore(code): set up TypeScript TSX 2025-05-11 16:04:17 +03:00
Elian Doran
9d363fb42c refactor(code): clean up library_loader 2025-05-11 16:01:45 +03:00
Elian Doran
7fda7051f2 chore(code): use proper JSON extension 2025-05-11 15:59:35 +03:00
Elian Doran
9e5f2bf8c8 chore(code): fix type errors 2025-05-11 15:33:46 +03:00
Elian Doran
2476f380b0 chore(code): set up test for eslint 2025-05-11 15:29:03 +03:00
Elian Doran
38fbaabfbc chore(code): integrate ESLint 2025-05-11 15:18:42 +03:00
Elian Doran
fade41ff65 chore(code): integrate JavaScript for TypeScript and JSX 2025-05-11 14:06:55 +03:00
Elian Doran
dbfc36f4aa chore(code): integrate JavaScript extension 2025-05-11 14:05:04 +03:00
Elian Doran
c09d3ae5e0 chore(code): use CSS plugin 2025-05-11 13:56:34 +03:00
Elian Doran
06e1144498 chore(code): use XML plugin 2025-05-11 13:52:53 +03:00
Elian Doran
e5402abae0 chore(code): use html plugin 2025-05-11 13:50:04 +03:00
Elian Doran
2fe09147fd chore(code): integrate Smarty support 2025-05-11 13:21:57 +03:00
Elian Doran
620927dfea chore(code): integrate Twig support 2025-05-11 13:15:39 +03:00
Elian Doran
327fe211ff chore(code): integrate Vue support 2025-05-11 13:13:47 +03:00
Elian Doran
1454af6087 chore(code): integrate PHP support 2025-05-11 13:12:52 +03:00
Elian Doran
afa1aa32aa chore(code): integrate Markdown support 2025-05-11 13:09:36 +03:00
Elian Doran
686e57516b chore(code): integrate more legacy modes 2025-05-11 12:54:25 +03:00
renovate[bot]
dff419c960 chore(deps): update dependency happy-dom to v17.4.7 2025-05-11 09:37:54 +00: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 +03:00
Elian Doran
9c8126016e fix(code): history of undo/redo preserved across notes 2025-05-11 12:23:09 +03:00
Elian Doran
a4054dfa42 chore(code): reintroduce history (undo-redo) 2025-05-11 12:19:39 +03:00
Elian Doran
67d1868078 chore(code): mark syntax highlighting as fallback 2025-05-11 12:13:45 +03:00
Elian Doran
df92ec9521 chore(code): reintroduce bracket matching 2025-05-11 12:11:24 +03:00
Elian Doran
ec72800b00 chore(code): reintroduce highlight active line & selection 2025-05-11 12:10:28 +03:00
Elian Doran
2628132350 chore(code): reintroduce line wrapping 2025-05-11 12:07:54 +03:00
Elian Doran
9867cd83c4 chore(code): reintroduce tab size of 4 2025-05-11 11:37:52 +03:00
Elian Doran
d29286f9e3 chore(code): reintroduce placeholder 2025-05-11 11:27:27 +03:00
Elian Doran
7cd4bce5b0 feat(code): support gdscript (godot) 2025-05-11 11:18:19 +03:00
Elian Doran
55cf7e0c9b refactor(code): sort by mime type 2025-05-11 11:10:24 +03:00
Elian Doran
9f3e990c95 chore(code): reintegrate hcl syntax 2025-05-11 10:54:15 +03:00
Elian Doran
efc08a61ef chore(code): reintegrate batch syntax 2025-05-11 10:38:36 +03:00
SiriusXT
f26a7a90a2 test(e2e): open and activate notes from the launch pane and tree 2025-05-11 10:53:45 +08:00
renovate[bot]
f0c8dc9011 chore(deps): update dependency lint-staged to v16 2025-05-11 01:39:08 +00:00
SiriusXT
8486bbc9ae Merge branch 'develop' into open_new_tab 2025-05-11 08:41:58 +08:00
Elian Doran
01f02b736c chore(code): enable syntax highlighting 2025-05-10 23:34:23 +03:00
Elian Doran
5a07d5a913 chore(code): define legacy mappings 2025-05-10 23:09:59 +03:00
Elian Doran
8bb1ac7e71 chore(code): start mapping syntax highlight 2025-05-10 22:31:01 +03:00
Elian Doran
71218c0bd4 chore(code): enable syntax highlighting plugin 2025-05-10 21:38:12 +03:00
Elian Doran
385809df84 fix(code): reintroduce indent with tab 2025-05-10 20:20:38 +03:00
Elian Doran
3e5e9096d2 fix(code): saving on change 2025-05-10 20:07:53 +03:00
Elian Doran
ef312c9550 refactor(code): use dedicated method for setting text 2025-05-10 19:22:57 +03:00
Elian Doran
0c9be9291b fix(code): set initial text 2025-05-10 19:19:03 +03:00
Elian Doran
c84a390699 feat(code): enable line numbers 2025-05-10 19:15:38 +03:00
Elian Doran
cfa8987b25 feat(code): switch to CodeMirror 6 2025-05-10 19:10:30 +03:00
SiriusXT
58e53fc8ce add test case for multiple inline math expressions in imported Markdown 2025-05-11 00:09:15 +08:00
SiriusXT
8355e02e91 Avoid the background invisible when selecting text with background color 2025-05-10 23:38:22 +08:00
Elian Doran
ddf43a5e24 chore(nx): create project for codemirror 2025-05-10 18:30:09 +03:00
Elian Doran
699cb8e412 docs(release): update changelog 2025-05-10 18:25:39 +03: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 +03:00
SiriusXT
047109f821 Fix incorrect import of multiple inline math. 2025-05-10 22:56:36 +08:00
SiriusXT
e5a9ebddac Merge branch 'develop' into left-pane 2025-05-10 21:39:21 +08:00
Elian Doran
35c98f23bd docs(release): update 2025-05-10 15:42:32 +03: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 +03: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 +03: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 +03:00
Elian Doran
2251a5511e Merge branch 'develop' into open_new_tab 2025-05-10 15:34:31 +03:00
Elian Doran
553b07ab37 Merge remote-tracking branch 'origin/develop' into find_replace 2025-05-10 15:26:52 +03:00
Elian Doran
6e1dfb8e27 Merge branch 'develop' into content-menu-target 2025-05-10 15:24:47 +03:00
Elian Doran
ba009ba66b Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-10 15:20:28 +03:00
Elian Doran
dd0d45fbde chore(nx/edit-docs): set server to implicit dependencies to avoid sync issues 2025-05-10 15:20:25 +03:00
Elian Doran
dd7df1344e fix(ckeditor5): build failing due to types path 2025-05-10 15:19:59 +03: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 +03:00
Elian Doran
84322e8882 fix(forge): override node-abi 2025-05-10 14:58:21 +03:00
renovate[bot]
38e5cb45cb chore(deps): update dependency electron to v36 2025-05-10 11:14:37 +00: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 +03: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 +03:00
renovate[bot]
ad6eeb2022 fix(deps): update react monorepo to v19 2025-05-10 10:43:08 +00:00
Elian Doran
12f5b9feeb fix(ci): wrong context directory for docker 2025-05-10 13:41:51 +03:00
renovate[bot]
929ebf114c chore(deps): update dependency typescript to v5.8.3 2025-05-10 10:40:07 +00:00
renovate[bot]
e18678462e chore(deps): update electron-forge monorepo to v7.8.1 2025-05-10 10:39:19 +00: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 +03: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 +03: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 +03:00
renovate[bot]
08390950b2 chore(deps): update typescript-eslint monorepo to v8 2025-05-10 10:00:57 +00:00
renovate[bot]
5c3f32e370 chore(deps): update dependency vite-plugin-svgo to v2 2025-05-10 10:00:10 +00:00
renovate[bot]
46a1614c17 chore(deps): update dependency lint-staged to v15 2025-05-10 09:59:15 +00:00
Elian Doran
c0a19f4c58 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-10 12:55:13 +03:00
Elian Doran
4446aa8c65 fix(ci): wrong use of nx 2025-05-10 12:55:08 +03: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 +03:00
renovate[bot]
8f7a9f278f chore(deps): update dependency stylelint to v16 2025-05-10 09:51:57 +00:00
Elian Doran
3fe7327038 refactor: get rid of husky 2025-05-10 12:51:07 +03: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 +03: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 +03:00
renovate[bot]
86b8023a93 chore(deps): update dependency eslint to v9 2025-05-10 09:22:09 +00:00
renovate[bot]
6e73fbc5d6 chore(deps): update dependency vite-plugin-svgo to ~1.6.0 2025-05-10 09:21:22 +00:00
Elian Doran
2397719a24 Merge pull request #1847 from TriliumNext/feature/ckeditor_lib
Integrate CKEditor into the monorepo
2025-05-10 11:41:32 +03:00
Elian Doran
ac92a410c2 Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-10 11:11:57 +03:00
Elian Doran
38ea450b07 fix(docker): not building due to CKEditor patches 2025-05-10 11:10:45 +03: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 +03:00
SiriusXT
bd4ebd3893 To avoid the left pane from sometimes being resized to a very small width. 2025-05-10 09:19:41 +08:00
renovate[bot]
ed6778b257 chore(deps): update dependency @anthropic-ai/sdk to v0.50.3 2025-05-09 23:49:29 +00:00
Elian Doran
39efdad46d Merge pull request #1817 from TriliumNext/renovate/react-monorepo
chore(deps): update react monorepo
2025-05-10 02:33:35 +03:00
Elian Doran
8c17c5d7dc test(ckeditor5-mermaid): fix failing tests 2025-05-10 02:31:29 +03:00
Elian Doran
ef3d6ebf29 test(ckeditor5-mermaid): fix errors due to missing license key 2025-05-10 02:25:11 +03:00
Elian Doran
abc8e2279c test(ckeditor5-mermaid): fix imports 2025-05-10 02:23:22 +03:00
Elian Doran
c3f9f3696e feat(docs): document CKEditor plugin migration 2025-05-10 02:00:49 +03:00
Elian Doran
aab762911b refactor(client): fix type errors related to CKEditor 2025-05-10 01:52:42 +03:00
Elian Doran
3bad43c50d chore(deps): update package lock 2025-05-10 01:20:00 +03:00
Elian Doran
275f37314d chore(docs): mention triggering the math popup 2025-05-10 00:54:43 +03:00
Elian Doran
5ec6f59f91 chore(ckeditor5-math): get rid of sinon 2025-05-10 00:54:27 +03:00
Elian Doran
16ec4a64d7 test(ckeditor5-math): get the rest of the tests to pass 2025-05-10 00:53:56 +03:00
Elian Doran
df2461ffc0 test(ckeditor5-math): disable broken tests 2025-05-10 00:42:06 +03:00
Elian Doran
6134d010ac test(ckeditor5-math): fix errors due to missing stopPropagation 2025-05-10 00:17:55 +03:00
Elian Doran
4fb333f15e refactor(ckeditor5-math): wrong expect import 2025-05-10 00:01:38 +03:00
Elian Doran
da3c7d2541 refactor(ckeditor5-math): move tests from sinon to vitest 2025-05-09 23:56:09 +03:00
Elian Doran
382d16ec68 test(e2e): flaky test 2025-05-09 23:02:00 +03:00
Elian Doran
8684101dcf test(ckeditor5-mermaid): solve "duplicated modules" error 2025-05-09 22:35:36 +03:00
Elian Doran
471c688457 test(ckeditor5-math): change extensions to ts 2025-05-09 22:30:37 +03:00
Elian Doran
11a2bdb2da test(ckeditor5-math): solve "duplicated modules" error 2025-05-09 22:28:35 +03:00
Elian Doran
c9834e58bb test(ckeditor5-math): license key not found 2025-05-09 22:16:12 +03:00
Elian Doran
c3d028b495 chore(ci): run some tests sequentially 2025-05-09 22:04:23 +03:00
Elian Doran
3eeed5790a chore(ckeditor5-*): remove default tests 2025-05-09 21:50:40 +03:00
Elian Doran
f5d9789e83 chore(ckeditor5-admoniton): don't fail on no tests 2025-05-09 21:40:17 +03:00
Elian Doran
ee6c5fd2aa chore(ckeditor): update vitest 2025-05-09 21:38:53 +03:00
Elian Doran
4033718366 chore(docs): update app version 2025-05-09 21:14:29 +03:00
Elian Doran
51993757cc docs(user): bookmarks & emojis 2025-05-09 21:13:38 +03:00
Elian Doran
b164d2e85b chore(nx/server): implicit dependencies for server 2025-05-09 18:05:30 +03:00
Elian Doran
563466ca37 chore(e2e): revisit explicit dependency on server:build 2025-05-09 17:52:00 +03:00
Elian Doran
06c7bed26c fix(ckeditor): code block background not working properly 2025-05-09 17:39:09 +03:00
SiriusXT
a76ca76813 Only expand/collapse the left pane of the focused window. 2025-05-09 22:31:16 +08:00
Elian Doran
66ae794332 chore(e2e): set up explicit dependency on server:build 2025-05-09 17:26:56 +03:00
Elian Doran
ca2693ff02 fix(client): missing CK stylesheet in dist 2025-05-09 14:19:42 +03:00
Elian Doran
cc9cb6f73a fix(desktop): build failing due to missing CSS 2025-05-09 14:12:58 +03:00
Elian Doran
230ac7feeb Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-09 13:56:31 +03: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 +03:00
SiriusXT
aecde9656b highlight the first visible find result in scrolling container. 2025-05-09 18:48:28 +08:00
renovate[bot]
8402f98db9 chore(deps): update dependency electron to v35.3.0 2025-05-09 10:39:03 +00: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 +03: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 +03: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 +03: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 +03:00
renovate[bot]
6a72b0e429 chore(deps): update dependency eslint-config-prettier to v10.1.5 2025-05-09 09:44:37 +00: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 +03:00
renovate[bot]
8c782ef5d1 fix(deps): update dependency better-sqlite3 to v11.10.0 2025-05-09 09:06:43 +00:00
renovate[bot]
9bc3162b51 chore(deps): update dependency @anthropic-ai/sdk to v0.41.0 2025-05-09 09:05:28 +00:00
renovate[bot]
03e92e40cd fix(deps): update dependency i18next to v25.1.2 2025-05-09 09:05:02 +00:00
renovate[bot]
82cfe4c80e chore(deps): update dependency @types/node to v22.15.17 2025-05-09 09:03:40 +00: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 +03:00
renovate[bot]
917d2393c1 chore(deps): update react monorepo 2025-05-09 09:00:49 +00: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 +03: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 +03:00
renovate[bot]
959d726588 fix(deps): update dependency globals to v16.1.0 2025-05-09 08:38:04 +00:00
renovate[bot]
0822cc9247 chore(deps): update dependency openai to v4.98.0 2025-05-09 08:37:35 +00:00
renovate[bot]
eda398cb6e chore(deps): update nx monorepo to v21.0.3 2025-05-09 08:37:03 +00:00
Elian Doran
a5a158fb14 chore(deps): remove deprecated type dependency 2025-05-09 11:31:57 +03:00
Elian Doran
9b78ad41ea chore(client): reintroduce CKEditor inspector 2025-05-09 11:21:47 +03:00
Elian Doran
a0fac8b6d9 fix(server): export not working due to content CSS 2025-05-09 10:31:37 +03:00
Elian Doran
9cb56a4875 chore(server): serve ck-content for share 2025-05-09 10:29:24 +03:00
Elian Doran
8a23c3987e chore(nx): sync tsconfig 2025-05-09 09:17:20 +03:00
SiriusXT
67e84d921f Avoid reporting errors when performFind has not been called 2025-05-09 10:00:12 +08:00
SiriusXT
fc50252e97 Close the find dialog when the note is temporarily readable 2025-05-09 09:37:50 +08:00
Elian Doran
9b30e3646f chore(ckeditor): add original content CSS 2025-05-08 23:19:16 +03:00
Elian Doran
4f7b494947 chore(ckeditor): add Trilium changes into content CSS 2025-05-08 23:15:22 +03:00
Elian Doran
c6c27acd6a chore(deps): fix some dependency issues 2025-05-08 21:35:35 +03:00
Elian Doran
57352aabd7 Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-08 21:22:15 +03:00
Elian Doran
5db6043017 chore(ckeditor): edit patches & add one for code blocks 2025-05-08 20:12:52 +03:00
Elian Doran
73f69f91f2 fix(server): code block themes not listed again 2025-05-08 18:51:37 +03:00
Elian Doran
ea03381801 refactor(ckeditor): fix type errors in syntax highlighting 2025-05-08 17:56:43 +03:00
Elian Doran
8e7c7ce30f refactor(ckeditor): syntax highlighting as plugin 2025-05-08 14:56:02 +03:00
Elian Doran
3216e2f2e4 chore(nx/server): change dependency method to client 2025-05-08 14:02:01 +03:00
SiriusXT
858814356a Make the find function for read-only code scroll correctly. 2025-05-08 16:25:44 +08: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 +03:00
renovate[bot]
d5424ba9ce fix(deps): update eslint monorepo to v9.26.0 2025-05-07 19:38:39 +00: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 +03:00
Elian Doran
726797b13d chore(client): fix more type errors 2025-05-07 22:29:11 +03:00
Elian Doran
3e468d7960 Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-07 21:39:07 +03:00
Elian Doran
57dfcd6fd3 Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-07 21:37:54 +03:00
Elian Doran
955f3547e8 chore(edit-docs): sync package 2025-05-07 21:17:36 +03:00
Elian Doran
d689c2e144 refactor(packages/*): solve type errors 2025-05-07 21:15:50 +03:00
Elian Doran
28266c5bd0 refactor(client): solve type errors 2025-05-07 21:15:32 +03:00
renovate[bot]
5ea26ea07a chore(deps): update dependency @vitest/coverage-v8 to v3.1.3 2025-05-07 17:38:51 +00: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 +03: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 +03: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 +03:00
Elian Doran
90be226ecc chore(ckeditor): remove deprecated "full" image setting 2025-05-07 19:19:31 +03:00
Elian Doran
e636619563 chore(ckeditor): update to 45.0.0 2025-05-07 19:15:08 +03:00
Elian Doran
bab9832ab3 chore(ckeditor): update to 44.3.0 2025-05-07 18:48:55 +03:00
renovate[bot]
9db2518b1b chore(deps): update dependency @swc/cli to v0.7.5 2025-05-07 15:40:56 +00:00
Elian Doran
eb54b0bb32 chore(ckeditor): remove original special characters 2025-05-07 18:38:36 +03:00
Elian Doran
aabd3da8bf feat(ckeditor): add emoji functionality 2025-05-07 18:27:37 +03:00
Elian Doran
1d577bffd3 chore(ckeditor): update to 44.2.0 2025-05-07 17:30:09 +03:00
Elian Doran
c87a4284c2 chore(deps): hoist ckeditor packages
Needed because they are random type errors
between products.
2025-05-07 17:11:41 +03:00
Elian Doran
c260638982 chore(ckeditor): update to 44.1.0 2025-05-07 17:10:24 +03:00
Elian Doran
ef76d28d38 feat(ckeditor): enable bookmark plugin 2025-05-07 16:58:29 +03:00
Elian Doran
f8e644acd7 chore(ckeditor): update to 44.4.0 2025-05-07 15:44:23 +03:00
Elian Doran
a9a3550dbf chore(ckeditor): update to 43.3.1 2025-05-07 15:17:07 +03:00
Elian Doran
dbfb088408 Merge branch 'feature/ckeditor_lib' of github.com:TriliumNext/Notes into feature/ckeditor_lib 2025-05-07 13:56:58 +03:00
Elian Doran
588ea2674a chore(ckeditor): clean up old build-trilium files 2025-05-07 13:56:51 +03:00
Elian Doran
abf7cd86d3 Merge remote-tracking branch 'origin/develop' into feature/ckeditor_lib 2025-05-07 13:13:52 +03:00
renovate[bot]
4f83019b94 chore(deps): update dependency @types/cheerio to v1 2025-05-07 10:12:33 +00:00
Elian Doran
b13bc23c24 chore(nx/ckeditor): fix two @ts-expect-error 2025-05-07 11:37:56 +03:00
Elian Doran
57d945fff0 feat(nx/ckeditor): set up cache 2025-05-07 10:03:29 +03: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 +03: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 +03:00
renovate[bot]
ffa1406a2b chore(deps): update nx monorepo to v21 2025-05-07 06:12:16 +00: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 +03: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 +03: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 +03: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 +03:00
renovate[bot]
0d374810a1 fix(deps): update dependency i18next to v25.1.1 2025-05-07 05:56:15 +00:00
renovate[bot]
dd26bd0dbe chore(deps): update dependency @types/sanitize-html to v2.16.0 2025-05-07 05:55:45 +00:00
renovate[bot]
5ce8359a23 fix(deps): update dependency bootstrap to v5.3.6 2025-05-07 05:55:21 +00:00
renovate[bot]
fec7d03dee chore(deps): update dependency webpack to v5.99.8 2025-05-07 05:53:49 +00:00
renovate[bot]
3d2c5dc21b chore(deps): update dependency @types/node to v22.15.14 2025-05-07 05:52:30 +00:00
Elian Doran
a9374185d9 fix(scripts): electron not rebuilding edit-docs 2025-05-07 08:44:07 +03:00
JYC333
14896fe845 Fix electron dep conflicts 2025-05-07 09:03:54 +08:00
JYC333
8f524f4529 Fix edit-docs nx error 2025-05-07 08:51:25 +08:00
Elian Doran
e067e79505 refactor(ckeditor): remove unnecessary build step 2025-05-06 22:56:26 +03:00
Elian Doran
2aa14b53e7 chore(ckeditor): update patch 2025-05-06 21:51:36 +03:00
Elian Doran
72dced679d fix(ckeditor): mentions not working in attribute editor 2025-05-06 19:43:11 +03:00
Elian Doran
ff0a24df55 chore(ckeditor): set correct metadata 2025-05-06 19:29:22 +03:00
Elian Doran
307c322165 fix(client): reintroduce attribute editor 2025-05-06 19:29:22 +03:00
SiriusXT
52d6d05159 Add e2e: open and activate notes from the launch pane and tree 2025-05-06 21:27:58 +08:00
Elian Doran
b2ff0739d5 feat(ckeditor): add patch for mentions 2025-05-06 15:56:36 +03:00
SiriusXT
2436838aae Hide the content menu on mouse up 2025-05-06 20:40:13 +08:00
Elian Doran
c98c2432ef chore(deps): use different approach for chalk, upath 2025-05-06 15:29:13 +03:00
SiriusXT
4f42be3647 Remove delays to close the right-click menu 2025-05-06 19:41:54 +08:00
Elian Doran
f80d06a61f chore(git): set up mail map for zadam 2025-05-06 11:09:03 +03:00
SiriusXT
647a5c948c Make it show which node triggered the event when right-clicking on the tree. 2025-05-06 14:55:17 +08:00
Elian Doran
19f6f3352d feat(nx/desktop): integrate rebuild at monorepo level 2025-05-06 09:09:59 +03:00
Elian Doran
4adafce9c4 chore(ckeditor): remove unnecessary chalk and upath step 2025-05-05 21:47:46 +03:00
Elian Doran
70ec38d534 chore(ckeditor): create shared type for editor 2025-05-05 21:44:27 +03:00
Elian Doran
6386c45212 chore(ckeditor): set proper typecheck dependencies 2025-05-05 21:12:00 +03:00
Elian Doran
5247eeaa04 chore(ckeditor): fix a type error 2025-05-05 21:11:48 +03:00
Elian Doran
629c56ebc8 chore(ckeditor): fix type declarations not being generated for dist 2025-05-05 21:11:39 +03:00
Elian Doran
3daa5da289 refactor(client): remove unnecessary CK interface 2025-05-05 19:12:27 +03:00
Elian Doran
ac7f178e26 chore(client): fix a type error 2025-05-05 19:12:14 +03:00
Elian Doran
340bd7c90e chore(nx): integrate build:dist for ckeditor plugins 2025-05-05 18:54:32 +03:00
Elian Doran
b8d960282c chore(nx): sync ts 2025-05-05 18:43:57 +03:00
Elian Doran
6d77ab5091 chore(ckeditor): remove redundant package locks 2025-05-05 18:43:47 +03:00
Elian Doran
380dedb43f chore(ckeditor): fix error about eslint plugin 2025-05-05 18:43:36 +03:00
Elian Doran
910b0d280d fix(ckeditor5): reintroduce block handle for floating editor 2025-05-05 15:43:14 +03:00
Elian Doran
10e5852a67 chore(nx): use shorter names for ckeditor packages 2025-05-05 15:01:32 +03:00
Elian Doran
9f25162700 refactor(ckeditor5-mermaid): use proper method for config type 2025-05-05 14:54:17 +03:00
Elian Doran
cf492a5f47 feat(nx/desktop): add serve no-dir 2025-05-05 10:27:52 +03:00
Elian Doran
e94d8b5b47 feat(nx/desktop): get electron to start on NixOS 2025-05-05 09:52:26 +03:00
Elian Doran
d6548f4cd6 chore(ckeditor5): integrate ckeditor5-math 2025-05-04 23:03:29 +03:00
Elian Doran
e85e92e074 chore(ckeditor5-math): integrate tests partially 2025-05-04 22:50:18 +03:00
Elian Doran
5d42b942ba chore(ckeditor5-math): integrate source code 2025-05-04 22:16:32 +03:00
Elian Doran
ee6e111a85 chore(ckeditor5-math): clean up 2025-05-04 21:34:02 +03:00
Elian Doran
9de3f0f4ba chore(ckeditor5-footnotes): clean up 2025-05-04 21:24:35 +03: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 +03:00
Elian Doran
034cd58833 chore(nx): sync tsconfig 2025-05-04 21:10:34 +03:00
Elian Doran
46e21928b8 chore(ckeditor5): integrate ckeditor5-footnotes 2025-05-04 21:10:06 +03:00
Elian Doran
c0a64d1ef0 chore(ckeditor5-footnotes): fix more errors 2025-05-04 21:06:57 +03:00
Elian Doran
face58c7e2 chore(ckeditor5-*): fix dependency to CKEditor 2025-05-04 20:57:57 +03:00
Elian Doran
d977866c44 chore(ckeditor5-footnotes): integrate source code changes 2025-05-04 20:31:25 +03: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 +03:00
Elian Doran
80c390c72b chore(ckeditor5-*): fix build errors 2025-05-04 19:58:18 +03:00
Elian Doran
6626aca12a chore(ckeditor5-math): initialize empty plugin 2025-05-04 19:53:24 +03:00
Elian Doran
2d27a4b50d chore(ckeditor5-footnotes): initialize empty plugin 2025-05-04 19:53:17 +03:00
Elian Doran
a494ff1169 chore(ckeditor5): integrate ckeditor5-admonition 2025-05-04 19:06:23 +03:00
Elian Doran
b0169d58ae chore(ckeditor5-admonition): integrate code structure 2025-05-04 18:53:18 +03:00
Elian Doran
19168934bf chore(ckeditor5-admonition): fix build errors 2025-05-04 18:41:44 +03:00
Elian Doran
35f5245c9e chore(ckeditor5-admonition): create empty project 2025-05-04 18:36:03 +03: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 +03:00
Elian Doran
07c2f1805e chore(ckeditor5-mermaid): integrate the rest of the files 2025-05-04 18:19:26 +03:00
Elian Doran
89f95f6187 fix(ckeditor5-mermaid): add missing CSS 2025-05-04 18:12:04 +03:00
Elian Doran
6b1dab4448 chore(ckeditor5-mermaid): add rollup and build artifacts to ignore 2025-05-04 17:58:51 +03:00
Elian Doran
58382913a1 fix(ckeditor5-mermaid): solve some runtime errors 2025-05-04 17:32:42 +03:00
Elian Doran
cdb62f4376 chore(ckeditor5): integrate ckeditor5-mermaid 2025-05-04 17:25:30 +03:00
Elian Doran
fa58055109 chore(ckeditor5-mermaid): port source code 2025-05-04 17:12:49 +03: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 +03:00
Elian Doran
90c0f41713 chore(ckeditor5-mermaid): prepare for repo 2025-05-04 15:18:54 +03:00
Elian Doran
094648e7e6 chore(ckeditor5-mermaid): create new project 2025-05-04 15:10:45 +03:00
Elian Doran
ba5c6eb816 chore(ckeditor5-keyboard-marker): fix missing composite for tsconfig 2025-05-04 15:00:10 +03:00
Elian Doran
dad7e3e408 chore(ckeditor5-keyboard-marker): integrate rest of the files 2025-05-04 14:58:29 +03:00
Elian Doran
2a966e7fd8 chore(ckeditor5): integrate keyboard-marker 2025-05-04 14:47:59 +03:00
Elian Doran
11c437e67c chore(ckeditor5-keyboard-marker): port source code 2025-05-04 14:38:37 +03: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 +03:00
Elian Doran
b5fa9f8ea4 chore(nx/ckeditor): initialize emptyproject for keyboard-marker 2025-05-04 14:17:47 +03:00
Elian Doran
c5fc51365d fix(client): build error due to missing copy-webpack-plugin 2025-05-04 14:17:12 +03:00
Elian Doran
62bd4220e7 docs(release): add footnotes change 2025-05-04 13:49:17 +03:00
SiriusXT
9b1ddd970c Add help for CTRL+SHIFT+CLICK 2025-05-04 17:30:13 +08:00
SiriusXT
5944d0acf4 Open an image in a new tab using ctrl+shift+click 2025-05-04 17:24:15 +08: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 +08:00
SiriusXT
d3a6079d9b Open in a new tab and activate notes when ctrl+click in tree 2025-05-04 17:02:57 +08: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 +03:00
Elian Doran
f0c735e4fc Merge branch 'develop' of github.com:TriliumNext/Notes into develop 2025-05-04 11:10:04 +03:00
Elian Doran
a1461fffde fix(ci): docker-main not building due to use of npm 2025-05-04 11:09:59 +03: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 +03: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 +03: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 +03: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 +03:00
Elian Doran
82888c62bc chore(deps): unnecessary types 2025-05-04 10:41:08 +03:00
renovate[bot]
acc5e34483 fix(deps): update dependency eslint-linter-browserify to v9.26.0 2025-05-04 07:40:48 +00:00
renovate[bot]
d6a61767b5 fix(deps): update dependency sqlite3 to v5.1.7 2025-05-04 07:40:27 +00:00
renovate[bot]
1a6f7572c1 chore(deps): update dependency ws to v8.18.2 2025-05-04 07:39:41 +00:00
renovate[bot]
d21d61d09a chore(deps): update dependency typedoc to v0.28.4 2025-05-04 07:38:55 +00:00
Elian Doran
b15b057777 fix(test): code block path not working when running tests 2025-05-04 10:31:24 +03:00
Elian Doran
398fc904b4 docs(release): technical improvements 2025-05-04 00:28:21 +03: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 +03:00
Elian Doran
1652481e42 Merge pull request #1846 from FliegendeWurst/openapi-revive
OpenAPI documentation fixes
2025-05-04 00:24:15 +03:00
Elian Doran
5090daed95 fix(server): list of syntax highlighting not working properly 2025-05-04 00:20:59 +03:00
Elian Doran
0ccbf75fa1 chore(ckeditor5/plugins): integrate file-upload 2025-05-03 23:39:30 +03:00
Elian Doran
26c060bd22 chore(ckeditor5/plugins): add file-upload
Original commit: a440988df452ab4367f5288269ba3c05aa5e6b8e
2025-05-03 23:13:01 +03: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 +03:00
FliegendeWurst
ea41b768f7 docs(dev): more entity_changes info 2025-05-03 21:18:46 +02:00
Arne Keller
d2342b872c docs(dev): reword blobs doc to avoid any misunderstandings 2025-05-03 21:18:42 +02:00
renovate[bot]
235dd4c016 chore(deps): update nx monorepo to v20.8.1 2025-05-03 18:23:35 +00:00
Elian Doran
93b58f65c6 Merge pull request #1838 from TriliumNext/renovate/eslint-plugin-playwright-2.x 2025-05-03 21:18:50 +03:00
Elian Doran
68187527ba Merge pull request #1834 from TriliumNext/renovate/typescript-5.x 2025-05-03 21:15:34 +03:00
renovate[bot]
acbba43d37 chore(deps): update dependency typescript to ~5.8.0 2025-05-03 18:13:53 +00:00
Elian Doran
bbd54836ec Merge pull request #1839 from TriliumNext/renovate/jsdom-26.x 2025-05-03 21:13:48 +03:00
Elian Doran
285061fb6d Merge pull request #1836 from TriliumNext/renovate/swc-monorepo 2025-05-03 21:10:05 +03:00
Elian Doran
e51e66cdfc Merge branch 'develop' into renovate/eslint-plugin-playwright-2.x 2025-05-03 21:04:28 +03:00
Elian Doran
68e38b0f21 Merge branch 'develop' into renovate/jsdom-26.x 2025-05-03 21:03:27 +03:00
Elian Doran
68456f0488 chore(tsconfig): disable no implicit override for now 2025-05-03 18:04:43 +03:00
Elian Doran
96fbf610d6 chore(ckeditor5/plugins): integrate includenote 2025-05-03 18:04:29 +03:00
Elian Doran
9d11f0e9c3 chore(ckeditor5/plugins): integrate mention customization 2025-05-03 17:48:22 +03:00
Elian Doran
a44eaeaf10 chore(ckeditor5/plugins): integrate markdown inline 2025-05-03 17:22:49 +03:00
Elian Doran
2f09411c0d chore(ckeditor5/plugins): integrate indent block shortcut 2025-05-03 17:20:14 +03:00
Elian Doran
afb987d4dd chore(ckeditor5/plugins): integrate emoji special characters 2025-05-03 17:14:18 +03:00
Elian Doran
bf45720f21 chore(ckeditor5/plugins): integrate remove format links 2025-05-03 17:05:50 +03:00
Elian Doran
2dcd37001f chore(ckeditor5/plugins): integrate reference link 2025-05-03 17:00:24 +03:00
Elian Doran
a54d8ed811 chore(ckeditor5/plugins): integrate internal link 2025-05-03 16:51:17 +03:00
Elian Doran
daa1df5a24 chore(ckeditor5/plugins): integrate italic as em & strikehtrough as del 2025-05-03 16:45:42 +03:00
Elian Doran
5cb5d8e511 chore(ckeditor5/plugins): integrate uploadimage 2025-05-03 16:40:32 +03:00
Elian Doran
444e33628c fix(nx/client): assets and inline SVG for CKEditor plugins 2025-05-03 16:16:53 +03:00
Elian Doran
528704ef71 refactor(nx/client): use composable webpack config 2025-05-03 15:20:22 +03:00
Elian Doran
ae85ec6ca6 chore(ckeditor5/plugins): integrate cuttonote 2025-05-03 15:05:00 +03:00
Elian Doran
f664efacbf chore(ckeditor5): integrate CSS 2025-05-03 13:02:35 +03:00
Elian Doran
8cc8dc2582 chore(ckeditor5): integrate basic plugins 2025-05-03 12:59:35 +03:00
Elian Doran
e1af7eba93 chore(ckeditor5): first integration into client (WIP) 2025-05-03 12:39:34 +03:00
Elian Doran
ba67812101 chore(ckeditor5): integrate building of ballon & decoupled 2025-05-03 12:14:45 +03: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 +03:00
Elian Doran
b6f166f1d7 chore(ckeditor5): add ckeditor as pnpm dependency 2025-05-03 12:04:55 +03:00
Elian Doran
ba6aa16778 chore(nx/ckeditor5): create empty lib project 2025-05-03 11:44:18 +03: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 +03:00
renovate[bot]
bf6cc402f1 fix(deps): update dependency diff to v7 2025-05-03 08:35:04 +00: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 +03: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 +03: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 +03:00
renovate[bot]
fd90038680 chore(deps): update swc monorepo 2025-05-03 08:28:27 +00:00
Elian Doran
c1e5ab27b6 fix(dump-db): type-only import 2025-05-03 11:28:14 +03: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 +03:00
Elian Doran
70cf2513ce feat(ci): add build to nx affected 2025-05-03 11:25:02 +03:00
Elian Doran
886dd60dd0 feat(db-compare): adapt to v214 2025-05-03 11:24:19 +03:00
Elian Doran
b56ae01990 feat(db-compare): display usage 2025-05-03 11:15:50 +03:00
Elian Doran
21f1bfbfd0 feat(db-compare): improve error logging when loading database 2025-05-03 11:10:57 +03:00
renovate[bot]
bcb113fd51 fix(deps): update dependency sqlite to v5 2025-05-03 08:03:26 +00:00
renovate[bot]
9adedd4fd2 chore(deps): update dependency webpack-cli to v6 2025-05-03 08:03:07 +00: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 +03: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 +03:00
Elian Doran
58947bda83 chore(db-compare): get rid of package-lock 2025-05-03 10:56:56 +03:00
Elian Doran
63dbf9195d chore(db-compare): approve build for sqlite3 2025-05-03 10:55:52 +03:00
FliegendeWurst
f2c3ea78f5 Revive generate-openapi script 2025-05-03 09:05:31 +02:00
Arne Keller
6467265cfd Misc docs 2025-05-03 08:57:33 +02:00
Arne Keller
9b188503db Fix version number in API docs
TODO: get this automatically?
2025-05-03 08:54:20 +02:00
Arne Keller
c8d5d69193 Fix doc comment, fix OpenAPI types 2025-05-03 08:53:36 +02:00
renovate[bot]
d07035a7dd fix(deps): update dependency sqlite3 to v5.1.5 [security] 2025-05-03 00:53:20 +00:00
Elian Doran
059553fd81 refactor(readme): change screenshot location 2025-05-03 03:53:08 +03:00
Elian Doran
7b25592cc5 chore(db-compare): port to TypeScript 2025-05-03 03:50:06 +03:00
Elian Doran
4b38eda827 chore(db-compare): move source code into monorepo 2025-05-03 03:35:10 +03:00
Elian Doran
0d4d9f7adf chore(db-compare): create empty project for monorepo 2025-05-03 03:31:44 +03: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 +03:00
renovate[bot]
922c4b22c4 chore(deps): update dependency jsdom to v26 2025-05-03 00:28:23 +00:00
renovate[bot]
2dbae3150e chore(deps): update dependency eslint-plugin-playwright to v2 2025-05-03 00:27:57 +00:00
Elian Doran
3e992736d5 chore(deps): unnecessary webpack plugin 2025-05-03 03:26:58 +03:00
renovate[bot]
df83e6c6f7 chore(deps): update pnpm to v10.10.0 2025-05-03 00:26:37 +00:00
renovate[bot]
e33057004b chore(deps): update dependency @playwright/test to v1.52.0 2025-05-03 00:24:47 +00:00
renovate[bot]
9867f4a617 chore(deps): update dependency ollama to v0.5.15 2025-05-03 00:24:08 +00:00
Elian Doran
6a4c705a44 chore(monorepo): clean up some more files 2025-05-03 03:20:19 +03:00
Elian Doran
eadbad1e23 chore(monorepo): integrate VSCode config 2025-05-03 03:17:06 +03:00
Elian Doran
f9db91d5a1 chore(monorepo): integrate everything from old monorepo 2025-05-03 03:14:23 +03:00
Elian Doran
85c8be691d fix(canvas): fonts not loading 2025-05-03 03:14:00 +03: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 +03:00
Elian Doran
f8ccbb341e chore(express-partial-content): remove sample files 2025-05-03 02:32:43 +03:00
Elian Doran
c1a5b1a0aa chore(express-partial-content): integrate tests and convert to vitest 2025-05-03 02:31:20 +03:00
Elian Doran
d6736821b6 chore(express-partial-content): integrate more files 2025-05-03 02:06:43 +03:00
Elian Doran
abede6239d fix(import): MP4 videos not recognized due to upstream bug 2025-05-03 01:59:29 +03:00
Elian Doran
dc8a0c6fff chore(express-partial-content): integrate with server 2025-05-03 01:59:17 +03:00
Elian Doran
910cd68d0f chore(express-partial-content): solve type errors 2025-05-03 01:38:21 +03:00
Elian Doran
7976f43a35 chore(express-partial-content): solve import errors 2025-05-03 01:24:10 +03:00
Elian Doran
adc5e8929b chore(express-partial-content): move source files 2025-05-03 01:21:46 +03:00
Elian Doran
24224d2c72 chore(nx): create empty project 2025-05-03 01:20:47 +03: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 +03: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 +03: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 +03:00
Elian Doran
7349176c98 chore(docs): revert accidental change of README 2025-05-03 01:02:38 +03: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 +03:00
renovate[bot]
bac1781902 chore(deps): update dependency electron to v35.2.2 2025-05-02 20:57:24 +00: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 +03: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 +03:00
Elian Doran
0bbfaff84c Merge remote-tracking branch 'origin/develop' into renovate/electron-rebuild-4.x 2025-05-02 23:40:12 +03:00
Elian Doran
64fa4cdec9 chore(ci): set fetch depth for affected 2025-05-02 23:38:58 +03:00
Elian Doran
b645ee1dae chore(ci): set default base for affected 2025-05-02 23:35:55 +03:00
Elian Doran
8dda47dbf7 chore(ci): set up affected on main branch 2025-05-02 23:34:47 +03:00
Elian Doran
c83501001e chore(ci): try to fix affected base 2025-05-02 23:30:12 +03:00
Elian Doran
11d33bf232 chore(ci): set SHAs for affected check 2025-05-02 23:26:59 +03:00
Elian Doran
a10e3e0088 chore(edit-docs): apply same changes as desktop 2025-05-02 23:25:01 +03:00
Elian Doran
0b00c73ed3 chore(desktop): adapt to new rebuild script 2025-05-02 23:24:32 +03:00
Elian Doran
845af5472e chore(ci): skip other jobs if affected fails 2025-05-02 23:19:43 +03:00
Elian Doran
c4e6039b84 chore(nx): ssync tsconfig 2025-05-02 23:17:11 +03:00
Elian Doran
5406d69094 chore(nx): set default branch 2025-05-02 23:17:03 +03:00
Elian Doran
3ea3ad1c1b feat(ci): check rebuild-deps 2025-05-02 23:16:54 +03: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 +03: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 +03: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 +03: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 +03: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 +03: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 +03: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 +03: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 +03:00
renovate[bot]
fa48d90fe4 chore(deps): update node.js to v22.15.0 2025-05-02 19:56:19 +00:00
Elian Doran
5a9a72058e Merge pull request #1785 from TriliumNext/renovate/webpack-5.x 2025-05-02 22:53:50 +03:00
Elian Doran
a57b3f98da Merge pull request #1809 from TriliumNext/renovate/tsx-4.x 2025-05-02 22:52:02 +03:00
renovate[bot]
51a5d9b76a chore(deps): update dependency openai to v4.97.0 2025-05-02 19:51:27 +00:00
Elian Doran
88e41f32d8 Merge pull request #1813 from TriliumNext/renovate/is-svg-6.x 2025-05-02 22:49:36 +03: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 +03:00
Elian Doran
27435a23c7 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-05-02 21:37:27 +03:00
renovate[bot]
60e29ea807 chore(deps): update dependency tsx to v4.19.4 2025-05-02 18:34:24 +00:00
Elian Doran
ba5eef66e7 docs(release): mention dependency updates 2025-05-02 21:32:49 +03: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 +03:00
Elian Doran
6b64c4daaa chore(release): update version in package.json 2025-05-02 21:29:19 +03:00
renovate[bot]
eb5bf9aef3 chore(deps): update dependency webpack to v5.99.7 2025-05-02 18:18:19 +00: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 +03:00
renovate[bot]
a6e6ba7efd chore(deps): update dependency is-svg to v6 2025-05-02 18:08:59 +00:00
renovate[bot]
a771006e6b chore(deps): update dependency @electron/rebuild to v4 2025-05-02 18:07:13 +00:00
renovate[bot]
492ee052e2 fix(deps): update dependency leaflet-gpx to v2.2.0 2025-05-02 18:06:37 +00:00
renovate[bot]
979e17bd48 chore(deps): update dependency csrf-csrf to v3.2.2 2025-05-02 18:05:03 +00:00
renovate[bot]
1cfc1c8a8c chore(deps): update dependency axios to v1.9.0 2025-05-02 18:04:35 +00:00
renovate[bot]
8691adb224 chore(deps): update dependency @anthropic-ai/sdk to v0.40.1 2025-05-02 18:04:03 +00:00
Elian Doran
d1b945e769 chore(release): mention monorepo 2025-05-02 21:03:31 +03:00
renovate[bot]
bc104c35ac fix(deps): update dependency mind-elixir to v4.5.2 2025-05-02 18:02:00 +00:00
renovate[bot]
98891bad24 fix(deps): update dependency marked to v15.0.11 2025-05-02 18:01:29 +00:00
renovate[bot]
8a7600c7cb fix(deps): update dependency i18next to v25.0.2 2025-05-02 18:00:59 +00:00
renovate[bot]
93f77d384e fix(deps): update dependency eslint-linter-browserify to v9.25.1 2025-05-02 18:00:31 +00:00
renovate[bot]
d9d2964fd3 chore(deps): update dependency typedoc to v0.28.3 2025-05-02 17:58:27 +00:00
renovate[bot]
c5ec750bde chore(deps): update dependency happy-dom to v17.4.6 2025-05-02 17:57:56 +00:00
renovate[bot]
49f79d176c chore(deps): update dependency @vitest/coverage-v8 to v3.1.2 2025-05-02 17:57:27 +00:00
renovate[bot]
4ec92c35c4 chore(deps): update dependency esbuild to ^0.25.0 [security] 2025-05-02 17:57:19 +00:00
Elian Doran
cfccf29672 Merge pull request #1773 from TriliumNext/feature/nx_monorepo
Set up NX-based monorepo
2025-05-02 20:54:23 +03:00
Elian Doran
81ebbb9390 chore(docs): restructure developer guide for monorepo 2025-05-02 20:51:13 +03:00
Elian Doran
27d1948bb1 chore(docs): improve EOL handling 2025-05-02 20:21:59 +03:00
Elian Doran
3e77e360ee fix(edit-docs): wrong path to user guide 2025-05-02 20:02:50 +03:00
Elian Doran
54fa812ef7 chore(deps): sync package lock 2025-05-02 20:02:36 +03:00
Elian Doran
e596adca00 fix(nx/edit-docs): rebuild script not working properly 2025-05-02 20:02:29 +03:00
Elian Doran
6e46ab0598 fix(export/zip): stylesheet not embedded due to wrong path 2025-05-02 20:01:07 +03:00
Elian Doran
6c2e5a1cc4 fix(server): help-dist incorrectly served in prod 2025-05-02 19:23:29 +03:00
Elian Doran
542d50b66e fix(sign): errors caused by logging 2025-05-02 17:19:44 +03: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 +03:00
Elian Doran
762da51183 chore(monorepo): use hoisted pattern as it might help signing 2025-05-01 22:37:27 +03:00
Elian Doran
de2de04f35 chore(sign): use sign code known to work 2025-05-01 21:49:22 +03:00
Elian Doran
ebab12dcc2 chore(sign): change log format 2025-05-01 21:49:10 +03:00
Elian Doran
18fff2823c chore(monorepo): integrate some more files 2025-05-01 21:30:51 +03:00
Elian Doran
1b2d769e85 chore(vs-code): i18n integration 2025-05-01 21:21:40 +03:00
Elian Doran
5596fa54f2 chore(sign): fix another import error 2025-05-01 21:19:34 +03:00
Elian Doran
1f9ddce566 chore(sign): fix import error 2025-05-01 21:07:55 +03:00
Elian Doran
d388cfa653 chore(vs-code): extension recommandations 2025-05-01 20:56:29 +03: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 +03:00
Elian Doran
04ed9c0155 chore(sign): clean up 2025-05-01 20:45:04 +03:00
Elian Doran
c4b89f7340 Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-05-01 19:18:59 +03:00
Elian Doran
8f46116e9a chore(sign): stop terminating signing if it fails 2025-05-01 19:15:02 +03:00
Elian Doran
308bbd160a chore(sign): log architecture of sign tool 2025-05-01 17:59:52 +03:00
Elian Doran
9b2accb370 chore(sign): log architecture of sign tool 2025-05-01 17:50:02 +03:00
Elian Doran
385182cd97 fix(edit-docs): get Electron to actually start 2025-05-01 17:22:26 +03:00
Elian Doran
b72e7339c8 fix(edit-docs): missing assets 2025-05-01 16:42:21 +03:00
Elian Doran
389bb79607 fix(edit-docs): electron not being able to start 2025-05-01 16:37:13 +03:00
Elian Doran
8d705f1712 chore(e2e): remove usage of path which caused some issues 2025-05-01 16:36:42 +03:00
Elian Doran
1d1289142d chore(types): fix errors due to verbatim module syntax 2025-05-01 16:36:26 +03:00
Elian Doran
783c99a738 test(client): wrong path to help button 2025-05-01 16:31:22 +03:00
Elian Doran
42ea41b33e chore(nx): fix "Cannot read properties of undefined" 2025-05-01 16:28:06 +03:00
Elian Doran
3119169b2e Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-05-01 16:22:53 +03:00
Elian Doran
8667ee3eb4 fix(server): in-app documentation for prod 2025-05-01 16:21:08 +03:00
Elian Doran
d690344c00 chore(server-e2e): URL causing cookies to not work properly 2025-05-01 14:29:45 +03:00
Elian Doran
a083418906 chore(server-e2e): allow starting via VS Code 2025-05-01 13:39:10 +03:00
Elian Doran
b64521d250 chore(nx/desktop): use custom electron-rebuild script 2025-05-01 12:45:42 +03:00
Elian Doran
a0c1bdde88 chore(nx/desktop): fix electron-rebuild on fresh install 2025-05-01 11:30:44 +03:00
Elian Doran
6e29b050af chore(nx/desktop): rename scripts to avoid collision with server 2025-05-01 11:28:05 +03:00
Elian Doran
094c94e848 chore(sign-windows): display output dir 2025-05-01 10:36:15 +03:00
Elian Doran
4689ef213c Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-04-30 22:29:51 +03:00
Elian Doran
87d7dc8618 chore(nx): add name to each project 2025-04-30 22:28:25 +03:00
Elian Doran
e314372fbd chore(edidt-docs): fix entrypoint partially 2025-04-30 22:17:38 +03:00
Elian Doran
52d6efedff chore(edit-docs): get it to start partially 2025-04-30 22:17:38 +03:00
Elian Doran
5d982ea438 chore(forge): gather files to be signed for analysis 2025-04-30 14:02:47 +03:00
Elian Doran
57c6dd2fee chore(forge): gather files to be signed for analysis 2025-04-30 11:36:13 +03:00
Elian Doran
614958f16c chore(docker): reintroduce healthchecks 2025-04-30 10:23:13 +03:00
Elian Doran
78c88d797c chore(docker): fix missing bindings after refactoring 2025-04-30 10:01:56 +03:00
Elian Doran
466e7e2fb9 chore(ci/docker): fix entrypoint 2025-04-30 09:45:52 +03:00
Elian Doran
419eb0bf9b chore(ci/docker): fix "no such file or directory" 2025-04-30 09:36:00 +03:00
Elian Doran
dd99f6c918 chore(docker): integrate debian-based container 2025-04-29 22:41:26 +03:00
Elian Doran
fada21027e chore(ci): adapt more docker steps 2025-04-29 22:20:17 +03:00
Elian Doran
2920838ab1 chore(docker): fix docker-build script 2025-04-29 21:54:40 +03:00
Elian Doran
6da8a89e80 chore(docker): use paths relative to project 2025-04-29 21:48:35 +03:00
Elian Doran
a6f401be4b chore(ci/playwright): change playwright targets 2025-04-29 15:09:08 +03:00
Elian Doran
965d64f56c chore(ci/playwright): set up pnpm 2025-04-29 14:33:19 +03:00
Elian Doran
83385a20bc chore(edit-docs): add serve script 2025-04-29 13:11:25 +03:00
Elian Doran
00396614ed chore(nx): integrate edit-docs 2025-04-29 12:50:05 +03:00
Elian Doran
d812471f8c chore(ci/docker): trigger dist build 2025-04-29 12:30:53 +03:00
Elian Doran
37708c8866 fix(docker): missing file 2025-04-29 12:19:45 +03:00
Elian Doran
6aaa25ef9d chore(nx/ci): add concurrency to nightly builds 2025-04-29 11:35:15 +03:00
Elian Doran
7e2d63847e chore(nx/ci): fix "Build Docker image" step 2025-04-29 11:34:12 +03:00
Elian Doran
054c0246d5 test(turndown-plugin-gfm): fix tests for table 2025-04-29 11:29:15 +03:00
Elian Doran
2c2953cb9e test(turndown-plugin-gfm): wrong test cases for strikethrough 2025-04-29 11:13:25 +03:00
Elian Doran
50d1d4fae1 chore(test/client): wrong path to docs 2025-04-29 10:57:15 +03:00
Elian Doran
32bc24b4c8 chore(test/client): solve dependency error due to CJS 2025-04-29 10:53:08 +03:00
Elian Doran
d31fa7a6cd chore(nx/e2e): use generated playwright workflow 2025-04-29 10:01:07 +03:00
Elian Doran
e0002078b7 chore(deps): update lock file 2025-04-29 09:51:45 +03:00
Elian Doran
ee428012e2 chore(nx/desktop): add entry point for NixOS 2025-04-29 09:51:32 +03:00
Elian Doran
9d5fbc60ad chore(nx/dump-db): integrate into monorepo 2025-04-29 00:17:58 +03:00
Elian Doran
fdcdc41ea6 chore(nx): clean up package JSON 2025-04-28 23:31:58 +03:00
Elian Doran
64f315437e chore(turndown-plugin-gfm): integrate tests 2025-04-28 23:27:00 +03:00
Elian Doran
b9af4e4e28 chore(nx): remove unnecessary git files 2025-04-28 23:02:03 +03:00
Elian Doran
e18613148b chore(nx/server): set up e2e 2025-04-28 22:58:00 +03:00
Elian Doran
546bb52abe chore(nx/forge): print signing logs on error 2025-04-28 21:57:48 +03:00
Elian Doran
6aaacd6ca1 fix(test/server): one more failing test 2025-04-28 21:55:40 +03:00
Elian Doran
4976033c16 chore(nx/forge): log architecture 2025-04-28 21:29:03 +03:00
Elian Doran
ea4f5f157e chore(nx/forge): try to copy the file instead 2025-04-28 21:04:11 +03:00
Elian Doran
9bf1e7b0b6 chore(nx/forge): display content for debugging 2025-04-28 20:38:22 +03:00
Elian Doran
31aff8a43a chore(nx/forge): try to use real path for signing 2025-04-28 20:24:01 +03:00
Elian Doran
d6c67b00e6 chore(nx/forge): report error when signing 2025-04-28 20:20:16 +03:00
Elian Doran
2ccbc100ec chore(nx/forge): add error logging for windows signing 2025-04-28 20:09:45 +03:00
Elian Doran
317d95fd60 chore(nx/desktop): set up serve 2025-04-28 19:58:43 +03:00
Elian Doran
7671143233 chore(test/server): fix date notes test 2025-04-28 17:38:24 +03:00
Elian Doran
bb278d495e chore(test/server): fix some mocks no longer working 2025-04-28 17:35:52 +03:00
Elian Doran
6db6bec847 chore(test/server): fix isWindows() read before defined 2025-04-28 17:31:08 +03:00
Elian Doran
43876deefc chore(test/server): always initialize translations 2025-04-28 17:30:58 +03:00
Jakob Schlanstedt
f10548a05c feat(image-captions): make footnotes work in image captions 2025-04-28 16:08:05 +02:00
Elian Doran
6e4698cf61 chore(test/server): fix some initialization errors 2025-04-28 17:02:43 +03:00
Elian Doran
cc07144f21 chore(test/server): wrong test config 2025-04-28 16:41:49 +03:00
Elian Doran
59663ed696 fix(test/server): supertest-based tests no longer working 2025-04-28 16:41:41 +03:00
Elian Doran
4dafa56671 fix(test): url import not found 2025-04-28 11:03:38 +03:00
Elian Doran
f6dc912d2a fix(test): i18n tests 2025-04-28 10:56:20 +03:00
Elian Doran
5029bfe3fe chore(nx): merge vitest configs 2025-04-28 10:43:18 +03:00
Elian Doran
05a61ebd29 fix(server): imports in migration not working 2025-04-28 10:19:51 +03:00
Elian Doran
d74b8e65bd fix(server): migration not working 2025-04-28 10:02:20 +03:00
Elian Doran
729ea1d2bc refactor(test/server): database 2025-04-28 09:52:59 +03:00
Elian Doran
0bef31c8a7 refactor(server): migration DBs 2025-04-28 09:46:25 +03:00
Elian Doran
f60bc89820 refactor(client): unused imports 2025-04-28 09:46:00 +03:00
Elian Doran
8773c32d4f Merge remote-tracking branch 'origin/develop' into feature/nx_monorepo 2025-04-28 09:38:09 +03:00
Elian Doran
a8b881799d chore(nx/test): set up global test script 2025-04-28 09:18:29 +03:00
Elian Doran
0fa6524de4 chore(test/server): add back integration test database 2025-04-28 08:54:57 +03:00
Elian Doran
fb6c8e04aa fix(nx/turndown-plugin-gfm): wrong entrypoint for vite 2025-04-28 08:26:31 +03:00
Elian Doran
b5eedf259e chore(nx/server): introduce tests 2025-04-28 08:26:13 +03:00
Elian Doran
b2f8b0014f chore(nx/ci): display output of signing 2025-04-27 23:51:15 +03:00
Elian Doran
bac0503c74 chore(nx/ci): add debug logs for signing 2025-04-27 23:47:51 +03:00
Elian Doran
eab98e23c0 chore(nx/ci): display output of signing 2025-04-27 22:05:09 +03:00
Elian Doran
dbad4fce36 chore(nx/forge): try a method to avoid missing prebuilds 2025-04-27 21:22:04 +03:00
Elian Doran
fec9ca60db fix(nx/forge): rebuild not working due to ignore logic 2025-04-27 18:14:55 +03:00
Elian Doran
ceb4f2084f chore(nx/forge): add debug logging for electron-rebuild 2025-04-27 17:42:07 +03:00
Elian Doran
8c685e6c7b chore(nx/forge): try to force rebuild packages 2025-04-27 17:41:54 +03:00
Elian Doran
7cc2e04319 fix(forge/macos): approve fs-xattr & macos-alias 2025-04-27 14:32:37 +03:00
Elian Doran
00806841ab Revert "chore(nx/forge): add some debug logging for env"
This reverts commit 575f38e6e0.
2025-04-27 14:15:08 +03:00
Elian Doran
543d61590f feat(forge): bypass macos signing when building locally 2025-04-27 14:14:54 +03:00
Elian Doran
6e1b8ba932 fix(nx/forge): missing apple id for signing 2025-04-27 12:59:46 +03:00
Elian Doran
575f38e6e0 chore(nx/forge): add some debug logging for env 2025-04-27 12:52:11 +03:00
Elian Doran
dfdc93f3fe chore(nx/forge): missing license meta 2025-04-27 12:46:45 +03:00
Elian Doran
bf98d92c23 chore(nx/server): fix upload path 2025-04-27 12:43:26 +03:00
Elian Doran
0784a71d79 chore(nx/forge): fix package not building server 2025-04-27 12:38:09 +03:00
Elian Doran
3bdd13fa44 chore(nx/forge): work on server packaging 2025-04-27 12:22:10 +03:00
Elian Doran
1a92e489d9 chore(nx/forge): try setting more options to fix rpm build 2025-04-27 12:13:36 +03:00
Elian Doran
8377a805c2 chore(nx/forge): try setting more options to fix deb build 2025-04-27 12:06:02 +03:00
Elian Doran
d4b5f9508f chore(nx/ci): fix wrong cache 2025-04-27 12:03:12 +03:00
Elian Doran
54202c55d2 chore(nx/forge): try to fix .deb building 2025-04-27 11:58:05 +03:00
Elian Doran
edffe3afe5 chore(nx/ci): set client as implicit dependency for server 2025-04-27 11:39:02 +03:00
Elian Doran
c1a7b3653d chore(nx/ci): fix some dependencies not being triggered 2025-04-27 11:32:26 +03:00
Elian Doran
8f5dc1a1c5 chore(nx/ci):: fix glob 2025-04-27 10:28:22 +03:00
Elian Doran
5560691bea chore(nx/ci):: run electron-forge:make 2025-04-27 10:15:00 +03:00
Elian Doran
17e5a6e6ac chore(nx/ci):: workspace scripts 2025-04-27 09:58:40 +03:00
Elian Doran
9f5d23349d chore(nx/ci): set up pnpm install 2025-04-27 09:41:43 +03:00
Elian Doran
76a6decf65 chore(nx/ci): set up pnpm 2025-04-27 09:40:13 +03:00
Elian Doran
273af2d83b chore(nx/client): set up pnpm for release 2025-04-26 23:44:46 +03:00
Elian Doran
3890eff6ba chore(nx/client): reintegrate tests 2025-04-26 23:03:16 +03:00
Elian Doran
251660e0cb chore(nx): restructure dependencies 2025-04-26 22:40:34 +03:00
Elian Doran
81df2e7fa8 refactor(nx/forge): typo 2025-04-26 11:58:35 +03:00
Elian Doran
bfb2ca577d fix(nx/forge): missing highlightjs 2025-04-26 11:45:32 +03:00
Elian Doran
880958e251 fix(nx/forge): missing jquery-hotkeys 2025-04-26 11:38:39 +03:00
Elian Doran
7a2b481036 chore(nx/desktop): dedicated port 2025-04-26 11:27:53 +03:00
Elian Doran
379d482d24 fix(nx/server): incorrect normalize.css 2025-04-26 10:14:01 +03:00
Elian Doran
345e5cfaf0 fix(nx/forge): path to electron-forge binaries 2025-04-26 09:58:42 +03:00
Elian Doran
b34d82336c fix(nx/forge): app icons missing 2025-04-26 09:56:23 +03:00
Elian Doran
82e98e5f59 fix(nx/forge): electron-forge:make not working 2025-04-26 04:07:22 +03:00
Elian Doran
312288988d feat(nx/forge): reduce size of better-sqlite3 2025-04-26 04:03:20 +03:00
Elian Doran
ebb78e4ce5 fix(nx/forge): serve assets from ASAR 2025-04-26 03:25:07 +03:00
Elian Doran
e266b50198 chore(nx/forge): fix prebuilds and build from dist 2025-04-26 03:23:47 +03:00
Elian Doran
aa388e0509 chore(nx/forge): ignore a few unnecessary files 2025-04-26 02:13:59 +03:00
Elian Doran
dffbbeebc9 chore(nx/forge): add package command 2025-04-26 02:12:52 +03:00
Elian Doran
6db093c1e9 chore(nx): update gitignore 2025-04-26 01:29:03 +03:00
Elian Doran
adb6a7c58b fix(nx/forge): nuspec failing due to missing meta 2025-04-26 01:28:07 +03:00
Elian Doran
de4fc4735b fix(nx/forge): setup icon 2025-04-26 01:09:32 +03: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 +03:00
Elian Doran
997ed22b86 chore(nx/forge): templates not working 2025-04-25 18:44:03 +03:00
Elian Doran
457bf2bf5e chore(nx/server): get electron-forge up to "Finalizing package" 2025-04-25 18:23:52 +03:00
Elian Doran
4257da62fd fix(nx/forge): get forge building to actually run 2025-04-25 17:46:50 +03:00
Elian Doran
506935b365 fix(nx/forge): get forge command to execute 2025-04-25 17:13:01 +03:00
Elian Doran
8f26d4cf63 fix(nx/docker): LLM prompts not accessible 2025-04-25 16:28:36 +03:00
Elian Doran
69f854034f fix(nx/docker): client-side translations 2025-04-25 14:06:33 +03:00
Elian Doran
d8ee579204 fix(nx/docker): icon, manifest & robots.txt 2025-04-25 14:01:39 +03:00
Elian Doran
b63a5d348a fix(nx/docker): serving most assets 2025-04-25 13:40:11 +03:00
Elian Doran
db71c18d2b feat(nx/docker): bind port 2025-04-25 13:34:06 +03:00
Elian Doran
76e43f3274 chore(nx/server): sync dependencies 2025-04-25 13:26:20 +03:00
Elian Doran
73bfff34db fix(nx/docker): access to ETAPI 2025-04-25 13:26:08 +03:00
Elian Doran
9fc06c4aed refactor(nx/docker): more cacheable installation 2025-04-25 12:41:50 +03:00
Elian Doran
b9a16c6173 fix(nx/docker): wrong paths at app level 2025-04-25 12:27:34 +03:00
Elian Doran
a808f0680c fix(nx/docker): wrong native for better-sqlite3 2025-04-25 12:17:52 +03:00
Elian Doran
9ef24eff52 chore(vscode): add yaml to recommendations 2025-04-25 12:14:35 +03:00
Elian Doran
422c16997b chore(vscode): add docker to recommendations 2025-04-25 12:00:08 +03:00
Elian Doran
cc7d6dea25 chore(nx/docker): add entrypoint for starting docker 2025-04-25 11:57:53 +03:00
Elian Doran
b44876ee08 chore(nx/server): resource dir 2025-04-25 10:50:58 +03:00
Elian Doran
0e8b1f31b3 chore(nx/docker): basic integration 2025-04-25 09:54:10 +03:00
Elian Doran
12977f145c chore(nx): add server:start 2025-04-25 08:49:04 +03:00
Elian Doran
12581a5363 chore(monorepo/server): native dependencies 2025-04-25 00:14:00 +03:00
Elian Doran
7adafdf56e fix(monorepo/electron): tray icon 2025-04-24 23:27:01 +03:00
Elian Doran
26815842c5 chore(monorepo/server): type error 2025-04-24 22:37:35 +03:00
Elian Doran
be79eb41da fix(monorepo/{client,server}): loading of fonts 2025-04-24 22:36:10 +03:00
Elian Doran
7935b250d0 fix(monorepo/desktop): remote not working 2025-04-24 22:16:59 +03:00
Elian Doran
e8095e8056 chore(vscode): add NX console to recommended extensions 2025-04-24 22:09:46 +03:00
Elian Doran
37a7cb6e82 chore(monorepo/desktop): improve run script 2025-04-24 21:47:03 +03:00
Elian Doran
e819facf63 fix(monorepo/server): missing dependencies to bettersqlite 2025-04-24 21:45:13 +03:00
Elian Doran
ec8740b179 fix(nx/desktop): get dist to start by simplifying module import 2025-04-24 21:30:31 +03:00
Elian Doran
aab545b82e chore(nx/server): set proper resource dir when run from dist 2025-04-24 16:08:02 +03:00
Elian Doran
aa68c705f0 chore(nx/server): remove logging 2025-04-24 15:51:58 +03:00
Elian Doran
e6f9d402cd fix(nx/desktop): use proper approach for ejs missing 2025-04-24 15:51:49 +03:00
Elian Doran
3ce4aa12d4 fix(nx/desktop): ejs missing 2025-04-24 15:39:34 +03:00
Elian Doran
e3cff46151 chore(nx/desktop): remove unnecessary dependencies & adapt scripts 2025-04-24 15:10:22 +03:00
Elian Doran
6aef6dfbd8 chore(nx/desktop): copy client 2025-04-24 15:04:39 +03:00
Elian Doran
f602a9f8bc chore(nx/desktop): run scripts 2025-04-24 15:04:34 +03:00
Elian Doran
cd14d8eee5 fix(nx/server): access to highlight.js styles 2025-04-24 14:55:11 +03:00
Elian Doran
494ee4739a fix(nx/server): access to assets in prod 2025-04-24 14:47:48 +03:00
Elian Doran
d6f4b44360 chore(nx): change data dir for server:start-prod 2025-04-24 14:41:36 +03:00
Elian Doran
6cd604313e chore(nx): update scripts 2025-04-24 14:36:36 +03:00
Elian Doran
ab2f0eed74 fix(nx/server): disable chunking for prod 2025-04-24 14:36:25 +03:00
Elian Doran
258fe2e452 fix(nx/server): missing images in dist 2025-04-24 13:45:48 +03:00
Elian Doran
13d9cb4679 fix(nx/server): flaky run due to missing debug dependency 2025-04-24 13:43:41 +03:00
Elian Doran
a84744da30 chore(nx): trigger client build when server is built 2025-04-24 13:34:03 +03:00
Elian Doran
b3754f4263 chore(nx): sync tsconfig 2025-04-24 13:25:32 +03:00
Elian Doran
11955ae56e fix(nx/server): serve most assets for dist 2025-04-24 13:18:06 +03:00
Elian Doran
5911eaf6b2 fix(nx/server): get images to work in dev mode 2025-04-24 12:35:53 +03:00
Elian Doran
d2010872ac feat(nx/server): copy client into server 2025-04-24 11:55:21 +03:00
Elian Doran
28ce71a203 fix(monorepo/server): get translations to work 2025-04-24 11:38:50 +03:00
Elian Doran
c79e3f535a fix(monorepo/server): asset path 2025-04-24 11:30:59 +03:00
Elian Doran
c8f0fac7c7 fix(monorepo/client): errors after pnpm 2025-04-24 11:28:59 +03:00
Elian Doran
de944576b6 chore(monorepo/server): set up copy of bettersqlite 2025-04-24 11:18:08 +03:00
Elian Doran
42c5ef257d chore(monorepo): get electron to start 2025-04-23 19:59:16 +03:00
Elian Doran
5389b8b3c7 chore(monorepo): switch to pnpm 2025-04-23 19:12:54 +03:00
Elian Doran
5dd2b216a5 fix(nx/desktop): backend not imported well 2025-04-23 14:58:49 +03:00
Elian Doran
5d02afe7f8 chore(nx/desktop): implement electron-rebuild 2025-04-23 14:38:41 +03:00
Elian Doran
4e6047f84d chore(nx/desktop): copy .node file for better-sqlite3 2025-04-23 14:31:11 +03:00
Elian Doran
470cd7f622 chore(nx/desktop): bundle server 2025-04-23 13:29:27 +03:00
Elian Doran
7f9651450b chore(nx/desktop): set up source code via webpack 2025-04-23 13:22:13 +03:00
Elian Doran
15fbe41312 chore(nx/desktop): switch to webpack-based build 2025-04-23 13:10:13 +03:00
Elian Doran
492e953517 chore(nx/desktop): start off with empty project 2025-04-23 12:59:26 +03:00
Elian Doran
ca309f3b58 chore(nx/client): get rid of warnings overlay 2025-04-23 12:20:29 +03:00
Elian Doran
9d284a5fe5 chore(nx/client): revert change to i18n debug 2025-04-23 12:17:57 +03:00
Elian Doran
43a44bf44c chore(nx/client): supress bootstrap warnings 2025-04-23 12:10:47 +03:00
Elian Doran
44b778fde6 fix(nx/client): proxying of libraries 2025-04-23 11:40:23 +03:00
Elian Doran
b213f9940e fix(nx/client): missing runtime chunk 2025-04-23 11:24:30 +03:00
Elian Doran
824d9e8b59 refactor(nx/client): fix CSS comment breaking build 2025-04-23 10:30:47 +03:00
Elian Doran
b2d051edee refactor(nx/server): fix proxying of stylesheets 2025-04-23 10:24:05 +03:00
Elian Doran
0d4de2a7dd refactor(nx/client): add types for http proxy 2025-04-23 10:16:11 +03:00
Elian Doran
659ccd8561 refactor(nx/client): set up proxy to client 2025-04-23 10:08:02 +03:00
Elian Doran
5308a089b8 chore(nx/client): set up proxy to client 2025-04-23 10:06:37 +03:00
Elian Doran
4e8ab98db1 chore(nx/client): missing config-sample 2025-04-23 10:00:05 +03:00
Elian Doran
eb67fe540a chore(nx/client): set up environment variables for serve 2025-04-23 09:59:05 +03:00
Elian Doran
c3a0c5427d chore(nx/client): set up entrypoints 2025-04-23 09:32:47 +03:00
Elian Doran
f89eb8cfd9 chore(nx/client): warning about util module 2025-04-23 09:27:53 +03:00
Elian Doran
23bfda0b51 chore(nx/client): fix dependency to commons 2025-04-23 09:22:43 +03:00
Elian Doran
bcc908a4b2 chore(nx/client): fix asset error 2025-04-23 08:40:19 +03:00
Elian Doran
f2ade4e6ca chore(nx/client): bypass module errors due to electron dependency 2025-04-23 08:38:06 +03:00
Elian Doran
aeeedea542 chore(monorepo/client): reintroduce script loader 2025-04-22 23:53:12 +03:00
Elian Doran
eb6d802952 chore(monorepo/client): set up stylesheets 2025-04-22 23:02:36 +03:00
Elian Doran
fa48e5986b chore(monorepo/client): set up dependencies 2025-04-22 22:50:24 +03:00
Elian Doran
70466dd784 chore(monorepo/client): sync settings 2025-04-22 22:29:00 +03:00
Elian Doran
9afe2ef761 chore(monorepo/client): move client source files 2025-04-22 22:12:56 +03:00
Elian Doran
23572bd47c chore(monorepo/client): create empty project 2025-04-22 22:06:10 +03:00
Elian Doran
e817a55660 chore(nx/server): fix api_docs_js_1.default.register is not a function 2025-04-22 21:35:09 +03:00
Elian Doran
d5e1c5ce1d chore(nx/server): fix favicon 2025-04-22 21:35:03 +03:00
Elian Doran
21487142cd chore(nx/server): add dependency to electron 2025-04-22 21:30:25 +03:00
Elian Doran
b27ff1def5 chore(nx/commons): fix compilation 2025-04-22 21:26:38 +03:00
Elian Doran
40fec89add chore(nx/turndown-plugin): fix compilation 2025-04-22 21:25:17 +03:00
Elian Doran
2aad162f8e chore(monorepo/server): fix db asset path 2025-04-22 19:56:00 +03:00
Elian Doran
6543d6c362 chore(monorepo/server): remove top-level await completely 2025-04-22 19:47:27 +03:00
Elian Doran
6e35806340 chore(monorepo/server): fix build errors due to wrong imports 2025-04-22 19:21:19 +03:00
Elian Doran
e655963004 chore(monorepo): remove dist 2025-04-22 19:18:55 +03:00
Elian Doran
1c63fb7eec chore(monorepo/server): configure to work with top-level await 2025-04-22 19:18:02 +03:00
Elian Doran
462ed3c6be chore(nx/server): remove empty file 2025-04-22 17:57:47 +03:00
Elian Doran
9dafabac45 chore(nx/server): manage dependencies 2025-04-22 17:37:02 +03:00
Elian Doran
1cbf574c21 chore(nx): remove unnecessary files 2025-04-22 17:23:44 +03:00
Elian Doran
e76f47ebb4 chore(nx/server): switch to module 2025-04-22 17:21:54 +03:00
Elian Doran
b2af043110 chore(nx/server): move source code 2025-04-22 17:16:41 +03:00
Elian Doran
9c0d42252e chore(nx): create empty project for server 2025-04-22 17:13:17 +03:00
Elian Doran
a10a4ba17d chore(nx): prepare turndown-plugin-gfm 2025-04-22 15:21:13 +03:00
Elian Doran
41cf38a26c chore(nx): prepare commons 2025-04-22 15:07:48 +03:00
Elian Doran
84b6764166 chore(nx): initialize empty commons project 2025-04-22 14:45:25 +03:00
Elian Doran
57ecf72c90 chore(nx): initialize as empty project 2025-04-22 14:38:57 +03:00
Elian Doran
a56b3c8bdc chore(nx): move .vscode extensions to old 2025-04-22 14:35:06 +03:00
Elian Doran
4f70084d24 chore(nx): start off with a blank package.json 2025-04-22 10:09:22 +03:00
Elian Doran
62dbcc0a2e chore(nx): move all monorepo-style in subfolder for processing 2025-04-22 10:06:06 +03:00
Elian Doran
2e200eab39 Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-22 09:48:11 +03:00
Elian Doran
fcd6a31a18 chore(monorepo/server): move Docker files 2025-04-22 09:45:56 +03:00
Elian Doran
a068f75960 chore(monorepo/edit-docs): fix module issue & add entry point 2025-04-22 09:37:02 +03:00
Adorian Doran
3f7b42d656 readme: correct the screenshot's window shadow 2025-04-22 01:00:15 +03:00
Adorian Doran
c5c2f98030 readme: use a screenshot with window shadow 2025-04-22 00:24:08 +03:00
Adorian Doran
88906e0bb9 readme: use a light theme screenshot 2025-04-22 00:14:43 +03:00
Adorian Doran
2c0ad021db readme: update the app screenshot 2025-04-22 00:08:57 +03:00
Adorian Doran
f61f7137f6 readme: add a screenshot 2025-04-22 00:05:59 +03:00
Elian Doran
e49d248bf5 chore(monorepo/dump-db): move to apps 2025-04-21 23:20:48 +03:00
Elian Doran
b750920832 chore(monorepo/edit-docs): port files 2025-04-21 23:18:45 +03:00
Elian Doran
df7e7b4d95 chore(monorepo): missing vitest dependency 2025-04-21 22:58:33 +03:00
Elian Doran
3eba61d3e2 chore(monorepo): remove no longer relevant script 2025-04-21 22:38:33 +03:00
Elian Doran
5564c76bb2 chore(monorepo): sync package lock 2025-04-21 09:18:05 +03:00
Elian Doran
0aa55ddebc fix(monorepo/desktop): fix missing express-partial-content 2025-04-21 09:15:08 +03:00
Jin
01121f991e chore: 🤖 update deps from develop 2025-04-21 01:25:52 +02:00
Jin
6e1a631a72 Merge branch 'develop' into feature/client_server_separation 2025-04-21 01:22:52 +02:00
Elian Doran
d47a0a3f87 fix(monorepo/desktop): fix missing @electron/remote 2025-04-21 00:44:33 +03:00
Elian Doran
28972b8657 fix(monorepo/desktop): fix electron-debug error 2025-04-21 00:28:53 +03:00
Elian Doran
46117ec9cb fix(monorepo/desktop): fix electron-level deps 2025-04-21 00:19:58 +03:00
Elian Doran
8cc4bcb711 fix(monorepo/server): fix missing monorepo dependencies 2025-04-20 23:26:50 +03:00
Elian Doran
953ad2ba1e fix(monorepo/electron): fix missing commons dependency in prod 2025-04-20 23:10:24 +03:00
Elian Doran
562d6fab3f fix(monorepo/server): fix missing yauzl dependency in prod 2025-04-20 22:52:04 +03:00
Elian Doran
24bce54bc4 fix(monorepo/electron): rebuild deps for start-prod 2025-04-20 22:34:12 +03:00
Elian Doran
75462fb06d fix(monorepo/server): fix mime-types not present in dist 2025-04-20 10:07:54 +03:00
Elian Doran
f73cabc952 fix(monorepo/electron): local dependency issues when running electron-forge result 2025-04-20 09:01:57 +03: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 +08:00
Elian Doran
2a5766312d fix(monorepo/server): stop installing dependencies from build-electron 2025-04-19 21:37:28 +03:00
Elian Doran
371234af47 fix(monorepo/server): try npm i instead of ci 2025-04-19 21:30:25 +03:00
Elian Doran
10f392642a fix(monorepo/server): try to fix npm ci error due to monorepo dep 2025-04-19 15:37:44 +03:00
Elian Doran
75bdb3117f fix(monorepo/server): use different mechanism for obtaining dependencies 2025-04-19 15:05:15 +03:00
Elian Doran
e408f7d8f1 fix(monorepo/electron): fix some sub-dependencies not being copied 2025-04-19 14:29:55 +03:00
Elian Doran
3558d3aced fix(monorepo/electron): server dependency not packaged 2025-04-19 14:09:38 +03: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 +08: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 +08: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 +08:00
Elian Doran
fa9748e8ca chore(monorepo): fix artifact publishing for nightly 2025-04-19 13:06:00 +03:00
Elian Doran
145006040f chore(monorepo): try to fix ARM64 not building properly on Linux 2025-04-19 12:55:01 +03:00
Elian Doran
31721cb682 chore(monorepo): move README onto docs 2025-04-19 12:46:21 +03:00
Elian Doran
abcf08e68c fix(monorepo/electron): rewrite package.json to avoid flaky config implementations in electron-forge 2025-04-19 12:34:24 +03:00
Elian Doran
8733acebf5 fix(monorepo/electron): add back executable name in package.json 2025-04-19 12:08:45 +03:00
Elian Doran
423cc3490b fix(monorepo/electron): use yet another approach for executableName 2025-04-19 12:00:58 +03:00
Elian Doran
0b327dd4b1 fix(monorepo/electron): use different approach for deb that might work 2025-04-19 11:47:57 +03:00
Elian Doran
8dabeb1398 fix(monorepo/electron): linux failing due to deb packaging 2025-04-19 11:38:57 +03:00
Elian Doran
93e4fc1a74 fix(monorepo/electron): windows building failing due to nuspec 2025-04-19 11:35:51 +03:00
Elian Doran
00a98643b0 chore(monorepo): move some files back to root 2025-04-19 11:25:32 +03:00
Elian Doran
45b1258dcc fix(monorepo/electron): bin path 2025-04-19 10:54:14 +03:00
Elian Doran
1041b337f3 fix(monorepo/electron): upload path 2025-04-19 10:45:11 +03:00
Elian Doran
8a8c8e17f1 fix(monorepo/electron): artifact searching 2025-04-19 10:35:07 +03:00
Elian Doran
ba04fd31f3 fix(monorepo/electron): reintroduce other icons 2025-04-19 10:34:48 +03:00
Elian Doran
ee422ee514 fix(monorepo/electron): reintroduce app icons 2025-04-19 10:21:59 +03:00
Elian Doran
084578befe chore(monorepo/electron): add global clean script 2025-04-19 10:04:12 +03:00
Elian Doran
5d9f2c8d6c chore(monorepo/electron): run prepare-dist for server 2025-04-19 09:53:20 +03:00
renovate[bot]
1efa85b145 fix(deps): update dependency eslint-linter-browserify to v9.25.0 2025-04-19 02:56:29 +00:00
renovate[bot]
ea8cdbb05b chore(deps): update eslint monorepo to v9.25.0 2025-04-19 02:56:18 +00:00
renovate[bot]
acdce04083 fix(deps): update dependency openai to v4.95.1 2025-04-19 02:55:55 +00:00
renovate[bot]
8fda84830e chore(deps): update dependency webpack to v5.99.6 2025-04-19 02:55:42 +00:00
Elian Doran
7010741beb chore(monorepo): handle build chains in root package scripts 2025-04-19 01:41:24 +03:00
Elian Doran
3d5e6196cc fix(monorepo/electron): out of date lock 2025-04-19 01:26:41 +03:00
Elian Doran
6c443c1cb1 chore(monorepo/electron): introduce global script & rename to desktop 2025-04-19 01:25:28 +03:00
Elian Doran
3935ae2df1 chore(monorepo/electron): reintroduce electron forge 2025-04-19 01:08:44 +03:00
Elian Doran
132242bf14 Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-19 01:08:18 +03:00
Elian Doran
d714c047a1 feat(monorepo/electron): allow running prod build 2025-04-19 00:45:39 +03:00
Elian Doran
e027f7e37b fix(monorepo/electron): copy-dist failing 2025-04-19 00:20:18 +03:00
Elian Doran
27465275f6 chore(monorepo/electron): invoke copy-dist 2025-04-19 00:17:36 +03:00
Elian Doran
183cbc6daf chore(monorepo/electron): rebuild sqlite 2025-04-19 00:08:56 +03:00
Elian Doran
454301748e chore(monorepo/electron): add run script 2025-04-18 23:59:09 +03:00
Elian Doran
00ca0e6e32 chore(monorepo/electron): rewrite server imports 2025-04-18 23:56:58 +03:00
Elian Doran
5fd8038cb7 chore(monorepo/electron): add types for squirrel 2025-04-18 23:56:36 +03:00
Elian Doran
acc7729891 chore(monorepo/electron): add extra dependencies 2025-04-18 23:54:05 +03:00
Elian Doran
dd07663183 chore(monorepo/electron): create package.json 2025-04-18 23:46:59 +03:00
Elian Doran
706a2ece5d chore(monorepo/ci): script failing due to dist change 2025-04-18 23:37:30 +03:00
Elian Doran
3f12483f29 chore(monorepo/ci): script failing due to anonymize-database.sql 2025-04-18 23:27:10 +03:00
Elian Doran
855c1b96f4 chore(monorepo/ci): script failing due to some non-existing files 2025-04-18 23:23:50 +03:00
Elian Doran
b2ebc8de0b chore(monorepo/ci): trigger client build also 2025-04-18 23:19:50 +03:00
Elian Doran
d4ad130b85 chore(monorepo/ci): trigger commons build first 2025-04-18 23:16:11 +03:00
Elian Doran
a588003962 fix(monorepo/ci): not triggering the right package command 2025-04-18 23:10:47 +03:00
Elian Doran
402da5df87 fix(monorepo/server): building the server 2025-04-18 23:07:44 +03:00
Elian Doran
37bf7c2bfb chore(monorepo/client): less verbose webpack output 2025-04-18 22:57:22 +03:00
Elian Doran
e8d9f980cd fix(monorepo): wrong server:build 2025-04-18 22:54:54 +03:00
Elian Doran
2037868044 fix(monorepo/client): fix excalidraw not being copied 2025-04-18 22:52:32 +03: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 +03:00
Elian Doran
70b49f1eae fix(monorepo/ci): fix "Run the TypeScript build" steps 2025-04-18 22:26:11 +03:00
Elian Doran
5e5b3077a1 Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-18 22:14:20 +03: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 +02:00
Elian Doran
87f3797b96 fix(monorepo/server): libraries not accessible on dist 2025-04-18 21:59:14 +03:00
Elian Doran
2325fbc72d chore(monorepo/server): find workaround to copy node modules 2025-04-18 21:52:50 +03:00
Elian Doran
81e6537007 chore(monorepo/server): dist:start running in dev mode 2025-04-18 20:40:24 +03:00
Elian Doran
88994ae9d9 chore(monorepo/server): copy client artifacts 2025-04-18 19:55:30 +03:00
Elian Doran
d24e66872d fix(monorepo/server): missing asset in dist 2025-04-18 19:41:09 +03:00
Elian Doran
3df195aac1 fix(monorepo/server): dist not running due to gfm package 2025-04-18 19:26:43 +03:00
Adorian Doran
1eb27b7eb1 style(next)/restyle CKEditor: use the proper font in popups 2025-04-18 19:08:03 +03:00
Elian Doran
d688f7f0a0 chore(monorepo/server): add script to run dist 2025-04-18 18:52:31 +03:00
Elian Doran
14b8578ff7 fix(monorepo/server): copying of source code 2025-04-18 18:48:51 +03:00
Elian Doran
5b298867b3 fix(monorepo/server): path of copy-dist 2025-04-18 18:31:41 +03:00
Adorian Doran
0c10dd75f9 style(next)/restyle CKEditor: restyle the action buttons 2025-04-18 18:24:46 +03:00
Elian Doran
4ecb80ce9a chore(monorepo/server): move licenses & adapt script 2025-04-18 18:15:31 +03:00
Elian Doran
c7b2a730f8 chore(monorepo/server): move dist & some scripts 2025-04-18 18:14:56 +03:00
Adorian Doran
408209a5d8 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-04-18 17:56:07 +03:00
Adorian Doran
4570e80871 style(next)/restyle CKEditor: restyle horizontal separators 2025-04-18 17:56:04 +03:00
Elian Doran
645cf6c364 chore(monorepo): bring back copy dist 2025-04-18 17:45:32 +03:00
Elian Doran
5c426df549 chore(monorepo): bring back build server 2025-04-18 17:38:10 +03:00
Elian Doran
b3946db40a chore(monorepo): scripts to build globally 2025-04-18 17:32:48 +03:00
Elian Doran
bc42038e01 chore(monorepo/client): fix non-expected error 2025-04-18 17:32:36 +03:00
Elian Doran
fe27eea5ba chore(monorepo): add global test script 2025-04-18 17:20:23 +03:00
Elian Doran
f0d365e336 chore(monorepo/client): reintegrate tests 2025-04-18 17:16:03 +03:00
Elian Doran
12bdf5adde chore(monorepo/server): remove server: prefix from scripts 2025-04-18 17:08:43 +03:00
Elian Doran
eecf984d35 chore(monorepo/server): improve running of tests 2025-04-18 17:07:23 +03:00
Elian Doran
6aa6597cb1 chore(monorepo/server): reintroduce tests 2025-04-18 16:55:43 +03:00
Elian Doran
c62fb0fb54 chore(monorepo): adapt update-build-info 2025-04-18 16:46:34 +03:00
Elian Doran
a271e57ac1 chore(monorepo): adapt update nightly for client & server 2025-04-18 16:41:41 +03:00
Elian Doran
15bba955fd chore(monorepo): reintegrate update nightly version 2025-04-18 16:39:37 +03:00
Elian Doran
eb6c89f1b4 chore(monorepo): remove npm prepare breaking npm ci 2025-04-18 16:34:55 +03:00
Elian Doran
42befb1a23 chore(monorepo): remove deprecated gitpod 2025-04-18 16:13:37 +03:00
Elian Doran
ca37a416bb chore(monorepo): put back docs 2025-04-18 16:10:44 +03:00
Elian Doran
0143db5b45 chore(monorepo): put back CI and environment setup 2025-04-18 16:10:03 +03:00
Elian Doran
639a56ee7d Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-18 14:05:57 +03: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 +03:00
Elian Doran
7443d12ce6 chore(monorepo/server): get rid of webpack middleware 2025-04-18 14:02:58 +03:00
Elian Doran
9b07e605f0 fix(monorepo/server): translations 2025-04-18 14:00:51 +03:00
Elian Doran
ccb5ee744c fix(monorepo/server): serving of libraries 2025-04-18 13:58:53 +03:00
Elian Doran
1af338b64f fix(monorepo/server): app-dist (as requested by webpack) on dev mode 2025-04-18 13:54:40 +03:00
Elian Doran
2af9a9a535 fix(monorepo/server): serve stylesheets 2025-04-18 13:34:51 +03:00
Elian Doran
f95f2e1dd8 fix(monorepo/server): get app assets to be served 2025-04-18 13:33:30 +03:00
Elian Doran
04b89dacb8 chore(monorepo/server): add assets temporarily in order to start 2025-04-18 13:31:59 +03:00
Elian Doran
7f5154a629 chore(monorepo/server): get favicon to work 2025-04-18 13:15:24 +03: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 +08:00
Elian Doran
4ef4b843ed chore(monorepo/server): missing swagger-ui-express 2025-04-18 13:12:16 +03:00
Elian Doran
4b109c17dc chore(monorepo/server): missing initialization data 2025-04-18 13:11:58 +03:00
Elian Doran
ea13565fc1 chore(monorepo/server): fix error due to markdown-gfm 2025-04-18 13:05:32 +03:00
Elian Doran
fa49f8ac54 chore(monorepo/server): fix most dependency issues 2025-04-18 13:03:08 +03:00
renovate[bot]
a22909582a fix(deps): update dependency openai to v4.95.0 2025-04-18 10:00:22 +00: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 +08: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 +08:00
Elian Doran
8d6194f049 chore(monorepo/server): serve client staticly 2025-04-18 12:54:06 +03:00
Elian Doran
1861d157d4 chore(monorepo): update package lock 2025-04-18 12:51:08 +03:00
Elian Doran
f6d095fe2b chore(monorepo/server): fix error due to express types 2025-04-18 12:50:59 +03:00
Elian Doran
fc228ca47c chore(monorepo/server): integrate turndown-plugin-gfm 2025-04-18 12:47:58 +03:00
Elian Doran
3ddc8e5e7b chore(monorepo/server): fix imports for becca mocking 2025-04-18 12:43:19 +03:00
Elian Doran
b0e97856bd chore(monorepo/server): fix imports for hidden subtree 2025-04-18 12:40:35 +03:00
Elian Doran
ad8b77564c chore(monorepo/server): fix imports for options_interface 2025-04-18 12:39:52 +03:00
Elian Doran
04594edc64 chore(monorepo/server): revert imports to share rows 2025-04-18 12:38:33 +03:00
Elian Doran
a59954eb17 chore(monorepo/server): rows import 2025-04-18 12:34:27 +03:00
Elian Doran
0c5a678a8a chore(monorepo/server): trimindentation import 2025-04-18 12:32:23 +03:00
Elian Doran
816355d397 chore(monorepo/server): keyboard-actions 2025-04-18 12:31:06 +03:00
Elian Doran
872d868cf6 chore(monorepo/server): add more libraries & their types 2025-04-18 12:29:47 +03:00
Elian Doran
4185b2d72a chore(monorepo/server): specify dependencies 2025-04-18 12:24:51 +03:00
Elian Doran
5058891af8 chore(monorepo/server): move server-side source code 2025-04-18 12:09:56 +03:00
Elian Doran
da41b95d36 chore(monorepo/server): integrate type definitions 2025-04-18 11:59:00 +03:00
Elian Doran
9a2cd6b5b8 chore(monorepo/server): create package.json 2025-04-18 11:52:52 +03:00
Elian Doran
8bcea010dd chore(monorepo/client): missing provider in vitest config 2025-04-18 11:40:45 +03:00
Elian Doran
059e617839 chore(monorepo/client): type error in library loader 2025-04-18 11:39:11 +03:00
Elian Doran
dd3982e24c chore(monorepo/client): missing script-loader declaration 2025-04-18 11:37:43 +03:00
Elian Doran
1542c4faf3 chore(monorepo/client): missing eslint dependency 2025-04-18 11:30:26 +03:00
Elian Doran
c4b7f6fff8 chore(monorepo/client): CKEditor-related type errors 2025-04-18 11:28:38 +03:00
Elian Doran
b109e7db77 chore(monorepo/client): add eslint 2025-04-18 11:24:01 +03:00
Elian Doran
bb4cf44d67 chore(monorepo/client): add back stylesheets 2025-04-18 11:21:47 +03:00
Elian Doran
470e443841 chore(monorepo/client): integrate test support 2025-04-18 11:19:43 +03:00
Elian Doran
e327c918e1 fix(monorepo/client): wrong data type for autocomplete 2025-04-18 11:08:22 +03:00
Adorian Doran
cd94668650 style(next)/restyle CKEditor: restyle tooltips 2025-04-18 11:03:57 +03:00
Elian Doran
04e51bdfbb fix(monorepo/client): missing CSS loader 2025-04-18 11:03:29 +03:00
Elian Doran
fe87889ee7 chore(monorepo/client): various type errors 2025-04-18 11:00:48 +03:00
Elian Doran
13a6fefaa2 fix(monorepo/client): errors in type definition 2025-04-18 11:00:31 +03:00
Adorian Doran
99e6a64c3b style(next)/restyle CKEditor: improve the appearance of popups 2025-04-18 10:46:43 +03:00
Elian Doran
920e1dbcd0 chore(monorepo/client): solve some import errors 2025-04-18 10:46:43 +03:00
Elian Doran
c02a006c67 chore(monorepo/client): solve some type errors 2025-04-18 10:46:32 +03:00
Elian Doran
17c7d7d908 fix(monorepo/client): missing electron remote dep 2025-04-18 10:41:29 +03:00
Adorian Doran
837cdea26f Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-04-18 10:39:44 +03:00
Adorian Doran
728d5ac68a style(next)/restyle CKEditor: improve the appearance of popups 2025-04-18 10:39:40 +03:00
Elian Doran
28a319be0b chore(monorepo/client): allow top-level await 2025-04-18 10:39:35 +03:00
Elian Doran
6b73ec4c1f chore(monorepo/client): group more data types into commons 2025-04-18 10:37:03 +03:00
Elian Doran
1b24207e9e fix(monorepo/client): error related to blobs 2025-04-18 10:36:51 +03:00
Elian Doran
011c859cea chore(monorepo/client): set up some common dependencies 2025-04-18 10:04:06 +03:00
renovate[bot]
c594f5b5ee chore(deps): update apple-actions/import-codesign-certs action to v5 2025-04-18 01:49:45 +00:00
renovate[bot]
ce05d70fe3 chore(deps): update dependency @playwright/test to v1.52.0 2025-04-18 01:49:27 +00:00
renovate[bot]
d958ee82cd fix(deps): update dependency ollama to v0.5.15 2025-04-18 01:49:16 +00:00
Elian Doran
42744acbb3 chore(monorepo/client): set up commons package 2025-04-18 02:45:31 +03:00
Elian Doran
25160a23a6 Merge remote-tracking branch 'origin/develop' into feature/client_server_separation 2025-04-18 02:33:39 +03:00
Elian Doran
2793f489d6 chore(monorepo/client): update package-lock 2025-04-18 02:32:06 +03:00
Elian Doran
a446e9ce84 fix(monorepo/client): errors due to missing dependencies 2025-04-18 02:28:33 +03:00
Elian Doran
5b28e309a8 fix(monorepo): remove profiling which was masking errors 2025-04-18 02:09:50 +03:00
Elian Doran
30214490f4 chore(monorepo): get webpack to run something 2025-04-18 02:03:34 +03:00
Elian Doran
6b62bdef3c chore(monorepo): relocate webpack dependencies 2025-04-18 01:41:44 +03: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 +02:00
Elian Doran
de2cdd5e78 chore(monorepo): relocate client files 2025-04-18 01:37:55 +03:00
Elian Doran
4aad0552b3 chore(monorepo): set up package.json for client 2025-04-18 01:35:06 +03:00
Elian Doran
a3cfef211e chore(monorepo): prepare basic structure 2025-04-18 01:29:23 +03:00
Elian Doran
318808f9ec chore(monorepo): move everything into subdirectory for easy diffing 2025-04-18 01:28:32 +03:00
Elian Doran
3b69eadbf6 chore(github): remove old workflows 2025-04-18 00:46:52 +03:00
Elian Doran
65c3c6b89a fix(client): admonitions broken due to merge conflicts 2025-04-18 00:37:03 +03: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 +03:00
Panagiotis Papadopoulos
93f645fc5b fix(routes/api/options): readd splitEditorOrientation option
got deleted accidentally by 49076e3cf6 (diff-85a967d423ba952960f6b0b8fd74f2f4aa84e3d94fa68d3404a68a205a4b4cb6)
2025-04-17 23:28:04 +02:00
perf3ct
bbe697cc3e fix(deps): macos signing is so complicated, had to fix making keychains searchable for v5 2025-04-17 21:07:22 +00: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 +03:00
Panagiotis Papadopoulos
a149b56f9d test(routes/login): add temporary timeout to workaround failing on CI 2025-04-17 22:59:42 +02:00
Panagiotis Papadopoulos
5462bdeef5 test(routes/login): use beforeAll for now 2025-04-17 22:59:42 +02:00
Panagiotis Papadopoulos
55e2abc7de test(config): add custom cookieMaxAge for now 2025-04-17 22:59:42 +02:00
Panagiotis Papadopoulos
a2fc327cdb test(routes/login): add more tests for the login route 2025-04-17 22:59:42 +02:00
Panagiotis Papadopoulos
af3a0cc05a test(routes/login): add initial test via supertest for failed login 2025-04-17 22:59:42 +02:00
Elian Doran
cb80d62606 chore(release): use PAT to trigger release (should fix auto-trigger for winget) 2025-04-17 23:55:51 +03:00
Elian Doran
ddb9281203 feat(release): support prereleases with -rc format 2025-04-17 23:50:33 +03:00
Elian Doran
910f75ae40 feat(release): publish to announcements 2025-04-17 23:46:46 +03:00
Elian Doran
57f86cf60a fix(winget): wrong token 2025-04-17 23:45:28 +03:00
perf3ct
4ddc67701c Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-5.x 2025-04-17 20:42:22 +00: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 +00:00
Elian Doran
7b3c432698 docs(release): upcoming version 2025-04-17 23:29:54 +03:00
Elian Doran
e89b41a48b Merge pull request #1120 from TriliumNext/style/next/restyle-ckeditor
Style Next: Restyle CKEditor
2025-04-17 23:22:17 +03:00
Adorian Doran
c8a3ce4298 style(next)/restyle CKEditor: overhaul the appearance 2025-04-17 23:09:25 +03:00
Elian Doran
93841f7ea7 Merge remote-tracking branch 'origin/master' into develop 2025-04-17 23:01:40 +03:00
Elian Doran
bf4e1b3e43 chore(docs): release template 2025-04-17 23:00:46 +03:00
Elian Doran
03e3863b16 Merge pull request #1325 from TriliumNext/ai-llm-integration
[WIP] AI/LLM integration
2025-04-17 22:57:30 +03:00
Elian Doran
6c0a43fee2 chore(docs): sync again 2025-04-17 22:44:28 +03:00
Elian Doran
041c228053 fix(client): root CSS import breaking some tests 2025-04-17 22:40:59 +03:00
Elian Doran
ee0a1e5cbf chore(docs): sync LLM documentation with develop 2025-04-17 22:29:12 +03:00
Elian Doran
0133e83d23 Merge remote-tracking branch 'origin/develop' into ai-llm-integration 2025-04-17 22:24:55 +03:00
perf3ct
3958d1d561 well the search_notes tool does something more useful now 2025-04-17 19:13:11 +00:00
perf3ct
eb5b85315f format document 2025-04-17 18:38:21 +00:00
perf3ct
a0dda48748 this is absolutely cursed, but query decomp works now 2025-04-17 18:36:53 +00:00
perf3ct
daa56b10e8 maybe 2025-04-17 18:19:40 +00:00
perf3ct
d83cce88cb format decomp files 2025-04-17 17:50:16 +00:00
perf3ct
19c36b18a6 query decomp is closer to working 2025-04-17 17:26:41 +00:00
perf3ct
7062e51f2d well at least query decomposition is working..for now 2025-04-17 17:19:52 +00:00
Adorian Doran
b3384a538c style(next)/restyle CKEditor: fix tooltips 2025-04-17 20:05:42 +03:00
perf3ct
5e50a2918d I don't think this can hurt to prioritize summaries of content 2025-04-17 16:30:57 +00:00
perf3ct
d1295ede90 fix formatting in vector_search_tool 2025-04-17 16:26:13 +00:00
perf3ct
0f23be96ca clarify that the note title is not the ID 2025-04-17 16:25:39 +00:00
perf3ct
9b5167231f add more logs around tool calling and recursion 2025-04-17 16:10:13 +00:00
Adorian Doran
0cfd9a634c style(next): refactor 2025-04-17 18:29:52 +03:00
Adorian Doran
cbf51ca5f9 Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/restyle-ckeditor 2025-04-17 18:29:37 +03:00
perf3ct
6f3d2b6ee2 dropdown for tool execution box
well this is some interesting CSS
2025-04-17 03:58:27 +00:00
perf3ct
9eec41816f fix the double saving of responses in the chat note 2025-04-17 03:29:18 +00:00
perf3ct
e968e00c80 try to fix tools again...
trying to fix tools, again...
2025-04-17 03:29:18 +00:00
perf3ct
c1ea9e376a I think sessions are finally decoupled 2025-04-16 22:56:54 +00:00
perf3ct
5e1fc5625d closer to decoupling sessions...
douple sessions, again

closer...

uhhh

closer....

closer...
2025-04-16 22:56:54 +00:00
perf3ct
2b14f73ad4 update frontend 2025-04-16 22:42:10 +00:00
perf3ct
cdc84f1cef decouple sessions even further
i think this is a better idea?
2025-04-16 22:42:10 +00:00
perf3ct
06924aad59 move these to the interfaces folder 2025-04-16 21:20:34 +00:00
perf3ct
1968a5fff8 create restoreSessionFromChatNote function 2025-04-16 21:18:01 +00:00
perf3ct
daccadd5e0 why does it work now 2025-04-16 21:09:44 +00:00
perf3ct
ec6214bee0 well, at least resolve these issues? 2025-04-16 20:33:04 +00:00
perf3ct
8f1723c386 get rid of unused functions 2025-04-16 20:10:41 +00:00
perf3ct
3da33987a0 move some more logic into the "container widget" for llm_chat 2025-04-16 20:09:26 +00:00
perf3ct
21b07ff7e4 this one too 2025-04-16 19:36:34 +00:00
perf3ct
d149e21896 rename files with underscore 2025-04-16 19:36:10 +00:00
perf3ct
534396bce5 break up the rest_chat_service 2025-04-16 19:35:09 +00:00
perf3ct
77e637384d have the Chat Note be the single source of truth, part 1 2025-04-16 18:52:22 +00:00
perf3ct
07db19abd8 reduce the use of any, part 4 2025-04-16 17:49:43 +00:00
perf3ct
80ea2c3eef reduce the use of any, part 3 2025-04-16 17:29:35 +00:00
perf3ct
4601e3bfdb reduce the use of any, part 2 2025-04-16 17:20:36 +00:00
perf3ct
64f2a93ac0 reduce the use of any, part 1 2025-04-16 17:07:54 +00: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 +00:00
perf3ct
2acc30f94a Merge branch 'develop' into ai-llm-integration 2025-04-16 00:18:10 +00:00
perf3ct
193c577acf wow, this fixed openai too 2025-04-15 22:54:18 +00:00
perf3ct
0bca44f8e0 fix the table reference 2025-04-15 22:54:18 +00:00
perf3ct
e5aab5bc04 Fix Anthropic responses when tools are called 2025-04-15 22:54:18 +00:00
perf3ct
38e7d10fd7 well, this is close enough for now and Anthropic 2025-04-15 22:53:38 +00:00
perf3ct
76d13f682e this works, mostly
const cleanupDelay = toolsExecuted ? 15000 : 1000
2025-04-15 22:53:38 +00:00
perf3ct
edd075cba1 tool calling works, but still no response yet
closer..

nice

definitely remove this for now
2025-04-15 22:13:25 +00:00
perf3ct
6df87fc163 closer to anthropic tool calling... 2025-04-15 18:27:30 +00:00
perf3ct
374975eafc fix hardcoded values part 5 2025-04-15 18:03:35 +00:00
perf3ct
67a45333b3 clean up hardcoded values part 4 2025-04-15 17:53:05 +00:00
perf3ct
284ba096d0 fix hardcoded values part 3 2025-04-15 17:46:42 +00:00
perf3ct
0d7cfe8061 fix hardcoded values part 2 2025-04-15 17:44:29 +00:00
perf3ct
8591705290 yeet hardcoded values 2025-04-15 17:41:28 +00:00
perf3ct
aadb8cce5d fix the duplicated...messages through the websocket? 2025-04-15 01:29:12 +00: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 +00:00
perf3ct
2bc2aa857f wooo, tool execution container shows for openai 2025-04-14 20:15:14 +00:00
perf3ct
c04e3b2c89 okay openai tool calling response is close to working 2025-04-14 19:39:29 +00:00
perf3ct
6750467edc Merge branch 'develop' into ai-llm-integration 2025-04-14 19:27:08 +00:00
perf3ct
7c97493b5c fix the note_creation tool 2025-04-14 19:13:53 +00:00
perf3ct
6f98e724a8 see if this doesn't upset the machine? 2025-04-14 19:08:38 +00: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 +00:00
perf3ct
9a68155edc saving chats finally works again, even if the UI is kinda...broken
wow
2025-04-13 21:26:43 +00:00
perf3ct
f252f53e82 Yeah, this kinda looks okay for tool execution 2025-04-13 20:12:17 +00:00
perf3ct
c9bb0fb219 put more websocket logic into the stream handler 2025-04-13 19:44:04 +00:00
perf3ct
d1edf59f97 well this at least allows for streaming responses when no tool calls are made 2025-04-13 17:56:57 +00:00
perf3ct
263c869091 hmm 2025-04-12 19:09:25 +00:00
perf3ct
6bba1be5f4 Structure tool response 2025-04-12 17:23:25 +00:00
perf3ct
519076148d do a better job of implementing a stream_handler 2025-04-12 17:13:37 +00:00
perf3ct
253dbf92fa this at least works to send responses when there's no tool calls 2025-04-12 17:03:36 +00:00
perf3ct
80c29e2a01 Do a better job of handling tools 2025-04-11 22:52:09 +00:00
perf3ct
def70af65b break up the chat_panel into smaller files 2025-04-11 21:52:54 +00:00
perf3ct
16604c85a6 I think this is close 2025-04-11 21:38:10 +00: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
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 +00:00
perf3ct
451e5ea31f getting closer to streaming?
even closer?

closer streaming...

this is darn close
2025-04-11 20:18:20 +00:00
perf3ct
b68ff88840 some more docstrings 2025-04-09 21:33:30 +00:00
perf3ct
6fe2b87901 rip out openai custom implementation in favor of sdk 2025-04-09 21:16:29 +00:00
perf3ct
f71351db6a also rip out our custom anthropic implementation 2025-04-09 21:08:30 +00:00
perf3ct
53223b5750 well, we ripped out our custom ollama implementation in favor of the SDK 2025-04-09 20:33:55 +00:00
perf3ct
7f92dfc3f1 okay I can call tools? 2025-04-09 20:15:21 +00:00
perf3ct
b05b88dd76 yes, this finally does set streaming to true 2025-04-09 19:53:45 +00:00
perf3ct
59a358a3ee use this new providerMetadata approach 2025-04-09 19:21:34 +00:00
perf3ct
1dfbabc1d1 try using a new ProviderOptions approach 2025-04-09 19:11:27 +00:00
perf3ct
4f812cd2ce require that ChatCompletionOptions be defined 2025-04-09 17:39:47 +00:00
perf3ct
8ff3f4f269 handle streaming responses better in Chat UI 2025-04-09 17:35:53 +00:00
perf3ct
208267edb8 increase context window size 2025-04-09 01:24:43 +00:00
perf3ct
c95b9f798c recursive thinking? 2025-04-09 01:24:32 +00:00
perf3ct
39f979ea8c sheeeesh 2025-04-09 00:42:15 +00: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 +00:00
perf3ct
7373249dee well this works for tool calling the "readNote" func 2025-04-08 22:08:52 +00:00
perf3ct
683d1a5481 I think we're close to getting tooling to work
close?
2025-04-08 22:02:54 +00:00
perf3ct
cdd4529828 add even more tools 2025-04-08 20:00:49 +00:00
perf3ct
61eaf46a04 definitely don't need this 2025-04-08 19:15:11 +00:00
perf3ct
c716481ef8 resolve linter errors 2025-04-08 19:15:11 +00:00
perf3ct
2d745c12c8 wow, this actually does something 2025-04-08 19:15:11 +00:00
perf3ct
b8a6da6d52 rename these "agent tools" 2025-04-08 19:15:11 +00:00
perf3ct
7725b924e9 add some more useful tools
CLOSER....

works?
2025-04-08 19:15:11 +00: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 +00:00
perf3ct
eb353df010 fix translations, again
fix translations

fix translations

add more missing translations
2025-04-06 20:27:30 +00:00
perf3ct
bbd81f6ef1 use 16 character random string for session ID 2025-04-06 19:14:16 +00:00
perf3ct
023f0b607d ELIAN HELPED ME 2025-04-06 16:32:04 +00:00
perf3ct
34a9008d29 YEET 2025-04-06 16:00:45 +00:00
perf3ct
c53a66be23 maybe
?
2025-04-06 16:00:00 +00:00
Elian Doran
26e7476f0f fix(build): re-align option definitions 2025-04-06 18:48:53 +03:00
Elian Doran
de8370831c fix(build): totp missing options 2025-04-06 18:44:08 +03:00
Elian Doran
5daed43c0f Merge branch 'develop' into ai-llm-integration 2025-04-06 18:07:39 +03:00
Elian Doran
b80bfb7ca4 chore(release): bump to 1.1.0 2025-04-06 17:23:17 +03:00
Elian Doran
5e55118ae0 chore(deps): update yarn.lock 2025-04-06 17:21:33 +03:00
Elian Doran
1a1cb3d60b feat(editor): rewrite <s> to <del> 2025-04-05 22:30:47 +03:00
perf3ct
5bcfec1835 add missing translation 2025-04-05 00:54:22 +00:00
perf3ct
9f66a9b413 add missing translations 2025-04-05 00:52:32 +00:00
JYC333
0449b19ca0 Merge pull request #1 from TriliumNext/express_v5
deps: update to express v5
2025-04-04 15:48:00 +08:00
Panagiotis Papadopoulos
de92391121 deps: update to express ^5.1.0 2025-04-03 23:30:55 +02:00
Panagiotis Papadopoulos
a3b6d4d151 chore: convert to LF line ending 2025-04-03 23:27:32 +02:00
perf3ct
14705eb1c5 split up sendMessage into its own service 2025-04-02 19:14:26 +00: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 +00:00
perf3ct
6e8ab373d8 use highlight.js in code_handlers where possible 2025-04-02 17:38:28 +00:00
perf3ct
b7d5d926f7 centralize all formatter prompt strings 2025-04-02 17:29:53 +00:00
perf3ct
fde644a432 remove commented imports 2025-04-02 17:26:32 +00:00
perf3ct
bdcbc2558a add two missing options into the UI 2025-04-01 22:19:11 +00:00
perf3ct
c500300267 this can be much faster 2025-04-01 21:44:54 +00:00
perf3ct
ed52d71729 do a better job at centralizing json extraction, and query "enhancer" search queries 2025-04-01 21:42:09 +00:00
perf3ct
5b3dca88d9 fix interface issues 2025-04-01 20:55:58 +00:00
perf3ct
49076e3cf6 clean up unused options 2025-04-01 20:38:03 +00:00
perf3ct
afe1de5ed3 get rid of silly ollamaIsEnabled 2025-04-01 19:41:30 +00:00
perf3ct
9719859a39 centralize constants for message formatting 2025-04-01 19:33:53 +00:00
perf3ct
154d2905fa actually undo translations in hierarchy.ts for now 2025-04-01 18:51:37 +00:00
perf3ct
2db0ff2462 move prompt constants from JS to TS 2025-04-01 18:49:37 +00:00
perf3ct
afd16c22b7 make all hierarchy.ts strings translateable, and centralize them 2025-04-01 18:48:39 +00:00
perf3ct
7ae55de8b1 move the embeddings api endpoint to underneath llm 2025-04-01 18:44:10 +00: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
perf3ct
ee9c4cb23b fix the model selection setting to not be overridden by loading available model list 2025-03-31 18:28:21 +00:00
perf3ct
bfa4c87076 add missing options 2025-03-31 16:01:38 +00:00
perf3ct
edeebc77be add missing options? 2025-03-31 16:01:22 +00:00
perf3ct
4c720818f0 add MFA branch to ai-llm-integ 2025-03-31 15:55:54 +00:00
perf3ct
435e7cdd4f Merge branch 'develop' into ai-llm-integration 2025-03-31 15:55:41 +00:00
perf3ct
f2cb013e14 dynamically adjust context window sizes based on conversation context 2025-03-30 22:13:40 +00:00
perf3ct
29845c343c move translation strings for AI Chat Note type 2025-03-30 21:28:34 +00:00
perf3ct
c046343349 fix voyage.ts typescript issues 2025-03-30 21:03:27 +00:00
perf3ct
614d5ccdd3 move from using axios to fetch in llm services 2025-03-30 21:00:02 +00:00
perf3ct
dd9b37e9fb move query decomp strings to their own file 2025-03-30 20:08:27 +00:00
perf3ct
75601814d4 fix LBTPL_NOTE_LAUNCHER name
asdf
2025-03-30 20:03:05 +00:00
perf3ct
229a29d1cb create get/set for private funcs 2025-03-30 19:56:09 +00:00
perf3ct
997edd8de8 clean up anthropic constant locations 2025-03-30 19:50:16 +00:00
perf3ct
a5488771ae fix showing percentage of embeddings that are completed 2025-03-30 19:43:10 +00:00
perf3ct
40bbdb2faa fix chunking imports again 2025-03-30 19:41:31 +00:00
perf3ct
53c756be4f fix duplicate translations 2025-03-30 19:35:13 +00:00
perf3ct
6b86bf93ae fix import paths in chunking 2025-03-30 19:35:07 +00:00
perf3ct
9dd76873ac add embedding recreation button back 2025-03-30 19:32:38 +00:00
perf3ct
d8d41a14cf add missing translation strings 2025-03-30 19:20:33 +00:00
perf3ct
c701bc5b0b deduplicate event handlers in ai_settings 2025-03-30 19:06:31 +00:00
perf3ct
d67e8e61cb break up ai_settings.ts into multiple files 2025-03-30 19:03:41 +00:00
perf3ct
58f855a46b also fix other providers to not be reset when refreshing settings? 2025-03-30 18:55:09 +00:00
perf3ct
87a905984c fix Ollama models always being overwritten upon settings load 2025-03-30 18:52:27 +00:00
perf3ct
86096ee5b1 Properly reload the LLM chat when swapping between LLM Chat Notes 2025-03-29 22:11:07 +00:00
perf3ct
5d3cfcd0fc properly manage "saving" LLM chats 2025-03-29 21:55:37 +00:00
perf3ct
def28b1dcd migrate to a pipeline approach for LLM chats 2025-03-29 21:31:33 +00:00
Elian Doran
fceee44844 fix(cuttonote): header formatting remains after cut to note 2025-03-29 02:07:03 +02: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 +02:00
perf3ct
a8fc9e9768 render chat output as markdown, cool 2025-03-28 23:46:50 +00:00
perf3ct
8497e77b55 fix linter errors in providers 2025-03-28 23:27:40 +00:00
perf3ct
2311c3c049 centralize LLM constants more 2025-03-28 23:25:06 +00:00
perf3ct
224cb22fe9 centralize prompts 2025-03-28 23:07:02 +00:00
perf3ct
72c380b6f4 do a wayyy better job at building the messages with context 2025-03-28 22:50:15 +00:00
perf3ct
ea4d3ac800 Do a better job with Ollama context, again 2025-03-28 22:29:33 +00:00
perf3ct
2899707e64 Better use of interfaces, reducing useage of "any" 2025-03-28 21:47:28 +00:00
perf3ct
d1cd0a8817 fix ai_settings TPL location 2025-03-28 21:26:09 +00:00
perf3ct
2f573d4464 fix TPL location in llm_chat_panel.ts 2025-03-28 21:19:59 +00:00
perf3ct
0aa214786c yeet unused app_service.js 2025-03-28 21:17:42 +00:00
perf3ct
59e77407e2 get rid of timeouts that aren't needed anymore 2025-03-28 21:14:57 +00:00
perf3ct
005ddc4a59 create more interfaces to decrease use of "any" 2025-03-28 21:04:12 +00:00
perf3ct
44cd2ebda6 fix requeue errors 2025-03-28 20:37:09 +00:00
perf3ct
d201104662 Move additional chat buttons to another spot 2025-03-28 20:34:20 +00:00
perf3ct
921a243b0d "Chat with Notes" launcher works 2025-03-28 20:16:16 +00:00
Elian Doran
4859de492e Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-5.x 2025-03-28 22:09:42 +02:00
perf3ct
a05013c8f4 fix AiChatButton 2025-03-28 20:06:11 +00:00
perf3ct
aaa3ee2697 Well the AI chat note type "kinda" works... 2025-03-28 20:01:39 +00:00
perf3ct
5456ac32ef set up embedding similarity constants and similarity system 2025-03-26 23:12:45 +00:00
perf3ct
a7cafceac9 more heavily weigh notes with title matches when giving context to LLM 2025-03-26 23:05:16 +00:00
Elian Doran
35fbc731a7 Merge branch 'develop' into ai-llm-integration 2025-03-26 22:46:36 +02:00
perf3ct
baef5f9ada fix updateProvider parameter 2025-03-26 19:21:59 +00:00
perf3ct
15630fb432 add swaggerUI docstrings for LLM/AI API routes 2025-03-26 19:19:19 +00:00
perf3ct
7c519df9b5 fix prompt path import 2025-03-26 19:12:05 +00:00
perf3ct
713805394c move providers.ts into providers folder 2025-03-26 19:10:16 +00:00
perf3ct
5869eaff9a move more constants from files into centralized location 2025-03-26 18:08:30 +00:00
perf3ct
a50575c12c move more prompts to the constants file 2025-03-26 18:01:20 +00:00
perf3ct
c49883fdfa move constants to their own files and folder 2025-03-26 17:56:37 +00:00
Elian Doran
6b12374678 Merge branch 'develop' into renovate/apple-actions-import-codesign-certs-5.x 2025-03-26 19:23:55 +02:00
perf3ct
44b6734034 anthropic works 2025-03-26 04:13:04 +00:00
renovate[bot]
38f33d8573 chore(deps): update apple-actions/import-codesign-certs action to v5 2025-03-25 02:59:09 +00:00
perf3ct
654ed4706e fix embedding provider precedence settings issue 2025-03-24 22:29:26 +00:00
perf3ct
3534399cd9 yerp that was it 2025-03-24 22:28:20 +00:00
perf3ct
f1ecc15f45 might have to delete this later, fixing the right-pane-container 2025-03-24 21:18:37 +00:00
perf3ct
b00c20c357 Merge branch 'develop' into ai-llm-integration 2025-03-24 21:16:20 +00:00
perf3ct
9d29ff4a6c don't spam the logs if a provider isn't enabled 2025-03-24 21:13:54 +00:00
perf3ct
567e9e8280 Remove the drag-and-drop for settings, kept breaking 2025-03-24 21:00:40 +00:00
perf3ct
150b0f0977 remove isEnabled from embedding providers 2025-03-24 20:35:46 +00:00
Elian Doran
c15257da7e refactor(mermaid): use different lazyloading mechanism 2025-03-22 14:50:05 +02:00
perf3ct
0707266dc1 reset embedding_queue where objects are "isprocessing" 2025-03-20 22:17:04 +00:00
perf3ct
3d70a6c42e appropriately show if there are any notes still in the queue 2025-03-20 22:05:10 +00:00
perf3ct
34940b5258 Merge branch 'develop' into ai-llm-integration 2025-03-20 19:52:01 +00:00
perf3ct
c9728e70bb also extract Note relationships and send as context 2025-03-20 19:50:48 +00:00
perf3ct
915c95f7cb more aggressively filter notes out that don't work for us 2025-03-20 19:42:38 +00:00
perf3ct
1be70f1163 do a better job of building the context 2025-03-20 19:35:20 +00:00
perf3ct
9c1ab4f322 add to base prompt 2025-03-20 19:22:41 +00:00
perf3ct
273dff2a34 create a better base system prompt 2025-03-20 19:11:32 +00:00
perf3ct
eb1ef36ab3 move the llm_prompt_constants to its own folder 2025-03-20 18:49:30 +00:00
perf3ct
e566692361 centralize all prompts 2025-03-20 00:06:56 +00:00
perf3ct
4ff3c5abcf agentic thinking really works now 🗿 2025-03-19 20:35:17 +00:00
perf3ct
90db570e30 agent tools do something now 2025-03-19 20:17:52 +00:00
perf3ct
0d4b6a71fc update agent tools 2025-03-19 20:09:18 +00:00
perf3ct
5b81252959 fix translation 2025-03-19 19:55:56 +00: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 +00:00
perf3ct
d5efcfe0a9 fix chat_service imports 2025-03-19 19:33:03 +00:00
perf3ct
466b749298 yeet deprecated function 2025-03-19 19:31:25 +00:00
perf3ct
db4dd6d2ef refactor "context" services 2025-03-19 19:28:02 +00:00
perf3ct
352204bf78 add agentic thinking to chat 2025-03-19 18:49:14 +00:00
perf3ct
492c05bad4 clean up silly chat_widget that was in the wrong place 2025-03-19 18:31:54 +00:00
perf3ct
f6afb1d963 set up agentic thinking 2025-03-19 16:19:48 +00:00
perf3ct
1a8ce967d9 stop the log spam 2025-03-18 22:20:17 +00:00
perf3ct
8129f8f2b1 oh my goodness, saving these settings finally works 2025-03-18 22:04:09 +00:00
perf3ct
f05fe3f72b set up embedding normalization 2025-03-18 21:09:19 +00:00
perf3ct
08f7f1962b do a better job with similarity searches 2025-03-18 00:50:55 +00:00
perf3ct
c37201183b add Voyage AI as Embedding provider 2025-03-17 22:32:00 +00:00
perf3ct
558f6a9802 add translations 2025-03-17 21:55:22 +00:00
perf3ct
84a8473beb adapt or regenerate embeddings - allows users to decide 2025-03-17 21:47:11 +00:00
perf3ct
5ad730c153 openai finally works, respect embedding precedence 2025-03-17 21:36:14 +00:00
perf3ct
ac40fff8d1 draggable options for LLM provider too 2025-03-17 21:30:10 +00:00
perf3ct
43cf33c191 make the AI settings even fancier to setting precedence 2025-03-17 21:24:56 +00:00
perf3ct
ebc5107b96 add missing options 2025-03-17 21:23:43 +00:00
perf3ct
3268c435e2 improve embedding precedence 2025-03-17 21:03:42 +00:00
perf3ct
37f1dcdaab add ability to fetch available models from openai 2025-03-17 21:03:21 +00:00
perf3ct
7ee6cf668e add additional options and provider sorting 2025-03-17 21:03:07 +00:00
perf3ct
14acd1cd89 improve LLM response parsing 2025-03-17 21:02:05 +00:00
perf3ct
c40c702761 add anthropic options as well 2025-03-17 20:17:28 +00:00
perf3ct
4a4eac6f25 Allow users to specify OpenAI embedding and chat models 2025-03-17 20:07:53 +00:00
perf3ct
d95fd0b049 allow specifying openai embedding models too 2025-03-17 19:54:11 +00:00
perf3ct
6d146c2f49 try ollama first, always 2025-03-17 19:41:31 +00:00
perf3ct
5aef80f4cf fix openai endpoints 2025-03-17 19:36:58 +00:00
perf3ct
8d8c34c0a2 fancier LLM/AI chat errors 2025-03-17 17:16:18 +00:00
perf3ct
79514b8f93 also add the errors to the top of the chat window 2025-03-17 16:33:30 +00:00
perf3ct
fe1faf77e2 show user at the top of settings if there are issues 2025-03-17 16:23:58 +00:00
perf3ct
1844ad7b49 fix the isEnabled function 2025-03-17 15:42:38 +00:00
Elian Doran
0ea7e10084 feat(options/llm): improve style of tabs 2025-03-17 11:26:45 +02:00
Elian Doran
fa99624ba4 feat(options/llm): move stats at the top 2025-03-17 11:06:03 +02:00
Elian Doran
1efc923320 feat(options/llm): use columns and separators 2025-03-17 11:00:25 +02:00
Elian Doran
e6cb06b8ac feat(options/llm): use form text style 2025-03-17 10:54:54 +02:00
Elian Doran
5a6d27173e feat(options/llm): improve checkboxes 2025-03-17 10:54:01 +02:00
Elian Doran
36a6d75d20 feat(options/llm): group into sections 2025-03-17 10:40:31 +02:00
Elian Doran
2853b8eb61 feat(options/llm): use tabs for provider configuration 2025-03-17 10:28:14 +02:00
Elian Doran
1dafa65b3a fix(settings/llm): extra separators 2025-03-16 23:31:47 +02:00
Elian Doran
5d0be300bf feat(llm): show/hide LLM button based on setting 2025-03-16 23:28:52 +02:00
Elian Doran
d7167131cb refactor(llm): use dedicated widget for llm chat button 2025-03-16 23:22:29 +02:00
Elian Doran
7b643a7d82 fix(llm): duplicate launch bar config 2025-03-16 23:22:29 +02:00
perf3ct
cc85b9a8f6 fix autoupdate name inconsistency 2025-03-16 20:55:55 +00:00
perf3ct
ab3c6b6fb1 remove options from migrations files 2025-03-16 20:49:55 +00:00
perf3ct
d2072c2a6f "lock" notes that are having their embeddings created 2025-03-16 20:36:47 +00:00
perf3ct
781a2506f0 fix embeddings w/ cls.init() 2025-03-16 18:55:53 +00:00
perf3ct
0081e6f1d0 fix sql error and add missing options 2025-03-16 18:53:01 +00:00
perf3ct
d8c9d3bdfb move these settings between db migrations 2025-03-16 18:35:31 +00:00
perf3ct
c315b32c99 wait for DB init even to emit before starting LLM services 2025-03-16 18:21:43 +00:00
perf3ct
697d348286 set up more reasonable context window and dimension sizes 2025-03-16 18:08:50 +00:00
perf3ct
572a03a3f7 Merge branch 'develop' into ai-llm-integration 2025-03-16 17:39:27 +00:00
perf3ct
c556989f85 Merge branch 'develop' into ai-llm-integration 2025-03-15 19:38:27 +00:00
Elian Doran
c3a9582208 fix(admonition): inserting new admonitions of given type not working 2025-03-15 10:49:27 +02:00
Elian Doran
6231df7f0e feat(math/display): allow inserting in display in a list 2025-03-15 01:07:32 +02:00
Elian Doran
3a24a959a2 refactor(build): switch to submodule for ckeditor5-math 2025-03-15 01:00:24 +02:00
Elian Doran
578eb46814 fix(build): observable breaking at runtime 2025-03-15 00:59:26 +02:00
Elian Doran
d6dbadb89e chore(build): align package.json with others 2025-03-15 00:59:07 +02:00
Elian Doran
3c505f3d3b fix(build): augmentations not being imported 2025-03-15 00:29:46 +02:00
Elian Doran
56bb2b0bb8 fix(build): remove usage of global 2025-03-15 00:24:12 +02:00
Elian Doran
80de28c617 fix(admonitions): breaking math plugin 2025-03-14 23:29:41 +02:00
Elian Doran
2c6df42d51 refactor(admonitions): convention for constants 2025-03-14 22:55:32 +02:00
Elian Doran
2f3106d8cd feat(editor): functional autoformat when type is not specified 2025-03-14 22:54:46 +02:00
Elian Doran
4967883f1d feat(editor): functional autoformat when type is specified 2025-03-14 22:47:42 +02:00
Elian Doran
15de8e1b57 feat(editor): rewrite <i> to <em> 2025-03-14 11:30:44 +02:00
Elian Doran
83a4804c2c feat(admonitions): start implementing autoformat 2025-03-14 11:25:38 +02:00
Elian Doran
878743500f feat(admonitions): convert to split and get last type 2025-03-13 23:20:58 +02:00
Elian Doran
5c9fe3adcd feat(admonitions): indicate with a checkmark the active type 2025-03-13 22:47:21 +02:00
Elian Doran
a3354d4d10 refactor(admonitions): remove no longer needed custom conversion 2025-03-13 22:21:43 +02:00
Elian Doran
504879b11c feat(admonitions): allow changing admonition type 2025-03-13 22:20:12 +02:00
Elian Doran
fb7e310224 feat(admonitions): allow selecting admonition type 2025-03-13 21:27:29 +02:00
perf3ct
f8d4088dfe Merge branch 'develop' into ai-llm-integration 2025-03-13 19:10:46 +00:00
Elian Doran
d29edbe325 fix(admonitions): create dropdown list 2025-03-13 20:07:55 +02:00
Elian Doran
283dbb2b75 fix(admonitions): double enter to exit block 2025-03-13 19:41:46 +02:00
Elian Doran
8c6c15a8d1 feat(admonitions): apply dedicated admonition class 2025-03-13 19:38:52 +02:00
Elian Doran
c49b30cf53 feat(admonitions): use aside instead of blockquote 2025-03-13 19:28:57 +02:00
Elian Doran
d11254e044 feat(admonitions): add custom icon 2025-03-13 19:10:07 +02:00
Elian Doran
d79110b75c feat(admonitions): rename toolbar button 2025-03-13 19:05:20 +02:00
Elian Doran
137c5c27cd refactor(admonitions): more references to blockquote 2025-03-13 19:02:17 +02:00
Elian Doran
e028f88821 chore(admonitions): rename plugin names and more references 2025-03-13 18:41:37 +02:00
Elian Doran
9ef17919c5 refactor(admonitions): remove unnecessary docs 2025-03-13 18:37:43 +02:00
Elian Doran
303a943b81 refactor(admonitions): remove unnecessary tests 2025-03-13 18:37:19 +02:00
Elian Doran
a0b60eed8f refactor(admonitions): rename exports 2025-03-13 18:36:36 +02:00
Elian Doran
eaa52b4527 refactor(admonition): rename files 2025-03-13 18:35:10 +02:00
Elian Doran
0f9ab0dd89 refactor(admonitions): rename classes 2025-03-13 18:33:39 +02:00
Elian Doran
9af9845985 chore(admonitions): start off with a fresh copy of blockquote plugin 2025-03-13 18:27:05 +02:00
Elian Doran
e24812f1a3 chore(admonitions): start off with a fresh copy of blockquote plugin 2025-03-13 18:27:05 +02:00
Elian Doran
21658e62b4 feat(editor): add style plugin 2025-03-13 14:01:16 +02:00
perf3ct
4796c24898 Merge branch 'develop' into ai-llm-integration 2025-03-12 22:49:29 +00:00
perf3ct
6bb4bbb1af specially handle Buffer objects into Base64 and back for Becca 2025-03-12 22:43:58 +00:00
perf3ct
67766e3e9f create note_embedding object for becca 2025-03-12 22:37:49 +00:00
perf3ct
8d7e5c8d43 fix the maths for stats 2025-03-12 21:18:59 +00:00
perf3ct
d4cfc65b27 yes, now the failed embeddings section at least looks passable 2025-03-12 21:15:57 +00:00
perf3ct
ee7b2283de correctly style the failed embeddings section 2025-03-12 21:13:49 +00:00
perf3ct
c914aaa4a8 do a better job of handling failed note embeddings 2025-03-12 21:04:06 +00:00
Elian Doran
aac822cf80 feat(editor): add keyboard style button 2025-03-12 21:35:13 +02: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 +00:00
perf3ct
b6df3a721c allow user to select *where* they want to generate embeddings 2025-03-12 18:02:51 +00:00
perf3ct
3fee82eaa5 rename files with the same name 2025-03-12 16:51:09 +00:00
perf3ct
73445d97e7 move chunking to its own folder 2025-03-12 16:33:46 +00:00
perf3ct
46a6533e57 update chunking management 2025-03-12 01:26:25 +00:00
perf3ct
e5afbc6ddc better manage chunking errors 2025-03-12 01:21:36 +00:00
perf3ct
fcba151287 allow for manual index rebuild, and ONLY rebuild the index 2025-03-12 00:17:30 +00:00
perf3ct
eaa947ef7c "rebuild index" functionality for users 2025-03-12 00:08:39 +00:00
perf3ct
72b1426d94 break up large vector_store into smaller files 2025-03-12 00:02:02 +00:00
perf3ct
fc5599575c allow users to manually request index to be rebuilt 2025-03-11 23:29:54 +00:00
perf3ct
730d123802 create llm index service 2025-03-11 23:26:47 +00:00
perf3ct
3f37196fe7 add additional options for users 2025-03-11 23:26:39 +00:00
perf3ct
0d2858c7e9 upgrade chunking 2025-03-11 23:04:51 +00:00
perf3ct
6ce3f1c355 better note names to LLM? 2025-03-11 22:47:36 +00:00
perf3ct
1f661e4c90 make sure to not retry chunks if they fail or something else 2025-03-11 20:38:40 +00:00
perf3ct
f47b070f0f I think this works to handle failed embeddings 2025-03-11 20:22:01 +00:00
perf3ct
71b3b04c53 break up the huge context_extractor into smaller files 2025-03-11 18:39:59 +00:00
perf3ct
0985cec8d6 implement chunking and use becca for some functionality 2025-03-11 18:17:41 +00:00
perf3ct
4160db9728 fancier (but longer waiting time) messages 2025-03-11 18:07:28 +00:00
perf3ct
56fc720ac7 undo accidental MAX_ALLOWED_FILE_SIZE_MB change 2025-03-11 17:31:26 +00:00
perf3ct
ff679b00b6 move providers to their own folder 2025-03-11 17:30:50 +00:00
perf3ct
d413e6015a update checkbox options in settings and update translations 2025-03-11 04:17:18 +00:00
perf3ct
d2dc401639 add these options as configurable 2025-03-11 03:58:39 +00: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 +00:00
perf3ct
9834e77bb4 fix context logic 2025-03-10 20:04:49 +00:00
perf3ct
f482b3b4c8 do a better job of extracting context 2025-03-10 18:53:36 +00:00
perf3ct
c386e34c33 Update the chat panel theme some 2025-03-10 17:34:31 +00:00
perf3ct
08626c7a2d when a user clicks on a source, don't swap focus 2025-03-10 05:57:16 +00:00
perf3ct
bd97d971ed this is pretty close to opening a new tab? 2025-03-10 05:52:33 +00:00
perf3ct
75e18e42bf Make the sources section fancier 2025-03-10 05:27:27 +00:00
perf3ct
c1585c73da actually shows useful responses now 2025-03-10 05:06:33 +00:00
perf3ct
ef6ecdc42d it errors, but works 2025-03-10 04:28:56 +00:00
perf3ct
cf0e9242a0 try a context approach 2025-03-10 03:34:48 +00:00
perf3ct
adaac46fbf I'm 100% going to have to destroy this commit later 2025-03-09 02:19:26 +00:00
perf3ct
733fdcf8ba update relationship weights 2025-03-08 23:36:04 +00:00
perf3ct
7e232d17e1 Create better relationships between notes, sanitize ridiculous spacing to save tokens 2025-03-08 23:34:09 +00:00
perf3ct
19bf741cd9 fancier embedding process stats 2025-03-08 23:22:28 +00:00
perf3ct
51c83bbbc8 show fancier stats 2025-03-08 23:21:21 +00:00
perf3ct
1ca98e2fc2 update embedding stats every 5s for user 2025-03-08 23:19:41 +00:00
perf3ct
0cd1be5568 Show embedding generation stats to user 2025-03-08 23:17:13 +00:00
perf3ct
0daa9e717f I can create embeddings now? 2025-03-08 23:13:49 +00:00
perf3ct
6ace4d5692 nearly able to process embeddings 2025-03-08 23:08:25 +00:00
perf3ct
dc439b21b0 update schema with our new tables 2025-03-08 23:01:45 +00:00
perf3ct
553f7dd498 fix the Ollama embedding model setting option breaking 2025-03-08 22:28:14 +00:00
perf3ct
d3013c925e add additional options for ollama embeddings 2025-03-08 22:23:50 +00:00
perf3ct
ea6f9c8e18 initialize embeddings if option is enabled 2025-03-08 22:04:31 +00:00
perf3ct
1361e4d438 set up embedding API endpoints 2025-03-08 22:04:10 +00:00
perf3ct
c442943672 add additional AI / LLM options and translations 2025-03-08 22:03:58 +00:00
perf3ct
1ff5bc6edd set up embedding providers here? 2025-03-08 22:03:45 +00:00
perf3ct
b97c8dd763 set up DB migrations 2025-03-08 22:03:30 +00:00
perf3ct
b248a7a2b5 create embedding services 2025-03-08 22:02:47 +00:00
perf3ct
9f84a84f96 Merge branch 'develop' into ai-llm-integration 2025-03-08 20:51:57 +00:00
Elian Doran
80da713a7e feat(editor): add text part language 2025-03-04 19:10:12 +02:00
perf3ct
f2a6f92732 hey look, it doesn't crash again 2025-03-02 19:39:10 -08:00
perf3ct
e09e15ad05 start from scratch again 2025-03-02 18:58:25 -08:00
Elian Doran
29df170590 Merge remote-tracking branch 'origin/develop' into style/next/restyle-ckeditor 2025-02-25 17:01:11 +02:00
Elian Doran
8c393e4c47 refactor(editor): move all options into trilium repo 2025-02-11 20:23:56 +02:00
Elian Doran
a209d6872a refactor(editor): move floating toolbar config into Trilium repo 2025-02-11 20:17:14 +02:00
Elian Doran
7fbe4c10a5 refactor(editor): move classic toolbar config into Trilium repo 2025-02-11 19:49:05 +02:00
Adorian Doran
ec3d7bd4cd style(next): ckeditor: restyle dropdowns 2025-02-05 01:57:09 +02:00
Elian Doran
b6463bb03a feat(editor): enable list styles 2025-01-11 18:26:14 +02:00
Elian Doran
971be65ba5 feat: display insert footnote as split button 2025-01-08 21:42:03 +02:00
Elian Doran
2a97f9dfdd refactor: use submodule for ckeditor5-footnotes 2025-01-08 21:30:47 +02:00
Elian Doran
4fbe34ae13 feat: allow custom config 2025-01-07 18:22:46 +02:00
Elian Doran
f37de61dfb feat: add support for lazy loading 2025-01-07 17:26:40 +02:00
Elian Doran
eee0b3bd07 feat: stop embedding mermaid 2025-01-07 17:11:20 +02:00
Elian Doran
28b182b993 feat(editor): enable mermaid 2025-01-07 17:09:15 +02:00
Elian Doran
a2e10dcade feat(build): prepare for legacy build 2025-01-07 15:37:04 +02:00
Elian Doran
6795e6e411 feat(footnotes): fix dark icon 2025-01-06 21:47:49 +02:00
Elian Doran
f09ea0acb5 Bump to hotfix 11 2025-01-06 21:45:36 +02:00
Elian Doran
33feeb3fa8 fix(ui): icon on dark theme 2025-01-06 21:45:20 +02:00
Elian Doran
fea66629f6 feat(editor): set up footnotes plugin 2025-01-06 20:29:01 +02:00
Elian Doran
bf34816950 fix(build): missing typings 2025-01-06 20:13:41 +02:00
Elian Doran
271a7494f8 fix(build): missing CSS from end package 2025-01-06 20:09:31 +02:00
Elian Doran
0dee713cb5 fix(build): adjustments for legacy build 2025-01-06 19:54:09 +02:00
Elian Doran
a0cad40744 fix(build): serve js files as well 2025-01-06 19:48:06 +02:00
Elian Doran
87a13f404a fix(deps): add missing files 2025-01-06 19:43:40 +02:00
Elian Doran
005cd42ce4 fix(deps): use old packaging mechanism 2025-01-06 19:37:12 +02:00
Elian Doran
e4a00ac3e7 fix(deps): try to fix reference to utils 2025-01-06 19:29:11 +02:00
Elian Doran
0a3138c7d3 fix(deps): experiment with adding utils 2025-01-06 19:22:23 +02:00
Elian Doran
0191ed020a fix(deps): experiment with adding autoformat & core 2025-01-06 19:12:25 +02:00
Elian Doran
1352851d14 chore(meta): change package name and version 2025-01-06 19:03:20 +02:00
Elian Doran
de29995cd7 chore(deps): use pinned ck dependency 2025-01-06 19:00:56 +02:00
Elian Doran
22ad52c11d refactor: use traditional imports 2025-01-06 18:59:52 +02:00
Elian Doran
929ec25a0d chore(git): get rid of husky 2025-01-06 18:52:30 +02:00
Elian Doran
2774b78b9f feat(ci): deploy to npm on tag 2025-01-06 18:52:09 +02:00
Elian Doran
c613ce0c41 chore(build): update version of build-trilium package as well 2025-01-06 16:05:20 +02:00
Elian Doran
3c43b5b381 feat(editor): update to 43.2.0 2025-01-06 16:03:16 +02:00
Elian Doran
69215121e0 Merge tag 'v43.2.0' 2025-01-06 15:57:50 +02:00
Elian Doran
aa48243c16 Merge tag 'v43.1.2' 2025-01-06 15:44:19 +02:00
Elian Doran
99f218d79e refactor: remove some more useless files 2025-01-06 14:12:11 +02:00
Elian Doran
96bc48dbc4 chore(build): dependency to ckeditor5-math 2025-01-06 13:59:58 +02:00
Elian Doran
9a8ee6a714 chore(build): deploy to npm 2025-01-06 13:19:59 +02:00
Raptor
179299c2c7 Enable Trilium to use RFC 5870 geo-URIs 2025-01-05 13:53:46 +01:00
Tom Aitken
7d4f8530a7 updated ckeditor5 dependency to not be latest 2024-12-27 14:19:38 +11:00
Elian Doran
d41e2443bc chore(build): bump to 1.0.1 2024-12-13 21:46:06 +02:00
Elian Doran
a033692965 fix(ci): issue with wrong yarn version 2024-12-13 21:44:17 +02:00
Elian Doran
0b385595da chore(ci): push on tag only 2024-12-13 21:34:46 +02:00
Elian Doran
5e8dff52b8 chore(build): change metadata 2024-12-13 21:34:02 +02:00
Elian Doran
e25c16b230 chore(ci): deploy to npm 2024-12-13 21:24:41 +02:00
Elian Doran
91800df82c chore(build): bump to 1.2.0 2024-12-12 23:31:55 +02:00
Elian Doran
12fd5364ae fix(ci): remove mongodb example 2024-12-12 18:54:08 +02:00
Elian Doran
19d6f10ccb feat(ci): switch to yarn classic 2024-12-12 18:46:16 +02:00
Elian Doran
e7ee51f84d v1.22.22 2024-12-12 18:43:12 +02:00
Elian Doran
dd979cf016 fix(ci): publish not working 2024-12-12 18:39:43 +02:00
Elian Doran
478b98112e fix(ci): setup yarn with corepack 2024-12-12 18:28:24 +02:00
Elian Doran
b1be69d686 feat(ci): deploy package using GitHub Actions 2024-12-11 23:15:39 +02:00
Elian Doran
5e0fb0e4af fix(utils): allow for Unicode characters in Content-Disposition 2024-12-11 23:11:19 +02:00
Elian Doran
46ee587685 fix(deps): tests not running properly 2024-12-11 22:43:44 +02:00
Elian Doran
3c21050a1f refactor(test): move outside of src folder 2024-12-11 22:21:19 +02: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 +02:00
Elian Doran
ff52b3212a chore(deps): upgrade yarn 2024-12-11 22:13:32 +02:00
Elian Doran
f80a17ebc1 feat(editor): update allowedProtocols 2024-12-06 20:59:08 +02:00
Elian Doran
6d72149da7 feat(client): enable General HTML Support plugin 2024-11-28 22:11:28 +02:00
Elian Doran
64dfbd29ee feat(editor): enable PageBreak plugin 2024-11-28 20:33:12 +02:00
Elian Doran
1e0f5312e8 feat(balloon): group some items under Insert submenu 2024-11-28 20:01:05 +02:00
Elian Doran
75a81dc28e ckeditor-decoupled: Add back find & replace button 2024-11-14 20:49:20 +02:00
Elian Doran
cf2639a016 Fix duplicate title for Trilium toolbar item 2024-11-09 23:11:58 +02:00
Elian Doran
c69bd8dcaf Update config based on #2 2024-11-09 22:58:20 +02:00
Elian Doran
169e65f0ef Deduplicate config for the two editor types 2024-11-09 15:39:40 +02:00
Elian Doran
8945b5ab69 Deduplicate plugins for the two editor types 2024-11-09 15:33:47 +02:00
Elian Doran
db8ab2bc72 Use better method to expose watchdog 2024-11-09 14:12:58 +02:00
Elian Doran
a7bb9219bf Set up metapackage containing both build types 2024-11-09 14:10:29 +02:00
Tony Narlock
2354c5f6c3 Tag 43.2.0 2024-10-14 06:29:59 -05:00
Tony Narlock
f8f6fc7f31 docs(CHANGES) Note bump to CKEditor5 43.2.0 2024-10-14 06:29:59 -05: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 -05:00
Tony Narlock
c13fbfed71 Tag v43.1.2 2024-09-26 14:23:33 -05:00
Tony Narlock
d96282c164 docs(CHANGELOG) Note downgrade ckeditor5-package-tools 2024-09-26 14:23:33 -05: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 -05:00
Tony Narlock
167308d27f Tag v43.1.1 2024-09-26 13:25:41 -05:00
Tony Narlock
158f900030 docs(CHANGELOG) Note 43.1.1 release 2024-09-26 13:25:41 -05: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 -05: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 -05:00
Elian Doran
61e7414df6 Set version to 41.4.2-hotfix1 2024-09-11 23:40:03 +03:00
Elian Doran
70a63d11f6 ci: Publish only on tag 2024-09-11 23:39:55 +03:00
Elian Doran
10e073c658 Merge remote-tracking branch 'origin/bugfix/lazy_loading_not_working' 2024-09-11 23:38:41 +03:00
Elian Doran
0d119b594f ci: Fix permission issue 2024-09-11 22:05:12 +03:00
Elian Doran
a04598ee9d Update manifest 2024-09-11 21:58:37 +03:00
Elian Doran
06850dca8a ci: Try to fix registry deployment 2024-09-11 21:54:24 +03:00
Elian Doran
5b736dd451 ci: Skip build step 2024-09-11 21:49:42 +03:00
Elian Doran
b91f7d1406 Update editorconfig for workflows 2024-09-11 21:44:44 +03:00
Elian Doran
8864488eac ci: Add workflow 2024-09-11 21:44:31 +03:00
Elian Doran
f8dba858c6 fix: lazyload not working for katex 2024-09-11 21:04:41 +03:00
Tom Aitken
7125bb73aa v0.0.3 2024-09-01 11:30:52 +10:00
Tom Aitken
a7c92c2a63 improve README 2024-09-01 11:29:49 +10:00
Tom Aitken
e2446f2742 v0.0.2 2024-08-30 08:55:58 +10:00
Tom Aitken
c177f4a1be remove thing frmo README 2024-08-30 08:54:45 +10:00
Tom Aitken
7e08b63636 fixed issues 2024-08-30 00:04:50 +10:00
Thomas Aitken
e11c36e5b5 Update README.md 2024-08-29 08:46:58 +10:00
Tom Aitken
4205db0147 all changes 2024-08-29 08:41:45 +10:00
Tom Aitken
33a95bc1a9 Initialize the repository using CKEditor 5 Package Generator. 2024-08-27 22:37:22 +10: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 +02:00
Piotr Szczęśniak
35b910ac89 Bump package version before release. 2024-08-08 08:26:55 +02:00
Piotr Szczęśniak
26cb45ad19 Updated content of dist folder. 2024-08-07 13:30:31 +02:00
Piotr Szczęśniak
9560604bd6 Bump @ckeditor/ckeditor5-package-tools to the newest version. 2024-08-07 13:28:59 +02:00
Piotr Szczęśniak
c44640da3e Bump other dependecies to match with ckeditor5 repo. 2024-08-02 15:38:10 +02:00
Piotr Szczęśniak
516fb7e968 Bump ckeditor5-dev-build-tools and ckeditor5 packages. 2024-08-02 14:49:29 +02: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 +02:00
Piotr Szczęśniak
3bb643e413 Add the dist folder to the repository. 2024-07-01 09:31:32 +02: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 +02:00
Piotr Szczęśniak
a950380af5 Fixed DLL sample to work as expected. 2024-06-26 11:21:57 +02: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 +02:00
Piotr Szczęśniak
421a431f9a Change devDependency version of ckeditor5 from nightly to latest. 2024-06-25 11:52:28 +02:00
Piotr Szczęśniak
e28e5d23e2 Update eslint rules. 2024-06-18 13:14:21 +02:00
Tony Narlock
8e7b8e6d1c docs(CHANGELOG): Note TypeScript tests from #135 2024-06-08 13:55:25 -05:00
Federico
3e1008ee96 Migrate tests to Typescript 2024-06-08 13:52:32 -05:00
Piotr Szczęśniak
ed2f428e77 Unify imports paths. 2024-06-07 15:46:40 +02:00
Piotr Szczęśniak
0fd6547e53 Change version of @ckeditor/ckeditor5-package-tools to alpha. 2024-06-04 09:55:03 +02:00
Piotr Szczęśniak
9a8a2920d9 Change version to 0.0.3. 2024-06-04 09:40:40 +02:00
Piotr Szczęśniak
31eab85ace Update dependecies in package.json. 2024-06-04 09:00:39 +02:00
Piotr Szczęśniak
d8a5ceebbc Add proper package name for UMD build. 2024-05-21 12:45:05 +02:00
Piotr Szczęśniak
dc82d019dc Fix imports in sample. 2024-05-20 15:14:56 +02:00
Piotr Szczęśniak
10dfcca9b2 Change ckeditor5-package-tools version. 2024-05-20 14:33:26 +02:00
Piotr Szczęśniak
9a1e1eef92 Migration reflected from package-generator to support NIM. 2024-05-20 14:27:21 +02: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 -05:00
Tony Narlock
f2df9f8f2b docs(CHANGES): Note pinning against 41.4.2 2024-05-18 07:03:15 -05: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 -05: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 -05:00
Tony Narlock
0e1de65dd6 docs(CHANGELOG): Note CKEditor 41.3.1 2024-04-16 05:24:43 -05: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 -05:00
Tony Narlock
292099912b Tag v41.3.0 2024-04-12 04:27:19 -05:00
Tony Narlock
4460973cc1 docs(CHANGELOG): Note CKEditor 41.3.0 2024-04-12 04:27:19 -05: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 -05: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 -05:00
Tony Narlock
d27a672d03 docs(CHANGELOG): Note bump for CKEditor 41.2.1 2024-03-22 05:19:15 -05: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 -05:00
Tony Narlock
a0004abff0 Tag v41.2.2 (README update from #133) 2024-03-17 12:37:46 -05:00
Tony Narlock
b37df868b0 docs(README): Format with prettier 2024-03-17 12:37:46 -05:00
Tony Narlock
dcae401b46 docs(README): Note TypeScript and DLL-build support 2024-03-17 12:37:46 -05:00
Tony Narlock
5f5dabd4c4 chore: Typo fixes 2024-03-17 12:37:46 -05:00
Tony Narlock
85f95e3f98 Tag v41.2.1 (#130 TypeScript rewrite) 2024-03-17 04:28:40 -05:00
Tony Narlock
3b57dbf36d Tag v41.2.1-alpha.3 2024-03-17 04:25:30 -05:00
Tony Narlock
3a769dd0fc package.json: Export .js and .d.ts in builds 2024-03-17 04:25:30 -05:00
Tony Narlock
e59e7010ba Tag v41.2.1-alpha.2 2024-03-17 04:25:30 -05: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 -05: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 -05:00
Tony Narlock
482f7b34c4 package.json: Export src/index.ts 2024-03-17 04:25:30 -05:00
Tony Narlock
0a763ad2b3 Tag v41.2.1-alpha.1 2024-03-17 04:25:30 -05: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 -05:00
Tony Narlock
c03f2cff94 .gitignore: Ignore .js and .d.ts files 2024-03-17 04:25:30 -05: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 -05:00
Tony Narlock
1beaf1a29c Add tsconfig.release.json 2024-03-17 04:25:30 -05:00
Tony Narlock
8d949a8b80 eslint: Check .ts files 2024-03-17 04:25:30 -05:00
Tony Narlock
c4890fd340 package.json: Add ts:{build,clear}, prepublishOnly, postpublish 2024-03-17 04:25:30 -05:00
Tony Narlock
88e07d32a4 Use tsconfig.json inspired by CKEditor5, CKEditor5 plugins 2024-03-17 04:25:30 -05:00
Tony Narlock
114074f027 Tag v41.2.1-alpha.0 2024-03-17 04:25:30 -05:00
Tony Narlock
2825393538 Remove JavaScript files 2024-03-17 04:25:30 -05:00
Federico
9765abc0bd Migrate to Typescript 2024-03-17 04:25:30 -05: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 -06:00
Tony Narlock
1f74c4bc4d docs(CHANGELOG): Note bump to 41.2.0 2024-03-08 12:55:16 -06: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 -06:00
Tony Narlock
173ac06136 Tag v41.1.0 2024-02-13 07:13:34 -06:00
Tony Narlock
26d9d13794 docs(CHANGELOG): Note bump to 41.1.0 2024-02-13 07:13:34 -06: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 -06:00
Tony Narlock
40403873d0 docs(CHANGELOG): Fix date 2024-01-27 07:00:13 -06:00
Tony Narlock
57f81b8aff Tag v41.0.0 2024-01-27 06:49:19 -06:00
Tony Narlock
bc5bc333b7 docs(CHANGELOG): Note bump to 41.0.0 2024-01-27 06:49:19 -06: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 -06: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 -06: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 -06:00
Tony Narlock
94c1beeae5 docs(CHANGELOG): CKEditor 40.2.0 2023-12-12 07:06:11 -06: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 -06: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 -06:00
Tony Narlock
ab34d8ff05 docs(CHANGELOG): Note v40.1.0 2023-11-17 14:55:07 -06: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 -06:00
Tony Narlock
7b9e250d5d docs(CHANGELOG): Note node.js bump 2023-10-13 06:34:33 -05:00
Tony Narlock
bc44b7f66e docs(CHANGELOG): Bump 39.0.2 to 40.0.0 2023-10-13 06:34:33 -05:00
Tony Narlock
0fc91afdf5 Bump package to 40.0.0 2023-10-13 06:34:33 -05:00
Tony Narlock
37855b960c packaging: Bump node.js minimum to v18 for CKEditor5 v40 2023-10-13 06:34:33 -05: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 -05: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 -05:00
Tony Narlock
754e4e6934 docs(CHANGELOG): Note update to v39.0.2 and linting updates 2023-09-06 12:06:23 -05: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 -05: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 -05: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 -05: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 -05: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 -05: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 -05:00
Tony Narlock
49ddf2e27d release: v38.1.1 2023-07-26 06:10:44 -05: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 -05:00
Tony Narlock
d6e893c0a6 release: v38.1.0 2023-07-26 05:54:26 -05: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 -05: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 -05:00
Tony Narlock
bd8d3770f7 docs(CHANGELOG): Note typescript workaround 2023-06-21 06:20:19 -05:00
Tony Narlock
9ab561ab11 docs(CHANGELOG): Note package updates 2023-06-21 06:20:19 -05: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 -05: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 -05:00
Tony Narlock
e903057a14 docs(README): Note TypeScript typings for TypeScript builds 2023-06-20 16:22:58 -05: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 -05: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 -05: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 -05:00
Marek Lewandowski
4fcdc10758 Adjusted license header 2023-05-25 09:18:55 +02: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 +02: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 -05:00
Tony Narlock
1eefac11d6 docs(CHANGELOG): Note v37.1.0 update 2023-04-19 11:52:45 -05: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 -05:00
Tony Narlock
023f95d16e Tag v37.0.2 (config fix from #98) 2023-04-05 08:13:04 -05:00
Tony Narlock
888fdd7ba2 docs(CHANGELOG): Note config fix and 37.0.1 (earlier) 2023-04-05 08:13:04 -05:00
Tony Narlock
c95ecf504d fix(config): Fix loading with no config object
Fixes #96
2023-04-05 08:13:04 -05:00
Tony Narlock
6c194e8ffd Tag v37.0.1
Bump CKEditor to v37.0.1
2023-04-05 07:10:57 -05: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 -05:00
Tony Narlock
ac7ee1bb30 Tag v37.0.0 2023-04-05 07:04:46 -05: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 -05:00
Tony Narlock
c39f95720b .nvmrc: Add v16.20.0 (latest v16 version)
v37 requires nodejs v16 or higher
2023-04-05 07:04:46 -05:00
Tony Narlock
90c108569c Tag v36.0.6 (package-tools update, before v37.0.0) 2023-04-05 06:44:36 -05:00
Tony Narlock
587370cd16 docs(CHANGELOG): Note update of package-tools 2023-04-05 06:44:36 -05: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 -05:00
Tony Narlock
b66910b57a docs(CHANGELOG): Note v36.0.5 2023-04-03 07:15:00 -05:00
Tony Narlock
ec54f7c3bb Tag v36.0.5 2023-04-03 07:15:00 -05:00
Tony Narlock
7db1334aa3 docs(CHANGELOG): Note v36.0.4 2023-04-03 07:15:00 -05:00
Tony Narlock
e010f626d9 Stub release of 36.0.4 (already released via @isaul32) 2023-04-03 07:15:00 -05:00
Tony Narlock
0f683f3e7e docs(CHANGELOG): Note package names 2023-04-03 07:15:00 -05:00
Tony Narlock
328569e13c docs(README): Use new package name 2023-04-03 07:15:00 -05:00
Tony Narlock
6bdbf1d2d3 docs(CHANGELOG): Note addition of className config variable 2023-04-03 06:58:57 -05:00
Daniel Kulbe
c7b616a31d #81 Make span element className configurable 2023-04-03 06:58:57 -05: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 -05:00
Tony Narlock
187644536c package: Fix package name 2023-03-13 19:41:03 -05:00
Tony Narlock
819b55c231 package: Release v36.0.3 (with DLL build from #83) 2023-03-13 19:34:28 -05:00
Daniel Kulbe
4d5b935ecf Fix math not rendered at editor startup 2023-03-13 19:30:58 -05:00
Daniel Kulbe
d729aa26dd Add examples to index.html 2023-03-13 19:30:58 -05:00
Daniel Kulbe
383361733a Convert to DLL compatible plugin (#46) 2023-03-13 19:30:58 -05:00
Tony Narlock
0dbe462a9e Tag v36.0.2 2023-02-14 17:26:05 -06:00
Tony Narlock
69bf41839a docs(CHANGES): Note previewClassName update 2023-02-14 17:21:39 -06:00
Tony Narlock
ad8ffe0830 fix(MathView): Fix previewClassName 2023-02-14 17:21:39 -06:00
Tony Narlock
47b6e7308f docs(CHANGES): Note update for 36.0.1 2023-02-07 04:56:11 -06: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 -06:00
Tony Narlock
dc0286a4b1 docs(CHANGES): Note update for 36.0.0 2023-01-26 15:18:33 -06: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 -06:00
Tony Narlock
cba6e9db11 docs(CHANGES): Note update for 35.4.0 2022-12-13 07:48:22 -06: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 -06:00
Tony Narlock
627dd69f54 docs(CHANGES): Correct date 2022-11-23 09:01:13 -06:00
Tony Narlock
f33973f8b9 docs(CHANGELOG): Note 35.3.2 2022-11-23 08:59:13 -06: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 -06:00
Tony Narlock
2e5d11f8b5 docs(CHANGELOG): Note 35.3.1 2022-11-15 10:30:03 -06: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 -06:00
Tony Narlock
e28c8c027c docs(CHANGELOG): Note 35.3.0 2022-11-03 18:54:05 -05: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 -05:00
Tony Narlock
071e19d288 docs(CHANGELOG): Note v35.2.1 pinning release 2022-10-13 12:39:24 -05:00
Tony Narlock
b6bae4e4e9 build(deps): Bump dependencies to 35.2.1 2022-10-13 12:39:24 -05:00
Tony Narlock
222dc4591c docs(CHANGELOG): Update for latest 2022-10-13 12:31:23 -05: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 -05: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 -05: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 -05: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 -05:00
Tony Narlock
c6f7a223cb Tag v34.2.0 2022-09-28 07:10:34 -05: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 -05: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 +02:00
Mateusz Zagórski
1cdcdd937a Updated CKE5 dev/dependencies and mermaid. 2022-08-08 12:13:50 +02:00
Tony Narlock
b6fa87b6fe Tag v34.1.1 2022-08-03 18:28:24 -05:00
Tony Narlock
f024563960 docs(CHANGES): Note katexRenderOptions 2022-08-03 18:27:27 -05:00
Tony Narlock
8a9e20eb45 docs: Update README for katexRenderOptions 2022-08-03 18:27:27 -05:00
Tony Narlock
46345f2c56 demo: Add example of katexRenderOptions 2022-08-03 18:27:27 -05:00
Tony Narlock
f15758b229 New option: katexRenderOptions
See also: https://katex.org/docs/options.html
2022-08-03 18:27:27 -05: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 +02:00
Dariusz Jarzębski
c4c0c6c6ce Bump node required version to the CKE5 one. 2022-07-19 14:26:44 +02: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 +02:00
Dariusz Jarzębski
a3481580c5 Minor rewording. 2022-07-19 14:15:14 +02:00
Mateusz Zagórski
94ed16ca98 Added manual test information to the readme file. 2022-07-04 08:25:31 +02:00
Mateusz Zagórski
69cee42b2d Updated CKE5 dev/dependencies and mermaid. 2022-07-04 08:03:13 +02:00
Tony Narlock
f8b0c8e679 docs(CHANGELOG): Note changelog differences 2022-06-21 09:02:39 -05:00
Tony Narlock
87d6c6e685 Tag v34.1.0 2022-06-21 08:59:52 -05:00
Tony Narlock
72894d5236 docs(CHANGES): Start adding dates to changelog 2022-05-12 12:32:38 -05:00
Tony Narlock
d4a6dd7717 docs(CHANGELOG): Remove current tag from headings when its not the case 2022-05-12 12:30:54 -05:00
Tony Narlock
e86471138f Tag v34.0.0 2022-05-12 08:07:58 -05:00
Tony Narlock
3e033936cb docs(CHANGES): Note yarn.lock change 2022-03-22 10:19:58 -05: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 -05: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 -05:00
Tony Narlock
e24bd0831f Tag v33.0.0 2022-03-22 09:20:59 -05:00
Tony Narlock
b88e18deb6 docs(CHANGES): Update changelog for 33.0.0 2022-03-22 09:20:20 -05: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 -05: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 +01:00
Marek Lewandowski
ac93f2dc36 Minor code simplification. 2022-03-14 08:33:19 +01: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 +01:00
Mateusz Zagórski
e9ea0175ea Added missing dependency. 2022-03-11 11:06:43 +01:00
Mateusz Zagórski
d2f5d40c0d Added sample test files. 2022-03-10 16:34:16 +01:00
Mateusz Zagórski
9f843e8a76 Removed unnecessary code from the test. 2022-03-10 16:19:50 +01:00
Mateusz Zagórski
88d3d65c30 Test coverage added. 2022-03-10 16:15:22 +01:00
Mateusz Zagórski
ea1b4d73af Updated insert command & UI. 2022-03-10 13:13:54 +01:00
Marek Lewandowski
af36fd8fa5 Started a new version. 2022-03-08 14:52:16 +01:00
Mateusz Zagórski
4b338fe851 Updated mermaid info button url. 2022-03-08 14:48:59 +01:00
Mateusz Zagórski
45a05048fc Updated url. 2022-03-08 13:56:49 +01:00
Marek Lewandowski
2c7913a8e6 Merge pull request #3 from ckeditor/unit-tests
Fixed unit tests runner
2022-03-08 12:52:52 +01: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 +01:00
Marek Lewandowski
82b92aff84 Added a comment referencing source issue. Also removed a stray commented line. 2022-03-08 12:19:09 +01:00
Mateusz Zagórski
41e59b2a13 Updated failing tests. 2022-03-08 12:04:13 +01:00
Marek Lewandowski
4d375e86b0 Merge branch 'master' into mermaid-firefox-toolbar-fix 2022-03-08 12:00:35 +01:00
Mateusz Zagórski
1e963f0125 Merge branch 'master' into unit-tests 2022-03-08 12:00:16 +01:00
Marek Lewandowski
55f684d5a0 Adjusted insert icon label. 2022-03-08 11:26:58 +01: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 +01:00
Marek Lewandowski
6f90c0240e Changed mermaid button to lower case. 2022-03-08 11:11:59 +01:00
Marek Lewandowski
479a8008c6 Adjusted icon file name casing. 2022-03-08 11:07:02 +01:00
Marek Lewandowski
9e42fd9b99 Changed the label for mermaid icon. 2022-03-08 11:04:25 +01:00
Mateusz Zagórski
108e2f48f0 Fixed toolbar not showing up in firefox. 2022-03-08 11:03:14 +01:00
Marek Lewandowski
7eb5685633 Preview icon optimized. 2022-03-08 10:57:28 +01:00
Marek Lewandowski
6263c4baa3 Changed insert and the preview icons. 2022-03-08 10:57:07 +01:00
Mateusz Zagórski
a54dc7679f Updated package.json & added various config files. 2022-03-08 10:56:53 +01:00
Marek Lewandowski
203ee28f70 Fixed conversion to work properly with v32.0.0 release. 2022-03-04 15:03:20 +01:00
Mateusz Zagórski
302a0dc2ef Initial commit. 2022-03-04 13:39:39 +01: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 -06:00
Tony Narlock
466a78461f docs(CHANGES): Note 32.0.0 update 2022-02-07 15:42:24 -06:00
Tony Narlock
76d6a39aaf v32.0.0 package and webpack updates, node 12 -> 14 2022-02-07 15:42:24 -06: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 -06:00
Tony Narlock
ba988f7a2e docs(CHANGELOG): Fix 31.1.0 copy 2022-02-07 15:39:59 -06:00
Tony Narlock
a283762992 chore(.gitignore): Ignore yarn-error.log 2022-02-07 15:39:59 -06:00
Tony Narlock
3d5f530176 Tag v31.1.0 2022-01-05 08:59:51 -06: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 -06:00
Tony Narlock
6b6e28ec7e v30.0.0 2021-09-29 06:30:19 -05: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 -05:00
Tony Narlock
f8e369f95c Add missing classic editor dependency for demos 2021-09-07 12:04:51 -05: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 -05: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 -05:00
zadam
22d59127f9 updated for 0.48 + tweaks 2021-08-08 12:28:42 +02:00
Tony Narlock
8ffdd88c83 Tag v28.0.0 2021-06-21 11:00:46 -05: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 -05:00
Tony Narlock
e872daa1f9 Tag v27.1.4 2021-05-16 14:11:58 -05: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 -05:00
Tony Narlock
235a817f25 CHANGELOG: Update for #45 2021-05-16 14:07:56 -05:00
Tony Narlock
9d00408612 CHANGELOG: Indent code snippet with tabs 2021-05-16 14:07:56 -05:00
Tony Narlock
fef1e16907 README/CHANGELOG: Format in prettier
Formatted with prettier 2.3.0
2021-05-16 14:07:56 -05: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 -05:00
Tony Narlock
5d3e1ede94 Tag v27.1.3 2021-05-16 13:56:01 -05:00
Tony Narlock
a93edc6495 Update CHANGELOG for #41 2021-05-16 13:54:48 -05: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 -05:00
Tony Narlock
2ad6076d6c Tag v27.1.2 2021-05-05 10:42:59 -05: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 -05:00
Tony Narlock
d60e65b220 README: Document development environment 2021-05-05 10:36:00 -05:00
Tony Narlock
d77dcf0962 README: Show yarn command 2021-05-05 10:29:12 -05:00
Tony Narlock
6d00e3bdb5 demo: Add dev tools 2021-05-04 09:04:45 -05:00
Tony Narlock
c1ac67b4c4 Demo: Live server / dev loop 2021-05-04 09:04:45 -05:00
Tony Narlock
9190b2b68b eslint: Ignore webpack / demo code 2021-05-04 09:04:45 -05:00
Tony Narlock
2024bd8f11 Prettier: Disable autoformatting for src/ folder 2021-05-04 09:04:45 -05:00
Tony Narlock
30058586ab Tag v27.1.1 2021-04-21 13:20:05 -05:00
Tony Narlock
e587e3bbad Tag v27.1.0 2021-04-17 13:31:41 -05:00
Tony Narlock
993bd36cf4 README: Document previewClassName, popupClassName 2021-04-17 13:26:26 -05:00
Tony Narlock
0fb49a523e Config: Optional classes previewClassName and popupClassName 2021-04-17 13:26:26 -05:00
Tony Narlock
8f651a9100 Release v27.0.1 2021-04-17 13:25:31 -05:00
Tony Narlock
7d76ccb527 Fix typo in variable 2021-04-17 12:09:58 +03: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 -05:00
Tony Narlock
58fca40720 Update CHANGELOG for 27.0.0 2021-03-29 10:06:58 -05: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 -05:00
Tony Narlock
d6d5eff0b8 README: Fix style of ck-reset_all 2021-03-04 10:25:31 -06:00
Tony Narlock
7d7c01cfa6 README: Add links to MathJax and KaTeX 2021-03-04 10:25:31 -06:00
Tony Narlock
cf3f17cb58 README: Small grammar fixes 2021-03-04 10:25:31 -06:00
Tony Narlock
2df892d855 README: Move buttons up 2021-03-04 10:25:31 -06:00
Tony Narlock
b8432c124d README: Highlighting for latex examples 2021-03-04 10:25:31 -06:00
Tony Narlock
99df253967 README: Add NPM and License button 2021-03-04 10:25:31 -06:00
Tony Narlock
a80ddea65f Update CHANGELOG and package to v26.0.0 2021-03-04 10:02:38 -06: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 -06:00
Tony Narlock
24541dd1c5 chore(CHANGELOG): Fix version links 2021-03-02 12:50:10 -06:00
Tony Narlock
e66c5fa6d6 Release v25.0.0 2021-03-02 19:11:54 +02:00
Tony Narlock
d2bb791666 ckeditor: Update packages 24.0.0 -> 25.0.0 2021-03-02 19:11:54 +02:00
Tony Narlock
acee711782 Fix typo in example 2021-03-02 19:10:35 +02:00
Sauli Anto
de7a35ce1f Release: v24.0.1. 2021-02-28 13:57:17 +02:00
Sauli Anto
ae589a886c Fix balloon view position 2021-02-28 13:49:22 +02:00
zadam
57db2adf2d nowe don't sync recent_notes anymore 2021-02-12 22:40:26 +01:00
zadam
4f48625883 up to date with Trilium 0.46 2021-02-11 21:37:26 +01:00
Sauli Anto
21cb5c2bb6 Release: v24.0.0. 2020-12-12 18:04:54 +02:00
Sauli Anto
72f5db8032 Release: v23.3.0. 2020-11-07 22:23:47 +02:00
Sauli Anto
3354872837 Add autoformat support 2020-11-07 22:19:00 +02:00
Sauli Anto
8d9c974761 Update dependencies 2020-11-07 20:02:46 +02:00
Sauli Anto
fc02aef431 Release: v23.2.2. 2020-11-03 21:51:42 +02:00
Sauli Anto
21fccee3ed Update theme repository link 2020-11-03 21:48:08 +02:00
Sauli Anto
dc288ea2a6 Fix placeholder handling 2020-11-03 21:45:49 +02:00
Sauli Anto
2fea2e2ffb Fix selection after entering inline expression 2020-11-03 21:45:38 +02:00
Sauli Anto
ffb536d663 Release: v23.2.1. 2020-10-18 19:24:10 +03:00
Sauli Anto
68a1ef716c Add balloon block editor demo 2020-10-18 19:22:32 +03:00
Sauli Anto
3629401035 Fix math editing button for balloon editor 2020-10-18 19:19:21 +03:00
Sauli Anto
81414a90f2 Release: v23.2.0. 2020-10-18 14:44:30 +03:00
Sauli Anto
aa0392c12f Add math editing button for balloon editor 2020-10-18 14:42:23 +03:00
Sauli Anto
82bb135b24 Release: v23.1.0. 2020-10-11 11:00:05 +03:00
Sauli Anto
a665b64839 Add typesetting engine lazy load feature 2020-10-11 10:55:51 +03:00
Sauli Anto
4323e66ae9 Rename inner writer 2020-10-11 10:55:51 +03:00
Sauli Anto
2ab10594bb Update readme 2020-10-02 21:06:25 +03:00
Sauli Anto
4b269f8e58 Release: v23.0.0. 2020-10-02 20:36:16 +03:00
Sauli Anto
886a4f9725 Update all official CKEditor dependencies to version 23 2020-10-02 20:36:09 +03:00
Sauli Anto
574bddb215 Update gitignore 2020-09-10 20:24:56 +03:00
Sauli Anto
b5a9332c32 Release: v22.0.0. 2020-08-29 18:01:17 +03:00
Sauli Anto
7d0cd0187f Fix writer and seperate schema 2020-08-29 17:33:41 +03:00
Marek Lewandowski
c875badc77 Added icons dir to the release. Closes #6. 2020-08-23 12:15:36 +02:00
Marek Lewandowski
e791bc06ca Version 1.0.2 released 🎉! 2020-08-12 07:37:06 +02:00
Marek Lewandowski
2d501b97d6 Added npm link in the readme. 2020-08-12 07:36:51 +02: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 +02:00
fredck
fbd223f399 Changed dependencies to peerDependencies and allow them to match future versions of CKEditor. 2020-08-11 13:50:19 +02:00
Sauli Anto
0ef44427ce Update readme 2020-08-03 19:14:26 +03:00
Sauli Anto
e59bb5d396 Release: v21.0.0. 2020-08-03 19:10:57 +03:00
Marcello Fuschi
839d78d9c2 Update all official CKEditor dependencies to version 21 2020-08-03 18:58:45 +03:00
Marek Lewandowski
a9f3c46e9c Fixed package description. 2020-07-16 14:36:35 +02:00
Sauli Anto
468423f096 Release: v20.0.0. 2020-07-13 12:43:55 +03:00
Marcello
abeab6db83 Update all official CKEditor dependencies to version 20 2020-07-13 12:40:04 +03:00
Sauli Anto
ec8821ebf9 Update readme 2020-05-12 13:02:49 +03:00
Sauli Anto
8803dde7bc Release: v19.0.0. 2020-05-12 12:43:13 +03:00
Sauli Anto
eec9573749 Update dependencies 2020-05-12 12:41:40 +03:00
Marek Lewandowski
c3044f40c6 Version 1.0.1 released 🎉! 2020-05-03 21:58:43 +02:00
Marek Lewandowski
d2cb1b9d13 Closes #2: Bumped CKE5 version. 2020-05-03 21:58:10 +02:00
Marek Lewandowski
992eccf2c5 Test directory should be ignored. 2020-05-03 21:19:02 +02:00
Marek Lewandowski
0e9c40ecc7 Bumped CKEditor5 upstream package version. 2020-05-03 20:56:13 +02:00
Marek Lewandowski
6890cae149 Added installation steps in the readme file. 2020-04-10 00:53:28 +02: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 +02:00
Marek Lewandowski
3a5ca03970 Added tools config. 2020-04-09 23:42:00 +02:00
Marek Lewandowski
c66b149093 Initial implementation of the plugin. 2020-04-09 23:40:58 +02:00
Marek Lewandowski
f2eb988319 Added readme and package.json. 2020-04-09 23:34:46 +02:00
Marek Lewandowski
debcf029da Initial commit 2020-04-09 23:09:24 +02:00
Sauli Anto
44eca380a8 Update readme 2020-04-05 17:42:38 +03:00
Sauli Anto
94f6224e52 Release: v18.0.1. 2020-04-05 17:28:43 +03:00
Sauli Anto
9d15010f4a Fix spacebar bug in Firefox 2020-04-05 17:24:46 +03:00
Sauli Anto
781b7c20fe Update readme 2020-04-05 14:36:31 +03:00
Sauli Anto
1df92a16c3 Update dependencies 2020-03-30 12:49:02 +03:00
zadam
d94509a6e3 fixes 2020-03-11 21:55:05 +01:00
zadam
90688a9b59 fixes 2020-03-11 21:30:33 +01:00
zadam
d937c754fb fixes 2020-03-11 21:23:56 +01:00
Sauli Anto
78d84b18b0 Update readme 2020-02-28 15:04:07 +02:00
Sauli Anto
425bfe2b03 Release: v17.0.1. 2020-02-27 20:35:10 +02:00
Sauli Anto
ce79d13d07 Fix missing dependencies 2020-02-27 20:33:39 +02:00
Sauli Anto
2d75f242c5 Release: v17.0.0. 2020-02-27 20:05:52 +02:00
Sauli Anto
7d40a2c43a Change dependencies to devDependencies 2020-02-27 19:58:02 +02:00
Sauli Anto
4a17a88d7c Update dependencies to v17.0.0 2020-02-27 18:01:21 +02:00
zadam
99697c383e schema update 2019-12-16 21:22:11 +01:00
Sauli Anto
65198b331a Update readme 2019-10-15 21:32:25 +03:00
Sauli Anto
ec03d72ec5 Add testing guide 2019-10-11 21:37:29 +03:00
Sauli Anto
a09eba801f Release: v1.0.3. 2019-10-11 19:31:18 +03:00
Sauli Anto
874cce63c8 Update readme 2019-10-11 19:26:39 +03:00
Sauli Anto
b52da3bc6e Fix mathui tests 2019-10-11 19:22:03 +03:00
Sauli Anto
786fc0f3ce Fix automath tests 2019-10-11 18:10:41 +03:00
Sauli Anto
b456ed6965 Add some tests 2019-10-09 13:38:30 +03:00
Sauli Anto
1f96286200 Fix disabled eslint lines 2019-10-09 12:21:55 +03:00
Sauli Anto
70fefa84f5 Fix preview flickering effect 2019-10-09 11:16:07 +03:00
Sauli Anto
69a0264f84 Release: v1.0.2. 2019-10-07 11:10:14 +03:00
Sauli Anto
102792a7f9 Update readme 2019-10-07 11:09:43 +03:00
Sauli Anto
217900f068 Update readme 2019-10-06 13:33:03 +03:00
Sauli Anto
d9fdfda082 Add demos 2019-10-06 13:31:08 +03:00
Sauli Anto
98815fcef0 Add hash to math preview 2019-10-06 11:13:17 +03:00
Sauli Anto
60a145333a Release: v1.0.1. 2019-10-04 20:07:22 +03:00
Sauli Anto
070f84ebd6 Fix preview rendering bug 2019-10-04 20:01:28 +03:00
Sauli Anto
1527c7c9eb Fix rendering width 2019-10-04 18:45:32 +03:00
Sauli Anto
ff0742cae3 Fix MathJax 3 rendering 2019-10-04 18:30:48 +03:00
Sauli Anto
91dff8dee9 Update screenshot 2019-10-03 23:39:53 +03:00
Sauli Anto
3002c1733a Remove unnecessary comma 2019-10-03 23:25:16 +03:00
Sauli Anto
e40b95ae9e Fix readme indentations 2019-10-03 21:21:33 +03:00
Sauli Anto
16fad7bc19 Fix readme indentations 2019-10-03 21:21:00 +03:00
Sauli Anto
ade4ff1b9f Update name 2019-10-03 20:45:50 +03:00
Sauli Anto
8b6804c2a0 Remove paste from office dependency 2019-10-03 19:47:35 +03:00
Sauli Anto
8e6281678a Release: v1.0.0. 2019-10-03 19:27:47 +03:00
Sauli Anto
f846bfa029 Normalize line endings 2019-10-03 19:11:10 +03:00
Sauli Anto
379e1a6bef Update readme 2019-10-03 19:11:10 +03:00
Sauli Anto
5e17cf15de Update name 2019-10-03 19:11:10 +03:00
Sauli Anto
d83f39e7e2 Fix ToC 2019-10-03 19:11:09 +03:00
Sauli Anto
e09a35bb30 Update readme and add screenshots 2019-10-03 19:11:09 +03:00
Sauli Anto
6e6a7ec10a Fix MathJax 2 preview rendering 2019-10-03 19:11:09 +03:00
Sauli Anto
2984df0a9a Fix preview rendering 2019-10-03 19:11:09 +03:00
Sauli Anto
6ea1c38e24 Fix rest parameters 2019-10-03 19:11:09 +03:00
Sauli Anto
b7ccab38ff Add preview fix 2019-10-03 19:11:09 +03:00
Sauli Anto
e6605706c0 Add preview fix 2019-10-03 19:11:08 +03:00
Sauli Anto
2e94edf4f3 Fix styles 2019-10-03 19:11:08 +03:00
Sauli Anto
f89affbc3f Refactor code 2019-10-03 19:11:08 +03:00
Sauli Anto
5011fe40b0 Update readme 2019-10-03 19:11:08 +03:00
Sauli Anto
18c3e58128 Update readme 2019-10-03 19:11:08 +03:00
Sauli Anto
e5e78962f0 Remove math paste from office 2019-10-03 19:11:08 +03:00
Sauli Anto
7013be6825 Add paste from word base 2019-10-03 19:11:08 +03:00
Sauli Anto
eebd28631e Add tests placeholder 2019-10-03 19:11:08 +03:00
Sauli Anto
ec0dac482c Add missing dependencies 2019-10-03 19:11:08 +03:00
Sauli Anto
92007477b0 Format license 2019-10-03 19:11:07 +03:00
Sauli Anto
8e00885b29 Add temporary flickering fix 2019-10-03 19:11:07 +03:00
Sauli Anto
fff7e87630 Fix equation regexp 2019-10-03 19:11:07 +03:00
Sauli Anto
6e08776268 Add automath and fix preview and display button 2019-10-03 19:11:07 +03:00
Sauli Anto
eed45a5dd3 Add MathJax 3 support 2019-10-03 19:11:07 +03:00
Sauli Anto
566c9a40cb Fix linting errors 2019-10-03 19:11:07 +03:00
Sauli Anto
53c4c72c10 Update readme 2019-10-03 19:11:07 +03:00
Sauli Anto
af404c2c22 Update readme 2019-10-03 19:11:06 +03:00
Sauli Anto
cab4ef0e77 Fix readme typo 2019-10-03 19:11:06 +03:00
Sauli Anto
2aeafd440a Update readme 2019-10-03 19:11:06 +03:00
Sauli Anto
369b23c154 Update readme 2019-10-03 19:11:06 +03:00
Sauli Anto
23798cfbb7 Update documentation 2019-10-03 19:11:06 +03:00
Sauli Anto
97a142d9cb Remove log 2019-10-03 19:11:06 +03:00
Sauli Anto
820ed0bd9d Disable preview in katex 2019-10-03 19:11:06 +03:00
Sauli Anto
4bae994b4f Add output options 2019-10-03 19:11:06 +03:00
Sauli Anto
fe3c7ba393 Update config 2019-10-03 19:11:06 +03:00
Sauli Anto
dbaaa96ae9 Add engine option 2019-10-03 19:11:06 +03:00
Sauli Anto
a89cadeac5 Add display toggle 2019-10-03 19:11:05 +03:00
Sauli Anto
13a10dcfdd Implement plugin 2019-10-03 19:10:28 +03:00
zadam
4b048df995 note_history => note_revisions 2019-04-14 14:53:05 +02:00
zadam
aa8f4f964f update for latest DB changes 2019-04-11 22:53:35 +02:00
SukantGujar
f685315681 Add npmjs.org friendly changes. 2019-03-27 15:32:08 +05:30
SukantGujar
b580e182b9 Add linting 2019-03-26 17:17:10 +05:30
SukantGujar
c88336692e v1.0.1 2019-03-22 11:12:18 +05:30
SukantGujar
76ef80b445 Update readme with examples 2019-03-20 15:04:07 +05:30
SukantGujar
36941dae3c Add createPartialContentHandler prefix to logs. 2019-03-19 16:26:50 +05:30
SukantGujar
4b28b4039e Add copyfiles for bundling example assets. 2019-03-19 16:22:19 +05:30
SukantGujar
6387127659 Add mongo content provider example. 2019-03-19 15:05:08 +05:30
SukantGujar
6262af11e7 Add nyc for code-coverage. 2019-03-12 20:06:29 +05:30
SukantGujar
a1d2ca7d67 Add yarn cache to travis yml 2019-03-12 19:49:03 +05:30
SukantGujar
f31457cffd Add travis ci status to readme. 2019-03-12 19:44:33 +05:30
SukantGujar
46f52f085c Specify nodejs version in travis yml 2019-03-12 19:40:02 +05:30
SukantGujar
3899aab6fe Add travis yml 2019-03-12 19:34:56 +05:30
SukantGujar
4f44bf1cc9 Merge branch 'master' of ssh://github.com-sukantgujar/SukantGujar/express-partial-content 2019-03-12 19:21:29 +05:30
Sukant Gujar
672e2fa732 Update issue templates 2019-03-12 19:20:47 +05:30
Sukant Gujar
b02a9d1629 Create CONTRIBUTING.md 2019-03-12 19:19:52 +05:30
Sukant Gujar
37d664496a Create CODE_OF_CONDUCT.md 2019-03-12 19:13:51 +05:30
Sukant Gujar
3e3858c1bf Create LICENSE 2019-03-12 19:12:26 +05:30
SukantGujar
81f1f58b7f v1.0.0 2019-03-12 19:03:43 +05:30
SukantGujar
14b7ad9cb8 Add parseRangeHeader tests. 2019-03-12 19:01:50 +05:30
SukantGujar
805aa950b1 Add createPartialContentHandler tests 2019-03-12 18:30:26 +05:30
SukantGujar
e44d08b081 Add missing setContentRangeHeader test 2019-03-12 18:30:03 +05:30
SukantGujar
3b1ba655cc Remove console.log 2019-03-12 18:29:13 +05:30
SukantGujar
0e03c8348a Fix returned status when content is not found. 2019-03-12 18:28:57 +05:30
SukantGujar
1ab683b1e7 Add tests for utils 2019-03-12 14:08:22 +05:30
SukantGujar
fb5a68e830 Add npm registry related meta 2019-03-12 11:40:14 +05:30
SukantGujar
5675015f12 Merge branch 'master' of ssh://github.com-sukantgujar/SukantGujar/express-partial-content 2019-03-12 10:54:31 +05:30
SukantGujar
00cb4cdb47 Rename factory method, fix readme. 2019-03-12 10:53:04 +05:30
Sukant Gujar
3e5724a9a3 Set theme jekyll-theme-slate 2019-03-12 10:47:11 +05:30
SukantGujar
fb8b4854ae Fix code example in readme. 2019-03-12 09:58:42 +05:30
SukantGujar
55856617d2 Split code, fix typo and add readme. 2019-03-12 09:56:33 +05:30
SukantGujar
7aa149dd55 Add description to the packaage. 2019-03-11 17:36:29 +05:30
SukantGujar
ca0b97b471 Remove express from deps, move out fCP in separate file. 2019-03-11 17:34:44 +05:30
SukantGujar
33a4b1aea4 Fix compilation error. 2019-03-11 13:49:38 +05:30
SukantGujar
2d2d20f6e9 Split the code, add file server example. 2019-03-11 13:41:55 +05:30
SukantGujar
45439ef50d Add prod build and rimraf. 2019-03-08 18:49:44 +05:30
SukantGujar
9422491a44 Add first draft (untested). 2019-03-08 18:43:22 +05:30
SukantGujar
9a3d218c6e First commit 2019-03-07 17:19:23 +05:30
azivner
f2605aaa3e formatting 2018-12-16 23:17:13 +01:00
azivner
d74771b28c update according to latest schema 2018-06-01 23:13:21 -04:00
azivner
074a063d82 up to date with Trilium 0.6 2018-02-18 22:43:33 -05:00
azivner
1e18443a12 up to date with Trilium 0.4 2018-01-17 23:06:02 -05:00
azivner
031a6eef35 fix columns to reflect current schema 2017-12-30 16:34:58 -05:00
azivner
e9e92f93b3 fixed recent notes according to updated schema 2017-12-14 22:31:49 -05:00
azivner
1fdea480d3 fixed terminology 2017-12-12 23:16:38 -05:00
azivner
cd1ce48564 more advanced comparison, synced with how content hash is computed 2017-11-29 19:56:14 -05:00
azivner
d21d5d4350 initial import 2017-11-23 23:19:45 -05:00
zadam
a016a2ba8f Initial commit 2017-11-23 23:16:53 -05:00
2490 changed files with 98619 additions and 42424 deletions

View File

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

View File

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

16
.gitattributes vendored
View File

@@ -1,13 +1,21 @@
# Mark files as auto-generated to simplify reviews.
package-lock.json linguist-generated=true
**/package-lock.json linguist-generated=true
src/public/app/doc_notes/en/User[[:space:]]Guide/** linguist-generated=true
src/public/app/doc_notes/en/User[[:space:]]Guide/**/*.md eol=lf
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
libraries/** linguist-vendored
*.sh eol=lf

View File

@@ -21,30 +21,39 @@ runs:
# Certificate setup
- name: Import Apple certificates
if: inputs.os == 'macos'
uses: apple-actions/import-codesign-certs@v3
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
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@v3
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
keychain: build-installer-${{ github.run_id }}
keychain-password: ${{ github.run_id }}
# We don't need to create a keychain here because we're using the build keychain that was created in the previous step
create-keychain: false
- name: Verify certificates
if: inputs.os == 'macos'
shell: ${{ inputs.shell }}
run: |
echo "Available signing identities:"
security find-identity -v -p codesigning build.keychain
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' }}
@@ -63,11 +72,6 @@ runs:
FLATPAK_VERSION='24.08'
flatpak install --user --no-deps --arch $FLATPAK_ARCH --assumeyes runtime/org.freedesktop.Platform/$FLATPAK_ARCH/$FLATPAK_VERSION runtime/org.freedesktop.Sdk/$FLATPAK_ARCH/$FLATPAK_VERSION org.electronjs.Electron2.BaseApp/$FLATPAK_ARCH/$FLATPAK_VERSION
# Build setup
- name: Install dependencies
shell: ${{ inputs.shell }}
run: npm ci
- name: Update build info
shell: ${{ inputs.shell }}
run: npm run chore:update-build-info
@@ -82,7 +86,7 @@ runs:
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: npm run electron-forge:make -- --arch=${{ inputs.arch }} --platform=${{ inputs.forge_platform }}
run: pnpm nx --project=desktop electron-forge:make -- --arch=${{ inputs.arch }} --platform=${{ inputs.forge_platform }}
# Add DMG signing step
- name: Sign DMG
@@ -90,11 +94,11 @@ runs:
shell: ${{ inputs.shell }}
run: |
echo "Signing DMG file..."
dmg_file=$(find ./dist -name "*.dmg" -print -quit)
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.keychain | grep "Developer ID Application" | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
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
@@ -118,7 +122,7 @@ runs:
# First check the .app bundle
echo "Looking for .app bundle..."
app_bundle=$(find ./dist -name "*.app" -print -quit)
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..."
@@ -137,7 +141,7 @@ runs:
# Then check DMG if it exists
echo "Looking for DMG..."
dmg_file=$(find ./dist -name "*.dmg" -print -quit)
dmg_file=$(find ./apps/desktop/dist -name "*.dmg" -print -quit)
if [ -n "$dmg_file" ]; then
echo "Found DMG: $dmg_file"
echo "Verifying DMG signing..."
@@ -153,7 +157,7 @@ runs:
# Finally check ZIP if it exists
echo "Looking for ZIP..."
zip_file=$(find ./dist -name "*.zip" -print -quit)
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"

View File

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

View File

@@ -19,20 +19,45 @@ permissions:
pull-requests: write # for PR comments
jobs:
report-electron-size:
name: Report Electron size
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: "npm"
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- run: npm ci
- uses: nrwl/nx-set-shas@v4
- name: Check affected
run: pnpm nx affected --verbose -t typecheck build rebuild-deps
report-electron-size:
name: Report Electron size
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'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run the build
uses: ./.github/actions/build-electron
@@ -54,17 +79,20 @@ jobs:
report-server-size:
name: Report server size
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: "npm"
cache: "pnpm"
- run: npm ci
- run: pnpm install --frozen-lockfile
- name: Run the build
uses: ./.github/actions/build-server
@@ -85,39 +113,42 @@ jobs:
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: "npm"
- run: npm ci
- name: Run the TypeScript build
run: npx tsc
cache: "pnpm"
- run: pnpm install --frozen-lockfile
- name: Run the unit tests
run: npm run test
run: pnpm run test:all
build_docker:
name: Build Docker image
runs-on: ubuntu-latest
needs:
- test_dev
- check-affected
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Update build info
run: npm run chore:update-build-info
run: pnpm run chore:update-build-info
- name: Trigger build
run: pnpm nx run server:build
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v6
with:
context: .
context: apps/server
cache-from: type=gha
cache-to: type=gha,mode=max
test_docker:
@@ -125,6 +156,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- build_docker
- check-affected
strategy:
matrix:
include:
@@ -134,11 +166,14 @@ jobs:
- name: Checkout the repository
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Install dependencies
run: npm ci
run: pnpm install --frozen-lockfile
- name: Update build info
run: npm run chore: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
@@ -151,8 +186,8 @@ jobs:
- name: Build and export to Docker
uses: docker/build-push-action@v6
with:
context: .
file: ${{ matrix.dockerfile }}
context: apps/server
file: apps/server/${{ matrix.dockerfile }}
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
@@ -174,5 +209,4 @@ jobs:
# Print the entire log of the container thus far, regardless if the healthcheck failed or succeeded
- name: Print entire log
if: always()
run: |
journalctl -u docker CONTAINER_NAME=trilium_local --no-pager
run: journalctl -u docker CONTAINER_NAME=trilium_local --no-pager

View File

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

View File

@@ -12,11 +12,18 @@ on:
paths:
- .github/actions/build-electron/*
- forge.config.cjs
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
@@ -40,12 +47,15 @@ jobs:
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: npm ci
run: pnpm install --frozen-lockfile
- uses: nrwl/nx-set-shas@v4
- name: Update nightly version
run: npm run chore:ci-update-nightly-version
- name: Run the build
@@ -73,7 +83,7 @@ jobs:
prerelease: true
draft: false
fail_on_unmatched_files: true
files: upload/*.*
files: apps/desktop/upload/*.*
tag_name: nightly
name: Nightly Build
@@ -82,7 +92,7 @@ jobs:
if: ${{ github.event_name == 'pull_request' }}
with:
name: TriliumNextNotes ${{ matrix.os.name }} ${{ matrix.arch }}
path: upload
path: apps/desktop/upload
nightly-server:
name: Deploy server nightly

View File

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

View File

@@ -16,5 +16,5 @@ jobs:
uses: vedantmgoyal9/winget-releaser@main
with:
identifier: TriliumNext.Notes
token: ${{ secrets.token }}
token: ${{ secrets.WINGET_PAT }}
release-tag: ${{ github.event.inputs.release_tag || github.event.release.tag_name }}

View File

@@ -5,6 +5,7 @@ on:
- "v*"
permissions:
contents: write
discussions: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -32,10 +33,15 @@ jobs:
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:
@@ -57,7 +63,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: release-desktop-${{ matrix.os.name }}-${{ matrix.arch }}
path: upload/*.*
path: apps/desktop/upload/*.*
build_server:
name: Build Linux Server
@@ -107,10 +113,14 @@ jobs:
pattern: release-*
path: upload
- name: Publish release
- name: Publish stable release
uses: softprops/action-gh-release@v2
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 }}

View File

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

View File

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

82
.gitignore vendored
View File

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

View File

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

View File

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

2
.mailmap Normal file
View File

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

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
22.16.0

7
.nxignore Normal file
View File

@@ -0,0 +1,7 @@
_regroup
_regroup_monorepo
# Asset copying respects .gitignore / .nxignore for some reason.
# See https://github.com/nrwl/nx/issues/20309
!dist
!node_modules

View File

@@ -1,11 +1,14 @@
{
"recommendations": [
"lokalise.i18n-ally",
"editorconfig.editorconfig",
"vitest.explorer",
"ms-playwright.playwright",
"tobermory.es6-string-html",
"dbaeumer.vscode-eslint",
"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"
]
}

View File

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

22
.vscode/launch.json vendored
View File

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

60
.vscode/settings.json vendored
View File

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

View File

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

View File

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

145
README.md
View File

@@ -2,17 +2,49 @@
![GitHub Sponsors](https://img.shields.io/github/sponsors/eliandoran) ![Docker Pulls](https://img.shields.io/docker/pulls/triliumnext/notes) ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/triliumnext/notes/total)
[English](./README.md) | [Chinese](./README-ZH_CN.md) | [Russian](./README.ru.md) | [Japanese](./README.ja.md) | [Italian](./README.it.md) | [Spanish](./README.es.md)
[English](./README.md) | [Chinese](./docs/README-ZH_CN.md) | [Russian](./docs/README.ru.md) | [Japanese](./docs/README.ja.md) | [Italian](./docs/README.it.md) | [Spanish](./docs/README.es.md)
TriliumNext Notes is an open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
TriliumNext Notes is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.
See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for quick overview:
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="https://github.com/TriliumNext/Docs/blob/main/Wiki/images/screenshot.png?raw=true" alt="Trilium Screenshot" width="1000"></a>
<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="./docs/app.png" alt="Trilium Screenshot" width="1000"></a>
## 🎁 Features
* Notes can be arranged into arbitrarily deep tree. Single note can be placed into multiple places in the tree (see [cloning](https://triliumnext.github.io/Docs/Wiki/cloning-notes))
* Rich WYSIWYG note editor including e.g. tables, images and [math](https://triliumnext.github.io/Docs/Wiki/text-notes) with markdown [autoformat](https://triliumnext.github.io/Docs/Wiki/text-notes#autoformat)
* Support for editing [notes with source code](https://triliumnext.github.io/Docs/Wiki/code-notes), including syntax highlighting
* Fast and easy [navigation between notes](https://triliumnext.github.io/Docs/Wiki/note-navigation), full text search and [note hoisting](https://triliumnext.github.io/Docs/Wiki/note-hoisting)
* Seamless [note versioning](https://triliumnext.github.io/Docs/Wiki/note-revisions)
* Note [attributes](https://triliumnext.github.io/Docs/Wiki/attributes) can be used for note organization, querying and advanced [scripting](https://triliumnext.github.io/Docs/Wiki/scripts)
* UI available in English, German, Spanish, French, Romanian, and Chinese (simplified and traditional)
* Direct [OpenID and TOTP integration](.docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/Multi-Factor%20Authentication.md") for more secure login
* [Synchronization](https://triliumnext.github.io/Docs/Wiki/synchronization) with self-hosted sync server
* there's a [3rd party service for hosting synchronisation server](https://trilium.cc/paid-hosting)
* [Sharing](https://triliumnext.github.io/Docs/Wiki/sharing) (publishing) notes to public internet
* Strong [note encryption](https://triliumnext.github.io/Docs/Wiki/protected-notes) with per-note granularity
* Sketching diagrams, based on [Excalidraw](https://excalidraw.com/) (note type "canvas")
* [Relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map) and [link maps](https://triliumnext.github.io/Docs/Wiki/link-map) for visualizing notes and their relations
* Mind maps, based on [Mind Elixir](https://docs.mind-elixir.com/)
* [Geo maps](./docs/User%20Guide/User%20Guide/Note%20Types/Geo%20Map.md) with location pins and GPX tracks
* [Scripting](https://triliumnext.github.io/Docs/Wiki/scripts) - see [Advanced showcases](https://triliumnext.github.io/Docs/Wiki/advanced-showcases)
* [REST API](https://triliumnext.github.io/Docs/Wiki/etapi) for automation
* Scales well in both usability and performance upwards of 100 000 notes
* Touch optimized [mobile frontend](https://triliumnext.github.io/Docs/Wiki/mobile-frontend) for smartphones and tablets
* Built-in [dark theme](https://triliumnext.github.io/Docs/Wiki/themes), support for user themes
* [Evernote](https://triliumnext.github.io/Docs/Wiki/evernote-import) and [Markdown import & export](https://triliumnext.github.io/Docs/Wiki/markdown)
* [Web Clipper](https://triliumnext.github.io/Docs/Wiki/web-clipper) for easy saving of web content
* Customizable UI (sidebar buttons, user-defined widgets, ...)
✨ Check out the following third-party resources/communities for more TriliumNext related goodies:
- [awesome-trilium](https://github.com/Nriver/awesome-trilium) for 3rd party themes, scripts, plugins and more.
- [TriliumRocks!](https://trilium.rocks/) for tutorials, guides, and much more.
## ⚠️ Why TriliumNext?
[The original Trilium project is in maintenance mode](https://github.com/zadam/trilium/issues/4620)
[The original Trilium project is in maintenance mode](https://github.com/zadam/trilium/issues/4620).
### Migrating from Trilium?
@@ -20,53 +52,49 @@ There are no special migration steps to migrate from a zadam/Trilium instance to
Versions up to and including [v0.90.4](https://github.com/TriliumNext/Notes/releases/tag/v0.90.4) are compatible with the latest zadam/trilium version of [v0.63.7](https://github.com/zadam/trilium/releases/tag/v0.63.7). Any later versions of TriliumNext have their sync versions incremented.
## 📖 Documentation
We're currently in the progress of moving the documentation to in-app (hit the `F1` key within Trilium). As a result, there may be some missing parts until we've completed the migration. If you'd prefer to navigate through the documentation within GitHub, you can navigate the [User Guide](./docs/User%20Guide/User%20Guide/) documentation.
Below are some quick links for your convenience to navigate the documentation:
- [Server installation](./docs/User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation.md)
- [Docker installation](./docs/User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation/1.%20Installing%20the%20server/Using%20Docker.md)
- [Upgrading TriliumNext](./docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Upgrading%20TriliumNext.md)
- [Concepts and Features - Note](./docs/User%20Guide/User%20Guide/Basic%20Concepts%20and%20Features/Notes.md)
- [Patterns of personal knowledge base](https://triliumnext.github.io/Docs/Wiki/patterns-of-personal-knowledge)
Until we finish reorganizing the documentation, you may also want to [browse the old documentation](https://triliumnext.github.io/Docs).
## 💬 Discuss with us
Feel free to join our official conversations. We would love to hear what features, suggestions, or issues you may have!
- [Matrix](https://matrix.to/#/#triliumnext:matrix.org) (For synchronous discussions)
- [Matrix](https://matrix.to/#/#triliumnext:matrix.org) (For synchronous discussions.)
- The `General` Matrix room is also bridged to [XMPP](xmpp:discuss@trilium.thisgreat.party?join)
- [Github Discussions](https://github.com/TriliumNext/Notes/discussions) (For Asynchronous discussions)
- [Wiki](https://triliumnext.github.io/Docs/) (For common how-to questions and user guides)
## 🎁 Features
* Notes can be arranged into arbitrarily deep tree. Single note can be placed into multiple places in the tree (see [cloning](https://triliumnext.github.io/Docs/Wiki/cloning-notes))
* Rich WYSIWYG note editing including e.g. tables, images and [math](https://triliumnext.github.io/Docs/Wiki/text-notes) with markdown [autoformat](https://triliumnext.github.io/Docs/Wiki/text-notes#autoformat)
* Support for editing [notes with source code](https://triliumnext.github.io/Docs/Wiki/code-notes), including syntax highlighting
* Fast and easy [navigation between notes](https://triliumnext.github.io/Docs/Wiki/note-navigation), full text search and [note hoisting](https://triliumnext.github.io/Docs/Wiki/note-hoisting)
* Seamless [note versioning](https://triliumnext.github.io/Docs/Wiki/note-revisions)
* Note [attributes](https://triliumnext.github.io/Docs/Wiki/attributes) can be used for note organization, querying and advanced [scripting](https://triliumnext.github.io/Docs/Wiki/scripts)
* Direct OpenID and TOTP integration for more secure login
* [Synchronization](https://triliumnext.github.io/Docs/Wiki/synchronization) with self-hosted sync server
* there's a [3rd party service for hosting synchronisation server](https://trilium.cc/paid-hosting)
* [Sharing](https://triliumnext.github.io/Docs/Wiki/sharing) (publishing) notes to public internet
* Strong [note encryption](https://triliumnext.github.io/Docs/Wiki/protected-notes) with per-note granularity
* Sketching diagrams with built-in Excalidraw (note type "canvas")
* [Relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map) and [link maps](https://triliumnext.github.io/Docs/Wiki/link-map) for visualizing notes and their relations
* [Scripting](https://triliumnext.github.io/Docs/Wiki/scripts) - see [Advanced showcases](https://triliumnext.github.io/Docs/Wiki/advanced-showcases)
* [REST API](https://triliumnext.github.io/Docs/Wiki/etapi) for automation
* Scales well in both usability and performance upwards of 100 000 notes
* Touch optimized [mobile frontend](https://triliumnext.github.io/Docs/Wiki/mobile-frontend) for smartphones and tablets
* [Night theme](https://triliumnext.github.io/Docs/Wiki/themes)
* [Evernote](https://triliumnext.github.io/Docs/Wiki/evernote-import) and [Markdown import & export](https://triliumnext.github.io/Docs/Wiki/markdown)
* [Web Clipper](https://triliumnext.github.io/Docs/Wiki/web-clipper) for easy saving of web content
✨ Check out the following third-party resources/communities for more TriliumNext related goodies:
- [awesome-trilium](https://github.com/Nriver/awesome-trilium) for 3rd party themes, scripts, plugins and more.
- [TriliumRocks!](https://trilium.rocks/) for tutorials, guides, and much more.
- [Github Discussions](https://github.com/TriliumNext/Notes/discussions) (For asynchronous discussions.)
- [Github Issues](https://github.com/TriliumNext/Notes/issues) (For bug reports and feature requests.)
## 🏗 Installation
### Desktop
### Windows / MacOS
To use TriliumNext on your desktop machine (Linux, MacOS, and Windows) you have a few options:
Download the binary release for your platform from the [latest release page](https://github.com/TriliumNext/Notes/releases/latest), unzip the package and run the `trilium` executable.
* Download the binary release for your platform from the [latest release page](https://github.com/TriliumNext/Notes/releases/latest), unzip the package and run the ```trilium``` executable.
* Access TriliumNext via the web interface of a server installation (see below)
* Currently only the latest versions of Chrome & Firefox are supported (and tested).
* TriliumNext is also provided as a Flatpak, but not yet published on FlatHub.
### Linux
If your distribution is listed in the table below, use your distribution's package.
[![Packaging status](https://repology.org/badge/vertical-allrepos/triliumnext.svg)](https://repology.org/project/triliumnext/versions)
You may also download the binary release for your platform from the [latest release page](https://github.com/TriliumNext/Notes/releases/latest), unzip the package and run the `trilium` executable.
TriliumNext is also provided as a Flatpak, but not yet published on FlatHub.
### Browser (any OS)
If you use a server installation (see below), you can directly access the web interface (which is almost identical to the desktop app).
Currently only the latest versions of Chrome & Firefox are supported (and tested).
### Mobile
@@ -80,28 +108,43 @@ See issue https://github.com/TriliumNext/Notes/issues/72 for more information on
To install TriliumNext on your own server (including via Docker from [Dockerhub](https://hub.docker.com/r/triliumnext/notes)) follow [the server installation docs](https://triliumnext.github.io/Docs/Wiki/server-installation).
## 📝 Documentation
[See wiki for complete list of documentation pages.](https://triliumnext.github.io/Docs)
You can also read [Patterns of personal knowledge base](https://triliumnext.github.io/Docs/Wiki/patterns-of-personal-knowledge) to get some inspiration on how you might use TriliumNext.
## 💻 Contribute
### Code
Download the repository, install dependencies using `pnpm` and then run the server (available at http://localhost:8080):
```shell
git clone https://github.com/TriliumNext/Notes.git
cd Notes
npm install
npm run server:start
pnpm install
pnpm run server:start
```
### Documentation
Download the repository, install dependencies using `pnpm` and then run the environment required to edit the documentation:
```shell
git clone https://github.com/TriliumNext/Notes.git
cd Notes
pnpm install
pnpm nx run edit-docs:edit-docs
```
### Building the Executable
Download the repository, install dependencies using `pnpm` and then build the desktop app for Windows:
```shell
git clone https://github.com/TriliumNext/Notes.git
cd Notes
pnpm install
pnpm nx --project=desktop electron-forge:make -- --arch=x64 --platform=win32
```
For more details, see the [development docs](https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Building%20and%20deployment/Running%20a%20development%20build.md).
### Documentation
### Developer Documentation
See the [documentation guide](https://github.com/TriliumNext/Notes/blob/develop/docs/Developer%20Guide/Developer%20Guide/Documentation.md) for details.
Please view the [documentation guide](./docs/Developer%20Guide/Developer%20Guide/Environment%20Setup.md) for details. If you have more questions, feel free to reach out via the links described in the "Discuss with us" section above.
## 👏 Shoutouts
@@ -119,4 +162,6 @@ Support for the TriliumNext organization will be possible in the near future. Fo
## 🔑 License
Copyright 2017-2025 zadam, Elian Doran, and other contributors
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.

0
bin/build-docker.sh → _regroup/bin/build-docker.sh Executable file → Normal file
View File

0
bin/create-icons.sh → _regroup/bin/create-icons.sh Executable file → Normal file
View File

0
bin/export-schema.sh → _regroup/bin/export-schema.sh Executable file → Normal file
View File

0
bin/generate-cert.sh → _regroup/bin/generate-cert.sh Executable file → Normal file
View File

View File

View File

0
bin/release.sh → _regroup/bin/release.sh Executable file → Normal file
View File

0
bin/translation.sh → _regroup/bin/translation.sh Executable file → Normal file
View File

View File

Before

Width:  |  Height:  |  Size: 383 B

After

Width:  |  Height:  |  Size: 383 B

View File

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B

View File

Before

Width:  |  Height:  |  Size: 357 B

After

Width:  |  Height:  |  Size: 357 B

View File

Before

Width:  |  Height:  |  Size: 387 B

After

Width:  |  Height:  |  Size: 387 B

View File

Before

Width:  |  Height:  |  Size: 734 B

After

Width:  |  Height:  |  Size: 734 B

58
_regroup/package.json Normal file
View File

@@ -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.52.0",
"@stylistic/eslint-plugin": "4.4.0",
"@types/express": "5.0.1",
"@types/node": "22.15.29",
"@types/yargs": "17.0.33",
"@vitest/coverage-v8": "3.1.4",
"eslint": "9.27.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"
}
}

View File

@@ -0,0 +1,43 @@
### Test regular API metrics endpoint (requires session authentication)
### Get metrics from regular API (default Prometheus format)
GET {{triliumHost}}/api/metrics
> {%
client.test("API metrics endpoint returns Prometheus format by default", function() {
client.assert(response.status === 200, "Response status is not 200");
client.assert(response.headers["content-type"].includes("text/plain"), "Content-Type should be text/plain");
client.assert(response.body.includes("trilium_info"), "Should contain trilium_info metric");
client.assert(response.body.includes("trilium_notes_total"), "Should contain trilium_notes_total metric");
client.assert(response.body.includes("# HELP"), "Should contain HELP comments");
client.assert(response.body.includes("# TYPE"), "Should contain TYPE comments");
});
%}
### Get metrics in JSON format
GET {{triliumHost}}/api/metrics?format=json
> {%
client.test("API metrics endpoint returns JSON when requested", function() {
client.assert(response.status === 200, "Response status is not 200");
client.assert(response.headers["content-type"].includes("application/json"), "Content-Type should be application/json");
client.assert(response.body.version, "Version info not present");
client.assert(response.body.database, "Database info not present");
client.assert(response.body.timestamp, "Timestamp not present");
client.assert(typeof response.body.database.totalNotes === 'number', "Total notes should be a number");
client.assert(typeof response.body.database.activeNotes === 'number', "Active notes should be a number");
client.assert(response.body.noteTypes, "Note types breakdown not present");
client.assert(response.body.attachmentTypes, "Attachment types breakdown not present");
client.assert(response.body.statistics, "Statistics not present");
});
%}
### Test invalid format parameter
GET {{triliumHost}}/api/metrics?format=xml
> {%
client.test("Invalid format parameter returns error", function() {
client.assert(response.status === 500, "Response status should be 500");
client.assert(response.body.message.includes("prometheus"), "Error message should mention supported formats");
});
%}

View File

@@ -1,116 +1,116 @@
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "root",
"title": "Hello parent",
"type": "text",
"content": "Hi there!"
}
> {%
client.assert(response.status === 201);
client.global.set("parentNoteId", response.body.note.noteId);
client.global.set("parentBranchId", response.body.branch.branchId);
%}
### Create inheritable parent attribute
POST {{triliumHost}}/etapi/attributes
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{parentNoteId}}",
"type": "label",
"name": "mylabel",
"value": "",
"isInheritable": true,
"position": 10
}
> {%
client.assert(response.status === 201);
client.global.set("parentAttributeId", response.body.attributeId);
%}
### Create child note under root
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "root",
"title": "Hello child",
"type": "text",
"content": "Hi there!"
}
> {%
client.assert(response.status === 201);
client.global.set("childNoteId", response.body.note.noteId);
client.global.set("childBranchId", response.body.branch.branchId);
%}
### Create child attribute
POST {{triliumHost}}/etapi/attributes
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{childNoteId}}",
"type": "label",
"name": "mylabel",
"value": "val",
"isInheritable": false,
"position": 10
}
> {%
client.assert(response.status === 201);
client.global.set("childAttributeId", response.body.attributeId);
%}
### Clone child to parent
POST {{triliumHost}}/etapi/branches
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{childNoteId}}",
"parentNoteId": "{{parentNoteId}}"
}
> {%
client.assert(response.status === 201);
client.assert(response.body.parentNoteId == client.global.get("parentNoteId"));
%}
###
GET {{triliumHost}}/etapi/notes/{{childNoteId}}
Authorization: {{authToken}}
> {%
function hasAttribute(list, attributeId) {
for (let i = 0; i < list.length; i++) {
if (list[i]["attributeId"] === attributeId) {
return true;
}
}
return false;
}
client.log(JSON.stringify(response.body.attributes));
client.assert(response.status === 200);
client.assert(response.body.noteId == client.global.get("childNoteId"));
client.assert(response.body.attributes.length == 2);
client.assert(hasAttribute(response.body.attributes, client.global.get("parentAttributeId")));
client.assert(hasAttribute(response.body.attributes, client.global.get("childAttributeId")));
%}
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "root",
"title": "Hello parent",
"type": "text",
"content": "Hi there!"
}
> {%
client.assert(response.status === 201);
client.global.set("parentNoteId", response.body.note.noteId);
client.global.set("parentBranchId", response.body.branch.branchId);
%}
### Create inheritable parent attribute
POST {{triliumHost}}/etapi/attributes
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{parentNoteId}}",
"type": "label",
"name": "mylabel",
"value": "",
"isInheritable": true,
"position": 10
}
> {%
client.assert(response.status === 201);
client.global.set("parentAttributeId", response.body.attributeId);
%}
### Create child note under root
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "root",
"title": "Hello child",
"type": "text",
"content": "Hi there!"
}
> {%
client.assert(response.status === 201);
client.global.set("childNoteId", response.body.note.noteId);
client.global.set("childBranchId", response.body.branch.branchId);
%}
### Create child attribute
POST {{triliumHost}}/etapi/attributes
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{childNoteId}}",
"type": "label",
"name": "mylabel",
"value": "val",
"isInheritable": false,
"position": 10
}
> {%
client.assert(response.status === 201);
client.global.set("childAttributeId", response.body.attributeId);
%}
### Clone child to parent
POST {{triliumHost}}/etapi/branches
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{childNoteId}}",
"parentNoteId": "{{parentNoteId}}"
}
> {%
client.assert(response.status === 201);
client.assert(response.body.parentNoteId == client.global.get("parentNoteId"));
%}
###
GET {{triliumHost}}/etapi/notes/{{childNoteId}}
Authorization: {{authToken}}
> {%
function hasAttribute(list, attributeId) {
for (let i = 0; i < list.length; i++) {
if (list[i]["attributeId"] === attributeId) {
return true;
}
}
return false;
}
client.log(JSON.stringify(response.body.attributes));
client.assert(response.status === 200);
client.assert(response.body.noteId == client.global.get("childNoteId"));
client.assert(response.body.attributes.length == 2);
client.assert(hasAttribute(response.body.attributes, client.global.get("parentAttributeId")));
client.assert(hasAttribute(response.body.attributes, client.global.get("childAttributeId")));
%}

View File

@@ -1,61 +1,61 @@
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "root",
"title": "GetInheritedAttributes Test Note",
"type": "text",
"content": "Hi there!"
}
> {%
client.assert(response.status === 201);
client.global.set("parentNoteId", response.body.note.noteId);
%}
###
POST {{triliumHost}}/etapi/attributes
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{parentNoteId}}",
"type": "label",
"name": "mylabel",
"value": "val",
"isInheritable": true
}
> {% client.global.set("createdAttributeId", response.body.attributeId); %}
###
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "{{parentNoteId}}",
"title": "Hello",
"type": "text",
"content": "Hi there!"
}
> {%
client.global.set("createdNoteId", response.body.note.noteId);
client.global.set("createdBranchId", response.body.branch.branchId);
%}
###
GET {{triliumHost}}/etapi/notes/{{createdNoteId}}
Authorization: {{authToken}}
> {%
client.assert(response.status === 200);
client.assert(response.body.noteId == client.global.get("createdNoteId"));
client.assert(response.body.attributes.length == 1);
client.assert(response.body.attributes[0].attributeId == client.global.get("createdAttributeId"));
%}
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "root",
"title": "GetInheritedAttributes Test Note",
"type": "text",
"content": "Hi there!"
}
> {%
client.assert(response.status === 201);
client.global.set("parentNoteId", response.body.note.noteId);
%}
###
POST {{triliumHost}}/etapi/attributes
Authorization: {{authToken}}
Content-Type: application/json
{
"noteId": "{{parentNoteId}}",
"type": "label",
"name": "mylabel",
"value": "val",
"isInheritable": true
}
> {% client.global.set("createdAttributeId", response.body.attributeId); %}
###
POST {{triliumHost}}/etapi/create-note
Authorization: {{authToken}}
Content-Type: application/json
{
"parentNoteId": "{{parentNoteId}}",
"title": "Hello",
"type": "text",
"content": "Hi there!"
}
> {%
client.global.set("createdNoteId", response.body.note.noteId);
client.global.set("createdBranchId", response.body.branch.branchId);
%}
###
GET {{triliumHost}}/etapi/notes/{{createdNoteId}}
Authorization: {{authToken}}
> {%
client.assert(response.status === 200);
client.assert(response.body.noteId == client.global.get("createdNoteId"));
client.assert(response.body.attributes.length == 1);
client.assert(response.body.attributes[0].attributeId == client.global.get("createdAttributeId"));
%}

View File

@@ -0,0 +1,82 @@
### Test ETAPI metrics endpoint
# First login to get a token
POST {{triliumHost}}/etapi/auth/login
Content-Type: application/json
{
"password": "{{password}}"
}
> {%
client.test("Login successful", function() {
client.assert(response.status === 201, "Response status is not 201");
client.assert(response.body.authToken, "Auth token not present");
client.global.set("authToken", response.body.authToken);
});
%}
### Get metrics with authentication (default Prometheus format)
GET {{triliumHost}}/etapi/metrics
Authorization: {{authToken}}
> {%
client.test("Metrics endpoint returns Prometheus format by default", function() {
client.assert(response.status === 200, "Response status is not 200");
client.assert(response.headers["content-type"].includes("text/plain"), "Content-Type should be text/plain");
client.assert(response.body.includes("trilium_info"), "Should contain trilium_info metric");
client.assert(response.body.includes("trilium_notes_total"), "Should contain trilium_notes_total metric");
client.assert(response.body.includes("# HELP"), "Should contain HELP comments");
client.assert(response.body.includes("# TYPE"), "Should contain TYPE comments");
});
%}
### Get metrics in JSON format
GET {{triliumHost}}/etapi/metrics?format=json
Authorization: {{authToken}}
> {%
client.test("Metrics endpoint returns JSON when requested", function() {
client.assert(response.status === 200, "Response status is not 200");
client.assert(response.headers["content-type"].includes("application/json"), "Content-Type should be application/json");
client.assert(response.body.version, "Version info not present");
client.assert(response.body.database, "Database info not present");
client.assert(response.body.timestamp, "Timestamp not present");
client.assert(typeof response.body.database.totalNotes === 'number', "Total notes should be a number");
client.assert(typeof response.body.database.activeNotes === 'number', "Active notes should be a number");
});
%}
### Get metrics in Prometheus format explicitly
GET {{triliumHost}}/etapi/metrics?format=prometheus
Authorization: {{authToken}}
> {%
client.test("Metrics endpoint returns Prometheus format when requested", function() {
client.assert(response.status === 200, "Response status is not 200");
client.assert(response.headers["content-type"].includes("text/plain"), "Content-Type should be text/plain");
client.assert(response.body.includes("trilium_info"), "Should contain trilium_info metric");
client.assert(response.body.includes("trilium_notes_total"), "Should contain trilium_notes_total metric");
});
%}
### Test invalid format parameter
GET {{triliumHost}}/etapi/metrics?format=xml
Authorization: {{authToken}}
> {%
client.test("Invalid format parameter returns error", function() {
client.assert(response.status === 400, "Response status should be 400");
client.assert(response.body.code === "INVALID_FORMAT", "Error code should be INVALID_FORMAT");
client.assert(response.body.message.includes("prometheus"), "Error message should mention supported formats");
});
%}
### Test without authentication (should fail)
GET {{triliumHost}}/etapi/metrics
> {%
client.test("Metrics endpoint requires authentication", function() {
client.assert(response.status === 401, "Response status should be 401");
});
%}

8
apps/client/.swcrc Normal file
View File

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

View File

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

76
apps/client/package.json Normal file
View File

@@ -0,0 +1,76 @@
{
"name": "@triliumnext/client",
"version": "0.94.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.27.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:*",
"autocomplete.js": "0.38.1",
"bootstrap": "5.3.6",
"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.0",
"normalize.css": "8.0.1",
"panzoom": "9.4.3",
"react": "19.1.0",
"react-dom": "19.1.0",
"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",
"@types/react": "19.1.6",
"@types/react-dom": "19.1.5",
"copy-webpack-plugin": "13.0.0",
"happy-dom": "17.5.6",
"script-loader": "0.7.2",
"vite-plugin-static-copy": "3.0.0"
},
"nx": {
"name": "client"
}
}

View File

@@ -0,0 +1,424 @@
/*
* Remove template code below
*/
html {
-webkit-text-size-adjust: 100%;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
'Noto Color Emoji';
line-height: 1.5;
tab-size: 4;
scroll-behavior: smooth;
}
body {
font-family: inherit;
line-height: inherit;
margin: 0;
}
h1,
h2,
p,
pre {
margin: 0;
}
*,
::before,
::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: currentColor;
}
h1,
h2 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
'Liberation Mono', 'Courier New', monospace;
}
svg {
display: block;
vertical-align: middle;
}
svg {
shape-rendering: auto;
text-rendering: optimizeLegibility;
}
pre {
background-color: rgba(55, 65, 81, 1);
border-radius: 0.25rem;
color: rgba(229, 231, 235, 1);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
'Liberation Mono', 'Courier New', monospace;
overflow: scroll;
padding: 0.5rem 0.75rem;
}
.shadow {
box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1),
0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.rounded {
border-radius: 1.5rem;
}
.wrapper {
width: 100%;
}
.container {
margin-left: auto;
margin-right: auto;
max-width: 768px;
padding-bottom: 3rem;
padding-left: 1rem;
padding-right: 1rem;
color: rgba(55, 65, 81, 1);
width: 100%;
}
#welcome {
margin-top: 2.5rem;
}
#welcome h1 {
font-size: 3rem;
font-weight: 500;
letter-spacing: -0.025em;
line-height: 1;
}
#welcome span {
display: block;
font-size: 1.875rem;
font-weight: 300;
line-height: 2.25rem;
margin-bottom: 0.5rem;
}
#hero {
align-items: center;
background-color: hsla(214, 62%, 21%, 1);
border: none;
box-sizing: border-box;
color: rgba(55, 65, 81, 1);
display: grid;
grid-template-columns: 1fr;
margin-top: 3.5rem;
}
#hero .text-container {
color: rgba(255, 255, 255, 1);
padding: 3rem 2rem;
}
#hero .text-container h2 {
font-size: 1.5rem;
line-height: 2rem;
position: relative;
}
#hero .text-container h2 svg {
color: hsla(162, 47%, 50%, 1);
height: 2rem;
left: -0.25rem;
position: absolute;
top: 0;
width: 2rem;
}
#hero .text-container h2 span {
margin-left: 2.5rem;
}
#hero .text-container a {
background-color: rgba(255, 255, 255, 1);
border-radius: 0.75rem;
color: rgba(55, 65, 81, 1);
display: inline-block;
margin-top: 1.5rem;
padding: 1rem 2rem;
text-decoration: inherit;
}
#hero .logo-container {
display: none;
justify-content: center;
padding-left: 2rem;
padding-right: 2rem;
}
#hero .logo-container svg {
color: rgba(255, 255, 255, 1);
width: 66.666667%;
}
#middle-content {
align-items: flex-start;
display: grid;
gap: 4rem;
grid-template-columns: 1fr;
margin-top: 3.5rem;
}
#learning-materials {
padding: 2.5rem 2rem;
}
#learning-materials h2 {
font-weight: 500;
font-size: 1.25rem;
letter-spacing: -0.025em;
line-height: 1.75rem;
padding-left: 1rem;
padding-right: 1rem;
}
.list-item-link {
align-items: center;
border-radius: 0.75rem;
display: flex;
margin-top: 1rem;
padding: 1rem;
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
width: 100%;
}
.list-item-link svg:first-child {
margin-right: 1rem;
height: 1.5rem;
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
width: 1.5rem;
}
.list-item-link > span {
flex-grow: 1;
font-weight: 400;
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.list-item-link > span > span {
color: rgba(107, 114, 128, 1);
display: block;
flex-grow: 1;
font-size: 0.75rem;
font-weight: 300;
line-height: 1rem;
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.list-item-link svg:last-child {
height: 1rem;
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
width: 1rem;
}
.list-item-link:hover {
color: rgba(255, 255, 255, 1);
background-color: hsla(162, 47%, 50%, 1);
}
.list-item-link:hover > span {
}
.list-item-link:hover > span > span {
color: rgba(243, 244, 246, 1);
}
.list-item-link:hover svg:last-child {
transform: translateX(0.25rem);
}
#other-links {
}
.button-pill {
padding: 1.5rem 2rem;
transition-duration: 300ms;
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
align-items: center;
display: flex;
}
.button-pill svg {
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
flex-shrink: 0;
width: 3rem;
}
.button-pill > span {
letter-spacing: -0.025em;
font-weight: 400;
font-size: 1.125rem;
line-height: 1.75rem;
padding-left: 1rem;
padding-right: 1rem;
}
.button-pill span span {
display: block;
font-size: 0.875rem;
font-weight: 300;
line-height: 1.25rem;
}
.button-pill:hover svg,
.button-pill:hover {
color: rgba(255, 255, 255, 1) !important;
}
#nx-console:hover {
background-color: rgba(0, 122, 204, 1);
}
#nx-console svg {
color: rgba(0, 122, 204, 1);
}
#nx-console-jetbrains {
margin-top: 2rem;
}
#nx-console-jetbrains:hover {
background-color: rgba(255, 49, 140, 1);
}
#nx-console-jetbrains svg {
color: rgba(255, 49, 140, 1);
}
#nx-repo:hover {
background-color: rgba(24, 23, 23, 1);
}
#nx-repo svg {
color: rgba(24, 23, 23, 1);
}
#nx-cloud {
margin-bottom: 2rem;
margin-top: 2rem;
padding: 2.5rem 2rem;
}
#nx-cloud > div {
align-items: center;
display: flex;
}
#nx-cloud > div svg {
border-radius: 0.375rem;
flex-shrink: 0;
width: 3rem;
}
#nx-cloud > div h2 {
font-size: 1.125rem;
font-weight: 400;
letter-spacing: -0.025em;
line-height: 1.75rem;
padding-left: 1rem;
padding-right: 1rem;
}
#nx-cloud > div h2 span {
display: block;
font-size: 0.875rem;
font-weight: 300;
line-height: 1.25rem;
}
#nx-cloud p {
font-size: 1rem;
line-height: 1.5rem;
margin-top: 1rem;
}
#nx-cloud pre {
margin-top: 1rem;
}
#nx-cloud a {
color: rgba(107, 114, 128, 1);
display: block;
font-size: 0.875rem;
line-height: 1.25rem;
margin-top: 1.5rem;
text-align: right;
}
#nx-cloud a:hover {
text-decoration: underline;
}
#commands {
padding: 2.5rem 2rem;
margin-top: 3.5rem;
}
#commands h2 {
font-size: 1.25rem;
font-weight: 400;
letter-spacing: -0.025em;
line-height: 1.75rem;
padding-left: 1rem;
padding-right: 1rem;
}
#commands p {
font-size: 1rem;
font-weight: 300;
line-height: 1.5rem;
margin-top: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
details {
align-items: center;
display: flex;
margin-top: 1rem;
padding-left: 1rem;
padding-right: 1rem;
width: 100%;
}
details pre > span {
color: rgba(181, 181, 181, 1);
}
summary {
border-radius: 0.5rem;
display: flex;
font-weight: 400;
padding: 0.5rem;
cursor: pointer;
transition-property: background-color, border-color, color, fill, stroke,
opacity, box-shadow, transform, filter, backdrop-filter,
-webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
summary:hover {
background-color: rgba(243, 244, 246, 1);
}
summary svg {
height: 1.5rem;
margin-right: 1rem;
width: 1.5rem;
}
#love {
color: rgba(107, 114, 128, 1);
font-size: 0.875rem;
line-height: 1.25rem;
margin-top: 3.5rem;
opacity: 0.6;
text-align: center;
}
#love svg {
color: rgba(252, 165, 165, 1);
width: 1.25rem;
height: 1.25rem;
display: inline;
margin-top: -0.25rem;
}
@media screen and (min-width: 768px) {
#hero {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
#hero .logo-container {
display: flex;
}
#middle-content {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}

View File

@@ -0,0 +1,21 @@
import { AppElement } from './app.element';
describe('AppElement', () => {
let app: AppElement;
beforeEach(() => {
app = new AppElement();
});
it('should create successfully', () => {
expect(app).toBeTruthy();
});
it('should have a greeting', () => {
app.connectedCallback();
expect(app.querySelector('h1').innerHTML).toContain(
'Welcome @triliumnext/client'
);
});
});

View File

@@ -0,0 +1,409 @@
import './app.element.css';
export class AppElement extends HTMLElement {
public static observedAttributes = [
];
connectedCallback() {
const title = '@triliumnext/client';
this.innerHTML = `
<div class="wrapper">
<div class="container">
<!-- WELCOME -->
<div id="welcome">
<h1>
<span> Hello there, </span>
Welcome ${title} 👋
</h1>
</div>
<!-- HERO -->
<div id="hero" class="rounded">
<div class="text-container">
<h2>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z"
/>
</svg>
<span>You&apos;re up and running</span>
</h2>
<a href="#commands"> What&apos;s next? </a>
</div>
<div class="logo-container">
<svg
fill="currentColor"
role="img"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M11.987 14.138l-3.132 4.923-5.193-8.427-.012 8.822H0V4.544h3.691l5.247 8.833.005-3.998 3.044 4.759zm.601-5.761c.024-.048 0-3.784.008-3.833h-3.65c.002.059-.005 3.776-.003 3.833h3.645zm5.634 4.134a2.061 2.061 0 0 0-1.969 1.336 1.963 1.963 0 0 1 2.343-.739c.396.161.917.422 1.33.283a2.1 2.1 0 0 0-1.704-.88zm3.39 1.061c-.375-.13-.8-.277-1.109-.681-.06-.08-.116-.17-.176-.265a2.143 2.143 0 0 0-.533-.642c-.294-.216-.68-.322-1.18-.322a2.482 2.482 0 0 0-2.294 1.536 2.325 2.325 0 0 1 4.002.388.75.75 0 0 0 .836.334c.493-.105.46.36 1.203.518v-.133c-.003-.446-.246-.55-.75-.733zm2.024 1.266a.723.723 0 0 0 .347-.638c-.01-2.957-2.41-5.487-5.37-5.487a5.364 5.364 0 0 0-4.487 2.418c-.01-.026-1.522-2.39-1.538-2.418H8.943l3.463 5.423-3.379 5.32h3.54l1.54-2.366 1.568 2.366h3.541l-3.21-5.052a.7.7 0 0 1-.084-.32 2.69 2.69 0 0 1 2.69-2.691h.001c1.488 0 1.736.89 2.057 1.308.634.826 1.9.464 1.9 1.541a.707.707 0 0 0 1.066.596zm.35.133c-.173.372-.56.338-.755.639-.176.271.114.412.114.412s.337.156.538-.311c.104-.231.14-.488.103-.74z"
/>
</svg>
</div>
</div>
<!-- MIDDLE CONTENT -->
<div id="middle-content">
<div id="learning-materials" class="rounded shadow">
<h2>Learning materials</h2>
<a href="https://nx.dev/getting-started/intro?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"
/>
</svg>
<span>
Documentation
<span> Everything is in there </span>
</span>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 5l7 7-7 7"
/>
</svg>
</a>
<a href="https://nx.dev/blog/?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"
/>
</svg>
<span>
Blog
<span> Changelog, features & events </span>
</span>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 5l7 7-7 7"
/>
</svg>
</a>
<a href="https://www.youtube.com/@NxDevtools/videos?utm_source=nx-project&sub_confirmation=1" target="_blank" rel="noreferrer" class="list-item-link">
<svg
role="img"
viewBox="0 0 24 24"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<title>YouTube</title>
<path
d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"
/>
</svg>
<span>
YouTube channel
<span> Nx Show, talks & tutorials </span>
</span>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 5l7 7-7 7"
/>
</svg>
</a>
<a href="https://nx.dev/react-tutorial/1-code-generation?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M15 15l-2 5L9 9l11 4-5 2zm0 0l5 5M7.188 2.239l.777 2.897M5.136 7.965l-2.898-.777M13.95 4.05l-2.122 2.122m-5.657 5.656l-2.12 2.122"
/>
</svg>
<span>
Interactive tutorials
<span> Create an app, step-by-step </span>
</span>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 5l7 7-7 7"
/>
</svg>
</a>
<a href="https://nxplaybook.com/?utm_source=nx-project" target="_blank" rel="noreferrer" class="list-item-link">
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M12 14l9-5-9-5-9 5 9 5z" />
<path
d="M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"
/>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"
/>
</svg>
<span>
Video courses
<span> Nx custom courses </span>
</span>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M9 5l7 7-7 7"
/>
</svg>
</a>
</div>
<div id="other-links">
<a id="nx-console" class="button-pill rounded shadow" href="https://marketplace.visualstudio.com/items?itemName=nrwl.angular-console&utm_source=nx-project" target="_blank" rel="noreferrer">
<svg
fill="currentColor"
role="img"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<title>Visual Studio Code</title>
<path
d="M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z"
/>
</svg>
<span>
Install Nx Console for VSCode
<span>The official VSCode extension for Nx.</span>
</span>
</a>
<a
id="nx-console-jetbrains"
class="button-pill rounded shadow"
href="https://plugins.jetbrains.com/plugin/21060-nx-console"
target="_blank"
rel="noreferrer"
>
<svg
height="48"
width="48"
viewBox="20 20 60 60"
xmlns="http://www.w3.org/2000/svg"
>
<path d="m22.5 22.5h60v60h-60z" />
<g fill="#fff">
<path d="m29.03 71.25h22.5v3.75h-22.5z" />
<path d="m28.09 38 1.67-1.58a1.88 1.88 0 0 0 1.47.87c.64 0 1.06-.44 1.06-1.31v-5.98h2.58v6a3.48 3.48 0 0 1 -.87 2.6 3.56 3.56 0 0 1 -2.57.95 3.84 3.84 0 0 1 -3.34-1.55z" />
<path d="m36 30h7.53v2.19h-5v1.44h4.49v2h-4.42v1.49h5v2.21h-7.6z" />
<path d="m47.23 32.29h-2.8v-2.29h8.21v2.27h-2.81v7.1h-2.6z" />
<path d="m29.13 43.08h4.42a3.53 3.53 0 0 1 2.55.83 2.09 2.09 0 0 1 .6 1.53 2.16 2.16 0 0 1 -1.44 2.09 2.27 2.27 0 0 1 1.86 2.29c0 1.61-1.31 2.59-3.55 2.59h-4.44zm5 2.89c0-.52-.42-.8-1.18-.8h-1.29v1.64h1.24c.79 0 1.25-.26 1.25-.81zm-.9 2.66h-1.57v1.73h1.62c.8 0 1.24-.31 1.24-.86 0-.5-.4-.87-1.27-.87z" />
<path d="m38 43.08h4.1a4.19 4.19 0 0 1 3 1 2.93 2.93 0 0 1 .9 2.19 3 3 0 0 1 -1.93 2.89l2.24 3.27h-3l-1.88-2.84h-.87v2.84h-2.56zm4 4.5c.87 0 1.39-.43 1.39-1.11 0-.75-.54-1.12-1.4-1.12h-1.44v2.26z" />
<path d="m49.59 43h2.5l4 9.44h-2.79l-.67-1.69h-3.63l-.67 1.69h-2.71zm2.27 5.73-1-2.65-1.06 2.65z" />
<path d="m56.46 43.05h2.6v9.37h-2.6z" />
<path d="m60.06 43.05h2.42l3.37 5v-5h2.57v9.37h-2.26l-3.53-5.14v5.14h-2.57z" />
<path d="m68.86 51 1.45-1.73a4.84 4.84 0 0 0 3 1.13c.71 0 1.08-.24 1.08-.65 0-.4-.31-.6-1.59-.91-2-.46-3.53-1-3.53-2.93 0-1.74 1.37-3 3.62-3a5.89 5.89 0 0 1 3.86 1.25l-1.26 1.84a4.63 4.63 0 0 0 -2.62-.92c-.63 0-.94.25-.94.6 0 .42.32.61 1.63.91 2.14.46 3.44 1.16 3.44 2.91 0 1.91-1.51 3-3.79 3a6.58 6.58 0 0 1 -4.35-1.5z" />
</g>
</svg>
<span>
Install Nx Console for JetBrains
<span>
Available for WebStorm, Intellij IDEA Ultimate and more!
</span>
</span>
</a>
<div id="nx-cloud" class="rounded shadow">
<div>
<svg id="nx-cloud-logo" role="img" xmlns="http://www.w3.org/2000/svg" stroke="currentColor" fill="transparent" viewBox="0 0 24 24">
<path stroke-width="2" d="M23 3.75V6.5c-3.036 0-5.5 2.464-5.5 5.5s-2.464 5.5-5.5 5.5-5.5 2.464-5.5 5.5H3.75C2.232 23 1 21.768 1 20.25V3.75C1 2.232 2.232 1 3.75 1h16.5C21.768 1 23 2.232 23 3.75Z" />
<path stroke-width="2" d="M23 6v14.1667C23 21.7307 21.7307 23 20.1667 23H6c0-3.128 2.53867-5.6667 5.6667-5.6667 3.128 0 5.6666-2.5386 5.6666-5.6666C17.3333 8.53867 19.872 6 23 6Z" />
</svg>
<h2>
Nx Cloud
<span>
Enable faster CI & better DX
</span>
</h2>
</div>
<p>
You can activate distributed tasks executions and caching by
running:
</p>
<pre>nx connect</pre>
<a href="https://nx.app/?utm_source=nx-project" target="_blank" rel="noreferrer"> What is Nx Cloud? </a>
</div>
<a id="nx-repo" class="button-pill rounded shadow" href="https://github.com/nrwl/nx?utm_source=nx-project" target="_blank" rel="noreferrer">
<svg
fill="currentColor"
role="img"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"
/>
</svg>
<span>
Nx is open source
<span> Love Nx? Give us a star! </span>
</span>
</a>
</div>
</div>
<!-- COMMANDS -->
<div id="commands" class="rounded shadow">
<h2>Next steps</h2>
<p>Here are some things you can do with Nx:</p>
<details>
<summary>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
/>
</svg>
Add UI library
</summary>
<pre><span># Generate UI lib</span>
nx g @nx/angular:lib ui
<span># Add a component</span>
nx g @nx/angular:component ui/src/lib/button</pre>
</details>
<details>
<summary>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
/>
</svg>
View interactive project graph
</summary>
<pre>nx graph</pre>
</details>
<details>
<summary>
<svg
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"
/>
</svg>
Run affected commands
</summary>
<pre><span># see what&apos;s been affected by changes</span>
nx affected:graph
<span># run tests for current changes</span>
nx affected:test
<span># run e2e tests for current changes</span>
nx affected:e2e</pre>
</details>
</div>
<p id="love">
Carefully crafted with
<svg
fill="currentColor"
stroke="none"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
d="M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"
/>
</svg>
</p>
</div>
</div>
`;
}
}
customElements.define('triliumnext-root', AppElement);

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Client</title>
<base href="/" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
</head>
<body>
<triliumnext-root></triliumnext-root>
</body>
</html>

View File

@@ -0,0 +1 @@
import './app/app.element';

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