Commit Graph

399 Commits

Author SHA1 Message Date
Matthew Jones
888ec25c3c Adding new privilege escalation methods from core 2016-12-15 16:22:21 -05:00
Wayne Witzel III
434b0f1f25 remove unneeded data migrations from squashed migrations 2016-12-13 14:42:24 -05:00
Wayne Witzel III
384dbb6da2 renamed squashed migrations to start at 0002 2016-12-13 14:41:23 -05:00
Wayne Witzel III
a8217ae3d3 adding squashed migrations to allow for migration removal after 3.1 release 2016-12-13 11:53:36 -05:00
Wayne Witzel III
c9dab5805d update imports and further consolidate 2016-12-12 19:22:09 -05:00
Wayne Witzel III
83b985ed2e tower settings removal depends on conf migration 2016-12-12 19:21:10 -05:00
Wayne Witzel III
783e86bd41 Consolidate 3.1.0 migrations 2016-12-12 19:21:08 -05:00
Matthew Jones
8b8c29b9dc Purge has_schedules
Also... migration for big field docs updates
2016-12-12 12:33:09 -05:00
Aaron Tan
a22d815c88 Add ability to disable global job timeout. 2016-12-01 12:08:53 -05:00
Chris Meyers
01ec443380 inventory is unique on <name, org>
* was unique on name because we were inheriting from a Model that had it
defined as such. Thus our expression of uniqueness in the Inventory
Model was meaningless.
2016-11-21 14:34:17 -05:00
Matthew Jones
9d044c1f41 Store the job's project refresh if it happened
* Create a field on the job to track this
* Add a summarizeable model to the summarizable fk fields so we can
  pull that in where needed
2016-11-21 14:11:20 -05:00
Wayne Witzel III
cd084f5c60 removed JobEventSerializer additions, consolidated migrations, swapped job_events and jobs channel updates 2016-11-17 17:03:41 -05:00
Wayne Witzel III
62d0b9fc98 Merge branch 'devel' into workflow-channels 2016-11-17 16:22:52 -05:00
Wayne Witzel III
9dda4d452f renamed Workflow channel migration 2016-11-16 11:02:35 -05:00
Wayne Witzel III
34439fed9d Merge branch 'devel' into workflow-channels 2016-11-16 11:01:10 -05:00
Wayne Witzel III
6d14af336c added Workflow migrations for channels integrations 2016-11-16 09:51:31 -05:00
Aaron Tan
8a55c90c2c Remove unnecessary migrations. 2016-11-15 17:19:09 -05:00
Aaron Tan
3801b4a4e9 Update workflow job foreign key related_name. 2016-11-15 15:17:45 -05:00
AlanCoding
339661a6a5 New method to monkeypatch JSONField 2016-11-14 16:35:56 -05:00
Chris Meyers
5d205f1e1b remove deprecated mongo fact code and deps
* We have the requirements that users with Tower < 3.0.x must upgrade to
3.0.x before > 3.0.x. Thus, we are save to delete all mongo migration
code and deps.
2016-11-09 16:25:27 -05:00
AlanCoding
76eb0bb866 bump workflow survey migration number 2016-11-08 13:39:10 -05:00
AlanCoding
64b5e2ba5b bump migration 2016-11-08 13:39:10 -05:00
AlanCoding
1bd8bd245b bump migrations, and enable survey license check 2016-11-08 13:39:09 -05:00
AlanCoding
020144d1ee add surveys on workflow models 2016-11-08 13:39:08 -05:00
AlanCoding
2d88d9a573 rename migration file to use the v prefix 2016-11-08 08:25:15 -05:00
Matthew Jones
343966f744 Implement gathering overall task capacity
For use when running/planning jobs
2016-11-07 13:45:01 -05:00
Chris Meyers
25b85c4a0b rename scheduler config singleton 2016-11-01 14:07:00 -05:00
Chris Meyers
e1a84f4c85 bump migrations 2016-11-01 13:55:37 -05:00
Chris Meyers
13c89ab78c HAify job schedules and more task_manager renaming 2016-11-01 13:50:42 -05:00
Matthew Jones
a1de353543 Shifting migrations after 3.0.3 merge 2016-11-01 14:40:32 -04:00
Matthew Jones
c6cf02a602 Merge branch 'release_3.0.3' into devel
* release_3.0.3: (55 commits)
  Revert "Revert "Add needed types for selinux change""
  Revert "Add needed types for selinux change"
  interpret backslash escapes when displaying url in welcome message
  Bump the SELinux policy version
  Add needed types for selinux change
  Update SELinux policy to allow httpd_t to execute files in lib_t and var_lib_t
  Bumping changelog for 3.0.3
  Update rax.py inventory
  Revert "filter internal User.admin_roles from the /roles API list view"
  fix spelling of disassociated
  Resolves 404 when assigning resources/users to organizations in card view. Sidesteps a bug in the Refresh() utility, where pagination calculations are not made against filtered results.
  Sync azure changes to Tower virtual environment
  Add regions here as well.
  Also bump boto for new regions, per ryansb.
  More regions!
  Revert "bump shade version"
  bump shade version
  Hack copying of job_template.related.survey_spec into ui job copy flow, resolves #3737
  Revert "bump shade version"
  bump shade version
  ...
