QueryJane - Email notifications

in #utopian-io8 years ago (edited)

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.


queryjane.png

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:


Screen Shot 2018-02-08 at 5.26.08 PM.png

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:


Screen Shot 2018-02-08 at 5.47.27 PM.png


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:


Screen Shot 2018-02-08 at 6.02.01 PM.png

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:


Screen Shot 2018-02-08 at 6.11.34 PM.png


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:


Screen Shot 2018-02-08 at 6.28.10 PM.png

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.



Screen Shot 2018-02-03 at 10.23.10 PM.png


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.


Screen Shot 2018-02-08 at 6.40.23 PM.png

If you want to contribute, please join my Discord.


Have happy days ✌



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

🤖💬 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

small_man.png Peace in Blunts Fam 🔥💨


🤖 Ai Cannabis Smoke Companion http://www.weedrobo.com

Hey @kit.andres I am @utopian-io. I have just upvoted you!

Achievements

  • WOW WOW WOW People loved what you did here. GREAT JOB!
  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

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]

1UP-Kayrex_tiny.png

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.

Coin Marketplace

STEEM 0.09
TRX 0.31
JST 0.030
BTC 110776.90
ETH 3785.45
USDT 1.00
SBD 0.63