Commit Graph

16444 Commits

Author SHA1 Message Date
Ryan Shaw f6edb77702 s/jammit_css/css_bundle
with the new css stuff, we don't actually use
jammit so jammit_css has been renamed to css_bundle.

we left an aliased jammit_css and marked it deprecated
so these all still worked but spit out a deprecation warning.

Change-Id: Ib74037711f559f64851d9379644479587c1f83f2
Reviewed-on: https://gerrit.instructure.com/55888
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Jenkins
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-07 21:26:35 +00:00
MFairbourn 8049fe374f adds new ePortfolio spec for opening the wizard, updates priorities and testcase IDs of ePortfolio specs
TestPlan:
-Passes Jenkins
-Check for syntax errors

Change-Id: Iff9116cc5bd52e01f2fb3f99dbfdd79a6924717a
Reviewed-on: https://gerrit.instructure.com/57871
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
Tested-by: Jenkins
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-07-07 21:15:32 +00:00
Ryan Shaw d7d3ccf9e3 extract smartbanner out of 'common' into it's own bundle
this change does a few things:
* removes 'smartbanner' from the 'common' css and
  js bundles into it's own that is only loaded on
  android devices.  (this is a win since we only
  use it for android anyway so we won't be sending
  that needless css/js on every page load now)
* uses bower to load 'smartbanner'. this is good
  since it makes upgrading easier and makes it clear
  where the separation of our code and vendor code is.
* now, there are no files in our repo that are just
  copy-pasted from 'smartbanner'

test plan:

* load canvas on a web browser on an android device,
  it should show the "install the canvas native app"
  just like it used to.
* load canvas on a normal browser, the banner should
  not appear.
* aka, there is no observable change to users.

Change-Id: Ifed35a255d774a9148a90b1daf7b4c8e09af91ce
Reviewed-on: https://gerrit.instructure.com/54806
Tested-by: Jenkins
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-07 20:54:15 +00:00
Robert Lamb 2cc4425037 Add more test case IDs.
Change-Id: Ice39c928610c23db9f04d31b32019bbc6d96c2c6
Reviewed-on: https://gerrit.instructure.com/57590
Tested-by: Jenkins
Reviewed-by: Derek Hansen <dhansen@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-07-07 20:42:04 +00:00
Ryan Shaw 8a5cb75d66 fix script/canvas_update to work with brandable_css
we no longer use `npm run compile-sass` to do css.

also, css must happen before handlebars.

besides, all the js, css, styleguide and docs stuff
is handled by rake canvas:compile_assets already.
and in a way that whatever can run concurrently, 
will. 
(although, admittedly, the syntax to pass arguments 
to a rake task, e.g.: [0,0,1,0] is pretty lame)

Change-Id: I83c8ceb21b476456f47f3ec37d4ba6088ca68088
Reviewed-on: https://gerrit.instructure.com/57768
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
2015-07-07 20:41:28 +00:00
James Williams 4b9edc5950 don't load section tabs on every course menu load
should improve performance for all pages

test plan:
* regression test dashboard cards

refs #CNVS-21317

Change-Id: Id6506c2f31ecb45b9d32a01c8e0a3534be76851e
Reviewed-on: https://gerrit.instructure.com/57642
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-07-07 20:36:59 +00:00
James Williams 291d10c52f rails4: fix content_zipper_spec
refs #CNVS-21596

Change-Id: Ie6cdbd1c6d8ee8625f63fae60e141570c6ea0307
Reviewed-on: https://gerrit.instructure.com/57815
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-07 20:30:43 +00:00
James Williams 0b4f879ecb rails4: set active_record.whitelist_attributes to false
refs #CNVS-21596

Change-Id: Ie7c46ac6d5f7bac068eeeb6ca7ec971b414ed8e2
Reviewed-on: https://gerrit.instructure.com/57856
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-07 20:30:31 +00:00
MFairbourn 3e66689fab Updated Specs in the teacher_quizzes_spec.rb
Test Plan:
-Should pass jenkins
-Check for syntax errors

Change-Id: I7ed80c3438cf5f1abedf5f3bda1919908d2cda89
Reviewed-on: https://gerrit.instructure.com/57849
Reviewed-by: Pedro Fajardo <pfajardo@instructure.com>
Tested-by: Jenkins
Product-Review: Matt Fairbourn <mfairbourn@instructure.com>
QA-Review: Matt Fairbourn <mfairbourn@instructure.com>
2015-07-07 19:44:21 +00:00
Ryan Shaw eb776261d5 don't use symlinks to @include bower/vendor css
the new version of node-sass that we are using
understands how to @impor files that have .css
extensions directly.  we used to have to do a hack
where we create a symlink to the .css file from
a file with a .scss file extension. but we
don't have to do that now

