1097 Commits

Author SHA1 Message Date
Elian Doran
d6e6e78acc
chore(server): improve & translate DB not initialized message 2025-09-12 12:49:25 +03:00
Elian Doran
0e5e439f69
docs(help): remove clone causing small issues in hidden subtree 2025-09-12 12:43:54 +03:00
Elian Doran
fc78f68fa7
chore(server): display startup info right at the beginning 2025-09-12 12:36:59 +03:00
Elian Doran
2f6d81ce2c
chore(server): remove LLM features ready log 2025-09-12 12:34:02 +03:00
Elian Doran
08a600167a
chore(server): integrate DB size into startup info 2025-09-12 12:27:41 +03:00
Elian Doran
9779e706c5
chore(server): improve the display of the start-up information 2025-09-12 12:17:22 +03:00
Elian Doran
4041746240
chore(server): add a logo at startup 2025-09-12 09:34:00 +03:00
Jan Mareš
d1244e02db
Translated using Weblate (Czech)
Currently translated at 0.2% (1 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/cs/
2025-09-11 17:01:59 +02:00
Jan Mareš
901d1ecf4a
Added translation using Weblate (Czech) 2025-09-10 16:41:48 +02:00
donut
a9d5478bcd
Translated using Weblate (Polish)
Currently translated at 37.8% (143 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/pl/
2025-09-07 09:59:34 +02:00
Adorian Doran
97aa00e18b electron app: add an option to disable smooth scrolling 2025-09-06 19:00:45 +03:00
Elian Doran
5d8f789791
fix(desktop): background effects causing issues on Win10 2025-09-06 17:47:13 +03:00
donut
8f9b3df681
Translated using Weblate (Polish)
Currently translated at 37.3% (141 of 378 strings)

Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/pl/
2025-09-06 14:08:09 +00:00
Elian Doran
fe443c8a89
fix(next): window border cut-off on macOS 2025-09-06 17:07:56 +03:00
Elian Doran
534113b303
fix(dx/share): ckcontent for share theme not preserved 2025-09-03 21:09:56 +03:00
Elian Doran
53df7835d3
Revert "chore(dx/server): remove dependency on CKEditor for now"
This reverts commit 4739e2e3b265bd2e6f7e603bb0e380f613186d7e.
2025-09-03 20:24:23 +03:00
Elian Doran
050aa40e20
fix(dx/share): templates and script not accessible 2025-09-03 12:12:01 +03:00
Elian Doran
a56d622df7
chore(dx): address self-review 2025-09-03 10:55:40 +03:00
perf3ct
58c225237c
feat(search): try a ground-up sqlite search approach 2025-09-03 00:34:55 +00:00
perf3ct
d074841885
Revert "feat(search): try to get fts search to work in large environments"
This reverts commit 053f722cb8bcdd8c68af252704cb52fa8df0a5f1.
2025-09-02 19:24:50 +00:00
perf3ct
06b2d71b27
Revert "feat(search): try to decrease complexity"
This reverts commit 5b79e0d71ed9658e82cf050e23625370ec2ea52e.
2025-09-02 19:24:47 +00:00
perf3ct
0afb8a11c8
Revert "feat(search): try to deal with huge dbs, might need to squash later"
This reverts commit 37d0136c500897536e57eb561c881c1bc6d15890.
2025-09-02 19:24:46 +00:00
perf3ct
f529ddc601
Revert "feat(search): further improve fts search"
This reverts commit 7c5553bd4b0784e979e966501c4d9488defe90c5.
2025-09-02 19:24:45 +00:00
perf3ct
8572f82e0a
Revert "feat(search): I honestly have no idea what I'm doing"
This reverts commit b09a2c386d953e1e25f6c8681c11d58ed8e2a629.
2025-09-02 19:24:44 +00:00
Elian Doran
7fdea613ff
feat(dx/desktop): perfect way to override bettersqlite native 2025-09-02 11:50:58 +03:00
perf3ct
b09a2c386d
feat(search): I honestly have no idea what I'm doing 2025-09-01 22:29:59 -07:00
perf3ct
7c5553bd4b
feat(search): further improve fts search 2025-09-01 21:40:05 -07:00
Elian Doran
793102f3ad
chore(dx/electron): fix tray icons 2025-09-01 22:55:53 +03:00
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
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
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
897b896c11
chore(dx/server): fix vite interfering in production 2025-08-31 23:12:52 +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
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