stable

Clone or download

Read-only

request #13069 Move src/www scripts to front controller

src/www is a mess and it will takes time to move on an clean everything. However we should not expose that by default to all new comers that enters in the code base. The LegacyRoutesCollector briges the 2 worlds by allowing declarationg of old "script.php" routes as regular FrontRouter routes and redirect to the old script. The old script is move in src/core so we can clearly mark this place as "dangerous" and "deprecated". Change-Id: I4fdfc39956f1806dcfe4d736342dec92ff47be4d

Modified Files

Name
M plugins/mediawiki/README.tuleap +0 −1 Go to diff View file
M plugins/mediawiki/bin/mw-drop-wikis.php +1 −2 Go to diff View file
M plugins/mediawiki/bin/mw-plugin-init.php +1 −2 Go to diff View file
M plugins/mediawiki/include/MediawikiInstantiater.class.php +0 −1 Go to diff View file
M plugins/mediawiki/www/frame.php +1 −2 Go to diff View file
M src/common/Request/FrontRouter.php +15 −2 Go to diff View file
A src/common/Request/LegacyRoutesController.php +54 −0 Go to diff View file
M src/common/Request/RouteCollector.php +22 −0 Go to diff View file
R src/www/contact.php Go to diff View file
R src/www/goto.php Go to diff View file
A src/core/info.php +24 −0 Go to diff View file
R src/www/make_links.php Go to diff View file
R src/www/robots.txt.php Go to diff View file
R src/www/sparklines.php Go to diff View file
R src/www/toggler.php Go to diff View file
M src/etc/nginx/tuleap.d/03-locations.conf +0 −8 Go to diff View file
M src/utils/svn/post-revprop-change.php +0 −3 Go to diff View file
M src/utils/svn/pre-revprop-change.php +0 −3 Go to diff View file
D src/www/.htaccess +0 −1 Go to diff View file
D src/www/codendi.css +0 −44 Go to diff View file
D src/www/empty.php +0 −3 Go to diff View file
D src/www/env.inc.php +0 −3 Go to diff View file
D src/www/info.php +0 −7 Go to diff View file
M tests/phpunit/common/Request/FrontRouterTest.php +19 −0 Go to diff View file
M tests/phpunit/phpunit.xml +7 −0 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +1 −3 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −3 Go to diff View file