Commit Graph

  • 4f46ad63db AC-688 Fixed error adding team credential, added test. Chris Church 2013-11-20 16:48:57 -05:00
  • 9f40a6c8b4 New dashboard. Modified dahsboard widgets to use API dashboard resource. System summary now working. Chris Houseknecht 2013-11-20 21:09:46 +00:00
  • 117d702a2a New dashboard. Modified dahsboard widgets to use API dashboard resource. Chris Houseknecht 2013-11-20 20:39:59 +00:00
  • 98cb95b510 Add organizations counts to the api dashboard view Matthew Jones 2013-11-20 15:56:29 -05:00
  • 8bf198f7ed AC-687 Add ec2/rax region choices to inventory source options response, add validation for source_regions. Chris Church 2013-11-20 15:19:44 -05:00
  • 7929cfedd8 Remove SortedDict, add user, team, credential, and job_template counts as top level dictionaries. Refinement for AC-649 Matthew Jones 2013-11-20 15:19:53 -05:00
  • 83950be7ea Don't try to preserve an instance between pre- and post- middleware processing and fail sanely if we lose the activity stream instance Matthew Jones 2013-11-20 14:01:36 -05:00
  • 39ad6b0ad1 AC-686 Fix permissions for inventory source to allow org admins and users with write permissions to update. Chris Church 2013-11-20 13:54:51 -05:00
  • 7fa9e3289b Fix RelatedManager exception issue on the dashboard Matthew Jones 2013-11-20 13:34:49 -05:00
  • 99726266e9 AC-698 when job template does not include a credential, user is prompted for one on launch. The prompt was broken. Fixed. Also made it so that working spinner starts the second you click Update. Tested working spinner initiate and fade out for job, project and inventory submissions. Chris Houseknecht 2013-11-20 18:07:39 +00:00
  • 2f90ce511f Refresh button on jobs and projects tab now responds with a spinner. Before nothing happened and you were not really sure if the data actually refreshed. This is a result of removing the little spinner in the fitler widget. Chris Houseknecht 2013-11-20 16:43:09 +00:00
  • aef534f080 Fixed *flashy* working spinner behavior. Noticed it on Users page when adding a new user. Problem is with callback feature on working widget. If the callback is empty, then don't pass along undefined to fadein/fadeout. Applied delete spinner changes to Users, somehow it had been overlooked. Chris Houseknecht 2013-11-20 16:18:41 +00:00
  • d6cbcde0b4 Wrap up AC-649, provide an api for the dashboard view Matthew Jones 2013-11-20 11:37:38 -05:00
  • 5a9bf7054c Add the dashboard api view, with a few fields still needing to be filled Matthew Jones 2013-11-20 10:54:25 -05:00
  • 8836bee43a AC-690 copy button back in. Chris Houseknecht 2013-11-20 15:44:52 +00:00
  • 31360d5262 AC-690 removed copy button. Chris Houseknecht 2013-11-20 15:40:23 +00:00
  • 503fc8ceb4 AC-696 Removed restriction on reassigning a credential to another user/team. Chris Church 2013-11-20 10:07:39 -05:00
  • a9c9cc8f03 Removed update interval field grom Group form. Chris Houseknecht 2013-11-20 09:13:59 +00:00
  • 5b6eba7f93 AC-665 Added governor to object type searches, limiting objects to 30. Now using 'working' spinner in place of small spinner. No more auto search. Replaced the auto search with Go button and Enter key. Chris Houseknecht 2013-11-20 09:03:01 +00:00
  • 6f652d801a We need to check for AnonymousUser here sine that's what Django Request Framework will return when no authentication is provided Matthew Jones 2013-11-20 01:29:50 -05:00
  • 0127680805 AC-657 Fixed order of operations for prompting user to approve delete, starting spinner, sending request to API, stoping spinner and refreshing page. The key is starting the spinner using the modal.on.hidden.bs.modal to start the spinner and then not stopping it until inside postrefresh event. Applied the fix to all controllers and tested. Chris Houseknecht 2013-11-20 06:06:13 +00:00
  • 4bc15a4392 More for AC-694, use the new rest framework materialized user Matthew Jones 2013-11-20 00:43:27 -05:00
  • d564d73622 Fix for AC-694, we weren't saving the instance if using the cached user Matthew Jones 2013-11-20 00:27:02 -05:00
  • b73e792b23 Example code for capturing current user from rest framework. Chris Church 2013-11-20 00:25:09 -05:00
  • e4851c6e18 AC-654 Add API support for token auth using X-Auth-Token header in addition to AUthorization header, fixes issue where API requests from the UI are picking up the basic auth from an API session. Chris Church 2013-11-19 23:22:30 -05:00
  • 52c0a93293 Fix error views to use base REST framework template instead of admin, since admin is disabled. Chris Church 2013-11-19 22:58:46 -05:00
  • ebd6973f6b AC-550 When user views inventory update status (by clicking on the status link) an alert at the top of the dialog will show when the error is caused by a license violation. Chris Houseknecht 2013-11-20 03:45:31 +00:00
  • 059047ab77 Fix AC-660, resolve auth token authentication properly. Implement user instance caching so we don't constantly attempt to look up the user for multiple model operations yielding activity stream events Matthew Jones 2013-11-19 21:39:10 -05:00
  • 1388ad4cc0 Fix issue AC-677, field is referenced incorrectly causing exception Matthew Jones 2013-11-19 19:50:11 -05:00
  • f7081074d0 AC-629 Fix password field used to respond to ansible-playbooks prompts. Chris Church 2013-11-19 16:21:40 -05:00
  • 666d721bda AC-668 'parse as' value now works correctly. Chris Houseknecht 2013-11-19 21:03:55 +00:00
  • d340de970f AC-654 Added 'X-Auth-Token' as a header in all requests. This will give the API a way to distinguish requests between UI an API Browser and invoke correct RBAC rules. Without this we run into a collision of sorts when user logs into UI and API Browser at the same time from the same browser. Chris Houseknecht 2013-11-19 20:47:58 +00:00
  • 66d6e2fe43 Add more verification when deserializing json changes field on activity stream Matthew Jones 2013-11-19 10:48:05 -05:00
  • 7fda453720 Fix AC-648... make sure the changes field is not represented using nested json Matthew Jones 2013-11-19 10:45:07 -05:00
  • 94bbab566b Only allow user with super_user access to see activity stream button. Fixed collision between is_superuser rootscope variable and credential.is_superuser on credential detail page. Added AS to user/n/permissions page. Chris Houseknecht 2013-11-19 20:39:28 +00:00
  • e2e8a7e346 Fix broken tests after removing session authentication. Chris Church 2013-11-19 15:25:47 -05:00
  • a25a162229 AC-170 Disable REST session auth and Django admin by default. Chris Church 2013-11-19 14:45:39 -05:00
  • ccbef21c42 Close AC-671... cleanup/purge activity stream tables Matthew Jones 2013-11-19 09:37:58 -05:00
  • 14ac51861e Prevent non-superusers from querying the activity stream Matthew Jones 2013-11-19 09:10:07 -05:00
  • 4661a9e97a Added AS to /inventories/hosts/N and /inventories/groups/N as well has /home/[groups, hosts]. Fixed CSS container sizing issue, so widget will not overlap footer. Chris Houseknecht 2013-11-19 18:52:26 +00:00
  • d681d0972a Fix RBAC for project updates. Chris Church 2013-11-19 13:26:34 -05:00
  • 216ab5cf41 AC-672 Fixed responding to passphrase prompts for project updates, re-added tests removed in earlier update. Chris Church 2013-11-19 13:18:04 -05:00
  • ee44f1ea76 Fix issue AC-650... hide sensitive fields from change record in activity stream Matthew Jones 2013-11-19 08:03:36 -05:00
  • be43447903 Removing some unneeded comments from activity stream queryset Matthew Jones 2013-11-19 08:02:43 -05:00
  • 812aafdfef Implement basic RBAC for the activity stream list, temporarily remove a failing unit test due to sqlite not supporting the distinct query Matthew Jones 2013-11-19 10:05:25 -05:00
  • 925016d556 Host enabled flag is now a checkbox rather than a radio button on the Hosts add/dit dialog. Chris Houseknecht 2013-11-19 09:27:39 +00:00
  • e2209ce3bd Ac-630 cloud_credential_name value is now set after data loaded for Job Template edit page. Chris Houseknecht 2013-11-19 09:06:25 +00:00
  • 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. Chris Houseknecht 2013-11-19 08:17:08 +00:00
  • 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. Chris Church 2013-11-19 02:32:40 -05:00
  • 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. Chris Houseknecht 2013-11-19 04:35:26 +00:00
  • e092639eb8 Removed leftover print from debugging. Chris Church 2013-11-18 22:56:53 -05:00
  • b8edfab481 Fixed unit test error caused by extra definition of ActivityStream model. Rearranged imports of signal handlers. Chris Church 2013-11-18 22:54:39 -05:00
  • 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. Chris Houseknecht 2013-11-19 02:25:37 +00:00
  • 3d11f604a9 AC-647 Move django.db.models.Model import to (hopefully) prevent traceback. Chris Church 2013-11-18 17:16:06 -05:00
  • 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. Chris Houseknecht 2013-11-18 20:03:26 +00:00
  • 24d60ff073 add emacs backup files to gitignore Matthew Jones 2013-11-18 06:44:28 -05:00
  • 5e5288e2d4 Fix active field in the admin. Chris Church 2013-11-18 11:06:12 -05:00
  • 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 Matthew Jones 2013-11-18 11:02:23 -05:00
  • 002341468d Merge branch 'auditlog' Matthew Jones 2013-11-18 09:22:38 -05:00
  • 6764b5857a Move auditlog migration to 0028 for main branch merge Matthew Jones 2013-11-18 09:21:40 -05:00
  • ba1a113ec3 Merge remote-tracking branch 'origin/master' into auditlog Matthew Jones 2013-11-18 09:18:37 -05:00
  • 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. Chris Houseknecht 2013-11-18 08:16:51 +00:00
  • 7952cb560b AC-640 Added additional help text explaining why an organization is required on a project. Chris Houseknecht 2013-11-17 06:58:11 +00:00
  • 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. Chris Houseknecht 2013-11-17 06:37:34 +00:00
  • ccd90ffb78 AC-637 Credential now requires scm_key_unlock when saving encrypted ssh_key_data. Chris Church 2013-11-16 21:25:41 -05:00
  • 621cbb9f66 AC-626 Removed support for prompting for password and ssh_key_unlock for scm/cloud credentials. Chris Church 2013-11-16 17:59:51 -05:00
  • f254f8bc92 AC-613 Change rackspace to rax for inventory source field value. Chris Church 2013-11-16 16:48:27 -05:00
  • 902c7c2d72 AC-613 Change rackspace to rax for inventory source field value. Chris Church 2013-11-16 16:47:32 -05:00
  • 29a7e2c75d AC-624 Fix options docs for project update view. Chris Church 2013-11-16 16:20:54 -05:00
  • 40b0608586 AC-632 Fix escaping for ansible-playbook command line when also using ssh-agent. Chris Church 2013-11-16 16:15:35 -05:00
  • 4b111d61c1 AC-611 Latest activity widget features. Tweaked current filter, but still does not include an object type. Added activty stream to Organization tab. Chris Houseknecht 2013-11-15 16:28:54 +00:00
  • 17899eed3a AC-630 Expose cloud_credentials field for job template and job. Chris Church 2013-11-15 01:54:42 -05:00
  • 2c4062e58b AC-641 Added pattern to respond to key unlock prompt for project update. Chris Church 2013-11-15 01:22:47 -05:00
  • 8448c5b4d5 Add a field to the activity stream model that more closely identifies the api object type for aid in api querying Matthew Jones 2013-11-14 23:24:00 -05:00
  • 7cd2707713 Updated all vendored third-party packages. Chris Church 2013-11-14 22:55:03 -05:00
  • 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. Chris Church 2013-11-14 17:14:10 -05:00
  • 639b87d55a Add some initial activity stream tests Matthew Jones 2013-11-14 16:50:21 -05:00
  • 9e8459b96a Improve loading time for some module calls by reducing the number of queries against the activity stream table Matthew Jones 2013-11-14 13:28:13 -05:00
  • 6d86ca4b6f Implement AC-634 - Additional bits Matthew Jones 2013-11-14 13:27:40 -05:00
  • 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. Chris Houseknecht 2013-11-14 07:02:22 +00:00
  • 520f5e4861 AC-633 js error fixed. Chris Houseknecht 2013-11-13 22:33:01 +00:00
  • 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. Chris Houseknecht 2013-11-13 20:44:27 +00:00
  • 63061c020f AC-633 Fixed 'hast' typo. Chris Houseknecht 2013-11-13 20:05:32 +00:00
  • bd942e540a Add job to the list of models that are filtered if a user didn't directly interface with it Matthew Jones 2013-11-13 14:43:16 -05:00
  • 7a2bc539d4 AC-617 changed callback generation icon to a magic wand, which will hopefully satiate jlaska. Chris Houseknecht 2013-11-13 18:38:42 +00:00
  • 78bdc7ae8b Make sure we are handling multiple activitystream instances from the middleware Matthew Jones 2013-11-13 13:35:48 -05:00
  • e2b657c72c Fix a bug passing args to object 2 of the activitystream serializer Matthew Jones 2013-11-13 13:35:13 -05:00
  • 8d72192849 AC-627 Fixed password/ssh_password collision in Credentials.js form. This was also fixed in auditlog branch. Chris Houseknecht 2013-11-13 18:32:02 +00:00
  • 8c741ac36a AC-628 applied credential changes made in add controller to edit controller so that credential/cloud_credential lookups display context-aware credential lists. Chris Houseknecht 2013-11-13 18:27:29 +00:00
  • 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. Chris Houseknecht 2013-11-13 17:11:15 +00:00
  • a65564e3bf Moved credentials in tab order. It now follows teams and precedes projects. Based on a suggestion from jlaska. Chris Houseknecht 2013-11-13 15:26:20 +00:00
  • 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. Chris Houseknecht 2013-11-13 15:09:14 +00:00
  • b521d3f350 Merge branch 'auditlog' of github.com:ansible/ansible-commander into auditlog Matthew Jones 2013-11-13 09:56:52 -05:00
  • f2fca22e19 Add activitystream table migration Matthew Jones 2013-11-13 09:56:45 -05:00
  • 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. Chris Houseknecht 2013-11-13 03:58:12 +00:00
  • 640bc69402 Merge branch 'auditlog' of github.com:ansible/ansible-commander into auditlog Matthew Jones 2013-11-12 17:01:56 -05:00
  • 1a27c75de4 Make sure we show relative object information in the api Matthew Jones 2013-11-12 14:30:01 -05:00
  • 50fee99580 Integrate a simple api list and detail display Matthew Jones 2013-11-11 16:37:36 -05:00
  • e1e70b37a5 Use process_response to attach user information later in the middleware request processing Matthew Jones 2013-11-11 14:05:51 -05:00
  • f1de300fd7 Fix up some bugs with signal handling related to association/disassociation Matthew Jones 2013-11-08 13:08:48 -05:00