1666 Commits

Author SHA1 Message Date
Elian Doran
6f29bdf355
chore(dx/electron): different window icon 2025-09-01 22:25:06 +03:00
Elian Doran
ebcf4315f7
chore(dx/desktop): remote main not working in dist build 2025-09-01 21:15:17 +03:00
Elian Doran
135e2bb10e
chore(dx/desktop): get prod build 2025-09-01 20:50:22 +03:00
Elian Doran
72a256eccf
refactor(dx/server): simplify build script even further 2025-09-01 20:29:34 +03:00
Elian Doran
1e991c0526
refactor(dx/server): extract basic build commands to separate file 2025-09-01 19:36:14 +03:00
Elian Doran
978e6b9dde
chore(dx/server): unnecessary import 2025-09-01 19:22:46 +03:00
Elian Doran
35743de0df
fix(dx/client): client not starting due to duplicate config 2025-09-01 11:53:17 +03:00
Elian Doran
5cf182cf98
fix(dx/client): not serving Vite due to NODE_ENV 2025-09-01 11:50:41 +03:00
perf3ct
37d0136c50
feat(search): try to deal with huge dbs, might need to squash later 2025-09-01 04:33:10 +00:00
Elian Doran
4b9688af04
chore(dx/server): minify output 2025-08-31 23:19:07 +03:00
Elian Doran
897b896c11
chore(dx/server): fix vite interfering in production 2025-08-31 23:12:52 +03:00
Elian Doran
3600b46824
chore(dx/server): fix missing path to client 2025-08-31 23:04:18 +03:00
Elian Doran
a06f2aeb8b
chore(dx/server): trigger build of client & copy artifacts 2025-08-31 23:03:21 +03:00
Elian Doran
f3f7ff5622
chore(dx/server): copy share templates when building 2025-08-31 22:48:50 +03:00
Elian Doran
dbf016adaf
chore(dx/server): build all entrypoints with right ext 2025-08-31 22:43:21 +03:00
Elian Doran
0e5108bd08
chore(dx/server): start building & copying assets 2025-08-31 22:30:07 +03:00
Elian Doran
cf1180faa9
chore(dx/server): remove babel compacting for tiny gain in perf 2025-08-31 21:05:23 +03:00
Elian Doran
1b25275b2e
fix(dx/electron): web contents not working 2025-08-31 20:43:48 +03:00
Elian Doran
91ae9d75f7
Revert "chore(dx/server): improve asset management for DB init"
This reverts commit 42559364e46830b52093d1b6306e44ea03a0c2c7.
2025-08-31 20:31:51 +03:00
Elian Doran
42559364e4
chore(dx/server): improve asset management for DB init 2025-08-31 20:28:21 +03:00
Elian Doran
46cb869237
chore(dx/server): client paths not correct 2025-08-31 19:21:36 +03:00
Elian Doran
054c497678
chore(dx/client): improve startup speed by properly configuring middleware 2025-08-31 18:57:31 +03:00
Elian Doran
1dcb3b1529
chore(dx/server): set up cache for Vite 2025-08-31 18:28:20 +03:00
Elian Doran
cc474f39d8
chore(dx/server): basic middleware integration for vite 2025-08-31 18:24:02 +03:00
Elian Doran
63c0841c32
chore(dx/server): get server to run up to missing public server 2025-08-31 16:58:57 +03:00
Elian Doran
4739e2e3b2
chore(dx/server): remove dependency on CKEditor for now 2025-08-31 16:52:32 +03:00
Elian Doran
aa316091e6
chore(dx): fix cannot read properties of undefined if DB dir is missing 2025-08-31 16:41:03 +03:00
perf3ct
5b79e0d71e
feat(search): try to decrease complexity 2025-08-30 22:30:01 -07:00
perf3ct
053f722cb8
feat(search): try to get fts search to work in large environments 2025-08-31 03:15:29 +00:00
perf3ct
21aaec2c38
feat(search): also fix tests for new fts functionality 2025-08-30 20:48:42 +00:00
perf3ct
1db4971da6
feat(search): implement FST5 w/ sqlite for faster and better searching
feat(search): don't limit the number of blobs to put in virtual tables

