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
Elian Doran
f86d9b11b1
feat(i18n): translate unable to render note type
2025-01-29 18:37:02 +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
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