3087 Commits

Author SHA1 Message Date
Adorian Doran
f59515fe36 style(next): use the new icon button style for the help buttons associated to switches 2025-01-30 23:56:41 +02:00
Adorian Doran
67904e16a8 client: rollback some buttons as secondary buttons 2025-01-30 23:49:53 +02:00
Adorian Doran
9c847686a6 style(next): use the new icon button style for the ETAPI token table buttons 2025-01-30 23:49:25 +02:00
Adorian Doran
c3656e27c8 client: mark a button to by styled as a combo box-like dropdown 2025-01-30 20:46:42 +02:00
Adorian Doran
c26dd283fa client: rollback some buttons as secondary buttons 2025-01-30 20:30:51 +02:00
Elian Doran
730a43c922
fix(mobile): formatting bar overlapping with bottom bar (fixes #970) 2025-01-30 19:44:17 +02:00
Elian Doran
047b226426
Merge commit 'ef5f5b35db25bd532c1f22424a7f17576cc219a4' into develop 2025-01-30 18:04:49 +02:00
Panagiotis Papadopoulos
a110161b2e
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 22:40:42 +02:00
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
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
7d88e43555 client: mark some buttons with their type (primary or secondary) 2025-01-29 21:50:35 +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
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
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
f1cb95d95e
fix(types): allow falsy values 2025-01-28 16:44:56 +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
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
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
b43c85157b client: mark the links that should use the new style 2025-01-24 10:49:14 +02:00
Adorian Doran
0f2fcebe40 client: mark the links that should use the new style 2025-01-23 01:28:35 +02:00
Adorian Doran
f4d2c5a2d2 client: mark the links that should use the new style 2025-01-23 01:12:05 +02:00
Adorian Doran
b0014de365 Merge branch 'develop' of https://github.com/TriliumNext/Notes into style/next/forms 2025-01-22 23:48:29 +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
9e2c592383
feat(geomap): set default position 2025-01-22 23:18:22 +02:00
Elian Doran
a8e2c2901b
fix(geomap): error in creating empty map 2025-01-22 23:09:56 +02:00
Elian Doran
0288ebcad9
feat(context_menu): dismiss note tooltip when a context menu is shown 2025-01-22 22:24:42 +02:00