1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 18:21:12 +03:00
Commit Graph

1169 Commits

Author SHA1 Message Date
Chris Houseknecht
6b418d4a5c Added activity stream to all tabs and to the tab detail page. Enabled working breadcrumbs on the activity stream widget. Added round corners to th stream containers so it at least looks OK when the bottom occassionally overllapses footer. Adjusted the stream widget's default url to include detail object's primary key, limiting rows to the object being viewed. 2013-11-19 08:17:21 +00: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 Houseknecht
735da6bff6 Related search now works with new search features. Only searches after user stops typing. Disables the input field while search is executing. Moved refresh button to the right side of list page. Fixed bugs: was using contains rather than icontains. Not sure that old refresh button worked. It does now. 2013-11-19 04:35:35 +00: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 Houseknecht
3377927c00 Activity stream- completed modification to Rest lib. Fixed searches on activity stream allow search by object type and object name. Improved detail modal so that more of the changes box is visible. Moved search reset button to the right. There is now only one reset button per list, not one per filter widget. 2013-11-19 02:26:23 +00: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 Houseknecht
1b224f64ac Added support for many (unlimited) search widgets on a page. Activity widget now has 2 object search widgets. Adding a setHeader function to Rest.js library. 2013-11-18 20:03:32 +00:00
Matthew Jones
24d60ff073 add emacs backup files to gitignore 2013-11-18 06:44:28 -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
002341468d Merge branch 'auditlog'
* auditlog: (38 commits)
  Move auditlog migration to 0028 for main branch merge
  Search.js now supports up to 3 search filters on a page. First search widget can be regular or an object selector, which is used on the activity stream widget. Activity stream now has 2 filter widgets allowing a search to combine object and responsible user in a single query.
  AC-640 Added additional help text explaining why an organization is required on a project.
  Added 'working' spinner to all save/delete/select actions. This is to compensate for places where activity log is slowing down the API. AC-646 changes Rackspace credentials to show API Key in place of password. Fixed a bug on machine credential that caused username to not be passed to the API when adding and editing.
  AC-611 Latest activity widget features. Tweaked current filter, but still does not include an object type. Added activty stream to Organization tab.
  Add a field to the activity stream model that more closely identifies the api object type for aid in api querying
  Add some initial activity stream tests
  Improve loading time for some module calls by reducing the number of queries against the activity stream table
  Implement AC-634 - Additional bits
  First attempt at accessing /activity_stream. Modified /list/Stream.js to match the API and to start providing some of the translation we'll need.
  Add job to the list of models that are filtered if a user didn't directly interface with it
  Make sure we are handling multiple activitystream instances from the middleware
  Fix a bug passing args to object 2 of the activitystream serializer
  Found and fixed another bug on the Credentials form. Changing the ssh password value was causing a hidden password field to become invalid. Form definition for ssh password cleared the incorrect associated confirmation field.
  Add activitystream table migration
  AC-625 while looking into issue surrounding non-running updates, discoverd that creating credentials from the Users and Teams tabs was not allowing the user to click Save. The Save button refused to become enabled. Turns out that when a user or team is preelected (using route params) form initialization routine needs to run and it was not.
  Make sure we show relative object information in the api
  Integrate a simple api list and detail display
  Use process_response to attach user information later in the middleware request processing
  Fix up some bugs with signal handling related to association/disassociation
  ...
