Commit Graph
100 Commits
Author SHA1 Message Date
Chris Church 36f094a8f8 Fix for failing unit tests. 2014-01-02 17:24:32 -05:00
Chris Church ff7b863905 Fix failing tests for scm update. 2014-01-02 15:10:13 -05:00
Chris Church d8423a3342 Update third party packages. 2014-01-02 15:09:48 -05:00
Chris Church 2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Chris Church fc6ec26ebe AC-752 Update settings to support enabling celeryd using rabbitmq on upgrade, also support config files in /etc/awx/conf.d/. 2014-01-02 11:19:07 -05:00
Chris Church 1dd0634c8a Change AWX version to 1.4.5. 2013-12-19 10:20:11 -05:00
Chris Church 509b476e09 AC-847 Fix for inventory import performance. 2013-12-18 16:35:32 -05:00
Chris Church 24ba1c3055 Update EC2 inventory script from Ansible, exclude RDS instances. 2013-12-17 11:41:17 -05:00
Chris Church b68904a815 AC-810 Fix setup logic to enable SE bool. Create related inventory_source for each group on import. 2013-12-14 09:14:10 -05:00
Chris Church 5bf3197680 AC-752 Hide password in BROKER_URL environment variable, show other variables that are known not to contain sensitive information. 2013-12-11 15:17:18 -05:00
Chris Church 783ecbe2ba AC-752 Add RabbitMQ role to setup, update CONTRIBUTING doc. 2013-12-11 11:45:34 -05:00
Chris Church 4abb595a1f Fix to use awx/lib/site-packages for all tasks, avoid using amqp broker for unit tests. 2013-12-11 10:45:54 -05:00
Chris Church c850379222 AC-752 Work on using celery with rabbitmq, posting job events via celery. 2013-12-11 00:18:39 -05:00
Chris Church dfcedc42fe Fix NameError/AttributeError in migration. 2013-12-10 18:01:07 -05:00
Chris Church 9e4fbe88b8 Fix broken tests. 2013-11-26 22:35:32 -05:00
Chris Church a4bb433392 AC-737 Add tests for job cloud credentials in environment. 2013-11-26 22:11:26 -05:00
Chris Church 112fe089d9 AC-728 Added chain__ filter prefix. 2013-11-26 13:24:45 -05:00
Chris Church f29809a807 AC-655 Add select_related to reduce number of queries for inventory views. 2013-11-25 15:43:56 -05:00
Chris Church 6ec1160b0f AC-620 Change to minimize queries when adding a new job event, post process events after job has completed. 2013-11-25 11:17:47 -05:00
Chris Church 9d1bc65233 Merge pull request #7 from jlaska/package_name
Allow specifying an alternative awx package name
2013-11-22 13:15:15 -08:00
Chris Church 5fa228c085 AC-620 Skip deadlock test when not using PostgreSQL. 2013-11-21 19:41:02 -05:00
Chris Church fc5c97d9ea AC-620 Continue to update status while a task is running, so that long running tasks don't get inadvertently canceled. 2013-11-21 17:58:36 -05:00
Chris Church b59d9b766f AC-620 Updates to tests to create temp job output root, update tasks to write to stdout file directly instead of storing any stdout in memory. 2013-11-21 17:42:37 -05:00
Chris Church 9b49e80dc5 AC-620 Some cleanup of job events to reduce extra queries, test case to reproduce deadlocks. 2013-11-21 17:41:57 -05:00
Chris Church b0d423222c AC-711 Fix broken test after RBAC change. 2013-11-21 11:50:33 -05:00
Chris Church 1556800c18 AC-711 Allow org admins to see all users. 2013-11-21 11:20:56 -05:00
Chris Church f4e9b9ce64 Update async task timeouts to hopefully fix unit test that occasionally fails. 2013-11-21 11:20:56 -05:00
Chris Church 870c36f5bf Remove --autoreload option from celeryd target, doesn't seem to work anyways. 2013-11-20 22:23:47 -05:00
Chris Church 061f293b6c AC-620 Better use of update_fields on job-related models, restrict post_save signal on jobs to only operate on inactive jobs. 2013-11-20 22:12:33 -05:00
Chris Church 4f46ad63db AC-688 Fixed error adding team credential, added test. 2013-11-20 16:49:01 -05:00
Chris Church 8bf198f7ed AC-687 Add ec2/rax region choices to inventory source options response, add validation for source_regions. 2013-11-20 15:20:01 -05:00
Chris Church 39ad6b0ad1 AC-686 Fix permissions for inventory source to allow org admins and users with write permissions to update. 2013-11-20 13:54:55 -05:00
Chris Church 503fc8ceb4 AC-696 Removed restriction on reassigning a credential to another user/team. 2013-11-20 10:07:39 -05:00
Chris Church b73e792b23 Example code for capturing current user from rest framework. 2013-11-20 00:25:09 -05:00
Chris Church e4851c6e18 AC-654 Add API support for token auth using X-Auth-Token header in addition to AUthorization header, fixes issue where API requests from the UI are picking up the basic auth from an API session. 2013-11-19 23:37:19 -05:00
Chris Church 52c0a93293 Fix error views to use base REST framework template instead of admin, since admin is disabled. 2013-11-19 23:37:19 -05:00
Chris Church f7081074d0 AC-629 Fix password field used to respond to ansible-playbooks prompts. 2013-11-19 16:21:48 -05:00
Chris Church e2e8a7e346 Fix broken tests after removing session authentication. 2013-11-19 15:25:47 -05:00
Chris Church a25a162229 AC-170 Disable REST session auth and Django admin by default. 2013-11-19 14:45:42 -05:00
Chris Church d681d0972a Fix RBAC for project updates. 2013-11-19 13:26:34 -05:00
Chris Church 216ab5cf41 AC-672 Fixed responding to passphrase prompts for project updates, re-added tests removed in earlier update. 2013-11-19 13:18:38 -05:00
Chris Church 11d2f76546 AC-537 Add remaining API/field validation for credentials and other objects using credentials.
AC-630 Added validation of cloud_credential kind on job template and job, set environment variables based on cloud credential.
AC-610 Require a credential for a cloud inventory source.
AC-457 Do not set password when using hg over ssh.
2013-11-19 02:36:36 -05:00
Chris Church e092639eb8 Removed leftover print from debugging. 2013-11-18 22:56:53 -05:00
Chris Church b8edfab481 Fixed unit test error caused by extra definition of ActivityStream model. Rearranged imports of signal handlers. 2013-11-18 22:54:52 -05:00
Chris Church 3d11f604a9 AC-647 Move django.db.models.Model import to (hopefully) prevent traceback. 2013-11-18 17:16:12 -05:00
Chris Church 5e5288e2d4 Fix active field in the admin. 2013-11-18 11:06:19 -05:00
Chris Church ccd90ffb78 AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data. 2013-11-16 21:25:41 -05:00
Chris Church 621cbb9f66 AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials. 2013-11-16 17:59:51 -05:00
Chris Church f254f8bc92 AC-613 Change rackspace to rax for inventory source field value. 2013-11-16 16:48:27 -05:00
Chris Church 902c7c2d72 AC-613 Change rackspace to rax for inventory source field value. 2013-11-16 16:47:32 -05:00
Chris Church 29a7e2c75d AC-624 Fix options docs for project update view. 2013-11-16 16:20:54 -05:00
Chris Church 40b0608586 AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent. 2013-11-16 16:15:35 -05:00
Chris Church 17899eed3a AC-630 Expose cloud_credentials field for job template and job. 2013-11-15 01:54:42 -05:00
Chris Church 2c4062e58b AC-641 Added pattern to respond to key unlock prompt for project update. 2013-11-15 01:22:47 -05:00
Chris Church 7cd2707713 Updated all vendored third-party packages. 2013-11-14 22:55:03 -05:00
Chris Church cbd6132d4b AC-636 Fix existing projects with scm_type=null to always use empty string. Update validation and tests to ensure None gets automatically coerced to an empty string on saving a project. 2013-11-14 17:14:10 -05:00
Chris Church 2c4d583f3e AC-589 Update host enabled flag from inventory import. 2013-11-07 19:02:05 -05:00
Chris Church b1e7252e66 Refactored models into separate files. 2013-11-07 12:40:11 -05:00
Chris Church 2b01cc7059 AC-612 Return appropriate status code for server errors. Catch IntegrityError via the API and return a 400 response with error message instead of server error. 2013-11-06 23:44:48 -05:00
Chris Church 475c0d87c2 AC-615 Handle Rackspace inventory import when source_regions is empty string. 2013-11-06 22:47:52 -05:00
Chris Church 56a4bc8d3a AC-543 Removed comment print statements. 2013-11-06 22:47:13 -05:00
Chris Church fb13da86cf AC-543 Add credential model validation for unique constraint with nullable fields. 2013-11-06 22:25:36 -05:00
Chris Church 826745d2b5 AC-606 Fix manifest to include API templates that were moved. 2013-11-05 11:56:08 -05:00
Chris Church 98883e771f Moved API code into separate Django app. 2013-11-04 15:44:49 -05:00
Chris Church b87c5e0a9b Fix broken credentials test. 2013-11-04 11:10:09 -05:00
Chris Church a4310f5ee2 Fix broken migration. 2013-11-04 10:37:27 -05:00
Chris Church 413a799829 AC-537 Fix typo. 2013-11-04 10:16:56 -05:00
Chris Church 19155baf5f AC-537 Add cloud flag to credential. 2013-11-04 10:16:56 -05:00
Chris Church e6e34c3afc AC-551 Removed extra empty/blank option from choices. 2013-11-04 10:16:55 -05:00
Chris Church 271a2c0f06 AC-537 Don't allow saving a credential with both user and team assigned. 2013-11-04 10:16:55 -05:00
Chris Church 15f337d183 AC-596 Fix for inventory import traceback. 2013-11-04 10:16:55 -05:00
Chris Church 9e9d696c79 AC-537 Fix default assignment of SCM credentials when migrating. 2013-11-04 10:16:55 -05:00
Chris Church 0727a2ffa3 Update rax inventory script from Ansible. 2013-11-04 10:16:55 -05:00
Chris Church 2b6f551eb8 Add debug toolbar middleware before transaction middleware. 2013-11-04 10:16:55 -05:00
Chris Church 18ecdb65da AC-550 Expose license errors flag, update how license error shows in inventory update stdout. 2013-11-04 10:16:55 -05:00
Chris Church 895c908f5a AC-537 Allow creating credentials through main credentials list. 2013-11-04 10:16:55 -05:00
Chris Church 40b56c5175 AC-537 Fixes to get unit tests to pass. 2013-11-04 10:16:55 -05:00
Chris Church 9b204e737e AC-537 Work on getting unit tests to pass. 2013-11-04 10:16:55 -05:00
Chris Church d668991899 AC-537 Some UI field/name changes for cloud credentials. 2013-11-04 10:16:54 -05:00
Chris Church f946026ca7 AC-537 Fix syntax error. 2013-11-04 10:16:54 -05:00
Chris Church 6815905882 AC-537 Even more updates following database changes. 2013-11-04 10:16:54 -05:00
Chris Church 0c98b7ed69 AC-537 Minor migration change, fix broken models/serializers. 2013-11-04 10:16:54 -05:00
Chris Church ddd5eb3b4e AC-537 Fix admin/API breakage as a result of database changes. 2013-11-04 10:16:54 -05:00
Chris Church e9b037af34 AC-537 Finish credential data migration. 2013-11-04 10:16:54 -05:00
Chris Church 1ef8261925 AC-537 Work in progress on cloud credentials. 2013-11-04 10:16:54 -05:00
Chris Church 70d8ab9af6 Fix potential children to show only groups from the same inventory. 2013-10-28 12:44:29 -04:00
Chris Church 432e379878 Disable automatic deletion of a group when it has no more parents to support new UI inventory tree changes. 2013-10-27 15:56:38 -04:00
Chris Church 165f983f86 AC-575 Changed to show elapsed time instead of full timestamp. 2013-10-26 23:54:05 -04:00
Chris Church d410f57e08 Added API support for OR queries and searching text fields. 2013-10-26 22:44:25 -04:00
Chris Church 3760ce6641 Add copy of rest framework template to prevent browsable API from automatically attempting to create URLs from JSON data (which sometimes breaks for job output). 2013-10-25 20:26:42 -04:00
Chris Church 710d55d82d AC-575 Updated logging/output for inventory_import command. 2013-10-24 02:09:49 -04:00
Chris Church 27ad680f4d AC-567 Remove source_tags from API/UI. Modify EC2 inventory to not return instance ID groups. 2013-10-23 22:46:04 -04:00
Chris Church 04824c8477 AC-569 Fix signal handler for updating computed fields on inventory models. 2013-10-23 22:22:59 -04:00
Chris Church a32fc02323 Fix NameError in case where job extra vars are specified as key=value. 2013-10-22 14:31:05 -04:00
Chris Church 16d6ec252f AC-403 Add API support for host:port format, port is automatically split into host variables as ansible_ssh_port. 2013-10-22 00:41:49 -04:00
Chris Church c585227df8 AC-581 group and inventory fields on inventory source are now readonly. 2013-10-21 23:16:01 -04:00
Chris Church 44a2bd72bd AC-585 Added totals fields to inventory group tree. 2013-10-21 23:06:01 -04:00
Chris Church 537bcedc5a AC-548 AC-560 Added new fields to summary fields for inventory/group. 2013-10-17 10:43:37 -04:00
Chris Church 556e1572e7 Better handling of variables as dictionary from JSON/YAML string. 2013-10-17 09:57:36 -04:00
Chris Church 432ed60a1f Update EC2 inventory import to use any variables defined in source_vars. Fix AC-565 by setting default regions_exclude to us-gov-west1 (same as default ec2.ini). Fix AC-566 by stripping extra whitespace from comma-separated region names. 2013-10-16 23:05:51 -04:00