aboutsummaryrefslogtreecommitdiffstats
path: root/models/user_test.go
Commit message (Collapse)AuthorAgeFilesLines
* feat(repo): support search repository by topic name (#4505)Bo-Yi Wu2018-09-131-2/+2
| | | | * feat(repo): support search repository by topic name
* hide issues from org private repos w/o team assignment (#4034)David Schneiderbauer2018-06-211-0/+22
|
* Cleanup models.User.HashPassword (#3334)Kim "BKC" Carlbäcker2018-01-121-6/+3
|
* Change EncodePasswd to HashPassword (#3329)Morgan Bazalgette2018-01-081-0/+39
| | | | | | * Change EncodePasswd to HashPassword * Create test+benchmark for HashPassword
* Add search mode option to /api/repo/search (#2756)Morlinest2017-10-271-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Hide unactive on explore users and some refactors (#2741)Lunny Xiao2017-10-241-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | * hide unactive on explore users and some refactors * fix test for removed Organizations * fix test for removed Organizations * fix imports * fix logic bug * refactor the toConds * Rename TestOrganizations to TestSearchUsers and add tests for users * fix other tests * fix other tests * fix watchers tests * fix comments and remove unused code
* Fix and test for delete user (#1713)Ethan Koenig2017-05-201-0/+31
| | | | | | | | * Fix and test for delete user * Run updates in batches * Unit test
* feat: Able to disable non-admin to create new organization (#927)Bo-Yi Wu2017-02-141-0/+21
|
* fix: ignore email notifications if user is not active. (#820)Bo-Yi Wu2017-02-021-0/+19