Commit Graph

349 Commits

Author SHA1 Message Date
Cody Cutrer 9059e2efd8 update ffi-icu gem
closes gh-748

remove method that's now in the gem, and be more intelligent about adding
methods waiting pull requests

Change-Id: Ia304eca9cd53d1981e890de5dcb7e48fb2d4c460
Reviewed-on: https://gerrit.instructure.com/71140
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-02-02 01:57:36 +00:00
Brad Horrocks 3fee901ac0 Remove Google Docs plugin
Google drive relevant code has been moved to the gems/google_drive
Actually test google drive with mocked api responses
cleaned up lots of code

Fixes PLAT-1301

Test Plan:
*** You'll need to use 2 separate google accounts to fully test ***
** Its helpful to have multiple chrome profiles so you dont have to log in and
** out a bunch https://support.google.com/chrome/answer/2364824?hl=en

BEFORE SWITCHING TO THIS PATCH SET
  - Make sure you have some google doc collaborations
    - Directions for creating one are below
  - Disable your google docs plugin

Switch to the patch set
Enable google drive. (if not already)
  - You should be able to paste in a client_secrets.json
  - Update Redirect URI to point to your local instance (The URI should exist in the JSON)

As an admin/teacher
  - Goto `profile/settings` and add the google drive user service
    - Your email should be displayed with the service
  - Goto Collaborations
    - Make sure existing collaborations still work
    - Click "Start new collaboration"
    - give it a nice name (Created by admin)
    - select your student
    - click start collaborating
    - You should be redirected to the new doc in google
    - create another collaboration without the student (Created by admin, no users)
  - Create an assignment with
    Submission Type: Online
    Online Entry Options: File Uploads
  - Make sure your student has access to the course/assignment
  - Goto Account settings -> Users
    - Click View User Groups in the top right
    - create a new group set with a group in it
    - add yourself and your student to the group
  - Goto the Group's Collaborations (Courses & Groups -> [group name] -> Collaborations)
    - Click "Start new collaboration"
    - give it a nice name (Created by admin for group)
    - select your student
    - click start collaborating
    - You should be redirected to the new doc in google

As a student
  - Goto `profile/settings` and add the google drive user service
    - Your email should be displayed with the service
  - Goto the assignment
    - Submit the assignment
    - You should have a "Google Doc" tab
    - Choose a document and submit it
    - After it submitted, click download on the right side
      just to make sure its correct
  - Goto Collaborations
    - Make sure existing collaborations still work
    - make sure the "created by admin" collaboration works
    - make sure you can't see "Created by admin, no users"
    - Click "Start new collaboration"
    - give it a nice name (created by a student)
    - click start collaborating
    - You should be redirected to the new doc in google
    - Switch to your admin/teacher and make sure they can't access it
    - Edit the collaboration add the teacher, click Save
    - Switch to your admin/teacher and make sure they can access it
  - Goto `profile/settings` and REMOVE the google drive user service
  - Go back to collaborations
  - You should be forced to add the google service in order to use a collaboration
  - Goto the Group's Collaborations (Courses & Groups -> [group name] -> Collaborations)
    - Make sure you can access "Created by admin for group"
    - Click "Start new collaboration"
    - select your admin/teacher
    - click start collaborating
    - You should be redirected to the new doc in google
    - make sure your admin can access it to

As a site admin
  - Disable Google Drive
  - Then with your student
    - Make sure you can still do file upload submissions on the assignment
    - Collaborations should no longer show up (unless you have etherpad enabled)
  - Google drive should no longer show up in your profile settings as a registered service
Change-Id: I4dfaff6f5262743c044aadd12266fd0bd85a60e1
Reviewed-on: https://gerrit.instructure.com/69078
Reviewed-by: Andrew Butterfield <abutterfield@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
2016-02-01 23:41:53 +00:00
Cody Cutrer aa627e50a6 bump switchman
Change-Id: I46a608cf4e3dfd1c981d585dd2d057322691172e
Reviewed-on: https://gerrit.instructure.com/71192
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-02-01 20:43:40 +00:00
Cody Cutrer ec50e13f2d bump switchman
test plan:
 * test all the things!

