John Westcott IV
b9cdd6f2c8
Adding ability to run user level pre-commit hooks ( #11923 )
...
* Adding ability to run user level pre-commit hooks
* Adding pre-commit docs in CONTRIBUTING.md
2022-03-24 10:58:14 -04:00
Shane McDonald
7b2b979c1b
Merge pull request #11941 from shanemcd/update-devel-image-refs
...
Update some references to our development images
2022-03-23 15:57:18 -04:00
Shane McDonald
e87c9d8811
Fix command in build_awx_image.md
2022-03-23 15:40:49 -04:00
Alex Corey
7d04737a65
Merge pull request #11934 from mabashian/5707-proj-field-label
...
Fix Source Control Type label in project form
2022-03-23 11:32:30 -04:00
Shane McDonald
99056e3697
Update some references to our development images
2022-03-23 11:31:11 -04:00
Shane McDonald
c110101cb1
Merge pull request #11787 from liortamari/hashicorp-vault-kubernetes-auth
...
Add Hashicorp Vault Kubernetes authentication method
2022-03-23 11:02:38 -04:00
Shane McDonald
aa6129fda0
Merge pull request #11932 from shanemcd/gha-devel-images
...
Migrate all development image builds to GHA
2022-03-23 10:28:48 -04:00
Shane McDonald
1d181757e8
Migrate all development image builds to GHA
...
- This also moves the development image from quay.io to ghcr.io.
- These changes will need to be backported to all of our supported branches.
2022-03-23 10:03:55 -04:00
Sarah Akus
4fa8b6ded8
Merge pull request #11788 from AlexSCorey/10281-OutputHostFilters
...
Fixes search drop down items for job output search
2022-03-23 09:45:01 -04:00
Alex Corey
79afdfd1a6
Fixes search drop down items for job output search
2022-03-23 09:26:49 -04:00
Shane McDonald
3d6a49ce7c
Merge pull request #11937 from ansible/shanemcd-patch-1
...
Stop adding needs_triage label every time an issue is edited
2022-03-22 14:04:46 -04:00
Shane McDonald
f823049f55
Stop adding needs_triage label every time an issue is edited
2022-03-22 13:08:34 -04:00
Seth Foster
b608b73110
Merge pull request #11927 from fosterseth/fix_subsystem_metrics_sync_in_async
...
Fix subsystem metrics sync-only operation in async context
2022-03-22 11:55:05 -04:00
mabashian
12c36d279e
Fix Source Control Type label in project form
2022-03-22 09:35:37 -04:00
Shane McDonald
afbd9f04d7
Merge pull request #11748 from john-westcott-iv/github_workflows_on_all_releases
...
Chaning workflow to run on all release branches
2022-03-22 09:06:50 -04:00
liortamari
26fb5a0bd7
Merge branch 'ansible:devel' into hashicorp-vault-kubernetes-auth
2022-03-22 14:07:15 +02:00
Seth Foster
acebff7be1
Fix sync-only operation in async context
2022-03-21 14:37:10 -04:00
John Westcott IV
45bd143c07
Fixing import of projects issue due to local_path ( #11889 )
2022-03-21 14:04:47 -04:00
Jeff Bradberry
aa46a7fe06
Merge pull request #11924 from jbradberry/awxkit-support-inventory-labels
...
Support the new Inventory.labels in awxkit / awx-cli
2022-03-21 10:19:42 -04:00
Shane McDonald
07d0eedb0a
Merge pull request #11875 from shanemcd/url-prefixing-collection
...
Make our collection work with prefixed API endpoints
2022-03-21 08:09:08 -04:00
Kersom
9aae2a11f2
Add related job templates to a couple of screens ( #11890 )
...
Add related job templates to a couple of screens. Credential and
Inventory.
Also refactor the component already in place for Projects to be in sync
with the Job Templates screen.
See: https://github.com/ansible/awx/issues/5867
2022-03-18 20:52:50 +00:00
Jeff Bradberry
51021f380b
Support the new Inventory.labels in awxkit / awx-cli
2022-03-18 14:24:49 -04:00
Shane McDonald
7818a479ee
Merge pull request #11880 from kurokobo/operator_version
...
fix: add OPERATOR_VERSION as build-arg to pass the version to operator
2022-03-18 11:20:20 -04:00
Alan Rominger
799bac4066
Merge pull request #11860 from AlanCoding/hybrid_artifacts
...
Do not remove artifacts for local work
2022-03-18 10:37:06 -04:00
Tiago Góes
41b3ad1b83
Merge pull request #11917 from nixocio/ui_survey_issue
...
Fix credential encrypted
2022-03-18 10:44:39 -03:00
nixocio
c912dd4e76
Fix credential encrypted
...
Display credential as encrypted.
See: https://github.com/ansible/awx/issues/11915
2022-03-17 16:37:44 -04:00
Tiago Góes
3ec9bacb30
Merge pull request #11913 from keithjgrant/9041-page-titles
...
display current page name in document title
2022-03-17 17:32:00 -03:00
Keith J. Grant
13db49aab7
display current page name in document title
2022-03-17 11:26:20 -07:00
Jeff Bradberry
ac6a82eee4
Merge pull request #11654 from jbradberry/django-3.2-upgrade
...
Django 3.2 upgrade
2022-03-17 10:34:22 -04:00
Tiago Góes
546fc24a0a
Merge pull request #11839 from nixocio/ui_issue_11718_backup
...
Add several changes to Instance Groups
2022-03-15 18:11:01 -03:00
Alan Rominger
f99820a391
Merge pull request #11898 from AlanCoding/hop_node_lost_found
...
Only clear hop node errors if they were lost before, not lost now
2022-03-15 13:03:33 -04:00
Shane McDonald
873875af84
Merge pull request #11909 from JamieSlome/patch-1
...
Create SECURITY.md
2022-03-15 10:38:54 -04:00
Jamie Slome
fcb1c4823e
Create SECURITY.md
2022-03-15 13:59:42 +00:00
Kersom
a1203e6fec
Merge pull request #11902 from keithjgrant/error-detail-formatting
...
add line wrap formatting to ErrorDetail
2022-03-15 08:30:12 -04:00
Alan Rominger
2321f06c8a
Only clear hop node errors if they were lost before, not lost now
2022-03-14 16:04:55 -04:00
nixocio
ce8b9750c9
Add several changes to Instance Groups
...
Add several changes to API and UI related to Instance Groups.
* Update summary_fields for DEFAULT_CONTROL_PLANE_QUEUE_NAME, and
DEFAULT_EXECUTION_QUEUE_NAME. Rely on API validation for those fields.
* Fix Instance Group list RBAC
* Add validation for a couple of fields on the Instance Groups endpoint
1. is_container_group
2. policy_instance_percentage
3. policy_instance_list
See: https://github.com/ansible/awx/issues/11130
Also: https://github.com/ansible/awx/issues/11718
2022-03-14 14:55:59 -04:00
Jeff Bradberry
574e3ed6ef
Fix the signature of RADIUSBackend.get_django_user
...
to match what django-radius is now expecting.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
584514766d
Disable our wrapping of the Django settings during migrations
...
This will hopefully get us past the unfortunate check against the
HostMetric table, which doesn't exist when you are upgrading from 3.8
to 4.x.
Additionally, guard against AUTH_LDAP_GROUP_TYPE not being in settings
for conf migration 0006.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
eb8a1fec49
Make API queries involving json fields cast the fields to text
...
This restores compatibility with the way it previously worked -- we
never supported proper json operator queries through the API.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
38ccea0f1f
Fix up warnings
...
- the default auto-increment primary key field type is now
configurable, and Django's check command issues a warning if you are
just assuming the historical behavior of using AutoField.
- Django 3.2 brings in automatic AppConfig discovery, so all of our
explicit `default_app_config = ...` assignments in __init__.py
modules are no longer needed, and raise a RemovedInDjango41Warning.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
5d000c37d6
Deal with breaking tests for 3.2
...
- Instantiating an abstract model raises a TypeError
2022-03-14 13:19:57 -04:00
Jeff Bradberry
1803c5bdb4
Fix up usage of django-guid
...
It has replaced the class-based middleware, everything is
function-based now.
2022-03-14 13:19:57 -04:00
Jeff Bradberry
23e700a1ef
Upgrade to Django 3.2
...
- upgrades
- Django 3.2.12
- pytz 2021.3 (from 2019.3)
- oauthlib 3.2.0 (from 3.1.0)
- requests-oauthlib 1.3.1 (from 1.3.0)
- django-guid 3.2.1 (from 2.2.1)
- django-solo 2.0.0 (from 1.1.3)
- django-taggit 2.1.0 (from 1.2.0)
- netaddr 0.8.0 (from 0.7.19)
- pyrad 2.4 (from 2.3)
- django-radius devel (from 1.3.3)
- future devel (from 0.16.0)
- django-guid, django-solo, and django-taggit are upgraded to fix the
AppConfig deprecation warning. FIXME: django-guid devel has the
fix, but it hasn't been released yet.
- Released versions of django-radius have a hard-coded pin to
future==0.16.0, which has a Python warning due to an improperly
escaped character. This is fixed in future devel, so for now we are
pinning to references to the git repos.
- netaddr had a bunch of Python syntax and deprecation warnings
2022-03-14 13:19:53 -04:00
Keith J. Grant
7114b9fa11
add line wrap formatting to ErrorDetail
2022-03-14 09:29:02 -07:00
Tiago Góes
2e4d866f69
Merge pull request #11897 from kialam/add-csp-for-web-worker
...
Add d3 to CSP.
2022-03-14 11:43:13 -03:00
Tiago Góes
f1cc808429
Merge pull request #11882 from nixocio/api_issue_11622
...
Add validation for hop nodes
2022-03-14 11:15:26 -03:00
Sarah Akus
30a39e1d1b
Merge pull request #11885 from marshmalien/11729-job-details-deleted-text
...
Add deleted details to job detail view
2022-03-14 10:14:08 -04:00
Sarah Akus
22ad7244fa
Merge pull request #11896 from AlanCoding/pod1_standup
...
Move location of AWX_ISOLATION_SHOW_PATHS so it is editable
2022-03-11 15:39:28 -05:00
Tiago
5be901c044
fix CSP rules
2022-03-11 15:51:35 -03:00
Kia Lam
2c073ae488
Add d3 to CSP.
2022-03-11 08:50:28 -08:00