Commit Graph

8160 Commits

Author SHA1 Message Date
Andy Armstrong
91d227f76d Convert course bookmarks into a feature
LEARNER-39
2017-03-23 10:34:49 -04:00
Brian Jacobel
574d070392 Hide '<- Outline >' link in breadcrumbs if using old course view 2017-03-23 10:31:05 -04:00
Brian Jacobel
acc3a045ca Link outline subsections into the course 2017-03-23 10:31:05 -04:00
M. Rehan
3c040b93c2 Merge pull request #14704 from edx/mrehan/strip-edx-video-id
TNL-5769 – strip video id on saving the video
2017-03-17 12:56:41 +05:00
Muhammad Ammar
7766e15a65 Merge pull request #14684 from edx/ammar/backend-changes-to-support-hls
backend changes to support hls
2017-03-17 12:46:26 +05:00
Qubad786
4a2589c7c3 strip video id on saving the video 2017-03-16 19:48:46 +05:00
muhammad-ammar
5ec5e97a0c backend changes to support hls
TNL-6541
2017-03-16 19:30:49 +05:00
Qubad786
0ff62e766e prioritize youtube transcripts over html5 ones 2017-03-16 14:38:51 +05:00
Mushtaq Ali
40621b6cc2 Merge pull request #14315 from edx/mushtaq/move-component
Move a component
2017-03-14 12:58:20 +05:00
Albert St. Aubin
b4956cf1cb Updates to add a show answer notification and update focus when the notification is shown.
TNL-6356
2017-03-13 09:31:40 -04:00
Albert (AJ) St. Aubin
22f58606af Merge pull request #14564 from edx/aj/TNL-6347_headers
Aj/tnl 6347 headers
2017-03-08 13:27:40 -05:00
Albert St. Aubin
7c7c27183f changes header levels for a11y
TNL-6347
2017-03-08 11:45:45 -05:00
Albert (AJ) St. Aubin
b168b04a20 Merge pull request #14640 from edx/aj/TNL-6620_action_style
Updating the notification to remove overlap of action bar buttons
2017-03-08 10:27:27 -05:00
alisan617
60787393ec change to comlete flex layout 2017-03-07 13:48:46 -05:00
Qubad786
f064e991bf duplicate video id in basic tab 2017-03-07 15:33:33 +05:00
Albert St. Aubin
2693305354 Updating the notification to remove overlap of action bar buttons 2017-03-06 15:14:52 -05:00
Mushtaq Ali
485ffb1b68 restrict move action 2017-03-01 19:29:59 +05:00
Andy Armstrong
248558f1d4 Render Discussion tab using web fragments 2017-02-28 23:39:39 -05:00
cahrens
8fedc08c2a Support web fragments for tabs. 2017-02-24 17:55:32 -05:00
David Ormsbee
2051c90924 Test Speedup: Isolate Modulestore Signals
There are a number of Django Signals that are on the modulestore's
SignalHandler class, such as SignalHandler.course_published. These
signals can trigger very expensive processes to occur, such as course
overview or block structures generation. Most of the time, the test
author doesn't care about these side-effects.

This commit does a few things:

* Converts the signals on SignalHandler to be instances of a new
  SwitchedSignal class, that allows signal sending to be disabled.

* Creates a SignalIsolationMixin helper similar in spirit to the
  CacheIsolationMixin, and adds it to the ModuleStoreIsolationMixin
  (and thus to ModuleStoreTestCase and SharedModuleStoreTestCase).

* Converts our various tests to use this new mechanism. In some cases,
  this means adjusting query counts downwards because they no longer
  have to account for publishing listener actions.

Modulestore generated signals are now muted by default during test runs.
Calls to send() them will result in no-ops. You can choose to enable
specific signals for a given subclass of ModuleStoreTestCase or
SharedModuleStoreTestCase by specifying an ENABLED_SIGNALS class
attribute, like the following example:

    from xmodule.modulestore.tests.django_utils import ModuleStoreTestCase

    class MyPublishTestCase(ModuleStoreTestCase):
        ENABLED_SIGNALS = ['course_published', 'pre_publish']

You should take great care when disabling signals outside of a
ModuleStoreTestCase or SharedModuleStoreTestCase, since they can leak
out into other tests. Be sure to always clean up, and never disable
signals outside of testing. Because signals are essentially process
globals, it can have a lot of unpleasant side-effects if we start
mucking around with them during live requests.

Overall, this change has cut the total test execution time for
edx-platform by a bit over a third, though we still spend a lot in
pre-test setup during our test builds.

