stable

Clone or download

Read-only

tasks #12094 Create modal to get informations in plugin Tuleap_synchro

second part of three of request #12084 Add form in plugin Tuleap_Synchro Create a form in the modal in the plugin tuleap_synchro All informations in this form, will (after) store in database, and use to launch an automatically update between 2 tuleaps' instance. Currently, when we click on "add endpoint", nothing to create, and we return to the plugin. Project's shortname must be just shortname (not id). How to test : Put information in the form Expected results : If base URI doesn't comply, a message says this. If the tracker isn't a numeric, a message says this. We can't valid, the button is disabled Change-Id: I3dd969a6ed8c83d8c79a0438a8f84c0a33d2c2ad

Modified Files

Name
M plugins/tuleap_synchro/include/Tuleap_Synchro/Endpoint/Endpoint.php +0 −21 Go to diff View file
A plugins/tuleap_synchro/include/Tuleap_Synchro/Endpoint/EndpointChecker.php +72 −0 Go to diff View file
A plugins/tuleap_synchro/include/Tuleap_Synchro/Endpoint/EndpointCreatorController.php +63 −0 Go to diff View file
A plugins/tuleap_synchro/include/Tuleap_Synchro/Exception/BaseURINotValidException.php +36 −0 Go to diff View file
A plugins/tuleap_synchro/include/Tuleap_Synchro/Exception/TrackerIdIsNotValidException.php +36 −0 Go to diff View file
M plugins/tuleap_synchro/include/Tuleap_Synchro/ListEndpoints/ListEndpointsPresenter.php +0 −1 Go to diff View file
M plugins/tuleap_synchro/include/tuleap_synchroPlugin.class.php +16 −0 Go to diff View file
M plugins/tuleap_synchro/site-content/fr_FR/LC_MESSAGES/tuleap-tuleap_synchro.po +37 −5 Go to diff View file
M plugins/tuleap_synchro/site-content/tuleap-tuleap_synchro.pot +34 −2 Go to diff View file
M plugins/tuleap_synchro/templates/add_new_endpoint.mustache +134 −7 Go to diff View file