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
Jared Tabor
8e28c73623
made organization required on custom inv script
...
the organization field of the custom inv script modal needed to have the astericks to indicate that it is required.
2014-12-08 12:52:07 -05:00
Jared Tabor
9e8ec0ebd0
Host events variable parsing to prevent tag inject
...
The host events modal needs to have escape characters for tag elements in case a user tries to inject html code into the arguements of the host events.
2014-12-08 12:28:38 -05:00
Jared Tabor
fd86b940e2
Prevent html injection in host events
...
replaced '<' and '>' characters with their escape characters to prevent html from being rendered onto the view.
2014-12-08 11:11:50 -05:00
Jared Tabor
1ffca45c4a
Remove open modals when logging in
...
If the session times out, and the user attempts to open a modal dialog, then it must be closed due to the fact that bootstrap modals do not work with more than one modal open. The login modal is a bootstrap modal so all other modals need to be closed when it is shown.
2014-12-05 14:31:45 -05:00
Jared Tabor
9c80dba4a2
Survey maker type change fix
...
Made all custom fields set to pristine state when the user changes the question type
2014-12-05 12:21:09 -05:00
Jared Tabor
4a0afd97b0
Added org column to custom inv scripts list
...
I added the organization column to the custom inventory scripts list on the scripts modal
2014-12-05 11:32:28 -05:00
Jared Tabor
5eb4b59745
Projects form -> edit / SCM fix
...
The manual scm option was not showing up when editing an existing project
2014-12-05 11:06:34 -05:00
Jared Tabor
224e136269
Portal mode column styling
...
Added text wrap and fixed layout style for portal mode widgets for long names
2014-12-05 11:01:56 -05:00
Jared Tabor
b4be8f7d49
Project SCM type drop down fix
...
The SCM type for the projects page was broken when we sorted the drop down options by value. There was no value for 'manual' projects. I had to insert the word 'manual' where it was expecting a blank sting and then remove the word manual before saving the job template to the API
2014-12-04 15:56:35 -05:00
Jared Tabor
c05d746d73
Fixed empty Extra Variable JSON parsing issue
...
if the user saved a job template with empty extra variables and the Parse as option as JSON, then the UI crapped out. I added a check to make sure the default string is '{}' if the user submits an empty field.
2014-12-04 12:01:05 -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
ce879f58d8
Added Organization lookup to custom inv script
...
The custom inventory script form needed to have an organization associated with it, so I added a lookup to the form and made sure this was incorporated with the Reset functionality
2014-12-04 10:29:13 -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
c095ebcbfb
Tooltip fix for vmware vars
...
on the source panel for vmware extra vars, had to change the wording of the tooltip
2014-12-03 15:40:17 -05:00
Jared Tabor
9a90277e5e
Environment Variables for VMWare inv source
...
added the yaml/json parser for VMWare inventory sources
2014-12-03 15:04:17 -05:00
Jared Tabor
8a2a829bac
Fixed reset on custom inv form
...
Instead of clearing the form we reset it to the values in the API
2014-12-03 11:11:04 -05:00
Jared Tabor
696475591a
Cleanup Jobs prompt for days >=0
...
I've made the prompt_for_days modal require an integer, as well as a non-negative integer (allows 0), and fixed ngMin to new awMin
2014-12-02 15:46:32 -05:00
Jared Tabor
f99a73fb85
text/textarea min/max length
...
added fields on survey maker for text/textarea min/max length. on survey taker added the error handling for these.
2014-12-02 14:01:34 -05:00
Jared Tabor
e9e2c1f6ab
awSurveyVariableName directive
...
created a new directive to check the variable name field for spaces. this could be expanded for future use if we want to check against other constraints. checked with matt though and he said space checking shoudl suffice
2014-12-02 12:45:31 -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
e14630b155
renamed ngmin/ngmax
...
renamed to awmin/awmax to match custom directive format. the prefix 'ng' is meant to imply an 'angular' specific directive
2014-12-01 22:52:55 -05:00
Jared Tabor
98fa7eae40
Float directive
...
I changed the float directive last week and now i'm reverting it back. The change i made didn't account for neagative numbers so i'm reverting back
2014-12-01 22:10:34 -05:00
Jared Tabor
a7066443f0
Fixed wording for custom inventory scripts
...
Fixed the label on the source panel and on the lookup modal
2014-12-01 20:38:59 -05:00
Jared Tabor
f3037a3b06
Improved ngmin/ngmax
...
the ngmin/ngmax directives were failing out if the user never set the ngmin/ngmax (which could happen). added a check to for empty ngmin's/ngmax's
2014-12-01 16:04:22 -05:00
Jared Tabor
a319def4b4
ngMin/ngMax directives fix for surveys
...
the ngMin and ngMax directives needed to be re-written to work properly with other directives. They weren't playing nice with other directives' values
2014-12-01 12:39:39 -05:00
Jared Tabor
47ab0fe06e
Inventory Scripts
...
Changed "Inventory Script" to "Inventory Scripts" on account menu
2014-12-01 09:34:53 -05:00
Jared Tabor
15f710331b
Extra var parsing
...
added a check for an empty string
2014-11-30 22:29:33 -05:00
Jared Tabor
0c10581ecd
Clean up jobs
...
Made the prompt for days field required when submitting a cleanup job.
2014-11-30 21:34:26 -05:00
Jared Tabor
a71e787eab
Cleanup jobs redirect to jobs page
...
when the cleanup jobs run they need to redirect to the jobs page
2014-11-26 16:06:43 -05:00
Jared Tabor
18cb53cd26
Custom inventory : Edit
...
fixed issue with list of custom inventories not updating correctly when a user saves an inv script they were editing
2014-11-26 15:49:50 -05:00
Jared Tabor
fd443295dd
Portal credential modal needed
...
added the credential div needed to populate the lookup modal for a cred on the portal mode page
2014-11-26 15:22:15 -05:00
Jared Tabor
cfbec378c3
Survey Maker
...
on typeChange of survey question, clear out the values of any downstream components
2014-11-26 14:26:07 -05:00
Jared Tabor
71d0f3af80
JS Hint errors
...
fixed a jshint error from cchurch's change
2014-11-26 14:25:42 -05:00
Jared Tabor
86c717bca3
Job submission
...
changed the 'credential' to 'credential_id' on the POST to the job launch endpoint, per request from Matt
2014-11-26 13:19:13 -05:00
Jared Tabor
6f1f065414
Custom Inventory Scripts
...
Changed the title of the modal to be a plural noun instead of singular ('Script')
2014-11-26 09:45:02 -05:00
Jared Tabor
f36885b255
forms/Sources.js
...
fixed a couple small errors from church's commit for ec2 tags
2014-11-26 09:37:30 -05:00
Jared Tabor
b94e0711c5
Host events
...
added check in host event call to make sure an empty data set is not returend from the API
2014-11-25 15:11:49 -05:00
Jared Tabor
045592e1eb
Launch configuration/survey taker
...
Fixed issue with optional text/textarea/mc questions being required
2014-11-25 08:33:55 -05:00
Jared Tabor
c4bdf0d936
Job submission
...
Fixed some new errors that emerged as a result of adding the prompt for credentials back in and fixing the html generation of code mirror editor for job variables.
2014-11-24 15:54:35 -05:00
Jared Tabor
300fb677fa
Portal mode pagination
...
fixed the pagination on the job templates portal widget. To fix this i had to include an '&' in the pagination url creation in paginationhelpers.js. not sure if this could have effect on anything else that uses pagination.
2014-11-24 13:31:04 -05:00
Jared Tabor
226c31bc35
Source.js
...
Changed the tooltip for environment variables for custom inventory script
2014-11-21 14:01:30 -05:00
Jared Tabor
ee3c838d74
Sources
...
Added some changes to fields in the source form.
2014-11-21 13:46:20 -05:00
Jared Tabor
0ffb979e8e
Storable inventory script
...
Added the list and form for adding/editing/deleting custom inventory scripts.
2014-11-19 17:00:52 -05:00
Jared Tabor
3d98fe02b6
Cleanup jobs modal
...
changed the title and fixed an issue with the launch url and schedule url getting reused improperly
2014-11-19 13:42:00 -05:00
Jared Tabor
e499dda709
widgets/Stream.js
...
added check for system_job_templates for when processing activity stream rows
2014-11-19 13:05:41 -05:00
Jared Tabor
ee13723399
Group.js
...
Adding placeholder options for ec2 tag filtering
2014-11-18 16:55:03 -05:00
Jared Tabor
27db190bed
Adding files for custom inventory script modal
...
I'm adding the initial files and references in app.js and index.html for the custom inventory script modal window
2014-11-18 16:51:00 -05:00
Jared Tabor
fd5483bbab
Job Submission code mirror
...
added code mirror to the job submission modal window. still need to investigate the issue when launching a job on the job template form, when two code mirror editor instances are visible.
2014-11-18 09:03:15 -05:00
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