Elian Doran
5daed43c0f
Merge branch 'develop' into ai-llm-integration
2025-04-06 18:07:39 +03:00
Panagiotis Papadopoulos
3f0dbb9063
chore: fix typo in verifyRecoveryCode function name
2025-04-02 21:41:48 +02:00
perf3ct
7ae55de8b1
move the embeddings api endpoint to underneath llm
2025-04-01 18:44:10 +00: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
SiriusXT
adcb803caa
To prevent search lag when there are a large number of notes
2025-04-01 21:07:15 +08:00
SiriusXT
a7799d32b0
To prevent search lag when there are a large number of notes
2025-04-01 18:47:07 +08:00
perf3ct
435e7cdd4f
Merge branch 'develop' into ai-llm-integration
2025-03-31 15:55:41 +00:00
Jin
0871d16fbc
feat: 🎸 remove conflict code
2025-03-22 12:41:22 +01:00
Jin
8df1e3263b
Merge branch 'develop' into feature/MFA
2025-03-22 12:35:00 +01: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
eaa947ef7c
"rebuild index" functionality for users
2025-03-12 00:08:39 +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
f47b070f0f
I think this works to handle failed embeddings
2025-03-11 20:22:01 +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
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
adaac46fbf
I'm 100% going to have to destroy this commit later
2025-03-09 02:19:26 +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
d3013c925e
add additional options for ollama embeddings
2025-03-08 22:23:50 +00:00
perf3ct
1361e4d438
set up embedding API endpoints
2025-03-08 22:04:10 +00:00
Panagiotis Papadopoulos
c120132cbb
Merge branch 'develop' into chore_eslint-fixes_src-routes
2025-03-08 17:15:53 +01:00
Panagiotis Papadopoulos
ecf1a0e4ad
refactor(utils): add safeExtractMessageAndStackFromError util to remove code duplication
2025-03-08 17:07:25 +01:00
Panagiotis Papadopoulos
e3d0c53d03
chore(routes): fix no-explicit-any lint/ts error for catch blocks
2025-03-08 16:03:30 +01:00
Panagiotis Papadopoulos
d8ce385134
refactor(routes): refactor handleException and get rid of "any" type
2025-03-07 22:27:13 +01:00
Elian Doran
00e576b052
Revert "Merge pull request #1234 from TriliumNext/feature/task_list"
...
This reverts commit 58a8821c229898c45551da16476d44c010c345ef, reversing
changes made to 50d491b432ce811c4d5e597e952eb18a89ae6c19.
2025-03-06 23:52:01 +02:00
Elian Doran
fcd7b986aa
feat(tasks): make due date editable
2025-02-25 18:36:46 +02:00
Elian Doran
c0d3e8d834
feat(tasks): filter by parent note
2025-02-19 22:13:13 +02:00
Elian Doran
7c0b43db85
feat(tasks): mark tasks as completed
2025-02-19 19:22:38 +02:00
Elian Doran
17f9fa7e89
feat(tasks): add POST API
2025-02-18 19:30:02 +02:00
Elian Doran
98dff61305
feat(tasks): add GET API
2025-02-18 19:06:02 +02:00
perf3ct
18f5f1b759
add Swagger UI endpoint and add to router
2025-02-09 21:15:12 +00:00
Panagiotis Papadopoulos
ca2bb94200
refactor(server/utils): isElectron - replace fn with boolean
...
this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:55:53 +01:00
Panagiotis Papadopoulos
e3d89ce2a5
refactor(csrf): move csrf to own file
2025-01-16 20:14:23 +01:00
Panagiotis Papadopoulos
ea621ef8e1
chore(prettier): fix code style
2025-01-12 13:30:02 +01:00
Panagiotis Papadopoulos
d20a3bab2a
fix(csrfMiddleware): use sessionSecret instead
...
since `cookie-parser` is not configured with a secret,
req.secret is not set and hence is `undefined`,
which then is used as literal 'undefined' in the hashing function – making it less secure.
Instead we can use the existing sessionSecret:
the `csrf-csrf` developer confirmed in their Discord chat,
that it would be ok to use the same secret here.
2025-01-12 10:22:05 +01:00
Panagiotis Papadopoulos
b787610717
refactor: replace csurf with csrf-csrf
...
I've kept the identical same settings as before –
however they are not *ideal* from what I read.
More secure settings will need to be tested a bit more thoroughly first and will be a separate PR.
2025-01-12 10:22:05 +01:00
Elian Doran
4cbb529fd4
chore(prettier): fix all files
2025-01-09 18:07:02 +02:00
Elian Doran
2eb4d4fb66
Merge remote-tracking branch 'origin/develop' into feature/MFA
2024-12-24 13:30:37 +02:00
Elian Doran
f96a3ce32e
fix(server): HTTP streaming notes with unicode names ( closes #757 )
2024-12-13 22:05:05 +02:00
Elian Doran
5190b28d3c
chore(types): adapt to new express type definitions
2024-12-10 22:35:23 +02:00
Elian Doran
e65d4cdfbf
client: Rename endpoint to codeblock-themes
2024-10-27 21:40:22 +02:00
Elian Doran
7354fb5b4a
client,server: List syntax highlighting themes
2024-10-27 12:41:53 +02:00
chesspro13
9dd185e37e
Removed unused files/code/imports/comments.
2024-09-07 14:25:48 -07:00
chesspro13
df3cbf85e1
Removed references to disconnecting OpenID Accounts. For now.
2024-09-07 14:12:27 -07:00
chesspro13
c74da18e23
OAuth working
2024-09-07 13:18:47 -07:00