Change-Id: I1ecd36be4165fbbce84132a26d0e47db6d1aa31d
Reviewed-on: https://gerrit.instructure.com/71073
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-02-01 17:12:38 +00:00
Cody Cutrer c31d13fead bump rails 4.2 to latest security update
Change-Id: I1c95b1ee5f5835eecda45cd5df7784c04b8d316c
Reviewed-on: https://gerrit.instructure.com/71150
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-29 19:22:43 +00:00
James Williams 8d4752ab16 bump switchman
refs #CNVS-26056

Change-Id: I3f60457ffc2ea1e2676da583903418513cc00634
Reviewed-on: https://gerrit.instructure.com/70843
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-01-26 21:48:46 +00:00
Brian Palmer 38e69d175c pass the canvas release to sentry
closes CNVS-26745

We were already passing it as a tag, but sentry now has a native release
field that provides additional functionality, so pass it there as well.
We'll keep the tag because it's still nice for searching.

Change-Id: I5447ecabf3cc7246ebc36abd05829320d8d449a7
Reviewed-on: https://gerrit.instructure.com/70889
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
Product-Review: Brian Palmer <brianp@instructure.com>
QA-Review: Brian Palmer <brianp@instructure.com>
2016-01-23 17:56:38 +00:00
Ethan Vizitei 94cee9db6a bump switchman version
refs CNVS-26368

the latest switchman version handles connection
disruptions during the re-caching of the default
shard gracefully

TEST PLAN:
 1) no behavior should change
 2) load up a sharded app
 3) force a db exception just as "establish_connection" is
     being called for database reconnection after a process
     fork
 4) the "Shard.default" method should return the
     previously cached default shard, not the
     DefaultShard.instance

Change-Id: I04c4905a8b2c662473e7e55a38d0b7b2987e343b
Reviewed-on: https://gerrit.instructure.com/70757
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
QA-Review: Ethan Vizitei <evizitei@instructure.com>
Tested-by: Ethan Vizitei <evizitei@instructure.com>
2016-01-23 00:23:49 +00:00
Cody Cutrer fe4a9d74ca bump rake
Change-Id: I73cf6b9d85ff49214b3849551770b5c0c16c0db6
Reviewed-on: https://gerrit.instructure.com/70690
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-22 17:58:46 +00:00
James Williams ca36398dbf rails 4.2: bump folio-pagination
refs #CNVS-26056

Change-Id: I1ad89e2d9922e9994937963b0ad783eccebc5bc5
Reviewed-on: https://gerrit.instructure.com/70759
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-01-22 16:16:29 +00:00
James Williams 4f9a25a79c rails 4.2: fix migration methods + unhack things
fixes index_exists?, add_index, remove_index, and
 add_foreign_key method calls in migrations

unhacks remove_index to fail silently if the index
 doesn't exist (and removes some unnecessary remove_index calls)

also fixes migration specs for rails 4.2

refs #CNVS-26056

Change-Id: Id878aa4cb871fc5ae6d0d4e7c6e8cfe1c5d88d35
Reviewed-on: https://gerrit.instructure.com/70692
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-01-22 14:17:36 +00:00
Cody Cutrer b23d5ca1cf bump canvas-jobs
for https://github.com/instructure/canvas-jobs/pull/5

Change-Id: I04604104f597fd50acff5b901040063165515ca8
Reviewed-on: https://gerrit.instructure.com/70689
QA-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2016-01-21 18:17:02 +00:00
Cody Cutrer 04aaf6b243 bump pg
Change-Id: I17b3b9009ffb9e87abab844fe791f3856f3cf105
Reviewed-on: https://gerrit.instructure.com/70691
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-21 14:53:01 +00:00
Cody Cutrer 999b169e96 bump switchman
Change-Id: I8f7054f2c92a824b7495f81c4829c7407d266fb9
Reviewed-on: https://gerrit.instructure.com/70283
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-20 19:41:57 +00:00
James Williams b1f3daf044 rails 4.2: misc spec fixes
refs #CNVS-26056

