5408 Commits

Author SHA1 Message Date
Panagiotis Papadopoulos
06d9b998de
chore(prettier): fix code style for setup.ts 2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
52814030d8
chore(client/ts): port setup.js entrypoint to TS 2025-01-29 22:40:42 +02:00
Adorian Doran
e96b9f3251 style(next): buttons: style keyboard shortcut 2025-01-29 22:20:52 +02:00
Adorian Doran
e29389296d style(next): buttons: handle visible focus 2025-01-29 22:02:25 +02:00
Adorian Doran
8718dafe88 style(next): buttons: style disabled buttons 2025-01-29 21:59:18 +02:00
Elian Doran
e255fb5a20
Merge pull request #1065 from TriliumNext/chore_port_setup-entrypoint
chore(client/ts): port setup entrypoint
2025-01-29 21:55:39 +02:00
Adorian Doran
2bfb253a2a style(next): buttons: handle "success" button types 2025-01-29 21:53:22 +02:00
Adorian Doran
7d88e43555 client: mark some buttons with their type (primary or secondary) 2025-01-29 21:50:35 +02:00
Adorian Doran
82074ea7eb style(next): buttons: restore a legacy CSS variable 2025-01-29 21:20:31 +02:00
Adorian Doran
16ea6186dd style(next): buttons: rename the CSS variables to avoid clashing with another button styles 2025-01-29 21:17:20 +02:00
Adorian Doran
96b25b8e5e style(next): buttons: use a more accurate CSS selectors 2025-01-29 18:51:00 +02:00
Elian Doran
ef5f5b35db
feat(i18n): translate template switch off button 2025-01-29 18:40:56 +02:00
Elian Doran
3c60f181ff
chore(client/ts): port template_switch 2025-01-29 18:39:59 +02:00
Elian Doran
6aba099a29
chore(client/ts): port switch 2025-01-29 18:38:27 +02:00
Adorian Doran
90afd01d1f style(next): restyle buttons 2025-01-29 18:24:05 +02:00
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
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
4adaa4bd58 chore(prettier): fix code style for setup.ts 2025-01-28 23:18:17 +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
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
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