Stan Hu
656831e173
Remove Koding integration and documentation
...
This integration no longer works and does not appear to be supported.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
2018-10-12 22:18:51 -07:00
gfyoung
3836d69119
Enable frozen string in lib/api and lib/backup
...
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
2018-09-29 21:04:50 -07:00
Valery Sizov
2daa8d387b
Remove background job throttling feature
...
We remove this feature as it never worked properly
2018-09-24 18:41:14 +03:00
Marcel Amirault
6876c7afa8
Fix grammar (setup to set-up) in code comments, spec, views, etc.
2018-09-17 09:17:33 +00:00
Filipa Lacerda
ea6fc714bb
Merge branch '41416-making-instance-wide-data-tools-more-accessible' into 'master'
...
Resolve "Making instance-wide data tools more accessible"
Closes #41416 and #48507
See merge request gitlab-org/gitlab-ce!20874
2018-08-01 15:17:47 +00:00
Rémy Coutable
7af940e412
Fix a few disrepencies between CE and EE in the lines ordering
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-08-01 08:23:07 +02:00
Luke Bennett
1b27c45753
Merge branch 'master' into '41416-making-instance-wide-data-tools-more-accessible'
...
# Conflicts:
# app/models/application_setting.rb
# lib/api/settings.rb
2018-07-31 16:29:13 +00:00
Marcel Amirault
76605174af
Updated application settings with minor fixes
2018-07-30 10:16:54 +00:00
Bob Van Landuyt
0393a82d26
Add instance statistics settings to API
2018-07-27 15:54:29 +02:00
Sean McGivern
ed81ee9ba2
Revert "Merge branch '41416-making-instance-wide-data-tools-more-accessible' into 'master'"
...
This reverts merge request !20679
2018-07-27 13:12:35 +00:00
Bob Van Landuyt
a79094b292
Add instance statistics settings to API
2018-07-27 14:14:47 +02:00
Dmitriy Zaporozhets
0f9dacf431
Fix icon for manifest import and mention manifest feature in API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-07-11 12:22:57 +03:00
Stan Hu
c20766e808
Add missing usage_ping_enabled to API settings
...
Identified while resolving conflicts in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/5906
2018-05-30 10:50:30 -07:00
Douwe Maan
e79f91df8c
Merge branch '46758-fallout-of-cacheable-attribute' into 'master'
...
Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set when retrieved from cache
Closes #46758
See merge request gitlab-org/gitlab-ce!19144
2018-05-29 15:42:59 +00:00
Rémy Coutable
2b8eb7273e
Ensure ApplicationSetting#performance_bar_allowed_group_id is properly set when retrieved from cache
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-29 10:38:59 +02:00
Davin Walker
d6e3a6b5fb
include groups in description
2018-05-28 09:57:17 -06:00
Rémy Coutable
a46929ea2f
Use ApplicationSetting.current_without_cache instead of ApplicationSetting.current where applicable
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-23 16:14:43 +02:00
Bob Van Landuyt
148816cd67
Port `read_cross_project` ability from EE
2018-02-22 17:11:36 +01:00
Andrew Newdigate
64e5f996fa
Add timeouts for Gitaly calls
2017-11-29 09:12:12 +00:00
Markus Koller
257fd57134
Allow password authentication to be disabled entirely
2017-11-23 13:16:14 +00:00
Nick Thomas
eb05bdc6f5
Move the key restriction validation to its own class
2017-08-30 20:50:44 +01:00
Nick Thomas
6847060266
Rework the permissions model for SSH key restrictions
...
`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-30 20:50:44 +01:00
Nick Thomas
b0f982fbdf
Add settings for minimum key strength and allowed key type
...
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-30 20:50:44 +01:00
Robin Bobbitt
649d042dbc
Add option to disable project export on instance
2017-08-11 12:22:37 -04:00
Bob Van Landuyt
c11ed138a0
Remove deprecated `repository_storage` attribute
...
In favor of the new `repository_storages`
2017-07-27 11:49:27 +02:00
Bob Van Landuyt
ea1012ccb4
Make the attribute list for application settings reusable
2017-07-27 11:49:27 +02:00
Robin Bobbitt
672a68d372
Fixes needed when GitLab sign-in is not enabled
...
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-07-13 10:08:27 -04:00
Robin Bobbitt
e09ddc62b3
Help landing page customizations
2017-06-14 11:40:21 -04:00
Pawel Chojnacki
c28546177e
Prometheus settings
2017-06-02 19:45:57 +02:00
Luke "Jared" Bennett
284d4f76fe
Attempted adding separate clientside_sentry settings
2017-04-28 13:41:29 +01:00
Oswaldo Ferreira
fd32960e7c
Separate CE params on Grape API
2017-04-10 16:13:48 -03:00
Adam Niedzielski
9543025e88
Introduce "polling_interval_multiplier" as application setting
...
Implement module for setting "Poll-Interval" response header.
Return 429 in ETag caching middleware when polling is disabled.
2017-04-03 15:17:04 +02:00
Toon Claes
c3b1cb71f0
Override setters so it also accepts string visibility levels
...
Override the `ApplicationSetting` default visibility_level setters so
they accept strings & integers for the levels.
2017-03-02 16:31:22 +01:00
Toon Claes
260cc57838
Expose ApplicationSetting visibility settings as String
...
Use strings for the ApplicationSetting properties:
- restricted_visibility_levels
- default_project_visibility
- default_snippet_visibility
- default_group_visibility
2017-03-02 12:15:25 +01:00
Lin Jen-Shin
cfd839d6f5
Fix tests and disallow 0 to make it consistent with .gitlab-ci.yml
2017-02-15 15:31:51 +08:00
Lin Jen-Shin
53c94f9ea2
Use the same syntax for default expiration
...
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
2017-02-15 15:31:51 +08:00
Lin Jen-Shin
d2d30cff55
Initial implementation for default artifacts expiration
...
TODO: Add tests and screenshots
2017-02-15 15:31:51 +08:00
James Edwards-Jones
b988faaf85
Merge branch 'master' into 'jej-pages-to-ce'
...
# Conflicts:
# db/schema.rb
2017-02-06 15:12:27 +00:00
Adam Niedzielski
5d3816652e
Introduce maximum session time for terminal websocket connection
...
Store the value in application settings.
Expose the value to Workhorse.
2017-02-06 11:49:30 +01:00
James Edwards-Jones
67c8526033
Ported max_pages_size in settings API to CE
2017-02-02 22:21:06 +00:00
Horacio Sanson
f986b4c4e5
Add support for PlantUML diagrams in Asciidoc.
...
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
2017-01-12 10:04:52 +00:00
Robert Schilling
ec7485de21
Grapify the settings API
2016-12-29 11:24:15 +01:00
Nick Thomas
c1388d0efb
Allow multiple repository storage shards to be enabled, and automatically round-robin between them
2016-11-04 04:01:08 +00:00
Dmitriy Zaporozhets
603ceea21a
Add tests and improve logic
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-06 16:47:19 +02:00
Dmitriy Zaporozhets
b28714b6a9
Add docs and empty specs for applicaiton settings API
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-06 15:53:08 +02:00
Dmitriy Zaporozhets
c2ee6862c8
API to set application settings for admin
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-03 16:50:21 +02:00