10053 Commits

Author SHA1 Message Date
Panagiotis Papadopoulos
8b1071c459 refactor(data_dir): export dirs as frozen readonly object
previously exported object allowed the values to be changed
accidentally at runtime and buildtime
2025-01-13 08:26:07 +01:00
Panagiotis Papadopoulos
759d24855b style(data_dir): fix indentation 2025-01-13 08:26:07 +01:00
Panagiotis Papadopoulos
7a1e8714af refactor(data_dir): logically order/split cases in getTriliumDataDir
- the blocks now clearly follow the intended logic described in the comments
- I renamed the `getAppDataDir` to more specific `getPlatformAppDataDir`
2025-01-13 08:25:53 +01:00
Panagiotis Papadopoulos
3481c8ba84 refactor(data_dir): use path.join for safer joins
https://nodejs.org/api/path.html#pathjoinpaths
2025-01-13 08:24:04 +01:00
Panagiotis Papadopoulos
8826021c63 refactor(data_dir): add createDirIfNotExisting function
removes some code duplication
2025-01-13 08:24:04 +01:00
Panagiotis Papadopoulos
61a19d5628 refactor(data_dir): add FOLDER_PERMISSION const
gets rid of previously "magic number"
2025-01-13 08:24:01 +01:00
Elian Doran
fbfee818b2
fix(ci): directory for e2e tests 2025-01-13 09:11:11 +02:00
Elian Doran
ffacc1f5f7
chore(e2e): disable reuse of server on CI 2025-01-13 00:08:56 +02:00
Elian Doran
e556137a25
feat(ci): run playwright for docker builds 2025-01-13 00:08:43 +02:00
Elian Doran
9fd8e4d030
fix(e2e): language change breaking other tests 2025-01-12 23:41:27 +02:00
Elian Doran
9b85a101a6
feat(e2e): test note settings 2025-01-12 19:43:29 +02:00
Elian Doran
8dbb5497f1
feat(e2e): test mind map display 2025-01-12 19:34:35 +02:00
Elian Doran
54c5ce9257
chore(e2e): port old test for checking mobile language 2025-01-12 18:05:44 +02:00
Elian Doran
c641ce26d1
chore(e2e): port old test for checking desktop language 2025-01-12 17:43:16 +02:00
Elian Doran
dc83ba51db
chore(e2e): port old test for changing language 2025-01-12 17:36:10 +02:00
Elian Doran
0db3bfd8ae
feat(e2e): add test for settings translations 2025-01-12 17:28:41 +02:00
Elian Doran
1abc8abee6
fix(e2e): missing method 2025-01-12 17:17:07 +02:00
Elian Doran
cdf4a7385d
Merge pull request #927 from pano9000/chore_package-lock
deps: update package-lock.json
2025-01-11 22:17:09 +02:00
Elian Doran
c2dedc24af
fix(build): webpack config for electron-forge 2025-01-11 18:58:51 +02:00
Elian Doran
d8f775608c
feat(editor): enable list styles 2025-01-11 18:26:28 +02:00
Elian Doran
d25812cc3b
fix(docker): not running due to missing file on Alpine 2025-01-11 18:14:23 +02:00
Elian Doran
b2ca87d7e8
fix(docker): not running due to missing file 2025-01-11 17:59:41 +02:00
Elian Doran
25e0dc3355
fix(electron): copy dist not working due to missing lib 2025-01-11 17:04:07 +02:00
Elian Doran
a8051b06fd
chore(e2e): disable webkit for now 2025-01-11 16:36:24 +02:00
Elian Doran
e442906265
chore(e2e): fix flaky tests 2025-01-11 16:22:09 +02:00
Panagiotis Papadopoulos
6885cc1399 deps: update package-lock.json 2025-01-11 14:57:37 +01:00
Elian Doran
9db9d412d9
feat(import/markdown): preserve language tags when possible 2025-01-11 15:22:36 +02:00
Elian Doran
0e67078256
feat(export/md): rewrite JavaScript code block languages 2025-01-11 14:11:18 +02:00
Elian Doran
09f36cac00
chore(e2e): add basic test for highlights list 2025-01-11 13:52:30 +02:00
Elian Doran
1530a09dc8
chore(e2e): check katex is rendered in ToC 2025-01-11 13:41:25 +02:00
Elian Doran
b44f4e0f74
chore(e2e): add basic test for table of contents 2025-01-11 13:36:56 +02:00
Elian Doran
74b2643c28
chore(e2e): test eslint errors 2025-01-11 12:54:43 +02:00
Elian Doran
db66998107
chore(e2e): test eslint warnings 2025-01-11 12:50:36 +02:00
Elian Doran
dcc0e76e57
chore(e2e): add backend scripts with lint errors/warnings 2025-01-11 12:22:50 +02:00
Elian Doran
3f6b604b4e
chore(e2e): set TriliumNext as default theme 2025-01-11 12:20:16 +02:00
Elian Doran
703a70056b
feat(code_notes): reintroduce ESLint for server notes 2025-01-11 12:18:16 +02:00
Elian Doran
05529b84ab
chore(client/ts): port options 2025-01-11 11:45:06 +02:00
Elian Doran
7e61af1cc3
chore(client/ts): port options/text_notes 2025-01-11 11:21:14 +02:00
Elian Doran
677760282c
chore(client/ts): port options/other 2025-01-11 11:18:50 +02:00
Elian Doran
03241a8967
chore(client/ts): port options/images 2025-01-11 11:13:11 +02:00
Elian Doran
6665a8d97f
chore(client/ts): port options/codeNotes 2025-01-11 11:11:57 +02:00
Elian Doran
552cc2753f
chore(client/ts): port options/appearance 2025-01-11 11:02:22 +02:00
Elian Doran
5bfcf88acd
chore(client/ts): port options/advanced 2025-01-11 10:51:35 +02:00
Elian Doran
fcb7d9754f
Merge pull request #908 from pano9000/fix_printthis_#901
fix(styles): fix ck-editor checkboxes not showing checkmark while printing
2025-01-11 01:51:51 +02:00
Elian Doran
c94346c6b9
chore(client/ts): port widgets/buttons/launcher 2025-01-11 01:46:04 +02:00
Elian Doran
7e00b889a0
chore(client/ts): port api_log 2025-01-11 01:46:04 +02:00
Elian Doran
25cd18f6c8
Merge pull request #913 from TriliumNext/renovate/node-22.x
chore(deps): update node.js to v22.13.0
2025-01-11 01:39:33 +02:00
Elian Doran
4829d7eb14
Merge pull request #915 from TriliumNext/renovate/draggabilly-3.x
fix(deps): update dependency draggabilly to v3
2025-01-11 01:19:01 +02:00
Elian Doran
0494d4f046
Merge pull request #912 from TriliumNext/renovate/electron-33.x
chore(deps): update dependency electron to v33.3.1
2025-01-11 01:13:57 +02:00
Elian Doran
138d9a07a5
Merge branch 'develop' into renovate/draggabilly-3.x 2025-01-11 01:13:30 +02:00