Commit Graph

  • bb23dd6bb4 Inventory sync group totals are now derived by summing counts for inventory sources. Cleaned up summation process in scm sync. Chris Houseknecht 2013-11-21 21:22:11 +00:00
  • 8dafc10541 AC-715 Fixed issues with bad API requests when user types in value and lookup is built with predetermined search parameters. Fixed project lookup failure while user is typing. Chris Houseknecht 2013-11-21 21:13:31 +00:00
  • a0fd9c5f18 Make sure we set up the JOBOUTPUT_ROOT directory for running unit tests Matthew Jones 2013-11-21 15:47:16 -05:00
  • 0948418ce2 AC-715 not sure if this is the issue. I hit a js error on line 711 of awx-min.js. Had to do with bug introduced into projects controller when status field changed from text box search to dropdown list. Chris Houseknecht 2013-11-21 20:37:50 +00:00
  • ed44248d96 AC-707 fixed issue related to js minification for homehosts controller. Chris Houseknecht 2013-11-21 20:13:21 +00:00
  • aafa020c47 Merge branch 'job_stdout_filesystem' Matthew Jones 2013-11-21 14:59:46 -05:00
  • 5c077e4370 Adding the migration and other smaller fixes so the serializer can read the right stdout property Matthew Jones 2013-11-21 14:59:14 -05:00
  • fb446ef040 Changed inventory sycn inventory adn groups total count to look for new fields. Same with sycn status projects total. Chris Houseknecht 2013-11-21 19:40:49 +00:00
  • 9444c1185b Switch from using a interstitial serializer to defining a read property on the CommonTask model Matthew Jones 2013-11-21 14:21:00 -05:00
  • bf07c55273 Initial task status to file implementation Matthew Jones 2013-11-21 13:53:59 -05:00
  • ba645f947e AC-700 fixed lookup dialog titles on job templates page. Chris Houseknecht 2013-11-21 18:49:06 +00:00
  • 04d810d5a5 AC-693 changed Summary to Host Summary Chris Houseknecht 2013-11-21 18:38:17 +00:00
  • 015622e2cb AC-692 status button is now displaying once again on jobs detail page. Chris Houseknecht 2013-11-21 18:30:22 +00:00
  • bdafaa414f AC-683 Fixed credential help text. Chris Houseknecht 2013-11-21 18:11:28 +00:00
  • 1a3d0e4e6f AC-682 Made project help text changes. Found a way to get help icon tool-tip to display top while help text pop-out displays left. Added status drop-dwon options on projects search filter. Chris Houseknecht 2013-11-21 18:04:26 +00:00
  • f473d51ef3 Found the real source of the js error. There was a callback naming conflict with ProjectList controller. Both were using 'choicesReady'. Chris Houseknecht 2013-11-21 17:41:35 +00:00
  • 0af2980d10 Fixed js error. For some reason form generator was unable to get the scope for js-tree after changes related to source_regions. Added a way to pass in scope. Chris Houseknecht 2013-11-21 17:36:03 +00:00
  • 376d59dfcc AC-681 simulating a disabled button for project update and inventory update. Button appears disabled, but tooltips work. On *disabled* buttons tooltip explains why it is disabled. Button is clickable, but nothing happens- just like a real disable dbutton. Chris Houseknecht 2013-11-21 17:02:40 +00:00
  • b0d423222c AC-711 Fix broken test after RBAC change. Chris Church 2013-11-21 11:50:33 -05:00
  • 1556800c18 AC-711 Allow org admins to see all users. Chris Church 2013-11-21 11:20:48 -05:00
  • f4e9b9ce64 Update async task timeouts to hopefully fix unit test that occasionally fails. Chris Church 2013-11-21 11:16:11 -05:00
  • 013af19be4 AC-707 fixing home page links. Cleaned up issue with gtzero search type. Chris Houseknecht 2013-11-21 14:34:01 +00:00
  • 2a0edd4ea5 AC-706 fixed typo in help text on group edit page. Chris Houseknecht 2013-11-21 08:18:27 +00:00
  • 98b984cf86 AC-687 cloud regions are now selectable. AC-707 fixed broken hosts and groups links on home page. Chris Houseknecht 2013-11-21 08:15:49 +00:00
  • 9a46426957 Fix issue AC-708, rework the 'group' structure to report the correct fail counts Matthew Jones 2013-11-20 23:56:16 -05:00
  • 870c36f5bf Remove --autoreload option from celeryd target, doesn't seem to work anyways. Chris Church 2013-11-20 22:13:43 -05:00
  • 061f293b6c AC-620 Better use of update_fields on job-related models, restrict post_save signal on jobs to only operate on inactive jobs. Chris Church 2013-11-20 22:12:25 -05:00
  • c039fc4a1f Remove JobHostSummary and JobEvent actions from the activity stream registry Matthew Jones 2013-11-20 21:19:16 -05:00
  • 38e9dbcf3c AC-691 fixed detail AS view so that JSON changes displays correctly. Fixed Refresh and AS buttons on Home page. Chris Houseknecht 2013-11-21 01:16:15 +00:00
  • 0cd6e5412b AC-684 Added new help text and adjusted credential labels. Fixed missing cloud credential name value on Jobs Detail view (job template accordion). Chris Houseknecht 2013-11-20 23:57:43 +00:00
  • ade961fd38 AC-674 flash message is now cleared whenever AS is summoned. Chris Houseknecht 2013-11-20 22:37:29 +00:00
  • 8afdb710be Fixed project related links on home page. Add missing Reset button to all list pages. Fixed bug in sort that prevented searching where drop-down item is empty. Chris Houseknecht 2013-11-20 22:07:41 +00:00
  • 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