Change-Id: Ia94ee2fcfded1ec66cb77a19085b005c81304800
Reviewed-on: https://gerrit.instructure.com/70251
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: James Williams  <jamesw@instructure.com>
QA-Review: James Williams  <jamesw@instructure.com>
2016-01-18 21:45:39 +00:00
Cody Cutrer 82a712b741 require at least bundler 1.8.0
so we can rip out an old monkeypatched bugfix

Change-Id: Idbad934ac0f1e96a3e5e4883fc6b6fd92642756a
Reviewed-on: https://gerrit.instructure.com/70154
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-13 23:18:48 +00:00
Cody Cutrer 856732c55a note that ruby 2.3.0 CANNOT work
see https://bugs.ruby-lang.org/issues/11884

it's already fixed on ruby master, we just have to wait for the next
release

Change-Id: Icad61ebbd2ae86a36e7bd594ba2276c364c03ef1
Reviewed-on: https://gerrit.instructure.com/70153
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-13 00:48:20 +00:00
Cody Cutrer 7cb9bc2494 spec: no longer depend on test-unit
we don't use its helper anymore

also relax bundler requirement, since no gems require asking for
platform ruby_23 anymore

Change-Id: Ia4cb9466363325f7d006307d4487df3b2269eaa3
Reviewed-on: https://gerrit.instructure.com/70100
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-12 18:01:23 +00:00
Jon Jensen e879ac39c5 spec: fix focus/blur issues, don't use buggy native events
native event/no_focus stuff is buggy (which is why it's normally not
enabled by default), so let's try a different approach...

ensure each runner has its own framebuffer (and thus its firefox should
run in the foreground). additionally, ensure the viewport has focus when
specs start so that blur/focus events fire normally.

this ensures that specs like spec/selenium/wiki_pages_spec.rb:429 pass when
run on jenkins without following another alert-accepting spec (like
spec/selenium/wiki_pages_spec:422).

test plan:
* full selenium build should pass on this commit, faster and w/ fewer
  reruns
* non-testbot test-queue selenium build should pass on dependent commit
  (running spec/selenium/wiki_pages_spec.rb w/ 5 runners concurrently)

Change-Id: Ic1bd09ab3ca8f483611201198025cdf4858d51dc
Reviewed-on: https://gerrit.instructure.com/69663
Reviewed-by: Simon Williams <simon@instructure.com>
Tested-by: Jenkins
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2016-01-08 17:34:55 +00:00
Cody Cutrer 45df40ccb7 allow ruby 2.3
Change-Id: I83a3e44e60715d33778bbf889dc96c0dd97a1449
Reviewed-on: https://gerrit.instructure.com/69565
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Tested-by: Cody Cutrer <cody@instructure.com>
2016-01-05 20:19:12 +00:00
Cody Cutrer ac2912de3b allow newer bundler
Change-Id: Ic7fb8e8f4e8b8f740315310ac8793348f70c7eae
Reviewed-on: https://gerrit.instructure.com/69563
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2016-01-04 20:13:59 +00:00
James Williams c0ac1dfcdd rails 4.2: allow bootup
refs #CNVS-26056

Change-Id: I4a4d91c8f96a9d86646bdd14ba9ed75e365a9764
Reviewed-on: https://gerrit.instructure.com/69227
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-12-30 18:30:27 +00:00
James Williams 71190f85fc rails 4.2: fix spec initialization
refs #CNVS-26056

Change-Id: I4819bbadd2ad20d573b172ce402329d7445107ce
Reviewed-on: https://gerrit.instructure.com/69523
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-12-30 17:25:19 +00:00
Cody Cutrer 7a8ac067a3 bump webex and adobe connect gems
test plan:
 * smoke test webex and adobe connect conferences

Change-Id: I02fa2facdcd5245f9a3587fa3a492573ae9919f6
Reviewed-on: https://gerrit.instructure.com/68238
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Jeremy Putnam <jeremyp@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-12-28 18:37:39 +00:00
James Williams d2833299d7 remove rails 3 support
also add initial rails 4.2 scaffold

