WhippingOOFoswikiIntoShape

Work needed to get Foswiki 3.0 stable

This is a ToDo / Brainstorming list for the OO Foswiki - Item13897 branch - stable enough for to consider it releasable. Backwards compatibility is intentionally omitted. That will need a topic of it's own.

UI issues / idiosyncrasies

Fixed Issue
DONE
Screens display " Unsafe shell variable PATH is used, consider setting SafeEnvPath configuration parameter. " at top. This should be a configure error, not broadcast.
edit
DONE
Login screen shows " RENDERZONE{0} RENDERZONE{1} " at top
edit

Unit test issues

Fixed Issue
Same on master
AccessControlTests::test_login_redirect_preserves_anchor - unexpected pass
edit
Same on master
AdminOnlyAccessControlTests::test_login_redirect_preserves_anchor - unexpected pass (same reason as above, I guess)
edit
DONE
FormattingTests::test_ampersand_querystring - unexpected pass
edit
 
TestCaseAmISane - attachment upload test fails.
It is supposed to update an existing attachment with a different file. But instead creates a new attachment with the new name.
edit
 
SeleniumConfigTest – requires somebody with seleinum knowelege
This has not been functional for a very long time. I'd say it should be disabled for now -- GeorgeClark
edit
 
RobustnessTests - test_filterTopicName
edit
 
UIFnCompileTests – there are discrepancies between expected statuses and those actually returned. Not sure which are more correct as there are different interpretations are possible.
edit

Performance issues

Fixed Issue

Operational issues

Fixed Issue

LocalLib.cfg

Depending on community decision with regard to new extensions this approach could be replaced with something different. As long as we keep in mind that a lot of users are not Perl programmers and might be confused with Perlish statements in a config file a more human-readable format shall be considered instead. Proposals are welcome. Though simple .ini would serve the best because it is wide spread, easy to read and well-known to almost everybody in the IT world.

As soon as setting libpath is considered a part of this matter it is proposed either to rely on PERL5LIB environment variable; or where it is not possible to use it make setting of the libpath an application function. The latter case implies that the application must use necessary modules at run time rather than rely on use statement.

Comments

Regarding LocalLib.cfg, we do need some way to set ENV variables, and modify the lib paths, etc. on servers where the installer has no access to shell, or traditional Apache configuration. On my own system where I use mod_suexec to run the foswiki CGI scripts under my local login, I can no longer set FOSWIKI_ASSERTS. (mod_suexec "sanitizes" the ENV before passing control to the CGI script.)

-- GeorgeClark - 20 Oct 2016

We lack a way to bind comments to a subject within topic...

Regarding selenium – if I understand its purpose then I would fit better into PlackTestCase framework.

-- VadimBelman - 02 Nov 2016

Concerning the {SafeEnvPath}, issue the following commands: which bash which diff For shared hosting environments, one could use the attached lamp.pl (renamed to lamp.txt) file. Put it in the cgi-bin directory of your shared hosting and navigate to yourdomain.ext/cgi-bin/lamp.pl to see the results. Maybe someone could make this perl script more generic

-- StijnBousard - 11 Apr 2017
 
I Attachment Action Size Date Who Comment
lamp.pl.txttxt lamp.pl.txt manage 1 K 11 Apr 2017 - 09:46 StijnBousard check Foswiki Installation Requirements
Topic revision: r21 - 11 Apr 2017, StijnBousard
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy