Adorian Doran
4988468103
style(next): buttons: refactor, document
2025-01-29 23:21:44 +02:00
Adorian Doran
0fed7842cf
Merge branch 'style/next/forms' of https://github.com/TriliumNext/Notes into style/next/forms
2025-01-29 23:14:38 +02:00
Adorian Doran
bd37055965
style(next): buttons: style icons
2025-01-29 23:14:27 +02:00
Elian Doran
748162b997
fix(e2e): broken test after style changes
2025-01-29 22:40:43 +02:00
Panagiotis Papadopoulos
092c288df2
chore(issue_templates): add simple Task template
2025-01-29 22:40:43 +02:00
Panagiotis Papadopoulos
818cc30650
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 22:40:43 +02:00
Panagiotis Papadopoulos
13a1b42e12
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 22:40:42 +02:00
Panagiotis Papadopoulos
5630a7b2e3
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 22:40:42 +02:00
Panagiotis Papadopoulos
013b42bdd1
fix(setup): make keyboard navigation work
...
fixes #94
2025-01-29 22:40:42 +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
328c53b725
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 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
e6103bf11a
chore(views/setup): remove knockout src tag
...
-> this is now handled inside setup.ts and is handled by webpack
2025-01-29 22:40:42 +02:00
Panagiotis Papadopoulos
726683078e
chore(views/setup): move syncInProgress to meta tag
...
makes it easier to hanlde in the setup.ts file
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
Elian Doran
67a23f0bae
Merge pull request #1070 from TriliumNext/chore_github-issue_task
...
chore(issue_templates): add simple Task template
2025-01-29 22:17:45 +02:00
Elian Doran
6fab899898
Merge pull request #1073 from TriliumNext/refactor_utils-isPlatform
...
refactor(server/utils): turn isMac/isWin/isElectron/isDev into boolean
2025-01-29 22:16:20 +02:00
Elian Doran
fd53d49937
Merge pull request #1071 from TriliumNext/fix_setup-keyboard-navigation_#94
...
fix(setup): make keyboard navigation work
2025-01-29 22:10:29 +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
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
Elian Doran
dadda026fb
Merge pull request #1068 from TriliumNext/chore_github-issue-type
...
chore(issue_templates): Use new type field
2025-01-29 11:19:03 +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
66c42f0524
fix(setup): make keyboard navigation work
...
fixes #94
2025-01-29 09:53:03 +01:00
Panagiotis Papadopoulos
1b35ba762f
chore(issue_templates): add simple Task template
2025-01-29 09:16:13 +01:00
Panagiotis Papadopoulos
8344dcee85
chore(issue_templates): Use new type field
...
https://github.com/orgs/community/discussions/148715#discussioncomment-11845050
also removed title field, as duplicating the issue "type" info in there is not
necessary anymore
2025-01-29 09:08:32 +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
Elian Doran
7c28b93477
Merge pull request #1066 from TriliumNext/renovate/node-22.x
...
chore(deps): update dependency @types/node to v22.12.0
2025-01-29 09:20:33 +02:00
renovate[bot]
b49ea378cb
chore(deps): update dependency @types/node to v22.12.0
2025-01-29 00:29:12 +00: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
44928093bb
chore(build): rebuild electron for start-electron-nix
2025-01-28 21:23:20 +02:00