summaryrefslogtreecommitdiff
path: root/spec/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for PositionDouwe Maan2016-07-061-0/+341
|
* Add tests for PositionTracerDouwe Maan2016-07-061-0/+1758
|
* Add DiffNote modelDouwe Maan2016-07-062-6/+6
|
* Add Gitlab::Diff::LineMapperDouwe Maan2016-07-061-0/+137
|
* Represent DiffRefs as proper class instead of tuple arrayDouwe Maan2016-07-063-6/+5
|
* Rename MergeRequest methods that return commits or shas to be more clear and ↵Douwe Maan2016-07-062-7/+7
| | | | consistent
* Consider that a GH exists only if both `ref`, and `sha` existDouglas Barbosa Alexandre2016-07-062-14/+23
|
* Render references for labels that name contains ?, or &Douglas Barbosa Alexandre2016-07-051-0/+50
|
* Revert back to not defining a default Git access protocol.Patricio Cano2016-07-051-1/+1
|
* Default Git access protocol to `web`Patricio Cano2016-07-051-1/+1
|
* Rename `enabled_git_access_protocols` to singular.Patricio Cano2016-07-051-1/+1
|
* Add more tests to the allowed protocols featurePatricio Cano2016-07-051-0/+37
|
* Rename ENV['PROTOCOL'] to ENV['GL_PROTOCOL'] to conform to what GitLab Shell ↵Patricio Cano2016-07-052-2/+2
| | | | expects and make the `protocol` param in `GitAccess` mandatory.
* RailsCache metrics now includes fetch_hit/fetch_miss and read_hit/read_miss ↵Paco Guzman2016-07-051-0/+103
| | | | info.
* Merge branch 'refactor/ci-config-move-global-entries' into 'master' Rémy Coutable2016-07-0517-136/+657
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move global ci entries handling from legacy to new config ## What does this MR do? This MR moves responsibility of handling global CI config entries (like `image`, `services`), from legacy `GitlabCiYamlProcessor` to new CI Config ## Why was this MR needed? This is the next iteration of CI configuration refactoring ## What are the relevant issue numbers? #15060 ## Does this MR meet the acceptance criteria? - 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) See merge request !4820
| * Add minor improvements in readability in CI configrefactor/ci-config-move-global-entriesGrzegorz Bizon2016-07-043-4/+3
| |
| * Improve description of CI types node and in specsGrzegorz Bizon2016-06-301-2/+2
| |
| * Add global cache config entry to new CI configGrzegorz Bizon2016-06-2911-30/+45
| |
| * Add CI config entry location info to error messageGrzegorz Bizon2016-06-292-7/+6
| | | | | | | | This CI config entry location in configuration Hash.
| * Make it possible to set parent in CI config nodeGrzegorz Bizon2016-06-291-2/+14
| |
| * Merge branch 'master' into refactor/ci-config-move-global-entriesGrzegorz Bizon2016-06-2814-308/+608
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (352 commits) Display last commit of deleted branch in push events (!4699) add changelog add missing attribute to attr_encrypted so it is fully backwards-compatible Add "GitLab team members only" to diagram link doc: note that .gitattributes uses default branch use the conf lexer so we have highlighted comments first draft of docs support cgi style options, such as erb?parent=json move the path alias to a more appropriate location make #custom_language private appease rubocop add an alias for Snippet#path appease rubocop check the tag so that an instance will pass too fix the spec, using project.change_head Revert "bump the master sha for gitlab-test!9" bump the master sha for gitlab-test!9 add custom highlighting via .gitattributes Rename Licenses API to License Templates API Check for conflict with wiki projects when creating a new project. ...
| * | Validate interface only with CI node validatorGrzegorz Bizon2016-06-271-25/+7
| | |
| * | Add new ci config entry that handles cache configGrzegorz Bizon2016-06-272-0/+93
| | |
| * | Add ci config entry that represents array of pathsGrzegorz Bizon2016-06-241-0/+34
| | |
| * | Add ci config class that represents a boolean valueGrzegorz Bizon2016-06-241-0/+34
| | |
| * | Add ci config class that represents a key valueGrzegorz Bizon2016-06-241-0/+34
| | |
| * | Fix ci config cache validation in legacy processorGrzegorz Bizon2016-06-241-1/+14
| | |
| * | Minor refactorings in new CI configuration classesGrzegorz Bizon2016-06-231-2/+2
| | |
| * | Move CI stages configuration to new CI configGrzegorz Bizon2016-06-234-7/+88
| | |
| * | Assume that unspecified CI config is undefinedGrzegorz Bizon2016-06-235-81/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We assume that when someone adds a key for the configuration entry, but does not provide a valid value, which causes entry to be `nil`, then entry should be considered as the undefined one. We also assume this is semantically correct, this is also backwards compatible with legacy CI config processor. See issue #18775 for more details.
| * | Return default config value when entry is undefinedGrzegorz Bizon2016-06-223-31/+42
| | |
| * | Handle CI environment variables in a new CI configGrzegorz Bizon2016-06-223-3/+77
| | |
| * | Rename CI config null node entry to undefined nodeGrzegorz Bizon2016-06-222-7/+7
| | |
| * | Handle after script CI config in new classesGrzegorz Bizon2016-06-214-8/+15
| | | | | | | | | | | | | | | This also makes Script to return an array of commands instead of concatented command, which is our current direction.
| * | Handle CI services config in new CI config classesGrzegorz Bizon2016-06-213-4/+54
| | |
| * | Move CI image configuration entry to new CI configGrzegorz Bizon2016-06-212-9/+21
| | |
| * | Add image configuration entry to new ci configGrzegorz Bizon2016-06-211-0/+46
| | |
| * | Use generic type validator in new ci configurationGrzegorz Bizon2016-06-211-0/+6
| | |
* | | Merge branch 'master' into dev-masterTomasz Maczukin2016-07-0229-2056/+4169
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (98 commits) Enable Style/EmptyLines cop, remove redundant ones Update CHANGELOG Cache results from jQuery selectors to retrieve namespace name Fix import button when import fail due the namespace already been taken Fix snippets comments not displayed Fix emoji paths in relative root configurations Exclude requesters from Project#members, Group#members and User#members Upgrade Thin from 1.6.1 to 1.7.0. Many squashed commits Cache autocomplete results Upgrade Sidekiq from 4.1.2 to 4.1.4. Upgrade seed-fu from 2.3.5 to 2.3.6 use has_many relationship with events Support creating a todo on issuables via API Expose target, filter by state as string Add todos API documentation and changelog Improve the request / withdraw access button Metrics for Rouge::Plugins::Redcarpet and Rouge::Formatters::HTMLGitlab Groundwork for Kerberos SPNEGO (EE feature) Update CHANGELOG 8.9.5 for runners related fixes ...
| * | | Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-0121-26/+0
| | | |
| * | | Merge branch 'fix-relative-root-emoji-support' into 'master' Stan Hu2016-07-011-0/+15
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix emoji paths in relative root configurations ## What does this MR do? If a site specifies a relative URL root, emoji files would omit the path from the URL, leading to lots of 404s. ## Are there points in the code the reviewer needs to double check? At first, I tried to use `ActionView::Helpers::AssetUrlHelper.asset_url` since this is what it's intended to do. But this helper function is extremely slow, and it took minutes to generate the URLs for the hundreds of links needed for each emoji. ## Why was this MR needed? Because emojis were broken in relative URL installations ## What are the relevant issue numbers? #15642 ## Does this MR meet the acceptance criteria? - [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 !5027
| | * | | Fix emoji paths in relative root configurationsStan Hu2016-07-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a site specifies a relative URL root, emoji files would omit the path from the URL, leading to lots of 404s. Closes #15642
| * | | | use has_many relationship with eventsJames Lopez2016-07-011-0/+6
| | | | |
| * | | | Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into ↵James Lopez2016-07-018-6/+103
| |\ \ \ \ | | |/ / / | | | | | | | | | | fix/import-export-events
| | * | | Merge branch 'fix-external-issue-rendering' into 'master' Robert Speicher2016-06-301-0/+13
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle external issues in IssueReferenceFilter Rendering issue references such as `#1` was broken for projects using an external issues tracker. See gitlab-org/gitlab-ce#19036 See merge request !4988
| | | * | | Handle external issues in IssueReferenceFilterYorick Peterse2016-06-301-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IssueReferenceFilter will end up processing internal issue references when a project uses an external issues tracker while still using internal issue references (in the form of `#\d+`). This commit ensures that these links are rendered as external issue links, regardless of whether the project one currently views uses an internal or external issues tracker. Fixes gitlab-org/gitlab-ce#19036, gitlab-com/performance#16
| | * | | | Import from Github using Personal Access Tokens.Eric K Idema2016-06-301-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This stands as an alternative to using OAuth to access a user's Github repositories. This is setup in such a way that it can be used without OAuth configuration. From a UI perspective, the how to import modal has been replaced by a full page, which includes a form for posting a personal access token back to the Import::GithubController. If the user has logged in via GitHub, skip the Personal Access Token and go directly to Github for an access token via OAuth.
| | * | | | Merge branch 'rubocop/enable-unneeded-capital-w-cop' into 'master' Robert Speicher2016-06-301-3/+3
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable Style/UnneededCapitalW Rubocop cop ## What does this MR do? This MR enables Rubocop cop that checks if `%W[]`, which supports interpolation, is needed. ## What are the relevant issue numbers? #17478 See merge request !5010
| | | * | | | Enable Style/UnneededCapitalW Rubocop coprubocop/enable-unneeded-capital-w-copGrzegorz Bizon2016-06-301-3/+3
| | | | | | |
| | * | | | | Create (if necessary) and link the gitlab-shell secret file on the rake ↵shardsAlejandro Rodríguez2016-06-291-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | install task