Jeff Bradberry
61cbd34586
Add in the basic list and detail api views
2021-03-03 18:52:53 -05:00
Ryan Petrello
94b6b31185
fix a minor bug in the way we report certain license upload errors
2020-10-30 16:40:02 -04:00
Ryan Petrello
e50c2c2867
warn about legacy license usage in the licensing UI
2020-10-30 16:40:00 -04:00
Bill Nottingham
393e1b75e9
Return more user-friendly errors for assorted manifest failures
2020-10-30 16:39:59 -04:00
Christian M. Adams
05de875ace
Fix flake8
2020-10-30 16:39:59 -04:00
Ryan Petrello
3bb930c769
cleanup up some unused code/comments, and simplify the license migration
2020-10-30 16:39:57 -04:00
Ryan Petrello
ef43d85271
remove Organization label from RHSM/Sat6 license form
2020-10-30 16:39:57 -04:00
Ryan Petrello
927b055e65
change license uploading to parse RHSM manifests
...
Co-authored-by: Christian Adams <chadams@redhat.com >
2020-10-30 16:39:57 -04: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
Bill Nottingham
1c4b06fe1e
Refactor analytics collectors.
...
- Only have one registration class
- Add description fields
- Add automation collector information to /api/v2/config
2020-09-09 17:10:14 -04:00
Bill Nottingham
71ef7cdec1
Use AWX_TASK_ENV when connecting to Red Hat services
2020-02-07 14:29:42 -05:00
Ryan Petrello
c7c899375b
when a license is installed, only set TOWER_URL_BASE if necessary
...
it's possible for users to set this manually in /etc/tower/conf.d
prior to license application
2020-01-30 16:23:25 -05:00
Graham Mainwaring
9c9496a683
Expose login redirect URL in unauthenticated /api view
2019-12-11 17:21:02 -05:00
mabashian
113622c05e
Moves initial system settings rest call out to resolve
2019-09-13 12:14:31 -04:00
Ryan Petrello
29fd399b06
introduce a new API for generating licenses from candlepin creds
2019-09-13 12:14:29 -04:00
Ryan Petrello
846e67ee6a
update trial license enforcement logic
2019-09-13 12:14:25 -04:00
beeankha
294d6551b9
Polishing up work on new endpoint
2019-08-27 15:30:48 -04:00
beeankha
320284267c
Add new endpoint for creation of approval nodes
2019-08-27 15:30:47 -04:00
beeankha
9024a514a6
Add API endpoints for workflow approvals
2019-08-27 15:30:39 -04:00
Jeff Bradberry
f94959d120
Remove the custom get_view_name function
...
It appeared to not be doing anything that we were making use of that
couldn't already be done, slightly differently, using DRF's built-in
one.
2019-06-12 14:12:59 -04:00
Ryan Petrello
6da445f7c0
remove /api/v1 and deprecated credential fields
2019-06-06 12:23:00 -04:00
AlanCoding
dbc65baa43
apply optimizations via standard method
...
This addresses the top-level resources in the v2
root view, focusing in order of priority,
reflecting use by the UI.
In several cases get_queryset logic from the view
is moved into the access class.
Most other cases involve adding a straightforward
select_related or prefetch_related entry.
All additional confirmed to be effective with the
django debug toolbar.
2019-05-24 13:09:55 -04:00
softwarefactory-project-zuul[bot]
e8de7bc845
Merge pull request #3673 from rooftopcellist/metrics_uuids
...
add uuids to ping and metrics
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-13 11:45:47 +00:00
Christian Adams
40393e201f
add uuids to ping and metrics
2019-04-12 18:37:40 -04:00
beeankha
de34a64115
Basic License feature gating changes
2019-04-12 11:28:27 -04:00
Wayne Witzel III
c3812de3d6
initial prometheus commit
...
Co-authored-by: Wayne Witzel III <wayne@riotousliving.com >
Co-authored-by: Christian Adams <rooftopcellist@gmail.com >
2019-04-08 02:47:56 -04:00
softwarefactory-project-zuul[bot]
161fd9cde0
Merge pull request #3460 from vismay-golwala/project_admin_issue
...
Project admin manual SCM Type creation bug fix
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-04-05 15:43:49 +00:00
Ryan Petrello
b911f8bf77
allow creation at /api/v2/credential_input_sources
2019-04-02 11:21:06 -04:00
Ryan Petrello
9036ba492c
switch CredentialInput creation to use the associate/disassociate view
2019-04-02 11:20:10 -04:00
Jake McDermott
d87144c4a7
add api for managing credential input sources
2019-04-02 11:19:56 -04:00
Vismay Golwala
df11a7fd3d
Project admin manual SCM Type creation bug fix
...
There was a bug in tower where project admin was not allowed to create
a project with manual SCM type. This was because, the project base dir
was only set from `settings.PROJECTS_ROOT`, if the user role was either
admin or auditor. This has been updated by also allowing it to set when
user is a project admin.
Signed-off-by: Vismay Golwala <vgolwala@redhat.com >
2019-03-20 16:01:33 -04:00
Jeff Bradberry
46020379aa
Expose the known privilege escalation methods in the API config view
...
so that the UI can obtain them and make use of them for an autocomplete widget.
2019-02-04 11:45:27 -05:00
Ryan Petrello
f223df303f
convert py2 -> py3
2019-01-15 14:09:01 -05:00
Wayne Witzel III
33b8e7624b
move root views new file
2018-11-12 12:36:16 -05:00