Commit Graph

223 Commits

Author SHA1 Message Date
Matthew Jones
a1edfe0dc2 Move ActivityStream to it's own model file 2013-11-12 17:01:15 -05:00
Matthew Jones
710b01c333 Fix an issue with the Activity Stream where we weren't performing the right type conversion to track object types 2013-11-12 17:01:15 -05:00
Matthew Jones
b7b22fa7f8 Catch some errors that pop up during ActivityStream testing 2013-11-12 17:01:15 -05:00
Matthew Jones
2ab4cab495 Fix some inconsistencies after the merge 2013-11-12 17:01:15 -05:00
Matthew Jones
2a16ab38a5 Initial backend implementation for AC-25, activity stream/audit love 2013-11-12 17:01:15 -05:00
Matthew Jones
3a02c17d2a Initial backend implementation for AC-25, activity stream/audit love 2013-11-12 17:01:15 -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
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
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
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
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
Chris Church
a11f25a68d AC-548 Added counts for total_hosts, total_groups, groups_with_active_failures to inventory and group. AC-560 Added total_inventory_sources and inventory_sources_with_failures to inventory. 2013-10-16 22:34:04 -04:00
Chris Church
a0c6c0e984 AC-561 Set host has_inventory_sources flag on import. 2013-10-16 12:57:36 -04:00
Chris Church
2f3409db08 AC-558 When importing from Rackspace, add environment variable to make vendored package happy. 2013-10-16 12:42:46 -04:00
Chris Church
508532f57b Fix how test database settings are passed to management commands for unit tests. 2013-10-16 11:43:18 -04:00