John Mitchell
ac70945071
Merge pull request #1657 from jlmitch5/jobsNewListUi
...
implement new style jobs list in ui
2018-03-26 11:07:56 -04:00
Michael Abashian
e486b16706
Merge pull request #1662 from mabashian/1555-permissions-checkboxes
...
Fixed permissions multi-select deselect bug
2018-03-26 10:30:42 -04:00
Michael Abashian
b1e959bdaa
Merge pull request #1671 from mabashian/t-1099-workflow-nodes
...
Fixed several workflow node bugs
2018-03-26 10:30:23 -04:00
John Mitchell
01982e7eab
utilize transation for instance groups jobs sub panels titles
...
and fix a few linting errors
2018-03-26 10:07:47 -04:00
Matthew Jones
f5252d9147
Merge pull request #1624 from theblazehen/devel
...
Add Rocket.Chat notification type
2018-03-26 06:41:48 -07:00
Jeandre Le Roux
c25d8a5d34
Fix rocket.chat notification test flake8
...
Signed-off-by: Jeandre Le Roux <theblazehen@theblazehen.com >
2018-03-26 15:13:33 +02:00
Christian Adams
8646aa8c34
Merge pull request #1673 from HNKNTA/devel
...
Fixed parentless function
2018-03-26 09:06:18 -04:00
HNKNTA
7ddbc49568
Fixed parentless function
...
Signed-off-by: HNKNTA <hnknta@gmail.com >
2018-03-25 18:33:46 +03:00
John Mitchell
f3329c8cce
fix instance groups sub jobs lists
2018-03-23 17:00:41 -04:00
mabashian
348de30a17
Fixed several workflow node bugs
2018-03-23 15:50:34 -04:00
John Mitchell
babad0b868
move all jobs views to using new view
2018-03-23 14:53:20 -04:00
Shane McDonald
1595947ae2
Merge pull request #1663 from jakemcdermott/fix-docker-installer-paths
...
update reference to role file path to work with installer roles dir
2018-03-23 12:43:54 -04:00
Jake McDermott
4a8f24becc
update reference to role file path to work with roles dir
2018-03-23 12:43:13 -04:00
mabashian
bf142fa434
Fixed permissions multi-select deselect bug
2018-03-23 10:51:44 -04:00
Ryan Petrello
07680dd7c0
Merge pull request #1652 from ryanpetrello/fix-500
...
send job notification templates _after_ all events have been processed
2018-03-23 10:51:06 -04:00
John Mitchell
95f80ce512
implement new style jobs list in ui
2018-03-23 09:35:41 -04:00
Michael Abashian
e7cfe1e0b6
Merge pull request #1640 from mabashian/1561-survey-multi-select
...
Fixed bug on non-required multiple choice survey questions
2018-03-23 09:31:56 -04:00
Michael Abashian
224d996b9c
Merge pull request #1622 from mabashian/169-prompt-cleanup
...
Propagate new launch/relaunch logic across the app
2018-03-23 09:31:33 -04:00
mabashian
7a4bc233f6
Pass job into the relaunch component rather than pull it from the parent. Added launch template component, use it on the templates lists.
2018-03-22 16:14:54 -04:00
Shane McDonald
caf576cac0
Merge pull request #1655 from shanemcd/devel
...
Move installer roles into roles directory
2018-03-22 14:39:03 -04:00
Shane McDonald
84cd933702
Move installer roles into roles directory
...
Signed-off-by: Shane McDonald <me@shanemcd.com >
2018-03-22 14:34:03 -04:00
mabashian
c3b32e2a73
Cleaned up awRequireMultiple and fixed broken survey question error messaging
2018-03-22 11:58:47 -04:00
Jeandre Le Roux
0525df595e
Add unit test for rocket.chat notifications
...
Signed-off-by: Jeandre Le Roux <theblazehen@theblazehen.com >
2018-03-22 16:11:03 +02:00
Ryan Petrello
f59f47435b
send job notification templates _after_ all events have been processed
...
see: https://github.com/ansible/awx/issues/500
2018-03-22 09:30:41 -04:00
Chris Meyers
ddf000e8e7
Merge pull request #1643 from chrismeyersfsu/fix-tower_special_group
...
do not allow tower group delete or name change
2018-03-22 08:06:03 -04:00
chris meyers
305ef6fa7e
do not allow tower group delete or name change
...
* DO allow policy changes and other attribute changes
2018-03-22 08:05:06 -04:00
Chris Meyers
3446134501
Merge pull request #1646 from chrismeyersfsu/fix-kombu_unicode
...
use non-unicode queue names
2018-03-21 21:59:05 -04:00
Bill Nottingham
eae85e803e
Merge pull request #1644 from wenottingham/botbotbot
...
update team map
2018-03-21 19:35:58 -04:00
mabashian
8d04be0fc8
Fixed unit test failures
2018-03-21 19:22:08 -04:00
chris meyers
e0803b9f08
use non-unicode queue names
...
* Use unicode InstanceGroup and queue names up until the point we
actually create the queue
* kombu add_consumers returns a dict with a value that contians the
passed in queue name. Trouble is, the returned dict value is a string
and not a unicode string and this results in an error.
2018-03-21 16:50:07 -04:00
Chris Meyers
724812e87c
Merge pull request #1637 from chrismeyersfsu/fix-instance_removed_from_group
...
handle instance group names unicode
2018-03-21 15:47:00 -04:00
Bill Nottingham
45240a6bf0
update team map
2018-03-21 15:46:50 -04:00
mabashian
0cadea1cb5
Fixed bug preventing the user from ignoring a non-required multi-select survey question on launch
2018-03-21 14:55:38 -04:00
Alan Rominger
b3e15f70cb
Merge pull request #1612 from AlanCoding/token_no
...
Make user_capabilities False for read tokens
2018-03-21 14:45:19 -04:00
Ryan Petrello
a13ddff81a
Merge pull request #1627 from aperigault/fix_deprecation
...
Replace deprecated -U option by --become-user
2018-03-21 14:32:13 -04:00
Bill Nottingham
88ef889cf1
Merge pull request #1634 from wenottingham/winrm-rf
...
Cherry-pick fix for WinRM listener to AzureRM inventory script.
2018-03-21 14:13:08 -04:00
chris meyers
91bfed3d50
handle instance group names unicode
2018-03-21 13:41:48 -04:00
AlanCoding
4f1f578fde
make user_capabilities False for read tokens
2018-03-21 13:14:14 -04:00
Ryan Petrello
1a542c5e06
Merge pull request #1620 from ryanpetrello/dynamic-autoscale
...
dynamically set worker autoscale max_concurrency based on system memory
2018-03-21 11:52:16 -04:00
Marliana Lara
6e11b5b9c8
Merge pull request #1557 from marshmalien/feat/final_granular_permission_types
...
New RBAC roles at the Org level
2018-03-21 11:35:15 -04:00
Marliana Lara
4106e496df
Merge pull request #1574 from marshmalien/fix/capacity_adjustment_value
...
Add capacity adjuster slider label
2018-03-21 11:35:03 -04:00
Ryan Petrello
6a96e6a268
dynamically set worker autoscale max_concurrency based on system memory
2018-03-21 11:10:48 -04:00
mabashian
bee7148c61
Addressed jshint errors
2018-03-21 10:59:13 -04:00
Marliana Lara
2ae02fda82
Update pr based on feedback
2018-03-21 10:55:00 -04:00
Marliana Lara
01d35ea9c0
Show organizations based on more granular RBAC roles
2018-03-21 10:54:59 -04:00
Marliana Lara
c156a0af99
Add capacity adjustment slider label
2018-03-21 10:53:16 -04:00
Bill Nottingham
531e5b5137
Cherry-pick fix for WinRM listenr to AzureRM inventory script.
...
(ref: https://github.com/ansible/ansible/pull/37499/ )
2018-03-21 10:46:30 -04:00
mabashian
f0ff578923
Cleanup linting errors
2018-03-21 10:27:48 -04:00
Antony PERIGAULT
3adcdb43ad
Replace deprecated -U option by --become-user
2018-03-21 12:28:27 +01:00
Jeandre Le Roux
fd12c44ada
Add Rocket.Chat notification type
...
Summary: Add Rocket.Chat notification type
Issue type: Feature Pull Request
Component: Notifications
Signed-off-by: Jeandre Le Roux <theblazehen@theblazehen.com >
2018-03-21 10:02:50 +02:00
Bill Nottingham
e58038b056
Merge pull request #1623 from cvick/patch-1
...
Added a space before closing quote to fix spelling
2018-03-20 23:25:12 -04:00
Chris Vick
fca1e7028f
Added a space before closing quote to fix spelling
...
Without the space before the lines closing quote, 'or' and 'other' get concatenated to 'orother' in the tooltip
2018-03-20 19:36:37 -07:00
Wayne Witzel III
f4e57e2906
Merge pull request #1608 from wwitzel3/devel
...
System Setting for Orgainization User/Team permissions.
2018-03-20 17:17:49 -04:00
mabashian
2e858790db
Propagate launch/relaunch logic across the app. Removed some old launch related factories.
2018-03-20 15:53:21 -04:00
Alan Rominger
8056ac5393
Delay import of freeze to make tests run ( #1617 )
...
* Delay import of freeze to make tests run
* fix flake8 error
2018-03-20 11:58:11 -04:00
Matthew Jones
6419339094
Merge pull request #1570 from rooftopcellist/authorization_flow_docs
...
add authorization grant to docs
2018-03-20 07:26:10 -07:00
Matthew Jones
3ee8b3b514
Merge pull request #1613 from EagleIJoe/patch-1
...
Corrected alternate dns servers entries in docker-compose template
2018-03-20 07:24:31 -07:00
Wayne Witzel III
d7f26f417d
Reword help text for manage org auth
2018-03-20 07:31:08 -04:00
Alan Rominger
30fb4076df
Merge pull request #1569 from AlanCoding/relaunch_survey
...
Allow normal users to relaunch jobs with survey answers
2018-03-20 07:14:09 -04:00
Matthew Jones
c0661722b6
Merge pull request #1523 from paihu/slack-color-notification
...
support slack color notification #1490
2018-03-19 18:05:28 -07:00
Martin Adler
ca7b6ad648
Corrected alternate dns servers entries
...
As lstrip_blocks: True was added, this broke the formating when adding alternate DNS servers within the template. Removing the extra white space removals within the if and endif statements fixed the resulting yml formating.
2018-03-19 21:08:52 +01:00
Wayne Witzel III
d5564e8d81
Fix user capabilities when MANAGE_ORGANIZATION_AUTH is disabled
2018-03-19 15:16:54 -04:00
Wayne Witzel III
a9da494904
switch to single toggle and change name
2018-03-19 14:45:52 -04:00
John Mitchell
a9e13cc5f4
Merge pull request #1580 from jlmitch5/usersAppCrudUi
...
implement users tokens sub list
2018-03-19 13:23:29 -04:00
Wayne Witzel III
771108e298
Protect team assignment for the roles access point
2018-03-19 12:10:13 -04:00
Wayne Witzel III
eb3b518507
Add Organization User/Team toggle to UI
2018-03-19 11:25:14 -04:00
Wayne Witzel III
33ac8a9668
System wide toggle for org admin user/team abilities
2018-03-19 11:24:36 -04:00
Ryan Petrello
2b443b51eb
Merge pull request #1606 from ryanpetrello/uwsgi-top
...
add uwsgitop as a dependency
2018-03-19 10:58:22 -04:00
Ryan Petrello
918f372c20
add uwsgitop as a dependency
...
see: https://github.com/ansible/ansible-tower/issues/7966
2018-03-19 08:53:30 -04:00
Matthew Jones
681918be9a
Merge pull request #1598 from ryanpetrello/pin-boto-core
...
pin botocore to avoid dependency hell re: latest python-dateutil
2018-03-17 13:08:44 -07:00
Bill Nottingham
2780cd0d4c
Merge pull request #1601 from wenottingham/following-a-new-path
...
Just set ANSIBLE_SSH_CONTROL_PATH_DIR, and don't worry about the socket file name.
2018-03-16 22:35:26 -04:00
John Mitchell
cbc20093d7
move users tokens to features folder
2018-03-16 17:15:28 -04:00
Bill Nottingham
6fc4274c68
Just set ANSIBLE_SSH_CONTROL_PATH_DIR, and don't worry about the socket file name.
...
Ansible itself (since 2.3) has code to have a shorter hashed control path socket name.
2018-03-16 16:56:45 -04:00
Ryan Petrello
4f585dd09e
pin botocore to avoid dependency hell re: latest python-dateutil
...
boto decided to pin python-dateutil on a version _lower than_ what we
need for the TZID= bug fix:
90d7692702 (diff-b4ef698db8ca845e5845c4618278f29a)
2018-03-16 16:08:03 -04:00
John Mitchell
8babac49a6
update users token crud list to utilize string file
2018-03-16 15:56:30 -04:00
Matthew Jones
8aa7e4692d
Merge pull request #1596 from ansible/jlmitch5-patch-3
...
update .gitignore to include tower license dir
2018-03-16 12:36:00 -07:00
John Mitchell
cf20943434
update .gitignore to include tower license dir
2018-03-16 15:33:18 -04:00
Bill Nottingham
d5d2858626
Merge pull request #1591 from wenottingham/bad-date
...
Bump copyright date.
2018-03-16 15:11:10 -04:00
Bill Nottingham
52599f16ad
Bump copyright date.
...
We don't need to do this at the source code level, but we should do it for the app as a whole.
2018-03-16 14:57:08 -04:00
Ryan Petrello
a1f15362ab
Merge pull request #1575 from aperigault/fix_nginx_upstreams
...
Fix nginx upstreams
2018-03-16 14:53:48 -04:00
Alan Rominger
1413659f5f
Merge pull request #1593 from AlanCoding/fix_processed
...
Fix bug with non-event model
2018-03-16 14:53:05 -04:00
AlanCoding
bbbb7def0a
fix bug with non-event model
2018-03-16 14:27:36 -04:00
Marliana Lara
85a95c8cb8
Merge pull request #1577 from marshmalien/fix/empty_ig_list_results_error
...
Fix error where list directive requires results attribute
2018-03-16 13:52:34 -04:00
adamscmRH
5f6a8ca2c0
add authorization grant to docs
2018-03-16 12:21:22 -04:00
Alan Rominger
75dd8d7d30
Merge pull request #1587 from AlanCoding/more_event_blocking
...
Block deletion of resources with unprocessed events
2018-03-16 11:26:33 -04:00
AlanCoding
66108164b9
remove unnecessary mock
2018-03-16 10:55:48 -04:00
AlanCoding
69eccd3130
move ACTIVE_STATES to constants
2018-03-16 10:31:41 -04:00
AlanCoding
7881c921ac
block deletion of resources w unprocessed events
2018-03-16 10:14:28 -04:00
Wayne Witzel III
16aa3d724f
Merge pull request #1586 from wwitzel3/devel
...
Moved RelatedJobMixin impl to Project instead of ProjectUpdate
2018-03-16 09:58:34 -04:00
Wayne Witzel III
6231742f71
Move RelatedJob mixin to Project
2018-03-16 09:42:32 -04:00
Wayne Witzel III
c628e9de0a
Filter active jobs by WFT/JT
2018-03-16 09:32:42 -04:00
Wayne Witzel III
c54d9a9445
Fix query using self -> self.project and fix imports
2018-03-16 09:24:46 -04:00
Wayne Witzel III
f594f62dfc
Project needs to expose all of its ProjectUpdate jobs in an active state
2018-03-16 09:12:20 -04:00
Chris Meyers
0689cea806
Merge pull request #1572 from chrismeyersfsu/fix-instance_removed_from_group
...
handle unicode things in task logger
2018-03-15 16:25:13 -04:00
Chris Meyers
0cf1b4d603
Merge pull request #1535 from chrismeyersfsu/fix-protect_tower_group
...
prevent tower group delete and update
2018-03-15 16:02:36 -04:00
chris meyers
1f7506e982
prevent tower group delete and update
...
* related to https://github.com/ansible/ansible-tower/issues/7931
* The Tower Instance group is special. It should always exist, so
prevent any delete to it.
* Only allow super users to associate/disassociate instances the 'tower'
instance group.
* Do not allow fields of tower instance group to be changed.
2018-03-15 15:23:06 -04:00
Chris Meyers
2640ef8b1c
Merge pull request #1536 from chrismeyersfsu/fix-protect_instance_groups
...
prevent instance group delete if running jobs
2018-03-15 14:57:45 -04:00
John Mitchell
e7a0bbb5db
implement users tokens sub list
2018-03-15 14:53:49 -04:00
chris meyers
5d5d8152c5
prevent instance group delete if running jobs
...
* related to https://github.com/ansible/ansible-tower/issues/7936
2018-03-15 14:25:49 -04:00
Matthew Jones
3928f536d8
Merge pull request #1571 from matburt/fixing_cluster_resources
...
Fixing some issues defining resource requests in openshift and k8s
2018-03-15 11:20:56 -07:00
Marliana Lara
84904420ad
Pass results attr to list directive from instance groups list
2018-03-15 14:13:33 -04:00
chris meyers
2ea0b31e2b
handle unicode things in task logger
...
Related to https://github.com/ansible/ansible-tower/issues/7957
* Problem presented itself as Instances falling out of Instance Groups.
This was due to the cluster membership policy decider erroring out on a
logger message with unicode.
* Fixed up potential other unicode logger unicode issues in tasks.py
2018-03-15 14:04:39 -04:00
Antony PERIGAULT
8cf1c1a180
Fix nginx configuration to avoid ipv6 resolutions errors
2018-03-15 17:54:51 +01:00
Matthew Jones
192dc82458
Update documentation for default pod resource requests
...
Including information on how to override the default resources
2018-03-15 12:01:02 -04:00
Matthew Jones
3ba7095ba4
Fixing some issues defining resource requests in openshift and k8s
...
* Allow overriding all container resource requests by setting defaults/
* Fix an issue where template vars were reversed in the deployment config
* Remove `limit` usage to allow for resource ballooning if it's available
* Fix type error when using templated values in the config map for resources
2018-03-15 12:00:53 -04:00
AlanCoding
43aef6c630
allow normal users to relaunch jobs w survey answers
2018-03-15 07:43:03 -04:00
Michael Abashian
597874b849
Merge pull request #1489 from mabashian/169-workflow-nodes
...
Implemented new workflow node prompting
2018-03-14 16:58:35 -04:00
mabashian
9873bab451
Removed unused/commented code
2018-03-14 16:26:02 -04:00
Matthew Jones
cec77964ac
Merge pull request #1563 from matburt/container_cluster_capacity
...
Implement container-cluster aware capacity determination
2018-03-14 12:06:25 -07:00
Christian Adams
2abf4ccf3b
Merge pull request #1562 from rooftopcellist/python_saml_upgrade
...
add xmlsec flag to docker installs
2018-03-14 14:53:26 -04:00
Matthew Jones
b0cf4de072
Implement container-cluster aware capacity determination
...
* Added two settings values for declaring absolute cpu and memory
capacity that will be picked up by the capacity utility methods
* installer inventory variables for controlling the amount of cpu and
memory container requests/limits for the awx task containers
* Added fixed values for cpu and memory container requests for other
containers
* configmap uses the declared inventory variables to define the
capacity inputs that will be used by AWX to correspond to the same
inputs for requests/limits on the deployment.
2018-03-14 14:35:45 -04:00
Shane McDonald
2af085e1fe
Merge pull request #1552 from jffz/devel
...
Add ca_trust_dir to local docker installations
2018-03-14 14:32:55 -04:00
adamscmRH
8d460490c1
add xmlsec flag to docker installs
2018-03-14 14:28:35 -04:00
John Mitchell
5eed816c4d
Merge pull request #1558 from ansible/jlmitch5-patch-2
...
encode username and password when sending login POST from ui
2018-03-14 11:29:34 -04:00
John Mitchell
17cdbef376
encode username and password when sending login POST from ui
...
fixes #1553
2018-03-14 11:12:50 -04:00
Alexander Bauer
709cb0ae2b
fixup! Add local_docker facility for bind-mounting ca-trust
2018-03-14 10:52:36 -04:00
Alexander Bauer
db8df5f724
Add local_docker facility for bind-mounting ca-trust
...
This implements one possible solution for #411 , but does not solve it for
Kubernetes or Openshift installations.
# Conflicts:
# installer/inventory
2018-03-14 10:52:36 -04:00
Alan Rominger
5c0a52df16
Merge pull request #1533 from AlanCoding/count_events
...
Track emitted events on model
2018-03-14 10:30:43 -04:00
John Mitchell
ea5ab2df7f
Merge pull request #1453 from jlmitch5/licenseInSettingsUi
...
[Tower only] Make pendo license settings opt out whenever license is added
2018-03-14 10:26:08 -04:00
jeff
4fa0d2406a
Remove unneeded jinja endif
2018-03-14 15:16:26 +01:00
Alan Rominger
92b8fc7e73
Merge pull request #1554 from AlanCoding/poly_who
...
fix bugs with UJT optimizations
2018-03-14 09:11:57 -04:00
Matthew Jones
63f0082e4d
Merge pull request #1543 from matburt/k8s_helm_instructions
...
Adding information on Kubernetes RBAC considerations for Helm
2018-03-14 05:52:12 -07:00
AlanCoding
5170fb80dc
fix bugs with UJT optimizations
2018-03-14 08:19:53 -04:00
AlanCoding
04a27d5b4d
Namechange events_processed -> event_processing_finished
...
from PR review, also adding tests to assert that the
value is passed from the stdout_handle to the UnifiedJob
object on finalization of job run in tasks.py
2018-03-14 07:53:04 -04:00
AlanCoding
b803a6e557
Track emitted events on model
2018-03-14 07:53:02 -04:00
Alan Rominger
0db584e23e
Merge pull request #1530 from AlanCoding/inv_env_vars
...
More restrictive inventory env vars management
2018-03-14 07:23:42 -04:00
jeff
f9f91ecf81
Add ca_trust_dir to task image
2018-03-14 11:41:10 +01:00
jeff
aca74d05ae
Add 'ca_trust_dir' variable to allow Custom CA sharing between host and containers
2018-03-14 11:40:56 +01:00
Matthew Jones
b646e675d6
Merge pull request #1544 from matburt/sorting_region_choices
...
Sort cloud regions in a stable way
2018-03-13 18:02:31 -07:00
Matthew Jones
4a5f458a36
Merge pull request #1542 from matburt/adding_more_extra_vars
...
Adding more helpful job extra vars
2018-03-13 17:53:44 -07:00
John Mitchell
04bc044340
Merge pull request #1437 from jlmitch5/appCrudUi
...
implements application crud ui
2018-03-13 18:07:10 -04:00
John Mitchell
c65342acc9
make call to pendo setting and set check box based on that when license already exists
2018-03-13 15:41:45 -04:00
Matthew Jones
acde2520d0
Sort cloud regions in a stable way
...
* All comes first
* Then US regions
* Then all other regions alphabetically
2018-03-13 15:31:28 -04:00
Wayne Witzel III
4b27b05fd2
Merge pull request #1541 from wwitzel3/devel
...
Fix member_role parent to include credential_admin_role
2018-03-13 13:52:58 -04:00
Matthew Jones
dcf0b49840
Adding information on Kubernetes RBAC considerations for Helm
2018-03-13 13:48:10 -04:00
John Mitchell
f8c6187007
add back in comments describing license type payload
2018-03-13 13:34:03 -04:00
John Mitchell
d9f5eab404
add separator above checkbox
2018-03-13 13:34:03 -04:00
John Mitchell
8b10d64d73
update code formatting based on feedback
2018-03-13 13:34:02 -04:00
John Mitchell
2b4a53147e
turn pendo tracking off in settings when checkbox is unchecked
2018-03-13 13:34:02 -04:00
John Mitchell
5f4f4a2fb9
make pendo license settings opt out whenever license is added
2018-03-13 13:34:00 -04:00
Matthew Jones
45ad94f057
Adding more helpful job extra vars
...
* Adds email, first name, last name as extra vars to job launches
* Remove old ad-hoc command extra vars population... use our
base-class method instead
2018-03-13 13:33:54 -04:00
Wayne Witzel III
db38cf8f93
Fix member_role parent to include credential_admin_role
2018-03-13 12:20:40 -04:00
Alan Rominger
dcae4f65b5
Merge pull request #1330 from AlanCoding/capable_of_anything
...
New copy fields, clean up user_capabilities logic
2018-03-13 12:05:45 -04:00
paihu
dfea3a4b95
fix: broken backward compatibility
...
fix: param hex_color isn't optional
Signed-off-by: paihu <paihu_j@yahoo.co.jp >
2018-03-13 18:04:47 +09:00
John Mitchell
9d6fab9417
update edit controller to PUT app instead of POST
...
remove old applications tokens code
2018-03-12 17:40:08 -04:00
Christian Adams
f995b99af6
Merge pull request #1531 from rooftopcellist/application_description
...
add description to app serializer
2018-03-12 17:19:54 -04:00
Chris Meyers
724ca23685
Merge pull request #1534 from chrismeyersfsu/fix-4_job_limit
...
autoscale celery up to 50 workers
2018-03-12 15:45:01 -04:00
chris meyers
a4859a929c
autoscale celery up to 50 workers
2018-03-12 15:36:15 -04:00
adamscmRH
91214aa899
add description to app serializer
2018-03-12 15:07:59 -04:00
John Mitchell
80db90b34c
reduce delete prompting cruft for app ui
2018-03-12 14:35:03 -04:00
AlanCoding
3566140ecc
more restrictive inventory env vars management
2018-03-12 13:35:22 -04:00
John Mitchell
3cf447c49b
remove N_ dependency in favor strings files
2018-03-12 13:31:19 -04:00
John Mitchell
a22f1387d1
adjust user tokens list labeling
2018-03-12 13:31:19 -04:00
John Mitchell
8a28d7c950
remove permissions subview code from applications ui crud
2018-03-12 13:31:18 -04:00
John Mitchell
8031337114
add applications.edit.organization route
2018-03-12 13:31:18 -04:00
John Mitchell
8d2c0b58e1
remove unnecessary conditional
2018-03-12 13:31:18 -04:00
John Mitchell
f4ad9afc5e
add app crud ui
2018-03-12 13:31:18 -04:00
Marliana Lara
c19bb79587
Merge pull request #1499 from marshmalien/style/display_invalid_items
...
Add border between invalid and active template flags
2018-03-12 12:37:42 -04:00
Ryan Petrello
6d9b386727
Merge pull request #1529 from ryanpetrello/new-dateutil
...
bump python-dateutil to latest
2018-03-12 12:34:02 -04:00
Ryan Petrello
44adab0e9e
bump python-dateutil to latest
...
this change provides support for numerous bug fixes, along with
support for parsing TZINFO= from rrule strings
related: https://github.com/ansible/ansible-tower/issues/823
related: https://github.com/dateutil/dateutil/issues/614
2018-03-12 12:20:03 -04:00
mabashian
8aa9569074
In the JT form, moved options from its own line to in-line
2018-03-12 10:56:36 -04:00
mabashian
982b83c2d3
Fixed several workflow prompting and edge type bugs
2018-03-12 10:50:33 -04:00
Matthew Jones
346c9fcc8a
Merge pull request #1514 from wenottingham/a-period-piece
...
Add some periods.
2018-03-12 07:40:16 -07:00
Matthew Jones
eaff7443d2
Merge pull request #1522 from therealmaxmouse/patch-1
...
Update INSTALL.md
2018-03-12 07:39:48 -07:00
Matthew Jones
8a9397a997
Merge pull request #1528 from jffz/devel
...
Fix project_data_dir templating for local_docker install
2018-03-12 07:37:11 -07:00
jeff
4972755ccb
Fix project_data_dir templating for local_docker install
2018-03-12 14:50:44 +01:00
Ryan Petrello
6d43b8c4dd
Merge pull request #1527 from ryanpetrello/oauth2-filter
...
restrict API filtering on oauth-related fields
2018-03-12 09:43:05 -04:00
Ryan Petrello
a61187e132
restrict API filtering on oauth-related fields
...
related: https://github.com/ansible/awx/issues/1354
2018-03-12 09:16:37 -04:00
paihu
9b5e088d70
support slack color notification #1490
...
Signed-off-by: paihu <paihu_j@yahoo.co.jp >
2018-03-12 14:14:44 +09:00
therealmaxmouse
54ae039b95
Update INSTALL.md
...
fixing typo
2018-03-11 11:45:35 -04:00
Bill Nottingham
7b2b71e3ef
... update string in tests as well.
2018-03-09 17:49:46 -05:00
Bill Nottingham
fb05eecee0
Add some periods.
2018-03-09 17:23:52 -05:00
Ryan Petrello
dcab97f94f
Merge pull request #1504 from ryanpetrello/oauth2-swagger
...
properly categorize OAuth2 endpoints for swagger autogen
2018-03-09 15:27:02 -05:00
Ryan Petrello
397b9071a6
properly categorize OAuth2 endpoints for swagger autogen
2018-03-09 15:07:50 -05:00
Shane McDonald
7984bd2824
Merge pull request #1493 from jffz/devel
...
Fix for dns and dns_search templating
2018-03-09 12:52:10 -05:00
Marliana Lara
6f7cb0a16e
Add border between invalid and active indicators
2018-03-09 12:21:46 -05:00
Marliana Lara
bfbbb95256
Merge pull request #1475 from marshmalien/feat/style_upgrade_page
...
Style migrations-pending page
2018-03-09 11:47:34 -05:00
Marliana Lara
882ed4d05a
Merge pull request #1497 from marshmalien/feat/display_invalid_items_onPrompt
...
Denote invalid template when no inventory and no prompt-for-inventory
2018-03-09 10:38:20 -05:00
Christian Adams
cee12c4e6c
Merge pull request #1378 from rooftopcellist/no_patch_app
...
disallow changing token-app
2018-03-09 10:33:24 -05:00
Marliana Lara
c2a3e82d29
Check Inventory ask_inventory_on_launch value when verifying template validity
2018-03-09 10:08:39 -05:00
Chris Meyers
181af03ab9
Merge pull request #1495 from chrismeyersfsu/fix-celery_rollback
...
more celery rollback
2018-03-09 09:31:31 -05:00
chris meyers
e2ed1542e6
more celery rollback
...
* Setting reload code calls a celery 4.x method signature. This changes
it back to a 3.x safe call.
2018-03-09 09:27:09 -05:00
jffz
ca27dee4fc
Fix dns and dns_search templating
...
Fix templating for dns and dns_search entries for both `awx_web` and `awx_task` images.
Multiple entries were templated in a oneliner style while docker-compose wanted them in a list style.
2018-03-09 11:04:26 +01:00
mabashian
c98e7f6ecd
Implemented workflow node prompting
2018-03-08 18:45:28 -05:00
Christian Adams
8a25342ce5
Merge pull request #1373 from rooftopcellist/oauth_doc_csrf
...
update docs
2018-03-08 18:15:04 -05:00
Alan Rominger
b41d9c4620
Merge pull request #1470 from AlanCoding/mo_exceptions
...
Include stack trace for delete_inventory logs
2018-03-08 17:18:40 -05:00
adamscmRH
91c0f2da6f
simplifies detail serializer
2018-03-08 14:55:25 -05:00
Matthew Jones
b11b1acc68
Update middleware warning for latest minor version
2018-03-08 12:54:26 -05:00
adamscmRH
9b195bc80f
fix oauth docs
2018-03-08 12:44:53 -05:00
adamscmRH
fd7c078a8b
update docs
2018-03-08 12:10:29 -05:00
adamscmRH
06bacd7bdc
add serializer for token detail
2018-03-08 12:03:50 -05:00
Marliana Lara
6f23147d98
Style migrations/pending page
2018-03-08 11:47:59 -05:00
Alan Rominger
3605dbfd73
Merge pull request #1472 from AlanCoding/more_deps
...
Add shade back into AWX requirements
2018-03-08 11:04:20 -05:00
Michael Abashian
599d84403b
Merge pull request #1425 from mabashian/169-credentials
...
Added add/replace credential validation on jt launch and schedule
2018-03-08 10:57:27 -05:00
AlanCoding
4a01805a19
add shade back into AWX requirements
...
Last round of dependency updates showed that AWX
depended on packages which came implicitly from shade
decorator is added as an explicit dependency
and all of the rest of shade requirements are
added back in here.
2018-03-08 10:32:19 -05:00
Michael Abashian
c580146c77
Merge branch 'devel' into 169-credentials
2018-03-08 10:03:29 -05:00
mabashian
ce3dc40649
Edit schedule credential prompting code cleanup
2018-03-08 09:58:31 -05:00
Shane McDonald
5bf2e00d24
Merge pull request #1471 from shanemcd/devel
...
Fix container boots on AppArmor protected systems
2018-03-08 09:44:33 -05:00
Shane McDonald
02102f5ba8
Fix container boots on AppArmor protected systems
...
Link https://github.com/ansible/awx/issues/1297
Signed-off-by: Shane McDonald <me@shanemcd.com >
2018-03-08 09:41:04 -05:00
Shane McDonald
2861397433
Set imagePullPolicy to Always
...
Not sure why we werent doing this before.
2018-03-08 09:41:04 -05:00
AlanCoding
54a68da088
include stack trace for delete_inventory logs
2018-03-08 08:30:59 -05:00
Alan Rominger
044b85ce7a
Merge pull request #1415 from AlanCoding/depgrades
...
Dependency Upgrades
2018-03-08 08:29:46 -05:00
Michael Abashian
b970452950
Merge pull request #1441 from marshmalien/feat/display_invalid_items
...
Denote invalid job templates and scheduled jobs
2018-03-07 15:26:13 -05:00
adamscmRH
f485a04dfc
disallow changing token-app
2018-03-07 15:13:56 -05:00
mabashian
a5043029c1
Implemented the ability to specify credentials when creating a scheduled job run. Added validation for removing but not replacing default credentials.
2018-03-07 11:57:31 -05:00
Matthew Jones
61a48996ee
Merge pull request #1459 from rooftopcellist/update_session_setting
...
add csrf & session settings
2018-03-07 08:41:17 -08:00
Jake McDermott
8f58d0b998
Merge pull request #1455 from ansible/jakemcdermott-patch-2
...
auto hide multi credential scrollbar
2018-03-07 11:33:29 -05:00
adamscmRH
0490bca268
add csrf & session settings
2018-03-07 09:32:24 -05:00
Christian Adams
095515bb56
Merge pull request #1458 from rooftopcellist/fix_expiration
...
Fix expiration
2018-03-07 08:13:25 -05:00
adamscmRH
efaa698939
fix token expiration time
2018-03-07 00:42:44 -05:00
AlanCoding
556e6c4a11
Dependency Updates
...
Upgrades of minor dependency upgrades
Inventory scripts were upgraded in separate commit
Major exclusions from this update
- celery was already downgraded for other reasons
- Django / DRF major update already done, minor bumps here
- asgi-amqp has fixes coming independently, not touched
- TACACS plus added features not needed
Removals of note
- remove shade from AWX requirements
- remove kombu from Ansible requirements
Other notes
Add note about pinning setuptools and pip,
done but not mentioned previously
Stop pinning gevent-websocket and twisted
upgrade Azure to Ansible core requirements
more detailed notes
https://gist.github.com/AlanCoding/9442a512ab6977940bc7b5b346d4f70b
upgrade version of Django for Exception
2018-03-06 16:04:01 -05:00
Matthew Jones
8421d2b0d2
Merge pull request #1457 from matburt/remove_old_migrations
...
Remove old south migrations from before a previous django upgrade
2018-03-06 12:59:32 -08:00
Jake McDermott
f8ca0a613f
Update prompt.block.less
2018-03-06 14:56:38 -05:00
Christian Adams
db91e30464
Merge pull request #1449 from rooftopcellist/fix_exp_time
...
fix token expiration time
2018-03-06 14:55:38 -05:00
Matthew Jones
d19ef60d97
Remove old south migrations from before a previous django upgrade
2018-03-06 14:47:09 -05:00
Jake McDermott
5971d79a8f
auto hide multi credential scrollbar
2018-03-06 14:33:28 -05:00
Wayne Witzel III
a3b2f29478
Merge pull request #1454 from wwitzel3/fix-role-summary
...
Fix role summary when role description is overloaded
2018-03-06 14:03:22 -05:00
adamscmRH
a80e3855cd
fix token expiration time
2018-03-06 13:22:12 -05:00
Wayne Witzel III
8dce5c826c
Fix role summary when role description is overloaded
2018-03-06 13:07:29 -05:00
Demin, Petr
f4a241aba2
Constrain requests
2018-03-06 12:47:34 -05:00
Jake McDermott
105b4982c4
Merge pull request #1451 from tburko/devel
...
Fix "System settings panel form is not rendering #1440 "
2018-03-06 11:15:16 -05:00
Alan Rominger
cc33109412
Merge pull request #1445 from AlanCoding/platform
...
Add platform to ec2 group by options
2018-03-06 07:23:22 -05:00
Taras Burko
8a5cd3ec7d
Fix "System settings panel form is not rendering #1440 "
2018-03-06 14:03:36 +02:00
Ryan Petrello
d6af0bfd50
Merge pull request #1448 from ryanpetrello/fix-7923
...
normalize custom_virtualenv empty values to null
2018-03-05 17:25:51 -05:00
Ryan Petrello
8955e6bc1c
normalize custom_virtualenv empty values to null
...
see: https://github.com/ansible/ansible-tower/issues/7923
2018-03-05 17:05:10 -05:00
Shane McDonald
61087940c5
Merge pull request #1446 from matburt/fix_kubernetes_configmap
...
Apply celery rollback changes to kubernetes configmap
2018-03-05 16:46:57 -05:00
Matthew Jones
e99184656e
Apply rabbitmq and setting kubernetes changes post-celery rollback
2018-03-05 16:22:27 -05:00
AlanCoding
341e2c0fe2
add platform to ec2 group by options
2018-03-05 15:43:28 -05:00
Matthew Jones
105b82c436
Apply celery rollback changes to kubernetes configmap
2018-03-05 15:32:24 -05:00
Ryan Petrello
1596b2907b
Merge pull request #1439 from ryanpetrello/fix-7923
...
add validation to InventorySource.inventory to avoid task manager death
2018-03-05 15:12:24 -05:00
Marliana Lara
18f3c79bc3
Denote invalid job templates and scheduled jobs by displaying a red invalid bar
2018-03-05 14:52:40 -05:00
Ryan Petrello
8887be5952
add validation to InventorySource.inventory to avoid task manager death
...
see: https://github.com/ansible/awx/issues/1438
2018-03-05 14:40:57 -05:00
Shane McDonald
44f6423af3
Merge pull request #1442 from ryanpetrello/devel
...
fix busted shippable builds
2018-03-05 14:38:35 -05:00
Chris Meyers
80a970288d
Merge pull request #1443 from chrismeyersfsu/fix-named_urls
...
handle 404 returned by resolve()
2018-03-05 14:37:07 -05:00
chris meyers
ccfb6d64bf
handle 404 returned by resolve()
...
* related to https://github.com/ansible/ansible-tower/issues/7926
* if 404 on url in migration loading middelware, do NOT short circuit
middleware. Simply call the normal middlware code path in this case.
2018-03-05 14:34:53 -05:00
Ryan Petrello
13672cc88c
fix busted shippable builds
2018-03-05 14:16:42 -05:00
Shane McDonald
d5773c58d3
Merge pull request #1426 from chrismeyersfsu/fix-migration_in_progress
...
short-circuit middleware if migration loading url
2018-03-03 10:48:50 -05:00
Jake McDermott
5370c5e07d
Merge pull request #1431 from wenottingham/check-check-check-it-out
...
Adjust some wording in the UI.
2018-03-02 21:07:18 -05:00
Bill Nottingham
1606380f61
Adjust some wording in the UI.
...
Attempt to make the 'scm update' vs 'scm checkout' more clear.
Remove 'future' from scheduling tooltips (superfluous).
2018-03-02 19:54:02 -05:00
Christian Adams
953850a0d7
Merge pull request #1427 from rooftopcellist/hide_client_secret
...
Hide client_secret from activity stream
2018-03-02 15:43:49 -05:00
adamscmRH
701a5c9a36
hides client_secret from act stream
2018-03-02 14:47:49 -05:00
chris meyers
36d59651af
inherit rather than monkey patch
...
* Enable migration in progress page in ALL environments
2018-03-02 12:37:48 -05:00
Christian Adams
d1319b7394
Merge pull request #1414 from rooftopcellist/testing_oauth
...
fix token creation at `api/o/token`
2018-03-02 11:36:59 -05:00
chris meyers
746a2c1eea
short-circuit middleware if migration loading url
...
* Had to monkey patch django middleware logic.
* Left checks to tell coders to use new middleware behavior in favor of
monkey patching.
2018-03-02 11:21:26 -05:00
Chris Meyers
9df76f963b
Merge pull request #1412 from chrismeyersfsu/reap_new_nodes_too
...
reap all nodes that havn't checked in
2018-03-02 10:03:37 -05:00
chris meyers
17de084d04
perform the min needed DB ops to offline a node
...
* Don't do an extra save to the DB that could conflict with another
heartbeat when it isn't needed since we will be deleting the node
anyway.
2018-03-02 07:57:59 -05:00
Chris Meyers
f907995374
Merge pull request #1417 from chrismeyersfsu/fix-config_watcher
...
invoke main() in config watcher script
2018-03-01 17:11:58 -05:00
chris meyers
b69315f2eb
fix up the config map watcher script
...
* invoke main() in config watcher script
* correctly call hash update by passing the filename
2018-03-01 17:06:07 -05:00
chris meyers
a3a618d733
call node init procedures as early as possible
...
* invoke the first heartbeat as early as possible. Results in a much
better user experience where when a user scales up an awx node, the node
appears with capacity earlier.
2018-03-01 17:05:58 -05:00
adamscmRH
fa7647f828
fix token creation
2018-03-01 16:19:58 -05:00
Chris Meyers
8c1ec37c80
Merge pull request #1411 from chrismeyersfsu/early_first_heartbeat
...
call node init procedures as early as possible
2018-03-01 13:01:37 -05:00
Jake McDermott
d7616accf5
Improve documentation for AWX E2E ( #1381 )
...
* Improve documentation for AWX E2E
2018-03-01 12:00:16 -05:00
chris meyers
5c647c2a0d
call node init procedures as early as possible
...
* invoke the first heartbeat as early as possible. Results in a much
better user experience where when a user scales up an awx node, the node
appears with capacity earlier.
2018-03-01 11:24:45 -05:00
chris meyers
e94bd128b8
reap all nodes that havn't checked in
...
* Before this change we would exclude the reaping of new nodes. With
this change, new nodes will be considered for reaping just like old
nodes.
2018-03-01 11:21:54 -05:00
Alan Rominger
8d57b84251
Merge pull request #1353 from AlanCoding/dep_scripts
...
Update inventory scripts
2018-03-01 10:56:11 -05:00
Chris Meyers
f18d99d7a9
Merge pull request #1409 from chrismeyersfsu/openshift_runtime_rabbitmq_cookie
...
dynamically set rabbitmq cookie
2018-03-01 09:57:11 -05:00
chris meyers
9436e8ae25
dynamically set rabbitmq cookie
2018-03-01 09:23:45 -05:00
Wayne Witzel III
dba78e6bfb
Merge pull request #1398 from wwitzel3/devel
...
Update to latest asgi-amqp
2018-02-28 15:20:55 -05:00
Wayne Witzel III
73f0a0d147
Update to latest asgi-amqp
2018-02-28 14:43:37 -05:00
Cédric Levasseur
a2d543eb3b
Inserting a note about PostgreSQL minimal version 9.4 in installation doc ( #1385 )
...
* Minimal postgresql version
* moving the Postgresql minimal version note.
* moved to System requirements and 'minimal' replaced by 'minimum'.
2018-02-28 13:44:50 -05:00
Shane McDonald
7087341570
Merge pull request #1397 from shanemcd/devel
...
Fix celery 3 broker url reference in standalone docker install
2018-02-28 12:50:57 -05:00
Shane McDonald
0e9a8d5592
Fix celery 3 broker url reference
2018-02-28 12:47:05 -05:00
Alan Rominger
4fba2d61e6
Merge pull request #1394 from AlanCoding/text_type2
...
Prevent unicode bug in job_explanation
2018-02-28 12:42:11 -05:00
AlanCoding
54c0436959
prevent unicode bug in job_explanation
2018-02-28 11:01:20 -05:00
Alan Rominger
ee0e239a9e
Merge pull request #1374 from AlanCoding/your_name
...
More consistent representations of model objects
2018-02-28 09:08:29 -05:00
Matthew Jones
dc4b9341da
Merge pull request #1383 from jakemcdermott/401-on-invalid-login
...
issue a 401 on invalid login
2018-02-28 08:35:11 -05:00
Jake McDermott
75a27f2457
issue 401 on invalid login
2018-02-28 02:02:52 -05:00
Jake McDermott
ee20fc478b
add test for invalid login
2018-02-28 02:02:39 -05:00
Jake McDermott
01ee2adf30
Merge pull request #1382 from jakemcdermott/cookie-settings
...
adding in default session cookie setting for docker stand alone
2018-02-27 20:42:46 -05:00
Jake McDermott
877cde9a7f
add default cookie settings
2018-02-27 20:40:41 -05:00
Ryan Petrello
b5a46c346d
Merge pull request #1379 from ryanpetrello/fix-1366
...
don't inject custom extra_vars for inventory updates
2018-02-27 17:00:22 -05:00
Christian Adams
6e39388090
Merge pull request #1380 from rooftopcellist/csrf_flag
...
adds csrf flag to support http
2018-02-27 16:36:23 -05:00
Christian Adams
47c4eb38df
Merge pull request #1377 from rooftopcellist/remove_authtoken_model
...
Removes Auth token
2018-02-27 16:33:20 -05:00
adamscmRH
69f8304643
adds csrf flag to support http
2018-02-27 16:19:46 -05:00
adamscmRH
40d563626e
removes authtoken
2018-02-27 16:12:13 -05:00
Ryan Petrello
b9ab06734d
don't inject custom extra_vars for inventory updates
...
see: https://github.com/ansible/awx/issues/1366
2018-02-27 16:10:23 -05:00
Chris Meyers
d551566b4d
Merge pull request #1372 from chrismeyersfsu/old-celery3
...
celery 4.x to 3.x roll back
2018-02-27 15:26:46 -05:00
chris meyers
6606a29f57
celery 4.x -> 3.x change route config name
2018-02-27 14:13:05 -05:00
Jake McDermott
f9129aefba
Merge pull request #1361 from mabashian/1279-preview-credentials
...
Put credentials on their own line in the launch preview
2018-02-27 13:42:00 -05:00
AlanCoding
bacd895705
more consistent representations of model objects
2018-02-27 12:18:57 -05:00
chris meyers
148baf7674
add explicit awx_celery container version
2018-02-27 11:37:10 -05:00
chris meyers
5918fa5573
remove () from postgres port value
...
* awx task container uses postgres port to wait for postgres to become
available before the container init continues. The () are problematic
and are removed.
* () was originally added to fix an openshift issues. That error does
NOT occur with this fix.
2018-02-27 11:36:55 -05:00
chris meyers
e4470aa4cf
remove uneeded celery configs
...
* Celery routes and queues are set and defined at runtime. Thus, a
static definition of routes and queues is not needed.
2018-02-27 11:36:55 -05:00
chris meyers
fe05b4c0d5
use celery 3.x BROKER_URL
...
* Celery 4.x specifies the broker via CELERY_BROKER_URL. Since we are
now on 3.x, use 3.x way of specifying the broker via BROKER_URL
2018-02-27 11:36:55 -05:00
Alan Rominger
6d7f60ea61
Merge pull request #1368 from AlanCoding/none_client
...
Fix server error with absent client_secret
2018-02-27 10:39:50 -05:00
Ryan Petrello
a4ab424134
Merge pull request #1362 from ryanpetrello/rdb-sdb
...
replace our rdb tooling w/ the sdb PyPI package
2018-02-27 10:06:21 -05:00
Ryan Petrello
3636a7c582
Merge pull request #1355 from ryanpetrello/devel
...
set $HOME via an API call so AWX_TASK_ENV isn't marked as readonly
2018-02-27 09:57:17 -05:00
AlanCoding
c900027f82
fix server error with absent client_secret
2018-02-27 09:23:36 -05:00
Ryan Petrello
d743b77353
replace our rdb tooling w/ the sdb PyPI package
2018-02-26 19:05:50 -05:00
Ryan Petrello
7741de5153
set $HOME via an API call so AWX_TASK_ENV isn't marked as readonly
...
see: https://github.com/ansible/awx/issues/1315
2018-02-26 16:35:36 -05:00
Michael Abashian
c3968ca2b6
Merge pull request #1357 from mabashian/1281-prompt-inv
...
Fixed bug preventing users from selecting non-default inventory on job launch
2018-02-26 16:18:42 -05:00
mabashian
c58ea0ea25
Put credentials on their own line in the launch preview and forced them to wrap
2018-02-26 16:06:52 -05:00
Bill Nottingham
4519013a13
Merge pull request #1356 from wenottingham/mongo-only-pawn
...
Remove some obsolete code.
2018-02-26 15:30:37 -05:00
Bill Nottingham
c1203942e0
Remove obsolete ansible_awx.egg-info.
2018-02-26 15:04:37 -05:00
Bill Nottingham
e7a8ecc05a
Fix another instance.
2018-02-26 14:57:24 -05:00
Bill Nottingham
9c722cba22
Remove some obsolete code.
2018-02-26 14:55:13 -05:00
mabashian
9ad8bdf8de
Fixed bug preventing users from selecting non-default inventory on job launch
2018-02-26 14:50:31 -05:00
AlanCoding
b878a844d0
Update inventory scripts
...
ec2
- added support for tags and instance attributes
- allow filtering RDS instances by tags
- add option to group by platform
- set missing defaults
- make cache unique to script ran
- bug fixes
- implement AND'd filters
azure_rm
- minor python 3 upgrades
cloudforms
- minor regex fix
foreman
- several new configurables
- changes to caching
gce
- python 3 upgrades
- added gce_subnetwork param
openstack
- added `--cloud` parameter
ovirt4
- obtain defaults from env vars
vmware_inventory
- changed imports
- allow for custom filters
- changed host_filters
- error handling
- python 3 upgrades
2018-02-26 13:46:21 -05:00
AlanCoding
7b78a2ebcc
update tests for new call pattern for capabilities prefetch
2018-02-26 12:13:41 -05:00
AlanCoding
ce9234df0f
Revamp user_capabilities with new copy fields
...
Add copy fields corresponding to new server-side copying
Refactor the way user_capabilities are delivered
- move the prefetch definition from views to serializer
- store temporary mapping in serializer context
- use serializer backlinks to denote polymorphic prefetch model exclusions
2018-02-26 12:13:41 -05:00
Christian Adams
9493b72f29
Merge pull request #904 from ansible/oauth_n_session
...
Implement session-based and OAuth 2 authentications
2018-02-26 12:12:38 -05:00
Jake McDermott
7430856ac9
Merge pull request #1344 from jakemcdermott/e2e-updates
...
e2e / nightwatch updates
2018-02-26 11:58:29 -05:00
adamscmRH
407bcd0cbd
fix def application test
2018-02-26 11:35:09 -05:00
Jake McDermott
350f25c6e5
Merge pull request #1343 from jakemcdermott/oauth_n_session
...
ui tooling fixes / updates for oauth changes
2018-02-26 10:42:04 -05:00
Jake McDermott
c786736688
add setup step for org lookup check
2018-02-25 19:40:22 -05:00
Jake McDermott
01a8b2771a
add worker file push command
2018-02-25 19:40:19 -05:00
Jake McDermott
a23e4732b6
bump nightwatch and chromedriver versions
2018-02-25 19:40:15 -05:00
Jake McDermott
24fd4a360e
use updated project when checking copy
2018-02-25 19:40:11 -05:00
Jake McDermott
8bf31600b0
stabilize local test runs
2018-02-25 19:40:08 -05:00
Jake McDermott
0e7db2a816
do searchability check last
...
This fixes a small race condition that sometimes occurs when running
locally by ensuring that the delayed paged scrolling that happens
from using search doesn't put the password reset button out of view
when the test runner is trying to find and click it.
2018-02-25 19:40:02 -05:00
Jake McDermott
59e278a648
ensure correct url is built for inventory hosts page
2018-02-25 19:39:38 -05:00
Jake McDermott
44acecf61e
use basic auth by default for data setup
2018-02-25 14:28:09 -05:00
adamscmRH
30b473b0df
remove default app creation
2018-02-24 21:34:07 -05:00
Jake McDermott
6bdcba307c
fix missing comma
2018-02-24 13:59:55 -05:00
Marliana Lara
434cd31df8
Merge pull request #1338 from marshmalien/feat/multiple_venvs
...
Implement UI selects for Playbook, Project, and Organization Virtualenvs
2018-02-23 15:48:41 -05:00
Jake McDermott
2b4e631838
Merge pull request #1339 from jakemcdermott/use-navbar-in-smoke-test
...
use navbar when accessing project and template views
2018-02-23 15:36:46 -05:00
Jake McDermott
b0e0b8f0e3
use navbar when accessing project and template views
2018-02-23 15:08:44 -05:00
Marliana Lara
8a163b5939
Add error handling
2018-02-23 14:49:00 -05:00
Marliana Lara
23300003ab
Add dropdown inputs for Job Template, Project, and Organization virtual
...
envs
2018-02-23 14:49:00 -05:00
adamscmRH
87350e1014
prelim update to docs
2018-02-23 14:10:29 -05:00
adamscmRH
2911dec324
fixes app token endpoint
2018-02-23 11:06:53 -05:00
adamscmRH
99989892cd
fixs naming
2018-02-23 09:25:23 -05:00
Alan Rominger
ad8822bcfc
Merge pull request #1314 from AlanCoding/fix_rescheduling
...
Correct permission check for job rescheduling
2018-02-22 16:04:04 -05:00
Ryan Petrello
c35c01e7b1
Merge pull request #1328 from ryanpetrello/devel
...
Revert "changes to license compliance"
2018-02-22 15:28:54 -05:00
adamscmRH
ecc61b62ca
reverts cookie change
2018-02-22 15:18:12 -05:00
John Mitchell
09efc03163
update incorrect logic for auth service rootscope/cookie logged in status vars
2018-02-22 15:18:12 -05:00
John Mitchell
db748775c8
make auth function convert values from cookies to boolean
2018-02-22 15:18:12 -05:00
adamscmRH
310f37dd37
clears authtoken & add PAT
2018-02-22 15:18:12 -05:00
John Mitchell
88bc4a0a9c
ui auth works on 8013 now
2018-02-22 15:18:12 -05:00
John Mitchell
976766e4a3
excise token-based auth from ui
2018-02-22 15:18:12 -05:00
Aaron Tan
1c2621cd60
Implement session-based and OAuth 2 authentications
...
Relates #21 . Please see acceptance docs for feature details.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2018-02-22 15:18:12 -05:00
Ryan Petrello
35f629d42c
Revert "changes to license compliance"
...
This reverts commit 218dfb680e .
2018-02-22 15:02:33 -05:00
Alan Rominger
db39ab1b0c
Merge pull request #1322 from AlanCoding/check_version
...
Loosen overwrite_vars constraint for new feature
2018-02-22 14:26:30 -05:00
Shane McDonald
c612ab1c89
Merge pull request #1327 from marshmalien/fix/bump-angular-scheduler-version
...
Bump angular-scheduler version to 0.3.2
2018-02-22 13:55:07 -05:00
Shane McDonald
c0fe6866c4
Merge pull request #1070 from vrutkovs/installer-ocp-token
...
Allow authenticating with Openshift via a token
2018-02-22 13:40:01 -05:00
Marliana Lara
746b99046f
Bump angular-scheduler version to 0.3.2
2018-02-22 13:35:33 -05:00
Wayne Witzel III
91c6d406c5
Rollback celery
2018-02-22 09:37:14 -05:00
AlanCoding
4727cda336
Loosen overwrite_vars constraint for new feature
2018-02-22 07:47:28 -05:00
Alan Rominger
2ebee58727
Merge pull request #1321 from AlanCoding/magic_credential
...
Alias filters by credential to credentials
2018-02-21 15:51:42 -05:00
AlanCoding
91e59ebd29
alias filters by credential to credentials
2018-02-21 14:57:26 -05:00
AlanCoding
992d7831b1
add test for ScheduleAccess prompts
2018-02-21 14:11:55 -05:00
Marliana Lara
88b67c894c
Merge pull request #1231 from marshmalien/fix/tzid-schedules
...
Add support for TZID in schedule rrules
2018-02-21 13:55:31 -05:00
Marliana Lara
d71ecf1eee
Fix jshint confusing semantics error
2018-02-21 13:18:43 -05:00
Marliana Lara
b9a2f7a87e
Add debounce function to preview list to reduce overhead
2018-02-21 13:18:40 -05:00
Marliana Lara
e0cfd18aac
Set local timezone dropdown to rrule TZID value
2018-02-21 13:18:39 -05:00
Marliana Lara
73916ade45
Filter dates with moment.js instead of built-in angular date filter
2018-02-21 13:18:38 -05:00
Marliana Lara
1768001881
Add support for TZID in schedule rrules
2018-02-21 13:18:33 -05:00
Chris Church
795681a887
Merge pull request #1311 from cchurch/fix-dummy-data
...
Fix dummy data generator for WFJT node credentials.
2018-02-21 10:19:50 -05:00
AlanCoding
de4e95f396
correct permission check for job rescheduling
2018-02-21 09:25:43 -05:00
Chris Church
4ec683efcb
Fix dummy data generator for WFJT node credentials.
2018-02-21 08:55:43 -05:00
Chris Church
727ded2d4d
Merge pull request #1308 from cclauss/patch-1
...
Py3 Syntax Errors: 0700 -> 0x700 and 0600 -> 0x600
2018-02-21 08:29:49 -05:00
cclauss
8967afc645
octal, not hex
2018-02-21 14:13:47 +01:00
cclauss
d66cad3e0e
Py3 Syntax Errors: 0700 -> 0x700 and 0600 -> 0x600
...
$ __python3 -c "0700"__
```
File "<string>", line 1
0700
^
SyntaxError: invalid token
```
2018-02-21 12:18:52 +01:00
Ryan Petrello
7db05855de
Merge pull request #1306 from ryanpetrello/isolated-fact-cache
...
support fact caching for isolated hosts
2018-02-20 15:50:49 -05:00
Ryan Petrello
7d9e4d6e2f
support fact caching for isolated hosts
...
see: https://github.com/ansible/awx/issues/198
2018-02-20 15:00:47 -05:00
Ryan Petrello
662f4ec346
Merge pull request #1304 from ryanpetrello/devel
...
remove dead code
2018-02-20 14:44:52 -05:00
Ryan Petrello
ac3ce82eb1
remove dead code
...
the code that persists `set_stat` data for workflows now lives elsewhere
related: d57470ce49
2018-02-20 14:14:23 -05:00
Alan Rominger
1582fcbb50
Merge pull request #1277 from AlanCoding/inv_multicred
...
Use the m2m field for inventory source credentials
2018-02-20 14:08:22 -05:00
AlanCoding
bb6032cff6
docs and review change for IS multivault
...
Mention inventory sources /credentials/ endpoint in docs
Also change means of identifying projects for the purose
of injecting custom credentials
2018-02-20 12:34:58 -05:00
AlanCoding
9c4d89f512
use the m2m field for inventory source creds
2018-02-20 12:34:56 -05:00
Matthew Jones
8505783350
Merge remote-tracking branch 'tower/release_3.2.3' into devel
...
* tower/release_3.2.3:
fix unicode bugs with log statements
use --export option for ansible-inventory
add support for new "BECOME" prompt in Ansible 2.5+ for adhoc commands
enforce strings for secret password inputs on Credentials
fix a bug for "users should be able to change type of unused credential"
fix xss vulnerabilities - on host recent jobs popover - on schedule name tooltip
fix a bug when testing UDP-based logging configuration
bump templates form credential_types page limit
Wait for Slack RTM API websocket connection to be established
don't process artifacts from custom `set_stat` calls asynchronously
don't overwrite env['ANSIBLE_LIBRARY'] when fact caching is enabled
only allow facts to cache in the proper file system location
replace our memcached-based fact cache implementation with local files
add support for new "BECOME" prompt in Ansible 2.5+
fix a bug in inventory generation for isolated nodes
properly handle unicode for isolated job buffers
2018-02-20 12:22:25 -05:00
Ryan Petrello
76ff925b77
Merge pull request #1298 from sjenning/add-import-playbook
...
add import_playbook as a top-level playbook indicator
2018-02-20 09:54:23 -05:00
Seth Jennings
42ff1cfd67
add import_playbook as top-level playbook indicator
2018-02-19 16:03:08 -06:00
Ryan Petrello
90bb43ce74
Merge pull request #1292 from ryanpetrello/fix-1291
...
don't require credentials to relaunch a job
2018-02-19 12:01:42 -05:00
Ryan Petrello
56e3d98e62
don't require credentials to relaunch a job
...
see: https://github.com/ansible/awx/issues/1291
2018-02-19 11:15:55 -05:00
Matthew Jones
7d51b3b6b6
Merge pull request #1116 from bmduffy/bugfix-pem-validation
...
[bugfix-pem-validation]
2018-02-19 07:53:19 -05:00
Vadim Rutkovsky
5e25859069
Allow authenticating with Openshift via a token
2018-02-18 16:24:16 +01:00
Brian Duffy
4270e3a17b
[bugfix] updated pem validation unit tests
2018-02-18 15:11:42 +00:00
Brian Duffy
098f4eb198
[bugfix-pem-validation] pass flake8
2018-02-18 01:46:31 +00:00
Jake McDermott
ae1167ab15
Merge pull request #1282 from ansible/jakemcdermott-patch-1
...
fix last run job variable reference
2018-02-16 16:35:35 -05:00
Jake McDermott
5b5411fecd
fix last run job variable reference
2018-02-16 16:32:13 -05:00
Brian Duffy
235213bd3b
updated regex
2018-02-16 16:06:33 +00:00
Wayne Witzel III
2c71a27630
Merge pull request #1123 from wwitzel3/new-permissions
...
New RBAC Roles
2018-02-15 16:56:03 -05:00
Alan Rominger
1a6819cdea
Merge pull request #630 from AlanCoding/text_type
...
Fix unicode bugs with log statements
2018-02-15 15:52:29 -05:00
AlanCoding
465e605464
fix unicode bugs with log statements
2018-02-15 15:26:58 -05:00
Alan Rominger
22f1a53266
Merge pull request #1233 from AlanCoding/no_turning_back
...
Raise 400 error on removal of credential on launch
2018-02-15 14:11:57 -05:00
Ryan Petrello
733b4b874e
Merge pull request #1255 from ryanpetrello/license-compliance
...
changes to license compliance
2018-02-15 09:30:41 -05:00
AlanCoding
3d433350d3
raise 400 error on removal of credential on launch
...
Definition of removal is providing a `credentials` list on launch
that lacks a type of credential that the job template has.
This assures that every category of credential the job template
has will also exist on jobs ran from that job template.
This restriction already existed, but this makes the endpoint
fail instead of re-adding the credentials.
This change makes manual launch congruent with saved launch
configurations.
2018-02-15 08:16:03 -05:00
Wayne Witzel III
30a5617825
Address PR feedback
2018-02-14 22:53:33 +00:00
Alan Rominger
5935c410e4
Merge pull request #629 from AlanCoding/export
...
Use --export option for ansible-inventory
2018-02-14 15:56:05 -05:00
Alan Rominger
c90cf7c5e2
Merge pull request #1253 from AlanCoding/group_vars
...
Use --export option for ansible-inventory
2018-02-14 15:52:00 -05:00
Ryan Petrello
218dfb680e
changes to license compliance
...
now if a license is expired or over the managed node limit, it won't
prevent host creation or Job/JobTemplate launches
see: https://github.com/ansible/ansible-tower/issues/7860
2018-02-14 15:51:19 -05:00
AlanCoding
b01deb393e
use --export option for ansible-inventory
2018-02-14 14:48:13 -05:00
Chris Church
410111b8c8
Merge pull request #1241 from cclauss/six.string_types_in_mixins.py
...
six.string_types in mixins.py
2018-02-14 13:38:44 -05:00
AlanCoding
05e6eda453
use --export option for ansible-inventory
2018-02-14 12:34:41 -05:00
Bill Nottingham
4a4b44955b
Merge pull request #1247 from pkoro/anchor-link-fix
...
Fix in anchor link
2018-02-14 10:37:43 -05:00
Ryan Petrello
9d82098162
Merge pull request #1249 from ryanpetrello/no-travis
...
we don't use travis for tests; remove .travis.yml
2018-02-14 10:15:48 -05:00
Ryan Petrello
1c62c142f1
we don't use travis for tests; remove .travis.yml
2018-02-14 10:07:17 -05:00
Paschalis Korosoglou
5215bbcbf6
Fix in anchor link
2018-02-14 16:05:58 +02:00
Matthew Jones
0d2daecf49
Merge pull request #1243 from matburt/fix_clustering_isolated
...
Fix isolated instance clustering implementation
2018-02-14 08:32:24 -05:00
cclauss
552b69592c
six.string_types in mixins.py
2018-02-14 08:35:14 +01:00
Matthew Jones
ffe5a92eb9
Update isolated instance capacity calculaltion
2018-02-13 21:51:50 -05:00
Matthew Jones
925d9efecf
Fixing up isolated node execution after cluster changes
...
* Rework queue detection to include control groups and isolated instances
* Fix up development tooling around isolated nodes
* Update unit tests
2018-02-13 21:51:38 -05:00
Jake McDermott
c1b6595a0b
Merge pull request #1201 from jakemcdermott/item_copy_ui
...
api-backed copy ui
2018-02-13 17:42:00 -05:00
Jake McDermott
d4e46a35ce
get exact match on ids
2018-02-13 17:15:59 -05:00
Jake McDermott
bf0683f7fe
replace usage of all and spread
2018-02-13 17:15:56 -05:00
Jake McDermott
0ff94c63f2
use edit capability for showing copy on most views
2018-02-13 17:15:52 -05:00
Jake McDermott
16153daa14
add e2e test for inventory script copy
2018-02-13 17:15:48 -05:00
Jake McDermott
a680d188c0
implement model based copy for inventory scripts
2018-02-13 17:15:44 -05:00
Jake McDermott
d56f1a0120
add e2e test for credential copy
2018-02-13 17:15:41 -05:00
Jake McDermott
50d95ddc3f
implement model-based credential copy
2018-02-13 17:15:37 -05:00
Jake McDermott
21a32f90ce
add e2e test for notification template copy
2018-02-13 17:15:34 -05:00
Jake McDermott
09d3e6cd98
implement model-based copy for notification templates
2018-02-13 17:15:30 -05:00
Jake McDermott
29f1d695ae
add NotificationTemplate model
2018-02-13 17:15:26 -05:00
Jake McDermott
e0f3e4feb7
add e2e test for inventory copy
2018-02-13 17:15:20 -05:00
Jake McDermott
e9ce9621f2
implement model-based copy for inventories
2018-02-13 17:15:16 -05:00
Jake McDermott
a02eda1bea
add e2e test for project copy
2018-02-13 17:15:12 -05:00
Jake McDermott
779385ddb6
implement model based copy for projects
2018-02-13 17:15:05 -05:00
Jake McDermott
e5fd483d06
implement model-based copy for job templates and workflow templates
2018-02-13 17:15:01 -05:00
Jake McDermott
8679651d4c
add e2e test for template copy and delete warnings
2018-02-13 17:14:57 -05:00
Jake McDermott
4c988fbc02
add WorkflowJobTemplate model
2018-02-13 17:14:48 -05:00
Jake McDermott
c40feb52b7
add base model unit test
2018-02-13 17:14:43 -05:00
Jake McDermott
78b975b2a9
add copy to base model
2018-02-13 17:14:38 -05:00
Jake McDermott
cfba11f8d7
slight cleanup of templates list controller
...
lint / fix all of the indentation issues
smaller functions
use a variable for any string a user sees
2018-02-13 17:14:30 -05:00
Jake McDermott
73fa8521d0
add e2e test for job and workflow template copy
2018-02-13 17:14:18 -05:00
Jake McDermott
894f0cf2c5
update current workflow copy implementation to be compatible with recent api changes
2018-02-13 17:13:54 -05:00
Chris Church
67ec811e8d
Merge pull request #1186 from cclauss/execfile-file-reduce-StandardError
...
Miscellaneous Python 3 changes: execfile(), file(), reduce(), StandardError
2018-02-13 15:11:24 -05:00
Chris Church
31d0e55c2a
Merge pull request #1175 from cclauss/unicode-to-six-u
...
Change unicode() --> six.text_type() for Python 3
2018-02-13 15:11:11 -05:00
Ryan Petrello
3a0f2ce2fe
Merge pull request #628 from ryanpetrello/sudo-become-adhoc
...
add support for new "BECOME" prompt in Ansible 2.5+ for adhoc commands
2018-02-13 14:38:30 -05:00
Ryan Petrello
613d48cdbc
add support for new "BECOME" prompt in Ansible 2.5+ for adhoc commands
...
see: https://github.com/ansible/ansible-tower/issues/7850
2018-02-13 14:26:27 -05:00
Alan Rominger
39362aab4b
Merge pull request #1204 from AlanCoding/default_omission
...
Omit placeholder vars with survey password defaults
2018-02-13 12:58:11 -05:00
Alan Rominger
6cb3267ebe
Merge pull request #1214 from AlanCoding/fix_schedule_qs
...
Change schedule queryset logic to avoid server error
2018-02-13 12:54:05 -05:00
Bill Nottingham
f8c66b826a
Merge pull request #1217 from wenottingham/eat-your-celery-messages
...
Tweak celery-related messages.
2018-02-13 11:48:21 -05:00
Bill Nottingham
7b288ef98a
Tweak celery-related messages.
2018-02-13 10:52:14 -05:00
AlanCoding
58a94be428
Omit placeholder vars with survey password defaults
...
WFJT nodes & schedules (launch configs) will accept POST/PATCH/PUT
with variables in extra_data that have $encrypted$ for their value
if a valid survey default exists.
In this case, the variable is simply removed from the extra_data.
This is done so that it does not affect pre-existing value
substitution for $encrypted$ values from the config itself
2018-02-13 09:07:59 -05:00
AlanCoding
960845883d
change schedule qs logic, avoid server error
2018-02-13 08:32:00 -05:00
Ryan Petrello
eda53eb548
Merge pull request #627 from ryanpetrello/fix-7898
...
enforce strings for secret password inputs on Credentials
2018-02-12 17:11:02 -05:00
Ryan Petrello
82e41b40bb
enforce strings for secret password inputs on Credentials
...
see: https://github.com/ansible/ansible-tower/issues/7898
2018-02-12 17:03:32 -05:00
Alan Rominger
0268d575f8
Merge pull request #1193 from AlanCoding/no_sneaking_credential_in
...
Validation clause for WFJT node to follow credential prompt rule
2018-02-12 12:46:12 -05:00
Brian Duffy
6b5a6e9226
[bugfix-pem-validation] left a print statement in
2018-02-12 16:44:32 +00:00
Ryan Petrello
56d01cda6b
Merge pull request #1205 from ryanpetrello/fix-pexpect-test
...
improve a bwrap test
2018-02-12 10:50:00 -05:00
Ryan Petrello
194c2dcf0b
improve a bwrap test
2018-02-12 10:14:37 -05:00
Ryan Petrello
b38be89d1a
Merge pull request #1203 from ryanpetrello/update-pexpect
...
upgrade to the latest pexpect
2018-02-12 09:49:26 -05:00
Ryan Petrello
2a168faf6a
upgrade to the latest pexpect
...
see: https://github.com/ansible/awx/issues/417
2018-02-12 09:18:14 -05:00
Ryan Petrello
83b5377387
Merge pull request #1187 from ryanpetrello/file-your-vars-away-for-a-rainy-day
...
pass extra vars via file rather than via commandline
2018-02-12 08:48:19 -05:00
cclauss
2e623ad80c
Change unicode() --> six.text_type() for Python 3
2018-02-11 21:09:12 +01:00
Ryan Petrello
7e42c54868
Merge pull request #1184 from cclauss/basestring-to-six.string_types
...
basestring to six.string_types for Python 3
2018-02-10 09:49:16 -05:00
Bill Nottingham
aa5bd9f5bf
Pass extra vars via file rather than via commandline, including custom creds.
...
The extra vars file created lives in the playbook private runtime
directory, and will be reaped along with the rest of the directory.
Adjust assorted unit tests as necessary.
2018-02-10 09:27:24 -05:00
Wayne Witzel III
13e777f01b
Rename migration files
2018-02-10 02:52:26 +00:00
Wayne Witzel III
819b318fe5
Add Org Execute
2018-02-10 02:52:26 +00:00
Wayne Witzel III
9e7bd55579
Add Notification Admin
2018-02-10 02:52:26 +00:00
Wayne Witzel III
fbece6bdde
Updating and adding tests for new RBAC roles
2018-02-10 02:52:26 +00:00
Wayne Witzel III
9fdd00785f
Add new RBAC role migrations
2018-02-10 02:52:26 +00:00
Wayne Witzel III
b478740f28
Add Workflow Admin
2018-02-10 02:52:25 +00:00
Wayne Witzel III
109841c350
Add Credential Admin role
2018-02-10 02:52:25 +00:00
Wayne Witzel III
6c951aa883
Add Inventory Admin role
2018-02-10 02:52:25 +00:00
Wayne Witzel III
e7e83afd00
Add Project Admin role
2018-02-10 02:52:25 +00:00
Brian Duffy
7d956a3b68
[bugfix-pem-validation] update from code review
2018-02-10 01:08:29 +00:00
AlanCoding
02ac139d5c
validation clause for WFJT node to follow cred prompt rule
2018-02-09 16:17:21 -05:00
Jake McDermott
605a2c7e01
Merge pull request #1189 from jakemcdermott/fix-multivault-select
...
fix recent multi-vault select breakage
2018-02-09 13:47:17 -05:00
Jake McDermott
484caf29b6
fix recent multi-vault select breakage
2018-02-09 12:52:16 -05:00
Jake McDermott
b2b519e48d
Merge pull request #1096 from mabashian/169-v1
...
UI support for prompting on job template schedules
2018-02-09 11:34:25 -05:00
Jake McDermott
e8e6f50573
Merge branch 'devel' into 169-v1
2018-02-09 11:32:40 -05:00
cclauss
260aec543e
Misc Python 3 changes: execfile(), file(), reduce(), StandardError
2018-02-09 17:17:05 +01:00
Marliana Lara
7c95cd008f
Merge pull request #1152 from marshmalien/feat/ui_clustering_bugs
...
Fix UI bugs related to UI Clustering
2018-02-09 11:13:59 -05:00
Ryan Petrello
0ff11ac026
Merge pull request #1185 from ryanpetrello/stop-it-uwsgi
...
fix celery pid restart issues
2018-02-09 11:07:01 -05:00
Ryan Petrello
605c5e3276
fix celery pid restart issues
2018-02-09 11:03:00 -05:00
cclauss
c371b869dc
basestring to six.string_types for Python 3
2018-02-09 16:28:36 +01:00
Shane McDonald
476dbe58c5
Merge pull request #1183 from ryanpetrello/swagger
...
normalize dates in the Swagger output to minimize diffs
2018-02-09 10:18:19 -05:00
Ryan Petrello
3c43aaef21
normalize dates in the Swagger output to minimize diffs
2018-02-09 10:16:27 -05:00
Ryan Petrello
76d5c02e07
Merge pull request #1181 from ryanpetrello/swagger
...
move swagger doc metadata out of the awx repo
2018-02-09 10:09:03 -05:00
Ryan Petrello
fe02abe630
move swagger doc metadata out of the awx repo
2018-02-09 09:45:23 -05:00
Ryan Petrello
ce9cb24995
Merge pull request #1171 from cclauss/from-six-import-xrange
...
from six.moves import xrange for Python 3
2018-02-09 09:02:38 -05:00
Jake McDermott
6cb6c61e5c
Merge pull request #1176 from jakemcdermott/stabilize-xss
...
use project details view to check permissions list
2018-02-08 17:32:39 -05:00
Jake McDermott
67e5d083b8
use project details view to check permissions list
2018-02-08 17:26:54 -05:00
Ryan Petrello
5932c54126
Merge pull request #1165 from ryanpetrello/remove_new_in
...
remove the `new_in_<version>` in API doc gen
2018-02-08 17:07:50 -05:00
cclauss
e1a8b69736
from six.moves import xrange for Python 3
2018-02-08 22:41:33 +01:00
Ryan Petrello
7472026cca
remove the new_in_<version> in API doc gen
...
see: https://github.com/ansible/awx/issues/73
2018-02-08 16:21:22 -05:00
Jake McDermott
8475bdfdc4
Merge pull request #1170 from shanemcd/fix_standalone_docker_wait_fors
...
Fix wait_fors in standalone Docker installs
2018-02-08 16:08:31 -05:00
Ryan Petrello
bd2f1568fb
Merge pull request #626 from ryanpetrello/release_3.2.3
...
fix a bug for "users should be able to change type of unused credential"
2018-02-08 15:59:22 -05:00
Alan Rominger
b3dcfc8c18
Merge pull request #903 from ansible/item_copy
...
Implement item copy feature
2018-02-08 15:51:16 -05:00
Ryan Petrello
72715df751
fix a bug for "users should be able to change type of unused credential"
...
see: https://github.com/ansible/ansible-tower/issues/7516
related: https://github.com/ansible/tower/pull/441
2018-02-08 15:44:14 -05:00
Shane McDonald
6b3ca32827
Fix wait_fors in standalone Docker installs
2018-02-08 15:08:44 -05:00
Ryan Petrello
1ccdb305e3
Merge pull request #1164 from cclauss/use-new-style-exceptions
...
Modernize Python 2 code to get ready for Python 3
2018-02-08 14:10:25 -05:00
Ryan Petrello
033bec693b
Merge pull request #1166 from ryanpetrello/fix-system-job-stdout
...
properly handle STDOUT_MAX_BYTES_DISPLAY for system jobs
2018-02-08 13:55:59 -05:00
Ryan Petrello
f2c5859fde
properly handle STDOUT_MAX_BYTES_DISPLAY for system jobs
...
see: https://github.com/ansible/ansible-tower/issues/7890
2018-02-08 11:37:05 -05:00
cclauss
e18838a4b7
Modernize Python 2 code to get ready for Python 3
2018-02-08 17:26:22 +01:00
Shane McDonald
48300da443
Merge pull request #1163 from ryanpetrello/swagger
...
add indention to swagger docs
2018-02-08 10:52:47 -05:00
Ryan Petrello
5b9dc41015
add indention to swagger docs
...
this will make it easier to spot changes as our APIs change
2018-02-08 10:51:42 -05:00
Alan Rominger
01c6463b1b
Merge pull request #1162 from AlanCoding/remove_cred_sf
...
Remove credential from node and schedule summary fields
2018-02-08 10:37:46 -05:00
Alan Rominger
181399df7a
Merge pull request #1159 from AlanCoding/reschedule_msg
...
Verbose error messages for failure to re-schedule
2018-02-08 10:28:11 -05:00
Ryan Petrello
9bc0a0743b
Merge pull request #1161 from ryanpetrello/zone-names
...
update zoneinfo endpoint to be a list of dicts
2018-02-08 09:48:11 -05:00
Ryan Petrello
c1d0768e37
Merge pull request #1160 from ryanpetrello/fix-old-rrule-dtstart
...
add a few schedule RRULE parsing improvements
2018-02-08 09:47:59 -05:00
Marliana Lara
d743faf33e
Fix UI bugs related to instance groups views
...
* Fix bug where capacity_adjustment sets to "1.00" when instance is toggled
* Hookup websockets for instance group jobs and instance jobs
* Add Wait spinner to Capacity_Adjuster, Instance association modal, and Instance group delete
* Add updateDataset event listener to update instance and instanceGroups list after smartSearch query
2018-02-08 09:33:24 -05:00
AlanCoding
0f66892d06
remove credential from node and schedule summary fields
2018-02-08 09:22:55 -05:00
Ryan Petrello
c866d85b8c
update zoneinfo endpoint to be a list of dicts
2018-02-08 09:12:26 -05:00
Ryan Petrello
3c799b007e
don't allow rrule values that contain both COUNT and UNTIL
...
see: https://github.com/ansible/ansible-tower/issues/7887
2018-02-08 08:59:52 -05:00
Ryan Petrello
887f16023a
improve detection of expensive DTSTART RRULE values
2018-02-08 08:54:30 -05:00
AlanCoding
87b59903a5
verbose error messages for failure to re-schedule
2018-02-08 08:46:56 -05:00
Bill Nottingham
e982f6ed06
Merge pull request #1154 from wenottingham/namespaces-the-final-frontier
...
Have bubblewrap mount a new /proc in the wrapped environment.
2018-02-07 17:24:38 -05:00
Ryan Petrello
fb5428dd63
Merge pull request #1151 from ansible/jakemcdermott-patch-1-1
...
always return schema from get_default_schema
2018-02-07 16:56:48 -05:00
Alan Rominger
b38aa3dfb6
Merge pull request #1153 from AlanCoding/fix_wfjt_scheduling
...
fix bug scheduling WFJT without prompts
2018-02-07 15:49:13 -05:00
Bill Nottingham
c1a0e2cd16
Have bubblewrap mount a new /proc in the wrapped environment.
...
Since we're running with a new pid namespace, we should have
a new /proc that is in that namespace. Otherwise things will
be weird.
2018-02-07 15:47:03 -05:00
AlanCoding
fe69a23a4e
fix bug scheduling WFJT without prompts
2018-02-07 14:34:25 -05:00
Jake McDermott
90f555d684
always return schema from get_default_schema
2018-02-07 13:42:01 -05:00
Matthew Jones
4002f2071d
Adding instance group policy unit tests
...
also remove async call for applying topology change
2018-02-07 11:14:53 -05:00
Ryan Petrello
244dfa1c92
Merge pull request #1145 from ryanpetrello/swagger
...
fix a bad swagger-related import that breaks the build
2018-02-07 09:12:28 -05:00
Ryan Petrello
1adb4cefec
fix a bad swagger-related import that breaks the build
2018-02-07 08:56:59 -05:00
Bill Nottingham
4abcbf949a
Merge pull request #1142 from geerlingguy/fix-some-text
...
Fix grammar for tasks - replace 'state' with 'stage'.
2018-02-06 19:28:20 -05:00
Jeff Geerling
19f0b9ba92
Fix grammar for tasks - replace 'state' with 'stage'.
2018-02-06 16:57:59 -06:00
Ryan Petrello
b1c4c75360
Merge pull request #1141 from ryanpetrello/swagger
...
a bit of extra Swagger doc tinkering
2018-02-06 14:33:24 -05:00
Ryan Petrello
cc3659d375
fix a busted swagger import
2018-02-06 13:43:31 -05:00
Ryan Petrello
b1695fe107
add instructions for generating Swagger/OpenAPI docs
2018-02-06 13:37:33 -05:00
Jake McDermott
8cd0870253
Merge pull request #1135 from chrismeyersfsu/tests-recent_jobs_xss
...
xss test for per-host recent jobs popup
2018-02-06 11:51:05 -05:00
Ryan Petrello
84dc40d141
Merge pull request #1124 from ryanpetrello/swagger
...
add support for building swagger/OpenAPI JSON
2018-02-06 11:12:36 -05:00
Ryan Petrello
8b976031cb
use VERSION_TARGET for Swagger doc generation
2018-02-06 10:48:51 -05:00
Chris Meyers
aaf87c0c04
xss test for per-host recent jobs popup
2018-02-06 10:37:00 -05:00
Ryan Petrello
7ff9f0b7d1
build example Swagger request and response bodies from our API tests
2018-02-06 10:36:25 -05:00
Ryan Petrello
527594285f
more Swagger template markup
2018-02-06 10:12:58 -05:00
Ryan Petrello
07dfab648c
add some tests to prove that OpenAPI JSON compilation works
2018-02-06 10:12:58 -05:00
Ryan Petrello
10974159b5
add support for marking Swagger paths deprecated
2018-02-06 10:12:58 -05:00
Ryan Petrello
ac7c5f8648
clean up API markdown docs
2018-02-06 10:12:57 -05:00
Ryan Petrello
57c22c20b2
add support for building swagger/OpenAPI JSON
...
to build, run `make swagger`; a file named `swagger.json` will be
written to the current working directory
2018-02-06 10:12:57 -05:00
Matthew Jones
c61efc0af8
Add information on enabled flag
2018-02-05 15:44:26 -05:00
Ryan Petrello
772fcc9149
Merge pull request #1097 from rbywater/feature/preferipv4
...
Add ability to select to prefer IPv4 addresses for ansible_ssh_host
2018-02-05 14:57:10 -05:00
Matthew Jones
8e94a9e599
Adding capacity docs
...
Updating capacity for callback jobs to include parent process impact
2018-02-05 09:49:01 -05:00
Shane McDonald
1e9b0c2786
Merge pull request #1130 from shanemcd/fix-etcd-template
...
Fix variable reference in k8s etcd template
2018-02-05 09:18:20 -05:00
Richard Bywater
5e5790e7d1
Use correct source_vars syntax
2018-02-05 12:45:52 +13:00
Richard Bywater
9f8b9b8d7f
Fix unit test
2018-02-05 08:55:10 +13:00
Richard Bywater
6d69087db8
Add prefer_ipv4 to whitelist and add unit test for config value
2018-02-05 08:55:10 +13:00
Richard Bywater
a737663dde
Add ability to select to prefer IPv4 addresses for ansible_ssh_host
...
Currently Cloudforms can return a mix of IPv4 and IPv6 addresses in the
ipaddresses field and this mix comes in a "random" order (that is the
first entry may be IPv4 sometimes but IPv6 other times). If you wish to
always use IPv4 for the ansible_ssh_host value then this is problematic.
This change adds a new prefer_ipv4 flag which will look for the first
IPv4 address in the ipaddresses list and uses that instead of just the
first entry.
2018-02-05 08:55:10 +13:00
Shane McDonald
dce934577b
Fix variable reference in k8s etcd template
2018-02-03 10:29:53 -05:00
Jake McDermott
3d421cc595
Merge pull request #1078 from jakemcdermott/saml-ldap-updates
...
update configuration views for multiple LDAP servers, SAML 2FA, and SAML attribute mapping
2018-02-02 12:15:44 -05:00
Ryan Petrello
93c8cc9f8e
Merge pull request #696 from jladdjr/awx_349_custom_cred_write_multiple_files
...
Feature: Multi-file support for Credential Types
2018-02-02 11:39:11 -05:00
Chris Meyers
1808559586
Merge pull request #1102 from chrismeyersfsu/tests-job_schedules_xss
...
add xss test for jobs schedules
2018-02-02 11:29:42 -05:00
Jim Ladd
d558299b1f
Add test for injecting multiple files
2018-02-02 11:07:13 -05:00
Bill Nottingham
ef5b040f70
Merge pull request #1121 from jeis2497052/devel
...
Propose small spelling changes
2018-02-02 10:55:23 -05:00
John Eismeier
026cbeb018
Propose small spelling changes
2018-02-02 10:49:55 -05:00
Matthew Jones
6163cc6b5c
Merge pull request #1058 from ansible/scalable_clustering
...
Implement Container Cluster-based dynamic scaling
2018-02-02 09:22:06 -05:00
Ryan Petrello
ed1bacdc08
Merge pull request #1090 from ryanpetrello/awx-ansible-overview
...
add documentation for how awx uses/interacts with ansible
2018-02-02 08:44:11 -05:00
Jake McDermott
f39fa35d86
Merge pull request #1103 from mabashian/1091-status-icons
...
Tweaked smart status icon styling to prevent overlap with action buttons
2018-02-01 23:03:37 -05:00
Matthew Jones
9266444b19
Merge pull request #1117 from ryanpetrello/fatal-celery-reload
...
run the celery reload in a shell so the uwsgi hook isn't fatal on fail
2018-02-01 22:39:00 -05:00
Ryan Petrello
35230eded1
run the celery reload in a shell so the uwsgi hook isn't fatal on fail
2018-02-01 22:32:08 -05:00
Brian Duffy
68057560e5
[bugfix-pem-validation] added unit test to simulate catted data
...
Signed-off-by: Brian Duffy <bmduffy@gmail.com >
2018-02-02 01:20:31 +00:00
Brian Duffy
047ff7b55f
[bugfix-pem-validation]
...
Signed-off-by: Brian Duffy <bmduffy@gmail.com >
2018-02-01 23:50:02 +00:00
Jake McDermott
ecacf64c28
Merge pull request #1105 from mabashian/1023-activity-stream-inv-link
...
Fixed inventory links in activity stream
2018-02-01 18:23:54 -05:00
Jake McDermott
d01e6ab8b6
Merge pull request #1106 from mabashian/1014-team-link-user-permissions
...
Fixed team links in users permissions tab
2018-02-01 18:23:00 -05:00
Jake McDermott
5653b47aa3
Merge pull request #1112 from mabashian/994-empty-list-text
...
Updated empty list text
2018-02-01 18:22:11 -05:00
Marliana Lara
d4a461e5b4
Switch Array.map() in favor of Array.forEach()
2018-02-01 16:57:10 -05:00
Marliana Lara
f9265ee329
Create an InstancePolicyList directive to replace the pre-existing
...
modal implementation
* Remove Instance-List-Policy controller
* Replace let with const when values aren't being reassigned
* Update CapacityAdjuster directive to use replace:true
* Assign less values that are specific to element
* Add more error handling
2018-02-01 16:57:10 -05:00
Marliana Lara
fa70d108d7
Apply UI feedback changes
...
* Remove input slider css mixin
* Remove unused dependencies
* Improve error handling by plugging in the ProcessErrors factory
2018-02-01 16:57:10 -05:00
Marliana Lara
e07f441e32
Add Instance enable/disable toggle to list
2018-02-01 16:57:10 -05:00
Marliana Lara
70786c53a7
Add capacity adjuster directive
2018-02-01 16:57:10 -05:00
Marliana Lara
342958ece3
Add stringToNumber directive
2018-02-01 16:57:09 -05:00
Marliana Lara
368101812c
Add Instance and InstanceGroup models
2018-02-01 16:57:09 -05:00
Matthew Jones
70bf78e29f
Apply capacity algorithm changes
...
* This also adds fields to the instance view for tracking cpu and
memory usage as well as information on what the capacity ranges are
* Also adds a flag for enabling/disabling instances which removes them
from all queues and has them stop processing new work
* The capacity is now based almost exclusively on some value relative
to forks
* capacity_adjustment allows you to commit an instance to a certain
amount of forks, cpu focused or memory focused
* Each job run adds a single fork overhead (that's the reasoning
behind the +1)
2018-02-01 16:57:09 -05:00
Matthew Jones
6a85fc38dd
Add scalable cluster kubernetes support
2018-02-01 16:57:09 -05:00
Matthew Jones
6e9930a45f
Use on_commit hook for triggering ig policy
...
* also Apply console handlers to loggers for dev environment
2018-02-01 16:56:43 -05:00
Matthew Jones
d9e774c4b6
Updates for automatic triggering of policies
...
* Switch policy router queue to not be "tower" so that we don't
fall into a chicken/egg scenario
* Show fixed policy list in serializer so a user can determine if
an instance is manually managed
* Change IG membership mixin to not directly handle applying topology
changes. Instead it just makes sure the policy instance list is
accurate
* Add create/delete hooks for instances and groups to trigger policy
re-evaluation
* Update policy algorithm for fairer distribution
* Fix an issue where CELERY_ROUTES wasn't renamed after celery/django
upgrade
* Update unit tests to be more explicit
* Update count calculations used by algorithm to only consider
non-manual instances
* Adding unit tests and fixture
* Don't propagate logging messages from awx.main.tasks and
awx.main.scheduler
* Use advisory lock to prevent policy eval conflicts
* Allow updating instance groups from view
2018-02-01 16:56:16 -05:00
Matthew Jones
56abfa732e
Adding initial instance group policies
...
and policy evaluation planner
2018-02-01 16:56:15 -05:00
Matthew Jones
c819560d39
Add automatic deprovisioning support, only enabled for openshift
...
* Implement a config watcher for service restarts
* If the configmap bind point changes then restart all services
2018-02-01 16:51:40 -05:00
Chris Meyers
0e97dc4b84
Beat and celery clustering fixes
...
* use embedded beat rather than standalone
* dynamically set celeryd hostname at runtime
* add embeded beat flag to celery startup
* Embedded beat mode routes will piggyback off of celery worker setup
signal
2018-02-01 16:47:33 -05:00
Matthew Jones
624289bed7
Add support for directly managing instance groups
...
* Associating/Disassociating an instance with a group
* Triggering a topology rebuild on that change
* Force rabbitmq cleanup of offline nodes
* Automatically check for dependent service startup
* Fetch and set hostname for celery so it doesn't clobber other
celeries
* Rely on celery init signals to dyanmically set listen queues
* Removing old total_capacity instance manager property
2018-02-01 16:46:44 -05:00
Matthew Jones
6ede1dfbea
Update openshift installer to support rabbitmq autoscale
...
* Switch rabbitmq container out for one that supports autoscale
* Add etcd pod to support autoscale negotiation
2018-02-01 16:38:10 -05:00
Chris Meyers
c9ff3e99b8
celeryd attach to queues dynamically
...
* Based on the tower topology (Instance and InstanceGroup
relationships), have celery dyamically listen to queues on boot
* Add celery task capable of "refreshing" what queues each celeryd
worker listens to. This will be used to support changes in the topology.
* Cleaned up some celery task definitions.
* Converged wrongly targeted job launch/finish messages to 'tower'
queue, rather than a 1-off queue.
* Dynamically route celery tasks destined for the local node
* separate beat process
add support for separate beat process
2018-02-01 16:37:33 -05:00
Ryan Petrello
7bc3d85913
Merge pull request #1114 from ryanpetrello/fix-dateutil-bug
...
work around a bug in dateutil that incorrectly parses Z dates
2018-02-01 16:06:13 -05:00
Ryan Petrello
0a8df7fde2
work around a bug in dateutil that incorrectly parses Z dates
...
related: https://github.com/dateutil/dateutil/issues/349
2018-02-01 15:51:59 -05:00
Ryan Petrello
b39269c4c2
Merge pull request #1113 from ryanpetrello/fix-schedule-related
...
fix a bug which can break the schedules list endpoint
2018-02-01 14:50:37 -05:00
Chris Meyers
09981c0020
Merge pull request #1107 from ansible/docs-saml2
...
Extend saml docs to include new fields added
2018-02-01 14:33:51 -05:00
Ryan Petrello
81bdbef785
fix a bug which can break the schedules list endpoint
...
see: https://github.com/ansible/ansible-tower/issues/7881
related: https://github.com/ansible/awx/pull/1095
2018-02-01 14:30:56 -05:00
Chris Meyers
3c541a4695
Merge pull request #1111 from ansible/jakemcdermott-update-ldap-docs
...
Updates to ldap documentation
2018-02-01 14:30:23 -05:00
Jake McDermott
5a1ae9b816
Update ldap.md
2018-02-01 13:57:07 -05:00
mabashian
8c261892ee
Updated empty list text
2018-02-01 13:54:33 -05:00
Matthew Jones
b89d4349c0
Merge pull request #1080 from Xiol/feat-projects-vol
...
Allow AWX projects directory to be a volume
2018-02-01 13:17:34 -05:00
Jake McDermott
3e98363811
Merge pull request #1104 from ansible/doc-formatting
...
Update saml.md
2018-02-01 11:55:46 -05:00
John Mitchell
7e400413db
Merge pull request #625 from jlmitch5/fixXSS
...
fix xss vulnerabilities
2018-02-01 11:49:35 -05:00
Chris Meyers
f24289b2ba
Extend saml docs to include new fields added
2018-02-01 11:27:01 -05:00
mabashian
9170c557a7
Fixed team links in users permissions tab
2018-02-01 11:23:51 -05:00
Chris Meyers
a47b403f8d
Update saml.md
2018-02-01 11:05:08 -05:00
mabashian
83aa7bfac4
Fixed inventory links in activity stream
2018-02-01 11:04:16 -05:00
Chris Meyers
290a296f9f
add xss test for jobs schedules
...
* Test for tooltip regression on job schedules list entries
2018-02-01 10:55:13 -05:00
mabashian
db0b2e6cb6
Tweaked smart status icon styling to prevent overlap with action buttons
2018-02-01 10:44:08 -05:00
Ryan Petrello
f391b7ace4
Merge pull request #1095 from ryanpetrello/schedule-related-proj-inv
...
add related links to the inventory and project for a schedule
2018-01-31 15:53:13 -05:00
Ryan Petrello
008c9e4320
Merge pull request #1094 from ryanpetrello/leaky-mock
...
remove some leaky mock.patch() that were causing sporadic test failures
2018-01-31 15:52:58 -05:00
mabashian
e57d200d6e
Implemented generic prompt modal for launching and saving launch configurations. Added UI support for prompting on job template schedules.
2018-01-31 15:40:23 -05:00
Ryan Petrello
8ddc1c61ef
add related links to the inventory and project for a schedule
...
see: https://github.com/ansible/awx/issues/276
2018-01-31 15:18:11 -05:00
Ryan Petrello
0aa6c7b83f
remove some leaky mock.patch() that were causing sporadic test failures
2018-01-31 15:12:59 -05:00
Jake McDermott
e43879d44e
Merge pull request #1092 from dovshap/patch-1
...
Update INSTALL.md
2018-01-31 14:11:11 -05:00
Ryan Petrello
2a6f6111dc
add documentation for how awx uses/interacts with ansible
2018-01-31 14:02:18 -05:00
dovshap
6b0659d63a
Update INSTALL.md
...
fix bad link in contents
2018-01-31 11:00:03 -08:00
Jim Ladd
4c1dddcaf9
Respond to PR feedback
2018-01-31 11:22:01 -05:00
Shane McDonald
426e901cdf
Merge pull request #1089 from KAMiKAZOW/patch-1
...
Fix CentOS typo in CONTRIBUTING.md
2018-01-30 21:11:10 -05:00
KAMiKAZOW
ac55f93cfb
CentOS typo in CONTRIBUTING.md
2018-01-31 03:07:52 +01:00
Ryan Petrello
c32c3db35e
Merge pull request #1086 from ryanpetrello/fix-enabled-sso-auth
...
fix a bug which causes /api/v2/auth/ to list disabled auth backends
2018-01-30 16:35:26 -05:00
John Mitchell
28596b7d5e
fix xss vulnerabilities
...
- on host recent jobs popover
- on schedule name tooltip
2018-01-30 16:30:00 -05:00
Ryan Petrello
20a999f846
Merge pull request #1085 from ryanpetrello/fix-7876
...
fix a bug in custom venv support that breaks legacy `POST /api/v1/jobs`
2018-01-30 16:21:10 -05:00
Ryan Petrello
81af34fce3
fix a bug which causes /api/v2/auth/ to list disabled auth backends
...
see: https://github.com/ansible/awx/issues/1073
2018-01-30 16:20:29 -05:00
Ryan Petrello
8fed469975
fix a bug in custom venv support that breaks legacy POST /api/v1/jobs
...
see: https://github.com/ansible/ansible-tower/issues/7876
2018-01-30 15:29:11 -05:00
Jake McDermott
a2e274d1f9
Merge pull request #623 from jakemcdermott/fix-ansible-tower-7871
...
bump templates form credential_types page limit
2018-01-30 14:48:36 -05:00
Ryan Petrello
d96cc51431
Merge pull request #624 from ryanpetrello/release_3.2.3
...
fix a bug when testing UDP-based logging configuration
2018-01-30 10:27:39 -05:00
Dane Elwell
c6d4a62263
Allow AWX projects directory to be a volume
...
Signed-off-by: Dane Elwell <dane.elwell@ukfast.co.uk >
2018-01-30 09:49:44 +00:00
Jake McDermott
4cd6a6e566
add fields for saml + 2fa
2018-01-30 00:28:13 -05:00
Jake McDermott
ed138fccf6
add forms + select for additional ldap servers
2018-01-30 00:28:02 -05:00
Jake McDermott
44d223b6c9
add fields for team and organization saml attribute mappings
2018-01-30 00:27:51 -05:00
Ryan Petrello
a9b77eb706
Merge pull request #1066 from ryanpetrello/fix-schedules-without-inventories
...
fix a few bugs for scheduled jobs that run without inventories
2018-01-29 16:08:17 -05:00
Ryan Petrello
e642af82cc
fix a few bugs for scheduled jobs that run without inventories
...
see: https://github.com/ansible/ansible-tower/issues/7865
see: https://github.com/ansible/ansible-tower/issues/7866
2018-01-29 15:15:57 -05:00
Ryan Petrello
b0a755d7b5
Merge pull request #1076 from ryanpetrello/rrule-until-changes
...
adhere to RFC5545 regarding UNTIL timezones
2018-01-29 13:31:17 -05:00
Ryan Petrello
6753f1ca35
adhere to RFC5545 regarding UNTIL timezones
...
If the "DTSTART" property is specified as a date with UTC time or a date with
local time and time zone reference, then the UNTIL rule part MUST be specified
as a date with UTC time.
2018-01-29 12:42:31 -05:00
Ryan Petrello
982539f444
fix a bug when testing UDP-based logging configuration
...
see: https://github.com/ansible/ansible-tower/issues/7868
2018-01-29 12:05:51 -05:00
Ryan Petrello
f8d9d5f51a
Merge pull request #1067 from ryanpetrello/fix-7869
...
don't allow distant DTSTART values for schedules; it's slow
2018-01-29 12:00:36 -05:00
Wayne Witzel III
bad8c65321
Merge pull request #1074 from wwitzel3/devel
...
Load Celery inspector manually when needed
2018-01-29 12:00:24 -05:00
Ryan Petrello
6f0c937236
don't allow distant DTSTART values for schedules; it's slow
...
see: https://github.com/ansible/ansible-tower/issues/7869
2018-01-29 10:16:03 -05:00
Wayne Witzel III
55a616cba6
Load Celery inspector manually when needed
2018-01-29 14:57:03 +00:00
Jake McDermott
4c79e6912e
bump templates form credential_types page limit
2018-01-28 21:50:30 -05:00
Jim Ladd
4b13bcdce2
Update tests for custom credentials
2018-01-28 21:02:48 -05:00
Jim Ladd
18178c83b3
Validate single and multi-file injection
2018-01-28 21:02:47 -05:00
Jim Ladd
7aa1ae69b3
Add backwards compatibility for injecting single file
2018-01-28 20:50:44 -05:00
Jim Ladd
286a70f2ca
Add support for multi-file injection in custom creds
2018-01-28 20:50:43 -05:00
Shane McDonald
87365e5969
Merge pull request #1071 from jakemcdermott/set-selenium-container-image-tags
...
use selenium hub / node container image version '3.8.1-erbium'
2018-01-28 16:37:03 -05:00
Jake McDermott
7e829e3a9d
use selenium hub / node container image version '3.8.1-erbium'
2018-01-28 16:05:29 -05:00
Shane McDonald
b8cba916a5
Merge pull request #1069 from tdgroot/develop-dockerfile_rsync
...
Add rsync to Dockerfile
2018-01-27 10:14:36 -05:00
Timon de Groot
dc96a1730e
Add rsync to Dockerfile
2018-01-27 11:54:51 +01:00
Matthew Jones
d4983ea10d
Merge pull request #856 from ewjoachim/docker-compose-491
...
Fixes #491 : Adding Docker Compose installer
2018-01-26 08:33:40 -05:00
Joachim Jablon
209bdd00a1
related #491 Bacpkort #1007
2018-01-26 07:09:28 +01:00
Joachim Jablon
c4efbd62bc
related #491 Docker Compose installer
...
Signed-off-by: Joachim Jablon <ewjoachim@gmail.com >
2018-01-26 07:09:28 +01:00
Joachim Jablon
287a3bc8d4
related #491 Documentation for Docker Compose
...
Signed-off-by: Joachim Jablon <ewjoachim@gmail.com >
2018-01-26 07:09:28 +01:00
Joachim Jablon
9fefc26528
related #491 Split local_docker docker into 2 task files
...
Signed-off-by: Joachim Jablon <ewjoachim@gmail.com >
2018-01-26 07:09:28 +01:00
Ryan Petrello
e2d4ef31fd
Merge pull request #1061 from ryanpetrello/fix-1042
...
fix a unicode bug in the stdout endpoint when ?content_encoding=base64
2018-01-25 16:07:21 -05:00
Ryan Petrello
a15e257b9e
fix a unicode bug in the stdout endpoint when ?content_encoding=base64
...
see: https://github.com/ansible/awx/issues/1042
2018-01-25 15:53:43 -05:00
Ryan Petrello
a56370fed5
Merge pull request #1059 from ryanpetrello/reload-celery
...
reload the entire celery worker pool when uwsgi reloads the Python app
2018-01-25 15:12:22 -05:00
Ryan Petrello
e7ed4811c1
reload the entire celery worker pool when uwsgi reloads the Python app
...
this is for the development environment only; when uwsgi notices a code
change, it automatically reloads the uwsgi workers; this patch includes
a hook that sends `SIGHUP` to the celery process, causing it to spawn
a new set of workers as well
2018-01-25 14:59:40 -05:00
Ryan Petrello
9860b38438
Merge pull request #1055 from ryanpetrello/lazybaron
...
only import the redbaron library on-demand
2018-01-25 13:09:58 -05:00
Ryan Petrello
ef80ecd3b6
only import the redbaron library on-demand
...
redbaron is a library we use to facilitate parsing local settings files;
at _import_ time it generates a parse tree and caches it to disk at
`/tmp`; this process is _really time consuming, and only necessary if
we're actually *using* the library
right now, we're importing this library and paying the penalty
_every_ time we load the awx application
2018-01-25 10:23:44 -05:00
Ryan Petrello
50290a9063
Merge pull request #1024 from ryanpetrello/fix-710-schedule-timezone
...
support TZID= in schedule rrules
2018-01-25 10:14:57 -05:00
Shane McDonald
fefa4a8bf4
Merge pull request #1049 from ansible/jakemcdermott-fix-1045
...
add minimum git version to install guide
2018-01-24 15:40:10 -05:00
Jake McDermott
546f88c74d
add minimum git version
2018-01-24 15:12:58 -05:00
Matthew Jones
42098bfa6d
Merge pull request #621 from ryanpetrello/set_stat_workflow_race_condition
...
don't process artifacts from custom `set_stat` calls asynchronously
2018-01-24 10:27:19 -05:00
Jake McDermott
afa1fb489c
Merge pull request #1044 from jakemcdermott/fix-948
...
bump templates form credential_types page limit
2018-01-24 09:35:43 -05:00
Wayne Witzel III
b205630490
Merge pull request #622 from wwitzel3/release_3.2.3
...
Wait for Slack RTM API websocket connection to be established
2018-01-24 08:59:45 -05:00
Wayne Witzel III
aa469d730e
Wait for Slack RTM API websocket connection to be established
2018-01-24 13:48:42 +00:00
Jake McDermott
3571abb42b
bump templates form credential_types page limit
2018-01-23 18:28:59 -05:00
Ryan Petrello
d57470ce49
don't process artifacts from custom set_stat calls asynchronously
...
previously, we persisted custom artifacts to the database on
`Job.artifacts` via the callback receiver. when the callback receiver
is backed up processing events, this can result in race conditions for
workflows where a playbook calls `set_stat()`, but the artifact data is
not persisted in the database before the next job in the workflow starts
see: https://github.com/ansible/ansible-tower/issues/7831
2018-01-23 17:09:23 -05:00
Jake McDermott
21425db889
Merge pull request #1041 from jakemcdermott/fix-multicred-bugs
...
Fix multicred bugs
2018-01-23 13:34:35 -05:00
Jake McDermott
cc64657749
use correct handle for modal tag deselect
2018-01-23 10:32:13 -05:00
Jake McDermott
7300c2ccc1
fix unexpected deselect when selecting no-vault-id vault credentials
2018-01-23 10:19:19 -05:00
Jake McDermott
7c596039c5
fix modal exit button close
2018-01-23 09:39:59 -05:00
Ryan Petrello
9857c8272e
add more tests for weird timezone/DST boundaries in schedules
...
see: https://github.com/ansible/awx/pull/1024
2018-01-22 14:57:57 -05:00
Shane McDonald
797169317c
Merge pull request #1037 from shanemcd/devel
...
Use newer version of git in dev image
2018-01-22 14:43:09 -05:00
Shane McDonald
67c6591f6f
Use newer version of git in dev image
...
More fallout from #982
2018-01-22 13:57:44 -05:00
Ryan Petrello
15906b7e3c
support TZID= in schedule rrules
...
this commit allows schedule `rrule` strings to include local timezone
information via TZID=NNNNN; occurrences are _generated_ in the local
time specific by the user (or UTC, if e.g., DTSTART:YYYYMMDDTHHMMSSZ)
while Schedule.next_run, Schedule.dtstart, and Schedule.dtend will be
stored in the UTC equivalent (i.e., the scheduler will still do math on
"what to run next" based on UTC datetimes).
in addition to this change, there is now a new API endpoint,
`/api/v2/schedules/preview/`, which takes an rrule and shows the next
10 occurrences in local and UTC time.
see: https://github.com/ansible/ansible-tower/issues/823
related: https://github.com/dateutil/dateutil/issues/614
2018-01-22 11:50:00 -05:00
Ryan Petrello
fdd2b84804
Merge pull request #1036 from ryanpetrello/fix-955
...
fix a bug that breaks workflows w/ a survey password + inventory sync
2018-01-22 10:55:51 -05:00
Ryan Petrello
ac3f7d0fac
fix a bug that breaks workflows w/ a survey password + inventory sync
...
prior versions of awx did not raise an exception for this scenario
- they simply ignored kwargs that they couldn't accept. this change is
a sort of middle ground - it ignores them, but gives a clue in the logs
as to why
see: https://github.com/ansible/awx/issues/955
related: https://github.com/ansible/awx/pull/803
2018-01-22 09:41:30 -05:00
Shane McDonald
09d63b4883
Merge pull request #1029 from jakemcdermott/fix-navbar
...
fix navbar / breadcrumb issue
2018-01-19 13:54:56 -05:00
Jake McDermott
b96e33ea50
fix navbar / breadcrumb issue
2018-01-19 13:52:11 -05:00
Matthew Jones
71d23e8c81
Merge pull request #1007 from wallnerryan/alternate-dns-servers
...
support dns servers: fixes https://github.com/ansible/awx/issues/1004
2018-01-19 08:58:29 -05:00
Ryan Petrello
073feb74cb
Merge pull request #1015 from ryanpetrello/fix-980
...
fix another bug that breaks the JT callback process
2018-01-18 14:26:48 -05:00
Ryan Petrello
43f19cc94b
fix another bug that breaks the JT callback process
...
see: https://github.com/ansible/awx/issues/980
related: 17cd0595d7
2018-01-18 13:17:06 -05:00
Ryan Petrello
ef312f0030
Merge pull request #1011 from ryanpetrello/fix-1010
...
don't require an IRC password in the notification UI
2018-01-18 12:55:57 -05:00
Christian Adams
d0fec0f19c
Merge pull request #1013 from rooftopcellist/rdb_docs
...
added RDB info to docs
2018-01-18 12:33:00 -05:00
adamscmRH
1e14221625
added RDB info to docs
2018-01-18 11:48:26 -05:00
Matthew Jones
b6a901ac51
Merge pull request #1012 from wwitzel3/devel
...
first-parent requires git >= 1.8.4
2018-01-18 11:36:33 -05:00
Wayne Witzel III
1af0ee2f8c
first-parent requires git >= 1.8.4
2018-01-18 16:12:23 +00:00
Ryan Petrello
b62ac6fbe4
Merge pull request #1001 from ryanpetrello/fix-7852
...
refactor credential injection for builtin types
2018-01-18 10:49:03 -05:00
Ryan Petrello
e5aaeedc43
don't require an IRC password in the notification UI
...
see: https://github.com/ansible/awx/issues/1010
2018-01-18 09:14:22 -05:00
Wayne Witzel III
fc5c5400cd
Merge pull request #1003 from wwitzel3/devel
...
Fix notification_data attempting to access name property of an int
2018-01-18 08:55:50 -05:00
Wayne Witzel III
95bead2bb2
Extend notification_data test
2018-01-18 13:30:12 +00:00
Ryan Wallner
bcbda23aee
support dns servers
2018-01-18 07:46:09 -05:00
Jake McDermott
5a21783013
Merge pull request #976 from jakemcdermott/multivault-templates-form
...
multivault select for templates form
2018-01-17 23:20:44 -05:00
Jake McDermott
e33604de71
show credential kind icon on credential tags
2018-01-17 23:07:34 -05:00
Jake McDermott
c50c63a9ff
default to machine credential type
2018-01-17 23:07:23 -05:00
Jake McDermott
916d91cbc7
use updated credentials endpoint
2018-01-17 23:07:10 -05:00
Jake McDermott
79bd8b2c72
show vault id
2018-01-17 22:02:54 -05:00
Jake McDermott
5939116b0a
update e2e and smoke tests for multivault select
2018-01-17 22:02:43 -05:00
Jake McDermott
6759e60428
add working multivault select for templates form
2018-01-17 22:02:30 -05:00
Jake McDermott
ef8af79700
load multiselect list when vault kind is selected
2018-01-17 22:02:16 -05:00
Ryan Petrello
dbb4d2b011
refactor credential injection for builtin types
...
this cleanups up a _lot_ of code duplication that we have for builtin
credential types. it will allow customers to setup custom inventory
sources that utilize builtin credential types (e.g., a custom inventory
script that could use an AzureRM credential)
see: https://github.com/ansible/ansible-tower/issues/7852
2018-01-17 16:50:28 -05:00
Wayne Witzel III
4a28065dbb
Fix notification_data attempting to access name property of an int
2018-01-17 21:46:49 +00:00
Ryan Petrello
5387846cbb
Merge pull request #992 from ryanpetrello/optimize-output-event-filter
...
optimize OutputEventFilter for large stdout streams
2018-01-17 14:24:15 -05:00
Ryan Petrello
6b247f1f24
Merge pull request #1000 from ryanpetrello/fix-7853
...
fix a minor unicode handling bug in project names
2018-01-17 14:15:15 -05:00
Ryan Petrello
838b793704
fix a minor unicode handling bug in project names
...
see: https://github.com/ansible/ansible-tower/issues/7853
2018-01-17 13:37:06 -05:00
Ryan Petrello
3cb8c98a41
Merge pull request #998 from ryanpetrello/fix-980
...
fix a bug which broke the callback plugin launch process
2018-01-17 12:12:05 -05:00
Ryan Petrello
18f254fc28
Merge pull request #769 from rbywater/feature/cloudformssuffix
...
Add ability to append suffix to host names for Cloudforms Inventory
2018-01-17 11:43:10 -05:00
Michael Abashian
9c6c6ce816
Merge pull request #990 from mabashian/975-delete-template
...
Fixed delete on templates list
2018-01-17 11:40:42 -05:00
Chris Meyers
6699be95bf
Merge pull request #995 from chrismeyersfsu/improvement-fact_cache_log_job
...
add job_id to fact cache log output
2018-01-17 11:30:57 -05:00
Ryan Petrello
17cd0595d7
fix a bug which broke the callback plugin launch process
...
see: https://github.com/ansible/awx/issues/980
2018-01-17 11:28:13 -05:00
Chris Meyers
0402064c0f
expose ansible_facts_modified
2018-01-17 10:28:34 -05:00
Chris Meyers
e33265e12c
add job_id to fact cache log output
2018-01-17 10:19:27 -05:00
Richard Bywater
b8c76301de
Add validation to ensure leading fullstop for suffix
2018-01-17 13:20:59 +13:00
Ryan Petrello
51f7907a01
optimize OutputEventFilter for large stdout streams
...
update our event data search algorithm to be a bit lazier in event data
discovery; this drastically improves processing speeds for stdout >5MB
see: https://github.com/ansible/awx/issues/417
2018-01-16 14:41:35 -05:00
jlmitch5
1a98cedc0f
Merge pull request #993 from ansible/jlmitch5-patch-1
...
update css so that scroll bar doesn't take padding from main content area
2018-01-16 14:28:14 -05:00
jlmitch5
db974d4fd4
update css so that scroll bar doesn't take padding from main content area
2018-01-16 14:22:08 -05:00
mabashian
d6e663eff0
Fixed delete on templates list
2018-01-16 08:36:38 -05:00
Christian Adams
ccb40c8c68
Merge pull request #986 from rooftopcellist/xtra_vars
...
extends JT xtra var error msg
2018-01-16 00:58:59 -05:00
Ryan Petrello
6eb04de1a7
Merge pull request #978 from ryanpetrello/fix-7841
...
fix a minor bug in the JT launch related to support for zero credentials
2018-01-15 20:35:28 -05:00
Shane McDonald
cad5c5e79a
Merge pull request #987 from shanemcd/devel
...
Fix sdist builder image
2018-01-15 20:25:16 -05:00
Shane McDonald
97472cb91b
Fix sdist builder image
...
Fallout from https://github.com/ansible/awx/pull/982
2018-01-15 15:39:48 -05:00
adamscmRH
0c63ea0052
extends JT xtra var error msg
2018-01-15 15:05:03 -05:00
Ryan Petrello
fa9c6287f7
Merge pull request #620 from ryanpetrello/fix-815
...
don't overwrite env['ANSIBLE_LIBRARY'] when fact caching is enabled
2018-01-15 13:55:42 -05:00
Ryan Petrello
2955842c44
don't overwrite env['ANSIBLE_LIBRARY'] when fact caching is enabled
...
see: https://github.com/ansible/awx/issues/815
see: https://github.com/ansible/ansible-tower/issues/7830
2018-01-15 13:39:46 -05:00
Ryan Petrello
64028dba66
Merge pull request #619 from ryanpetrello/file_based_tower_fact_cache
...
replace our memcached-based fact cache implementation with local files
2018-01-15 11:57:18 -05:00
Chris Meyers
2b1d2b2976
Merge pull request #805 from chrismeyersfsu/feature-saml_import_attr
...
allow for saml attributes to define team and org
2018-01-15 11:57:05 -05:00
Ryan Petrello
e1d50a43fd
only allow facts to cache in the proper file system location
2018-01-15 11:45:49 -05:00
Shane McDonald
7d51b1cb9d
Merge pull request #982 from shanemcd/devel
...
Use first parent commit when determining version from tags
2018-01-15 11:04:23 -05:00
Shane McDonald
52e531625c
Use first parent commit when determining version from tags
...
We were having issues where an older tag was being outputed from `git describe`.
From the man page:
Follow only the first parent commit upon seeing a merge commit. This is useful when you wish to not match tags on branches merged in the history of the target commit.
2018-01-15 11:01:47 -05:00
Ryan Petrello
983b192a45
replace our memcached-based fact cache implementation with local files
...
see: https://github.com/ansible/ansible-tower/issues/7840
2018-01-15 09:16:44 -05:00
Richard Bywater
b5db652050
Clarify that leading fullstop needed
2018-01-14 14:05:34 +13:00
Jake McDermott
e699402115
Merge pull request #979 from mabashian/template-list-actions
...
Added old schedule/copy logic to template list
2018-01-12 20:19:31 -05:00
mabashian
d012f5cd99
Added old schedule/copy logic to template list until it can be refactored
2018-01-12 12:23:29 -05:00
Ryan Petrello
e0c04df1ee
Merge pull request #618 from ryanpetrello/become_who_you_were_meant_to_be
...
add support for new "BECOME" prompt in Ansible 2.5+
2018-01-12 11:45:08 -05:00
Ryan Petrello
4a2ca20b60
fix a minor bug in the JT launch related to support for zero credentials
...
see: https://github.com/ansible/ansible-tower/issues/7841
2018-01-12 11:37:33 -05:00
Ryan Petrello
563f730268
add support for new "BECOME" prompt in Ansible 2.5+
...
see: https://github.com/ansible/ansible-tower/issues/7850
2018-01-12 10:40:40 -05:00
Chris Meyers
e49dfd6ee2
only run saml pipeline if saml social auth
...
* Do not trigger saml social auth pipeline methods if the user logging
in was not created by the saml social auth backend.
2018-01-11 16:20:49 -05:00
Jake McDermott
fb414802fa
Merge pull request #970 from ansible/smoketest-fixes-for-lists
...
update test selector for add button dropdown arrow
2018-01-11 16:13:51 -05:00
Michael Abashian
00f400e839
Merge pull request #971 from mabashian/892-delete-inv-src
...
Fixed a few straggling success/error promises and replaced with then/catch
2018-01-11 14:51:29 -05:00
Chris Meyers
234e33df0e
Merge pull request #959 from chrismeyersfsu/feature-multiple_ldap_servers
...
implement multiple ldap servers
2018-01-11 14:45:38 -05:00
mabashian
f9b0a3121f
Fixed a few straggling success/error promises and replaced with then/catch
2018-01-11 13:59:46 -05:00
Jake McDermott
0afdca3674
update test selector for add button dropdown arrow
2018-01-11 13:48:03 -05:00
Matthew Jones
03cef6fea3
Merge pull request #969 from matburt/default_x_forwarded_for
...
Add X-Forwarded-For as a default source of remote host headers
2018-01-11 12:01:27 -05:00
Matthew Jones
7dc0fce1aa
Use x-forwarded-for by default in openshift and kubernetes
2018-01-11 12:00:01 -05:00
Matthew Jones
648d27f28d
Merge pull request #909 from scottp-dpaw/add-openshift-hint
...
Add REMOTE_HOST_HEADERS override to OpenShift template
2018-01-11 11:56:05 -05:00
jlmitch5
5a5e5bc121
Merge pull request #898 from jlmitch5/newTemplateList
...
implementation for expanded template list
2018-01-11 11:23:56 -05:00
John Mitchell
aea37654e2
updated template list to using new components
2018-01-11 11:20:12 -05:00
Ryan Petrello
89b9d7ac8b
Merge pull request #617 from ryanpetrello/release_3.2.3
...
fix a bug in inventory generation for isolated nodes
2018-01-11 11:04:09 -05:00
Ryan Petrello
b8758044e0
fix a bug in inventory generation for isolated nodes
...
see: https://github.com/ansible/ansible-tower/issues/7849
related: https://github.com/ansible/awx/pull/551
2018-01-11 10:41:58 -05:00
Chris Meyers
2ed97aeb0c
implement multiple ldap servers
2018-01-11 09:03:14 -05:00
Ryan Petrello
9431b0b6ff
Merge pull request #962 from ryanpetrello/fix-7843
...
fix a unicode handling bug
2018-01-10 18:17:58 -05:00
Ryan Petrello
a5007ccd41
fix a unicode handling bug
...
see: https://github.com/ansible/ansible-tower/issues/7843
related: https://github.com/ansible/awx/pull/807
2018-01-10 15:56:31 -05:00
Michael Abashian
81fc4219ae
Merge pull request #957 from mabashian/860-facts
...
Fixed display of host facts
2018-01-10 15:02:23 -05:00
Ryan Petrello
c3c4d79890
Merge pull request #958 from ryanpetrello/multivenv
...
add an example for custom virtualenv setup in containers
2018-01-10 14:24:42 -05:00
Ryan Petrello
b01b229fea
add an example for custom virtualenv setup in containers
2018-01-10 13:48:55 -05:00
mabashian
984b7e066d
Fixed display of host facts
2018-01-10 13:18:38 -05:00
Matthew Jones
67d927121d
Merge pull request #940 from ryanpetrello/multivenv
...
implement support for per-playbook/project/org virtualenvs
2018-01-10 12:15:38 -05:00
Ryan Petrello
4c40791d06
properly handle unicode for isolated job buffers
...
from: https://docs.python.org/2/library/stringio.html#module-cStringIO
"Unlike the StringIO module, this module is not able to accept Unicode
strings that cannot be encoded as plain ASCII strings."
see: https://github.com/ansible/ansible-tower/issues/7846
2018-01-10 10:56:59 -05:00
Matthew Jones
ae06cff991
Merge pull request #938 from ansible/kubernetes_install_support
...
Kubernetes install support
2018-01-10 09:57:33 -05:00
Matthew Jones
7ea6d7bf4d
Clean up documentation for kubernetes installer
2018-01-10 09:39:07 -05:00
Matthew Jones
fad4a549d0
Remove oc command usage from docker registry k8s reference
2018-01-10 09:38:00 -05:00
Matthew Jones
9365e477c5
Merge pull request #951 from ansible/remove_nodeport
...
Remove nodeport customization
2018-01-10 09:32:36 -05:00
Matthew Jones
d0b3cac72a
Remove nodeport definition
2018-01-10 09:29:12 -05:00
Chris Meyers
de02138dfd
spelling is hard
2018-01-10 09:26:11 -05:00
Matthew Jones
44f0b003fc
Kubernetes install documentation
2018-01-10 09:25:59 -05:00
Matthew Jones
56aed597b2
Add initial support for kubernetes to the installer
2018-01-10 09:25:59 -05:00
Matthew Jones
f33ee03b98
Remove nodeport customization
...
This isn't strictly necessary for the Openshift routes and can
sometimes cause problems when the resource is already defined in openshift
2018-01-10 09:23:46 -05:00
Ryan Petrello
69a3b0def6
Merge pull request #946 from ryanpetrello/fix-7846
...
fix a handful of issues for playbooks that contain unicode
2018-01-10 09:16:40 -05:00
Matthew Jones
6504972d82
Merge pull request #741 from rbywater/bugfix/cloudformsinventory
...
Fix CloudForms enabled & id variable names - relates to #705
2018-01-10 00:22:58 -05:00
Ryan Petrello
4bb2b5768e
properly compose stdout downloads that contain unicode
2018-01-09 23:52:02 -05:00
Ryan Petrello
c0a641ed52
properly handle unicode for isolated job buffers
...
from: https://docs.python.org/2/library/stringio.html#module-cStringIO
"Unlike the StringIO module, this module is not able to accept Unicode
strings that cannot be encoded as plain ASCII strings."
see: https://github.com/ansible/ansible-tower/issues/7846
2018-01-09 23:46:17 -05:00
Ryan Petrello
1e8c89f536
implement support for per-playbook/project/org virtualenvs
...
see: https://github.com/ansible/awx/issues/34
2018-01-09 22:47:01 -05:00
Shane McDonald
54d3412820
Merge pull request #942 from wwitzel3/devel
...
Update asgi-amqp requirement
2018-01-09 19:17:45 -05:00
Wayne Witzel III
1690938dfb
Update asgi-amqp requirement
2018-01-09 23:54:30 +00:00
Chris Meyers
0a9d3d47b9
more efficiently determine saml team mapping
2018-01-09 12:16:07 -05:00
Ryan Petrello
2952b0a0fe
Merge pull request #807 from AlanCoding/inv_update_name
...
Make inventory update name combination of inventory and source
2018-01-08 10:43:44 -05:00
Ryan Petrello
1d3e8f8b87
Merge pull request #831 from AlanCoding/field_names
...
Use Options models to consolidate field_names list
2018-01-08 10:36:16 -05:00
Ryan Petrello
97c040aaa1
Merge pull request #839 from AlanCoding/cache_settings_dict
...
Cache the global settings list, cProfile speedup
2018-01-08 10:35:00 -05:00
Ryan Petrello
818c95501a
Merge pull request #920 from ryanpetrello/fix-914
...
add vault_id to launch endpoints default vault credentials
2018-01-08 10:31:31 -05:00
Chris Meyers
664bdec57f
add documentation
2018-01-05 14:43:33 -05:00
Michael Abashian
92068930a6
Merge pull request #919 from ansible/jakemcdermott-add-dialog-slider-imports
...
add dialog and slider vendor imports
2018-01-05 08:48:11 -05:00
Chris Meyers
d07a946183
Merge pull request #921 from chrismeyersfsu/fix-handle_work_error-689
...
Fix handle_work_error()
2018-01-05 07:54:03 -05:00
Chris Meyers
9d58b15135
allow for saml attributes to define team and org
...
related to https://github.com/ansible/awx/issues/217
* Adds a configure tower in tower setting for users to configure a saml
attribute that tower will use to put users into teams and orgs.
2018-01-04 15:35:11 -05:00
Chris Meyers
a0038276a4
do not use a custom task exception
...
* Celery + json pickling do not handle custom Exceptions (and may never
do so). Mentioning of, if handling custom Exceptions then the code would
be susceptible to same arbitrary code execution that python pickle is
vulnerable to.
* So don't use custom Exceptions.
2018-01-04 15:30:52 -05:00
Chris Meyers
f0ff6ecb0a
handle_work_error signature to work
...
* celery error callback signature isn't well defined. Thus, our error
callback signature is made to handle just about any call signature and
depend on only 1 attribute, id, existing.
See https://github.com/celery/celery/issues/3709
2018-01-04 15:23:13 -05:00
Ryan Petrello
60743d6ba6
add the vault_id to the response payload on the JT launch endpoint
...
see: https://github.com/ansible/awx/issues/914
2018-01-04 15:13:48 -05:00
Ryan Petrello
4707b5e020
Merge pull request #917 from ryanpetrello/more-stdout-event-polish
...
more stdout event polish
2018-01-04 14:54:46 -05:00
Jake McDermott
ed7d7fcf00
add dialog and slider vendor imports
2018-01-04 14:46:42 -05:00
Aaron Tan
6c2a7f3782
Merge pull request #906 from jangsutsr/refactor_named_url_tests
...
Refactor named URL unit tests
2018-01-04 14:20:27 -05:00
Ryan Petrello
47875c5f9a
Merge pull request #916 from ryanpetrello/memcache-fact-cache-size-warning
...
make the fact caching plugin fail more gracefully for large payloads
2018-01-04 13:06:29 -05:00
Ryan Petrello
f28f7c6184
refactor job event signal generation code
2018-01-04 12:50:12 -05:00
Ryan Petrello
1494c8395b
update websockets docs to reflect new event groups
2018-01-04 11:40:15 -05:00
Ryan Petrello
2691e1d707
make the fact caching plugin fail more gracefully for large payloads
...
related: https://github.com/ansible/ansible/pull/34424
2018-01-04 11:33:47 -05:00
Ryan Petrello
6d413bd412
Merge pull request #833 from ryanpetrello/stdout-events
...
generalize stdout event processing to emit events for all job types
2018-01-04 11:28:52 -05:00
Aaron Tan
54bf7e13d8
Refactor named URL unit tests
...
The original tests set no longer works after Django 1.11 due to more
strict rules against dynamic model definition. The refactored tests set
aims at each existing model that apply named URL rules, instead of
abstract general use cases, thus significantly improves maintainability
and readability.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2018-01-03 14:00:30 -05:00
Ryan Petrello
c6b6a3ad89
send and subcribe to summary events for all new events
2018-01-03 09:09:45 -05:00
Ryan Petrello
2bd656e61d
calculate stdout download length using the ORM, not raw SQL
2018-01-03 09:09:44 -05:00
Ryan Petrello
35b8e40d3c
remove deprecation from the stdout endpoint; text downloads still use it
2018-01-03 09:09:44 -05:00
Ryan Petrello
c4d901bf2c
add functional API tests for deprecated job event stdout composition
...
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:44 -05:00
Ryan Petrello
1369f72885
add new API endpoints and websocket emit for new job event types
...
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:44 -05:00
Ryan Petrello
0b30e7907b
change stdout composition to generate from job events on the fly
...
this approach totally removes the process of reading and writing stdout
files on the local file system at settings.JOBOUTPUT_ROOT when jobs are
run; now stdout content is only written on-demand as it's fetched for
the deprecated `stdout` endpoint
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:43 -05:00
Ryan Petrello
fc94b3a943
generalize stdout event processing to emit events for *all* job types
...
* introduces three new models: `ProjectUpdateEvent`,
`InventoryUpdateEvent`, and `SystemJobEvent`
* simplifies the stdout callback management in `tasks.py` - now _all_
job run types capture and emit events to the callback receiver
* supports stdout reconstruction from events for stdout downloads for
_all_ job types
* configures `ProjectUpdate` runs to configure the awx display callback
(so we can capture real playbook events for `project_update.yml`)
* ProjectUpdate, InventoryUpdate, and SystemJob runs no longer write
text blobs to the deprecated `main_unifiedjob.result_stdout_text` column
see: https://github.com/ansible/awx/issues/200
2018-01-03 09:09:42 -05:00
Scott Percival
fde9099198
Add REMOTE_HOST_HEADERS override to OpenShift template
...
Signed-off-by: Scott Percival <scott.percival@dbca.wa.gov.au >
2018-01-03 09:53:17 +08:00
Michael Abashian
815cd829e0
Merge pull request #872 from mabashian/865-jquery-ui-upgrade-bug
...
Fixed spinners after jquery-ui upgrade
2018-01-02 13:18:51 -05:00
Aaron Tan
a2fd78add4
Implement item copy feature
...
See acceptance doc for implement details.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2018-01-02 10:20:44 -05:00
Ryan Petrello
28c612ae9c
Merge pull request #871 from AlanCoding/dirty_extra_data
...
Fix bug when creating system job schedule
2018-01-02 09:22:07 -05:00
Bill Nottingham
d6ed6a856d
Merge pull request #845 from wenottingham/he-sees-you-when-you're-sleeping
...
Tweak collected information.
2017-12-21 13:52:11 -05:00
mabashian
706b370f7e
Fixed spinners after jquery-ui upgrade
2017-12-20 16:02:53 -05:00
AlanCoding
80a2d10742
fix bug when creating system job schedule
2017-12-20 15:30:57 -05:00
Jake McDermott
f7259a1e78
Merge pull request #844 from jakemcdermott/fix-package-json-backmerge-issue
...
package.json updates / restore ui watch functionality
2017-12-18 17:03:03 -05:00
AlanCoding
08570fe785
make inventory update name combination of inventory and source
2017-12-18 16:21:39 -05:00
Jake McDermott
987cdc6802
Bump versions of angular-codemirror, jquery-ui, and moment
2017-12-18 16:21:29 -05:00
Alan Rominger
6e27294e2b
Merge pull request #846 from AlanCoding/encrypt_on_save
...
Encrypt password answers on config save
2017-12-18 16:20:08 -05:00
AlanCoding
3439ba5f3b
allow WFJT nodes without required variables
2017-12-18 12:03:40 -05:00
AlanCoding
c8e10adc96
fix bug saving extra_data and follow prompts rules
...
display_extra_vars was not taking a copy of the data before
acting on it - this causes a bug where the activity stream will
modify the existing object on the model. That leads to new data
not being accepted.
Also moved the processing of extra_data to prior to the accept
or ignore kwargs logic so that we pass the right (post-encryption)
form of the variables.
2017-12-18 10:50:22 -05:00
Christian Adams
7e261b5246
Merge pull request #847 from rooftopcellist/contributing_typos
...
Fixed Typos
2017-12-15 11:09:43 -05:00
AlanCoding
1e1839915d
validate against unencrypted values at spawn point
2017-12-15 10:47:23 -05:00
AlanCoding
74bf058d62
encrypt password answers on config save
2017-12-15 07:48:55 -05:00
Matthew Jones
5ec537bad2
Merge pull request #843 from ansible/remove_old_tests
...
Removing old unused tests
2017-12-14 23:55:12 -05:00
Bill Nottingham
568901af74
Tweak collected information.
2017-12-14 19:22:18 -05:00
adamscmRH
c2e9926330
Fixed Typos
2017-12-14 16:13:04 -05:00
Jake McDermott
c4ccfa1b27
restoring ui watch functionality
2017-12-14 14:23:46 -05:00
Matthew Jones
478bcc0b07
Removing old unused tests
2017-12-14 11:34:43 -05:00
AlanCoding
0bb9c58e25
cache the global settings list, cProfile speedup
2017-12-14 11:29:30 -05:00
Alan Rominger
9c783aa0ce
Merge pull request #804 from AlanCoding/active_count
...
simplify query for active_count
2017-12-14 10:47:12 -05:00
Alan Rominger
526391a072
Merge pull request #838 from AlanCoding/no_unicode_loop_2
...
Avoid slowdown generating smart_filter (alternative 2)
2017-12-14 10:23:31 -05:00
AlanCoding
98f8faa349
simplify query for active_count
2017-12-14 09:53:26 -05:00
AlanCoding
8a2a5b0fb1
avoid slowdown generating smart_filter
2017-12-14 09:39:39 -05:00
Jake McDermott
07cfa6cba5
Merge pull request #834 from AlanCoding/jump-the-start-line
2017-12-13 22:43:54 -05:00
AlanCoding
e188692acf
use Options models to consolidate field_names list
2017-12-13 22:39:38 -05:00
Jake McDermott
ad70754b6a
Merge pull request #832 from mabashian/linting-error-cleanup
...
Fixed linting/leftover merge errors
2017-12-13 19:46:02 -05:00
AlanCoding
9fb24f1a4c
add hack to TimingMiddlWare for Shippable tests
2017-12-13 18:49:26 -05:00
mabashian
aefa30e1e9
Fixed linting/leftover merge errors
2017-12-13 18:28:52 -05:00
Alan Rominger
7eb2d86890
Merge pull request #749 from AlanCoding/detail_opt
...
Apply list view optimizations to detail view
2017-12-13 18:19:00 -05:00
Matthew Jones
2fb0144914
Add libcurl-devel to official image build
2017-12-13 16:14:55 -05:00
AlanCoding
e3a731bb9e
apply listview optimizations to detail view
2017-12-13 16:09:37 -05:00
Ryan Petrello
451e9a7504
Merge pull request #826 from AlanCoding/322flake
...
flake8 fixes from removal of re-encrypt test
2017-12-13 15:23:41 -05:00
Ryan Petrello
8311acfba2
Merge pull request #825 from AlanCoding/towervars
...
Add back in support of towervars lost in merge
2017-12-13 15:19:47 -05:00
AlanCoding
77a1c405a6
flake8 fixes from removal of reencrypt test
2017-12-13 14:32:34 -05:00
AlanCoding
1b0bca8229
add back in support of towervars lost in merge
2017-12-13 14:30:11 -05:00
Ryan Petrello
bd91e8eb54
Merge pull request #824 from ryanpetrello/devel
...
fix a few tests caused by fallout between 3.2.2 bugs and 3.3 multicred
2017-12-13 14:10:39 -05:00
Ryan Petrello
ea4cd99003
fix a few tests caused by fallout between 3.2.2 bugs and 3.3 multicred
2017-12-13 14:02:25 -05:00
Shane McDonald
00ce244716
Merge pull request #822 from jakemcdermott/fix-merge-issues
...
fix merge issue with inventory source service
2017-12-13 13:32:13 -05:00
Jake McDermott
3b791609cd
fix merge issue with inventory source service
2017-12-13 13:23:15 -05:00
Matthew Jones
a8d4eb7c1d
Merge pull request #821 from ryanpetrello/devel
...
more test cleanup from 3.2.2 merge
2017-12-13 13:15:59 -05:00
Ryan Petrello
d35bfafcf5
more test cleanup from 3.2.2 merge
2017-12-13 13:14:22 -05:00
Ryan Petrello
9f8ef4d1e5
Merge pull request #820 from ryanpetrello/devel
...
fix a number of failing unit tests related to the 3.2.2 merge
2017-12-13 13:04:55 -05:00
Ryan Petrello
a978d094b4
fix a number of failing unit tests related to the 3.2.2 merge
2017-12-13 13:03:17 -05:00
Shane McDonald
47e422ba7a
Merge pull request #819 from ansible/jakemcdermott-patch-1
...
fix arg name clash in hosts list controller
2017-12-13 13:02:47 -05:00
Jake McDermott
4b86815275
fix arg name clash in hosts list controller
2017-12-13 13:01:11 -05:00
Alan Rominger
6c1c850c5f
Merge pull request #816 from AlanCoding/ints
...
use credential property that returns integers
2017-12-13 12:56:07 -05:00
AlanCoding
f4f1e0fd3c
use credential property that returns integers
2017-12-13 12:54:32 -05:00
Matthew Jones
ca84e1c654
Merge pull request #817 from ansible/jakemcdermott-patch-1
...
fix missing comma in package.json
2017-12-13 12:48:16 -05:00
Jake McDermott
6b6e898882
fix missing comma in package.json
2017-12-13 12:45:26 -05:00
Matthew Jones
9dbcc5934e
Merge remote-tracking branch 'tower/release_3.2.2' into devel
2017-12-13 12:25:47 -05:00
Greg Considine
fac7fd45f8
Merge pull request #614 from gconsidine/ui/fix/toggle-button-container
...
Adjust style of toggle button to accommodate text that exceeds 42px
2017-12-11 16:09:44 -05:00
Matthew Jones
34c206fab0
Bump psql-container pg version to 9.6
2017-12-11 12:01:28 -05:00
gconsidine
a2f64f1053
Adjust style of toggle button to accommodate text that exceeds 42px
2017-12-11 11:47:21 -05:00
Shane McDonald
334d47f3ab
Pull updated translations
2017-12-11 09:42:06 -05:00
Ryan Petrello
4724b6a3d6
Merge pull request #613 from ryanpetrello/release_3.2.2
...
change how we detect the current user at LDAP login to avoid a nuanced recursion error
2017-12-08 15:46:32 -05:00
Ryan Petrello
ce94ba4c83
change how we detect the current user to avoid a nuanced recursion error
...
see: https://github.com/ansible/ansible-tower/issues/7802
2017-12-08 15:35:47 -05:00
Ryan Petrello
0dc4fa975b
Merge pull request #612 from ryanpetrello/release_3.2.2
...
fix a race condition in "host.last_job" when jobs are deleted
2017-12-06 13:43:45 -05:00
Ryan Petrello
1fb890f4eb
fix a race condition in "host.last_job" when jobs are deleted
...
see: https://github.com/ansible/ansible-tower/issues/7815
2017-12-06 11:30:19 -05:00
Shane McDonald
15e8fd5eca
Pull updated translations
2017-12-05 14:17:18 -05:00
Ryan Petrello
06e751fea1
Merge pull request #611 from ryanpetrello/release_3.2.2
...
more unit tests for survey default handling
2017-12-05 09:18:48 -05:00
Ryan Petrello
fe93ef5488
more unit tests for survey default handling
2017-12-05 09:04:57 -05:00
Richard Bywater
9b05a41eec
Add ability to append suffix to host names for Cloudforms Inventory
...
Allows for use of a suffix that will be appended to host names returned
from Cloudforms API if that suffix is not present.
For example with a suffix of 'example.org', the following results would
be shown for a particular Cloudforms host name:
someexample -> someexample.example.org
someexample.example.org -> someexample.example.org
The main use-case for this is, when one Inventory Source is returning
names that have a FQDN name whilst others are returning a shortname, to
ensure that the hosts in an inventory aren't effectively duplicated.
2017-12-05 14:47:33 +13:00
Ryan Petrello
2c12f1b66e
Merge pull request #610 from ryanpetrello/faster-result-stdout-cleanup
...
don't fetch stdout when purging jobs - it's slow and causes OOMs
2017-12-04 15:41:16 -05:00
Ryan Petrello
33dedc88c8
don't fetch stdout when purging jobs - it's slow and causes OOMs
...
see: https://github.com/ansible/ansible-tower/issues/7751
2017-12-04 15:14:55 -05:00
Alan Rominger
759867c863
Merge pull request #609 from AlanCoding/more_encryption_tests
...
encryption tests around the contract with survey functionality
2017-12-04 14:20:30 -05:00
Alan Rominger
d4613d448c
Merge pull request #608 from AlanCoding/empty_string_defaults
...
allow password default reuse with empty default
2017-12-04 14:19:32 -05:00
AlanCoding
dbd68c5747
encryption tests around the contract with survey functionality
2017-12-04 11:45:07 -05:00
AlanCoding
d23d7c422d
allow password default reuse with empty default
2017-12-04 10:49:36 -05:00
Ryan Petrello
4b793dc58a
Merge pull request #606 from ryanpetrello/test-7806
...
improve validation for empty default passwords
2017-12-04 10:19:06 -05:00
Ryan Petrello
112757e202
properly handle JT launch POST for required survey fields w/ no default
...
see: ansible/ansible-tower#7805
2017-12-04 09:45:21 -05:00
Ryan Petrello
12380fe1b1
add more tests for survey default encryption
...
see: https://github.com/ansible/ansible-tower/issues/7805
see: https://github.com/ansible/ansible-tower/issues/7806
see: https://github.com/ansible/ansible-tower/issues/7807
2017-12-04 09:45:14 -05:00
Ryan Petrello
b987b7daa0
Merge pull request #605 from ryanpetrello/release_3.2.2
...
fix another survey encryption-related bug
2017-12-01 17:30:43 -05:00
Ryan Petrello
6c7851b51f
fix another survey encryption-related bug
2017-12-01 17:11:00 -05:00
Aaron Tan
1ff0591553
Merge pull request #603 from jangsutsr/fix-7737-1
...
Follow up fix #542
2017-12-01 16:07:14 -05:00
Aaron Tan
58ad214dcf
Follow up fix #542
...
Relates
https://github.com/ansible/ansible-tower/issues/7737#issuecomment-348566452
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-12-01 15:58:33 -05:00
Ryan Petrello
a71cee9300
Merge pull request #604 from ryanpetrello/survey_spec_validation_refactor
...
refactor survey spec validation into a separate testable function
2017-12-01 15:44:07 -05:00
Ryan Petrello
1057b93570
refactor survey spec validation into a separate testable function
2017-12-01 15:34:07 -05:00
Alan Rominger
e0edfeac7c
Merge pull request #602 from AlanCoding/clean_defaults
...
block user from entering encrypted as bare default
2017-12-01 14:54:42 -05:00
AlanCoding
47f45bf9b3
block user from entering encrypted as bare default
2017-12-01 14:44:06 -05:00
Ryan Petrello
8d162f9044
Merge pull request #601 from ryanpetrello/flake8-fixes
...
backport a few fixes from awx to address busted ci
2017-12-01 12:48:06 -05:00
AlanCoding
6269b43456
update tests to new Ansible core code
2017-12-01 12:31:56 -05:00
AlanCoding
67867cf0c8
flake8: comply with new E722 rule
2017-12-01 12:16:44 -05:00
Ryan Petrello
7538b4ce15
Merge pull request #600 from ryanpetrello/fix-7800-migration
...
upgrade survey encryption migration to work around an old survey bug
2017-12-01 12:13:18 -05:00
Ryan Petrello
8c6a1e348d
upgrade survey encryption migration to work around an old survey bug
...
see: https://github.com/ansible/ansible-tower/issues/7800
2017-12-01 11:34:47 -05:00
Shane McDonald
3cd80ef67a
Update pot files
2017-11-30 15:29:29 -05:00
Wayne Witzel III
f3310236e4
Merge pull request #599 from wwitzel3/release_3.2.2
...
Fix git project sync bug.
2017-11-30 11:22:29 -05:00
Wayne Witzel III
ed28faa3db
Use TMP instead of TMPDIR and only set it in RunProjectUpdate
2017-11-30 16:10:12 +00:00
Ryan Petrello
fc4b02b79f
Merge pull request #597 from ryanpetrello/jenkins-no-like-unicode
...
removing some cruft we thought would help us catch bugs (it didn't)
2017-11-29 16:39:20 -05:00
Ryan Petrello
a3dd9eb4b7
removing some cruft we thought would help us catch bugs (it didn't)
2017-11-29 16:23:07 -05:00
Richard Bywater
079abc162f
Fix CloudForms enabled & id variable names
...
On Cloudforms (Version 2.0 at least), the dictionary that gets passed to
the inventory_import has a top-level 'cloudforms' dictionary element
that contains the 'id' and 'power_state' rather than those elements
being at the top-level of the dictionary.
This change adds in the 'cloudforms' into the expected name.
2017-11-30 09:30:23 +13:00
Ryan Petrello
d773d163f7
Merge pull request #595 from ryanpetrello/fix-workflow-survey-encrypt
...
more survey password encryption bug squashing
2017-11-29 15:09:40 -05:00
Ryan Petrello
68ada92f3b
more survey password encryption bug squashing
...
the nature of this latest bug is that the WorkflowJob has a *different*
implementation of _accept_or_ignore_job_kwargs, and it wasn't performing
encryption for extra vars provided at launch time; this change places the
encryption mechanism in UJT.create_unified_job so that it works the same
for _all_ UJTs
see: https://github.com/ansible/ansible-tower/issues/7798
see: https://github.com/ansible/ansible-tower/issues/7046
2017-11-29 14:40:41 -05:00
Aaron Tan
4c43afda19
Merge pull request #586 from jangsutsr/fix-7768
...
Supress exception with concurrent deletion
2017-11-29 13:40:45 -05:00
Ryan Petrello
91cc4689c9
Merge pull request #594 from ryanpetrello/fix-sosreport-venv
...
fix incorrect virtualenv path for sosreport plugin
2017-11-29 10:07:12 -05:00
Hideki Saito
febfcf709d
fix incorrect virtualenv path for sosreport plugin
2017-11-29 09:57:41 -05:00
Ryan Petrello
cf1d5a29f6
Merge pull request #593 from ryanpetrello/fix-7796
...
fix another encrypted survey password bug
2017-11-28 17:08:35 -05:00
Ryan Petrello
1425021106
fix another encrypted survey password bug
...
properly encrypt extra_vars that overlap with survey passwords when
`ask_variables_on_launch=true`
see: https://github.com/ansible/ansible-tower/issues/7796
2017-11-28 16:52:47 -05:00
Ryan Petrello
7b42316366
Merge pull request #592 from ryanpetrello/fix-7793
...
fix a bug which caused v1 cred backwards-compat to apply to v2 requests
2017-11-28 14:49:54 -05:00
Ryan Petrello
ce9d75c2e4
Merge pull request #591 from ryanpetrello/rename-ovirt
...
rename oVirt4 to Red Hat Virtualization
2017-11-28 13:10:58 -05:00
Ryan Petrello
26845642f0
fix a bug which caused v1 cred backwards-compat to apply to v2 requests
...
see: https://github.com/ansible/ansible-tower/issues/7793
2017-11-28 13:05:13 -05:00
Ryan Petrello
6fa0d9d4ed
rename oVirt4 to Red Hat Virtualization
...
see: https://github.com/ansible/ansible-tower/issues/7790
2017-11-28 11:02:42 -05:00
Ryan Petrello
7accac2f63
Merge pull request #590 from ryanpetrello/fix-7784
...
fix a bug in survey password default validation within workflows
2017-11-27 18:04:30 -05:00
Ryan Petrello
044c047ac6
fix a bug in survey password default validation
...
see: https://github.com/ansible/ansible-tower/issues/7046
see: https://github.com/ansible/ansible-tower/issues/7764
see: https://github.com/ansible/ansible-tower/issues/7784
2017-11-27 17:25:45 -05:00
Chris Meyers
5a2ecd25e7
Merge pull request #589 from ansible/fix-project_update_cascade_fast
...
correctly cascade job cancel
2017-11-27 13:21:25 -05:00
Chris Meyers
6c89935521
correctly cascade job cancel
...
* Check the reason for a dependent project update failure. If it's
because of a cancel, then let the normal cancel mechanisms update the
jobs status and explanation. Do not update the dependent job's status
for a project update that was canceled, in the run code.
2017-11-27 12:34:55 -05:00
Aaron Tan
0641c6b0a6
Supress exception with concurrent deletion
...
Relates https://github.com/ansible/ansible-tower/issues/7768
This issue, as well as
https://github.com/ansible/ansible-tower/issues/7622 , both rooted in a
concurrency issue of Django ORM:
https://github.com/ansible/ansible-tower/issues/762://code.djangoproject.com/ticket/28806
The solution related deals specifically with the related issue, but is
not a general solution. A general workaround can be found in
https://github.com/ansible/tower/pull/500 .
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-11-17 16:29:08 -05:00
Alan Rominger
4ea27e0d1b
Merge pull request #587 from AlanCoding/computed_self
...
update original when updating computed fields
2017-11-17 12:23:43 -05:00
Wayne Witzel III
79c196fc08
Merge pull request #588 from wwitzel3/release_3.2.2
...
Include all previously run operations to satisfy Django migration planner
2017-11-17 12:12:21 -05:00
Wayne Witzel III
249a5e5e4d
Include all previously run operations to satisfy Django migration planner.
2017-11-17 12:02:07 -05:00
AlanCoding
51c73cb357
update original when updating computed fields
2017-11-17 10:16:49 -05:00
Ryan Petrello
8d35b71321
Merge pull request #585 from ryanpetrello/fix-wfjt-survey-encryption
...
re-encrypt WFJT.survey_spec and WorkflowJob.extra_vars too
2017-11-17 08:52:54 -05:00
Ryan Petrello
a80d5b1b39
reencrypt WFJT.survey_spec too
...
https://github.com/ansible/ansible-tower/issues/7046
2017-11-16 23:00:22 -05:00
Wayne Witzel III
e5d86419c8
Merge pull request #582 from AlanCoding/smart_computed2
...
update smart inventory computed fields
2017-11-16 19:36:08 -05:00
Greg Considine
54a98ff612
Merge pull request #581 from gconsidine/ui/fix/disabled-button-opacity
...
Update disabled button color to match style guide
2017-11-16 16:40:06 -05:00
Ryan Petrello
e7077185bf
Merge pull request #584 from ryanpetrello/release_3.2.2
...
make settings.AWX_ISOLATED_KEY_GENERATION readonly
2017-11-16 13:42:00 -05:00
Ryan Petrello
4187d02b8a
make settings.AWX_ISOLATED_KEY_GENERATION readonly
...
see: https://github.com/ansible/ansible-tower/issues/7380
2017-11-16 13:35:37 -05:00
Matthew Jones
457359322f
Merge pull request #583 from ansible/nicer_error_tower_inventory
...
Present the tower inventory sync failure in a better way
2017-11-16 13:16:22 -05:00
Matthew Jones
8a65c6e1c8
Present the tower inventory sync failure in a better way
...
This allows it to be handled better by ansible 2.4+
2017-11-16 12:59:12 -05:00
AlanCoding
fb29f68efc
update smart inventory computed fields
2017-11-16 11:57:30 -05:00
gconsidine
1fcddba558
Update disabled button color to match style guide
2017-11-16 11:15:23 -05:00
Chris Meyers
e20599d7bb
Merge pull request #580 from chrismeyersfsu/fix-project_update_cascade_tower
...
cascade cancel proj update when job canceled
2017-11-15 11:19:35 -05:00
Chris Meyers
9288b53015
cascade cancel proj update when job canceled
...
* Implicit project update, launch_type='sync', get "associated" with a
job via project_update. When a job is canceled, so should this implicit
project update. This change enforces that logic.
2017-11-15 11:17:52 -05:00
Ryan Petrello
82be0a8af2
Merge pull request #579 from ryanpetrello/fix-survey-encryption-migration-failure
...
fix a bug in the survey reencryption migration
2017-11-15 10:38:35 -05:00
Ryan Petrello
35c374fc79
fix a bug in the survey reencryption migration
...
see: https://github.com/ansible/ansible-tower/issues/7046
2017-11-15 10:26:46 -05:00
Alan Rominger
dbe135991b
Merge pull request #575 from AlanCoding/single_cancel
...
do not propogate cancel of inventory sync back up to project
2017-11-15 09:46:41 -05:00
Bill Nottingham
64f89b3fce
Merge pull request #578 from wenottingham/protect-our-environment
...
Remove some environment variables the callback plugin doesn't actually use
2017-11-14 16:10:53 -05:00
Bill Nottingham
aaaae87aa7
Remove some environment variables the callback plugin doesn't actually use.
2017-11-14 15:57:49 -05:00
Ryan Petrello
44a2d7a346
Merge pull request #577 from ryanpetrello/release_3.2.2
...
render survey_spec for display purposes in a safe manner
2017-11-13 15:18:09 -05:00
Ryan Petrello
be00b1ca96
render survey_spec for display purposes in a safe manner
...
survey_spec is a nested dict, so if we don't `deepcopy()` it, updates
to the individual fields could corrupt the original data structure;
this was causing a bug whereby activity stream updates converted
encrypted survey password defaults -> `$encrypted$`, but inadvertently
modified the originating model due to shared references
see: https://github.com/ansible/ansible-tower/issues/7769
2017-11-13 13:01:56 -05:00
AlanCoding
33574d70c8
do not propogate cancel of inventory sync back up to project
2017-11-13 08:44:00 -05:00
Ryan Petrello
bc705ad8ce
Merge pull request #574 from ryanpetrello/fix-7764
...
properly perform validation on encrypted survey defaults
2017-11-10 12:07:54 -05:00
Ryan Petrello
78961c8037
properly perform validation on encrypted survey defaults
...
see: https://github.com/ansible/ansible-tower/issues/7764
2017-11-10 10:52:09 -05:00
Alan Rominger
e22486ada8
Merge pull request #573 from AlanCoding/7765
...
[3.2.2] fix bug of system auditor 404 viewing job
2017-11-08 11:16:28 -05:00
AlanCoding
0051da95c9
fix bug of system auditor 404 viewing job
2017-11-08 10:44:41 -05:00
Ryan Petrello
122142c040
Merge pull request #572 from ryanpetrello/isolated-debug-toolkit
...
add some useful tools for isolated connectivity debugging
2017-11-08 10:08:05 -05:00
Ryan Petrello
91ad0a9f89
add a useful tool for isolated connectivity debugging
2017-11-08 09:27:33 -05:00
Ryan Fitzpatrick
6ea3ecbb26
Merge pull request #567 from rmfitzpatrick/tower_inv_source_filter_wording
...
Provide more specificity to Tower inventory filter help text
2017-11-07 10:55:30 -05:00
Jared Tabor
e87dce023b
Merge pull request #568 from jaredevantabor/source-deletion
...
When deleting a source, delete the source's groups too
2017-11-06 11:27:46 -08:00
Matthew Jones
89a05e9bbc
Handle json decoder errors from tower inventory source
2017-11-06 14:15:53 -05:00
Jared Tabor
96fbc9ea27
Merge pull request #571 from jaredevantabor/6551
...
Band aid for rapidly deleting groups
2017-11-03 16:28:22 -07:00
Jared Tabor
e70d377a53
feedback from PR: launch both DELETE calls at the same time
...
for both groups and hosts.
2017-11-03 16:26:00 -07:00
Jared Tabor
f65ef9f75c
prolong removing the delete modal until after the list refreshes, post-delete
2017-11-03 15:25:39 -07:00
Wayne Witzel III
7149c41804
Merge pull request #570 from wwitzel3/release_3.2.2
...
Handle ProgrammingError in squashed helpers
2017-11-03 10:45:09 -04:00
Wayne Witzel III
1a5b5c32b8
Handle ProgrammingError in squashed helpers
2017-11-03 10:34:25 -04:00
Wayne Witzel III
1b44ca8ef4
Merge pull request #569 from wwitzel3/release_3.2.2
...
Handle programming error when evaluating the replaces list for 320
2017-11-03 09:02:58 -04:00
Wayne Witzel III
d7f4707044
Handle programming error when evaluating the replaces list for 320
2017-11-03 08:53:53 -04:00
Jared Tabor
9d39ac83f9
When deleting a source, delete the source's groups too
2017-11-02 15:59:09 -07:00
Wayne Witzel III
ce393da6fd
Merge pull request #564 from wwitzel3/squashbillies
...
Squashbillies - Fixing direct upgrades from 3.0/3.1 bug fix revisions.
2017-11-02 16:19:26 -04:00
Wayne Witzel III
2f86774006
3.2.0 should not have any replacements defined unless 0005a or 0005b migrations have been run previously
2017-11-02 16:11:45 -04:00
Ryan Fitzpatrick
e2c63c41e7
Provide more specificity to Tower inventory filter help text
2017-11-02 15:01:03 -04:00
Wayne Witzel III
f9685717b8
Move post 3.0 migrations to pre 3.1 position in migration files
2017-11-02 14:06:36 -04:00
Wayne Witzel III
47a3ba9bd5
Rename squash 300 to 30
2017-11-02 14:06:36 -04:00
Wayne Witzel III
af3e6f792c
Rename squash 310 to 31
2017-11-02 14:06:35 -04:00
Wayne Witzel III
fc56a1c170
Fix 3.0 to 3.2 migration paths
2017-11-02 14:06:35 -04:00
Wayne Witzel III
84fb908261
Fix 3.1 to 3.2 migration paths
2017-11-02 14:06:33 -04:00
jlmitch5
cb4a38d7a7
Merge pull request #566 from ansible/click-to-close
...
Add close logic to clicking outside of the bounds of a lookup modal
2017-11-02 13:33:03 -04:00
John Mitchell
9518c38bb8
add close logic to clicking outside of the bounds of a lookup modal
2017-11-02 12:20:53 -04:00
Matthew Jones
5e37d6ea7e
Remove unused TOWER_HOST and AWX_HOST env vars
...
These were conflicting with the new Tower credential
2017-11-02 10:44:06 -04:00
jlmitch5
54e76b2534
Merge pull request #565 from ansible/no_placeholder_select2_typeahead
...
munge placeholder from select2 typeahead search bar
2017-11-01 12:45:29 -04:00
jlmitch5
b8ed41fa82
munge placeholder from select2 typeahead search bar
2017-10-31 14:39:25 -04:00
Michael Abashian
fbd03287ea
Merge pull request #549 from mabashian/7697-smart-inv-pagination
...
Only pass host filter param to smart inv shortcut form
2017-10-31 13:29:52 -04:00
Michael Abashian
7919433288
Merge pull request #548 from mabashian/7752-host-list
...
Fixed related host list linking
2017-10-31 13:29:35 -04:00
Ryan Petrello
3568be84c8
Merge pull request #561 from ryanpetrello/idle-hands
...
improve the callback worker's ability to deal with idle/disconnected DB
2017-10-31 10:05:29 -04:00
Ryan Petrello
8d2ab3de42
improve the callback worker's ability to deal with idle/disconnected DB
...
if database connectivity is lost, callback workers currently raise an
uncaught exception and hang; this can cause the entire process to stop
handling callback events
see: https://github.com/ansible/ansible-tower/issues/7660
2017-10-31 09:51:13 -04:00
Jared Tabor
4c4cbaef9f
Merge pull request #562 from jaredevantabor/timezone
...
Changing angular-tz-extensions branch
2017-10-30 14:21:19 -07:00
Jared Tabor
aef224732c
changing angular-tz to point to a branch with a patch for UTC timezones
...
and also patching angular-scheduler to point to angular 1.4.14
and also patching angular-codemirror to point to angular 1.4.14,
and adding fsevents:"*" to the package.json, and regenerating
npm-shrinkwrap.json for the new dependencies and their branches.
2017-10-30 14:20:24 -07:00
Jake McDermott
b0c1be7338
Merge pull request #563 from jakemcdermott/bug-7718
...
append credential types documentation link to popovers
2017-10-30 16:24:19 -04:00
Jake McDermott
14a3a6073e
append credential types documentation link to help popovers
2017-10-30 15:23:27 -04:00
Jake McDermott
fc7c2117e9
Merge pull request #553 from jakemcdermott/bug-5449
...
use abbreviated month name for dashboard chart
2017-10-27 17:01:47 -04:00
Aaron Tan
962de13965
Merge pull request #503 from jangsutsr/fix-7712
...
[3.2.2]Special handle host related_search_fields
2017-10-27 11:16:09 -04:00
Aaron Tan
7211ff22df
Special handle host related_search_fields
...
Relates #7712 of ansible-tower.
UI uses `related_search_fields` list to populate help text for resourse
search, `ansible_facts` is searchable via UI but the general pickup
logic would ignore it. So make it a corner case.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-27 10:55:43 -04:00
Alan Rominger
003d7f0915
Merge pull request #543 from AlanCoding/urlencode_host_filter
...
[3.2.2] urlencode unquote host_filter on save
2017-10-27 08:50:39 -04:00
Matthew Jones
f019452207
Merge pull request #551 from ansible/tower_inventory_source
...
Tower inventory source
2017-10-27 08:41:24 -04:00
Alan Rominger
c323a2393a
Merge pull request #552 from AlanCoding/retry_cleanup
...
[3.2.2] retry cleanup of build artifacts for bwrap race condition
2017-10-27 08:23:28 -04:00
Matthew Jones
85be3c7692
Align inventory variables with Ansible modules
2017-10-27 08:12:14 -04:00
Matthew Jones
5f3ebc26e0
Adding license checks for Tower inventory source
...
* For Tower the license must match between the source and destination
* For AWX the check is disabled
* Hosts imported from another Tower don't count against your license
in the local Tower
* Fix up some issues with enablement
* Prevent slashes from being used in the instance filter
* Add &all=1 filter to make sure we pick up all hosts
2017-10-27 08:12:14 -04:00
Matthew Jones
d282966aa1
Use towervars to enable turning on remote tracking vars on Tower src
...
* This allows the local Tower to track enabled state and unique
instance id for each host imported from the remote Tower
2017-10-27 08:12:14 -04:00
Matthew Jones
71e132ce0f
Show instance filter ui element with tower inventory source
2017-10-27 08:12:14 -04:00
Jake McDermott
d6d84e8f5e
use abbreviated month name for dashboard chart
2017-10-26 21:44:01 -04:00
Matthew Jones
fdc7f58bb4
Support passing instance filters to tower inventory src
...
* Switch ignore ssl errors to default on
* Application inventory source defaults for Tower src
2017-10-26 13:51:05 -04:00
Matthew Jones
6c597ad165
Adding initial credential and invsrc for Tower
...
* New credential type for Tower
* Inventory source definitions and migrations for Tower
* Initial Tower inventory source script
2017-10-26 13:51:05 -04:00
AlanCoding
48ec69c4f5
retry cleanup of build artifacts for bwrap race condition
2017-10-26 13:33:21 -04:00
Aaron Tan
1ea3d55167
Merge pull request #550 from jangsutsr/fix-7737-1
...
Follow up fix #7737
2017-10-26 11:29:05 -04:00
Aaron Tan
7181bd1c9b
Follow up fix #7737
...
The original fix introduced migration failure, this PR managed to fix
that.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-26 11:15:07 -04:00
Ryan Petrello
9e8ac3b09b
Merge pull request #547 from ryanpetrello/fix-cleanup-memory-usage
...
[3.2.2] Backport (from awx) various memory optimizations for job cleanup
2017-10-26 10:39:58 -04:00
Aaron Tan
e24e1fc1f0
Merge pull request #542 from jangsutsr/fix-7737
...
[3.2.2]support `AZURE_CLOUD_ENVIRONMENT`
2017-10-26 10:20:14 -04:00
Aaron Tan
f28b48a473
support AZURE_CLOUD_ENVIRONMENT
...
Relates #7737 of ansible-tower.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-26 10:11:21 -04:00
Michael Abashian
4f58537949
Merge pull request #546 from mabashian/6209-license-readonly-auth-forms
...
Make codemirror ready-only when auth form field is disabled
2017-10-26 09:58:24 -04:00
mabashian
0512f65c8f
Only pass host filter param to smart inv shortcut form
2017-10-26 09:55:36 -04:00
mabashian
947bdeed3e
Fixed related host list linking
2017-10-25 16:59:44 -04:00
Mike McMahon
d3a7bec674
Backport (from awx) various memory optimizations for job cleanup
...
see: https://github.com/ansible/ansible-tower/issues/7751
0388568 Reduces the job to only looking at objects older than the cutoff date
0234311 missing colon and missing variable usage
399e0e5 switching to iterator and adding the missed Job cleanup
0cd34c1 jobs take count of gte cutoff, process only lt cutoff
2017-10-25 12:17:46 -04:00
Ryan Petrello
652facba9f
Merge pull request #545 from ryanpetrello/fix-7746
...
work around an ansible bug that can cause project syncs to fail
2017-10-25 11:37:15 -04:00
mabashian
b1ef7506ea
Make codemirror ready-only when auth form field is disabled
2017-10-25 11:30:26 -04:00
Ryan Petrello
c95d7d465a
work around an ansible bug that can cause project syncs to fail
...
https://github.com/ansible/ansible-tower/issues/7746
https://github.com/ansible/ansible/issues/30064
2017-10-25 11:09:39 -04:00
Michael Abashian
70919638ba
Merge pull request #541 from mabashian/7608-adhoc-launch-modal
...
Made adhoc launch modal height dynamic
2017-10-24 14:07:32 -04:00
Michael Abashian
6ea48cd73e
Merge pull request #540 from mabashian/6370-delete-inv-src
...
Delete inv source hosts before inv source
2017-10-24 14:07:08 -04:00
Michael Abashian
63ca8e4134
Merge pull request #538 from mabashian/7707-host-filter-remove-tags-v2
...
Fixed removing host filter search term with encoded character
2017-10-24 14:06:37 -04:00
Aaron Tan
725cc469cf
Merge pull request #544 from jangsutsr/fix-7747
...
[3.2.2]Include vault credential check in job relaunch
2017-10-24 12:14:01 -04:00
Aaron Tan
665a4d83e3
Include vault credential check in job relaunch
...
Relates #7747 of ansible-tower.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-24 11:00:13 -04:00
AlanCoding
018514d657
urlencode unquote host_filter on save
2017-10-24 08:05:08 -04:00
mabashian
71d428433f
Made adhoc launch modal height dynamic
2017-10-23 12:09:25 -04:00
Michael Abashian
2f689fffbe
Merge pull request #531 from mabashian/4796-workflow-resize-v2
...
Zoom workflow graph to fit screen on initial load
2017-10-23 10:47:14 -04:00
mabashian
3119d5ed22
Delete inv source hosts before inv source
2017-10-20 20:10:36 -04:00
Ryan Petrello
aab27e9b93
Merge pull request #539 from ryanpetrello/fix-7740
...
fix a unicode handling bug in inventory source name migration
2017-10-20 13:35:20 -04:00
Ryan Petrello
b60a30cbd4
fix a unicode handling bug in inventory source name migration
...
see: https://github.com/ansible/ansible-tower/issues/7740
2017-10-20 12:13:44 -04:00
Ryan Petrello
88acd95a72
Merge pull request #534 from ryanpetrello/release_3.2.2
...
store cloudforms inventory cache files in the proper location on disk
2017-10-20 09:41:05 -04:00
mabashian
c3fbb07535
Fixed removing host filter search term with encoded character
2017-10-19 19:31:41 -04:00
Michael Abashian
8d043e6f85
Merge pull request #532 from mabashian/7681-disassociate-help-popover
...
Disassociate host/group popover text
2017-10-19 11:12:28 -04:00
Michael Abashian
31602c4b28
Merge pull request #533 from mabashian/7720-adhoc-launch-error
...
Fixed error message when launching adhoc command
2017-10-19 11:11:44 -04:00
Ryan Petrello
57cd8adc2d
Merge pull request #537 from ryanpetrello/ovirt4-auth-module
...
properly support authentication for ovirt4 ansible modules
2017-10-19 09:57:16 -04:00
Ryan Petrello
c1e20fe7a0
properly support authentication for ovirt4 ansible modules
...
see: https://github.com/ansible/ansible-tower/issues/6522
see: https://github.com/ansible/ansible-tower/issues/6522#issuecomment-337909863
2017-10-19 09:47:25 -04:00
Ryan Petrello
b1f5529aa4
Merge pull request #536 from ryanpetrello/fix-7741
...
properly follow symlinks for bwrap'd working directories
2017-10-19 08:58:16 -04:00
Alan Rominger
350699eda8
Merge pull request #504 from AlanCoding/fk_error_msg
...
[3.2.2] tweak of error message for ForeignKey filters
2017-10-18 19:06:12 -04:00
Ryan Petrello
10a7544d68
properly follow symlinks for bwrap'd working directories
...
see: https://github.com/ansible/ansible-tower/issues/7741
2017-10-18 17:03:10 -04:00
Jared Tabor
d3eea5e694
generalizing class which is ignored when trying to drag the host-event-modal
...
it was only applied to .CodeMirror, which is only used by the JSON tab
2017-10-18 10:55:53 -07:00
Marliana Lara
8fd9fea113
Merge pull request #530 from marshmalien/fix/7702-job-stdout-wordwrap
...
Fix job standard out word-wrap
2017-10-18 13:51:36 -04:00
Wayne Witzel III
470a4b7746
Merge pull request #535 from wwitzel3/release_3.2.2
...
use getattr in social auth django strategy
2017-10-18 11:02:11 -04:00
Wayne Witzel III
38c2ea7025
use getattr in social auth django strategy
2017-10-18 10:20:44 -04:00
Ryan Petrello
5895654538
store cloudforms inventory cache files in the proper location on disk
...
with process isolation enabled (which is the awx default), cloudforms
caches inventory script results on disk; awx should direct cloudforms to
store these cache files in a location that's exposed to the isolated
environment
see: ansible/ansible#31760
2017-10-17 17:07:21 -04:00
mabashian
b402d9ba6d
Fixed error message when launching adhoc command
2017-10-17 14:42:24 -04:00
mabashian
5db478a4a0
Zoom workflow graph to fit screen on initial load
2017-10-17 12:59:44 -04:00
mabashian
059347eec3
Made disassociate host/group titles more descriptive
2017-10-17 10:23:17 -04:00
mabashian
e8dbfa42cf
Fixed disassociate host from group help text
2017-10-17 10:10:34 -04:00
Michael Abashian
3d12e040ed
Merge pull request #528 from mabashian/5129-jt-spinner-v2
...
Moved wait stop calls on jt form so that they fire right before reloading state
2017-10-16 16:20:02 -04:00
Michael Abashian
fceca3bcae
Merge pull request #527 from mabashian/7697-smart-inventory-shortcut
...
Fixed smart inv button bug navigating to page 2 of hosts.
2017-10-16 16:19:40 -04:00
Marliana Lara
fcd03fb1c2
Fix job standard out error message word-wrap
2017-10-13 14:59:57 -04:00
mabashian
2cab6982c1
Moved wait stop calls on jt form so that they fire right before reloading state
2017-10-12 17:01:32 -04:00
mabashian
3ede367df4
Fixed smart inv button bug navigating to page 2 of hosts. Added tooltip when button is disabled.
2017-10-12 16:56:21 -04:00
Alan Rominger
f6bf0ad21f
Merge pull request #521 from AlanCoding/update_isolated
...
[3.2.2] update isolated container requirements
2017-10-12 14:24:38 -04:00
Greg Considine
817b397d20
Merge pull request #524 from gconsidine/ui/fix/remove-unsupported-query-tokens
...
Remove unsupported tokens from search generated queries
2017-10-11 17:54:26 -04:00
jlmitch5
b61fdaf721
Merge pull request #526 from jlmitch5/hideWorkflowAndSurveyButtons
...
hide workflow and survey buttons from non-detail tabs
2017-10-11 11:35:35 -04:00
John Mitchell
1603106cb4
include workflow editor when showing buttons'
2017-10-11 10:58:38 -04:00
Aaron Tan
1454000b91
Merge pull request #522 from jangsutsr/ldap_docs
...
Add LDAP deploy instructions
2017-10-11 10:07:29 -04:00
Alan Rominger
b2e63d5e47
Merge pull request #510 from AlanCoding/event_accounting
...
add logger statement for number of events
2017-10-10 22:12:11 -04:00
Alan Rominger
e7ede6af4a
Merge pull request #525 from AlanCoding/update_isolated_version
...
[3.2.2] update fallback isolated version to 3.2.2
2017-10-10 22:06:09 -04:00
Alan Rominger
5503d4efb4
Merge pull request #523 from AlanCoding/fix_isolated_capacity
...
[3.2.2] fix equation for isolated instance capacity
2017-10-10 22:04:03 -04:00
John Mitchell
54640dbca0
hide workflow and survey buttons from non-detail tabs
...
since the two are basically sub-states of the edit form (detail tab), they should only show up when that tab is selected
2017-10-10 17:08:04 -04:00
AlanCoding
eab82f3efa
updated fallback isolated version to 3.2.2
2017-10-10 15:45:20 -04:00
gconsidine
9e3d90896b
Remove unsupported tokens from search generated queries
2017-10-10 15:22:17 -04:00
AlanCoding
e66a1002ee
fix equation for isolated instance capacity
2017-10-10 14:58:09 -04:00
Aaron Tan
82160e2072
Add LDAP deploy instructions
...
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:54:53 -04:00
AlanCoding
e814f28039
add logger statement for number of events
2017-10-10 14:48:00 -04:00
AlanCoding
03e58523b2
tweak of error message for ForeignKey filters
2017-10-10 14:47:37 -04:00
AlanCoding
341ef411a4
update isolated container requirements
2017-10-10 14:46:41 -04:00
Aaron Tan
8d19555cf1
Merge pull request #519 from jangsutsr/fix-7726
...
Disable inventory var overwrite in inv import
2017-10-10 14:38:50 -04:00
Greg Considine
d23fd0515d
Merge pull request #518 from gconsidine/ui/fix/credential-kind-list-display
...
Use credential_type to fetch associated types in list view
2017-10-10 14:38:50 -04:00
Aaron Tan
b9483c28b0
Disable inventory var overwrite in inv import
...
Relates #7726 of ansible-tower.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:38:50 -04:00
Alan Rominger
6f9fc0c3f8
Merge pull request #514 from AlanCoding/no_ordereddit
...
[3.2.2] prevent OrderedDict syntax in error message
2017-10-10 14:38:49 -04:00
gconsidine
766a088749
Use credential_type to fetch associated types in list view
2017-10-10 14:38:49 -04:00
Chris Church
2b539cab85
Merge pull request #511 from cchurch/ldap-filter-dash-support
...
[3.2.2] Support dash in LDAP attribute names in filters.
2017-10-10 14:38:49 -04:00
AlanCoding
2fb67a3648
prevent OrderedDict syntax in error message
2017-10-10 14:38:49 -04:00
Greg Considine
64c5e3994e
Merge pull request #513 from gconsidine/ui/fix/lookup-component-empty-input
...
Set lookup value changed from something to nothing to be null
2017-10-10 14:38:49 -04:00
Alan Rominger
7b792926eb
Merge pull request #509 from AlanCoding/max_ui_events
...
[3.2.2] add CTiT setting for max UI job events
2017-10-10 14:38:49 -04:00
Chris Church
c067788428
Support dash in LDAP attribute names in filters.
2017-10-10 14:38:49 -04:00
gconsidine
b7071a48c2
Set lookup value changed from something to nothing to be null
2017-10-10 14:38:49 -04:00
AlanCoding
dee4b72303
add CTiT setting for max UI job events
2017-10-10 14:38:49 -04:00
Alan Rominger
5994a77b84
Merge pull request #508 from AlanCoding/password_handholding
...
[3.2.2] reword error message about encrypted user input
2017-10-10 14:38:48 -04:00
Marliana Lara
f93506fe2c
Merge pull request #491 from marshmalien/fix/7661-host-config-key-border
...
[3.2.2] Fix missing right border of lookup buttons
2017-10-10 14:38:48 -04:00
Alan Rominger
7c86e38b81
Merge pull request #506 from AlanCoding/active_job_period
...
[3.2.2] add period to active job conflict error
2017-10-10 14:38:48 -04:00
AlanCoding
1c374fba7d
reword error message about encrypted user input
2017-10-10 14:38:48 -04:00
Marliana Lara
2cc9e2ca0b
Fix hidden right border of form input lookup buttons
2017-10-10 14:38:48 -04:00
Alan Rominger
335dfd564a
Merge pull request #505 from AlanCoding/v1_jt_vc_ct_sf
...
[3.2.2] Exclude credential type content from v1
2017-10-10 14:38:48 -04:00
AlanCoding
5380d57ce8
add period to active job conflict error
...
Rename StateConflict to ActiveJobConflict and used shared
message inside of that exception class.
2017-10-10 14:38:48 -04:00
AlanCoding
a01f80db5b
Exclude credential type content from v1
...
credential_type_id was showing up in vault_credential
summary_fields in API v1
2017-10-10 14:38:48 -04:00
Aaron Tan
d7eba47adb
Merge pull request #456 from jangsutsr/fix-7656
...
[3.2.2]Remove search term separators
2017-10-10 14:38:47 -04:00
Alan Rominger
5fffdec69d
Merge pull request #490 from AlanCoding/many_deleter_320
...
[3.2.2] Delete all hosts or groups from inventory source
2017-10-10 14:38:47 -04:00
Aaron Tan
358ef76529
Remove search term separators
...
Relates #7656 in ansible-tower.
We have been using comma `,` and space ` ` to separate search terms in
query string `<field_name>__search=<search terms>`, however in general
we can always use `&` to achieve separation like
`<field_name>__search=<search term 1>&<field_name>__search=<search term
2>&...`. Using specific delimiters makes it impossible for search terms
to contain those delimiters, so they are better off being removed.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:38:47 -04:00
Aaron Tan
bb628c52ad
Merge pull request #487 from jangsutsr/fix-7586
...
[3.2.2]Fix SAML auth behind load balancer issue.
2017-10-10 14:38:47 -04:00
AlanCoding
d2e0b26287
allow deleting hosts and groups from inv src sublists
2017-10-10 14:38:47 -04:00
Ryan Petrello
f2d46baf09
Merge pull request #496 from ryanpetrello/fix-6683
...
fix a bug when Tower is integrated with ipsilon SAML server
2017-10-10 14:38:47 -04:00
Ryan Petrello
c6fdadd7f2
Merge pull request #497 from ryanpetrello/fix-7259
...
properly sanitize encrypted default passwords in JT.survey_spec
2017-10-10 14:38:47 -04:00
Aaron Tan
cc8b115c6a
Fix SAML auth behind load balancer issue.
...
Relates to #7586 of ansible-tower as a follow-up of fix #420 of tower.
The original fix works for Django version 1.9 and above, this PR
expanded the solution to Django verison 1.8 and below.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:38:47 -04:00
Ryan Petrello
82d05e0a10
properly sanitize encrypted default passwords in JT.survey_spec
...
see: https://github.com/ansible/ansible-tower/issues/7259
2017-10-10 14:38:47 -04:00
Ryan Petrello
9978b3f9ad
Merge pull request #489 from ryanpetrello/release_3.2.2
...
fix busted 3.2.2 activity stream migration
2017-10-10 14:38:46 -04:00
Alan Rominger
4f4af058b3
Merge pull request #480 from AlanCoding/committed_cap
...
[3.2.2] add IG committed capacity to serializer
2017-10-10 14:38:46 -04:00
Ryan Petrello
b372cebf8d
fix a bug when Tower is integrated with ipsilon SAML server
...
https://github.com/ansible/ansible-tower/issues/6683
2017-10-10 14:38:46 -04:00
Alan Rominger
3df8e2beb1
Merge pull request #494 from AlanCoding/wfjt_perm_fix2
...
[3.2.2] fix bug checking WFJT node for prompted resources
2017-10-10 14:38:46 -04:00
AlanCoding
c45fbcf2ee
add IG committed capacity to serializer
2017-10-10 14:38:46 -04:00
Ryan Petrello
5efa50788f
Merge pull request #481 from ryanpetrello/fix-7046
...
[3.2.2] encrypt job survey data
2017-10-10 14:38:46 -04:00
AlanCoding
3abbe87e10
fix bug checking WFJT node for prompted resources
2017-10-10 14:38:46 -04:00
Ryan Petrello
f26bdb3e96
migrate existing survey passwords to be encrypted
...
see: https://github.com/ansible/ansible-tower/issues/7046
2017-10-10 14:38:46 -04:00
Ryan Petrello
4be4e3db7f
encrypt job survey data
...
see: https://github.com/ansible/ansible-tower/issues/7046
2017-10-10 14:38:46 -04:00
Alan Rominger
4ea92f0dcb
Merge pull request #306 from AlanCoding/new_perf_logging
...
[3.2.2] new method of performance logging
2017-10-10 14:38:45 -04:00
Ryan Petrello
a0cfbb93e9
fix busted 3.2.2 activity stream migration
...
see: ansible/ansible-tower#7704
2017-10-10 14:38:45 -04:00
Aaron Tan
08a784d50c
Merge pull request #474 from jangsutsr/fix-7386
...
Include Tower configurations into activity stream
2017-10-10 14:38:45 -04:00
AlanCoding
9ee18d02c8
new method of performance logging
2017-10-10 14:38:45 -04:00
Ryan Petrello
4fd190e4c8
Merge pull request #468 from ryanpetrello/smarter-credtype-migrations
...
[3.2.2] add new credential types in a more stable way in migrations
2017-10-10 14:38:45 -04:00
Aaron Tan
a11e33458f
Include Tower configurations into activity stream
...
Relates #7386 of ansible-tower.
Due to the uniqueness of Tower configuration datastore model, it is not
fully compatible with activity stream workflow. This PR introduced
setting field for activitystream model along with other changes to make
Tower configuration a special case for activity streams.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:38:45 -04:00
Aaron Tan
84fdfbb898
Merge pull request #469 from jangsutsr/fix-7684
...
[3.2.2] Prevent slugify username from social sso backends
2017-10-10 14:38:45 -04:00
Ryan Petrello
f4a252a331
add new credential types in a more stable way in migrations
...
instead of writing individual migrations for new built-in credential
types, this change makes the "setup_tower_managed_defaults" function
idempotent so that it only adds the credential types you're missing
2017-10-10 14:38:45 -04:00
Ryan Petrello
d4fe60756b
Merge pull request #466 from ryanpetrello/ovirt4-inv-source
...
don't install pycurl from pypi; use a system package instead
2017-10-10 14:38:45 -04:00
Aaron Tan
f4ab979b59
Prevent slugify username from social sso backends
...
Relates #7684 of ansible-tower.
Slugify username in python-social-auth means disallowing
any non-alphanumerial characters, which is an over-kill
for awx/tower, thus disabling it.
Signed-off-by: Aaron Tan <jangsutsr@gmail.com >
2017-10-10 14:38:45 -04:00
Ryan Petrello
3d3d79b6b3
Merge pull request #464 from ryanpetrello/ovirt4-inv-source
...
add ovirt sdk dependency for ovirt4 support
2017-10-10 14:38:44 -04:00
Ryan Petrello
e06d4d7734
don't install pycurl from pypi; use a system package instead
...
the ovirt4 sdk relies on pycurl, which is complicated to install w/ pip;
rely on pycurl to be provided by a system package instead
2017-10-10 14:38:44 -04:00
Ryan Petrello
ab18a4a440
Merge pull request #454 from ryanpetrello/ovirt4-inv-source
...
support ovirt4 as a built-in inventory source
2017-10-10 14:38:44 -04:00
Ryan Petrello
7438062b97
add ovirt sdk dependency for ovirt4 support
2017-10-10 14:38:44 -04:00
Ryan Petrello
4510cd11db
Merge pull request #452 from ryanpetrello/fix-7609
...
disable GCE inventory caching w/ a .ini file
2017-10-10 14:38:44 -04:00
Ryan Petrello
74f2509482
support ovirt4 as a built-in inventory source
...
see: https://github.com/ansible/ansible-tower/issues/6522
2017-10-10 14:38:44 -04:00
Ryan Petrello
f84e42ed15
Merge pull request #451 from ryanpetrello/fix-7609
...
disable GCE inventory source cache
2017-10-10 14:38:44 -04:00
Ryan Petrello
94b4dabee2
disable GCE inventory caching w/ a .ini file
...
see: https://github.com/ansible/ansible-tower/issues/7609
see: https://github.com/ansible/tower/pull/451#pullrequestreview-64454393
2017-10-10 14:38:44 -04:00
Ryan Petrello
94d44e8791
disable GCE inventory source cache
...
by default, the GCE inventory script caches results on disk for
5 minutes; disable this behavior
see: https://github.com/ansible/ansible-tower/issues/7609
2017-10-10 14:38:44 -04:00
Ryan Petrello
d24166bd68
Merge pull request #442 from ryanpetrello/fix-7554
...
properly encode LDAP DN values on validation
2017-10-10 14:38:43 -04:00
Ryan Petrello
62f82e7a7e
Merge pull request #441 from ryanpetrello/fix-7607
...
allow the credential type to be changed for unused credentials
2017-10-10 14:38:43 -04:00
Ryan Petrello
7a21a45781
properly encode LDAP DN values on validation
...
see: https://github.com/ansible/ansible-tower/issues/7554
2017-10-10 14:38:43 -04:00
Ryan Petrello
91ec0a4482
Merge pull request #430 from ryanpetrello/fix-7620
...
don't show polymorphic_ctype in unique validation error messaging
2017-10-10 14:38:43 -04:00
Ryan Petrello
c8f4320b58
allow the credential type to be changed for unused credentials
...
see: https://github.com/ansible/ansible-tower/issues/7607
2017-10-10 14:38:43 -04:00
Ryan Petrello
71a725c5f8
Merge pull request #432 from ryanpetrello/fix-7513
...
add awx meta variables to adhoc command extra_vars
2017-10-10 14:38:43 -04:00
Ryan Petrello
96572fe3d4
don't show polymorphic_ctype in unique validation error messaging
...
see: https://github.com/ansible/ansible-tower/issues/7620
2017-10-10 14:38:43 -04:00
Ryan Petrello
554a9586c6
add awx meta variables to adhoc command extra_vars
...
see: https://github.com/ansible/ansible-tower/issues/7513
2017-10-10 14:38:37 -04:00
Ryan Petrello
f41c8cf4f2
Merge pull request #426 from ryanpetrello/fix-7655
...
don't append to the activity stream on LDAP group disassociate
2017-10-10 14:38:18 -04:00
Ryan Petrello
f2f42c2c8a
don't append to the activity stream on LDAP group disassociate
...
for organizations w/ a large number of ldap orgs/teams, this results in
a _huge_ number of extraneous activity stream entries
see: https://github.com/ansible/ansible-tower/issues/7655
2017-10-10 14:38:18 -04:00