Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ntfy] Fix submitting newline characters in notification message text #684

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

amotl
Copy link
Member

@amotl amotl commented Oct 14, 2023

Dear @codebude and @zoic21,

this patch has been grown in July already, but only now I have been able to wrap it up. It is based on the suggestion by @codebude shared at #677 (comment), thank you very much.

With kind regards,
Andreas.

P.S.: I will be happy about a review, both on code and/or functionality, either before, or after merging and releasing. If it's about code, commenting on this PR will be the appropriate spot. If it is about the outcome, I'd say we just continue our conversation at GH-677, independently of this PR.

@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6a24a8a) 49.33% compared to head (731afef) 49.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #684      +/-   ##
==========================================
+ Coverage   49.33%   49.51%   +0.17%     
==========================================
  Files          81       81              
  Lines        3973     3993      +20     
==========================================
+ Hits         1960     1977      +17     
- Misses       2013     2016       +3     
Flag Coverage Δ
unittests 49.51% <96.42%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
mqttwarn/services/ntfy.py 97.27% <96.42%> (-1.94%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@amotl amotl marked this pull request as ready for review October 14, 2023 14:48
@amotl amotl merged commit 77d890d into main Oct 14, 2023
13 checks passed
@amotl amotl deleted the amo/fix-ntfy-newlines branch October 14, 2023 22:25
@codebude
Copy link

Great job! I was looking forward to this release. Thanks! :-)

@amotl
Copy link
Member Author

amotl commented Oct 23, 2023

Wonderful. If this works now, we can close GH-677?

/cc @zoic21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants