QueryJane - Email notifications
QueryJane is a web application developed with Django that allows to connect with companies and experts in different sectors of the cannabis industry. Beta version is available here.

I have been working in the email notifications. Let me show you.
New Features
I have integrated huey==1.6.1 in the project. This is a task queue manager that will allow to run the emailing as a second level task. This is to prevent the mailing from interfering with the normal application flow.
The detailed code changes related to this feature can be found in this PR.
All emails will be sent using the send_email
function. This function has been created using the EmailMessage
class of Django, that allows to send emails in a very simple way. You can see the send_email
function code in this commit.
Notify users when they receive a new message.
Users can send private messages on the platform. they can find new private messages in the Inbox menu, in the application header:

Now, when a user receives a new private message, he will be notified to his registered email. Take a look to the email content, with a part of the message, a link to visit the inbox page and a link to visit the email notifications settings:

detailed code changes related to this feature can be found in this commit.
Notify users when a new job offer is created.
Users can create job offers in their registered companies. When a new job offer is created, QueryJane searches for users that fit the requirements and creates a notification that they can find in the notifications menu, in the application header:

Users will be notified through their email when a job offer that fits their profile is created. Take a look to the email content, with a part of the job offer description and a link to apply:

detailed code changes related to this feature can be found in this commit.
Added manage email notifications section.
When an application send automated emails to the users, it must allow them to manage the email settings. For this reason I have added a new section in the account settings that allows to the users select by notification type if they want to receive email messages from the app:

If they select "no", the email notifications will be disabled according to the notification type.
detailed code changes related to this feature can be found in this commit.
Code refactoring.
Code refactoring in the "entrepreneur" app views. In the app views there were a lot of code. Now, views for "contact settings", "general settings", "manage job offers", "privacy settings", "roles settings" and "general venture views" can be found in separate files. This will allow contributors to understand the code much more easily.
The detailed code changes related to this code refactoring can be found in this commit.

Find my Github account here
How to contribute?
QueryJane has been developed using the Django framework. You can fork the project, and run it locally is very easy. Follow the steps described in the open source repository installation guide. The project has been configured using Docker. you only need to install Docker and follow these steps.
Future work.
- Activate Spanish site.
- Styles adjustment: I'm backend developer, and my skills as front-end developer are low. I will search for some help to adjust some sections styles.
- Advertising campaign.
Take a look to the public board in trello, maybe there is something for you. I will be adding more activities in different categories to do.

If you want to contribute, please join my Discord.
Have happy days ✌
Posted on Utopian.io - Rewarding Open Source Contributors
🤖💬 This post has been Boosted with a 9.09 % upvote from @cannabiscurator Plugged in by @netgodbeerus
Help Grow the Steemit Cannabis Community with Automated Cannabis Curation - Send Steem/SBD to @Cannabiscurator with a link to your 420 Steemit post in the MEMO and watch the magic happen!
Help build a Rewarding Cannabis community!
-Upvote this comment
-Follow @Cannabiscurator
-Join our Cannabis Curation Team
🤖 Ai Cannabis Smoke Companion http://www.weedrobo.com
Hey @kit.andres I am @utopian-io. I have just upvoted you!
Achievements
Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!
Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x
Thank you for the contribution. It has been approved.
You can contact us on Discord.
[utopian-moderator]
You've got upvoted by
Utopian-1UP
!You can give up to ten 1UP's to Utopian posts every day after they are accepted by a Utopian moderator and before they are upvoted by the official @utopian-io account. Install the @steem-plus browser extension to use 1UP. By following the 1UP-trail using SteemAuto you support great Utopian authors and earn high curation rewards at the same time.
1UP is neither organized nor endorsed by Utopian.io!
@kit.andres, I like your contribution to open source project, so I upvote to support you.