summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into issue_12658Douwe Maan2016-03-216-6/+115
|\ | | | | | | | | | | | | | | | | # Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
| * Merge branch 'master' into 2489-soft-delete-issuesZeger-Jan van de Weg2016-03-213-1/+97
| |\
| | * Do not rewrite reference if already a cross referenceGrzegorz Bizon2016-03-211-2/+4
| | |
| | * Find referable for each ref found in references rewriterGrzegorz Bizon2016-03-201-10/+4
| | |
| | * Rename reference unfolder to rewriter, minor refactoringsGrzegorz Bizon2016-03-201-16/+16
| | |
| | * Update reference unfolder according to recent ability changesGrzegorz Bizon2016-03-191-2/+3
| | | | | | | | | | | | | | | Commit 43d8bdb4f048cbeb5675ed9120cb1aeb415b9586 introduced additional checks for permissions to read issue in references extractor.
| | * Merge branch 'master' into feature/issue-moveGrzegorz Bizon2016-03-1910-10/+102
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (121 commits) Dedupe labels in labels selector in Dashboard pages Refactor colors and lists Add a safeguard in MergeRequest#compute_diverged_commits_count Fix an issue when the target branch of a MR had been deleted Add avatar to issue and MR pages header Cleanup somce css colors Re-group scss variables Refactor `Todo#target` Fixes issue with filter label missing on labels & milestones Rename `Todo#to_reference` to `Todo#target_reference` Fixed failing tests Updated controller with before_action Fixed other issues based on feedback Fixes issue on dashboard issues Full labels data in JSON Fixed issue with labels dropdown getting wrong labels Update CHANGELOG Use `Note#for_project_snippet?` to skip notes on project snippet Use `Commit#short_id` instead of `Commit.truncate_sha` Reuse `for_commit?` on conditional validations Update schema info comment on todo related files ... Conflicts: app/models/issue.rb db/schema.rb spec/models/issue_spec.rb
| | * | Improvements in issue move feaure (refactoring)Grzegorz Bizon2016-03-192-19/+16
| | | | | | | | | | | | | | | | According to endbosses' suggestions.
| | * | Add minor improvements in code related to issue moveGrzegorz Bizon2016-03-171-3/+24
| | | |
| | * | Add implementation of reference unfolder using banzaiGrzegorz Bizon2016-03-172-5/+49
| | | |
| | * | Move reference unfolder for GFM to separate classGrzegorz Bizon2016-03-174-64/+38
| | | |
| | * | Do not unfold non-referables when moving an issueGrzegorz Bizon2016-03-171-0/+2
| | | |
| | * | Use internal reference extractor in banzai unfold pipelineGrzegorz Bizon2016-03-172-21/+27
| | | |
| | * | Add reference unfold pipeline used when moving issueGrzegorz Bizon2016-03-172-0/+55
| | | |
| * | | Minor improvements on IssuableActionsZeger-Jan van de Weg2016-03-212-10/+4
| | | |
| * | | minor improvements and fixed specsZeger-Jan van de Weg2016-03-193-6/+5
| | | |
| * | | Dry destroy action on issuablesZeger-Jan van de Weg2016-03-191-2/+3
| | | |
| * | | Soft delete issuablesZeger-Jan van de Weg2016-03-192-2/+21
| | |/ | |/|
* | | Fix specsDouwe Maan2016-03-201-4/+0
| | |
* | | Tweaks, refactoring, and specsDouwe Maan2016-03-202-1/+3
| | |
* | | Merge branch 'master' into issue_12658Douwe Maan2016-03-2012-10/+103
|\ \ \ | |/ /
| * | Merge branch 'confidential-issues' into 'master' Douwe Maan2016-03-184-5/+13
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add confidential issues Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/3678 More information: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/227 See merge request !3282
| | * | Restrict access to confidential issues on search resultsDouglas Barbosa Alexandre2016-03-172-4/+6
| | | |
| | * | Restrict access to confidential issues through APIDouglas Barbosa Alexandre2016-03-171-1/+2
| | | |
| | * | Restrict access to references for confidential issuesDouglas Barbosa Alexandre2016-03-171-0/+5
| | | |
| * | | Show a notice for diffs that are too largehide-large-diffsYorick Peterse2016-03-181-0/+4
| |/ / | | | | | | | | | | | | | | | | | | This builds on the changes introduced in https://gitlab.com/gitlab-org/gitlab_git/merge_requests/72 and results in merge requests with large diffs (e.g. due to them containing minified CSS) loading much faster.
| * | Merge branch 'artem-forks/gitlab-ce-nginx-rel-url'Jacob Vosmaer2016-03-172-2/+19
| |\ \
| | * | Do not serve anything via nginx as we have workhorseArtem Sidorenko2016-03-112-2/+19
| | | | | | | | | | | | | | | | | | | | Otherwise this might 'hide' problems https://github.com/gitlabhq/gitlabhq/issues/10053#issuecomment-188919319
| * | | Merge branch 'patch/refactor-post-receive' into 'master' Douwe Maan2016-03-171-0/+60
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PostReceive refactor Back-ported PostReceive refactor made for https://gitlab.com/gitlab-org/gitlab-ee/issues/367 in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/267 See merge request !3264
| | * | | Back-porting PostReceive refactor made for EE 🍺Gabriel Mazetto2016-03-171-0/+60
| | | | |
| * | | | Merge branch '4009-external-users' into 'master' Douwe Maan2016-03-172-3/+6
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | External Users The user has the rights of a public user execpt it can never create a project, group, or team. Also it cant view internal projects. Partially fix for both #4009 and #13938 (except the LDAP sync or a pattern to detect external users) ![Screen_Shot_2016-03-14_at_22.02.52](/uploads/486a84ab3acb98c6cfb71a4ec7d268e2/Screen_Shot_2016-03-14_at_22.02.52.png) See merge request !3171
| | * | | Add missing API docs on external userAchilleas Pipinellis2016-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | [ci skip]
| | * | | API support for setting External flag on existing usersZeger-Jan van de Weg2016-03-171-1/+2
| | | | |
| * | | | Follow the CSS Style Guide rules for unitless zero values.connorshea2016-03-161-0/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Updated Emoji Rake task to conform to style guide. Discussed in #14299. [ci skip]
| * | | Return an empty Array when there aren't lines to parse.Rubén Dávila2016-03-151-0/+2
| | | |
| * | | Merge branch 'master' into git-2-7-3Douwe Maan2016-03-154-10/+43
| |\ \ \
| * | | | Bump Git version requirement to 2.7.3Douwe Maan2016-03-151-1/+1
| | | | |
* | | | | Improve group visibility level featureZeger-Jan van de Weg2016-03-182-3/+3
| | | | |
* | | | | Code fixesFelipe Artur2016-03-172-8/+6
| | | | |
* | | | | Merge 4009-external-users into issue_12658Felipe Artur2016-03-1620-64/+278
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge branch 'master' into 4009-external-users4009-external-usersZeger-Jan van de Weg2016-03-154-10/+43
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Merge branch 'css-style-guide' into 'master' Jacob Schatz2016-03-151-0/+10
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CSS style guide Working towards what was discussed in #13552, this adds the [SCSS Linter gem](https://github.com/brigade/scss-lint) for style guide conformity in CI. TODO: - [x] Agree on and write SCSS Style Guide Documentation. - [x] Document the `scss-lint` config file. - [x] Figure out how best to run this in CI, right now it's taking longer than I would think it should. - [x] Use CSSComb for auto-correction (Maybe just include a CSSComb config file and have developers run the node package manually if they're interested in using it?). My logic for not using CSSComb in the first place is that, AFAIK, we don't currently require Node/NPM, even in the dev environment. Maybe I'm wrong about that? `scss-lint` is a Ruby implementation of a similar concept, but it doesn't include autocorrect. Is there a way we can run get GitLab CI to run `scss-lint` without having to put together the full GitLab application? Seeing as it's just static analysis, it seems like a waste of time/resources. /cc @jschatz1 @rspeicher See merge request !3069
| | | * | | Add SCSS Lint, CSSComb config file, run SCSS Lint in GitLab CI, add ↵connorshea2016-03-141-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documentation for SCSS Style Guide. See !3069 for more information.
| | * | | | Merge branch 'rs-issue-14220' into 'master' Douwe Maan2016-03-151-2/+7
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Be more intelligent about sanitizing links with unsafe protocols This prevents false matches on relative links like `[database](database.md)`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14220 See merge request !3210
| | | * | | | Be more intelligent about sanitizing links with unsafe protocolsrs-issue-14220Robert Speicher2016-03-141-2/+7
| | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This prevents false matches on relative links like `[database](database.md)`. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14220
| | * | | | Merge branch 'fix-commit-status-rendering' into 'master' Robert Speicher2016-03-151-7/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleanup Ci::Commit, Ci::Build and CommitStatus views This MR tries to do first sweep of cleanups to Ci::Commit and Ci::Build objects removing all view-related functions and fixing the API from other side. Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/6046 See merge request !2760
| | | * | | | Cleanup CiCommit and CiBuildKamil Trzcinski2016-03-141-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove all view related methods from Ci::Build and CommitStatus - Remove unused Ci::Commit and Ci::Build methods - Use polymorphism to render different types of CommitStatus
| | * | | | | Merge branch 'gitlab-ci-yaml-updates' into 'master' Douwe Maan2016-03-141-1/+26
| | |\ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New CI YAML features This introduces a couple of small `.gitlab-ci.yml` features: 1. Documentation for: Allow to use YAML anchors when parsing the `.gitlab-ci.yml`: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2958 2. Ignore jobs that start with `.` 3. Allow to pass name of created artifacts archive in `.gitlab-ci.yml` 4. Allow to define on which builds the current one depends on These are really small changes so it makes not sense to create a separate merge requests for them. @axil Could you review the documentation part? The implementation on GitLab Runner side: https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/113. Fixes: https://gitlab.com/gitlab-org/gitlab-ce/issues/13755 https://gitlab.com/gitlab-org/gitlab-ce/issues/14211 https://gitlab.com/gitlab-org/gitlab-ce/issues/3423 cc @grzesiek @axil @DouweM See merge request !3182
| | | * | | | Merge branch 'master' into gitlab-ci-yaml-updatesAchilleas Pipinellis2016-03-127-39/+63
| | | |\ \ \ \
| | | * \ \ \ \ Merge remote-tracking branch 'origin/master' into gitlab-ci-yaml-updatesKamil Trzcinski2016-03-111-1/+1
| | | |\ \ \ \ \ | | | | | |_|_|/ | | | | |/| | | | | | | | | | | | | | | | | | | # Conflicts: # spec/lib/ci/gitlab_ci_yaml_processor_spec.rb