Change-Id: I81f2e57a33aaa1e19e03f2d6c6d9cc0679d4bce1
Reviewed-on: https://gerrit.instructure.com/54807
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Tested-by: Jenkins
Reviewed-by: Colleen Palmer <colleen@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-07 18:54:13 +00:00
Derek Hansen c260fc2398 Fixed a hashrocket I missed in my last commit
Change-Id: Iff63461552af0afc5822c7608a370aa930d5a913
Reviewed-on: https://gerrit.instructure.com/57735
Reviewed-by: Steven Shepherd <sshepherd@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
Tested-by: Jenkins
2015-07-07 17:35:53 +00:00
Derek Hansen 0626907836 Removed two dupliate specs
Change-Id: I75210954fc673886ea500aa909f4706c5284ad25
Reviewed-on: https://gerrit.instructure.com/57713
Reviewed-by: Pedro Fajardo <pfajardo@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
Tested-by: Jenkins
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-07-07 17:35:42 +00:00
Rob Orton cebcc0b15b allow course_search end point without catalog enabled
fixes CNVS-20972

test plan
 - go to /api/v1/search/all_courses
 - it should not 404

Change-Id: Iaafb4ba8f2cecbd558be089e79291f08c80da6aa
Reviewed-on: https://gerrit.instructure.com/57553
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Braden Anderson <braden@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>
2015-07-07 17:05:33 +00:00
Ryan Shaw 7df65d1207 don't show "return to them editor" inside editor
fixes: CNVS-21435

test plan
go to theme editor, 
make a change and hit preview
make sure the banner looks like http://cl.ly/image/2c3G0Z1R2k1J
and not: http://cl.ly/image/3w360M1g1P3l


Change-Id: I519ba1709320b959460cd28df99857771f74e98b
Reviewed-on: https://gerrit.instructure.com/57558
Tested-by: Jenkins
Reviewed-by: Colleen Palmer <colleen@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-07 16:54:23 +00:00
James Williams 54747aa52e spec: fix handlebars_ember_spec
Change-Id: Ib3afb3958e8304962f01fa26fce1960779c47070
Reviewed-on: https://gerrit.instructure.com/57821
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-07 16:33:19 +00:00
James Williams 99f94e2f44 add date based restriction options to sis grade export endpoint
test plan:
* create courses with assignments retrievable through the endpoint
 created in g/54418
* should be able to use the start_at and end_at arguments
 (should be in the API documentation)
 to restrict the list of course_ids to courses that lie
 within those dates

refs #SIS-1124

Change-Id: I8cce47beb062d52ce29e6728cc3e6170ad1e411a
Reviewed-on: https://gerrit.instructure.com/56370
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-07-07 14:10:34 +00:00
Transifreq d2718bc197 Updated nl translation
Change-Id: Ibb9914b9231e396b69244360c55b8e14162c8978
2015-07-07 05:24:18 -06:00
Transifreq 1fcf301bb7 Updated es translation
Change-Id: I0e9b30ba96d44330b953ea473b488be5604c6e59
2015-07-07 05:15:52 -06:00
Transifreq b3fa363fc2 Updated en-GB translation
Change-Id: Ifc7cc508b0059119d0e4584c37e4ca272c02bfd1
2015-07-07 05:14:22 -06:00
Transifreq 60f475e0d0 Updated en-AU translation
Change-Id: I109831451fbe67e456d8f5b1f5bb926514dd6056
2015-07-07 05:12:52 -06:00
Transifreq 7f63820ec7 Updated ar translation
Change-Id: I583e44e10b034f784ae6c9643558bb961694db99
2015-07-07 05:08:35 -06:00
Cody Cutrer 36384c30e4 bump allowed bundler version
Change-Id: Ie2f8df88597a97c87fa0a1da6ee641956fb14a7d
Reviewed-on: https://gerrit.instructure.com/57808
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-07-07 03:24:28 +00:00
Ryan Shaw 6d55178bf7 raise if dress_code had errors
I was running rake canvas:compile_assets
and dress_code was failing but it just continued on as if it was successful

