summaryrefslogtreecommitdiffstats
path: root/models/fixtures/org_user.yml
Commit message (Collapse)AuthorAgeFilesLines
* org/members: display 2FA members states + optimize sql requests (#7621)Antoine GIRARD2019-08-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Remove IsOwner, NumTeams from OrgUser (#3269)Ethan Koenig2018-01-081-14/+0
|
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | * Add repo type option to /api/repo/search * Add tests and fix result of collaborative filter in specific condition * Fix/optimize search & tests * Improve integration tests * Fix lint errors * Fix unit tests * Change and improve internal implementation of repo search * Use NonexistentID * Make search api more general * Change mirror and fork search behaviour * Fix tests & typo in comment
* Fix repository search function (#2689)Morlinest2017-10-171-0/+8
| | | | | | | | | | | | | | | | * Fix and remove FIXME * Respect membership visibility * Fix/rewrite searchRepositoryByName function * Add unit tests * Add integration tests * Remove Searcher completely * Remove trailing space
* Expand fixtures (#2571)Morlinest2017-09-221-0/+8
| | | | | | | | | | * Add more repo search tests * Add and fix /api/repo/search integration tests * Add owner to access table for organization repositories * Remove tests
* Unit tests and bug fix for models/orgEthan Koenig2017-01-271-0/+24
|
* Unit tests for models/access.go (#606)Ethan Koenig2017-01-081-0/+7