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

New letter (cron) #26

Open
12 tasks done
lissa3 opened this issue Jul 13, 2023 · 3 comments
Open
12 tasks done

New letter (cron) #26

lissa3 opened this issue Jul 13, 2023 · 3 comments

Comments

@lissa3
Copy link
Owner

lissa3 commented Jul 13, 2023

  • dj-extentions custom class
  • test basic func
  • txt template for email
  • html template for email
  • add css style to html file/ add img?
  • create button/link to subscribe
  • Current: auth active users who wanted to get news letter (may be later a separ func?)
  • mail body(txt file)/mail alternative(html) should contain a full path to a given post object
  • mail should contain a link to unsubscribe
  • test job
  • test final UI in mailtrap
  • add dj messages on success: ubscribe and unsubscribe
lissa3 added a commit that referenced this issue Jul 13, 2023
news letter weekly; test basic
@lissa3
Copy link
Owner Author

lissa3 commented Jul 25, 2023

Currenct state: job gets txt/html file witn context: post object + settings.ABSOLUTE_URL_BASE =>
Some post
May be there is a better solution?

lissa3 added a commit that referenced this issue Jul 29, 2023
letter ✅
lissa3 added a commit that referenced this issue Aug 6, 2023
lissa3 added a commit that referenced this issue Aug 6, 2023
lissa3 added a commit that referenced this issue Aug 6, 2023
lissa3 added a commit that referenced this issue Aug 6, 2023
[pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.10.1](asottile/pyupgrade@v3.3.1...v3.10.1)
- [github.com/adamchainz/django-upgrade: 1.13.0 → 1.14.0](adamchainz/django-upgrade@1.13.0...1.14.0)
- [github.com/psf/black: 23.3.0 → 23.7.0](psf/black@23.3.0...23.7.0)
- [github.com/PyCQA/flake8: 6.0.0 → 6.1.0](PyCQA/flake8@6.0.0...6.1.0)

For #26 small fix tests

For #26 add test
@lissa3
Copy link
Owner Author

lissa3 commented Aug 8, 2023

Flow:
Subscribe only auth user can subscribe (menu)
Unsubscribe

  • user gets a link in newsletter to unsubscribe (profile uuid passed there) -> template to confirm

@lissa3
Copy link
Owner Author

lissa3 commented Nov 5, 2023

By now: forget about css in news letter

@lissa3 lissa3 reopened this Nov 8, 2023
lissa3 added a commit that referenced this issue Nov 8, 2023
lissa3 added a commit that referenced this issue Nov 8, 2023
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

No branches or pull requests

1 participant