4112 Commits

Author SHA1 Message Date
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
Matthew Jones
8c4aee35d1 Merge remote-tracking branch 'origin/master' into reintroduce-zeromq-unstable
* origin/master:
  Add tests for inventory_filters and group_by, fix to convert None to empty string.
  Job submission
  Fix up unified job creation parameter passing
  Roll this back, it doesn't do what I expect
  Make sure we propogate source_script into the related fields it needs to be in
  Update job template launch docs with credential_needed_to_start documentation
  Custom Inventory Scripts
  forms/Sources.js
  Add instance filters and group by options for EC2 inventory sources.  Implements https://trello.com/c/QOVhP0mH
  Make sure when we call create_unified_job we can pass important fields as _id or without
  Make sure we pass extra parameters down to the unified job create method so we can pick up credential if given
  Add system job template launch documentation
  Track source_script in summary and related fields for relevant inventory sources
  Host events
  Simplify include_vars based on mpd feedback
  Update the apt-cache when installing python-pip
  Only the primary should syncdb and migrate
  Update package changelogs
  Update release history and process docs
  Update ansible-tower service config in playbook
2014-11-26 13:40:37 -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
Luke Sneeringer
2b33715b66 Make CALLBACK_CONSUMER_PORT falsy values be dummified. 2014-11-25 12:02:19 -06:00
James Laska
36992e47ce Update release history and process docs 2014-11-25 11:53:41 -05:00
Luke Sneeringer
27933df220 Fix ZeroMQ port mismatch. 2014-11-25 10:39:42 -06:00
Luke Sneeringer
f8cbdd65a5 Merge branch 'master' into reintroduce-zeromq-unstable 2014-11-25 09:01:59 -06: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
Luke Sneeringer
1efff8267d ZeroMQ changes. 2014-11-21 16:21:15 -06: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
Luke Sneeringer
35824f8d67 Put files in the right place! 2014-11-21 12:51:17 -06:00
Jared Tabor
ee3c838d74 Sources
Added some changes to fields in the source form.
2014-11-21 13:46:20 -05:00
Luke Sneeringer
4a6b16bab9 Error message correction. 2014-11-21 09:32:42 -06:00
Luke Sneeringer
8446a9ac54 Put socket.py in the wrong folder. 2014-11-21 09:28:25 -06:00
Luke Sneeringer
52aca5a081 Theoretically working Socket implementation. 2014-11-21 09:24:49 -06:00
Luke Sneeringer
99b8b8e193 Beginning work on reintroducing ZeroMQ. 2014-11-21 08:43:54 -06: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