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-25refactor: remove Sentry from application settingsRoger Meier
2019-04-27Add Let's Encrypt application settingsVladimir Shushlin
Store Let's Encrypt account email in application settings Also add explicit terms of service consent
2019-04-09Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-05Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl
This reverts merge request !26823
2019-04-05Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-04Fix race cond. in ApplicationSettingImplementation.create_from_defaultsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-04-01Add # frozen_string_literal to spec/modelsThong Kuah
Adds `# frozen_string_literal: true` to spec/models ruby files
2019-03-19Move some application setting examples to be sharedLin Jen-Shin
2019-02-06Add local markdown versionJan Provaznik
Cached markdown version is composed both from global and local markdown version. This allows admins to bump version locally when needed (e.g. when external URL is changed).
2018-11-07User can keep their commit email privateTiago Botelho
The private commit email is automatically generated in the format: id-username@noreply.HOSTNAME GitLab instance admins are able to change the HOSTNAME portion, that defaults to Gitlab's hostname, to whatever they prefer.
2018-11-05Allow to make builds soft-archived.Kamil Trzciński
The soft-archived builds cannot be run after some deadline time. The intent is to aggressively recycle old builds after sometime.
2018-10-10Remove Git circuit breakerZeger-Jan van de Weg
Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
2018-10-01Make single diff patch limit configurableOswaldo Ferreira
- Creates a new column to hold the single patch limit value on application_settings - Allows updating this value through the application_settings API - Calculates single diff patch collapsing limit based on diff_max_patch_bytes column - Updates diff limit documentation - Adds documentation (with warning) as of how one can update this limit
2018-09-12Strip whitespace from Sentry URLStan Hu
Adding extra whitespace in the DSN could prevent the server from starting due to InvalidURIErrors in sentry-raven. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/49621
2018-08-30Allow whitelisting for "external collaborator by default" settingRoger Rüttimann
2018-06-26Ignore unknown OAuth sources in ApplicationSettingRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-06-04Fix repository_storage spec for Rails5Jarka Kadlecová
2018-05-30Removed API endpoint and specsFrancisco Javier López
2018-05-29Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set ↵Rémy Coutable
when retrieved from cache Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23Use the new CacheableAttributes concern in the ApplicationSetting and ↵Rémy Coutable
Appearance models Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-04Store application wide termsBob Van Landuyt
This allows admins to define terms in the application settings. Every time the terms are adjusted, a new version is stored and becomes the 'active' version. This allows tracking which specific version was accepted by a user.
2018-01-22Refactor auto_devops_domain setting specsMatija Čupić
2018-01-22Add validation for auto_devops_domainMatija Čupić
2017-12-08Move the circuitbreaker check out in a separate processBob Van Landuyt
Moving the check out of the general requests, makes sure we don't have any slowdown in the regular requests. To keep the process performing this checks small, the check is still performed inside a unicorn. But that is called from a process running on the same server. Because the checks are now done outside normal request, we can have a simpler failure strategy: The check is now performed in the background every `circuitbreaker_check_interval`. Failures are logged in redis. The failures are reset when the check succeeds. Per check we will try `circuitbreaker_access_retries` times within `circuitbreaker_storage_timeout` seconds. When the number of failures exceeds `circuitbreaker_failure_count_threshold`, we will block access to the storage. After `failure_reset_time` of no checks, we will clear the stored failures. This could happen when the process that performs the checks is not running.
2017-11-29Add timeouts for Gitaly callsAndrew Newdigate
2017-11-23Allow password authentication to be disabled entirelyMarkus Koller
2017-10-23Allow configuring new circuitbreaker settings from the UI and APIBob Van Landuyt
2017-10-19Prevent ApplicationSetting to cache nil valueKamil Trzcinski
2017-10-17Merge branch 'prevent-creating-multiple-application-settings' into 'master'Yorick Peterse
Prevent creating multiple ApplicationSetting by forcing it to always have id=1 Closes #34728 See merge request gitlab-org/gitlab-ce!14718
2017-10-17Allow configuring the circuitbreaker through the API and UIBob Van Landuyt
2017-10-16Prevent creating multiple ApplicationSetting by forcing it to always have id=1Kamil Trzcinski
2017-09-11Allow to use same periods for housekeeping tasksAlex Lossent
This enables skipping a lesser housekeeping task (incremental or full repack) by consistently scheduling a higher task (respectively full repack or gc) with the same period. Cf. #34981
2017-09-04Merge branch 'master' into zj-auto-devops-tableZeger-Jan van de Weg
2017-08-31Implement the implied CI/CD config for AutoDevOpsZeger-Jan van de Weg
Behind an application setting, which defaults to false, this commit implements the implied CI/CD config. Which means that in the case we can't find the `.gitlab-ci.yml` on the commit we want to start a pipeline for, we fall back to an implied configuration. For now the Bash template has been copied to `Auto-Devops.gitlab-ci.yml` so the tests actually work. Fixes #34777
2017-08-30More review commentsNick Thomas
2017-08-30Move the key restriction validation to its own classNick Thomas
2017-08-30Rework the permissions model for SSH key restrictionsNick Thomas
`allowed_key_types` is removed and the `minimum_<type>_bits` fields are renamed to `<tech>_key_restriction`. A special sentinel value (`-1`) signifies that the key type is disabled. This also feeds through to the UI - checkboxes per key type are out, inline selection of "forbidden" and "allowed" (i.e., no restrictions) are in. As with the previous model, unknown key types are disallowed, even if the underlying ssh daemon happens to support them. The defaults have also been changed from the lowest known bit size to "no restriction". So if someone does happen to have a 768-bit RSA key, it will continue to work on upgrade, at least until the administrator restricts them.
2017-08-30Add settings for minimum key strength and allowed key typeNick Thomas
This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712
2017-07-27Use described_class when possibleRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-10Prevent bad data being added to application settings when Redis is unavailableNick Thomas
2017-07-07Don't use Flipper for the Performance BarRémy Coutable
The implementation now simply rely on the `performance_bar_allowed_group_id` Application Setting. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06Allow to enable the Performance Bar for a group from the admin areaRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-05-11Allow disabling usage ping in `gitlab.yml`Sean McGivern
Setting `usage_ping_enabled` to false in `gitlab.yml`: 1. Disables the usage ping, regardless of the value stored in the database. 2. Prevents the usage ping from being enabled through the admin panel. It can only be enabled by either removing the line from `gitlab.yml` and configuring through the admin panel, or setting it to true in `gitlab.yml`.
2017-05-10Enable the Style/TrailingCommaInLiteral copRémy Coutable
Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-26Lazily sets UUID in ApplicationSetting for new installationsDouglas Barbosa Alexandre
2017-02-24Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
2017-02-23Revert "Enable Style/DotPosition"Douwe Maan
This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
2017-02-23Revert "Prefer leading style for Style/DotPosition"Douwe Maan
This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.