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-06-25Delete non-latest merge request diff files upon diffs reloadOswaldo Ferreira
2018-06-12Merge branch 'gitaly-disk-access-3' into 'master'Douwe Maan
Find and mark more Git disk access locations, part 2 See merge request gitlab-org/gitlab-ce!19437
2018-06-12Find and mark more Git disk access locations, part 2Jacob Vosmaer
2018-06-11Don't use Gitlab::Utils.nlbr in Gitlab::GitJacob Vosmaer (GitLab)
2018-06-08Resolve "Automatically created MR uses wrong target branch (when branching ↵Athar Hameed
from Tag)"
2018-06-05Merge branch '42751-rename-mr-maintainer-push' into 'master'Robert Speicher
Rephrase Merge Request Maintainer Edit See merge request gitlab-org/gitlab-ce!19061
2018-06-01Resolve "Update `updated_at` on an issue/mr on every issue/mr changes"🙈 jacopo beschi 🙉
2018-06-01Rephrase "maintainer" to more precise "members who can merge to the target ↵Mark Chao
branch" "Maintainer" will be freed to be used for #42751
2018-05-29Add 'squash and rebase' feature to CEblackst0ne
2018-05-17Create TODO when MR became unmergeablelulalala
Old behavior of creating TODO when “Merge When Pipeline Succeeds” service fails, is generalized to: Create a TODO whenever MR became unmergeable (and similar to notification, MR author and merge_user are both applicable)
2018-05-17Add cannot_be_merged_recheck merge_statuslulalala
First, transitions between can_be_merged & cannot_be_merged are removed, as they are currently blocked in `check_if_can_be_merged`. `can_be_merge` always returns to `unchecked` first, before it can transition to `cannot_be_merged` (and vice versa). We want to avoid repeated notification triggered by repeated transition between `cannot_be_merged` & `unchecked`. So we added `cannot_be_merged_recheck` state, similar to `unchecked`, but as a mean to remember it’s from cannot_be_merged. See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/18042/#note_65945407 Since `unchecked` and `cannot_be_merged_recheck` both mean “we are in the middle of checking if it is mergeable”, quite often we need to see if merge_status is in either one of them, so `check_state?` is added to achieve this.
2018-05-02Save and expose only generic merge errorJan Provaznik
When an error occurs during merge, the error message is exposed to user and it is also saved in DB. This error message may be user unfriendly (as in !41820) and it could also expose a detailed backend information. Instead of displaying the specific error message, only sanitized generic message is displayed. This is potentially controversial change because disadvantage is that user doesn't get specific reason of failure. Additional changes: * repository.merge including exceptions is is extracted into a separate method to make things clearer * update! is used instead of update so we don't silently ignore an error Related to !41857
2018-04-11Prevent new merge requests for archived projectsBob Van Landuyt
This prevents creating merge requests targeting archived projects. This could happen when a project was already forked, but then the source was archived.
2018-04-06Fix 500 error when MR from fork has conflicts but worker has not runSean McGivern
If the ref hasn't been fetched into the target repository yet, this will fail with a Rugged::ReferencError (assuming we're not using Gitaly). We should handle this in the same way as a missing ref.
2018-03-26Send notification emails when push to a merge requestYarNayar
Closes #23460
2018-03-15Only cache MR diffs for one weekSean McGivern
This may lead to some being evicted and having to be cached again, but many MRs get closed or updated in that time anyway.
2018-03-15Only cache highlight results for latest MR diffsSean McGivern
Previously, we kept them all in the cache. We don't need the highlight results for older diffs - if someone does view that (which is rare), we can do the highlighting on the fly.
2018-03-07Allow a user to select `allow maintainer to push`Bob Van Landuyt
When a project is not private, and the source branch not protected the user can now select the option to allow maintainers to push to this branch
2018-03-05Merge branch 'wip-slash-command-on-mr-description' into 'master'Rémy Coutable
New `/wip` quick action on MR creation Closes #26848 See merge request gitlab-org/gitlab-ce!17463
2018-03-01Fetch commit signatures from Gitaly in batchesAhmad Sherif
Closes gitaly#1046
2018-03-01/wip slash command on MR creationAdam Pahlevi
change to symbol add complete changelog add test for /wip unwip as sym test for work in progress separate from issuable
2018-02-22Port `read_cross_project` ability from EEBob Van Landuyt
2018-02-14Fix closing issues text added to MRs for external issue trackersSean McGivern
Before, this would: 1. Not use the correct reference for non-JIRA external trackers. 2. Append 'Closes ' if an external tracker was enabled, but no issue matched the branch name.
2018-02-13Fix Error 500s creating merge requests with external issue trackerStan Hu
When JIRA or Redmine were enabled and the branch name did not match the matching regular expression, the `issue_iid` would be `nil`, preventing users from creating merge requests. Closes #43193
2018-02-06Merge branch 'gitaly-lfs-client-prep' into 'master'Robert Speicher
Refactor Gitlab::Git code related to LFS changes for Gitaly migration Closes gitaly#980 See merge request gitlab-org/gitlab-ce!16835
2018-02-02Refactor Gitlab::Git code related to LFS changes for Gitaly migrationAlejandro Rodríguez
We stop relying on Gitlab::Git::Env for the RevList class, and use Gitlab::Git::Repository#run_git methods inteaad. The refactor also fixes another issue, since we now top using "path_to_repo" (which is a Repository model method).
2018-02-02Merge branch '40793-fix-mr-title-for-jira' into 'master'Sean McGivern
Resolve "Incorrect merge request title when Jira activated and multiple commits on branch" Closes #40793 See merge request gitlab-org/gitlab-ce!16491
2018-02-02Resolve "Incorrect merge request title when Jira activated and multiple ↵Andrew McCallum
commits on branch"
2018-02-02Merge branch 'osw-system-notes-for-commits-regression' into 'master'Sean McGivern
Reload source MRs memoization after diffs creation Closes #42668 See merge request gitlab-org/gitlab-ce!16868
2018-02-02Fix and improve stubbed test for WIP commit refOswaldo Ferreira
2018-02-02Reload MRs memoization after diffs creationOswaldo Ferreira
2018-02-01Merge branch '36009-user-default-project-creator-in-factories' into 'master'Robert Speicher
Make user/author use project.creator in most factories Closes #36009 See merge request gitlab-org/gitlab-ce!13321
2018-01-31Make user/author use project.creator in most factoriesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-01-31Enable RuboCop Style/RegexpLiteralTakuya Noguchi
2018-01-29Close and do not reload MR diffs when source branch is deletedOswaldo Ferreira
2018-01-17Merge branch 'sh-backport-10-3-4-security-fixes' into 'master'Oswaldo Ferreira
Backport 10.3.4 security fixes into master See merge request gitlab-org/gitlab-ce!16509
2018-01-17Merge branch '41727-target-branch-name' into 'master'Sean McGivern
Set target_branch to the ref branch when creating MR from issue Closes #41727 See merge request gitlab-org/gitlab-ce!16422
2018-01-17Set target_branch to the ref branch when creating MR from issueJarka Kadlecová
2018-01-17Merge branch '41567-projectfix' into 'security-10-3'Sean McGivern
check project access on MR create See merge request gitlab/gitlabhq!2273 (cherry picked from commit 1fe2325d6ef2bced4c5e97b57691c894f38b2834) 43e85f49 check project access on MR create
2018-01-12Merge branch 'feature/migrate-rebase-to-gitaly' into 'master'Robert Speicher
Migrate Gitlab::Git::Repository#rebase to Gitaly Closes gitaly#863 See merge request gitlab-org/gitlab-ce!16259
2018-01-11Merge branch 'Ben305/gitlab-ce-36669-default-mr-title-with-external-issues' ↵Grzegorz Bizon
into 'master' Resolve "Incorrect default merge request title when Jira activated" Closes #36669 See merge request gitlab-org/gitlab-ce!16356
2018-01-10Never set special MR titles for external issuesSean McGivern
2018-01-10Migrate Gitlab::Git::Repository#rebase to GitalyAhmad Sherif
Closes gitaly#863
2018-01-09Store only generic message if rebase failsJan Provaznik
Instead of storing detailed rebase error, only a generic message is stored with MR. The reason is that this message is exposed and displayed to end user and there is no reason to expose detailed backend information. Error message is still logged so detailed information can be found in logfile by admin if needed. Related #41820
2018-01-09Fix incorrect default merge request title when external issue tracker is ↵Benedikt Huss
activated
2018-01-05Backport 'Rebase' feature from EE to CEJan Provaznik
When a project uses fast-forward merging strategy user has to rebase MRs to target branch before it can be merged. Now user can do rebase in UI by clicking 'Rebase' button instead of doing rebase locally. This feature was already present in EE, this is only backport of the feature to CE. Couple of changes: * removed rebase license check * renamed migration (changed timestamp) Closes #40301
2018-01-04Merge branch 'osw-introduce-merge-request-statistics' into 'master'Sean McGivern
Improve closed/merged events queries performance on Projects::MergeRequestsController#show.json See merge request gitlab-org/gitlab-ce!15642
2018-01-02Cache merged and closed events data in merge_request_metrics tableOswaldo Ferreira
2017-12-27Incorporate ConflictsService.ListConflictFiles Gitaly RPCAlejandro Rodríguez
2017-12-22Replace '.team << [user, role]' with 'add_role(user)' in specsblackst0ne