summaryrefslogtreecommitdiffstats
path: root/models/user_test.go
Commit message (Collapse)AuthorAgeFilesLines
...
* 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