* Updated Database->insert_or_update_jobs() to use job_data when looking for a job uuid. Also fixed logging and adapted 'jobs::X' variable feeding to prevent them being undefined. Also made the search find jobs with the program name anywhere in the string, instead of just the start of the strong.
* Started work on Jobs->update_progress() to handle updating downloading file information.
Signed-off-by: Digimer <digimer@alteeve.ca>
@ -794,6 +795,8 @@ Here we will inject 't_0006', which injects 't_0001' which has a variable: [#!st
<keyname="job_0015">Manager Install Target.</key>
<keyname="job_0015">Manager Install Target.</key>
<keyname="job_0016">Enable or disable the 'Install Target' feature.</key>
<keyname="job_0016">Enable or disable the 'Install Target' feature.</key>
<keyname="job_0017">Update the 'Install Target' source files and refresh RPM repository.</key>
<keyname="job_0017">Update the 'Install Target' source files and refresh RPM repository.</key>
<keyname="job_0018">Download a file</key>
<keyname="job_0019">The referenced file will be downloaded by the target host.</key>
<!-- Warnings -->
<!-- Warnings -->
<keyname="striker_warning_0001">The IP address will change. You will need to reconnect after applying these changes.</key>
<keyname="striker_warning_0001">The IP address will change. You will need to reconnect after applying these changes.</key>
@ -882,6 +885,8 @@ Failed to generate an RSA public key for the user: [#!variable!user!#]. The outp
<keyname="error_0058">Failed to backup: [#!variable!file!#], skipping.</key>
<keyname="error_0058">Failed to backup: [#!variable!file!#], skipping.</key>
<keyname="error_0059">The file to be downloaded: [#!variable!file!#], already exists. Either remove it, or call again with '--overwrite'.</key>
<keyname="error_0059">The file to be downloaded: [#!variable!file!#], already exists. Either remove it, or call again with '--overwrite'.</key>
<keyname="error_0060">Something went wrong moving the downloaded file from the temporary location: [#!variable!source_file!#] to the output: [#!variable!target_file!#]. Useful errors may be above this message.</key>
<keyname="error_0060">Something went wrong moving the downloaded file from the temporary location: [#!variable!source_file!#] to the output: [#!variable!target_file!#]. Useful errors may be above this message.</key>
<keyname="error_0061">The download job with UUID: [#!variable!job_uuid!#] is not valid.</key>
<keyname="error_0062">The download job with UUID: [#!variable!job_uuid!#] is already being handled by another process.</key>
<!-- These are units, words and so on used when displaying information. -->
<!-- These are units, words and so on used when displaying information. -->