AlanCoding
6d961d92c9
block system auditors from attaching notification templates
2017-02-17 16:17:07 -05:00
Alan Rominger
68fc75070d
Merge pull request #5348 from AlanCoding/dual_jt_count
...
Update organization counts to correspond with UI lists
2017-02-17 10:13:10 -05:00
Alan Rominger
377d6ebcab
Merge pull request #5396 from AlanCoding/signal_intelligence
...
Avoid a particular kind of nonsense activity stream entry
2017-02-17 10:09:59 -05:00
Alan Rominger
b25a040278
Merge pull request #5418 from AlanCoding/orphan_hack
...
Make triple-sure that system admins can manage orphaned JTs
2017-02-17 10:07:02 -05:00
Matthew Jones
6f84849f1a
Disable retry files on ansible runs
2017-02-17 09:55:52 -05:00
AlanCoding
6b45aa758c
fix special case where orphan JTs can not be edited by system admins in UI
2017-02-16 14:48:20 -05:00
AlanCoding
d67dadd649
avoid activity stream entries of singleton implicit role associations
2017-02-16 10:22:21 -05:00
Ryan Petrello
424174154d
Merge pull request #5383 from ryanpetrello/fix-5311
...
don't allow private key passphrases for unencrypted private ssh keys
2017-02-16 08:44:06 -05:00
Chris Meyers
d0d44e03e1
Merge pull request #5388 from chrismeyersfsu/fix-5275
...
ensure job deps are created only once
2017-02-15 17:11:27 -05:00
Chris Meyers
6e9488a59b
ensure job deps are created only once
2017-02-15 15:54:30 -05:00
AlanCoding
d687ff1be0
delete disable_signals fixture that is not being used
2017-02-15 15:34:14 -05:00
Alan Rominger
0e4f3c8015
Merge pull request #5376 from AlanCoding/logger_full_reload
...
Add supervisor command to restart select services on reload event
2017-02-15 15:19:27 -05:00
AlanCoding
3023b4dfaa
switch to new nested with pattern from PR review
2017-02-15 14:58:04 -05:00
Matthew Jones
785a8d0789
Fix an issue where smtplib can't handle unicode strings
...
We probably do get this value as unicode originally but when we store
it, due to a recently fixed bug it will come out as *not* unicode.
So things were accidentally working because py2 smtplib uses hmac
which won't accept unicode.
This change adds a flag to encrypt_field that forces it to skip the
utf8 fixup from before for narrow use cases.
2017-02-15 14:07:30 -05:00
AlanCoding
7e3a5fd2c2
move reload functionality to its own file
2017-02-15 13:42:49 -05:00
Ryan Petrello
4cbdeb0d30
don't allow private key passphrases for unencrypted private ssh keys
...
see: #5311
2017-02-15 12:27:27 -05:00
AlanCoding
186b672e4f
move service definition into settings
2017-02-15 12:07:30 -05:00
AlanCoding
d8f133d175
Add supervisor command to restart select services on reload event
2017-02-15 09:13:59 -05:00
Ryan Petrello
ee8c82df4a
fix a test that fails due to a race between async logging requests
2017-02-14 15:18:03 -05:00
Matthew Jones
8553b8eda6
Ignore hipchat certificate verification
2017-02-14 14:21:51 -05:00
AlanCoding
d054f86652
update organization counts to correspond with UI lists
2017-02-14 14:05:23 -05:00
Ryan Petrello
e3653b0e18
Merge pull request #5301 from ryanpetrello/fix-5276
...
fix several issues that are preventing usage of unicode as CTinT values
2017-02-14 11:51:30 -05:00
Alan Rominger
3f0c42c1f6
Merge pull request #5329 from AlanCoding/disable_sig_jobs
...
Disable computed fields in cleanup_jobs
2017-02-13 17:35:24 -05:00
AlanCoding
770580b612
special case for user capability with null WFJT organization
2017-02-13 16:25:05 -05:00
Alan Rominger
c5da81eb19
Merge pull request #5305 from AlanCoding/celery_dynamic_option
...
Get celery logging autoreload + don't reconfigure the whole config
2017-02-13 16:22:40 -05:00
Chris Meyers
2432a3d3c3
Revert "remove partial dependency job id logic"
...
This reverts commit 4bb3a4909e616209fc291b2b3cee46469bc58f9e.
2017-02-13 16:16:43 -05:00
Ryan Petrello
5a8a647cf0
default log aggregator username and password to an empty string
...
other configuration options seem to follow this pattern; the UI code
seems to expect that it can send across an empty string
see: #5276
2017-02-13 16:09:31 -05:00
Ryan Petrello
2c7cb4a370
add utf-8 support to utils.common.encrypt_field/decrypt_field
2017-02-13 16:09:31 -05:00
AlanCoding
fbe712dcd1
refactor adding logger loop from PR review
2017-02-13 15:45:05 -05:00
AlanCoding
603dfea580
get rid of HTTPSHandler subclass which is not needed
2017-02-13 15:07:33 -05:00
Chris Meyers
6371fcaa92
Merge pull request #5328 from chrismeyersfsu/fix-5275
...
remove partial dependency job id logic
2017-02-13 14:56:22 -05:00
Wayne Witzel III
df4fe4df2b
Merge pull request #5327 from wwitzel3/issue-4730
...
Allow execute role to see their schedules
2017-02-13 12:51:53 -05:00
Chris Meyers
b693b06706
remove partial dependency job id logic
...
* Late in the release we added job dependency tracking to the DB. We
decided not to use this information in the scheduler. However, I
half-ass added code to the scheduler to use it. Note that we still
determine inv and job update dependency by using a hack of the related
creation time, job.created-2 and job.created-1 respectively.
This removes any use of job dependent id expect for purposes of chain
failing.
2017-02-13 12:48:00 -05:00
Wayne Witzel III
ee25be1e67
Allow execute role to see their schedules
2017-02-13 12:34:47 -05:00
AlanCoding
b0e992d6ab
disable computed field signals in cleanup_jobs
2017-02-13 12:34:21 -05:00
Matthew Jones
8c4d4a0543
Protect Tower from Ansible core making changes to the event uuids
2017-02-13 11:55:08 -05:00
AlanCoding
d912013db7
fix some bugs with the logging reload approach
2017-02-10 15:57:24 -05:00
AlanCoding
cdf28f1bca
remove old logger reconfig method
2017-02-10 11:54:19 -05:00
AlanCoding
91031cbbc8
modularize logging config in proper Django fashion
2017-02-10 11:38:32 -05:00
Chris Meyers
fe29446298
Merge pull request #5286 from chrismeyersfsu/fix-5253
...
check job status before marking as failed
2017-02-09 16:40:30 -05:00
Ryan Petrello
e5e0bd191a
Merge pull request #5289 from ryanpetrello/fix-5276
...
fix a typo in a log handler test
2017-02-09 16:01:07 -05:00
Alan Rominger
0234d7676d
Merge pull request #5285 from AlanCoding/fifo2
...
Get uWSGI reloading working in dev environment
2017-02-09 15:56:47 -05:00
Alan Rominger
8c1be80215
Merge pull request #5277 from AlanCoding/various_logging_updates
...
Update logging docs & switch out null logger
2017-02-09 15:56:09 -05:00
Ryan Petrello
a69815faa0
fix a typo in a log handler test
2017-02-09 15:50:28 -05:00
AlanCoding
1d6a36876b
have tasks.py deduce location of uwsgi fifo
2017-02-09 15:27:58 -05:00
Chris Meyers
dfb7b08380
check job status before marking as failed
...
* When rectifying celery <-> db job status, re-check the job status to
ensure it did not finish between the time that we pulled the list of
celery tasks from celery and the time in which we rectify.
2017-02-09 15:27:08 -05:00
Ryan Petrello
a2a4ea486a
Merge pull request #5280 from ryanpetrello/fix-5276
...
correctly set the Authorization header for non-async log handling
2017-02-09 15:23:40 -05:00
Ryan Petrello
cee0b29fef
clarify a logging handler docstring
2017-02-09 15:16:58 -05:00
Ryan Petrello
1b9a2e4a36
correctly set the Authorization header for non-async log handling
...
see: #5276
2017-02-09 15:14:39 -05:00
Matthew Jones
aeee6db868
Trigger rabbitmq cluster node removal from deprovisioning
2017-02-09 13:36:59 -05:00