Commit Graph

654 Commits

Author SHA1 Message Date
Andreas Motl
e7255df1da
Improve efficiency of NotifyEmail plugin (#679)
When addressing multiple recipients, use the same session to the SMTP
server as designated with the Apprise URL. In this way, subsequent full
roundtrips will be saved.

As many SMTP servers are employing connection rate limiting, as well as
connection accept delays, this will considerably improve both robustness
and performance.
2022-11-03 14:26:46 -04:00
Chris Caron
b64e1b7ce0
Added Slack URL Markdown Support (#737) 2022-11-02 22:07:41 -04:00
Chris Caron
28f424b5aa
Improved mailgun:// handling of from= argument (#724) 2022-11-01 18:05:27 -04:00
Andreas Motl
c6a740ab64 CI: Use CODECOV_TOKEN directly from secrets again
It will not be available on PRs submitted by non-owners anyway.
2022-10-30 19:16:09 -07:00
Andreas Motl
0cd64c1026
Tests: Fix minor typo (#725) 2022-10-30 17:34:46 -04:00
Andreas Motl
cddd5c4fb3
CI: Enable testing on macOS and Windows (#707) 2022-10-30 16:31:57 -04:00
Andreas Motl
4fc4b8e95f
CI: Clean up codecov-action configuration (#719) 2022-10-30 07:27:10 -04:00
Andreas Motl
3078f35d9c
CI: Explicitly configure CODECOV_TOKEN to mitigate intermittent failures (#716) 2022-10-25 19:35:10 -04:00
Chris Caron
17202e2fa3
Discord bugfix to better handle provided markdown (#718) 2022-10-25 19:33:12 -04:00
Chris Caron
b3cca772f6
Mailgun to support from= for consistency with email:// (#711) 2022-10-25 17:30:45 -04:00
Chris Caron
c13bf84d03 fixed README typo 2022-10-23 13:44:16 -04:00
Andreas Motl
eafa7498b2
CI: Remove Travis CI, and tox (#705) 2022-10-19 20:18:03 -04:00
Andreas Motl
7c993fb7f6
Switched from Travis-CI to GHA (#702) 2022-10-18 07:18:50 -04:00
Andreas Motl
e8844c57ab
CI: Update GHA recipes to checkout@v3 and codeql-action@v2 (#706) 2022-10-17 22:43:08 -04:00
Andreas Motl
d753c11c80
Fix tests for NotifyDBus (#704) 2022-10-17 22:42:05 -04:00
Andreas Motl
f01e6d8a3b
Fix tests for NotifyGnome (#703) 2022-10-16 16:53:36 -04:00
Andreas Motl
8983288236
Improve testing of NotifyMQTT (#700) 2022-10-16 14:35:45 -04:00
Andreas Motl
f1836cff84
Improve testing of NotifyDBus, NotifyGnome, and NotifyMacOSX (#689) 2022-10-16 13:43:15 -04:00
Andreas Motl
c81d2465e4
Tests: Use global no_throttling_everywhere fixture (#701)
Instead of needing to individually disable throttling on a per-plugin
basis, this fixture takes care of all notifiers in `NOTIFY_MODULE_MAP`
automatically. With `autouse=True`, there is no need to activate it
manually.
2022-10-16 10:48:44 -04:00
Andreas Motl
ed876d1ca2
Add support for CPython 3.11 to Travis-CI (#681) 2022-10-14 16:30:04 -04:00
Andreas Motl
e5523179d7
Save CI resources by disabling builds on PyPy 3.7 and PyPy 3.8 (#698) 2022-10-14 16:12:01 -04:00
Andreas Motl
00f6626ba6
Speed up test suite by invoking tests in parallel, using pytest-xdist (#690) 2022-10-14 14:58:09 -04:00
Chris Caron
47c2000a7e
Merge pull request #687 from panodata/amo/modernize-tests
Resolve ambiguity with `apprise.plugins` module namespace
2022-10-14 14:56:51 -04:00
Andreas Motl
c9f0751b61 Resolve ambiguity with apprise.plugins module namespace
While the namespace is physically made of modules, it has been amended
to be the namespace home for the corresponding notifier classes as well.

This turned out to confuse both humans and machines on various ends.

While it has apparently worked for a while, it croaks on Python 3.11
now, and is not considered to have been a good idea in general.
2022-10-14 14:51:44 +02:00
Andreas Motl
c797d1e2eb Tests: Use no_throttling fixture everywhere 2022-10-14 14:51:44 +02:00
Andreas Motl
85daf12fbd Chore: Remove Python 2 compatibility 2022-10-14 14:51:44 +02:00
Andreas Motl
5db016cfb3 Chore: Fix ResourceWarning: unclosed file <_io.TextIOWrapper name=... 2022-10-14 14:51:44 +02:00
KevinLauer
d895471b79
NC Talk POST Request Changed to JSON for correct HTTP 201 response (#669) 2022-10-13 20:13:51 -04:00
Chris Caron
b989427215
Allow extended characters in ID of email address (#693) 2022-10-13 19:53:32 -04:00
Chris Caron
cb7f51d82a negative/minus (-) parameter sets GET Parms on xml, json, and form URLs 2022-10-11 20:25:13 -04:00
Andreas Motl
41b4ddb942
Use super() instead of super(__class__, self) (#686)
Removes some further Python 2 intricicanties.

It is `ruff` rule SPR001, taken from `flake8-super`.
- https://github.com/charliermarsh/ruff#rules
- https://pypi.org/project/flake8-super/

Implemented with:

  ruff --select SPR001 apprise test --fix
2022-10-09 10:00:24 -04:00
Kenton Parton
44887e9c1d
OpsGenie: Set title to body if title not set (#688) 2022-10-09 09:59:38 -04:00
Chris Caron
1228b3884e bumped version to v1.1.0 2022-10-08 14:05:28 -04:00
Chris Caron
67070e5932
Added BulkSMS Support (#683) 2022-10-07 23:32:34 -04:00
Andreas Motl
00afe4e5b6
Added support for recent CPython and PyPy versions; Droped Python v2.7 Support (#680) 2022-10-07 20:28:36 -04:00
Chris Caron
f7244cce3d
Bugfix: Decorator handles multiple URLs correctly now (#678) 2022-10-05 23:04:00 -04:00
Ryan Young
e9f040a2d0
fix(pushover): ignore unsupported attachments as intended instead of discarding the entire notification (#650) 2022-09-30 17:48:55 -04:00
Kenton Parton
f1990b14ce
Opsgenie don't combine title with body when not required (#655) 2022-09-27 18:30:15 -04:00
Chris Caron
370b1af5a1
Port is correctly placed in Bark URL if provided (#672) 2022-09-22 23:04:02 -04:00
oddlama
4b4e4ffd77
Signal to support groups ending with equal symbol (=) (#670) 2022-09-21 07:44:39 -04:00
Chris Caron
2d33935e10
SMSEagle message limit changed from 160 to 1200 chars (#666) 2022-09-17 11:30:11 -04:00
Chris Caron
892e961041
Fixed Travis-CI v3.7 build support (#668) 2022-09-17 11:13:36 -04:00
Chris Caron
3efb2c6f3e
Reply-To not put in header if not specified (#664) 2022-09-16 12:14:38 -04:00
Chris Caron
d1c653fc04
Added SMSEagle Support (#661) 2022-09-06 09:05:03 -04:00
Dokime
6fbb2ba4b9
Email deliverability improvement (#660) 2022-09-05 18:59:43 -04:00
Chris Caron
2d5ab59252
RHEL9 Support - Test cases to leverage unittest.mock when possible (#658) 2022-08-31 20:05:40 -04:00
Salman
782f2e602b
Fixed PagerDuty notifications (#644) 2022-08-10 07:44:27 -04:00
Anders Øen Fylling
1816c448ac
Update Grammer/Spelling in README.md (#642) 2022-08-09 13:28:25 -04:00
Chris Caron
e6380b96e2 bumped version to v1.0.0 2022-08-06 13:52:21 -04:00
Chris Caron
450fc54dbb
Add global support for port= directive in URL parsing (#639) 2022-08-06 13:09:35 -04:00