Commit Graph

249 Commits

Author SHA1 Message Date
Cody Cutrer 91e61f695c bump bundler version
Change-Id: Ib96e735e105bf17bad1d5c788b3fba8164d289a1
Reviewed-on: https://gerrit.instructure.com/55693
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-06-04 14:52:29 +00:00
Brian Palmer 6b73a5efbd update redcarpet gem
Addresses vulnerability
a6c759d7e7

This gem is only used in dev/test, to generate the API docs. test plan: `rake
doc:api`, verify the docs still render correctly.

Change-Id: Ib1884ec5717bd6d252fa85cbfafb77f1be40ba24
Reviewed-on: https://gerrit.instructure.com/55350
Tested-by: Jenkins
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2015-06-01 19:35:28 +00:00
Cody Cutrer d64e942975 allow bundler 1.10.1
Change-Id: If42882af50d3ce548454c74d303091394d081b78
Reviewed-on: https://gerrit.instructure.com/55368
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-06-01 19:06:42 +00:00
Cody Cutrer 59926790bc do not allow running on Ruby 2.0 anymore
it's known to not work

Change-Id: Ifa69a3390e26c172f07e178a568a1517d7c7d303
Reviewed-on: https://gerrit.instructure.com/55344
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-29 19:13:18 +00:00
Hannah Bottalla cb4a6961e4 update bullet version
Change-Id: If67ffd74302656b8f732f46a2e772e5b6ac8edd1
Reviewed-on: https://gerrit.instructure.com/55352
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins
Product-Review: Hannah Bottalla <hannah@instructure.com>
QA-Review: Hannah Bottalla <hannah@instructure.com>
2015-05-29 18:16:47 +00:00
Cody Cutrer c2040a5d06 delete old error reports every 5 minutes
requires updated canvas-jobs for newer rufus

Change-Id: I9a0639c8a41bf301c12dd7dd0be2758e29e83038
Reviewed-on: https://gerrit.instructure.com/55041
Reviewed-by: Hubert depesz Lubaczewski <hlubaczewski@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-27 01:49:40 +00:00
Cody Cutrer d8f1108bc7 Facebook login support
fixes CNVS-19449, CNVS-19454, CNVS-19455

test plan:
 * configure the facebook plugin (/plugins/facebook)
 * add Facebook to your authentication configs
 * try to login with valid facebook credentials - it should say it
   couldn't find the user
 * add a login to your user with that ID
 * try to login with facebook again; it should work
 * delete auth settings and plugin settings
 * re-add the auth settings - it should let you configure it
   directly
 * log in again

Change-Id: I5aae400fe39fda6e1a864a062368e50a4c9f4ede
Reviewed-on: https://gerrit.instructure.com/54208
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-05-19 20:30:01 +00:00
Cody Cutrer ff4d0316a8 bump switchman
Change-Id: I0ac111a16d87c4459cb0076b9b6cfe288520318f
Reviewed-on: https://gerrit.instructure.com/54536
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-19 16:46:49 +00:00
Jason Madsen 8b78946c58 move canvas_statsd and related to external gem
closes CNVS-20323

canvas_statsd has been packaged and published as its own gem. remove
code from gems/ and other supporting code.

updated initializer to conform with new gem default tracking options

test plan:

  - enable statsd in config/statsd.yml
    - visit several pages in canvas
      - create some things, updates some things
      - reload a page or two
      - canvas should continue to function as expected
      - the following statsd request keys for controller actions should
        continue to be sent:
        - total
        - db
        - view
        - sql.read
        - sql.write
        - sql.cache
        - active_record

Change-Id: I28fbf8642a3d2719b08721a3df1c7b77ac52cb1f
Reviewed-on: https://gerrit.instructure.com/54251
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>
2015-05-18 15:53:19 +00:00
Cody Cutrer 68263be61a bump switchman
Change-Id: I9121d7f6c3e488eef4424595d0c986224c008304
Reviewed-on: https://gerrit.instructure.com/53890
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-11 23:20:55 +00:00
Brian Palmer b7706b3d8b upgrade sentry-raven to 0.13.2
The fix we were using on master was released.

