8 Commits

Author SHA256 Message Date
f31ee8e1c6 Accepting request 1278338 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1278338
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apprise?expand=0&rev=10
2025-05-20 07:38:32 +00:00
74749ba7b3 Accepting request 1278311 from home:glaubitz:branches:devel:languages:python
- Update to version 1.9.3
  * BlueSky Support Added
  * Added Resend Support
  * Fix flaky test in translation tests
  * Set default port for Mattermost notifications
  * Office 365 posts include subject and body now
  * Telegram messages leverage caption field when attachments
  * Extend options for plugin Seven
  * Ntfy.sh Internationalized URL support added for click=
  * Improved SMS transmission documentation
  * apprise.urls() bulletproofing/bugfix
  * Add option label for plugin seven
  * Minor and insignifigant changes (typos and alike)

OBS-URL: https://build.opensuse.org/request/show/1278311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apprise?expand=0&rev=20
2025-05-19 07:53:33 +00:00
25e43c8a71 Accepting request 1240456 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1240456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apprise?expand=0&rev=9
2025-01-27 19:55:13 +00:00
893f159d57 Accepting request 1240153 from home:glaubitz:branches:devel:languages:python
- Update to version 1.9.2
  * discord:// now supports the kwarg of 'botname'
  * Better support for reverse-url construction containing whitespace
  * Updated reference to BSDv2 clause in RPM
  * Resolved chanify:// naming confusion
- from version 1.9.1
  * Plivo Support Added
  * Support for PGP Email Support (DeltaChat Compatible)
  * Seven (SMS Provider) Added
  * Matrix Well Known URI Server Discovery
  * Eliminated non-essential warning log in mailto:// parsing
  * Improved voipms:// phone number parsing
  * CLI environment variable over-ride support
  * Unpin paho-mqtt version
  * Improved hostname verification
  * Bark - add critical level alert plus ?volume= argument
  * Refactored Office 365 Plugin
  * Refactored Apprise mailto:// and apprise.utils module
  * feat: Add support for latest MSTeams webhook URL format
  * mmost:// supports legacy url webhooks (http://)
  * Added disclaimer for AES-CBC-128 weakness with simplepush://
  * Fix print statement in test run function
  * Dropped Python v3.7 GH Action Test Support (deprecated)
  * Removed python-xdist development dependency due to it not being used
  * Remove Boxcar due to it no longer being available upstream
  * Remove duplicate entry for Burst SMS
  * Matrix: Allow token only client API authorization with token
    parameter
  * Matrix Long Lived Token: Don't logout, and use UUIDv4 for
    transactionIds

OBS-URL: https://build.opensuse.org/request/show/1240153
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apprise?expand=0&rev=18
2025-01-27 08:45:37 +00:00
cf48159b6f Accepting request 1199751 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1199751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apprise?expand=0&rev=8
2024-09-10 19:13:35 +00:00
OBS User smolsheep
b551e2b050 Accepting request 1199750 from home:smolsheep:upgrades
- Remove fix-test_plugin_glib.patch -- Fixed upstream
- Update to version 1.9.0:
  Features:
  * Added WxPusher Support
  * Persistent Storage added. This feature is very big and better documented here.
    https://github.com/caronc/apprise/wiki/persistent_storage
    Long overdue, plugins can now safely cache some of the query
    results returned from upstream endpoints to disk. This saves
    the need to make future extra web requests later (overall
    causing a performance boost to Apprise). It's a cache engine
    done right; content is contained, and those using the CLI can
    clean/reset it. You can also easily turn it off.
  * mqtt:// support for publishing retain flag
  * SendGrid Attachment Support Added
  * Refactored base64 attachment handling
  Fixes:
  * Fix typo in readme
  * Fix Telegram Thread/Topic handling
  * Fixed mattermost channel handling
  * Escape unsupported Telegram MarkdownV2 characters
    Telegram MarkdownV2 has turned out to be a VERY different style
    of markdown. For consistency, the default telegram mode is
    version 1. Simply add ?format=markdown&mdv=v2 to your URL to
    change this.

