Johnny
0f3c9a467d
refactor: migrate HOST roles to ADMIN
...
- Updated the isSuperUser function to only check for ADMIN role.
- Added SQL migration scripts for MySQL, PostgreSQL, and SQLite to change user roles from HOST to ADMIN.
- Created a new SQLite migration to alter the user table structure and ensure data integrity during the migration process.
2026-01-20 23:38:30 +08:00
Johnny
bc7decf642
refactor: remove unused constants
2025-10-16 20:40:46 +08:00
Johnny
7cc2df9254
chore: fix linter
2025-08-31 20:22:32 +08:00
johnnyjoy
506b477d50
fix: get user by username
2025-08-04 19:56:12 +08:00
Steven
ad2c5f0d05
refactor: store cache
2025-05-27 22:06:41 +08:00
johnnyjoy
54a48b58d7
chore: remove random field
2025-02-05 20:48:27 +08:00
Steven
cf423026a5
chore: update store cache
2024-05-12 13:19:31 +08:00
Steven
90679cc33a
chore: add explore sidebar
2024-03-29 00:01:45 +08:00
Steven
8fe6874b1b
chore: add description field to user
2024-03-13 21:24:16 +08:00
Steven
981bfe0464
feat: add version checker
2023-11-06 20:49:02 +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
fcba3ffa26
chore: move sql code of User into driver ( #2281 )
...
Move SQL code of User into Driver
2023-09-26 18:23:45 +08:00
Steven
33d9c13b7e
chore: remove openid field from user
2023-09-14 22:57:27 +08:00
Steven
93f062d0b9
chore: update user v2 api
2023-09-10 18:56:24 +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
0e05c62a3b
chore: update common utils ( #1908 )
2023-07-06 22:53:38 +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
9a8d43bf88
chore: update user store names ( #1877 )
...
* chore: update user store names
* chore: update
2023-07-02 14:27:23 +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
boojack
b34aded376
refactor: migration idp api ( #1842 )
...
* refactor: migration idp api
* chore: update
2023-06-17 22:35:17 +08:00
boojack
ea728d232d
refactor: memo store ( #1741 )
2023-05-25 21:50:37 +08:00
boojack
5c5199920e
chore: seed data for new user ( #1655 )
2023-05-13 22:25:15 +08:00
boojack
9b8d69b2dd
chore: add vacuum memo relation to dev guard ( #1644 )
...
* chore: add vacuum memo relation to dev guard
* chore: update
2023-05-09 09:02:59 +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
904a6bd97f
fix: find memo list order ( #1149 )
2023-02-24 20:34:54 +08:00
boojack
37f9c7c8d6
chore: update avatar max size ( #1109 )
2023-02-18 10:48:31 +08:00
boojack
096a71c58b
feat: add `avatar_url` field to user table ( #1106 )
...
refactor: add `avatar_url` field to user table
2023-02-17 23:55:56 +08:00
boojack
3590d3f8b6
feat: update store cache ( #1066 )
...
* feat: update store cache
* chore: update
2023-02-11 14:19:26 +08:00
boojack
f74d1b7bf8
chore: remove resource cache ( #1059 )
2023-02-10 08:43:39 +08:00
boojack
2042737004
feat: add username field ( #544 )
...
* feat: add username field
* chore: update
2022-11-23 22:27:21 +08:00
boojack
dc5d705f8c
feat: vacuum records manually ( #420 )
2022-11-06 04:21:58 +00:00
boojack
cf75054106
feat: add system setting to allow user signup ( #407 )
2022-11-03 21:47:36 +08:00
boojack
9705406b82
feat: remove foreign key and triggers ( #345 )
2022-10-26 15:00:09 +00:00
boojack
21c30ac157
chore: hide user email ( #282 )
2022-10-13 09:01:02 +08:00
steven
9f8c0ce567
fix: raw data cache
2022-10-01 10:37:02 +08:00
Steven
4608894e56
fix: add `_foreign_keys` to sqlite dsn
2022-09-18 22:48:26 +08:00
Steven
f303dc21a0
chore: add get all memo api
2022-09-05 21:14:17 +08:00
Steven
4743818fe7
chore: update not found handler in deleting
2022-09-03 18:54:22 +08:00
Steven
7d0407013e
chore: make `golangci-lint` happy
2022-08-24 21:53:12 +08:00
boojack
8c28721839
chore: use `tx` for user store
2022-08-07 09:23:46 +08:00
boojack
da333b0b1e
chore: add store cache service
2022-08-07 08:09:43 +08:00
boojack
d83f204d8c
chore: update acl middleware
2022-07-27 19:45:37 +08:00
boojack
7b1bad5b29
feat: update delete user api
2022-07-26 22:32:26 +08:00
boojack
0c2adfa1d2
feat: add delete user api
2022-07-26 21:41:20 +08:00
boojack
bdc9632b5b
chore: rename user role ( #108 )
...
* chore: rename user role to `host`
* chore: related frontend changes
* chore: fix migration file
* chore: use tricky sql
2022-07-08 22:16:18 +08:00
boojack
011fcc7dd4
chore: rename module
2022-06-27 22:09:06 +08:00
boojack
948b53393a
chore: add default `ORDER BY`
2022-05-22 12:35:57 +08:00
boojack
8e01eb8702
feat: `store/db` module with sqlite
2022-05-22 00:59:22 +08:00