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-09-12Merge branch 'static-objects-external-storage' into 'master'Thong Kuah
Enable serving static objects from an external storage See merge request gitlab-org/gitlab-ce!31025
2019-09-11Add source and merge_request fields to pipeline event webhookBian Jiaping
2019-09-11Use 'gitlab_chronic_duration' gemAleksei Lipniagov
Replace 'chronic_duration' to 'gitlab_chronic_duration', to make relevant method calls thread-safe.
2019-09-11Add rake task `db:obsolete_ignored_columns`Peter Leitzen
Show a list of obsolete `ignored_columns`
2019-09-11Merge branch '61927-pages-custom-domain-virtual-domain' into 'master'Kamil Trzciński
Add support for custom domains to the Pages internal API See merge request gitlab-org/gitlab-ce!32735
2019-09-11Change discussion_ids on promoted epics notesAlexandru Croitor
Notes on epics promoted from an issue used to get same discussion_id as the notes from the issue the epic was promoted from, which would cause problems when trying to reply to the epic discussion.
2019-09-11Enables Run Pipeline button to be renderedFilipa Lacerda
In the Merge Request view, under pipelines tab the user can see a run pipeline button Adds axios post request to button click Adds the logic to handle the user click, refresh the table and disable the button while thee request is being made Updates UI for desktop and mobile Adds specs Regenerates potfile Follow-up after review Uses .finally to avoid code repetition
2019-09-11Merge branch '65988-optimize-snippet-listings' into 'master'Thong Kuah
Optimize queries for snippet listings See merge request gitlab-org/gitlab-ce!32576
2019-09-10Merge branch '64251-redis-set-cache-mark-2' into 'master'Stan Hu
Re-introduce the Redis set cache for branch and tag names - but don't enable it yet See merge request gitlab-org/gitlab-ce!32412
2019-09-10Add Scalability/FileUploads copAlessio Caiazza
This cop prevents you from using file in API, it points you to the development documentation about workhorse file acceleration.
2019-09-10Merge branch 'sidekiq-monitor-namespace-change' into 'master'Kamil Trzciński
Sidekiq monitor namespace change See merge request gitlab-org/gitlab-ce!32878
2019-09-10Change Sidekiq monitor namespaceQingyu Zhao
Move Gitlab::SidekiqMonitor to namespace Gitlab::SidekiqDaemon::Monitor - Class name and file name change - File path change to lib/gitlab/sidekiq_daemon/monitor.rb - Update class usage/reference in other files, including documentation
2019-09-10Optimize queries for snippet listingsMarkus Koller
- Avoid N+1 queries for authors and comment counts - Avoid an additional snippet existence query
2019-09-10Redis set cache docs and minor cleanupNick Thomas
2019-09-10Revert "Revert "Cache branch and tag names as Redis sets""Nick Thomas
This reverts commit c6ccc07f48c7c1f9da43ecd82015500a4340544d.
2019-09-10Add a predicate to check for strong memoizationNick Thomas
2019-09-10Enable serving static objects from an external storageAhmad Sherif
It consists of two parts: 1. Redirecting users to the configured external storage 1. Allowing the external storage to request the static object(s) on behalf of the user by means of specific tokens Part of https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6829
2019-09-10Add code review remarksMałgorzata Ksionek
2019-09-10Build correct variables for testing translationsBob Van Landuyt
This makes sure we build the correct variables for testing translations. When translating, we could be specifying the variables in different forms for each id: - In the singular we could be using a `%{hash}` interpolation - In the plural we could be using a `%d` interpolation This changes the tests to accommodate for that: We now use the variables used in the relevant translation id as the source for the variables we mix in in specs.
2019-09-10Avoid calling freeze on already frozen strings in libDinesh Panda
2019-09-10Add support for custom domains to the internal Pages APIKrasimir Angelov
Update the `/internal/pages` endpoint to return virtual domain configuration for custom domains.
2019-09-10Merge branch 'issue-67127' into 'master'Ash McKenzie
Expose :protected field for ../tags/:tag_name API endpoint See merge request gitlab-org/gitlab-ce!32790
2019-09-09Merge branch 'api_settings' into 'master'Douglas Barbosa Alexandre
Improve application settings API Closes #58180 See merge request gitlab-org/gitlab-ce!31149
2019-09-09Improve performance and memory usage of project exportKamil Trzciński
ActiveModel::Serialization is simple in that it recursively calls `as_json` on each object to serialize everything. However, for a model like a Project, this can generate a query for every single association, which can add up to tens of thousands of queries and lead to memory bloat. To improve this, we can do several things: 1. We use `tree:` and `preload:` to automatically generate a list of all preloads that could be used to serialize objects in bulk. 2. We observe that a single project has many issues, merge requests, etc. Instead of serializing everything at once, which could lead to database timeouts and high memory usage, we take each top-level association and serialize the data in batches. For example, we serialize the first 100 issues and preload all of their associated events, notes, etc. before moving onto the next batch. When we're done, we serialize merge requests in the same way. We repeat this pattern for the remaining associations specified in import_export.yml.
2019-09-09Lower searches count limitFrancisco Javier López
Lowering the limit when performing search from 1001 to 101. This will allow us to speed this process.
2019-09-09Merge branch '61927-skeleton-pages-internal-api' into 'master'Kamil Trzciński
Add skeleton Pages internal API See merge request gitlab-org/gitlab-ce!32732
2019-09-09Passing job:rules downstream and E2E specs for job:rules configurationdrew
2019-09-09Settings API: domain_{black,white}list should be arraysMathieu Parent
As in documentation. Fixes: #58180. Also remove the requirement between domain_blacklist_enabled and domain_blacklist.
2019-09-09App settings: Allow all import sources from APIMathieu Parent
2019-09-09Merge branch 'reduce-parse-options-complexity' into 'master'Ash McKenzie
Refactor parse_options() in push_options.rb Closes #67091 See merge request gitlab-org/gitlab-ce!32756
2019-09-09Application Statistics APIManoj MJ
This change implements Application Statistics API
2019-09-08Merge branch 'kamil-refactor-import-structure' into 'master'Stan Hu
Normalize import_export structure See merge request gitlab-org/gitlab-ce!32704
2019-09-07Refactor parse_options() in push_options.rbChristian Couder
This improves code quality by reducing Cognitive Complexity. This fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/67091
2019-09-07Fix after 'static-analysis' job failAndrea Leone
2019-09-07Expose :protected field for ../tags/:tag_name API endpointAndrea Leone
2019-09-06Only show `/copy_metadata` when usableLee Tickett
2019-09-06Process workhorse accelerated wiki uploadsAlessio Caiazza
Wiki attachments can be workhorse accelerated. This commit is backward compatible with older workhorse
2019-09-06Normalize import_export structureKamil Trzciński
This brings a significant refactor to how we handle `import_export.yml`, merge it with EE and how we handle that for reader and saver. This is meant to simplify the code, and remove a ton of conditions to handle different models of the structure. This is also meant to prepare the structure to extend it much easier, like adding `preload:` or additional object types when needed. This does not change the behavior of import/export, rather unifies and simplifies the current implementation.
2019-09-06Add new GitlabDanger classAsh McKenzie
This class encapsulates our use of the Danger gem.
2019-09-06Merge branch 'ce-detect-github-pull-requests' into 'master'Kamil Trzciński
Port CreateGithubPullRequestEvents migration from EE See merge request gitlab-org/gitlab-ce!31802
2019-09-06Stop empty external auth classification labels overriding default labelsWill Chandler
Most of the project templates bundled with GitLab have an empty string set for `external_authorization_classification_label` in their `project.json`. When imported this overrides the default label set on the instance, causing the label to appear empty. This change sets empty labels to nil during import, allowing the default label to override it and be applied to the project.
2019-09-06Merge branch 'revert-351d72cb' into 'master'Lin Jen-Shin
Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'" See merge request gitlab-org/gitlab-ce!32741
2019-09-06Merge branch ↵Jan Provaznik
'59729-estimate-quick-action-does-not-produce-correct-time-for-1mo' into 'master' Resolve "estimate quick action does not produce correct time for 1mo" See merge request gitlab-org/gitlab-ce!32165
2019-09-06Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"Ash McKenzie
This reverts merge request !32196
2019-09-06Merge branch '66596-allow-danger-to-be-run-locally' into 'master'Lin Jen-Shin
Break up Danger rules into local or CI only See merge request gitlab-org/gitlab-ce!32196
2019-09-06Add skeleton Pages internal APIKrasimir Angelov
Basic `/internal/pages` endpoint that will be used for Pages virtual domains internal API. The endpoint is currently behind feature flag and provides authetication similar to how Workhorse is authenticating with the GitLab.
2019-09-06Merge branch 'add-label-push-opts' into 'master'Ash McKenzie
Support adding and removing labels w/ push opts Closes #5942 See merge request gitlab-org/gitlab-ce!31831
2019-09-06Add new danger_local Rake taskAsh McKenzie
The benefit of running the danger_local Rake task is that it displays some informational messages for clarity and also exits with 1 if there's any output.
2019-09-06Add new GitlabDanger classAsh McKenzie
This class encapsulates our use of the Danger gem.
2019-09-06Allow Danger to detect if running localAsh McKenzie