Elian Doran
b3270ae7c8
chore(server): enable source map for serve
2025-06-12 12:08:45 +07:00
renovate[bot]
bd3f74c17b
chore(deps): update dependency @anthropic-ai/sdk to v0.54.0
2025-06-12 05:53:56 +07:00
Elian Doran
5090b38f9c
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-06-11 22:33:18 +07:00
Elian Doran
57ad6065d8
Merge pull request #2282 from TriliumNext/feat/add-llm-model-unit-tests
...
feat(unit): add unit tests around LLM model names within outgoing req…
2025-06-11 22:10:36 +07:00
Elian Doran
7863a5e09c
chore: disable source maps
2025-06-11 22:03:25 +07:00
Jin
14179f3bd3
docs: ✏️ show MFA in-app help page
2025-06-11 20:52:07 +07:00
Jin
988a2b8d29
docs: ✏️ Add custom OAuth issuer docs
2025-06-11 20:52:07 +07:00
Jon Fuller
6dbdf336aa
Merge branch 'develop' into feat/add-llm-model-unit-tests
2025-06-11 09:41:11 +07:00
perf3ct
e401c8c930
fix(client): also move the logic from the server to the client lol
2025-06-11 14:30:33 +07:00
perf3ct
23ce896681
feat(client): show warning when running through rosetta 2
2025-06-11 14:04:42 +07:00
renovate[bot]
3ddde700fb
chore(deps): update dependency openai to v5.3.0
2025-06-11 08:59:30 +07:00
renovate[bot]
c0b9bb282c
chore(deps): update dependency serve-favicon to v2.5.1
2025-06-11 08:34:14 +07:00
perf3ct
e1e1eb4f51
feat(unit): add unit tests around LLM model names within outgoing requests
2025-06-10 16:27:05 +07:00
Elian Doran
36f0de888e
Merge pull request #2209 from TriliumNext/feat/llm-unit-tests
...
feat(llm): add unit tests
2025-06-10 12:52:29 +07:00
Elian Doran
9d347ecf74
Merge remote-tracking branch 'origin/develop' into feature/share_theme
...
; Conflicts:
; pnpm-lock.yaml
2025-06-10 08:58:20 +07:00
renovate[bot]
12c4ca5f08
chore(deps): update dependency openai to v5.2.0
2025-06-10 01:11:51 +07:00
Elian Doran
8e73c5906d
fix(server): missing boxicons in desktop/mobile
2025-06-09 22:18:44 +07:00
Elian Doran
4216a71a85
fix(server): render share theme on prod
2025-06-09 21:58:56 +07:00
Elian Doran
6667167b26
chore(server): set implicit dependency to share
2025-06-09 21:19:54 +07:00
Elian Doran
f20d4cbed2
refactor(share): translate messages
2025-06-09 21:16:03 +07:00
Elian Doran
0cba323091
feat(share): display icons in note tree
2025-06-09 18:47:02 +07:00
Elian Doran
828da2aabf
refactor(share): relocate 404 template
2025-06-09 16:22:22 +07:00
Elian Doran
a61d76deed
refactor(share): remove old templates
2025-06-09 16:13:11 +07:00
Elian Doran
50777faa02
feat(share): add the Trilium logo by default
2025-06-09 15:10:50 +07:00
Elian Doran
c2e0640ea8
chore(share): fix error in dev mode
2025-06-09 14:29:19 +07:00
Elian Doran
8bdf3626f0
refactor(share): integrate with client
2025-06-09 14:13:35 +07:00
Elian Doran
4fcb186022
chore(share): bring back original share.js
2025-06-09 13:35:14 +07:00
Elian Doran
7451c2701e
chore(share): bring back CSS
2025-06-09 13:33:25 +07:00
Elian Doran
098cd19b18
chore(share): fall back to original EJS rendering mechanism
2025-06-09 13:20:41 +07:00
Elian Doran
d6bb790e26
chore(share): use rendered template (missing include)
2025-06-09 11:12:02 +07:00
renovate[bot]
b779577f9b
chore(deps): update dependency cheerio to v1.1.0
2025-06-09 00:47:05 +07:00
perf3ct
e96fdbf72f
fix(llm): fix logging type check
2025-06-09 00:23:02 +07:00
perf3ct
41906abaf9
feat(route): allow for routes to handle their own response
2025-06-09 00:08:06 +07:00
perf3ct
ca6277f6e9
feat(llm): handle error catching in streaming better
2025-06-09 00:07:00 +07:00
perf3ct
e98fabcc9d
fix(unit): resolve auth error in llm unit test
...
keep working
2025-06-08 23:19:40 +07:00
perf3ct
f5ad5b875e
fix(tests): resolve LLM streaming unit test failures
...
closer to fixing...
closer...
very close to passing...
2025-06-08 23:02:15 +07:00
perf3ct
daa32e4355
Revert "fix(unit): comment out this test for now to see if the rest pass"
...
This reverts commit 95a33ba3c0 .
2025-06-08 22:02:56 +07:00
perf3ct
95a33ba3c0
fix(unit): comment out this test for now to see if the rest pass
2025-06-08 21:54:19 +07:00
perf3ct
b28387bada
feat(llm): decrease the throttle on the chunking tests lol
2025-06-08 21:47:53 +07:00
perf3ct
93cf868dcf
feat(llm): last test should be passing now
2025-06-08 21:38:57 +07:00
perf3ct
224cae6db2
fix(unit): resolve type errors
2025-06-08 21:03:07 +07:00
perf3ct
d60e795421
feat(llm): still working on fixing tests...
2025-06-08 20:39:35 +07:00
perf3ct
c6f2124e9d
feat(llm): add tests for streaming
2025-06-08 20:30:33 +07:00
Elian Doran
fa5cd150d9
fix(share): loading of tree and table of contents
2025-06-08 23:22:59 +07:00
Elian Doran
9469433143
chore(share): basic integration of CSS
2025-06-08 23:12:09 +07:00
Elian Doran
881a015f68
chore(share): integrate root template
2025-06-08 22:57:24 +07:00
perf3ct
c1bcb73337
feat(llm): also improve the llm streaming service, to make it cooperate with unit tests better
2025-06-08 18:40:20 +07:00
perf3ct
40cad2e886
fix(unit): I believe it should pass now?
2025-06-08 18:20:30 +07:00
perf3ct
a8faf5d699
fix(unit): still working on getting the LLM unit tests to pass...
2025-06-08 18:13:27 +07:00
perf3ct
e011c56715
fix(unit): no more type errors hopefully
2025-06-08 16:33:26 +07:00
Jon Fuller
d7abd3a8ed
Merge branch 'develop' into feat/llm-unit-tests
2025-06-08 08:49:08 +07:00
Elian Doran
e87789d92b
Merge pull request #2208 from TriliumNext/fix/llm-chat-save-bug
...
fix(llm): save to the same note that the chat request was sent from
2025-06-08 10:45:58 +07:00
Elian Doran
a95acd5529
Merge pull request #2210 from TriliumNext/renovate/compression-1.x
...
chore(deps): update dependency @types/compression to v1.8.1
2025-06-08 10:45:39 +07:00
renovate[bot]
e3d0a73459
chore(deps): update dependency @types/compression to v1.8.1
2025-06-08 07:43:23 +07:00
Elian Doran
93b5fc2236
Merge pull request #2206 from TriliumNext/fix/llm-embeddings-removal-increment-version
...
fix(server): increment SYNC_VERSION and APP_DB_VERSION for LLM embedd…
2025-06-08 10:42:59 +07:00
Elian Doran
916e855ed0
Merge pull request #2215 from TriliumNext/renovate/multer-1.x
...
chore(deps): update dependency @types/multer to v1.4.13
2025-06-08 10:33:11 +07:00
renovate[bot]
5b154d2544
chore(deps): update dependency @types/multer to v1.4.13
2025-06-08 07:31:57 +07:00
Elian Doran
6734dae956
chore(server): add serve-nodir
2025-06-08 10:29:20 +07:00
Elian Doran
6b844063b6
Merge pull request #2216 from TriliumNext/renovate/serve-static-1.x
...
chore(deps): update dependency @types/serve-static to v1.15.8
2025-06-08 10:28:11 +07:00
Elian Doran
5313ce7843
Merge pull request #2211 from TriliumNext/renovate/cookie-parser-1.x
...
chore(deps): update dependency @types/cookie-parser to v1.4.9
2025-06-08 10:27:33 +07:00
Elian Doran
34fa770748
Merge pull request #2213 from TriliumNext/renovate/express-session-1.x
...
chore(deps): update dependency @types/express-session to v1.18.2
2025-06-08 10:26:58 +07:00
renovate[bot]
858801502d
chore(deps): update dependency @types/serve-static to v1.15.8
2025-06-08 01:58:09 +07:00
renovate[bot]
f83d33754e
chore(deps): update dependency @types/mime-types to v3.0.1
2025-06-08 01:56:48 +07:00
renovate[bot]
a3c655ffc5
chore(deps): update dependency @types/express-session to v1.18.2
2025-06-08 01:55:20 +07:00
renovate[bot]
cf9f59304c
chore(deps): update dependency @types/cookie-parser to v1.4.9
2025-06-08 01:53:26 +07:00
perf3ct
c6062f453a
fix(llm): changing providers works now
2025-06-07 23:57:35 +07:00
perf3ct
414781936b
fix(llm): always fetch the user's selected model
2025-06-07 23:36:53 +07:00
perf3ct
0ce5307c0b
fix(llm): well this has been using the wrong value the whole time
2025-06-07 23:16:44 +07:00
perf3ct
d8bbece02a
feat(e2e): llm tests mostly pass
2025-06-07 23:07:54 +07:00
perf3ct
bb483558b0
feat(llm): add e2e tests for llm
2025-06-07 22:41:55 +07:00
perf3ct
b6b88dff86
fix(server): increment SYNC_VERSION and APP_DB_VERSION for LLM embeddings removal
2025-06-07 21:13:02 +07:00
perf3ct
7f9ad04b57
feat(llm): create unit tests for LLM services
2025-06-07 21:03:54 +07:00
Elian Doran
ebb1654d0e
Merge pull request #2205 from TriliumNext/feat/llm-remove-embeddings
...
Remove Embeddings from LLM feature
2025-06-07 22:54:05 +07:00
perf3ct
ff37050470
fix(llm): delete provider_manager for embeddings too
2025-06-07 19:33:19 +07:00
perf3ct
b0d804da08
fix(llm): remove the vectorSearch stage from the pipeline
2025-06-07 18:57:08 +07:00
perf3ct
4550c12c6e
feat(llm): remove everything to do with embeddings, part 3
2025-06-07 18:30:46 +07:00
perf3ct
44a2e7df21
feat(llm): remove everything to do with embeddings, part 2
2025-06-07 18:20:06 +07:00
Elian Doran
bed3c61142
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-06-07 21:15:38 +07:00
perf3ct
44a45780b7
feat(llm): remove everything to do with embeddings
2025-06-07 18:11:12 +07:00
Elian Doran
7281233012
chore(build): enable source maps
2025-06-07 20:12:13 +07:00
Elian Doran
4def18e882
fix(desktop): query parameters not working
2025-06-07 18:46:29 +07:00
Elian Doran
03024ef7a9
chore(desktop): bypass query error
2025-06-07 15:59:17 +07:00
Elian Doran
9907f7f60f
fix(desktop): CLS failing due to lack of listeners
2025-06-07 15:45:56 +07:00
Elian Doran
ebeabe2b54
fix(desktop): adapt request mocking to express 5
2025-06-07 14:58:07 +07:00
Panagiotis Papadopoulos
0bc91349f6
refactor(routes/custom): update path "/custom/*path" for express v5
2025-06-07 14:21:37 +07:00
Panagiotis Papadopoulos
23297c9860
fix(routes): remove unused wildcard in apiRoute "/api/options/:name/:value*"
...
the updateOption function that handles the req.param is just destructuring `const { name, value } = req.params;` and does nothing else with the path or any params.
The remaining parts of the wildcard (which can be accessed via req.param[0]) are just ignored here.
even with express v4, this would *always* just take and process the very first part of the path, in the exact wildcard's place, e.g.
`/api/options/locale/de` and
`/api/options/locale/de/test/whatever`
would *both* end up destructuring "value" from req.param as "de" (because it is in the exact place of the 'value' wildcard)
in express v5 the wildcard behaviour changes -> here req.param.value would return an array with the paths split into separate string.
but since the code previously regarded only the first part of the path -> we can just get rid of the wildcard and use a named route param
the only thing to keep in mind: if a request with more than one "value" is received, (e.g. `/api/options/locale/de/test/whatever`) -> since we don't have the wildcard anymore -> this will turn to a 404.
IMHO that is actually desirable here though
2025-06-07 14:21:35 +07:00
renovate[bot]
086bd10f84
fix(deps): update dependency express to v5
2025-06-07 11:15:22 +07:00
Jin
bffb47645c
fix: 🐛 fix SSO icon loading
2025-06-07 12:10:41 +07:00
Jin
4cafd83c25
feat: 🎸 set SSO login page ui
2025-06-07 12:10:41 +07:00
Jin
db3bf4c12c
feat: 🎸 set SSO login logic
2025-06-07 12:10:41 +07:00
Jin
fa44a5343b
feat: 🎸 support custon oidc server
2025-06-07 12:10:41 +07:00
Elian Doran
c8b3cdf01b
feat(ci): introduce RelativeCI for the client
2025-06-07 13:02:37 +07:00
Elian Doran
408dcf7713
chore(release): prepare for v0.94.1
2025-06-07 12:46:18 +07:00
Elian Doran
4fd99e1728
docs(user): describe session management
2025-06-07 12:38:06 +07:00
Elian Doran
7a04c8a7fd
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
2025-06-07 12:04:16 +07:00
Elian Doran
68631150af
chore(test): adjust timeout
2025-06-07 12:04:14 +07:00
Elian Doran
9ead5abc62
Merge pull request #2181 from TriliumNext/feat/llm-change-to-single-provider
...
LLM integration, part 4
2025-06-07 11:38:30 +07:00
Elian Doran
a7f4bcda8f
fix(test): wrong assertion after changing expiration interval
2025-06-07 11:38:18 +07:00
Elian Doran
68163f90d1
fix(server): keep session cookies up to to 24h ( closes #2196 )
2025-06-07 11:28:30 +07:00
Elian Doran
dc35ad9ace
fix(server): type errors due to session management
2025-06-07 11:27:07 +07:00