Commit Graph
256 Commits
Author SHA1 Message Date
Matthew Jones bdd4290fe7 Create some useful indexes based on UI consideration and overall tower
usage and performance needs
2014-09-08 15:17:03 -04:00
Matthew Jones 3f54778111 Add index on counter 2014-08-19 16:03:48 -04:00
Matthew Jones 046561ecaa add counter to jobevent object sourced from callback ansible plugin 2014-08-19 15:50:41 -04:00
Luke Sneeringer dd35df7255 Adding project to credentials. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 7789ccd3eb Ability to add VMWare host. 2014-07-16 16:43:17 -04:00
Chris Church 4f33a01b02 Removed print statement that was just printing 'JHS: Host: Host object' for every object when running migration. 2014-07-14 18:33:21 -04:00
Matthew Jones f56a8c16b0 Give a distinct hostname to satisfy the new unique constraint for job
host summary, show that it is derived from a removed host
2014-07-14 16:08:10 -04:00
Matthew Jones 6ee61d6c72 Make it to where we can track JobHostSummary objects for hosts that don't necessarily exist in inventory 2014-07-14 15:34:46 -04:00
Matthew Jones f93e60979f Add a host_name field to JobHostSummary and migrate to it, so we have at
least that information in job data if the host has been removed
2014-07-11 16:03:14 -04:00
Matthew Jones c7ed154149 Implement AC-1279, rename vars_prompt_on_launch to ask_variables_on_launch
Conflicts:
	awx/main/models/jobs.py
2014-05-15 10:26:11 -04:00
Matthew Jones 69aa991499 Check for null attributes related to an inventory update when performing
the name migration
2014-05-14 23:03:46 -04:00
Matthew Jones 89b034b5b8 Data migration for AC-1164, make names make more sense 2014-05-14 13:43:22 -04:00
Chris Church fcdcf8e988 AC-1262 Add vars_prompt_on_launch field to job template. 2014-05-11 23:03:46 -04:00
Matthew Jones 808b82bd33 Break out the data migration from the schema migration for the job event hostname 2014-05-05 10:38:26 -04:00
Matthew Jones e4afaeb2a6 Add migration for including host name with the top level job event
detail if it's available
2014-05-02 13:19:03 -04:00
Chris Church a49c627e53 AC-504 Migration to add roles to existing job events. 2014-04-16 23:54:03 -04:00
Chris Church 9b33057042 AC-1122 Fixed inventory source name (and therefore inventory update name) to pull from group/inventory name. 2014-04-03 14:19:48 -04:00
Chris Church 47218c17e4 AC-1040 Added progress output for unified jobs data migration. 2014-03-31 16:26:29 -04:00
Chris Church 67b8f57518 AC-1040 Add some output while running large unified jobs migration. 2014-03-31 16:26:29 -04:00
Chris Church e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church 5d6dbc6e6b AC-1040 Make it work on Python 2.6. 🐍 2014-03-25 13:12:46 -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
Matthew Jones 5ae324960e Add migration for including encrypted start args in the task tables 2014-03-12 14:29:27 -04: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 dfcedc42fe Fix NameError/AttributeError in migration. 2013-12-10 18:01:07 -05:00
Matthew Jones 61059fa1a4 Work to complete AC-673, mass refactoring of the activity stream. Some work towards AC-664/662 but will complete on those issues. This also fixes issue AC-743 (Adding help text for OPTIONS requests) and AC-675 (updates where active changes to False will now be treated as deletes) 2013-12-10 16:08:35 -05:00
Matthew Jones 5c077e4370 Adding the migration and other smaller fixes so the serializer can read the right stdout property 2013-11-21 14:59:14 -05:00
Matthew Jones 6764b5857a Move auditlog migration to 0028 for main branch merge 2013-11-18 09:21:40 -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 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 a4310f5ee2 Fix broken migration. 2013-11-04 10:37:27 -05:00
Chris Church 19155baf5f AC-537 Add cloud flag to credential. 2013-11-04 10:16:56 -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 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 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 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 1ffb40458c AC-505 Work in progress on cloud inventory sync. 2013-10-07 23:21: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 b7d907ed49 AC-505 Initial inventory import models and API support. 2013-09-26 15:54:34 -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 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 dfc687dfae Implements AC-363. Authentication tokens now expire after a configurable timeout. 2013-09-06 00:36:45 -04:00
Chris Church 0c28f202de Implements AC-362. Encrypt passwords for credential and project using AES, don't expose passwords via the API. 2013-09-05 11:29:15 -04:00