-
Notifications
You must be signed in to change notification settings - Fork 798
Notification Settings panel not working #998
Comments
I was able to replicate. Need to dig in more to see why. |
The UI is not sending a |
I was spending some time looking into this, and there is some oddities going on in Dart. Since we are actively trying to get rid of Dart (it's awful), we're going to put this on the backburner or fix it via the replacement. |
Is there a workaround in the meantime to enable notifications? Sorry if this is a dumb question. I'm new to Security Monkey. |
Hello, Is there any update regarding this? Maybe a workaround? |
Unfortunately, the bug lies somewhere in an underlying Dart package that is extremely hard to debug. The best work around is for there to be a |
I don't mind implementing it if you could give me a little more direction. Not much of a developer. |
I don't think that this is a UI bug. I tried to do the same with curl and POST and got the same result. And here is the result: I found a workaround in case you have only one account. You just need to change a type from list to str in the file /views/user_settings.py, line 151 But this is definitely a dirty hack. And it will not work in case you want to receive notifications for more than one account. |
That's a great find but, sadly I have like 9 accounts I need notifications for and I am unable to make a Monkey command to enable the notifications. |
@arnitolog : I am going to take another look. When I was debugging this the last time, what I saw was Dart sending over an incorrect JSON (as seen in the Chrome networking console). I will double-check with the curl you posted above. |
It looks like there are some issues with I'm going to replace it with Marshmallow. |
yeah, I've also thought that it is something in the flask_restful. But didn't have enough evidence to mention that. Anyway, thanks Mike for your help. |
Just Submitted #1042 with a possible fix. That should fix the API at the very least. |
thanks. I will test it a little bit later |
Good news: Code wise, it now appears to be working (I don't know what issues were with Dart before... but now it's working properly) . Once I get TravisCI to cooperate, I will merge it in. |
Possible fix for notifications bug in #998
This should now be fixed in #1042 . Please make sure that you move |
Confirmed that it's now fixed. |
Updating docker celeryconfig.py path for #998
Please make sure that you have checked the boxes:
AWS, GCP, OpenStack, GitHub
Description of issue:
Notification Settings panel is not allowing me to enable notifications on my account.
I select the Notify box on my account, set the Change Emails dropdown to With Issues, and click Save.
After clicking Save, I get the following error:
The text was updated successfully, but these errors were encountered: