- Move diagnostics into main module instead of action script.
- Ability run diagnostics as non-root user (because it runs in Plinth
instead of action).
- Diagnose whether LDAP server is listening.
- Diagnose directory entities created during setup.
- When this option is provided, Plinth will initialize, load modules,
execute diagnostics, print the results on console and quit.
- Replacement for /usr/lib/freedombox/testsuite
- Run diagnostics on each module separately.
- Run diagnostics in a separate thread.
- Show progressive update while running diagnostics.
- Store and show old diagnostics.
- Prevent CSRF on the expensive operation of running diagnostics.
- Helper for checking whether a port is being listened on.
- Helper for checking whether a URL is accessible.
- Helper for checking whether a URL is accessible with all possible IPs
and machine names.
- Helper for checking whether it is possible to connect to a port.
When trying to edit connection of unknown type show an error and return
to connections list instead of trying to filling in some fields and
doing badly.
Since IPv4 address settings are not relavent for PPPoE and the command
settings take them, split the common setting updation into basic
settings and IPv4 settings.
- Retrieve password using connection.get_secrets() instead of
settings_pppoe.get_password().
- Make sure IPv4 settings are not accessed during PPPoE editing.
- Since freedombox-setup itself does not use ppp or pppoe, it is perhaps
not right to add these two as dependencies to freedombox-setup.
- Add network-manager as dependency although it is already dependency of
freedombox-setup. This is so that one day Plinth can perhaps work
independent of freedombox-setup.
- Javascript was missing for the template altogether. Added one similar
to create case.
- Minor refactoring to existing javascript.
- Consistent styling for display label and field id.
rafactoring of activate_connection function:
as we now know the interface name of a connection we can pick the connection
by this value and activate the connection.
* Added a new choice to main selectbox for adding Network Connections (network.py)
* Added a new form which asks for name, interface, firewall zone, username and password (forms.py, urls.py)
* Added new helper functions to create PPPoE based connection object (network.py)
When an ActionError is raised during pre_install or on_install action,
the error is not being shown. Instead an error is being raised. This
fixes that.
- It does not work on all the modules available.
- It does not reload Plinth after changes.
- As of now, there is not strong case for disabling modules in Plinth
making it unnecessary UI complication.
- Split into multiple small Debian packages is not yet implemented for
Plinth. The module expects to work on the Debian modules. When
smaller Debian packages are available perhaps we should consider using
packages.py library instead.