Commit Graph

218 Commits

Author SHA1 Message Date
Chris Church
217fd383b3 Don't show playbooks under project detail. Fixes #792. 2016-02-05 04:09:17 -05:00
Chris Church
60224cdbe4 Update Django to 1.8 and DRF to 3.3, add new Django migrations, update serializers/pagination/metadata, update browsable API styling. 2016-02-02 17:48:04 -05:00
Matthew Jones
5e1c98341b Removing a stray debug statement 2015-12-17 10:50:07 -05:00
Matthew Jones
e97e60bd30 Update settings location for certain values
* PROJECTS_ROOT
* JOBOUTPUT_ROOT
* SCHEDULE_MAX_JOBS
* STDOUT_MAX_BYTES_DISPLAY
2015-12-15 15:14:16 -05:00
Matthew Jones
273181e894 Expand dbconfig support
* Support updating settings values
* Support activity stream endpoint
* Support clearing value
* Improve type conversion system for displaying values
2015-12-14 15:09:10 -05:00
Matthew Jones
f53f3d805d View and some validation logic for database config
* Fixing some bugs in the manifest definition
* Database model and schema migration for tower settings
* Initial View and Serializer implementation using a strategy of merging
  model instances and named tuples
2015-12-11 16:57:11 -05:00
Matthew Jones
76b02cde05 Fix job template job sorting
"started" isn't a good field to sort on as it can be Null.  "created"
will always be available.
2015-11-23 13:42:39 -05:00
Matthew Jones
dfb056d200 Disallow changing a users password for social auth 2015-11-16 10:09:22 -05:00
Matthew Jones
99f048dfe5 Add object_association for m2m relationships
Now when displaying a m2m relationship change we'll show the related
field mapping that changed.
2015-11-02 14:39:24 -05:00
Chris Church
2ba5e06e2c Add support for single-sign on using python-social-auth (with Google/Github OAuth2 and SAML support). Add support for RADIUS as another authentication backend. 2015-10-02 14:57:27 -04:00
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