summaryrefslogtreecommitdiff
path: root/app/controllers/projects/discussions_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Enable even more frozen string in app/controllersgfyoung2018-09-251-0/+2
| | | | | | | | | | | | Enables frozen string for some vestigial files as well as the following: * app/controllers/projects/**/*.rb * app/controllers/sherlock/**/*.rb * app/controllers/snippets/**/*.rb * app/controllers/users/**/*.rb Partially addresses #47424.
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Changes tab VUE refactoringFelipe Artur2018-06-211-7/+2
|
* Adjust 404's for LegacyDiffNote discussion renderingOswaldo Ferreira2018-04-051-2/+2
|
* Refactor discussions/notes codeJan Provaznik2018-04-031-1/+1
|
* Resolve "Projects::MergeRequestsController#show is slow (implement skeleton ↵Simon Knox2018-03-131-0/+6
| | | | loading)"
* Render MR Notes with Vue with behind a cookieFatih Acet2018-02-281-6/+32
|
* Use the new check_project_feature_available! method in project controllersNick Thomas2017-06-211-5/+1
|
* Add option to start a new discussion on an MRDouwe Maan2017-04-051-1/+1
|
* Merge branch 'jej-23867-use-mr-finder-instead-of-access-check' into 'security'Douwe Maan2016-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace MR access checks with use of MergeRequestsFinder Split from !2024 to partially solve https://gitlab.com/gitlab-org/gitlab-ce/issues/23867 :warning: - Potentially untested :bomb: - No test coverage :traffic_light: - Test coverage of some sort exists (a test failed when error raised) :vertical_traffic_light: - Test coverage of return value (a test failed when nil used) :white_check_mark: - Permissions check tested - [x] :bomb: app/finders/notes_finder.rb:17 - [x] :warning: app/views/layouts/nav/_project.html.haml:80 [`.count`] - [x] :bomb: app/controllers/concerns/creates_commit.rb:84 - [x] :traffic_light: app/controllers/projects/commits_controller.rb:24 - [x] :traffic_light: app/controllers/projects/compare_controller.rb:56 - [x] :vertical_traffic_light: app/controllers/projects/discussions_controller.rb:29 - [x] :white_check_mark: app/controllers/projects/todos_controller.rb:27 - [x] :vertical_traffic_light: app/models/commit.rb:268 - [x] :white_check_mark: lib/gitlab/search_results.rb:71 - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_267_266 Memoize ` merged_merge_request(current_user)` - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_248_247 Expected side effect for `merged_merge_request!`, consider `skip_authorization: true`. - [x] https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2024/diffs#d1c10892daedb4d4dd3d4b12b6d071091eea83df_269_269 Scary use of unchecked `merged_merge_request?` See merge request !2033
* Feature: delegate all open discussions to IssueBob Van Landuyt2016-12-051-3/+1
| | | | | | | | | | | | | When a merge request can only be merged when all discussions are resolved. This feature allows to easily delegate those discussions to a new issue, while marking them as resolved in the merge request. The user is presented with a new issue, prepared with mentions of all unresolved discussions, including the first unresolved note of the discussion, time and link to the note. When the issue is created, the discussions in the merge request will get a system note directing the user to the newly created issue.
* Project tools visibility levelFelipe Artur2016-09-011-1/+1
|
* Store discussion_id on Note for faster discussion lookup.Douwe Maan2016-08-171-5/+1
|
* Address review feedbackDouwe Maan2016-08-161-1/+1
|
* Add specs for NotesController and DiscussionsControllerDouwe Maan2016-08-121-1/+1
|
* Add 'Resolved all discussions' system noteDouwe Maan2016-07-281-0/+2
|
* Backend tweaksDouwe Maan2016-07-281-2/+2
|
* Updates the text above discussions when resolving notes & discussionsPhil Hughes2016-07-271-2/+5
|
* Added resolved by users name into tooltipPhil Hughes2016-07-261-1/+3
|
* Add endpoints to resolve diff notes and discussionsDouwe Maan2016-07-251-0/+40