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
2020-12-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-12-03Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-12-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-11-23Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-11-13Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-10-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-09-10Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-09-07Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-05-28Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-05-05Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-04-24Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-04-21Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-02Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-08-31Limit access request email to 10 most recently active owners/maintainersManoj MJ
This change limits the number of emails for new access requests notifications to 10 most recently active owners/maintainers
2019-07-26Add frozen_string_literal to spec/factoriesThong Kuah
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-06-05preventing blocked users and their PipelineSchdules from creating new Pipelinesdrew cimino
updated several specs and factories to accomodate new permissions
2019-02-18Refactor spec/factories/users.rb to allow EE to extend itRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-09-17Use the correct email address when committing via a file serviceNick Thomas
2018-05-31Export assigned issues in iCalendar feedImre Farkas
2018-02-01porting changes from upstreamMicaël Bergeron
2017-12-14Replace factory_girl_rails with factory_bot_railsRémy Coutable
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-09Merge branch '36679-non-authorized-user-may-see-wikis-or-pipeline-page' into ↵Douwe Maan
'security-10-2' Fixes project visibility guidelines See merge request gitlab/gitlabhq!2226 (cherry picked from commit 877c42c0aaf3298d6001614c9706bc366ae4014c) e4fd1c26 Ensure project wiki visibility guidelines are met
2017-08-11Merge branch 'rc/improve-projects-factory' into 'master'Robert Speicher
Improve the Project factory to make `creator` defaults to `namespace.owner` See merge request !13412
2017-08-10Improve the Project factory to make `creator` defaults to namespace.ownerRémy Coutable
Also improves the `create_templates` transient attribute and use `project.project_feature.update_columns` instead of `project.project_feature.update_attributes!` since it's faster. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-08Manually assign `notification_email` in the User factory when stubbedRobert Speicher
Because we assign this value in the model via a callback conditionally on `email_changed?`, this never gets set when using `build_stubbed`, resulting in a "can't be blank" validation error on this field. In this case, we can just assign it manually to the same value as `email`, which is generated via a sequence.
2017-05-24create User#rss_token in user factory explicitelyAlexis Reigel
otherwise we'll have to use `user.reload` in the specs to get the current rss_token value.
2017-05-04Backport avatar-related spec changes from gitlab-org/gitlab-ee@4b464eaaeeRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-04-03Don't use FFaker in factories, use sequences insteadRémy Coutable
FFaker can generate data that randomly break our test suite. This simplifies our factories and use sequences which are more predictive. Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-02-24Don't allow deleting a ghost user.Timothy Andrew
- Add a `destroy_user` ability. This didn't exist before, and was implicit in other abilities (only admins could access the admin area, so only they could destroy all users; a user can only access their own account page, and so can destroy only themselves). - Grant this ability to admins, and when the current user is trying to destroy themselves. Disallow destroying ghost users in all cases. - Modify the `Users::DestroyService` to check this ability. Also check it in views to decide whether or not to show the "Delete User" button. - Add a short summary of the Ghost User to the bio.
2017-02-24Use a `ghost` boolean to track ghost users.Timothy Andrew
Rather than using a separate `ghost` state. This lets us have the benefits of both ghost and blocked users (ghost: true, state: blocked) without having to rewrite a number of queries to include cases for `state: ghost`.
2017-02-10Don't perform Devise trackable updates on blocked User recordsRobert Speicher
2016-06-06Add a `U2fRegistrations` table/model.Timothy Andrew
- To hold registrations from U2F devices, and to authenticate them. - Previously, `User#two_factor_enabled` was aliased to the `otp_required_for_login` column on `users`. - This commit changes things a bit: - `User#two_factor_enabled` is not a method anymore - `User#two_factor_enabled?` checks both the `otp_required_for_login` column, as well as `U2fRegistration`s - Change all instances of `User#two_factor_enabled` to `User#two_factor_enabled?` - Add the `u2f` gem, and implement registration/authentication at the model level.
2016-04-14Add spec for deletion of authorized OAuth2 applicationStan Hu
Closes #14370 Move gon function into its own helper
2016-03-15Revert "Merge branch 'avatar-cropping' into 'master' "Rémy Coutable
This reverts commit 01160fc06182de89c400af174861f6545ad6ceb8, reversing changes made to 4bff9daf8b6d85e9c78565e21cfaa3f6d36f0282.
2016-03-04Move all factory definitions to their own fileRobert Speicher