Jurgen S
da3425af3f
#585 : proper UTF-8 encoding of email content
...
Updated script so the email content is encoded properly in UTF-8 to avoid "UnicodeEncodeErrors" when non ascii characters are used like german Umlauts etc.
2018-11-30 23:57:22 +01:00
Simon Chapman
4c482a91da
#581 : added python 3 compatibility to Logger.py script
2018-11-29 22:45:01 +01:00
Simon Chapman
458a1afb13
#578 : added python 3 compatibility to EMail.py script
2018-11-19 08:20:57 +01:00
BernCarney
24a4542c14
#452 , #453 : proper URL encoding in example pp-scripts
...
Updated scripts to accept special characters in nzbget password and username.
2017-10-05 19:31:49 +02:00
Andrey Prygunkov
dd714355c4
nzbget/nzbget#388 : updated wiki links to use new url format
2017-06-09 18:41:40 +02:00
Andrey Prygunkov
34efa87699
#50 : "send test e-mail" command in EMail.py
2017-03-20 21:03:40 +01:00
Andrey Prygunkov
a3b0b7675e
#50 : execute custom commands for scripts
...
New API-method “startscript”.
2017-03-17 20:24:14 +01:00
Andrey Prygunkov
602f62c17c
#50 : define custom buttons in extension scripts
2017-03-17 19:23:56 +01:00
Andrey Prygunkov
2cd3f0fc68
#309 : allow sending e-mails to multiple recipients
...
in the example pp-script “EMail.py”.
2016-11-20 13:12:50 +01:00
Andrey Prygunkov
f3f7fbd0de
#176 : updated copyright notice in source files
...
- added link to http://nzbget.net ;
- replaced FSF Post address with a web link;
- removed unusable subversion-tags;
- updated year.
2016-03-01 19:45:07 +01:00
Andrey Prygunkov
afa32676ac
fixed #20 : option Encryption=Force in EMail.py
...
PP-Script EMail.py now supports new TLS/SSL mode “Force”. When active
the secure communication with SMTP server is built using secure socket
on connection level instead of plain connection and following switch
into secure mode using SMTP-command “STARTLS”. This new mode is in
particular required when using GMail on port 465.
2015-09-08 19:16:14 +02:00
Andrey Prygunkov
049dba4b06
small change in text message generated by pp-script "EMail.py"
2015-03-28 13:09:50 +00:00
Andrey Prygunkov
6252f2c8c1
updated pp-script "EMail.py": 1) to use the new nzb-log feature; 2) new option "SendMail" allows to choose if the e-mail should be send always or on failure only
2015-02-27 19:20:15 +00:00
Andrey Prygunkov
708f819182
updated pp-script "Logger.py" to use the new nzb-log feature
2015-02-27 19:18:22 +00:00
Andrey Prygunkov
459a79a1f1
improved pp-script EMail.py: now it can send time statistics (thanks to JVM for the patch)
2014-08-27 16:27:40 +00:00
Andrey Prygunkov
0fe503658b
pp-script "EMail.py" now supports mail server relays (thanks l2g for the patch)
2014-07-20 16:20:24 +00:00
Andrey Prygunkov
fc20bcca91
pp-script "EMail.py" now takes the status of previous pp-scripts into account and report a failure if any of the scripts has failed
2014-07-04 19:50:11 +00:00
Andrey Prygunkov
48446367f4
post-processing scripts now have two new parameters: env. var "NZBPP_STATUS" indicates the status of download including the total status (SUCCESS, FAILURE, etc.) and the detail field (for example in case of failures: PAR, UNPACK, etc.); env. var "NZBPP_TOTALSTATUS" is equal to the total status of parameter "NZBPP_STATUS" and is provided for convenience (to avoid parsing of "NZBPP_STATUS"); the new parameters provide a simple way for pp-scripts to determine download status without a guess work needed in previous versions; parameters "NZBPP_PARSTATUS" and "NZBPP_UNPACKSTATUS" are now considered deprecated (still passed for compatibility); updated script "EMail.py" to use new parameters "NZBPP_TOTALSTATUS" and "NZBPP_STATUS" instead of "NZBPP_PARSTATUS" and "NZBPP_UNPACKSTATUS"
2014-05-28 22:19:39 +00:00
Andrey Prygunkov
169c56f105
implemented general scripts concept which is an extension of the post-processing scripts concept initially introduced in v11; the general scripts concept applies to all scripts used in the program: scan-script, queue-script and scheduler-script (in addition to post-processing scripts); option "NzbProcess" renamed to "ScanScript"; option "NzbAddedProcess" renamed to "QueueScript"; option "DefScript" and "CategoryX.DefScript" renamed to "PostScript" and "CategoryX.PostScript" (options with old names are recognized and automatically converted on first settings saving); new option "TaskX.Script"; old option "TaskX.Process" kept for scheduling of external programs not related to nzbget (to avoid writing of intermediate proxy scripts); scan-script, queue-script and scheduler-script now work similar to post-processing scripts: -scripts must be put into scripts-directory; -scripts can be configured via web-interface and can have options; -multiple scripts can be chosen for each scripts-option, all chosen scripts are executed; -program and script options are passed to the script as env. variables;; renamed default directory with scripts from "ppscripts" to "scripts"; script signature indicates the type of script (post-processing, scan, queue or scheduler); one script can have mixed signature allowing it to be used for multiple purposes (for example a notification script can send a notification on both events: after adding to queue and after post-processing); result of RPC-method "configtemplates" has new fields "PostScript", "ScanScript", "QueueScript", "SchedulerScript" to indicate the purpose of the script; queue-script (formerly NzbAddedProcess) has new parameter "NZBNA_EVENT" indicating the reason of calling the script; currently the script is called only after adding of files to download queue and therefore the parameter is always set to "NZB_ADDED" but the queue-script can be called on other events in the future too
2014-05-06 15:36:15 +00:00