Go to file
Brad Horrocks 3fee901ac0 Remove Google Docs plugin
Google drive relevant code has been moved to the gems/google_drive
Actually test google drive with mocked api responses
cleaned up lots of code

Fixes PLAT-1301

Test Plan:
*** You'll need to use 2 separate google accounts to fully test ***
** Its helpful to have multiple chrome profiles so you dont have to log in and
** out a bunch https://support.google.com/chrome/answer/2364824?hl=en

BEFORE SWITCHING TO THIS PATCH SET
  - Make sure you have some google doc collaborations
    - Directions for creating one are below
  - Disable your google docs plugin

Switch to the patch set
Enable google drive. (if not already)
  - You should be able to paste in a client_secrets.json
  - Update Redirect URI to point to your local instance (The URI should exist in the JSON)

As an admin/teacher
  - Goto `profile/settings` and add the google drive user service
    - Your email should be displayed with the service
  - Goto Collaborations
    - Make sure existing collaborations still work
    - Click "Start new collaboration"
    - give it a nice name (Created by admin)
    - select your student
    - click start collaborating
    - You should be redirected to the new doc in google
    - create another collaboration without the student (Created by admin, no users)
  - Create an assignment with
    Submission Type: Online
    Online Entry Options: File Uploads
  - Make sure your student has access to the course/assignment
  - Goto Account settings -> Users
    - Click View User Groups in the top right
    - create a new group set with a group in it
    - add yourself and your student to the group
  - Goto the Group's Collaborations (Courses & Groups -> [group name] -> Collaborations)
    - Click "Start new collaboration"
    - give it a nice name (Created by admin for group)
    - select your student
    - click start collaborating
    - You should be redirected to the new doc in google

As a student
  - Goto `profile/settings` and add the google drive user service
    - Your email should be displayed with the service
  - Goto the assignment
    - Submit the assignment
    - You should have a "Google Doc" tab
    - Choose a document and submit it
    - After it submitted, click download on the right side
      just to make sure its correct
  - Goto Collaborations
    - Make sure existing collaborations still work
    - make sure the "created by admin" collaboration works
    - make sure you can't see "Created by admin, no users"
    - Click "Start new collaboration"
    - give it a nice name (created by a student)
    - click start collaborating
    - You should be redirected to the new doc in google
    - Switch to your admin/teacher and make sure they can't access it
    - Edit the collaboration add the teacher, click Save
    - Switch to your admin/teacher and make sure they can access it
  - Goto `profile/settings` and REMOVE the google drive user service
  - Go back to collaborations
  - You should be forced to add the google service in order to use a collaboration
  - Goto the Group's Collaborations (Courses & Groups -> [group name] -> Collaborations)
    - Make sure you can access "Created by admin for group"
    - Click "Start new collaboration"
    - select your admin/teacher
    - click start collaborating
    - You should be redirected to the new doc in google
    - make sure your admin can access it to

As a site admin
  - Disable Google Drive
  - Then with your student
    - Make sure you can still do file upload submissions on the assignment
    - Collaborations should no longer show up (unless you have etherpad enabled)
  - Google drive should no longer show up in your profile settings as a registered service
Change-Id: I4dfaff6f5262743c044aadd12266fd0bd85a60e1
Reviewed-on: https://gerrit.instructure.com/69078
Reviewed-by: Andrew Butterfield <abutterfield@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
2016-02-01 23:41:53 +00:00
Gemfile.d Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
app Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
bin use binstubs for dress_code for spring 2016-01-06 18:44:23 +00:00
client_apps Redesign the quiz_stats page for a11y/UI reasons 2016-01-22 22:22:30 +00:00
config Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
db/migrate enforce not-null on role overrides.enabled and locked 2016-02-01 17:11:50 +00:00
doc doc: fix link to dinghy install 2016-01-29 23:42:59 +00:00
docker-compose add optional docker config for cassandra 2016-01-18 17:37:30 +00:00
frontend_build shim in web pack version of timezone plugin 2016-01-19 21:48:07 +00:00
gems Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
guard let people write specs in jsx 2015-12-05 09:52:45 +00:00
lib Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
public fixes focus with move/copy question dialog 2016-02-01 14:39:51 +00:00
script don't include plugin dir in gergich output sent to jenkins 2016-01-18 22:08:19 +00:00
spec Remove Google Docs plugin 2016-02-01 23:41:53 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.dockerignore docker-compose based dev environment 2015-03-30 20:59:48 +00:00
.fontcustom-manifest.json fix Instructure logo glyph from icon font 2016-01-18 16:04:04 +00:00
.gitignore RCS - admin announcements can load remotely 2016-01-14 23:40:42 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.jshintrc make jslint settings more sane 2012-08-17 11:04:40 -06:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.rubocop.yml Moving ParallelAssignment back to style 2016-01-18 21:47:22 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add guidelines section to CONTRIBUTING.md 2016-01-13 19:50:06 +00:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Gemfile remove rails 3 support 2015-12-23 21:36:43 +00:00
Guardfile ensure node_modules are up-to-date for guard & compile_assets 2015-07-16 19:17:54 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md remove travis.ci badge until we are re-enabled 2014-07-01 23:08:00 +00:00
Rakefile remove rails 2 support 2014-08-06 18:16:19 +00:00
bower.json Update Shared Components for React 0.13.3 2015-11-19 00:35:09 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru start adding rails 3.0 support 2013-03-22 19:08:40 +00:00
docker-compose.yml add optional docker config for cassandra 2016-01-18 17:37:30 +00:00
gulpfile.babel.js use web pack 2015-11-02 16:27:14 +00:00
karma.conf.js webpack via file config 2016-01-09 18:09:48 +00:00
package.json build quiz log auditing w/ web pack 2016-01-14 00:33:38 +00:00
webpack.config.js use web pack 2015-11-02 16:27:14 +00:00
webpack.production.config.js spec: don't use an undefined path for optimized js 2015-12-22 22:28:18 +00:00
webpack.test.config.js make web pack able to run ember quit 2015-12-11 17:07:10 +00:00

README.md

Canvas LMS

Canvas is a new, open-source LMS by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.