From 6dafecdb196ea60ecd8acacc53ce54b47197c831 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Thu, 25 Jul 2024 20:19:02 -0400 Subject: [PATCH] bumped version to v1.8.1 --- apprise/__init__.py | 2 +- apprise/i18n/apprise.pot | 87 ++++++++++++++++-- packaging/man/apprise.1 | 129 +++------------------------ packaging/man/apprise.1.html | 87 +++++++++--------- packaging/redhat/python-apprise.spec | 11 ++- setup.py | 2 +- 6 files changed, 147 insertions(+), 171 deletions(-) diff --git a/apprise/__init__.py b/apprise/__init__.py index c57e7701..7bc19efe 100644 --- a/apprise/__init__.py +++ b/apprise/__init__.py @@ -27,7 +27,7 @@ # POSSIBILITY OF SUCH DAMAGE. __title__ = 'Apprise' -__version__ = '1.8.0' +__version__ = '1.8.1' __author__ = 'Chris Caron' __license__ = 'BSD' __copywrite__ = 'Copyright (C) 2024 Chris Caron ' diff --git a/apprise/i18n/apprise.pot b/apprise/i18n/apprise.pot index f81df84d..89136a90 100644 --- a/apprise/i18n/apprise.pot +++ b/apprise/i18n/apprise.pot @@ -6,16 +6,16 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: apprise 1.8.0\n" +"Project-Id-Version: apprise 1.8.1\n" "Report-Msgid-Bugs-To: lead2gold@gmail.com\n" -"POT-Creation-Date: 2024-05-11 16:13-0400\n" +"POT-Creation-Date: 2024-07-25 18:31-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.13.1\n" +"Generated-By: Babel 2.15.0\n" msgid "A local Gnome environment is required." msgstr "" @@ -35,6 +35,9 @@ msgstr "" msgid "API Token" msgstr "" +msgid "API Version" +msgstr "" + msgid "Access Key" msgstr "" @@ -56,6 +59,9 @@ msgstr "" msgid "Action" msgstr "" +msgid "Action Mapping" +msgstr "" + msgid "Add Tokens" msgstr "" @@ -74,6 +80,9 @@ msgstr "" msgid "App ID" msgstr "" +msgid "App User Name" +msgstr "" + msgid "App Version" msgstr "" @@ -182,6 +191,9 @@ msgstr "" msgid "Currency" msgstr "" +msgid "Custom Data" +msgstr "" + msgid "Custom Details" msgstr "" @@ -200,6 +212,9 @@ msgstr "" msgid "Data Entries" msgstr "" +msgid "Decode Template Args" +msgstr "" + msgid "Delay" msgstr "" @@ -242,9 +257,15 @@ msgstr "" msgid "Embed URL" msgstr "" +msgid "Enable Contents" +msgstr "" + msgid "Entity" msgstr "" +msgid "Entity ID" +msgstr "" + msgid "Event" msgstr "" @@ -284,6 +305,9 @@ msgstr "" msgid "Free-Mobile" msgstr "" +msgid "From" +msgstr "" + msgid "From Email" msgstr "" @@ -398,6 +422,9 @@ msgstr "" msgid "Matrix API Verion" msgstr "" +msgid "Media Type" +msgstr "" + msgid "Memory" msgstr "" @@ -478,15 +505,12 @@ msgstr "" msgid "Payload Extras" msgstr "" -msgid "Ping Discord Role" -msgstr "" - -msgid "Ping Discord User" -msgstr "" - msgid "Port" msgstr "" +msgid "Postback Data" +msgstr "" + msgid "Prefix" msgstr "" @@ -511,6 +535,9 @@ msgstr "" msgid "Query Method" msgstr "" +msgid "Recipient Phone Number" +msgstr "" + msgid "Region" msgstr "" @@ -541,6 +568,9 @@ msgstr "" msgid "Route Group" msgstr "" +msgid "SMS Mode" +msgstr "" + msgid "SMTP Server" msgstr "" @@ -571,6 +601,9 @@ msgstr "" msgid "Sender ID" msgstr "" +msgid "Sender Name" +msgstr "" + msgid "Sensitive Attachments" msgstr "" @@ -580,6 +613,12 @@ msgstr "" msgid "Server Timeout" msgstr "" +msgid "Service ID" +msgstr "" + +msgid "Service Password" +msgstr "" + msgid "Severity" msgstr "" @@ -589,9 +628,15 @@ msgstr "" msgid "Show Status" msgstr "" +msgid "Signature" +msgstr "" + msgid "Silent Notification" msgstr "" +msgid "Société Française du Radiotéléphone" +msgstr "" + msgid "Socket Connect Timeout" msgstr "" @@ -613,9 +658,15 @@ msgstr "" msgid "Source Phone No" msgstr "" +msgid "Space ID" +msgstr "" + msgid "Special Text Color" msgstr "" +msgid "Splunk On-Call" +msgstr "" + msgid "Spoiler Text" msgstr "" @@ -625,6 +676,9 @@ msgstr "" msgid "Subtitle" msgstr "" +msgid "TTS Voice" +msgstr "" + msgid "Tags" msgstr "" @@ -667,6 +721,9 @@ msgstr "" msgid "Target Group ID" msgstr "" +msgid "Target Phone" +msgstr "" + msgid "Target Phone No" msgstr "" @@ -682,6 +739,9 @@ msgstr "" msgid "Target Room ID" msgstr "" +msgid "Target Routing Key" +msgstr "" + msgid "Target Schedule" msgstr "" @@ -757,6 +817,9 @@ msgstr "" msgid "Thread Key" msgstr "" +msgid "Timeout" +msgstr "" + msgid "To Channel ID" msgstr "" @@ -862,9 +925,15 @@ msgstr "" msgid "Webhook Token" msgstr "" +msgid "Workflow ID" +msgstr "" + msgid "Workspace" msgstr "" +msgid "Wrap Text" +msgstr "" + msgid "X-Axis" msgstr "" diff --git a/packaging/man/apprise.1 b/packaging/man/apprise.1 index 1e5ca1f4..f17c4617 100644 --- a/packaging/man/apprise.1 +++ b/packaging/man/apprise.1 @@ -1,213 +1,134 @@ -.\" generated with Ronn/v0.7.3 -.\" http://github.com/rtomayko/ronn/tree/0.7.3 -. -.TH "APPRISE" "1" "March 2024" "Chris Caron " "" -. +.\" generated with Ronn-NG/v0.9.1 +.\" http://github.com/apjanke/ronn-ng/tree/0.9.1 +.TH "APPRISE" "1" "July 2024" "Chris Caron " .SH "NAME" \fBapprise\fR \- Push Notifications that work with just about every platform! -. .SH "SYNOPSIS" -\fBapprise\fR [\fIoptions\fR\.\.\.] \fIservice\-url\fR\.\.\. -. +\fBapprise\fR [\fIoptions\fR\|\.\|\.\|\.] \fIservice\-url\fR\|\.\|\.\|\. .br -. .SH "DESCRIPTION" \fBApprise\fR allows you to send a notification to \fIalmost all\fR of the most popular notification services available to us today such as: Discord, Telegram, Pushbullet, Slack, Twitter, etc\. -. -.IP "\(bu" 4 +.IP "\[ci]" 4 One notification library to rule them all\. -. -.IP "\(bu" 4 +.IP "\[ci]" 4 A common and intuitive notification syntax\. -. -.IP "\(bu" 4 +.IP "\[ci]" 4 Supports the handling of images (to the notification services that will accept them)\. -. .IP "" 0 -. .SH "OPTIONS" The Apprise options are as follows: -. .P \fB\-b\fR, \fB\-\-body=\fR\fITEXT\fR: Specify the message body\. If no body is specified then content is read from \fIstdin\fR\. -. .P \fB\-t\fR, \fB\-\-title=\fR\fITEXT\fR: Specify the message title\. This field is complete optional\. -. .P \fB\-c\fR, \fB\-\-config=\fR\fICONFIG\-URL\fR: Specify one or more configuration locations\. -. .P \fB\-a\fR, \fB\-\-attach=\fR\fIATTACH\-URL\fR: Specify one or more file attachment locations\. -. .P \fB\-P\fR, \fB\-\-plugin\-path=\fR\fIPLUGIN\-PATH\fR: Specify a path to scan for custom notification plugin support\. You can create your own notification by simply creating a Python file that contains the \fB@notify("schema")\fR decorator\. -. .P You can optioanly chose to specify more then one \fB\-\-plugin\-path\fR (\fB\-P\fR) to increase the modules included\. -. .P \fB\-n\fR, \fB\-\-notification\-type=\fR\fITYPE\fR: Specify the message type (default=info)\. Possible values are "info", "success", "failure", and "warning"\. -. .P \fB\-i\fR, \fB\-\-input\-format=\fR\fIFORMAT\fR: Specify the input message format (default=text)\. Possible values are "text", "html", and "markdown"\. -. .P \fB\-T\fR, \fB\-\-theme=\fRTHEME: Specify the default theme\. -. .P \fB\-g\fR, \fB\-\-tag=\fRTAG: Specify one or more tags to filter which services to notify\. Use multiple \fB\-\-tag\fR (\fB\-g\fR) entries to \fBOR\fR the tags together and comma separated to \fBAND\fR them\. If no tags are specified then all services are notified\. -. .P \fB\-Da\fR, \fB\-\-disable\-async\fR: Send notifications synchronously (one after the other) instead of all at once\. -. .P \fB\-R\fR, \fB\-\-recursion\-depth\fR: he number of recursive import entries that can be loaded from within Apprise configuration\. By default this is set to 1\. If this is set to zero, then import statements found in any configuration is ignored\. -. .P \fB\-e\fR, \fB\-\-interpret\-escapes\fR Enable interpretation of backslash escapes\. For example, this would convert sequences such as \en and \er to their respected ascii new\-line and carriage -. .P \fB\-j\fR, \fB\-\-interpret\-emojis\fR Enable interpretation of emoji strings\. For example, this would convert sequences such as :smile: or :grin: to their respected unicode emoji character\. -. .P \fB\-d\fR, \fB\-\-dry\-run\fR: Perform a trial run but only prints the notification services to\-be triggered to \fBstdout\fR\. Notifications are never sent using this mode\. -. .P return characters prior to the delivery of the notification\. -. .P \fB\-l\fR, \fB\-\-details\fR Prints details about the current services supported by Apprise\. -. .P \fB\-v\fR, \fB\-\-verbose\fR: The more of these you specify, the more verbose the output is\. e\.g: \-vvvv -. .P \fB\-D\fR, \fB\-\-debug\fR: A debug mode; useful for troubleshooting\. -. .P \fB\-V\fR, \fB\-\-version\fR: Display the apprise version and exit\. -. .P \fB\-h\fR, \fB\-\-help\fR: Show this message and exit\. -. .SH "EXIT STATUS" \fBapprise\fR exits with a status of: -. -.IP "\(bu" 4 +.IP "\[ci]" 4 \fB0\fR if all of the notifications were sent successfully\. -. -.IP "\(bu" 4 +.IP "\[ci]" 4 \fB1\fR if one or more notifications could not be sent\. -. -.IP "\(bu" 4 +.IP "\[ci]" 4 \fB2\fR if there was an error specified on the command line such as not providing an valid argument\. -. -.IP "\(bu" 4 +.IP "\[ci]" 4 \fB3\fR if there was one or more Apprise Service URLs successfully loaded but none could be notified due to user filtering (via tags)\. -. .IP "" 0 -. .SH "SERVICE URLS" There are to many service URL and combinations to list here\. It\'s best to visit the Apprise GitHub page \fIhttps://github\.com/caronc/apprise/wiki#notification\-services\fR and see what\'s available\. -. .SH "EXAMPLES" Send a notification to as many servers as you want to specify as you can easily chain them together: -. .IP "" 4 -. .nf - $ apprise \-vv \-t "my title" \-b "my notification body" \e "mailto://myemail:mypass@gmail\.com" \e "pbul://o\.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b" -. .fi -. .IP "" 0 -. .P If you don\'t specify a \fB\-\-body\fR (\fB\-b\fR) then stdin is used allowing you to use the tool as part of your every day administration: -. .IP "" 4 -. .nf - $ cat /proc/cpuinfo | apprise \-vv \-t "cpu info" \e "mailto://myemail:mypass@gmail\.com" -. .fi -. .IP "" 0 -. .P Load in a configuration file which identifies all of your notification service URLs and notify them all: -. .IP "" 4 -. .nf - $ apprise \-vv \-t "my title" \-b "my notification body" \e \-\-config=~/apprise\.yml -. .fi -. .IP "" 0 -. .P Load in a configuration file from a remote server that identifies all of your notification service URLs and only notify the ones tagged as \fIdevops\fR\. -. .IP "" 4 -. .nf - $ apprise \-vv \-t "my title" \-b "my notification body" \e \-\-config=https://localhost/my/apprise/config \e \-t devops -. .fi -. .IP "" 0 -. .P Include an attachment: -. .IP "" 4 -. .nf - $ apprise \-vv \-t "School Assignment" \-b "See attached" \e \-\-attach=Documents/FinalReport\.docx -. .fi -. .IP "" 0 -. .SH "CUSTOM PLUGIN/NOTIFICATIONS" Apprise can additionally allow you to define your own custom \fBschema://\fR entries that you can trigger on and call services you\'ve defined\. -. .P By default \fBapprise\fR looks in the following local locations for custom plugin files and loads them: -. .IP "" 4 -. .nf - ~/\.apprise/plugins ~/\.config/apprise/plugins /var/lib/apprise/plugins -. .fi -. .IP "" 0 -. .P Simply create your own python file with the following bare minimum content in it: from apprise\.decorators import notify -. .IP "" 4 -. .nf - # This example assumes you want your function to trigger on foobar:// # references: @notify(on="foobar", name="My Custom Notification") @@ -215,24 +136,17 @@ def my_wrapper(body, title, notify_type, *args, **kwargs): - # Returning True/False is a way to relay your status back to Apprise\. - # Returning nothing (None by default) is always interpreted as a Success + # Returning True/False is a way to relay your status back to Apprise\. + # Returning nothing (None by default) is always interpreted as a Success return True -. .fi -. .IP "" 0 -. .SH "CONFIGURATION" A configuration file can be in the format of either \fBTEXT\fR or \fBYAML\fR where [TEXT][textconfig] is the easiest and most ideal solution for most users\. However YAML \fIhttps://github\.com/caronc/apprise/wiki/config_yaml\fR configuration files grants the user a bit more leverage and access to some of the internal features of Apprise\. Reguardless of which format you choose, both provide the users the ability to leverage \fBtagging\fR which adds a more rich and powerful notification environment\. -. .P Configuration files can be directly referenced via \fBapprise\fR when referencing the \fB\-\-config=\fR (\fB\-c\fR) CLI directive\. You can identify as many as you like on the command line and all of them will be loaded\. You can also point your configuration to a cloud location (by referencing \fBhttp://\fR or \fBhttps://\fR\. By default \fBapprise\fR looks in the following local locations for configuration files and loads them: -. .IP "" 4 -. .nf - ~/\.apprise\.conf ~/\.apprise\.yaml ~/\.config/apprise\.conf @@ -247,43 +161,26 @@ Configuration files can be directly referenced via \fBapprise\fR when referencin /etc/apprise\.yaml /etc/apprise/apprise\.conf /etc/apprise/apprise\.yaml -. .fi -. .IP "" 0 -. .P The \fBconfiguration files\fR specified above can also be identified with a \fB\.yml\fR extension or even just entirely removing the \fB\.conf\fR extension altogether\. -. .P If a default configuration file is referenced in any way by the \fBapprise\fR tool, you no longer need to provide it a Service URL\. Usage of the \fBapprise\fR tool simplifies to: -. .IP "" 4 -. .nf - $ apprise \-vv \-t "my title" \-b "my notification body" -. .fi -. .IP "" 0 -. .P If you leveraged tagging \fIhttps://github\.com/caronc/apprise/wiki/CLI_Usage#label\-leverage\-tagging\fR, you can define all of Apprise Service URLs in your configuration that you want and only specifically notify a subset of them: -. .IP "" 4 -. .nf - $ apprise \-vv \-t "Will Be Late" \-b "Go ahead and make dinner without me" \e \-\-tag=family -. .fi -. .IP "" 0 -. .SH "BUGS" If you find any bugs, please make them known at: \fIhttps://github\.com/caronc/apprise/issues\fR -. .SH "COPYRIGHT" Apprise is Copyright (C) 2024 Chris Caron \fIlead2gold@gmail\.com\fR diff --git a/packaging/man/apprise.1.html b/packaging/man/apprise.1.html index e8158517..084bb790 100644 --- a/packaging/man/apprise.1.html +++ b/packaging/man/apprise.1.html @@ -1,8 +1,8 @@ - - + + apprise(1) - Push Notifications that work with just about every platform!