Change-Id: I12159552e7a2f2b33593d08d2ad62d2d529e7e56
Reviewed-on: https://gerrit.instructure.com/53838
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
2015-05-11 22:48:56 +00:00
Nathan Mills 3c57214378 add content-item to module items
refactor the external content controller to pass the new content-item format

fixes: PLAT-968 PLAT-1008 PLAT-967

test-plan:
*the new content-item should work in module items
*regression test all of the resource selection placements, all
of the enabled resource selection return values in the old
test tool should still work in module_item selection,
homework_selection, editor_button, course migration, and
homework submission.

Change-Id: Ic6de04effb5fde311f91778a316f9c229072f275
Reviewed-on: https://gerrit.instructure.com/52926
Tested-by: Jenkins
Reviewed-by: Brad Humphrey <brad@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Nathan Mills <nathanm@instructure.com>
2015-05-11 16:48:30 +00:00
Cody Cutrer e700a26005 allow bundler 1.9.6
Change-Id: Ie9a52ded55f9d0f0b178a521606f456df8c2d15b
Reviewed-on: https://gerrit.instructure.com/53760
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-08 19:13:30 +00:00
Hannah Bottalla 6f45600699 change bullet_instructure version
Change-Id: I5f3a371e0935a7aca1b304ce4cbd30ec16466fb8
Reviewed-on: https://gerrit.instructure.com/53689
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Tested-by: Jenkins
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
2015-05-07 22:15:31 +00:00
Brian Palmer f0ce5690cd sentry field sanitization improvement
The list of sanitized keys and parameter names doesn't include the rails
filter_parameters configuration by default, so add that as recommended on the
raven-ruby github wiki.

Secondly, our global ids happen to match sentry's hard-coded credit card
regex, so I got a PR merged to allow disabling the credit card sanitization.
Until a new gem is released, we'll have to pull from github.

test plan: enable sentry and generate an exception, user_id and account_id
should come across as expected.

Change-Id: I56ceae3b28ae64df61bd22c5d03db492f9880ba7
Reviewed-on: https://gerrit.instructure.com/53521
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
Product-Review: Brian Palmer <brianp@instructure.com>
2015-05-07 20:52:39 +00:00
Cody Cutrer a7f5246630 bump switchman
Change-Id: Ic300c345efe674d27bc50626138de7ea76f546ca
Reviewed-on: https://gerrit.instructure.com/53598
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-07 15:57:39 +00:00
Cody Cutrer 51a21e06ad bump switchman
Change-Id: I2b5d37126d07cbbef56fa1fe353f5494c3b29902
Reviewed-on: https://gerrit.instructure.com/53358
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-04 17:03:32 +00:00
Cody Cutrer d892a13556 bump byebug
Change-Id: I9f6999987f472c6d00a113cf172b15b37a09172d
Reviewed-on: https://gerrit.instructure.com/53294
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-05-01 19:57:13 +00:00
Brian Palmer aff85866c2 silence the annoying "Raven is ready" startup message
test plan: with sentry configured, rails console bootup should be one line quieter

Change-Id: If6f52983fbdba2b335a412ac9bd0902c727a5b4e
Reviewed-on: https://gerrit.instructure.com/53042
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
2015-04-29 21:32:14 +00:00
Joel Hough 9da68ef3fb don't send blank send-email param to adobe connect
fixes CNVS-19630

test plan
- as a teacher who does not have a user in adobe connect yet,
 create and join an adobe connect conference
- ensure that the join button allows you to join the conference
 and does not log you in as a guest

Change-Id: I073c13c19b38c6f35282b80f66e2042f7016797a
Reviewed-on: https://gerrit.instructure.com/52571
Tested-by: Jenkins
Reviewed-by: Alex Boyd <aboyd@instructure.com>
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Joel Hough <joel@instructure.com>
2015-04-28 20:11:22 +00:00
Cody Cutrer 469cd7b7b0 bump i18n gem
Change-Id: Id4861909c0c1fb6a2e53c04ec5f6c1e315ed9595
Reviewed-on: https://gerrit.instructure.com/47747
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-04-17 19:49:17 +00:00
Cody Cutrer 3cf2f1789b allow bundler 1.9.4
Change-Id: I2fe86dfaceb23151d5dad90504752bdc780cd2d0
Reviewed-on: https://gerrit.instructure.com/52275
Tested-by: Jenkins
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-04-15 20:27:54 +00:00
Cody Cutrer 69a20bf2a1 bump tzinfo gem
Change-Id: Iaeb75bfde1ee7d30f1c85f9ef8b3ce9c06be60b2
Reviewed-on: https://gerrit.instructure.com/52045
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-04-14 14:28:46 +00:00
Ethan Vizitei 1004e66540 get sentry into canvas
closes CNVS-6016

