You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers
Antoine GIRARD 76408d50fb org/members: display 2FA members states + optimize sql requests (#7621)
* org/members: display 2FA state

* fix comment typo

* lay down UserList bases

* add basic test for previous methods

* add comment for UserList type

* add valid two-fa account

* test new UserList methods

* optimize MembersIsPublic by side loading info on GetMembers + fix integrations tests

* respect fmt rules

* use map for data

* Optimize GetTwoFaStatus

* rewrite by using existing sub func

* Optimize IsUserOrgOwner

* remove un-used code

* tests: cover empty org + fix import order

* tests: add ErrTeamNotExist path

* tests: fix wrong expected result
6 years ago
..
admin Shadow the password on cache and session config on admin panel (#7300) 6 years ago
api/v1 fix wrong email when use gitea as OAuth2 provider (#7640) 6 years ago
dev Make time diff translatable (#2057) 8 years ago
org org/members: display 2FA members states + optimize sql requests (#7621) 6 years ago
private #6946 Run hooks on merge/edit and cope with protected branches (#6961) 6 years ago
repo improve branches list performance and fix protected branch icon when no-login (#7695) 6 years ago
routes Remove settting dependency on modules/session (#7237) 6 years ago
user Fixed ineffectual assignments (#7555) 6 years ago
utils Slack webhook channel name cannot be empty or just contain an hashtag (#4786) 6 years ago
home.go Unifies pagination template usage (#6531) (#6533) 6 years ago
init.go Only check and config git on web subcommand but not others (#7236) 6 years ago
install.go Install page - Handle invalid administrator username better (#7060) 6 years ago
metrics.go routers: do not leak secrets via timing side channel (#7364) 6 years ago
swagger_json.go Swagger.v1.json template (#3572) 7 years ago