OBS-URL: https://build.opensuse.org/request/show/1199750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apprise?expand=0&rev=16
2024-09-09 21:09:06 +00:00
5cd6139587 Accepting request 1189840 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1189840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apprise?expand=0&rev=7
2024-07-28 15:19:23 +00:00
OBS User smolsheep
da4d69179e Accepting request 1189839 from home:smolsheep:upgrades
- Remove apprise-pytest-session_mocker-removal.patch -- Fixed upstream
- Update to version 1.8.1:
  Features:
  * New Services:
    - Splunk
    - Africas Talking
    - Microsoft Power Automate / Workflows
    - Société Française du Radiotéléphone (SFR)
  * Slack supports <@userid> in message body
  * Turn large ntfy messages into a attachments
  * Refactored the way Notifiarr Discord users are mentioned
  * OneSignal to support custom data in payload
  * Twilio WhatsApp support added
  * Allow json data in OneSignal template arguments
  Fixes:
  * Automatically increment Matrix v3 transaction IDs
  * Slack files upload deprecation
  * Update token regex in ServerChan
  * Add missing % string in import failed trace message
  * This will fix issues with Home Assistant
  * Fixes random matrix:// unittest failures
  * fix: conversion html_to_text hr tags rstrip non string object
- Updates from version 1.8.0:
  Features:
  * Custom Plugin Attachment Support Enforced + Added Testing
  * Do not sanitize http:// attachment URLs. This allows the
    successful fetching of very complicated http based Attachment
    URL's where the case sensitivity of the keys matter. The side
    effect of this change, is built in switches like cache= become
    case sensitive too (e.g Cache= will no longer be parsed).
  Fixes:
  * Added JSON Content-Type header to freemobile://
  * Fix mailto://ip.addr support
  * clicksend:// authentication bugfix
  * Update Apprise API (apprise//) token length

OBS-URL: https://build.opensuse.org/request/show/1189839
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apprise?expand=0&rev=14
2024-07-26 18:40:12 +00:00
6 changed files with 130 additions and 42 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:077f09309cc8a6c9063dbd614b343807d527d546693b7fe8fc5a4433502fea6c
size 1656123

3
apprise-1.9.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f583667ea35b8899cd46318c6cb26f0faf6a4605b119174c2523a012590c65a6
size 1795515

View File

@@ -1,20 +0,0 @@
diff -Naur apprise-1.6.0/test/conftest.py apprise-1.6.0-patched/test/conftest.py
--- apprise-1.6.0/test/conftest.py 2023-12-27 11:20:40.000000000 -0500
+++ apprise-1.6.0-patched/test/conftest.py 2023-12-27 13:43:22.583100037 -0500
@@ -45,8 +45,8 @@
A_MGR = AttachmentManager()
-@pytest.fixture(scope="function", autouse=True)
-def no_throttling_everywhere(session_mocker):
+@pytest.fixture(autouse=True)
+def no_throttling_everywhere(mocker):
"""
A pytest session fixture which disables throttling on all notifiers.
It is automatically enabled.
@@ -57,4 +57,4 @@
A_MGR.unload_modules()
for plugin in N_MGR.plugins():
- session_mocker.patch.object(plugin, "request_rate_per_sec", 0)
+ mocker.patch.object(plugin, "request_rate_per_sec", 0)

View File

@@ -1,10 +0,0 @@
--- a/test/test_plugin_glib.py
+++ b/test/test_plugin_glib.py
@@ -31,6 +31,7 @@
import re
import sys
import types
+import dbus
from unittest.mock import Mock, call, ANY
import pytest

View File

@@ -1,3 +1,126 @@
-------------------------------------------------------------------
Mon May 19 06:31:43 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.9.3
* BlueSky Support Added
* Added Resend Support
* Fix flaky test in translation tests
* Set default port for Mattermost notifications
* Office 365 posts include subject and body now
* Telegram messages leverage caption field when attachments
* Extend options for plugin Seven
* Ntfy.sh Internationalized URL support added for click=
* Improved SMS transmission documentation
* apprise.urls() bulletproofing/bugfix
* Add option label for plugin seven
* Minor and insignifigant changes (typos and alike)
-------------------------------------------------------------------
Fri Jan 24 12:08:22 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.9.2
* discord:// now supports the kwarg of 'botname'
* Better support for reverse-url construction containing whitespace
* Updated reference to BSDv2 clause in RPM
* Resolved chanify:// naming confusion
- from version 1.9.1
* Plivo Support Added
* Support for PGP Email Support (DeltaChat Compatible)
* Seven (SMS Provider) Added
* Matrix Well Known URI Server Discovery
* Eliminated non-essential warning log in mailto:// parsing
* Improved voipms:// phone number parsing
* CLI environment variable over-ride support
* Unpin paho-mqtt version
* Improved hostname verification
* Bark - add critical level alert plus ?volume= argument
* Refactored Office 365 Plugin
* Refactored Apprise mailto:// and apprise.utils module
* feat: Add support for latest MSTeams webhook URL format
* mmost:// supports legacy url webhooks (http://)
* Added disclaimer for AES-CBC-128 weakness with simplepush://
* Fix print statement in test run function
* Dropped Python v3.7 GH Action Test Support (deprecated)
* Removed python-xdist development dependency due to it not being used
* Remove Boxcar due to it no longer being available upstream
* Remove duplicate entry for Burst SMS
* Matrix: Allow token only client API authorization with token
parameter
* Matrix Long Lived Token: Don't logout, and use UUIDv4 for
transactionIds
* miskey:// visibility flags updated
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
-------------------------------------------------------------------
Mon Sep 9 20:11:21 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- Remove fix-test_plugin_glib.patch -- Fixed upstream
- Update to version 1.9.0:
Features:
* Added WxPusher Support
* Persistent Storage added. This feature is very big and better documented here.
https://github.com/caronc/apprise/wiki/persistent_storage
Long overdue, plugins can now safely cache some of the query
results returned from upstream endpoints to disk. This saves
the need to make future extra web requests later (overall
causing a performance boost to Apprise). It's a cache engine
done right; content is contained, and those using the CLI can
clean/reset it. You can also easily turn it off.
* mqtt:// support for publishing retain flag
* SendGrid Attachment Support Added
* Refactored base64 attachment handling
Fixes:
* Fix typo in readme
* Fix Telegram Thread/Topic handling
* Fixed mattermost channel handling
* Escape unsupported Telegram MarkdownV2 characters
Telegram MarkdownV2 has turned out to be a VERY different style
of markdown. For consistency, the default telegram mode is
version 1. Simply add ?format=markdown&mdv=v2 to your URL to
change this.
-------------------------------------------------------------------
Fri Jul 26 17:22:58 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- Remove apprise-pytest-session_mocker-removal.patch -- Fixed upstream
- Update to version 1.8.1:
Features:
* New Services:
- Splunk
- Africas Talking
- Microsoft Power Automate / Workflows
- Société Française du Radiotéléphone (SFR)
* Slack supports <@userid> in message body
* Turn large ntfy messages into a attachments
* Refactored the way Notifiarr Discord users are mentioned
* OneSignal to support custom data in payload
* Twilio WhatsApp support added
* Allow json data in OneSignal template arguments
Fixes:
* Automatically increment Matrix v3 transaction IDs
* Slack files upload deprecation
* Update token regex in ServerChan
* Add missing % string in import failed trace message
* This will fix issues with Home Assistant
* Fixes random matrix:// unittest failures
* fix: conversion html_to_text hr tags rstrip non string object
- Updates from version 1.8.0:
Features:
* Custom Plugin Attachment Support Enforced + Added Testing
* Do not sanitize http:// attachment URLs. This allows the
successful fetching of very complicated http based Attachment
URL's where the case sensitivity of the keys matter. The side
effect of this change, is built in switches like cache= become
case sensitive too (e.g Cache= will no longer be parsed).
Fixes:
* Added JSON Content-Type header to freemobile://
* Fix mailto://ip.addr support
* clicksend:// authentication bugfix
* Update Apprise API (apprise//) token length
-------------------------------------------------------------------
Tue Apr 23 02:48:34 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-apprise
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 Paolo Panto <munix9@googlemail.com>
#
# All modifications and additions to the file contributed by third parties
@@ -17,16 +17,15 @@
#
%define skip_python2 1
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-apprise
Version: 1.7.6
Version: 1.9.3
Release: 0
Group: Development/Libraries/Python
Summary: A simple wrapper to many popular notification services used today
@@ -34,11 +33,7 @@ License: BSD-2-Clause
URL: https://github.com/caronc/apprise
Source0: https://files.pythonhosted.org/packages/source/a/apprise/apprise-%{version}.tar.gz
Source99: %{name}.rpmlintrc
# PATCH-FIX-OPENSUSE fix-test_plugin_glib.patch -- import missing dbus
Patch0: fix-test_plugin_glib.patch
%if 0%{?suse_version} <= 1500
# PATCH-FIX-UPSTREAM apprise-pytest-session_mocker-removal.patch -- based on PR 757
Patch10: apprise-pytest-session_mocker-removal.patch
BuildRequires: %{python_module dataclasses}
Requires: python-dataclasses
%endif
@@ -111,7 +106,7 @@ install -D -m 0644 -t %{buildroot}%{_mandir}/man1 packaging/man/apprise.1
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest -k 'not test_plugin_matrix_attachments_api_v2 and not test_apprise_attachment_truncate'
%pytest -k 'not test_plugin_matrix_attachments_api_v2 and not test_apprise_attachment_truncate and not test_plugin_dbus'
%pre
%python_libalternatives_reset_alternative apprise