Commit graph

459 commits

Author SHA1 Message Date
Pēteris Caune
e3ed4d25bb CSS tweaks for long check names, and for mobile view of cron form. 2016-12-27 12:09:25 +02:00
Pēteris Caune
aabfd55f7c Cleanup and tests for cron preview. 2016-12-26 10:27:19 +02:00
Pēteris Caune
b29400710f Fix race conditions in preview code. 2016-12-23 20:46:27 +02:00
Pēteris Caune
1163364989 Improved "Update Timeout" form with dynamic preview for cron mode 2016-12-23 20:19:06 +02:00
Pēteris Caune
a412f05651 /switch_team/ requires login and a valid target username 2016-12-21 18:05:55 +02:00
Pēteris Caune
52cd2a9c8e API rejects too long check names 2016-12-21 17:38:25 +02:00
Pēteris Caune
5a533441b5 When client GETs instead of POSTs, return HTTP 400 2016-12-21 17:22:48 +02:00
Pēteris Caune
d9171adb1d _associate_demo_check was crashing for returning users after cleaning up old checks. 2016-12-21 17:11:03 +02:00
Pēteris Caune
56168b17d0 Usability tweaks in api_check_changelist admin view. 2016-12-21 12:50:06 +02:00
Pēteris Caune
b22b0a44e2 Validate cron expression before saving check. 2016-12-21 12:24:24 +02:00
Pēteris Caune
0b6d484bd5 "prunenotifications" management command 2016-12-15 18:54:03 +02:00
Pēteris Caune
c6d5e64286 Warn about obsolete update_alert_after trigger. 2016-12-14 12:20:08 +02:00
Pēteris Caune
fdc1bfcd57 Log page now lists sent notifications. Slack notification handles simple/cron check kinds. 2016-12-14 11:15:45 +02:00
Pēteris Caune
5a4c3ce8ea Fix tests. 2016-12-13 21:37:29 +02:00
Pēteris Caune
c8b1c482ea Populate timezones, use selectize. 2016-12-13 17:01:41 +02:00
Pēteris Caune
6ada656df4 UI for entering cron expression and setting timezone. 2016-12-13 13:09:53 +02:00
Pēteris Caune
8633a5a892 Check model supports cron-style schedule 2016-12-05 11:08:06 +02:00
Pēteris Caune
ce57a1cc8b Calculate alert_after in Python code instead of a database trigger. This will allow complex calculations down the road. 2016-11-04 16:30:19 +02:00
Pēteris Caune
e524ea3db7 Fix tests. 2016-10-30 14:30:42 +02:00
Pēteris Caune
dfa0af350a PagerDuty Integration Key is 32 characters long. Update screenshots. 2016-10-30 14:24:36 +02:00
Pēteris Caune
d019ebc195 Fix test. 2016-10-17 13:33:12 +03:00
Pēteris Caune
3456dd9f6e OpsGenie integration. Fixes #93 2016-10-17 13:25:14 +03:00
Pēteris Caune
ac4ba079d3 Validate channel values. Don't allow ftp addresses, http://localhost addresses, invalid email addresses 2016-10-02 17:52:48 +03:00
Pēteris Caune
fa63c9034e Merge pull request #91 from cdax/make-mgmt-command-modules
Make modules out of management commands by adding __init__.py files
2016-10-01 17:55:46 +03:00
Pēteris Caune
b2f951c8a6 Merge branch 'cdax-snippet-copy' 2016-10-01 17:48:59 +03:00
Pēteris Caune
913b82eb23 Use icon in the "copy" button. Add "copy" buttons dynamically, in JS. CSS tweaks. 2016-10-01 17:48:17 +03:00
Chitharanjan Das
4d7cca0408 Make modules out of management commands by adding __init__.py files 2016-10-01 11:18:32 +05:30
Chitharanjan Das
4e260421f0 Adds 'copy to clipboard' function to example code snippets 2016-10-01 10:27:48 +05:30
Pēteris Caune
30d9760768 Don't autoselect ping address in the welcome page. It gets in the way when selecting just the code portion of the address. 2016-09-24 21:39:09 +03:00
Pēteris Caune
b1ad0415da Fix AttributeError in Ping admin 2016-09-24 21:37:18 +03:00
Pēteris Caune
9a00fd9944 Mention SITE_NAME in README, better docs for the unique API field. 2016-09-23 21:13:38 +03:00
Pēteris Caune
22ac7e0517 Use a whitelist for allowed values in the unique field. 2016-09-23 14:09:20 +03:00
Pēteris Caune
c5568b6dd1 Move json validation code to a separate file, add support for array and enum, add tests. 2016-09-23 14:08:31 +03:00
Pēteris Caune
1c5182278e Merge branch 'foozmeat-issue-82' 2016-09-23 12:12:03 +03:00
Pēteris Caune
f511ee7596 Merge pull request #84 from foozmeat/issue-83
Update Django to 1.10.1
2016-09-23 11:56:23 +03:00
Pēteris Caune
ac68df5bf5 Merge pull request #86 from foozmeat/issue-79
adds a SITE_NAME setting that's used to label the site
2016-09-23 11:48:56 +03:00
James Moore
537b7c7541 fixed a few instances where the hc_extras wasn't loaded 2016-09-22 16:11:20 -07:00
James Moore
89736d7ce7 removed unused function parameter 2016-09-22 15:59:59 -07:00
James Moore
1520d7fc9a didn't register the tags properly 2016-09-22 15:58:47 -07:00
James Moore
96cb68d503 made the unique field more flexible 2016-09-22 15:51:03 -07:00
James Moore
1ae07b2028 made changes more concise 2016-09-22 14:56:15 -07:00
James Moore
b1bb1540b8 adds a SITE_NAME setting that's used to label the site 2016-09-22 13:40:35 -07:00
James Moore
bcde5fe9d2 adds a unique parameter to the check creation API
It only checks for name uniqueness.
2016-09-22 12:00:25 -07:00
James Moore
1ab12d943a updates django to 1.10.1 2016-09-22 10:23:41 -07:00
Pēteris Caune
252fa1f884 sendreports now can be run concurrently too 2016-09-19 21:19:10 +03:00
Pēteris Caune
b5a0ff3538 Handle concurrent sendalerts using QuerySet.update(). Fixes #39 2016-09-15 22:52:48 +03:00
Pēteris Caune
c90627c6f4 django_compressor==2.1 which adds Django 1.10 compatibility 2016-08-29 18:11:26 +03:00
Pēteris Caune
965e32884b Django 1.10 2016-08-29 17:54:53 +03:00
Pēteris Caune
ee3f49c89b TeamAccessMiddleware: create Profile object if it is missing. This solves problems for users created with "manage.py createsuperuser". Fixes #77 2016-08-29 17:02:24 +03:00
Pēteris Caune
c8bcb23fd6 Material icons. 2016-08-29 16:45:47 +03:00