Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New feature: Install/Uninstall templates uploaded via FTP
- Loading branch information
LouisGac
committed
Oct 13, 2017
1 parent
812cefa
commit e9b27f1
Showing
6 changed files
with
318 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I cannot read the code: does this change mean that via FTP uploaded templates are imported automagically?
And what when they are deleted or renamed?
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we now have to install such templates? Previously simply uploading it worked fine.
Users may miss that additional step after FTP upload. What happens in such cases?
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maziminke :
Now, templates have database entries for configuration at global / survey group / survey level.
@tammoterhark :
Templates are not imported "automagically": after you uploaded a template via FTP, you must press the install button to create the entry in the DB. The idea in template list is to have different arrays:
installed and working templates / working templates but not installed / not working templates (wrong XML, etc) / outdated templates (2.x templates)
Adding an autoinstall of templates in ftp directory can still be done.
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any disadvantage on having many (all available) templates installed? Or are there other reasons for not installing templates that are available in the templates directory? Performance? User availability?
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting:
autoinstall templates: ON (default)?
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a good idea
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And maybe show a list of templates that cannot be installed with a reason:
e9b27f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can leave that for 3.1 if it would postpone the release of 3.0 .... ;-)