summaryrefslogtreecommitdiff
path: root/app/finders/todos_finder.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removes redundant pending delete checks30708-stop-using-deleted-at-to-filter-namespacesTiago Botelho2017-06-281-2/+1
|
* Fix current feature related specsTiago Botelho2017-06-281-1/+4
|
* Enable the Style/PreferredHashMethods coprc/enable-PreferredHashMethods-copRémy Coutable2017-06-021-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* ProjectsFinder should handle more optionsJacopo2017-04-061-1/+1
| | | | | | | | | | | | | | | | | | | Extended ProjectFinder in order to handle the following options: - current_user - which user use - project_ids_relation: int[] - project ids to use - params: - trending: boolean - non_public: boolean - starred: boolean - sort: string - visibility_level: int - tags: string[] - personal: boolean - search: string - non_archived: boolean GroupProjectsFinder now inherits from ProjectsFinder. Changed the code in order to use the new available options.
* Revert "Merge branch '29534-todos-performance' into 'master'"Sean McGivern2017-03-211-12/+0
| | | This reverts merge request !10076
* Todos performance: Include associations in FinderJarka Kadlecova2017-03-201-0/+12
|
* Enable Style/WordArrayDouwe Maan2017-02-231-1/+1
|
* Enable Style/MutableConstantDouwe Maan2017-02-231-1/+1
|
* remove Ability.abilitieshttp://jneen.net/2016-08-301-1/+1
|
* Merge branch 'issue_18135' into 'master' Douwe Maan2016-08-191-1/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Todos sorting dropdown Implements #18135 ![todos_sorting](/uploads/bff76827c421628134dfb8b864e47c74/todos_sorting.png) - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if you do - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) See merge request !5691
| * Todos sorting dropdownissue_18135Felipe Artur2016-08-191-1/+5
| |
* | Merge branch 'master' into 4273-slash-commandsDouwe Maan2016-08-161-11/+9
|\ \ | |/ | | | | | | # Conflicts: # app/services/issues/create_service.rb
| * Pass project IDs relation to ProjectsFinder instead of using a blockAhmad Sherif2016-08-151-3/+1
| |
| * Speed up todos queries by limiting the projects set we join withAhmad Sherif2016-08-151-10/+10
| | | | | | | | Closes #20828
* | Support slash commands in noteable description and notesRémy Coutable2016-08-131-1/+1
|/ | | | | | | | | | | | | | | | | | | | | | | | | Some important things to note: - commands are removed from noteable.description / note.note - commands are translated to params so that they are treated as normal params in noteable Creation services - the logic is not in the models but in the Creation services, which is the right place for advanced logic that has nothing to do with what models should be responsible of! - UI/JS needs to be updated to handle notes which consist of commands only - the `/merge` command is not handled yet Other improvements: - Don't process commands in commit notes and display a flash is note is only commands - Add autocomplete for slash commands - Add description and params to slash command DSL methods - Ensure replying by email with a commands-only note works - Use :subscription_event instead of calling noteable.subscribe - Support :todo_event in IssuableBaseService Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'approval-required-todo' into 'master' Robert Speicher2016-07-121-1/+1
|\ | | | | | | | | | | | | 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
| * Add approval required todosapproval-required-todoSean McGivern2016-07-121-1/+1
| |
* | Cache todos pending/done dashboard query countsPaco Guzman2016-07-121-1/+1
|/
* Expose target, filter by state as stringRobert Schilling2016-07-011-0/+21
|
* Ensure Todos counters doesn't count Todos for projects pending deleteDouglas Barbosa Alexandre2016-06-171-1/+1
|
* Manually create todo for issuablePhil Hughes2016-06-141-1/+1
| | | | | | Added a button into the sidebar for issues & merge requests to allow users to manually create todo items Closes #15045
* Reorder the todos because the use of the project finder attempts to order ↵DJ Mountney2016-06-021-2/+2
| | | | them differently
* Use the project finder in the todos finder to limit todos to just ones ↵DJ Mountney2016-06-021-1/+13
| | | | within projects you have access to.
* Move filtering todos by projects not pending deletion into a scope on the ↵DJ Mountney2016-06-021-7/+1
| | | | todo model
* Reduce the filters on the todos joins project query by being explicit about ↵DJ Mountney2016-06-021-1/+7
| | | | the join
* Ensure we don't show TODOS for projects pending deleteDJ Mountney2016-06-021-1/+1
| | | | By joining the Todos on the project table.
* Create a todo on failing MR buildSean McGivern2016-05-171-1/+1
| | | | | | | | | | | | 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.
* Rename Tasks to TodosDouglas Barbosa Alexandre2016-02-201-0/+129