Граф коммитов

61 Коммитов

Автор SHA1 Сообщение Дата
Brian Beggs 3c2ea074f8 Upgrade nokogiri to address security issues in libxml2 https://github.com/sparklemotion/nokogiri/issues/1473 2016-07-05 16:50:08 -04:00
Edward Zarecor b5887e730e updating nokogiri 2016-01-22 18:09:01 -05:00
Clinton Blackburn 0030050154 Added factory_girl
Factories will replace spec helper methods created for generating test data. Factories are more flexible than the helpers.
2016-01-07 10:10:33 -05:00
Edward Zarecor 8e611bd1ed fixing merge conflict 2016-01-04 12:33:22 -05:00
Edward Zarecor 1e7f71478a update xml lib on top of mongo changes 2016-01-04 12:30:06 -05:00
Clinton Blackburn 5802c3311f Added Codecov coverage tracking 2015-12-30 21:36:15 -05:00
Brian Beggs f959e2ecec Upgrade Mongoid to 5.x release 2015-12-04 11:35:33 -05:00
Greg Price 8bc4720f77 Add thread type feature
There are two thread types, discussion and question. Discussions have
the same behavior that current threads do. When a question is returned
from the API, it contains separate fields for its endorsed and non-
endorsed entries.

Co-authored-by: Jim Abramson <jsa@edx.org>
2014-07-30 11:13:15 -04:00
jsa 37aba9dfba Revise/add rake tasks for search index mgmt. Bump Tire to 0.6.2.
Tire is being upgraded in order to get the latest import-related fixes, such as:

13abc5b351
45eb4f988d
7117550ac7
67b89035cf
2014-05-16 12:58:45 -04:00
jsa 280ce78ed4 upgrade tire to 0.5.2, update use of deprecated "text" search api 2014-04-16 10:25:17 -04:00
Greg Price eeb9010e2f Respect Accept-Language when getting strings 2014-02-12 10:29:10 -05:00
Greg Price ef8f348cce Clean databases between rspec tests 2013-12-18 09:55:44 -05:00
Jim Abramson 62b7ab5051 Merge pull request #76 from edx/feature/jsa/i18n
set up i18n in comments service
2013-12-18 06:22:39 -08:00
jimabramson 5c5a5a6c7a deprecate unused tagging feature 2013-12-17 17:59:18 -05:00
jimabramson f8fb343aa2 set up i18n
* add i18n gem
* configure default_locale (en-US)
* externalize strings
* configure locale fallbacks
* add tests
2013-12-17 17:58:53 -05:00
jimabramson 25e8684821 update to mongoid 3.0.15 2013-12-09 21:59:59 -05:00
jimabramson 735334e439 use rack-timeout 0.1.0beta3 2013-11-19 08:58:41 -05:00
jimabramson 371e7c34ef tweak request timeout settings for heroku
* use Rack::Timeout, set to 20s
* set unicorn timeout to 25s

Ideally these are set lower, around 10s/15s, however we need to reduce long-running requests (such as notifier batch pulls) before we can safely do this.
2013-11-05 10:31:44 -05:00
Greg Price aa5993df9b Add newrelic_moped gem
This will hopefully give us more insight into mongo performance.
2013-10-15 14:01:17 -04:00
Greg Price a9d281adc3 Merge pull request #46 from hikari-boulders/patch-1
Update Gemfile
2013-10-09 08:03:58 -07:00
jimabramson 413246bcef add lots of test coverage. 2013-10-03 15:02:36 -04:00
jimabramson f33733dde9 mongoid -> 1.5.1 2013-09-24 16:55:32 -04:00
jimabramson ba691f4e83 moped -> 1.4.1 2013-09-24 15:40:58 -04:00
Jim Abramson 993acdab1a Merge pull request #50 from edx/feature/jsa/moped-v121
force moped v1.2.1
2013-08-26 07:24:31 -07:00
jimabramson 7b9ceeed06 force moped v1.2.1
avoids Moped::Errors::OperationFailure "need to login" in edx loadtest environment
2013-08-21 10:54:38 -04:00
jimabramson 5809ea1c64 reimplement db:reindex_search using tire api; avoid OOM errors 2013-08-20 17:08:02 -04:00
hikari-boulders 9b4e208f15 Update Gemfile
# Change Gemfile source to https://rubygems.org to stop warning.
 
# The source :rubygems is deprecated because HTTP requests are insecure.
# Please change your source to 'https://rubygems.org' if possible, or
# 'http://rubygems.org' if not.
2013-08-02 16:18:15 +02:00
David Ormsbee 900963eea3 Remove debugger from Gemfile because Heroku is throwing a fit about it. 2012-10-22 17:19:50 -04:00
Ibrahim Awwal 95941b36b8 Guardfile set up for unicorn. 2012-09-05 22:44:49 -07:00
David Ormsbee 3f8859ed4f The return of the Procfile and the intro of Unicorn 2012-09-03 16:09:26 -04:00
David Ormsbee 330f252f70 Convert to Heroku config 2012-09-03 14:57:30 -04:00
Rocky Duan 3c5aee7dfd Merge branch 'master' of github.com:rll/cs_comments_service 2012-08-20 13:36:16 -07:00
David Ormsbee 93ffba9c50 Completely remove sqlite3 from gems 2012-08-20 12:51:33 -04:00
David Ormsbee 86672a5380 Heroku doesn't like the sqlite3 gem 2012-08-20 12:49:15 -04:00
David Ormsbee dd73d8fee5 Specify ruby version for heroku's sake 2012-08-20 12:43:17 -04:00
David Ormsbee a1bcd77edf Update gems to pull public ones from http so we don't need to worry about keys 2012-08-20 12:35:07 -04:00
David Ormsbee eb03c47566 Try http in gemfile 2012-08-20 12:32:51 -04:00
Rocky Duan 818fa57311 caching & benchmark for search query 2012-08-17 13:34:53 -07:00
Rocky Duan 376aa1dc67 weird 2012-08-15 22:35:38 -07:00
Rocky Duan c1b96347c0 updated taggable gem to use real time update 2012-08-15 17:48:44 -07:00
Rocky Duan 11ff55bb5f more_like_this feature for threads 2012-08-07 11:35:34 -04:00
Rocky Duan 0873091811 Merge branch 'elasticsearch' 2012-08-06 17:15:21 -04:00
Rocky Duan b4cef7d467 initial setup - not working yet 2012-08-06 11:09:37 -04:00
Mike Chen a7924cd351 added db:seed_fast 2012-08-05 17:42:18 -04:00
Rocky Duan d360c8d83f gems for parsing markdown & html 2012-08-03 19:25:17 -04:00
Rocky Duan 192eeb68dd generate fake text 2012-08-02 14:40:50 -04:00
Rocky Duan b89e833b02 sorting - mostly untested 2012-08-01 19:43:17 -04:00
Rocky Duan a1af1ad7bc shouldn't use local path gem... 2012-08-01 17:08:54 -04:00
Rocky Duan 87ac5e3412 use custom delayed job & gem for pagination 2012-08-01 16:43:32 -04:00
Rocky Duan f3cdff16d0 update to mongoid 3.0 2012-07-31 22:44:16 -04:00