* Apply should reconfigure, it takes care of start stop reload
according to the mutable service settings.
* ; exit 0 on stop was caused by spurious apply. Fixed by doing
reconfigure (see above).
* Add service control to status and log page.
* Spacing for spinner icons in buttons.
* Apply spins until reconfigured.
From my side this is ready for release in 18.1.7 when the legacy
model migration works fine. There is one change for this in core
that is not in 18.1.6 that prevents earlier merge.
CC: @fbrendel
* Test validations NotEmpty, translations and text improvements will
otherwise get in the way. We know that validation failed for a
particular value already.
* Behaviour on an installed OPNsense seems slightly different.
* Whitespace sweep and PSR2 code style
* Translate custom validation messages
CC: @fbrendel
There is a race happening sometimes...
There was 1 failure:
1) tests\OPNsense\Relayd\Api\RelaydTest::testStatusController
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'empty'
+'active (1 hosts)'
/usr/plugins/net/relayd/src/opnsense/mvc/tests/app/compound/OPNsense/Relayd/RelaydTest.php:428