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
2016-03-23Preserve time notes has been updated at when moving issueGrzegorz Bizon
2016-03-23Merge branch 'notifications-for-subscribers-confidential-issue-labels' into ↵Douwe Maan
'master' Restrict notifications for confidential issues Closes #14468 /cc @rymai See merge request !3334
2016-03-23Do not allow to move issue if it has not been persistedGrzegorz Bizon
2016-03-22Restrict notifications for confidential issuesDouglas Barbosa Alexandre
2016-03-22Merge branch 'feature-ci-only-except-trigger' into 'master' Kamil Trzciński
CI: Add 'triggers' keyword to 'only' and 'except' lists to allow control over when triggers cause builds to run Currently, the `only` and `except` keywords in `.gitlab-ci.yml` only accept ref names or the special `branches` and `tags` keywords. However, these are primarily useful when controlling how repository activity affects the creation of builds. In my case, instead of building on every commit, I'd like to use the following logic: - If the repository is tagged, do a build. - Any other normal commits should not cause a build. - If a build is triggered via the API, always create one for the specified ref. From what I can tell, this isn't possible via the existing YAML syntax. In this MR, I introduce a new keyword `triggers` that goes along with `branches` and `tags`. I can implement the logic above using the following job configuration: ```yaml only: - tags - triggers ``` I updated the tests and documentation to reflect this and everything seems to pass. See merge request !3230
2016-03-22Address feedbackDouwe Maan
2016-03-22Merge branch 'master' into issue_12658Douwe Maan
# Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
2016-03-21Fix specsDouwe Maan
2016-03-20Tweaks, refactoring, and specsDouwe Maan
2016-03-20Preserve created at time of notes when moving issueGrzegorz Bizon
2016-03-20Merge branch 'master' into issue_12658Douwe Maan
2016-03-20Merge branch 'master' into feature/issue-moveGrzegorz Bizon
* master: Fix bug where wrong commit ID was being used in a merge request diff to show old image Remove CHANGELOG item that was added during merge resolution Improve the "easy WIP & un-WIP from link" feature Fix specs \#to_branch_name now uses the iid as postfix Add label description in tooltip to labels in issue index and sidebar Easily (un)mark merge request as WIP using link Use specialized system notes when MR is (un)marked as WIP another attempt to fix oauth issue attempting to fix omniauth problem Conflicts: app/assets/javascripts/issuable_form.js.coffee
2016-03-20Rename reference unfolder to rewriter, minor refactoringsGrzegorz Bizon
2016-03-19Merge branch 'remove-wip' into 'master' Jacob Schatz
Easily (un)mark merge request as WIP using link Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3768 and https://gitlab.com/gitlab-org/gitlab-ce/issues/3516 ## Link to add `WIP` prefix (underline is visible because of hover) ![wipless_title](/uploads/72a6f7119ba9d8043ca8329641e97c3b/wipless_title.png) ## Link to remove `WIP` prefix ![wip_title](/uploads/8620ad65da9ef620b180603520fead55/wip_title.png) ## System note after WIP is added ![wip_sysnote](/uploads/2de073b75e854d2c9e243eb8b5d5c259/wip_sysnote.png) ## Widget with link to remove WIP ![wip_widget](/uploads/cf83ea93743c4c26d9df759c17cb9d7b/wip_widget.png) ## Flash after WIP is removed ![wip_flash](/uploads/27b7240cd5d7ceeb8b7b477abd94d7ff/wip_flash.png) ## System note after WIP is removed ![wipless_sysnote](/uploads/c0d3368abdf21a2f253532a9a9594d90/wipless_sysnote.png) ## Widget when current user cannot remove the WIP prefix ![wip_widget_unauthorized](/uploads/174ccf1674be86dc81c3078fe297acb7/wip_widget_unauthorized.png) cc @creamzy See merge request !3006
2016-03-19Merge branch 'issue-branch-iid-postfix' into 'master' Douwe Maan
#to_branch_name now uses the iid as postfix Given the branch name 'mep-mep' with an iid being 1, the current way, master's way, would yield a branch name of 1-mep-mep. The problem for larger projects however would be that a developer might forget what iid the issue was. When this developer would try to tab complete it would: - Or result in 20+ branches possibly - Or start with the wrong digit, try again with digit++ - Would see 20 branches, repeat Thus the obvious way of solving this is letting the dev tab complete on the issue title, which is easier to remember. @DouweM Should this be labelled `pick-in-master`? See merge request !3308
2016-03-19Update reference unfolder according to recent ability changesGrzegorz Bizon
Commit 43d8bdb4f048cbeb5675ed9120cb1aeb415b9586 introduced additional checks for permissions to read issue in references extractor.
2016-03-19Merge branch 'master' into feature/issue-moveGrzegorz Bizon
* master: (121 commits) Dedupe labels in labels selector in Dashboard pages Refactor colors and lists Add a safeguard in MergeRequest#compute_diverged_commits_count Fix an issue when the target branch of a MR had been deleted Add avatar to issue and MR pages header Cleanup somce css colors Re-group scss variables Refactor `Todo#target` Fixes issue with filter label missing on labels & milestones Rename `Todo#to_reference` to `Todo#target_reference` Fixed failing tests Updated controller with before_action Fixed other issues based on feedback Fixes issue on dashboard issues Full labels data in JSON Fixed issue with labels dropdown getting wrong labels Update CHANGELOG Use `Note#for_project_snippet?` to skip notes on project snippet Use `Commit#short_id` instead of `Commit.truncate_sha` Reuse `for_commit?` on conditional validations Update schema info comment on todo related files ... Conflicts: app/models/issue.rb db/schema.rb spec/models/issue_spec.rb
2016-03-19Improvements in issue move feaure (refactoring)Grzegorz Bizon
According to endbosses' suggestions.
2016-03-19Fix specsFelipe Artur
2016-03-19Merge remote-tracking branch 'origin/master' into remove-wipRémy Coutable
2016-03-19Improve the "easy WIP & un-WIP from link" featureRémy Coutable
2016-03-18Merge branch 'no-gc-retry' into 'master' Robert Speicher
Do not retry "git gc" To prevent 'git gc' timing out on a large repo and then bouncing around in the retry queue. See merge request !3266
2016-03-18Improve group visibility level featureZeger-Jan van de Weg
2016-03-18\#to_branch_name now uses the iid as postfixZeger-Jan van de Weg
Given the branch name 'mep-mep' with an iid being 1, the current way, master's way, would yield a branch name of 1-mep-mep. The problem for larger projects however would be that a developer might forget what iid the issue was. When this developer would try to tab complete it would: - Or result in 20+ branches possibly - Or start with the wrong digit, try again with digit++ - Would see 20 branches, repeat Thus the obvious way of solving this is letting the dev tab complete on the issue title, which is easier to remember.
2016-03-18Use `Note#for_project_snippet?` to skip notes on project snippetDouglas Barbosa Alexandre
2016-03-18Trigger a todo for mentions on commits pageDouglas Barbosa Alexandre
2016-03-18Merge branch 'confidential-issues' into 'master' Douwe Maan
Add confidential issues Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/3678 More information: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/227 See merge request !3282
2016-03-18Merge branch 'issue_14374' into 'master' Robert Speicher
Check push permissions only when pushing directly to target branch. Fixes #14374 See merge request !3280
2016-03-18Restrict access to confidential issues on search resultsDouglas Barbosa Alexandre
2016-03-18Restrict access for confidential issues on autocompleteDouglas Barbosa Alexandre
2016-03-18Code fixesFelipe Artur
2016-03-17Check push permissions only when pushing directly to target branch.Rubén Dávila
2016-03-17Cache project avatars stored in GitYorick Peterse
The avatar logic has been moved from Project to Repository as this makes caching easier. The logic itself in turn has been changed so that the logo file names are cached in Redis. This cache is flushed upon pushing a commit but _only_ if: 1. The commit was pushed to the default branch 2. The commit actually changes any of the logo files If no branch or commit is given the cache is flushed anyway, this ensures that calling Repository#expire_cache without any arguments still flushes the avatar cache (e.g. this is used when removing a project). Fixes gitlab-org/gitlab-ce#14363
2016-03-17Prevent issue move if issue has been already movedGrzegorz Bizon
2016-03-17Merge branch 'master' into new-branch-button-issueZeger-Jan van de Weg
2016-03-17Do not retry "git gc"Jacob Vosmaer
2016-03-17Update methods that use issue close serviceGrzegorz Bizon
`Issues::CloseService#execute` signature has changed, because of using keyword parameter for commmit.
2016-03-17Add minor improvements in code related to issue moveGrzegorz Bizon
2016-03-17Add new notifications for issue move actionGrzegorz Bizon
[ci skip]
2016-03-17Reuse existing issue services when moving issueGrzegorz Bizon
2016-03-17Add initial notifications and hooks for issue moveGrzegorz Bizon
2016-03-17Add access-level filter support for projects selectGrzegorz Bizon
This also refactores ProjectSelect adding some decorator-like functions.
2016-03-17Make it possible to move issue if user is a reporterGrzegorz Bizon
Discussed it here: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2831#note_4190228
2016-03-17Preserve original author when moving issueGrzegorz Bizon
This also wrapps entire process into transation, as rewriting references may have large memory footprint.
2016-03-17Move reference unfolder for GFM to separate classGrzegorz Bizon
2016-03-17Use internal reference extractor in banzai unfold pipelineGrzegorz Bizon
2016-03-17Add reference unfold pipeline used when moving issueGrzegorz Bizon
2016-03-17Minor refactoring of issue move service and specsGrzegorz Bizon
2016-03-17Rewrite references in notes when moving issueGrzegorz Bizon
2016-03-17Take care about data being rewritten when moving issueGrzegorz Bizon