3127 Commits

Author SHA1 Message Date
Elian Doran
0f2e50d265
feat(tray): higher DPI icon 2025-02-01 12:41:43 +02:00
Elian Doran
e10256e5bd
fix(tray): error if today's note was missing 2025-02-01 12:25:12 +02:00
Elian Doran
755774042e
feat(tray): support hi-DPI 2025-02-01 11:59:42 +02:00
Elian Doran
0bf3f890a2
feat(tray): support custom icon for dev mode 2025-02-01 11:34:35 +02:00
Elian Doran
80ddc8b4ef
feat(tray): react to language changes 2025-02-01 11:20:29 +02:00
Elian Doran
54f9cf831d
feat(i18n): translate tray icon 2025-02-01 11:16:46 +02:00
Elian Doran
ebc523a0fd
feat(tray): reload bookmarks on change 2025-02-01 11:04:49 +02:00
Elian Doran
09bf48e5a4
feat(tray): support bookmark folders 2025-02-01 10:54:00 +02:00
Elian Doran
ae4f012390
feat(tray): ensure window is visible 2025-02-01 10:46:27 +02:00
Elian Doran
c1f8c8a0b9
feat(tray): react to dark mode change 2025-02-01 10:41:08 +02:00
Elian Doran
4701edff4c
feat(tray): support dark theme for icons 2025-02-01 10:32:57 +02:00
Elian Doran
736f329857
feat(tray): use icons for tray items 2025-02-01 10:21:25 +02:00
Elian Doran
4bd9d32c74
feat(tray): use checkbox for show windows and move to top 2025-02-01 02:46:33 +02:00
Elian Doran
839e8a4143
feat(tray): display recent notes 2025-02-01 02:40:04 +02:00
Elian Doran
cd0c79e3d2
feat(tray): show a list of bookmarks 2025-02-01 02:29:34 +02:00
Elian Doran
84edf0348f
feat(tray): open today's journal note 2025-02-01 02:18:10 +02:00
Elian Doran
4b1cbca76d
feat(tray): add option to create new note 2025-02-01 02:08:19 +02:00
Elian Doran
9e0d002704
refactor(tray): use named functions instead of arrow fn 2025-02-01 01:54:51 +02:00
Elian Doran
bd363dac93
chore(review): use async 2025-02-01 01:21:38 +02:00
Elian Doran
719046e2ca
feat(pdf): add keyboard shortcut 2025-02-01 00:36:06 +02:00
Elian Doran
f3a3906db7
feat(pdf): support landscape mode at note level 2025-02-01 00:28:48 +02:00
Elian Doran
84532d42ec
feat(pdf): error handling 2025-01-31 23:29:53 +02:00
Elian Doran
d4965e8d41
feat(pdf): improve save filter on Windows 2025-01-31 22:51:58 +02:00
Elian Doran
508ce4c962
feat(pdf): open the exported file 2025-01-31 22:19:19 +02:00
Elian Doran
615218513a
feat(pdf): suggest proper file name 2025-01-31 21:58:52 +02:00
Elian Doran
414a4d7b17
feat(print): add filter for PDF 2025-01-31 21:51:15 +02:00
Elian Doran
0f7826d6d0
feat(print): implement basic export as PDF support 2025-01-31 21:44:59 +02:00
Panagiotis Papadopoulos
31c46753de refactor(server/utils): isDev move to utils and replace fn with boolean
this value cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:58:00 +01:00
Panagiotis Papadopoulos
ca2bb94200 refactor(server/utils): isElectron - replace fn with boolean
this values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:55:53 +01:00
Panagiotis Papadopoulos
94411cf418 refactor(server/utils): isMac/isWin - replace fn with boolean
those values cannot change during runtime,
=> there is no need to have these checks
as dynamic function, instead just
export the boolean value directly
2025-01-29 10:55:53 +01: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
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
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
474ae481b6
Merge branch 'develop' into feature/map_note_type 2025-01-22 22:50:38 +02:00
Panagiotis Papadopoulos
05b433d44e test(import/utils): remove leftover unused type 2025-01-21 00:33:45 +01:00
Panagiotis Papadopoulos
2296d1a6ba refactor(import/utils.handleH1): simplify handleH1 2025-01-21 00:25:46 +01:00
Panagiotis Papadopoulos
1de9bc7c6f fix(import/utils.handleH1): fix stripping of all <h1> tags that match title
now it will only strip the very first tag that if it matches the title,
otherwise it gets turned into a h2 tag

fixes #1016
2025-01-21 00:04:05 +01:00
Panagiotis Papadopoulos
e1c949aa10 test(import/utils): add test for #handleH1/rework previous tests 2025-01-20 23:57:51 +01:00
Panagiotis Papadopoulos
ba91082115 test(import/utils): add test for extractHtmlTitle 2025-01-20 23:04:16 +01:00