0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-21 11:24:19 +01:00
gitea/templates/org
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
2019-08-02 12:06:27 -04:00
..
member org/members: display 2FA members states + optimize sql requests (#7621) 2019-08-02 12:06:27 -04:00
settings Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00
team fix new team 500 (#6749) 2019-04-25 17:00:34 +08:00
create.tmpl create class for inlie positioned lists (#7393) 2019-07-12 18:44:28 +01:00
header.tmpl Fix avatar URLs (#3069) 2017-12-03 19:55:13 +08:00
home.tmpl Feature - #3031 - search for org repos (#5986) 2019-02-08 11:45:43 -05:00