gitea/models/user
ChristopherHX 08b9776970
Refactor Actions Token Access (#35688)
* use a single function to do Action Tokens Permission checks
* allows easier customization
* add basic tests
* lfs file locks should work now

---------

Signed-off-by: ChristopherHX <christopher.homberger@web.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-22 11:12:31 +07:00
..
avatar.go Fix/improve avatar sync from LDAP (#34573) 2025-06-02 10:05:47 +07:00
avatar_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
badge.go enforce explanation for necessary nolints and fix bugs (#34883) 2025-06-27 21:48:03 +07:00
block.go Add user blocking (#29028) 2024-03-04 08:16:03 +07:00
email_address.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35428) 2025-09-10 03:15:01 +07:00
email_address_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
error.go Remove unused `KeyID`. (#29167) 2024-02-14 12:50:10 +07:00
external_login_user.go allow synchronizing user status from OAuth2 login providers (#31572) 2024-07-16 20:33:16 +07:00
follow.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 +07:00
follow_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
list.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +07:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +07:00
must_change_password.go Refactor error system (#33771) 2025-03-03 05:36:10 +07:00
openid.go Refactor user package (#33423) 2025-01-29 01:14:35 +07:00
openid_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
redirect.go Another round of `db.DefaultContext` refactor (#27103) 2023-09-25 13:17:37 +07:00
redirect_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
search.go Do not mutate incoming options to RenderUserSearch and SearchUsers (#34544) 2025-05-27 19:36:02 +07:00
setting.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +07:00
setting_options.go Fix various typos in codebase (#35480) 2025-09-13 10:34:43 +07:00
setting_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
user.go Refactor Actions Token Access (#35688) 2025-10-22 11:12:31 +07:00
user_list.go Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +07:00
user_system.go Refactor Actions Token Access (#35688) 2025-10-22 11:12:31 +07:00
user_system_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +07:00
user_test.go Refactor Actions Token Access (#35688) 2025-10-22 11:12:31 +07:00
user_update.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +07:00