Jared Tabor
bfb4ccf266
Updating Source form to fix save button validity
2015-04-24 09:54:08 -05:00
Jared Tabor
fdbb885b08
fixing issue with select2 data collection
...
there was an error with not collecting select2 data if there were no source_regions chosen for the source selected.
2015-04-22 14:11:35 -04:00
Jared Tabor
2bd856da93
select2 comments and removal of stale awMultiSelect
...
adding comments for how to implement the select2 on a select field, and removing the directive that no longer creates select2 fields
2015-04-20 14:47:14 -04:00
Jared Tabor
d27a190b4e
Updated select2 fields for new version of lib
...
adding select2 updated lib
removing old select2 library
2015-04-20 14:47:14 -04:00
Jared Tabor
38f0b46ded
adjusting width of search bar in jobs page
2015-04-17 17:45:06 -04:00
Jared Tabor
ed0f6a7918
Obtaining job status from API instead of capitalizing
...
The jobs page and the job detail page now use the API value to display job status
2015-04-14 15:23:02 -04:00
Jared Tabor
9af7a428ab
removing unneeded files and adjusting height logic
2015-04-13 17:58:08 -04:00
Jared Tabor
8b225e333b
Fix to delete/cancel jobs
2015-04-13 14:48:39 -04:00
Jared Tabor
9cffbd63c2
Schedule search widget, and fix buttons for jobs
...
Inserted the schedule search widget for hte scheduled jobs tab, and adjusting the correct buttons based on if a job is running.
2015-04-13 11:16:25 -04:00
Jared Tabor
eabe4bdf02
Made jobs page use 1 pane with tabs
...
instead of the 4 panes divied into completed, running, and queued jobs
2015-04-10 14:29:46 -04:00
Jared Tabor
c61ef0a602
send user to inventory manage when saving new inventory
2015-04-09 14:42:59 -04:00
Jared Tabor
8b336ab2e1
adding infinitescroll bower file for licensing
2015-04-09 11:54:10 -04:00
Jared Tabor
1d20ddc227
adding comments for job submission
2015-04-07 18:14:38 -04:00
Jared Tabor
d5389cc15d
refactoring password gathering in job submission
2015-04-07 16:56:31 -04:00
Jared Tabor
eb5e10aa5c
adding 'become' privilege escalation on cred
...
and on job template adding a flag for enabling 'become' escalation.
2015-04-07 15:11:51 -04:00
Jared Tabor
f6827a1079
adding options for privilege escalation drop down
...
this will get replaced by info from the back end.
2015-04-07 11:24:31 -04:00
Jared Tabor
47d7440b57
changed credential privilege escalation to selectable
2015-04-07 11:24:21 -04:00
Jared Tabor
4955ad4e01
added privilege escalation chxbox to JT form page
...
the job template page will need to have a flag to provide the user to run playbooks as sudo
2015-04-07 11:24:13 -04:00
Jared Tabor
1b9c050dc8
adding pbrun radio option and input fields
2015-04-07 11:24:00 -04:00
Jared Tabor
ed3dab91bf
adjusted row heights on dashboard, jobs, and portal mode.
...
adjusted row heights due to change to button font size.
2015-04-06 15:34:01 -04:00
Jared Tabor
0fdb9703ea
removing intervals that attempt to open sockets
...
the intervals are not necessary and we can rely on the socket service doing the reconnection for us.
2015-04-03 16:44:34 -04:00
Jared Tabor
fa27d7de93
adding sanitizer filter for app
...
I'm adding a sanitize filter to be used whenever we want to escape tags that are generated from user input. In addition, I created a filters folder and a filter file that imports filters into the app
2015-04-03 12:56:19 -04:00
Jared Tabor
0ea69b1312
removing aw-tooltip-ellipses
...
this was an unused directive that needs to be removed
2015-04-03 12:56:19 -04:00
Jared Tabor
aae91bbf37
Socket.js
...
clearing out setInterval timer that tries to reconnect the client to the socket service from within the socket controller for cases where the auth token is expired.
2015-04-03 12:46:09 -04:00
Jared Tabor
3512bcdc59
moving jt test to test folder
...
so that merge will pass jenkins
2015-03-27 15:24:36 -04:00
Jared Tabor
2401865f59
adding delete jt service
2015-03-27 14:03:16 -04:00
Jared Tabor
1afeed3588
fix undefined function
2015-03-26 10:07:25 -04:00
Jared Tabor
3c0c5b89b6
adding html file for smart status
2015-03-26 09:58:40 -04:00
Jared Tabor
267653e50c
added smart status to scan job templates
...
in the inventory properties page
2015-03-26 09:58:40 -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
2883a70cba
adding launch button for scan jobs
...
on inventory properties page. I also adjusted the indentation on the job submission page so that it was completly crazy.
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
2885ad4cb2
fixed breadcrumb for when editing a job template
...
from an inventory properties page
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
fc72a662b5
Fix hanging 'Wait' message when JT form times out
2015-03-19 13:11:15 -04:00
Jared Tabor
1044390a82
fixed click event element selector for smart status
2015-03-19 11:58:15 -04:00
Jared Tabor
fecb51ad89
Add inventories fix
...
adding pararnthesis for inventory form definition. I had added this on the edit inventory controller but not the add inventory controller
2015-03-18 11:38:44 -04:00
Jared Tabor
83e9553015
Socket.js
...
adding check in socket service functions to ensure that socket exists before checking the status of hte socket connection
2015-03-16 13:52:00 -04:00
Jared Tabor
64de7de53e
cleaning up js hint
2015-03-13 15:53:37 -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
Jared Tabor
757e77e9a3
fixing jshint errors
2015-03-12 15:49:08 -04:00
Jared Tabor
333adea673
Merge branch 'edit-inv-page' into upstream_master
...
Conflicts:
awx/ui/static/js/controllers/Inventories.js
awx/ui/static/js/lists/InventoryHosts.js
2015-03-12 15:37:19 -04:00
Jared Tabor
5e22c86c45
link to manage page from inv list
2015-03-12 14:32:41 -04:00
Jared Tabor
698f2e7b8f
Added icon on inventories view for manage inventory
...
With the Manage Inventory page being essentially nested below the Edit Inventory page, I have added a new icon and a new button for getting to these pages.
2015-03-12 12:16:47 -04:00
Jared Tabor
9ed89f9622
fixing breadcrumbs for new inventory page/manage
...
fixing breadcrumbs to reflect the level of nesting of hte manage page.
2015-03-12 11:41:36 -04:00
Jared Tabor
c2b5d27333
Inventory manage row height and icon col width
...
adjusted the heights of the rows for the groups/hosts on the manage view, and made the column width greater for icons on the page too
2015-03-12 10:41:43 -04:00
Jared Tabor
8e91c36593
Inventory edit properties
...
Adding the methods for filling the form with data from the API, resetting the form, saving variables, and for saving the form to the API. Also ensured activity stream worked.
2015-03-11 18:14:50 -04:00
Jared Tabor
286fd04498
changing name of inv manage partial
2015-03-11 13:37:07 -04:00
Jared Tabor
42081077c5
Moving inventory pages
...
the view that displayed the groups/hosts is now mapped to inventories/id/manage and the page for editing an inventory is an inventories/id
2015-03-11 13:30:03 -04:00
Jared Tabor
de3b1ecbc7
removing unnecessary files
2015-03-10 12:53:38 -04:00
Jared Tabor
7c9b6f5269
Making the status even smarter
...
Incorporating the true status for each bar
2015-03-10 12:04:14 -04:00
Jared Tabor
9295ac78fd
Updated status checks for smart status
2015-03-10 11:28:48 -04:00
Jared Tabor
23254beb6c
More styling on the tooltip for smart status
2015-03-10 10:57:35 -04:00
Jared Tabor
ec39c5c864
Updated tooltip for sparklines
2015-03-09 16:55:17 -04:00
Jared Tabor
1e68785264
adding click event for spark lines
2015-03-09 13:48:08 -04:00
Jared Tabor
df5f384916
Removing comment
2015-03-06 16:54:56 -05:00
Jared Tabor
c3f5909600
removing comments from ansible-ui.less
2015-03-06 16:52:57 -05:00
Jared Tabor
a8095e870e
smart status sparkline tooltips
2015-03-06 16:32:58 -05:00
Jared Tabor
13bc0a7b78
changed the styling on the rows
2015-03-06 12:25:07 -05:00
Jared Tabor
e653e9561a
changed reconnect limit to a greater length
2015-03-03 16:56:09 -05:00
Jared Tabor
6087326bef
socket disconnect on session timeout
...
the UI was trying to reconnect to the socket server using the previous session's auth token. I'm forcing a disconnect now when the session times out and i added 'force new conection' to true in the socket configuration so that when a new session starts it doesn't use the old auth token.
2015-03-03 15:01:02 -05:00
Jared Tabor
43dcd84fa7
First smart status commit with new files
...
the smart status folder and main, controller, and directive
2015-03-02 11:07:13 -05:00
Jared Tabor
727c2fcaf7
Changed JT form survey error message
2015-02-20 18:00:48 -05:00
Jared Tabor
614fe8e3fd
fixing jshint warning
...
unused params don't need to be included `
2015-02-20 18:00:19 -05: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
Jared Tabor
db8eed2ae5
Job submission for optional survey questions
...
Make sure optional multiselect and multiplechoice answers are ignored if not answered
2015-02-19 12:59:09 -05:00
Jared Tabor
0286800ead
Survey password field initialization
2015-02-19 12:58:41 -05:00
Jared Tabor
ea8a537906
Job Submission extra vars
...
When submitting a job to launch, the UI will collect extra_vars from the the JT. However with a recent change to make extra_vars include comments, the UI no longer receives the JT extra vars as a JSON obj, but rather as a yaml-unparsed string. So I am changing the way we parse these JT-extra_vars from 'json' to 'yaml' since we no longer expect to recieve a json-ified extra var object.
2015-02-19 12:58:41 -05:00
Jared Tabor
a0ffd50207
Adjust error messages for survey
...
per Chris' request to make them more accurate.
2015-02-18 16:00:47 -05:00
Jared Tabor
a67b2e29b6
JSHint
...
removed trailing whitespace
2015-02-18 14:32:34 -05:00
Jared Tabor
6e18c6d3c0
fixed spelling error on websocket configs
...
spelling changed from 'max reconneciton attemps' to 'max reconnection attempts'
2015-02-18 11:23:50 -05:00
Jared Tabor
203de5221e
Adding query string for websockets
...
to pass the auth token instead of in the cookie
2015-02-18 10:39:10 -05:00
Jared Tabor
50e174ea43
Remove stale error messages on survey
...
when adding another question any stale errors messages need to be cleared.
2015-02-17 18:25:04 -05:00
Jared Tabor
a2121b7288
More accurate survey errors
...
For the survey question form validation, some errors messages were being thrown for errors that hadn't occured.
2015-02-17 17:52:54 -05:00
Jared Tabor
dda00e98f5
Fixing job submission for textarea
...
if textarea min is set to 0 and the question is optional, then the UI will pass the API and empty string to the job launch endpoint
2015-02-17 16:09:14 -05:00
Jared Tabor
9fbd64805f
Job Detail checks to prevent error messages
...
If the job run completes before the JS can complete running, error messages are output to the js console. Ajusting checks to prevent errors happening.
2015-02-16 13:42:38 -05:00
Jared Tabor
e849dff386
Changed wording on survey error message
...
Chris Wang found a wording issue with the survey error messages
2015-02-16 12:13:40 -05:00
Jared Tabor
81ead8c85d
Changed labels for filters on portal mode
...
changed the labels to make things more aligned to the semantics of the actual filter.
2015-02-16 12:11:11 -05:00
Jared Tabor
435b010f9f
Changed $log.info to $log.debug
...
we only want certain messages to post to the console when in debug mode
2015-02-16 11:31:07 -05:00
Jared Tabor
1046ac075d
Fixed spelling error on survey
...
accidentally spelled 'scope' -> 'scopt'
2015-02-16 11:01:54 -05:00
Jared Tabor
50e44def7b
added missing }
...
oops
2015-02-13 15:59:05 -05:00
Jared Tabor
c30d4c70ad
Fixed data min/max/default check for survey
2015-02-13 14:48:30 -05:00
Jared Tabor
f46a34e079
Adding Password option for survey's
...
I'm adding the UI side of the password option for surveys, which should show up in the job summary as a masked string.
2015-02-13 14:00:00 -05:00
Jared Tabor
6a77c5dbab
Added metric for cache timeout on project page
...
For cache timeout on the project form page, I've added the metric in seconds to the field label
2015-02-04 17:00:58 -05:00
Jared Tabor
1e521e43c2
Auth timeout on survey edit
...
The UI would error out on the console
2015-02-04 16:16:16 -05:00
Jared Tabor
7788d45088
Removing the Launch and Sync button
...
removing the launch button from the JT form page and the sync project from the project page
2015-02-04 14:28:31 -05:00
Jared Tabor
5116e41433
adding comments to survey code
...
helps with refactoring
2015-02-04 11:34:55 -05:00
Jared Tabor
2a5f904283
Adding extra dependency reference for awToolTip
...
the awToolTip directive has a dependency on the $sce (context escaping) service, and I had incorrectly defined this reference in an earlier commit.
2015-02-03 14:35:39 -05:00
Jared Tabor
3d07e09aeb
More escaping of malicious html/js in Activity Stream
...
I had to move the escaping functions to happen earlier in the URL creation for activity streams
2015-02-03 14:02:21 -05:00
Jared Tabor
61e2683f57
Added 'About Tower' to portal mode acct menu
...
we decided not to add Account Settings for now.
2015-02-03 12:24:28 -05:00
Jared Tabor
f914482e19
Changed 'Cleanup Job' to name of cleanup job ran
...
on the modal that prompts the user for number of days of data to keep, I changed the title of the modal to say the name of the job being run.
2015-02-02 20:58:49 -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
Jared Tabor
208e08410f
Websocket would connect before login
...
The websockets would make a connection before login when the user refreshes the login page. I believe this was happening on upgrade too.
2015-01-30 16:02:37 -05:00
Jared Tabor
2a556ecab6
removing extra socket connection call in auth
...
this line was causing the socket connection to happen before the user logs in after a session timeout
2015-01-30 11:48:45 -05:00
Jared Tabor
7408387826
XSS character escaping for tooltips
...
I've added character escaping for tooltips to avoid XSS security breaches
2015-01-29 16:19:40 -05:00
Jared Tabor
71eaa5aa2a
XSS character escaping for activity stream
...
The activity stream widget needed the XSS character escaping
2015-01-29 15:26:07 -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
0d8a2a0d82
Permissions page -> JT 'Create'
...
The permissions page, when saved with 'Create' JT permissions wouldn't re-fill the form correctly when the user renavigates to the edit form page for that permission.
2015-01-28 11:02:09 -05:00