refs #CNVS-25988

Change-Id: Ifd7aecaffb6cfc8a3e41bc3fb011fb6ce0664ea6
Reviewed-on: https://gerrit.instructure.com/69129
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-12-23 21:36:43 +00:00
Cody Cutrer 74268335f6 bump canvas-jobs
allows us to start testing Psych

Change-Id: I8c31966a4aff26d95e1c69ff0800671f01dcfca4
Reviewed-on: https://gerrit.instructure.com/68974
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-12-17 23:38:30 +00:00
Brad Horrocks cf1adc2978 LTI Reregistration
add support for reregistration launches
Allow tool providers to send updated tool proxies

Saves the payload and acknowledgment url in the update_payload field
Show an update indicator, and options to update or dismiss the update
basic UI functionality

fixes: PLAT-1247
Fixes PLAT-1276
Fixes PLAT-1248

Test Plans:

using the test tool you should be able to install it,
then from the gear context menu you should be able to do a reregistration
launch the tool and canvas only support the launch right now, and not the
rest of the process

Populate update payload on a tool proxy (LTI2 tool)
make sure a badge is displayed indicating there is an update available
make sure you the options to update or dismiss are displayed
make sure when you update it actually updates, and no longer shows an
update is available
make sure when you dismiss it no longer show an update

Change-Id: I93e2db40f81523e9518e529460ea2b16f5de103a
Reviewed-on: https://gerrit.instructure.com/68004
Reviewed-by: Brad Horrocks <bhorrocks@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Reviewed-by: Nathan Mills <nathanm@instructure.com>
Tested-by: Jenkins
Product-Review: Brad Horrocks <bhorrocks@instructure.com>
2015-12-17 23:26:05 +00:00
Jeremy Stanley 7912c4b209 expire content migration jobs after 48 hours
test plan:
 - in a console, do
   Setting.set('content_migration_job_expiration_hours', -1)
 - try to do course copies and course imports.
   they should fail with "job expired" errors.
 - go back to the console and undo the expire-migration-jobs-
   -in-the-past setting with the following:
   Setting.remove('content_migration_job_expiration_hours')
 - now migration jobs should work again

fixes CNVS-25113

Change-Id: I2578c3e124276a950b73b4402f30625d8738a6c3
Reviewed-on: https://gerrit.instructure.com/68867
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: Jahnavi Yetukuri <jyetukuri@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
2015-12-16 20:29:32 +00:00
Cody Cutrer f00fa934b4 update safe_yaml
drop the instructure version - we lose the option of whitelisting
specific instances of tagged nodes, but that's easy to replicate
for the one case we care about

Change-Id: Ic95049f5917b4052a40ae37f147b355260f806b1
Reviewed-on: https://gerrit.instructure.com/68279
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-12-16 20:21:26 +00:00
Cody Cutrer 95fa871de8 bump switchman
and fix extensions to Switchman::Shard to deal with it _not_ being
reloaded

Change-Id: Ia9c504594cf80c163eef3aa05b4580eb8c3a2013
Reviewed-on: https://gerrit.instructure.com/68811
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-12-16 20:17:51 +00:00
Cody Cutrer f4b56b1e4e bump switchman
fixes CNVS-25882

Change-Id: I235aba3705e138b10d6effdfbd23958c5fb7390b
Reviewed-on: https://gerrit.instructure.com/68941
Reviewed-by: James Williams  <jamesw@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-12-15 19:26:01 +00:00
Cody Cutrer 440290c08f remove active_polymorph
fixes CNVS-25580

Change-Id: Id1a001e8b85f87d1c0e9678500ed13d435872b55
Reviewed-on: https://gerrit.instructure.com/68292
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-12-08 02:03:53 +00:00
Ethan Vizitei be9244a47c add feature flag and dynamic config for RCE service
refs CNVS-24816

create the feature flag and expose it in
the Eportfolios controller

Add a consul docker container to docker-compose.yml,
and a class for consuming settings in consul.

Also, add the ability to init config values
into consul from the consul.yml file