fix(search): improve FTS triggers to handle all SQL operations correctly

The root cause of FTS index issues during import was that database triggers
weren't properly handling all SQL operations, particularly upsert operations
(INSERT ... ON CONFLICT ... DO UPDATE) that are commonly used during imports.

Key improvements:
- Fixed INSERT trigger to handle INSERT OR REPLACE operations
- Updated UPDATE trigger to fire on ANY change (not just specific columns)
- Improved blob triggers to use INSERT OR REPLACE for atomic updates
- Added proper handling for notes created before their blobs (import scenario)
- Added triggers for protection state changes
- All triggers now use LEFT JOIN to handle missing blobs gracefully

This ensures the FTS index stays synchronized even when:
- Entity events are disabled during import
- Notes are re-imported (upsert operations)
- Blobs are deduplicated across notes
- Notes are created before their content blobs

The solution works entirely at the database level through triggers,
removing the need for application-level workarounds.

fix(search): consolidate FTS trigger fixes into migration 234

- Merged improved trigger logic from migration 235 into 234
- Deleted unnecessary migration 235 since DB version is still 234
- Ensures triggers handle all SQL operations (INSERT OR REPLACE, upserts)
- Fixes FTS indexing for imported notes by handling missing blobs
- Schema.sql and migration 234 now have identical trigger implementations
2025-08-30 20:39:40 +00:00
Francis C
508f46af42
Translated using Weblate (Chinese (Traditional Han script))
Currently translated at 100.0% (378 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/zh_Hant/
2025-08-30 19:24:31 +02:00
Elian Doran
f7e77cd6cb
fix(auth): add missing TOTP verification for /login/token (#6823) 2025-08-30 14:08:10 +03:00
Elian Doran
a7a94789e6
chore(server/tree): improve type safety 2025-08-30 14:06:35 +03:00
Nriver
93c9383a92 fix(auth): add missing TOTP verification for /login/token to align with /login 2025-08-29 11:13:50 +08:00
Romain DEP.
7c490d8b72 fix(tree): defend against stray null values that may occur when multiple sorting overrides are defined
fixes #6820
2025-08-29 01:57:18 +02:00
Elian Doran
5f647a932d
Port small widgets to React (#6830) 2025-08-30 12:51:31 +03:00
Elian Doran
753f1dc7b6
feat(react/widgets): sql table schemas 2025-08-29 17:14:27 +03:00
Elian Doran
735e91e636
feat(react/widgets): port sql_result 2025-08-29 16:10:37 +03:00
rodrigomescua
6fa7cc8201
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (378 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/pt_BR/
2025-08-28 20:52:02 +02:00
Newcomer1989
2fff5418a9
Translated using Weblate (German)
Currently translated at 100.0% (378 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/de/
2025-08-28 20:52:01 +02:00
Elian Doran
88bbc7e8c1
Port floating buttons to React (#6811) 2025-08-28 21:01:43 +03:00
Elian Doran
a95e28c085
feat(react/floating_buttons): port backlinks 2025-08-28 18:35:37 +03:00
renovate[bot]
f24a3442fb
fix(deps): update dependency marked to v16.2.1 2025-08-28 05:05:28 +00:00
Elian Doran
3b96b5779b
fix(deps): update dependency dayjs to v1.11.14 (#6814) 2025-08-28 08:02:48 +03:00
renovate[bot]
0522024f6d
chore(deps): update dependency electron to v37.4.0 2025-08-28 02:54:57 +00:00
renovate[bot]
f27f135a61
fix(deps): update dependency dayjs to v1.11.14 2025-08-28 02:53:40 +00:00
Elian Doran
2085d1bbba
feat(react/floating_buttons): port save to note button 2025-08-27 23:14:25 +03:00
Elian Doran
f1cef44d5d
Merge remote-tracking branch 'origin/main' into react/note_context_aware
; Conflicts:
;	pnpm-lock.yaml
2025-08-27 18:30:19 +03:00
Newcomer1989
3111738700
Translated using Weblate (German)
Currently translated at 100.0% (378 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/de/
2025-08-27 10:28:44 +02:00