mabashian
7ceaa9ec4a
Changes redirect logic slightly to lean on a global var to store the config response rather than a constant on the awApp module. This should allow us to avoid test changes.
2019-12-11 17:21:02 -05:00
mabashian
4b3d3537b4
Fix linting error (unused var)
2019-12-11 17:21:02 -05:00
mabashian
efbff24528
Adds trailing slash to /api request
2019-12-11 17:21:02 -05:00
mabashian
1d9ce6cc15
Moves config request out to block of code that gets executed before the app is bootstrapped. This should allow us to redirect to the override url before the app begins to render, improving the UX.
2019-12-11 17:21:02 -05:00
mabashian
794ce96b17
Reverts changes to logout logic. We don't want to redirect to an override url if the user explicitly logs out.
2019-12-11 17:21:02 -05:00
mabashian
181421a2ee
Adds logic to redirect unauthenticated user if LOGIN_REDIRECT_OVERRIDE is set as long as the user is not navigating to /login or /#/login. Also redirects on logout if LOGIN_REDIRECT_OVERRIDE is set.
2019-12-11 17:21:02 -05:00
Graham Mainwaring
9c9496a683
Expose login redirect URL in unauthenticated /api view
2019-12-11 17:21:02 -05:00
Graham Mainwaring
2b111c81df
Add /login convenience URL
2019-12-11 17:21:02 -05:00
mabashian
f467e26842
Adds login redirect override field to the System (Misc System) Settings interface
2019-12-11 17:21:02 -05:00
Graham Mainwaring
7700050d10
Add default for LOGIN_REDIRECT_OVERRIDE
2019-12-11 17:21:02 -05:00
Graham Mainwaring
a8d34b46fb
Add setting for configurable login redirect URL
2019-12-11 17:21:02 -05:00
mabashian
bf6c16197c
Moves config request out to block of code that gets executed before the app is bootstrapped. This should allow us to redirect to the override url before the app begins to render, improving the UX.
2019-12-11 11:39:11 -05:00
mabashian
25cc341888
Reverts changes to logout logic. We don't want to redirect to an override url if the user explicitly logs out.
2019-12-11 11:39:02 -05:00
mabashian
d899e75ad7
Adds logic to redirect unauthenticated user if LOGIN_REDIRECT_OVERRIDE is set as long as the user is not navigating to /login or /#/login. Also redirects on logout if LOGIN_REDIRECT_OVERRIDE is set.
2019-12-11 11:38:55 -05:00
Graham Mainwaring
732da52239
Expose login redirect URL in unauthenticated /api view
2019-12-11 11:38:45 -05:00
Graham Mainwaring
ab2f212b04
Add /login convenience URL
2019-12-11 11:38:36 -05:00
mabashian
f94438cf9b
Adds login redirect override field to the System (Misc System) Settings interface
2019-12-11 11:38:31 -05:00
Graham Mainwaring
2569ec4f4f
Add default for LOGIN_REDIRECT_OVERRIDE
2019-12-11 11:38:21 -05:00
Graham Mainwaring
b58bff4686
Add setting for configurable login redirect URL
2019-12-11 11:38:07 -05:00
softwarefactory-project-zuul[bot]
6fab3590ae
Merge pull request #5408 from keithjgrant/5065-lookup-c
...
Lookup refactor
Reviewed-by: Jake McDermott <yo@jakemcdermott.me>
https://github.com/jakemcdermott
2019-12-10 22:01:50 +00:00
Keith Grant
846fd67618
de-lint
2019-12-10 12:13:22 -08:00
Ryan Petrello
6254129f0d
Merge pull request #4021 from beeankha/custom_email_approve_deny_fix
...
[3.6.2 Backport] Enable Approval-Related Email Notifications to Send Properly
2019-12-10 14:31:58 -05:00
Keith Grant
3409d39150
fix ProjectLookup re-renders
2019-12-10 11:09:11 -08:00
Keith Grant
9de165a676
revert MultiCredentialLookup loading jank fix
2019-12-10 11:09:11 -08:00
Keith Grant
f54616912d
de-lint
2019-12-10 11:09:11 -08:00
Keith Grant
c003e89ea9
fix loading jank in MultiCredentialLookup
2019-12-10 11:09:11 -08:00
Keith Grant
6e64b5c070
clean up act() errors in form tests after Lookup changes
2019-12-10 11:09:11 -08:00
softwarefactory-project-zuul[bot]
fcfc34fef1
Merge pull request #5413 from beeankha/custom_email_approve_deny_fix
...
Enable Approval-Related Email Notifications to Send Properly
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-10 19:04:41 +00:00
Keith Grant
75b7d74f91
Lookup tweaks/bug fixes
2019-12-10 10:58:33 -08:00
Keith Grant
569b5bc533
clean up multiple test 'act()' warnings
2019-12-10 10:58:33 -08:00
Keith Grant
9ab9c6961b
update Lookup tests, add OptionsList tests
2019-12-10 10:58:33 -08:00
Keith Grant
2e525f8922
update tests for CredentialLookup, OrgLookup, ProjectLookup
2019-12-10 10:58:33 -08:00
Keith Grant
9c6300c2de
update MultiCredentialsLookup tests
2019-12-10 10:58:33 -08:00
Keith Grant
f8153393b1
fix minor lookup bugs
2019-12-10 10:58:33 -08:00
Keith Grant
cb07e9c757
convert all lookups to use new Lookup component
2019-12-10 10:58:33 -08:00
Keith Grant
639b297027
fix credential chips in SelectedList, MultiCredential cleanup
2019-12-10 10:58:32 -08:00
Keith Grant
4341d67fb0
add MultiCredentialsLookup select/deselect logic
2019-12-10 10:58:32 -08:00
Keith Grant
6260633974
flushing out new approach to MultiCredentialsLookup
2019-12-10 10:58:32 -08:00
Keith Grant
8ec856f3b6
start Lookup reducer
2019-12-10 10:58:32 -08:00
Keith Grant
5a207f155e
WIP split Lookup into Lookup & CategoryLookup
2019-12-10 10:58:32 -08:00
Alex Corey
2a722ba8d0
Refactors Lookup
2019-12-10 10:58:32 -08:00
softwarefactory-project-zuul[bot]
efbd2177a5
Merge pull request #5449 from marshmalien/inv-groups-list
...
Add Inventory Groups and Groups Delete Modal
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-10 18:12:47 +00:00
softwarefactory-project-zuul[bot]
989e1ca5d6
Merge pull request #5477 from ryanpetrello/oauth-500
...
provide better HTTP responses for certain OAuth2 error scenarios
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-10 17:41:12 +00:00
Marliana Lara
4c89568d71
Apply radio selection to ALL selected groups in modal
...
* Use semantic html to describe modal list
* Move nested try/catch block
* Remove deprecated type fields
* If delete fails, keep selected list checked
2019-12-10 12:29:33 -05:00
softwarefactory-project-zuul[bot]
a9688ac805
Merge pull request #5471 from mabashian/5349-upgrade-angular-scheduler
...
Pull in latest version of our angular-scheduler fork to fix Tueday/Tuesday typo
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-10 17:25:35 +00:00
Ryan Petrello
12a8793ddb
provide a better error for OAuth2 logins for external accounts
...
attempting to use an OAuth2 token as an externally authenticated user throws an HTTP 500 error when external oauth is disabled - this change improves that so it's a 401 Unauthorized instead.
2019-12-10 11:52:25 -05:00
softwarefactory-project-zuul[bot]
7bbf640389
Merge pull request #5450 from beeankha/tower_job_template_extra_vars
...
Add extra_vars Parameter to tower_job_template.py Module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-10 16:32:24 +00:00
softwarefactory-project-zuul[bot]
cb6688c685
Merge pull request #5412 from appuk/apurva-new-ids
...
Add dataCy attribute
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-09 20:22:08 +00:00
Alan Rominger
266a4e71c5
Merge pull request #4027 from AlanCoding/ryan_hosts_36
...
[alan] use a computed inventory field for task impact math
2019-12-09 14:51:02 -05:00
softwarefactory-project-zuul[bot]
c29afce54d
Merge pull request #5472 from AlanCoding/ryan_hosts
...
Use total_hosts for task impact for performance
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-09 18:07:58 +00:00