summaryrefslogtreecommitdiff
path: root/spec/models/project_services/jira_service_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove FaviconUploader favicon_main versiondm-remove-favicon-main-versionDouwe Maan2018-06-151-1/+1
| | | | See https://gitlab.com/gitlab-org/gitlab-ce/issues/47677 for more information
* Don't use Rails.root.join for upload fixture pathsRémy Coutable2018-06-111-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* find assets in test for CI and local testAlexis Reigel2018-06-061-1/+2
| | | | | | | Due to the change in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/14583/diffs we can't use the same method to access assets in a CI and the local test environment anymore.
* use Gitlab::Favicon for jira serviceAlexis Reigel2018-06-051-1/+17
|
* remove all .ico favicon variations, use png alwaysAlexis Reigel2018-06-051-1/+1
| | | | | the ci status icons are generated client side, wo we don't need the static files anymore.
* Use host URL to build JIRA remote link iconFelipe Artur2018-03-051-2/+1
|
* Enable RuboCop Style/RegexpLiteralTakuya Noguchi2018-02-011-2/+2
|
* Fix JIRA not working when a trailing slash is includedStan Hu2018-01-291-0/+23
| | | | | | | | Leaving a trailing slash in the context option causes the jira-ruby gem to add an extra slash in HTTP requests to the URL, preventing JIRA from working properly. Closes #42494
* Fixes 40842 - Adds extra cookies to JIRA service requestsStanislaw Wozniak2017-12-181-0/+20
|
* Validate username/pw for Jiraservice, require them in the APIRobert Schilling2017-10-241-0/+14
|
* Merge branch 'fix-jira-integration' into 'master'Rémy Coutable2017-08-041-0/+9
|\ | | | | | | | | Ensure `JIRA::Resource::Issue` responds to `resolution` before calling it See merge request !13240
| * Ensure `JIRA::Resource::Issue` responds to `resolution` before calling itMehdi Lahmam2017-08-031-0/+9
| |
* | Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-6/+6
| |
* | Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-1/+1
|/
* Rename path_with_namespace -> disk_path when dealing with the filesystemGabriel Mazetto2017-08-011-3/+3
|
* Merge branch '32483-jira-error' into 'master'Sean McGivern2017-07-281-7/+24
|\ | | | | | | | | | | | | Display specific error message when JIRA test fails Closes #32483 See merge request !13100
| * Display specific error message when JIRA test fails32483-jira-errorJarka Kadlecova2017-07-271-7/+24
| |
* | Use described_class when possibleRémy Coutable2017-07-271-4/+4
| | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* | Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-271-1/+1
|/ | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove project_key from the Jira configurationJarka Kadlecova2017-07-251-7/+3
|
* Include new URL helpers retroactively into includers of Gitlab::Routingdm-fix-project-path-helpers-productionDouwe Maan2017-07-071-1/+1
|
* Improve support for external issue referencesadam-external-issue-references-spikeAdam Niedzielski2017-06-301-3/+3
|
* rm use of deprecated webmock api in jira model spechttp://jneen.net/2017-06-261-11/+11
|
* Correct RSpec/SingleLineHook cop offensesRobert Speicher2017-06-141-2/+6
|
* fix failing specsJarka Kadlecova2017-06-011-35/+0
|
* Don’t create comment on JIRA if link already existsJarka Kadlecova2017-05-301-0/+1
|
* Add API URL to JIRA settings31448-jira-urlsJarka Kadlecova2017-05-261-38/+114
|
* Remove JIRA closed status iconissue_26701Felipe Artur2017-02-081-1/+1
|
* Use `:empty_project` where possible in model specsrs-empty_project-modelsRobert Speicher2017-01-261-6/+6
|
* Refactor JiraService by moving code out of JiraService#execute methodclean-up-jira-serviceAdam Niedzielski2016-12-011-14/+26
| | | | | | | | | | The implicit interface of project services states that the "execute" method is meant to be called when project hooks are executed. Currently JiraService does not support any project events even though JiraService#supported_events says that "commit" and "merge_request" are supported. They are only used to render correct options in JIRA configuration screen, but they are not supported. Because of that, this commit makes "execute" method a no-op.
* Allow enabling and disabling commit and MR events for JIRAissue_5541Felipe Artur2016-11-181-3/+3
|
* Merge branch 'issue_13232' into 'master' Sean McGivern2016-11-181-0/+44
|\ | | | | | | | | | | | | | | Add JIRA remotelinks and prevent duplicated closing messages implements #13232 closes #20479 See merge request !7413
| * Add JIRA remotelinks and prevent duplicated closing messagesFelipe Artur2016-11-181-0/+44
| |
* | stub not neededJarka Kadlecova2016-11-121-1/+0
| |
* | add blank lineJarka Kadlecova2016-11-121-0/+1
| |
* | simplify url generationJarka Kadlecova2016-11-051-2/+5
|/
* Allow to test JIRA service when project does not have repositoryissue_23032Felipe Artur2016-11-041-5/+51
|
* Use stubs instead of modifying global statesno-include-on-top-levelLin Jen-Shin2016-11-031-1/+3
|
* Try not to include anything globally!Lin Jen-Shin2016-11-031-1/+2
|
* Use the server's base URL without relative URL part when creating links in JIRABrian Kintz2016-11-021-0/+22
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Finish updates to use JIRA gemFelipe Artur2016-10-261-41/+30
| | | | Code improvements, bug fixes, finish documentation and specs
* Prevent wrong markdown on issue ids when project has Jira service activatedissue_828Felipe Artur2016-10-191-0/+9
|
* Remove schema annotations completelyValery Sizov2016-09-161-20/+0
|
* Simplify the name for data builder, feedback:Lin Jen-Shin2016-08-121-2/+1
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
* Merge remote-tracking branch 'upstream/master' into pipeline-hooks-without-slackLin Jen-Shin2016-08-111-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (233 commits) Fix awardable button mutuality loading spinners Update CHANGELOG for 8.10.5 Clean up project destruction Small refactor of doc/development/README.md Avoid commit lookup on diff_helper Removed extra newline from redis_spec.rb Used cached value of project count to reduce DB load Remove duplicate link_to statements Mention add_column_with_default in downtime guide Add missing space to generic badge template Rename `run` task helper method to prevent conflict with StateMachine Add a method in Project to return a cached value of total count of projects spellcheck Add svg guidelines to ui guide Add Changelog entry for Grape upgrade [ci skip] Fix Grape tests. Retain old behavior Update Grape from 0.13.0 to 0.15.0. adds second batch of tests changed to active tense fixes part1 of files to start using active tense ...
| * adds second batch of tests changed to active tenseactive-tense-test-coveragetiagonbotelho2016-08-091-5/+5
| |
* | Move those builders to their own namespace, feedback:Lin Jen-Shin2016-08-041-1/+2
|/ | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
* Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-linesGrzegorz Bizon2016-07-011-2/+0
|
* Remove JiraIssue model and replace references with ExternalIssueIlan Shamir2016-06-161-2/+4
|
* Ensure URL in all Service subclasses are validRémy Coutable2016-04-251-1/+25
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>