Commit graph

312 commits

Author SHA1 Message Date
Andrea Richiardi
277677350c Add --no-show-photos to --gpg-options, fixes #140 2016-09-08 19:13:26 -07:00
zertrin
fb54765c53 Merge remote-tracking branch 'origin/dev' into rework-logging 2016-09-08 20:57:11 +02:00
zertrin
4bdde466e2 Merge pull request #138 from zertrin/fix-issue-135-s-nail
Add case for s-nail when using mailx
2016-09-06 11:40:09 +02:00
zertrin
0f901f4f78 Always exclude /proc from Source Disk Use Information 2016-09-05 01:40:52 +02:00
zertrin
4d5ab6247d Add case for s-nail when using mailx 2016-09-05 01:15:47 +02:00
zertrin
5d20128634 Improve some of the new comments about the new logging 2016-09-03 23:43:19 +02:00
zertrin
6c7eea2401 Big rework of logging handling. Add a --quiet option to suppress most output
To achieve the goals, I needed to dive into the arcane art of I/O
redirection in Bash. By playing correctly with the file descriptors and
tee, we can implement a sort of logging level system.
2016-09-03 23:26:54 +02:00
zertrin
b39300c514 Add --version option to README.md 2016-09-03 17:45:16 +02:00
zertrin
6421242e02 Wrap long lines in the CHANGELOG 2016-09-03 17:41:57 +02:00
zertrin
e92a4c49b3 v1.1 restart versionning and keeping a CHANGELOG
This time for real.
2016-09-03 17:30:17 +02:00
zertrin
4fbb5ed190 Merge remote-tracking branch 'origin/fix-issue-128-incexc' into dev
Fix and improve handling of INCLIST and EXCLIST
2016-09-03 15:41:56 +02:00
zertrin
17e40b3c67 Fix shellcheck error SC2166 2016-09-03 15:16:17 +02:00
zertrin
6b7c1c66b2 Fix shellcheck error SC2128 2016-09-03 15:14:19 +02:00
zertrin
f9c07e28fa Fix shellcheck SC2153 and SC1090 2016-09-03 15:10:18 +02:00
zertrin
73adf5dc99 Fixes related to new warnings coming from the new version of shellcheck 2016-08-31 23:03:09 +02:00
zertrin
f4c999b2c5 Merge pull request #133 from jrbenito/ifttt
Add IFTTT notification service
2016-08-31 22:11:07 +02:00
Josenivaldo Benito Jr
6ce9a646cd Wrong identation
Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 17:09:28 -03:00
Josenivaldo Benito Jr
562d6d05f2 Merge branch 'dev' into ifttt 2016-08-31 17:05:31 -03:00
zertrin
1238c14af6 Merge pull request #134 from jrbenito/issue_sendnotification_and_email
Send notification if stale lock is detected
2016-08-31 22:00:19 +02:00
Josenivaldo Benito Jr
4f96d724b3 Send notification if stale lock is detected
add send notification along with e-mail notification on stale lock
check.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 16:36:29 -03:00
Josenivaldo Benito Jr
465ae13b78 Add IFTTT notification service
Add the ability to trigger a custom event on the Maker channel provided
by IFTTT service. With this trigger one can program actions on another
channels. Examples:

-Log backup notification to a google spreadsheet;
-Receive notification on devices with IFTTT application installed;
-Send e-mails
-Log to evernote
-Turn a Philips Hue light green for good backup or red on errors

IFTTT Maker channel accepts three values (named value1, value2, value3)
as part of the trigger. This implementation sends the content of
NOTIFICATION_CONTENT as "value1" parameter and let "value2" be defined
at
configuration file. At this time "value3" is not used.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 15:26:12 -03:00
Josenivaldo Benito Jr
c9bd2a49f2 Add IFTTT notification service
Add the ability to trigger a custom event on the Maker channel provided
by IFTTT service. With this trigger one can program actions on another
channels. Examples:

-Log backup notification to a google spreadsheet;
-Receive notification on devices with IFTTT application installed;
-Send e-mails
-Log to evernote
-Turn a Philips Hue light green for good backup or red on errors

