Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Chris Church 83be067576 Add argparse as vendored package for Python 2.6 support. 2013-10-16 11:42:44 -04:00
Chris Church 6d303faea9 AC-556 Renamed inventory script filename used for import_import command test. 2013-10-15 17:57:29 -04:00
Chris Church 52d8fb5b5c AC-556 Renaming the inventory script to hopefully fix the import error. 2013-10-15 17:35:43 -04:00
Chris Church b8ad8184ef AC-553 Added test, fixed extra_vars for passing to jobs. 2013-10-12 01:53:52 -04:00
Chris Church cb052dc775 AC-552 Fix API docs for auth token. 2013-10-12 01:15:11 -04:00
Chris Church c20300f6ce Fix for failing job template callback test. 2013-10-11 23:25:23 -04:00
Chris Church 6933255699 AC-546 Fixed transaction management for running tasks. 2013-10-11 00:04:31 -04:00
Chris Church 2f135f99d4 AC-505 Implement update_on_launch for inventory sources and dependency checking to prevent related inventory updates and jobs from happening simultaneously. 2013-10-09 18:12:02 -04:00
Chris Church 85a9f2f68a AC-540 Add /api/v1/inventory_sources/ list. OPTIONS request now returns all fields under actions['GET'] and only writable fields under actions['PUT'] or actions['POST']. 2013-10-09 15:44:25 -04:00
Chris Church 9325dbc846 AC-505 Don't return regions/tags as list of strings for now. 2013-10-08 01:05:49 -04:00
Chris Church a9b84d4a5c AC-505 Update inventory sources list and related permissions checks. 2013-10-08 00:37:19 -04:00
Chris Church ea9e73726b AC-503 Inventory source field changes corresponding to API changes. 2013-10-07 23:50:53 -04:00
Chris Church 956b392f45 AC-505 Comment related URLS not yet implemented. 2013-10-07 23:42:21 -04:00
Chris Church 1ffb40458c AC-505 Work in progress on cloud inventory sync. 2013-10-07 23:21:44 -04:00
Chris Church bb484a7520 Add /api/v1/inventories/N/inventory_sources/ API resouce. 2013-10-02 16:15:50 -04:00
Chris Church 246503440a Fix for broken task-related tests. 2013-09-30 22:29:10 -04:00
Chris Church 17c350d7e1 AC-505. Initial working task/tests for cloud inventory import. 2013-09-30 22:08:05 -04:00
Chris Church f7256ca343 Fix browseable API errors with updated version of REST framework. 2013-09-29 23:04:15 -04:00
Chris Church 7399f7c943 One more attempt at making Jenkins and awx-bot happy. 2013-09-29 22:06:26 -04:00
Chris Church ee9d24002a Update astroid package to get Jenkins to pass unit tests. 2013-09-29 21:58:31 -04:00
Chris Church 5768f544ec Fixes to get tests to pass after updating vendored packages. 2013-09-29 21:37:09 -04:00
Chris Church e0a94cbf32 AC-505 Add vendored copies of ec2 and rax inventory scripts from Ansible (for now). Add vendored versions of boto and pyrax and all their dependencies, updated all vendored packages to latest versions. 2013-09-29 20:36:46 -04:00
Chris Church fe42862294 AC-286. Added potential_children resource for groups. 2013-09-28 16:45:44 -04:00
Chris Church b0e6cf898f AC-414 Added hosts_with_active_failures field for inventory and group. AC-528 Added job_template_id and job_template_name to job info in summary fields. 2013-09-28 16:14:38 -04:00
Chris Church 8d3dd76d9f AC-506. API docs for project/inventory updates. 2013-09-28 16:12:27 -04:00
Chris Church 69ac7404c3 Fix for failing project update test over SSH. 2013-09-26 16:04:14 -04:00
Chris Church b7d907ed49 AC-505 Initial inventory import models and API support. 2013-09-26 15:54:34 -04:00
Chris Church 879936ab37 AC-482. Fix missing import for PyYAML. 2013-09-25 14:47:52 -04:00
Chris Church 7a2f5811e3 Update requirements to support CentOS/Python2.6. 2013-09-24 23:13:27 -04:00
Chris Church 981819fdc3 Remove readline from dev requirements for Jenkins unit tests to pass (hopefully). 2013-09-24 22:51:56 -04:00
Chris Church e85cf35ed9 Fixes AC-479. Make job_args fields text instead of varchar. 2013-09-24 22:13:36 -04:00
Chris Church 9fc46e6292 AC-474. Updates to contributing doc, along with related Makefile, testing and settings changes. 2013-09-24 21:41:00 -04:00
Chris Church 4b5620806c Fixes AC-472. Workaround for django-taggit breaking dumpdata command. 2013-09-13 16:22:20 -04:00
Chris Church ac7c300948 Fixes AC-470. Disable host name validation for now. 2013-09-13 12:29:34 -04:00
Chris Church c557ba6681 Updated REST API footer. Updated style for admin and error pages. 2013-09-13 09:37:10 -04:00
Chris Church d44722e4ae AC-464. Fix to pass correct username when using svn+ssh. 2013-09-12 16:21:39 -04:00
Chris Church 00e3787f5a AC-454. Update SCM URL validation and error messages, check for special github/bitbucket URLs. 2013-09-12 16:02:56 -04:00
Chris Church 95934d9b67 Changed project updates to use -v instead of -vvv. 2013-09-12 13:41:04 -04:00
Chris Church ef5835d9d0 AC-459. Remove rsync:// and file:// from allowed URL schemes. 2013-09-12 11:23:20 -04:00
Chris Church e3f64c5860 Tox updates. 2013-09-12 10:10:06 -04:00
Chris Church 1c97cb202e Skip SCM URL validation for projects without SCM. 2013-09-12 03:40:54 -04:00
Chris Church c7240dfd83 AC-432. Handle responding to SSH password prompt. 2013-09-12 03:26:38 -04:00
Chris Church 9ea649050a AC-432, AC-437. Updated SCM URL validation, add additional tests for SSH URLs. 2013-09-12 03:07:27 -04:00
Chris Church e42d408750 AC-432, AC-437. Update SCM URL handling and testing, add tests for local file repository. 2013-09-12 03:07:26 -04:00
Chris Church 5ca766c91e Fixed address in browsable API footer. 2013-09-12 03:07:26 -04:00
Chris Church 733ead9ab2 AC-437. Attempt to automatically cancel project updates and jobs that are obviously stuck. 2013-09-12 03:07:26 -04:00
Chris Church 505b2b9998 AC-435. Fix JS error for making LDAP-managed fields readonly. 2013-09-10 13:58:52 -04:00
Chris Church 75aeb0cb84 AC-436. Fixed bug introduced in changes to save project. 2013-09-10 13:20:04 -04:00
Chris Church 661fc5b0f2 AC-156. Update to default LDAP settings. 2013-09-10 04:40:33 -04:00
Chris Church c0ea2527ec AC-156. Expose user_ldap_fields via API config to indicate which fields should not be editableon LDAP users. Add ldap_dn attribute to user record, prevent changing any LDAP-managed fields on LDAP users. 2013-09-10 03:28:59 -04:00
Chris Church eff8a6426a AC-430. Add project status and last_updated as database fields for filtering/sorting. 2013-09-10 02:06:17 -04:00
Chris Church 27948a8dd9 AC-431. Fixed misspelled project status. 2013-09-10 01:13:14 -04:00
Chris Church 3c23e479bf AC-412. Flag playbook_on_stats event as failed when there are dark hosts. 2013-09-10 01:09:50 -04:00
Chris Church cdfc56667a AC-132. Mask passwords in project update args and stdout. 2013-09-09 20:28:11 -04:00
Chris Church 63c9a5b4ac AC-132. Mask passwords in project update args and stdout. 2013-09-09 20:27:28 -04:00
Chris Church f7f12be0ad AC-132. Auto-update a new project using SCM when saved. 2013-09-09 18:54:33 -04:00
Chris Church cad3612a8f AC-156. Implement LDAP organization mapping, update settings files and comments on LDAP configuration. 2013-09-09 17:20:48 -04:00
Chris Church f9a1614730 AC-132. Updates/fixes to get tests to pass. 2013-09-08 23:20:51 -04:00
Chris Church 59423df95d AC-132. Implement scm_update_on_launch and prevent simultaneous updates of associated projects and jobs. 2013-09-08 22:15:07 -04:00
Chris Church 3a56ff7cec Fix previous change that broke getting the ssh_key_data from the job credential. 2013-09-07 20:00:59 -04:00
Chris Church 663dfa24a2 AC-132 More updates after testing various SCM username/password/key options. 2013-09-07 19:38:27 -04:00
Chris Church c1e8b3c842 AC-156. Only use configured LDAP authentication when needed for LDAP tests. 2013-09-07 16:42:12 -04:00
Chris Church 916dd713e3 AC-156 Added code and tests to support LDAP authentication (no organization or team mapping yet). 2013-09-07 16:14:46 -04:00