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

9809 Commits

Author SHA1 Message Date
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
Aaron Tan
ba1dedf2c3 i18n support added. 2016-10-31 15:09:01 -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
sundeep-co-in
4237b2e207 resolve conflict: index.html 2016-10-31 23:40:56 +05:30
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
Aaron Tan
62e0291f86 Integrate unnecessary queries for better performance. 2016-10-28 15:03:17 -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
Bill Nottingham
83cd055f10 Merge pull request #3569 from wenottingham/forever_blowing_bubbles
Use bubblewrap (https://github.com/projectatomic/bubblewrap) instead of proot.
2016-10-28 11:55:14 -04:00
AlanCoding
47de8c5963 keep queries for building WF DAG to a minimum 2016-10-28 11:20:25 -04:00
sundeep-co-in
d65e121b19 flake8 compliance 2016-10-28 14:07:08 +05:30
Aaron Tan
4e89cc8eb4 Merge pull request #3652 from jangsutsr/3484_add_license_validation_to_job_add
Add validate_license to job's can_add
2016-10-27 16:37:55 -04:00
Aaron Tan
31d06ecdc4 flake8 fix. 2016-10-27 16:09:55 -04:00
Alan Rominger
fb33878d64 Merge pull request #3770 from AlanCoding/playbook_files
Update JT playbook validation for HA
2016-10-27 16:05:09 -04:00
Alan Rominger
f406b00b79 Merge pull request #3795 from AlanCoding/timeout_ctit
Add job timeouts to CTiT
2016-10-27 16:00:42 -04:00
Aaron Tan
6ecd45681a Use ACTIVE_STATES and change error message text. 2016-10-27 16:00:22 -04:00
Alan Rominger
d4f0fd2c50 Merge pull request #3789 from AlanCoding/rm_compat
Delete awx.lib
2016-10-27 15:28:52 -04:00
Aaron Tan
6717d4f3fa Prevent job can_change from erroneously firing license validation. 2016-10-27 15:24:03 -04:00
Aaron Tan
d21de4c99f Add validate_license to job's can_add 2016-10-27 15:14:54 -04:00
Aaron Tan
1da8ed0dd3 Merge pull request #3787 from jangsutsr/3552_ensure_wfjt_being_set_during_node_creation
Ensure workflow_job_template being set during node creation
2016-10-27 14:55:02 -04:00
Wayne Witzel III
6dd0f55ce2 Merge branch 'devel' into channels-fixups 2016-10-27 14:23:01 -04:00
Wayne Witzel III
c5a9439198 Merge pull request #3776 from wwitzel3/release_3.0.3
Revert "filter internal User.admin_roles from the /roles API list view"
2016-10-27 14:16:13 -04:00
AlanCoding
3ae5a4b9a8 add job timeouts to CTiT 2016-10-27 13:22:01 -04:00
AlanCoding
6e228248c1 remove fail_on_job_failure from the workflow status PR 2016-10-27 12:58:27 -04:00
sundeep-co-in
2ddcffc184 zanata config loc 2016-10-27 22:26:39 +05:30