GithubHelp home page GithubHelp logo

saadmk11 / django-newsfeed Goto Github PK

View Code? Open in Web Editor NEW
194.0 11.0 20.0 164 KB

A news curator and newsletter subscription package for Django

Home Page: https://pypi.org/project/django-newsfeed/

License: GNU General Public License v3.0

Python 91.82% HTML 6.43% JavaScript 1.75%
django python news newsfeed newsletter newsletters newsletter-mail curator news-curation django-newsfeed

django-newsfeed's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar saadmk11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-newsfeed's Issues

Emails Not Sending

When on /newsfeed/subscribe/ and I type in an email address, the emails do not get sent to that email address.

Is this because I did not set up celery?

Encrypt & Decrypt Emails In The Database

There should be a way to encrypt/decrypt emails in the database because emails fall into GDPR / PII / Privacy laws. Perhaps using a database setting like NEWSFEED_EMAIL_ENCRYPT = True|False would enable/disable this feature. This way if your database was ever stolen/hacked, the attacker would not be able to see the emails.

But If someone changes this setting later on the user would probably need to do some sort of data migrations. https://docs.djangoproject.com/en/3.1/howto/writing-migrations/ which is not really desirable. Unless it can somehow get built into the app?

SELECT SQL queries and django get() should be able to view the decrypted emails.

Some ideas would be to do something like django-fernet-fields which uses the SECRET_KEY to do both the encryption and decryption. Or if you are using postgres, do something like django-pgcrypto-fields which uses a postgres pgcrypto extension.

Add option to Unsubscribe via Unique URL in the Sent E-mail

The current architecture allows malicious unsubscribe. The solution adopted by mailchimp, for example, is to only allow unsubscribe via a link sent with every email, which contains a token which is used to verify authenticity. I'm not sure if this should be the only route to unsubscribe, but it should certainly be an option.

Presumably, the token should be fixed for a given user, so that the unsubscribe link works from any email. Although what happens if a naive user forwards a newsletter? I think one needs a "You have been unsubscribed, if this wasn't your intention, you can resubscribe by clicking this link" confirmation email, perhaps?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.