You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2007/05/22 17:37:58 UTC

[jira] Created: (MRM-351) Ability to disable the checksum applet used in Find Artifact

Ability to disable the checksum applet used in Find Artifact
------------------------------------------------------------

                 Key: MRM-351
                 URL: http://jira.codehaus.org/browse/MRM-351
             Project: Archiva
          Issue Type: Improvement
          Components: web application
            Reporter: Wendy Smoak


Applets that access the local filesystem are forbidden in some corporate environments.  We need a way to disable the Find Artifact applet without breaking the web UI.  

The ability to find an artifact by providing the md5 checksum should be preserved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-351) Ability to disable the checksum applet used in Find Artifact

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96985 ] 

Jesse McConnell commented on MRM-351:
-------------------------------------

added another option for you wendy

<webapp>
  <ui>
    <showFindArtifacts>true</showFindArtifacts>
    <appletFindEnabled>true</appletFindEnabled>
  </ui>
</webapp>

also switched the defaults to true


> Ability to disable the checksum applet used in Find Artifact
> ------------------------------------------------------------
>
>                 Key: MRM-351
>                 URL: http://jira.codehaus.org/browse/MRM-351
>             Project: Archiva
>          Issue Type: Improvement
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Wendy Smoak
>            Assignee: Jesse McConnell
>             Fix For: 1.0-alpha-1
>
>
> Applets that access the local filesystem are forbidden in some corporate environments.  We need a way to disable the Find Artifact applet without breaking the web UI.  
> The ability to find an artifact by providing the md5 checksum should be preserved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-351) Ability to disable the checksum applet used in Find Artifact

Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96979 ] 

Wendy Smoak commented on MRM-351:
---------------------------------


I think the applet should be enabled by default-- it's very useful even for an internal repository.  In a large organization there may be internal component jars that have been passed around and renamed.  Pointing Archiva at a mystery jar can determine whether it's already in the repo under a different name.

As long as the applet is easy to disable in configuration after installing, I'd leave it on by default.



> Ability to disable the checksum applet used in Find Artifact
> ------------------------------------------------------------
>
>                 Key: MRM-351
>                 URL: http://jira.codehaus.org/browse/MRM-351
>             Project: Archiva
>          Issue Type: Improvement
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Wendy Smoak
>            Assignee: Jesse McConnell
>             Fix For: 1.0-alpha-1
>
>
> Applets that access the local filesystem are forbidden in some corporate environments.  We need a way to disable the Find Artifact applet without breaking the web UI.  
> The ability to find an artifact by providing the md5 checksum should be preserved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (MRM-351) Ability to disable the checksum applet used in Find Artifact

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRM-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse McConnell closed MRM-351.
-------------------------------

    Resolution: Fixed

  <webapp>
    <ui>
      <showFindArtifacts>false</showFindArtifacts>
    </ui>
  </webapp>

added the relevant configuration bits to the model and enabled things so that you can perform things like 

      <ww:if test="${sessionScope.uiOptions.showFindArtifacts}">	  
        <li class="none">
          <my:currentWWUrl action="findArtifact" namespace="/">Find Artifact</my:currentWWUrl>
        </li>
      </ww:if>

in the jsp's to enable and disable functionalities.

adding new configuration options is a matter of adding them to the model and then they will be available on the uiOptions in the session in the jsp's.

this is also not defaulting to false atm so the link does not render by default anymore.

> Ability to disable the checksum applet used in Find Artifact
> ------------------------------------------------------------
>
>                 Key: MRM-351
>                 URL: http://jira.codehaus.org/browse/MRM-351
>             Project: Archiva
>          Issue Type: Improvement
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Wendy Smoak
>            Assignee: Jesse McConnell
>             Fix For: 1.0-alpha-1
>
>
> Applets that access the local filesystem are forbidden in some corporate environments.  We need a way to disable the Find Artifact applet without breaking the web UI.  
> The ability to find an artifact by providing the md5 checksum should be preserved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MRM-351) Ability to disable the checksum applet used in Find Artifact

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRM-351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_96836 ] 

Brett Porter commented on MRM-351:
----------------------------------

you can type in the md5, so maybe we should just put a conditional around it that is configurable, and disable it by default (the function makes more sense on a central repository mirror than it does in a corporate repository anyway).

> Ability to disable the checksum applet used in Find Artifact
> ------------------------------------------------------------
>
>                 Key: MRM-351
>                 URL: http://jira.codehaus.org/browse/MRM-351
>             Project: Archiva
>          Issue Type: Improvement
>          Components: web application
>    Affects Versions: 1.0-alpha-1
>            Reporter: Wendy Smoak
>             Fix For: 1.0-alpha-1
>
>
> Applets that access the local filesystem are forbidden in some corporate environments.  We need a way to disable the Find Artifact applet without breaking the web UI.  
> The ability to find an artifact by providing the md5 checksum should be preserved.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira