canvas-lms/packages
Ed Schiebel 044846ef96 Refactor in preparation for publishing canvas-media on npm
closes MAT-108
flag=none

Primary changes revolved around getting canvas-media to talk to RCS
instead of directly to canvas. This necessitated passing more
info from canvas -> rce -> canvas-media so it can connect.

In the process, merged the 2 functions that uploaded closed captions
into one.

the change in root.js that lazy loads tinyRCE is to get the
canvas-rce bundle size below size limits, which it blew
after a rebase.

test plan:
  This should work with you config/dynamic_settings.yml
  development.config.canvas.rich-content-service.app-host
  value = 'http://host:port'
  or simply 'host:port'

  - in the RCE, upload a video with closed caption
    using the Media > Upload/Record command.
  > expect the video to show up with CC
  - edit the captions in the video options tray
  > expect the captions to be updated
  > bonus result: no console warning about missing file.name
    prop from ClosedCaptionPanel

  - in the RCE, open Upload Document and select
    a video.
  > expect the video to upload an show up.

  - create a media recording type assignment
  - enable the "Assignment Enhancements - Student" feature
  - as a student, visit the assignment
  - click the "Recort/Upload" button
  > expect the video upload and CC feature to work as expected
  > bonus fix: the CCs should be at the bottom of the video

Change-Id: I7b574bb67998072324954a6b481e0c4d3b3251de
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/264109
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Jeff Largent <jeff.largent@instructure.com>
QA-Review: Jeff Largent <jeff.largent@instructure.com>
Product-Review: Ed Schiebel <eschiebel@instructure.com>
2021-05-07 21:13:06 +00:00
..
array-erase rename some things 2021-04-06 01:12:49 +00:00
babel-preset-pretranslated-format-message Run prettier on packages/ 2019-10-11 19:29:16 +00:00
babel-preset-pretranslated-translations-package-format-message Use new translation package for packages 2020-01-03 20:34:46 +00:00
backbone-identity-map rename some things 2021-04-06 01:12:49 +00:00
backbone-input-filter-view rename some things 2021-04-06 01:12:49 +00:00
backbone-input-view rename some things 2021-04-06 01:12:49 +00:00
bootstrap-dropdown rename some things 2021-04-06 01:12:49 +00:00
bootstrap-select rename some things 2021-04-06 01:12:49 +00:00
browser-sniffer rename some things 2021-04-06 01:12:49 +00:00
browserslist-config-canvas-lms rename canvas-supported-browsers to browserslist-config-canvas-lms 2019-08-08 20:12:31 +00:00
canvas-media Refactor in preparation for publishing canvas-media on npm 2021-05-07 21:13:06 +00:00
canvas-planner Updates K-5 dashboard to use course colors 2021-04-23 13:55:09 +00:00
canvas-rce Refactor in preparation for publishing canvas-media on npm 2021-05-07 21:13:06 +00:00
compose rename some things 2021-04-06 01:12:49 +00:00
convert-case rename some things 2021-04-06 01:12:49 +00:00
date-js rename some things 2021-04-06 01:12:49 +00:00
defer-promise rename some things 2021-04-06 01:12:49 +00:00
deparam rename some things 2021-04-06 01:12:49 +00:00
ember rename some things 2021-04-06 01:12:49 +00:00
escape-regex rename some things 2021-04-06 01:12:49 +00:00
force-screenreader-to-reparse rename some things 2021-04-06 01:12:49 +00:00
get-cookie rename some things 2021-04-06 01:12:49 +00:00
html-escape rename some things 2021-04-06 01:12:49 +00:00
intl-polyfills rename some things 2021-04-06 01:12:49 +00:00
jest-moxios-utils add color output to packages/ test runners 2021-03-15 19:33:31 +00:00
jquery-fancy-placeholder rename some things 2021-04-06 01:12:49 +00:00
jquery-kyle-menu rename some things 2021-04-06 01:12:49 +00:00
jquery-pageless rename some things 2021-04-06 01:12:49 +00:00
jquery-popover rename some things 2021-04-06 01:12:49 +00:00
jquery-qtip rename some things 2021-04-06 01:12:49 +00:00
jquery-scroll-into-view rename some things 2021-04-06 01:12:49 +00:00
jquery-scroll-to-visible rename some things 2021-04-06 01:12:49 +00:00
jquery-selectmenu rename some things 2021-04-06 01:12:49 +00:00
jquery-sticky rename some things 2021-04-06 01:12:49 +00:00
jquery-tinypubsub rename some things 2021-04-06 01:12:49 +00:00
jquery-tree rename some things 2021-04-06 01:12:49 +00:00
jqueryui rename some things 2021-04-06 01:12:49 +00:00
js-utils link edit button to existing page 2021-04-28 17:14:50 +00:00
k5uploader Run prettier on packages/ 2019-10-11 19:29:16 +00:00
link-header-parsing rename some things 2021-04-06 01:12:49 +00:00
lodash-underscore rename some things 2021-04-06 01:12:49 +00:00
make-promise-pool rename some things 2021-04-06 01:12:49 +00:00
mathml Use parseFloat when stripping huge verticalAligns 2021-04-16 15:59:40 +00:00
obj-flatten rename some things 2021-04-06 01:12:49 +00:00
obj-select rename some things 2021-04-06 01:12:49 +00:00
obj-unflatten rename some things 2021-04-06 01:12:49 +00:00
old-copy-of-react-14-that-is-just-here-so-if-analytics-is-checked-out-it-doesnt-change-yarn.lock upgrade react from 15.x to 16.x 2018-09-26 19:04:47 +00:00
parse-browser-info rename some things 2021-04-06 01:12:49 +00:00
prevent-default rename some things 2021-04-06 01:12:49 +00:00
query-string-encoding rename some things 2021-04-06 01:12:49 +00:00
react-dnd-test-backend rename some things 2021-04-06 01:12:49 +00:00
ready Now that we have streaming, execute JS sooner 2019-09-19 23:10:43 +00:00
round rename some things 2021-04-06 01:12:49 +00:00
sanitize-html-with-tinymce rename some things 2021-04-06 01:12:49 +00:00
sanitize-url rename some things 2021-04-06 01:12:49 +00:00
shortid rename some things 2021-04-06 01:12:49 +00:00
slickgrid rename some things 2021-04-06 01:12:49 +00:00
str-pluralize rename some things 2021-04-06 01:12:49 +00:00
strip-tags rename some things 2021-04-06 01:12:49 +00:00
translations add color output to packages/ test runners 2021-03-15 19:33:31 +00:00
url-encoding rename some things 2021-04-06 01:12:49 +00:00
validated-apollo rename some things 2021-04-06 01:12:49 +00:00
with-breakpoints rename some things 2021-04-06 01:12:49 +00:00