AlanCoding
bdc7efb274
humble beginnings of survey question type validation
2018-10-11 12:10:40 -04:00
AlanCoding
a4dfd96a8d
Validate ANSIBLE_ injectors on save and increase verbosity
2018-10-09 13:46:51 -04:00
Wayne Witzel III
f18c965a8a
fix test patches
2018-09-28 15:18:59 -04:00
Ryan Petrello
dc3f81920e
Merge pull request #2302 from AlanCoding/verbose_data
...
create_preload_data: log no-op operation, remove unnecessary credential
2018-09-26 16:35:18 -04:00
Ryan Petrello
23d4122574
properly support deprecated Authorization: Token xyz
2018-09-24 14:50:33 -04:00
AlanCoding
5900af726b
log no-op operation and changed status
2018-09-21 15:23:02 -04:00
Shane McDonald
580004b395
Merge remote-tracking branch 'downstream/release_3.3.0' into devel
...
# Conflicts:
# awx/main/notifications/slack_backend.py
2018-09-18 08:11:50 -04:00
Ryan Petrello
43aa0fc741
consolidate celery init signals to avoid an instance registration race
2018-09-07 09:29:53 -04:00
Alan Rominger
50a9f0be6b
Merge pull request #2960 from AlanCoding/bad_locks
...
Put atomic block inside lock block
2018-08-30 14:53:01 -04:00
Ryan Petrello
34ceaf4551
fix a subtle bug in awx.main.access.OAuth2ApplicationAccess.can_read
...
see: https://github.com/ansible/tower/issues/2952
2018-08-30 14:21:03 -04:00
AlanCoding
786e907e3b
put atomic block inside lock block
2018-08-30 12:54:53 -04:00
Ryan Petrello
24f8cb49b5
don't access the database in our custom route_for_task
...
If database connectivity is lost/interrupted in this block of celery
internals, beat is *not* smart enough to recover, and it gets stuck in
an endless fail loop. We don't _need_ to talk to the database here
anyways; just use settings.CLUSTER_HOST_ID to get what we need.
see: https://github.com/ansible/tower/issues/2957
2018-08-30 11:40:43 -04:00
Ryan Petrello
9ae41dc3ba
write custom inventory scripts to AWX_PRIVATE_DATA_DIR
...
this makes it so that custom inventory scripts can access credential
files laid down in `/tmp/awx_N_<xyz>`
see: https://github.com/ansible/tower/issues/2951
2018-08-30 08:32:27 -04:00
Ryan Petrello
6eb406ac39
make awx-manage instance_list easier to read and more useful
2018-08-29 15:00:05 -04:00
Ryan Petrello
2acc488adf
properly sanitize long event keys
...
see: https://github.com/ansible/tower/issues/1775
2018-08-27 13:40:26 -04:00
Jake McDermott
13203af353
Merge pull request #2921 from jakemcdermott/job-results/event-replay-skip-range
...
add option to job replay tool for skipping a range of job events
2018-08-25 22:54:46 -04:00
Alan Rominger
b742746e5d
Merge pull request #2928 from AlanCoding/even_more_diff
...
Prefetch prior list of instances at start of policy calc task
2018-08-24 16:44:08 -04:00
AlanCoding
74fc0fef04
Manually pin reference list at start of pg_lock block
2018-08-24 15:28:28 -04:00
Ryan Petrello
4561fd7270
fix an auth-related typo in a docstring
2018-08-24 11:56:11 -04:00
Ryan Petrello
5561eb30f7
emulate /api/v2/authtoken/ to help customers transition to OAuth2.0
2018-08-24 11:05:41 -04:00
Jake McDermott
e2c4fd5ebb
add option for skipping counter slice range of events
2018-08-23 18:12:57 -04:00
Ryan Petrello
a271837007
set the session cookie expiry *properly* on each request
...
see: https://github.com/ansible/tower/issues/2907
2018-08-22 15:26:03 -04:00
Ryan Petrello
4bc63cc37e
fix a bug that broke bot avatars for Slack notifications
...
when a *color* is specified for a Slack notification template, we use
the *web* not the RTM API; when you use a bot with the web API, you have
to specify the `as_user=True` argument to have the message use the bot's
name and avatar
see: https://github.com/ansible/tower/issues/2883
see: https://github.com/ansible/awx/issues/2187
2018-08-22 10:57:13 -04:00
Ryan Petrello
67d1267d98
enforce 0 <= Instance.capacity_adjustment
...
see: https://github.com/ansible/tower/issues/2839
2018-08-21 15:34:19 -04:00
Alan Rominger
598449c2ce
Merge pull request #2882 from AlanCoding/just_credential2
...
[option2] move inventory source vault credential validation from view to model
2018-08-21 13:24:50 -04:00
Ryan Petrello
4eeb62766e
apply sensitive field filtering to /api/v2/hosts/?host_filter
...
see: https://github.com/ansible/tower/issues/2874
see: https://github.com/ansible/tower/issues/2889
2018-08-21 08:17:14 -04:00
Ryan Petrello
a36b0061fa
fix failing unit tests
2018-08-20 19:57:28 -04:00
AlanCoding
9a85578925
move inv src vault cred validation from view to model
2018-08-20 08:53:55 -04:00
Ryan Petrello
30fbeb43bb
fail CI if the change includes model changes that are missing migrations
2018-08-16 17:43:32 -04:00
Ryan Petrello
14043f792a
fix up remaining Django migrations
...
these don't really change anything in the schema; they just look like
Django ORM idiosyncrancies that `makemigrations` needs to be happy
see: https://github.com/ansible/tower/issues/2203
2018-08-16 13:59:06 -04:00
Christian Adams
9632f3b69e
Merge pull request #2847 from rooftopcellist/fix_actstream_migration
...
Fix a variety of missing migrations
2018-08-16 13:32:53 -04:00
adamscmRH
da1da6f530
Fix oauth and std out mystery migrations
2018-08-16 13:08:45 -04:00
Ryan Petrello
e87633f1d8
Merge pull request #2859 from ryanpetrello/shhhhhhhhhhhhhhhhhhhhhhhhhh
...
make inventory updates considerably less verbose by default
2018-08-16 09:34:14 -04:00
Ryan Petrello
4c7c8b6db3
make inventory updates considerably less verbose by default
...
see: https://github.com/ansible/tower/issues/2858
2018-08-15 16:04:15 -04:00
Ryan Petrello
87adfe5889
close DB and cache sockets _immediately_ before we fork callback workers
2018-08-15 15:10:08 -04:00
Ryan Petrello
5f6907ba83
show a better error when a custom venv doesn't exist on an isolated node
...
see: https://github.com/ansible/tower/issues/2852
2018-08-15 13:31:25 -04:00
Yunfan Zhang
b690e61576
Merge pull request #2849 from YunfanZhang42/release_3.3.0
...
Prevent implicit project updates from blocking jobs.
2018-08-15 12:13:11 -04:00
Yunfan Zhang
5c23c63e6d
Prevent implicit project updates from blocking jobs.
...
Signed-off-by: Yunfan Zhang <yz322@duke.edu >
2018-08-15 11:48:58 -04:00
Ryan Petrello
79a29ebcc8
add indexes for new event types
...
not sure why this didn't happen in the original migration that was
generated - may be related to differences in behavior across Django
versions?
2018-08-14 16:57:13 -04:00
adamscmRH
61931d0b6c
add RefreshToken tests
2018-08-13 10:08:08 -04:00
Ryan Petrello
8723508225
fix failing tests related to 2c4f7911a6
2018-08-10 12:45:35 -04:00
Ryan Petrello
18f6f68540
Merge remote-tracking branch 'tower/release_3.3.0' into devel
2018-08-10 11:54:34 -04:00
chris meyers
c7c9620f03
vary the pk
2018-08-09 17:53:31 -04:00
chris meyers
45f2fe7f90
add test for first net cred ssh password protected wins
2018-08-09 17:53:23 -04:00
chris meyers
3960a72c8a
first net password-protected ssh key wins
2018-08-09 17:53:13 -04:00
chris meyers
bc2b2214a8
add test for ssh over network ssh key password preference
2018-08-09 17:53:06 -04:00
chris meyers
3c2b18a965
add pexpect test for net cred
2018-08-09 17:52:55 -04:00
chris meyers
f5aed74503
fill in network ssh password protected keys
2018-08-09 17:52:45 -04:00
Chris Meyers
439e4fc138
Merge pull request #2811 from chrismeyersfsu/fix-network_encrypted_ssh_keys
...
fill in network ssh password protected keys
2018-08-09 17:49:59 -04:00
Christian Adams
71beb9a257
Merge pull request #2810 from rooftopcellist/hide_app_client_secret
...
hide client_secret from API
2018-08-09 17:44:12 -04:00