2016-11-01 11:49:28 -04:00
Chris Church
c43334f8f4 Update job events based on how they are used in Ansible 2.x. 2016-10-28 21:58:24 -04:00
Chris Church
908eef13f6 Renamed job event migration. 2016-10-28 21:58:24 -04:00
Chris Church
c18b6c1352 Add support for capturing stdout associated with job events and ad hoc command events.
* New event types for stdout lines not associated with a callback event.
* New stdout, start_line, end_line and verbosity fields for job/ahc events.
* Callback plugins to wrap Ansible default/minimal stdout callbacks and embed callback event data using ANSI escape sequences.
* Callback plugin library to wrap ansible.display.Display class methods.
* Output filter to extract event data from stdout and create job/ahc events.
* Update stdout formats to strip new ANSI escape sequences.
2016-10-28 21:58:24 -04:00
Alan Rominger
76fae6c052 Revert "Introduce workflow failure condition" 2016-10-27 12:21:31 -04:00
AlanCoding
836c13f857 bump migration dependency 2016-10-25 09:18:14 -04:00
AlanCoding
e0173a5ca2 bump migration file number 2016-10-25 09:16:09 -04:00
AlanCoding
56a9978d56 Introduce workflow failure condition 2016-10-25 09:14:52 -04:00
Matthew Jones
7c7d2e37ed Fix some issues syncing playbooks
* Build a list of playbooks and store it in the database at sync time
* Fix an issue running playbook sync on jobs for scan jobs
* Remove a TODO that was unneeded
2016-10-24 11:32:21 -04:00
Matthew Jones
6e22460f1e Add scm revision to the job model
This also cleans up flake8 issues
2016-10-20 15:18:05 -04:00
Matthew Jones
2a504ff040 Shift migration files around for conflict 2016-10-20 14:42:12 -04:00
Matthew Jones
0f93b875ca Add migrations for execution node and project upds 2016-10-20 13:30:44 -04:00
Aaron Tan
c595492950 Solve rebase conflicts. 2016-10-17 17:08:05 -04:00
Aaron Tan
701c23171f Remove timeout fields from sys job & adhoc cmd. 2016-10-17 16:56:39 -04:00
Aaron Tan
70481414c6 Migration update. 2016-10-17 16:56:39 -04:00
Aaron Tan
2eda6b9528 Implement timeout on other unified jobs/JTs. 2016-10-17 16:56:39 -04:00
Aaron Tan
d52e237ea0 Implement timeout on job/job-template. 2016-10-17 16:56:39 -04:00
AlanCoding
5d4cf9d4fc Add job artifacts and workflow artifact passing
artifacts redact from job when no_log is set
parent no_log artifacts treated as survey passwords
2016-10-12 17:45:50 -04:00
Wayne Witzel III
39f337d933 added model for holding channel group information, updating asgi_amsqp req 2016-10-06 16:16:27 -04:00
AlanCoding
3d38637b2d update migration name 2016-10-03 11:16:08 -04:00