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
path: root/spec/lib
AgeCommit message (Collapse)Author
2016-05-11Only generate repository push email onceSean McGivern
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.)
2016-05-10Merge branch 'fix/using-uploads-in-global-snippets' into 'master' Robert Speicher
Fix using link to uploads in global snippets Closes #17342, closes #17363 See merge request !4085
2016-05-10Do not process upload links if no project contextGrzegorz Bizon
2016-05-10Fix using link to uploads in global snippetsGrzegorz Bizon
Closes #17342, closes #17363
2016-05-10Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ceDmitriy Zaporozhets
2016-05-10Revert "Merge branch 'wiki-fix' into 'master' "Rémy Coutable
This reverts commit 4cc85a58e8ca00f5a4ecbd2bca40a0cad867b817, reversing changes made to 90ae445ba930068d04adc5a009dbdeabe4cb3e34. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-05-09Use a case-insensitive comparison in sanitizing URI schemesStan Hu
Closes #1625
2016-05-09Merge branch 'issue_15394' into 'master' Rémy Coutable
Sanitize milestones and labels titles fixes #15394 See merge request !4046
2016-05-09Use the proper GitLab URL for links in WikiArtem Sidorenko
2016-05-06Merge branch 'fix/import-url-issues' into 'master' Robert Speicher
Fix importer bug when throwing exceptions Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/15681 See merge request !3941
2016-05-05Sanitize milestones and label titlesFelipe Artur
2016-05-05Fix the line code when importing PR review comments from GitHubDouglas Barbosa Alexandre
Pull Request Review Comments are comments on a portion of the unified diff.
2016-04-28Merge branch 'use-remote-ip-for-akismet' into 'master' Rémy Coutable
Use ActionDispatch Remote IP for Akismet checking Previously all remote IPs appeared at 127.0.0.1, which made Akismet not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html) should provide more reliable results. Closes #16629 See merge request !3961
2016-04-28fix failing specJames Lopez
2016-04-28added spec testing exception raisedJames Lopez
2016-04-28Use ActionDispatch Remote IP for Akismet checkingStan Hu
Previously all remote IPs appeared at 127.0.0.1, which made Akismet not very useful. Using the ActionDispatch Remote IP (http://api.rubyonrails.org/classes/ActionDispatch/RemoteIp.html) should provide more reliable results. Closes #16629
2016-04-27Backport GitHub Enterprise import support from EEStan Hu
These changes were pulled from GitLab EE to support configuring an alternative API URL than the default https://api.github.com. In addition, the `verify_ssl` flag allows users to disable SSL cert checking. One modification: add a default `args` option if it does not exist to avoid breaking existing configurations.
2016-04-22Fix some typosTomasz Maczukin
2016-04-22Fix formattingTomasz Maczukin
2016-04-22Add posibility to define a hidden job without 'script' in .gitlab-ci.ymlTomasz Maczukin
2016-04-21Merge branch 'dev_issue_15331' into 'master' Robert Speicher
Fixes window.opener bug Adds `noreferrer` value to rel attribute for external links REF: https://gitlab.com/gitlab-org/gitlab-ce/issues/15331 See merge request !1953
2016-04-21Fix failing specAlfredo Sumaran
2016-04-21Merge branch 'fix/cross-project-labels-project-reference' into 'master' Grzegorz Bizon
Fix cross-project label ref used with invalid project When cross-project label reference was used with invalid project reference, `nil` was assigned to project variable which later caused an exception. Closes #15168 See merge request !3811
2016-04-21Merge branch 'ci-commit-as-pipeline' into 'master' Kamil Trzciński
Ci::Commit becomes a Pipeline object 1. Ci::Commit receives context: ref, :tag. 1. One Ci::Commit describes a one Pipeline 1. Pipeline is created from `.gitlab-ci.yml` 1. Pipeline is a ordered group of builds 1. We test MR against Pipeline 1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703) 1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future) 1. We add a Pipeline Hook that will be triggered on Pipeline status change (future) 1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future) After merging that I'll prepare a separate MR that will unify naming, database columns, table names: ``` Ci::Commit -> Pipeline Ci::Build -> Build CommitStatus -> Job GenericCommitStatus -> ExternalJob ci_commits -> pipelines ci_builds -> jobs ``` This MR implements first 5 points. This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149. See merge request !3653
2016-04-21Fix cross-project label ref with invalid projectGrzegorz Bizon
Closes #15168
2016-04-20Fix setting of "action" for Grape transactionsYorick Peterse
Merely setting the "action" tag will only result in the transaction itself containing a value for this tag. To ensure other metrics also contain this tag we must set the action using Transaction#action= instead.
2016-04-20Fix wiki testsSebastian Klier
2016-04-19Merge remote-tracking branch 'origin/master' into ci-commit-as-pipelineKamil Trzcinski
# Conflicts: # db/schema.rb
2016-04-19Merge branch 'make-before-after-overridable' into 'master' Kamil Trzciński
Make before_script and after_script overridable This is makes it possible to overwrite the before_script and after_script at job level. This is continuation of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3771 See merge request !3772
2016-04-19Merge branch 'after-script' into 'master' Kamil Trzciński
Implement after_script which allows to do cleanups as part of the build process This implements `after_script` in global context. The `after_script` will be executed always after the job, even if the job were canceled. This requires changes on Runner side that will be implemented in 1.2. cc @tmaczukin @grzesiek See merge request !3771
2016-04-19Using single builder for push and tag eventsGabriel Mazetto
2016-04-19Added System Hooks for push and tag_pushGabriel Mazetto
Code is based on Project Webhooks, removing deprecations and without commits listing.
2016-04-19Use double instead of OpenStruct in the Issue/PR formatters specsDouglas Barbosa Alexandre
2016-04-19Set GitHub milestones to Issue/Merge Request that were importedDouglas Barbosa Alexandre
2016-04-19Import milestones from GitHubDouglas Barbosa Alexandre
2016-04-18Import labels from GitHubDouglas Barbosa Alexandre
2016-04-18Make rubocop happyKamil Trzcinski
2016-04-18Use GitHub Issue/PR number as iid to keep referencesDouglas Barbosa Alexandre
With these changes we don’t lost the issue/pr references when importing them to GitLab.
2016-04-18Merge branch 'after-script' into make-before-after-overridableKamil Trzcinski
2016-04-18Merge remote-tracking branch 'origin/master' into after-scriptKamil Trzcinski
2016-04-18Merge remote-tracking branch 'origin/master' into after-scriptKamil Trzcinski
2016-04-18Count the number of SQL queries per transactionYorick Peterse
Fixes gitlab-org/gitlab-ce#15335
2016-04-18Merge branch 'after-script' into make-before-after-overridableKamil Trzcinski
2016-04-18Fix rubocop complainsKamil Trzcinski
2016-04-18Minor refactorings in CI configGrzegorz Bizon
2016-04-18Validate job-level variables in YAML config fileGrzegorz Bizon
2016-04-18Minor refactoring in code related to job variablesGrzegorz Bizon
2016-04-18Make CI config return empty array if no job variablesGrzegorz Bizon
2016-04-18Rename method that returns global envs in CI confGrzegorz Bizon
2016-04-18Read job variables directly from gitlab CI configGrzegorz Bizon