9152 Commits

Author SHA1 Message Date
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
1a54b8f5a5 Add themes that can be base 2025-03-08 15:10:38 +08:00
SiriusXT
e2c317f59c Add themes that can be base 2025-03-08 14:58:19 +08:00
Adorian Doran
1e81831ea0 style(next)/options: improve (again) the layout of the option cards 2025-03-08 05:49:18 +02:00
Adorian Doran
240ee2b6ac style(next)/options: improve the layout of the option cards 2025-03-08 05:34:43 +02:00
Adorian Doran
d47350363a style(next): remove no longer unused style 2025-03-08 04:45:55 +02:00
Adorian Doran
6a1f1948f0 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 04:44:26 +02:00
Adorian Doran
db4c5bcac2 client/options/advanced: use a table for "Existing anonymized databases" 2025-03-08 04:44:23 +02:00
Elian Doran
268b666d52
feat(template): duplicate content for geomap & mindmap (closes #357) 2025-03-08 04:28:24 +02:00
Elian Doran
ed06a3ee97
feat(template): duplicate content for relation map 2025-03-08 04:26:30 +02:00
Elian Doran
5d9bea8987
feat(template): duplicate content for canvas 2025-03-08 04:24:09 +02:00
Elian Doran
c7b99adb6a
feat(template): duplicate content for mermaid diagrams 2025-03-08 04:23:05 +02:00
Adorian Doran
82a63a65da style(next)/options/shortcuts: tweak group headings 2025-03-08 04:17:16 +02:00
Adorian Doran
7582b1c43d style/options/appearance: fix the width of the "Main font" combo box 2025-03-08 04:01:49 +02:00
Adorian Doran
fa60e66a75 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 03:52:31 +02:00
Adorian Doran
d16708cf75 style(next)/options: tweak labels 2025-03-08 03:52:14 +02:00
Elian Doran
4f671738e6
fix(client): remove misleading message about removing revisions (closes #1308) 2025-03-08 03:45:02 +02:00
Adorian Doran
decf62c58c style: add a gap between consecutive radios / check boxes 2025-03-08 03:33:02 +02:00
Adorian Doran
9626b42443 style(next): add a gap between consecutive radios / check boxes 2025-03-08 03:27:59 +02:00
Adorian Doran
15d3285a90 client/options/text notes: convert the "Heading Style" combo box into radio buttons 2025-03-08 03:21:32 +02:00
Adorian Doran
a694017c87 Merge branch 'develop' of https://github.com/TriliumNext/Notes into develop 2025-03-08 03:18:57 +02:00
Adorian Doran
2cfb83a93c client/options/appearance: convert the "First day of the week" combo box into radio buttons 2025-03-08 03:18:42 +02:00
Elian Doran
7ade401018
feat(eslint): downgrade unused variables to warning 2025-03-08 03:02:25 +02:00
Elian Doran
3756524ad3
feat(test): basic tests for ESLint 2025-03-08 02:55:59 +02:00
Elian Doran
79adb0b20e
feat(client): add recommended rules 2025-03-08 02:45:40 +02:00
Elian Doran
0273fad0ba
refactor(deps): use different approach for eslint 2025-03-08 02:37:29 +02:00
Elian Doran
c4f8e9605f
fix(client): update ESLint to latest 2025-03-08 02:20:56 +02:00
Elian Doran
3c84d0558d
fix(style): login in dark mode not rendering correctly 2025-03-08 02:10:14 +02:00
Elian Doran
c297f88395
chore(server): remove unnecessary log 2025-03-08 02:10:14 +02:00
Adorian Doran
e74de6105a client/options: minor tweaks 2025-03-08 01:59:29 +02: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
Adorian Doran
6d39c404c4 client/options/appearance/ribbon widgets: place checkboxes on separate lines 2025-03-08 01:01:05 +02:00
Adorian Doran
d24b5a232f style: fix the form text color 2025-03-08 00:54:53 +02:00
Adorian Doran
9a09a89066 client/options/appearance: change the layout of the "Native title bar" and "Enable background effects" options 2025-03-08 00:52:02 +02:00
Panagiotis Papadopoulos
0c8df7f885 refactor(error_handlers): use newly added ForbiddenError class 2025-03-07 23:30:12 +01:00
Elian Doran
a6e7f98f69
chore(release): 0.92.3-beta 2025-03-07 23:59:10 +02: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
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
ee7b97ae56
revert(db): back to 228 (no tasks) 2025-03-06 23:45:06 +02:00
Panagiotis Papadopoulos
dfb8982a99 chore(lint): improve type and get rid of "any" 2025-03-06 22:44:54 +01:00