Akita Noek
0ff94e424d
SubList views can now resolve deep relationships using dot notation for relationship specification
...
Made it so you can specify a relationship like 'parent.somelist'
2016-02-22 11:07:32 -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
ae12be9afa
Fixing up settings reset issue
...
This is done by not assigning the ActivityStream foreign key. Which is
almost superflous at this point
2016-01-05 14:34:40 -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
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
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
5df23b95f6
Revert "Improve stdout behavior by implementing a downloadable stdout."
2015-07-24 14:54:13 -04:00
Matthew Jones
3041fce503
Allow settings access from api templates
2015-07-23 12:07:34 -04:00
John Mitchell
32d1c0e4db
fixed copyright date
2015-06-11 16:10:23 -04:00
Matthew Jones
b3da3b34a3
Changing some legal headers for python source files
2015-05-29 12:10:39 -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
Matthew Jones
e784595119
Initial implementation of fact api endpoints
2015-05-05 14:47:58 -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
f7b8d510dc
Implement support for ad hoc commands.
2015-03-30 13:04:19 -04: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
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
Luke Sneeringer
c3b962ced5
/api/v1/ping/ was added in 2.1.0
2014-12-02 10:39:54 -06:00
Chris Church
4f74afdf19
Add response headers for timing API requests, improve inventory script view performance.
2014-05-14 13:52:46 -04:00
Matthew Jones
79ef9e5ed5
Implement smart recursive deleting on certain inventory resources
2014-05-08 16:56:55 -04:00
Chris Church
e70df9bf0f
Updated version to 2.0.0.
2014-04-09 00:12:33 -04:00
Matthew Jones
e197bfeb01
Add a specific tower warnings file in the tower home directory.
...
Configure the api viewer to emit warnings for 4XX and 5XX status codes
into that file. Configure it for use on a production system. Closes AC-685
2014-04-04 16:48:56 -04:00
Chris Church
118ddf97f6
Get created_by and modified_by updating automatically.
2014-04-01 21:27:32 -04:00
Chris Church
d632aa0af9
Only show editable fields in the browsable API raw data form on a detail view.
2014-04-01 21:10:16 -04:00
Chris Church
658581cce0
AC-1116 Support for deleting project/inventory updates.
2014-04-01 17:15:41 -04:00
Chris Church
5f2356a4fd
AC-1040 Change type to job_type when unified_job_template is included in summary_fields.
2014-04-01 16:49:50 -04:00
Chris Church
2eeecb01a7
AC-1040 Updated type choice names for unified job subclasses.
2014-03-31 11:34:12 -04:00
Chris Church
fe5d154d76
AC-1040 Exposed list of choices for type field.
2014-03-29 14:34:22 -04:00
Chris Church
52ab418abb
AC-1040 Unified job template and unified job views.
2014-03-28 01:25:25 -04:00
Chris Church
8e841d8c16
AC-1040 Update view properties to indicate version when they were added.
2014-03-25 14:57:11 -04:00
Chris Church
b631f24e5b
AC-1040 Add 'type' attribute as serializer field, add 'types' attribute to options response.
2014-03-24 16:49:30 -04:00
Matthew Jones
bb0a2887d5
Fix AC-998, Don't set created_by on the object when updating the object (only when creating). activity stream will save modifications and who made them
2014-01-31 07:00:21 -05:00
Chris Church
27fb54b2a7
AC-984 Prevent signal handlers from being run unnecessarily when deleting inventory, remove unnecessary extra queries, use update_fields when possible.
2014-01-27 18:37:51 -05:00
Chris Church
2b7af0a2ec
Happy new year!!!
2014-01-02 11:51:43 -05:00
Matthew Jones
61059fa1a4
Work to complete AC-673, mass refactoring of the activity stream. Some work towards AC-664/662 but will complete on those issues. This also fixes issue AC-743 (Adding help text for OPTIONS requests) and AC-675 (updates where active changes to False will now be treated as deletes)
2013-12-10 16:08:35 -05:00
Chris Church
112fe089d9
AC-728 Added chain__ filter prefix.
2013-11-26 13:24:45 -05:00
Chris Church
b73e792b23
Example code for capturing current user from rest framework.
2013-11-20 00:25:09 -05:00
Chris Church
e4851c6e18
AC-654 Add API support for token auth using X-Auth-Token header in addition to AUthorization header, fixes issue where API requests from the UI are picking up the basic auth from an API session.
2013-11-19 23:37:19 -05:00
Matthew Jones
50fee99580
Integrate a simple api list and detail display
2013-11-12 17:01:16 -05:00
Chris Church
98883e771f
Moved API code into separate Django app.
2013-11-04 15:44:49 -05:00