Ryan Petrello
c2ef0a6500
move code linting to a stricter pep8-esque auto-formatting tool, black
2021-03-23 09:39:58 -04:00
Ryan Petrello
25a9a9c3ba
remove redaction exclusions for Galaxy URLs (basic auth support is gone)
2020-09-01 13:45:02 -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
Ryan Petrello
c95624e27f
optimize the SCM URL sanitizer regex
...
\w+ is too greedy for large strings that don't contain URLs
2020-03-11 10:10:35 -04:00
Graham Mainwaring
b2b33605cc
Add UI toggle to disable public Galaxy ( #3867 )
2019-10-29 11:24:11 -04:00
AlanCoding
c09039e963
Add setting for auth_url
...
Also adjust public galaxy URL setting to
allow using only the primary Galaxy server
Include auth_url in token exclusivity validation
2019-10-07 14:02:43 -04:00
AlanCoding
922e779a86
Rename private to primary in galaxy settings
...
use a setting for the public galaxy URL
2019-10-07 14:02:43 -04:00
AlanCoding
8bda048e6d
validate galaxy server settings
...
involves some changes to the redact code
2019-10-07 14:02:42 -04:00
AlanCoding
d59d8562db
Avoid redacting Galaxy URLs
2019-10-07 14:02:42 -04:00
Ryan Petrello
f223df303f
convert py2 -> py3
2019-01-15 14:09:01 -05:00
chris meyers
04693ecb0f
remove infinite loop regex
...
* Fancy url finding regex can result in infinite loop for malformed ipv6
urls so replace it with a more nieve regex that can overmatch.
* regex's that find malformed ipv6 urls will be passed to urlparse. This
can result in a parsing/ValueError. For these cases we redact the entire
found URI.
2018-04-13 15:48:06 -04:00
AlanCoding
f03b40aa50
enforce max line length of 160 characters
2017-10-11 12:38:39 -04:00
AlanCoding
bdc04723b0
deal with case that can cause memory errors
2017-01-31 15:31:30 -05:00
Aaron Tan
9e4655419e
Fix flake8 E302 errors.
2016-11-15 20:59:39 -05:00
Akita Noek
831c4c2fef
Cleaned up some more stale TODO's and FIXME's (or did / fixed the things)
2016-06-27 15:12:37 -04:00
Chris Meyers
1e871f8d7c
redact survey password type values w/ tests
2015-02-18 11:37:50 -05:00
Chris Meyers
ee9ae8bb00
fix use before declare and added a missed redact
2015-01-30 15:48:06 -05:00
Chris Meyers
d326aa181e
added uri redaction to stdout
2015-01-30 10:18:53 -05:00