Sarabraj Singh
385a2eabce
hostname validation in InstanceSerializer ( #12979 )
...
* initial commit of hostname validation to InstanceSerializer
Co-authored-by: Cesar Francisco San Nicolas Martinez <cesarfsannicolasmartinez@gmail.com>
2022-10-05 17:50:06 +00:00
Alan Rominger
a64467c5a6
Shortcut Instance.objects.me when possible
2022-10-05 09:11:42 -04:00
Alan Rominger
58772d79c7
Remove unnecessary imports by deleting NOQA markers
2022-10-05 09:09:03 -04:00
Alan Rominger
235ed2f0d0
Remove current_user variable no longer used
2022-10-05 09:09:03 -04:00
Rick Elrod
03eaeac459
Better handle IPv6 in util function update_scm_url ( #12995 )
...
- Firstly -- add a bunch of unit tests for `update_scm_url`, because it
previously had none and desperately needed them.
- Secondly -- fix #12992 by adding back in IPv6 address brackets if they
existed in the first place when the function was called.
- Thirdly -- fix a related case where we disallowed IPv6 in URLs that
did not include the scheme.
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-10-04 15:21:56 -05:00
Shane McDonald
63fd18edcb
Merge pull request #12736 from Sunidhi-Gaonkar1/devel
...
Adding ppc64le support parameters
2022-10-04 08:37:38 -04:00
Rick Elrod
208254ab81
A few super minor nits in api views/serializers ( #12996 )
...
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-10-03 19:24:57 -05:00
Alex Corey
aae57378f0
Gives enhanced permissions so that it can update dependabot pr bodies
2022-10-03 16:28:04 -04:00
John Westcott IV
a4fba37222
Changing to handle not only missing but null and empty organization in team map
2022-10-03 14:42:15 -04:00
John Westcott IV
3a09522d3e
Fixing '== None' and better handeling of {} settings
2022-10-03 14:01:38 -04:00
John Westcott IV
b5db710c8b
Multiple enhancements
...
Extrapolating reconciliation of desired and actual states to a function
Converting heave prefect related methods to user focus for query optimization
Converting from get_or_create to simply create
Added memory calculations for query optimization
2022-10-03 13:22:54 -04:00
John Westcott IV
534763727f
Merge pull request #12728 from john-westcott-iv/ig_fallback
...
Adding prevent_instance_group_fallback
2022-10-03 10:47:51 -04:00
dependabot[bot]
b964905c80
Bump @patternfly/react-icons from 4.75.1 to 4.90.0 in /awx/ui
...
Bumps [@patternfly/react-icons](https://github.com/patternfly/patternfly-react ) from 4.75.1 to 4.90.0.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-icons@4.75.1...@patternfly/react-icons@4.90.0 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-icons"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 08:05:10 +00:00
dependabot[bot]
37717ce3d5
Bump styled-components from 5.3.5 to 5.3.6 in /awx/ui
...
Bumps [styled-components](https://github.com/styled-components/styled-components ) from 5.3.5 to 5.3.6.
- [Release notes](https://github.com/styled-components/styled-components/releases )
- [Changelog](https://github.com/styled-components/styled-components/blob/main/CHANGELOG.md )
- [Commits](https://github.com/styled-components/styled-components/compare/v5.3.5...v5.3.6 )
---
updated-dependencies:
- dependency-name: styled-components
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-01 08:04:28 +00:00
Elijah DeLee
8333b0cf66
fix name to be consistent ( #12975 )
...
* fix name to be consistent
this is not a mean, its the last value
so say that in the name
* add remaining capacity to dashboard
also make legends pretty with nice names
2022-09-29 16:52:12 -04:00
John Westcott IV
d1588b94b0
Updating migration file again
2022-09-29 14:20:49 -04:00
Sarabraj Singh
2dcc7ec749
implementing Alan's recommendations for ig_fallback
2022-09-29 14:19:37 -04:00
John Westcott IV
2d756959d3
Altering prefered_instance_groups for ad_hoc_commands and inventory objects
2022-09-29 14:19:37 -04:00
John Westcott IV
e6518a1d1c
Updating the migration id
2022-09-29 14:19:37 -04:00
John Westcott IV
84d00722b9
Add prevent_instance_group_fallback to awxkit
2022-09-29 14:19:37 -04:00
John Westcott IV
a95a76ec56
Fixing warnings from rebase
2022-09-29 14:19:37 -04:00
John Westcott IV
420b3c8b84
Adding prevent instance group fallback to inventory and jt defail screens
2022-09-29 14:19:37 -04:00
John Westcott IV
5ba0bf3a64
Fixing UI tests
2022-09-29 14:19:37 -04:00
John Westcott IV
7031753a6d
Updating migration file
2022-09-29 14:19:37 -04:00
John Westcott IV
6415671d93
Creating options (like job template) on inventory screen
2022-09-29 14:19:37 -04:00
John Westcott IV
e5fd42c4da
Removing debug message and adding help details about empty groups
2022-09-29 14:19:36 -04:00
John Westcott IV
0f675cd375
Updating modules for prevent_instance_group_fallback
2022-09-29 14:19:36 -04:00
John Westcott IV
a85268f74a
Fixing inventoy help text
2022-09-29 14:19:36 -04:00
John Westcott IV
0983bd8dc0
Adding prevent_instance_group_fallback
2022-09-29 14:19:36 -04:00
Hao Liu
87c65c9997
Merge pull request #12976 from TheRealHaoLiu/seperate-vars-from-inventory
...
instance install bundle group vars
2022-09-28 17:56:44 -04:00
Rick Elrod
1b46805373
[ui] Don't double-entity encode on event stdout ( #12950 )
...
- stdout output on events was being double HTML entity encoded meaning
that all output with < and > was shown as literal "<" and ">"
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-09-28 16:35:17 -05:00
Hao Liu
d48e31b928
instance install bundle group vars
...
split out customer modifiable variable in the install bundle into a vars file
Signed-off-by: Hao Liu <haoli@redhat.com>
2022-09-28 17:25:38 -04:00
Lila Yasin
ea51e137eb
Merge pull request #12461 from andreadecorte/fix_doc
...
Fix notification doc for Workflow Job Template module
2022-09-28 15:20:44 -04:00
Elijah DeLee
d9f5193a18
move grafana/prometheus docs to own README ( #12960 )
...
* move grafana/prometheus docs to own README
2022-09-28 14:05:05 -04:00
Elijah DeLee
710b02a443
always display awx_status_total
...
this way we don't have null data in monitoring data
this makes writing alerts and dashboards easier
2022-09-28 14:02:57 -04:00
John Westcott IV
e7c75f3510
Reverting checking of LDAP groups
...
The initial check performed case insensitive searches and the new method was case sensitive
The optimization of the new method is likely not going to contribute noticable slowness
2022-09-28 12:36:51 -04:00
Alan Rominger
cfce31419d
Move the IS_TESTING method out of settings
2022-09-28 11:19:10 -04:00
Jeff Bradberry
5b5aac675b
Merge pull request #12959 from ansible/new-health-check-started
...
Add a new Instance.health_check_started field
2022-09-28 10:58:43 -04:00
Jeff Bradberry
6b0618b244
Merge pull request #12968 from ansible/instance-serializer-defaults
...
Make sure to include field defaults for Instance node_type and node_state
2022-09-28 10:53:31 -04:00
kialam
ceea0a0a39
Add tooltips to Instance form; change name field to host name. ( #12912 )
2022-09-28 10:22:49 -03:00
Rebeccah Hunter
6b86c450b1
Merge pull request #12967 from rebeccahhh/fix_grafana_dashboard
...
I Grafana's dashboard visuals, so now I am fixing it.
2022-09-28 08:09:06 -04:00
Maya Costantini
8e83f9b134
Precise migrate.yml path in development docs
2022-09-28 10:57:40 +02:00
Alan Rominger
d3eb2c1975
Add new flak8 rules to do some meaningful corrections
2022-09-27 20:36:42 -04:00
Alan Rominger
1a696c4f25
Merge pull request #12864 from AlanCoding/project_groups
...
Avoid cache warning for dispatching control type tasks
2022-09-27 20:00:12 -04:00
Alex Corey
34501fee24
Removes references to current_user ( #12818 )
...
* Remove refernces to current user id in the cookie
* Removes current_user data from the cookie on api side
2022-09-27 20:15:57 -03:00
Jeff Bradberry
5aa55d7347
Make sure to include field defaults for Instance node_type and node_state
2022-09-27 17:15:45 -04:00
Jeff Bradberry
65179d9cd0
Add a new Instance.health_check_started field
...
This will enable us to provide more useful information for the user,
now that all user-triggered health checks are async.
Also, de-bounce the health check endpoint to not allow additional
health check tasks to be triggered when one is already in progress.
2022-09-27 17:09:41 -04:00
Rick Elrod
42109fb45a
[collection] Remove instance defaults from docs ( #12964 )
...
We don't specify defaults in the module (because it messes up Instance
updates because AWX things we are trying to change things to be the
default).
- Update the docs to remove the defaults that no longer exist
- Update tests to make them pass (oops)
- Fix tangentially related typo in Kind development docs
Signed-off-by: Rick Elrod <rick@elrod.me>
2022-09-27 15:18:38 -05:00
Sarah Akus
ca46aec483
Merge pull request #12955 from AlexSCorey/12903-MeshScalingUICleanup
...
Normal Users no longer see Instances in side nav
2022-09-27 16:08:53 -04:00
Alex Corey
2e9956c9fc
Prevents unauthorized users from seeing instances list link in side nav
2022-09-27 15:51:23 -04:00