3072 Commits

Author SHA1 Message Date
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
Matthew Jones
27fd173e72 Custom inventory script environment variable blacklist 2014-11-06 11:17:44 -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
Chris Church
43f46f830f Update VMware inventory to better handle AttributeErrors. 2014-11-04 12:06:09 -05:00
Chris Church
886d9f2120 Added /var/log/supervisor to paths hidden by proot. 2014-11-04 11:27:20 -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
Luke Sneeringer
89f34f6a2e Merge branch 'master' of github.com:ansible/ansible-tower
Conflicts:
	awx/ui/static/js/helpers/Variables.js
2014-10-31 14:29:32 -05: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
Matthew Jones
ede6142cea New permission for users and teams that allow creating job templates,
this makes Deployment permissions more granular.  Includes unit tests
and a migration to promote existing "run" permissions to "create".

Also some slight doc updates to denote that this implies "run" and "check"
2014-10-31 15:04:46 -04:00
Luke Sneeringer
88a0a0449f Minor indentation change to make JSlint not complain. 2014-10-31 13:36:15 -05:00
Luke Sneeringer
01a611b6b9 Moving postgres conf to its own file in conf.d 2014-10-31 13:23:50 -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
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
Luke Sneeringer
e892a45aa2 Shift to local inventory file. 2014-10-30 14:28:37 -05:00
Chris Church
b1f1cfa633 Update docstring for VMware inventory script. 2014-10-30 14:10:14 -04:00
Chris Church
f5a174f991 Fixes https://trello.com/c/8KGzMa75 - Updates to VMware inventory script to include additional host variables, groups and ansible_ssh_host. 2014-10-30 13:47:49 -04:00
Matthew Jones
202b511f55 Change returned job start id to system_job in the system job template
launch return data
2014-10-30 10:51:22 -04:00
Matthew Jones
7699faae28 Mo' stringent permissions on the system job and system job template endpoints 2014-10-30 10:24:47 -04:00
Matthew Jones
df4366bdba Finish up the job template copying -> job_template/n/launch switch since
the UI implements this correctly now
2014-10-29 15:17:18 -04:00
Matthew Jones
1fae7e6764 Add more customization with data passed to the system job when run 2014-10-28 15:44:14 -04:00
Matthew Jones
08fc24c9e5 Create data migration for new system job templates and revise endpoints 2014-10-28 15:34:47 -04:00
Matthew Jones
098d4dc02e Force stringify shell environment variables 2014-10-28 14:35:09 -04:00
Matthew Jones
010e55289f Include system job details in root api browser 2014-10-28 14:35:09 -04:00
James Laska
d766b6b029 Correct jshint errors 2014-10-28 09:01:36 -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
Matthew Jones
43ecfc0a87 Fix a small bug related to return state when determining valid user on
the socket io service
2014-10-27 14:52:21 -04:00
Jared Tabor
7b113f4924 adding 'start new connection' to Socket lib class
for security purposes
2014-10-27 14:18:20 -04:00
Matthew Jones
c6180d3928 Access control on websocket service 2014-10-27 11:40:33 -04:00
Matthew Jones
c106ba7bee enable autoescaping of content in the DRF template 2014-10-24 13:55:13 -04:00
Matthew Jones
66f8f88898 Remove the form and multipart parser from the the list of DRF parser classes 2014-10-23 14:52:29 -04:00
Chris Church
4eb0ed225b Implement https://trello.com/c/Oznsyg2c - Always use ssh-agent to run playbooks whenever an SSH key is provided. 2014-10-23 14:34:38 -04:00
Chris Church
7834bfab70 Implemented https://trello.com/c/LLwK80P5 - Added eu-central-1 region and updated boto to 2.34.0. 2014-10-23 13:36:15 -04:00
Chris Church
253a6cffd4 Add default SYSTEM_UUID for development. 2014-10-23 13:36:14 -04:00
James Laska
20bb2ed71c Additional markdown for job_template launch endpoint
Fixes: https://trello.com/c/h4rfafWM
2014-10-23 12:51:00 -04:00
Luke Sneeringer
b7b92cb995 Only allow superusers to create other superusers. 2014-10-22 16:11:07 -05: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
James Laska
1559ba50bb Be sure to minify before building RPMs
Also, break out individual clean targets that were helpful for testing
specific components.
2014-10-22 16:41:24 -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
Luke Sneeringer
ad97ebb09b Fix Makefile 2014-10-22 10:37:42 -05:00