summaryrefslogtreecommitdiff
path: root/lib/api/settings.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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>