Commit Graph

1024 Commits

Author SHA1 Message Date
Chris Meyers
83c5b3323f add workflow to unified endpoints 2016-09-02 09:04:49 -04:00
Chris Meyers
39ac2c047b launch workflows 2016-09-01 14:11:20 -04:00
Chris Meyers
2cfdee3b21 turn job templates in jobs via launch 2016-08-31 09:00:25 -04:00
Chris Meyers
4c876b40e4 initial models and endpoints added for workflows 2016-08-30 15:05:28 -04:00
Aaron Tan
0991e213cc Merge pull request #3252 from jangsutsr/2955_update_system_job_start_access
Update system job start access
2016-08-22 12:35:48 -04:00
Matthew Jones
8893f8278a Merge branch 'release_3.0.2' into devel
* release_3.0.2: (126 commits)
  Disable permissions tab in Credential > Edit form if Credential is private (#3288)
  Tweaked the popover text for job and skip tags on JT add/edit
  Workaround a cascade setnull polymorphic issue
  flake8
  Fixed old test expectations
  Made it so the credential organization field can't be changed
  Skip some unit tests
  Fixed org auditor visibility of team credentials
  Fix sosreport
  fix credential kind options for list
  interpret any code below 300 as success
  bail when status code is over 300
  Make CloudForms inventory_script work
  Use no_log when handling passwords
  Prevent ignored task from being displayed as failing.
  making ec2 cred optional on group->edit
  making ec2 credential optional for ec2 inventory
  Revert "Fix to ensure org auditors can see team credentials"
  Fixed team credential list to work with corrected permissions
  Making the username and password fields optional
  ...
2016-08-18 22:52:55 -04:00
Akita Noek
30451f230b Fixed org auditor visibility of team credentials
And by fix, I mean prevent us from getting into the situation that was
causing the asymetric visiblity by brining us into alignment with the
original intention and spec for how credentials were supposed behave.

 #3081
2016-08-16 14:02:09 -04:00
Akita Noek
db87e3cb30 Merge branch 'release_3.0.2' into 3081 2016-08-16 13:52:57 -04:00
jangsutsr
0c854dde43 remove redundant permission checks in start views. 2016-08-15 12:02:35 -04:00
jangsutsr
d3968fd080 Enable user for starting system management jobs. 2016-08-15 11:34:17 -04:00
Aaron Tan
fd26cf6176 Merge pull request #3244 from jangsutsr/3199_ignored_task_result_inconsistent
Prevent ignored task from being displayed as failing.
2016-08-14 20:14:06 -04:00
Alan Rominger
e5a1ee8b94 Merge pull request #3215 from AlanCoding/2200_job_survey_pass
Save survey passwords in job as new field
2016-08-12 14:04:29 -04:00
Aaron Tan
f90b244fe6 Prevent ignored task from being displayed as failing. 2016-08-11 17:34:35 -04:00
Akita Noek
f81d6afe83 Fixed team credential list to work with corrected permissions 2016-08-11 10:17:33 -04:00
Akita Noek
e55de3d073 Fixed team credential creation through API 2016-08-10 16:58:12 -04:00
Aaron Tan
bea36bd1dc Add notifications link to ad_hoc command details. 2016-08-08 17:17:45 -04:00
AlanCoding
53d6d2734f add conditional to show inventory script to org auditors 2016-08-08 17:13:26 -04:00
Aaron Tan
01588af5ac Merge pull request #3219 from jangsutsr/typo_fix
Fix a minor typo in job events model and restructure a bit to fix 500 error.
2016-08-08 14:29:48 -04:00
Aaron Tan
a2093e3e13 Fix a minor typo in job events model and restructure a bit to fix 500 error. 2016-08-08 13:41:59 -04:00
Chris Church
3bb14e2f72 Clear cache between tests or when license is updated. 2016-08-08 11:59:55 -04:00
Chris Church
891e06d6ef Add config for using Redis as cache, add memoize function to store results in cache. 2016-08-08 11:58:54 -04:00
AlanCoding
17ac2cee42 Put survey passwords in job field 2016-08-05 15:11:28 -04:00
Wayne Witzel III
f30292c7f1 Merge pull request #3192 from wwitzel3/test-refactoring
Update some tests and refactor some code.
2016-08-04 11:17:42 -04:00
Wayne Witzel III
c5b005fd35 refactor start_event_queryset into model 2016-08-03 15:37:40 -04:00
Chris Church
3850b96da2 Re-enable API settings URLs. 2016-08-03 14:56:09 -04:00
AlanCoding
2955af705e fix error in job schema introduced in ask_skip_tags change 2016-08-03 11:37:11 -04:00
AlanCoding
bedcdadcfc job launch read_only fields made more clear 2016-08-01 16:49:35 -04:00
AlanCoding
0271aa611c add field to JT for asking to skip tags 2016-08-01 16:49:34 -04:00
Alan Rominger
16959ef17d Merge pull request #3171 from AlanCoding/2567_AS_group_inv
Show inventory_id in activity stream for groups
2016-08-01 15:40:47 -04:00
Alan Rominger
1352fe822d Merge pull request #3172 from AlanCoding/3118_role_read
Drop in visible_roles to RoleAccess can_read
2016-08-01 15:40:21 -04:00
Matthew Jones
3e1c0111f5 Merge branch 'api_release_3.0.1' into release_3.0.2
* api_release_3.0.1:
  add code to HostAccess can_add so the browsable API will work
  update unit tetsts
  use get_object_or_400 to fetch Role
  refactor to unit tests
  restrict User.admin_role membership changes through RoleUsersList
  fix test
  do not allow membership changes to User.admin_role
  RoleTeam and TeamRole sublist NotFound exception handling and test update
  add system job templates to the unified JT list
  Reorganize activity stream around org admin/auditors
  Allow instant cancel for new jobs
  orphan project protection in job delete access
  pass context into Job and JobList serializer classes
  pass context to unified job template subclasses
  Allow auditors to see same /api/v1/config information as admins
2016-08-01 13:23:37 -04:00
Wayne Witzel III
9baa9594c7 use get_object_or_400 to fetch Role 2016-07-29 11:29:49 -04:00
Wayne Witzel III
b127e74ae4 refactor to unit tests 2016-07-29 11:29:43 -04:00
Wayne Witzel III
52865eea6a restrict User.admin_role membership changes through RoleUsersList 2016-07-29 11:29:41 -04:00
Wayne Witzel III
06bb8871d7 do not allow membership changes to User.admin_role 2016-07-29 11:29:36 -04:00
Alan Rominger
a078254508 Merge pull request #3157 from AlanCoding/3129
Protect NotFound error in POST to TeamRoles
2016-07-28 20:20:00 -04:00
AlanCoding
1fb173b2e5 RoleTeam and TeamRole sublist NotFound exception handling and test update 2016-07-28 16:01:42 -04:00
AlanCoding
1d951a7eff use same model method to determine read permission as we do in the views 2016-07-27 12:13:38 -04:00
AlanCoding
32a9c812e3 special case filter to show inventory id for group 2016-07-27 11:48:22 -04:00
AlanCoding
e27ce600c5 add system job templates to the unified JT list 2016-07-27 10:28:53 -04:00
Chris Meyers
4cf7344dc4 check license permission on host create 2016-07-21 16:53:25 -04:00
AlanCoding
29e35357e9 pass context into Job and JobList serializer classes 2016-07-20 10:02:59 -04:00
AlanCoding
f154633277 pass context to unified job template subclasses 2016-07-20 10:02:09 -04:00
Akita Noek
38f03ea32f Allow auditors to see same /api/v1/config information as admins 2016-07-17 08:04:06 -04:00
Alan Rominger
94e39b0cee Merge pull request #3015 from AlanCoding/org_read_role
Add read_role to organization select_related
2016-07-15 15:32:04 -04:00
Wayne Witzel III
03c3ac074c Merge pull request #3022 from wwitzel3/issue-2979
Fix sysadmin and sysauditor viewing orphan inventory script.
2016-07-15 15:26:33 -04:00
Matthew Jones
eb97b8c916 Switch disallowed object delete to 409
In the case of running job conflicts
2016-07-15 11:47:02 -04:00
AlanCoding
df940f811c add read_role to organization select_related 2016-07-14 16:11:29 -04:00
Akita Noek
6eb63285d2 Merge pull request #3010 from anoek/3006
Don't let normal users create orgless projects
2016-07-14 15:25:45 -04:00
Akita Noek
e18d142533 Don't let normal users create orgless projects
#3006
2016-07-14 14:29:34 -04:00