Commit Graph

26 Commits

Author SHA1 Message Date
Robert Speicher 33b4fc315e Merge branch 'approval-required-todo' into 'master'
Add approval required todos

Ports the 'approval required' todo type from EE - https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/547

See merge request !5217
2016-07-12 19:50:33 +00:00
Sean McGivern d957d5f1aa Add approval required todos 2016-07-12 19:01:09 +01:00
Paco Guzman 244134f9c3 Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
Douwe Maan b218e82b5c Merge branch 'issuable-todo-improvements'
# Conflicts:
#	app/controllers/projects/todos_controller.rb
2016-06-18 00:42:36 +02:00
Douglas Barbosa Alexandre 2878c99005 Ensure Todos counters doesn't count Todos for projects pending delete 2016-06-17 16:17:43 -03:00
Paco Guzman f6bfa46daa Cache todo counters (pending/done)
- As todos are created/updated inside the TodoService
we repopulate the cache just there for both pending/done todos
- Todos as mark as done from the TodosController we update cache
there too
- All the added methods are kept in the User class for cohesion
2016-06-17 19:04:36 +02:00
Phil Hughes 85fab13eba Improved manual todos
Based on feedback from !4502
2016-06-17 09:01:03 +01:00
Phil Hughes 8abd7b35ff Updated TODO description 2016-06-14 08:36:07 +01:00
Phil Hughes 1e762c0609 todo title text update for manual todos 2016-06-14 08:36:07 +01:00
Robert Speicher 7edbce65b0 Add tooltips to todo target links 2016-05-30 23:05:02 -04:00
Alfredo Sumaran 77ca4a675a Make conditional a guard clause 2016-05-25 08:15:20 -04:00
Alfredo Sumaran fd0c40fc80 Address feedback
Signed-off-by: Alfredo Sumaran <alfredo@gitlab.com>
2016-05-25 08:15:20 -04:00
Alfredo Sumaran 2c8000e302 Move conditional to a method 2016-05-25 08:15:20 -04:00
Alfredo Sumaran 7586807fc3 Fix syntax 2016-05-25 08:15:20 -04:00
Alfredo Sumaran 33be8181ac Add target status 2016-05-25 08:15:20 -04: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
Douglas Barbosa Alexandre 6a238c37e0 Fix todo_target_path for todos where target was removed 2016-04-12 18:06:52 -03:00
Douglas Barbosa Alexandre 2a8858ca8a Rename `Todo#to_reference` to `Todo#target_reference`
Since we're not actually returning a todo reference.
2016-03-18 13:24:47 -03:00
Douglas Barbosa Alexandre c29da3f8ca Trigger a todo for mentions on commits page 2016-03-18 11:00:53 -03:00
Josh Frye 52c934a8eb Title attributes for activity feed 2016-03-11 10:16:44 -05:00
Josh Frye c554d0cf64 Rubocop 2016-03-10 13:29:59 -05:00
Josh Frye c8d06b7001 Set link title for todos. Closes #14042 2016-03-10 11:40:52 -05:00
Douwe Maan 42cbcb2347 "X assigned you Y" instead of "X assigned Y" 2016-02-20 12:01:55 -08:00
Douwe Maan d53ae7f14d Add "Mark all as done" button 2016-02-20 11:59:19 -08:00
Douwe Maan 57d16552ff Include 'issue'/'merge request' in link 2016-02-20 11:53:15 -08:00
Douglas Barbosa Alexandre 3d52e139b1 Rename Tasks to Todos 2016-02-20 12:39:27 -02:00