Commit Graph

99 Commits

Author SHA1 Message Date
Jared Tabor
d7e2614760 Copyright JS files and removing unlicensed files
Adding the Copyright and All Rights Reserved to the JS files, as well as removing pwdmeter and 3dDonut chart (in lieu of d3.js donut chart)

adding the legend and getting pie chart to donut

adding data labels to donut chart

working legend and tooltip

job detail donut

Ansible Copyright added to beginning of all JS files

removing pwdmeter and d3donut

fixing merge conflicts
2015-05-29 12:08:22 -04:00
Joe Fiorini
287e1cc8c0 Move breadcrumb rendering into directive 2015-05-20 14:28:33 -04:00
John Mitchell
23a69995d3 fixed scan job and job run type ordering 2015-05-11 13:15:24 -04:00
John Mitchell
ef3c18e071 fix jshint error 2015-04-21 13:33:06 -04:00
John Mitchell
bcd57b18c2 migrated job type select to using api options as well 2015-04-21 13:31:24 -04:00
John Mitchell
802fed2a76 migrated job templates to use new verbosity format 2015-04-21 13:31:24 -04:00
John Mitchell
0bcd7c63aa fixing warning label typo 2015-04-17 14:04:43 -04:00
John Mitchell
584abcc05b random syntax and style fixes to tower js
may include some new dependencies needed for adhoc commands
2015-04-06 10:30:36 -04:00
Jared Tabor
1afeed3588 fix undefined function 2015-03-26 10:07:25 -04:00
Jared Tabor
427f42dec3 changed default project/playbook scheme + actions
changed the design of the 'Reset to default project/playbook' on the job template form. Also added actions on the inventory properties accordion for scan job templates for scheduling and copying
2015-03-26 09:58:40 -04:00
Jared Tabor
8b710c191b fix small error w/ playbook options when type=scan 2015-03-26 09:58:40 -04:00
Jared Tabor
206fb6b288 On Job Template save: redirect to proper dest
return to job template list if adding/editing a job template from the list; likewise return to hte inventory properties if adding/editing from that page
2015-03-26 09:58:40 -04:00
Jared Tabor
0948846530 Scan job templates
Implemented saving a job template as type = scan. Can add/edit these jobs. Also on inventory properties accordion you can see the list of scan job templates for the inventory.
2015-03-26 09:58:39 -04:00
Jared Tabor
3cd5cd5184 added scan job type to job type dropdown
on the job template form.
2015-03-26 09:58:39 -04:00
Jared Tabor
45513ca4bd added scan jobs list to inventory properties
added the scan jobs list in an accordion underneath the inventory properties.
2015-03-13 15:37:21 -04:00
Joe Fiorini
f09080c931 Move list-generator into new structure 2015-03-11 14:49:26 -04:00
Jared Tabor
2f00783f8c Changed the error message on JT for surveys
On the job template form page we would display an error modal if the user had enabled a survey but not created one yet. Now we will use an error message on the form like we do in most other places.
2015-02-20 14:03:20 -05:00
Joe Fiorini
a9e0de98d7 Use broccoli to build app 2015-02-06 12:49:04 -05:00
Joe Fiorini
f4350f4a28 Kill strict mode in favor of doing it once 2015-02-06 12:47:39 -05:00
Jared Tabor
57e2548265 Added escaping for Add JT -> create survey
the service for the escaping for the html was not included in the JT add function
2015-02-02 10:24:34 -05:00
Joe Fiorini
4775523764 Updates jshint settings 2015-01-30 15:43:22 -05:00
Jared Tabor
2cc84f8bdd XSS fix: serialize survey question default answer
For the XSS issues that we found, I am serializing the default answers now to make sure all appropriate characters are escaped.
2015-01-29 11:22:32 -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
be2f2596f3 Made delete prompts use the same styling
made the delete prompts more uniform
2014-12-17 17:49:45 -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
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
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
d9e69fc2c3 Fixed JT form Reset button
Had to make a small repair to Job Template form reset that was caused when i refactored the code to fill the form
2014-12-04 10:49:50 -05:00
Jared Tabor
f893e4b00b Fixed small issue with JT form vars
A '$' got deleted somewhere along the line
2014-12-03 16:34:23 -05:00
Jared Tabor
c96b317202 Launch job from job template form
added a check that there is a valid survey if survey_enabled === true on the JT form
2014-12-02 10:06:57 -05:00
Jared Tabor
df8a7be759 Job Templates list
Added ngHide for copy icon to hide the icon when can_copy=false
2014-11-03 10:35:18 -05:00
Jared Tabor
f4ac4a0bf9 Variable parsing
added a check for variables that are passed with double curly brackets '{{}}' and JT throws an error and doesn't save now
2014-10-31 11:25:08 -04:00
Jared Tabor
73e1c0236d Job Template- copyJobTemplate
Adding copyJobTemplate for JT list. I also refactored the method that fills all the fields for a job template form
2014-10-30 15:32:55 -04:00
Jared Tabor
0bfe5dc6ba Job Template Page-new JT w/ no survey
Fixed a defect where the UI would attempt to save a survey spec even if survey_enabled=false
2014-10-27 16:48:34 -04:00
Jared Tabor
3b0e3bd9d5 fixed job template for changes to survey maker 2014-10-03 20:01:51 -04:00
Jared Tabor
40192b5172 survey maker additions for question types 2014-09-24 17:36:30 -04:00
Jared Tabor
d3e793e9ca changed survey maker to a modal window 2014-09-21 13:16:06 -04:00
Jared Tabor
9520970817 survey maker for going from add/edit job template to add/edit survey maker 2014-09-17 15:47:33 -04:00
Jared Tabor
ddd88b95b5 adding add/edit survey 2014-09-11 17:39:01 -04:00
Jared Tabor
64961f8504 adding beginning of survey maker and portal mode 2014-09-10 10:44:01 -04:00
Jared Tabor
ca8e52bfff adding ngdocs site for tower doc site 2014-08-28 10:37:02 -04:00
Jared Tabor
a3c9dc7deb changed some lookup dialogs to use radio buttons 2014-08-21 12:02:33 -04:00
Jared Tabor
88c1b05f50 House fixed issue on job template form when project was deleted, changed, or reloaded from a previous saved form 2014-08-12 16:58:32 -04:00
Jared Tabor
4f8a86b3fe fixed issue with deleting a project and then trying to add a new one in the job template page 2014-08-08 16:08:57 -04:00
Chris Houseknecht
2485f86471 Job templates
Added ability to launch a job from th job template detail page.
2014-07-30 14:06:31 -04:00
Jared Tabor
feb13b1f11 fixed issue in job template when user deletes credential and project 2014-07-29 16:24:56 -04:00
Chris Houseknecht
54204becf5 AC-1286
Fixed JS minification errors.
2014-06-12 16:00:05 -04:00
Chris Houseknecht
90ae15f3ba AC-1286 host config key dialog
Now the dialog only appears on job template save when the host config key or URL actually change. Before the dialog always appeared when allow callbacks was enabled.
2014-06-12 15:37:45 -04:00
Chris Houseknecht
c517332191 AC-1308 spinner lingers after 403 error
Happening on response to Delete prompt. Removed modal hide listener when starting spinner. Not sure why I thought that was needed. Instead, just close the dialog and start the spinner. If an error occurs, ProcessErrors always stops the spinner. Issue was caused by a race condition. ProcessErrors would sometimes fire tht stop before the event listener fired a start.
2014-06-03 19:20:35 -04:00
chouseknecht
ec2545d069 Latest job_detail changes as of 5-16. Plus, AC-1279 Rename vars_prompt_on_launch to ask_variables_on_launch. 2014-05-19 10:50:26 -04:00