stable
Clone or download
Read-only
Each time the CCE module is executed, a log entry is recorded. Those logs are now displayed in the administration interface. Administrators have the ability to display the details of the execution to see the payloads and copy them in their clipboard. In case of error, the error message is displayed, if any. For the sake of readability, the json payloads are pretty printed and syntax highlighted. We should probably mention somewhere that only the last 50 entries are kept, but don't know how yet, so it will be for a next contribution. Part of story #35093: execute custom code as artifact post action Change-Id: Iefefa8e80527769d4ce4182d920bfa826bb5e24f
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker_cce/include/TrackerCCE/Administration/AdministrationController.php | +25 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/TrackerCCE/Administration/AdministrationPresenter.php | +5 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/TrackerCCE/Administration/administration.mustache | +199 | −7 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Logs/LogLinePresenter.php | +44 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Logs/LogLinePresenterBuilder.php | +84 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/TrackerCCE/Logs/ModuleLogDao.php | +60 | −1 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Logs/ModuleLogLineWithArtifact.php | +35 | −0 | Go to diff View file |
A | plugins/tracker_cce/include/TrackerCCE/Logs/RetrieveLogsForTracker.php | +29 | −0 | Go to diff View file |
M | plugins/tracker_cce/include/tracker_ccePlugin.php | +5 | −1 | Go to diff View file |
M | plugins/tracker_cce/scripts/admin/package.json | +1 | −0 | Go to diff View file |
M | plugins/tracker_cce/scripts/admin/pnpm-lock.yaml | +3 | −0 | Go to diff View file |
M | plugins/tracker_cce/scripts/admin/src/index.ts | +20 | −1 | Go to diff View file |
M | plugins/tracker_cce/scripts/admin/src/style.scss | +61 | −0 | Go to diff View file |
M | plugins/tracker_cce/site-content/fr_FR/LC_MESSAGES/tuleap-tracker_cce.po | +51 | −3 | Go to diff View file |
M | plugins/tracker_cce/site-content/pt_BR/LC_MESSAGES/tuleap-tracker_cce.po | +50 | −2 | Go to diff View file |
M | plugins/tracker_cce/tests/integration/TrackerCCE/Logs/ModuleLogDaoTest.php | +5 | −8 | Go to diff View file |
A | plugins/tracker_cce/tests/unit/Stub/Logs/RetrieveLogsForTrackerStub.php | +46 | −0 | Go to diff View file |
M | plugins/tracker_cce/tests/unit/TrackerCCE/Administration/AdministrationControllerTest.php | +9 | −0 | Go to diff View file |