-
Notifications
You must be signed in to change notification settings - Fork 0
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
#145028655 Send alerts via sms #9
Open
victoriaaoka
wants to merge
11
commits into
develop
Choose a base branch
from
ft-send_alerts_via_sms-145028655
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
4409462
[Feature #145028655] Add sms notification when cron job is up or down.
davidmukiibi 2c47ff9
[Feature #145028655 ] Update requirements.txt.
victoriaaoka 498cf50
Merge branch 'ft-send_alerts_via_sms-145028655' of https://github.com…
victoriaaoka 1349a05
[Feature #145028655 ] Update requirements.txt.
victoriaaoka 79c20f3
[Feature #145028655 ] Update requirements.txt.
victoriaaoka 28aba48
[Chore #145028655 ] Update requirements.txt file.
davidmukiibi 2f777ae
resolving merge conflict
davidmukiibi 982391f
[Chore #145028655 ] Update requirements.txt file.
davidmukiibi 0f6f373
[Feature #145028655] Refactor sms alerts when cron jobs are up or down.
davidmukiibi 4a61eaf
Merge branch 'develop' into ft-send_alerts_via_sms-145028655
victoriaaoka 3f0e19d
Update requirements.txt
victoriaaoka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,32 @@ | ||
appdirs==1.4.3 | ||
Babel==2.4.0 | ||
boto==2.46.1 | ||
cssselect==1.0.1 | ||
cssutils==1.0.2 | ||
Django==1.10 | ||
django-appconf==1.0.1 | ||
django-compressor==2.1 | ||
django-phonenumber-field==1.3.0 | ||
django-sendsms==0.2.3 | ||
django-ses-backend==0.1.1 | ||
Django==1.10 | ||
django_compressor==2.1 | ||
django-twilio==0.8.0 | ||
djmail==0.11.0 | ||
funcsigs==1.0.2 | ||
futures==3.0.3 | ||
lxml==3.7.3 | ||
mock==2.0.0 | ||
packaging==16.8 | ||
patch==1.16 | ||
pbr==3.0.0 | ||
phonenumberslite==8.5.0 | ||
premailer==2.9.6 | ||
psycopg2==2.6.1 | ||
PyJWT==1.5.0 | ||
pyparsing==2.2.0 | ||
PySocks==1.6.7 | ||
pytz==2017.2 | ||
rcssmin==1.0.6 | ||
requests==2.9.1 | ||
rjsmin==1.0.12 | ||
six==1.10.0 | ||
twilio==6.3.0 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{% extends "base.html" %} | ||
{% load compress humanize staticfiles hc_extras %} | ||
|
||
{% block title %}Add mobile numbers to send your notifications to - healthchecks.io{% endblock %} | ||
|
||
|
||
{% block content %} | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h1>SMS</h1> | ||
|
||
<p>Get an sms message when your check goes up or down.</p> | ||
|
||
<p> | ||
<strong>Tip:</strong> | ||
Add multiple phone numbers, to notify multiple team members. | ||
</p> | ||
|
||
<p> | ||
<strong>Confirmation needed.</strong> | ||
After entering a phone number(s), healthchecks.io will send out a confirmation link. | ||
Only confirmed numbers will receive notifications. | ||
</p> | ||
|
||
<h2>Integration Settings</h2> | ||
|
||
<form method="post" class="form-horizontal" action="{% url 'hc-add-channel' %}"> | ||
{% csrf_token %} | ||
<input type="hidden" name="kind" value="sms" /> | ||
<div class="form-group"> | ||
<label for="sms" class="col-sm-2 control-label">Phone number</label> | ||
<div class="col-sm-3"> | ||
<input | ||
id="sms" | ||
type="test" | ||
class="form-control" | ||
name="value" | ||
placeholder="2547793222"> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<div class="col-sm-offset-2 col-sm-10"> | ||
<button type="submit" class="btn btn-primary">Save Integration</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
|
||
{% endblock %} | ||
|
||
{% block scripts %} | ||
{% compress js %} | ||
<script src="{% static 'js/jquery-2.1.4.min.js' %}"></script> | ||
<script src="{% static 'js/bootstrap.min.js' %}"></script> | ||
{% endcompress %} | ||
{% endblock %} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This file has conflicts, resolve them.