Commit graph

17 commits

Author SHA1 Message Date
Sean McGivern
11dd2348c4 Merge branch '22951-fix-todos-api-endpoint-error-for-commits' into 'master'
Fix todos API endpoint application error

Closes #22951

See merge request !9351
2017-03-01 09:59:15 +00:00
George Andrinopoulos
54c1dc675f Remove on_commit trait from todos factory 2017-02-28 15:59:52 +02:00
George Andrinopoulos
85c87be361 Add spec for todo with target_type Commit 2017-02-21 15:45:10 +02:00
Jacopo
26160459b5 Todo done clicking is kind of unusable.
The Done button will change to an Undo button and the line item will be greyed out.
Bold links will be unbolded.
The user can undo the task by clicking the Undo button.
2017-02-17 22:12:19 +01:00
Ershad Kunnakkadan
3a23639bc0
Create directly_addressed Todos when mentioned in beginning of a line 2017-02-08 21:53:34 +05:30
Jacopo
e4029070a2 Filter todos by manual add
Added the option to filter todo by Added and Pipelines
2017-01-28 23:48:36 +01:00
Robert Speicher
d0315d5393 Factories with a project association use :empty_project by default 2017-01-24 20:30:56 -05:00
Sean McGivern
d3f26be6f0 Merge branch '23524-notify-automerge-user-of-failed-build' into 'master'
Notify the user who set auto-merge when merge is not possible

Closes #23524

See merge request !8056
2017-01-19 11:05:38 +00:00
twonegatives
85e0b99471 Notify the user who set auto-merge when merge conflict occurs 2017-01-14 12:22:30 +03:00
Nick Thomas
22bbb24f28 Fix viewing "build failed" TODOs 2016-12-22 13:57:00 +00:00
Sean McGivern
d957d5f1aa Add approval required todos 2016-07-12 19:01:09 +01:00
Douglas Barbosa Alexandre
a1f224d3f7 Add Todos API 2016-07-01 10:49:34 +02:00
Sean McGivern
6b834f2cbc Create a todo on failing MR build
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.
2016-05-17 10:17:45 +01:00
Jeroen van Baarsen
f1479b56b7
Remove the annotate gem and delete old annotations
In 8278b763d9 the default behaviour of annotation
has changes, which was causing a lot of noise in diffs. We decided in #17382
that it is better to get rid of the whole annotate gem, and instead let people
look at schema.rb for the columns in a table.

Fixes: #17382
2016-05-09 18:00:28 +02:00
Douglas Barbosa Alexandre
a5bad46505 Update schema info comment on todo related files 2016-03-18 11:00:53 -03:00
Douglas Barbosa Alexandre
c29da3f8ca Trigger a todo for mentions on commits page 2016-03-18 11:00:53 -03:00
Douglas Barbosa Alexandre
3d52e139b1 Rename Tasks to Todos 2016-02-20 12:39:27 -02:00
Renamed from spec/factories/tasks.rb (Browse further)