Michael Terry
6d0ecaab47
Only mark blocks 'complete' if their completion is 1.0
...
This is how the rest of our code seems to treat it, let's be
consistent.
This is an attempt to fix AA-292.
2020-08-14 11:39:18 -04:00
Nizar Mahmoud
c0b6260c3e
Adds Custom Extra Fields to Course Blocks API through LMS Settings
2020-08-06 21:27:31 +03:00
David Ormsbee
96ea413a07
Make Blocks API and Dates mobile views non-atomic.
...
These are expensive, read-only web requests. Unfortunately,
middleware adds writes, and we currently run with view-level
transactions enabled by default. Holding those long transactions
open has caused extra load on the database and been our largest
sources of django.db.utils:OperationError exceptions.
This has been particularly noticeable as we start deploying the
new Courseware MFE, which uses the BlocksInCourseView more
frequently.
2020-07-22 17:10:11 -04:00
Robert Raposa
77e490f057
ARCHBOM-1305: remove deprecated flag_undefined_default ( #24426 )
...
This is the final step in removing the deprecated
flag_undefined_default as explained by the following ADR:
https://github.com/edx/edx-platform/blob/master/openedx/core/djangoapps/waffle_utils/docs/decisions/0001-refactor-waffle-flag-default.rst
Notes:
* All uses of flag_undefined_default=False were always
supposed to have been no-ops.
* All uses of flag_undefined_default=True that are removed
in this PR have been replaced by migrations in past PRs.
* The temporary metric temp_flag_default_used id no longer
reporting any data.
ARCHBOM-1305
2020-07-09 09:31:31 -04:00
Dillon Dumesnil
35549f56ba
AA-220: Making Library Content an Aggregator CompletionMode
...
This change will prevent Library Content from being marked as
complete on view and the corresponding version bump to
edx-completion contains code that will start looking at the
children of the library content for completeness.
2020-07-01 17:33:54 -04:00
Robert Raposa
6a5d95a517
fix quality
2020-06-23 13:26:31 -04:00
Robert Raposa
624012e11c
remove ENABLE_VIDEO_URL_REWRITE
...
The temporary waffle flag ENABLE_VIDEO_URL_REWRITE is no
longer needed, becaues the rollout is complete.
See https://openedx.atlassian.net/browse/PROD-62
ARCHBOM-1304
2020-06-23 11:19:32 -04:00
Dillon Dumesnil
39d45eee42
Moving SUPPORTED_FIELDS for transformers into serializers
...
It is only referenced inside of the serializers so we can just
define it there
2020-05-14 13:12:43 -07:00
Dillon Dumesnil
4d4b93c6ed
AA-159: Improving performance of get_course_assignments
...
We saw an increase in response time with recent changes to the logic
behind get_course_assignments. This effort works to better access
the information we need in order to improve performance.
Namely, this is done by using the course_blocks_api
2020-05-14 13:12:25 -07:00
Dillon Dumesnil
858154a7d6
AA-99: Adding in new date pills for the dates tab
2020-05-04 07:24:01 -07:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Michael Terry
e724a4bcb7
Add ExperimentWaffleFlag
...
This is a helpful class when running an experiment, to help
bucket users and keep track of which enrollments to consider
as part of the experiment.
AA-53
2020-03-03 14:39:02 -05:00
Calen Pennington
98328ea426
On publish, add evenly spaced dates to self-paced courses
2020-02-21 10:50:22 -05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Diana Huang
4a828d749a
Remove items from a different dictionary than the one we're
...
iterating over.
2019-12-10 13:21:03 -05:00
Matthew Piatetsky
bd76a71019
delete old holdback code
2019-11-07 09:51:39 -05:00
DawoudSheraz
4970e3d7e3
enable video url re-write flag for all the courses
2019-11-06 12:21:08 +05:00
DawoudSheraz
169349d57e
add encoded video key check in video transformer
2019-11-04 12:23:58 +05:00
Syed Muhammad Dawoud Sheraz Ali
83f567c485
Revert "enable video url rewrite flag"
2019-10-30 21:09:34 +05:00
DawoudSheraz
8c75a3757d
enable video url rewrite flag
2019-10-30 12:19:37 +05:00
Braden MacDonald
5fc73468b3
Change completion API to work with any learning context
2019-10-22 14:04:31 -04:00
Calen Pennington
7ceb0e30fa
Mark course outline with graded and scored status in the DOM so that we can run optimizely code on them
2019-10-17 12:14:49 -04:00
DawoudSheraz
aeeb76edd0
add information for missing annotation fields
2019-10-07 10:55:11 +05:00
Stu Young
8c94ee15ea
add missing annotation tokens to course api toggles ( #21831 )
2019-09-30 14:13:03 -04:00
DawoudSheraz
942c79e606
add video url transformer
2019-09-27 14:26:52 +05:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Feanil Patel
9d7f0ca46e
Get LMS test collection working in python 3.
...
This should be all the changes needed to get test collection working in
python 3 for the `lms` folder.
2019-08-13 16:32:40 -04:00
David Ormsbee
b3614f3a00
Merge pull request #20954 from open-craft/symbolist/html-block
...
HtmlModule to HtmlBlock [SE-1089]
2019-08-01 11:36:23 -04:00
Usman Khalid
8dfc8e5fda
Convert AboutModule, CourseInfoModule, HtmlModule and StaticTabModule to XBlocks.
2019-07-24 20:19:44 +05:00
Ayub khan
954ad2f75e
INCR-430 python3 compatibility
2019-07-16 15:38:50 +05:00
Calen Pennington
093fc9f68a
Allow a limited subset of fields in the Course Block View for blocks that have been denied authorization
2019-06-20 15:23:32 -04:00
Stu Young
b0e6870271
INCR-286 Run python-modernize on lms/djangoapps/course_api/blocks/tests ( #20593 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:24:39 -04:00
Stu Young
cea9390cdc
INCR-287 Run python-modernize on lms/djangoapps/course_api/blocks/transformers ( #20594 )
...
* run python modernize
* run isort
2019-05-21 11:23:12 -04:00
Dave St.Germain
b4ccd03740
This adds a new django app -- edx-when -- that will copy start and due dates to mysql and allow per-learner overrides in the instructor dashboard, using the existing IDDE interface.
...
It adds a data migration for existing IDDE data.
2019-04-24 12:26:19 -04:00
Matthew Piatetsky
51b991c128
fix bug and add temporary waffle flag
2019-04-09 15:38:55 -04:00
Matthew Piatetsky
064f041276
Revert "Revert both"
2019-04-09 11:04:10 -04:00
Matthew Piatetsky
be9eb46364
Revert "handle missing fields on access denied blocks"
...
This reverts commit 418540b713 .
2019-04-08 12:13:30 -04:00
Matthew Piatetsky
418540b713
handle missing fields on access denied blocks
2019-04-03 12:32:35 -04:00
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
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
Calen Pennington
77922ae073
Merge pull request #19478 from edx/hide-empty-content-course-blocks
...
REVE-181: Hide empty container blocks from the course blocks api when called by the mobile app
2018-12-21 10:22:59 -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