Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1984

Show something when user visits repository url in browser

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      To add an App Store to IGB, a user needs to enter a URL that looks like:

      https://dev-appstore-5.bioviz.org/obr/releases/

      However, if they visit this URL in their browser, they will get a "page not found" (404) error.

      This is because we currently only support an endpoint for the "repository.xml" file, accessed via a URL that looks like

      https://dev-appstore-5.bioviz.org/obr/releases/repository.xml

      We should implement a new page/path that will show the user something useful if they visit the repository URL:

      https://dev-appstore-5.bioviz.org/obr/releases/

      For this task, implement a "stub page" that contains instructions on how to add the App Store to IGB. See related issue for text.

      Also, include a link to the repository.xml file in the page.

      Note that this task is mainly to create the page. A subsequent Jira user story will cover more in-depth design.

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine created issue -
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Epic Link IGBF-1388 [ 17463 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1983 [ IGBF-1983 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18708 ] Fall 2019 Workflow Update [ 19027 ]
            ann.loraine Ann Loraine made changes -
            Description To add an App Store to IGB, a user needs to enter a URL that looks like:

            https://dev-appstore-5.bioviz.org/obr/releases/

            However, if they visit this URL in their browser, they will get a "page not found" URL.

            This is because we currently only support an endpoint for the "repository.xml" file, accessed via a URL that looks like

            https://dev-appstore-5.bioviz.org/obr/releases/repository.xml

            We should implement a new page/path that will show the user something useful if they visit the repository URL.

            https://dev-appstore-5.bioviz.org/obr/releases/

            For this task, implement a "stub page" that contains instructions on how to add the App Store to IGB. See related issue for text.

            Also, include a link to the repository.xml file in the page.

            Note that this task is mainly to create the page. A subsequent Jira user story will cover more in-depth design.
            To add an App Store to IGB, a user needs to enter a URL that looks like:

            https://dev-appstore-5.bioviz.org/obr/releases/

            However, if they visit this URL in their browser, they will get a "page not found" (404) error.

            This is because we currently only support an endpoint for the "repository.xml" file, accessed via a URL that looks like

            https://dev-appstore-5.bioviz.org/obr/releases/repository.xml

            We should implement a new page/path that will show the user something useful if they visit the repository URL:

            https://dev-appstore-5.bioviz.org/obr/releases/

            For this task, implement a "stub page" that contains instructions on how to add the App Store to IGB. See related issue for text.

            Also, include a link to the repository.xml file in the page.

            Note that this task is mainly to create the page. A subsequent Jira user story will cover more in-depth design.
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ] Riddhi Jagdish Patil [ rpatil14 ]
            ann.loraine Ann Loraine made changes -
            Status Open [ 1 ] To-Do [ 10305 ]
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - - edited

            Issue:
            To provide repository.xml url to the user when user visits respository url in browser

            Description:
            When a user visits repository url by copying the repository url from Manage Repositories section of IGB, user receives Page Not Found exception as the link does not contain repository.xml path. This ticket will redirect user to HTML page which will contain the repository.xml url which can be clicked to open repository.xml

            Solution:
            When a user visits repository url from browser redirect user to a page with the link for repository.xml page

            File changed:
            Changes can be find in branch https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-1984#diff
            appstore/settings.py
            obr/apps.py
            obr/templates/redirect.html
            obr/urls.py
            obr/views.py

            Testing:
            Use below link for testing
            https://dev-appstore-6.bioviz.org/obr/releases/

            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - - edited Issue : To provide repository.xml url to the user when user visits respository url in browser Description : When a user visits repository url by copying the repository url from Manage Repositories section of IGB, user receives Page Not Found exception as the link does not contain repository.xml path. This ticket will redirect user to HTML page which will contain the repository.xml url which can be clicked to open repository.xml Solution : When a user visits repository url from browser redirect user to a page with the link for repository.xml page File changed : Changes can be find in branch https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-1984#diff appstore/settings.py obr/apps.py obr/templates/redirect.html obr/urls.py obr/views.py Testing : Use below link for testing https://dev-appstore-6.bioviz.org/obr/releases/
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            One small change request/question:

            • Page title is "IGB App Store - Get Started"
              Can this be changed to something more descriptive - maybe: "IGB App store - Released Apps" ?
            Show
            ann.loraine Ann Loraine added a comment - One small change request/question: Page title is "IGB App Store - Get Started" Can this be changed to something more descriptive - maybe: "IGB App store - Released Apps" ?
            Hide
            ann.loraine Ann Loraine added a comment -

            Code review is complete.

            Show
            ann.loraine Ann Loraine added a comment - Code review is complete.
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            Hide
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment -

            Addressed review comments.
            cc. [~aloraine]

            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - Addressed review comments. cc. [~aloraine]
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Assignee Riddhi Jagdish Patil [ rpatil14 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Functional review is complete - looks great.

            Show
            ann.loraine Ann Loraine added a comment - Functional review is complete - looks great.
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - Pull request submitted https://bitbucket.org/lorainelab/appstore/pull-requests/91/igbf-1984/diff
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1989 [ IGBF-1989 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Sprint Fall 2019 Sprint 1 [ 72 ] Fall 2019 Sprint 1, Fall 2019 Sprint 2 [ 72, 73 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ]
            Hide
            stiwari8 Srishti Tiwari (Inactive) added a comment -

            Changes work fine. Closing the ticket.

            Show
            stiwari8 Srishti Tiwari (Inactive) added a comment - Changes work fine. Closing the ticket.
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            stiwari8 Srishti Tiwari (Inactive) made changes -
            Assignee Srishti Tiwari [ stiwari8 ] Riddhi Jagdish Patil [ rpatil14 ]
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 19027 ] Revised Fall 2019 Workflow Update [ 22493 ]

              People

              • Assignee:
                rpatil14 Riddhi Jagdish Patil (Inactive)
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: