Chris Meyers
78e1698333
redact survey password fields in job detail extra_vars
2015-02-19 09:20:05 -05:00
Chris Meyers
1e871f8d7c
redact survey password type values w/ tests
2015-02-18 11:37:50 -05:00
Matthew Jones
59d824a643
Fix an issue where regular users couldn't relaunch jobs that they should
...
have permission to relaunch
2015-02-11 14:40:44 -05:00
Matthew Jones
bb3732b2c1
Cleaning up some flake8 errors, pyflakes in this case
2015-02-10 17:00:23 -05:00
Chris Church
bfff155d61
Fix dashboard inventory graph to only count unique hostnames and reflect when licensed hosts count drops; API response is slower than before. Fixes https://trello.com/c/Kfw7QlRE
2015-02-10 16:17:53 -05:00
Matthew Jones
e9e4c6856d
Implement job template job history statuses, configurable
2015-02-09 14:19:18 -05:00
Matthew Jones
753b5f41b4
Fix up flake8 for serializers
2015-02-06 14:14:47 -05:00
Matthew Jones
10389e09e8
Fix up flake8 warnings for views
2015-02-06 14:14:47 -05:00
Matthew Jones
888ae53027
Fix up flake8 runtime configuration, do a bit of flake8 work as it
...
relates to pyflakes)
2015-02-05 10:40:47 -05:00
Matthew Jones
1d76c1cd06
More pep8 goodness
2015-02-04 14:44:38 -05:00
Matthew Jones
6e6a709165
Fixing up some pep8 issues
2015-02-03 13:46:58 -05:00
Matthew Jones
90c8f18f76
Make error messages less alarming and include ip address in them
2015-01-30 15:55:32 -05:00
Chris Meyers
ee9ae8bb00
fix use before declare and added a missed redact
2015-01-30 15:48:06 -05:00
Chris Meyers
77625483bb
calls to redaction mechanism placed in correct places
...
* access to _raw stdout methods/variables remains raw
* wrapped _raw access in redaction where needed
2015-01-30 11:15:31 -05:00
Chris Meyers
d326aa181e
added uri redaction to stdout
2015-01-30 10:18:53 -05:00
Matthew Jones
18e7541f3b
More sanity checking on eula_accepted POST property
2015-01-29 11:55:42 -05:00
Matthew Jones
457555265a
Check data type on post for license
2015-01-28 16:38:52 -05:00
Matthew Jones
12697ad982
Remove a pointless print statement
2015-01-27 16:15:14 -05:00
Matthew Jones
93de3f9a73
Fix up an issue posting eula with the license to the config endpoint
2015-01-27 16:14:15 -05:00
Matthew Jones
20910e0e95
Fix up some serious issues posting new surveys and deleting them by
...
non-super users. Also fix up some issues checking can_change for job
templates for operations like PATCH where not all of the data points
will be submitted
2015-01-27 15:12:58 -05:00
James Laska
dc09fc5ad1
Mark eula_accepted as new to 2.1.1
2015-01-27 13:12:35 -05:00
Matthew Jones
698b58e19f
filter utility method got caught up in the python boolean dragnet
2015-01-26 15:00:49 -05:00
Matthew Jones
e807507203
Missing one boolean converter from filters after conversion
2015-01-26 12:50:23 -05:00
Matthew Jones
b5db74a7d9
Generalize the python boolean converter so we can use it in RBAC methods
2015-01-26 11:57:21 -05:00
Matthew Jones
9447c092ac
Fix a 500 error when posting empty json to the config endpoint, this
...
code was just wrong
2015-01-26 10:12:26 -05:00
Matthew Jones
1c19924b9a
Merge pull request #35 from chrismeyersfsu/housekeeping-system_job_template_launch
...
removed system job specific code that handles extra_vars
2015-01-23 14:52:28 -05:00
Matthew Jones
6a7e887369
Fix an issue where non super users would not be able to update a job
...
template survey spec
2015-01-23 10:34:41 -05:00
Matthew Jones
f676d1eeeb
Add EULA and EULA acceptance on the config endpoint
2015-01-22 15:43:44 -05:00
Chris Meyers
51a7d403db
removed system job code that handles extra_vars in favor using common (unified job) code alread in use by normal jobs
2015-01-22 09:41:52 -05:00
Matthew Jones
873afd64d2
Make Inventory and Project required when initially launching.
...
This prevents the scenario where an inactive-but-present project or
inventory on a job template would carry on even when we wouldn't want
it to
2015-01-21 11:05:14 -05:00
Matthew Jones
34aafb2db9
Fix an issue where we couldn't schedule custom inventory sources
2015-01-20 14:55:05 -05:00
Matthew Jones
9b80d25a24
Revert "Make credential required when using a cloud inventory source"
...
This reverts commit 9dab26eb0a66a910e41452e40e74480ed4639588.
2015-01-20 10:46:53 -05:00
Matthew Jones
be2a0614cf
Merge pull request #25 from matburt/remove_crazy_decorators
...
Purge old super user check decorator in favor of using RBAC. Update unit tests
2015-01-20 09:58:48 -05:00
Matthew Jones
4ce0fc4eb4
Purge old super user check decorator in favor of using RBAC. Update
...
unit tests
2015-01-19 13:54:49 -05:00
Matthew Jones
43d26d9993
Make credential required when using a cloud inventory source
2015-01-19 11:52:10 -05:00
Chris Meyers
8705f03bf9
added 'organization' to list of related fields for inventory_scripts
2015-01-19 08:39:55 -05:00
Matthew Jones
80b2b36bf3
Reapply fix for can_edit and can_copy when an inventory or project
...
associated with the job template have been deleted
2015-01-08 13:30:27 -05:00
Matthew Jones
9900b13953
Revert "Handle the situation where a Job Template's inventory has been removed"
...
This reverts commit 12201de3cb344b6caafeb112f7db7135b049821d.
2015-01-07 20:03:04 -05:00
Matthew Jones
932c276829
Handle the situation where a Job Template's inventory has been removed
...
and we are trying to determine if a user has the ability to edit or copy it.
2015-01-07 15:13:14 -05:00
Chris Church
719669f409
Show formatted output instead of raw HTML for job stdout in browsable API.
2015-01-06 17:25:13 -05:00
Matthew Jones
21d45b828f
Fix up an issue where we wouldn't properly show can_edit or can_copy
2015-01-05 16:28:31 -05:00
Matthew Jones
45a7c1647f
Fix error message returned based on variables_needed_to_start
2014-12-18 08:07:51 -05:00
Matthew Jones
a130ac88dd
Fix an bug where I wouldn't properly error out when survey validation
...
would fail
2014-12-17 22:39:11 -05:00
Matthew Jones
6f5d450e8d
Fix an issue that would not allow credential to be posted when launching
...
a job
2014-12-17 21:09:51 -05:00
Matthew Jones
d4879506c2
Switch to using extra_vars for survey variables, fix up some unit tests
...
related to that and some issues with system jobs
2014-12-17 16:04:55 -05:00
Matthew Jones
f4e67f789f
More making sure we are using smart_str
2014-12-17 12:59:52 -05:00
Matthew Jones
76a7d25131
Force custom inventory script organization to match the organization of
...
an inventory source's inventory when creating/updating the inventory source
2014-12-16 13:01:11 -05:00
Matthew Jones
901af011a1
Verify that we are passed a source script if a 'custom' source is provided
2014-12-15 14:56:09 -05:00
Matthew Jones
a487257789
Cascade remove inventory source links when a custom script is removed
2014-12-15 11:10:39 -05:00
Matthew Jones
1e1ea4e9ee
Some fixes for passing arguments to system/management jobs
2014-12-12 13:40:34 -05:00