IFTTT Maker channel accepts three values (named value1, value2, value3)
as part of the trigger. This implementation sends the content of
NOTIFICATION_CONTENT as "value1" parameter and let "value2" be defined at
configuration file. At this time "value3" is not used.

Signed-off-by: Josenivaldo Benito Jr <jrbenito@benito.qsl.br>
2016-08-31 15:13:34 -03:00
zertrin
637336a45d Merge pull request #131 from lechup/cleanup
Adding -e, --cleanup flag
2016-07-13 19:10:58 +02:00
Leszek Piątek
4c99612258 Added info in readme about --cleanup flag. 2016-07-13 18:24:04 +02:00
Leszek Piątek
2f07d0e216 Adding -e, --cleanup flag... 2016-07-13 18:23:27 +02:00
zertrin
9e02ee3296 Merge pull request #130 from ArthurGarnier/dev
Support mailx from mailutils
2016-07-13 17:55:55 +02:00
Arthur Garnier
1604d024d7 Support mailx from mailutils 2016-07-03 01:07:08 +02:00
Marc Gallet
7a84fbdfa8 Fix for issue #128 2016-06-15 13:38:18 +02:00
zertrin
dcdc081f30 changed my mind about where to place NOTIFICATION_SERVICE 2016-04-29 15:31:56 +02:00
zertrin
b90289d33b minor comment changes to notifications 2016-04-29 15:27:40 +02:00
zertrin
b92d60f028 Merge commit '0501d233' into dev 2016-04-29 14:34:39 +02:00
sean
0501d23303 fixed error 2016-04-28 15:58:49 -04:00
zertrin
6dc6d198bb Restore the functionality to specify a custom mail script 2016-04-28 21:28:54 +02:00
thel0be
3ffde7807f Adding Pushover notifications 2016-04-23 14:15:09 -04:00
zertrin
d7737e3045 Merge pull request #120 from zertrin/fix-email-handling
Full rework of email handling
2016-04-10 16:37:48 +02:00
zertrin
09550fdd28 Merge pull request #121 from dismantl/gpg_backslashes
added -r flag to bash read to allow backslashes in GPG passphrases
2016-04-10 16:36:20 +02:00
Dan Staples
a719668f15 added -r flag to bash read to allow backslashes in GPG passphrases 2016-04-06 11:05:19 -04:00
zertrin
fad4bd2425 Full rework of email handling 2016-04-01 23:21:19 +02:00
zertrin
a1c16990d1 Merge pull request #119 from colinfrei/patch-1
Typo
2016-03-28 23:49:29 +02:00
zertrin
f3f4ddcd89 rework code for email and notifications (more DRY) 2016-03-28 23:47:39 +02:00
Colin Frei
74f637d4f9 Typo 2016-03-28 23:21:02 +02:00
zertrin
279a5580fe Update README.md - add missing git fetch step 2016-03-26 12:51:19 +01:00
zertrin
8c5de6162e Update README.md - add travis badge and rework of the Contributing section 2016-03-25 21:14:39 +01:00
zertrin
4513feaf26 Merge pull request #118 from zertrin/shellcheck_cleaning
- massive cleaning with shellcheck: from 5 errors and 200 warnings to zero
- adding Travis-CI
2016-03-25 20:49:31 +01:00
zertrin
bcd64c10d2 first iteration after activation of Travis-CI 2016-03-25 20:40:46 +01:00
zertrin
93e9854b98 let's try to do some Travis-CI with shellcheck 2016-03-25 20:29:06 +01:00
zertrin
6c63877052 one last cleaning in the conf file with shellcheck 2016-03-25 20:00:39 +01:00
zertrin
3797960809 massive cleaning with shellcheck: from 5 errors and 200 warnings to zero 2016-03-25 19:47:29 +01:00
zertrin
8c0f58d8f0 Merge branch 'sparanoid-patch-1' into dev 2016-03-25 17:40:32 +01:00
zertrin
5cf7abbdba Merge branch 'chrissam-dev' into dev 2016-03-24 21:12:34 +01:00