mqtt-tools / mqttwarn

A highly configurable MQTT message router, where the routing targets are notification plugins, primarily written in Python.
https://mqttwarn.readthedocs.io/
Eclipse Public License 2.0
950 stars 183 forks source link

Fix sending ntfy notifications with longer messages than 76 characters #674

Closed amotl closed 1 year ago

amotl commented 1 year ago

This patch addresses GH-672. Thanks, @codebude.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (a8ce8a9) 47.94% compared to head (27ff5eb) 47.94%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #674 +/- ## ======================================= Coverage 47.94% 47.94% ======================================= Files 81 81 Lines 3917 3917 ======================================= Hits 1878 1878 Misses 2039 2039 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `47.94% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mqtt-tools#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/mqtt-tools/mqttwarn/pull/674?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mqtt-tools) | Coverage Δ | | |---|---|---| | [mqttwarn/services/ntfy.py](https://app.codecov.io/gh/mqtt-tools/mqttwarn/pull/674?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mqtt-tools#diff-bXF0dHdhcm4vc2VydmljZXMvbnRmeS5weQ==) | `99.21% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.