Matthew Jones
ee44f1ea76
Fix issue AC-650... hide sensitive fields from change record in activity stream
2013-11-19 08:03:43 -05:00
Matthew Jones
812aafdfef
Implement basic RBAC for the activity stream list, temporarily remove a failing unit test due to sqlite not supporting the distinct query
2013-11-19 10:05:59 -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
e092639eb8
Removed leftover print from debugging.
2013-11-18 22:56:53 -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
3d11f604a9
AC-647 Move django.db.models.Model import to (hopefully) prevent traceback.
2013-11-18 17:16:12 -05:00
Chris Church
5e5288e2d4
Fix active field in the admin.
2013-11-18 11:06:19 -05:00
Matthew Jones
adf9f40c2e
Make sure we check the instance list in the activity stream middleware so we aren't causing a storm of update events trying to attach the request user
2013-11-18 11:02:23 -05:00
Matthew Jones
6764b5857a
Move auditlog migration to 0028 for main branch merge
2013-11-18 09:21:40 -05:00
Matthew Jones
ba1a113ec3
Merge remote-tracking branch 'origin/master' into auditlog
...
* origin/master:
AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data.
AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials.
AC-613 Change rackspace to rax for inventory source field value.
AC-613 Change rackspace to rax for inventory source field value.
AC-624 Fix options docs for project update view.
AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent.
Update CONTRIBUTING.md
AC-630 Expose cloud_credentials field for job template and job.
AC-641 Added pattern to respond to key unlock prompt for project update.
Updated all vendored third-party packages.
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.
AC-633 js error fixed.
AC-633 fixed a sort of unrelated js error. The capitalize filter directive attempted to act on a 'null' input error. Added a test to ignore empty/null input.
AC-633 Fixed 'hast' typo.
AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska.
AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch.
AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware credential lists.
Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska.
AC-609 Fixed issue with help button not displaying correctly on 'select' pages where user can pick an existing object (i.e. users, credentials, etc) to add to a parent object.
Conflicts:
awx/api/serializers.py
awx/main/migrations/0025_v14_changes.py
2013-11-18 09:18:37 -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
f254f8bc92
AC-613 Change rackspace to rax for inventory source field value.
2013-11-16 16:48:27 -05:00
Chris Church
902c7c2d72
AC-613 Change rackspace to rax for inventory source field value.
2013-11-16 16:47:32 -05:00
Chris Church
40b0608586
AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent.
2013-11-16 16:15:35 -05:00
Chris Church
17899eed3a
AC-630 Expose cloud_credentials field for job template and job.
2013-11-15 01:54:42 -05:00
Chris Church
2c4062e58b
AC-641 Added pattern to respond to key unlock prompt for project update.
2013-11-15 01:22:47 -05:00
Matthew Jones
8448c5b4d5
Add a field to the activity stream model that more closely identifies the api object type for aid in api querying
2013-11-14 23:24:00 -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
Matthew Jones
639b87d55a
Add some initial activity stream tests
2013-11-14 16:50:21 -05:00
Matthew Jones
9e8459b96a
Improve loading time for some module calls by reducing the number of queries against the activity stream table
2013-11-14 13:28:49 -05:00
Matthew Jones
bd942e540a
Add job to the list of models that are filtered if a user didn't directly interface with it
2013-11-13 14:43:16 -05:00
Matthew Jones
78bdc7ae8b
Make sure we are handling multiple activitystream instances from the middleware
2013-11-13 13:35:57 -05:00
Matthew Jones
f2fca22e19
Add activitystream table migration
2013-11-13 09:56:45 -05:00
Matthew Jones
1a27c75de4
Make sure we show relative object information in the api
2013-11-12 17:01:16 -05:00
Matthew Jones
50fee99580
Integrate a simple api list and detail display
2013-11-12 17:01:16 -05:00
Matthew Jones
e1e70b37a5
Use process_response to attach user information later in the middleware request processing
2013-11-12 17:01:15 -05:00
Matthew Jones
f1de300fd7
Fix up some bugs with signal handling related to association/disassociation
2013-11-12 17:01:15 -05:00
Matthew Jones
49a2502043
Fix up some issues with supporting schema migration
2013-11-12 17:01:15 -05:00
Matthew Jones
a1edfe0dc2
Move ActivityStream to it's own model file
2013-11-12 17:01:15 -05:00
Matthew Jones
710b01c333
Fix an issue with the Activity Stream where we weren't performing the right type conversion to track object types
2013-11-12 17:01:15 -05:00
Matthew Jones
b7b22fa7f8
Catch some errors that pop up during ActivityStream testing
2013-11-12 17:01:15 -05:00
Matthew Jones
2ab4cab495
Fix some inconsistencies after the merge
2013-11-12 17:01:15 -05:00
Matthew Jones
2a16ab38a5
Initial backend implementation for AC-25, activity stream/audit love
2013-11-12 17:01:15 -05:00
Matthew Jones
3a02c17d2a
Initial backend implementation for AC-25, activity stream/audit love
2013-11-12 17:01:15 -05:00
Chris Church
2c4d583f3e
AC-589 Update host enabled flag from inventory import.
2013-11-07 19:02:05 -05:00
Chris Church
b1e7252e66
Refactored models into separate files.
2013-11-07 12:40:11 -05:00
Chris Church
2b01cc7059
AC-612 Return appropriate status code for server errors. Catch IntegrityError via the API and return a 400 response with error message instead of server error.
2013-11-06 23:44:48 -05:00
Chris Church
475c0d87c2
AC-615 Handle Rackspace inventory import when source_regions is empty string.
2013-11-06 22:47:52 -05:00
Chris Church
56a4bc8d3a
AC-543 Removed comment print statements.
2013-11-06 22:47:13 -05:00
Chris Church
fb13da86cf
AC-543 Add credential model validation for unique constraint with nullable fields.
2013-11-06 22:25:36 -05:00
Chris Church
98883e771f
Moved API code into separate Django app.
2013-11-04 15:44:49 -05:00
Chris Church
b87c5e0a9b
Fix broken credentials test.
2013-11-04 11:10:09 -05:00
Chris Church
a4310f5ee2
Fix broken migration.
2013-11-04 10:37:27 -05:00
Chris Church
413a799829
AC-537 Fix typo.
2013-11-04 10:16:56 -05:00
Chris Church
19155baf5f
AC-537 Add cloud flag to credential.
2013-11-04 10:16:56 -05:00
Chris Church
e6e34c3afc
AC-551 Removed extra empty/blank option from choices.
2013-11-04 10:16:55 -05:00
Chris Church
271a2c0f06
AC-537 Don't allow saving a credential with both user and team assigned.
2013-11-04 10:16:55 -05:00
Chris Church
15f337d183
AC-596 Fix for inventory import traceback.
2013-11-04 10:16:55 -05:00
Chris Church
9e9d696c79
AC-537 Fix default assignment of SCM credentials when migrating.
2013-11-04 10:16:55 -05:00