Commit Graph
100 Commits
Author SHA1 Message Date
Chris Church c677503d8d AC-1040 Fix filtering to work again with __regex suffix. 2014-03-25 14:44:45 -04:00
Chris Church 42e9451742 AC-1040 Fix inventory tree view. 2014-03-25 14:20:37 -04:00
Chris Church 6504a8ae40 AC-1040 Fix broken dashboard view. Add backwards-compatible support for old project and inventory source filters. 2014-03-25 13:43:18 -04:00
Chris Church 5d6dbc6e6b AC-1040 Make it work on Python 2.6. 🐍 2014-03-25 13:12:46 -04:00
Chris Church 3c04cc73b0 AC-1040 Add back a few attributes for backwards-compatibility. 2014-03-25 11:51:21 -04:00
Chris Church 24b587c877 Merge branch 'master' of github.com:ansible/ansible-commander 2014-03-25 11:32:47 -04:00
Chris Church bb47c300f6 Merge branch 'master' of github.com:ansible/ansible-commander 2014-03-25 11:07:37 -04:00
Chris Church 296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Church 871b89ab28 Merge branch 'unified-jobs' of github.com:ansible/ansible-commander into unified-jobs
Conflicts:
	awx/main/models/__init__.py
	awx/main/models/base.py
	awx/main/models/inventory.py
	awx/main/models/jobs.py
	awx/main/models/projects.py
	awx/main/models/unified_jobs.py
	awx/main/tests/base.py
