Matthew Jones
cf5cd3fcdc
Make sure we are decoding the project path
2014-12-16 13:16:07 -05:00
Matthew Jones
76a7d25131
Force custom inventory script organization to match the organization of
...
an inventory source's inventory when creating/updating the inventory source
2014-12-16 13:01:11 -05:00
Matthew Jones
b0d6628d46
Add some stdout to the activity stream cleanup command
2014-12-16 10:06:07 -05:00
Jared Tabor
feaee64706
Made SCM update button disabled on edit projects
...
On the edits project page I disabled the button if the SCM type is manual.
2014-12-16 01:23:12 -05:00
Jared Tabor
283e4a2a96
Custom inventory scripts required on source modal
...
custom inventory scripts needs to be required when on the source modal screen
2014-12-15 16:40:07 -05:00
Matthew Jones
8f4cd58a5e
Bulk make_projects seems to have path concat issues when forcing unicode
2014-12-15 16:22:41 -05:00
Matthew Jones
d03fe93927
Try to clean up how we invoke make_project in the unit tests
2014-12-15 15:24:45 -05:00
Jared Tabor
b12d5c90fd
Inventory add/edit group->filter custom inv by org
...
On the inventory page, if you're adding/editing a group with source is custom, the lookup for an inventory script should be filtered by the organization that is associated with that inventory
2014-12-15 15:16:24 -05:00
Matthew Jones
cc7edc770e
Small fix for inventory source unit tests if the source is custom during check_inventory_source
2014-12-15 15:13:27 -05:00
Matthew Jones
901af011a1
Verify that we are passed a source script if a 'custom' source is provided
2014-12-15 14:56:09 -05:00
Matthew Jones
9e962d4d5b
Fix up unicode project directory issue, with unit tests
2014-12-15 14:17:21 -05:00
Jared Tabor
d410e1aa2c
Survey maker
...
changed the way that question data is gathered from the question form. Instead of looping through I explicitly set the varaibles needed for the particular question
2014-12-15 13:25:03 -05:00
Jared Tabor
e5ba0ce8bc
Survey maker/taker issue with int/floats = 0
...
fixed a defect with the survey maker/taker where floats/ints equal to zero weren't being displayed the entire way through
2014-12-15 13:24:51 -05:00
Matthew Jones
d2a4f2a190
Limit the graph builder to processing just the first few hundred jobs
...
when building the dependency graph
2014-12-15 12:46:35 -05:00
Jared Tabor
651dd1239a
Survey maker variable name checking
...
Generalized the directive for the variable name of survey maker to check for illegal characters for a javascript object
2014-12-15 11:27:58 -05:00
Matthew Jones
a487257789
Cascade remove inventory source links when a custom script is removed
2014-12-15 11:10:39 -05:00
Matthew Jones
eaee8d76c4
Fix a bug launching a custom inventory script under proot where we would
...
never actually launch the job under proot
2014-12-15 10:42:22 -05:00
Jared Tabor
312c76788d
Copy JT
...
Cleared the value of the copy JT form of any stale text
2014-12-15 10:14:51 -05:00
Luke Sneeringer
4e5ebac6a0
Nicer error on bad arguments to user_info.
2014-12-12 13:43:23 -06:00
Matthew Jones
1e1ea4e9ee
Some fixes for passing arguments to system/management jobs
2014-12-12 13:40:34 -05:00
Jared Tabor
c0f4f7185b
Projects/add
...
With fixes to the manual scm type, if the local path returns no playbooks then an error message should be shown.
2014-12-12 11:46:07 -05:00
Jared Tabor
696e356fd1
Changed labels for survey maker min/max
...
For text and textarea questions, i changed the labels from 'Minimum' and 'Maximum' to 'Minimum Length' and 'Maximum Length'
2014-12-12 10:23:04 -05:00
Matthew Jones
f52cf37200
All job template launches now require a credential, so we'll pass this along
2014-12-11 16:30:23 -05:00
Jared Tabor
c2c47328df
Survey taker float required error field
...
adding the div for the float required error field
2014-12-11 16:01:26 -05:00
Jared Tabor
7b9a6a4bb8
float's weren't required for survey taker
...
accidentally goofed up the expression for ng-required for floats on survey maker.
2014-12-11 15:43:50 -05:00
Matthew Jones
1bfab5ad5c
Make credential required when launching job template if it isn't
...
provided on the job template
2014-12-11 15:31:12 -05:00
Jared Tabor
eb51600790
Hiding 'relaunch' icon for system jobs
...
hiding the relaunch icon for queued jobs, running jobs, and the dashboard view of jobs
2014-12-11 14:56:10 -05:00
Jared Tabor
f41a6f22bf
Hide 'relaunch' icon for system jobs
...
system jobs don't have a relaunch resource, therefore we don't want the user thinking that they can relaunch these jobs.
2014-12-11 14:48:44 -05:00
Matthew Jones
96433b07d4
Incorrect object reference in Custom Inventory Script read acl for non-super-users
2014-12-11 13:47:33 -05:00
Jared Tabor
1c1aa1f807
Add custom inventory script to activity streams
...
added custom inventory script filtering on the activity stream widget
2014-12-11 13:35:10 -05:00
Matthew Jones
2ef4ee0987
Change up older custom inventory script migration to not set unique on
...
the name field
2014-12-11 13:26:41 -05:00
Matthew Jones
6f2a354b6e
Wrong base class for Custom Inventory Scripts
2014-12-11 13:25:31 -05:00
Luke Sneeringer
0357bd074e
Change user_exists to user_info.
2014-12-11 12:04:13 -06:00
Jared Tabor
acf7e83843
delete Job Template
...
added the div for styling of the delete job template prompt
2014-12-11 12:04:12 -05:00
Matthew Jones
60d8505fd3
Disallow creating callback jobs for the same host under the same job
...
template while another one is pending/waiting. Update unit tests to
check for this scenario
2014-12-11 11:50:49 -05:00
Jared Tabor
2688f2c3cc
Survey cancel button
...
Need to clean up lingering question object if cancel is pressed on the survey maker modal
2014-12-11 11:44:19 -05:00
Jared Tabor
7510714386
ToJSON fix
...
Expanded the list of things the ToJSON method can accept
2014-12-11 11:24:08 -05:00
Jared Tabor
b70464dfeb
Job template form add mode, can_edit = true
...
had to include can_edit = true for creating a job template so that button would be enabled when form is valid
2014-12-10 16:22:09 -05:00
Jared Tabor
e668280d67
Permissions type text change
...
On the permissions page for "Job Template" type, the explanation text at the bottom needed to be updated from the 'deploy' verbage to the 'job template' verbage
2014-12-10 16:09:53 -05:00
Matthew Jones
c719149b86
Make sure we can DELETE system jobs if we have the right permissions
2014-12-10 15:51:27 -05:00
Jared Tabor
646bcd407f
Job Detail events scrolling defect fix
...
On the events view of the job detail page, when the list of hosts if very long, and an api call is made to get more host events, the host edit modal was using the hostname instead of the host id number to make a call to the job events endpoint
2014-12-10 15:18:16 -05:00
Matthew Jones
bc78587c60
Remove an unneeded acl processor for job events in the socketio daemon
2014-12-10 15:00:15 -05:00
Jared Tabor
ec132ae151
Survey maker/taker html tag injection
...
Fixed a defect in which the user could inject html tags into the survey maker, which could in turn show up in survey taker.
2014-12-10 14:05:29 -05:00
Matthew Jones
6a162c2a3b
Ansible folks say SIGINT works.... doesn't seem to stop the playbook to
...
me, but whatever
2014-12-10 13:44:30 -05:00
Jared Tabor
1268fb6191
Permissions form-type label
...
Changed the label for 'Deploy' from 'Deployment' to 'Job Template'
2014-12-10 12:07:23 -05:00
Jared Tabor
1641122737
Disable survey if 'can_edit' is false
...
The user should not be able to edit a survey if they do not have permission to edit the job template. I've added a check if the mode is 'edit' to see if the can_edit flag is false.
2014-12-10 11:53:05 -05:00
Matthew Jones
ff2c82ce72
Include the migration for the custom inventory script change to support
...
activity stream
2014-12-10 11:34:08 -05:00
Matthew Jones
017d42364b
Add Custom Inventory Script to the activity stream from the api side
2014-12-10 11:33:22 -05:00
Matthew Jones
7df9ca8ae1
Force custom inventory scripts to start with a hashbang
2014-12-10 10:59:20 -05:00
Matthew Jones
b1b9fdede5
Fix a bug where, when launching a job without a credential and
...
subsequently supplying the credential we weren't able to pick up any ASK
fields that we needed credentials for
2014-12-10 10:42:20 -05:00