ChaoLiu
9db3dcf0a2
fix: resolve golangci-lint violations across codebase
...
- Replace fmt.Errorf with errors.Wrapf/New for forbidigo compliance
- Add missing periods to comments for godot compliance
- Fix goimports formatting issues in multiple files
- Remove unused struct field writes in tests
- Replace unused method receivers with underscore
- Optimize single-case switch to if-else statement
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-22 12:06:13 +08:00
ChaoLiu
96e527e264
fix: improve AI settings initialization and local service support
...
- Add dedicated default constants for tag recommendation config
- Set tag recommendation enabled to false by default instead of following AI enable state
- Remove API key requirement for AI enablement to support local services like Ollama
- Simplify loadAISettingFromEnv by removing redundant tag recommendation setup
Signed-off-by: ChaoLiu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu
45bdb34612
feat: implement AI tag suggestion core logic and API
...
- Add tag suggestion service with OpenAI integration
- Add memo service API for tag recommendations
- Implement workspace tag management endpoints
- Add rate limiting and caching for AI requests
Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu
1a58d1c633
feat: add AI settings configuration
...
- Add AI settings protobuf definitions and workspace service
- Implement AI settings management in backend store
- Add AI settings UI component with localization support
- Integrate AI settings into workspace and settings page
Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
Chao Liu
f300b9499e
feat: add AI settings database migration
...
- Add ai_setting table schema for v0.26
- Support for MySQL, PostgreSQL, and SQLite databases
Signed-off-by: Chao Liu <chaoliu719@gmail.com>
2025-08-22 10:05:40 +08:00
varsnotwars
4eb5b67baf
feat: attachments by id ( #5008 )
2025-08-15 22:02:29 +08:00
varsnotwars
f4bdfa28a0
feat: filter/method for reactions by content_id ( #4969 )
2025-08-08 00:00:51 +08:00
Colin Holzman
8319516d1a
fix: boolean filters ( #4966 )
2025-08-06 21:06:15 +08:00
johnnyjoy
506b477d50
fix: get user by username
2025-08-04 19:56:12 +08:00
varsnotwars
fa2fa8a5d7
refactor: remove call to db for parent memo name ( #4947 )
2025-08-04 19:39:52 +08:00
johnnyjoy
34fb3f1514
chore: fix linter
2025-08-03 19:55:04 +08:00
Colin Holzman
aae7ec8d1f
fix: calendar filter ( #4942 )
2025-08-03 19:11:09 +08:00
Maximilian Krauß
4d6042e35f
fix(tags): ensure JSON array elements are properly formatted in SQL queries ( #4944 )
2025-08-03 19:10:59 +08:00
Andrea Marchetta
71464779dd
fix: change itemCount into an Int64 ( #4945 )
2025-08-03 19:07:17 +08:00
johnnyjoy
ed23cbc011
refactor: memo filter
2025-07-23 22:10:16 +08:00
Steven
1a75d19a89
fix: memo filter for sqlite
2025-07-22 23:39:52 +08:00
johnnyjoy
7098721617
chore: fix linter
2025-07-22 21:15:23 +08:00
johnnyjoy
e24f92b719
fix: tests
2025-07-22 21:13:24 +08:00
johnnyjoy
b55904a428
feat: support more filter factors
2025-07-22 19:18:08 +08:00
johnnyjoy
6d9770b9c8
chore: move filter to filters
2025-07-21 21:52:00 +08:00
johnnyjoy
7481fe10bf
chore: remove order by pinned
2025-07-21 21:45:10 +08:00
Johnny
40130350c5
fix: args offset for postgres
2025-07-17 00:05:07 +08:00
Steven
834f92f67c
chore: fix linter
2025-07-16 22:24:50 +08:00
Steven
0398df1d21
chore: update migrator comments
2025-07-16 21:59:37 +08:00
Johnny
3e24f8cf62
fix: seed data
2025-06-25 10:07:24 +08:00
Steven
42d1650c6d
chore: tweak auth service
2025-06-24 23:31:37 +08:00
Steven
6e1b01cb68
chore: bump version
2025-06-24 23:06:57 +08:00
johnnyjoy
d6a75bba4c
refactor: webhook service
2025-06-24 21:28:21 +08:00
jinjingroad
03399a6007
refactor: use the built-in max/min to simplify the code ( #4781 )
...
Signed-off-by: jinjingroad <jinjingroad@sina.com>
2025-06-24 07:12:02 +08:00
Johnny
e6e460493c
refactor: general user setting
2025-06-23 23:23:57 +08:00
Johnny
9b15936873
refactor: clean unused fields
2025-06-23 22:55:14 +08:00
Johnny
778a5eb184
refactor: memo filter
2025-06-23 22:38:44 +08:00
Johnny
77b7fc4441
feat: implement user session
2025-06-22 12:46:13 +08:00
Steven
9972a77d9e
refactor: memo service
2025-06-18 19:58:38 +08:00
Steven
a4920d464b
refactor: attachment service part2
2025-06-18 00:09:19 +08:00
Steven
8e8e246ab2
chore: add server tests
2025-06-17 00:29:42 +08:00
Johnny
38b6c3afb9
chore: fix linter
2025-06-15 10:27:24 +08:00
Johnny
3fd29f6493
refactor: schema migrator
2025-06-15 10:23:18 +08:00
Johnny
b942643785
chore: tweak seed data
2025-06-02 20:06:45 +08:00
Steven
f1b365f928
refactor: clean packages
2025-05-29 21:44:43 +08:00
Steven
de3e55c2e6
feat: support `now()` time functions
2025-05-28 21:18:49 +08:00
Steven
8520e30721
fix: handle type assertion safely
2025-05-27 23:44:39 +08:00
Steven
ef6f80d925
chore: fix linter
2025-05-27 23:22:32 +08:00
Steven
81ae42518e
chore: fix linter
2025-05-27 22:49:56 +08:00
Steven
ad2c5f0d05
refactor: store cache
2025-05-27 22:06:41 +08:00
Steven
b89d8f5342
feat: implement hasTaskList filter
2025-05-26 22:37:59 +08:00
johnnyjoy
f9e07a2245
feat: support update user's role
2025-05-15 19:36:15 +08:00
Steven
1f79ee575b
fix: create user with avatar url for sqlite
2025-05-14 23:45:02 +08:00
johnnyjoy
2a92baf52c
fix: filter args of postgres
2025-05-06 21:19:13 +08:00
Johnny
b94682dc4f
chore: fix linter
2025-04-12 22:16:32 +08:00