Commit Graph

27 Commits

Author SHA1 Message Date
Matthew Jones
b25413002c Fix custom inventory scripts on org deletion
We'll now clear the organization for it, this requires a database
migration to accept null values for custom inventory scripts
2015-10-19 12:07:09 -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
Chris Meyers
833cbce9e0 add appropriate help_text to run_ad_hoc_command 2015-09-30 14:07:50 -04:00
Chris Meyers
000d26d7e3 session limit enforcement
* upon creating a new session, invalidate oldest sessions
2015-09-28 14:17:28 -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
f7b8d510dc Implement support for ad hoc commands. 2015-03-30 13:04:19 -04:00
Matthew Jones
6a18a50d99 Fixing flake8 errors, this should be almost all of them! 2015-02-11 16:42:55 -05:00
Chris Meyers
76746e6c13 add support to get ip address from HTTP_X_FORWARDED_FOR header 2015-02-03 08:32:36 -05:00
Matthew Jones
ede6142cea New permission for users and teams that allow creating job templates,
this makes Deployment permissions more granular.  Includes unit tests
and a migration to promote existing "run" permissions to "create".

Also some slight doc updates to denote that this implies "run" and "check"
2014-10-31 15:04:46 -04:00
Luke Sneeringer
627c6f029e Adding sensible ordering to common models.
https://trello.com/c/tTwRM2VV/102-tower-api-teams-endpoint-does-not-sort-consistently
2014-07-24 15:01:16 -05:00
Matthew Jones
695df551e7 Handle cascading mark inactive in better ways as per rbac spec
specifically around Teams and Credentials
2014-07-24 15:21:19 -04:00
Chris Church
bfb0159083 AC-1071 Moved credential model to its own file. Added API support and tests for ssh_key_path field.
AC-1095 Added validation for SSH private keys.
2014-03-26 16:06:02 -04:00
Chris Church
ac0927f430 AC-1060 Add API support for vault password. 2014-03-25 22:54:14 -04:00
Chris Church
296e87a632 AC-1040 Removed extra model definitions used for generating migrations. 2014-03-25 09:38:25 -04:00
Chris Church
1a7dc83479 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 17:11:09 -04:00
Chris Church
0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Chris Church
2b7af0a2ec Happy new year!!! 2014-01-02 11:51:43 -05:00
Matthew Jones
e16e5a0dfa Put the utf8 encoding in the right place for the cipher 2013-12-20 07:32:19 -05:00
Matthew Jones
ca35419dee Fix AC-699 by using the spawnu interface on pexpect3 and making sure we use the right encoding on passwords passed to the cipher 2013-12-20 07:01:01 -05:00
Chris Church
11d2f76546 AC-537 Add remaining API/field validation for credentials and other objects using credentials.
AC-630 Added validation of cloud_credential kind on job template and job, set environment variables based on cloud credential.
AC-610 Require a credential for a cloud inventory source.
AC-457 Do not set password when using hg over ssh.
2013-11-19 02:36:36 -05:00
Chris Church
b8edfab481 Fixed unit test error caused by extra definition of ActivityStream model. Rearranged imports of signal handlers. 2013-11-18 22:54:52 -05:00
Chris Church
ccd90ffb78 AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data. 2013-11-16 21:25:41 -05:00
Chris Church
621cbb9f66 AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials. 2013-11-16 17:59:51 -05:00
Chris Church
cbd6132d4b AC-636 Fix existing projects with scm_type=null to always use empty string. Update validation and tests to ensure None gets automatically coerced to an empty string on saving a project. 2013-11-14 17:14:10 -05:00
Chris Church
b1e7252e66 Refactored models into separate files. 2013-11-07 12:40:11 -05:00