164 Commits

Author SHA1 Message Date
Elian Doran
4b86fedce1
Merge remote-tracking branch 'origin/main' into feature/table_view
; Conflicts:
;	pnpm-lock.yaml
2025-07-04 21:47:26 +03:00
Elian Doran
63520c55b3
Merge branch 'main' into feat/note-map-filter 2025-07-02 23:37:56 +03:00
Elian Doran
e155642ce4
Merge remote-tracking branch 'origin/main' into feature/table_view 2025-07-01 11:55:45 +03:00
Elian Doran
1f022aea4e
chore(rebrand): update GitHub repo in source files 2025-06-30 20:39:29 +03:00
Elian Doran
0fb0be4ffc
feat(views/table): actually add attributes 2025-06-27 22:43:29 +03:00
Kieran
9d99da14e1
feat(map): add mapIncludeRelation and mapExcludeRelation to include only or exclude specific relation types 2025-06-27 20:15:59 +01:00
Elian Doran
b7f5c0e07a
feat(mention): disable auto-completion 2025-06-23 23:20:51 +03:00
Elian Doran
3988bb5321
feat(emoji): disable auto-completion only 2025-06-23 22:40:57 +03:00
Elian Doran
ba94616b87
feat(emoji): add an option to disable them (closes #5852) 2025-06-23 22:10:41 +03:00
perf3ct
acd68817e9
feat(server): fix lint type errors for normalizing server URLs 2025-06-18 20:46:11 +00:00
perf3ct
0fe89115d1
feat(server): lint for trailing slashes in sync URL and extra slashes in customRequestHandler 2025-06-17 19:37:40 +00:00
Elian Doran
2d5754c005
refactor(client,server): remove redundant libraries directory 2025-06-15 11:56:50 +03:00
Elian Doran
9713864bb6
refactor(cpu_dialog): more mentions of rosetta 2025-06-12 22:53:15 +03:00
Elian Doran
c6c59c63bb
feat(cpu_dialog): add actual Windows CPU detection 2025-06-12 22:49:31 +03:00
Elian Doran
a635131f47
style(cpu_dialog): use modal-footer 2025-06-12 22:23:37 +03:00
Elian Doran
8edbbe27f8
refactor(client,server): rebrand to CPU arch warnings 2025-06-12 22:16:57 +03:00
Elian Doran
db3c008c07
fix(server): headers sent twice 2025-06-12 22:07:50 +03:00
Elian Doran
f6bba436f4
Revert "fix(client): also move the logic from the server to the client lol"
This reverts commit e401c8c930c8160f5acd83cfff3b97aef3ca152a.
2025-06-12 21:46:27 +03:00
Elian Doran
59296f3045
fix(server): crashes due to req.body being undefined 2025-06-12 15:01:35 +03:00
perf3ct
41906abaf9
feat(route): allow for routes to handle their own response 2025-06-09 00:08:06 +00:00
perf3ct
ca6277f6e9
feat(llm): handle error catching in streaming better 2025-06-09 00:07:00 +00:00
perf3ct
e98fabcc9d
fix(unit): resolve auth error in llm unit test
keep working
2025-06-08 23:19:40 +00: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 +00:00
perf3ct
224cae6db2
fix(unit): resolve type errors 2025-06-08 21:03:07 +00:00
perf3ct
c6f2124e9d
feat(llm): add tests for streaming 2025-06-08 20:30:33 +00: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 +00:00
perf3ct
0ce5307c0b
fix(llm): well this has been using the wrong value the whole time 2025-06-07 23:16:44 +00:00
perf3ct
d8bbece02a
feat(e2e): llm tests mostly pass 2025-06-07 23:07:54 +00:00
perf3ct
bb483558b0
feat(llm): add e2e tests for llm 2025-06-07 22:41:55 +00: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 +03:00
perf3ct
4550c12c6e
feat(llm): remove everything to do with embeddings, part 3 2025-06-07 18:30:46 +00:00
perf3ct
44a2e7df21
feat(llm): remove everything to do with embeddings, part 2 2025-06-07 18:20:06 +00:00
perf3ct
44a45780b7
feat(llm): remove everything to do with embeddings 2025-06-07 18:11:12 +00: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
Jin
db3bf4c12c feat: 🎸 set SSO login logic 2025-06-07 12:10:41 +02: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
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
68163f90d1
fix(server): keep session cookies up to to 24h (closes #2196) 2025-06-07 11:28:30 +03:00
Elian Doran
244a162e42
feat(server): renew session when "Remember me" is off 2025-06-07 11:12:36 +03: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