Ahtisham Shahid
1e103b2fdd
Merge pull request #23996 from edx/ahtisham/PROD-1540
...
Fixed Import error due to pre tag
2020-05-20 21:56:34 +05:00
Ahtisham Shahid
4f5496f02c
Fixed Import error due to pre tag
...
Fixed regex for nested pre tags
Updated import export test
fixed quality test issue
fixed No exception type(s) specified
updated tests
fixed linter issue
fixed linter issue
fixed linter issue
2020-05-20 13:17:53 +05:00
Ben Warzeski
7778347aed
remove old_format from team config tests
2020-05-15 14:44:23 -04:00
Awais Jibran
0dc5bacfb4
Adding logs in capa_base
2020-05-13 22:09:51 +05:00
Jeff LaJoie
972c7f3bc1
Merge pull request #23954 from edx/jlajoie/AA-163
...
AA-163: Fixes duplicate dates tab issue
2020-05-12 09:08:54 -04:00
Jeff LaJoie
ee0f4567a8
AA-163: Fixes duplicate dates tab issue
2020-05-12 08:38:14 -04:00
Ned Batchelder
3d179a0666
Merge pull request #22539 from open-craft/pooja/fix-autoadvance-not-working-for-hls-videos
...
Enable auto start for HLS if autoadvance is set
2020-05-11 11:52:52 -04:00
Ned Batchelder
b3b58690e6
Merge pull request #21507 from open-craft/guruprasad/youtube-api-missing-referer-fix
...
[BB-1637] Pass the referer from the client to the YouTube API
2020-05-11 11:46:57 -04:00
mariajgrimaldi
4bf975fdd8
changed count to count_documents ( #23945 )
...
This PR contributes to the elimination of deprecation warnings, specifically the one mentioned above and reported in the Warnings Report: https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/ .
Changed collection.find(filter).count() to collection.count_documents(filter) in the following file:
common/lib/xmodule/xmodule/modulestore/tests/test_split_modulestore.py
And collection.find(filter).limit(1).count() to collection.count_documents(filter, limit=1) in the following file:
common/lib/xmodule/xmodule/modulestore/mongo/draft.py
The method count_documents is part of the collection, not the cursor (find returns a cursor), according to StackOverflow (https://stackoverflow.com/questions/56303331/warning-message-in-pymongo-count-is-deprecated ). Because of that after changing count, I removed the calling to the find method and use the filter parameter in count_documents. Also, I removed limit because count_documents accepts limit parameter.
This warning occurs due to deprecation: https://pymongo.readthedocs.io/en/3.9.0/api/pymongo/collection.html#pymongo.collection.Collection.count_documents
2020-05-11 08:28:45 -04:00
Adam Butterworth
307cb30208
Swap deprecated box-sizing mixin with the box-sizing property ( #23928 )
...
* Swap deprecated box-sizing mixin with the box-sizing property
* Linting now that box-sizing is no longer a mixin
2020-05-08 11:27:51 -04:00
Shadi Naif
7142d55b1a
Missing translation function call
2020-05-07 14:32:50 +03:00
Simon Chen
262574b815
Move all the upgrade display logic into courseware.utils
2020-05-05 17:54:22 -04:00
Simon Chen
f8cc58618a
Create a new plugin manager called DynamicPartitionGenerators to remove the dependency of openedx.features.content_type_gating by xmodule.partition_services
2020-05-04 11:16:26 -04:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05:00
Michael Terry
0f81765ac7
Show graded icons in more places
...
In the course outline, if a subsection has any graded content,
show a graded icon (the pencil icon).
Also, show the graded icon for LTI xmodule units (xblocks is a
different repo, but will get same treatment).
AA-75
2020-04-24 14:16:32 -04:00
Saad Yousaf
5263774838
Merge pull request #23660 from edx/saad/PROD-1404-logs-cleanup3
...
[PROD-1404] - fix getargspec() DeprecationWarning for inspect to cleanup logs.
2020-04-15 23:17:53 +05:00
SaadYousaf
d361634067
fix getargspec() DeprecationWarning for inspect.
2020-04-15 15:15:31 +05:00
SaadYousaf
9160d4aa9b
address deprecation warning for cgi.escape for logs cleanup.
2020-04-15 15:14:00 +05:00
Waheed Ahmed
ec747e4c27
Fix some submission error message related bugs.
...
During another bug investigation I figured there are some
issues related to showing error messages to learners upon
submission.
PROD-1431
2020-04-10 17:01:56 +05:00
Tehreem Sadat
eef904bfef
fix broken tests ( #23680 )
...
Tests were failing due to the "404 Error" Response from an API that fetches specific asset (video transcript data) from YouTube.
I have changed it by using a mocked API response instead of direct API call to the Youtube server.
2020-04-09 16:05:13 -04:00
Alan Zarembok
5371be1c60
Skip tests that are failing due to missing youtube content.
2020-04-09 11:05:10 -04:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +05:00
Zachary Hancock
2cbc248a63
prevent empty string passing proctoring provider validation ( #23610 )
2020-04-06 09:45:10 -04:00
Jeremy Bowman
5c40a3729a
Stop using deprecated assertions ( #23579 )
...
Replace some usage of deprecated assertions with non-deprecated equivalents.
2020-04-02 11:06:37 -04:00
Ali Akbar
358b181bdf
Merge pull request #23481 from edx/aakbar/demandhint-static-link-fix
...
add static links re-write for demnadhint tag
2020-03-31 15:04:33 +05:00
Adam Butterworth
d53ab876e2
Fix public view of video xmodule ( #23518 )
...
TNL-7092 Properly include video javascripts for the video public view
2020-03-30 11:03:48 -04:00
Ned Batchelder
136003fcff
Merge pull request #23015 from Abstract-Tech/fix/non-admin-error-descriptor
...
Add xblock.v1 and xmodule.v1 entrypoints for NonStaffErrorDescriptor
2020-03-27 17:43:16 -04:00
Ahtisham Shahid
42ccc5564c
Merge pull request #23498 from edx/ahtisham/PROD-1232
...
Fixed \n escape issue in import-export
2020-03-27 18:39:29 +05:00
Ahtisham Shahid
f264e5dd03
fixed \n escape issue in import
...
updated test
updated test
2020-03-27 12:29:32 +05:00
asadazam93
fc3e63714e
Fixed comparison mismatch
2020-03-26 14:11:31 +05:00
Waheed Ahmed
ccbd353201
Revert "Allow Block Structures Collect to work in Studio"
2020-03-26 13:22:10 +05:00
Ali-D-Akbar
3359928520
add static links re-write for demnadhint tag
2020-03-24 15:08:44 +05:00
Adeel Khan
5cbcd0e952
Reducing play button opacity to improve viewing experience.
...
This patch lowers the opacity for play button
enabling learners unhindered learning experience
when on video pause.
PROD_1231
2020-03-20 23:39:07 +05:00
Awais Jibran
9f74ea044b
Fix DeprecationWarning
2020-03-19 14:23:46 +05:00
Awais Jibran
ebd6494af2
Merge pull request #23380 from edx/logs-cleanup
...
Remove unnecessary logs.
2020-03-12 16:38:54 +05:00
Awais Jibran
084b409662
Unnecessary logs.
2020-03-12 15:15:22 +05:00
Waheed Ahmed
f54b9a42e7
Disallow NaN value for speed key.
...
The VideoBlock `handle_ajax` is allowing NaN values for speed key
and causing videos to not load. Also added a data migration to fix
the data for learners.
PROD-1148
2020-03-11 18:45:49 +05:00
Ahtisham Shahid
ef40efae9b
update added workaround for csv error
2020-03-09 17:35:12 +05:00
Ahtisham Shahid
4efcfca34a
created logs to capture capa problem errors
...
Update logs
updated logger
2020-03-05 12:54:04 +05:00
Awais Jibran
44199c3f72
Workaround the error in find_question_label. ( #23247 )
...
* Workaround the error in find_question_label.
This is a temporary log, which will give us information and unblock the course team.
PROD-1326
* raise exception after logging it.
2020-03-04 17:55:35 +05:00
Michael Terry
b96efcf71b
Merge pull request #23258 from edx/mikix/experiment-flag
...
Add ExperimentWaffleFlag
2020-03-03 15:01:16 -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
Guruprasad Lakshmi Narayanan
fad200f81b
Pass the referer from the client to the YouTube API
...
This fixes the errors when the API key is configured to require a
referer for all the requests.
2020-03-03 22:51:46 +05:30
David Ormsbee
9d3f4985ed
Allow Block Structures Collect to work in Studio
...
Block Structures were meant to be gathered using the LMS process,
as it's meant to be an optimized store for the LMS to use. But
there's an argument to be made for at least the Collect side of
the Collect + Transform could be a Studio concern, because it
explicitly needs to avoid user-awareness.
In either event, collect() was broken on devstack before this
commit because Studio's runtime does not permit handler_url
invocation on "thirdparty" XBlocks. Since VideoBlock is not
really third-party (and it's questionable whether there's any
benefit to making the distinction these days), I'm just making
this change to allow Studio to run collect() without error in
the Studio process. This will fix devstack, which does not
properly route these collect() calls to the LMS process (because
celery runs in-proc by default).
2020-03-03 10:52:46 -05:00
Alex Dusenbery
530cabd003
Remove the auth_source kwarg in connect_to_mongodb, since we're now relying on authsource (no underscore) and the pymongo Database init does not expect and will not tolerate an auth_source kwarg.
2020-03-02 15:20:50 -05:00
Luis Moreno
ae0c051e9e
Use authsource instead of auth_source for compatibilities with pymongo
2020-03-02 13:31:07 -05:00
Awais Jibran
18e21f374e
Merge pull request #23216 from edx/fix-capa-promot-error-mit
...
Workaround Error in find_question_label.
2020-02-27 17:07:14 +05:00
asadazam93
364e534cf8
Fixed duplicate asset on creating rerun
2020-02-27 15:50:01 +05:00
Awais Jibran
9032562cbd
Fix Error in find_question_label.
2020-02-27 10:55:18 +05:00
Jeff LaJoie
fa3b1cd835
AA-6: Adds in dates tab and dates dashboard view to courseware
2020-02-25 10:48:45 -05:00