Commit Graph
14 Commits
Author SHA1 Message Date
Matthew Jones 5d32d6e17a Add password to survey spec documentation 2016-06-06 13:24:21 -04:00
Matthew Jones 936db91560 Fix scan jobs not auto-starting inventory syncs
Originally it would exclude any depdendies if inventory or project was none
2016-06-06 12:30:38 -04:00
Matthew Jones 7e7a611366 Scan job success notification could fail
We can't assume a project is part of a scan job template so here we'll
short circuit that
2016-06-06 12:07:54 -04:00
Matthew Jones b0de8038d0 Fix validation issues for scan job templates
Also adding some jobtemplate serializer-based validation unit tests
2016-06-06 12:01:56 -04:00
Matthew Jones 26b31fedbc Expose any external account as a user property
This adds a field to the user object to denote whether and what kind of
user account it is.

For normal accounts this field will be null.
For social auth accounts it will be "social"
for radius accounts it will be "radius"

This change also prevents a radius user from changing their local
password thus bypassing the password caching feature of django-radius
2016-06-02 16:58:19 -04:00
Matthew Jones 1881af8e77 Fix passively creation of notification templates
Passively creating notification templates on m2m endpoints was failing
serializer validation due to a bug trying to look up the related
object.  In reality that check should only happen when the view is the
NotificationTemplateDetail view.
2016-06-02 15:04:51 -04:00
Matthew Jones 0591647333 Implement a flag that allows simulteanous job launches on job templates 2016-06-02 15:04:51 -04:00
Matthew Jones 8708fcf8ce Handle corner case when a job spawns notifications
If a dependent task fails a job might not have a started or finished
time when emitting the notification
2016-06-01 15:04:29 -04:00
Matthew Jones 79cbd68a13 Rev boto and add ap-northeast-2 to ec2 regions 2016-06-01 14:22:08 -04:00
Matthew Jones 7514ed389a Don't trim whitespace from customer inv scripts 2016-05-20 13:30:10 -04:00
Matthew Jones e5ec5c9726 Change prefix for imported sattelite groups 2016-05-18 10:22:12 -04:00
Matthew Jones 9ba98d9cac Rename channels to rooms for hipchat notifications 2016-05-17 15:33:22 -04:00
Matthew Jones 430b548395 Exclude the job template limit during callback
This causes some unexpected behavior when commas instead of colons are
used during the job template limit due to a bug in ansible.  It has the
effect of expanding the number of hosts that it will run on instead of
just one which is what we are expecting
2016-05-17 10:35:14 -04:00
Matthew Jones ae4cfc98ce Update to house's latest legacy azure inv script 2016-05-13 10:47:18 -04:00