Restarting Apache breaks existing connections. This includes the connection
on which the Plinth's user has made the ownCloud enable/disable request. This
leads to an almost certain 'Connection Interupted' message to the client when
changes to ownCloud are submitted.
On the other hand, 'reload' is sufficient and 'restart' is not required. It is
also faster and recommended by 'a2enconf' and 'a2disconf' commands.
* Add unit tests for cfg.py, context_processors.py, and menu.py
* Add new plinth/tests/data directory for miscellaneous test data
* In cfg.py, add an explicit check to verify the existence of the secondary
(non-default) plinth.config file
* In cfg.py, replace deprecated configparser.SafeConfigParser with
configparser.ConfigParser
* Add a detailed console report to the 'test_coverage' command output
* Expand the precision of all coverage percentages to two decimal places
* Print the location of the HTML coverage report at the end of the console report
When modules were removed, Debian packaging also had to remove them to
avoid errors. When Debian guidelines are following and correspoding deb
helper is used, it creates .dpkg-* files in the module configuration
directory. Plinth tries to load these which causes problems. We should
consider loading files with a known extension in future.
Since the links to javascript libraries have been removed in favor of
using javscript-common, it is no longer possible to run Plinth stand
alone without a reverse proxy that also serves /javscript. This patch
fixes that. Now /javascirpt is also available when Plinth is running
stand alone.
- If during an action, user does not exist ignore.
- If during an action, return a non-zero exist status.
- Catch an errors during actions as exceptions.
- Display a message that corresponding POSIX operation failed.
These cause lintain warning during Debian package building. They
currently don't serve any purpose as they are empty. They can be
re-added when they have some content.
Documentation shown inside Plinth is not effected by this as it includes
its own styling. Documentation that is opened by user directly from
/usr/share/doc/plinth is effected.