No more error reports!  (soon)

this commit builds up sentry integration through the new
Canvas::Errors module, along with other things that need
to happen on every exception.  ErrorReports
should now get pushed towards just being used for representing
a complaint a user filed via the get help form.

I fixed about half the things that got linted as well
while I was in here, but because this touches to much
I fear divergence from tackling too many (I think we
can safely say it's "better than we found it")

I left a lot of the infrastructure for error reports in place
until other commits for plugins can be merged

TEST PLAN:
 1) setup your raven.yml config file with the dsn for our
  sentry install
 2) force an error to happen in a request response cycle.
 3) see the error in sentry
 4) force an error to happen in a job
 5) see the error in sentry
 6) statsd increments shoudl still fire
 7) for the moment, an error report should still get created.

Change-Id: I5a9dc7214598f8d5083451fd15f0423f8f939034
Reviewed-on: https://gerrit.instructure.com/51621
Reviewed-by: Simon Williams <simon@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2015-04-13 22:26:15 +00:00
Cody Cutrer a424a91f97 add autoextend gem for plugins to easily add functionality to canvas
closes CNVS-14263

Change-Id: If2fb80e776662cae1fe56dd9e5e550c50f6accd8
Reviewed-on: https://gerrit.instructure.com/51654
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-04-13 18:25:50 +00:00
Ethan Vizitei 1329e71c53 colorize rlint output
Change-Id: I357a15e38c454991efd556491cd8f047a07f701a
Reviewed-on: https://gerrit.instructure.com/52008
Reviewed-by: Braden Anderson <braden@instructure.com>
Product-Review: Braden Anderson <braden@instructure.com>
QA-Review: Braden Anderson <braden@instructure.com>
Tested-by: Jenkins
2015-04-10 20:13:36 +00:00
Ethan Vizitei 13f8256e92 add heavy mode and INFO on only touched lines
lets rlint only run with local changeset unless you specify "--heavy"

Also checks for whether you actually touched a line
or not before deciding an INFO comment is relevant

Change-Id: I4a960c72644dfc46aca7a51d04321711cef0850c
Reviewed-on: https://gerrit.instructure.com/51992
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Tested-by: Ethan Vizitei <evizitei@instructure.com>
2015-04-10 16:59:07 +00:00
Cody Cutrer 9834937c8c don't autorequire a bunch of gems that are rarely used
Change-Id: I09ed3686629b62849d392684d587f30cb2047013
Reviewed-on: https://gerrit.instructure.com/51853
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-04-09 18:47:50 +00:00
Ethan Vizitei 19a71c6b64 add some ruby linting for jenkins to take advantage of
add migration lint as rubocop cops

create frozen constant linter

find_ids datafixup lint

send_later lint

lint send_later in predeploys

add freeze_constant cop to default config

don't forget to include rubocop when running

get the rubocop runner into the script

lint for wrong algorithm name

lint primary key

lint remove_column in predeploys

get rubocop output as parsed json

diff munging for gergich

disable a few style cops

tweak rubocop setup to allow IDE plugins to work

get gergich comment format right

shell out to gergich if we're in jenkins-land

Change-Id: I6eecc8d8ede17a755c9d9a86121c3658776de9cd
Reviewed-on: https://gerrit.instructure.com/51755
Tested-by: Jenkins
Reviewed-by: Jason Madsen <jmadsen@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
2015-04-09 14:37:37 +00:00
Cody Cutrer b078234eff don't auto-require gems that are just dependencies
we have them in the gemfile to lock them to a specific version,
but normal behavior doesn't auto-require them

also, use 1.9 hash syntax in gemfiles (_except_ _before.rb)

