4155 Commits

Author SHA1 Message Date
Luke Sneeringer
93d7095383 Merge branch 'master' into expunge-zeromq-unstable 2014-11-10 10:35:20 -06:00
Matthew Jones
8916863cd3 Tweaks for Job Template based permissions covering delete and read
operations when the license has expired. Fix an issue where users
without the appropriate permissions could still delete job templates
2014-11-10 10:58:08 -05:00
Luke Sneeringer
0e8121f7f1 Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	setup/roles/awx_install/handlers/main.yml
2014-11-10 08:47:08 -06:00
Luke Sneeringer
71946d3802 Superuser fix redux. 2014-11-10 08:43:24 -06:00
Matthew Jones
db6a068c4a Make the credential requirement information more consistent 2014-11-09 19:42:21 -05:00
Luke Sneeringer
2925498c4e More complete superuser fix. 2014-11-07 16:23:42 -06:00
Luke Sneeringer
ed34d5f469 Fix all but one unit test. 2014-11-07 14:26:31 -06: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
Matthew Jones
902ef1a7ab Read and run permission tweaks for new deployment permission type 2014-11-07 13:18:01 -05:00
Matthew Jones
2258425710 Denote whether a credential is required on the launch endpoint if it was
not provided on the job template
2014-11-07 11:37:37 -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
Matthew Jones
9873bd2bc2 Add created_by and modified_by to some serializers 2014-11-07 10:45:53 -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
Matthew Jones
27fd173e72 Custom inventory script environment variable blacklist 2014-11-06 11:17:44 -05:00
Luke Sneeringer
ec55603e3f Fixing various small issues to improve tests. 2014-11-05 16:07:57 -06: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
Luke Sneeringer
2e19b65738 Fix for run_task_system 2014-11-04 13:51:08 -06:00
Luke Sneeringer
8346f68f2c Make pubsub.subscribe work. 2014-11-04 11:16:53 -06:00
Chris Church
43f46f830f Update VMware inventory to better handle AttributeErrors. 2014-11-04 12:06:09 -05:00
Luke Sneeringer
fd9647ce94 Use closing consistently. 2014-11-04 10:46:17 -06:00
Luke Sneeringer
8d99ef116c Callback Receiver Fixes. 2014-11-04 10:39:53 -06: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
Luke Sneeringer
c3920ebf4b Fixing the Redis vendor. 2014-11-03 15:13:06 -06:00
Luke Sneeringer
f69969f1e0 Add vendored Redis. 2014-11-03 14:50:01 -06:00
Luke Sneeringer
e2b9509ef1 Merge branch 'master' into expunge-zeromq-unstable 2014-11-03 10:38:06 -06: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
5e4e61dcda Merge branch 'master' into expunge-zeromq-unstable
Conflicts:
	setup/roles/awx_install/tasks/main.yml
2014-10-31 15:10:10 -05: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
Luke Sneeringer
f000e71371 Merge branch 'master' into expunge-zeromq-unstable 2014-10-30 15:30:39 -05: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
Luke Sneeringer
8d90650134 Shifting job callbacks to ZeroMQ. 2014-10-29 13:51:47 -05: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