John Westcott IV
09bd398a9e
Replacing depricated index_togeather with new indexes
2023-05-11 11:45:47 -04:00
John Westcott IV
8d6f50fae8
Upgrading djgno to 4.2 LTS
2023-05-11 11:45:15 -04:00
John Westcott IV
ecfbcb641e
Adding upgrade to django-oauth-toolkit pre-migraiton
2023-05-11 11:43:33 -04:00
Seth Foster
66c3acf777
Fix content security policy
2023-05-11 10:42:23 -04:00
Alan Rominger
06430741ab
Fix 400 error from job labels sublist ( #13972 )
...
This was caused by an incorrect parent_key ref from label to job
also applies to workflow_job labels
This fixes a regression introduced by a recent merge (#13957 )
2023-05-10 11:37:59 -04:00
Shane McDonald
595b4e3876
Merge pull request #13956 from shanemcd/get-your-strings-together
...
Clean up string formatting issues from black migration
2023-05-10 10:14:09 -04:00
Rick Elrod
74c46568c1
[wsrelay] switch from psycopg 3 to asyncpg ( #13965 )
...
Due to dependency issues specifically around upgrading to Django 4.2, we
cannot feasibly have a dependency on psycopg2 and psycopg3. The only
place that was currently using psycopg3 was wsrelay.
Change wsrelay to use the asyncpg library and psycopg2 instead.
Tested locally on kind with a dev build of awx.
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-05-10 09:10:35 -05:00
Shane McDonald
f1196fc019
Clean up string formatting issues from black migration
2023-05-10 08:19:23 -04:00
Seth Foster
45c13c25a4
Set receptor log level to info ( #13958 )
2023-05-05 15:01:21 -04:00
Alan Rominger
ba0e9831d2
Fix bug with parent_key filtering ( #13957 )
...
This was making host sub-list views non-functional
specifically for constructed and smart inventory
views would always return 0 results before this fix
2023-05-05 14:10:55 -04:00
Shane McDonald
77139e4138
Add missing comma in host_status_counts list
2023-05-05 08:02:38 -04:00
Vidya Nambiar
b7c5cbac3f
Fix for 'Run on' field in frequency details
2023-05-01 17:03:51 -04:00
Sarah Akus
eb7407593f
Merge pull request #13915 from marshmalien/10877-dup-freq-types-schedule
...
Show schedule details warning when RRule is unsupported
2023-04-28 14:21:23 -04:00
Sarah Akus
287596234c
Merge pull request #13874 from marshmalien/8898-fix-update-vault-credentials
...
Fix vault credential update error when vault_id is missing
2023-04-28 13:50:46 -04:00
Sarah Akus
ee7b3470da
Merge pull request #13873 from marshmalien/10799-bug-prompt-launch-credential-type-dropdown-complete
...
Fix screen crash when changing credential type in launch prompt dropdown
2023-04-28 13:25:40 -04:00
Jessica Steurer
0faa1c8a24
Merge branch 'devel' into 8898-fix-update-vault-credentials
2023-04-28 10:37:15 -03:00
Alan Rominger
77175d2862
Consolidate get_queryset methods ( #13906 )
...
In a prior merge, we added the ability to slap filter_read_permission = False on a view to get a certain functionality where it didn't filter a sublist the view is showing.
This logic already existed in a highly duplicated form among a number of views, so this deletes those methods in favor of the flag.
2023-04-28 09:10:18 -04:00
Sarah Akus
3919ea6270
Merge pull request #13905 from vidyanambiar/topology-rbac
...
Make Topology view and Instances visible only to system admin/auditor
2023-04-26 15:13:32 -04:00
Marliana Lara
9d9f650051
Show schedule details warning when RRule is unsupported
2023-04-26 14:49:43 -04:00
jessicamack
d282393035
change exit code
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
6ea3b20912
reverse previous commit to break into separate PR
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
3025ef0dfa
move with block inside of while to free up persistent db connection
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
397d58c459
removed TODO. moved signal catches to handle()
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
d739a4a90a
updated black and ran again to fix lint formatting
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
3fe64ad101
fix signal handler. black reformats
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
jessicamack
919d1e5d40
catch SIGTERM or SIGINT and send offline message
...
Signed-off-by: jessicamack <jmack@redhat.com >
2023-04-26 11:37:59 -04:00
Gabriel Muniz
d8af19d169
Fix organization not showing all galaxy credentials for org admin ( #13676 )
...
* Fix organization not showing all galaxy credentials for org admin
* Add basic test to ensure counts
* refactored approach to allow removal of redundant code
* Allow configurable prefetch_related
* implicitly get related fields
* Removed extra queryset code
2023-04-25 15:33:42 -04:00
Vidya Nambiar
1821e540f7
Merge branch 'devel' into topology-rbac
2023-04-25 15:32:17 -04:00
Vidya Nambiar
77be6c7495
tests
2023-04-25 14:18:05 -04:00
Alan Rominger
7acc0067f5
Remove Ansible config override to validate group names ( #13837 )
2023-04-25 13:37:13 -04:00
Alan Rominger
0a13762f11
Use separate module for pytest settings ( #13895 )
...
* Use separate module for test settings
* Further refine some pre-existing comments in settings
* Add CACHES to setting snapshot exceptions to accommodate changed load order
2023-04-25 13:31:46 -04:00
Vidya Nambiar
2c673c8f1f
Make Topology view and Instances visible only to system admin/auditor
2023-04-25 12:44:27 -04:00
John Westcott IV
8c187c74fc
Adding "password": "$encrypted$" to user serializer ( #13704 )
...
Co-authored-by: Jessica Steurer <70719005+jay-steurer@users.noreply.github.com >
2023-04-25 10:18:01 -03:00
Alan Rominger
086722149c
Avoid recursive include of DEFAULT_SETTINGS, add sanity test ( #13236 )
...
* Avoid recursive include of DEFAULT_SETTINGS, add sanity test to avoid similar surprises
* Implement review comments for more clear code order and readability
* Clarify comment about order of app name, which is last in order so that it can modify user settings
2023-04-20 15:15:34 -04:00
Sarah Akus
c10ada6f44
Merge pull request #13876 from marshmalien/9668-adhoc-credentials-search
...
Fix credentials search in adhoc prompt modal
2023-04-20 13:41:36 -04:00
Sarah Akus
b350cd053d
Merge pull request #13886 from marshmalien/fix-wf-approval-job-details
...
Fix incorrect workflow approval job details
2023-04-20 13:31:32 -04:00
Marliana Lara
b43107a5e9
Fix credentials search in adhoc prompt modal
2023-04-19 13:59:08 -04:00
Marliana Lara
4857685e1c
Fix vault credential update server error
2023-04-19 13:58:39 -04:00
Marliana Lara
8ba1a2bcf7
Reset search params when prompt launch credential type dropdown changes
...
* Fix credential validation bugs
2023-04-19 13:58:11 -04:00
Marliana Lara
e7c80fe1e8
Fix incorrect workflow approval job details
2023-04-19 13:57:05 -04:00
Zita Nemeckova
36559a4539
Remove Inventories column for now. Revert this commit once the backend is ready.
2023-04-19 15:55:02 +02:00
Hao Liu
7a4b3ed139
Merge pull request #13881 from TheRealHaoLiu/fix-copy
...
Fix copy API
2023-04-19 09:39:39 -04:00
Gabriel Muniz
cd5cc64d6a
Fix 500 on missing inventory for provisioning callbacks ( #13862 )
...
* Fix 500 on missing inventory for provisioning callbacks
* Added test to cover bug fix
* Reworded msg to clear what is missing to start the callback
2023-04-19 09:27:41 -04:00
Sarah Akus
f4b80c70e3
Merge pull request #13849 from marshmalien/10854-instances-403-error
...
Check user permissions before fetching system settings
2023-04-18 16:41:40 -04:00
Hao Liu
9870187af5
Fix copy API
...
In web/task split deployment web and task container no longer share the same redis cache
In the original code we use redis cache to pass the list of sub objects that need to be copied to the new object
In this PR we extracted out the logic that computes the sub_object_list and move it into deep_copy_model_obj task
2023-04-18 16:03:04 -04:00
Michael Abashian
e94ee8f8d7
Removes unused codemirror dependency
2023-04-18 15:06:18 -04:00
John Westcott IV
e660f62a59
Merge pull request #13875 from john-westcott-iv/fix_assumed_databases
...
Fixing issue were we assumed DATABASES would be defined
2023-04-18 14:21:17 -04:00
John Westcott IV
93117c8264
Fixing issue were we assumed DATABSES would be defined
2023-04-18 13:57:17 -04:00
Keith J. Grant
b8118ac86a
remove outdated tests
2023-04-18 10:04:28 -07:00
Keith J. Grant
c08f1ddcaa
rework PersistentFilter to avoid double API call
2023-04-18 10:04:28 -07:00