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
Matthew Jones
0a89581868
Fix up flake8 errors
2016-05-05 14:23:41 -04:00
Chris Meyers
3ebddbdc58
flake8 fix
2016-05-05 14:16:03 -04:00
Matthew Jones
5895b3a343
Refactor Notification's naming
...
Notifier -> NotificationTemplate
notifier -> notification_template
2016-05-05 13:53:46 -04:00
Matthew Jones
675b596fb0
Perform json and yaml validation on Job Templates
2016-05-05 12:00:12 -04:00
AlanCoding
44d57bf4c3
update test to new error message
2016-05-04 19:45:23 -04:00
Wayne Witzel III
102c6940cb
Merge pull request #1814 from wwitzel3/issue-1772
...
No longer attempt to serialize old permission data.
2016-05-04 17:28:56 -04:00
Wayne Witzel III
082ca59812
Fixing missed test from period all the things update
2016-05-04 17:12:51 -04:00
Chris Meyers
517da47655
Merge pull request #1750 from chrismeyersfsu/fix-ansible_hang
...
fixes hanging chads, if chads were ansible
2016-05-04 15:43:59 -04:00
Matthew Jones
e3f9b631e7
Clean up some notification task bugs
2016-05-04 13:52:41 -04:00
Matthew Jones
76ce77aaf7
Remove stray inventory source debug statement
2016-05-04 13:18:50 -04:00
Matthew Jones
39f922d2fe
Fix up azure source identification logic
...
We now need to deal with two azure inventory scripts. The logic here
was incorrect after the PR importing the new module. This brings it
back in line with the old logic for selecting the class azure inventory script.
2016-05-04 13:17:19 -04:00
AlanCoding
2d230919f0
reorganizing migration numbering
2016-05-03 16:41:43 -04:00
Akita Noek
4c0f4363be
Merge pull request #1794 from anoek/migration-fixes
...
Fixed JobTemplate migration when inventory is NULL
2016-05-03 16:25:49 -04:00
Akita Noek
83a30f57f5
Fixed JobTemplate migration when inventory is NULL
...
JobTemplate.inventory can be NULL if the inventory was deleted.
2016-05-03 15:56:02 -04:00
Matthew Jones
eb714ce67f
Merge pull request #1777 from matburt/ad_hoc_extra_vars
...
Implement extra vars on ad-hoc commands
2016-05-03 14:35:19 -04:00
Wayne Witzel III
5291420a17
Merge pull request #1771 from wwitzel3/issue-1608
...
Implement ActivityStream for RBAC Roles
2016-05-03 14:30:50 -04:00
Matthew Jones
db541b4e5e
Add ad-hoc extra vars migration
2016-05-03 14:04:59 -04:00
Wayne Witzel III
65f71ba2ab
Fixing issue when Role is not associated with a Resource (generally never)
2016-05-03 13:32:40 -04:00
Matthew Jones
a17bb5677b
Implement extra vars on ad-hoc commands
2016-05-03 12:02:27 -04:00
Wayne Witzel III
b78c3a3e61
Fix error when adding roles from the User.roles side
2016-05-03 11:55:40 -04:00
Akita Noek
e237648f4c
Merge pull request #1761 from anoek/migration-fixes
...
Migration fixes
2016-05-03 11:32:38 -04:00