Skip to content

Fix for email sending - #9526

Merged
SchrodingersGat merged 4 commits into
inventree:masterfrom
SchrodingersGat:email-fix
Apr 17, 2025
Merged

SchrodingersGat merged 4 commits into
inventree:masterfrom
SchrodingersGat:email-fix

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Apr 17, 2025 •

Copy link
Copy Markdown
Member
  • Extract valid email for user
  • Do not send if email not configured for user

(Also removes a port setting in the devcontainer which actually... breaks the server in the devcontainer)

- Extract valid email for user
- Do not send if email not configured for user
@SchrodingersGat SchrodingersGat added the bug Identifies a bug which needs to be addressed label Apr 17, 2025
@SchrodingersGat SchrodingersGat added this to the 1.0.0 milestone Apr 17, 2025
@netlify

netlify Bot commented Apr 17, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 91bd3ff
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/6800a7c7ba19d500080528e3

@codecov

codecov Bot commented Apr 17, 2025 •

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.

Project coverage is 86.36%. Comparing base (62d058f) to head (91bd3ff).
Report is 291 commits behind head on master.

Files with missing lines Patch % Lines
src/backend/InvenTree/InvenTree/helpers_email.py 33.33% 4 Missing ⚠️
src/backend/InvenTree/InvenTree/tasks.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #9526      +/-   ##
==========================================
- Coverage   86.37%   86.36%   -0.01%     
==========================================
  Files        1228     1228              
  Lines       53830    53837       +7     
  Branches     2280     2280              
==========================================
+ Hits        46493    46497       +4     
- Misses       6760     6763       +3     
  Partials      577      577              
Flag Coverage Δ
backend 88.33% <22.22%> (-0.01%) ⬇️

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

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit afbcfe6 into inventree:master Apr 17, 2025
@SchrodingersGat
SchrodingersGat deleted the email-fix branch April 17, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants