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.

        Issue Links

          Activity

          Hide
          rpatil14 Riddhi Jagdish Patil 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 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/
          Hide
          aloraine 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
          aloraine 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
          aloraine Ann Loraine added a comment -

          Code review is complete.

          Show
          aloraine Ann Loraine added a comment - Code review is complete.
          Hide
          rpatil14 Riddhi Jagdish Patil added a comment -

          Addressed review comments.
          cc. Ann Loraine

          Show
          rpatil14 Riddhi Jagdish Patil added a comment - Addressed review comments. cc. Ann Loraine
          Hide
          aloraine Ann Loraine added a comment -

          Functional review is complete - looks great.

          Show
          aloraine Ann Loraine added a comment - Functional review is complete - looks great.
          Show
          rpatil14 Riddhi Jagdish Patil added a comment - Pull request submitted https://bitbucket.org/lorainelab/appstore/pull-requests/91/igbf-1984/diff
          Hide
          stiwari8 Srishti Tiwari added a comment -

          Changes work fine. Closing the ticket.

          Show
          stiwari8 Srishti Tiwari added a comment - Changes work fine. Closing the ticket.

            People

            • Assignee:
              rpatil14 Riddhi Jagdish Patil
              Reporter:
              aloraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development

                  Agile