Change-Id: I20e56e5228421b1d01a92ffefd0c56146fb18b35
Reviewed-on: https://gerrit.instructure.com/57556
Tested-by: Jenkins
Reviewed-by: Colleen Palmer <colleen@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-07 00:04:22 +00:00
Ryan Shaw 9b5dcf918a fix problem in conversations#index
I think the problem that we were getting was because
we added guard-gulp to our development gemfile
and it maybe require's mkmf, which adds the
.with_config scope.

test plan:
* go to conversations in dev mode, it should work
* run `bundle exec guard`, it should work
* with guard running, change a coffee/js file
* guard should see the change and regenerate the appropriate file
  and you should see gulp 'rev' run.

Change-Id: Ia43e9436e19b32eb3959f6f2d9c2d8d7674aa109
Reviewed-on: https://gerrit.instructure.com/57777
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Reviewed-by: Matthew Wheeler <mwheeler@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-07 00:03:21 +00:00
Cody Cutrer 11d8f4a019 bump rspec-rails
Change-Id: Ibe94e273fd3df1088db01c115581658f1300d25e
Reviewed-on: https://gerrit.instructure.com/57730
Tested-by: Jenkins
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-07-06 23:13:42 +00:00
James Williams c6afbf3f50 spec: fix failing ember focusout tests
Change-Id: Ib4094d41d6fe30b9cf4393145496c81971f6e96f
Reviewed-on: https://gerrit.instructure.com/57774
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-06 20:38:19 +00:00
James Williams 566e7aceda bump moodle2cc version to 0.2.21
adds question point conversion for moodle 2

test plan:
* import the package referenced in the ticket
* not all quiz questions should be imported as 1 point

closes #CNVS-20904

Change-Id: I40c29fb229617d57d5012bc662e6803c2cd3bef7
Reviewed-on: https://gerrit.instructure.com/56112
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Tested-by: Jenkins
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-07-06 20:19:28 +00:00
James Williams 1b98577b5d rails4: fix activerecord all_models
fixes a circular dependency error trying to load
 AccountAuthorizationConfig::CAS

refs #CNVS-21596

Change-Id: I65f92e2cc09228f19363b1964e063a2a5fcde037
Reviewed-on: https://gerrit.instructure.com/57645
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-06 17:17:46 +00:00
James Williams 95ff5d5b47 rails4: fix migration with unnecessary id column call
refs #CNVS-21596

Change-Id: Ie41a4ab4c621adac0b69940fdb213f29fa321464
Reviewed-on: https://gerrit.instructure.com/57646
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-06 17:17:40 +00:00
James Williams 72f54a5071 rails4: change deprecated default scope
refs #CNVS-21596

Change-Id: I12191f7b335ca7672618cebe362d66a8eff60c7a
Reviewed-on: https://gerrit.instructure.com/57637
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2015-07-06 17:17:13 +00:00
James Williams 01d1688119 fulfill all module completion requirements on excused assignment
test plan:
* create a module with assignment items
* excusing the assignment for a student should fulfill any
 module requirement for the student

closes #CNVS-21590

Change-Id: I07bb8cfd3e9a1b5cb73ab5a17686a30010f04852
Reviewed-on: https://gerrit.instructure.com/57544
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
QA-Review: Clare Strong <clare@instructure.com>
Product-Review: Cosme Salazar <cosme@instructure.com>
2015-07-06 16:35:01 +00:00
Derek Hansen e0bd008628 Removed depricated etherpad specs
Change-Id: I4df0060248f8d575770503dc9417b6020583ac0a
Reviewed-on: https://gerrit.instructure.com/57711
Tested-by: Jenkins
Reviewed-by: Michael Hargiss <mhargiss@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-07-06 15:53:42 +00:00
Ryan Shaw e010c7f49a New UI: fix URL to image in header
Change-Id: I619e53b0efdd2fd933b4fd43c22954490aef9d19
Reviewed-on: https://gerrit.instructure.com/57421
Tested-by: Jenkins
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2015-07-06 15:23:47 +00:00
Simon Williams ad4938f565 catch more errors for external feed failure
when I ran through the loop against canvas production data, I ran into
a couple additional errors.

fixes CNVS-21542

test plan:
- try adding an external feed to a port that doesn't exist, like
  localhost:9999
- add valid external feeds before and after that invalid one
- the valid feeds should still import, even though the invalid one will
  fail

