16794 Commits

Author SHA1 Message Date
perf3ct
44a45780b7
feat(llm): remove everything to do with embeddings 2025-06-07 18:11:12 +00:00
Elian Doran
cedf6cc631
Merge pull request #1888 from TriliumNext/renovate/express-5.x
fix(deps): update dependency express to v5
2025-06-07 20:17:10 +03:00
Elian Doran
7281233012
chore(build): enable source maps 2025-06-07 20:12:13 +03:00
Elian Doran
4def18e882
fix(desktop): query parameters not working 2025-06-07 18:46:29 +03:00
Elian Doran
03024ef7a9
chore(desktop): bypass query error 2025-06-07 15:59:17 +03:00
Elian Doran
9907f7f60f
fix(desktop): CLS failing due to lack of listeners 2025-06-07 15:45:56 +03:00
Elian Doran
ebeabe2b54
fix(desktop): adapt request mocking to express 5 2025-06-07 14:58:07 +03:00
Panagiotis Papadopoulos
0bc91349f6
refactor(routes/custom): update path "/custom/*path" for express v5 2025-06-07 14:21:37 +03: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 +03:00
renovate[bot]
086bd10f84
fix(deps): update dependency express to v5 2025-06-07 11:15:22 +00:00
Elian Doran
70cdc100d9
Merge pull request #2198 from TriliumNext/oidc
Support custom oidc server
2025-06-07 14:13:14 +03:00
Elian Doran
17c2ae1177
Merge pull request #2177 from TriliumNext/tab-row-scroll
fix(tab-row): ensure similar behavior between horizontal/vertical scrolling
2025-06-07 14:05:03 +03:00
Elian Doran
497a851ebe
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 13:52:00 +03:00
Elian Doran
9a48547232
Merge pull request #2194 from TriliumNext/renovate/eslint-config-ckeditor5-11.x-lockfile
chore(deps): update dependency eslint-config-ckeditor5 to v11
2025-06-07 13:42:36 +03:00
Elian Doran
97dfd454b8
Merge pull request #2195 from TriliumNext/renovate/stylelint-config-ckeditor5-11.x-lockfile
chore(deps): update dependency stylelint-config-ckeditor5 to v11
2025-06-07 13:42:14 +03:00
Elian Doran
2d8317887d
chore(release): fix setting as prerelease 2025-06-07 13:35:29 +03:00
Elian Doran
5dc4f0eae6
docs(readme): add badge to relative CI for client 2025-06-07 13:30:21 +03:00
JYC333
8849d482b0
Merge pull request #2193 from TriliumNext/renovate/vitest-monorepo
chore(deps): update vitest monorepo to v3.2.2
2025-06-07 12:15:23 +02:00
Jin
bffb47645c fix: 🐛 fix SSO icon loading 2025-06-07 12:10:41 +02:00
Jin
4cafd83c25 feat: 🎸 set SSO login page ui 2025-06-07 12:10:41 +02:00
Jin
db3bf4c12c feat: 🎸 set SSO login logic 2025-06-07 12:10:41 +02:00
Jin
fa44a5343b feat: 🎸 support custon oidc server 2025-06-07 12:10:41 +02:00
renovate[bot]
e5cc58b4e2
chore(deps): update dependency stylelint-config-ckeditor5 to v11 2025-06-07 10:06:51 +00:00
renovate[bot]
dbaee4d29b
chore(deps): update dependency eslint-config-ckeditor5 to v11 2025-06-07 10:06:01 +00:00
renovate[bot]
a6d1fd3d9f
chore(deps): update vitest monorepo to v3.2.2 2025-06-07 10:05:13 +00:00
Elian Doran
c8b3cdf01b
feat(ci): introduce RelativeCI for the client 2025-06-07 13:02:37 +03:00
Elian Doran
5a53fbbb01
chore(ci): get rid of size reporters 2025-06-07 12:52:33 +03:00
Elian Doran
408dcf7713
chore(release): prepare for v0.94.1 v0.94.1 2025-06-07 12:46:18 +03:00
Elian Doran
7cbff47078
docs(release): mention rebranding process 2025-06-07 12:45:07 +03:00
Elian Doran
d20386f8da
chore(release): add changelog 2025-06-07 12:38:06 +03:00
Elian Doran
4fd99e1728
docs(user): describe session management 2025-06-07 12:38:06 +03:00
Elian Doran
af698550fd
Merge pull request #2197 from TriliumNext/ck_patch
fix(ckeditor5): scroll to selection after undo/redo to keep cursor in view
2025-06-07 12:15:02 +03:00
Elian Doran
e50f5ce139
Merge branch 'develop' into ck_patch 2025-06-07 12:11:23 +03:00
Elian Doran
7a04c8a7fd
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 12:04:16 +03:00
Elian Doran
68631150af
chore(test): adjust timeout 2025-06-07 12:04:14 +03:00
SiriusXT
9dd7f75ec0 fix(ckeditor5): scroll to selection after undo/redo to keep cursor in view 2025-06-07 16:51:10 +08:00
SiriusXT
e70b0d47c9 chore: fix incorrect comment in date/time 2025-06-07 16:49:10 +08: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 +03:00
Elian Doran
a7f4bcda8f
fix(test): wrong assertion after changing expiration interval 2025-06-07 11:38:18 +03:00
Elian Doran
5c87bab5a7
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-06-07 11:28:32 +03:00
Elian Doran
68163f90d1
fix(server): keep session cookies up to to 24h (closes #2196) 2025-06-07 11:28:30 +03:00
Elian Doran
dc35ad9ace
fix(server): type errors due to session management 2025-06-07 11:27:07 +03:00
Elian Doran
244a162e42
feat(server): renew session when "Remember me" is off 2025-06-07 11:12:36 +03:00
JYC333
27b54fd7a4
Merge pull request #2192 from TriliumNext/renovate/nx-monorepo
chore(deps): update nx monorepo to v21.1.3
2025-06-07 10:10:07 +02:00
Elian Doran
f8ded7b171
test(server): sessions are cleaned up 2025-06-07 10:47:02 +03:00
Elian Doran
3cf35f9e0c
refactor(test): group login tests 2025-06-07 10:33:02 +03:00
Elian Doran
8516df8f9b
test(server): ensure session expiry date is well set 2025-06-07 10:10:04 +03:00
Elian Doran
e003ec3b6f
test(server): ensure session info exists 2025-06-07 10:03:53 +03:00
Elian Doran
2ceab66b98
refactor(server): augment session data instead of replacing it at request level 2025-06-07 09:55:19 +03:00
perf3ct
6fdd0d021c
fix(llm): don't show embedding models in the chat section 2025-06-07 04:23:18 +00:00