- Status Unconfirmed
- Percent Complete
- Task Type Bug Report
- Category User Interface
- Assigned To No-one
- Operating System All
- Severity High
- Priority Very Low
- Reported Version 1.0 devel (github master)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2456 - Missing GUI controls
After updating from “1.0-rc6” to “1.0-rc7 dev” there is missing controls menu on writer. Look attachment.
How to solve this?
Is there any settings to enable this or I’m missing something...
This is probably related to https://github.com/Flyspray/flyspray/commit/7cebb66348c3bba1a3337d7634fd08be8239b5fc
Please replace
with
in your flyspray.conf.php
syntax_plugin="" is too ambiguous and maybe we should allow only set values ('none','html','dokuwiki') there. I learned that old big installs never used html(ckeditor) or dokuwiki and for them a default fallback to ckeditor would make no sense. Maybe lets show a warning in future when syntax_plugin="" or invalid value is set.
Yea, when first install flyspray and HTML/ckeditor is choosen, this resulted up to now in syntax_plugin="" within flyspray.conf.php.
I probably will change this
to something like that:
dokuwiki: a flavor of wiki syntax, interpreted/rendered at output
html: handled by HTMLpurifier when saving, CKEditor UI shown for most textarea input fields.
none: handled by HTMLpurifier when saving, raw textarea input field.
Thank you. Now menu is working.
How to fix new problem regarding missing HTML. Should I do again upgrade and select YES on update on database?
No. No database change needed for that.
I made now the fix for that warning on github master: https://github.com/Flyspray/flyspray/commit/34c9810fa786a24ae0b5b8a051dfd1ec2ff9a756
https://github.com/Flyspray/flyspray/commit/34c9810fa786a24ae0b5b8a051dfd1ec2ff9a756
Your code did not work. It generate faulty page.
I just change to:
$text=strip_tags($text, '<br><br/><p><h2><h3><h4><h5><h5><h6><blockquote><a><img><u><b><strong><s><ins><del><ul><ol><li><table><caption><tr><col><colgroup><td><th><thead><tfoot><tbody><code>');
After my change there is no MSG about missing something, what was the goal. And also everything works fine..
? I tried with github master, played with setting syntax_plugin to '', 'none', 'html' and some invalid strings, and got not this error. Maybe mistake at manual replacing the changes?