Change-Id: I4d0ef178ce18b9675d5138f3800dc9109fc97499
Reviewed-on: https://gerrit.instructure.com/57310
Tested-by: Jenkins
Reviewed-by: Benjamin Porter <bporter@instructure.com>
QA-Review: Deepeeca Soundarrajan <dsoundarrajan@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2015-07-06 14:10:14 +00:00
Transifreq 79ae56975f Updated es translation
Change-Id: Ie7b4fcc24b128f7e91977d899f5aa7cb08358136
2015-07-06 05:13:41 -06:00
Derek Hansen bf6dbb2503 Switch out old style hashrockets
Change-Id: I4c1b60087202a9a0f9192c17a7b2a3c1a39a23ba
Reviewed-on: https://gerrit.instructure.com/57710
Tested-by: Jenkins
Reviewed-by: Alex Boyd <aboyd@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-07-05 14:46:26 +00:00
Transifreq 7dad63f7f9 Updated tr translation
Change-Id: I45a9f5012cde203a58c13eb541c972baf420068e
2015-07-05 05:29:39 -06:00
Transifreq be5282fa64 Updated ru translation
Change-Id: I9b1245dc0b5957579ead1fe5da10b01700c306df
2015-07-05 05:26:44 -06:00
Transifreq 387467e404 Updated ja translation
Change-Id: Ia666eaae84383d7946268e2bf759c9b517c40d51
2015-07-05 05:16:53 -06:00
Rob Orton 12f4686244 spec make sure pseudonyms are created on root_accounts
refs CNVS-21700

test plan
 - specs should pass

Change-Id: I89570dbfe5162c83c9b9cfcdc2d73ee1e881dffa
Reviewed-on: https://gerrit.instructure.com/57709
Tested-by: Jenkins
Product-Review: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
2015-07-03 21:25:50 +00:00
Spencer Olson 12ea70df77 gradebook modal shows 'EX' for excused submissions
closes CNVS-21446

test plan:

1. In Gradebook, excuse a submission (It doesn't matter how it's done)
2. Click on the top right corner of the excused cell.
3. Observe that the modal shows 'Grade: EX'.
4. Verify that the modal shows the actual grade
  for non-excused submissions.

Change-Id: I44ff8f6a4ced65e93ebc9131d7e1f989743dd96b
Reviewed-on: https://gerrit.instructure.com/57204
Product-Review: Spencer Olson <solson@instructure.com>
Tested-by: Jenkins
Reviewed-by: Strand McCutchen <smccutchen@instructure.com>
QA-Review: Adrian Foong <afoong@instructure.com>
2015-07-03 18:44:23 +00:00
Transifreq ea44c73535 Updated zh_Hant translation
Change-Id: I9e133a6e92d9c48243f5e112690253a8a54e4694
2015-07-03 05:36:06 -06:00
Transifreq 1cb7056183 Updated zh translation
Change-Id: Id5a55562013719d8ce2d8d08cb4e9eecf583f1ab
2015-07-03 05:34:33 -06:00
Transifreq 9cd82401ff Updated pt translation
Change-Id: I789df14a9616d6c7b818840d8f3861410784f954
2015-07-03 05:27:15 -06:00
Transifreq 928c45be90 Updated pl translation
Change-Id: Id117a94df49529b9431bf9cdac761443bd0cf574
2015-07-03 05:25:46 -06:00
Transifreq 4d0462b6d5 Updated da translation
Change-Id: I881e4733c48f335bb3426b4265cc34bb364528b4
2015-07-03 05:10:17 -06:00
Rob Orton 8e29951717 spec fix invalid user creations
users should only be on root_accounts

refs CNVS-21700

Change-Id: I0e54a0dd6faedfa5fdfadb728637ffb0a2413b53
Reviewed-on: https://gerrit.instructure.com/57695
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins
Product-Review: Jacob Fugal <jacob@instructure.com>
QA-Review: Jacob Fugal <jacob@instructure.com>
2015-07-03 04:10:19 +00:00
Jacob Fugal c85864c543 Revert "Fix context for creating and updating users"
This reverts commit 70981b6dae.

Change-Id: Id22763dea0e085e245794dd5dd8b8f7e14c7562f
Reviewed-on: https://gerrit.instructure.com/57672
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Tested-by: Jenkins
Product-Review: Rob Orton <rob@instructure.com>
2015-07-03 01:28:58 +00:00
kinezu 5ff6d70097 Marking two selenium specs as fragile
Test plan:
- Pass Jenkins

