Commit Graph

22 Commits

Author SHA1 Message Date
Cody Cutrer c9aab282ba use rails built-in RedisCacheStore
RedisStore is no longer supported

somewhat surprisingly, the serialization formats are compatible, so we don't
need to do any namespacing

Change-Id: Iede3a023cada95313875f0ce419b649c364ee97c
Reviewed-on: https://gerrit.instructure.com/202663
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Rob Orton <rob@instructure.com>
Product-Review: Rob Orton <rob@instructure.com>
2019-08-09 20:22:56 +00:00
Cody Cutrer 5a15e3c110 update to upstream redis-activesupport
PR merged, switch to upstream!

Change-Id: I2e91bb0feeae059aa83950aa1c87492830b2bfa4
Reviewed-on: https://gerrit.instructure.com/143467
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2018-03-14 20:39:07 +00:00
Cody Cutrer 9610c41c3f allow configuring redis rings more fine grained
and with MurmurHash2

Change-Id: I14dc4466c46589bb9fbee6ad98d359f217a319ef
Reviewed-on: https://gerrit.instructure.com/138899
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2018-01-24 22:24:58 +00:00
Simon Williams 4f6b176dd8 bump redis
Change-Id: I96cf419b58da883cde5bccdb13343bc947d71dd5
Reviewed-on: https://gerrit.instructure.com/136424
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
2017-12-22 19:24:50 +00:00
Cody Cutrer 174107fc11 switch back to upstream for redis-store
but still unreleased version

Change-Id: Ife16e0b1f4c11849c13b49b4c85daac20edf548d
Reviewed-on: https://gerrit.instructure.com/136098
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2017-12-19 17:44:22 +00:00
Cody Cutrer 81d0c0d494 bump redis-store
Change-Id: Iab7281f774ae0218e6f031dcee9bc029e9927fab
Reviewed-on: https://gerrit.instructure.com/130154
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2017-10-18 19:38:30 +00:00
Cody Cutrer 521e8ae252 bump redis
Change-Id: I0f9c5ebf380afa1f213bbea663c80a90460f6231
Reviewed-on: https://gerrit.instructure.com/126615
Reviewed-by: Rob Orton <rob@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2017-09-19 19:26:44 +00:00
Cody Cutrer e151b9c6f7 bump lots of minor gem versions
Change-Id: Ife54e460d9cf61890b3e3a8850686f62f2597a96
Reviewed-on: https://gerrit.instructure.com/120718
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2017-07-27 22:02:15 +00:00
Cody Cutrer 75c7538888 drop rails 4.2
also, allow rails 5.1

Change-Id: If480c2a2c01a7578552dc70f4bdcf3a46df40e7b
Reviewed-on: https://gerrit.instructure.com/115654
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
Reviewed-by: Tyler Pickett <tpickett@instructure.com>
2017-06-27 15:29:51 +00:00
Landon Wilkins 8403054825 da licença part 22
add consistent license headers to all source files
(ruby, coffeescript, javascript)

except for vendor files

Change-Id: I289eec4c72b19324a049188939dc14b5965c1f25
Reviewed-on: https://gerrit.instructure.com/110044
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2017-04-27 21:51:33 +00:00
Cody Cutrer e8de84b145 Revert "bump the redis gem to 3.3.2"
This reverts commit 1962b61afd.

Change-Id: I16b5057a83da82e5a300a953a0899fcdc52f993c
Reviewed-on: https://gerrit.instructure.com/99476
Tested-by: Jenkins
Reviewed-by: Simon Williams <simon@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2017-01-12 21:00:08 +00:00
Simon Williams 1962b61afd bump the redis gem to 3.3.2
https://github.com/redis/redis-rb/pull/644 might be relevant to some
errors we've been seeing.

refs CNVS-34084

test plan: specs should pass, app should connect to redis

Change-Id: Ibcb58a8ea36390f3a3203eef83142a79f003e3b1
Reviewed-on: https://gerrit.instructure.com/98681
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
QA-Review: Simon Williams <simon@instructure.com>
2017-01-03 21:26:08 +00:00
Cody Cutrer 92c4f652b2 bump redis-store for rails 5
my bug fix was merged in upstream

Change-Id: If1d4cb6e8276360aa2a30124890883999dbdae79
Reviewed-on: https://gerrit.instructure.com/95406
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-11-17 15:08:24 +00:00
James Williams f23f3b0ff2 remove rails 4.0 support
Change-Id: Id1900160375644ea33badaa9d9f9185fab6b81ac
Reviewed-on: https://gerrit.instructure.com/92726
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-10-25 17:17:22 +00:00
Cody Cutrer 8a192a3520 bump redis
Change-Id: I2ab0de44c6ab4d470e3066da16aab6bf5b16b9ef
Reviewed-on: https://gerrit.instructure.com/92434
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-10-10 22:10:14 +00:00
Cody Cutrer 5ba1017a14 Revert "bump redis"
This reverts commit 364061f240.
2016-10-10 14:49:25 -06:00
Cody Cutrer 364061f240 bump redis
Change-Id: I047b349e71d11cfbc4dbdd985d5f26284401f000
Reviewed-on: https://gerrit.instructure.com/92391
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-10-10 19:02:35 +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 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
Cody Cutrer 8cd72c2f78 fix redis-store bug
fixes CNVS-18366

test plan:
 * configure a distributed redis
 * oauth for LTI should not error

Change-Id: Ice22281e60878ac8596215d94c387f89ef0da442
Reviewed-on: https://gerrit.instructure.com/48339
Reviewed-by: Brian Palmer <brianp@instructure.com>
Tested-by: Shawn Meredith <shawn@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-02-06 19:57:36 +00:00
Brian Palmer 6666663076 rails4: upgrade redis-store and friends
fixes CNVS-15414

This applies to rails3 as well, we just use the appropriate version of
redis-rails for each.

test plan: redis should work as before, for both cache and data.

Change-Id: Ic34729190936a133b908e31ff186934fa435c1b6
Reviewed-on: https://gerrit.instructure.com/40898
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Brian Palmer <brianp@instructure.com>
2014-09-11 16:31:52 +00:00
Anthus Williams 5ed608bb72 partition Gemfile
this is a proof-of-concept to see if partitioning
our Gemfile helps more than it hurts. It's modeled
after the way the Squash team handles its dependencies

this doesn't implement any of the particularly nice
things that can be found in the Squash set up, such
as conditionally loading gems based on the contents
of our configuration files (we can already sort of
do this with groups in bundler), but it's a start.

In particular, it allows us to add non-OSS gems to
Gemfile.d without necessarily having to release it
as part of our open-source packaging

Change-Id: If7ff1fe97409de4cd09867ad5be1c4134c5d0117
Reviewed-on: https://gerrit.instructure.com/32442
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Nick Cloward <ncloward@instructure.com>
Product-Review: Anthus Williams <awilliams@instructure.com>
QA-Review: Anthus Williams <awilliams@instructure.com>
2014-03-28 16:44:56 +00:00