Change-Id: I549c2775c65d48ff23ba1358b43713965df97813
Reviewed-on: https://gerrit.instructure.com/51636
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-04-08 15:55:26 +00:00
Zach Wily 5d232f03af initial live events implementation
This commit adds a new module called LiveEvents that knows how to send a
certain set of events to Kinesis. The module is configured via
normal plugin settings per account. Once the plugin is configured with
a Kinesis stream, events will start getting sent to that stream.

Events are sent asynchronously, in a background thread.

test plan:
 * See `doc/live_events.md` for instructions on how to setup a local
   kinesis stream and configure the LiveEvents plugin.
 * Start tailing the stream with the command specified in
   `doc/live_events.md` in a terminal.
 * Perform the actions described in `doc/api/live_events.md` and verify
   that events show up in your Kinesis terminal with the correct data.

Change-Id: Id799688c972205a1eee84a673912f84b0c7abb57
Reviewed-on: https://gerrit.instructure.com/50324
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Reviewed-by: Jacob Fugal <jacob@instructure.com>
QA-Review: Jacob Fugal <jacob@instructure.com>
Product-Review: Zach Wily <zach@instructure.com>
2015-04-03 15:22:33 +00:00
Simon Williams f1e0adc3ca allow bundler 1.9.2
Change-Id: Icf5255ac2c484d88d466c9ff714c0eeb913fbb58
Reviewed-on: https://gerrit.instructure.com/51314
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
Product-Review: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
2015-03-31 21:42:59 +00:00
Joel Hough 439e119492 delete facebook integration
fixes CNVS-18978

test plan
- regression test canvas, particularly:
notifications, and their preferences
communication channels
messages
user ouath (like linkedin and google docs use)
avatars
profile page
user services (like twitter)
feature settings
context roster

Change-Id: I2d53125f76c9daf912fdeabc621c90ac1bd070df
Reviewed-on: https://gerrit.instructure.com/49267
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: Steven Shepherd <sshepherd@instructure.com>
Product-Review: Joel Hough <joel@instructure.com>
2015-03-30 20:21:58 +00:00
Cody Cutrer 3386e8c938 bump ruby-saml-mod
fixes CNVS-18892

Change-Id: I5ce7461d12f97d7d81b81ca88d8394224d017847
Reviewed-on: https://gerrit.instructure.com/50020
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-03-08 00:34:48 +00:00
Cody Cutrer 497cc8b1ca allow bundler 1.8.4
Change-Id: Id05be9454f923994b33fe75930055dd5cbd0954f
Reviewed-on: https://gerrit.instructure.com/50003
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-03-07 18:32:00 +00:00
Brian Palmer 25f32fb78d switch back to the official marginalia gem
The fix was merged and a new gem was released.

Test plan: enable with marginalia.yml, then test that the appropriate
comments still show up in logged SQL statements. For instance, load a
page in canvas, then look at the logs and verify the logged SQL
statements include controller, action and request id.

Change-Id: Ib7024c41b860ff7d4530974c74996c37e6c3d1a8
Reviewed-on: https://gerrit.instructure.com/49319
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
2015-03-06 23:15:41 +00:00
Cody Cutrer 6d56769cf9 update to upstream ratom
Change-Id: I602ea1594917799cd0f6704641b7870a991f3ef7
Reviewed-on: https://gerrit.instructure.com/49470
Tested-by: Jenkins
Reviewed-by: Ethan Vizitei <evizitei@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-03-06 17:35:29 +00:00
Cody Cutrer 11681e8445 bump switchman
fixes CNVS-19037

Change-Id: Ic10d42996b48baac80de2df858ae868d130d076d
Reviewed-on: https://gerrit.instructure.com/49852
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-03-04 20:05:08 +00:00
Jason Madsen e7b4d8cc01 send num AR objects per action to statsd
closes CNVS-18914

test plan:
* configure statsd in your canvas instance
* run canvas
* hit several pages in canvas that will query the DB and load AR objects
  * verify that active_record key is being sent for those controller actions

