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-01-15API: Fix default branch protection setting for Admin APIRobert Schilling
2018-12-19Update specs to rails5 formatblackst0ne
Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
2018-10-13Remove Koding integration and documentationStan Hu
This integration no longer works and does not appear to be supported. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
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-08-06Revert "Merge branch 'bvl-instance-stats-default' into 'master'"Bob Van Landuyt
This reverts merge request !21044
2018-08-06Hide instance statistics on new installationsBob Van Landuyt
Making the migrations and the default do the right thing in the first place. This makes 20180806094307 a no-op.
2018-07-27Add instance statistics settings to APIBob Van Landuyt
2018-07-27Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' ↵Sean McGivern
into 'master'" This reverts merge request !20679
2018-07-27Add instance statistics settings to APIBob Van Landuyt
2018-06-06Add a custom storage config instead of overwritingBob Van Landuyt
Otherwise the ApplicationSetting that is currently stored would be invalid as it specifies a storage that is not configured
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-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.
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-23Allow password authentication to be disabled entirelyMarkus Koller
2017-10-20Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo
2017-10-17Allow configuring the circuitbreaker through the API and UIBob Van Landuyt
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-08-15Enable Layout/TrailingWhitespace cop and auto-correct offensesRobert Speicher
2017-08-11Add option to disable project export on instanceRobin Bobbitt
2017-07-27Remove deprecated `repository_storage` attributeBob Van Landuyt
In favor of the new `repository_storages`
2017-07-13Fixes needed when GitLab sign-in is not enabledRobin Bobbitt
When sign-in is disabled: - skip password expiration checks - prevent password reset requests - don’t show Password tab in User Settings - don’t allow login with username/password for Git over HTTP requests - render 404 on requests to Profiles::PasswordsController
2017-06-14Help landing page customizationsRobin Bobbitt
2017-04-21Unnecessary "include WaitForAjax" and "include ApiHelpers"Jacopo
Removed all the unnecessary include of `WaitForAjax` and `ApiHelpers` in the specs. Removed unnecessary usage of `api:true`
2017-03-02Expose ApplicationSetting visibility settings as StringToon Claes
Use strings for the ApplicationSetting properties: - restricted_visibility_levels - default_project_visibility - default_snippet_visibility - default_group_visibility
2017-02-15Add a few more tests and make sure empty value sets to nilLin Jen-Shin
2017-01-12Add support for PlantUML diagrams in Asciidoc.Horacio Sanson
This MR enables rendering of PlantUML diagrams in Asciidoc documents. To add a PlantUML diagram all we need is to include a plantuml block like: ``` [plantuml, id="myDiagram", width="100px", height="100px"] -- bob -> alice : ping alice -> bob : pong -- ``` The plantuml block is substituted by an HTML img element with *src* pointing to an external PlantUML server. This MR also add a PlantUML integration section to the Administrator -> Settings page to configure the PlantUML rendering service and to enable/disable it. Closes: #17603
2016-12-29Grapify the settings APIRobert Schilling
2016-11-28Changed API spec files to describe the correct classLivier
Restore changes for api spec files Fix error in rspec Users Delete extra space Repositories-spec
2016-11-04Allow multiple repository storage shards to be enabled, and automatically ↵Nick Thomas
round-robin between them
2016-09-29Expose the Koding application settings in the APIDJ Mountney
This will allow the Koding app to enable the integration itself once is has authorized an admin user using the application secrets.
2016-08-09adds second batch of tests changed to active tensetiagonbotelho
2016-07-01Enable Style/EmptyLines cop, remove redundant onesGrzegorz Bizon
2016-06-30Add Application Setting to configure default Repository Path for new projectsAlejandro Rodríguez
2016-06-27Use HTTP matchers if possibleZ.J. van de Weg
2015-07-06Add tests and improve logicDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-06Add docs and empty specs for applicaiton settings APIDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>