stable

Clone or download

Read-only

Max file size is updatable in site admin section

This is part of story #12327 set limits on git-lfs file usage Site administrators are now able to update the max file size. The update query uses a non necessary where. It was mandatory otherwise MySQL is not happy: "Unsafe query: 'Update' statement without 'where' updates all table rows at once" Change-Id: Ic534e290c50717e9cb72cbf9a2c0eb22ab819d56

Modified Files

Name
M plugins/gitlfs/include/Admin/AdminDao.php +9 −0 Go to diff View file
A plugins/gitlfs/include/Admin/IndexPostController.php +81 −0 Go to diff View file
M plugins/gitlfs/include/gitlfsPlugin.class.php +5 −0 Go to diff View file
M plugins/gitlfs/site-content/fr_FR/LC_MESSAGES/tuleap-gitlfs.po +8 −2 Go to diff View file
M plugins/gitlfs/site-content/tuleap-gitlfs.pot +6 −0 Go to diff View file
M plugins/gitlfs/templates/config.mustache +1 −1 Go to diff View file