407 Commits

Author SHA1 Message Date
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
Akita Noek
c18aa44ced Return Queryset instead of Manager fix 2016-04-22 13:48:58 -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
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
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
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
68d8d25d64 fill in prompted data from JT, use standard launch permission, and compat code 2016-04-12 17:09:24 -04:00
AlanCoding
056a7d798a prompt-for vars in API browser box smart behavior 2016-04-12 17:09:24 -04:00
AlanCoding
bea15021b3 ask_for_inventory permissions and runtime tests finished
cleanup prompt-for additions

update migration after rebase
2016-04-12 17:09:24 -04:00
AlanCoding
19b855a4d3 prompt-for acceptance code in JT model 2016-04-12 17:09:24 -04:00
AlanCoding
cc84ed51d6 Add ability to prompt for several variable types on launch 2016-04-12 17:09:24 -04:00
Akita Noek
f3cae7e1f0 Log basic auth requests to the debug log
Part of #1087
2016-04-11 17:03:04 -04:00
Akita Noek
6182dad0d4 Added activity stream events for User
Completes development for #1087
2016-04-11 17:03:04 -04:00
Wayne Witzel III
1da9ee5e6c fix 500 errors for credential and role lists 2016-04-06 16:58:36 -04:00
Akita Noek
e2b01740fb Merge pull request #1389 from anoek/credential-api
Added and updated several credential creation and listing API endpoints
2016-04-04 14:11:21 -05:00
Akita Noek
9455225b3d Merge branch 'devel' of github.com:ansible/ansible-tower into credential-api 2016-04-04 13:12:29 -04:00
Wayne Witzel III
554d8ed8a6 add customer API doc fixes:#1390 2016-04-04 12:06:13 -04:00
Matthew Jones
b6706662a4 Disable database settings until after 3.0 2016-04-04 09:59:24 -04:00
Akita Noek
23aca083eb Added and updated several credential creation and listing API endpoints
Should addres #1379
2016-04-01 16:57:08 -04:00
Akita Noek
219c09728d Merge branch 'devel' of github.com:ansible/ansible-tower into rbac 2016-03-31 11:32:02 -04:00
Wayne Witzel III
344588b102 Merge pull request #1353 from anoek/rbac
Made reverse_gfk implementation suck a whole lot less
2016-03-31 11:22:44 -04:00
Wayne Witzel III
5de3d57980 return actual QuerySet objects 2016-03-31 11:14:08 -04:00
Akita Noek
0101d53876 super(type(obj),self) -> super(Class, self) fixes 2016-03-31 10:54:01 -04:00
Akita Noek
f9cc986d85 Merge pull request #1355 from wwitzel3/rbac
RBAC PR Fixes
2016-03-31 10:46:47 -04:00
Wayne Witzel III
2ae47a6bab do not use _in for single item 2016-03-31 10:23:42 -04:00
Wayne Witzel III
634f7be692 use explicit class in super to keep the view inheritable 2016-03-31 10:23:25 -04:00
Wayne Witzel III
3d05493c54 use exists instead of count 2016-03-31 10:22:10 -04:00
Akita Noek
534faf011c count->exists 2016-03-31 09:39:50 -04:00
Chris Meyers
323b13f18c add labels to /api/v1/ 2016-03-28 13:33:55 -04:00
Akita Noek
3b233f828e Merge branch 'devel' of github.com:ansible/ansible-tower into rbac 2016-03-28 09:23:53 -04:00
Chris Meyers
4ff73b2630 Merge pull request #1305 from chrismeyersfsu/feature-labels
job template labels init implementation
2016-03-28 09:01:12 -04:00