LimeSurvey: 3.x-LTS eef20220

Author Committer Branch Timestamp Parent
gabrieljenik GitHub 3.x-LTS 2020-11-10 10:41:45 3.x-LTS e2b704e1
Affected Issues  16733: When importing a theme bigger in size than the allowed PHP.ini settings, there is no proper description of the error
Changeset

Bug/16733 when importing a theme bigger in size than the allowed php.ini settings, there is no proper description of the error (#1633)

  • Fixed issue 16733: When importing a theme bigger in size than the allowed PHP.ini settings, there is no proper description of the error

Adding helper functions for checking uploads filesize

  • Fixed issue 16733: When importing a theme bigger in size than the allowed PHP.ini settings, there is no proper description of the error

Applying fix on

  • Theme import (Themes list and Theme editor)

  • File upload in Theme editor (uploading files to a theme)

  • Image upload (in global theme options)

  • Image upload (in survey theme options

  • Fixed issue 16733: When importing a theme bigger in size than the allowed PHP.ini settings, there is no proper description of the error

Creating Uploadhelper and moving helper functions to class methods.

mod - application/controllers/admin/surveyadmin.php Diff File
mod - application/controllers/admin/themes.php Diff File
add - application/core/LSUploadHelper.php Diff File
mod - application/views/admin/themeoptions/import_modal.php Diff File
mod - application/views/admin/themeoptions/update.php Diff File
mod - application/views/admin/themes/importform_view.php Diff File
mod - themes/survey/bootswatch/options/options.twig Diff File
mod - themes/survey/fruity/options/options.twig Diff File
mod - themes/survey/vanilla/options/options.twig Diff File