Commit Graph

7902 Commits

Author SHA1 Message Date
Elian Doran feb7ceacd8 style(next): fix strikethrough undelete button 2025-01-28 21:11:18 +02:00
Elian Doran 5c31a0afeb fix(client): quote breaking tooltips (fixes #1003) 2025-01-28 21:03:39 +02:00
Elian Doran ab9b5a6926 feat(geo_map): move markers when panning across the world 2025-01-28 17:13:15 +02:00
Elian Doran 687be6d722 fix(client): note type chooser does not have geo map entry 2025-01-28 17:05:51 +02:00
Elian Doran eaf548f056 style(next): fix top position of code badge 2025-01-28 17:05:51 +02:00
Elian Doran f1cb95d95e fix(types): allow falsy values 2025-01-28 16:44:56 +02:00
Elian Doran 189a2296c4 chore(i18n): promote mind map to stable note type 2025-01-28 16:34:10 +02:00
Elian Doran 3f6dc717b6 feat(client/ts): port editability_select 2025-01-28 16:21:26 +02:00
Elian Doran aecba70efc fix(client): broken layouts in editability and note type dropdowns 2025-01-28 16:18:36 +02:00
Elian Doran 546274a79d feat(client/ts): port note_list 2025-01-28 14:13:21 +02:00
Elian Doran 15c63f52dc feat(client/ts): port note_title 2025-01-28 14:07:56 +02: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