canvas-lms/lib
Cody Cutrer 5c0c1582ca avoid requesting all google docs just to see if we still have access
With some users that have thousands of files, that request can take
upwards of 10-15 seconds; even doing a head and/or limiting results
doesn't speed it up (silly googles).  So instead, do a head for the
api that returns info on the token (yes, it says it's for AuthSub,
but it works for OAuth as well).

Change-Id: If838d0f6f04f313887dc734786d5cdeffa3e28a5
Reviewed-on: https://gerrit.instructure.com/4561
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
2011-07-06 10:46:52 -06:00
..
api/v1 create gradebook2 2011-06-29 16:21:27 -06:00
canvas i18n rest of vendor/plugins (and lib/canvas/plugin stragglers) 2011-06-23 12:51:55 -06:00
canvas_migration handle extra image html in qti data 2011-05-16 10:24:00 -06:00
cc fix course exports that are using s3 2011-06-13 16:19:04 -06:00
ext make urls protocol-relative for ssl; refs #3761 2011-03-08 15:17:35 -07:00
kaltura specify the protocol for a media object redirect 2011-05-08 21:21:24 -06:00
reporting counts report error when new external status is added, fixes #4730 2011-06-02 09:29:01 -06:00
sis abstract course importer 2011-06-27 11:01:32 -06:00
tasks catch trailing commas in check_syntax task 2011-06-29 12:24:44 -06:00
api.rb extend submissions for_student api for gradebook2 2011-06-28 16:15:41 -06:00
api_route_set.rb refactor the rest api docs, refs #3956 2011-03-09 10:12:32 -07:00
api_routes.rb refactor the rest api docs, refs #3956 2011-03-09 10:12:32 -07:00
authentication_methods.rb teacher activity / student interaction report, closes #4316 2011-06-29 16:24:24 -06:00
auto_handle.rb use something more secure than UUID for our unique tokens; fixes #4264 2011-04-15 10:54:47 -06:00
basic_lti.rb send canvas ids with basic lti for "public" integrations 2011-04-28 19:52:31 -06:00
canvas.rb optionally track completed job stats in redis 2011-06-01 10:58:37 -06:00
canvas_migration.rb Initial commit. 2011-01-31 18:57:29 -07:00
cc.rb add calendar events to export/import 2011-04-26 12:28:31 -06:00
color.rb Initial commit. 2011-01-31 18:57:29 -07:00
content_zipper.rb enable "download zip" link for students, closes #4305 2011-06-29 14:17:23 -06:00
copy_authorized_links.rb Initial commit. 2011-01-31 18:57:29 -07:00
cutycapt.rb Initial commit. 2011-01-31 18:57:29 -07:00
delicious_diigo.rb Initial commit. 2011-01-31 18:57:29 -07:00
email_list.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollment_date_restrictions.rb enforce term/course/section start and end dates 2011-03-01 13:47:12 -07:00
enrollments_from_email_list.rb Initial commit. 2011-01-31 18:57:29 -07:00
eportfolio_page.rb preliminary i18n setup, closes #4124 2011-06-06 14:19:03 -06:00
external_feed_aggregator.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
external_statuses.rb Initial commit. 2011-01-31 18:57:29 -07:00
facebook.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
file_in_context.rb handle repeated qti imports of the same filename better, closes #4411 2011-04-29 12:33:31 -06:00
file_splitter.rb Initial commit. 2011-01-31 18:57:29 -07:00
flickr.rb Initial commit. 2011-01-31 18:57:29 -07:00
google_docs.rb avoid requesting all google docs just to see if we still have access 2011-07-06 10:46:52 -06:00
grade_calculator.rb don't use 'not graded' assignments when calculating grades 2011-05-19 08:56:24 -06:00
gradebook_csv_parser.rb Initial commit. 2011-01-31 18:57:29 -07:00
gradebook_importer.rb grading standards improvements 2011-05-21 19:20:34 -06:00
has_content_tags.rb Initial commit. 2011-01-31 18:57:29 -07:00
host_url.rb be sure to initialize class vars in HostUrl 2011-06-23 16:25:13 -06:00
i18n_extractor.rb make js hash matching a little more flexible 2011-06-28 12:57:01 -06:00
i18n_time_zone.rb localize Profile 2011-06-24 09:32:53 -06:00
imported_html_converter.rb replace relative paths in qti from other systems 2011-06-01 09:24:03 -06:00
incoming_message_processor.rb don't puke on nil msg when processing incoming messages 2011-07-05 14:01:20 -06:00
linked_in.rb moving linked in config to /plugins; refs #4194 2011-06-01 22:04:06 -06:00
message_dispatcher.rb deliver messages to all recipients in one job, closes #1 2011-02-22 16:23:58 -07:00
multipart.rb randomize multipart boundary 2011-03-28 10:51:34 -06:00
nil_store.rb Initial commit. 2011-01-31 18:57:29 -07:00
request_context_generator.rb add the session id to syslog lines 2011-05-23 08:19:24 -06:00
scribd_api.rb preliminary i18n setup, closes #4124 2011-06-06 14:19:03 -06:00
send_to_inbox.rb fix send_to_inbox for submission comments, closes #4898 2011-06-16 13:20:30 -06:00
send_to_stream.rb generate an error report for all errors, not just some of them 2011-05-11 10:36:56 -06:00
sis.rb cross list importing stub 2011-03-08 15:14:35 -07:00
skip_callback.rb avoid several sub-jobs during sis import refs #3752 2011-05-16 15:38:07 -06:00
ssl_common.rb sis grade publishing backend 2011-04-27 16:23:00 -06:00
stats.rb fix divide by zero on quiz statistics page 2011-06-21 08:00:07 -06:00
submission_list.rb preliminary i18n setup, closes #4124 2011-06-06 14:19:03 -06:00
summary_message_consolidator.rb Initial commit. 2011-01-31 18:57:29 -07:00
syslog_wrapper.rb fix syslog initializer 2011-06-04 15:23:50 -06:00
text_helper.rb localize PageViews 2011-06-24 10:40:14 -06:00
tinychat.rb moving tinychat config to /plugins; refs #4194 2011-06-01 22:04:26 -06:00
tmail_parser.rb Initial commit. 2011-01-31 18:57:29 -07:00
turnitin.rb support local storage in turnitin api, fixes #4796 2011-06-09 09:19:44 -06:00
twitter.rb add twitter to notification preferences 2011-06-14 11:57:48 -06:00
twitter_searcher.rb check all models for protecting attributes refs #3847 2011-05-25 17:38:50 -06:00
twitter_user_poller.rb fix syntax errors in twitter_user_poller 2011-06-15 10:43:57 -06:00
unzip_attachment.rb handle repeated qti imports of the same filename better, closes #4411 2011-04-29 12:33:31 -06:00
user_content.rb mathml for screen readers, refs #4362 2011-05-26 09:57:12 -06:00
uuid_singleton.rb Initial commit. 2011-01-31 18:57:29 -07:00
workflow.rb fix licensing on workflow library 2011-05-03 12:25:21 -06:00
xmlcanonicalizer.rb Initial commit. 2011-01-31 18:57:29 -07:00
zip_extractor.rb Initial commit. 2011-01-31 18:57:29 -07:00