Alan Rominger
38352063e8
Remove custom inventory script API
2021-04-22 08:36:46 -04:00
Ryan Petrello
6062d1ec9f
fix an HTTP 500 error for unauthenticated users
...
see: https://github.com/ansible/awx/issues/7243
2021-03-26 16:40:48 -04:00
Ryan Petrello
c2ef0a6500
move code linting to a stricter pep8-esque auto-formatting tool, black
2021-03-23 09:39:58 -04:00
Rebeccah
0921de5d2b
adding needed url endpoint for copy functionality and the beginning of some testing that can be fleshed out more fully in later work
2021-03-03 18:52:55 -05:00
Jeff Bradberry
b417fc3803
Turn off permissions check bypassing for admins when hitting the execution environment list and detail views.
2021-03-03 18:52:55 -05:00
Shane McDonald
286b1d4e25
InstanceGroup#is_containerized -> InstanceGroup#is_container_group
2021-03-03 18:52:55 -05:00
Jeff Bradberry
45a0084f78
Add a sublist api view for the UJTs that use a given execution environment
2021-03-03 18:52:54 -05:00
Jeff Bradberry
f9741b619c
Make changes to support capture by the activity stream
...
Including exposing a new API view for a particular EE's activity
stream objects.
2021-03-03 18:52:54 -05:00
Jeff Bradberry
5ec7378135
Add a new Swagger topic
2021-03-03 18:52:54 -05:00
Jeff Bradberry
cc429f9741
Expose an API view for all of the execution environments under an org
2021-03-03 18:52:54 -05:00
Jeff Bradberry
61cbd34586
Add in the basic list and detail api views
2021-03-03 18:52:53 -05:00
Alan Rominger
44e6e9344b
Remove mercurial support
2020-12-01 14:06:34 -05:00
Ryan Petrello
4a75ae9869
allow deleting NotificationTemplates w/ old pending notifications
...
see: https://github.com/ansible/awx/issues/8525
2020-11-03 11:09:30 -05:00
Ryan Petrello
4445d096f5
reimplement licensing to work with RHSM and entitlement uploads
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-30 16:39:57 -04:00
John Mitchell
782e8d5875
add two_weeks filter to dashbaord job graph api view
2020-10-20 16:42:28 -04:00
Ryan Petrello
57b2cd402b
make workflow approval creation return an HTTP 201, not 200 OK
...
see: e16a910062 (diff-67c0fe4fc2a405ad611e42d1457e8aa5)
2020-10-19 16:20:40 -04:00
Ryan Petrello
011822b1f0
make a global "managed by AWX/Tower" Credential to represent Galaxy
2020-09-01 13:45:03 -04:00
Ryan Petrello
b8e0d087e5
add model support, an API, and a migration for Org -> Galaxy credentials
...
see: https://github.com/ansible/awx/issues/7813
2020-09-01 13:44:59 -04:00
Philip Douglass
997351eee3
Add archive project data to Dashboard view
...
Signed-off-by: Philip Douglass <philip.douglass@amadeus.com >
2020-08-20 12:34:35 -04:00
Ryan Petrello
0c6be1f4d7
Merge branch 'downstream' into devel
2020-08-05 14:48:36 -04:00
Ryan Petrello
91594a1ae8
properly obfuscate connection errors for credential lookup failure
2020-07-28 11:38:48 -04:00
Ryan Petrello
860183f178
update the named URL code to properly return 404 vs 403
2020-07-22 12:15:34 -04:00
Ryan Petrello
0b221a42c0
Add the ability to specify K8S/OCP credentials on a Job Template
...
see: https://github.com/ansible/awx/issues/5735
2020-07-15 17:44:07 -04:00
Graham Mainwaring
5a96af79d4
Reduce error detail in credential lookups
2020-07-06 21:41:28 -04:00
AlanCoding
d54e5e5ed8
Remove defunct entry from view method return tuple
2020-05-01 14:10:14 -04:00
Ryan Petrello
18607107a7
remove the deprecated extra_credentials endpoints
2020-04-30 10:22:02 -04:00
Bill Nottingham
4f3213715e
Allow disassociating any user from a credential role.
...
This is preventing removing roles from users no longer in the organization.
2020-04-03 13:39:28 -04:00
AlanCoding
daa9282790
Initial (editable) pass of adding JT.organization
...
This is the old version of this feature from 2019
this allows setting the organization in the data sent
to the API when creating a JT, and exposes the field
in the UI as well
Subsequent commit changes the field from editable
to read-only, but as of this commit, the machinery
is not hooked up to infer it from project
2020-03-12 15:45:46 -04:00
Ryan Petrello
6207dad226
fix broken grafana notifications
...
since the custom notification template refactor, grafana notification
support has been broken; this is largely because grafana functions more
like the webhooks, and needs to send JSON in its notification body
see: https://github.com/ansible/awx/issues/6137
2020-03-03 12:44:28 -05:00
AlanCoding
519956f779
Remove argument no longer accepted by computed fields task
2020-02-11 08:55:56 -05:00
Nikhil Jain
e530adde67
fix the sliced job relaunch
2020-02-10 17:35:50 -05:00
Bill Nottingham
71ef7cdec1
Use AWX_TASK_ENV when connecting to Red Hat services
2020-02-07 14:29:42 -05:00
Ryan Petrello
dfc769b8fe
drastically speed up /api/v2/jobs/N/job_events/ with large counts
2020-01-20 13:24:39 -05:00
AlanCoding
9a420820eb
Remove event hosts relationship
...
and parent event-event ForeignKey relationship
2020-01-16 08:44:36 -05:00
Ryan Petrello
568606d2c8
remove computed inventory fields from Host and Group
2020-01-14 16:37:16 -05:00
Bill Nottingham
3ba1ba1c9d
Fix survey validation to always retun an error code if erroring
2019-12-20 11:38:22 -05:00
Jake McDermott
63fd546f44
Let cred admins and users test credential plugins
2019-12-03 13:36:18 -05:00
Christian Adams
05e6f4ab3c
Add User-Agent to analytics upload POST
2019-11-25 22:22:05 -05:00
AlanCoding
cf168b27d2
apply username ordering to more views
2019-10-29 14:20:33 -04:00
Jeff Bradberry
aff31ac02f
Add the no_truncate parameter to the job and adhoc event sublist views
...
which are the ones that the CLI actually uses.
2019-10-29 11:24:17 -04:00
Rebeccah
1ae8fdc15c
moved filterint out policy instance values in the api browser input box into the instanceGroupDetail class where I overrode the update_raw_data function to parse out the unneeded data. Additionally added the fix for checking the value in the serializer.
2019-10-29 11:24:15 -04:00
Jim Ladd
b024d91c66
Use correct notif. bodies when sending test notifs
...
* Notification backends now handle body of notifications differently
* .. depending on their type (webhook, email, and pagerduty) are
currently the only three notification types that use body
* email and pagerduty expect a string
* webhooks expects a dict in string format
2019-10-29 11:24:14 -04:00
Alan Rominger
a0fb9bef3a
Disable activity stream and speed up host group bulk deletion ( #3817 )
2019-10-29 11:24:12 -04:00
Jeff Bradberry
e672e68a02
Allow the job event list views to take a no_truncate GET param
2019-10-11 17:18:36 -04:00
Jeff Bradberry
9efa7b84df
Depend on a serializer context variable no_truncate
...
to decide whether to turn off the ANSI control sequence-aware
truncation, instead of needing inappropriate awareness of the details
of the view that invoked the serializer. This will also allow us to
have views that can more flexibly turn off the truncation under other
circumstances.
2019-10-10 16:08:17 -04:00
Rebeccah
7efacb69aa
added in parsing for multiple choice and multiselect, which either takes a string, splits it up, and then eliminates any extra newlines, or just accepts alist. Extra newlines are sanitized out.
...
Signed-off-by: Rebeccah <rhunter@redhat.com >
2019-10-09 13:59:32 -04:00
Jeff Bradberry
885841caea
Drop Bitbucket support
...
since only the Bitbucket Server product supports signed payloads,
bitbucket.org does not. And we are requiring signed payloads.
2019-09-30 13:32:22 -04:00
Jeff Bradberry
9d269d59d6
Add an api view for obtaining and rotating the webhook key
2019-09-30 13:23:27 -04:00
Jeff Bradberry
8f97dbf781
Hook in the webhook receiver views into the urlconf
2019-09-30 13:23:26 -04:00
beeankha
5aa6a94710
Enable approval notifications to show up at...
...
...workflow jobs notifications endpoint
2019-09-27 15:48:00 -04:00