canvas-lms/config/initializers
Brian Palmer b283bc3b87 formatting for ICS calendar events
Return the HTML as an ext ics attribute for those few clients that
support it (Outlook), and return better-formatted plain text for all
other clients.

closes #9107

Also refactor a bit.

test plan: add assignment and calendar events to the calendar with
links, formatted text, etc in their descriptions. Export the calendar
feed. In Outlook, you'll see the full HTML of the event. In most other
clients, you'll see a plain-text version of the description, but it'll
be much better formatted than it was before.

Change-Id: I50af1c407483d84c65ca285cbf364b6a303e0379
Reviewed-on: https://gerrit.instructure.com/11891
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
2012-07-02 11:05:48 -06:00
..
active_record.rb optimize add_foreign_key_if_not_exists 2012-06-27 13:29:41 -06:00
acts_as_list.rb don't add items to list if their scope is nil 2012-01-04 11:16:50 -07:00
authlogic_mods.rb make "stay logged in" use a one-time token 2011-11-22 10:15:13 -07:00
backtrace_silencers.rb Initial commit. 2011-01-31 18:57:29 -07:00
barista.rb move barista gems to the development Gemfile group 2011-10-11 10:42:33 -06:00
compass.rb update compass to 0.12.1 (via compass-rails 1.0.1) 2012-04-18 15:13:06 -06:00
connection_specification.rb fix class variable warnings in 1.9.3 2012-05-18 08:41:21 -06:00
delayed_job.rb move Delayed::Job priorities into the plugin 2011-12-15 16:18:16 -07:00
dropped_columns.rb finish fixing the spelling of limit_privileges_to_course_section 2012-06-20 13:36:14 -06:00
haml.rb Initial commit. 2011-01-31 18:57:29 -07:00
i18n.rb run pending locale changes during BasicLTI.generate. 2012-06-21 10:14:47 -06:00
icalendar.rb formatting for ICS calendar events 2012-07-02 11:05:48 -06:00
in-memory-test.rb support running specs in parallel 2011-06-15 15:18:42 -06:00
incoming_mail.rb fix another instance of job log file path changed, and log mailman to rails log 2011-05-31 12:01:35 -06:00
inflections.rb alerts, closes #4317 2011-08-24 10:19:44 -06:00
json.rb use built-in escape_html_entities_in_json support 2012-04-27 14:22:28 -06:00
mime_types.rb Initial commit. 2011-01-31 18:57:29 -07:00
new_rails_defaults.rb Initial commit. 2011-01-31 18:57:29 -07:00
outgoing_mail.rb allow disabling mail from outgoing_mail.yml 2012-03-15 09:20:06 -06:00
plugin_symlinks.rb Dir.mkdir -> FileUtils.makedirs 2012-06-27 22:41:34 -06:00
rack.rb limit quizzes to 1000 questions, increase key limit. fixes #8172 2012-04-23 14:47:34 -06:00
rails_patches.rb patch active_record for CVE-2012-2695 2012-06-13 09:48:44 -06:00
ruby_version_compat.rb add ruby 1.9 compat fixes 2012-05-18 08:40:54 -06:00
scribd_thumbnail.rb Initial commit. 2011-01-31 18:57:29 -07:00
selenium_server_setup.rb fix file upload selenium tests 2011-05-06 15:03:56 -06:00
session_store.rb encrypted/compressed/expiring cookie session store 2012-05-17 17:12:41 -06:00
sqlite_savepoint.rb make sure users and pseudonyms get added together 2011-06-14 10:46:54 -06:00
stubs.rb initial sharding stubs 2012-01-03 12:29:29 -07:00
time.rb %-d instead of %e in date formatting 2012-06-07 10:19:22 -06:00
will_paginate.rb avoid page_views counts for users 2012-04-19 15:31:20 -06:00