2013-11-18 09:22:38 -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 Houseknecht
c720e5d51c Search.js now supports up to 3 search filters on a page. First search widget can be regular or an object selector, which is used on the activity stream widget. Activity stream now has 2 filter widgets allowing a search to combine object and responsible user in a single query. 2013-11-18 08:16:51 +00:00
Chris Houseknecht
7952cb560b AC-640 Added additional help text explaining why an organization is required on a project. 2013-11-17 06:58:11 +00:00
Chris Houseknecht
ce7688d252 Added 'working' spinner to all save/delete/select actions. This is to compensate for places where activity log is slowing down the API. AC-646 changes Rackspace credentials to show API Key in place of password. Fixed a bug on machine credential that caused username to not be passed to the API when adding and editing. 2013-11-17 06:37:34 +00: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
29a7e2c75d AC-624 Fix options docs for project update view. 2013-11-16 16:20:54 -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 Houseknecht
4b111d61c1 AC-611 Latest activity widget features. Tweaked current filter, but still does not include an object type. Added activty stream to Organization tab. 2013-11-15 16:28:54 +00: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
7cd2707713 Updated all vendored third-party packages. 2013-11-14 22:55:03 -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
6d86ca4b6f Implement AC-634 - Additional bits 2013-11-14 13:28:49 -05:00
Chris Houseknecht
9505768bf6 First attempt at accessing /activity_stream. Modified /list/Stream.js to match the API and to start providing some of the translation we'll need. 2013-11-14 07:02:22 +00:00
Chris Houseknecht
520f5e4861 AC-633 js error fixed. 2013-11-13 22:33:01 +00:00
Chris Houseknecht
7ac277fd24 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. 2013-11-13 20:44:27 +00:00
Chris Houseknecht
63061c020f AC-633 Fixed 'hast' typo. 2013-11-13 20:05:32 +00: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
Chris Houseknecht
7a2bc539d4 AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska. 2013-11-13 18:38:42 +00: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
e2b657c72c Fix a bug passing args to object 2 of the activitystream serializer 2013-11-13 13:35:57 -05:00
Chris Houseknecht
8d72192849 AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch. 2013-11-13 18:32:02 +00:00
Chris Houseknecht
8c741ac36a AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware credential lists. 2013-11-13 18:27:29 +00:00
Chris Houseknecht
d5d3495494 Found and fixed another bug on the Credentials form. Changing the ssh password value was causing a hidden password field to become invalid. Form definition for ssh password cleared the incorrect associated confirmation field. 2013-11-13 17:11:15 +00:00
Chris Houseknecht
a65564e3bf Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska. 2013-11-13 15:26:20 +00:00
Chris Houseknecht
4650af9cb9 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. 2013-11-13 15:09:14 +00:00
Matthew Jones
b521d3f350 Merge branch 'auditlog' of github.com:ansible/ansible-commander into auditlog
* 'auditlog' of github.com:ansible/ansible-commander:
  AC-625 while looking into issue surrounding non-running updates, discoverd that creating credentials from the Users and Teams tabs was not allowing the user to click Save. The Save button refused to become enabled. Turns out that when a user or team is preelected (using route params) form initialization routine needs to run and it was not.
2013-11-13 09:56:52 -05:00
Matthew Jones
f2fca22e19 Add activitystream table migration 2013-11-13 09:56:45 -05:00
Chris Houseknecht
3f148e104e AC-625 while looking into issue surrounding non-running updates, discoverd that creating credentials from the Users and Teams tabs was not allowing the user to click Save. The Save button refused to become enabled. Turns out that when a user or team is preelected (using route params) form initialization routine needs to run and it was not. 2013-11-13 03:58:12 +00:00
Matthew Jones
640bc69402 Merge branch 'auditlog' of github.com:ansible/ansible-commander into auditlog
* 'auditlog' of github.com:ansible/ansible-commander:
  Make sure we show relative object information in the api
  Integrate a simple api list and detail display
  Use process_response to attach user information later in the middleware request processing
  Fix up some bugs with signal handling related to association/disassociation
  Fix up some issues with supporting schema migration
  Move ActivityStream to it's own model file
  Fix an issue with the Activity Stream where we weren't performing the right type conversion to track object types
  Catch some errors that pop up during ActivityStream testing
  Fix some inconsistencies after the merge
  Initial backend implementation for AC-25, activity stream/audit love
  Initial backend implementation for AC-25, activity stream/audit love
2013-11-12 17:01:56 -05:00
Matthew Jones
1a27c75de4 Make sure we show relative object information in the api 2013-11-12 17:01:16 -05:00