summaryrefslogtreecommitdiffstats
path: root/tools (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revive the logstash container for testing (#15654)Alan Rominger8 days3-14/+14
| | | | | * Revive the logstash container for testing * yamllint
* feat: install awx collection from source (#15617)Peter Braun2024-11-111-1/+2
|
* Install awx collection from branch for operator ciChris Meyers2024-11-071-0/+40
|
* 3rd party auth removal cleanupHao Liu2024-10-151-1/+1
| | | | | | | | | | | | | | | | | | - Sequentiallize auth config removal migrations - Remove references to third party auth - update license files - lint fix - Remove unneeded docs - Remove unreferenced file - Remove social auth references from docs - Remove rest of sso dir - Remove references to third part auth in docs - Removed screenshots of UI listing removed settings - Remove AuthView references - Remove unused imports ... Co-Authored-By: jessicamack <21223244+jessicamack@users.noreply.github.com>
* Remove SAML authentication (#15568)jessicamack2024-10-152-57/+0
| | | | | | | | | * remove saml * remove license file and management command * update requirements, add migrations * remove unused imports
* Remove OIDC (#15569)jessicamack2024-10-152-8/+0
| | | | | | | * remove oidc * remove test fields, linting fix * merge commit
* Remove Keycloak (#15567)jessicamack2024-10-155-2072/+0
| | | remove keycloak
* Remove TACACS+ authentication (#15547)Djebran Lezzoum2024-10-154-72/+0
| | | | | Remove TACACS+ authentication from AWX. Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
* Remove LDAP authentication (#15546)Djebran Lezzoum2024-10-1513-458/+1
| | | Remove LDAP authentication from AWX
* Replace `pkg_resources` with `importlib.metadata` (#15441)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-131-3/+2
|
* Unpin OpenSSL (#15498)Hao Liu2024-09-091-4/+0
| | | Remove OpenSSL pin
* catch harakiri graceful signal in middlware and log debug infoElijah DeLee2024-08-291-0/+5
| | | | Middleware is from django_ansible_base
* Remove old UI (#15414)Hao Liu2024-08-226-23/+18
| | | | | | * Remove source code for old UI * Rename ui-next to ui * Remove license scan for javascript dependencies
* Update editable deps docs (#15451)Jake Jackson2024-08-201-7/+6
| | | update editable deps docs
* Make ui_next the default UI (#15405)Seth Foster2024-07-293-20/+38
| | | | | | | | | | | | | Change django url dispatcher to serve up ui_next files instead of old ui files Old UI will not be served with this change Github CI still runs old ui tests (to be removed in another PR) Remove the Github workflows that build old UI --------- Signed-off-by: Seth Foster <fosterbseth@gmail.com>
* Replaced all references of downstream docs to upstream docs (#15388)TVo2024-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * Replaced all references of downstream docs to upstream docs. * Update README.md Co-authored-by: Don Naro <dnaro@redhat.com> * Update README.md.j2 Co-authored-by: Don Naro <dnaro@redhat.com> * Update README.md.j2 Co-authored-by: Don Naro <dnaro@redhat.com> * Incorpor'd review feedback from @oraNod and @samccann * Updated with agreed link (for now) until further change is needed. --------- Co-authored-by: Don Naro <dnaro@redhat.com>
* Fix depends_on for awx devel when editable dependencies is enabled (#15393)Hao Liu2024-07-221-4/+5
| | | | | | | Fix depends_on for awx devel... when editable dependencies is on bug introduced by https://github.com/ansible/awx/pull/15386
* Remove links from docker-compose template (#15386)Hao Liu2024-07-191-11/+1
| | | | | | | | | | | | | | | Links are use to indicate network connectivity and optionally provide alias it is not needed for communication since all the container are on the awx network in the prometheus container case since awx_ container now have valid hostname it's no longer required (also i think the link is missing a `-` anyway...) links also implicitly imply dependency between services in this i see awx container depends on redis and postgres so i switch to depends_on to retain that Making this change to be podman compatible because i get ``` Error response from daemon: bad parameter: link is not supported ```
* Fix test_url_base_defaults_to_request to reference local host instead… ↵Lila Yasin2024-07-181-3/+3
| | | | | | | (#15367) * Update all references to towerhost to platformhost * Run prettier on failing ui files
* Fix minor docker build warning (#15362)Hao Liu2024-07-151-1/+1
| | | | | | | | Fix docker build warning Fix ``` WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 8) ```
* Check for admin_role in role_check.py (#15283)Seth Foster2024-06-202-10/+29
| | | | | | | | Script was falsely identifying cross-linked parents. It needs to check if parent roles if content type is Team and role_field is member_role OR admin_role. Signed-off-by: Seth Foster <fosterbseth@gmail.com>
* This should deal correctly with the ancestor list mismatchesJeff Bradberry2024-06-101-3/+4
|
* Guard against the role field not being populatedJeff Bradberry2024-06-101-2/+3
| | | | when doing the final reset of Role.implicit_parents.
* Add a new test scenarioJeff Bradberry2024-06-101-0/+26
| | | | to trigger the implicit parent not being in the parents and ancestors lists.
* Mark and rebuild the implicit_parents field for all affected rolesJeff Bradberry2024-06-101-8/+25
|
* Wait until the end of the fix script to clean up orphaned rolesJeff Bradberry2024-06-101-13/+12
|
* Add output of the update and deletion counts to fix.pyJeff Bradberry2024-06-101-3/+15
|
* Do not throw away the container of cross-linked parentsJeff Bradberry2024-06-101-2/+2
| | | | Since we use it twice, the second time to get the id field of each.
* Add a readme file with instructionsJeff Bradberry2024-06-101-0/+36
|
* Fix another instance where a bad resource->Role fk could throw a tracebackJeff Bradberry2024-06-101-2/+7
|
* Adjusted foreignkeys.sql for correctnessJeff Bradberry2024-06-101-5/+8
| | | | | Some relationships known to be handled by the special mapping sql file were being caught as false positives.
* Split the foreign key sql script into an 'into' and 'from' portionJeff Bradberry2024-06-101-13/+35
| | | | | Also, make use of up-front defined arrays of the tables involved, for ease of editing in the future.
* Filter out the relations within the known topology tablesJeff Bradberry2024-06-101-2/+6
|
* First cut at detecting which foreign keys enter and exit the topology tablesJeff Bradberry2024-06-101-0/+9
|
* Move the "test" files into their own directoryJeff Bradberry2024-06-103-0/+0
|
* Remove the role_chain.py moduleJeff Bradberry2024-06-101-54/+0
| | | | | it wound up being unworkable, and I think ultimately we only need to check the immediate parentage of each role.
* Attempt to correct any crosslinked parentsJeff Bradberry2024-06-101-0/+6
| | | | | I think that rebuild_role_ancestor_list() will then correctly update all of the affected Role.ancestors.
* Exclude more files in the .gitignoreJeff Bradberry2024-06-101-0/+5
|
* Modify the role parent check logic to stay in the roles as much as possibleJeff Bradberry2024-06-101-11/+35
| | | | | since the foreign keys to the roles from the resources can make us go wrong almost immediately.
* Exclude the team grant false positivesJeff Bradberry2024-06-101-2/+5
| | | | The results in my test now look correct.
* Attempt to more thoroughly check the parents of each RoleJeff Bradberry2024-06-101-0/+15
| | | | | This version, however, has false positives because Roles become children of Team.member_role when a Role is granted to a Team.
* First cut at checking the role hierarchyJeff Bradberry2024-06-101-0/+13
| | | | Checking if parents and implicit_parents are consistent with ancestors.
* Set up a scenario where IG.use_role_id points to something no longer thereJeff Bradberry2024-06-101-0/+28
| | | | | | | This is actually happening for one customer, though it seems like it shouldn't be if the foreign key constraint is set back up properly. In order to recreate it, I had to add the constraint back with 'NOT VALID' added on to prevent the check.
* Handle the case where a resource points to a Role which isn't in the dbJeff Bradberry2024-06-101-1/+7
|
* Graph out only the parent/child chains from a given RoleJeff Bradberry2024-06-101-4/+36
| | | | Doing the entire graph is too much on any system with real amounts of Roles.
* Check for a broken ContentType -> model and log and skipJeff Bradberry2024-06-101-0/+3
| | | | Apparently this has happened to a customer, per Nate Becker.
* Make the role_chain.py script emit a Graphviz fileJeff Bradberry2024-06-101-4/+12
| | | | of the Role relationships.
* Start a new script that can be used to examine a Role's ancestryJeff Bradberry2024-06-101-0/+14
|
* Treat resources with null role fks differentlyJeff Bradberry2024-06-101-9/+9
| | | | The underlying role should be re-linked, instead of treated as orphaned.
* Set up an enhanced version of Seth's bad role scenarioJeff Bradberry2024-06-101-0/+20
|