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/lib
AgeCommit message (Collapse)Author
2019-01-14Merge branch 'sh-fix-gon-helper-avatar' into 'master'Rémy Coutable
Fix no avatar not showing in user selection box Closes #56268 See merge request gitlab-org/gitlab-ce!24346
2019-01-14Resolve "Add "What's new" menu item in top navigation"Brandon Labuschagne
2019-01-14Merge branch 'sh-fix-bitbucket-server-error-handling' into 'master'Rémy Coutable
Fix Bitbucket Server importer error handling Closes #56154 See merge request gitlab-org/gitlab-ce!24343
2019-01-14Merge branch 'auto-devops-kubectl-1-11-6' into 'master'Dmitriy Zaporozhets
Bump kubectl in Auto DevOps to 1.11.6 See merge request gitlab-org/gitlab-ce!24176
2019-01-13Fix no avatar not showing in user selection boxStan Hu
After upgrading to Ruby 2.5.3, we switched `URI.join` in favor of `Gitlab::Utils.append_path`. However, ActionController::Base.helpers.image_path can return a full URL if a CDN host is present. Rails provides a way to generate the full URL using the asset path, but that doesn't appear to work because `request` is nil`. Revert to the previous behavior to handle CDNs and relative URLs. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56268
2019-01-13Fix Bitbucket Server importer error handlingStan Hu
The importer would display a 500 error page if you attempted to import using a non-existent DNS entry. This commit rescues known network issues and consolidates them into BitbucketServer::Connection::ConnectionError`. The previous error handling in the paginator doesn't work because it returns a lazy collection. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56154
2019-01-11Merge branch '56110-cluster-kubernetes-api-500-error-on-post-request' into ↵Kamil Trzciński
'master' Improves restriction of multiple Kubernetes clusters via API Closes #56110 See merge request gitlab-org/gitlab-ce!24251
2019-01-11Remove releases_page feature flagShinya Maeda
We introduced releases_page feature flag. Given this feature is deemed stable, we should remove this flag before 19th.
2019-01-11Restrict multiple clusters through APIMayra Cabrera
Modifies authorize! method to accept a third param, and then use it in combination with 'add_cluster' policy to appropriately restrict adding multiple clusters Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56110
2019-01-10Fix files/blob api endpoint content dispositionFrancisco Javier López
2019-01-10Merge branch ↵Grzegorz Bizon
'55628-artifacts-from-a-job-defined-after-a-parallel-job-are-not-downloaded' into 'master' Resolve "Artifacts from a job defined after a `parallel` job are NOT downloaded" Closes #55628 See merge request gitlab-org/gitlab-ce!24273
2019-01-10Bump kubectl in Auto DevOps to latest 1.11.6Thong Kuah
Use the latest major version that will support the current clusters on GKE which is v1.10
2019-01-10Service for calling Sentry issues apiReuben Pereira
2019-01-09Add SSE-C key configuration option for Amazon S3 remote backupsPepijn Van Eeckhoudt
2019-01-09Handler regular deps next to parallelized job depsMatija Čupić
2019-01-09Merge branch 'refactor-artifact-api-endpoint' into 'master'Grzegorz Bizon
Refactor artifact api endpoint Closes #55445 See merge request gitlab-org/gitlab-ce!23582
2019-01-09Merge branch 'sh-switch-rack-request-to-actionpack' into 'master'Robert Speicher
Switch use of Rack::Request to ActionDispatch::Request See merge request gitlab-org/gitlab-ce!24199
2019-01-09Merge branch 'elastic-test-repos-ce' into 'master'Nick Thomas
Backport of elastic-test-repos from EE See merge request gitlab-org/gitlab-ce!24200
2019-01-09Backport of elastic-test-repos from EEMario de la Ossa
2019-01-09Revert "Merge branch '3062-improve-project-cache' into 'master'"Stan Hu
This reverts commit e65e184269bb27661c9a20658933e8482aa90b62, reversing changes made to 646ba2418b630710edeaac94b57d08adf2771257.
2019-01-08Merge branch 'osw-fix-bottom-expansion-diff-comment' into 'master'Douglas Barbosa Alexandre
Adjusts duplicated line when commenting on unfolded diff lines (in the bottom) Closes #56051 See merge request gitlab-org/gitlab-ce!24201
2019-01-08Adjusts duplicated line when commenting on unfolded diff linesOswaldo Ferreira
2019-01-08Merge branch 'feature/custom-helm-chart-repo' into 'master'Sean McGivern
Added feature to specify a custom Auto DevOps chart repository Closes #55791 See merge request gitlab-org/gitlab-ce!24162
2019-01-08Check if specific type of background migration are doneMark Chao
Useful for checking progress.
2019-01-08Merge branch '49231-import-issues-csv' into 'master'Douwe Maan
Import issues from CSV Closes #49231 See merge request gitlab-org/gitlab-ce!23532
2019-01-07Add table and model for error tracking settingsReuben Pereira
2019-01-07Refactor project.latest_successful_builds_for defSteve Azzopardi
`project.latest_successful_builds_for(ref)` is being used to find a single job all the time. This results into us having to call `find_by` inside of the controller which violates our CodeReuse/ActiveRecord rubocop rule. Refactor `project.latest_successful_builds_for(ref)` to `project.latest_successful_build_for(job_name, ref)` which will execute the `find_by` inside of the model. Also create `project.latest_successful_build_for!(job_name, ref)` which raises an exception instead of returning nil.
2019-01-07Merge branch 'sh-fix-issue-55914' into 'master'Rémy Coutable
Fix Bitbucket Server import only including first 25 pull requests Closes #55914 See merge request gitlab-org/gitlab-ce!24178
2019-01-07Merge branch 'include-project' into 'master'Grzegorz Bizon
Allow to include another project files Closes #53903 See merge request gitlab-org/gitlab-ce!24101
2019-01-07Allow to include files from another projectsKamil Trzciński
This adds `project:, file:, ref:` specification support.
2019-01-07Switch use of Rack::Request to ActionDispatch::RequestStan Hu
As mentioned in https://gitlab.com/gitlab-org/gitlab-ee/issues/9035#note_129093444, Rails 5 switched ActionDispatch::Request so that it no longer inherits Rack::Request directly. A middleware that uses Rack::Request to read the environment may see stale request parameters if another middleware modifies the environment via ActionDispatch::Request. To be safe, we should be using ActionDispatch::Request everywhere.
2019-01-07Fix Bitbucket Server import only including first 25 pull requestsStan Hu
The change to paginate repos in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22825 caused the paginator to stop after 25 pull requests because the limit was set to 25 if none was defined. To fix this, we should only stop if the limit has actually been set and use the limit parameter to determine the maximum number of items to process per page. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55914
2019-01-07Add tests for Release Link APIShinya Maeda
Add tests for the API and add a couple of tests Add revert revert
2019-01-07Add API for release asset linksShinya Maeda
Authorize against release not project
2019-01-07Remove caching of CSV fileHeinrich Lee Yu
Load whole file in memory to simplify code
2019-01-07Refactor upload service to return uploaderHeinrich Lee Yu
Also changes old calls to the service
2019-01-06Merge branch 'kamil-refactor-ci-builds-v5' into 'master'Grzegorz Bizon
Use BuildMetadata to store build configuration in JSONB form See merge request gitlab-org/gitlab-ce!21499
2019-01-05Merge branch 'sh-fix-multipart-uploads-failure' into 'master'Kamil Trzciński
Fix multipart attachments not uploading Closes gitlab-ee#9035 See merge request gitlab-org/gitlab-ce!24170
2019-01-05Merge branch '40473-api-support-for-kubernetes-integration' into 'master'Kamil Trzciński
Add API Support for Kubernetes integration Closes #40473 See merge request gitlab-org/gitlab-ce!23922
2019-01-05Fix multipart attachments not uploadingStan Hu
Mixing and matching the use of Rack::Request and ActionDispatch::Request in Rails 5 is bad, particularly if you have middleware that manipulates or accesses environment variables. `Gitlab::Middleware::Multipart` attempts to rewrite request parameters to the proper values (e.g. replacing `data_file` with `UploadedFile`). It does this by calling `Rack::Request#update_params`, which essentially updates `env['rack.request.form_hash']`. By changing to `ActionDispatch::Request`, the Go middleware was causing the request parameters to be stored inside `env['action_dispatch.request.request_parameters']`. Later calls to `Rack::Request#update_params` would not have any effect because it would attempt to update `env['rack.request.form_has']` instead of `env['action_dispatch.request.request_parameters']`. As a result, the controller still saw the old parameters. Since the Go middleware appears to be using `ActionDispatch::Request` for authorization methods, we can switch the multipart middleware to use it too. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/9035
2019-01-05Merge branch ↵Stan Hu
'4553-geo-hashed-storage-migration-failure-does-not-log-to-sentry-or-geo-log-well-ee' into 'master' Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8926 See merge request gitlab-org/gitlab-ce!24129
2019-01-05Include CRUD endpoints for Cluster APIMayra Cabrera
Adds the following initial CRUD endpoints for Clusters API: - GET list of clusters - GET specific cluster - POST add existing cluster (mimic of "Add cluster") - PUT update cluser - DELETE destroy cluster Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/40473
2019-01-04Added feature to specify a custom Auto DevOps chart repositorywalkafwalka
2019-01-04Track Sentry error when namespace cannot be movedValery Sizov
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/8926
2019-01-04Merge branch 'do-not-ignore-schema-conflicts' into 'master'Robert Speicher
Don't ignore conflicts in db/schema.rb See merge request gitlab-org/gitlab-ce!24152
2019-01-04Merge branch 'feature/gb/expose-ci-api-url-variable' into 'master'Douwe Maan
Expose `CI_API_V4_URL` CI/CD variable Closes #54621 See merge request gitlab-org/gitlab-ce!23936
2019-01-04Merge branch 'include-templates' into 'master'Kamil Trzciński
Include templates Closes #53445 See merge request gitlab-org/gitlab-ce!23495
2019-01-04Add config_options|variables to BuildMetadataKamil Trzciński
These are data columns that store runtime configuration of build needed to execute it on runner and within pipeline. The definition of this data is that once used, and when no longer needed (due to retry capability) they can be freely removed. They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking support for json datatype on old enough version).
2019-01-04Don't ignore conflicts in db/schema.rbYorick Peterse
It's not entirely clear to me why we were ignoring db/schema.rb in the first place, but this should not be done now that we merge CE into EE automatically. Doing so can lead to changes being thrown away in the event of a conflict, which can then lead to EE pipelines failing.
2019-01-04Merge branch 'bvl-dont-ignore-gitlab-pot-compat-check' into 'master'Yorick Peterse
Don't ingore the `gitlab.pot` in ee_compat_check See merge request gitlab-org/gitlab-ce!24151