Lunny Xiao and Lauris BH
6eeadb2082
Hide unactive on explore users and some refactors ( #2741 )
...
* 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
2017-10-24 20:36:19 +03:00
David Schneiderbauer and Lunny Xiao
d766d0c4e0
Prevent sending emails and notifications to inactive users ( #2384 )
...
* Filter inactive users before sending emails or creating browser notifications
Signed-off-by: David Schneiderbauer <[email protected] >
* fix formatting issues
Signed-off-by: David Schneiderbauer <[email protected] >
* included requested changes
Signed-off-by: David Schneiderbauer <[email protected] >
* optimized database queries
* rebasing new master and add tablenames for clarification in xorm queries
* remove escaped quotationmarks using backticks
Signed-off-by: David Schneiderbauer <[email protected] >
2017-09-16 08:18:25 +08:00
Morlinest and Lauris BH
8e61823ec4
Fix tests code to prevent some runtime errors ( #2381 )
...
* Fix tests code to prevent some runtime errors
* Reduce nesting
2017-08-28 12:17:45 +03:00
Ethan Koenig and Lunny Xiao
ceae143e78
Consistency checks for unit tests ( #853 )
2017-02-07 19:47:55 +08:00
Ethan Koenig and Lunny Xiao
2eb15f4a61
Unit tests and remove unused functions in models/notification ( #796 )
...
* Unit tests and remove unused functions in models/notification
* Read -> Unread
2017-01-30 22:21:49 +08:00