-
Notifications
You must be signed in to change notification settings - Fork 591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make email_alert field available via services API #700
base: master
Are you sure you want to change the base?
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 <[email protected]>
Pip 21.0 drops support for Python 2: https://pip.pypa.io/en/stable/news/#v21-0 Signed-off-by: Jakub Sokołowski <[email protected]>
Also use HTTPS for NPM package registry. Signed-off-by: Jakub Sokołowski <[email protected]>
arachnys#698 Signed-off-by: Jakub Sokołowski <[email protected]>
bb5ec32
to
cd14ac6
Compare
[email protected] | ||
|
||
RUN pip install --upgrade pip | ||
RUN pip install --upgrade pip==20.3.4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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_alert
and it did't work.The addition of
is_public
worked and makes it possible to create public services via API.Resolves: #699