stable

Clone or download

Read-only

story #9027 Create plugin teamforge_compat

*added id attribute for frs package in the xml schema so it can be referenced *you can now import references in frs service How to test: * clear tuleap cache * install & activate teamforge_compat plugin * try to import the following project <?xml version="1.0" encoding="UTF-8"?> <project unix-name="toto57" full-name="Super Mario" description="123 Soleil" access="public"> <long-description> Test description </long-description> <ugroups> <ugroup name="project_members" description=""> <members> <member format="username">adrien</member> </members> </ugroup> </ugroups> <services> <service shortname="file" enabled="true" /> </services> <frs> <package id="1" name="empty_package"> <read-access> <ugroup>project_members</ugroup> </read-access> </package> <package id="2" name="empty_package2"> <read-access> <ugroup>project_members</ugroup> </read-access> </package> <package id="3" name="empty_package3"> <read-access> <ugroup>project_members</ugroup> </read-access> </package> <administrators> <user format="username">adrien</user> </administrators> <references> <reference source="stuff1234" target="1"/> <reference source="pkg1234" target="1"/> <reference source="pkg1235" target="2"/> <reference source="pkg1232" target="3"/> </references> </frs> </project> It should fill the plugin table Change-Id: I22a54e375eba6fa4530a2fa66c61881dbf3bf415

Modified Files

Name
A plugins/teamforge_compat/ChangeLog +2 −0 Go to diff View file
A plugins/teamforge_compat/README.mkd +5 −0 Go to diff View file
A plugins/teamforge_compat/VERSION +1 −0 Go to diff View file
A plugins/teamforge_compat/db/install.sql +9 −0 Go to diff View file
A plugins/teamforge_compat/db/uninstall.sql +4 −0 Go to diff View file
A plugins/teamforge_compat/include/TeamforgeCompat/Plugin/PluginDescriptor.php +34 −0 Go to diff View file
A plugins/teamforge_compat/include/TeamforgeCompat/Plugin/PluginInfo.php +30 −0 Go to diff View file
A plugins/teamforge_compat/include/TeamforgeCompat/ReferencesImporter.class.php +77 −0 Go to diff View file
A plugins/teamforge_compat/include/TeamforgeCompat/TeamforgeCompatDao.class.php +37 −0 Go to diff View file
A plugins/teamforge_compat/include/autoload.php +22 −0 Go to diff View file
A plugins/teamforge_compat/include/constants.php +21 −0 Go to diff View file
A plugins/teamforge_compat/include/teamforge_compatPlugin.class.php +71 −0 Go to diff View file
A plugins/teamforge_compat/site-content/en_US/template.tab +2 −0 Go to diff View file
A plugins/teamforge_compat/site-content/fr_FR/template.tab +2 −0 Go to diff View file
A plugins/teamforge_compat/tests/TeamforgeReferencesImporterTest.php +70 −0 Go to diff View file
A plugins/teamforge_compat/tests/bootstrap.php +22 −0 Go to diff View file
A plugins/teamforge_compat/www/index.php +23 −0 Go to diff View file
M src/common/event/Event.class.php +12 −0 Go to diff View file
M src/common/frs/FRSXMLImporter.class.php +26 −6 Go to diff View file
M src/common/xml/resources/frs-definition.rnc +7 −3 Go to diff View file
M src/common/xml/resources/project/frs-definition.rng +10 −0 Go to diff View file
M src/common/xml/resources/project/project.rnc +1 −0 Go to diff View file
M src/common/xml/resources/project/project.rng +1 −0 Go to diff View file
A src/common/xml/resources/project/references-definition.rng +17 −0 Go to diff View file
A src/common/xml/resources/references-definition.rnc +7 −0 Go to diff View file
A src/common/xml/resources/references-definition.rng +17 −0 Go to diff View file
M tools/rpm/Makefile +2 −0 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +3 −0 Go to diff View file
M tools/rpm/tuleap.spec +2 −0 Go to diff View file