canvas-lms/lib
Simon Williams 7418d289c6 force cuty_capt to send 'Accept-Language:en'
the default accept language header that cuty capt sends does not play nicely
with canvas' locale selection.  so for now, force it to send 'en'.  in the
future it would be nice to have it send the user's configured locale, if it
exists.

fixes CNVS-8421

test plan:
- on a machine with the fix applied, and with cuty capt enabled
- submit a url assignment that points to a canvas installation
  * note: the submitted url does not need the fix applied, just the requester
- the screenshot should be in english

Change-Id: I56a534d4d1eaed92c2615ea500b5960708e49112
Reviewed-on: https://gerrit.instructure.com/24716
QA-Review: Amber Taniuchi <amber@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cameron Sutter <csutter@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2013-10-01 14:12:51 +00:00
..
api/v1 Add a permission option in the api to return if the user can create topics. 2013-09-30 14:32:48 +00:00
app_center added the ability for users to review app center apps 2013-06-04 19:16:20 +00:00
auditors start/end times for authentications audit log API 2013-07-21 21:07:11 +00:00
basic_lti use IANA timezone for LTI variable, and only in standard variable 2013-09-25 22:03:01 +00:00
bookmarked_collection normalize group sorting, add SimpleBookmarker for common case 2013-07-12 23:09:50 +00:00
canvas properly handle exceptions in reserve_capacity 2013-09-23 19:53:53 +00:00
cc fix typo in module definition 2013-09-23 15:57:26 +00:00
data_fixup remove AddWorkflowStateForQuizQuestions migration 2013-09-20 14:57:08 +00:00
event_stream ttl_seconds should take timestamp, not record 2013-08-12 18:11:28 +00:00
ext remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
handlebars updated ember to 1.0.0 2013-09-05 16:46:33 +00:00
i18n make sure LOCALES are respected in i18n:generate_js 2013-08-16 19:59:11 +00:00
i18n_extraction better i18n wrapper inference 2013-05-15 15:25:40 +00:00
incoming_mail add timeouts to incoming message processor 2013-09-25 16:47:02 +00:00
kaltura make content exports with media files more robust 2013-08-29 14:02:20 +00:00
messageable_user avoid unnecessary sql join when possible 2013-09-12 22:27:21 +00:00
quiz_regrading fix regrading partially correct multiple answer questions and questions in groups 2013-09-13 23:06:45 +00:00
reporting remove last_activity from CountsReport 2013-07-05 21:41:31 +00:00
sis validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
stubs allow AR::Base objects in Shard.*_id_for stubs 2013-07-22 23:22:03 +00:00
tasks spec: selenium splitting 2013-09-26 23:06:55 +00:00
api.rb module sequence api 2013-08-22 20:30:28 +00:00
api_route_set.rb integrate fake_rails3_routes 2013-06-26 21:22:20 +00:00
api_routes.rb integrate fake_rails3_routes 2013-06-26 21:22:20 +00:00
asset_signature.rb Better signatures for message redirects 2012-12-13 12:12:58 -07:00
assignment_override_applicator.rb cheap hack to skip overriding assignments 2013-07-26 21:43:01 +00:00
attr_config.rb EventStream abstraction 2013-04-19 19:05:14 +00:00
authentication_methods.rb implement protection against HTTPS BREACH attack 2013-08-23 19:48:20 +00:00
auto_handle.rb switch to ruby stdlib SecureRandom 2013-03-28 20:49:31 +00:00
basic_lti.rb add lti variable substitution support 2013-06-07 15:49:47 +00:00
bookmarked_collection.rb normalize group sorting, add SimpleBookmarker for common case 2013-07-12 23:09:50 +00:00
browser.rb don't warn browsers we don't recognize, fixes CNVS-4754 2013-03-20 22:16:16 +00:00
canvas.rb add timeouts to incoming message processor 2013-09-25 16:47:02 +00:00
canvas_logger.rb fix CanvasLogger for rails 3.1+ 2013-04-01 18:41:20 +00:00
canvas_time.rb make fancy midnight work for assignment overrides 2013-03-07 15:53:06 -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 make Assignment#group_students return distinct students 2013-09-03 23:09:18 +00:00
copy_authorized_links.rb Initial commit. 2011-01-31 18:57:29 -07:00
custom_validations.rb API for adding files by URL 2012-08-15 16:38:50 -06:00
cuty_capt.rb force cuty_capt to send 'Accept-Language:en' 2013-10-01 14:12:51 +00:00
dates_overridable.rb edit assignments and multiple due dates in the new index page 2013-09-06 18:16:39 +00:00
delicious_diigo.rb fix cert verification in delicious calls 2011-11-18 09:12:03 -07:00
due_date_cacher.rb fix mysql problems with boolean cast and temp tables 2013-07-26 19:38:23 +00:00
ember_bundle.rb updated ember to 1.0.0 2013-09-05 16:46:33 +00:00
enrollments_from_user_list.rb batch up due date cachers during user list 2013-09-12 20:08:44 +00:00
eportfolio_page.rb arel-ify lib 2013-04-01 19:12:22 +00:00
event_stream.rb create foo_index accessor when adding index :foo 2013-08-12 18:39:59 +00:00
external_feed_aggregator.rb remove import and external_feed_id from calendar_events. 2013-04-22 22:19:00 +00:00
external_statuses.rb Initial commit. 2011-01-31 18:57:29 -07:00
facebook.rb facebook list view fixed by replacing attribute being called 2013-05-01 20:58:19 +00:00
file_in_context.rb preserve module file items when overwriting files via zip 2012-09-14 13:54:38 -06:00
file_splitter.rb Initial commit. 2011-01-31 18:57:29 -07:00
google_doc_entry.rb support for lazy loading google docs (backend) 2013-02-20 15:30:59 -07:00
google_docs.rb fixed issue where google doc collaboration links are broken 2013-03-12 15:36:42 -06:00
grade_calculator.rb only select necessary columns for gradecalculator 2013-06-06 20:46:35 +00:00
gradebook_csv_parser.rb remove 1.8 compatibility shims 2013-05-03 01:43:52 +00:00
gradebook_importer.rb replace to_json overrides with as_json overrides 2013-08-29 22:39:32 +00:00
has_content_tags.rb show unlock date for files and pages in locked modules 2013-08-02 18:19:45 +00:00
host_url.rb spec: fix specs with a plugin that overrides HostUrl.file_host_with_shard 2012-11-12 15:50:46 -07:00
i18n_import.rb switch out i18n backend, closes CNVS-5938 2013-06-06 18:11:28 +00:00
i18n_time_zone.rb localize Profile 2011-06-24 09:32:53 -06:00
imported_html_converter.rb add timeout for bulk media upload on import 2013-08-23 19:11:27 +00:00
json_token.rb JSONToken helper module 2013-01-18 09:49:28 -07:00
kaltura.rb set a .csv file extension when using kaltura bulk api 2013-02-16 08:40:21 -07:00
learning_outcome_context.rb Nested outcomes UI, closes #9158 2012-10-25 11:03:21 -06:00
linked_in.rb don't cache twitter and linked_in settings process-wide 2012-05-25 10:13:03 -06:00
locale_selection.rb tweak tie-breaking logic for Accept-Language header 2013-09-17 21:56:36 +00:00
logging_filter.rb fix logging parameter filtering in rails 3.1+ 2013-04-01 18:41:08 +00:00
message_dispatcher.rb don't dispatch cancelled messages, fixes #7397 2012-02-24 12:21:21 -07:00
messageable_user.rb proper handling of cross-shard admin visibility 2013-06-21 20:40:00 +00:00
model_cache.rb fixes for ruby 1.9.3 2012-05-12 14:34:23 -06:00
multipart.rb spec: fix multipart form builder StringIO filename in 1.8 2013-02-14 12:34:48 -07:00
mutable.rb finish removing course.publish_grades_immediately 2013-06-04 18:11:08 +00:00
nil_store.rb get rspec 2 running with rails 3.0 2013-03-27 15:41:28 +00:00
notification_message_creator.rb cancel messages against the correct shard 2013-07-31 09:38:33 -06:00
paginated_collection.rb bookmarked pagination, including multi-shard 2013-01-22 09:41:18 -07:00
permissions.rb allow registering new permissions in plugins 2012-03-02 09:38:06 -07:00
progress_runner.rb add a batch_update method to conversations api 2013-02-14 09:36:36 -07:00
quiz_question_data_fixer.rb quiz questions now soft-delete 2013-09-18 20:15:46 +00:00
quiz_question_link_migrator.rb don't die if a file or question is missing 2011-11-22 17:36:40 -07:00
quiz_regrading.rb add the ability to regrade a quiz 2013-08-19 17:29:26 +00:00
quiz_submission_zipper.rb add ability to download all file uploads for a quiz as a zip 2013-05-16 21:14:19 +00:00
reply_to_address.rb add multiple reply-to support to outgoing mail. 2013-02-22 14:02:27 -07:00
request_context_generator.rb set a header with the session id (for logging purposes) 2012-07-13 16:12:33 -06:00
rubric_context.rb preserve account-level rubric associations on course copy 2013-06-19 19:23:48 +00:00
scribd_api.rb fix up scribd config setting and caching 2013-07-01 19:42:47 +00:00
search_term_helper.rb add search_term to files, modules, and module item apis 2013-08-02 20:12:04 +00:00
send_to_inbox.rb fix inbox_item creation with too-long of subjects 2012-09-20 13:03:26 -06:00
send_to_stream.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
simple_stats.rb quiz item analysis generation, closes CNVS-3421 2013-04-23 15:50:36 +00:00
simple_tags.rb arel-ify lib 2013-04-01 19:12:22 +00:00
sis.rb remove unnecessary lib/sis requires 2013-04-02 15:58:29 +00:00
skip_callback.rb refactor sticky sis fields 2011-09-27 16:34:37 -06:00
sorts_assignments.rb make "Upcoming Assignments" lists vdd aware 2013-02-06 13:21:58 -07:00
ssl_common.rb support funky characters in username/passwords for http url parsing 2011-09-08 14:21:50 -06:00
stats.rb fixed calculation of variance and standard deviation 2013-05-09 18:50:05 +00:00
sticky_sis_fields.rb [#5773] Ruby 1.9.3 spec fixes 2012-10-25 09:34:28 -06:00
submission_list.rb arel-ify lib 2013-04-01 19:12:22 +00:00
summary_message_consolidator.rb switch to Shackles gem 2013-04-17 16:25:06 +00:00
syslog_wrapper.rb log context when using local rails buffered logger 2011-07-25 13:25:18 -06:00
text_helper.rb prevent incompatible character encodings errors 2013-06-25 19:13:13 +00:00
time_helper.rb calendar events api: fix date boundary handling 2013-02-06 13:49:45 -07:00
time_zone_helper.rb return time zone in user profile api 2013-07-25 16:46:32 +00:00
tinychat.rb remove deprecated rails constant usage 2013-03-11 12:14:08 -06:00
tmail_parser.rb Initial commit. 2011-01-31 18:57:29 -07:00
tour.rb added front-end to tour guide 2013-07-18 21:55:05 +00:00
turnitin.rb configurable turnitin api endpoint 2013-07-08 20:25:41 +00:00
twitter.rb update twitter api to v1.1. 2013-03-01 15:09:02 -07:00
twitter_messenger.rb twitter link sending to correct url 2013-04-26 16:02:03 +00:00
unzip_attachment.rb don't submit imported/unzipped attachments to scribd 2013-09-18 19:03:17 +00:00
user_content.rb copy links to wiki pages that start with numbers correctly 2013-03-15 14:30:58 -06:00
user_list.rb validate nullness in the db on a bunch of columns 2013-09-12 22:20:39 +00:00
user_merge.rb don't load entire submissions and quiz_submissions into memory 2013-06-07 22:31:28 +00:00
user_search.rb prevent students from searching by user login/sis id 2013-08-15 15:55:17 +00:00
uuid_singleton.rb Initial commit. 2011-01-31 18:57:29 -07:00
workflow.rb change class_inheritable_accessor and write_inheritable_hash to class_attribute 2013-04-01 18:41:30 +00:00
zip_extractor.rb Initial commit. 2011-01-31 18:57:29 -07:00