Matthew Piatetsky
c77ba984c9
fix traversal bug and keep current behavior as default
2019-03-28 15:50:05 -04:00
Matthew Piatetsky
1f6cd7aa5a
Revert "Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason""
2019-03-28 14:44:05 -04:00
Matthew Piatetsky
8eae694566
Revert "REVMI-62 Return gated blocks in the course blocks API response with an authorization denial reason"
2019-03-27 16:30:37 -04:00
Matthew Piatetsky
4bb539c9aa
update user partition and access_denied_message_filter transformers
2019-03-26 15:26:59 -04:00
DawoudSheraz
24d63f25ce
add staff exemption for content access in library access
2019-02-18 12:17:19 +05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Pooja Kulkarni
9ddb1cc074
Implement public cohort
...
This PR is based on #19284 and is part of the
series of work related to the proposal #18134 .
This PR avoids the assignment of
anonymous/unenrolled users to any cohort when
course is public. Anonymous or unenrolled users
will only see content that does not have a
content group assigned.
The "View Course" link to the course outline
is shown on the course about page for a course
marked public/public outline.
It also makes course handouts available for
public courses (not for public_outline).
This PR also hides the different warnings and
messages asking the user to sign-in and enroll
in the course, when the course is marked public.
It modifies the default public_view text to
include the component display_name when
unenrolled access is not available.
2019-02-07 21:42:21 +05:30
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Calen Pennington
325fbe4eb2
Hide empty container blocks from the course blocks api when called by the mobile app
...
All code in this PR should be removed after REVE-52 is merged and mobile
traffic from older app versions falls to < 5% of the mobile traffic
to the course_blocks api
2018-12-20 15:17:24 -05:00
Cali Stenson
4dcda2858e
Add group partitions information to user metadata in the dom.
...
This information will inform our A/B testing and experiments.
REV-612
2018-11-16 16:34:17 -05:00
Cali Stenson
ecb052125c
Move get_user_partition_groups to partition_services to call
...
from multiple contexts.
2018-11-16 16:28:07 -05:00
Ned Batchelder
59d78031d8
Fix trailing-comma-tuple warnings
2018-11-02 11:06:59 -04:00
J Eskew
0e76d04819
Merge pull request #17682 from mitodl/fix_overrideing_due_date_issue
...
Fixed override due date by limiting scope to selected users
2018-10-12 17:37:32 -04:00
Calen Pennington
72f556c1a9
Import courseware module from fully-qualified module name
2018-10-10 15:34:33 -04:00
Ned Batchelder
93d4af35bd
No need for superstitious kwargs
2018-09-17 17:01:11 -04:00
Jeremy Bowman
1a5bf35357
TE-2689 Remove useless pylint suppressions part 2
2018-08-14 17:39:02 -04:00
Jeremy Bowman
4e8668d3be
TE-2524 Stop using nose.plugins - LMS 2
2018-08-01 13:54:06 -04:00
Amir Qayyum Khan
5ae5a531f4
Fixed override due date by limiting scope to selected users
...
Added selected user tests
updated my email
2018-07-19 14:25:34 +05:00
Stuart Young
1fd2167144
rebalance python unittests onto new shards
2018-05-03 11:16:05 -04:00
attiyaishaque
b239d7b8d7
Allow staff to see all units when viewing the course outline.
2018-03-15 15:02:36 +05:00
Amir Qayyum Khan
aa6f88382d
Fixed edX block structure api to load override data
2018-02-16 11:10:17 +05:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
John Eskew
3b57542ab0
Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
...
This reverts commit f97f052591 , reversing
changes made to 800bcd8e20 .
2017-05-30 12:42:54 -04:00
John Eskew
76389d8678
Run all files touched in inheritance/partition work through isort.
2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 13:24:08 -04:00
Robert Raposa
3b31270e07
Fix Start Course vs Resume Course using Course Blocks.
2017-05-03 15:02:42 -04:00
cahrens
e5035746bf
Introduce EnrollmentTrackUserPartition.
...
TNL-6674
2017-03-30 12:24:48 -04:00
Nimisha Asthagiri
00d466224e
Consolidate Block Structure folders
...
TNL-6518
2017-03-01 21:19:28 -05:00
Nimisha Asthagiri
b99e9ae252
Block Transformers: Transformers Version Hash
...
TNL-6519
2017-02-14 11:34:29 -05:00
Nimisha Asthagiri
71cce9bb73
Block Transformers: distinguish between READ and WRITE versions
...
TNL-6522
2017-02-13 12:20:22 -05:00
Sanford Student
1a5e15fd5c
add course and user id to library content assigned
2017-02-07 13:52:15 -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
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
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
Nimisha Asthagiri
b90c21b138
Ensure selected blocks get saved into StudentModule when running
...
transform phase
TNL-6198
2016-12-21 15:58:41 -05:00
Eric Fischer
31953c5e0c
Update correct persistent score
...
* First take at forcing a subsection's grade to update when a signal is
sent that a problem's score has changed
* Refactor signal handler connection.
* Expand bokchoy tests to cover progress page
* Add some grading unit tests
TNL-5394
TNL-5364
2016-09-08 15:09:05 -04:00
Calen Pennington
bc20a37c2b
Simplify how shards are selected in CI
2016-08-03 16:23:02 -04:00
Nimisha Asthagiri
9616ac99f8
Expose course_version from Split Modulestore;
...
Support subtree_edited_on and course_version fields in BlockStructures
TNL-5010
2016-07-26 13:40:53 -04:00
Nimisha Asthagiri
37b8e6360c
HiddenContentTransformer to check for hide_after_due
2016-07-19 21:13:14 -04:00
Cliff Dyer
cb4c712558
Merge pull request #12964 from edx/adam/merge-release-to-rc
...
Adam/merge release to rc
2016-07-08 13:53:57 -04:00
Qubad786
92ed01ef4f
filter inactive user partitions in user partition transformer.
2016-07-05 16:34:23 -04:00
Nimisha Asthagiri
69410948c9
Reduce number of transformer traversals ( #12881 )
...
This change improves grading performance by combining what had previously been
multiple course tree traversals into a single traversal with combined
filtering logic.
2016-07-01 12:28:33 -04:00
Nimisha Asthagiri
57dde6516a
Update ENABLED_CACHES values
2016-06-23 20:22:33 -04:00
Eric Fischer
fdc6d91588
update_in_cache on lms worker ( #12689 )
...
This commit "undoes"a previous hotfix, and allows a cms course_publish
signal to trigger a block_structure update_course_in_cache task, which
is run on an lms worker queue.
Changes:
-exposes ALTERNATE_QUEUE_ENVS
-adds routing layer in celery.py
-moves prior dev_with_worker settings file to devstack_with_worker
-moves course_block api functionality into openedx/core/djangoapps/content/block_structure
2016-06-16 18:01:06 -04:00
J. Cliff Dyer
2696650437
modified tests to directly address split test group 0 issues.
2016-06-10 17:59:02 +00:00
J. Cliff Dyer
4212a3c326
Ensure split-test group zero content is protected
...
TNL-4771
2016-06-10 14:00:17 +00:00
Calen Pennington
853bfe7a36
Add a TestCase mixin for enabling caches in tests
...
By default, disable all caching in tests, to preserve test independence.
In order to enable caching, inherit from CacheSetupMixin, and specify
which cache configuration is needed.
[EV-32]
2016-05-04 14:51:30 -04:00
Ben Patterson
b9558a90f1
Create a 3rd explicit shard for unit tests.
...
More accurately, this creates a 4th shard because the
last shard is always the default.
2016-04-28 10:09:32 -04:00
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04:00
Nimisha Asthagiri
70469c16b2
Block Structure API: Replace has_block with __contains__
2016-02-22 11:25:46 -05:00