- 15 Jan, 2014 1 commit
-
-
JIRA: FOR-398, FOR-399
jsa committed
-
- 14 Jan, 2014 1 commit
-
-
Greg Price committed
-
- 07 Jan, 2014 1 commit
-
-
STUD-1072
David Baumgold committed
-
- 05 Dec, 2013 1 commit
-
-
David Baumgold committed
-
- 08 Nov, 2013 1 commit
-
-
Calen Pennington committed
-
- 01 Nov, 2013 1 commit
-
-
The motivation for this change is performance. The forums UI code gets the list of users for each role and renders the staff label based on those lists. The list for the staff role is expensive to compute because there is no index on the is_staff attribute, and we cannot create one because the User model is built into django. Users with is_staff=True are still assigned the Moderator role upon enrolling in a course, so this change will have no practical effect except that a user who is granted staff privileges after enrolling in a course will have to be made a Moderator in order for their posts to be labeled. Additionally, the UI did not use the list of users with the Student role, so that list has been removed as well.
Greg Price committed
-
- 28 Oct, 2013 4 commits
-
-
Avoid recomputing course module information for every thread, which should dramatically improve the performance of high-percentile latency queries. JIRA: FOR-250
Greg Price committed -
The _DISCUSSIONINFO global was originally used as a cache, but has since lost that capability and is therefore just harmful. This is a precursor to more refactoring that will improve the performance of the forums and may itself provide some performance improvement because it separates the computation done by two functions that each previously computed the entirety of _DISCUSSIONINFO.
Greg Price committed -
This is in preparation for significant refactoring of the code in question.
Greg Price committed -
CommentClientError now has sane subclasses that are meaningfully distinct, and each subclass is handled appropriately. Errors raised by the requests library are no longer handled by turning them into CommentClientErrors, since there is no meaningful handling we can do, and this way we will get more visibility into why errors are occurring. Also, HTTP status codes from the comments service indicating client error are correctly passed through to the client.
Greg Price committed
-
- 11 Oct, 2013 1 commit
-
-
Previously, authentication was done using a URL parameter, which would appear in various logs. Now, authentication is done more appropriately with an HTTP header. Note that this requires cs_comments_service commit cf39aabdd160176ebf206ca19d3ee030161a0b47 or later.
Greg Price committed
-
- 10 Oct, 2013 1 commit
-
-
Previously, AJAX calls would return 400, and page views and attempts to load inline discussions would return 404 if communication with the comments service failed. Now such problems cause a 500 status code.
Greg Price committed
-
- 23 Aug, 2013 2 commits
-
-
Giulio Gratta committed
-
Giulio Gratta committed
-
- 19 Jun, 2013 1 commit
-
-
Ned Batchelder committed
-
- 20 May, 2013 1 commit
-
-
remove_open_ended_panel_tab() -> remove_extra_paneltab(). Also, update new forums test factors to use refactored Models.py
Chris Dodge committed
-
- 16 May, 2013 5 commits
-
-
Jay Zoldak committed
-
Your Name committed
-
Kevin Chugh committed
-
Start adding view tests for discussion client. Note that these will not work unless you change your test.py to enable discussion forums.
Jay Zoldak committed -
This reverts commit 2df3fe93. Conflicts: common/static/coffee/src/discussion/utils.coffee
Jay Zoldak committed
-
- 06 May, 2013 2 commits
-
-
Chris Dodge committed
-
Chris Dodge committed
-
- 26 Apr, 2013 1 commit
-
-
This reverts commit acfd0d9f, reversing changes made to e4194c99.
Diana Huang committed
-
- 22 Apr, 2013 1 commit
-
-
Your Name committed
-
- 18 Apr, 2013 1 commit
-
-
Jay Zoldak committed
-
- 11 Apr, 2013 2 commits
-
-
Jay Zoldak committed
-
Jay Zoldak committed
-
- 27 Mar, 2013 1 commit
-
-
Make the django_comment_client return errors that can't be parsed as JSON just as simple strings when in an ajax context
Calen Pennington committed
-
- 20 Mar, 2013 2 commits
-
-
Jay Zoldak committed
-
Jay Zoldak committed
-
- 06 Mar, 2013 2 commits
- 06 Feb, 2013 1 commit
-
-
Calen Pennington committed
-
- 05 Feb, 2013 2 commits
-
-
a model change as well) This reverts commit 05354745.
David Ormsbee committed -
This reverts commit e7450874.
David Ormsbee committed
-
- 29 Jan, 2013 4 commits
-
-
Jay Zoldak committed
-
Jay Zoldak committed
-
Jay Zoldak committed
-
Jay Zoldak committed
-