Commit Graph

4167 Commits

Author SHA1 Message Date
John Mitchell bdcd2c5938 autopopulate lookups if there is only one option for that lookup type 2015-04-24 14:00:27 -04:00
Chris Meyers 927cc78526 flake8 2015-04-24 13:37:52 -04:00
John Mitchell be7f27af0d removing outlines on buttons and links 2015-04-24 13:02:09 -04:00
Chris Meyers 299b0d78c8 removed the need to access data in the serializer. It's now clear what params a job template launch takes 2015-04-24 12:43:48 -04:00
Chris Meyers 0d26a700a6 sanitize request.DATA before passing to jobs 2015-04-24 12:22:31 -04:00
Chris Meyers f194c0dc1b moved validation from view to serializer. Prevent relaunching job with deleted credential 2015-04-24 10:59:59 -04:00
Jared Tabor bfb4ccf266 Updating Source form to fix save button validity 2015-04-24 09:54:08 -05:00
Chris Meyers aaf3a191e4 removed commented out code 2015-04-24 09:45:50 -04:00
Chris Meyers f348766430 fixed how validation errors are propogated. Also, don not allow job template to launch unless credential are available 2015-04-24 09:44:23 -04:00
Chris Meyers b117e14e19 created a serializer for job template launch endpoint 2015-04-24 08:26:12 -04:00
John Mitchell 40b26e42bb fixed padding for cancel button in lists 2015-04-23 16:48:37 -04:00
John Mitchell e67dfa3b92 openstack inventory ui support 2015-04-23 16:48:37 -04:00
Chris Meyers 4fc04a3709 Merge pull request #153 from chrismeyersfsu/fix-openstack_inventory
changed inventory sync private data file key to more appropriate cloud_c...
2015-04-23 16:46:30 -04:00
Chris Meyers ce953d1ad2 changed inventory sync private data file key to more appropriate cloud_credential from scm_credential. Wrapped openstack credentials in dict 2015-04-23 16:44:30 -04:00
Matthew Jones 3f4aafa501 Merge remote-tracking branch 'refs/remotes/chrismeyers/fix-cloud_credentials2' into upstream_master
* refs/remotes/chrismeyers/fix-cloud_credentials2:
  multiple credentials implementation style more inline with existing code
  allow machine and cloud credentials to co-exist.
2015-04-23 16:09:14 -04:00
Matthew Jones 19901ba7cf Turns out "hostId" is not a good unique host identifier in openstack.
Switching to use "id" instead.
2015-04-23 16:02:44 -04:00
Matthew Jones c45a422590 Update "make server" endpoint and Makefile to include the new fact cache
receiver. Upgrade docker tool to install mongo and pymongo
2015-04-23 13:34:56 -04:00
Chris Meyers 360aae8c25 multiple credentials implementation style more inline with existing code 2015-04-23 13:34:02 -04:00
Matthew Jones 405be7edd8 Merge branch 'openstack_inventory_support' into upstream_master
* openstack_inventory_support:
  Use inventory_source source_vars to control what address we use for ansible_ssh_host
  Some small changes to tower openstack work
2015-04-23 11:09:41 -04:00
Matthew Jones abdfb26b3d Use inventory_source source_vars to control what address we use for ansible_ssh_host 2015-04-23 11:07:31 -04:00
Chris Meyers b63a577b33 allow machine and cloud credentials to co-exist. 2015-04-23 10:11:21 -04:00
Chris Meyers 13aa8fce82 Merge pull request #147 from chrismeyersfsu/fix-azuer
handle shutdown azure instances
2015-04-23 10:06:26 -04:00
Matthew Jones 5a401c31aa Handle any exception that could come from sending a packet to a client 2015-04-22 16:50:37 -04:00
Joe Fiorini 0535d1c8c9 Exclude sourcemaps from minjs builds 2015-04-22 15:15:44 -04: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
Chris Meyers bbd1f41471 track azure vm by unique identifier 2015-04-22 07:05:36 -04:00
Chris Meyers 754b004c24 add instance state 2015-04-21 17:43:54 -04:00
Matthew Jones 36512d74c2 Unused variable to make pyflakes happy 2015-04-21 16:13:37 -04:00
Matthew Jones 0fc753046d This fixes an issue where various parts of the system could get stuck
waiting to emit a socketio event if there was a problem with the
websocket service.  Instead of crashing and hanging the system it will
now emit an error and continue.
2015-04-21 15:29:37 -04:00
Matthew Jones 93ecf739be This could be the source of the connection memory leaks, over 1000
connections and only 12 bytes of non-gc-tracked allocations.  Kudos to
cmeyers for finding this.
2015-04-21 14:25:01 -04:00
Matthew Jones fb3bbea027 Add recv_disconnect to acl allowed methods 2015-04-21 14:13:53 -04:00
jlmitch5 96bf9e1bbb Merge pull request #149 from ansible/jlm_420_use_verbosity_options_from_api_for_jt
migrated job templates to use verbosity from API
2015-04-21 13:34:18 -04:00
John Mitchell ef3c18e071 fix jshint error 2015-04-21 13:33:06 -04:00
John Mitchell bcd57b18c2 migrated job type select to using api options as well 2015-04-21 13:31:24 -04:00
John Mitchell 802fed2a76 migrated job templates to use new verbosity format 2015-04-21 13:31:24 -04:00
Chris Meyers 1df51f3c48 better error handling 2015-04-20 17:15:03 -04:00
John Mitchell 537ab3b317 fixed adhoc verbosity default parameter in ui 2015-04-20 16:51:44 -04:00
John Mitchell e1bf7ea749 fix to host popover contents wrt openstack credential in ui. 2015-04-20 16:09:19 -04:00
Chris Meyers f2b58af125 prefer port with name SSH but don't require it 2015-04-20 15:39:21 -04:00
Matthew Jones f45d75c06c Some small changes to tower openstack work
1) Favor private addresses in the openstack inventory sync
2) Force refresh
3) use hostId and promote it to the top level vars object so we can
track individual host changes
2015-04-20 15:11:06 -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
John Mitchell fa18b1774d fixed grunt errors with last push 2015-04-20 14:38:59 -04:00
John Mitchell e8db7d7c77 fixed permissions adhoc checkbox stuff 2015-04-20 14:37:22 -04:00
James Laska 86cb23117f Resolve pycrypto gce failure on EL6 systems
Tracking upstream change https://github.com/ansible/ansible/pull/10787
2015-04-20 13:19:49 -04:00
Jared Tabor 38f0b46ded adjusting width of search bar in jobs page 2015-04-17 17:45:06 -04:00
John Mitchell 0bcd7c63aa fixing warning label typo 2015-04-17 14:04:43 -04:00
Chris Meyers 48c194f2a9 handle shutdown azure instances 2015-04-16 18:06:55 -04:00
Chris Church 7be54d585b Fix RBAC query bug in checking if user can run ad hoc commands. Fixes https://trello.com/c/fl36Hvh3 2015-04-16 15:27:16 -04:00
Chris Church 6dda8e58ad Don't return ids for deleted credential/inventory for ad hoc commands. Fixes https://trello.com/c/ps2bW38Q 2015-04-16 14:31:23 -04:00