AlanCoding
a54b2ff468
dont check license in API browser method evaluation
2017-01-28 19:30:09 -05:00
Chris Meyers
0a5b037236
Merge pull request #4962 from chrismeyersfsu/fix-4354
...
ensure manually modifying hosts adhears to license
2017-01-27 15:03:25 -05:00
Alan Rominger
6d590ca985
Merge pull request #4974 from AlanCoding/job_event_need_for_speed
...
job_event speedups, async filter removed, RBAC changes
2017-01-27 11:23:25 -05:00
Alan Rominger
ae057d2bd5
Merge pull request #4912 from AlanCoding/as_mods
...
WFJT activity stream for org admins + other polishing
2017-01-27 11:17:34 -05:00
Alan Rominger
1b0c2cbb32
Merge pull request #4986 from AlanCoding/destroyer_of_notifications
...
Add notifications to cleanup_jobs
2017-01-27 10:54:24 -05:00
Matthew Jones
cf084850c2
Merge pull request #4960 from ansible/priv_esc_hangs
...
Fixes some issues where Tower would not emit the password on prompts
2017-01-27 09:51:57 -05:00
AlanCoding
33e97d5c5a
add notifications to cleanup_jobs
2017-01-27 09:31:11 -05:00
Chris Meyers
6aaf6a3150
allow can_add to be called for permission info
...
* can_add() is called through our generic permission/access framework
for api creation (POST). However, can_add() may also be called for
purposes of determining if a user has perms to do something. Thus, the
data field may not contain 'name' in this case. Allow for that.
2017-01-27 09:19:20 -05:00
Wayne Witzel III
7807ee09f9
Merge pull request #4915 from wwitzel3/issue-4636
...
Mask the default value for password fields in survey_spec.
2017-01-27 02:37:16 -05:00
AlanCoding
18aa0dcb1f
remove job_event text filters, tweaked RBAC
...
see issue 4958 for the RBAC details
2017-01-26 19:22:03 -05:00
Matthew Jones
bfda6ff8b5
Fix up some unit tests
2017-01-26 16:01:54 -05:00
Chris Meyers
fbebc58267
add tests for license add host duplicate or not logic
2017-01-26 15:16:33 -05:00
Chris Meyers
e09a0fb886
ensure manually modifying hosts adhears to license
...
* Super user or not, don't allow adding NOR editing (changing the name
of) a host to exceed the host license count.
2017-01-26 12:13:06 -05:00
AlanCoding
3b4af0aa82
WFJT activity stream optimization
2017-01-26 11:23:47 -05:00
Matthew Jones
e15273c993
Fixes some issues where Tower would not emit the password on prompts
...
Carat seems to only want to match newlines or the beginning of the
string, since we seem to get CR+LF this seems to keep the carat from
matching so here we're expanding the regex matches.
This also extends support for DZDO where it was only originally added
on ad-hoc commands inadvertantly.
Remove PMRUN support since that was never merged into core
2017-01-26 11:19:23 -05:00
AlanCoding
77f0625d44
include WFJTs in activity stream for org_admins
2017-01-26 09:00:11 -05:00
AlanCoding
28ef16e1e8
activitiy stream optimization for org admins with large data sets
2017-01-26 09:00:07 -05:00
Ryan Petrello
f061505895
move the uwsgi master FIFO from /tmp/awxfifo to /var/lib/awx/awxfifo
...
Resolves #4900
2017-01-25 16:37:11 -05:00
Ryan Petrello
a13b2588b2
Merge pull request #4938 from ryanpetrello/release_3.1.0
...
fix a bug which causes activitystream actor assignment to be invalid
2017-01-25 13:54:38 -05:00
Alan Rominger
4feb7fcb8d
Merge pull request #4862 from AlanCoding/poly_morphin_time
...
Unified JT and Unified Job queryset refactor
2017-01-25 13:05:48 -05:00
Alan Rominger
fe36e2ad8e
Merge pull request #4921 from AlanCoding/jobs_others_opt
...
Low hanging query optimizations
2017-01-25 11:57:08 -05:00
Alan Rominger
460dfe7548
Merge pull request #4916 from AlanCoding/no_missing_dict
...
Remove missing resource checks from nodes
2017-01-25 11:53:22 -05:00
Ryan Petrello
e7c5dfeaa4
fix a bug which causes activitystream actor assignment to be invalid
...
Resolves #4660
2017-01-25 11:45:12 -05:00
Alan Rominger
8b31251b64
Merge pull request #4928 from AlanCoding/wf_todo
...
Remove workflow TODOs
2017-01-25 10:18:49 -05:00
Alan Rominger
8cbb841989
Merge pull request #4930 from AlanCoding/launch_type_migration
...
include added launch_type choice in 3.1 migration
2017-01-25 10:13:13 -05:00
AlanCoding
bae3fdb635
removal of workflow TODOs that are resolved
2017-01-25 09:52:05 -05:00
AlanCoding
f265d2fe0f
tighten up code for new UJ queryset
2017-01-25 09:51:24 -05:00
AlanCoding
36c68178dd
cleanup from accessible_objects refactor
2017-01-25 09:51:24 -05:00
AlanCoding
b2d0871a5e
Refactor of accessible_objects for polymorphic model
...
query simplification, with break-out into an intermediary
state that can be used in access methods
2017-01-25 09:51:24 -05:00
AlanCoding
710702dffe
include added launch_type choice in 3.1 migration
2017-01-25 09:49:29 -05:00
AlanCoding
35c824b25e
remove cache import for flake8 purposes
2017-01-25 09:34:29 -05:00
Matthew Jones
4771b2efc0
Merge branch 'remove_jobevent_parent_usage' into release_3.1.0
...
* remove_jobevent_parent_usage:
Don't iterate over parents, perform a final update at the end
Drop assignment of job event parent in favor of parent_uuid
2017-01-24 21:07:58 -05:00
Wayne Witzel III
fba1fa83d0
reduce, reuse, recycle
2017-01-24 16:44:42 -05:00
Wayne Witzel III
735f5d14b3
ensure that launching respects default values
2017-01-24 16:39:41 -05:00
AlanCoding
d3b5eaf690
query improvement for jobs, users, and orgs
2017-01-24 16:23:10 -05:00
Matthew Jones
22a3e87720
Don't iterate over parents, perform a final update at the end
2017-01-24 16:21:50 -05:00
Matthew Jones
2af98e5f58
Drop assignment of job event parent in favor of parent_uuid
...
* This eliminates the save lookup of the parent job event and
associated memcached call(s)
* Removes some other legacy parent determination mechanisms
* Alternate way to query for the parent/child relationship
2017-01-24 15:40:33 -05:00
AlanCoding
be1b2b418c
Remove missing resource checks from nodes
2017-01-24 13:52:06 -05:00
Wayne Witzel III
cf6c4fe7ac
mask the default value for survey_spec password fields
2017-01-24 13:03:57 -05:00
Matthew Jones
986ddae33e
Merge pull request #4882 from matburt/cache_behavior_fixes
...
Fixes for data corruption/exception in cache usage
2017-01-24 11:12:28 -05:00
Ryan Petrello
0bcbaa5c86
allow certain LDAP settings fields to be nullable
...
necessary to completely resolve #4678
2017-01-24 09:31:44 -05:00
Matthew Jones
b3f4f3bea5
Fix issue reassembling ad-hoc event partials
2017-01-23 16:30:44 -05:00
Ryan Petrello
40a5c6cc0b
fix an LDAP settings bug which can cause LDAP auth to fail
...
django-ldap-auth expects the "unset/empty" state of certain LDAP DN
settings (such as AUTH_LDAP_REQUIRE_GROUP and
AUTH_LDAP_USER_DN_TEMPLATE) to be NULL/None (not an empty string).
Resolves #4678
2017-01-23 15:35:23 -05:00
Matthew Jones
abdd91bd1f
Fixes for data corruption/exception in cache usage
...
Specifically as it relates to serializers and job event writing at
high speeds
2017-01-23 14:39:03 -05:00
Chris Church
41553c879c
Make AWX_PROOT_HIDE_PATHS, AWX_PROOT_SHOW_PATHS and AWX_ANSIBLE_CALLBACK_PLUGINS not required.
2017-01-20 16:02:33 -05:00
Ryan Petrello
da66c3f2b8
Revert "add a test for maximum page size enforcement"
...
This reverts commit af8e6f939ff2d3ecf4658e82777dcd35c0d288a8.
This test seems to leak django.conf.settings between tests (causing the
suite to fail periodically). Rolling this back until I can figure out
why.
2017-01-19 13:08:44 -05:00
Ryan Petrello
b121e80d29
Merge pull request #4813 from ryanpetrello/release_3.1.0
...
add a test for maximum page size enforcement
2017-01-19 11:26:48 -05:00
Alan Rominger
dcea88c81c
Merge pull request #4821 from AlanCoding/workflow_schedule_nodes
...
Move node copy into create_unified_job, copy nodes on schedule
2017-01-19 11:18:31 -05:00
Alan Rominger
ca74c03e93
Merge pull request #4810 from AlanCoding/prompts_bug
...
Fix bug where type of node UJT was incorrectly evaluated
2017-01-19 10:48:10 -05:00
AlanCoding
cf34eef1eb
expose handle_extra_data to workflow model
2017-01-19 10:36:18 -05:00