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
4839edb3d7
feat(dump-db): use tsx instead of esrun
2025-03-08 03:14:38 +02:00
Elian Doran
9db5557cc1
Merge pull request #1359 from TriliumNext/renovate/eslint-monorepo
...
chore(deps): update eslint monorepo to v9.22.0
2025-03-08 03:10:33 +02:00
Elian Doran
acedb0e94c
Merge pull request #1225 from TriliumNext/build_improve-ts-webpack
...
build: improvements for TS & Webpack & Docker
2025-03-08 03:08:30 +02:00
Elian Doran
d2ffd4a8cd
Merge pull request #1358 from TriliumNext/renovate/happy-dom-monorepo
...
chore(deps): update dependency happy-dom to v17.4.0
2025-03-08 03:05:41 +02:00
Elian Doran
2ff7d7bc6d
Merge branch 'develop' into renovate/eslint-monorepo
2025-03-08 03:03:00 +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
770b4afff3
Merge pull request #1360 from TriliumNext/renovate/eslint-linter-browserify-9.x
...
fix(deps): update dependency eslint-linter-browserify to v9.22.0
2025-03-08 02:50:24 +02:00
renovate[bot]
e530df8645
fix(deps): update dependency eslint-linter-browserify to v9.22.0
2025-03-08 00:46:50 +00:00
renovate[bot]
9d6adef5bf
chore(deps): update dependency happy-dom to v17.4.0
2025-03-08 00:46:41 +00: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
renovate[bot]
7d21bcd611
chore(deps): update eslint monorepo to v9.22.0
2025-03-08 00:37:21 +00: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
f8d759cbc3
chore(lock): version
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
Panagiotis Papadopoulos
70e227f4c3
build(Docker): improve image size, by deleting node-compile-cache
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
907b8c503e
build: copy package-lock.json into dist folder as well
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
38690053a8
build(Docker): improve image size, by deleting unnecessary node_modules fodler from dist folder
...
added a TODO as well, to get rid of this strange step here at some point
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
3553d64060
build(Docker/ci): get rid of running partial build locally
...
this is now handled fully inside Docker.
exception for "test_docker" job in "main-docker"
-> it seems that one needs to be there still, since it runs Playwright tests from outside the container
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
f544a84f6d
build(Docker): simplify Docker alpine build and runtime stage
...
same changes as for the "non-alpine" Dockerfile previously commited, but adapted to Alpine.
this Dockerfile is aimed at production builds, i.e. trying to keep size as small as possible at the cost of "rebuild speed", due to missed docker cache opportunities.
Build Stage:
* do the complete build inside docker as oposed to the previous "hybrid", where tsc was run locally and the output got copied into the Docker build stage → you can now build this with Docker, without having to install the whole node/TS env locally
* build into a "build" subfolder, for easier clean up during build stage
* get rid of now unnecessary extra file/asset handling, as this is now handled by `npm run build:prepare-dist`
* no `npm prune` needed here, as we delete the whole build folder anyways in the last build step
Runtime stage:
* move the "electron" dep removal from the builder stage to the runtime stage, before installing the dependencies
* move to `npm ci` for reproducible installations – but only installing runtime deps here
* get rid of now unnecessary copying commands from the builder stage, as everything is now neatly available in "/usr/src/app"
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
68875683af
build(Docker): get rid of apparently unused packages at build stage
2025-03-07 23:14:56 +01:00
Panagiotis Papadopoulos
e9824c4568
build(dockerignore): ignore unnecessary files
2025-03-07 23:14:56 +01:00