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
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-29Add timeouts for Gitaly callsAndrew Newdigate
2017-11-23Allow password authentication to be disabled entirelyMarkus Koller
2017-11-17Add throttle application settingsMichael Kozono
2017-10-30Allow to disable the Performance Bar and document the `p b` shortcut in its ↵Rémy Coutable
doc page Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-23Allow configuring new circuitbreaker settings from the UI and APIBob Van Landuyt
2017-10-19Prevent ApplicationSetting to cache nil valueKamil Trzcinski
2017-10-17Merge branch 'prevent-creating-multiple-application-settings' into 'master'Yorick Peterse
Prevent creating multiple ApplicationSetting by forcing it to always have id=1 Closes #34728 See merge request gitlab-org/gitlab-ce!14718
2017-10-17Allow configuring the circuitbreaker through the API and UIBob Van Landuyt
2017-10-16Prevent creating multiple ApplicationSetting by forcing it to always have id=1Kamil Trzcinski
2017-09-12Merge branch 'housekeeping_settings' into 'master'Douwe Maan
Allow to use same periods for housekeeping tasks Closes #34981 See merge request !13711
2017-09-11Allow to use same periods for housekeeping tasksAlex Lossent
This enables skipping a lesser housekeeping task (incremental or full repack) by consistently scheduling a higher task (respectively full repack or gc) with the same period. Cf. #34981
2017-09-09Read import sources from setting at first initializationVisay Keo
2017-08-30More review commentsNick Thomas
2017-08-30Move the key restriction validation to its own classNick Thomas
2017-08-30Address review commentsNick Thomas
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-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-07-10Prevent bad data being added to application settings when Redis is unavailableNick Thomas
2017-07-07Merge branch 'master' into 33929-allow-to-enable-perf-bar-for-a-groupSean McGivern
2017-07-07Don't use Flipper for the Performance BarRémy Coutable
The implementation now simply rely on the `performance_bar_allowed_group_id` Application Setting. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06Allow to enable the Performance Bar for a group from the admin areaRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06Rename ActiverecordSerialize copYorick Peterse
This cop has been renamed to ActiveRecordSerialize to match the way "ActiveRecord" is usually written.
2017-06-14Help landing page customizationsRobin Bobbitt
2017-06-06redesign caching of application settingsPaul Charlton
2017-06-06Merge branch 'pull-mirror-overhaul-ce-backport' into 'master'Douwe Maan
backports changed import logic from pull mirroring feature into CE See merge request !11850
2017-06-06backports changed import logic from pull mirroring feature into CETiago Botelho
2017-06-02Enable the Style/PreferredHashMethods copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-05-31Added Cop to blacklist the use of serializeYorick Peterse
This Cop blacklists the use of ActiveRecord's "serialize" method, except for cases where we already use this.
2017-05-11Allow disabling usage ping in `gitlab.yml`Sean McGivern
Setting `usage_ping_enabled` to false in `gitlab.yml`: 1. Disables the usage ping, regardless of the value stored in the database. 2. Prevents the usage ping from being enabled through the admin panel. It can only be enabled by either removing the line from `gitlab.yml` and configuring through the admin panel, or setting it to true in `gitlab.yml`.
2017-04-28Merge remote-tracking branch 'origin/master' into add-sentry-js-again-with-vueLuke "Jared" Bennett
2017-04-28Attempted adding separate clientside_sentry settingsLuke "Jared" Bennett
2017-04-26Lazily sets UUID in ApplicationSetting for new installationsDouglas Barbosa Alexandre
2017-04-14Port 'Add EE usage ping' to CESean McGivern
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/557
2017-04-03Introduce "polling_interval_multiplier" as application settingAdam Niedzielski
Implement module for setting "Poll-Interval" response header. Return 429 in ETag caching middleware when polling is disabled.
2017-03-19Fix Error 500 when application settings are savedStan Hu
Due to a Rails bug, fetching the application settings from Redis may prevent the attribute methods from being loaded for the `ApplicationSetting` model. More details here: https://github.com/rails/rails/issues/27348 There was also a secondary problem introduced by overriding these association methods which caused all default visibility levels to be set to `nil`. Before, the previous implementation allowed the string "20" to be saved as an integer, while now a table lookup happens before that. We fix this by enforcing the integer value in the controller and default to PRIVATE. Closes #29674
2017-03-06Add admin settings entriesPawel Chojnacki
2017-03-06Allow limiting logging in users from too many different IPs.Pawel Chojnacki
2017-03-02Override setters so it also accepts string visibility levelsToon Claes
Override the `ApplicationSetting` default visibility_level setters so they accept strings & integers for the levels.
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-24Introduce DurationValidator, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_24032923
2017-02-24Merge remote-tracking branch 'upstream/master' into ↵Lin Jen-Shin
27762-add-default-artifacts-expiration * upstream/master: (247 commits) Switched CONTRIBUTING.md style guide recommendation for method chaining Fix new offenses Stylistic tweaks Fix OAuth/SAML user blocking behavior Revert "Enable Style/DotPosition" Revert "Prefer leading style for Style/DotPosition" Revert "Enable Style/BarePercentLiterals" Manually correct autocorrect Move up delegate calls Exclude migrations from Style/MutableConstant ActiveSupport delegation is preferred over Forwardable Update haml_lint to work with newest rubocop Add explanations to cops Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Update rubocop and rubocop-rspec and regenerate .rubocop_todo.yml Order cops alphabetically Don’t exclude some file in lib from rubocop Fix new offenses Enable Rails/Delegate Enable Style/WordArray ...
2017-02-23Enable Style/MutableConstantDouwe Maan
2017-02-21Fix tests due to error key changedLin Jen-Shin
2017-02-20Update error message and check with presence: trueLin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23762243 https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9219#note_23762268
2017-02-160 for unlimited, disallow blank, feedback:Lin Jen-Shin
https://gitlab.com/gitlab-org/gitlab-ce/issues/27762#note_23520780
2017-02-16The exception was no longer usedLin Jen-Shin