Commit Graph

1442 Commits

Author SHA1 Message Date
Jared Tabor
6fccee404a Job Submission
The job submission should NOT send an empty extra_vars dict if no extra variable are collected as a result of the job submission prompts. I was under the impression that an empty extra vars dict would be disregarded. An empty extra_vars dict will in fact overwrite any extra_vars in the JT with a blank set of extra_vars
2015-01-05 18:27:35 -05:00
Jared Tabor
5d5213ba4c Socket.js
removing 'force new connection' line again
2015-01-05 16:07:36 -05:00
Jared Tabor
f6baacfbe2 Socket.js
adding 'force new connection' line back into socket file
2015-01-05 11:14:40 -05:00
Jared Tabor
a2b5c38436 Typo on survey help 2015-01-05 09:40:30 -05:00
Jared Tabor
b0c9845bc3 Survey maker prevent duplicate vars
Added check in survey maker to prevent saving a question that uses a variable that is already in use.
2014-12-19 14:28:38 -05:00
Jared Tabor
54465d4b31 Socket.js
removing the line i added for the security patch per Matt's request
2014-12-19 14:22:13 -05:00
Jared Tabor
c7c25250a7 Dashboard host count graph
Pie chart tooltip wasn't displaying values with commas properly
2014-12-19 13:57:22 -05:00
Jared Tabor
e41de1684c Job Template form survey check
The job template form wasn't checking for survey in every scenario
2014-12-19 12:18:23 -05:00
Jared Tabor
05ff0a14a4 Job submission
if survey is enabled and not prompting for extra vars then get the extra vars from the job template
2014-12-19 12:05:09 -05:00
Jared Tabor
cd486b6d9a Job detail page
When the job run was complete the interval was not being turned off that would continue to update the DOM
2014-12-18 16:29:14 -05:00
Jared Tabor
f5100ee110 Cleanup tower modal issue between saves
cleaned up the management modal between states
2014-12-18 14:25:41 -05:00
Jared Tabor
50372f9c38 Prompt for credentials
fixed prompt for credentials so that ssh and ssh key unlock were both accounted for
2014-12-18 10:52:53 -05:00
Jared Tabor
be2f2596f3 Made delete prompts use the same styling
made the delete prompts more uniform
2014-12-17 17:49:45 -05:00
Jared Tabor
7d0e6d8f53 Account menu for Tower after portal mode
the account menu for tower was displaying items for non-admin users after going to portal page and back to tower.
2014-12-17 17:41:53 -05:00
Jared Tabor
318da8522f Passing vars to API via extra_vars in job launch
We changed this at one point to have all vars passed on the root level, but for uniformity we have changed it back to using the extra_vars object
2014-12-17 17:29:43 -05:00
Jared Tabor
6e3cd5bc54 Added "Manual" to inventory source options
The 'manual' option was not being shown b/c it's value was an empty string.
2014-12-17 15:29:25 -05:00
Jared Tabor
f422d86355 Survey maker edit multiple quesitons
The survey maker would allow the user to edit multiple questions at the same time. I've removed this functionality.
2014-12-16 15:06:27 -05:00
Jared Tabor
956dfedb30 Job detail job events
The job events modal was not being loaded because the data call to the API was not specifying which page of data to request.
2014-12-16 13:49:40 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jared Tabor
f7706c3808 Job Template form 'can_edit'
the 'Save' button should be disabled if the user does not have sufficient permissions to edit the job template
2014-12-10 10:37:09 -05:00
Jared Tabor
f121228d1a Project playbooks save issue
Fixed defect with project directory not saving for a manual project. Checked for creating/editing a project
2014-12-10 09:22:19 -05:00
Jared Tabor
b5e521a759 Survey maker
There was a discrepency between save states in the survey maker when creating a new job template. I had to make some changes to how we 'save' survey's when creating job templates. Now survey info is stored in a seperate object and then stored in the scope when the user clicks save. It used to all be stored in teh scope object.
2014-12-09 16:26:04 -05:00
Jared Tabor
5d6137c8a3 Add new inventory--empty source vars
The source variable parsing was out of date, and wasn't using the updated parser that I fixed to accept empty variables.
2014-12-08 16:41:23 -05:00
Jared Tabor
e10167ee5a Job Detail -- Events Summary
the edit icon for the host events was not receiving the correct host id during the processing of job_event data from the job_event endpoint
2014-12-08 16:16:39 -05:00
Jared Tabor
5daeed14c7 Inventory source tab fix for vmware inventory
Fixed an error with the vmware sourve variables not properly being instatiated once data is returned from the API
2014-12-08 14:17:28 -05:00
Jared Tabor
9f6230f7cc Portal job templates default sort by
Added 'noLink' option to the list view for the portal job templates, so that the list has a default sort-by option but does not contain links to other pages.
2014-12-08 13:34:50 -05:00
Jared Tabor
6d45dbbeb4 Default sort by w/ no link
set key and noLink to true, which will force the list to have a default sort-by, but will not force the list to contain any links
2014-12-08 13:33:35 -05:00
Jared Tabor
be63b3e0b3 adding 'noLink' property for list generators
adding noLink option which will override any other options to make a list column an href. This is useful when using the 'key' attribute, which sorts a list and includes links on the items. Now there is a way to override this feature. This is for portal mode and used in custom inv scripts as well.
2014-12-08 13:29:57 -05:00