Elian Doran
0f28bbb1be
feat(server): use custom temporary directory within trilium-data
2025-03-15 10:11:54 +02:00
Elian Doran
cf76358dd7
fix(canvas): font loading
2025-03-11 23:03:34 +02:00
Elian Doran
e129e0369d
server(attachments): render empty SVGs properly ( closes #1378 )
2025-03-09 22:23:01 +02: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
e20b662ea7
chore(routes): fix no-explicit-any lint/ts error for restoreRevision
2025-03-08 16:12:37 +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
272d7cd652
chore(routes/api/clipper): fix prefer-const lint errors
2025-03-08 15:31:12 +01:00
Panagiotis Papadopoulos
dd9e1e69d7
fix(routes/api/clipper): fix typo in error message
2025-03-08 15:27:39 +01:00
Panagiotis Papadopoulos
08a6053c38
refactor(routes/api/clipper): get rid of second htmlSanitizer call for pageUrl
...
-> the value is already sanitized in line 112, there's no need to call htmlSanitizer a second time here
2025-03-08 15:27:04 +01:00
SiriusXT
e2c317f59c
Add themes that can be base
2025-03-08 14:58:19 +08:00
Panagiotis Papadopoulos
91c37fa235
chore(routes/electron): disable lint rule for specific line
...
in this case using "{}" allows all primitive values, which seems to be what is required here.
so let's disable the rule "@typescript-eslint/no-empty-object-type" for this line
2025-03-08 00:54:29 +01:00
Panagiotis Papadopoulos
b56ff558a4
refactor(routes/api/import): get rid of "any" type in catch blocks
2025-03-08 00:39:01 +01:00
Panagiotis Papadopoulos
07fd5327b1
refactor(routes/custom): get rid of "any" type catch blocks
2025-03-08 00:22:12 +01:00
Panagiotis Papadopoulos
4b6972fb21
refactor(error_handlers): get rid of "any" type in csrf error handler
2025-03-08 00:15:46 +01:00
Panagiotis Papadopoulos
76574f0938
refactor(error_handlers): use HttpError classes in errorHandler
...
also gets rid of "any" type :-)
2025-03-08 00:14:24 +01:00
Panagiotis Papadopoulos
0c8df7f885
refactor(error_handlers): use newly added ForbiddenError class
2025-03-07 23:30:12 +01:00
Panagiotis Papadopoulos
39d45dc11b
refactor(error_handlers): use existing NotFoundError class
...
also gets rid of "any" type :-)
2025-03-07 22:31:55 +01:00
Panagiotis Papadopoulos
d8ce385134
refactor(routes): refactor handleException and get rid of "any" type
2025-03-07 22:27:13 +01:00
Panagiotis Papadopoulos
04f3b637f9
chore(lint): fix no-explicit-any in export.ts
2025-03-06 23:32:05 +01:00
Panagiotis Papadopoulos
7feb38ffa1
chore(lint): fix no-unused-vars errors
2025-03-06 23:21:47 +01:00
Panagiotis Papadopoulos
c8e36942fc
chore(lint): get rid of "any" in attachments
...
req.file is of type "Express.Multer.File | undefined".
Returning with an "uploaded: false" type object -> same handling as in
image.ts
2025-03-06 23:09:24 +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
Panagiotis Papadopoulos
dfb8982a99
chore(lint): improve type and get rid of "any"
2025-03-06 22:44:54 +01:00
Elian Doran
1976fe6729
Merge remote-tracking branch 'origin/develop' into feature/rtl
...
; Conflicts:
; src/public/app/widgets/floating_buttons/help_button.ts
2025-03-05 21:57:53 +02:00
Panagiotis Papadopoulos
0f0e55deb2
chore(lint): fix lint issues in src/routes
2025-03-05 18:09:44 +01:00
Elian Doran
e7d2be4663
feat(options/language): store list of languages
2025-03-02 21:58:40 +02:00
Panagiotis Papadopoulos
2beaaa95bf
chore(prettier): fix code style
2025-03-02 20:47:57 +01:00
Panagiotis Papadopoulos
f3148bf478
build: let webpack bundle i18next
2025-02-28 08:26:48 +01:00
Panagiotis Papadopoulos
559517ace1
build: let webpack bundle split.js
2025-02-27 23:00:44 +01:00
Panagiotis Papadopoulos
49a2eb0ccf
build: let webpack bundle dayjs
2025-02-27 22:44:18 +01:00
Panagiotis Papadopoulos
1a0c35f43d
refactor(routes/login): use "shorter" syntax for passing to ejs render
2025-02-26 08:50:36 +01:00
Panagiotis Papadopoulos
0aa1d602a1
fix(routes/login): add missing "appPath" to ejs render
2025-02-26 08:45:35 +01:00
Elian Doran
fcd7b986aa
feat(tasks): make due date editable
2025-02-25 18:36:46 +02:00
Elian Doran
2ab22e7b0e
fix(client): type errors due to command change
2025-02-24 12:39:40 +02:00
Elian Doran
f6224d9ec4
Merge pull request #1168 from TriliumNext/chore_bootstrap-ts-ignore
...
build: bundle bootstrap with webpack
2025-02-22 14:57:47 +02:00
Elian Doran
58a8821c22
Merge pull request #1234 from TriliumNext/feature/task_list
...
Task List
2025-02-22 14:37:44 +02:00
Panagiotis Papadopoulos
1b309675c8
fix(webpackMiddleware): add (now) missing plugins declaration from productionConfig
...
required since we used `mini-css-extract-plugin` now
2025-02-22 11:56:56 +01:00
Panagiotis Papadopoulos
19e19ca052
assets: remove bootstrap reference
2025-02-22 11:56:56 +01:00
Elian Doran
63584c153c
feat(views/calendar): filter notes by ancestor
2025-02-22 11:31:36 +02:00
Elian Doran
a3fbf15902
Merge remote-tracking branch 'origin/develop' into feature/task_list
2025-02-22 11:03:18 +02:00
Elian Doran
46f543ad54
Merge pull request #1207 from maphew/bare2share2
...
Bare2share - Redirect bare domain to defined #shareRoot
2025-02-22 09:25:30 +02:00
Elian Doran
38dbf6efcd
Merge pull request #1220 from TriliumNext/feat_friendly-numbers-note-revision
...
feat: friendly numbers note revision
2025-02-22 09:24:37 +02:00
Elian Doran
c2e4def523
Merge branch 'develop' into feat_friendly-numbers-note-revision
2025-02-20 21:45:49 +02:00
Elian Doran
1e11625f14
Merge branch 'develop' into feat_friendly-numbers-protected_session_timeout
2025-02-20 21:45:30 +02:00
Elian Doran
ef487f46d1
Merge branch 'develop' into feature/task_list
2025-02-20 17:34:36 +02:00
Elian Doran
4e01534d76
refactor(i18n): move list of locales out of options
2025-02-20 12:27:33 +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
Panagiotis Papadopoulos
9a1d26e129
feat: add protectedSessionTimeoutScale option
...
to be used in the protected_session_timeout widget, when it is ported to use TimeSelector
2025-02-18 22:37:20 +01:00