Feanil Patel
d803f8ef5b
Update the version of RPM to the latest released version.
2015-04-27 13:22:14 -04:00
Edward Zarecor
7dc4f08144
Merge pull request #125 from edx/e0d/update-nr
...
updating nr dependencies
2015-04-27 13:10:09 -04:00
Matjaz Gregoric
e863ec41c4
Add ability to set ssl option through env variable.
2015-04-11 12:20:08 +02:00
Edward Zarecor
a6652c5456
updating nr dependencies
2015-03-27 09:00:32 -04:00
Edward Zarecor
172989a76a
Revert "Updating New Relic components"
...
This reverts commit 9e325636a8
.
2015-03-27 08:57:32 -04:00
Edward Zarecor
9e325636a8
Updating New Relic components
2015-03-27 08:55:34 -04:00
Jim Abramson
c32591b67b
add running & testing instrux to README
2014-11-17 15:29:25 -05:00
Daniel Friedman
e850e07dc3
Merge pull request #123 from edx/dan-f/upgrade-travis-mongo
...
Dan f/upgrade travis mongo
2014-10-17 15:44:27 -04:00
Daniel Friedman
2a03975469
Use mongo 2.6.4 in travis builds
...
TNL-604
2014-10-17 14:47:11 -04:00
Christina Roberts
ea218a2b03
Merge pull request #122 from edx/christina/bug-tnl-543
...
Use group_id if present when getting user thread and comment counts.
2014-10-16 13:17:31 -04:00
cahrens
2a19759896
Use group_id if present when getting user thread and comment counts.
...
TNL-543
2014-10-16 13:02:18 -04:00
Jim Abramson
f10416faee
fix .travis.yml to avoid hanging on shell prompt
2014-10-15 16:38:46 -04:00
e0d
dc899319c8
Merge pull request #121 from edx/e0d/upgrade_nr
...
upgrading newrelic
2014-10-15 15:43:55 -04:00
Jim Abramson
a1ac06eab9
Merge pull request #109 from aboudreault/query-multiple-group-ids
...
Add the ability to query multiple group ids
2014-10-06 09:10:02 -04:00
jmclaus
df190050f6
Merge pull request #120 from edx/jmclaus/add-thread-type-attribute
...
Added thread type attribute.
2014-10-03 18:22:41 +02:00
jmclaus
774887b45f
Make thread_type editable.
2014-10-03 17:19:56 +02:00
e0d
704c7f8bab
upgrading newrelic
2014-10-01 18:31:44 -04:00
Greg Price
0786619699
Merge pull request #116 from aboudreault/vote-unvote-crash
...
Add validation for undo_vote_for to avoid a crash
2014-10-01 16:06:18 -04:00
Alan Boudreault
9eaff4c21b
Add the ability to query multiple group ids
2014-09-18 10:53:07 -04:00
Christina Roberts
12661104c7
Merge pull request #118 from edx/christina/notifications_group_id
...
Add group_id to payload from notifications.
2014-09-15 13:31:15 -04:00
cahrens
f78fdd9437
Add group_id to payload from notifications.
...
TNL-299
2014-09-15 13:19:53 -04:00
Greg Price
2d2a05a1c3
Merge pull request #117 from edx/gprice/commentable-course-id-filter
...
Filter commentable queries by course_id
2014-09-08 11:40:27 -04:00
Greg Price
d2e14133b1
Filter commentable queries by course_id
...
Bug: TNL-207
2014-09-05 13:09:07 -04:00
Alan Boudreault
09ec975ada
Add validation for undo_vote_for to avoid a crash
2014-09-05 10:23:51 -04:00
Greg Price
d26bc6b71e
Merge pull request #114 from edx/gprice/test-group-id
...
Allow filtering by group_id in more endpoints
2014-09-02 14:22:48 -04:00
Waqas Khalid
fd4554133b
Merge pull request #113 from mlkwaqas/waqas/tnl91-incorrect-post-number
...
Number of post are incorrect
2014-09-02 19:13:14 +05:00
Waqas Khalid
fdc30dd6ca
Number of post are incorrect becuase deletion of comments doesn't perform deletion of subcomments one by one which cause magical comment counter not to decrese the counter properly
...
TNL-91
2014-09-01 17:44:28 +05:00
Greg Price
18620cae47
Allow filtering by group_id in more endpoints
...
All endpoints that return lists of threads (except the endpoint used by
the notifier component) now allow filtering by group_id and are tested
accordingly.
2014-08-29 16:52:03 -04:00
Greg Price
bbd83e3cd2
Remove unused endpoints
2014-08-29 16:52:03 -04:00
Greg Price
ffb1dcfbbb
Merge pull request #115 from edx/gprice/travis-es-version
...
Make Travis use an ES version we support
2014-08-29 16:50:28 -04:00
Greg Price
9558800037
Make Travis use an ES version we support
2014-08-29 16:21:55 -04:00
Jim Abramson
66482b544e
Merge pull request #112 from edx/jsa/thread-filters
...
Add/update thread filters (flagged, unread, unanswered).
2014-08-04 15:54:51 -04:00
jsa
3f21215e2f
Add/update thread filters (flagged, unread, unanswered).
2014-08-04 15:50:55 -04:00
Greg Price
3021d7163b
Merge pull request #108 from edx/gprice/thread-type
...
Add thread type feature
2014-07-30 11:32:16 -04: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
Greg Price
e439307573
Fix a bogus test
2014-07-02 21:18:34 -04:00
Greg Price
c58fe3548e
Fix bug in spam blocking
...
Editing a comment such that it matched a blocked hash would cause the
API to return 503 but actually update the comment. This is now fixed.
2014-07-01 16:57:45 -04:00
Greg Price
c4f5a1f2b3
Merge pull request #105 from edx/gprice/search-spell-correction
...
Refactor search, fix a bug, and implement spelling correction
2014-06-04 13:28:28 -04:00
Greg Price
5e22e139e3
Add spelling correction to text search queries
...
If a search has no results, then we will get suggestions from
Elasticsearch, re-query with the top suggestion, and return the results
from that query along with the suggestion that was used.
This change also changes search so that a document must match all terms
to be included in the results instead of any term.
2014-06-04 11:28:33 -04:00
Greg Price
84efbb6250
Refactor search code
...
This contains several improvements and bug-fixes:
* Take advantage of indexing changes in ead2f5e
to reduce the number of
round trips to execute a search
* Use Tire scan to include all matching threads
* Execute final sort/pagination in Mongo
* Share sorting code
* Eliminate separate presenter for search results (which removes unused
highlighting functionality)
JIRA: FOR-607
2014-06-04 11:27:12 -04:00
Jim Abramson
4d01f1696c
Merge pull request #107 from edx/jsa/single-index
...
use a single index in elasticsearch for both document types.
2014-05-29 12:25:42 -04:00
jsa
ead2f5e399
use a single index in elasticsearch for both document types.
...
WARNING: Must rebuild search index!
Starting with this change, the name of the search index used by the
service has changed. The new search index must be created before
deploying this version of the application. There are two ways of doing
this:
* Offline (recommended)
Follow [these instructions](https://github.com/edx/cs_comments_service/wiki/Search-Indexes#offline-procedure ) to perform an offline rebuild.
* Online
1. Deploy this code to a host which is not serving HTTP requests, and
run `rake search:rebuild`
2. When the rebuild finishes, deploy the updated code on live servers.
3. run `rake search:catchup[MINUTES]` where minutes is the amount of
time it took to run rebuild in step 1.
4. run `rake search:prune`
2014-05-28 15:26:16 -04:00
Greg Price
db41f9ff20
Merge pull request #106 from ADubus/fix-rakefile-tags
...
Fix task seed in Rakefile
2014-05-22 13:06:12 -04:00
Alexandre Dubus
a1a40d4abe
Add author
2014-05-22 11:35:34 +02:00
Alexandre Dubus
6d9048a4a8
Remove references to tags in Rakefile
2014-05-22 11:34:09 +02:00
Jim Abramson
d5523cc70e
Merge pull request #104 from edx/jsa/index-migr2
...
Revise/add rake tasks for search index mgmt. Bump Tire to 0.6.2.
2014-05-16 14:03:14 -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
Greg Price
45b1d661bc
Merge pull request #103 from edx/gprice/search-total-results
...
Return total result count for text search queries
2014-05-14 17:39:36 -04:00
Greg Price
02466b17f0
Return total result count for text search queries
2014-05-14 16:09:02 -04:00
Jim Abramson
ab98774ff5
Merge pull request #102 from edx/jsa/index-comments-dates
...
add create/update dates to comments index, for use in statistical facets
2014-05-14 12:12:34 -04:00