[jira] [Assigned] (VCL-485) Multilingualization of Web UI

2012-04-05 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-485:
-

Assignee: Josh Thompson

 Multilingualization of Web UI
 -

 Key: VCL-485
 URL: https://issues.apache.org/jira/browse/VCL-485
 Project: VCL
  Issue Type: New Feature
  Components: web gui (frontend)
Affects Versions: 2.2
Reporter: Toru Yokoyama
Assignee: Josh Thompson
  Labels: gettext, multilingualization
 Fix For: 2.3

 Attachments: vcl.diff, vcl.tar.gz


 We have customized the Web UI to be displayed not only by the original 
 English language interface, but with other languages like Japanese or 
 Chinese. Using the gettext library and the language library file in ready, 
 users can choose and change the interface language by themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-497) dedup eppn

2012-04-04 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-497:
-

Assignee: Josh Thompson

 dedup eppn
 --

 Key: VCL-497
 URL: https://issues.apache.org/jira/browse/VCL-497
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 The Shibboleth spec allows the eppn to contain duplicates. The code needs to 
 be updated to handle multiples as well as duplicates in those multiples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-505) Dojo is slow to load, especially on pages with many ancillary class files

2012-04-03 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-505:
-

Assignee: Josh Thompson

 Dojo is slow to load, especially on pages with many ancillary class files
 -

 Key: VCL-505
 URL: https://issues.apache.org/jira/browse/VCL-505
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Aaron Coburn
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3

 Attachments: utils.php.patch, vcl.profile.js


 Dojo has a dynamic loading mechanism with the dojo.require(...) function. 
 This is very convenient for developers, but for web users, this requires, in 
 some cases, dozens of extra GET requests to load the ancillary javascript 
 libraries.
 With this in mind, I would recommend looking at the Dojo custom build 
 framework at:
 http://dojotoolkit.org/reference-guide/quickstart/custom-builds.html
 This allows a developer to create custom javascript libraries that contain 
 all the needed code for a given 'profile'. I have done this for our 
 installation of the VCL, and it results in a dramatic improvement in load 
 times for individual pages.
 This change requires changing the .ht-inc/utils.php file. I have attached a 
 sample patch (based on version 2.2.1).
 This also requires building a custom dojo environment which can be done by 
 first downloading the full dojo SDK, and then creating a vcl 'profile' in 
 dojo-release-x.x.x-src/util/buildscripts/profile (i.e. vcl.profile.js). The 
 custom files can be generated by issuing the following commands:
 $ cd dojo-release-x.x.x-src/util/buildscripts
 $ ./build.sh profile=vcl action=release
 (I first added the vcldojo files to the dojo directory so that the 
 TimeTextBoxEnd class could be included in the package).
 I have also attached the vcl profile I used. The names given to each 'layer' 
 correspond to the changes in utils.php.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-568) refresh current reservations page 15 minutes after a reservation becomes available

2012-03-29 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-568:
-

Assignee: Josh Thompson

 refresh current reservations page 15 minutes after a reservation becomes 
 available
 --

 Key: VCL-568
 URL: https://issues.apache.org/jira/browse/VCL-568
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 It would be useful to refresh the current reservations page shortly after a 
 timeout could have occurred so that users will see if the reservation timed 
 out.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-498) simplify group time inputs

2012-03-19 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-498:
-

Assignee: Josh Thompson

 simplify group time inputs
 --

 Key: VCL-498
 URL: https://issues.apache.org/jira/browse/VCL-498
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 Simplify entering and displaying the group time values for user groups. 
 Having times in minutes that are multiple days long is a bit difficult to 
 deal with. Also, allow full duration allowed by database to be entered.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-527) Allow users to reinstall newer revisions

2012-03-19 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-527:
-

Assignee: Josh Thompson

 Allow users to reinstall newer revisions
 

 Key: VCL-527
 URL: https://issues.apache.org/jira/browse/VCL-527
 Project: VCL
  Issue Type: New Feature
  Components: web gui (frontend)
Affects Versions: 2.2.1
Reporter: Andy Kurth
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3


 It would be handy to allow users to select an updated revision when the 
 Reinstall feature is used.  You may have several server reservations for the 
 same image and then update the image.  Rather than end the existing 
 reservations and create new ones, you could just click Reinstall and select 
 the updated revision.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-513) allow block allocation control per affiliation

2012-03-01 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-513:
-

Assignee: Josh Thompson

 allow block allocation control per affiliation
 --

 Key: VCL-513
 URL: https://issues.apache.org/jira/browse/VCL-513
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 Add a user group permission that grants the ability to control block 
 allocations matching that user's affiliation only.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-444) time delay the display of the Get RDP File button to allow vcld to grant access

2012-03-01 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-444:
-

