memos/store
Steven 2b19d8a969 fix(tests): update PAT tests to accept both custom and SQL errors
The PostgreSQL implementation returns 'PAT not found' when no rows match,
while SQLite/MySQL return 'sql: no rows in result set' from QueryRowContext.

Both behaviors are correct - the key fix is that PostgreSQL no longer
throws JSONB errors on missing/malformed data.

Changes:
- Update test assertions to accept either error type
- Fix comment punctuation for godot linter
- Maintain backward compatibility across all database drivers
2026-02-09 21:09:19 +08:00
..
cache fix: resolve linter warning and cache race condition 2026-01-14 23:50:37 +08:00
db fix(tests): update PAT tests to accept both custom and SQL errors 2026-02-09 21:09:19 +08:00
migration refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00
seed fix: update demo mode handling 2026-01-21 07:36:30 +08:00
test fix(tests): update PAT tests to accept both custom and SQL errors 2026-02-09 21:09:19 +08:00
activity.go chore: remove version update activity 2025-02-09 11:48:53 +08:00
attachment.go feat: implement attachment filtering functionality 2025-12-28 18:47:59 +08:00
cache.go chore: update store cache 2024-05-12 13:19:31 +08:00
common.go chore: update workspace setting store 2024-04-13 02:08:35 +08:00
driver.go refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
idp.go refactor: store cache 2025-05-27 22:06:41 +08:00
inbox.go fix(store): filter inbox notifications by message type at database level 2025-12-01 08:43:05 +08:00
instance_setting.go refactor: remove NSFW content settings from instance configuration 2025-12-29 20:13:54 +08:00
memo.go fix: clean up memo_relation and attachments when deleting memo 2026-01-12 23:18:04 +08:00
memo_relation.go fix: list memo relations 2025-04-12 22:02:13 +08:00
migrator.go refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00
reaction.go fix(security): implement security review recommendations (#5228) 2025-11-06 23:32:27 +08:00
store.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
user.go refactor: migrate HOST roles to ADMIN 2026-01-20 23:38:30 +08:00
user_setting.go refactor: remove deprecated Sessions and AccessTokens settings 2025-12-19 08:35:57 +08:00