stable

Clone or download

Read-only

Refactoring: Available natures icons

Previously there were two differents events to retrieve the cross references natures: 1. one to retrieve all the available natures with their definition (keyword and label). 2. one to retrieve the icon of a nature to be displayed. This one may be launched many times for a request. Since icon is part of the definition of nature, it is now returned alongside the first event. Part of story #17180 take into account gitlab commits Change-Id: I56a7fc0719f575813bfe3fb4c095c38997aef9bc

Modified Files

Name
M plugins/bugzilla_reference/include/bugzilla_referencePlugin.php +1 −0 Go to diff View file
M plugins/docman/include/docmanPlugin.php +0 −18 Go to diff View file
M plugins/git/include/gitPlugin.php +1 −18 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +1 −0 Go to diff View file
M plugins/hudson/include/hudsonPlugin.php +11 −2 Go to diff View file
M plugins/pullrequest/include/pullrequestPlugin.php +1 −19 Go to diff View file
M plugins/svn/include/svnPlugin.php +0 −18 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenter.php +2 −4 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +7 −20 Go to diff View file
M plugins/tracker/templates/form-element/reference/cross_reference.mustache +1 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/View/Reference/CrossReferenceByNaturePresenterBuilderTest.php +3 −3 Go to diff View file
M src/common/reference/CrossReferenceByDirectionCollection.php +8 −20 Go to diff View file
M src/common/reference/CrossReferenceByNatureCollection.php +3 −8 Go to diff View file
M src/common/reference/CrossReferenceCollection.php +3 −3 Go to diff View file
M src/common/reference/CrossReferenceFactory.class.php +2 −4 Go to diff View file
D src/common/reference/Events/CrossReferenceGetNatureIconEvent.php +0 −62 Go to diff View file
M src/common/reference/ReferenceManager.class.php +55 −11 Go to diff View file