stable

Clone or download

Read-only

Identify the flavor of Tuleap currently running in the sidebar and footer

To test the switch between the Enterprise and Community versions, a file called ENTERPRISE_BUILD must be created/removed at the root of the source folder. This is part of story #14112: know which Tuleap is running Change-Id: I4f6c0deff0f90bf3bbb87e5d974f87395fd54e46

Modified Files

Name
M .gitignore +1 −0 Go to diff View file
A src/common/BuildVersion/FlavorFinder.php +28 −0 Go to diff View file
A src/common/BuildVersion/FlavorFinderFromFilePresence.php +46 −0 Go to diff View file
A src/common/BuildVersion/VersionPresenter.php +69 −0 Go to diff View file
M src/common/admin/AdminPageRenderer.php +8 −2 Go to diff View file
M src/common/layout/SidebarPresenter.php +10 −10 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +14 −9 Go to diff View file
M src/www/themes/BurningParrot/ProjectSidebarPresenter.php +3 −7 Go to diff View file
M src/www/themes/BurningParrot/css/includes/_sidebar.scss +1 −0 Go to diff View file
M src/www/themes/BurningParrot/templates/header.mustache +3 −1 Go to diff View file
M src/www/themes/FlamingParrot/ContainerPresenter.class.php +5 −1 Go to diff View file
M src/www/themes/FlamingParrot/FlamingParrot_Theme.class.php +3 −6 Go to diff View file
M src/www/themes/FlamingParrot/css/utils/_sidebar.scss +1 −0 Go to diff View file
M src/www/themes/FlamingParrot/templates/project-sidebar.mustache +3 −1 Go to diff View file
M tests/build_and_run/test.sh +1 −1 Go to diff View file
A tests/phpunit/common/BuildVersion/FlavorFinderFromFilePresenceTest.php +56 −0 Go to diff View file
A tests/phpunit/common/BuildVersion/VersionPresenterTest.php +68 −0 Go to diff View file