Commit Graph

3203 Commits

Author SHA1 Message Date
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
Matthew Jones
875cef12e3 Fix a bug in how I'm handling ids when creating a unified job as part of
the launch process
2014-11-26 15:20:39 -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
Chris Church
1e56d3d2fd Add tests for inventory_filters and group_by, fix to convert None to empty string. 2014-11-26 13:34:10 -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
Matthew Jones
e1f25a0949 Fix up unified job creation parameter passing 2014-11-26 11:54:49 -05:00
Matthew Jones
f8c6aa6fca Roll this back, it doesn't do what I expect 2014-11-26 11:37:36 -05:00
Matthew Jones
15e6aa29a7 Make sure we propogate source_script into the related fields it needs to
be in
2014-11-26 11:14:26 -05:00
Matthew Jones
fb8c33b973 Update job template launch docs with credential_needed_to_start documentation 2014-11-26 10:17:40 -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
Chris Church
35c392ab17 Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH 2014-11-26 03:20:45 -05:00
Matthew Jones
9756487edf Make sure when we call create_unified_job we can pass important fields
as _id or without
2014-11-25 16:57:17 -05:00
Matthew Jones
8718688cf8 Make sure we pass extra parameters down to the unified job create method
so we can pick up credential if given
2014-11-25 16:47:53 -05:00
Matthew Jones
08ea3bef25 Add system job template launch documentation 2014-11-25 16:22:48 -05:00
Matthew Jones
7e109cb95d Track source_script in summary and related fields for relevant inventory sources 2014-11-25 15:28:52 -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
James Laska
36992e47ce Update release history and process docs 2014-11-25 11:53:41 -05:00
James Laska
d47d2f5700 Add ansible-tower.{default,sysconfig} script
The 'ansible-tower' service script now comes with an additional file:

    /etc/{default,sysconfig}/ansible-tower

This file is used to specify the services managed by the 'ansible-tower'
service script.  The presence of this file allows admins (or the setup
playbook) to customize the services managed.  For example, when using a
remote postgres server, one would remove 'postgresql' from the list of
tower managed services.
2014-11-25 09:22:02 -05:00
James Laska
9f6e74ac94 Remove tools from .gitignore
Not sure why this was here.  It had to be ignored when commiting changes
to various files under tools.
2014-11-25 09:21:30 -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
Chris Church
ad856391f6 Use select_related and other misc fixes to improve performance and reduce queries. 2014-11-24 21:12:21 -05:00
James Laska
955af6aa85 Add support for customizing managed tower services
Allows for overriding the services managed by the ansible-tower
initscript.
2014-11-24 16:28:13 -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
Luke Sneeringer
f49fe9ff56 Make it faster. 2014-11-24 14:41:13 -06:00
Matthew Jones
cfb4361eb4 Temporarily remove ask_variables for job relaunch 2014-11-24 15:24:43 -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
Matthew Jones
2916ebf0c0 Improve query time by removing a check from the order by filter handler 2014-11-21 15:57:01 -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
Luke Sneeringer
ee0e549978 Silly variable inconsistency. 2014-11-20 14:04:33 -06:00
Luke Sneeringer
8b1f3c33a5 Allow more falsy values. 2014-11-20 11:13:26 -06:00
Luke Sneeringer
46ef0475d4 Allow string "false" to mean False on is_superuser 2014-11-20 10:53:15 -06:00
Matthew Jones
ca5689c8ad Fix a bug where checking cache timeout blackout could fail on projects 2014-11-20 11:28:09 -05:00
Chris Church
bb5dc1b9f9 Include core ec2 inventory changes from 4755bde28d 2014-11-20 10:11:29 -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
Matthew Jones
e2a56f2d65 add cache_timeout_blocked to systemjobtemplate 2014-11-19 12:09:18 -05:00
Matthew Jones
ece3bc5e64 Move cache_timeout_blocked to the job template where it belong from the
job model
2014-11-19 11:48:51 -05:00
James Laska
b1cd745800 Update docs
* Update filename changes where appropriate (s/awx/ansible-tower/)
* Updates related to recent `setup_tarball` changes
* More updates needed to reflect current rpm and deb build process
2014-11-19 10:45:20 -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
Luke Sneeringer
d72d95b282 Add ping to the front page view. 2014-11-18 11:08:59 -06:00
Matthew Jones
3764bd2303 Reword errors when version metadata does not match or is absent 2014-11-18 12:06:43 -05:00
Matthew Jones
8b46bc3829 Fix up OPTIONS requests relative to system jobs on some endpoints 2014-11-18 12:02:48 -05:00
Matthew Jones
fb8d7e5d9c Fix up direct launching of system jobs 2014-11-18 11:38:24 -05:00