Commit Graph

178 Commits

Author SHA1 Message Date
Matt Tuchfarber
510f877408 quality 2019-03-20 10:52:10 -04:00
Matt Tuchfarber
634866dd0c Don't count a non-existing forums user as a failure 2019-03-14 11:15:25 -04:00
Matt Tuchfarber
5a164df3b7 quality 2019-03-14 10:44:40 -04:00
Matt Tuchfarber
cda681e2f1 fix python tests 2019-03-13 23:04:41 -04:00
Matt Tuchfarber
f224f38a21 testing 2019-03-13 19:12:21 -04:00
Matt Tuchfarber
bb1964f9ef make discussion api match others 2019-03-13 19:04:46 -04:00
Matt Tuchfarber
ab74bb4c97 Make discussion API bulk friendly 2019-03-13 15:59:28 -04:00
Matt Tuchfarber
58d6213939 quality 2019-03-11 12:54:45 -04:00
Matt Tuchfarber
7458cd8820 quality 2019-03-11 11:21:19 -04:00
Matt Tuchfarber
d19536e796 qiality 2019-03-11 10:47:06 -04:00
Matt Tuchfarber
1cd727762d fix quality 2019-03-08 16:42:34 -05:00
Matt Tuchfarber
eec95cf538 Add discussion api 2019-02-28 16:35:09 -05:00
Guruprasad Lakshmi Narayanan
546c021d9c Implement an alternative discussion settings, roles management API
This is intended to be used for server-to-server communication.
2019-02-20 19:20:30 +05:30
cclauss
c0c935b685 Old style exceptions --> new style for Python 3 2019-02-19 13:09:23 +01:00
Michael Youngstrom
3221c2b91f Remove lms pytest shards 2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b fix unicode strings in lms/ part 1 2019-02-05 15:15:02 -05:00
Ned Batchelder
3353e7425e Remove unused imports 2018-11-03 16:07:05 -04:00
Nimisha Asthagiri
dc56a63e03 Remove deprecated JwtBuilder
ARCH-248
2018-10-17 07:43:59 -04:00
Robert Raposa
fbc59231fc Update edx-drf-extensions to 2.0.0.
Note: this version update is backward incompatible.

ARCH-255
2018-10-17 01:00:34 -04:00
Jeremy Bowman
68902a2f3f TE-2689 Remove useless pylint suppressions part 3 2018-08-16 09:57:01 -04:00
Jeremy Bowman
ca3316962d TE-2524 Stop using nose.plugins - LMS 1 2018-07-31 13:03:18 -04:00
Eric Fischer
247bb50ed2 s/django.core.urlresolvers/django.urls/g
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Brian Mesick
48bff77b45 Merge pull request #18206 from edx/bmedx/fix_forum_retirement_404
Bubble up 404s from the forum service on user retirement
2018-05-15 21:48:44 -04:00
bmedx
23023203e5 Bubble up 404s from the forum service on user retirement 2018-05-15 17:49:06 -04:00
John Eskew
e82fe8290d Pass retired_username to forums retirement endpoint instead of original username. 2018-05-15 11:55:31 -04:00
Stuart Young
1fd2167144 rebalance python unittests onto new shards 2018-05-03 11:16:05 -04:00
bmedx
98742c1c50 Update retirement APIs to match spec 2018-04-23 16:03:29 -04:00
bmedx
ada7ded553 Add an API endpoint for retiring a user from the cs_comments_service 2018-04-02 14:54:55 -04:00
George Babey
26bac9f611 Moved paginators to edx_rest_framework_extensions package
Pagination should be standard and easy to adopt so moved the paginators
into the edx_rest_framework_extensions package so they can be easily
installed into other app/projects
2018-02-16 09:46:01 -05:00
bmedx
6ece1708a6 Make sure httpretty usage cleans up after itself 2017-12-22 15:36:46 -05:00
bmedx
11a4030767 LMS urls cleanup for Django 1.11
- Remove usage of django.urls.patterns
- Change urls tuples to lists
- Make all string view names callables
- This is the second of several urls updates for LMS; a work in progress
2017-11-06 16:06:00 -05:00
bmedx
763fa4de99 Remove empty models.py files 2017-10-17 16:21:21 -04:00
John Eskew
2cd62c7bfb Upgrade django-rest-framework version to edX fork, which is DRF v3.6.3
with a custom patch needed by edx-platform.
Upgrade django-filter as well to v1.0.4
Import DjangoFilterBackend from the correct module - django_filter.
Add django-filter to INSTALLED_APPS.
2017-07-14 16:05:13 -04:00
Kyle McCormick
c22aeceab7 Truncate title in thread created event to 1000 chars
EDUCATOR-341
2017-06-20 11:56:53 -04:00
Andy Armstrong
79acb5c5be Reorder LMS imports using isort 2017-06-11 21:48:06 -04:00
cahrens
3abc7dc07e isort updates 2017-06-05 13:47:48 -04:00
cahrens
8951ac8c61 Refactor server-size code to enable enrollment tracks.
EDUCATOR-11
2017-06-05 12:59:50 -04:00
John Eskew
3b57542ab0 Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
This reverts commit f97f052591, reversing
changes made to 800bcd8e20.
2017-05-30 12:42:54 -04:00
John Eskew
76389d8678 Run all files touched in inheritance/partition work through isort. 2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf Move fields.py, inheritance.py, and partitions to openedx/core. 2017-05-25 13:24:08 -04:00
cahrens
31fbde9c1f Rename cohort methods to divided. 2017-04-27 14:58:08 -04:00
Andy Armstrong
da1ac4664e Implement common redirect logic for all course tabs
LEARNER-76
2017-04-12 16:05:32 -04:00
cahrens
121078eb67 Change default value for "always cohort".
TNL-6815
2017-04-07 13:02:25 -04:00
wajeeha-khalid
b837427bd5 MA-2554: DiscussionAPI - fixed unread_comment_count 2016-11-15 11:33:07 +05:00
wajeeha-khalid
7ae05625ee MA-2871: return response_count on thread patch 2016-11-09 15:07:00 +05:00
Toby Lawrence
2acb4a6cad [PERF-386] Utilize ForumsConfig to enable and disable forums.
This specifically enables/disables the underlying comment service client
used to make calls to the service.  When disabled, this client will now
throw an exception which can be propagated upwards so that callers can
make the right decision about how to notify users of the error, or
handle retry, etc etc.
2016-11-03 10:20:19 -04:00
wajeeha-khalid
03f888b795 MA-2663: Donot mark thread unread on any action but creation 2016-09-19 19:16:23 +05:00
wajeeha-khalid
7377634ea8 Merge pull request #13027 from edx/jia/MA-2139
MA-2139: Mark thread as read for learner on thread/comment creation
2016-09-16 13:57:09 +05:00
Robert Raposa
f774ccf3f8 Remove support for sort_order (order_direction).
- Default of "desc" is all that is in use, and remains as-is.
- Discussion API keeps order_direction param, to minimize changes,
but it only accepts "desc".
- Discussion webapp simply no longer sends in the sort order.
2016-09-15 12:11:01 -04:00
Robert Raposa
bced90d2ee Performance enhancements for Discussions API.
- Default to with_responses=False, except when required.
- Clean up search call unused params.
2016-09-09 11:42:51 -04:00