TEST PLAN:
1) edit your consul.yml to look kinda like this:

development:
  host: consul
  port: 8500
  ssl: false
  init_values:
    rich-content-service:
      app-host: rce.docker
      cdn-host: rce.docker

2) go to edit an eportfolio as a logged in user
3) check in js console "ENV.RICH_CONTENT_SERVICE_ENABLED"
4) should be "true" or "false" depending on the feature
flag state for that user's root account
5) with the feature flag on, refresh and check the env
6) should have values in the env for
RICH_CONTENT_APP_HOST and RICH_CONTENT_CDN_HOST

Change-Id: Ic138e24416b2aadd965ce4811d3c56538de391bc
Reviewed-on: https://gerrit.instructure.com/66614
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
2015-12-02 20:32:42 +00:00
Jeremy Stanley f4dd6019fc complete rubyzip >1.0 migration
the zip-zip gem adds aliases from the rubyzip 0.9 names
(e.g. Zip::ZipFile) to the 1.0 names (e.g. Zip::File)

remove the last of the old names, and remove the gem

fixes CNVS-25247

Change-Id: I6b0c0427a1b4fa7f67a29f391043d018ddf1a551
Reviewed-on: https://gerrit.instructure.com/67660
Tested-by: Jenkins
Reviewed-by: James Williams  <jamesw@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
2015-11-30 16:00:12 +00:00
James Williams b0c3285d8b bump switchman
fixes problems with multiple processes using incorrect connection
 schemas

closes #CNVS-25288

Change-Id: I325d430e36e6afecf8e23f582483310bbff8d93b
Reviewed-on: https://gerrit.instructure.com/67883
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-11-25 22:49:40 +00:00
Cody Cutrer d0b43c4a43 bump switchman
fixes CNVS-24965

Change-Id: I5f4b7b0fe1fae72ce72afd5b22dd7a6c94f4bb8f
Reviewed-on: https://gerrit.instructure.com/67368
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-11-18 15:41:04 +00:00
Derek Bender d79fbdb31b Bump byebug to 8.2 for eval/threading fix
See github issue:
  https://github.com/deivid-rodriguez/byebug/issues/184

fixes CNVS-25086

Change-Id: I85f69faea659a814b7961a2bc87e0b36aea2d59e
Reviewed-on: https://gerrit.instructure.com/67251
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
Product-Review: Derek Bender <djbender@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
2015-11-17 14:56:13 +00:00
Derek Bender 40e2d21dc7 Bump byebug, fixes CNVS-24904
Expand object by default
Version 6.0.2 had the following problem:
  https://github.com/deivid-rodriguez/byebug/issues/177

This means that in previous to this patch objects like [nil]
would print as blank lines in byebug.

Change-Id: I4ba20becd4e145dfa4f7d461dd380b72373a0898
Reviewed-on: https://gerrit.instructure.com/66724
Tested-by: Jenkins
Reviewed-by: Keith T. Garner <kgarner@instructure.com>
Product-Review: Derek Bender <djbender@instructure.com>
QA-Review: Derek Bender <djbender@instructure.com>
2015-11-09 17:33:35 +00:00
Cody Cutrer 71e8d51dd5 spec: gracefully handle sharding not initializing in specs
also bumps switchman for similar error handling

refs CNVS-21900

Change-Id: I5c4f8d91bc5b6d3d0e6dc01ef3388fcc4d9b6c36
Reviewed-on: https://gerrit.instructure.com/65924
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2015-11-06 17:11:52 +00:00
kinezu b858cba8ca Taking appium mobile specs out of the canvas-lms project
They now live in their own private repository.

Change-Id: Id4e9e3f745c1311fc75f99bb62333af44b90f145
Reviewed-on: https://gerrit.instructure.com/66125
Tested-by: Jenkins
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Product-Review: Derek Hansen <dhansen@instructure.com>
QA-Review: Derek Hansen <dhansen@instructure.com>
2015-11-05 16:33:55 +00:00
Ethan Vizitei 9835f67c1a Use json-jwt instead of ruby-jwt
closes CNVS-24284

