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
|
2c91f6e7bc
|
refactor(errors): add HttpError class and extend existing errors from it
|
2025-03-07 22:47:03 +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
|
ba5152de40
|
refactor(errors): extend errors from Error and add/assign statusCode
this is in preparation for updating the routes/handleException method, to get rid of "any" (and improve in general)
|
2025-03-07 22:22:44 +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 |
|
Panagiotis Papadopoulos
|
dfb8982a99
|
chore(lint): improve type and get rid of "any"
|
2025-03-06 22:44:54 +01:00 |
|
Panagiotis Papadopoulos
|
0f0e55deb2
|
chore(lint): fix lint issues in src/routes
|
2025-03-05 18:09:44 +01:00 |
|
Elian Doran
|
93e2515190
|
Merge pull request #1332 from TriliumNext/port_dialogs
port dialogs
|
2025-03-05 14:21:02 +02:00 |
|
JYC333
|
883a67bcfe
|
Merge branch 'develop' into port_dialogs
|
2025-03-05 13:09:00 +01:00 |
|
Elian Doran
|
17e3bd9f6d
|
Merge pull request #1339 from TriliumNext/build_server-build-dump-db
build(build-server): stop copying dump-db during build
|
2025-03-05 13:48:13 +02:00 |
|
Jin
|
d4fe8cf4b9
|
refactor: 💡 add event data and remove redundant code
|
2025-03-05 12:44:36 +01:00 |
|
Elian Doran
|
4c0ecc4df9
|
Merge pull request #1315 from TriliumNext/chore_add-eslint
chore: add eslint as linter
|
2025-03-05 12:55:48 +02:00 |
|
Elian Doran
|
2b0cb8225f
|
Merge branch 'develop' into build_server-build-dump-db
|
2025-03-05 12:55:14 +02:00 |
|
Elian Doran
|
3d7798859f
|
Merge pull request #1338 from TriliumNext/chore_move-deps-to-dev
chore(deps): move deps to devDeps
|
2025-03-05 12:54:59 +02:00 |
|
Panagiotis Papadopoulos
|
f8c8b9eb3f
|
build(build-server): stop copying dump-db during build
|
2025-03-05 09:28:41 +01:00 |
|
Panagiotis Papadopoulos
|
33eb8fe820
|
chore(deps): move deps to devDeps
* happy-dom → only needed for tests
* knockout → this is now bundled by webpack during build stage
* ts-loader → only needed during build stage
|
2025-03-05 09:24:20 +01:00 |
|
Panagiotis Papadopoulos
|
d8ea415b84
|
Merge branch 'develop' into chore_add-eslint
|
2025-03-05 09:16:02 +01:00 |
|
Elian Doran
|
7bcbf29f21
|
fix(canvas): unable to copy-paste
|
2025-03-05 09:27:20 +02:00 |
|
Panagiotis Papadopoulos
|
2c7a25b7fc
|
chore(eslint): add rule for unused vars
this is already used across codebase: using "_" as placeholder for deliberately unused vars (e.g. when destructuring arrays)
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
6a5e622637
|
scripts(linter): remove "--cache" flag
using it is not recommended for ts-eslint:
https://typescript-eslint.io/troubleshooting/faqs/eslint#can-i-use-eslints---cache-with-typescript-eslint
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
b2ac5b6337
|
chore(eslint): ignore certain folders
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
40144fc171
|
deps: update typescript-eslint to 8.26.0
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
1e599af480
|
chore(eslint): disable 'no-undef' rule
For TS projects this is already enforced by tsc, see:
https://eslint.org/docs/latest/rules/no-undef#handled_by_typescript
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
744a0b8042
|
chore: ignore build related folder in eslint config
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
0d66f9d4eb
|
chore(scripts): add dev:linter-check and dev:linter-fix
purposely *not* named as dev:eslint, just to "decouple" the script from eslint, in case there ever is the need to change that :-)
|
2025-03-04 12:19:23 +01:00 |
|
Panagiotis Papadopoulos
|
aed835b6c2
|
chore: add initial eslint configuration
rules will need some finetuning still
|
2025-03-04 12:19:23 +01:00 |
|
Adorian Doran
|
ce2961ebd6
|
style(next)/toolbar: animate the sync status icon
|
2025-03-04 11:55:37 +02:00 |
|
Adorian Doran
|
b03c75c09b
|
style(next): fix note menu artifacts in split view
|
2025-03-04 11:19:33 +02:00 |
|
Adorian Doran
|
77c4b50215
|
style(next)/SQL Console: tweak appearance
|
2025-03-04 11:14:10 +02:00 |
|
Elian Doran
|
901d2d72ae
|
feat(print): improve code block style
|
2025-03-04 09:29:53 +02:00 |
|
Adorian Doran
|
6555add2aa
|
client/options/other: tweak the "HTML Import Tags" section
|
2025-03-04 01:48:09 +02:00 |
|
Jin
|
c4d2c2b8de
|
refactor: 💡 remove redundant code
|
2025-03-04 00:42:31 +01:00 |
|
Jin
|
f1ecab84d9
|
refactor: 💡 remove unused code
|
2025-03-04 00:35:29 +01:00 |
|
Jin
|
f1f55fd4f8
|
fix: 🐛 fix add external link
fix can't add external link from add link dialog
|
2025-03-04 00:33:09 +01:00 |
|
Adorian Doran
|
a97c8087a1
|
style(next)/shell: correct border offset, add entrance animation for notes
|
2025-03-04 01:31:36 +02:00 |
|
Adorian Doran
|
ee40bb3b33
|
style(next)/ribbon/note info: improve the layout on constrained width
|
2025-03-04 00:55:24 +02:00 |
|
Jin
|
5543650166
|
chore: 🤖 (ts) port add_link dialog
|
2025-03-03 23:54:09 +01:00 |
|
Adorian Doran
|
dcea67fa9d
|
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
|
2025-03-04 00:12:15 +02:00 |
|
Adorian Doran
|
3d2801096f
|
style(next): add a border to separate note splits
|
2025-03-04 00:12:02 +02:00 |
|
Elian Doran
|
c41fbe8e45
|
fix(client): build error due to null
|
2025-03-03 23:40:32 +02:00 |
|
Elian Doran
|
3855f0e75f
|
Revert "port tab manager to ts"
This reverts commit 45a50f3aa1ebe5f6687d1733f3dbed58b46c42cb.
|
2025-03-03 23:34:54 +02:00 |
|
Adorian Doran
|
3f641c98fb
|
Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop
|
2025-03-03 23:08:25 +02:00 |
|
Adorian Doran
|
9ca43aceed
|
style(next)/search in note: tweak the border line
|
2025-03-03 23:08:16 +02:00 |
|