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-05-07Register "gitaly_delta_islands" feature flagJacob Vosmaer
2019-05-07Merge branch 'sh-fix-related-merge-requests-path' into 'master'Rémy Coutable
Use a path for the related merge requests endpoint Closes #61280 See merge request gitlab-org/gitlab-ce!28171
2019-05-07Bump clair-local-scan to v2.0.8Olivier Gonzalez
2019-05-07Use a path for the related merge requests endpointStan Hu
Hosts using a non-standard configuration may have a different hostname/port/scheme than what may be configured on the GitLab server. While expose_url should generate a proper URL, there are cases where it may not work. Since we don't need the full URL, we can use the relative path. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/61280
2019-05-07Add improvements to the global search processFrancisco Javier López
Removed the conditions added to Project.with_feature_available_for_user, and moved to the IssuableFinder. Now, we ensure that, in the projects retrieved in the Finder, the user has enough access for the feature.
2019-05-07Merge branch 'winh-separate-frontend-fixtures' into 'master'Phil Hughes
Generate EE-specific JavaScript fixtures into ee/ directory (CE-backport) See merge request gitlab-org/gitlab-ce!28032
2019-05-07Add remove_foreign_key_if_existsLin Jen-Shin
2019-05-07Merge branch 'allow-replying-to-individual-notes-from-api' into 'master'James Lopez
Allow replying to an individual note in the API Closes #61392 See merge request gitlab-org/gitlab-ce!28120
2019-05-06Fix issuables state_id nil when importing projects from GitHubFelipe Artur
Issues and merge requests imported from GitHub are having state_id set to null. This fixes the GitHub project importer and schedule migrations to fix state_id.
2019-05-06Allow replying to an individual note in the APISean McGivern
If you can do this in the UI, you should be able to do it in the API. If a discussion is not a single note discussion, or it is replyable, you can reply to it.
2019-05-06Implement support for CI variables of type fileKrasimir Angelov
Add env_var and file as supported types for CI variables. Variables of type file expose to users existing gitlab-runner behaviour - save variable value into a temp file and set the path to this file in an ENV var named after the variable key. Resolves https://gitlab.com/gitlab-org/gitlab-ce/issues/46806.
2019-05-06Merge branch '30093-apply-bfg-object-map-to-database' into 'master'Douwe Maan
Remove cleaned up OIDs from database and cache Closes #30093 See merge request gitlab-org/gitlab-ce!26555
2019-05-06Merge branch 'jc-disconnect-git-alternates-client' into 'master'Stan Hu
Add client methods for DisconnectGitAlternates rpc See merge request gitlab-org/gitlab-ce!27938
2019-05-06Remove cleaned up OIDs from database and cacheNick Thomas
2019-05-06Merge branch 'jej/session-stored-globaly' into 'master'Dmitriy Zaporozhets
Session stored globally per request See merge request gitlab-org/gitlab-ce!27658
2019-05-06Merge branch 'ce-11225-es_limited_namespaces_removal' into 'master'Nick Thomas
Backport "Fix namespace/project removal elasticsearch limit" to CE See merge request gitlab-org/gitlab-ce!27933
2019-05-06Merge branch 'patch-49' into 'master'Sean McGivern
No leading/trailing spaces when generating heading ids (Fixes #57528) Closes #57528 See merge request gitlab-org/gitlab-ce!27025
2019-05-05Run rubocop -a on CE filesStan Hu
2019-05-05Revert changes in lib/tasks/lint.rakeStan Hu
2019-05-05Remove stdout/stderr capture in static-analysisStan Hu
2019-05-05Add logging for time and lint startStan Hu
2019-05-04Add client methods for DisconnectGitAlternates rpcJohn Cai
DisconnectGitAlternates is a Gitaly RPC that will delete a repository's objects/info/alternates file. This commit adds client support for that RPC.
2019-05-03Allow guests users to access project releasesKrasimir Angelov
This is step one of resolving https://gitlab.com/gitlab-org/gitlab-ce/issues/56838. Here is what changed: - Revert the security fix from bdee9e8412d. - Do not leak repository information (tag name, commit) to guests in API responses. - Do not include links to source code in API responses for users that do not have download_code access. - Show Releases in sidebar for guests. - Do not display links to source code under Assets for users that do not have download_code access. GET ':id/releases/:tag_name' still do not allow guests to access releases. This is to prevent guessing tag existence.
2019-05-03Propagate excluded paths to SAST & DS jobsFabien Catteau
Propagate DS_EXCLUDED_PATHS to dependency_scanning job, and SAST_EXCLUDED_PATHS and SAST_BANDIT_EXCLUDED_PATHS to sast job. This makes possible to excluded certains paths from SAST reports and Dependency Scanning reports, respectively.
2019-05-03Backport of 328-versioned-es-schemaMario de la Ossa
2019-05-03Whitelist query limits for internal APIStan Hu
When creating a merge request for push options, there may be over 100 queries that are run to create a merge request. Even after we reduce the number of queries by disabling the Sidekiq jobs, it appears we still hover near this limit. Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/11450
2019-05-03Add gitlab-managed option to clusters formMayra Cabrera
When this option is enabled, GitLab will create namespaces and service accounts as usual. When disabled, GitLab wont create any project specific kubernetes resources Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56557
2019-05-03Use git_garbage_collect_worker to run pack_refsJan Provaznik
PackRefs is not an expensive gitaly call - we want to call it more often (than as part of full `gc`) because it helps to keep number of refs files small - too many refs file may be a problem for deployments with slow storage.
2019-05-03Allow to override Gitlab.ee? with IS_GITLAB_EEWinnie Hellmann
(cherry picked from commit f3b74d59865a88be67663339447667c725961413)
2019-05-02Adds a way to start multiple manual jobs in stageMayra Cabrera
- Adds an endpoint on PipelinesController - Adds a service that iterates over every build in a stage and plays it. - Includes 'play_manual' details on EntitySerializer - Builds a new Stage state: PlayManual. An stage can take this status if it has manual builds or an skipped, scheduled or manual status - Includes FE modifications and specs
2019-05-02Add support for two-step Gitaly Rebase RPCLuke Duncalfe
The new two-step Gitaly `Rebase` RPC yields the rebase commit SHA to the client before proceeding with the rebase. This avoids an issue where the rebase commit SHA was returned when the RPC had fully completed, and in some cases this would be after the Rails `post_receive` worker services had already run. In these situations, the merge request did not yet have its rebase_commit_sha attribute set introducing the possibility for bugs (such as previous approvals being reset). https://gitlab.com/gitlab-org/gitlab-ee/issues/5966
2019-05-02Merge branch '27777-drop-projects-ci_id-column' into 'master'Douglas Barbosa Alexandre
Resolve "Drop "projects"."ci_id" column" Closes #27777 See merge request gitlab-org/gitlab-ce!27623
2019-05-02Update deployment chat message notificationJason Goodman
Include link to user and commit title. Rearrange text
2019-05-02Remove unused projects.ci_id columnDmitriy Zaporozhets
And remove Gitlab::Ci::Trace#deprecated_path as it relies on ci_id Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2019-05-02Add opentracing integration for graphqlJan Provaznik
Extends existing graphql's tracer with opentracing measurements. Because it also adds Tracing::Graphql class (for opentracing), it also renames Graphql::Tracing class to Graphql::GenericTracing to minimize confusion with similar class names.
2019-05-02Session stored globally per requestJames Edwards-Jones
- This can be accessed with Session.current and is restored after. - Data can be stored under a key with NamespacedSessionStore
2019-05-01Propagate ENV vars to SAST and Dependency Scanning Docker containers only if ↵Victor Zagorodny
they are set
2019-05-01Merge branch 'bvl-upload-designs-fix-ce' into 'master'Douwe Maan
Make Gitlab::GlRepository#types an instance method See merge request gitlab-org/gitlab-ce!27902
2019-05-01Update metrics dashboard API to load yml from repoSarah Yasonik
Updates the EnvironmentController#metrics_dashboard endpoint to support a "dashboard" param, which can be used to specify the filepath of a dashboard configuration from a project repository. Dashboard configurations are expected to be stored in .gitlab/dashboards/. Updates dashboard post-processing steps to exclude custom metrics, which should only display on the system dashboard.
2019-04-30Merge branch 'feat/sentry-environment' into 'master'Douglas Barbosa Alexandre
feat: add option to define the Sentry Environment See merge request gitlab-org/gitlab-ce!27091
2019-04-30Merge branch 'jc-client-for-fetch-objects-into-pool' into 'master'Stan Hu
Add client methods for FetchIntoObjectPool RPC See merge request gitlab-org/gitlab-ce!27767
2019-04-30feat: allow Sentry configuration to be passed on gitlab.ymlRoger Meier
2019-04-30Add client methods for FetchIntoObjectPool RPCJohn Cai
Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an object pool. If the pool doesn't exist, it will create an empty pool before attempting the fetch. This change adds client code as well as specs to cover this behavior.
2019-04-30Make Gitlab::GlRepository#types an instance methodBob Van Landuyt
Having this as an instance method makes it easier to override in the prepended `EE` module. If we try to override this method on the module itself, it would not be overridden correctly, depending on the load order.
2019-04-30Merge branch 'pl-fix-k8s-ns-query-variables' into 'master'Grzegorz Bizon
Use correct k8s namespace in Prometheus queries See merge request gitlab-org/gitlab-ce!27812
2019-04-30Docs aren't reviewed using rouletteEvan Read
2019-04-30Teach Helm::Api about #uninstallThong Kuah
2019-04-29Add back ruby_memory_bytes metric, limit duplication, clean upRyan Cobb
This adds back ruby_memory_bytes for backwards compatibility, limits code duplication, cleans up unused methods, and limits the unicorn worker sampling scope.
2019-04-29Merge branch '6565-move-sidekiq-cluster-ce' into 'master'Robert Speicher
Change comments to point to the new path of sidekiq-cluster See merge request gitlab-org/gitlab-ce!27707
2019-04-29Merge branch 'use-keyword-args-for-databuilder-push' into 'master'Douglas Barbosa Alexandre
Use keyword args for databuilder push See merge request gitlab-org/gitlab-ce!24088