json-jwt has encryption built into the library.

Also replace all bare uses of JWT library
with Canvas::Security so we use a consistent
interface throughout the app.

TEST PLAN:
1) no behavior changes
2) regression test Oauth logins
3) regression test LTI tool launches

Change-Id: If1a98cc9fbaf9f77631b730a5afe0951347743ab
Reviewed-on: https://gerrit.instructure.com/65774
Reviewed-by: Simon Williams <simon@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Ethan Vizitei <evizitei@instructure.com>
Tested-by: Jenkins
2015-10-31 13:05:59 +00:00
James Williams b4ce2b49e1 update canvas-jobs
includes n-strand improvements to perform load balancing
at runtime instead of queue time

(e.g. should prevent one strand from getting blocked when
 queueing many imports at a time)

test plan:
* regression test delayed jobs

Change-Id: I2f616d380c841d7231af5159c09c24cbcc8d235d
Reviewed-on: https://gerrit.instructure.com/65976
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: James Williams  <jamesw@instructure.com>
2015-10-29 19:17:14 +00:00
Cody Cutrer be601684a5 bump switchman
refs CNVS-21900

Change-Id: Ie68dcdc21a574d47a79a3d7194a682301e694455
Reviewed-on: https://gerrit.instructure.com/65748
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Reviewed-by: Mike Nomitch <mnomitch@instructure.com>
2015-10-27 14:55:44 +00:00
Cody Cutrer 228ea6b7ea bump canvas-jobs
refs CNVS-21900

Change-Id: I4031697319d221cf1f677eca1dfbe6041a5b442f
Reviewed-on: https://gerrit.instructure.com/65733
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-10-26 02:04:35 +00:00
Cody Cutrer 7951db7219 bump switchman
fixes CNVS-23621

Change-Id: Ic20717bee05b5c3775d4684d8fe8cc6cada6bfcc
Reviewed-on: https://gerrit.instructure.com/65666
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-10-23 15:37:33 +00:00
Cody Cutrer a8926f93cf bump hair trigger
refs CNVS-23621

Change-Id: Ib6906a0f7bb7ba8ff5243923d1dad68cf89918bc
Reviewed-on: https://gerrit.instructure.com/65599
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-10-22 18:55:00 +00:00
Cody Cutrer f4517bbf5d bump switchman
Change-Id: I35ff71857d2084a47bf484d0de784b2eed15c3f2
Reviewed-on: https://gerrit.instructure.com/65364
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2015-10-20 16:35:45 +00:00
Jon Jensen 97bbe13460 re-add httparty
we're using this, but didn't explicitly have it in the Gemfile, so we lost
it with the testbot removal. not a problem in CI / canvas cloud, since
other plugins add it, but its absence would break canvas open source.

test plan:
1. remove any extraneous plugins
2. bin/spring stop
3. bundle install
4. bin/rails s
5. canvas should load up, instead of giving an httparty (or other) error

Change-Id: Ied85bb37720cca3815d80c9987a427d770fc6c2e
Reviewed-on: https://gerrit.instructure.com/65322
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Reviewed-by: August Thornton <august@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
2015-10-18 22:15:48 +00:00
August Thornton c20ba6d47a remove github testbot dependency
testbot gem is now being referenced on the build machine locally and no longer relies on old github
reference to be used within Canvas

Change-Id: I4966f9afef38d6832bda7b88db125456850d7e57
Reviewed-on: https://gerrit.instructure.com/65259
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
Tested-by: Jenkins
2015-10-16 22:21:34 +00:00
Jon Jensen 5d5af5827d allow # prefix for tickets
the # is not necessary, but now you won't get misleading linter messages
if you do one, e.g. refs #PROJ-123

test plan:
1. the linter should not complain about this commit message

Change-Id: I3eb9e5de093a5b8948c2892bd3ecdec8c3ea4add
Reviewed-on: https://gerrit.instructure.com/65225
Reviewed-by: Jeremy Stanley <jeremy@instructure.com>
Tested-by: Jenkins
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2015-10-15 17:10:24 +00:00