aboutsummaryrefslogtreecommitdiffstats
path: root/models/repo_watch_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Hide unactive on explore users and some refactors (#2741)Lunny Xiao2017-10-241-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* Prevent sending emails and notifications to inactive users (#2384)David Schneiderbauer2017-09-161-9/+5
| | | | | | | | | | | | | | | | | | | | | | * Filter inactive users before sending emails or creating browser notifications Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * fix formatting issues Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * included requested changes Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com> * optimized database queries * rebasing new master and add tablenames for clarification in xorm queries * remove escaped quotationmarks using backticks Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com>
* Unit tests for repo watching (#963)Ethan Koenig2017-02-171-0/+98