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
AgeCommit message (Collapse)Author
2019-06-26Merge branch 'refactor/remove-sentry-from-app-settings' into 'master'Stan Hu
Remove Sentry settings from application settings See merge request gitlab-org/gitlab-ce!28447
2019-06-26Speed up obtaining Let's Encrypt certificatesVladimir Shushlin
2019-06-25refactor: remove Sentry from application settingsRoger Meier
2019-06-25Copy inflections from EERobert Speicher
2019-06-25Refactor inside_transaction? to Gitlab::DatabaseAndrew Newdigate
This is a small change to move AfterCommitQueue.inside_transaction? to Gitlab::Database.inside_transaction? Since this change is required by different changes which may not arrive in sequence, it's easier to extract this change out on it's own.
2019-06-24Renew Let's Encrypt certificatesVladimir Shushlin
Add index for pages domain ssl auto renewal Add PagesDomain.needs_ssl_renewal scope Add cron worker for ssl renewal Add worker for ssl renewal Add pages ssl renewal worker queues settings
2019-06-20Merge branch 'config-yaml-differences' into 'master'Robert Speicher
Backport changes made by EE to various YAML configuration files See merge request gitlab-org/gitlab-ce!29606
2019-06-20Backport gitlab.yml.example from EEYorick Peterse
To make this happen, we need to conditionally add the group_saml strategy when running tests, but only on EE. This requires some changes to Gitlab.ee? so that it can be used before/without loading the Rails environment. We also have to change how we require a few files, so this can run outside of Rails.
2019-06-19Only support postgresqlNick Thomas
MySQL support has been removed
2019-06-14Add back sidekiq metrics exporterRyan Cobb
2019-06-12Moved RackTimeout observer to a different locationJan Provaznik
Because there will be similar observer for PumaWorkerKiller, it makes sense to keep both on better place.
2019-06-06Adds sidekiq worker label for ruby metricsRyan Cobb
2019-06-03Merge dev.gitlab.org master into GitLab.com masterYorick Peterse
2019-05-30Protect Gitlab::HTTP against DNS rebinding attackDouwe Maan
Gitlab::HTTP now resolves the hostname only once, verifies the IP is not blocked, and then uses the same IP to perform the actual request, while passing the original hostname in the `Host` header and SSL SNI field.
2019-05-29Added rack-timeout for PumaJan Provaznik
It assures that requests are aborted after 60 seconds, otherwise an exception is raised. This exception is logged by Sentry, also there is a Prometheus counter for measuring number of requests in each state.
2019-05-29Add Puma samplerJan Provaznik
This sampler gathers Puma-specific metrics which can be used by Prometheus then.
2019-05-28Store Let's Encrypt private key in settingsVladimir Shushlin
Storing this key in secrets.yml was a bad idea, it would require users using HA setups to manually replicate secrets across nodes during update, it also needed support from omnibus package * Revert "Generate Let's Encrypt private key" This reverts commit 444959bfa0b79e827a2a1a7a314acac19390f976. * Add Let's Encrypt private key to settings as encrypted attribute * Generate Let's Encrypt private key in database migration
2019-05-24Changes RackAttack logger to use structured logsMayra Cabrera
Creates a new filename to register auth logs. This change should allow SRE's queries to make better queries through logging infrastructure. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54528
2019-05-21Bump devise to 4.6Utkarsh Gupta
Signed-off-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
2019-05-20Fix typos in the whole gitlab-ce projectYoginth
2019-05-11Merge branch 'include-ee-fixtures' into 'master'12-0-auto-deploy-0009646Stan Hu
Add EE fixtures to SeedFu fixture paths See merge request gitlab-org/gitlab-ce!28241
2019-05-10Add warning about updating Omnibus is secrets are updatedStan Hu
[ci skip]
2019-05-10Add EE fixtures to SeedFu pathBalasankar "Balu" C
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
2019-05-09Generate Let's Encrypt private keyVladimir Shushlin
2019-05-07Additional fix to handle NULL lock_versionStan Hu
If the UI sends a string value for lock_version (e.g. "0"), then the previous monkey patch did not properly handle that properly. This commit casts the value to an integer to determine whether to look for NULL lock_versions. For merge requests, GitLab sends a POST request to `namespace/project/merge_requests/:iid` with the `merge_request[lock_version]` parameter with a string `0`. The string value comes from the form field, which explains why https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/28145 wasn't sufficient.
2019-05-06Fix editing issues and MRs with NULL lock_versionSean McGivern
2019-05-05Run rubocop -a on CE filesStan Hu
2019-05-03Include all queries in the performance bar summarySean McGivern
Rails 5.1's `exec_no_cache` doesn't call `async_exec` any more, but `exec_params`: https://github.com/rails/rails/pull/33188 This means that the DB summary in the performance bar was wrong. The individual query details were still correct (we subscribe to ActiveRecord events for those). We can remove this once the upstream PR to peek-pg is in a release and we update to use that release.
2019-05-01Allow Sentry client-side DSN to be passed on gitlab.ymlDouglas Barbosa Alexandre
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 '60965-referencing-issues-or-epics-by-url-fails-with-404' into ↵Douglas Barbosa Alexandre
'master' Resolve "Referencing issues or epics by URL fails with 404" Closes #61099 and #60965 See merge request gitlab-org/gitlab-ce!27827
2019-04-30feat: allow Sentry configuration to be passed on gitlab.ymlRoger Meier
2019-04-30Remove disabled pages domainsVladimir Shushlin
Domain will be removed by verification worker after 1 week of being disabled
2019-04-29Don't allow a relative_url_root of '/'Sean McGivern
This will fail in a few ways: 1. We might end up having a path (not a URL) starting with `//`, which will be interpreted by browsers as a protocol-relative URL. 2. Issue, MR, snippet, etc. reference parsing will look for URLs at `http://gitlab.example.com//project/...`, with the double slash preventing single slashes from working. In general, it doesn't seem like there's a valid case for this.
2019-04-25Fix Sidekiq initializer fileValery Sizov
2019-04-25Enable Reliable fetcher by defaultValery Sizov
2019-04-23Fix project auto dev ops failureHeinrich Lee Yu
2019-04-23Bump Rails version to 5.1.7Heinrich Lee Yu
Removes unneeded patches
2019-04-23Upgrade Rails to 5.1.6.1Jasper Maes
Model.new.attributes now also returns encrypted attributes.
2019-04-18Migrate correlation and tracing code to LabKitAndrew Newdigate
This change is a fairly straightforward refactor to extract the tracing and correlation-id code from the gitlab rails codebase into the new LabKit-Ruby project. The corresponding import into LabKit-Ruby was in https://gitlab.com/gitlab-org/labkit-ruby/merge_requests/1 The code itself remains very similar for now. Extracting it allows us to reuse it in other projects, such as Gitaly-Ruby. This will give us the advantages of correlation-ids and distributed tracing in that project too.
2019-04-11Merge branch 'restore-hipchat' into 'master'Nick Thomas
Revert "Remove HipChat integration from GitLab" Closes #60042 See merge request gitlab-org/gitlab-ce!27172
2019-04-10Disable method instrumentation for diffsStan Hu
When there a large number of discussions on diffs, the instrumentation has a significant impact on performance since it's often run in a tight loop for line position calculation etc. We should disable this since there are other ways to benchmark performance. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52898
2019-04-10Add frozen_string_literal to HipChat filesSean McGivern
2019-04-10Revert "Remove HipChat integration from GitLab"Sean McGivern
This reverts commit a5378665a1dc0b9c8dc3a4fa279a0eb78aac5aac.
2019-04-05Add part of needed codeGosia Ksionek
Add columns to store project creation settings Add project creation level column in groups and default project creation column in application settings Remove obsolete line from schema Update migration with project_creation_level column existence check Rename migrations to avoid conflicts Update migration methods Update migration method
2019-04-04Merge branch '54417-graphql-type-authorization' into 'master'Nick Thomas
GraphQL Type authorization Closes #54417 See merge request gitlab-org/gitlab-ce!25724
2019-04-04Prevent premailer from converting HTML entitiesHeinrich Lee Yu
This prevents `&mdash` in our templates being change to `-`
2019-04-03GraphQL Type authorizationLuke Duncalfe
Enables authorizations to be defined on GraphQL Types. module Types class ProjectType < BaseObject authorize :read_project end end If a field has authorizations defined on it, and the return type of the field also has authorizations defined on it. then all of the combined permissions in the authorizations will be checked and must pass. Connection fields are checked by "digging" to find the type class of the "node" field in the expected location of edges->node. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54417
2019-04-01Load 'Gitlab::Jira::Middleware' if it existsFelipe Artur
Loads 'Gitlab::Jira::Middleware' only if it exists so this initializer can be backported to CE.
2019-03-28Merge branch '54670-external-diffs-when-outdated' into 'master'Sean McGivern
Allow external diffs to be used conditionally Closes #54670 See merge request gitlab-org/gitlab-ce!25432