Remove chat feature
This was originally contributed upstream by Stanford, circa 2013.
We neither use nor support this feature in its current implementation,
and in fact, we may never have used this production. Until recently, we
had additional chat/Jabber code [1] (in the form of a Jabber djangoapp in
LMS); context there suggests this feature may have never been more than
a prototype. The original author is no longer on the team, so I can't directly
confirm this on our end.
Do you use this feature?
Stanford had already abandoned this Jabber-backed chat implementation,
in favor of an IRC backend, by the time I joined the team in early 2014.
[1] dbe52a6b13
This commit is contained in:
@@ -270,12 +270,6 @@ class CourseFields(object):
|
||||
scope=Scope.settings,
|
||||
deprecated=True # Deprecated because someone would not edit this value within Studio.
|
||||
)
|
||||
show_chat = Boolean(
|
||||
display_name=_("Show Chat Widget"),
|
||||
help=_("Enter true or false. When true, students can see the chat widget in the course."),
|
||||
default=False,
|
||||
scope=Scope.settings
|
||||
)
|
||||
tabs = CourseTabList(help="List of tabs to enable in this course", scope=Scope.settings, default=[])
|
||||
end_of_course_survey_url = String(
|
||||
display_name=_("Course Survey URL"),
|
||||
|
||||
@@ -498,10 +498,10 @@ class TestXmlAttributes(XModuleXmlImportTest):
|
||||
assert_equals('value', course.xml_attributes['unknown_attr'])
|
||||
|
||||
def test_known_attribute(self):
|
||||
assert_true(hasattr(CourseDescriptor, 'show_chat'))
|
||||
course = self.process_xml(CourseFactory.build(show_chat='true'))
|
||||
assert_true(course.show_chat)
|
||||
assert_not_in('show_chat', course.xml_attributes)
|
||||
assert_true(hasattr(CourseDescriptor, 'show_calculator'))
|
||||
course = self.process_xml(CourseFactory.build(show_calculator='true'))
|
||||
assert_true(course.show_calculator)
|
||||
assert_not_in('show_calculator', course.xml_attributes)
|
||||
|
||||
def test_rerandomize_in_policy(self):
|
||||
# Rerandomize isn't a basic attribute of Sequence
|
||||
|
||||
@@ -209,7 +209,6 @@ class AdvancedSettingsPage(CoursePage):
|
||||
'annotation_token_secret',
|
||||
'showanswer',
|
||||
'show_calculator',
|
||||
'show_chat',
|
||||
'show_reset_button',
|
||||
'static_asset_path',
|
||||
'text_customization',
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"course/2014": {"advanced_modules": ["annotatable", "combinedopenended", "peergrading", "lti", "word_cloud"], "show_calculator": true, "display_name": "Manual Smoke Test Course 1", "tabs": [{"type": "courseware", "name": "Courseware"}, {"type": "course_info", "name": "Course Info"}, {"type": "textbooks", "name": "Textbooks"}, {"type": "discussion", "name": "Discussion"}, {"type": "wiki", "name": "Wiki"}, {"type": "progress", "name": "Progress"}, {"type": "pdf_textbooks", "name": "Textbooks"}, {"type": "open_ended", "name": "Open Ended Panel"}], "discussion_topics": {"General": {"id": "i4x-ManTestX-ManTest1-course-2014"}}, "start": "2014-06-26T00:00:00Z", "pdf_textbooks": [{"tab_title": "An Example Paper", "id": "0An_Example_Paper", "chapters": [{"url": "/static/1.pdf", "title": "Introduction "}]}], "lti_passports": ["ims:12345:secret"], "show_chat": true}}
|
||||
{"course/2014": {"advanced_modules": ["annotatable", "combinedopenended", "peergrading", "lti", "word_cloud"], "show_calculator": true, "display_name": "Manual Smoke Test Course 1", "tabs": [{"type": "courseware", "name": "Courseware"}, {"type": "course_info", "name": "Course Info"}, {"type": "textbooks", "name": "Textbooks"}, {"type": "discussion", "name": "Discussion"}, {"type": "wiki", "name": "Wiki"}, {"type": "progress", "name": "Progress"}, {"type": "pdf_textbooks", "name": "Textbooks"}, {"type": "open_ended", "name": "Open Ended Panel"}], "discussion_topics": {"General": {"id": "i4x-ManTestX-ManTest1-course-2014"}}, "start": "2014-06-26T00:00:00Z", "pdf_textbooks": [{"tab_title": "An Example Paper", "id": "0An_Example_Paper", "chapters": [{"url": "/static/1.pdf", "title": "Introduction "}]}], "lti_passports": ["ims:12345:secret"]}}
|
||||
|
||||
Reference in New Issue
Block a user