Change-Id: I5ae1279bc360d7fd5ce38a4488dc9f70b9de92bc
Reviewed-on: https://gerrit.instructure.com/49666
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Jason Madsen <jmadsen@instructure.com>
2015-03-04 20:04:32 +00:00
Cody Cutrer dc8f37287a don't (directly) depend on libxml-ruby
nokogiri is better maintained, and java compatible (both
are based on libxml2)

Change-Id: Ia7c8edea15ec001cf4861b00494e480832bd2c63
Reviewed-on: https://gerrit.instructure.com/49467
Tested-by: Jenkins
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-03-02 20:01:02 +00:00
Hannah Bottalla 88ba655dff update simplecov version
Change-Id: I3fb4db517a618b2115c7b692d6e10b9875c60d67
Reviewed-on: https://gerrit.instructure.com/49274
Tested-by: Jenkins
Reviewed-by: Shawn Meredith <shawn@instructure.com>
Product-Review: Shawn Meredith <shawn@instructure.com>
QA-Review: Shawn Meredith <shawn@instructure.com>
2015-02-27 17:04:25 +00:00
Brian Palmer 17fbe349ab csv_diff gem
Change-Id: If566585cea572067bde2b019804c15dc1851f3e5
Reviewed-on: https://gerrit.instructure.com/48424
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Tyler Pickett <tpickett+gerrit@instructure.com>
Product-Review: Linda Feng <lfeng@instructure.com>
2015-02-26 15:52:58 +00:00
Cody Cutrer fac8369583 allow bundler 1.8.2
also make our bundler monkeypatch conditional on 1.8.0, since it
was merged upstream

Change-Id: I441755ff54c77a07b7ede03f46f45033c208e1e8
Reviewed-on: https://gerrit.instructure.com/49149
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-23 18:30:58 +00:00
Cody Cutrer f9f37c0c93 bump nokogiri to latest
Change-Id: I53258f7dc243c0a9083b9f86c12a1b81f90c9d3e
Reviewed-on: https://gerrit.instructure.com/49022
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-19 19:15:29 +00:00
Cody Cutrer 8993232f35 require released version of spring that incorporate the fix canvas needs
Change-Id: If1317a2c8376a940646a4d64767cf77f64b3d126
Reviewed-on: https://gerrit.instructure.com/48885
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-18 23:04:23 +00:00
Cody Cutrer d34df4bc67 bump rails 3 to github branch for ruby 2.2 compatibility
see https://github.com/rails/rails/pull/18306 for discussion on
why it's not released yet

Change-Id: Id0de57432df9e7db1767c8f4d75c7734799148b9
Reviewed-on: https://gerrit.instructure.com/48828
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-18 22:55:20 +00:00
Cody Cutrer 618eacf181 use eval_gemfile for bundler goodness
Change-Id: I1ce8c5135cb5b15f4e1fdd07cb890f5f823f11a4
Reviewed-on: https://gerrit.instructure.com/48952
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-18 18:15:14 +00:00
Nathan Mills a99c397662 Google Drive Collaborations & Submissions
force users to auth google drive when the plugin is enabled

Add support for google drive in collaborations and homework submissions
Everything still looks like google docs to the user.

fixes PLAT-892
fixes PLAT-893
fixes PLAT-894

Test plan:

create a google docs integration
and enable the google drive plugin
when you visit the colaborations page it should ask you to authorize canvas to use google drive

Regression test homework submissions with google doc and drive
Regression test collaborations with google doc and drive

Change-Id: I79bdbdcae915b08a19cc9a078a64b49ef5f34796
Reviewed-on: https://gerrit.instructure.com/48583
Tested-by: Jenkins
Reviewed-by: Brad Humphrey <brad@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
2015-02-18 16:02:25 +00:00
Cody Cutrer 334863eba2 bump rspec
Change-Id: Ief41ee5726c018747a7be7df9865c387da22b276
Reviewed-on: https://gerrit.instructure.com/48825
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-17 20:06:26 +00:00
Cody Cutrer f62bb4fd5d bump nokogiri slightly
refs CNVS-18275

to the minimum version required by ruby-saml2

Change-Id: Icc66b62ab3828e6142785cb08855534b89167b34
Reviewed-on: https://gerrit.instructure.com/48720
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-02-13 16:55:57 +00:00