12723 Commits

Author SHA1 Message Date
Panagiotis Papadopoulos
1ceaafa1e8 build: move cleanupNodeModules to its own file
this is necessary, since for Docker and electron-forge, we need to run this as an extra step after copy-dist

for electron-forge: after it is done with its own "pruning", as we otherwise would need to also take care of certain electron related pruning

for Docker: as a last step in the build stage
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
cd8401089d build(copy-trilium): update list of useless deps paths
* image-q/demo -> doesn't exist anymore (and even if it did - previous cleanup step, would've removed this anyways)
* @excalidraw/excalidraw/dist/* -> updated to point to the dev folder
* boxicons -> only fonts and css folders are used, so remove the other ones
* jimp -> updated paths and removed non-existent path

fixing here for historical reasons, next step is to move these over to copy-dist.ts
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
6749d8084b build(copy-dist): add further cleanupNodeModules functionality
deleting of ts and map files from node_modules folder,
adapted from copy-trilium.sh.
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8275f3c867 build(copy-dist): execute filterableDirs cleanup in one chain 2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
a9643174cc build(copy-dist): add further folders to list of filterableDirs
same as before, but some of the modules use singular/plural, so just check for both
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
6260ea1532 build(copy-dist): add initial cleanupNodeModules functionality
adapted from copy-trilium.sh
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
bee7793d32 build(copy-trilium): remove now unnecessary package.json patching
this is not needed anymore since commit 6b9d8f0d677763f29d29abd0816b1a5d40e858c8
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8feb201d3d build(electron-forge): set prune to false
since we our own more "sophisticated" pruning during copy-dist, we need to set this to false, as otherwise build will fail
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
6fb270e4f8 build(copy-dist): copy over existing node_modules
helps avoiding downloading the packages a 2nd time during our prune stage
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
8977492981 build(copy-dist): move "pruning" to copy-dist from copy-trilium.sh 2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
1640000291 build(build-server): move "build:prepare-dist" call to build-server from copy-trilium
in preparation to get rid of the file altogether - rest of the functionality will be merged into copy-dist.ts
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
17d5fdb4b0 build(copy-dist): get rid of manual node_module copying
this is useless at the moment, as all build processes are running "npm ci --omit=dev" anyways, i.e. they will just install everything remaining again
2025-03-26 08:12:48 +01:00
Panagiotis Papadopoulos
1e713469e7 build(server): bump to latest node v22.14.0 -> fixes EBADENGINE warning
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'node-abi@4.2.0',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.18.1', npm: '10.8.2' }
npm warn EBADENGINE }
2025-03-26 08:12:22 +01:00
Panagiotis Papadopoulos
b97c28bc13 ci: bump to node v22 -> fixes EBADENGINE warning
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE   package: 'node-abi@4.2.0',
npm warn EBADENGINE   required: { node: '>=22.12.0' },
npm warn EBADENGINE   current: { node: 'v20.18.1', npm: '10.8.2' }
npm warn EBADENGINE }
2025-03-26 08:10:04 +01:00
Elian Doran
5ec3d58f6f
fix(electron): option does not exist 2025-03-26 08:30:56 +02:00
Jin
d010e6cc73 Merge branch 'develop' into feature/MFA 2025-03-26 03:56:53 +01:00
Jin
7024166fc0 feat: 🎸 Add CN translation 2025-03-26 03:55:06 +01:00
Jin
ce053323a9 feat: 🎸 Format code 2025-03-26 03:53:00 +01:00
Jin
e2ea6f96ce feat: 🎸 Add CN translation 2025-03-26 03:51:09 +01:00
Jin
4959dbf126 feat: 🎸 Improve TOTP setting page 2025-03-26 03:22:57 +01:00
renovate[bot]
e0522fcd48
fix(deps): update dependency mermaid to v11.6.0 2025-03-26 02:11:39 +00:00
Jin
979000c5c8 feat: 🎸 Fix recovery key error 2025-03-26 02:55:42 +01:00
Jin
f2a29653b2 feat: 🎸 Fix SSO login 2025-03-26 02:39:29 +01:00
Jin
d4b657e4d8 feat: 🎸 Fix import naming 2025-03-26 02:04:24 +01:00
Jin
4762287d61 feat: 🎸 Remove redundant func 2025-03-26 01:58:54 +01:00
Jin
886e63f128 feat: 🎸 Add SSO login button 2025-03-26 01:48:42 +01:00
Jin
a30695b9fb feat: 🎸 Remove redundant check auth 2025-03-26 01:36:48 +01:00
Jin
e957a17f1c feat: 🎸 Seperate auth check 2025-03-26 00:50:37 +01:00
Jin
083ee5d23b feat: 🎸 Fix TOTP not load correctly 2025-03-26 00:42:19 +01:00
Jin
8f157e04d4 feat: 🎸 Show correct login error to user 2025-03-26 00:13:56 +01:00
Jin
c1ed471403 feat: 🎸 Ask user to login if any MFA configs are changed 2025-03-26 00:04:55 +01:00
Jin
c2a6d517f0 feat: 🎸 Better naming for vars 2025-03-25 23:53:49 +01:00
Jin
1afccb4129 feat: 🎸 Fix app start error with MFA configs 2025-03-25 23:14:25 +01:00
Jin
ae794a562f feat: 🎸 Use config.ini configure 2025-03-25 22:44:59 +01:00
Jin
3fa89b2eba feat: 🎸 Remove unuse gitignore file 2025-03-25 22:32:52 +01:00
Jin
924044ae52 feat: 🎸 Remove dotenv dep 2025-03-25 22:31:07 +01:00
Jin
94cd54f17e feat: 🎸 Use ini file to configure MFA 2025-03-25 22:30:14 +01:00
Jin
8d7339b50a feat: 🎸 Use i18n for text, remove unused vars 2025-03-25 21:00:32 +01:00
Elian Doran
5148ce64ae
chore(i18n): translate missing Romanian messages 2025-03-25 21:51:40 +02:00
Elian Doran
03fd34eeb0
feat(settings/i18n): dedicated restart button 2025-03-25 21:48:02 +02:00
Elian Doran
e408cc5b10
feat(settings/i18n): hide formatting locale on non-electron 2025-03-25 21:40:35 +02:00
Elian Doran
f0b4acd15a
style(settings): present i18n settings in a different fahsion 2025-03-25 21:23:32 +02:00
Elian Doran
90794fed88
fix(electron): wrong value for --lang 2025-03-25 20:26:21 +02:00
Elian Doran
ab58671625
feat(options): restart when setting locale 2025-03-25 20:15:39 +02:00
Elian Doran
a5a7a30cd5
feat(electron): respect formatting locale 2025-03-25 20:10:19 +02:00
Elian Doran
45208c8039
chore(i18n): define electron locales for all the supported languages 2025-03-25 19:59:05 +02:00
Elian Doran
b923a23d95
feat(settings): make the formatting locale value adjustable 2025-03-25 19:56:07 +02:00
Elian Doran
c4559749f1
feat(settings): display option to adjust formatting locale 2025-03-25 19:48:07 +02:00
Elian Doran
73fc7304c7
Merge branch 'develop' into renovate/electron-forge-monorepo 2025-03-25 19:08:50 +02:00
Elian Doran
90ab31329e
Merge pull request #1507 from TriliumNext/feature/windows_signing_v3
Windows Signing
2025-03-25 17:51:12 +02:00