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-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
2019-01-03Minor improvements to CI_API_V4_URL variable exposureGrzegorz Bizon
2019-01-03Add API::Helpers::Version and expose API root URLGrzegorz Bizon
This commits adds a new class that is supposed to represent Grape API version, like `v3` or `v4`.
2019-01-03Expose method that returns GitLab API pathsGrzegorz Bizon
2019-01-03Revert changesmortyccp
2019-01-03Remove authentication via warden and PRIVATE_TOKEN headermortyccp
2019-01-03Fix lint errormortyccp
2019-01-03Allow basic authentication on go get middlewaremortyccp
2019-01-02Merge branch 'mk/avoid-extra-storage-perm-and-query' into 'master'Stan Hu
Avoid extra storage bucket perm and query See merge request gitlab-org/gitlab-ce!23995
2019-01-02Merge branch '18667-handle-push-opts' into 'master'Douwe Maan
Handle 'git push -o ci.skip' Closes #18667 See merge request gitlab-org/gitlab-ce!15643
2019-01-02Move push size check to EE moduleDouwe Maan
# Conflicts: # ee/lib/ee/gitlab/git_access.rb # lib/gitlab/git_access.rb
2019-01-02Remove oldrev and newrev nil-checks that are now unnecessaryDouwe Maan
2019-01-02Don't run single change checks when changes are unknownDouwe Maan
When the `changes` passed to `GitAccess` are the literal string `_any`, which indicates that this is a pre-authorization check, we now check whether the user can push to any branch in the project in question, instead of running the per-change check with `oldrev` `_any`, `newrev` `nil`, and `ref` `nil`.
2019-01-02Skip change access check for deploy keysDouwe Maan
2019-01-02Move magic '_any' string to constantDouwe Maan
2019-01-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqJohn Jarvis
2019-01-02Merge branch 's3-directories-get' into 'master'Kamil Trzciński
Use directories.new when getting S3 directory Closes gitlab-com/gl-infra/infrastructure#5807 See merge request gitlab-org/gitlab-ce!23981
2019-01-02Merge branch 'security-label-xss' into 'master'John Jarvis
[master] Escape html entities when no label found See merge request gitlab/gitlabhq!2706
2019-01-02Merge branch 'security-master-secret-ci-variables-exposed' into 'master'John Jarvis
[master] Secret CI variables can exposed by creating a tag with the same name as an existing protected branch See merge request gitlab/gitlabhq!2596
2019-01-02Merge branch 'security-master-url-rel' into 'master'John Jarvis
[master] Set URL rel attribute for broken URLs See merge request gitlab/gitlabhq!2695
2019-01-02Merge branch ↵Sean McGivern
'55838-remove-gem-install-bundler-from-docker-based-ruby-environments' into 'master' Remove gem install bundler from Docker-based Ruby environments Closes #55838 See merge request gitlab-org/gitlab-ce!24093
2019-01-02Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhqJohn Jarvis
2019-01-01Merge branch 'security-master-guests-jobs-api' into 'master'John Jarvis
[master] Guest users have access to all Job information via the API See merge request gitlab/gitlabhq!2717
2019-01-01Remove gem install bundler from Docker-based Ruby environmentsTakuya Noguchi
bundler gem has been included in the Docker official Ruby image since 2.1. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2019-01-01Merge branch 'patch-37' into 'master'Sean McGivern
Fix #55740: Use the '--no-document' option instead of the 'gem' tool's deprecated options Closes #55740 See merge request gitlab-org/gitlab-ce!24049
2019-01-01Merge branch 'sh-bump-omniauth-google-gem' into 'master'Sean McGivern
Upgrade Omniauth and JWT gems to switch away from Google+ API Closes #55668 See merge request gitlab-org/gitlab-ce!24068
2019-01-01Update lib/gitlab/ci/templates/Ruby.gitlab-ci.ymlFatih Sarhan
2018-12-31Add support for Git push options, specifically ci.skipJonathon Reinhart
gitlab-org/gitlab-shell!166 added support for collecting push options from the environment, and passing them along to the /internal/post_receive API endpoint. This change handles the new push_options JSON element in the payload, and passes them on through to the GitPushService and GitTagPushService services. Futhermore, it adds support for the first push option, ci.skip. With this change, one can use 'git push -o ci.skip' to skip CI pipe execution. Note that the pipeline is still created, but in the "skipped" state, just like with the 'ci skip' commit message text. Implements #18667
2018-12-31Merge branch 'fj-55781-fix-api-blob-content-disposition' into 'master'Sean McGivern
Fixed content-disposition in blob and files API endpoint Closes #55781 See merge request gitlab-org/gitlab-ce!24078