[ 
https://issues.apache.org/jira/browse/VCL-937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169840#comment-15169840
 ] 

ASF subversion and git services commented on VCL-937:
-----------------------------------------------------

Commit 1732560 from [~jfthomps] in branch 'vcl/trunk'
[ https://svn.apache.org/r1732560 ]

VCL-937 - Increase max length of duration limited images from 45 days to 20 
weeks

groups.php:
-modified jsonUserGroupStore, editOrAddGroup, and confirmEditOrAddGroup: 
changed argument passed to getReservationLengths from 65535 to 201600
-modified submitDeleteGroup: changed update query to set groupid to NULL 
instead of 0 (unrelated to VCL-937)

requests.php: modified AJeditRequest: modified for loops that generate values 
for extending reservation to include 7 weeks through 20 weeks

utils.php:
-modified getReservationLengths: added extra for loop to generate values for 
reservation duration to include 7 weeks through 20 weeks
-modified getReservationLength: added conditional to return value in days if 
less than 64800 minutes; changed default return to be in weeks
-modified getReservationExtenstion: added conditional to return value in days 
if less than 64800 minutes; changed default return to be in weeks
-modified getReservationLengthCeiling: added extra for loop to generate values 
for reservation duration to include 7 weeks through 20 weeks; changed default 
return to be 201600

requests.js: modified setMaxRequestLength: added extra "else if" block to 
handle options greater than 45 days as weeks

> Increase max length of duration limited images from 45 days to 20 weeks
> -----------------------------------------------------------------------
>
>                 Key: VCL-937
>                 URL: https://issues.apache.org/jira/browse/VCL-937
>             Project: VCL
>          Issue Type: Improvement
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>             Fix For: 2.5
>
>
> For reservations that have the end time determined by selecting a duration, 
> the max duration is currently 45 days. This was due to a database field 
> limitation. The type of that field has since been increased. It would be 
> helpful to now allow durations up to 20 weeks, which would allow users to 
> make reservations for a whole semester.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to