Matthew Jones
a2cf365325
Merge pull request #804 from cchurch/allow-null-or-blank-for-project-booleans
...
Allow null/blank input for boolean fields on projects.
2016-02-05 09:55:15 -05:00
Matthew Jones
b8dfa3df16
Merge pull request #803 from cchurch/remove-fields-for-ad-hoc-commands
...
Remove unified_job_template and description fields for ad hoc commands
2016-02-05 09:55:06 -05:00
Matthew Jones
38b1d13edc
Merge pull request #802 from cchurch/metadata-check-if-view-has-serializer
...
Check if view has a get_serializer method before trying to call it.
2016-02-05 09:54:59 -05:00
Chris Church
abc8da4531
Allow null/blank input for boolean fields on projects. Fixes #791 .
2016-02-05 05:14:48 -05:00
Chris Church
da0f87c325
Remove unified_job_template and description fields for ad hoc commands. Fixes #789 .
2016-02-05 04:55:40 -05:00
Chris Church
23feccdbf3
Check if view has a get_serializer method before trying to call it. Fixes OPTIONS issue in #788 .
2016-02-05 04:45:14 -05:00
Chris Church
217fd383b3
Don't show playbooks under project detail. Fixes #792 .
2016-02-05 04:09:17 -05:00
Chris Church
ab8e37eeaa
Minor fixes based on comments.
2016-02-03 13:18:49 -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
Wayne Witzel III
71a1547c3a
fixing ad_hoc imports
...
flake8 fixes
Fix and add awx/api/tests
added fact tests
added proper xml reports for jenkins
added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Matthew Jones
56d0cbfeff
Cover DELETEing the license from database config
...
Fix the standard license delete behavior on the /config endpoint. It
was covered elsewhere but this is the common path for license posting/removing
2016-01-26 16:31:38 -05:00
Matthew Jones
769fe18724
Wrap up other places where the old license access method is used
2016-01-25 20:59:18 -05:00
Matthew Jones
b35f84b401
Bypass license database check for cleanup schedule
...
We pre-create some cleanup jobs if a license is already present, this
doesn't work with the database config as-is. These can be removed at
some point in the future once the 2.4 migration path is not needed
2016-01-25 15:53:17 -05:00
Matthew Jones
3132d4efee
Fix license enablement utility helpers
...
We know call "from_database" which can implicitly call "from_file" if
the database config isn't available.
2016-01-25 14:09:04 -05:00
Matthew Jones
de55a9e0ed
Remove dict comprehension for settings list
...
Not supported in python 2.6
2016-01-18 16:08:21 -05:00
Matthew Jones
7b12954127
Replace namedtuple with an intermediate class
...
Named Tuples aren't supported on python 2.5
2016-01-14 15:38:00 -05:00
Alan Rominger
e63d7df163
Merge pull request #524 from AlanCoding/yaml_devel
...
Allow job_template launch to store YAML extra_vars
2016-01-14 12:31:23 -05:00
Matthew Jones
5c2f555b1d
Updating new_in for 3.0
2016-01-11 16:41:55 -05:00
Matthew Jones
f366b34847
Adding database config unit tests
2016-01-11 16:01:16 -05:00
AlanCoding
319394442a
store yaml output, test to cover bug, and docs update
2016-01-06 14:59:14 -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
0e98491dac
Remove PROJECTS_ROOT and JOBOUTPUT_ROOT from stngs
2015-12-17 11:22:45 -05:00
Matthew Jones
5e1c98341b
Removing a stray debug statement
2015-12-17 10:50:07 -05:00
Matthew Jones
910f9bd4a3
Fixing up some flake8 issues
2015-12-17 10:48:15 -05:00
Matthew Jones
9db80bd9fc
Support tower license within the database
...
With backwards support for the file-based license
2015-12-16 11:21:52 -05:00
Matthew Jones
35b19bf220
Update settings references
...
* PROOT
* Pendo tracking state
* ad hoc commands
* activity stream
* org admin visibility
2015-12-15 16:44:08 -05:00
Matthew Jones
dfd1ca4ae9
Relocate AUTH_TOKEN_* settings reference
2015-12-15 15:37:26 -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
7867a58c00
RBAC and settings reset
...
* Initial super-user only rbac with notes for future user-settings
support
* Clearing individual and all settings back to defaults
2015-12-15 12:12:54 -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
Chris Church
cd447bed96
Social auth and SSO updates:
...
* Move auth backends into sso app.
* Add support for mapping social auth users into organizations and teams.
* Return social auth backends in a consistent order in the API.
* Remove custom SAML attribute mapping and use options provided by PSA.
* Add pipeline function to raise an exception if no user has been found or created; added comments on how to disable new user creation.
* Add comments for defining a custom social auth pipeline function.
2015-11-13 11:30:55 -05:00
Chris Meyers
a0f327e6c5
Merge pull request #484 from chrismeyersfsu/feature-stdout_format
...
add content encoding for json to stdout
2015-11-03 10:11:24 -05:00
Chris Meyers
0889f1ebe1
add content encoding for json to stdout
...
* content_format=ansi&content_encoding=base64 support added to
?format=json on stdout endpoint.
Currently the json `content` value is made into html.
This change will allow support for consuming STDOUT for display on the
terminal.
2015-11-03 09:38:49 -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 Meyers
1db26531a1
if basic auth in headers, don't use cookie token
...
* Allows for basic auth to be used when cookie token fails
2015-10-19 14:49:15 -04:00
Chris Meyers
ad383ebccc
license enforcement
...
* add rebrand and auth_enterprise feature to license
* enforce auth_enterprise by not surfacing auth callback info at /auth
endpoint
2015-10-08 18:00:29 -04:00
Chris Church
84e89ab6f8
Fix auth-related errors breaking unit tests.
2015-10-02 16:16:30 -04: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
Chris Meyers
5e7473e101
Merge pull request #457 from chrismeyersfsu/fix-stdout_dl_token
...
allow token in get params at stdout endpoint
2015-10-02 08:59:07 -04:00
Chris Meyers
22f0a4b79a
allow token in get params at stdout endpoint
2015-10-01 17:25:21 -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
Chris Meyers
052929d209
Merge pull request #446 from chrismeyersfsu/feature-session_limit2
...
Feature session limit2
2015-09-30 11:11:36 -04:00
Chris Meyers
4163492e81
add auth timeout header to login response
2015-09-29 15:49:42 -04:00
Chris Meyers
b350eef3f0
session limit invalidation events via socket.io
2015-09-29 14:10:26 -04:00
Matthew Jones
53a96fd9eb
Merge pull request #440 from matburt/pendo_apiside
...
API Side Pendo Tracking Work
2015-09-29 01:04:21 -04:00
Chris Meyers
000d26d7e3
session limit enforcement
...
* upon creating a new session, invalidate oldest sessions
2015-09-28 14:17:28 -04:00
Matthew Jones
a3410920a9
Remove management job schedule count restriction
2015-09-25 16:00:19 -04:00