summaryrefslogtreecommitdiff
path: root/lib/api/settings.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add Grafana to Admin > Monitoring menu when enabledManeschi Romain2019-07-031-0/+2
|
* refactor: remove Sentry from application settingsRoger Meier2019-06-251-8/+0
|
* CE port of Move EE specific lines in API::SettingsImre Farkas2019-05-301-47/+5
|
* Backport of 328-versioned-es-schemace-11225-es_limited_namespaces_removalMario de la Ossa2019-05-021-0/+6
|
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-091-1/+3
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Add part of needed codeGosia Ksionek2019-04-051-1/+2
| | | | | | | | | | | | | | | | | 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
* Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl2019-04-051-3/+1
| | | This reverts merge request !26823
* Move Contribution Analytics related spec in ↵Imre Farkas2019-04-051-1/+3
| | | | spec/features/groups/group_page_with_external_authorization_service_spec to EE
* Backport API parameters for API::SettingsYorick Peterse2019-03-261-0/+36
| | | | | This backports the API parameters from API::Settings that were added in EE, wrapping them in a conditional.
* Refactor API::Settings for EEYorick Peterse2019-03-041-0/+7
| | | | | This refactors API::Settings so that EE can more easily extend its behaviour, without having to modify the CE source code directly.
* Add local markdown versionlocal-markdown-versionJan Provaznik2019-02-061-0/+1
| | | | | | 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).
* API: Fix default branch protection setting for Admin APIRobert Schilling2019-01-151-1/+1
|
* 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