summaryrefslogtreecommitdiff
path: root/spec/models/project_services/jira_service_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Handle trailing slashes when generating Jira URLs63833-fix-jira-issues-urlHeinrich Lee Yu2019-07-221-1/+23
| | | | Applies to issues_url and new_issue_url
* Make sure all specs run properlyJarka Košanová2019-07-111-2/+4
| | | | | | - handling properties needs to be skipped when creating test records in order to test the legacy data
* Use title and description fields for issue trackers63690-issue-trackers-titleJarka Košanová2019-07-021-32/+106
| | | | | - instead of using properties - backward compatibility has to be kept for now
* Replace 'JIRA' with 'Jira'Takuya Noguchi2019-06-281-6/+6
| | | | | | https://community.atlassian.com/t5/Jira-questions/Is-it-quot-JIRA-quot-or-quot-Jira-quot/qaq-p/681163 Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
* Resolve "JIRA service: NoMethodError: undefined method `find' for nil:NilClass"Patrick Derichs2019-05-101-0/+7
|
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* Jira: Make issue links title compactDouglas Barbosa Alexandre2019-02-281-1/+2
| | | | Port of a community contribution from @glensc to upstream.
* Move project services log to a separate fileFelipe Artur2018-09-061-3/+3
|
* Add JIRA service specs to commit objectFelipe Artur2018-08-211-121/+134
|
* Allow multiple JIRA transition idsFelipe Artur2018-08-031-6/+47
|
* 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>