[PERF-413]
2017-02-23 10:31:16 -05:00
Ned Batchelder
3cfec2807a Merge pull request #14566 from edx/nedbat/prevent-openblas-threads
Prevent OpenBLAS from spawning worker threads. TNL-6456
2017-02-23 09:53:02 -05:00
Ned Batchelder
1ea92aa2d5 Prevent OpenBLAS from spawning worker threads. TNL-6456
The RLIMIT_NPROC limit is per-user so simultaneous student submissions
pile up and overflow the limit.  Setting this environment variable will
prevent spawning any threads (the 1 means only have one threads, the
already existing main thread).
2017-02-22 16:39:51 -05:00
muzaffaryousaf
f16550519e Defining charset to "utf8".
TNL-6553
2017-02-22 17:39:13 +05:00
muzaffaryousaf
e50a3c57b6 Adding text param to webob response for 1.7.1. https://github.com/Pylons/webob/issues/304
TNL-6553
2017-02-21 20:31:40 +05:00
Albert St. Aubin
8e1fc5f5d3 Updated the focus order for the action bar 2017-02-17 22:46:17 -05:00
muzaffaryousaf
d73d2f5889 Increase the yttimeout to un-skip the video tests. 2017-02-08 20:30:54 +05:00
Calen Pennington
cea871ec54 Merge pull request #14336 from CredoReference/split_mongo_copy_subdag_fix_asides
Fix asides to copy them during publish operation
2017-02-02 14:10:17 -05:00
attiyaishaque
0869df22c4 TNL-6419 Fix in file-checking code in Xmodule. 2017-02-02 17:02:59 +05:00
Dmitry Viskov
5d887adc09 Fix asides to copy them during publish operation (bug in modulestore/split_mongo/split.py:SplitMongoModuleStore._copy_subdag method) 2017-02-01 18:36:27 +03:00
cahrens
0f3eb6e94c Fix safe template warning. 2017-01-31 13:43:36 -05:00
cahrens
55712d1148 Show checkmarks when "Show Answer" is clicked.
TNL-6357
2017-01-31 09:55:08 -05:00
Ned Batchelder
8d791b5823 Use latest pyparsing 2.0.x to avoid setuptools entanglement
With 2.0.1, and setuptools 34.0.2, errors happen like:

File "/edx/app/edxapp/venvs/edxapp-sandbox/local/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
    MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
TypeError: __call__() takes exactly 2 arguments (1 given)

(cherry picked from commit 73519b3547359a0b791e39d4665f51ac66449a17)
2017-01-25 15:10:02 -05:00
John Eskew
ab190a8507 Merge pull request #14284 from open-craft/haikuginger/filter-by-block-name
Restrict block ID comparison slightly to avoid false positives
2017-01-24 19:32:14 -05:00
noraiz-anwar
4679766655 Emit play_video event after seek_video event 2017-01-23 17:36:43 +05:00
Eric Fischer
f84f3c09d3 Merge pull request #14343 from edx/efischer/hide_after_end
Revert "Merge pull request #14324 from edx/efischer/revertins"
2017-01-18 13:51:04 -05:00
Jeff LaJoie
43c5cb2af8 Merge pull request #14307 from edx/jlajoie/TNL-5619
Fixes submit button enablement on save/reset
2017-01-18 11:40:28 -05:00
Eric Fischer
507e621ccc Revert "Merge pull request #14324 from edx/efischer/revertins"
This reverts commit c7d2d601b8, reversing
changes made to fb2173f43e.
2017-01-18 10:56:13 -05:00
Jeff LaJoie
139f91ebed TNL-5619: removes enable/disable all button methods to save button state and disable active, modifies tests for new functions 2017-01-18 10:48:32 -05:00
Ari Rizzitano
54a48a3227 [courseware] generate sequence-specific titles server-side (AC-695)
[courseware] generate sequence-specific titles server-side (AC-695)

[courseware] generate sequence-specific titles server-side (AC-695)

case for empty subsections [AC-695]

move title logic into courseware context method [AC-695]

pep8

coffeescript -> js

js mistake

jslint

refactor sequence title generation slightly

missed a line

line too long

python is not javascript

ugh js

ugh js part 2
2017-01-14 17:55:09 -05:00
alisan617
88e10e0ee8 sequence navs keyboard support and test update 2017-01-13 14:07:10 -05:00
Eric Fischer
0b620ebbc1 Revert "Merge pull request #14225 from edx/efischer/tnl-6108"
This reverts commit 8b8cf5f9e0, reversing
changes made to 2716ffbf8e.
2017-01-12 13:50:05 -05:00
Gregory Martin
eea2518452 Merge pull request #14299 from edx/yro_change-display-helptext
change help strings
2017-01-12 12:15:20 -05:00
Eric Fischer
6845c64977 Hide after course end
Hijacks the existing hide_after_due field to be repected as "hide after course
end" for self-paced courses. Includes tests.

TNL-6108
2017-01-12 09:12:54 -05:00
Gregory Martin
e1e47793df change help strings 2017-01-12 09:02:28 -05:00
Jeff LaJoie
1c0a60ebc4 TNL-6095: adds trailing_text id and adds to describedby_html, updates tests 2017-01-10 10:27:59 -05:00
Clinton Blackburn
b14a8d6403 Updated factory-boy to 2.8.1
ECOM-4422
2017-01-10 09:20:05 -05:00
noraiz-anwar
b967538fee Merge pull request #14275 from edx/revert-14216-noraiz/TNL-6197
Revert "Error while exporting course with too long filename"
2017-01-10 16:01:55 +05:00
Jesse Shapiro
4bf05c02df Update comment; update tests 2017-01-06 21:02:07 -05:00
Jesse Shapiro
8f5d949d87 Restrict block ID comparison slightly to avoid false positives 2017-01-06 16:47:35 -05:00
Christina Roberts
adc3c8f89c Merge pull request #14134 from edx/christina/jsinput-newtemplate
New jsinput example problem
2017-01-06 10:29:59 -05:00