OWASP-BLT / BLT

OWASP BLT is a bug logging tool to report issues and get points, companies are held accountable.
https://blt.owasp.org
GNU Affero General Public License v3.0
122 stars 123 forks source link

Asynchronous Notification #2388

Open HanilJain opened 2 days ago

HanilJain commented 2 days ago

Asynchronous Notification

Issue Addressed

https://github.com/OWASP-BLT/BLT/issues/2213 https://github.com/OWASP-BLT/BLT/issues/2214 https://github.com/OWASP-BLT/BLT/issues/2215 https://github.com/OWASP-BLT/BLT/issues/2216 https://github.com/OWASP-BLT/BLT/issues/2217 https://github.com/OWASP-BLT/BLT/issues/2218 https://github.com/OWASP-BLT/BLT/issues/2221

How it works

Notification is created in model of notification_app new_home frontend fetch api Notification. websockets in header.html file handles the notification coming memorychannellayer handles the cache and channel serving the notification to webscoket at port 6379 when user click on notification it gets deleted from database.

image

sentry-io[bot] commented 2 days ago

🔍 Existing Issues For Review

Your pull request is modifying functions with the following pre-existing issues:

📄 File: website/views.py

Function Unhandled Issue
newhome AttributeError: 'AnonymousUser' object has no attribute 'email' ...
Event Count: 3

Did you find this useful? React with a 👍 or 👎

HanilJain commented 2 days ago

Can you please move the code into the existing Django app?

@DonnieBLT Done