•  
      story #9692 Have a field in the FRS where I can add a link
    Summary
    Empty
    Have a field in the FRS where I can add a link
    it points to the URL location to a Binary Repository Management tool such as Artifactory or Nexus

    At release creation

    There is a new section between "Uploaded Files" and "Notes" that allow to upload links, it's possible to add several links. There are no extra informations (comment, processor, etc) the user can set associated to the URL. However, internally we keep for display:

    • Owner (who released the link)
    • Release date

    It's also possible to define a name to be displayed for the url (eg. file-1.23.jar instead of https://example.com/stuff/aaa/vvv/file.stuff)

    At release update

    It's possible to add a new link (with same information than at Release creation).

    It's possible to remove an existing link.

    It's not possible to modify a link. To modify a link, it should be removed and added again.

    Contrary to file update It's not possible to change "Release" and "Release date" for link.

    At link deletion

    Contrary to file deletion, there is no "restore" mecanism.

    At FRS release display

    On FRS homepage, when displaying the content of a release, below the list of file, there is a section with links displayed (only if there are links).

    When there are no names, the links are displayed truncated to avoid very long URLs with the owner of the link and the date.

    At "Linked Release" display

    When a release is associated to an artifact, a special page is displayed with the content of the release, the linked artifact & etc.

    This view must be updated as well to include links

    At REST API usage

    The GET /frs_release/:id route must be updated to include the "links" section

    At XML import usage

    XML import format must be updated to support the links

    At FRS widget usage

    The link is displayed

    At SOAP / CLI / Webdav usage

    The new feature is neither available through SOAP nor CLI nor Webdav

    Ideally, they are not impacted by the change but there should not be specific development to make them work when links are in use. In this case SOAP / CLI / Webdav for the project that would use links would be descativated.

    Project access logs

    Links addition/deletion are visible in the project access logs like the files are.

    Warning

    Special attention must be taken during the development and validation around the delete / restore mecanism so the new dev doesn't interfer with the existing mecanism.

    Empty
    Emilio Palmiero (empa), Stephan Bill (stephanbill)
    Status
    Empty
    Done
    Development
    • [ ] Does it involves User Interface? 
    • [ ] Are there any mockups?
    • [ ] Are permissions checked?
    • [ ] Does it need Javascript development?
    • [ ] Does it need a forge upgrade bucket?
    • [ ] Does it need to execute things in system events?
    • [ ] Does it impact project creation (templates)?
    • [ ] Is it exploratory?
    Empty
    Details
    #9692
    Patricia Carrasco (pcar)
    2017-09-29 13:53
    2016-12-01 15:55
    4581

    References
    Referencing story #9692

    Git commit

    tuleap/tuleap/stable

    Create DB structure and display in the FRS 4c6a324db2
    Update GET /frs_release/:id for links 1462aa6160
    Url displayed should be truncted if url is very long adf6491b86
    Be able to display existing links in update release form 16611a6b62
    SOAP call to deleteEmptyRelease takes links into account 7072ef16fb
    Be able to update release with links in the web UI 82431820a3
    Links in the FRS does not break the behavior when using Webdav 56b86746b7
    Be able to create release with links in the web UI 76eaf2a4b5
    Update FRS plugin (Angular) 260b7acad1
    Be able to delete release with links in the web UI ba93970d1c
    We can not add http and ftp link in the same time 860c6947fc
    Creation and deletion of a FRS link is visible in the project access logs 288d4a3733
    Import XML: add import links into frs a85acf2ae0
    Add REST tests on frs_release 79305244ff

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2017-09-22 14:21
    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    User avatar
    • Acceptance criteria
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • CC list Stephan Bill (stephanbill) added