You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/store/db/sqlite
Steven 8770b186e4 fix: add Unicode case-insensitive search for SQLite (#5559)
Add custom memos_unicode_lower() SQLite function to enable proper
case-insensitive text search for non-English languages (Cyrillic,
Greek, CJK, etc.).

Previously, SQLite's LOWER() only worked for ASCII characters due to
modernc.org/sqlite lacking ICU extension. This caused searches for
non-English text to be case-sensitive (e.g., searching 'блины' wouldn't
find 'Блины').

Changes:
- Add store/db/sqlite/functions.go with Unicode case folding function
- Register custom function using golang.org/x/text/cases.Fold()
- Update filter renderer to use custom function for SQLite dialect
- Add test for Unicode case-insensitive search
- Make golang.org/x/text a direct dependency

Fixes #5559
4 months ago
..
activity.go chore: fix postgres stmts 2 years ago
attachment.go refactor(db): rename tables for clarity - resource→attachment, system_setting→instance_setting 5 months ago
common.go chore: impl inbox store methods 3 years ago
functions.go fix: add Unicode case-insensitive search for SQLite (#5559) 4 months ago
idp.go chore: migrate idp service 2 years ago
inbox.go test: optimize store tests performance by reusing docker image and reducing build context 5 months ago
instance_setting.go revert: revert system_setting to instance_setting rename changes 5 months ago
memo.go feat: allow setting custom timestamps when creating memos and comments 4 months ago
memo_relation.go test: optimize store tests performance by reusing docker image and reducing build context 5 months ago
reaction.go fix(security): implement security review recommendations (#5228) 7 months ago
sqlite.go fix: add Unicode case-insensitive search for SQLite (#5559) 4 months ago
user.go refactor: memo filter 8 months ago
user_setting.go refactor: user auth improvements (#5360) 5 months ago