You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/01/31 21:37:00 UTC

[jira] [Commented] (VCL-1110) expose maxinitial time for images in web UI

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

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

Commit 07687eb6b412cd02dffd3262079336a551260526 in vcl's branch refs/heads/develop from Josh Thompson
[ https://gitbox.apache.org/repos/asf?p=vcl.git;h=07687eb ]

VCL-1110 - expose maxinitial time for images in web UI

image.php:
-modified fieldWidth: added case for maxinitialtime
-modified fieldDisplayName: change title for maxinitial time from "Max Initial Time" to "Max Reservation Duration"
-modified addEditDialogHTML: added form item for maxinitialtime
-modified AJsaveResource: added check for maxinitialtime being changed, and add to $updates array if changed
-modified validateResourceData: added check for maxinitialtime

requests.php: modified AJeditRequest: modified code that determines how long a reservation can be extended to include maxinitialtime for the image if it is set

image.js:
-modified colformatter: separated maxinitialtime out into its own conditional
-modified inlineEditResourceCB: added line to set maxinitialtime to passed in value
-modified saveResource: added code to validate maxinitialtime
-modified saveResourceCB: added line to set maxinitialtime to passed in value


> expose maxinitial time for images in web UI
> -------------------------------------------
>
>                 Key: VCL-1110
>                 URL: https://issues.apache.org/jira/browse/VCL-1110
>             Project: VCL
>          Issue Type: Improvement
>          Components: web gui (frontend)
>            Reporter: Josh Thompson
>            Priority: Minor
>             Fix For: 2.5.1
>
>
> The database has a maxinitial time that can be set on images that limits the duration of how long an image can be reserved. This setting cannot currently be set through the web interface but must be set directly in the database. It would be helpful to expose this setting in the web UI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)