- 12 Aug, 2016 1 commit
-
- 11 Aug, 2016 2 commits
-
-
Stan Hu authored
There is a race condition in DestroyGroupService now that projects are deleted asynchronously: 1. User attempts to delete group 2. DestroyGroupService iterates through all projects and schedules a Sidekiq job to delete each Project 3. DestroyGroupService destroys the Group, leaving all its projects without a namespace 4. Projects::DestroyService runs later but the can?(current_user, :remove_project) is `false` because the user no longer has permission to destroy projects with no namespace. 5. This leaves the project in pending_delete state with no namespace/group. Projects without a namespace or group also adds another problem: it's not possible to destroy the container registry tags, since container_registry_path_with_namespace is the wrong value. The fix is to destroy the group asynchronously and to run execute directly on Projects::DestroyService. Closes #17893
-
Kamil Trzcinski authored
This change simplifies a Pipeline processing by introducing a special new status: created. This status is used for all builds that are created for a pipeline. We are then processing next stages and queueing some of the builds (created -> pending) or skipping them (created -> skipped). This makes it possible to simplify and solve a few ordering problems with how previously builds were scheduled. This also allows us to visualise a full pipeline (with created builds). This also removes an after_touch used for updating a pipeline state parameters. Right now in various places we explicitly call a reload_status! on pipeline to force it to be updated and saved.
-
- 09 Aug, 2016 1 commit
-
-
tiagonbotelho authored
-
- 04 Aug, 2016 2 commits
-
-
Stan Hu authored
When destroying a namespace, the `skip_repo` parameter is supposed to prevent the repository directory from being destroyed and allow the namespace after_destroy hook to run. If the namespace fails to be deleted for some reason, we could be left with repositories that are deleted with existing projects.
- 26 Jul, 2016 1 commit
-
-
Alejandro Rodríguez authored
-
- 21 Jul, 2016 1 commit
-
-
Sean McGivern authored
-
- 13 Jul, 2016 1 commit
-
-
Stan Hu authored
Possible workaround for #15392
-
- 12 Jul, 2016 1 commit
-
-
Stan Hu authored
Due to a stale NFS cache, it's possible that a branch lookup fails while `git gc` is running and causes missing branches in merge requests. Possible workaround for #15392
-
- 01 Jul, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 30 Jun, 2016 1 commit
-
-
Alejandro Rodríguez authored
-
- 20 Jun, 2016 1 commit
-
-
Paco Guzman authored
-
- 17 Jun, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 16 Jun, 2016 2 commits
-
-
James Lopez authored
This reverts commit 13e37a3e.
-
James Lopez authored
-
- 15 Jun, 2016 1 commit
-
-
Jacob Vosmaer authored
-
- 14 Jun, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 13 Jun, 2016 5 commits
-
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
Kamil Trzcinski authored
-
- 12 Jun, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 03 Jun, 2016 3 commits
-
-
Kamil Trzcinski authored
-
James Lopez authored
This reverts commit 3e991230.
-
James Lopez authored
# Conflicts: # app/models/project.rb
-
- 02 Jun, 2016 1 commit
-
-
Kamil Trzcinski authored
-
- 24 May, 2016 1 commit
-
-
Robert Speicher authored
Also removes the note from the development/testing.md guide
-
- 19 May, 2016 2 commits
-
-
Kamil Trzcinski authored
-
Rubén Dávila authored
-
- 18 May, 2016 1 commit
-
-
Lin Jen-Shin authored
-
- 11 May, 2016 1 commit
-
-
Sean McGivern authored
The repository push email can be very expensive to generate, especially with syntax-highlighted diffs. Instead of generating the email for each recipient, generate one email object and reset the Message-Id and To headers for each recipient. (Cloning would also be expensive in the case of large emails, although probably not as bad as generating from scratch.)
-
- 26 Apr, 2016 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
This should bring the number of false positives down.
-
- 18 Apr, 2016 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 13 Apr, 2016 2 commits
-
-
Jacob Vosmaer authored
-
Jacob Vosmaer authored
-
- 12 Apr, 2016 1 commit
-
-
Jacob Vosmaer authored
-