Chris Church
8552ea91a8
Add sample config for LDAP connection options, disable referrals by default, prefetch user groups to reduce LDAP queries when checking group memberships.
2015-12-11 15:00:20 -05:00
Chris Church
dde71a3b28
Remove social auth user fields settings that don't have any effect.
2015-11-17 15:18:40 -05:00
Chris Church
89c6a7a9d1
Merge pull request #499 from cchurch/social_auth_updates
...
Social Auth and SSO Updates
2015-11-13 11:56:39 -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 Church
908b1b4094
Update default scopes requested for github social auth.
2015-11-12 12:27:19 -05:00
Chris Church
51fd41da2c
Merge pull request #458 from jlmitch5/plugAuthUIAPIIntegration
...
inegration of ui with api on pluggable auth
2015-10-02 17:29:58 -04:00
Chris Church
8d2f6eaf06
Merge pull request #459 from cchurch/slammin-saml
...
OAuth2/SAML/RADIUS Authentication
2015-10-02 17:29:45 -04:00
Chris Church
32604f1338
Fix for 500 error at /api/v1/me.
2015-10-02 17:29:16 -04:00
Chris Church
84e89ab6f8
Fix auth-related errors breaking unit tests.
2015-10-02 16:16:30 -04:00
Chris Church
0c7a4b9f60
Disable flake8 checks in settings.
2015-10-02 15:24:49 -04:00
Chris Church
b5512e23bf
Flake8 fixes, remove stray print.
2015-10-02 15:13:16 -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 Church
6128ab3ff4
Add an error message when running a job and trying to use an OpenSSH formatted key on an older version of OpenSSH.
2015-08-11 16:54:54 -04:00
Chris Church
2cd8e00bcf
Add an error message when running a job and trying to use an OpenSSH formatted key on an older version of OpenSSH.
2015-08-11 16:30:27 -04:00
Chris Church
6c409404ba
Incorporate OpenStack inventory changes from https://github.com/ansible/ansible/pull/11447 back into Tower.
2015-08-10 15:49:25 -04:00
Chris Church
139a072afa
Don't create a group that is its own parent when an EC2 tag has an empty value. Fixes https://trello.com/c/2zc0odvX
2015-08-06 21:31:56 -04:00
Chris Church
001127f8bd
Limit max depth when building mapping of group depths to avoid hitting recursion limit. Fixes https://trello.com/c/2zc0odvX
2015-08-06 21:31:42 -04:00
Chris Church
0633d4c672
Don't create a group that is its own parent when an EC2 tag has an empty value. Fixes https://trello.com/c/2zc0odvX
2015-08-06 15:03:54 -04:00
Chris Church
3560e5a2eb
Limit max depth when building mapping of group depths to avoid hitting recursion limit. Fixes https://trello.com/c/2zc0odvX
2015-08-06 14:59:04 -04:00
Chris Church
f0010cc574
Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
2015-08-05 22:03:20 -04:00
Chris Church
4a1b5070b5
Merge pull request #357 from cchurch/make_honcho
...
Add support for honcho as alternative to tmux
2015-08-04 19:06:17 -04:00
Chris Church
b647811456
Add support for detecting encrypted openssh format private keys. Fixes https://trello.com/c/ZeVOXN5U
2015-08-04 18:59:25 -04:00
Chris Church
71c2fd7f8d
Add support for honcho as alternative to tmux for running development servers.
2015-08-04 15:26:27 -04:00
Chris Church
5b16934459
Set azure inventory cache defaults before reading settings.
2015-06-30 16:41:22 -04:00
Chris Church
e217ab00c0
Fix azure inventory to set ['_meta']['hostvars'] instead of just ['meta'].
2015-06-30 16:35:07 -04:00
Chris Church
b7b5293fed
Include vmware inventory updates from https://github.com/ansible/ansible/pull/11300
2015-06-30 14:00:06 -04:00
Chris Church
356d1b7134
Include gce inventory changes from https://github.com/ansible/ansible/pull/11299
2015-06-30 12:46:34 -04:00
Chris Church
0c6459cd07
Include ec2 inventory changes from https://github.com/ansible/ansible/pull/11293 .
...
Include ec2.ini doc changes from https://github.com/ansible/ansible/pull/11236 and https://github.com/ansible/ansible/pull/11409 .
2015-06-30 12:41:45 -04:00
Chris Church
3b7b930bcd
Merge pull request #278 from cchurch/openstack_inventory_updates
...
OpenStack inventory updates
2015-06-12 01:00:12 -04:00
Chris Church
8df9c40435
Add example settings for unit test, remove invalid private argument.
2015-06-12 00:59:10 -04:00
Chris Church
4607972135
Included openstack inventory script from core + changes from some open PRs, fixes to be able to use without custom changes for tower.
2015-06-12 00:58:33 -04:00
Chris Church
dfe4e0c694
Add unit test for azure inventory.
2015-06-12 00:52:57 -04:00
Chris Church
58207b4a04
Update ec2 inventory from core.
2015-06-09 14:53:31 -04:00
Chris Church
6679afe190
Merge pull request #259 from cchurch/ssh_key_data_fifo
...
Write SSH key data to named pipe
2015-06-03 23:33:16 -04:00
Chris Church
7770b813ea
Write SSH key data to a named pipe and remove immediately after reading to avoid leaving private key data on disk.
2015-06-02 20:23:12 -04:00
Chris Church
c24e51f515
Fix flake8 warning.
2015-06-02 20:09:26 -04:00
Chris Church
77ab83eb0d
Fix inventory source name to exclude replacement text, fix inventory update name to be based only on inventory and group name. Fixes https://trello.com/c/zYrHMz9S
2015-06-02 19:46:18 -04:00
Chris Church
602985f7b5
Reverted license type change from 5230360ffe1d130681b572247e591810081850b1
2015-06-02 16:43:39 -04:00
Chris Church
a46837608a
Capitalize license type return in /api/v1/config/.
2015-06-01 12:27:41 -04:00
Chris Church
e23539e69b
Fix flake8 warning.
2015-05-30 16:42:56 -04:00
Chris Church
8eb69b96d1
Set created_by and modified_by on default org to superuser (if found). Fixes https://trello.com/c/gERRKtXa
2015-05-30 16:23:12 -04:00
Chris Church
07205bcb88
Disable LDAP support when not allowed by license.
2015-05-30 16:08:19 -04:00
Chris Church
a72dbe4428
Update license data to include subscription_name. Implements API part of https://trello.com/c/4IMj3H4V
2015-05-29 22:31:35 -04:00
Chris Church
79a8e541cd
Revert cleanup_deleted to delete one at a time, instead of batches.
2015-05-29 14:52:16 -04:00
Chris Church
1b1d43dc59
Prevent launching ad hoc commands when license has expired.
2015-05-21 14:13:37 -04:00
Chris Church
de850c48c6
Merge pull request #230 from cchurch/ec2_group_rename_fix
...
Include pk in inventory source name to keep it unique
2015-05-21 13:11:07 -04:00
Chris Church
7f1c97b167
Include pk in inventory source name to keep it unique even with group renames. Fixes https://trello.com/c/PnmDWCai
2015-05-20 14:00:33 -04:00
Chris Church
529b7a1117
Remove changes to only count unique hostnames. Fixes https://trello.com/c/HN7S4KF3 again.
2015-05-14 15:48:09 -04:00
Chris Church
74cfca2f21
Remove pasted code from cleanup_deleted, consistently use logger for cleanup commands.
2015-05-14 15:42:29 -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 Church
b20ba23538
Merge pull request #203 from chrismeyersfsu/fix-cred_openstack
...
require project field for openstack credential
2015-05-12 17:28:09 -04:00
Chris Church
693b63ef04
Merge pull request #198 from cchurch/options_meta_updates
...
Update field metadata returned in OPTIONS response
2015-05-12 17:24:31 -04:00
Chris Church
0af15cd13d
Unit test fix, job_type is no longer a required field (defaults to 'run').
2015-05-12 11:11:32 -04:00
Chris Church
1a5823d0b3
Improve speed of cleanup_deleted system job. Fixes https://trello.com/c/2wB7DMdt
2015-05-11 21:51:42 -04:00
Chris Church
79c00dc511
Prevent relaunching an ad hoc command if the module is no longer in the allowed list. Fixes https://trello.com/c/NS3YX2DU
2015-05-11 21:05:46 -04:00
Chris Church
2d1d371582
Return 400 when attempting to relaunch an ad hoc command with deleted inventory. Fixes https://trello.com/c/IbvBelXJ
2015-05-11 20:32:43 -04:00
Chris Church
9e898bf42a
Add support for deleting ad hoc commands. Fixes https://trello.com/c/WLnhi28V
2015-05-11 20:14:15 -04:00
Chris Church
d730859575
Count only unique hostnames for total/failed values on dashboard. Fixes https://trello.com/c/HN7S4KF3
2015-05-11 19:54:18 -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 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 Church
2830095b07
Return only module_name for ad hoc command name.
2015-04-27 21:35:40 -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 Church
2093b3db7a
Merge pull request #154 from chrismeyersfsu/fix-launch_500
...
created a serializer for job template launch endpoint
2015-04-26 11:59:08 -04:00
Chris Church
7be54d585b
Fix RBAC query bug in checking if user can run ad hoc commands. Fixes https://trello.com/c/fl36Hvh3
2015-04-16 15:27:16 -04:00
Chris Church
6dda8e58ad
Don't return ids for deleted credential/inventory for ad hoc commands. Fixes https://trello.com/c/ps2bW38Q
2015-04-16 14:31:23 -04:00
Chris Church
3f98b40ed7
Add test for cleaning up activity stream, delete objects in batches to make it quicker.
2015-04-16 13:40:36 -04:00
Chris Church
76132dbab2
Update license check when adding hosts. Fixes https://trello.com/c/Llol9BCJ
2015-04-16 12:28:13 -04:00
Chris Church
883f912969
Allow verbosity level choices to be specified by settings.
2015-04-15 13:09:03 -04:00
Chris Church
1dd45852a6
Merge pull request #132 from cchurch/ui_version_query_string
...
Add Tower version to query string for minified CSS/JS.
2015-04-13 17:07:18 -04:00
Chris Church
fd09cc3726
Return survey_enabled as False for launch endpoint when no survey spec is defined for a job template; allow job template to be launched anyways. Fixes https://trello.com/c/zErQqf1L
2015-04-10 16:20:57 -04:00
Chris Church
3b66dbed03
Fix those flaking warnings.
2015-04-10 15:16:06 -04:00
Chris Church
090456a247
Add grace_period_remaining to allow adding hosts with AWS licenses. Fixes https://trello.com/c/bw6JbrhW
2015-04-10 14:19:33 -04:00
Chris Church
48bbac7f18
Fix flake8 warnings.
2015-04-09 22:55:53 -04:00
Chris Church
0d9d9db1f9
Fix for failing ad hoc command unit tests.
2015-04-09 22:08:33 -04:00
Chris Church
aa0c16d726
Add choices for job and ad hoc command verbosity.
2015-04-09 18:55:42 -04:00
Chris Church
d1123d145f
Add Tower version to query string for minified CSS/JS.
2015-04-09 15:03:20 -04:00
Chris Church
8beed7f409
Disable ControlPersist for ad hoc commands, should avoid any issues with proot or needing to clean up sockets afterwards.
2015-04-09 10:32:24 -04:00
Chris Church
9500e9b63e
Change credential to return 'ssh_password' instead of 'password' when value is set to 'ASK'.
2015-04-08 15:32:45 -04:00
Chris Church
96df8a6d37
Add field on inventory detail to indicate if the user has permission to run ad hoc commands.
2015-04-06 14:58:26 -04:00
Chris Church
e2a6f100e1
Finish ad hoc command unit tests.
2015-04-05 18:32:04 -04:00
Chris Church
22e0c9449b
Update EC2/GCE inventory scripts from core.
2015-04-03 00:30:58 -04:00
Chris Church
0fd2d8bf25
Merge pull request #111 from wenottingham/cert-foo
...
More AWX -> Tower fixes.
2015-04-03 00:08:48 -04:00
Chris Church
18e38707c2
Add callback methods for v2 support. Closes #115 .
2015-04-03 00:06:49 -04:00
Chris Church
269391e15d
Merge pull request #107 from tgerla/galaxy-hack
...
implement basic galaxy integration in the Project Update playbook
2015-04-02 23:25:54 -04:00
Chris Church
12e0ec960c
Add support for cleaning up ad hoc commands.
2015-04-02 15:40:12 -04:00
Chris Church
1a54ed5e17
Fix unified_job_template field in serializer to return ID.
2015-04-01 14:12:31 -04:00
Chris Church
639522fc05
Fix job relaunch test to expect 201.
2015-03-31 19:27:54 -04:00
Chris Church
89bcffc9ad
Fix flake8 warnings.
2015-03-31 17:48:36 -04:00
Chris Church
88e7f6624c
Update relaunch endpoints to use custom serializer, check passwords needed before creating/copying job or ad hoc command.
2015-03-31 17:40:00 -04:00
Chris Church
02eda72bd9
Add name field for ad hoc commands, get relaunch working.
2015-03-31 16:42:35 -04:00
Chris Church
32fafe02fa
Merge pull request #100 from cchurch/adhoc_commands
...
Support for ad hoc commands
2015-03-31 12:52:23 -04:00
Chris Church
904ea61d54
Make sure stdout template is included in build.
2015-03-30 15:55:57 -04:00
Chris Church
f7b8d510dc
Implement support for ad hoc commands.
2015-03-30 13:04:19 -04:00
Chris Church
c1d90e1897
Keep git URLs in SCP format for project updates. Fixes https://trello.com/c/xUL2FZyu
2015-02-26 15:46:55 -05:00
Chris Church
140e3ec49c
Merge pull request #87 from cchurch/f-u-ansi2html-and-your-stupid-gpl-license
...
Replace ansi2html (GPL) with ansiconv (MIT).
2015-02-24 13:13:12 -05:00
Chris Church
ab966fb082
Remove docs for scheme parameter.
2015-02-23 16:41:03 -05:00
Chris Church
7f2a029532
Replace ansi2html (GPL) with ansiconv (MIT).
2015-02-23 16:33:36 -05:00
Chris Church
8db3bdb947
Merge pull request #78 from wenottingham/readme-fix
...
This fixes a couple of the package names in README to match their names in pip.
2015-02-19 09:53:02 -05:00