Panagiotis Papadopoulos
ed33b72f57
chore(assets): remove manual provision of knockout
...
this is only used in setup.ts and there it is already packed by webpack – so no need to manually provide it as static asset anymore
2025-01-29 08:48:03 +01:00
Panagiotis Papadopoulos
4adaa4bd58
chore(prettier): fix code style for setup.ts
2025-01-28 23:18:17 +01:00
Panagiotis Papadopoulos
0559ebb48a
chore(views/setup): remove knockout src tag
...
-> this is now handled inside setup.ts and is handled by webpack
2025-01-28 23:16:16 +01:00
Panagiotis Papadopoulos
98c4baeb6b
chore(views/setup): move syncInProgress to meta tag
...
makes it easier to hanlde in the setup.ts file
2025-01-28 23:15:16 +01:00
Panagiotis Papadopoulos
c7b368fa46
chore(client/ts): port setup.js entrypoint to TS
2025-01-28 23:13:06 +01:00
Panagiotis Papadopoulos
e614e775fa
chore(client/ts): port mobile.js entrypoint to TS
2025-01-28 07:25:26 +01:00
Panagiotis Papadopoulos
4c30853258
chore(client/ts): port desktop.js entrypoint to TS
2025-01-28 07:25:26 +01:00
Panagiotis Papadopoulos
144a7ff3a1
chore(types.d.ts): add missing platform prop to CustomGlobals
...
as used e.g. in dekstop.js – supplied via ejs (and then rendered via `./src/views/partials/windowGlobal`
I left it as optional however, because e.g. it does not seem to exist on *all* pages
2025-01-28 07:25:26 +01:00
Elian Doran
7d8e96d6df
fix(context-menu): keyboard shortcut not filling width
2025-01-28 00:03:04 +02:00
Panagiotis Papadopoulos
74f6ad46ae
chore(app/share): add workaround for dead code eliminination by webpack
...
since fetchNote function is not used anywhere, webpack will treat it as "dead code" and remove it from the final output
I did not have any success with using webpack config flags like "sideEffects", so I've reverted to this workaround for now
2025-01-26 21:23:08 +01:00
Panagiotis Papadopoulos
3ed9528495
chore(app/share): port to TypeScript
2025-01-26 20:54:30 +01:00
Elian Doran
c6730c5467
chore(client/ts): port ribbon_container
2025-01-26 21:24:42 +02:00
Elian Doran
47fb4d7b27
chore(client/ts): port note_info_widget
2025-01-26 21:23:08 +02:00
Elian Doran
20584f622d
chore(client/ts): port zpetne_odkazy
2025-01-26 21:23:08 +02:00
Elian Doran
32fc5def77
chore(client/ts): port note_map
2025-01-26 21:23:08 +02:00
Elian Doran
befdade7ba
chore(client/ts): port similar_notes
2025-01-26 21:23:08 +02:00
Elian Doran
4492c60aa9
chore(client/ts): port note_paths
2025-01-26 21:23:08 +02:00
Elian Doran
3f7bda6289
chore(client/ts): port left_pane_toggle
2025-01-26 21:23:08 +02:00
Elian Doran
8e62c942ea
Merge pull request #1037 from TriliumNext/renovate/ws-8.x
...
chore(deps): update dependency @types/ws to v8.5.14
2025-01-26 20:48:57 +02:00
Elian Doran
61d4d3fd2c
fix(types): broken types after ws upgrade
2025-01-26 20:39:19 +02:00
Elian Doran
e4b186ce8a
Merge pull request #1036 from TriliumNext/feat_env-config
...
feat(services/config): Add ability to set Trilium configuration variables via ENV variables
2025-01-26 14:32:13 +02:00
Elian Doran
7ae7831a27
Merge pull request #1022 from TriliumNext/fix_import-utils-#1016
...
fix(import/utils.handleH1): fix stripping of all <h1> tags that match title tag
2025-01-26 14:28:52 +02:00
Jens Oliver Meiert
2d86d9a7c0
refactor: compress images (losslessly, with Imagemin Guard)
...
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
2025-01-24 15:16:05 +01:00
Panagiotis Papadopoulos
2c2a404056
feat(services/config): rename syncProxy to syncServerProxy for naming consistency
...
backwards compatibility ensured, by still checking the iniConfig for the old value first
2025-01-24 07:45:47 +01:00
Panagiotis Papadopoulos
3fc9a10ab6
refactor(services/sync_options): get rid of process.env query
...
this is now handled in config.ts already
2025-01-24 00:03:50 +01:00
Panagiotis Papadopoulos
8778ca5f6c
fix(services): fix type errors
2025-01-24 00:02:45 +01:00
Panagiotis Papadopoulos
85c6764864
feat(services/config): add Sync config block and fallback values
...
original idea of using config-sample.ini for default values
is not backwards compatible unfortunately
fallback values taken from config-sample.ini and directly from other code in this codebase, where these values were set
2025-01-23 23:58:46 +01:00
Panagiotis Papadopoulos
c7bd5e2c67
feat(services/config): add TriliumConfig Type
2025-01-23 23:50:16 +01:00
Panagiotis Papadopoulos
edeaca6d1f
feat(services/config): add missing config values
...
these are used in the codebase, but are not defined in the sample.ini
2025-01-23 20:32:45 +01:00
Panagiotis Papadopoulos
279aa156cf
feat(services/config): add possibility to read config from ENV
...
envToBoolean used to turn "string booleans" into JS booleans
2025-01-23 20:23:31 +01:00
Panagiotis Papadopoulos
c0327bf8e2
feat(server/utils): add envToBoolean helper function
...
turns "true" / "false" strings from a process.env property into actual boolean values or undefined
2025-01-23 20:18:05 +01:00
Elian Doran
f672747cfc
chore(build): bump sync version
2025-01-23 16:52:22 +02:00
Elian Doran
0b0fcc0685
Merge pull request #1021 from TriliumNext/chore_move-generate-documents
...
chore: move generate_documents to bin folder
2025-01-22 23:42:45 +02:00
Elian Doran
4203a1160e
Merge pull request #1018 from TriliumNext/fix_server-build
...
fix: fix server build not running due to missing file
2025-01-22 23:39:09 +02:00
Elian Doran
9e2c592383
feat(geomap): set default position
2025-01-22 23:18:22 +02:00
Elian Doran
a8e2c2901b
fix(geomap): error in creating empty map
2025-01-22 23:09:56 +02:00
Elian Doran
474ae481b6
Merge branch 'develop' into feature/map_note_type
2025-01-22 22:50:38 +02:00
Elian Doran
0288ebcad9
feat(context_menu): dismiss note tooltip when a context menu is shown
2025-01-22 22:24:42 +02:00
Elian Doran
d814a4d49f
chore(i18n): translate geo map messages
2025-01-22 22:12:25 +02:00
Elian Doran
5a40d3f020
fix(build): build errors
2025-01-22 21:55:42 +02:00
Elian Doran
e06db0038f
fix(geomap): display again note tooltip
2025-01-22 21:49:23 +02:00
Elian Doran
9b1279ce14
feat(geo_map): add option to open location
2025-01-22 21:07:40 +02:00
Elian Doran
47b02da021
feat(geo_map): add back open context menu
2025-01-22 20:02:20 +02:00
Elian Doran
2e1ad24584
feat(geo_map): add option to remove from map
2025-01-22 19:33:53 +02:00
Elian Doran
dbd38ecedf
fix(geo_map): markers no longer rendering after clicking on a link
2025-01-22 18:57:09 +02:00
Elian Doran
ac262228f0
feat(geomap): note preview on tooltip
2025-01-21 22:10:20 +02:00
Elian Doran
65553250b5
fix(geomap): dismissing add with any key
2025-01-21 21:50:32 +02:00
Elian Doran
31491b957b
feat(geomap): use persistent notification
2025-01-21 21:29:02 +02:00
Elian Doran
b813b107a8
chore(geomap): change attribute to geolocation
2025-01-21 21:18:41 +02:00
Elian Doran
dc7dd51913
refactor(geomap): simplify changing state
2025-01-21 21:06:36 +02:00