0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-18 16:03:11 +01:00
gitea/models
David Schneiderbauer 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 <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>
2017-09-16 08:18:25 +08:00
..
fixtures Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
migrations Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
access.go
access_test.go
action.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
action_test.go
admin.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
admin_test.go
attachment.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
attachment_test.go
branches.go improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
consistency.go
error.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
error_oauth2.go
external_login_user.go
git_diff.go
git_diff_test.go
gpg_key.go
gpg_key_test.go
graph.go
graph_test.go
helper.go
issue.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue_comment.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
issue_comment_test.go
issue_indexer.go
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_mail.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue_milestone.go
issue_milestone_test.go
issue_stopwatch.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_stopwatch_test.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue_tracked_time.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_tracked_time_test.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
issue_user.go
issue_user_test.go
issue_watch.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
issue_watch_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
lfs.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
login_source.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
mail.go
main_test.go
models.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
models_sqlite.go
models_test.go
models_tidb.go
notification.go
notification_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
oauth2.go
org.go Fixes 500 error on dashboard when using MSSQL (#2504) 2017-09-15 09:14:06 +03:00
org_team.go improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
org_team_test.go
org_test.go
pull.go
pull_test.go Fix unit test race condition (#2516) 2017-09-15 10:54:25 +03:00
release.go
repo.go improve protected branch to add whitelist support (#2451) 2017-09-14 16:16:22 +08:00
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_editor.go
repo_issue.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
repo_list.go
repo_list_test.go
repo_mirror.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
repo_redirect.go
repo_redirect_test.go
repo_test.go
repo_unit.go Feature: Timetracking (#2211) 2017-09-12 09:48:13 +03:00
repo_watch.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
repo_watch_test.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
ssh_key.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
ssh_key_test.go
star.go
star_test.go
status.go Display commit status on landing page of repo (#1784) 2017-09-14 14:51:31 +08:00
status_test.go
test_fixtures.go
token.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
token_test.go
twofactor.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
unit.go
unit_tests.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
update.go
update_test.go
user.go Prevent sending emails and notifications to inactive users (#2384) 2017-09-16 08:18:25 +08:00
user_follow.go
user_follow_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go
webhook.go Use created & updated instead BeforeInsert & BeforeUpdate (#2482) 2017-09-13 08:18:22 +03:00
webhook_discord.go
webhook_slack.go
webhook_test.go
wiki.go
wiki_test.go