Qubad786
64555c60c0
Move request_cache to openedx.core.djangoapps
2018-01-26 15:09:25 +05:00
Jeremy Bowman
d3d6272d8f
PLAT-1873 to_deprecated_string() cleanup part 1
2018-01-08 13:51:42 -05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
John Eskew
7dfb6cc681
Change all UTC timezones to import from pytz instead of Django.
2017-10-05 11:12:52 -04:00
Christina Roberts
b14b951122
Merge pull request #15524 from edx/christina/remove-mustache
...
Remove unneeded mustache references.
2017-07-11 13:28:06 -04:00
Kyle McCormick
fade4a10af
Implement event for forum thread views
...
EDUCATOR-341
2017-07-11 12:42:49 -04:00
cahrens
21bcf02d97
Remove unneeded mustache references.
2017-07-11 12:06:27 -04:00
Sofiya Semenova
f0c694e562
Review round 1
2017-07-10 14:58:27 +00:00
Albert St. Aubin
6cdcf8e9b8
Discussion group moderation
2017-07-06 13:39:03 -04:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Albert St. Aubin
fd7ac21608
Working publisher/subscriber events for Cohorts and discussions
2017-06-06 13:58:54 -04:00
cahrens
3abc7dc07e
isort updates
2017-06-05 13:47:48 -04:00
cahrens
36c51450c2
Adds in radio button patch request and text for page
...
EDUCATOR-229
2017-06-05 13:00:31 -04:00
cahrens
8951ac8c61
Refactor server-size code to enable enrollment tracks.
...
EDUCATOR-11
2017-06-05 12:59:50 -04:00
cahrens
31fbde9c1f
Rename cohort methods to divided.
2017-04-27 14:58:08 -04:00
attiyaishaque
a7550912f8
TNL-6284 Empty subcategory will not render in inline discussion modules.
2017-04-06 12:00:53 +05:00
rabiaiftikhar
ccfa3ea74d
TNl-6610 Fix "more" menu on discussion post for global staff.
2017-03-09 14:16:31 +05:00
attiyaishaque
76e1d4a75c
TNL-5621 Fix discussion topics in MIT course.
2016-11-09 22:26:48 +05:00
Toby Lawrence
6704e17afd
[TNL-5632] Optimize the single_thread view.
...
Firstly, we're now explicitly instructing the comments service to not
return thread responses/comments if the request isn't AJAX. So, if you
load the URL for a single discussion thread in your browser, this would
be a non-AJAX call and we'll avoid loading the responses for the entire
thread behind-the-scenes. Big win here for large threads.
Next, we removed a redundant "get threads" call which was also happening
behind-the-scenes. This call was redundant as the front-end JS also
grabs the thread list when a topic is chosen, so we were making an
extranenous call for no benefit. Poof, gone!
Finally, we added some caching of database queries that are required to
drive a lot of the permissions/cohorts machinery around discussion.
This will have a minimal effect but introduced a cleaner way to apply
general memoization at the per-request level which will let us further
cache things as we identify them as issues.
2016-10-18 13:11:30 -04:00
Matjaz Gregoric
8dc84bec3a
Enable discussions on CCX courses.
...
Discussion is restricted to the CCX course (there is no sharing of
discussions with the parent course or other CCX instances).
2016-09-12 09:51:05 +02:00
Andy Armstrong
89f93df46e
Refactor out a new discussions Django app
2016-08-17 16:20:45 -04:00
E. Kolpakov
33b3dfcc92
Converts Discussion XModule to Discussion XBlock
...
* Renames discussion_module to discussion_xblock
* Moves common/lib/xmodule/xmodule_discussion to openedx/core/lib/xblock_builtin/xblock_discussion
2016-06-29 06:47:04 +12:00
Brian Jacobel
b6cf9d231f
Disallow reporting and upvoting of your own posts in discussion forums
2016-06-15 12:01:23 -04:00
wajeeha-khalid
3c0502726c
MA-2318: get DiscussionTopic against topic id
2016-06-02 11:33:39 +05:00
wajeeha-khalid
5b5fb2464d
TNL-3818: fixed recent activity mapping in thread-list sort for Forums Web
2016-04-13 17:47:31 +05:00
Renzo Lucioni
0e7247f2a7
Fix discussion category map for self-paced courses
...
Prevents start date alone from being used to filter out categories in self-paced courses during construction of the category map. ECOM-4017.
2016-04-04 21:15:26 -04:00
M. Rehan
b427da7185
Merge pull request #11350 from edx/mrehan/unwanted-discussion-modules
...
Fix - skip orphans while getting discussion modules
2016-01-29 12:46:02 +05:00
M. Rehan
31b180beb3
Skip orphans while getting discussion modules
2016-01-29 11:09:00 +05:00
Giovanni Di Milia
e63194c1cd
Added CCX REST APIs
...
CCX REST APIs
OAUTH2 authorization for CCX APIs
- oauth2 authorization required for ccx list.
- Course-instructor permission for ccx api endpoint
- Protection for detail view too.
Tests for CCX REST APIs and OAUTH2 authorization
2016-01-27 11:04:28 -05:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Matt Drayer
1eab25f292
mattdrayer/increment-edx-lint: Bump to v0.2.9 and address pylint/pep8 violations
...
* Fix paver violations to stablize edx-lint update
* Parens, Line2Long
* Fix missing docstrings
* Fix PEP8 issues
* Address PR feedback (thanks @nedbat!)
2015-10-19 10:11:59 -04:00
wajeeha-khalid
90fe71dbfe
MA-1248 - CourseEnrollmentAPI: added discussion URL
2015-10-09 19:04:55 +05:00
Waheed Ahmed
aff849281d
Revert "Test library failed to export after import"
...
This reverts commit 4c1c4619f0 .
2015-08-12 02:06:09 +05:00
Daniel Friedman
f5840489a0
Allow editing of own post in team discussion
2015-08-06 11:15:55 -04:00
Syed Hassan Raza
4c1c4619f0
Test library failed to export after import
2015-08-05 12:47:27 -07:00
Diana Huang
1c6c1654be
Add the creator of a team to that team.
...
TNL-1908
2015-08-04 16:08:40 -04:00
Ben McMorran
6d48e1360d
Extend is_commentable_cohorted to support teams
2015-07-31 20:22:31 +00:00
Ben McMorran
4a78271851
Move is_commentable_cohorted to django_comment_client
2015-07-30 20:59:34 +00:00
Ben McMorran
6b08bb20f8
TNL-1943 Support thread context for team discussions
2015-07-28 17:18:45 +00:00
Ben McMorran
2cf3390ba8
Merge pull request #8837 from edx/benmcmorran/discussion-caching-3
...
TNL-2389 Use discussion id map cache for thread creation and update
2015-07-17 11:33:02 -04:00
Ben McMorran
d36eb83a03
Add query count tests
2015-07-15 14:56:04 +00:00
Sarina Canelake
49f78b4742
Remove logging-not-lazy Pylint violations
2015-07-13 17:34:54 -04:00
Sarina Canelake
39d3537410
Pylint logging-format-interpolation: Convert logging calls to use %s formatting
2015-07-13 17:33:29 -04:00
Ben McMorran
a119b723fd
TNL-2389 Use discussion id map cache for thread creation and update
2015-07-13 20:56:50 +00:00
Ben McMorran
ccf20e52b1
TNL-2458 Cache discussion id mapping on course publish
2015-07-13 20:12:52 +00:00
Greg Price
f47ab2bb18
Enforce MAX_COMMENT_DEPTH in discussion_api
2015-06-18 17:18:02 -04:00
David Ormsbee
b92ad0ad13
TNL-2291 Add caching to discussion forum permissions
...
Caches all permissions per user per course. Adds caching functionality to has_permission and replaces all instances of cached_has_permission with has_permission.
2015-06-17 21:08:28 +00:00
muzaffaryousaf
e6c75529c0
Cohort discussion topics via UI in instructor dashboard.
...
TNL-1256
2015-03-23 14:28:22 +05:00
Usman Khalid
e07f45b5dd
Removed cohort_config from advanced settings page.
...
TNL-1258
2015-03-23 09:58:25 +05:00
Usman Khalid
d382f569c8
Refactor django_comment_client.utils.prepare_content() to query
...
course cohort settings only once.
TNL-1258
2015-03-23 09:57:07 +05:00