gitlab-org--gitlab-foss/app/models
Douwe Maan 3f6f2bbe14 Merge branch 'create-todo-on-failing-build' into 'master'
Create a todo on failing MR build

Implements #14067. I worked on this with @DouweM (any mistakes are mine).

When a build fails for a commit, create a todo for the author of the merge request that commit is the HEAD of. If the commit isn't the HEAD commit of any MR, don't do anything. If there already is a todo for that user and MR, don't do anything.

Current limitations:
- This isn't configurable by project.
- The author of a merge request might not be the person who pushed the breaking commit.
- I haven't tested this with a working CI setup, just with the unit tests below and by modifying my DB directly.


See merge request !3177
2016-05-19 21:18:22 +00:00
..
ci Merge branch 'create-todo-on-failing-build' into 'master' 2016-05-19 21:18:22 +00:00
concerns Add API endpoints for un/subscribing from/to a label 2016-05-12 22:48:09 +02:00
hooks Merge branch 'hook-docs-behavior' into 'master' 2016-05-11 16:34:00 +00:00
members Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
network
project_services Improve issue formatting in Slack service 2016-05-18 11:09:51 -05:00
.gitkeep
ability.rb Merge remote-tracking branch 'origin/master' into with-pipeline-view 2016-05-16 17:13:14 -05:00
abuse_report.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
appearance.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
application_setting.rb fix default send confirmation value 2016-05-16 16:53:11 -03:00
audit_event.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
blob.rb Properly handle bigger files 2016-04-28 21:28:39 +02:00
broadcast_message.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
commit.rb Merge branch 'ci-commit-as-pipeline' into 'master' 2016-04-21 08:10:37 +00:00
commit_range.rb
commit_status.rb Merge branch 'create-todo-on-failing-build' into 'master' 2016-05-19 21:18:22 +00:00
deploy_key.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
deploy_keys_project.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
email.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
event.rb Reduce duplication and branching logic in EventsHelper 2016-05-16 14:52:04 -05:00
external_issue.rb
forked_project_link.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
generic_commit_status.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
global_label.rb
global_milestone.rb
group.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
identity.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
issue.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
jira_issue.rb
key.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
label.rb Merge branch 'remove-annotate-gem' into 'master' 2016-05-10 09:08:30 +00:00
label_link.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
legacy_diff_note.rb Clean up LegacyDiffNote somewhat 2016-05-13 17:31:58 -05:00
lfs_object.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
lfs_objects_project.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
member.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
merge_request.rb Preserve commits/diff/comments for PRs that were merged on GitHub 2016-05-13 17:55:42 -05:00
merge_request_diff.rb Maintain commit order in MRs 2016-05-18 17:14:55 +01:00
milestone.rb Return a relation with Postgres 2016-05-16 10:25:24 +01:00
namespace.rb Merge branch 'docker-registry' into docker-registry-view 2016-05-13 17:15:01 -05:00
note.rb Add an Event's target's title to its reference link 2016-05-16 14:52:02 -05:00
notification_setting.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
oauth_access_token.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
personal_snippet.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
project.rb Merge branch 'issue_17560' into 'master' 2016-05-19 03:00:01 +00:00
project_group_link.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
project_import_data.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
project_snippet.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
project_team.rb
project_wiki.rb Use the relative url prefix for links in Wiki 2016-05-13 22:42:07 +02:00
protected_branch.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
release.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
repository.rb Extract GitHub branch formatter 2016-05-13 17:55:42 -05:00
security_event.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
sent_notification.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
service.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
snippet.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
spam_log.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
spam_report.rb
subscription.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
todo.rb Create a todo on failing MR build 2016-05-17 10:17:45 +01:00
tree.rb
user.rb Revert "Merge branch 'issues/15127' into 'master'" 2016-05-19 14:09:24 +00:00
users_star_project.rb Remove the annotate gem and delete old annotations 2016-05-09 18:00:28 +02:00
wiki_page.rb add slack notifications for wiki pages 2016-04-20 08:25:40 +08:00