Commit Graph

13 Commits (5f938c0c7870a112aa9ab65b6f4fd1f47eb34f51)

Author SHA1 Message Date
Lauris BH 0c59edaafa Update xorm to latest version and fix correct `user` table referencing in sql ()
David Schneiderbauer a93f13849c Fix not removed watches on unallowed repositories ()
Lunny Xiao f2e20c81b6 Refactor struct's time to remove unnecessary memory usage ()
* refactor struct's time to remove unnecessary memory usage

* use AsTimePtr simple code

* fix tests

* fix time compare

* fix template on gpg

* use AddDuration instead of Add
Ethan Koenig aa962deec0 Replace deprecated Id method with ID ()
David Schneiderbauer d766d0c4e0 Prevent sending emails and notifications to inactive users ()
* 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>
Andrey Nering e5c56fe30d Code style fixes
Andrey Nering a90ffffb1a Use variables for times
Andrey Nering 18952c40f8 Add copyright headers
Andrey Nering caed86fc6e Fix lint
Andrey Nering cb362513f0 Add updated_unix column on issue_watch
Andrey Nering aa6e949b3d Consider issue_watchers while sending notifications
Andrey Nering b674460748 Add watch button on issue
Andrey Nering a0d0de7233 Create issue_watch table