Commit Graph

2163 Commits

Author SHA1 Message Date
Akita Noek
ba19e0e105 Merge pull request #1975 from anoek/auditor-support
Add support for creating system auditors
2016-05-20 13:33:21 -04:00
Akita Noek
9dc662e3b2 Merge pull request #1972 from wwitzel3/issue-1890
ensure superusers can still see JTs even if proj/inv/org are deleted
2016-05-19 09:17:58 -04:00
Akita Noek
e8a3e7456d Merge pull request #1944 from wwitzel3/issue-1910
Fix access to JT for admin and superuser
2016-05-19 09:17:29 -04:00
Alan Rominger
c158c9dfe3 Merge pull request #1943 from AlanCoding/863_activity_stream_sorting
Implement a default ordering for ActivityStream
2016-05-18 16:07:19 -04:00
Alan Rominger
8c1e2e4efc Merge pull request #1892 from AlanCoding/1364_AS_permission
Access filters in ActivityStream
2016-05-18 16:06:38 -04:00
Akita Noek
390ac656fa Bolted is_system_auditor faux-field onto User 2016-05-18 16:02:10 -04:00
Alan Rominger
50bb6b8fc3 Merge pull request #1951 from AlanCoding/1949_scan_runtime_bugs
Fix 500 error caused in job launch runtime vars validation
2016-05-18 15:34:58 -04:00
Wayne Witzel III
4b95e5db8d ensure superusers can still see JTs even if proj/inv/org are deleted 2016-05-18 15:31:48 -04:00
Wayne Witzel III
1810e80203 pep8 fixups, unused imports 2016-05-18 15:29:13 -04:00
Wayne Witzel III
f00825ecf0 removed OR test, removed that functionality 2016-05-18 14:08:15 -04:00
AlanCoding
f6b3da0c46 Make error message grammar more consistent 2016-05-18 13:39:06 -04:00
Alan Rominger
5fc5f1858a Merge pull request #1801 from AlanCoding/1773_cred_detail_serializer
Purge credential detail view of special fields
2016-05-18 09:54:43 -04:00
AlanCoding
f19088db1b fix job_type change 500 error, patch up runtime tests 2016-05-18 09:24:33 -04:00
Matthew Jones
9ba98d9cac Rename channels to rooms for hipchat notifications 2016-05-17 15:33:22 -04:00
Wayne Witzel III
2e4c26a77f remove the ORing of local roles, check against organization roles 2016-05-17 13:56:11 -04:00
AlanCoding
a7fed53efc implement a default ordering for ActivityStream 2016-05-17 11:24:13 -04:00
AlanCoding
9cc8ae9329 ActivityStream access checking test for most resources 2016-05-17 10:39:38 -04:00
AlanCoding
4e2e4667de test for activity stream selective access 2016-05-17 09:06:08 -04:00
AlanCoding
f805f43eaa new fixtures for activity stream tests 2016-05-17 09:06:07 -04:00
AlanCoding
c8863a10b1 add access filters to the ActivityStream list 2016-05-17 09:06:07 -04:00
Akita Noek
8bcab8e748 Merge pull request #1915 from anoek/doc-updates
RBAC doc updates
2016-05-13 13:57:22 -04:00
Akita Noek
60f76de5c3 RBAC doc updates 2016-05-13 12:01:54 -04:00
Wayne Witzel III
599902da47 update api view/serializers for new role names 2016-05-13 12:00:33 -04:00
Wayne Witzel III
da12da2a05 test fixes for new role names 2016-05-13 11:59:18 -04:00
Wayne Witzel III
911c92707c update models to match new migrations 2016-05-13 11:59:14 -04:00
Wayne Witzel III
6a6194cc43 update migrations for RBAC 2016-05-13 11:59:12 -04:00
Wayne Witzel III
1da2727f5d add can_admin for CustomInventoryScripts 2016-05-13 11:59:05 -04:00
Akita Noek
6958e81d00 Filled in RBAC descriptions
#1655
2016-05-13 10:11:38 -04:00
Wayne Witzel III
542d3d22b2 Merge pull request #1889 from wwitzel3/issue-1881
remove URL and add roles endpoint for JobTemplate
2016-05-13 09:16:37 -04:00
Akita Noek
6d871afd4a Merge pull request #1904 from anoek/migration-fixes
Job template migration fixes
2016-05-12 16:33:24 -04:00
Akita Noek
9d46a39e42 Added comment context to caught exception 2016-05-12 16:31:32 -04:00
Chris Meyers
11090af095 Merge pull request #1905 from chrismeyersfsu/fix-mongo_performance3
optimize transformation
2016-05-12 15:43:13 -04:00
Matthew Jones
a79c53bb17 Switch to disabling sftp batch instead of scp
For ad-hoc jobs where we are experiencing issues related to disabling
control persist to support proot.  See commit
f69846e7871cae41b19ecda33563d6365dc9c3e0 for earlier analysis
2016-05-12 15:33:58 -04:00
Chris Meyers
fbca7e70f1 optimize transformation 2016-05-12 14:16:39 -04:00
Akita Noek
acc49bbbef Fixed up JT migration tests 2016-05-12 13:46:13 -04:00
Akita Noek
27457239bc Fixed up job template migrations
Massive speed improvement as well as made it not wrong (or at least less wrong).
2016-05-12 13:43:36 -04:00
Akita Noek
4378430c4f Minor migration speed improvement for old access queries 2016-05-12 13:43:36 -04:00
Akita Noek
6c0c789612 Make job queryset only require JT read access to see
As opposed to credential access, since users can see and potentially run
JT's without credential access now.
2016-05-12 13:43:36 -04:00
Akita Noek
fb97438573 Enforce jt admin_role requirement for changing/deleting JobTemplates 2016-05-12 13:43:36 -04:00
Akita Noek
be8a1f4859 Another orgfunc migration fix 2016-05-12 13:43:36 -04:00
Matthew Jones
1faf3cceb8 Fix up notification related unicode errors
I'm not sure why I used smart_text instead of smart_str here originally
2016-05-12 10:54:00 -04:00
Matthew Jones
76728fcba7 Set a user agent for the webhook if not provided 2016-05-12 10:54:00 -04:00
Matthew Jones
8a0b40e478 Force scp usage instead of sftp for ad-hoc jobs 2016-05-11 16:03:57 -04:00
Matthew Jones
c6eedce3d8 Further purging of cleanup_deleted 2016-05-11 15:07:56 -04:00
Wayne Witzel III
f12c6530cf fix rbac summary_fields test 2016-05-11 11:41:53 -04:00
Wayne Witzel III
ba1e4cb19a Merge pull request #1878 from wwitzel3/test-refactors
Refactoring /old tests to use py.test
2016-05-10 15:58:22 -04:00
Matthew Jones
d5afbc20ac Require cloud on inventory source for notification
Inventory Sources must now be a cloud type in order to associate a
notification template with it.
2016-05-10 14:50:34 -04:00
Alan Rominger
ac24fc75b8 Merge pull request #1823 from AlanCoding/532_survey_validation
Block Duplicate Survey Variables
2016-05-10 13:35:57 -04:00
Chris Meyers
ae73be12f1 remove statsd 2016-05-10 11:56:04 -04:00
Wayne Witzel III
2c0c8591df refactor old remove_instance tests 2016-05-10 11:42:54 -04:00