Assignee: Josh Thompson

 time delay the display of the Get RDP File button to allow vcld to grant 
 access
 ---

 Key: VCL-444
 URL: https://issues.apache.org/jira/browse/VCL-444
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 If a user clicks the Connect button and then the Get RDP File button too 
 quickly, vcld will not have a chance to actually grant the user access 
 through the host firewall.  Having javascript delay the display of the Get 
 RDP File button would help users not be confused about why they were not able 
 to connect to the machine.
 Gerhard Hartl from ODU contributed the following code to make this happen:
 Roughly around line 2217 (v2.2.1) on requests.php replace the Get RDP File 
 form section with:
 print style type=\text/css\\n;
 print  .off {\n;
 print  visibility: hidden;\n;
 print  } .on {\n;
 print  visibility: visible;\n;
 print  }\n;
 print /style\n;
 print script type=\text/javascript\\n;
 print  window.onload = function() {\n;
 print  var timeInterval = 5;\n;
 print  if (typeof timeInterval === 'undefined' || parseInt(timeInterval) = 
 0) {\n;
 print  timeInterval = 1\n;
 print  }\n;
 print document.getElementById('counter').innerHTML = \ Ready to connect in 
 \ + timeInterval + \ seconds\;\n;
 print var si = setInterval(function() {\n;
 print if (timeInterval === 0) {\n;
 print  clearInterval(si);\n;
 print  } else {\n;
 print --timeInterval;\n;
 print if (timeInterval !== 0) {\n;
 print  document.getElementById('counter').innerHTML = \ Ready to 
 connect in \ + timeInterval + \ seconds\;\n;
 print } else {\n;
 print  document.getElementById('counter').className = 'off'; 
 //Hiding the counter area.\n;
 print  document.getElementById('submit').className = 'on'; //Unhide 
 the Submit button\n;
 print }\n;
 print }\n;
 print }, 1000);\n;
 print setTimeout(function() {\n;
 print }, timeInterval * 1000);\n;
 print }\n;
 print /script\n;
 print For automatic connection, you can download an RDP file that can ;
 print be opened by the Remote Desktop Connection program.brbr\n;
 print b id=counter/b;
 print table summary=\\\n;
 print   TR\n;
 print TD\n;
 print   FORM action=\ . BASEURL . SCRIPT . \ method=post  
 id=\connect\\n;
 $cdata = array('requestid' = $requestid,
   'resid' = 
 $requestData['reservations'][0]['reservationid']);
 $expire = datetimeToUnix($requestData['end']) -
datetimeToUnix($requestData['start']) + 1800; # reservation 
 time plus 30 min
 $cont = addContinuationsEntry('sendRDPfile', $cdata, $expire);
 print   INPUT type=hidden name=continuation value=\$cont\\n;
 print   INPUT type=submit value=\Get RDP File\ class=\off\ 
 id=\submit\\n;
 print   /FORM\n;
 print /TD\n;
 print   /TR\n;
 print /table\n;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-497) dedup eppn

2012-03-01 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-497:
-

Assignee: Josh Thompson

 dedup eppn
 --

 Key: VCL-497
 URL: https://issues.apache.org/jira/browse/VCL-497
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 The Shibboleth spec allows the eppn to contain duplicates. The code needs to 
 be updated to handle multiples as well as duplicates in those multiples.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-520) Improving display control, on an detailed information of an image

2012-03-01 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-520:
-

Assignee: Josh Thompson

 Improving display control, on an detailed information of an image
 -

 Key: VCL-520
 URL: https://issues.apache.org/jira/browse/VCL-520
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Affects Versions: 2.2
Reporter: Toru Yokoyama
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3

 Attachments: requests.diff, requests.php


 When inputing any character except alphabets or numbers to the Image 
 Description or Usage Notes of the Edit Image page, the detailed 
 information of an image will not be shown at the New Reservation page and 
 the Connect page. 
 Considering a case when VCL is used out of English-speaking  areas, 
 improvement is needed in the display judging method for a detailed 
 information of an image.
 (Refer [VCL-485])

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-521) An OS image named in japanese 2byte characters doesn't run

2012-03-01 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-521?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-521:
-

Assignee: Josh Thompson

 An OS image named in japanese 2byte characters doesn't run
 --

 Key: VCL-521
 URL: https://issues.apache.org/jira/browse/VCL-521
 Project: VCL
  Issue Type: Improvement
  Components: vcld (backend), web gui (frontend)
Affects Versions: 2.2
 Environment: Windows images (Japanese)
Reporter: Toru Yokoyama
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3

 Attachments: images.diff, images.php


 If the image name(prettyname)  of an OS image is named in japanese 2byte 
 characters, the virtual OS will not run. The direct cause is that the Guest 
 OS does not reply, when set_my_computer_name function is submitted by VCL 
 daemon. Considering a case when VCL is used out of English-speaking  areas, 
 we suggest an improvement.(Refer [VCL-485])
 We attached a source code with an interim bug fix.
 Bug fix: Changing the character check method of the Web GUI to only allow 
 alphabets, numbers and limited symbols.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-534) $cluster not reset in for loop in viewRequests

