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-15Merge branch '11-7-stable' from GitLab.orgYorick Peterse
2019-01-15Merge branch 'security-2770-verify-bundle-import-files-11-7' into ↵Yorick Peterse
'security-11-7' [11.7] Validate bundle files before unpacking them See merge request gitlab/gitlabhq!2773 (cherry picked from commit 3f631ca5d24533e2d90617e1fa0a510268c35b1c) 74f447d1 Validate bundle files before unpacking them
2019-01-15Merge 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 (cherry picked from commit 8285205815ccdb25238fcae1c1e91063a46f19b0) 2265ce34 Fix no avatar not showing in user selection box
2019-01-15Merge branch 'remove-releases_page-feature-flag' into 'master'Kamil Trzciński
Remove `releases_page` feature flag Closes #56072 See merge request gitlab-org/gitlab-ce!24215 (cherry picked from commit b682a6f8981d303e7ee7ecc4273768ee6ed66864) 9b823af4 Remove releases_page feature flag
2019-01-09Merge branch 'sh-revert-mr-23135' into 'master'Robert Speicher
Revert "Merge branch '3062-improve-project-cache' into 'master'" Closes #56103 See merge request gitlab-org/gitlab-ce!24244 (cherry picked from commit a0aca3ac3a4ef56429104c27cd03ce00dcaeafce) e884795e Revert "Merge branch '3062-improve-project-cache' into 'master'"
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-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-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-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
2019-01-04Improve readablity of CI_API_V4_URL related codeGrzegorz Bizon
2019-01-04Don't ingore the `gitlab.pot` in ee_compat_checkBob Van Landuyt
If there are new strings in CE, they need to be added to EE manually. As the `locale/gitlab.pot` file can't be merged automatically during the upstream merge.
2019-01-04Allow to include templatesKamil Trzciński
This rewrites a syntax to allow include of templates. This also normalises the syntax used by include: feature
2019-01-04Add unique constraint to release and urlShinya Maeda
Fix coding style Improve coding style Decouple UPDATE and DELETE operations of asset links Rename links_attributes to assets:links Rename exposed param and updated spec
2019-01-04Support CURD operation for release asset linksShinya Maeda
- Add Releases::Links model - Expose it in release API - Add integration tests
2019-01-04Merge branch ↵Kamil Trzciński
'49056-configure-auto-devops-deployed-applications-with-secrets-that-aren-t-committed-to-the-repo' into 'master' Configure Auto DevOps deployed applications with secrets from prefixed CI variables See merge request gitlab-org/gitlab-ce!23719
2019-01-04Merge branch '29951-issue-creation-by-email-without-subaddressing' into 'master'Sean McGivern
Support new issue creation by email without subaddressing Closes #29951 See merge request gitlab-org/gitlab-ce!23523
2019-01-04Merge branch 'dm-git-access-any-ce' into 'master'Sean McGivern
[CE] Don't run checks for changed refs when specific changes are unknown See merge request gitlab-org/gitlab-ce!23990
2019-01-04DRY up some functions in Auto-DevOps scriptThong Kuah
- DRY up setting deploy name - DRY up application_secret_name
2019-01-04Remove application secret on stopping environmentThong Kuah
2019-01-04Simplify bash functionThong Kuah
Use --from-env-file with bash process substitution We still need bash as process substition (`<()`) is not available in sh
2019-01-04Solve multi word CI variables not quoted properlyThong Kuah
ie. fix below quoting issue: ``` kubectl create secret -n project-with-autodevops-900057eb1ce34399-77 \ generic production-secret \ '--from-literal=OPTIONAL_MESSAGE=You' can see this secret \ -o yaml --dry-run ``` With fix, it should be generating: ``` kubectl create secret -n project-with-autodevops-900057eb1ce34399-77 \ generic production-secret \ --from-literal 'OPTIONAL_MESSAGE=You can see this secret' \ -o yaml --dry-run ``` Call via bash -c, instead of assuming bash The shell is /bin/sh, so we cannot asssume bash. Hence we use `bash -c` bash is installed for deploy jobs in a prior step
2019-01-04Create K8S_SECRET_* CI variables as a K8s SecretThong Kuah
Find any CI variables from `env` which has a prefix. If there are any such CI variables, strip prefix from variable name then create a generic Kubernetes secret containing all these CI variables as key-value pairs. Also, Pass in secretname to application container The secretname may be present, if nil, the chart does nothing. If present, the chart will load the key-value pairs from the secret into the application container. See https://gitlab.com/charts/auto-deploy-app/blob/master/README.md#configuration
2019-01-03Fix already initialized constant constant warningBrett Walker
2019-01-03Move constant definitionBrett Walker
2019-01-03Refactoring and review commentsBrett Walker
including verifying the project_slug
2019-01-03Address review feedbackBrett Walker
2019-01-03Use new issue email address formatBrett Walker
We now use `-issue` in order to support catch all email addresses
2019-01-03Use new merge request email address formatBrett Walker
We now use `-merge-request` instead of `+merge-request+` in order to support catch all email addresses
2019-01-03Use new unsubscribe linkBrett Walker
We now use `-unsubscribe` instead of `+unsubscribe` in order to support catch all email addresses
2019-01-03Drop Webhooks from project import/export configStan Hu
Webhook URLs were recently encrypted in the database via https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21645, and as a result they are no longer exported. When an exported project with Webhooks is imported, the project import service will fail with `URI::InvalidURIError: bad URI(is not URI?)` due to a blank URL. We avoid this by disabling the export/import of Webhooks in the first place. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53513
2019-01-03Use reports syntax for Dependency scanning jobTetiana Chupryna