1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00
Commit Graph

9662 Commits

Author SHA1 Message Date
Aaron Tan
ff1fdb4f5b Error message text improvement. 2016-11-01 15:29:03 -04:00
Aaron Tan
a85075acea Mutex validator added. 2016-11-01 15:29:03 -04:00
Aaron Tan
53eb198abb Functional test added. 2016-11-01 15:27:30 -04:00
Aaron Tan
7472cf0dc9 Refactor for better performance. 2016-11-01 15:25:50 -04:00
Aaron Tan
02cccf35d3 Delete created resource when it fails the relationship verification. 2016-11-01 15:25:50 -04:00
Aaron Tan
ad04015c9f Multi-ancestor detector added. 2016-11-01 15:25:50 -04:00
Aaron Tan
2792555510 Cycle detector added. 2016-11-01 15:25:50 -04:00
Aaron Tan
88025d0733 Basic verification architecture added. 2016-11-01 15:25:50 -04:00
Chris Meyers
6cc2dec7c7 Merge pull request #3786 from chrismeyersfsu/improvement-inventory_update
New Task Manager
2016-11-01 14:19:31 -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
Chris Meyers
87dd91e849 rename Scheduler to TaskManager 2016-11-01 13:50:42 -05:00
Chris Meyers
6efa468f29 init task manager architecture docs 2016-11-01 13:50:42 -05:00
Chris Meyers
c4a3b604f8 add back in alan's workflow fail detection 2016-11-01 13:50:42 -05:00
Chris Meyers
ed37e68c53 run dependencies when capacity is available 2016-11-01 13:50:42 -05:00
Chris Meyers
0f98e1edec remove todo's 2016-11-01 13:50:42 -05:00
Chris Meyers
03a484a6a6 remove old task manager code 2016-11-01 13:50:42 -05:00
Chris Meyers
454b3edb7c rectify celery<->db inconsistent running job 2016-11-01 13:50:42 -05:00
Chris Meyers
4ef4b4709b workflow execution added 2016-11-01 13:50:42 -05:00
Chris Meyers
fd8c641fa5 flake8 fixes 2016-11-01 13:50:42 -05:00
Chris Meyers
9802b1f379 AdHocCommand support added to task manager 2016-11-01 13:50:42 -05:00
Chris Meyers
46faeffbb3 added task manager system job support 2016-11-01 13:50:42 -05:00
Chris Meyers
5fa5d4b34b support distributed project updates 2016-11-01 13:50:42 -05:00
Chris Meyers
306562cd67 inventory updates running correctly 2016-11-01 13:50:42 -05:00
Chris Meyers
555f0bb90f project and jobs running correctly 2016-11-01 13:50:42 -05:00
Matthew Jones
96355854a8 Bump django version for CVE
https://www.djangoproject.com/weblog/2016/nov/01/security-releases/
2016-11-01 14:40:32 -04:00
Matthew Jones
a1de353543 Shifting migrations after 3.0.3 merge 2016-11-01 14:40:32 -04:00
Aaron Tan
f52cb02c2f Merge pull request #3814 from jangsutsr/3528_implement_workflow_cancel
Implement workflow node job cancel/failure
2016-11-01 13:23:07 -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
jlmitch5
c456080636 add Authorization service to socket service DI 2016-11-01 10:42:45 -04:00
Wayne Witzel III
b7ef93d2b5 Merge pull request #3772 from wwitzel3/channels-fixups
channels fixups
2016-11-01 09:49:30 -04:00
Leigh Johnson
b281d475f7 Resolves lookup issues blocking job template creation flow
@NoIssue
2016-10-31 18:19:03 -04:00
Alan Rominger
43fbff7e8c Merge pull request #3813 from AlanCoding/stdout_fix
Fix bug blocking jobs from running
2016-10-31 16:09:36 -04:00
Leigh Johnson
d2ba01251f @NoIssue
Fixes incorrect i18n conflict resolutions.
2016-10-31 15:59:48 -04:00
AlanCoding
23af9d6b72 fix bug blocking jobs from running 2016-10-31 14:54:45 -04:00
Aaron Tan
0a634d7baf Enforce wfj to ignore errored jobs. 2016-10-31 14:44:15 -04:00
Alan Rominger
f74a3c75de Merge pull request #3794 from AlanCoding/workflow_status_8
Reimplement select workflow status items
2016-10-31 13:36:59 -04:00
Leigh Johnson
4df56edb9f Move browser-sync & file-polling deps to optionalDependencies field, update npm engine field, shrinkwrap new dependency tree. 2016-10-31 13:01:14 -04:00
Aaron Tan
aa119e0102 Enforce wfj to ignore canceled jobs. 2016-10-31 12:09:14 -04:00
Chris Church
2afb0695bf Merge pull request #3756 from cchurch/job-event-stdout
Capture stdout associated with job and ad hoc command events.
2016-10-29 10:25:22 -04:00
Chris Church
31faca2b4f Add option to use callback queue for job events. 2016-10-28 22:32:49 -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
440f0539b0 Flake8 fixes. 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
Jake McDermott
7b68dc6d33 Merge pull request #3808 from jakemcdermott/noissue_fix_tower_welcome_msg
interpret backslash escapes when displaying url in welcome message
2016-10-28 16:42:44 -04:00
Leigh Johnson
d253eabe5d Sockets - avoid sending invalid JSON when entering state with no socket
definition.
2016-10-28 15:39:48 -04:00
Leigh Johnson
a49095bdbc Boolean / Smart Search (#3631)
* Part 1: building new search components

Directives: smart-search, column-sort, paginate
Service: QuerySet
Model: DjangoSearchModel

* Part 2: Implementing new search components, de-implementing old search
components

Remove old code:
	* tagSearch directive
	* old pagination strategy
	* old column sorting strategy
	* lookup

Add new directives to list/form generator:
	* smart-search,
	* paginate
	* column-sort

Connect $state + dataset resolution
	* upgrade ui-router lib to v1.0.0-beta3
	* Custom $urlMatcherFactory.type - queryset
	* Render lists, forms, related, lookups in named views
	* Provide html templates in list/form/lookup/related state definitions
	* Provide dataset through resolve block in state definitions

Update utilities
	* isEmpty filter
	* use async validation strategy in awlookup directive

* Part 3: State implementations (might split into per-module commits)

* Support optional state definition flag: squashSearchUrl. *_search params are only URI-encoded if squashSearchUrl is falsey.

* * Fix list badge counts
* Clear search input after search term(s) applied
* Chain of multiple search terms in one submission

* Hook up activity stream

* Hook up portal mode

* Fix pagination range calculations

* Hook up organization sub-list views

* Hook up listDefinition.search defaults

* Fix ng-disabled conditions reflecting RBAC access on form fields

* Fix actively-editing indicator in generated lists

* form generator - fix undefined span, remove dead event listeners

* wrap hosts/groups lists in a panel, fix groups list error

* Smart search directive: clear all search tags

* Search tags - ‘Clear All’ text - 12px
Search key - remove top padding/margin
Search key - reverse bolding of relationship fields / label, add commas
Search tags - remove padding-bottom
Lookup modal - “X” close button styled incorrectly
Lookup modal - List title not rendered
Lookup modal - 20px margin between buttons

* Portal Mode
Fix default column-sort on jobs list
Hide column-oort on job status column
Apply custom search bar sizes

* stateDefinition.factory

Return ES6 Promise instead of $q promise.
$q cannot be safely provided during module.config() phase
Some generated state trees (inventory / inventoryManage) need to be
reduced to one promise. Side-step issues caused by ui-router de-registering ALL registered states that match placeholder state name/url pattern.

e.g. inventories.lazyLoad() would de-register inventoryManage states if
a page refresh occured @ /#/inventories/**

* Combine generated state trees: inventories + inventoryManage
Hook up inventory sync schedule list/form add /form edit views

* Hook up system job schedule list/add/edit states

* Fix breadcrumb of generated states in /setup view
Fix typo in scheduler search prefix

* Remove old search system deritus from list definitions

* Fix breadcrumb definitions in states registered in app.js config block

* Transclude list action buttons in generated form lists

* Lookup Modal passes acceptance criterea:
Modal cancel/exit - don’t update form field’s ng-model
Modal save - do update form field's ng-model
Transclude generated list contents into <lookup-modal> directive
Lookup modal test spec

* Fix typo in merge conflict resolution

* Disable failing unit tests pending revision

* Integrate smart-search architechture into add-permissions modal

* use a semicolon delimiter instead of comma to avoid collision with django __in comparator

* Hook up Dashboard > Hosts states, update Dashboard Inventory/Project counts with new search filters

* Misc bug splat

Add 20px spacing around root ui-view
Fix missing closing div in related views
Remove dupe line in smart-search controller

* Remove defunct LookupHelper code

* Rebuild inventories list status tooltips on updates to dataset

Code cleanup - remove defunct modules
Remove LookupHelper / LookupInit code
Remove pre-RBAC permissions module

* Add mising stateTree / basePath properties to form definitions

* Resolve i18n conflicts in list and form generator
Freeze dependencies

* Integrate sockets

* Final bug splat:
fix jobs > job details and jobs > scheduled routing
fix mis-resolved merge conflicts
swap console.info for $log.debug
2016-10-28 14:28:06 -04:00
Matthew Jones
defd271c90 Make sure we bootstrap the static dir prior to starting 2016-10-28 14:21:19 -04:00