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
2019-04-12Add frozen_string_literal to spec/servicesThong Kuah
Probably useful as we often move these files to "new" files.
2019-04-09Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-04-05Revert "Merge branch 'if-57131-external_auth_to_ce' into 'master'"Andreas Brandl
This reverts merge request !26823
2019-04-05Move Contribution Analytics related spec in ↵Imre Farkas
spec/features/groups/group_page_with_external_authorization_service_spec to EE
2019-03-20Add feature flag for build preparing stateTiger
The flag is on by default, but allows us to revert back to the old behaviour if we encounter any problems.
2019-02-06Send project name with Gitaly repository requestsStan Hu
When hashed storage is in use, it's helpful to have the project name associated with the request. Closes https://gitlab.com/gitlab-org/gitaly/issues/1394
2019-02-04Fix template labelsFelipe Artur
2018-12-05Rename to CreateOrUpdateServiceAccountServiceThong Kuah
This reflects how we now create or update
2018-12-05Create k8s namespace for project in group clustersThong Kuah
AFAIK the only relevant place is Projects::CreateService, this gets called when user creates a new project, forks a new project and does those things via the api. Also create k8s namespace for new group hierarchy when transferring project between groups Uses new Refresh service to create k8s namespaces - Ensure we use Cluster#cluster_project If a project has multiple clusters (EE), using Project#cluster_project is not guaranteed to return the cluster_project for this cluster. So switch to using Cluster#cluster_project - at this stage a cluster can only have 1 cluster_project. Also, remove rescue so that sidekiq can retry
2018-10-19Remove the `ForkedProjectLink` modelBob Van Landuyt
This removes the `ForkedProjectLink` model that has been replaced by the `ForkNetworkMember` and `ForkNetwork` combination. All existing relations have been adjusted to use these new models. The `forked_project_link` table has been dropped. The "Forks" count on the admin dashboard has been updated to count all `ForkNetworkMember` rows and deduct the number of `ForkNetwork` rows. This is because now the "root-project" of a fork network also has a `ForkNetworkMember` row. This count could become inaccurate when the root of a fork network is deleted.
2018-10-02Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez
Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
2018-07-16Add spec to ensure project creation stores import URL and dataStan Hu
2018-07-11Resolve "Rename the `Master` role to `Maintainer`" BackendMark Chao
2018-07-04Add option to add README when creating a projectImre Farkas
2018-06-14Deny repository disk access in development and testJacob Vosmaer (GitLab)
2018-04-25Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg
Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-06Cache personal projects count.Andreas Brandl
Closes #37462.
2018-03-28Merge branch ↵Douwe Maan
'44392-resolve-projects-creation-silently-failing-on-after-create-error' into 'master' Resolve "For new created projects permissions are not inherited from group level" Closes #44692 See merge request gitlab-org/gitlab-ce!18013
2018-03-28When a Service templates are invalid newly created projects will have them ↵Tiago Botelho
inactive
2018-03-27Project creation does not fail silently on DB related changesTiago Botelho
2018-03-23Merge branch 'mark-legacy-git-access' into 'master'Sean McGivern
Route path lookups through legacy_disk_path See merge request gitlab-org/gitlab-ce!17743
2018-03-21Route path lookups through legacy_disk_pathJacob Vosmaer
2018-03-14Change Gitlab::Shell#add_namespace to #create_namespaceZeger-Jan van de Weg
Prior to this change, this method was called add_namespace, which broke the CRUD convention and made it harder to grep for what I was looking for. Given the change was a find and replace kind of fix, this was changed without opening an issue and on another feature branch. If more dynamic calls are made to add_namespace, these could've been missed which might lead to incorrect bahaviour. However, going through the commit log it seems thats not the case.
2018-01-05Fix specsJacob Vosmaer
2018-01-03Write project full path to .git/config when creating projectsDouglas Barbosa Alexandre
We'd need to keep track of project full path otherwise directory tree created with hashed storage enabled cannot be usefully imported using the import rake task.
2017-10-03Hide Gollum inside Gitlab::Git::WikiJacob Vosmaer (GitLab)
2017-10-02Fix specs for project creation and update servicesDouglas Barbosa Alexandre
2017-10-02Doesn't check if path exists on disk when renaming a hashed projectDouglas Barbosa Alexandre
2017-10-02Fix gitlab-rake gitlab:import:repos taskStan Hu
Because of a change in GitLab 9.5.4 to prevent users from assuming control of a repository already on disk, the import task broke. Imports would fail with the message, "There is already a repository with that name on disk". This change skips the validation when the import is done from the command-line. Closes #37682
2017-09-29Create repositories via GitalyJacob Vosmaer
2017-08-31Merge branch '36743-existing-repo-master' into 'master'Douwe Maan
[master] Prevent project creation (blank, import or fork) when repository already exists on disk See merge request gitlab/gitlabhq!2169
2017-08-25Prevent new / renamed project from using a repository path that already ↵Gabriel Mazetto
exists on disk There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.
2017-08-25Don't add admins as masters to projects created in another user's namespaceNick Thomas
Only admins have the ability to create a project in another user's personal namespace. Prior to this commit, we were explicitly adding them as masters to the project. However, admins already have access (by virture of being admins), so this is unnecessary.
2017-07-27Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable
services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-07Translate project & repository pagesBob Van Landuyt
2017-06-06backports changed import logic from pull mirroring feature into CETiago Botelho
2017-04-27Make namespace owner master of project upon creationToon Claes
When an admin creates a project in the namespace of a user, that user automatically gains master access to that project.
2017-04-14Improve error messages when a record is unable to be created for a projectStan Hu
2017-02-23Enable Performance/RedundantMergeDouwe Maan
2017-02-05Add traits for ProjectFeatures to Project factorySemyon Pupkov
https://gitlab.com/gitlab-org/gitlab-ce/issues/24007
2016-11-22Refactor create service specSemyon Pupkov
before: 1 minute 11.81 seconds after: 52.47 seconds
2016-11-18Precalculate user's authorized projects in databaseAhmad Sherif
Closes #23150
2016-11-16Defer saving project services to the database if there are no user changesAdam Niedzielski
2016-11-01Fix project features default valuesFelipe Artur
2016-09-01Project tools visibility levelFelipe Artur
2016-08-09adds second batch of tests changed to active tensetiagonbotelho
2016-05-09Enable the Rubocop DeprecatedClassMethods copConnor Shea
This reports uses of `File.exists?` and `Dir.exists?`, which were both deprecated in Ruby and will eventually be removed in favor of `.exist?`. Also fixes all existing uses of the deprecated methods.
2016-01-19Fix creator should be added as a master of the project on creationDouglas Barbosa Alexandre
2015-12-09Add spec for invalid options in project creationStan Hu
2015-12-09Tag service specsDouwe Maan