Steven
d0c3908168
refactor: remove deprecated Sessions and AccessTokens settings
...
- Remove ListSessions and RevokeSession RPC endpoints
- Remove Session message and SessionsSetting from UserSetting
- Remove ACCESS_TOKENS key and AccessTokensSetting
- Update references to use RefreshTokensUserSetting with its own ClientInfo
- Remove UserSessionsSection frontend component
- Clean up user store to remove session and access token settings
- Regenerate protobuf files
The system now uses:
- REFRESH_TOKENS for session management with sliding expiration
- PERSONAL_ACCESS_TOKENS for long-lived API tokens
2025-12-19 08:35:57 +08:00
Johnny
7932f6d0d0
refactor: user auth improvements ( #5360 )
2025-12-18 18:15:51 +08:00
Johnny
40e129b8af
refactor(auth): streamline session authentication and cookie handling
2025-12-16 22:23:59 +08:00
johnnyjoy
d6a75bba4c
refactor: webhook service
2025-06-24 21:28:21 +08:00
Johnny
e6e460493c
refactor: general user setting
2025-06-23 23:23:57 +08:00
Johnny
77b7fc4441
feat: implement user session
2025-06-22 12:46:13 +08:00
Steven
ad2c5f0d05
refactor: store cache
2025-05-27 22:06:41 +08:00
johnnyjoy
14c72fa7df
feat: implement shortcuts
2025-02-02 17:11:52 +08:00
Steven
b8763905ba
chore: tweak naming
2024-05-13 20:03:04 +08:00
Steven
cf423026a5
chore: update store cache
2024-05-12 13:19:31 +08:00
Steven
087f60ba7b
chore: fix user setting key checks
2024-05-11 21:14:21 +08:00
Steven
14d4cfd5a4
chore: tweak store methods name
2024-04-17 08:56:52 +08:00
Steven
d00e4fdf17
chore: retire telegram plugin
2024-04-13 12:39:41 +08:00
Steven
a77703260f
chore: fix linter
2024-04-13 02:57:32 +08:00
Steven
707e5caf89
chore: update workspace setting store
2024-04-13 02:08:35 +08:00
Steven
1c7fb77e05
chore: update user setting names
2023-12-16 12:18:53 +08:00
Steven
7fc7b19d64
chore: deprecate user setting legacy api
2023-12-08 22:41:47 +08:00
Athurg Gooth
91296257fc
chore: remove invalid access token from db ( #2539 )
...
Remove invalid access token from db
2023-11-22 23:20:45 +08:00
Steven
d474d1abd0
chore: update store cache
2023-10-05 15:17:40 +08:00
Athurg Gooth
ca98367a0a
chore: store vacuum and clean ( #2293 )
...
* Move all vacuum code into driver
* Remove db from Store
2023-09-26 20:27:31 -05:00
Athurg Gooth
14ec524805
chore: move sql code of UserSetting into Driver ( #2282 )
...
* Move SQL code of UserSetting into Driver
* Fix golang import issue
2023-09-26 19:02:48 +08:00
Steven
cd0ea6558d
chore: update golangci-lint config
2023-09-17 22:55:13 +08:00
Steven
f5802a7d82
chore: update access token ui
2023-09-15 08:18:30 +08:00
Steven
42bd9b194b
feat: impl user access token api
2023-09-14 20:16:17 +08:00
YuNing Chen
409d686f7d
chore: minor cleanup ( #2124 )
2023-08-11 22:34:08 +08:00
boojack
7c5296cf35
chore: update id type to int32 ( #2076 )
2023-08-04 21:55:07 +08:00
boojack
4c33d8d762
chore: remove unused transaction in store ( #1995 )
...
* chore: remove unused transaction in store
* chore: update
2023-07-20 23:15:56 +08:00
boojack
a7573d5705
refactor: migrate memo to apiv1 ( #1907 )
...
* refactor: migrate memo to apiv1
* chore: update
* chore: update
* chore: update
* chore: upate
* chore: update
* chore: update
2023-07-06 21:56:42 +08:00
boojack
66e65e4dc1
refactor: migrate definition to api v1 ( #1879 )
...
* refactor: user api v1
* refactor: system setting to apiv1
* chore: remove unused definition
* chore: update
* chore: refactor: system setting
* chore: update
* refactor: migrate tag
* feat: migrate activity store
* refactor: migrate shortcut apiv1
* chore: update
2023-07-02 18:56:25 +08:00
boojack
6a78887f1d
chore: update store types name ( #1862 )
2023-06-29 22:55:03 +08:00
boojack
b44f2b5ffb
chore: migrate user setting to api v1 package ( #1855 )
...
* chore: migrate to api v1 package
* chore: update
2023-06-26 23:06:53 +08:00
Athurg Gooth
1282fe732e
feat: implement telegram bot plugin ( #1740 )
2023-05-26 09:43:51 +08:00
boojack
ff8851fd9f
fix: golangci-lint version ( #1381 )
...
* chore: update interface declare
* chore: update args
* chore: update
* chore: update
2023-03-18 22:34:22 +08:00
boojack
9577f6dbe8
feat: add resource visibility to user setting ( #1190 )
2023-02-27 22:16:33 +08:00
boojack
3590d3f8b6
feat: update store cache ( #1066 )
...
* feat: update store cache
* chore: update
2023-02-11 14:19:26 +08:00
boojack
dc5d705f8c
feat: vacuum records manually ( #420 )
2022-11-06 04:21:58 +00:00
Steven
7d0407013e
chore: make `golangci-lint` happy
2022-08-24 21:53:12 +08:00
Steven
ce390f3f79
chore: add memo visibility with user setting
2022-08-19 00:00:47 +08:00
boojack
90b881502d
feat: add `user_setting` model ( #145 )
...
* feat: add `user_setting` model
* chore: add global store
* chore: update settings in web
* chore: update `i18n` example
2022-08-13 14:35:33 +08:00