Commit Graph
100 Commits
Author SHA1 Message Date
Jared Tabor 609938b916 Job Submission: prompt for credential
Added the prompt for credential during job submission if credentials_needed_to_start === true
2014-11-14 13:41:44 -05:00
Jared Tabor 825d996316 Configure Tower schedule deletion
Moved the delete icon from the cleanup job list to a button on the schedule form for when the mode is 'edit'
2014-11-14 11:45:51 -05:00
Jared Tabor f0d7e3be23 Configure Tower schedule names
Added the cleanup job name to the corresponding schedule for that job
2014-11-14 11:44:54 -05:00
Jared Tabor f3244c496f Configure Tower jobs 2014-11-13 13:57:41 -05:00
Jared Tabor fca875a092 Configure Tower
added better error handling for deleting schedules associated with these jobs
2014-11-13 13:56:16 -05:00
Jared Tabor 3b6d70f2ae Configure Tower helper and list
adding /helpers/ConfigureTower.js and /lists/ConfigureTowerList.js
2014-11-13 11:31:09 -05:00
Jared Tabor dfeaea0148 Configure Tower
adding changes to app and index for configure tower files. also included are updates to the scheduler widget for system jobs
2014-11-13 11:29:42 -05:00
Jared Tabor 6a08738071 JobSubmission cleanup
added some cleanup to old code in JobSubmission
2014-11-13 11:20:39 -05:00
Jared Tabor ea1b70273d Jobs helper
added a check if the job run was in the portal job list
2014-11-07 13:41:24 -05:00
Jared Tabor 8fb6e50e70 Portal Jobs
adding correct query for a list of jobs that the current user ran.
2014-11-07 10:53:48 -05:00
Jared Tabor fd8908f7dc Job Submission cleanup
removed some commented code from the fix for the job submission from yesterday
2014-11-06 14:28:18 -05:00
Jared Tabor cacdefafbf Portal mode authorization
Had to override the authorization controller which automatically redirects the user to hte home page if it is their first time visiting tower. I perform a check to see if the url is to /portal, and then set lastPath to portal to force it to portal mode on the first visit
2014-11-06 14:27:27 -05:00
Jared Tabor ae55f1c0d3 Websockets live updating portal mode
fixed issue with websockets not updating view in portal mode
2014-11-05 13:09:00 -05:00
Jared Tabor dc3dd0db26 JobSubmission - remove ng-keydown
removed ng-keydown that would submit the prompt for passwords modal that no longer exists
2014-11-04 09:51:44 -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 bf6b201bf5 Extra Variable parsing on job launch
the extra_vars didn't need the key 'extra_vars' when posting to the API. i also cleaned up some hint errors from matt
2014-10-31 16:17:11 -04:00
Jared Tabor b6575d776c JSHint
fixed some jshint errors for extra_vars fix from earlier. also changed the launch configuration modal button to 'Launch' instead of continue
2014-10-31 15:26:49 -04: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 9e2571f853 Socket again 2014-10-30 15:40:15 -04:00
Jared Tabor 213f6d2af1 /lib/Socket.js removed disconnect code
Removing some code for attempting to disconnect a socket. we found a work around from this and are no longer using this
2014-10-30 15:36:27 -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 f5c21be02f Job Detail page
the icon for deleting a job needs to change depending on the job status
2014-10-27 16:23:29 -04:00
Jared Tabor 7b113f4924 adding 'start new connection' to Socket lib class
for security purposes
2014-10-27 14:18:20 -04:00
Jared Tabor 14af6c579c re ordered some things in the accoutn sub menu
the account sub menu has a link to portal mode while in regular tower and a link to regular tower while in portal mode. i also made sure to hide/show all appropriate menu's while in each mode
2014-10-22 16:59:47 -04:00
Jared Tabor fa7277f86a removed the link on the tower logo in portal mode
while in portal mode the tower logo should not take you to the tower dashboard. I removed the href while in portal mode. I also added a function for leaving portal mode which takes the user back to tower dashboardremoved the link on the tower logo in portal mode
2014-10-22 16:57:54 -04:00
Jared Tabor 742a004f29 removed the resizing and added more styling
i removed the lines of code that would resize the portal containers and moved it to the portal jobs list widget b/c resizing logic already happens there. But I added formatting of the 'Action' columns for both widgets to change them to 'Launch' and 'Details' respectively
2014-10-22 16:55:42 -04:00
Jared Tabor adedb3a629 adjusted the height of the jobs list widget 2014-10-22 16:53:51 -04:00
Jared Tabor 71bd78085a changed list objects for portal mode
removed unnecessary objects and adjusted some of the settings to make styling consistent b/t the two portal widgets
2014-10-22 16:51:42 -04:00
Jared Tabor 255a5158f3 adjusted viewJobLog() for portal mode
for viewing job details, i included a check for portal mode === true to have job detail page loaded in a new tab
2014-10-22 16:51:03 -04:00
Jared Tabor c807b5b132 removing stale file 2014-10-22 12:33:49 -04:00
Jared Tabor af7d03a06e fixed the columns and sizing of portal widgets
i had to create new list items for the two widgets. portaljobtemplates and portaljobs which resemeble their respective parent copies but with many things removed and column widths adjusted. i also changed the sizing functions for the job list widget to better handle browser resizing
2014-10-22 12:32:55 -04:00
Jared Tabor 012a83d37f adding 'surveyCheckboxes' directive
the surveyCheckboxes directive takes a list of checkbox values and creates a checkbox list that collectively represents one scope object instead of several individual ones
2014-10-21 15:47:52 -04:00
Jared Tabor 0113e63374 fixed small error in job submission
added a check for 'passwords needed to start' in job launch function to fix inventory updates/sync updates
2014-10-20 11:50:56 -04:00
Jared Tabor 36919e322b added a new directive for survey selectable
not completed yet..commented out for now
2014-10-17 17:17:15 -04:00
Jared Tabor fce3595154 adjusted the height of the portal containers
adjusted to utilize more vertical screen space
2014-10-17 17:16:06 -04:00
Jared Tabor 98a709a822 changed function names leftover from dashboard
changed names so they're specific to portal widgets
2014-10-17 17:12:06 -04:00
Jared Tabor f0c78611b2 cleaned up old deprecated code 2014-10-17 17:10:34 -04:00
Jared Tabor ce31c0e36a removed float directive from default_float
temporary fix for form validation to work
2014-10-17 17:07:01 -04:00
Jared Tabor 473cc1ffa4 fixed the styling on the job launch modal
the input fields were not uniform throughout the modal window. i also started a fix for the multiselect problem i'm having with angular validation
2014-10-17 17:06:01 -04:00
Jared Tabor ece2acc956 fixed css/styling on job launch modal for inputs
the styling was not uniform throughout the job launch modal window, cleaned this up
2014-10-17 17:06:01 -04:00
Jared Tabor 6292c8ddbd fixed small error using float directive
i hadn't used the smart-float directive correctly and in all the right places. i also adjusted the default_float in survey maker->edit question function
2014-10-16 09:48:46 -04:00
Jared Tabor 90ae405424 fixed some styling and issue with default values
adjusted some of the survey styling, and made edit questions stronger by ensuring that the question form has been loaded before pushing all the values to the form. Made sure for a multiselect that default value showed correctly
2014-10-16 00:34:05 -04:00
Jared Tabor 2e4fd96aef added defaultText option for forms
the default text in a select input field can now be configured
2014-10-16 00:30:24 -04:00
Jared Tabor df789f0c96 fixed a couple errors in app.js and index
fixed a couple errors i caused by deleting a file. i forgot to delete the references to the file in app.js and index.html
2014-10-15 17:16:43 -04:00
Jared Tabor ec42753676 created a new widget for portal mode job templates
the job templates widget from the dashboard needed enough adjustments i just decided to create a new widget.
2014-10-15 17:13:50 -04:00
Jared Tabor 6f6ecd409d changed the actions for jobs in portal mode
for portal mode, the jobs list should only have the launch option. i may need to make a new jobs list for the portal
2014-10-15 17:12:32 -04:00
Jared Tabor 77f73e7520 adjusted the job submission for portal mode
I changed the url for poral mode job submission to /launch instead of /relaunch
2014-10-15 17:10:58 -04:00
Jared Tabor 68e6af0a09 tried adding ngHide to a column in generator-helpers
while unsuccessful, I think something like this is going to be necessary for getting the portal job templates widget right. I'll revisit later
2014-10-15 17:08:18 -04:00
Jared Tabor b224f0abce adding css/less files and html files for portal
adding css and html files for the portal mode
2014-10-15 17:07:05 -04:00
Jared Tabor 33ad0c7612 adding controller for portal mode.
handles the refresh of the page and loading of the job widgets
2014-10-15 17:05:43 -04:00
Jared Tabor f855b508dc adding new files in app.js and index for portal
adding the routing for portal mode and setting boolean for portal mode in app.js
adding references to new files in index.html and added ngHide for nav bar items that should be hidden by portal mode
2014-10-15 17:02:10 -04:00
Jared Tabor 2fa230052c removing some unnecessary files 2014-10-15 10:12:13 -04:00
Jared Tabor 93709c6871 added extra vars and job submission fucntionality
extra vars have to be obtained from the job template endpoint so i added a call to get the extra vars if prompt_for_extra_vars is true, and included this in the modal window. And for job submission all the data fields on the modal window are obtained and posted to the correct /launch or /relaunch endpoint.
2014-10-14 17:11:11 -04:00
Jared Tabor beb4602933 fixed issue with editing multiselect
the multiselect was not updating the default value.
2014-10-14 17:10:56 -04:00
Jared Tabor 8d0cdd66e0 fixing prompt for survey
within the job launch modal, the prompt for survey needed to be re-styled, as well as getting 'required' warning for each question
2014-10-14 09:59:22 -04:00
Jared Tabor 5b2eadf60b added 'form-control' class to survey maker
form control class added to the integer/float input fields to make them more uniform throughout
2014-10-14 09:54:43 -04:00
Jared Tabor 4d47d79235 fixed issue with survey question float validation
the survey question 'float' option was missing the wrong directive in the element attributes
2014-10-14 09:53:14 -04:00
Jared Tabor ef768afcbc fixed jshint errors on directives 2014-10-14 09:52:11 -04:00
Jared Tabor 68f80f6411 fixed the css on survey taker to make it uniform
the survey portion of the job launch modal needed to be made to look more like the prompt for passwords and prompt for variables
2014-10-14 09:38:36 -04:00
Jared Tabor 3216d5e12b fixed ng-min directive to include 0
the directive was evaluating 0 as 'false'
2014-10-14 09:38:12 -04:00
Jared Tabor 995bf8c58f adding cancel button for survey question form
cancel button closes the survey question form and returns the modal into its previous state
2014-10-10 14:47:37 -04:00
Jared Tabor 7dd2612268 more validation on survey question
survey question needed to have validation that didn't allow the min/max values to overlap incorrectly and for the survey save button to be disabled if hte user is in the process of adding another question
2014-10-10 13:32:06 -04:00
Jared Tabor 2bfdb31deb added case in generator-helpers for icon in survey
survey question 'cancel' button needed appropriate icon
2014-10-10 13:31:06 -04:00
Jared Tabor 9879076cae ngMin and ngMax for integer/float survey question
ngMing and ngMax are directives for setting limitations on number/float fields
2014-10-10 13:30:41 -04:00
Jared Tabor 13bf8d89d0 adding more survey maker form validation
added validation on integers and floats that ensure answers are int/floats and that they meet the restrictions placed by min/max
2014-10-09 00:26:24 -04:00
Jared Tabor adb06fba4a removed surveymaker.js from the index
this controller is no longer needed.
2014-10-08 12:04:37 -04:00
Jared Tabor 05a87d0cea added ngRequired option for textareas
this is for survey maker so that certain textareas can be required. This is for multiple choice questions and the options that are required for them
2014-10-08 12:02:42 -04:00
Jared Tabor 360e813258 added a formReset funciton for survey maker
this is for getting the survey maker to an initial state, since the survey maker form was removed
2014-10-08 12:00:25 -04:00
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
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
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
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
Jared Tabor 006da3219a made SM fields readonly/disabled and adjusted opacity 2014-09-26 13:34:46 -04:00
Jared Tabor ef0c399178 added functionality for moving question up or down in order on SM 2014-09-26 13:06:23 -04:00
Jared Tabor f9f9c8c4a3 adding 'delete question' functionality 2014-09-26 11:42:13 -04:00
Jared Tabor 832dcc7701 completed 'edit question' for survey maker 2014-09-26 09:15:09 -04:00
Jared Tabor 40192b5172 survey maker additions for question types 2014-09-24 17:36:30 -04:00
Jared Tabor 193accaa84 refactored saveSurvey method 2014-09-22 11:29:02 -04:00
Jared Tabor 36ab9d98e0 fixed 'Delete Survey' 2014-09-21 22:09:37 -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 b505e7ae41 changed the values for some forms thats have select drop down input fields 2014-09-16 12:34:13 -04:00
Jared Tabor 0b43ec7ec5 changed job launch logic on UI side for job launch and job relaunch 2014-09-15 10:11:40 -04:00
Jared Tabor ddd88b95b5 adding add/edit survey 2014-09-11 17:39:01 -04:00
Jared Tabor 87ed378f6b changed JobSubmission for api change for job launch 2014-09-11 17:13:20 -04:00
Jared Tabor 64961f8504 adding beginning of survey maker and portal mode 2014-09-10 10:44:01 -04:00
Jared Tabor f0b7e77455 changed some id's on generator-helpers for pagination UI automation testing 2014-09-08 16:05:48 -04:00
Jared Tabor 9ec267ff89 removed space before the word 'about' in account menu for ui testing 2014-09-05 10:03:28 -04:00
Jared Tabor ab971215c8 added 'launched by' field into job detail->more section 2014-09-02 14:25:49 -04:00
Jared Tabor dbe6ab3694 adding some comments to code that i discussed with chris 2014-08-29 16:50:43 -04:00