9818 Commits

Author SHA1 Message Date
Elian Doran
aad5b6cdbd
fix(mobile): spurious error when drag ends 2025-01-04 00:01:44 +02:00
Elian Doran
c5004491f7
fix(mobile): transition when swiping open 2025-01-03 23:59:01 +02:00
Elian Doran
2c9ca397e4
feat(mobile): basic swipe mechanism for sidebar 2025-01-03 23:44:20 +02:00
Elian Doran
2b7d591822
fix(mobile): safe bottom margin for context menu 2025-01-03 22:31:29 +02:00
Elian Doran
33067e61e3
feat(client): add more monospace system fonts 2025-01-03 21:08:30 +02:00
Elian Doran
84a0e789f1
feat(client): add more system fonts 2025-01-03 20:59:13 +02:00
Elian Doran
d34e575488
feat(client): add support for system font 2025-01-03 20:54:14 +02:00
Elian Doran
dfc9cdb25a
refactor(client): simplify font definition 2025-01-03 20:36:59 +02:00
Elian Doran
8667c0a686
refactor(server): split font route in two functions 2025-01-03 20:31:13 +02:00
Elian Doran
80af0899b8
chore(types): font families 2025-01-03 20:08:58 +02:00
Elian Doran
8a494b220b
fix(client/fonts): grouping not working properly on iOS 2025-01-03 20:02:43 +02:00
Elian Doran
a22afc4283
chore(i18n): translate generic fonts 2025-01-03 19:59:54 +02:00
Elian Doran
c6b3cc7882
chore(i18n): translate font selection headings 2025-01-03 19:58:45 +02:00
Elian Doran
0304f1e5e9
feat(client/fonts): add more groups for fonts 2025-01-03 19:49:25 +02:00
Elian Doran
710a80aa26
feat(client/fonts): add groups for fonts 2025-01-03 18:55:45 +02:00
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