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
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
SiriusXT
898afb7ed7
Add revision number limit
2024-09-04 08:41:17 +00:00
Elian Doran
317505484e
integration-test: Set up system for resetting in-memory DB
2024-08-15 00:06:37 +03:00
Elian Doran
51afb63e25
server: Add endpoint to get list of locales
2024-08-11 07:36:09 +03:00
Elian Doran
212d61c1d2
server: Fix missing .js import for route-interface
2024-07-24 20:23:05 +03:00
Elian Doran
1dc894e279
server-esm: Fix the remaining compilation errors
2024-07-18 21:56:20 +03:00
Elian Doran
55eecb0f61
server-esm: Change export object to export default object
2024-07-18 21:42:44 +03:00
Elian Doran
2750df04a3
server-esm: Change simple library import statements
2024-07-18 21:37:45 +03:00
Elian Doran
35d11cc0d2
server-esm: Change simple local import statements
2024-07-18 21:35:17 +03:00
Elian Doran
8fb67c9766
server-esm: Normalize quotes in require imports
2024-07-18 21:28:51 +03:00
Elian Doran
0d700d6951
server-ts: Address review
2024-04-17 23:00:02 +03:00
Elian Doran
dededcd303
server-ts: Port routes/routes
2024-04-11 23:00:24 +03:00