Change-Id: I85557d31fb111f699e5dc6454bd64dd659146a2a
Reviewed-on: https://gerrit.instructure.com/57689
QA-Review: Derek Hansen <dhansen@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
Tested-by: Derek Hansen <dhansen@instructure.com>
2015-07-02 23:57:43 +00:00
Ryan Shaw 84a7192a36 A new way of doing css/sass & New Canvas Theme Editor
what this does:
* Changes the way we generate css so we are able to generate custom
  css for people that use the theme editor.
* Sets everything up so we can push all of our static assets
  (js, fonts, css, images, etc) to s3 pre-deploy and serve them
  from cloudfront. Yay! faster canvas for everyone!
* as part of that, this enables the rails asset pipeline just so we
  can use it to put md5s in our urls.  we don't use it for any of the
  coffeescript/sass/sprockets transformer stuff.
* adds a new "Theme editor" functionality (only for people that have
  have the use-new-styles feature flag turned on) where an admin for
  an account can pick their own colors/images for all the users
  at their account/school.
* when the user is done saving things in theme editor, it will,
  in a delayed job, generate all the css with against the variables
  that user specified and push it to s3 so it will be available to
  anyone else that requests it.  (the delayed job will shell
  out to a node.js executable called `brandable_css`).
* ability to pick an existing shared theme and to reset to
  blank theme. closes: CNVS-19685
* gets rid of jammit.

test plan:
(this is exaustive, so not every person has to do every step
but we should make sure at least someone does each of these things.
maybe as part of the review add a comment if you have done one of these
bulletpoints)

* before you check this out, compile all css and copy the
  public/stylsheets_compiled directory somewhere. after you check out
  this code and regenerate all the css. make sure there are no
  significant changes to the css output. (we updated the versions of
  node-sass and autoprefixer that we use so we want to make sure they
  don't change things in a way we weren't expecting)

* make sure the way we load css for handlebars templates still works.
  eg: if there is a handlebars template at
  app/views/jst/some/template.handlebars
  if there is also a scss file at
  app/stylesheets/jst/some/template.scss
  then that stylesheet should get loaded when that template is rendered

* check out the code and run migrations. browse around canvas,
  make sure css and js files load correctly as before.

* cody, jacob, or someone on queso: look at the db migrations and
  make sure everything looks good and that I am handling sharding
  correctly.
* verify that both rake canvas:compile_assets and guard, works as well
  as `node_modules/.bin/brandable_css` (note: if you have
  "node_modules/.bin" in your PATH (which you should), it will also
  work with just `brandable_css`)

* verify that passing the --watch option to
  `.bin/node_modules/brandable_css` works and picks up changes to
  sass files, images, fonts, or any other resource that goes into
  a css file. and that it only recompiles the css files that actually
  depend on that file.

* go to https://github.com/ryankshaw/brandable_css and check out the
  code there. that is what is actually doing the sass compiling

* create a config/canvas_cdn.yml file and add aws access creds and
  an s3 bucket and cdn hostname (for testing, you can use the credentials
  for instructure_uploads_engineering from
  https://gollum.instructure.com/OtherServiceTestAccounts ). for a test
  cdn hostname you can use https://diu0rq5m1weh1.cloudfront.net. that
  is a cloudfront bucket I set up on my personal account that points to
  instructure_uploads_engineering

* run rake canvas:compile_assets again, this time, at the end, you
  should see it run the assets:precompile task that puts md5s in filenames
  and, gzipps them, and copys them to public/assets.
  then you should see it run canvas:cdn:upload_to_s3
  (look at log/development.log for progress),
  which pushes everything to s3.
  closes: CNVS-17333 CNVS-17430 CNVS-17337

* try out the theme editor: turn on new styles, go to accounts/x
  (where x is the @domain root acount you are testing from) and click
  the "theme editor" button on the right side of the page.
  that should take you to a page that has the ability to pick colors/images
  on the left side and preview your changes in an iframe on the right
  closes: CNVS-19360 CNVS-20551

* test the "preview", "save", "reset", and "choose existing" functionality
  closes: CNVS-17339 CNVS-17338 CNVS-19685

* make sure that the themeeditor works both if you have
  config/canvas_cdn.yml set up and enabled as well as if you don't.
  if it is enabled, you should see it push the css for just that new
  brand config to s3 when you hit preview, and the css
  should be accessible from the cdn you configured.

Change-Id: Ie0a812d04f5eeb40e7df7e71941ff63ea51a4d22
Reviewed-on: https://gerrit.instructure.com/53873
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2015-07-02 22:42:18 +00:00