LimeSurvey: master c3d25219

Author Committer Branch Timestamp Parent
user70560 LouisGac master 2018-06-04 18:45 master d8f91ff0
Affected Issues  13497: Editor sreen loads without css when creating/opdating custom css
 13596: template assets is not resetted when updfate config
 13606: Unable to reset manually asset (file or firectory)
Changeset

Fix multiple issues with theme assets (#1048)

Fixed issue 13606 : Unable to reset manually single asset
Dev: hash function use for whole path, then global var set here
Dev: generatePath is used path by path

Fixed issue 13497 : Editor screen can be loaded without css after save
Dev: moving global reset to only this template
Dev: less time to generate assets

Fixed issue 13596: template assets is not resetted when update config
Dev: need to do it if user add a file in TemplateConfigurationfiles*
Dev: do it only for global theme (?)

Dev: move injectglobalsettings to LSYii_Application
Dev: maybe create a now function to set all config ?

Dev: Fix installmer and move all set configs part to one function

Dev: Create a DB for asset version number and use it for Template

Dev: fix upgrade , remove dev test lien :/

Fixed issue : reset asset when upload or delete a template file
Dev: rename Template functions to be more clear (we don't delete really the asset directory)

mod - application/controllers/admin/themeoptions.php Diff File
mod - application/controllers/admin/themes.php Diff File
mod - application/core/LSYii_Application.php Diff File
mod - application/core/LSYii_AssetManager.php Diff File
mod - application/helpers/globalsettings_helper.php Diff File
mod - application/helpers/update/updatedb_helper.php Diff File
add - application/models/AssetVersion.php Diff File
mod - application/models/Template.php Diff File
mod - installer/create-database.php Diff File