Skip to content

feat: check grant status#73

Open
anjaniacatus wants to merge 46 commits intodjangocon:mainfrom
anjaniacatus:check_grant_status_feat
Open

feat: check grant status#73
anjaniacatus wants to merge 46 commits intodjangocon:mainfrom
anjaniacatus:check_grant_status_feat

Conversation

@anjaniacatus
Copy link
Contributor

@anjaniacatus anjaniacatus commented May 6, 2025

This is a PR for checking status grant for speakers or attendees. Users can enter their email in a form. A random code will be sent to the address email (via Mailjet) for more safety.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 47.13376% with 83 lines in your changes missing coverage. Please review.

Project coverage is 79.96%. Comparing base (9e46e19) to head (08bc889).
Report is 78 commits behind head on main.

Files with missing lines Patch % Lines
grants/views.py 22.22% 56 Missing ⚠️
grants/utils/email.py 22.58% 24 Missing ⚠️
grants/models.py 89.28% 3 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
- Coverage   86.55%   79.96%   -6.59%     
==========================================
  Files          28       36       +8     
  Lines         476      639     +163     
==========================================
+ Hits          412      511      +99     
- Misses         64      128      +64     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines +186 to +200
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'console': {
'class': 'logging.StreamHandler',
},
},
'loggers': {
'': {
'handlers': ['console'],
'level': 'INFO',
},
},
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to move the LOGGING configuration to the appropriate environment specific settings rather than adding it to the base settings.


EMAIL_BACKEND = "django.core.mail.backends.filebased.EmailBackend"
# Email Sending settings
DEFAULT_FROM_EMAIL = os.environ.get("DEFAULT_FROM_EMAIL", "rakoto.olive42@gmail.com")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's leave the default email as the one used by the person setting up the site.

@anjaniacatus anjaniacatus marked this pull request as ready for review May 12, 2025 16:36
@anjaniacatus
Copy link
Contributor Author

anjaniacatus commented May 12, 2025 via email

children=[
HeaderLink(label=_("News"), href="/news"),
HeaderLink(label=_("Opportunity Grants"), href="/opportunity_grants"),
HeaderLink(label=_("Status Grants"), href="/grants/request_code/"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grant Status is commonly used instead of Status Grant

Copy link
Collaborator

@theShinigami theShinigami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for all your work!, a few little final tweaks 🙂

@theShinigami theShinigami requested a review from amakarudze May 12, 2025 16:55
@anjaniacatus anjaniacatus requested a review from theShinigami May 14, 2025 06:48
@theShinigami theShinigami changed the title Check grant status feat feat: check grant status Jun 23, 2025
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.

3 participants