Elian Doran
475c3bdde8
chore(docs): add rewritten links for navigation ( closes #1643 )
2025-04-09 15:57:19 +03:00
Elian Doran
a88a92d490
feat(edit-docs): rewrite links to allow navigation in help
2025-04-09 15:48:03 +03:00
Elian Doran
652fc48a86
chore(docs): sync
2025-04-09 15:13:10 +03:00
Elian Doran
f7fbda1b00
fix(docs): import errors due to file case errors
2025-04-09 14:46:21 +03:00
Elian Doran
27ad451bd8
feat(electron): support transparency on Linux if background effects are enabled
2025-04-09 14:10:11 +03:00
Elian Doran
c603efb44b
Merge pull request #1655 from TriliumNext/type_sql-transactional
...
types: use type variable for sql.transactional's return value
2025-04-09 12:07:57 +03:00
JYC333
34d401574c
Merge pull request #1650 from TriliumNext/eslint
...
Use eslint simple-import-sort plugin to enable auto fix
2025-04-09 16:49:27 +08:00
Panagiotis Papadopoulos
6d74f6c1c4
chore(deps): run npm audit fix
...
fixes
vite 6.2.0 - 6.2.4
Severity: moderate
Vite allows server.fs.deny to be bypassed with .svg or relative paths - https://github.com/advisories/GHSA-xcj6-pq6g-qj4x
2025-04-09 09:52:01 +02:00
Panagiotis Papadopoulos
c494cca229
Merge branch 'develop' into type_sql-transactional
2025-04-09 09:44:47 +02:00
Panagiotis Papadopoulos
da649d75c0
refactor(routes/api/recovery_codes): use Array.from with mapFn in generateRecoveryCodes
...
gives us the identical result as before, but a lot more concise and "DRY"
2025-04-09 09:43:38 +02:00
Panagiotis Papadopoulos
68ea84a2cb
refactor(routes/api/recovery_codes): use .map instead of .forEach
...
it doesn't make sense to use a forEach here, when all we do is push values into an array => just use .map directly as it returns an array
2025-04-09 09:24:28 +02:00
Panagiotis Papadopoulos
05917fd815
fix(routes/api/recovery_codes): convert number into string
...
fixes type error, as usedStatus is expecting string[] and "indexOf" returns a number
2025-04-09 09:21:20 +02:00
Panagiotis Papadopoulos
eae68064e5
types(recovery_codes): use sql.transactional Generics to simplify typings
2025-04-09 08:41:55 +02:00
Panagiotis Papadopoulos
af85ef0b47
types(services/sql): explicitly cast return value as type variable T instead of any
...
previously the type variable was useless, because
`const ret = (dbConnection.transaction(func) as any).deferred();` was inferred as "any".
2025-04-09 08:34:42 +02:00
Panagiotis Papadopoulos
80dd925231
chore(lint): fix minor lint issues in recovery_codes
...
/home/pano/Programming/0_repos/TriliumNextNotes/src/services/encryption/recovery_codes.ts
2:1 error Imports should be sorted alphabetically sort-imports
3:1 error Imports should be sorted alphabetically sort-imports
13:9 error 'encryptedRecoveryCodes' is never reassigned. Use 'const' instead prefer-const
57:5 error Unexpected var, use let or const instead no-var
2025-04-09 08:19:20 +02:00
perf3ct
208267edb8
increase context window size
2025-04-09 01:24:43 +00:00
perf3ct
c95b9f798c
recursive thinking?
2025-04-09 01:24:32 +00:00
perf3ct
39f979ea8c
sheeeesh
2025-04-09 00:42:15 +00:00
perf3ct
e523d88d23
did I really need to specify the context window size in API requests this whole time?
2025-04-08 23:55:04 +00:00
Panagiotis Papadopoulos
4ea82bb50b
Merge branch 'develop' into deps_express5
2025-04-09 00:21:17 +02:00
Panagiotis Papadopoulos
26d5462af4
refactor(routes/custom): update path "/custom/*path" for express v5
2025-04-09 00:17:30 +02:00
perf3ct
7373249dee
well this works for tool calling the "readNote" func
2025-04-08 22:08:52 +00:00
perf3ct
683d1a5481
I think we're close to getting tooling to work
...
close?
2025-04-08 22:02:54 +00:00
Panagiotis Papadopoulos
8d09ff4299
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-04-08 23:50:53 +02:00
Elian Doran
43c2818299
fix(calendar_view): promoted attributes overlap
2025-04-08 23:38:04 +03:00
Elian Doran
05a006faca
fix(calendar_view): add back note icon
2025-04-08 23:33:57 +03:00
Elian Doran
b1c8e625b2
fix(calendar_view): display hours in calendar view
2025-04-08 23:28:27 +03:00
perf3ct
cdd4529828
add even more tools
2025-04-08 20:00:49 +00:00
Elian Doran
eea141225d
refactor(calendar): dedicated method for building event content
2025-04-08 22:48:57 +03:00
perf3ct
61eaf46a04
definitely don't need this
2025-04-08 19:15:11 +00:00
perf3ct
c716481ef8
resolve linter errors
2025-04-08 19:15:11 +00:00
perf3ct
2d745c12c8
wow, this actually does something
2025-04-08 19:15:11 +00:00
perf3ct
b8a6da6d52
rename these "agent tools"
2025-04-08 19:15:11 +00:00
perf3ct
7725b924e9
add some more useful tools
...
CLOSER....
works?
2025-04-08 19:15:11 +00:00
perf3ct
26b1b08129
tool calling is close to working
...
getting closer to calling tools...
we definitely need this
closer to tool execution...
agentic tool calling is...kind of working?
2025-04-08 19:15:01 +00:00
Elian Doran
0b0d212854
feat(docs): document recent changes
2025-04-08 21:53:31 +03:00
Elian Doran
5b34e8a327
feat(docs): document advanced options in context menu
2025-04-08 21:44:22 +03:00
Elian Doran
5eb8e478b7
feat(docs): document the note tree contextual menu
2025-04-08 20:06:55 +03:00
Elian Doran
584fa67074
fix(bulk_actions): clarify actions taken by "Update relation target"
2025-04-08 19:38:19 +03:00
Elian Doran
2b56c2acbe
feat(docs): document bulk actions
2025-04-08 19:35:13 +03:00
Elian Doran
8949f68b81
fix(server): duplicating note subtree escapes special characters
2025-04-08 18:09:02 +03:00
Jin
08ae71e70f
chore: 🤖 use simple-import-sort plugin
...
Use simple-import-sort plugin to enable auto-fix import sort
2025-04-08 14:09:37 +02:00
Jin
f346c40b7c
fix: 🐛 fix crash when no calendarRoot
2025-04-08 14:00:42 +02:00
Elian Doran
0eec8042ca
fix(new_tab): workspace switcher no longer displayed
...
Regression of 7f1eb9912708e915eb6048ddb1cd3cfd895d5543
2025-04-08 12:46:58 +03:00
Elian Doran
3a1f1ceedb
fix(export/markdown): double slashes breaking math expressions ( closes #1649 )
2025-04-08 12:06:46 +03:00
Elian Doran
d03ee26408
fix(editor): random crashes due to lacking null safety in syntax highlight
2025-04-08 09:06:27 +03:00
Elian Doran
8b7f16d49b
fix(editor): syntax highlighting not working in nested elements ( closes #1609 , closes #843 )
2025-04-07 23:51:56 +03:00
Elian Doran
7f1eb99127
fix(client): build error and simplify doRefresh in type widgets
2025-04-07 22:50:38 +03:00
Elian Doran
c74f51472e
fix(options): "Override theme fonts" not reflecting immediately
2025-04-07 22:34:47 +03:00
Elian Doran
d33162785e
fix(client): right-shift on non-standard themes ( closes #1646 )
2025-04-07 17:55:35 +03:00