Commit Graph

1 Commits

Author SHA1 Message Date
Brad Humphrey b30149a543 initial implementation of the app center
there is now a plugin that can be used to enable the app center.
this pulls data in from edu-apps.org which will be presented
under the account settings 'External Tools' tab for the user.

Testing (with plugin disabled):
- disable the plugin and visit an account settings page external
  tools tab
- ensure that there is a list (table view) of installed external
  tools no buttons to the right of 'External Tools'
- Click on 'Add External Tool' and add a new tool:

    Name: Public Collections
    Consumer Key: N/A
    Shard Secret: N/A
    Configuration Type: By URL
    Configuration URL:
    http://www.edu-apps.org/tools/public_collections/config.xml

Testing (with plugin enabled):
- Enable the plugin for the account by going to /plugins and click
  on 'App Center' cog. Enter the following:

    Access Token: N/A
    Base URL: https://www.edu-apps.org
    App Index Endpoint: /api/v1/apps
    App Show Endpoint: /api/v1/apps/:id/reviews

- Save the plugin and go to the external tools view again for the
  account
- Ensure the first page you see is the app center page (box view)
- Ensure there is a button 'View Installed Tools' to the right of
  the 'External Tools' header
- Click on 'YouTube'
- Ensure that the show page appears with star ratings and reviews
  at the bottom
- Click 'Back to App Center' and ensure it returns to the prior
  view. Click on YouTube again to return here.
- Click 'Add Tool' and then 'Submit'
- Ensure that there is notification that the tool was added and
  the table with the installed external tools are visible (inc.
  YouTube)
- Click the trash icon next to YouTube and confirm you can delete
  the tool
- Click on 'View App Center' to return to the App Center view
- Click on 'Prula'
- Click 'Add Tool'
- Click 'Submit' and ensure that there are missing required fields
  feedback
- Enter the following:

    Name: Prulu
    Consumer Key: ABCDE
    Shared Secret: FGHIJ
    Show Course in Navigation (check this)
    Course Nav Link: http://google.com

- Click 'Submit' and ensure it saved
- On the table view, ensure that 'Course Navigation' appears next
  to 'Prulu' on the installed tools table view

Change-Id: Icbc5516e93ca2586cc3a8e9a78b877e30607026c
Reviewed-on: https://gerrit.instructure.com/20165
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Bracken Mosbacker <bracken@instructure.com>
QA-Review: Adam Phillipps <adam@instructure.com>
Product-Review: Eric Berry <ericb@instructure.com>
Reviewed-by: Eric Berry <ericb@instructure.com>
2013-05-24 19:37:29 +00:00