Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec/lib
AgeCommit message (Collapse)Author
2019-06-14Add basic support for AsciiDoc include directiveGuillaume Grossetie
See http://asciidoctor.org/docs/user-manual/#include-directive
2019-06-14Merge branch 'gitea_import_ignore_pull_request_comments' into 'master'Ash McKenzie
Don't import pull request comments from Gitea repos Closes #63071 See merge request gitlab-org/gitlab-ce!29521
2019-06-14Improve the gitea importer testJohn Kristensen
The changes to the tests to support ignoring Gitea pull requests comments were a bit of a hack. The suggestions provided by Ash McKenzie in gitlab-org/gitlab-ce!29521 make things a bit more flexible if any future changes need to be made to the tests. The changes made to ignore
2019-06-13Merge branch ↵Kamil Trzciński
'61157-reviewer-roulette-shouldn-t-include-the-author-as-a-possibility' into 'master' Review roulette excludes mr_author Closes #61157 See merge request gitlab-org/gitlab-ce!28886
2019-06-12Excludes MR author from Review rouletteJacopo
Excludes MR author from gitlab_ui and single_codebase Review roulette results.
2019-06-12Merge branch 'sh-update-openid-omniauth-gem' into 'master'Douglas Barbosa Alexandre
Bump omniauth_openid_connect to 0.3.1 See merge request gitlab-org/gitlab-ce!29387
2019-06-12Monitor only final statesJan Provaznik
There is no reason to monitor transition states so we ignore ready and active states. We can get ratio of completed vs failed requests from final states.
2019-06-12Moved RackTimeout observer to a different locationJan Provaznik
Because there will be similar observer for PumaWorkerKiller, it makes sense to keep both on better place.
2019-06-12Don't import pull request comments from Gitea reposJohn Kristensen
The Gitea API does not provide the following API endpoint for pull request comments: /api/v1/repos/{owner}/{repo}/pulls/comments When the importer attempts to request this endpoint it receives a '404 Not Found' error which causes the import to fail. By skipping any attempts to import pull requests comments from Gitea we can ensure that the import can complete successfully.
2019-06-11Rename `BatchCommitLoader` to `BatchLfsOidLoader`Bob Van Landuyt
Since we're not actually loading commits in that loader, but we're loading blobs with LFS oids in batch and returning only the oids.
2019-06-11Merge branch 'ignore-artifact-attirbutes-in-project-import-export' into 'master'James Lopez
Ignore legacy artifact columns in Project Import/Export Closes #63033 See merge request gitlab-org/gitlab-ce!29427
2019-06-11Ignore legacy artifact columns in Project Import/ExportShinya Maeda
Ignore some columns
2019-06-11Merge branch 'prom-api-1' into 'master'Sean McGivern
Update server API to enable switch prometheus endpoint See merge request gitlab-org/gitlab-ce!29186
2019-06-11Merge branch 'add-lfs-blob-ids-to-tree-type' into 'master'Filipa Lacerda
Add LFS blob IDs to GraphQL tree type See merge request gitlab-org/gitlab-ce!28666
2019-06-11Merge branch 'sh-fix-utf-8-encoding-resolve-conflicts' into 'master'Dmitriy Zaporozhets
Fix UTF-8 conversion issues when resolving conflicts Closes #63062 See merge request gitlab-org/gitlab-ce!29453
2019-06-11Force source and target branch to binary modeStan Hu
2019-06-11Merge branch 'allow-emoji-in-references' into 'master'Robert Speicher
Allow references to labels and milestones to contain emoji Closes #37762, #53756, and #40728 See merge request gitlab-org/gitlab-ce!29284
2019-06-11Fix UTF-8 conversion issues when resolving conflictsStan Hu
Similar to https://gitlab.com/gitlab-org/gitlab-ce/issues/63030, when the commit message in the /resolve_conflicts endpoint contains a UTF-8 character, the conversion to the Gitaly ASCII-8BIT value may flag an error. To fix this, we run `force_encoding` on the commit message. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63062
2019-06-10Avoid encoding errors for MergeToRefServiceOswaldo Ferreira
2019-06-10Add metric for measuring PumaWorkerKiller activityJan Provaznik
PumaWorkerKiller is used for periodically checking and killing workers (the biggest one) if overall memory reaches specified limit. This metric allows us to watch number of killed workers.
2019-06-10Merge branch '33064-add-labels-to-note-event-payload' into 'master'Sean McGivern
Adding labels to note event payload. Closes #33064 See merge request gitlab-org/gitlab-ce!29384
2019-06-10Adding labels to note event payload.Sujay Patel
2019-06-10Add LFS blob ID to GraphQL blob typePhil Hughes
2019-06-09Revert "Merge branch '50070-legacy-attachments' into 'master'"Stan Hu
This reverts commit fd19f887dfeeeedb483c4a4fb32f9f768e89389c, reversing changes made to abb2d4c601d796339c8d7cb0c00946696730f198.
2019-06-08Bump omniauth_openid_connect to 0.3.1Stan Hu
In https://gitlab.com/gitlab-org/gitlab-ce/issues/62208, users were seeing 404 errors when they configured their OpenID provider without a name parameter since OmniAuth would use the name `openidconnect` instead `openid_connect`. https://github.com/m0n9oose/omniauth_openid_connect/pull/23 makes the default parameter `openid_connect` so this additional initializer in GitLab is not necessary. Plus, this change enables users to use multiple OpenID Connect providers if they desire.
2019-06-07Fix migration specs using factoriesMarkus Koller
We need to stub default_git_depth and default_git_depth= because some old migrations specs try to create a record using schema before that column was introduced. The `let!` calls were executed before the `before` hook which still caused some factories to fail, so they're created in the `before` hook now as well.
2019-06-07Merge branch '62418-project-default-git-depth' into 'master'Kamil Trzciński
Add project level git depth setting Closes #59688 See merge request gitlab-org/gitlab-ce!28919
2019-06-07Merge branch '50070-legacy-attachments' into 'master'Kamil Trzciński
Migrate legacy uploads Closes #57217 See merge request gitlab-org/gitlab-ce!24679
2019-06-07Allow emoji in label and milestone referencesSean McGivern
If we put the emoji filter before the reference filters, each emoji will have a wrapper element that prevents the reference filter from detecting the presence of the emoji. As the emoji filter now runs after the reference filters, references must contain a literal emoji, not the GitLab Flavored Markdown versions (:100`, for example). A weird side-effect is that if you have a label with the 100 emoji, and a label named :100:, then trying to reference the latter will work (link to the correct label), but will render with the 100 emoji. I'm comfortable with that edge case, I think.
2019-06-07Make OpenID Connect work without requiring a nameStan Hu
If there is no name argument given, OmniAuth will try to guess the name by the class name. In https://github.com/omniauth/omniauth/blob/v1.9.0/lib/omniauth/strategy.rb#L139, `OmniAuth::Strategies::OpenIDConnect` gets translated to `openidconnect`. This leads to an immediate 404 error after clicking the login button because OmniAuth can't match the current route (/users/auth/openid_connect) against the expected one (/users/auth/openidconnect). Other providers, such as Google OAuth2, set this name as the default option within the OmniAuth Strategy. Until a fix is merged upstream, let's just set the parameter ourselves. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/62208
2019-06-07Switch errors to inherit from a base classsyasonik
Error classes associated with individual stages of dashboard processing tend to have very long names. As dashboard post-processing includes more steps, we will likely need to handle more error cases. Refactoring to have all errors inherit from a specific base class will help accommodate this and keep the code more readable.
2019-06-06Add pages domains acme ordersVladimir Shushlin
Extract acme double to helper Create ACME challanges for pages domains * Create order & challange through API * save them to database * request challenge validation We're saving order and challenge as one entity, that wouldn't be correct if we would order certificates for several domains simultaneously, but we always order certificate per domain Add controller for processing acme challenges redirected from pages Don't save acme challenge url - we don't use it Validate acme challenge attributes Encrypt private_key in acme orders
2019-06-06Merge branch ↵Dmitriy Zaporozhets
'62847-url-for-the-next-request-with-pagination-is-missing-port' into 'master' Resolve "Url for the next request with pagination is missing port" Closes #62847 See merge request gitlab-org/gitlab-ce!29267
2019-06-06Merge branch '62015-add-counterpart-tae-to-the-reviewer-roulette' into 'master'Sean McGivern
Resolve "Add counterpart TAE to the reviewer roulette" Closes #62015 See merge request gitlab-org/gitlab-ce!28678
2019-06-06Merge branch 'fix/allow-lower-case-issue-ids' into 'master'Sean McGivern
Allow lowercase prefix for Youtrack issue ids Closes #62661 See merge request gitlab-org/gitlab-ce!29057
2019-06-06Migrate legacy uploads to the project locationJarka Košanová
Uploads coming from AttachmentUploader need to be moved to the currently supported location (FileUploader)
2019-06-06Show Test Automation Engineer for spec/feature asLin Jen-Shin
reviewers.
2019-06-06Include the port in the URLs of the API Link headersRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-06-06Fix migration specs using factoriesKrasimir Angelov
We need to stub default_git_depth and default_git_depth= because some old migrations specs try to create a record using schema before that column was introduced.
2019-06-06Address rubocop errorssyasonik
2019-06-06Expose prometheus endpoint per metric in dashboardsyasonik
Adds a new stage to dashboard processesing step for the EnvironmentsController::metrics_dashboard endpoint. Allows the front end to avoid generating the endpoint unitutive string mutations.
2019-06-06Ensure that template is used onceKamil Trzciński
This adds additional test that make sure that each template name is used exactly once across all folders exposed
2019-06-06Merge branch 'ci-variable-expression-con-dis-junction' into 'master'Kamil Trzciński
CI variable expression conjunction/disjunction See merge request gitlab-org/gitlab-ce!27925
2019-06-06Merge branch 'revert-86900f00' into 'master'Grzegorz Bizon
Revert "Disable retrying cancelled jobs" Closes #62350 See merge request gitlab-org/gitlab-ce!29201
2019-06-06Add project level git depth settingKrasimir Angelov
Introduce default_git_depth in project's CI/CD settings and set it to 50. Use it if there is no GIT_DEPTH variable specified. Apply this default only to newly created projects and keep it nil for old ones in order to not break pipelines that rely on non-shallow clones. default_git_depth can be updated from CI/CD Settings in the UI, must be either nil or integer between 0 and 1000 (incl). Inherit default_git_depth from the origin project when forking projects. MR pipelines are run on a MR ref (refs/merge-requests/:iid/merge) and it contains unique commit (i.e. merge commit) which doesn't exist in the other branch/tags refs. We need to add it cause otherwise it may break pipelines for old projects that have already enabled Pipelines for merge results and have git depth 0. Document new default_git_depth project CI/CD setting
2019-06-05Merge branch '54140-non-ar-cache-commit-markdown' into 'master'Douwe Maan
Use Redis for CacheMarkDownField on non AR models Closes #54140 See merge request gitlab-org/gitlab-ce!29054
2019-06-05Merge branch 'graphql-file-entry-url' into 'master'Nick Thomas
Add web_url to tree entry in GraphQL API See merge request gitlab-org/gitlab-ce!28646
2019-06-05Merge branch '11126-fix-repository-size-check-ce' into 'master'Stan Hu
Add client code to call GetObjectDirectorySize RPC See merge request gitlab-org/gitlab-ce!28918
2019-06-05Add client code to call GetObjectDirectorySize RPCPatrick Bajao
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/13460
2019-06-05Remove requirement for id for #markdown_cache_keyPatrick Bajao
It's not needed anymore as we require `#cache_key` instead.