Commit Graph

4382 Commits

Author SHA1 Message Date
Matthew Jones
5f321ecab6 Emit a warning for unmapped SAML paramters 2015-11-11 16:05:53 -05:00
Matthew Jones
fdc9979595 Fix up some SAML issues
* Fix an issue I created overriding authenticate
* Fix up attribute mapping using an identity provider class.  The
  methods built into django-social-auth for saml are probably not going
  to work.  We also now expose those mappings in a settings attrs map
  that the user can override.
2015-11-10 11:58:42 -05:00
Chris Meyers
3f4913f5ab adds socket tests 2015-11-06 10:30:56 -05:00
Chris Meyers
dbbfde0d25 fixes remove_instance error
* Initialize object attribute to None so a later if check that depends
on that attributes succeeds. The attribute is related to unifying the
command line args to the *_instance command set.
* Added regression test case
2015-11-06 07:19:09 -05:00
Jared Tabor
d8aff34f63 null pointer exception 2015-11-05 11:17:17 -08:00
James Laska
4060370fad Attach handlers to django_auth_ldap
To assist with debugging LDAP authentication, associate the 'django_auth_ldap'
handler with the 'tower_warnings' logger.  To enable debugging, set the
following in a tower settings file:

> LOGGING['handlers']['tower_warnings']['level'] =  'DEBUG'

Also uses the proper `filename` for the tower_warnings log file.
2015-11-05 12:53:15 -05:00
Chris Meyers
5845730cf6 Merge pull request #485 from chrismeyersfsu/fix-openstack_jt
add openstack cred file to env for jt launch
2015-11-05 11:28:26 -05:00
James Laska
abed41d390 Reword log msgs for enterprise_auth failures 2015-11-05 09:50:08 -05:00
jlmitch5
e827963415 Merge pull request #486 from jlmitch5/promiseConfig
Promise config
2015-11-04 15:09:35 -05:00
Matthew Jones
f78f69159d Fix up pyflakes indentation issues 2015-11-04 09:50:50 -05:00
Matthew Jones
ec6ef4974a Update GCE Region Choices per Google 2015-11-03 23:34:46 -05:00
John Mitchell
ecb445e688 dont resolve a promise that hasnt been set up 2015-11-03 22:39:39 -05:00
John Mitchell
e05988ff5d resolve config with a promise on the login route 2015-11-03 21:58:01 -05:00
John Mitchell
688d933df7 fixed admin organization association text 2015-11-03 16:39:54 -05:00
John Mitchell
cf99179015 fixed urls for credentials going to api 2015-11-03 15:48:25 -05:00
Jared Tabor
095f8d349d adding default value for idle modal 2015-11-03 07:45:31 -08: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
Matthew Jones
a6b2e25680 Merge pull request #483 from ansible/license_warning_and_auth_license_validation
Add logging and improve validation for certain auth backends
2015-11-03 09:54:45 -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
Chris Meyers
3a8044754c add openstack cred file to env for jt launch 2015-11-03 09:37:38 -05:00
Jared Tabor
555a8314d6 Checking for valid object in ProcessErrors 2015-11-02 15:57:17 -08: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
John Mitchell
dd5a7bbd62 fixed 403 status on job detail page 2015-11-02 13:39:28 -05:00
Matthew Jones
113c5ed78f Clean up authenticate and get_user for ldap auth 2015-11-02 12:02:14 -05:00
Matthew Jones
dd29bc40d9 Add logging and improve validation for certain auth backends
* Abstract authention to provide a hook for emitting an error message
* Perform some license validation that wasn't present before for
  enterprise licenses
2015-11-02 11:59:17 -05:00
Jared Tabor
045014f3bc posting license after user posts license
then reissue pendo identity
2015-10-29 16:35:09 -07:00
Jared Tabor
861766e513 Adding ansible & tower versions to pendo object
Adding these keys to the account_id object
2015-10-29 14:34:53 -07:00
Jared Tabor
f5bf789cb1 disabling pendo guides
we're not using the pendo guides in this release. This change turns off the outbound requests to pendo to check for guides.
2015-10-29 13:56:31 -07:00
Matthew Jones
2ba7b3bdac Update vendored ec2 module 2015-10-29 13:27:34 -04:00
John Mitchell
5b20e8767a fix logo on about modal 2015-10-28 17:37:12 -04:00
Jared Tabor
3892b3db1c Forgot to update object reference for upgraded $http service from angular 1.4 2015-10-28 10:08:46 -07:00
jaredevantabor
4de6fba70a Merge pull request #481 from jaredevantabor/logout-fixes
Wrapping timer init in promise
2015-10-28 09:17:27 -07:00
Jared Tabor
d2cefe6018 adding null pointer check
for timer factory when a user logs out from another tab
2015-10-28 08:47:09 -07:00
Jared Tabor
65d44287df fix console error with rest interceptor
null pointer exception fixed
2015-10-27 21:09:12 -07:00
Jared Tabor
12d31c5099 promise function was outdated for $http request of config.js
using .catch instead of .error
2015-10-27 20:49:37 -07:00
Jared Tabor
6c8597cf95 Wrapping timer init in promise
to ensure that timer is started before initializing websockets. This was leading to instances where the websocket thought that the session
hadn't been started yet. Also fixed an issue where the session wasn't tearing down the $interval when AUTH_TOKEN_PER_USER had been exceeded.
2015-10-27 13:51:54 -07:00
John Mitchell
32962bcadc fixed project update canceling 2015-10-27 14:42:10 -04:00
John Mitchell
0f68ead0b3 fixed fields not clearing out between source changes 2015-10-27 13:58:27 -04:00
John Mitchell
f6f5bdd396 fixed styling issues for job detail explanation 2015-10-27 13:47:13 -04:00
John Mitchell
eddb2e01b0 fixed prepopulation of custom script lookups 2015-10-26 17:40:39 -04:00
Jared Tabor
80eeda1c8c removing stale code
to make atom happy :)
2015-10-25 18:32:54 -07:00
Jared Tabor
b83dfda92c fixing a null pointer exception if services are down and user attempts to login 2015-10-25 17:29:29 -07:00
Jared Tabor
e18791a657 Integer Directive was returning false for a blank string
this was causing the integer directive to throw an error if the user entered something in the field, then erased it.
2015-10-25 14:48:23 -07:00
John Mitchell
8e4adfb887 fixed typo in cancel message 2015-10-25 00:15:54 -04:00
Jared Tabor
f73e56439a On logout, log the user out of the UI on all open tabs
I've also reworked the logic around storing the user session idle time in localStorage
2015-10-23 17:12:04 -07:00
John Mitchell
f8e4fdf201 change async loading order for form 2015-10-23 12:23:37 -07:00
John Mitchell
58f0f9f6e9 fixed alert unnecessary escaping 2015-10-23 09:06:49 -07:00
John Mitchell
98e66d8762 fixed conditional of management jobs not showing up for non-superuser 2015-10-23 08:45:50 -07:00
jlmitch5
0c9ac94b63 Merge pull request #480 from jlmitch5/fix_failure_update_reason
Fix failure update reason
2015-10-23 08:24:58 -07:00
Matthew Jones
4603ac5d1c Change dependent job failure message entity ref.
Originally we were looking at the underlying project/inventory update
but we are now populating the name of project updates and inventory
updates a lot better so we'll just take their names
2015-10-22 10:49:42 -04:00