stable

Clone or download

Read-only

Toggle site news in admin

Homepage configuration is entirely done in site admin interface. I also took the liberty to align the implementation based on forgeconfig for 2 reasons: - being able to use `tuleap config-set` command to automate deployment of conf - reduce number of SQL queries needed to display the homepage Moreover it's the pattern that is already used in other site admin pages like project settings Closes request #12636 Display promoted news on Site Home Page Change-Id: I3f18b6cc928eaa6a6cece186efaa4df5ba1cb3e6

Modified Files

Name
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +15 −0 Go to diff View file
M site-content/tuleap-core.pot +12 −0 Go to diff View file
M src/common/CLI/Command/ConfigSetCommand.php +4 −0 Go to diff View file
M src/common/admin/Homepage/Controller.php +19 −4 Go to diff View file
M src/common/admin/Homepage/Dao.php +1 −18 Go to diff View file
M src/common/admin/Homepage/Presenter.php +7 −0 Go to diff View file
M src/common/layout/HomePage/NewsCollectionBuilder.php +2 −1 Go to diff View file
M src/common/layout/HomePage/StatisticsCollectionBuilder.php +4 −10 Go to diff View file
M src/db/mysql/database_initvalues.sql +3 −1 Go to diff View file
M src/db/mysql/database_structure.sql +1 −2 Go to diff View file
A src/db/mysql/updates/2018/201812212041_change_display_plateform_statistics_news_options.php +49 −0 Go to diff View file
M src/etc/local.inc.dist +0 −3 Go to diff View file
M src/templates/homepage/admin.mustache +24 −0 Go to diff View file
M src/www/admin/homepage.php +2 −1 Go to diff View file
M src/www/scripts/tuleap/admin-homepage.js +6 −0 Go to diff View file
M src/www/themes/BurningParrot/BurningParrotTheme.php +1 −2 Go to diff View file