- 07 Jan, 2014 1 commit
-
-
STUD-1072
David Baumgold committed
-
- 06 Jan, 2014 1 commit
-
-
Greg Price committed
-
- 12 Dec, 2013 1 commit
-
-
Part of STUD-1030
cahrens committed
-
- 10 Dec, 2013 1 commit
-
-
David Baumgold committed
-
- 09 Dec, 2013 1 commit
-
-
This button has been broken for at least a year, so the code has suffered from bit rot and should be reimplmemented if the feature is necessary in the short term (which is unlikely since it has been broken for so long).
Greg Price committed
-
- 05 Dec, 2013 1 commit
-
-
David Baumgold committed
-
- 03 Dec, 2013 2 commits
-
-
David Baumgold committed
-
David Baumgold committed
-
- 08 Nov, 2013 2 commits
-
-
Calen Pennington committed
-
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
-
- 30 Oct, 2013 1 commit
-
-
Greg Price committed
-
- 28 Oct, 2013 5 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 -
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
-
- 22 Oct, 2013 2 commits
-
-
Greg Price committed
-
Greg Price committed
-
- 16 Oct, 2013 1 commit
-
-
Logging the duration of each request will allow us to determine whether there is a significant difference in the latency reported by the comments service and that observed by the LMS. Each request will be assigned a unique identifier to allow correlation of the reported latency on each end.
Greg Price committed
-
- 11 Oct, 2013 2 commits
-
-
Without the login_required decorator, an error would occur, causing a 500 to be returned. This fixes FOR-155.
Greg Price committed -
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
-
- 06 Sep, 2013 3 commits
-
-
Calen Pennington committed
-
jsa committed
-
jsa committed
-
- 27 Aug, 2013 1 commit
-
-
Cleaned up files with muliline imports Cleaned up files that do not use these imports Misread comment
Jay Zoldak committed
-
- 23 Aug, 2013 3 commits
-
-
Giulio Gratta committed
-
Giulio Gratta committed
-
Giulio Gratta committed
-
- 21 Aug, 2013 2 commits
-
-
Your Name committed
-
Modified navigation tests to use MixedModulestore Updated factories to find editable modulestore Updated test_submitting_problems Updated test_tabs.py Updated test_view_authentication Updated test_views Updated courseware/tests/tests.py Updated test_masquerade Updated test_module_render Pylint fixes Updated video and word cloud tests Updated course wiki tests Updated license and open_ended tests. One open_ended test still failing due to Mako initialization issues Updated staticbook Updated django_comment_client tests Updated instructor tests Updated instructor task tests Updated external_auth tests Updated course_groups
Will Daly committed
-
- 20 Aug, 2013 1 commit
-
-
Kevin Chugh committed
-
- 19 Aug, 2013 2 commits
-
-
David Ormsbee committed
-
David Ormsbee committed
-
- 14 Aug, 2013 1 commit
-
-
Features coming down the pipe will want to be able to: * Refer to enrollments before they are actually activated (approval step). * See what courses a user used to be enrolled in for when they re-enroll in the same course, or a different run of that course. * Have different "modes" of enrolling in a course, representing things like honor certificate enrollment, auditing (no certs), etc. This change adds an is_active flag and mode (with default being "honor"). The commit is only as large as it is because many parts of the codebase were manipulating enrollments by adding and removing CourseEnrollment objects directly. It was necessary to create classmethods on CourseEnrollment to encapsulate this functionality and then port everything over to using them. The migration to add columns has been tested on a prod replica, and seems to be fine for running on a live system with single digit millions of rows of enrollments.
David Ormsbee committed
-
- 30 Jul, 2013 1 commit
-
-
Kevin Chugh committed
-
- 29 Jul, 2013 1 commit
-
-
Your Name committed
-
- 25 Jul, 2013 1 commit
-
-
Kevin Chugh committed
-
- 28 Jun, 2013 1 commit
-
-
Sarina Canelake committed
-