2012-02-23 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-534:
-

Assignee: Josh Thompson

 $cluster not reset in for loop in viewRequests
 --

 Key: VCL-534
 URL: https://issues.apache.org/jira/browse/VCL-534
 Project: VCL
  Issue Type: Bug
  Components: web gui (frontend)
Affects Versions: 2.2.1
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 $cluster is not reset to 0 for each iteration of the main for loop in 
 viewRequests in requests.php. If someone has multiple reservations, with one 
 of them being a cluster and another being an imaging reservation with the the 
 cluster being in $requests before the imaging reservation is, then the user 
 will not see End Reservaton  Create Image for the imaging reservation.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-556) edit schedule groups code not doing permissions correctly

2012-02-23 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-556:
-

Assignee: Josh Thompson

 edit schedule groups code not doing permissions correctly
 -

 Key: VCL-556
 URL: https://issues.apache.org/jira/browse/VCL-556
 Project: VCL
  Issue Type: Bug
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
 Fix For: 2.3


 viewSchedules and submitScheduleGroups do not build the list of schedules and 
 schedule groups using the same permission set.  viewSchedules has it correct. 
 The calls to getUserResources in submitScheduleGroups need to be updated to 
 match viewSchedules.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-543) OSX under ESXi 4.1

2012-02-23 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-543:
-

Assignee: Josh Thompson

 OSX under ESXi 4.1
 --

 Key: VCL-543
 URL: https://issues.apache.org/jira/browse/VCL-543
 Project: VCL
  Issue Type: Improvement
  Components: database, vcld (backend), web gui (frontend)
Affects Versions: 2.3
Reporter: James O'Dell
Assignee: Josh Thompson
  Labels: features
 Fix For: 2.3

 Attachments: Howto.rtf, OSX.pm, VMware.pm.patch, adminadd, admindel, 
 dhcp_enable, fw_disable_rdp, fw_enable, fw_enable_rdp, inuse.pm.patch, 
 logoff_users, oamessage, password_reset, requests.php.patch, useradd, 
 userdel, utils.pm.patch


 VCL needs OSX support. These files are my first attempt at doing so.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-399) add a dashboard where admins can see current state of VCL system

2012-02-23 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-399:
-

Assignee: Josh Thompson

 add a dashboard where admins can see current state of VCL system
 

 Key: VCL-399
 URL: https://issues.apache.org/jira/browse/VCL-399
 Project: VCL
  Issue Type: New Feature
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3


 Create a dashboard page where admins can see various information about the 
 running VCL system.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-455) put alt text with a image generated by textimage.php

2012-02-23 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-455:
-

Assignee: Josh Thompson

 put alt text with a image generated by textimage.php
 

 Key: VCL-455
 URL: https://issues.apache.org/jira/browse/VCL-455
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Affects Versions: 2.2.1
 Environment: CentOS 5.5, httpd-2.2.15, php-5.2.14
Reporter: Shoji Kajita
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3


 Putting alt text is helpful in the case where the image is collapsed due to 
 some gd problems.
  diff -cb .ht-inc/utils.php.20110420 .ht-inc/utils.php 
 *** .ht-inc/utils.php.20110420  2011-04-20 05:35:59.0 +0900
 --- .ht-inc/utils.php   2011-04-20 05:36:36.0 +0900
 ***
 *** 7860,7866 
   ///
   
 
   function getImageText($text) {
 !   return img src=\ . BASEURL . 
 /images/textimage.php?text=$text\;
   }
   
   
 
 --- 7860,7866 
   ///
   
 
   function getImageText($text) {
 !   return img alt=\ . $text . \ src=\ . BASEURL . 
 /images/textimage.php?text=$text\;
   }
   
   
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Assigned] (VCL-398) make block allocations tie up concurrent usage of image

2012-02-21 Thread Josh Thompson (Assigned) (JIRA)

 [ 
https://issues.apache.org/jira/browse/VCL-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Josh Thompson reassigned VCL-398:
-

Assignee: Josh Thompson

 make block allocations tie up concurrent usage of image
 ---

 Key: VCL-398
 URL: https://issues.apache.org/jira/browse/VCL-398
 Project: VCL
  Issue Type: Improvement
  Components: web gui (frontend)
Reporter: Josh Thompson
Assignee: Josh Thompson
Priority: Minor
 Fix For: 2.3


 If a block allocation needs to be made for an image that has a concurrent 
 usage limit, it would be good if the block allocation would tie up the usage 
 count so that the users of the block allocation would be guaranteed a 
 reservation if VCL was able to allocate a computer for it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira