Jared Tabor
25ecd6326d
adding directives to integer min/max and integer default answer fields
...
this was supposed to be included in the last commit
2014-10-08 11:58:46 -04:00
Jared Tabor
1b8ebc57e4
added extra validation for integers, specifically for min/max, and for valid integer
...
added ng-min and ng-max directive, and made adjustments to question form for new directives
2014-10-08 11:56:24 -04:00
Jared Tabor
b22c4cb56a
removed routes for old unused survey controllers
...
for survemakeradd and surverymakeredit, these controllers are not being used anymore and have been replaced by the surver helper class. i'm taking out the routes for these html pages/controllers as they are no longer relavant
2014-10-08 10:00:44 -04:00
Matthew Jones
9c81144533
More documentation and validation for job relaunching/template launching
2014-10-07 17:01:12 -04:00
Matthew Jones
6e24131070
Change filtering priority to prevent building a queryset with null
...
values when examining project activity stream
2014-10-07 16:49:27 -04:00
Matthew Jones
ea36e30190
Cancel any running or pending actions when one of the unified job types
...
is deleted/marked inactive
2014-10-07 16:34:10 -04:00
Matthew Jones
d3e5db52cb
Adding job template survey documentation
2014-10-07 13:44:33 -04:00
Matthew Jones
7430973234
Add validation for survey elements on the api side
2014-10-07 10:56:45 -04:00
Jared Tabor
47deaa702d
fixed default answer field in question maker. also added validation for choices if multichoice or multiselect is chosen
2014-10-06 16:15:16 -04:00
Matthew Jones
d6adb1d398
Add a settings that disallows org admins from seeing users outside of
...
their organization. See: https://trello.com/c/M74W11hQ
2014-10-06 15:59:05 -04:00
Matthew Jones
d55569ed51
Reworded invalide private key data to be more generic
2014-10-06 15:09:21 -04:00
Matthew Jones
2b61048651
Revert "Remove the Amazon AMI license handler from tower proper"
...
This reverts commit 22c2f0513d5e08d810ea6b14bc9595642def9462.
2014-10-06 09:59:54 -04:00
Jared Tabor
666496181a
adding survey taker form and fix to job submission
2014-10-03 20:28:27 -04:00
Jared Tabor
352cec7a37
fixed errors in JobSubmission
2014-10-03 20:25:44 -04:00
Jared Tabor
2d3a5f5a65
added new files to app.js and index.html
2014-10-03 20:07:17 -04:00
Jared Tabor
45ae67d7b5
adding changes to form generator for ngDisabled for buttons
2014-10-03 20:05:15 -04:00
Jared Tabor
a76459e62c
made survey taker + prompt for passwords + prompt for variables one modal window
2014-10-03 20:04:16 -04:00
Jared Tabor
3b0e3bd9d5
fixed job template for changes to survey maker
2014-10-03 20:01:51 -04:00
Jared Tabor
752f2d8013
adding updated survey maker with no survey name or survey description
2014-10-03 20:00:22 -04:00
Matthew Jones
be7819e3d7
Make sure that if you have variables being required to start that we
...
return false when determining if the job can start without input
2014-10-03 14:16:50 -04:00
Matthew Jones
d3416336ed
Handle the case where the existing extra vars is None
2014-10-03 10:26:24 -04:00
Matthew Jones
c609f7a81d
Refactor callback receiver
...
* Move callback socket listener into its own method spawned as a
seperate process
* launch and manage worker processes from a parent process and isolate
them such that a fork doesn't inherit the zeromq socket
2014-10-03 00:37:08 -04:00
James Laska
d12dddebde
Handle jenkins requirements properly
2014-10-02 16:16:27 -04:00
James Laska
f9c8e400b1
Update dev_local.txt with django-debug-toolbar-1.1
...
Correct jenkins requirements install order
2014-10-02 15:46:03 -04:00
James Laska
2846f8c530
Update dev_local.txt with django-debug-toolbar-1.1
2014-10-02 15:19:33 -04:00
James Laska
adda5b90bd
More fiddling with jenkins requirements
2014-10-02 14:19:18 -04:00
James Laska
888352270b
More updates to support latest django_jenkins
2014-10-02 13:26:32 -04:00
Matthew Jones
b37925149b
Fix the custom script update to use the normal mechanism for trigger an
...
inventory update
2014-10-02 12:53:24 -04:00
Matthew Jones
52fc81244d
Revert "Use the normal built-ins for testing inventory sources when testing for"
...
This reverts commit d989b3e438022f565fb17ae7e4ec02b10239d577.
2014-10-02 12:53:23 -04:00
James Laska
a174c7b168
The latest version of django_jenkins no longer requires django_tests
2014-10-02 12:15:16 -04:00
James Laska
2b1b83a8ee
Yes, please download jenkins dependencies
2014-10-02 12:05:45 -04:00
James Laska
6ed7e5f538
Include django-jenkins in requirements/jenkins.txt
2014-10-02 11:55:03 -04:00
Matthew Jones
27458667ab
Use the normal built-ins for testing inventory sources when testing for
...
custom scripts
2014-10-02 11:33:27 -04:00
Matthew Jones
449c5026b7
Remove socket and context closure and cleanup from zeromq in the
...
callback receiver
2014-10-02 09:46:16 -04:00
Matthew Jones
bd0d4463ef
Make sure we setup a license file when running the custom script
...
inventory update test
2014-10-01 16:26:09 -04:00
Matthew Jones
90bf8966b9
Refetch the group in an attempt to re-materialize the host additions
2014-10-01 15:17:17 -04:00
Matthew Jones
25f8034b79
catch -> except
2014-10-01 13:07:40 -04:00
Matthew Jones
786cc3fa85
Silently return if there isn't valid json passed in as extra data fields
2014-10-01 13:00:06 -04:00
Matthew Jones
8848cbfa1e
Add schema migration of custom inventory scripts and related fields
2014-10-01 09:54:12 -04:00
Matthew Jones
56f5c0f402
Use assertEqual in the inventory test
2014-09-30 16:21:39 -04:00
Matthew Jones
bf0bbe7580
Remove the Amazon AMI license handler from tower proper
2014-09-30 14:53:19 -04:00
Matthew Jones
7b6c5f68a9
Don't remove script at this point
2014-09-30 11:54:28 -04:00
Matthew Jones
06c75aeecf
Implement API side for custom inventory script support with endpoints
...
and unit tests
2014-09-30 11:50:50 -04:00
Matthew Jones
c402d13a73
Merge pull request #14 from tgerla/rabbitpw
...
add a note about the rabbitmq password requirements to group_vars/all
2014-09-29 16:20:06 -04:00
Matthew Jones
ab70539aba
Add an indicator to the job template launch GET endpoint to denote when
...
a survey is enabled
2014-09-29 15:31:34 -04:00
Matthew Jones
c35f892e9e
Check extra data to make sure it's not just an empty string
2014-09-29 15:17:08 -04:00
Matthew Jones
cc6d673e4f
Attempt to fix a mysterious zmq crash related to sockets lingering after
...
a fork
2014-09-29 14:31:14 -04:00
Matthew Jones
eabfbd572f
Support populating extra vars with post data when launching and
...
relaunching jobs
2014-09-26 15:47:02 -04:00
Jared Tabor
d8fe8cc7ff
added required asterick for required questions
2014-09-26 14:40:21 -04:00
Jared Tabor
9114cb2d89
for a textarea answer, default answer field should be a text area
2014-09-26 14:34:01 -04:00