10053 Commits

Author SHA1 Message Date
Elian Doran
639d118f41
chore(client/ts): port fonts 2025-01-03 18:44:19 +02:00
Elian Doran
428ffa7826
chore(client/ts): port options_widget 2025-01-03 18:40:52 +02:00
Elian Doran
b6e97c1ae9
refactor(server): typed options 2025-01-03 18:32:09 +02:00
Elian Doran
2590a4cb05
Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop 2025-01-03 17:52:30 +02:00
Elian Doran
2c469283f0
Merge pull request #879 from pano9000/refactor_utils_formatDownloadTitle
refactor(utils/formatDownloadTitle): simplify function
2025-01-03 17:23:32 +02:00
Elian Doran
52bbfbef05
Merge pull request #878 from TriliumNext/renovate/marked-15.x
fix(deps): update dependency marked to v15.0.5
2025-01-03 17:18:55 +02:00
Elian Doran
0ad1f3f446
Merge pull request #877 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.5
2025-01-03 17:02:10 +02:00
Panagiotis Papadopoulos
6da656cd67 refactor(formatDownloadTitle): simplify function
I've kept the "extension determination process" in a nested function,
that reuses the formatDownloadTitle arguments,
however it could also be refactored into an own util function later,
if it is ever required.

The for loop got replaced by the built functions in `mimeType`
2025-01-03 14:17:30 +01:00
Panagiotis Papadopoulos
d173daa14e test(formatDownloadTitle): add basic test
for some reason this will not run well with `tsx -r esm` though
I've used the built-in node TS runner for now, which works:
`node  --experimental-transform-types`
2025-01-03 12:51:34 +01:00
renovate[bot]
ca40c0eb32
chore(deps): update dependency @types/node to v22.10.5 2025-01-03 07:08:20 +00:00
renovate[bot]
dd95de0424
fix(deps): update dependency marked to v15.0.5 2025-01-03 01:47:20 +00:00
Elian Doran
16aa27b1c6
Merge remote-tracking branch 'origin/develop' into develop 2025-01-03 01:16:57 +02:00
Elian Doran
c03ca4eea7
chore(i18n): fix wrong translation of predefined font 2025-01-03 00:59:57 +02:00
Elian Doran
a9ea3c8b63
refactor(server): typed keyboard action names 2025-01-03 00:59:38 +02:00
Elian Doran
7ad43ff38b
Merge pull request #876 from pano9000/chore_remove_unused_request_dep
chore(deps): remove unused 'request'
2025-01-03 00:23:27 +02:00
Panagiotis Papadopoulos
9d48f80551 chore(deps): remove unused 'request' 2025-01-02 20:48:44 +01:00
Elian Doran
6825fe2e03
Merge pull request #875 from pano9000/refactor_isMac_isWin
refactor(utils): add isMac and isWindows util functions
2025-01-02 20:05:07 +02:00
Elian Doran
6a9c8ff8dd
Merge pull request #874 from pano9000/refactor_sanitizeAttributeName
refactor(sanitizeAttributeName): simplify function and export
2025-01-02 20:01:50 +02:00
Panagiotis Papadopoulos
ac77d20aaf refactor: use isMac and isWindows util funcs 2025-01-02 18:47:41 +01:00
Panagiotis Papadopoulos
13235a25b1 refactor(utils): add isMac and isWindows as util func 2025-01-02 18:45:41 +01:00
Panagiotis Papadopoulos
d798388026 test(sanitizeAttributeNames): add basic test 2025-01-02 18:25:09 +01:00
Panagiotis Papadopoulos
1053da3e40 refactor(sanitizeAttributeNames): use a ternary operator 2025-01-02 18:25:09 +01:00
Panagiotis Papadopoulos
afb91f82e1 refactor(sanitizeAttributeNames): directly export function
no need to wrap the exported function in an object first
2025-01-02 18:25:09 +01:00
Elian Doran
2556d51870
Merge pull request #873 from pano9000/refactor_use_Set
refactor(services): use Set instead of Arrays for faster lookups
2025-01-02 17:50:35 +02:00
Elian Doran
d07aa0990b
Merge pull request #872 from pano9000/refactor_utils-export
refactor(utils): use named exports for the utils functions
2025-01-02 17:48:43 +02:00
Panagiotis Papadopoulos
baea3bdcdd refactor(services): use Set instead of Arrays for faster lookups 2025-01-02 14:59:26 +01:00
Panagiotis Papadopoulos
728037075f refactor(services): use named imports from utils
had rename the imports due to name clashes
2025-01-02 13:48:18 +01:00
Panagiotis Papadopoulos
7fe23c7ac2 refactor(services): use named imports from utils 2025-01-02 13:47:44 +01:00
Panagiotis Papadopoulos
3814621e1c reafctor(services/utils): export functions individually 2025-01-02 13:26:25 +01:00
Elian Doran
6fe4027a75
Merge pull request #871 from TriliumNext/feature/i18n-part8
Feature/i18n part8
2025-01-02 11:54:57 +02:00
Nriver
1ba66f0414 update Chinese translation and synchronize with English 2025-01-02 17:20:57 +08:00
Elian Doran
2d43d3a813
feat(mobile): prevent accidental zoom 2025-01-02 01:36:58 +02:00
Elian Doran
3913088451
feat(mobile): display editor toolbar only when focused 2025-01-02 01:21:30 +02:00
Elian Doran
795f715852
fix(mobile): full-height sidebar 2025-01-02 00:46:03 +02:00
Elian Doran
f315457047
fix(mobile): bottom bar not always shown 2025-01-02 00:38:52 +02:00
Elian Doran
f4607123f2
style(next): transparent note title on mobile 2025-01-02 00:07:09 +02:00
Elian Doran
b11f2a6992
fix(mobile): position of classic toolbar on tablet view 2025-01-01 21:40:47 +02:00
Elian Doran
a8f052071e
Merge pull request #866 from pano9000/refactor_session_secret
refactor(session_secret): use existing randomSecureToken function
2025-01-01 21:27:14 +02:00
Elian Doran
c482cef369
fix(mobile): sidebar not working in tablet view 2025-01-01 21:24:26 +02:00
Elian Doran
44ed840e78
Merge pull request #870 from TriliumNext/renovate/node-22.x
chore(deps): update dependency @types/node to v22.10.3
2025-01-01 12:08:19 +02:00
renovate[bot]
0b188ba22a
chore(deps): update dependency @types/node to v22.10.3 2025-01-01 01:38:52 +00:00
Panagiotis Papadopoulos
79887d1ce0 refactor(session_secret): use existing randomSecureToken function
this also improves secret security,
as it uses a larger charset size
than the UPPERCASED HEX secret before
2024-12-31 11:22:18 +01:00
Elian Doran
8959b96f28
Merge pull request #862 from TriliumNext/renovate/katex-0.x
fix(deps): update dependency katex to v0.16.19
2024-12-30 20:52:20 +02:00
renovate[bot]
d98a920154
fix(deps): update dependency katex to v0.16.19 2024-12-30 00:15:18 +00:00
Elian Doran
794750c91a
Merge pull request #861 from pano9000/chore_fix-typo_protected-session-password
chore: fix typo in protected_session_password dialog
2024-12-29 12:57:12 +02:00
Elian Doran
2daa14b39b
Merge pull request #860 from pano9000/i18n_fix-backed_up_to
i18n: improve translatability of database_backed_up_to string
2024-12-29 12:56:24 +02:00
Elian Doran
3c37d5d630
Merge pull request #859 from pano9000/i18n_translatable_duplicate_note_#825
i18n: make duplicate notes suffix translatable
2024-12-29 12:55:18 +02:00
Elian Doran
42c6c44924
Merge pull request #857 from pano9000/feat_i18n-kdb-tags-#820
i18n: make <kbd> tags translatable
2024-12-29 12:53:01 +02:00
Elian Doran
e722b65620
Merge pull request #853 from TriliumNext/renovate/jquery.fancytree-2.x
fix(deps): update dependency jquery.fancytree to v2.38.4
2024-12-29 12:43:18 +02:00
Elian Doran
112cfffb67
Merge pull request #852 from hasecilu/i18n/Spanish
Update Spanish translation
2024-12-29 12:28:20 +02:00