stable

Clone or download

Read-only

feat: Limit module size to 10Mb

We don't want the module to exceeds 10Mb in order to limit the usage of resources. 10Mb is a wild guess, it should be good enough to cover first usage. It might be adjusted later after feedbacks. Part of story #35093: execute custom code as artifact post action Change-Id: Ie5239b30d271071a4abdcf5f6a46dcff0d55e5fd

Modified Files

Name
A plugins/tracker_cce/include/TrackerCCE/Administration/MaxSize10Mb.php +32 −0 Go to diff View file
A plugins/tracker_cce/include/TrackerCCE/Administration/MaxSizeProvider.php +28 −0 Go to diff View file
M plugins/tracker_cce/include/TrackerCCE/Administration/UpdateModuleController.php +21 −0 Go to diff View file
M plugins/tracker_cce/include/tracker_ccePlugin.php +31 −29 Go to diff View file
M plugins/tracker_cce/site-content/fr_FR/LC_MESSAGES/tuleap-tracker_cce.po +4 −0 Go to diff View file
M plugins/tracker_cce/site-content/pt_BR/LC_MESSAGES/tuleap-tracker_cce.po +4 −0 Go to diff View file
A plugins/tracker_cce/tests/unit/TrackerCCE/Administration/MaxSize0Mb.php +31 −0 Go to diff View file
M plugins/tracker_cce/tests/unit/TrackerCCE/Administration/UpdateModuleControllerTest.php +37 −0 Go to diff View file
M plugins/tracker_cce/tests/unit/TrackerCCE/Stubs/Administration/UploadedFileStub.php +5 −5 Go to diff View file