stable

Clone or download

Read-only

Introduce Administration page for Mailing Lists

Current mailing lists administration is done through three different pages. 1. A page to create mailing lists 2. A page to edit all mailing lists (but only one ML at a time) 3. An intermediate page that links to the previous ones. This one is not accessible unless you know the url. The only usage is in the e2e tests. This way of administrate a service does not match our latest standards. The proposal is to have an administration page that lists the existing mailing lists and buttons to add or edit mailing list, the TLP way. This commits focuses only on the introduction of this new page. Mailing lists are listed in a basic table, and a button links to the "add lists" page that has recently been converted to burning parrot[0] In a next contribution, we will enhance the table by adding links to the list and rework the way the list are updated. Part of request #18425: Mailing lists should use BurningParrot [0] git #tuleap/stable/9dcfe5abc487bff31a2deb4a7426c3b15a97ba90 https://gerrit.tuleap.net/c/tuleap/+/21018 Change-Id: I579c766e0a89742b929f17d3c5ef46fb90291acc

Modified Files

Name
M plugins/forumml/include/ListMailsController.php +1 −1 Go to diff View file
M plugins/forumml/include/WriteMailController.php +1 −1 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-core.po +13 −13 Go to diff View file
M site-content/fr_FR/mail/addlist_intro.txt +1 −1 Go to diff View file
A src/common/MailingList/MailingListAdministrationController.php +108 −0 Go to diff View file
A src/common/MailingList/MailingListAdministrationPresenter.php +47 −0 Go to diff View file
A src/common/MailingList/MailingListPresenter.php +49 −0 Go to diff View file
A src/common/MailingList/ServiceMailingList.php +93 −0 Go to diff View file
M src/common/Project/Project.class.php +1 −0 Go to diff View file
M src/common/Request/RouteCollector.php +14 −0 Go to diff View file
A src/templates/lists/admin-index.mustache +54 −0 Go to diff View file
M src/www/mail/admin/index.php +6 −11 Go to diff View file
M src/www/mail/index.php +2 −2 Go to diff View file
M src/www/mail/mail_utils.php +4 −45 Go to diff View file
M tests/e2e/full/cypress/integration/list.spec.ts +2 −2 Go to diff View file