canvas-lms/lib
Brian Palmer 132566290f use defined submission json format in conversations api
The conversations API had made up its own submission response format,
rather than using the standard submission formatting already used by
other API calls.

fixes #6289

testplan:
  * as a teacher, create a conversation with a student
  * create an assignment, and have the teacher and/or student comment on
    the assignment submission
  * verify those comments still appear in the conversations web ui
    verify that the submission and comments now come back in the api
    using the same format as the submissions api, with assignment and
    comment data included
  * make more than 10 comments, verify that only 4 are displayed at
    first, then 10 total, and a link provided to view the full submission.

Change-Id: I05a37a1498fa3d6a1ab908c462a04d28f2854eb8
Reviewed-on: https://gerrit.instructure.com/6852
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jon Jensen <jon@instructure.com>
2011-11-10 17:00:24 -07:00
..
api/v1 use defined submission json format in conversations api 2011-11-10 17:00:24 -07:00
basic_lti implement blti extensions 0.0.4 outcome service, refs #5892 2011-11-08 08:25:20 -07:00
canvas enforce nonce and timestamp in lti outcome requests 2011-11-04 09:42:51 -06:00
cc fix localjumperror in new html rewriter refactor; fixes #5964 2011-10-15 19:28:14 -06:00
ext csv lib compat in ruby 1.9.x 2011-10-12 09:36:18 -06:00
handlebars register handlebars templates even if not require()d 2011-11-09 12:18:39 -07:00
i18n_extraction extractor support for I18n as a module 2011-11-07 12:49:44 -07:00
kaltura rewrite user content in the api for file links and media comments 2011-10-10 15:05:28 -06:00
reporting replace ActiveRecord::Base calls with subclass calls where it makes sense 2011-07-18 13:56:08 -06:00
sis don't send merge notifications to users that can't login 2011-11-01 09:36:09 -06:00
tasks remove the new wiki page notification 2011-11-08 12:46:05 -07:00
api.rb translate user content in discussion topics api 2011-11-10 12:05:52 -07:00
api_route_set.rb launch lti tool when viewing external_tool assignment 2011-11-04 09:42:13 -06:00
api_routes.rb don't require loading the whole rails stack to generate api docs 2011-07-19 14:15:39 -06:00
authentication_methods.rb pre-fill the correct unique_id when confirming cc's refs #5833 2011-11-09 14:58:29 -07:00
auto_handle.rb use ActiveSupport::SecureRandom when generating random tokens 2011-07-18 14:44:59 -06:00
basic_lti.rb implement blti extensions 0.0.4 outcome service, refs #5892 2011-11-08 08:25:20 -07:00
canvas.rb use the redis data instance rather than rails cache for oauth codes 2011-08-10 13:10:49 -06: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 remove deprecated ruby syntax 2011-09-27 10:28:22 -06:00
copy_authorized_links.rb Initial commit. 2011-01-31 18:57:29 -07:00
custom_validations.rb adding content tag url validation 2011-11-09 13:38:42 -07:00
cutycapt.rb add some url filtering to cutycapt websnap processing 2011-09-06 14:46:14 -06:00
delicious_diigo.rb Initial commit. 2011-01-31 18:57:29 -07:00
enrollments_from_user_list.rb refactor user creation/invitations closes #5833 2011-10-24 12:07:08 -06: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
google_doc_entry.rb fixing google doc deletion. refs #5796 2011-10-31 17:13:06 -06:00
google_docs.rb update oauth lib to 0.4.5 and our usage to oauth 1.0a 2011-11-01 12:08:10 -06:00
grade_calculator.rb explicit utc db times in update_all 2011-08-30 16:46:25 -06:00
gradebook_csv_parser.rb csv lib compat in ruby 1.9.x 2011-10-12 09:36:18 -06:00
gradebook_importer.rb handle ids as strings on gradebook csv imports 2011-11-10 10:49:17 -07:00
has_content_tags.rb Initial commit. 2011-01-31 18:57:29 -07:00
host_url.rb partially revert "force domain.yml config in test env" 2011-10-13 11:43:27 -06:00
i18n_time_zone.rb localize Profile 2011-06-24 09:32:53 -06:00
imported_html_converter.rb recoginize urls with a '+' for spaces on html import 2011-07-18 10:55:13 -06:00
incoming_message_processor.rb fix incoming message processing; fixes #5962 2011-10-15 11:30:42 -06:00
linked_in.rb update oauth lib to 0.4.5 and our usage to oauth 1.0a 2011-11-01 12:08:10 -06:00
locale_selection.rb localize notifications according to user's locale (or browser_locale) 2011-08-03 13:13:29 -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 folder_controller optimizations stopped sending filename field 2011-08-04 16:49:55 -06:00
mutable.rb add "mute" function to assignments. fixes #5101 2011-09-30 17:28:25 -06:00
nil_store.rb Initial commit. 2011-01-31 18:57:29 -07:00
request_context_generator.rb log context when using local rails buffered logger 2011-07-25 13:25:18 -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 new generic-format importer classes 2011-09-26 11:24:58 -06:00
skip_callback.rb refactor sticky sis fields 2011-09-27 16:34:37 -06:00
ssl_common.rb support funky characters in username/passwords for http url parsing 2011-09-08 14:21:50 -06:00
stats.rb fix divide by zero on quiz statistics page 2011-06-21 08:00:07 -06:00
sticky_sis_fields.rb allow sis imports to make things sticky or clear stickiness altogether 2011-10-13 10:54:58 -06:00
submission_list.rb display gradebook history properly. fixes #6051 2011-10-24 12:25:27 -06:00
summary_message_consolidator.rb explicit utc db times in update_all 2011-08-30 16:46:25 -06:00
syslog_wrapper.rb log context when using local rails buffered logger 2011-07-25 13:25:18 -06:00
text_helper.rb truncate text to max bytes; fixes #5881 2011-10-10 08:30:19 -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 assignment-level turnitin settings, closes #4938 2011-09-27 16:02:01 -06:00
twitter.rb update oauth lib to 0.4.5 and our usage to oauth 1.0a 2011-11-01 12:08:10 -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 twitter poller x-ratelimit-reset handling 2011-08-24 15:15:41 -06:00
unzip_attachment.rb set max_attempts to 1 for submit_to_scribd 2011-10-15 08:06:00 -06:00
user_content.rb allow basic lti links from arbitrary content 2011-11-07 12:38:19 -07:00
user_list.rb refactor user creation/invitations closes #5833 2011-10-24 12:07:08 -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