summaryrefslogtreecommitdiff
path: root/app/models/todo.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove default scope from todosremove-default-scope-from-todosSean McGivern2018-03-051-6/+8
| | | | This was causing todo priority sorting to fail.
* Set todos#author_id to NOT NULL.32282-add-foreign-keys-to-todosAndreas Brandl2018-02-051-0/+1
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-3/+3
|
* Added Cop to blacklist polymorphic associationsYorick Peterse2017-06-071-1/+1
| | | | | | | | One should really use a separate table instead of using polymorphic associations. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11168 for more information.
* Improve text on todo list when the todo action comes from yourselfJacopo2017-04-281-0/+12
| | | | | | | | | | | | | | Improved todo message when an issue is assigned to yourself. - The new message when an user assign to himself an issue or a mr is: "You assigned issue xx to yourself" - The new message when an user adds a todo to himself is: "You added a todo for issue xx" - The new message when and user mention himself is: "You mentioned yourself on issue xx" - The new message when an user directly address himself is: "You directly addressed yourself on issue xx" - The new message when an user mark himself as an approver is: "You set yourself as an approver for merge request xx"
* Allow sorting by due date and label prioritySean McGivern2017-03-151-1/+7
|
* Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-3/+3
| | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
* Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-3/+3
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* Create directly_addressed Todos when mentioned in beginning of a lineErshad Kunnakkadan2017-02-081-7/+9
|
* Present TODO's list without grouping by projectOswaldo Ferreira2017-01-271-2/+2
|
* Notify the user who set auto-merge when merge conflict occurstwonegatives2017-01-141-1/+7
|
* Fix and improve `Sortable.highest_label_priority`23928-sortable-highest_label_priority-is-buggedAlejandro Rodríguez2016-10-271-1/+1
|
* Use keyword arguments on Sortable#highest_label_priorityDouglas Barbosa Alexandre2016-10-191-1/+7
|
* Fix sorting by label prioritiesDouglas Barbosa Alexandre2016-10-191-1/+1
|
* Todos sorting dropdownissue_18135Felipe Artur2016-08-191-0/+19
|
* Add approval required todosapproval-required-todoSean McGivern2016-07-121-5/+7
|
* Don't garbage collect commits that have related DB records like commentsDouwe Maan2016-07-041-0/+8
|
* Expose action_nameRobert Schilling2016-07-011-0/+11
|
* Move to helper, no instance variablesRobert Schilling2016-07-011-7/+0
|
* Add Todos APIDouglas Barbosa Alexandre2016-07-011-0/+7
|
* Manually create todo for issuablePhil Hughes2016-06-141-0/+1
| | | | | | Added a button into the sidebar for issues & merge requests to allow users to manually create todo items Closes #15045
* Create a todo on failing MR buildSean McGivern2016-05-171-2/+7
| | | | | | | | | | | | 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.
* Remove the annotate gem and delete old annotationsJeroen van Baarsen2016-05-091-18/+0
| | | | | | | | | In 8278b763d96ef10c6494409b18b7eb541463af29 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
* Refactor `Todo#target`Douglas Barbosa Alexandre2016-03-181-5/+1
|
* Rename `Todo#to_reference` to `Todo#target_reference`Douglas Barbosa Alexandre2016-03-181-1/+1
| | | | Since we're not actually returning a todo reference.
* Use `Commit#short_id` instead of `Commit.truncate_sha`Douglas Barbosa Alexandre2016-03-181-1/+1
|
* Reuse `for_commit?` on conditional validationsDouglas Barbosa Alexandre2016-03-181-2/+2
|
* Update schema info comment on todo related filesDouglas Barbosa Alexandre2016-03-181-2/+3
|
* Use todo.done without ! in the controller to mark todo as doneDouglas Barbosa Alexandre2016-03-181-1/+1
|
* Trigger a todo for mentions on commits pageDouglas Barbosa Alexandre2016-03-181-1/+28
|
* Does not raise an error when Todo is already marked as doneDouglas Barbosa Alexandre2016-02-231-1/+1
|
* "X assigned you Y" instead of "X assigned Y"Douwe Maan2016-02-201-11/+0
|
* Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-201-0/+64