send silent and settings_id parameters to the extensions server.
Backgroud
Extensions server will be doing the Google Drive/Dropbox etc synchornization in an async sqs-queue fashion. Thus it will have to send out the failed backup emails. Extensions server doesn't have access to the same info as syncing-server thus needs to get the "silent/mute" and settings_id information via the request payload.
This PR will come hand-in-hand with PRs to extensions-server and google-drive-ext (which could become obsolete)
Additional changes
Refactored the ExtensionJob::perform method so that it has a declared set of input arguments instead of a mystery params array that can hold all or nothing. This is hard to maintain and guess how and when it's used.
Replaced puts with logger usage
add missing env vars for SMTP setup in dotenv sample
Main goal
send
silent
andsettings_id
parameters to the extensions server.Backgroud
Extensions server will be doing the Google Drive/Dropbox etc synchornization in an async sqs-queue fashion. Thus it will have to send out the failed backup emails. Extensions server doesn't have access to the same info as syncing-server thus needs to get the "silent/mute" and
settings_id
information via the request payload.This PR will come hand-in-hand with PRs to
extensions-server
andgoogle-drive-ext
(which could become obsolete)Additional changes
ExtensionJob::perform
method so that it has a declared set of input arguments instead of a mysteryparams
array that can hold all or nothing. This is hard to maintain and guess how and when it's used.