Go to file
Ryan Shaw 2b8e4c1c2e don’t include really old timezone data in JS bundle
closes: CORE-2770

we don’t need timezone data from before canvas was created (pre 2011)
or, realistically, 15 years from now. by using this
moment-timezone-data-webpack-plugin we can strip them out of our webpack
bundle and our common vendor JS file will be smaller.

and smaller js bundles = faster page loads

test plan:
* try to think of a compelling reason why we would need to properly
  handle timezone weirdness that is either older than 2011 or more than
  15 years from now
* if you can think of something, then we can’t do this
* run the prod webpack build, the vendor file should be smaller

Change-Id: I1823fb48cc14bc0687f5222d7f4344118825698e
Reviewed-on: https://gerrit.instructure.com/188810
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
Reviewed-by: Brent Burgoyne <bburgoyne@instructure.com>
QA-Review: Steven Burnett <sburnett@instructure.com>
Product-Review: Brent Burgoyne <bburgoyne@instructure.com>
2019-04-11 21:32:03 +00:00
.github Auto-assign github pull requests 2019-01-25 20:56:46 +00:00
Gemfile.d bump switchman-inst-jobs 2019-04-10 20:25:14 +00:00
app Make discussions index faster by pre`fetch`ing 2019-04-11 20:59:46 +00:00
bin spec: add scripts to publish to public pact broker 2018-10-19 02:23:04 +00:00
build Smoke test docker image 2019-04-05 14:25:16 +00:00
client_apps Comment out failing test for canvas_quizzes package 2019-04-09 22:35:58 +00:00
config use master for update all 2019-04-10 01:30:33 +00:00
db/migrate convert SRT content to WBVTT 2019-04-11 20:12:45 +00:00
doc Update API change log 2019-04-20 2019-04-04 18:43:14 +00:00
docker-compose Smoke test docker image 2019-04-05 14:25:16 +00:00
frontend_build don’t include really old timezone data in JS bundle 2019-04-11 21:32:03 +00:00
gems make helper to load communication_channels 2019-04-11 19:41:48 +00:00
hooks fix pre-commit hook with unfixable eslint error 2018-11-27 23:28:12 +00:00
jest Upgrade to babel 7 & allow any js file to be themeable 2019-04-02 14:59:20 +00:00
lib convert SRT content to WBVTT 2019-04-11 20:12:45 +00:00
packages update locales with new translations 2019-04-10 10:42:52 +00:00
pact Include context_name in planner item response 2018-08-29 22:20:52 +00:00
public Rm chevron_chrumbs.scss, nothing uses it 2019-04-11 20:51:29 +00:00
script add json version of javascript coverage report to build 2019-02-26 16:34:58 +00:00
spec convert SRT content to WBVTT 2019-04-11 20:12:45 +00:00
.bowerrc introduced bower to manage js dependencies 2013-12-13 17:45:57 +00:00
.codeclimate.yml disable ESLint in code climate 2017-02-14 17:47:39 +00:00
.dockerignore fix canvas-planner docker build process 2018-04-17 14:44:18 +00:00
.editorconfig Add EditorConfig configuration file to help maintain code style 2016-11-15 20:08:55 +00:00
.eslintignore ESLint standardization 2018-11-06 17:46:21 +00:00
.eslintrc.js Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
.gitignore Upgrade canvas-planner & rce to not use ui-presets 2019-03-18 20:48:42 +00:00
.i18nignore bump rails 3 to github branch for ruby 2.2 compatibility 2015-02-18 22:55:20 +00:00
.i18nrc upgrade to node 6 2016-08-09 23:37:07 +00:00
.lintstagedrc.js Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
.npmrc fix brand config previewing and skipping 2015-10-27 16:16:15 +00:00
.nvmrc Bump to Node 10 2019-03-22 17:29:36 +00:00
.prettierrc Add .prettierrc so it matches our existing code 2017-11-03 16:21:50 +00:00
.prettierwhitelist.js add shared components to eslint + prettier formatting 2019-03-05 20:12:40 +00:00
.rubocop.yml spec: remove ExpectChange and TimesMap 2018-08-31 14:53:41 +00:00
.selinimumignore Revert and bring InstIcons into Canvas 2016-11-29 20:52:54 +00:00
.stylelintrc Lint for css that will break RTL 2018-10-17 20:21:25 +00:00
.travis.yml more travis builds 2014-02-10 16:23:19 +00:00
CONTRIBUTING.md Add CLA FAQ from legal 2018-01-22 16:41:44 -05:00
COPYRIGHT Initial commit. 2011-01-31 18:57:29 -07:00
Dockerfile Bump to Node 10 2019-03-22 17:29:36 +00:00
Dockerfile-production Bump to Node 10 2019-03-22 17:29:36 +00:00
Dockerfile.githook Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
Gemfile allow choosing rails 5.1 via consul 2017-10-11 19:13:02 +00:00
Jenkinsfile Smoke test docker image 2019-04-05 14:25:16 +00:00
LICENSE Initial commit. 2011-01-31 18:57:29 -07:00
README.md Update README.md since Canvas is still modern 2016-12-15 03:18:28 +00:00
Rakefile remove dead parallelized specs task 2016-11-10 21:41:08 +00:00
babel.config.js add @babel/plugin-transform-react-inline-elements 2019-04-11 21:01:51 +00:00
bower.json spec: remove ember-qunit 2018-07-13 14:24:41 +00:00
code_of_conduct.md contributor code of conduct 2014-12-23 18:13:59 +00:00
config.ru remove extra logging to debug Passenger connection orphan issue 2017-07-14 16:27:03 +00:00
docker-compose.jenkins.yml Have the RCE sidebar useable on Jenkins 2018-11-21 17:15:20 +00:00
docker-compose.new-jenkins.yml Smoke test docker image 2019-04-05 14:25:16 +00:00
docker-compose.override.yml Add precommit hook for auto fixing files 2018-11-27 21:07:31 +00:00
docker-compose.yml Use redis:alpine 2017-07-31 22:31:40 +00:00
gulpfile.js upgrade instUI to 5.41.1 2019-02-09 15:52:58 +00:00
issue_template.md Make issue template disclaimer a comment 2018-05-01 15:00:27 +00:00
jest.config.js Upgrade to babel 7 & allow any js file to be themeable 2019-04-02 14:59:20 +00:00
karma.conf.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
package.json don’t include really old timezone data in JS bundle 2019-04-11 21:32:03 +00:00
schema.graphql A2: add user search to submissions in graphql 2019-04-05 19:56:42 +00:00
webpack.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
webpack.production.config.js upgrade tinymce to 5.x 2019-04-05 19:17:03 +00:00
webpack.test.config.js Opt our js build tooling dirs into prettier 2018-11-07 22:46:16 +00:00
yarn.lock don’t include really old timezone data in JS bundle 2019-04-11 21:32:03 +00:00

README.md

Canvas LMS

Canvas is a modern, open-source LMS developed and maintained by Instructure Inc. It is released under the AGPLv3 license for use by anyone interested in learning more about or using learning management systems.

Please see our main wiki page for more information

Installation

Detailed instructions for installation and configuration of Canvas are provided on our wiki.