Alan Rominger
c1ee5910d1
Merge pull request #1670 from AlanCoding/1642_scan_JT_counts
...
Include scan jobs in organization's job template count
2016-04-26 11:05:25 -04:00
Akita Noek
3e4c26de13
Added resource information summary fields to the Role serializer
...
Completes #1676
2016-04-25 15:43:01 -04:00
Akita Noek
3ffefd30a3
flake8
2016-04-25 14:43:03 -04:00
Akita Noek
30ed9ab740
Reverted cursor pagination for /roles/
...
Turns out it doesn't play well with our custom filters, and performance
is still tolerable with the normal pagination..
2016-04-25 14:29:05 -04:00
Akita Noek
d0e9044dad
Enforce team access permissions on team/:n/roles
2016-04-25 14:29:05 -04:00
Akita Noek
4c15374b05
Optimized (user|team)/:n/roles/
2016-04-25 14:29:05 -04:00
Akita Noek
754f8546a6
Switched /api/v1/roles/ to a cursor paginator so we don't have to do a count() on that potentially very large result set
2016-04-25 14:29:05 -04:00
Wayne Witzel III
f457e54a23
Merge pull request #1672 from wwitzel3/devel
...
adjusting how we restrict __in based on PR feedback
2016-04-25 09:31:18 -04:00
Akita Noek
e697a5441c
Merge pull request #1663 from anoek/distinct-removal
...
.distinct() removal from global filter_queryset method
2016-04-25 08:46:01 -04:00
Wayne Witzel III
b6b02bee99
adjusting how we restrict __in based on PR feedback
2016-04-22 17:54:44 -04:00
AlanCoding
7ac59de75e
scan jobs linked by inventory in org JT counts
2016-04-22 16:41:58 -04:00
Wayne Witzel III
334f303a6f
Merge pull request #1666 from wwitzel3/issue-1652
...
do not allow requests with empty values in __in values
2016-04-22 16:06:41 -04:00
Wayne Witzel III
4ef291b00b
do not allow requests with empty values in __in values
2016-04-22 15:39:33 -04:00
Akita Noek
2d4e9f15df
Merge pull request #1650 from anoek/performance
...
More RBAC optimizations
2016-04-22 14:51:42 -04:00
Akita Noek
c18aa44ced
Return Queryset instead of Manager fix
2016-04-22 13:48:58 -04:00
Chris Meyers
bab627d973
Merge pull request #1649 from chrismeyersfsu/fix-label_alpha
...
order tags alphabetically
2016-04-22 12:34:41 -04:00
Akita Noek
44a8da83c2
Removed all encompassing .distinct() call for all views
...
This .distinct() call applied .distinct() to all list query sets. Most
query sets are already unique, and adding .distinct causes the database
to do a lot of extra work. Views that rely on this behavior will be
rooted out during the hardening sprint and .distinct() will be added to
the individual querysets as needed instead of applying this everywhere.
2016-04-22 12:30:03 -04:00
Chris Meyers
b8a22c2c17
order tags alphabetically
2016-04-22 10:53:22 -04:00
Akita Noek
3a2f5d1362
Update BaseSerializer to handle objects that dont have created/modified fields
2016-04-22 10:16:04 -04:00
Matthew Jones
fe360ca8e3
Updates to network credentials
...
Separating out the network credential used fields
2016-04-21 16:43:55 -04:00
Wayne Witzel III
efebb3701b
Merge pull request #1639 from wwitzel3/bug-1428
...
Add parent ORing for Role field, renamed permissions -> active_roles
2016-04-21 16:27:56 -04:00
Wayne Witzel III
0309757439
Add parent ORing for Role field, renamed permissions -> active_roles
2016-04-21 15:54:36 -04:00
Matthew Jones
42247fa3c1
Add job events top level api object
2016-04-21 15:30:35 -04:00
Matthew Jones
fcc9c1e6e4
Switch org projects list back to allowing create
2016-04-21 15:09:47 -04:00
Matthew Jones
da7a61354a
Merge pull request #1635 from matburt/new_azure_inventory_and_credentials
...
Implement Azure RM creds and inventory
2016-04-21 14:38:13 -04:00
Matthew Jones
296f70ce17
Implement Azure RM creds and inventory
...
* Vendor ansible's azure_rm inventory script
* Add new inventory type
* Add new credential type
* Expand host instance_id column from varchar 100 to 1024 to accept the
long instance ids returned by Azure
* Make the inventory_import azure match rename more explicit.
2016-04-21 13:51:30 -04:00
AlanCoding
43fb601346
include ask_credential for launch endpoint
2016-04-20 15:30:52 -04:00
Akita Noek
22f18715f7
Removed dup tests, moved old api tests into main/tests/old/api
2016-04-20 11:29:01 -04:00
Wayne Witzel III
dd6eaf8f9b
Merge pull request #1592 from wwitzel3/rbac-bug-1426
...
remove extra validation on project.organization
2016-04-19 18:00:37 -04:00
Wayne Witzel III
82464fb45b
remove extra validation on project.organization, enforced in UI, but allowed in API
2016-04-19 17:59:56 -04:00
Alan Rominger
5543448a43
Merge pull request #1562 from AlanCoding/1459_org_detail_fix
...
Fix index error generating organization detail view context
2016-04-19 10:13:15 -04:00
AlanCoding
5abde762ae
updates to prompt-for tests and logic for new RBAC updates
2016-04-18 14:29:30 -04:00
AlanCoding
9c75ced9f8
Merge branch 'devel' of https://github.com/ansible/ansible-tower into 11th-hour
2016-04-18 14:12:13 -04:00
Alan Rominger
33500f5816
Merge pull request #1431 from AlanCoding/1136_prompt_for_all_things3
...
Allow prompting for several new runtime variables
2016-04-18 14:04:11 -04:00
AlanCoding
333730f30e
make special case for no results slightly more clear
2016-04-18 10:51:27 -04:00
AlanCoding
500ebdbbd2
fix index error generating organization detail view context
2016-04-18 08:56:04 -04:00
Akita Noek
850e4c3ace
Test fixes and a couple of view optimizations
2016-04-16 18:30:06 -04:00
Akita Noek
302774e85d
Fixed up access_list functionality
2016-04-15 16:47:12 -04:00
Akita Noek
5e7b6ed084
fixes for api/test_credential.py
2016-04-15 16:29:22 -04:00
Akita Noek
8c8c8a624f
Updates to views.py for RolePermission removal
2016-04-15 16:18:17 -04:00
AlanCoding
e0bd906de8
fill in extra_vars to content box even if ask_for_vars false and survey enabled
2016-04-15 14:59:20 -04:00
Akita Noek
fa10d562c1
Replaced get user permissions with get_roles_on_resource
2016-04-15 14:36:52 -04:00
Wayne Witzel III
d508254742
updater_role -> update_role
2016-04-15 11:01:35 -04:00
Wayne Witzel III
5bca1283b2
executor_role -> execute_role
2016-04-15 11:00:33 -04:00
AlanCoding
d196024155
fix problems with wording in template
2016-04-13 15:32:03 -04:00
AlanCoding
dc37f00d0a
use parent serializer method to avoid API browser job access check
2016-04-13 15:19:10 -04:00
AlanCoding
914918b5ae
update permission logic, update job runtime tests
2016-04-13 13:30:06 -04:00
Wayne Witzel III
c0b5fafafe
read-only view /organization/<id>/projects
2016-04-13 11:39:14 -04:00
AlanCoding
b0bbeb2ca8
move credential to prompt-for mechanism
2016-04-12 17:09:25 -04:00
AlanCoding
86aa0136a2
runtime inventory compatibility with blank, and resolve issue #1453
2016-04-12 17:09:24 -04:00