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
2018-11-29Add config to disable impersonationImre Farkas
Adds gitlab.impersonation_enabled config option defaulting to true to keep the current default behaviour. Only the act of impersonation is modified, impersonation token management is not affected.
2018-10-10Remove Git circuit breakerZeger-Jan van de Weg
Was introduced in the time that GitLab still used NFS, which is not required anymore in most cases. By removing this, the API it calls will return empty responses. This interface has to be removed in the next major release, expected to be 12.0.
2018-10-06Prepare admin/projects/show view to allow EE specific featureGabriel Mazetto
In EE it will render a Geo Status widget when Geo is enabled and it is in a secondary node. Also added minimal specs to that action.
2018-10-04Simplify runner registration token resettingTomasz Maczukin
This icommit adds several changes related to the same topic - resetting a Runner registration token: 1. On Project settings page it adds a button for resetting the registration token and it removes the Runner token field that was confusing all GitLab users. 2. On Group settings page it adds the same button for resetting the registration token. 3. On Admin Runners settings page it moves the button to the same place as in Project and Group settings and it changes slightly the page layout to make it more similar to Group and Project setting pages. 4. It refactorizes a little the partial that prints runner registration description. Thanks to this Project, Group and Admin settings of the Runner are re-using the same code to generate the button. 5. Updates the translations of changed text.
2018-09-07Add receive_max_input_size setting to Application settingsRubén Dávila
If user has configure the setting then it will be passed to gitlab-shell and gitlab-workhorse
2018-07-27Enable frozen string in app/models/*.rbgfyoung
Partially addresses #47424.
2018-06-13Rails5 ActionController::ParameterMissing: param is missing or the value is ↵Jasper Maes
empty: application_setting
2018-04-14Update invalid test application_settings_controller_spec.rbDmitriy Zaporozhets
There are 2 problems with this spec: 1. It checks for default visiblity level however there is not code in controller to handle such default. Same check can be performed on model directly. 2. It passes empty application_setting hash while controller requires application_setting not to be empty by using `require` with `permit` Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2018-03-19Remove N+1 queries in /admin/projects pageStan Hu
2018-01-31Gitaly Server info for admin panelZeger-Jan van de Weg
Implements the client side for gitlab-org/gitaly#819. Which is a server info command. This checks the server version and git binairy version on the server. A small UI was added for administrators, so they can check the status of the Gitaly server. This is done for each storage the monolith knows. Because of this commit, gitlab-org/gitlab-ce!15580 is now closed. That MR removed the Git version too, but didn't replace it with anything.
2018-01-19Permits 'password_authentication_enabled_for_git' parameter for ↵Mark Fletcher
ApplicationSettingsController
2018-01-17reference triggers.values for permitted parametersAlexis Reigel
2018-01-17add missing permitted paramAlexis Reigel
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne
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-10-20Refactor `have_http_status` into `have_gitlab_http_status` in the specsJacopo
2017-10-05Fix namespace deletion testsZeger-Jan van de Weg
2017-08-31Changes the password change workflow for admins.Tiago Botelho
2017-08-11Pending delete projects no longer return 500 error in Admins projects viewTiago Botelho
2017-08-09Enable the Layout/SpaceBeforeBlockBraces copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-04Add a Circuitbreaker for storage pathsBob Van Landuyt
2017-08-03Change all `:empty_project` to `:project`Robert Speicher
2017-08-01Ensure all project factories use `:repository` trait or `:empty_project`Robert Speicher
2017-07-27Backport gitlab-ee!2456Oswaldo Ferreira
2017-07-25Fixes 500 error caused by pending delete projects in admin dashboardTiago Botelho
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-06-14Correct RSpec/SingleLineHook cop offensesRobert Speicher
2017-06-06Limit non-administrators to adding 100 members at a time to groups and projectsNick Thomas
2017-06-05Support hard deletion in Admin::UsersController#destroyNick Thomas
2017-05-13CodestyleGabriel Mazetto
2017-05-13Make the new repository_update_events configurable in System Hooks UIGabriel Mazetto
2017-05-05refactor code based on feedbackJames Lopez
2017-05-04refactor a few things based on feedbackJames Lopez
2017-04-20Refactor Admin::GroupsController#members_update method and add some specsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-04-14Port 'Add more usage data to EE ping' to CESean McGivern
CE port of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/735
2017-03-23Remove redundant code to convert restricted_levels to integersToon Claes
The ApplicationSetting#restricted_visibility_levels= now takes care of converting string formatted levels to integers.
2017-03-23Resolve future conflicts with CE -> EE mergeToon Claes
EE already includes specs for the ApplicationSettingsController, so ensure future changes will be easier to merge to EE.
2017-03-21Undo explicit conversion to IntegerToon Claes
With the changes in Gitlab::VisibilityLevel it is no longer needed to explicit conversion to Integer in the controller itself.
2017-03-07Make sure scopes are loaded in admin OAuth application formMarkus Koller
2017-02-15Use expect { }.to change { }Lin Jen-Shin
Feedback: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8664#note_23427575
2017-02-15Add some tests for admin/project runners pageLin Jen-Shin
2017-01-26Use `empty_project` where possible in controller specsRobert Speicher
2017-01-06Add tests for admin service templatesZ.J. van de Weg
2016-11-18Allow admins to stop impersonating users without e-mail addressesOren Kanner
Resolves #24576 Modify the guard clause of the `ApplicationController#require_email` before action to skip requests where an admin is impersonating the current user.
2016-10-27Only show one error message for an invalid emailSteve Halasz
If notification_email is blank, it's set from email. If an admin attempted to create a user with an invalid email, an error would be displayed for both fields. Only validate the notification_email if it's different from email.
2016-08-23Fix incorrect "stopped impersonation" log messageStan Hu
Closes #21015
2016-08-16Merge branch 'akismet-submittable' into 'master' Robert Speicher
Submit to Akismet Part 1 (Issues) Related to #5932 #5573 gitlab-com/infrastructure#14 See merge request !5538
2016-08-16Further refactor and syntax fixes.Patricio Cano
2016-08-16This fixes a long running tests due to changed Sidekiq stateKamil Trzcinski
2016-08-15Refactored AkismetHelper into AkismetService and cleaned up `Spammable`Patricio Cano
- Refactored SpamCheckService into SpamService