summaryrefslogtreecommitdiff
path: root/lib/api/settings.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove Koding integration and documentationStan Hu2018-10-121-4/+0
| | | | | | This integration no longer works and does not appear to be supported. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Remove background job throttling feature51509-remove-sidekiq-limit-fetchValery Sizov2018-09-241-5/+0
| | | | We remove this feature as it never worked properly
* Fix grammar (setup to set-up) in code comments, spec, views, etc.Marcel Amirault2018-09-171-1/+1
|
* Merge branch '41416-making-instance-wide-data-tools-more-accessible' into ↵Filipa Lacerda2018-08-011-3/+1
|\ | | | | | | | | | | | | | | | | 'master' Resolve "Making instance-wide data tools more accessible" Closes #41416 and #48507 See merge request gitlab-org/gitlab-ce!20874
| * Merge branch 'master' into ↵Luke Bennett2018-07-311-75/+72
| |\ | | | | | | | | | | | | | | | | | | '41416-making-instance-wide-data-tools-more-accessible' # Conflicts: # app/models/application_setting.rb # lib/api/settings.rb
| * | Add instance statistics settings to APIBob Van Landuyt2018-07-271-0/+1
| | |
| * | Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' ↵Sean McGivern2018-07-271-1/+0
| | | | | | | | | | | | | | | into 'master'" This reverts merge request !20679
| * | Add instance statistics settings to APIBob Van Landuyt2018-07-271-0/+1
| | |
* | | Fix a few disrepencies between CE and EE in the lines orderingRémy Coutable2018-08-011-2/+2
| |/ |/| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Updated application settings with minor fixesMarcel Amirault2018-07-301-75/+75
|/
* Fix icon for manifest import and mention manifest feature in APIDmitriy Zaporozhets2018-07-111-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add missing usage_ping_enabled to API settingsStan Hu2018-05-301-0/+1
| | | | Identified while resolving conflicts in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5906
* Merge branch '46758-fallout-of-cacheable-attribute' into 'master'Douwe Maan2018-05-291-2/+18
|\ | | | | | | | | | | | | Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set when retrieved from cache Closes #46758 See merge request gitlab-org/gitlab-ce!19144
| * Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set ↵Rémy Coutable2018-05-291-2/+18
| | | | | | | | | | | | when retrieved from cache Signed-off-by: Rémy Coutable <remy@rymai.me>
* | include groups in descriptionDavin Walker2018-05-281-1/+1
|/
* Use ApplicationSetting.current_without_cache instead of ↵Rémy Coutable2018-05-231-1/+1
| | | | | | ApplicationSetting.current where applicable Signed-off-by: Rémy Coutable <remy@rymai.me>
* Port `read_cross_project` ability from EEBob Van Landuyt2018-02-221-1/+1
|
* Add timeouts for Gitaly callsAndrew Newdigate2017-11-291-0/+3
|
* Allow password authentication to be disabled entirelyMarkus Koller2017-11-231-4/+9
|
* Move the key restriction validation to its own classNick Thomas2017-08-301-1/+1
|
* Rework the permissions model for SSH key restrictionsNick Thomas2017-08-301-5/+6
| | | | | | | | | | | | | | | `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.
* Add settings for minimum key strength and allowed key typeNick Thomas2017-08-301-0/+6
| | | | | | | | This is an amalgamation of: * Cory Hinshaw: Initial implementation !5552 * Rémy Coutable: Updates !9350 * Nick Thomas: Resolve conflicts and add ED25519 support !13712
* Add option to disable project export on instanceRobin Bobbitt2017-08-111-0/+1
|
* Remove deprecated `repository_storage` attributebvl-add-all-settings-to-apiBob Van Landuyt2017-07-271-54/+1
| | | | In favor of the new `repository_storages`
* Make the attribute list for application settings reusableBob Van Landuyt2017-07-271-1/+2
|
* Fixes needed when GitLab sign-in is not enabledRobin Bobbitt2017-07-131-1/+8
| | | | | | | | | 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
* Help landing page customizationsRobin Bobbitt2017-06-141-0/+4
|
* Prometheus settingsPawel Chojnacki2017-06-021-0/+1
|
* Attempted adding separate clientside_sentry settingsLuke "Jared" Bennett2017-04-281-0/+5
|
* Separate CE params on Grape APIOswaldo Ferreira2017-04-101-16/+51
|
* Introduce "polling_interval_multiplier" as application settingAdam Niedzielski2017-04-031-1/+2
| | | | | Implement module for setting "Poll-Interval" response header. Return 429 in ETag caching middleware when polling is disabled.
* Override setters so it also accepts string visibility levels27501-api-use-visibility-everywhereToon Claes2017-03-021-15/+1
| | | | | Override the `ApplicationSetting` default visibility_level setters so they accept strings & integers for the levels.
* Expose ApplicationSetting visibility settings as StringToon Claes2017-03-021-4/+20
| | | | | | | | Use strings for the ApplicationSetting properties: - restricted_visibility_levels - default_project_visibility - default_snippet_visibility - default_group_visibility
* Fix tests and disallow 0 to make it consistent with .gitlab-ci.ymlLin Jen-Shin2017-02-151-1/+1
|
* Use the same syntax for default expirationLin Jen-Shin2017-02-151-2/+2
| | | | | | | | Feedback: * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23343951 * https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23344036 * https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23344797
* Initial implementation for default artifacts expirationLin Jen-Shin2017-02-151-2/+5
| | | | TODO: Add tests and screenshots
* Merge branch 'master' into 'jej-pages-to-ce'jej-pages-to-ceJames Edwards-Jones2017-02-061-1/+2
|\ | | | | | | # Conflicts: # db/schema.rb
| * Introduce maximum session time for terminal websocket connectionterminal-max-session-timeAdam Niedzielski2017-02-061-1/+2
| | | | | | | | | | Store the value in application settings. Expose the value to Workhorse.
* | Ported max_pages_size in settings API to CEJames Edwards-Jones2017-02-021-1/+2
|/
* Add support for PlantUML diagrams in Asciidoc.Horacio Sanson2017-01-121-1/+5
| | | | | | | | | | | | | | | | | | | | | 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
* Grapify the settings APIgrapify-settings-apiRobert Schilling2016-12-291-12/+106
|
* Allow multiple repository storage shards to be enabled, and automatically ↵Nick Thomas2016-11-041-2/+2
| | | | round-robin between them
* Add tests and improve logicDmitriy Zaporozhets2015-07-061-1/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add docs and empty specs for applicaiton settings APIDmitriy Zaporozhets2015-07-061-2/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* API to set application settings for adminDmitriy Zaporozhets2015-07-031-0/+35
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>