softwarefactory-project-zuul[bot]
d0af952685
Merge pull request #3027 from rooftopcellist/amend_auth_code_help_txt
...
correct authorization code expiration help-text
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 20:37:21 +00:00
softwarefactory-project-zuul[bot]
fbc7f496c5
Merge pull request #3024 from ryanpetrello/ldap-gc-deadlock
...
fix a deadlock when Python garbage collects LDAPBackend objects
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 19:25:11 +00:00
John Mitchell
bb19a4234e
Merge pull request #3003 from jlmitch5/newSettingsInUI
...
add new settings to ui
2019-01-18 14:20:31 -05:00
Christian Adams
5c080678a6
correct authorization code expiration help-text
2019-01-18 13:27:01 -05:00
John Mitchell
2df51a923d
change grant reference to code in ui help text
2019-01-18 13:13:15 -05:00
Tyler Cross
0da0a8e67b
CORS Support
...
Added the django-cors-headers app and middleware to make CORS possible.
2019-01-18 12:49:00 -05:00
John Mitchell
b75ba7ebea
remove auth misc form and move fields under system misc form
2019-01-18 12:43:21 -05:00
John Mitchell
24de951f6c
add access token and authorization code expiration settings to ui
2019-01-18 12:43:21 -05:00
John Mitchell
974306541e
add isolated settings to ui
2019-01-18 12:43:21 -05:00
softwarefactory-project-zuul[bot]
d2fa5cc182
Merge pull request #3013 from ryanpetrello/ansible-py3-venv
...
add support for custom py3 ansible virtualenvs
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-18 16:29:27 +00:00
Ryan Petrello
e45e4b3cda
fix a deadlock when Python garbage collects LDAPBackend objects
...
we shouldn't call signal.disconnect in __del__ because it can lead to
deadlocks in Django signal dispatch code
The Signal.connect, Signal.disconnect, and Signal._live_receivers
methods all share a threading.Lock():
22a60f8d0b/django/dispatch/dispatcher.py (L49)
It's possible for this to lead to a deadlock:
1. Have code that calls Signal._live_receivers and enter the critical
path inside the shared threading.Lock()
2. Python garbage collection occurs and finds one or more LDAPBackend
objects with no more references
3. This __del__ is called, which calls Signal.disconnect
4. Code in Signal._disconnect attempts to obtain the (already held)
threading.Lock
5. Python hangs forever while attempting to garbage collect
2019-01-18 11:27:50 -05:00
Ryan Petrello
65641c7edd
add support for custom py3 ansible virtualenvs
2019-01-18 10:55:53 -05:00
Bianca
f1e3be5ec8
Removing unicode fix-related lines in ha.py
2019-01-17 14:42:38 -05:00
Bianca
bf5657a06a
Update register_queue.py file to enable registration of instance groups with unicode
2019-01-17 14:36:46 -05:00
softwarefactory-project-zuul[bot]
f583dd73e8
Merge pull request #3008 from AlanCoding/inv_cleanup2
...
Remove deprecated logic & components from inventory import command
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-17 19:23:02 +00:00
AlanCoding
28822d891c
remove unneeded steps in inventory import
...
Delete some cases that directly loads scripts due
to ansible-inventory group_vars problem (now fixed)
Delete intermediate method that was a go-between the
command and the loader class
Change return type of loader from MemInventory to
a simple python dict
remove backport script and star imports
2019-01-17 08:44:55 -05:00
Ryan Petrello
37dbfa88f9
close the persistent shelve when we're done checking it
...
this code was added to detect celerybeat shelve .db corruption, but it caused a different issue; opening the shelve in this way puts a write lock on it, which means that when we attempt to open it _again_ moments later, we can't.
when we're done checking the validity of the file, we need to close it
2019-01-17 08:20:21 -05:00
softwarefactory-project-zuul[bot]
134950ade1
Merge pull request #3006 from ansible/documentation
...
Documentation of E2E test fixtures, etc.
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-16 23:43:46 +00:00
Daniel Sami
7258a43bad
rewording, typo corrections
2019-01-17 08:28:22 +09:00
Ryan Petrello
6d04bd34ce
enforce key order when writing swagger docs JSON
2019-01-16 16:00:27 -05:00
Daniel Sami
ae3ab89515
lint fix
2019-01-16 11:06:25 +09:00
Daniel Sami
0c250cd6af
Updated parameter info
2019-01-16 10:44:22 +09:00
Ryan Petrello
33c1416f6c
work around a py3 bug in celerybeat
2019-01-15 15:19:02 -05:00
Ryan Petrello
3d7fcb3835
fix a few isolated issues related to the py2 -> py3 move
2019-01-15 14:09:05 -05:00
Ryan Petrello
2016798e0f
fix a few UTF-8 bugs on Ubuntu related to stdout text downloads
2019-01-15 14:09:05 -05:00
Ryan Petrello
39d119534c
support isolated runs in py2 *and* py3 (for now)
...
once we merge in runner support for isolated environments, we can
revert this commit (because we'll always run isolated code using python3
executables)
2019-01-15 14:09:05 -05:00
Author: Jim Ladd
2c5bdf3611
fix some isolated py3 bugs
2019-01-15 14:09:05 -05:00
Ryan Petrello
af4234556e
remove dm.xmlsec.binding
...
python-saml uses dm.xmlsec.binding only supports python2
by moving to py3, we now use python3-saml (which uses python-xmlsec
instead)
see: https://github.com/onelogin/python-saml/issues/145#issuecomment-222021691
2019-01-15 14:09:05 -05:00
Ryan Petrello
f223df303f
convert py2 -> py3
2019-01-15 14:09:01 -05:00
softwarefactory-project-zuul[bot]
f22fd58392
Merge pull request #3007 from AlanCoding/test_logging
...
Updates to logging, specifically for unit tests
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-15 18:19:58 +00:00
AlanCoding
cccc038600
Updates to logging, specifically for unit tests
2019-01-15 11:34:54 -05:00
softwarefactory-project-zuul[bot]
b9607dd415
Merge pull request #2983 from mabashian/upgrade-jquery-mabashian
...
Upgrades jQuery and Bootstrap
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-01-15 14:06:33 +00:00
mabashian
66a859872e
Fixes for numerous bootstrap upgrade bugs, uses variables for colors in bootstrap override style file
2019-01-15 08:40:35 -05:00
Daniel Sami
62ebf85b96
Documentation of functions
2019-01-14 19:18:47 -05:00
mabashian
7194338653
Reduces flake on launch job e2e test
2019-01-14 10:54:37 -05:00
mabashian
3b456d3e72
Fix credential list e2e test
2019-01-11 16:44:59 -05:00
mabashian
99205fde16
Fixes linting errors
2019-01-11 13:06:52 -05:00
mabashian
8539eae114
Fixes for e2e tests
2019-01-11 12:50:01 -05:00
Ryan Petrello
32c14d6eab
catch _all_ types of django.db.utils.Error on CTinT key lookups
2019-01-11 08:49:47 -05:00
AlanCoding
d1b42fd583
Optimize dashboard using Django annotation for sum
2019-01-10 12:22:39 -05:00
mabashian
2dfb0abb69
Fixes jshint errors
2019-01-09 11:45:51 -05:00
mabashian
7bcbaabd71
Removed extraneous comments
2019-01-09 11:03:51 -05:00
mabashian
9c20e1b494
Upgrades jquery and bootstrap
2019-01-09 11:03:51 -05:00
softwarefactory-project-zuul[bot]
aa8cda0001
Merge pull request #2801 from ryanpetrello/more-robust-isolated-capacity
...
collect isolated capacity using a cache plugin, not stdout parsing
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-12-20 20:01:00 +00:00
Bill Nottingham
479ad13630
Fix some more typos while here.
2018-12-18 16:23:17 -05:00
Bill Nottingham
23c2e1be31
Fix 'credential' typo.
2018-12-18 16:12:10 -05:00
softwarefactory-project-zuul[bot]
7628ef01f1
Merge pull request #2938 from mabashian/wf-details-click
...
Updates to workflow node details link
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-12-18 12:06:33 +00:00
mabashian
c0730aa562
Prevent mousedown on details link from triggering pan functionality
2018-12-17 15:20:34 -05:00
mabashian
67d6a9f9ea
Fixes display of wf node details link in FF by adding height and width
2018-12-17 14:33:48 -05:00
mabashian
f9854abfa1
Fixed linting error
2018-12-17 10:40:20 -05:00