Commit Graph

15317 Commits

Author SHA1 Message Date
Ryan Petrello
9d81727d16 fix a typo on the JT add page that breaks the custom venv field 2018-10-15 11:19:58 -04:00
Ryan Petrello
867ff5da71 minor nit for https://github.com/ansible/tower/pull/3060 2018-10-12 16:17:14 -04:00
Ryan Petrello
d4e3127fb4 properly handle AnsibleVaultEncryptedUnicode objects in the callback 2018-10-12 12:29:46 -04:00
chris meyers
cfb58eb145 fix issue with ldap queries containing unicode 2018-10-10 12:32:27 -04:00
Michael Abashian
3aa07baf26 Merge pull request #3035 from mabashian/3010-extra-vars
Fixes bug where schedule extra vars were not being displayed in the edit form
2018-09-28 09:24:41 -04:00
mabashian
6c98e6c3a0 Actually fix extra vars on edit schedule. This commit takes into account survey question answers which need to get pulled out of extra vars and displayed in the prompt. 2018-09-27 16:49:23 -04:00
mabashian
8aec4ed72e Fixes bug where schedule extra vars were not being displayed in the edit form 2018-09-27 16:30:10 -04:00
chris meyers
0a0cdc2e21 at migration time, validate ldap group type params
* Previously, we have logic in the API to ensure that ldap group type
params, when changed, align with ldap group type Class init
expectations. However, we did not have this logic in the migrations.
This PR adds the validation check to migrations.
2018-09-27 12:18:39 -04:00
Ryan Petrello
9de63832ce properly support deprecated Authorization: Token xyz 2018-09-24 15:16:09 -04:00
John Mitchell
70629ef7f3 Merge pull request #2997 from jlmitch5/fixPageSelector
fix filter page size selector
2018-09-13 10:42:50 -04:00
John Mitchell
1d8bb47726 fix filter page size selector 2018-09-12 17:31:10 -04:00
Matthew Jones
5e16c72d30 Merge pull request #2988 from mabashian/2982-wfjt-list-select
Fixes bug in wfjt node form where rows weren't remaining selected after being clicked
2018-09-12 14:00:32 -04:00
John Mitchell
593ab90f92 update syntax of lodash find call 2018-09-12 10:54:17 -04:00
mabashian
27c06a7285 Fixes bug in wfjt node form where rows weren't remaining selected after being clicked 2018-09-11 16:34:02 -04:00
chris meyers
f82f4a9993 deprecate fact endpoints and commands 2018-09-07 17:46:33 -04:00
Ryan Petrello
43aa0fc741 consolidate celery init signals to avoid an instance registration race 2018-09-07 09:29:53 -04:00
Jake McDermott
093f453073 don't render playbook_on_start events 2018-09-06 13:17:39 -04:00
Jake McDermott
0e696d0515 add destroy hook to index controller 2018-09-06 13:17:30 -04:00
Jake McDermott
c4a29ded1c use el.contents() to remove lines 2018-09-06 13:17:20 -04:00
kialam
146590d0c2 Detect if stdout field is null or undefined. 2018-09-04 11:05:13 -04:00
Ryan Petrello
ec873dd28c fix LicenseForbids 401/402 precendence for other features 2018-08-31 11:23:11 -04:00
Ryan Petrello
1f8736ce1d workflow endpoints should return 401 on invalid credentials
if you have a license that doesn't allow use of workflows, invalid
credentials yielded an HTTP 402; this commit changes the precedence

see: https://github.com/ansible/tower/issues/2950
2018-08-31 10:57:27 -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
c5aa9ee12b Merge pull request #2959 from ryanpetrello/fix-2957
don't access the database in our custom route_for_task
2018-08-30 11:54:32 -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
Jake McDermott
54d967af0d Merge pull request #2947 from jakemcdermott/job-results/colormap
add basic colormap for output lines
2018-08-30 11:40:37 -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
34c659d8b6 Merge pull request #2945 from ryanpetrello/improved-instance-list
make awx-manage instance_list easier to read and more useful
2018-08-29 15:11:38 -04:00
Ryan Petrello
6eb406ac39 make awx-manage instance_list easier to read and more useful 2018-08-29 15:00:05 -04:00
Jake McDermott
cddceb0e06 add basic colormap for output lines 2018-08-29 13:28:05 -04:00
John Mitchell
a549bea815 Merge pull request #2944 from jlmitch5/uiGetLicenseScriptUpdate
Ui get license script update
2018-08-29 12:14:27 -04:00
Jake McDermott
860fbdad02 Merge pull request #2880 from jakemcdermott/fix-2828
add event discard with interactive discontinuities for high volume jobs
2018-08-29 04:01:04 -04:00
Jake McDermott
f639e46718 advance ready counter by an entire batch when event limit is reached 2018-08-29 03:03:24 -04:00
mabashian
148daec49b Remove console.log 2018-08-28 16:14:53 -04:00
John Mitchell
bc7b586803 updated automated ui get license script to only look for nondev deps 2018-08-28 15:49:06 -04:00
mabashian
1408200927 Exposes organization notification list to users with notification admin role 2018-08-28 15:47:28 -04:00
Ryan Petrello
c69e41b261 more UI i18n
see: https://github.com/ansible/tower/issues/1383
2018-08-28 12:47:18 -04:00
mabashian
2592613bde Fixes unit test failures 2018-08-28 11:01:04 -04:00
mabashian
de158cb41d Removes console.log 2018-08-27 17:33:35 -04:00
mabashian
f7737e2f94 Handle notification admin user type in the UI 2018-08-27 17:32:17 -04:00
Jake McDermott
4e45b6ba6d fix missing line styling 2018-08-27 17:17:48 -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
Michael Abashian
d0598e720d Merge pull request #2934 from mabashian/2933-search
Makes search filters additive again
2018-08-27 11:09:23 -04:00
Ryan Petrello
162ef08cef Merge pull request #2935 from mabashian/2873-first-last
Fixes bug removing first/last name from a user
2018-08-27 10:15:27 -04:00
Jake McDermott
aa0d2cff5c handle response data with discontinuities when using that data to fill other discontinuities 2018-08-27 01:38:02 -04:00
Jake McDermott
d608402dc1 refactor render service 2018-08-27 01:37:47 -04:00
Jake McDermott
04dbc2fcc4 add basic click handler for fetching and showing missing events 2018-08-27 01:37:36 -04:00
Jake McDermott
0bc9b1d431 render missing lines instead of auto-unfollowing 2018-08-27 01:37:28 -04:00