Commit Graph

2198 Commits

Author SHA1 Message Date
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
Wayne Witzel III
102b8a4f91 refector old update_password tests 2016-05-10 10:37:20 -04:00
AlanCoding
f9c177edd5 More accurate test to check validation of bad data 2016-05-10 10:05:46 -04:00
Wayne Witzel III
84c326d801 Merge pull request #1865 from wwitzel3/issue-1567
add count to labels
2016-05-09 15:05:17 -04:00
Wayne Witzel III
afe5f5ebc0 add count to labels 2016-05-09 14:29:08 -04:00
Alan Rominger
11e9792356 Merge pull request #1819 from AlanCoding/more_error_msg_periods
Add even more periods in error messages
2016-05-09 13:51:02 -04:00
Matthew Jones
7a611cdb8a Fix an issue with the related through tables on notifications 2016-05-09 12:44:54 -04:00
Wayne Witzel III
963ce41851 fix credential details test 2016-05-06 15:11:28 -04:00
AlanCoding
532583ed27 add periods throughout access.py 2016-05-06 11:44:30 -04:00
AlanCoding
fe1a0e2aa8 JT survey license check test migrations 2016-05-06 11:40:10 -04:00
Matthew Jones
32720b2cc4 Add Schedule to the system job migration 2016-05-05 16:06:26 -04:00
Matthew Jones
6cece17024 Purge cleanup_deleted tasks as they aren't needed
This also adds a periodic static task to cleanup auth tokens
2016-05-05 16:04:36 -04:00
AlanCoding
92efb2d317 exception for dual-name questions and more tests 2016-05-05 15:53:35 -04:00
Matthew Jones
3c90ecba0b Fix up notifications active field removal 2016-05-05 15:27:57 -04:00
AlanCoding
a85f5a6a63 started tests for survey spec 2016-05-05 14:37:17 -04:00
AlanCoding
b1dfa28459 hit the is_valid method before stripping the special fields in credential view 2016-05-05 14:30:39 -04:00