Matthew Jones
34e028b8c7
Adding security token field to support ec2 sts
...
And any future credential that might want to use "security_token"
2015-09-30 13:39:36 -04:00
Matthew Jones
c231601b76
Fix merge issues on stdout branch
...
The act of committing a PR that including part of these changes and then
reverting it meant that some of the changes from the original branch
didn't land in this new PR. This commit adds the missing bits.
Lesson learned: Create a new branch when submitting a PR on a
previously reverted PR
2015-08-04 09:57:39 -04:00
Matthew Jones
bddcb06fab
Merge branch 'stdout_file_download' into upstream_master
...
* stdout_file_download:
Rework stdout display for file storage only
2015-08-03 15:30:17 -04:00
Matthew Jones
1c777c5441
Rework stdout display for file storage only
...
* Cleanup old code related to stdout download using temporary files
* Remove copy-into-database code
* Modify stdout download code to reference stdout file
2015-08-03 15:14:51 -04:00
Matthew Jones
5df23b95f6
Revert "Improve stdout behavior by implementing a downloadable stdout."
2015-07-24 14:54:13 -04:00
Matthew Jones
55da712a95
Protect against very large stdout fields
...
* Defer loading result_stdout_text until specifically needed
* Conditionally display it based on the size of the field
* Provide a helpful message otherwise
2015-07-22 14:13:48 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
d011a87bb0
Support cancel on system jobs
2015-06-11 15:19:27 -04:00
Matthew Jones
82ac560cf2
Remove related single fact link on the group view
2015-06-01 14:12:39 -04:00
Matthew Jones
9d419820d5
Remove the single fact view link from the inventory serializer
2015-06-01 14:11:36 -04:00
Matthew Jones
22bbf21c09
Documenting new system tracking endpoints
2015-06-01 13:39:24 -04:00
Chris Church
07205bcb88
Disable LDAP support when not allowed by license.
2015-05-30 16:08:19 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -04:00
Matthew Jones
8795f06801
Capitalize the first letters of the scan modules for the UI
2015-05-29 10:47:43 -04:00
Matthew Jones
c644934afc
Disallow creating a survey with a scan job template
2015-05-29 10:43:54 -04:00
Matthew Jones
094072f9dc
Fix an issue where the single_fact view could still generate a 500 error
...
if mongo wasn't running and system tracking was disabled by the license
2015-05-28 16:19:55 -04:00
Matthew Jones
f5391cab11
Fix an issue where passing an empty yaml file (or ---) would cause an
...
error if including a port specifier on a hostname
2015-05-28 09:42:41 -04:00
Matthew Jones
c930b7759a
Add 'finished' property to recent jobs
2015-05-26 13:08:26 -04:00
Chris Meyers
338a504314
flake8
2015-05-22 18:08:33 -04:00
Chris Meyers
ec456c4e8b
user password required on creation
2015-05-22 15:31:13 -04:00
Chris Church
8e89e0e829
Show choices in OPTIONS response for ad hoc command module_name even when empty.
2015-05-14 15:03:02 -04:00
Chris Church
55c41252f8
Always return choices even if empty list.
2015-05-13 13:45:03 -04:00
Chris Meyers
66d097c7fa
Merge pull request #199 from chrismeyersfsu/feature-fact_options
...
add list of modules to fact OPTIONS endpoints
2015-05-13 07:59:35 -04:00
Chris Meyers
d03004ae74
add list of modules to fact_version OPTIONS endpoint
2015-05-12 08:58:35 -04:00
Chris Church
e017270201
Update serializers to remove empty choices, provide default values for fields, and better indicate the field type when possible for OPTIONS requests and browsable API docs.
2015-05-11 18:25:30 -04:00
Chris Meyers
fc7126cd68
expose single_fact via related and tests
2015-05-11 10:09:20 -04:00
Chris Meyers
0dc7072e68
flake8
2015-05-11 09:08:46 -04:00
Chris Meyers
5ff696f708
added fact view tests
...
* Add related link from host to fact_versions
* Add related link from fact_versions to fact_view
2015-05-08 21:34:24 -04:00
Chris Meyers
0c6a4782fd
add fact_versions endpoint link in hosts related list
2015-05-07 12:14:01 -04:00
Matthew Jones
e784595119
Initial implementation of fact api endpoints
2015-05-05 14:47:58 -04:00
Chris Church
cffb2f324f
Only update name if already present in result, so it won't show up for cancel/relaunch.
2015-05-01 13:40:06 -04:00
Chris Meyers
6a4f8f9177
error out if inventory or project not related to relaunched job
2015-04-30 08:50:42 -04:00
Chris Meyers
9e67169cb9
ensure credentials exist before we go looking at them
2015-04-28 15:26:22 -04:00
Chris Meyers
d77801353f
changed passwords_needed_to_start to take into acount if a credential is deleted
2015-04-28 13:38:47 -04:00
Chris Meyers
cea9dbdb4f
yet another extra_vars fix
2015-04-28 07:57:24 -04:00
Chris Church
2830095b07
Return only module_name for ad hoc command name.
2015-04-27 21:35:40 -04:00
Chris Meyers
556c66b050
fix extra vars job template
2015-04-27 20:16:44 -04:00
Chris Meyers
853ac5dcf7
Merge pull request #156 from chrismeyersfsu/fix-relaunch
...
Prevent relaunching job with deleted credential
2015-04-27 17:23:38 -04:00
Chris Meyers
2de6e7b016
validate extra_vars, but get them from request.DATA
2015-04-27 16:19:01 -04:00
Chris Meyers
c44019c4df
Merge branch 'master' into fix-credential_id
...
Conflicts:
awx/api/views.py
2015-04-27 14:57:53 -04:00
Chris Meyers
8a050dbc97
generate passwords in validate and pass back through context
2015-04-27 14:54:57 -04:00
Chris Meyers
c29e5f40be
save state
2015-04-27 14:27:48 -04:00
Chris Meyers
90037bbc2f
fill in api browser with needed extra_vars passwords and credential
2015-04-27 14:15:35 -04:00
Chris Meyers
3aab7eb64b
populate api browser with missed passwords
2015-04-27 14:05:07 -04:00
Chris Church
d1ea8708ad
Make sure credential can only be assigned to a user OR team, but never both. Fixes https://trello.com/c/yzlAEfAN
2015-04-27 12:43:02 -04:00
Chris Church
0d4c1a4245
Add tests for job template launch with invalid/inactive credential, fix bug that allowed an inactive credential to be passed if the job template already had an active credential.
2015-04-26 12:28:39 -04:00
Chris Meyers
927cc78526
flake8
2015-04-24 13:37:52 -04:00
Chris Meyers
299b0d78c8
removed the need to access data in the serializer. It's now clear what params a job template launch takes
2015-04-24 12:43:48 -04:00
Chris Meyers
0d26a700a6
sanitize request.DATA before passing to jobs
2015-04-24 12:22:31 -04:00
Chris Meyers
f194c0dc1b
moved validation from view to serializer. Prevent relaunching job with deleted credential
2015-04-24 10:59:59 -04:00