summaryrefslogtreecommitdiff
path: root/app/controllers/projects
Commit message (Collapse)AuthorAgeFilesLines
* Fixed issue with assignee object not being returnedPhil Hughes2016-04-222-2/+2
| | | | Closes #15515
* Merge branch 'rs-diff_view' into 'master' Rémy Coutable2016-04-221-2/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always read diff_view setting from the cookie Prior, when the user had their view set to "parallel" and then visited a merge request's changes tab _without_ passing the `view` parameter via query string, the view would be parallel but the `Notes` class was always instantiated with the default value from `diff_view` ("inline"), resulting in broken markup when the form to add a line note was dynamically inserted. The cookie is set whenever the view is changed, so this value should always be up-to-date. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14557 and https://gitlab.com/gitlab-org/gitlab-ce/issues/15285 See merge request !3732
| * Clarify that the diff view setting always comes from the cookiers-diff_viewRobert Speicher2016-04-191-2/+1
| | | | | | | | This invalidates one test, which we've removed.
* | Merge branch 'label-text-color-sidebar' into 'master' Robert Speicher2016-04-212-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | Fixes text color on labels in sidebar Previously the labels in the sidebar would just have `#FFF` text color which could cause problems with a light background color. With this, the text color comes from the JSON. See merge request !3846
| * | Fixes text color on labels in sidebarPhil Hughes2016-04-212-2/+2
| | |
* | | Merge branch 'remove-update-files' into 'master' Yorick Peterse2016-04-212-2/+0
|\ \ \ | | | | | | | | | | | | | | | | Removed JS update templates See merge request !3814
| * | | Removed JS update templatesremove-update-filesPhil Hughes2016-04-192-2/+0
| | | |
* | | | Merge branch 'issue_5838' into 'master' Rémy Coutable2016-04-211-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show project members only for members fixes #5838 See merge request !3752
| * | | | Remove unused authorization from controllerFelipe Artur2016-04-201-5/+0
| | | | |
| * | | | Show project members only for membersFelipe Artur2016-04-181-1/+6
| |/ / /
* | | | Merge branch 'ci-commit-as-pipeline' into 'master' Kamil Trzciński2016-04-212-5/+11
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci::Commit becomes a Pipeline object 1. Ci::Commit receives context: ref, :tag. 1. One Ci::Commit describes a one Pipeline 1. Pipeline is created from `.gitlab-ci.yml` 1. Pipeline is a ordered group of builds 1. We test MR against Pipeline 1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future) 1. We add a Pipeline Hook that will be triggered on Pipeline status change (future) 1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future) After merging that I'll prepare a separate MR that will unify naming, database columns, table names: ``` Ci::Commit -> Pipeline Ci::Build -> Build CommitStatus -> Job GenericCommitStatus -> ExternalJob ci_commits -> pipelines ci_builds -> jobs ``` This MR implements first 5 points. This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149. See merge request !3653
| * \ \ \ Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineci-commit-as-pipelineKamil Trzcinski2016-04-191-4/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * \ \ \ \ Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski2016-04-161-12/+32
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | # Conflicts: # db/schema.rb
| * | | | | Optimise Merge Request builds renderingKamil Trzcinski2016-04-131-2/+0
| | | | | |
| * | | | | Cleanup changesKamil Trzcinski2016-04-131-0/+0
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski2016-04-134-3/+19
| |\ \ \ \ \
| * \ \ \ \ \ Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski2016-04-111-3/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # app/views/projects/commits/_commit.html.haml
| * | | | | | | Fix specsKamil Trzcinski2016-04-111-2/+6
| | | | | | | |
| * | | | | | | Use Ci::Commit as PipelineKamil Trzcinski2016-04-113-3/+7
| | | | | | | |
* | | | | | | | Add due_date:time field to Issue modelMehmet Beydogan2016-04-201-1/+1
| |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add due_date text field to sidebar issue#show Add ability sorting issues by due date ASC and DESC Add ability to filtering issues by No Due Date, Any Due Date, Due to tomorrow, Due in this week options Add handling issue due_date field for MergeRequest Update CHANGELOG Fix ambigous match for issues#show sidebar Fix SCREAMING_SNAKE_CASE offenses for due date contants Add specs for due date sorting and filtering on issues
* | | | | | | Merge branch 'multi-filter-labels' into 'master' Jacob Schatz2016-04-202-4/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mutliple label filter Fixes #989 See merge request !3438
| * | | | | | | Label text color comes from JSONPhil Hughes2016-04-202-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Created issuable singleton to house the filtering
| * | | | | | | get the multi filter labels feature to work on merge request, also escape ↵Arinde Eniola2016-04-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters in the templates to prevent xss attack
| * | | | | | | Filter by multiple labels with little animation.Jacob Schatz2016-04-131-2/+3
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge branch 'slack_wiki_notifications' into 'master' Rémy Coutable2016-04-202-15/+4
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add slack notifications for wiki pages ## What does this MR do? Lets the Slack service be configured to send notifications when wiki pages are created or edited. ## Are there points in the code the reviewer needs to double check? I'm just starting to get familiar with the Gitlab codebase and I was unsure on how to get the wiki page url to pass it to the slack message, on whether or not I needed to refactor the create/update methods for wiki pages from the controller to a service (but seemed necessary to test it better), and if I needed to add a column to the web hooks table or if the services table would have been enough. Please let me know if I should change anything and I will improve the MR, thanks for checking :) ## Why was this MR needed? Related to #563 and fixes #4233. See merge request !2998
| * | | | | | | improve check if wiki page is persistedSebastian Klier2016-04-201-1/+1
| | | | | | | |
| * | | | | | | remove unnecessary methodsSebastian Klier2016-04-201-11/+0
| | | | | | | |
| * | | | | | | add slack notifications for wiki pagesSebastian Klier2016-04-202-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update changelog
* | | | | | | | Use Rails-way to send file by X-SendfileTomasz Maczukin2016-04-191-5/+2
| | | | | | | |
* | | | | | | | Add feature specs for raw traceTomasz Maczukin2016-04-191-1/+1
| | | | | | | |
* | | | | | | | Switch raw trace to use X-Sendfile headerTomasz Maczukin2016-04-191-3/+6
| | | | | | | |
* | | | | | | | Add raw trace output for GitLab WorkhorseTomasz Maczukin2016-04-191-1/+9
|/ / / / / / /
* | | | | | | Merge branch 'pmq20/gitlab-ce-issue_12785'Douwe Maan2016-04-191-13/+17
|\ \ \ \ \ \ \
| * | | | | | | Add support to cherry-pick any commitP.S.V.R2016-04-181-13/+17
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/12785 Merge Request: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3514
* | | | | | | Merge branch '14566-confidential-issue-branches' into 'master' Robert Speicher2016-04-191-4/+1
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sanitize branch names for confidential issues - When creating new branches for confidential issues, prefer a branch name like `issue-15` to `some-sensitive-issue-title-15`. - The behaviour for non-confidential issues stays the same. Closes #14566 See merge request !3671
| * | | | | | Remove unused variable in `IssuesController`.Timothy Andrew2016-04-181-2/+0
| | | | | | |
| * | | | | | Merge remote-tracking branch 'origin/master' into ↵Timothy Andrew2016-04-152-11/+29
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | 14566-confidential-issue-branches
| * | | | | | Merge remote-tracking branch 'origin/master' into ↵Timothy Andrew2016-04-133-2/+19
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 14566-confidential-issue-branches
| * | | | | | | Refactor `Issue#related_branches`Timothy Andrew2016-04-121-1/+1
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Previously, the controller held the logic to calculate related branches, which was: `<branches ending with `issue.iid`> - <branches with a merge request referenced in the current issue>` - This logic belongs in the `related_branches` method, not in the controller. This commit makes this change. - This means that `Issue#related_branches` now needs to take a `User`. When we find the branches that have a merge request referenced in the current issue, this is limited to merge requests that the current user has access to. - This is not directly related to #14566, but is a related refactoring.
* | | | | | | Use guard clause to check ability to share projectGrzegorz Bizon2016-04-191-7/+4
| | | | | | |
* | | | | | | Refactor method that shares project with a groupGrzegorz Bizon2016-04-191-4/+3
| | | | | | |
* | | | | | | Check permissions when sharing project with groupGrzegorz Bizon2016-04-191-4/+10
| |_|_|/ / / |/| | | | | | | | | | | | | | | | | Closes #15330
* | | | | | Merge branch 'assign-to-issuable-opener' into 'master' Jacob Schatz2016-04-151-2/+2
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issuable can be assigned to author Closes #9014 The only difference with #9014 is that I thoughed the author should also be able to assign the issue. If this is unwanted behavior Ill revert it. /cc @DouweM See merge request !2765
| * | | | | Merge branch 'master' into assign-to-issuable-openerZeger-Jan van de Weg2016-04-151-3/+8
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into assign-to-issuable-openerZeger-Jan van de Weg2016-04-053-10/+19
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'master' into assign-to-issuable-openerZeger-Jan van de Weg2016-03-2920-109/+241
| |\ \ \ \ \ \ \
| * | | | | | | | Issuable can be assigned to authorZeger-Jan van de Weg2016-02-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #9014 The only difference with #9014 is that I thoughed the author should also be able to assign the issue. If this is unwanted behavior Ill revert it.
* | | | | | | | | Load related MRs/branches asynchronouslyYorick Peterse2016-04-131-10/+30
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently this works by loading the HAML partials via XHR. While this is not the nicest setup it _is_ the easiest setup using the tools we currently have. Loading this data asynchronously doesn't make loading the related MRs/branches itself faster, it merely ensures that loading the issue itself is not slowed down. Fixes gitlab-org/gitlab-ce#14949
* | | | | | | | Merge branch 'rs-archive-cache-worker-cron' into 'master' Dmitriy Zaporozhets2016-04-131-1/+0
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move RepositoryArchiveCacheWorker to sidekiq-cron Closes #15105 See merge request !3663
| * | | | | | | Move RepositoryArchiveCacheWorker to sidekiq-cronrs-archive-cache-worker-cronRobert Speicher2016-04-121-1/+0
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | Closes #15105