make email_alert field available via services API#700
Conversation
|
I can see that cabot/cabot/cabotapp/models/base.py Line 146 in 4e4ca0a Is part of CheckGroupMixin class:cabot/cabot/cabotapp/models/base.py Line 94 in 4e4ca0a Which is inherited by the Service class:cabot/cabot/cabotapp/models/base.py Line 285 in 4e4ca0a Which contains the is_public attribute:cabot/cabot/cabotapp/models/base.py Lines 316 to 320 in 4e4ca0a So I'm not sure why email_alert doesn't work. They are both BooleanField type.
|
|
The field Lines 50 to 57 in b18b1a0 Seems to come from CheckGroupMixin:cabot/cabot/cabotapp/models/base.py Line 153 in 4e4ca0a And that one works fine. |
|
Oh, I see, there's a separate cabot/cabot/cabotapp/models/base.py Lines 140 to 144 in 4e4ca0a That's a bit confusing, but I figured that out based on the template. And this field is already exported. |
|
It appears that Not sure where that's defined, but I assume it doesn't change. |
6841f8f to
bb5ec32
Compare
|
I've dropped the addition of |
Signed-off-by: Jakub Sokołowski <jakub@status.im>
Pip 21.0 drops support for Python 2: https://pip.pypa.io/en/stable/news/#v21-0 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Also use HTTPS for NPM package registry. Signed-off-by: Jakub Sokołowski <jakub@status.im>
arachnys#698 Signed-off-by: Jakub Sokołowski <jakub@status.im>
bb5ec32 to
cd14ac6
Compare
| less@1.3 | ||
|
|
||
| RUN pip install --upgrade pip | ||
| RUN pip install --upgrade pip==20.3.4 |
There was a problem hiding this comment.
The related commit messages says "20.4.5" but the code says "20.3.4" 🤔 😃 How about pip<21? Gave me 20.3.4 in practice over here.
I've attempted to make it possible to enable email alerts by default by addingemail_alertand it did't work.The addition of
is_publicworked and makes it possible to create public services via API.Resolves: #699