2014-03-24 18:37:44 -04:00
Chris Church 02af35dffd AC-1040 Updates to get unit tests to pass. 2014-03-24 18:13:53 -04:00
Chris Church 1a7dc83479 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 17:11:09 -04:00
Chris Church e6f3032b94 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-24 17:11:09 -04:00
Chris Church fba3b1e09d AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-24 17:04:27 -04:00
Chris Church 691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Chris Church 0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Chris Church b631f24e5b AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response. 2014-03-24 16:49:30 -04:00
Chris Church e957de2016 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-24 16:49:30 -04:00
Chris Church 99c62f1261 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 16:09:49 -04:00
Chris Church 2cb3f31b01 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-21 00:05:36 -04:00
Chris Church 52b8792058 AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-20 21:46:16 -04:00
Chris Church 54c533d410 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-20 19:16:58 -04:00
Chris Church b970bf54fa AC-1040 Update jobs models and migrations (work in progress). 2014-03-19 16:37:01 -04:00
Chris Church 0587583f19 Allow inventory import to work with demo license. 2014-03-14 12:32:51 -04:00
Chris Church 79e1588626 AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response. 2014-03-13 00:51:59 -04:00
Chris Church c899a675a9 AC-1040 Add django-polymorphic as prerequisite for moving toward unified jobs. 2014-03-13 00:51:59 -04:00
Chris Church 16d9af6945 Updated browseable API footer text/links. 2014-02-27 09:25:46 -05:00
Chris Church 52282cba50 Update ansible documentation links in browseable API help. 2014-02-27 09:08:44 -05:00
Chris Church 316f34f3f7 AC-473 Quote all parameters passed to source control tasks. 2014-02-26 23:12:38 -05:00
Chris Church 8e61d17cb4 Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback. 2014-02-26 14:11:59 -05:00
Chris Church 0462bb3f3f AC-1061 Removed my test exception raised in the inventory script. 2014-02-25 18:49:30 -05:00
Chris Church a18b9e2270 AC-1061 Fix inventory script to return dict with failed flag when there is an error instead of an empty dict so that ansible-playbook will propagate the error message. 2014-02-25 17:11:04 -05:00
Chris Church 8c9a98befc AC-406 Added support for importing inventory host patterns/ranges from INI files. 2014-02-22 16:23:11 -05:00
Chris Church 3a5e2f4f1e AC-996 Don't try to use admin template since admin is disabled. 2014-02-11 15:19:51 -05:00
Chris Church cb8b58b0ae AC-1015 Added retry count for saving to database, minor retry refactor for publishing job events. 2014-02-09 13:51:40 -05:00
Chris Church a3ee83258c Re-enable debug prints from saving job events. 2014-02-09 06:07:00 -05:00
Chris Church a4ae6567dc AC-1015 Update queue names so that job events are only received by the right save job events task. Add database retry to save job events task. 2014-02-09 05:58:33 -05:00
Chris Church 818f235f72 AC-507 Allow forcefully marking a job canceled if we can detect it isn't running via Celery, make sure a job canceled before it is started doesn't attempt to run at all, raise an exception for canceled jobs to interrupt the task chain. 2014-02-09 01:50:15 -05:00
Chris Church 2423c9a63c AC-1013 Updated API docs to indicate that an auth token is tied to remote address and user agent. 2014-02-08 02:22:39 -05:00
Chris Church b708edffd9 AC-1012 Force use of pyamqp even if librabbitmq is installed. 2014-02-07 20:03:52 -05:00
Chris Church f02a93c333 AC-1012 Open a new RabbitMQ connection for each forked process to prevent intermittent hang, update debug logging for job event callback. 2014-02-07 17:12:52 -05:00
Chris Church 8638f1e3d1 AC-1020 Fix django-jsonfield to avoid generating PostgreSQL error. 2014-02-07 17:09:12 -05:00
Chris Church 455ed2bc63 Don't return result_stdout for job list, only for job detail; significantly improves speed to refresh jobs list. 2014-02-07 16:00:26 -05:00
Chris Church d6a457397a AC-1027 Removed stupid trailing comma I overlooked. 2014-02-07 13:53:18 -05:00
Chris Church e9d308c927 AC-1015 Changed where save_job_events task is started so that job events don't appear to be missing when they're stuck in the queue. 2014-02-06 17:44:17 -05:00
Chris Church 9807477944 AC-905 Work in progress on better filtering of inactive/deleted objects. 2014-02-06 16:52:09 -05:00
Chris Church f579dbd72d Remove test license file accidentally checked in. 2014-02-06 15:26:57 -05:00
Chris Church ae4743724a AC-982 Added configuration options to disable activity stream logging entirely, or disable only when running inventory import. 2014-02-06 15:25:58 -05:00
Chris Church 11d8387120 AC-990 Make job event filtering by host work even when not capturing hosts M2M. Also fix unit tests to skip checking hosts M2M. 2014-02-06 15:07:42 -05:00
Chris Church 1b65a3256d AC-990 Disabled capturing hosts M2M associated with job events. 2014-02-06 11:25:51 -05:00
Chris Church 9f40862676 AC-990 Some query improvements for saving job events. 2014-02-05 19:19:26 -05:00
Chris Church a115988a4b AC-982 Fix typo (missing @) from earlier commit. 2014-02-04 23:56:29 -05:00
Chris Church e94e1978be Disable capturing SQL queries in memory when running celeryd in development. 2014-02-04 23:04:58 -05:00
Chris Church ce56f1c17d AC-982 Fixes for inventory import speed when deleting groups. 2014-02-04 22:55:53 -05:00
Chris Church 91cc144e87 AC-990 Updated callback plugin and related task to prevent missed/duplicate job events, catch exceptions and retry. Fixed task run_pexect method so that canceling a job will work. 2014-02-04 17:38:38 -05:00
Chris Church 32364ad055 AC-990 Add new task for saving all job events from a queue, updated callback plugin to send to queue, work on optimizing SQL that runs when saving a job event. 2014-02-03 17:05:03 -05:00
Chris Church b6f623229b Update make develop command, version check after package rename. 2014-01-29 14:23:56 -05:00
Chris Church fee658e950 AC-992 Fix inventory import tests. 2014-01-29 14:23:56 -05:00
Chris Church ee246aa8c4 AC-984 Prevent signal handlers from being run unnecessarily when deleting inventory, remove unnecessary extra queries, use update_fields when possible. 2014-01-29 14:23:56 -05:00
Chris Church 9790715a25 Update make develop command, version check after package rename. 2014-01-29 13:49:33 -05:00
Chris Church 627305570c AC-992 Fix inventory import tests. 2014-01-29 13:49:33 -05:00
Chris Church 27fb54b2a7 AC-984 Prevent signal handlers from being run unnecessarily when deleting inventory, remove unnecessary extra queries, use update_fields when possible. 2014-01-27 18:37:51 -05:00
Chris Church 188d7b41bb AC-939 Update browsable API button colors. 2014-01-27 15:48:38 -05:00
Chris Church d17f58743e AC-982 Work on eliminating unnecessary queries from inventory import and activity stream logging. 2014-01-27 15:27:27 -05:00
Chris Church ff40234a9b AC-986 Replaced use of str() with unicode() in model dict/diff functions. 2014-01-27 14:23:32 -05:00
Chris Church 5ea87d28fb AC-988 Fix inventory script license message URL. 2014-01-27 14:02:10 -05:00
Chris Church b6543be0cf AC-939 Update browsable REST API branding to Tower. 2014-01-23 05:22:55 -05:00
Chris Church 8aa9fe9d7e AC-932 Support accept_hostkey option to git module when using ansible >= 1.5. 2014-01-23 04:28:20 -05:00
Chris Church d3ced7896f AC-760 Update footer for browsable REST API. 2014-01-09 14:06:56 -05:00
Chris Church 746ad384fa AC-905 Added missing active=True filter for organization RBAC. 2014-01-09 13:39:24 -05:00
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