Move services onto new services system, includes tests
This commit is contained in:
parent
e91079d128
commit
90bbe57148
26 changed files with 899 additions and 272 deletions
|
@ -34,6 +34,7 @@ return [
|
|||
'cidr_out_of_range' => 'CIDR notation only allows masks between /25 and /32.',
|
||||
],
|
||||
'service' => [
|
||||
'delete_has_servers' => 'A service with active servers attached to it cannot be deleted from the Panel.',
|
||||
'options' => [
|
||||
'delete_has_servers' => 'A service option with active servers attached to it cannot be deleted from the Panel.',
|
||||
'invalid_copy_id' => 'The service option selected for copying a script from either does not exist, or is copying a script itself.',
|
||||
|
|
|
@ -23,8 +23,15 @@
|
|||
*/
|
||||
|
||||
return [
|
||||
'notices' => [
|
||||
'service_created' => 'A new service, :name, has been successfully created.',
|
||||
'service_deleted' => 'Successfully deleted the requested service from the Panel.',
|
||||
'service_updated' => 'Successfully updated the service configuration options.',
|
||||
'functions_updated' => 'The service functions file has been updated. You will need to reboot your Nodes in order for these changes to be applied.',
|
||||
],
|
||||
'options' => [
|
||||
'notices' => [
|
||||
'option_deleted' => 'Successfully deleted the requested service option from the Panel.',
|
||||
'option_updated' => 'Service option configuration has been updated successfully.',
|
||||
'script_updated' => 'Service option install script has been updated and will run whenever servers are installed.',
|
||||
'option_created' => 'New service option was created successfully. You will need to restart any running daemons to apply this new service.',
|
||||
|
|
Reference in a new issue