Adorian Doran
dee221e18a
Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms
2025-01-29 17:26:24 +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
Panagiotis Papadopoulos
c9c8ee5556
fix(setup): use safer text
method instead of html to prevent possible XSS
...
see also https://api.jquery.com/html/
under "Additional Notes":
"Do not use these methods to insert strings obtained from untrusted sources such as URL query parameters, cookies, or form inputs. Doing so can introduce cross-site-scripting (XSS) vulnerabilities. Remove or escape any user input before adding content to the document. "
fixes #1072
2025-01-29 10:07:40 +01:00
Panagiotis Papadopoulos
66c42f0524
fix(setup): make keyboard navigation work
...
fixes #94
2025-01-29 09:53:03 +01:00
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
Elian Doran
05b67fc486
fix(mobile): backend log not shown ( fixes #1058 )
2025-01-28 22:02:52 +02:00
Elian Doran
4da67443c4
feat(print): preserve highlighted text ( closes #905 )
2025-01-28 21:23:04 +02:00
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
Adorian Doran
2f5ac6d114
client: mark the check boxes and radio buttons that should use the new style
2025-01-24 22:55:12 +02:00
Adorian Doran
fa867cd75d
Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms
2025-01-24 22:48:21 +02:00
Adorian Doran
97295e959b
style(next): fall back to the user agent's default check boxes and radio buttons if the ":has" selector is not supported
2025-01-24 22:45:58 +02:00
Adorian Doran
41ef47576d
client: mark the check boxes and radio buttons that should use the new style
2025-01-24 22:35:45 +02:00
Adorian Doran
ed201ff9a4
style(next): use the new check box and radio button style only for the elements using the "tn-checkbox" and "tn-radio" CSS classes
2025-01-24 22:35:08 +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
Adorian Doran
b43c85157b
client: mark the links that should use the new style
2025-01-24 10:49:14 +02:00
Adorian Doran
03e7f4b991
style(next): links: add light / dark theme support
2025-01-24 10:21:50 +02:00
Adorian Doran
d6cb2a3751
style(next): links: fix hover state artifacts on Chromium-based browsers
2025-01-24 10:14:18 +02:00