Commit Graph

58450 Commits

Author SHA1 Message Date
David Ormsbee
5dac11948a Add user_tasks to LMS (for Django admin access). (#25933)
The user_tasks app is used by Studio import/export and not used by
anything in the LMS. But because our app-permissions user/role
provisioning script invokes the LMS process, any app+permission
listed there must exist in the LMS or the provisioning fails. So
this commit adds the user_tasks app to the LMS list of installed
apps because it's a lot faster than getting app-permissions to do
the right thing.
2020-12-22 15:38:19 -05:00
Diana Huang
037b09ace5 Merge pull request #25904 from edx/diana/update-edx-lint
Upgrade python requirements.
2020-12-22 11:46:15 -05:00
Diana Huang
f6085e5139 Bump threshold limits due to previously broken pylint. 2020-12-22 11:12:27 -05:00
Awais Jibran
da318c4de2 Merge pull request #25930 from edx/aj/fix-hint-show
Fix hint show
2020-12-22 20:22:14 +05:00
Diana Huang
a4ca84e92a Add DJANGO_SETTINGS_MODULE to pylint runs. 2020-12-22 09:41:24 -05:00
Diana Huang
7a3ead747e Upgrade python requirements. 2020-12-22 09:41:24 -05:00
Awais Jibran
409a3c799f Update display.js
fixes quality
2020-12-22 16:19:15 +05:00
Awais Jibran
278a5d0e5c Fix hint show 2020-12-22 15:31:15 +05:00
Adam Stankiewicz
26de4961ab bump edx-enterprise to 3.16.2 (#25928) 2020-12-21 16:33:21 -05:00
Simon Chen
78407b4a8f MST-400 Update the support verification_api to provide the correct status under the same API used by learner (#25917) 2020-12-21 09:14:57 -05:00
Usama Sadiq
f2d4ccf49e Merge pull request #25923 from edx/jenkins/upgrade-python-requirements-0c376e5
Python Requirements Update
2020-12-21 15:13:04 +05:00
edX requirements bot
39814ae0bf Updating Python Requirements 2020-12-20 23:57:15 -05:00
stvn
0c376e578d Merge PR #25913 origin/bd03/model/is_enabled
* Commits:
  Add get-accessor helper for discussions plugins
  Add is_enabled helper for discussions plugins
2020-12-18 15:39:40 -08:00
Kyle McCormick
a03bb13492 Fix hiding of completion/bookmark indicators in legacy courseware (#25919)
In the edx.org-next theme, the completion green check-
marks and the little bookmark icons were appearing on every
single unit. This was because a fontawesome CSS rule
in the new theme was overriding the `display: none`,
as set by `.is-hidden`, to be `display: inline: block`.

The fix is to add `!important` to a couple definitions
of `.is-hidden`. Definitely somewhat hacky, but this is
SCSS that we plan to deprecate at some point anyway.

TNL-7823
2020-12-18 17:08:13 -05:00
Feanil Patel
ea78e44029 Update sandbox requirement mechanism.
We seperated base and py35 as a part of the upgrade to python 3 so
that we could get newer versions of some requirements during that
upgrade.  This change is the first step in removing the old requirements
files that were only relevant to python 2.

We leave the python version centric named files instead of base because
we'll need to bump the version of this file regularly and clearly
indicating what version of python it's for makes it easier to reason
about.
2020-12-18 13:33:02 -05:00
David Ormsbee
bb0492e598 Merge pull request #25338 from open-craft/nizar/xframe_allow_whitelist
Sets default X-Frame-Options for login and registration forms to environment setting
2020-12-18 12:39:08 -05:00
Kyle McCormick
54d5f7f394 Course Blocks API: Fix handling of incorrectly-cased course keys (#25911)
Commit 7f59688 attempted to solve this using
`CourseOverview.course_exists`, but that check is case-
insensitive. This commit instead does a small refactor
to `lms.djangoapps.courseware.get_course` so that we can
handle a failed course lookup without broadly catching
a `ValueError`.
2020-12-18 11:26:29 -05:00
Ali-D-Akbar
c754f20dac PROD-2199 2020-12-18 20:48:05 +05:00
Ali-D-Akbar
5b44c8007e PROD-2209 2020-12-18 20:48:05 +05:00
Ali-D-Akbar
8159d76e8c PROD-2211 2020-12-18 20:48:05 +05:00
azanbinzahid
7c2d28530b PROD-2208 2020-12-18 20:48:05 +05:00
azanbinzahid
35d658e66c PROD-2215 2020-12-18 20:48:05 +05:00
Ali-D-Akbar
6104eda482 PROD-2252 2020-12-18 20:48:05 +05:00
Ali-D-Akbar
a63848bfd5 PROD-2219 2020-12-18 20:48:05 +05:00
alangsto
30d4106659 added endpoint to retrieve IDV photo urls (#25909)
fixed quality issues

added comment

updated for comments

fixing test

removed typo

readded files

moved settings override

testing adding other keys

not overriding setting
2020-12-18 08:14:44 -05:00
Usama Sadiq
84c432327b Merge pull request #25916 from edx/testeng/bokchoy_auto_cache_update_322bb08cae4168425cd5fa8cc3dea360e9e868c9
Bokchoy Testing DB Cache update
2020-12-18 15:47:55 +05:00
edX cache uploader bot
fb087a7cb6 Updating Bokchoy testing database cache 2020-12-18 04:14:18 -05:00
edX cache uploader bot
8edcda1189 Updating Bokchoy testing database cache (#25912) 2020-12-18 14:13:29 +05:00
Usama Sadiq
12512deb56 Merge pull request #25914 from edx/jenkins/upgrade-python-requirements-f569664
Python Requirements Update
2020-12-18 14:09:50 +05:00
edX requirements bot
45777ac5bf Updating Python Requirements 2020-12-17 23:46:10 -05:00
stvn
c7a4f97ba1 Add get-accessor helper for discussions plugins 2020-12-17 20:08:57 -08:00
stvn
590286f3be Add is_enabled helper for discussions plugins 2020-12-17 19:40:41 -08:00
stvn
f569664dc4 Merge PR #25837 bd03/configuration
* Commits:
  Implement a new configuration system for discussions plugins
2020-12-17 19:11:30 -08:00
stvn
39acbf2f21 Implement a new configuration system for discussions plugins
Additional details available in the attached decisions document.

Co-authored-by: Kshitij Sobti <kshitij@sobti.in>
Co-authored-by: stvn <stvn@mit.edu>
2020-12-17 18:23:46 -08:00
Kyle McCormick
7f59688f9b Course Blocks API: Return 403 instead of 500 for unknown courses (#25906)
Anonymous users (like crawlers) requesting non-existent courses
should get 403, just like logged-in users do. They instead raised
a ValueError.
2020-12-17 18:13:51 -05:00
Kyle McCormick
6e1e1ddba8 Merge pull request #25907 from edx/revert-25903-alangsto/add_idv_info_endpoint
Revert "Added endpoint to retrieve IDV photo urls"
2020-12-17 17:43:09 -05:00
Kyle McCormick
bb30a27b3e Revert "added endpoint to retrieve IDV photo urls (#25903)"
This reverts commit 356f187559.
2020-12-17 17:08:58 -05:00
alangsto
356f187559 added endpoint to retrieve IDV photo urls (#25903)
fixed quality issues

added comment

updated for comments
2020-12-17 16:13:32 -05:00
Dillon Dumesnil
dce0778b94 Merge pull request #25905 from edx/ddumesnil/aa-496
AA-496: Don't show reset deadlines banner if no graded problem is pas…
2020-12-17 12:29:39 -08:00
Dillon Dumesnil
6237bce0e7 AA-496: Don't show reset deadlines banner if no graded problem is past due
When determining completion status to show on the vertical, we take
into account if the problems are graded and scored (have a score
and weight). Now we take that into account in regards to showing the
banner inside the vertical too
2020-12-17 20:00:14 +00:00
Robert Raposa
de16529ab6 Merge pull request #25885 from regisb/regisb/fix-deprecated-waffle-usage
[BD-21] Fix deprecated waffle usage
2020-12-17 12:41:40 -05:00
Bianca Severino
c589601b5b Merge pull request #25900 from edx/bseverino/timed-exams
[MST-575] Enable timed exams by default
2020-12-17 12:31:23 -05:00
Robert Raposa
874c3e7b61 Merge pull request #25182 from regisb/regisb/disable-learner-records-from-settings
Add default value for learner records feature toggle in settings
2020-12-17 12:16:40 -05:00
Bianca Severino
4984fa73c6 Enable timed exams by default 2020-12-17 12:07:57 -05:00
Régis Behmo
bd038bab3c Add default value for learner records feature toggle in settings
The learner records feature had to be enabled/disabled via site-specific
configuration models, which is inconvenient for platforms that want to
disable this feature globally. Here, we introduce a
ENABLE_LEARNER_RECORDS feature toggle in the lms/cms settings that makes
it possible to disable this feature on all sites. Because this feature
toggle is set to True by default, this will not modify the behaviour of
existing platforms.
2020-12-17 16:28:04 +01:00
Usama Sadiq
e1a7c30e77 Merge pull request #25901 from edx/jenkins/upgrade-python-requirements-b2f1b69
Python Requirements Update
2020-12-17 14:42:46 +05:00
Awais Jibran
9c471226cd Merge pull request #25896 from edx/aj/branding/update-width-in-core
Update site width in core
2020-12-17 14:28:23 +05:00
edX requirements bot
73a819a40b Updating Python Requirements 2020-12-17 02:54:05 -05:00
edX Transifex Bot
b2f1b6935c geoip2: update maxmind geolite country database 2020-12-16 15:58:27 -05:00
Carla Duarte
3fb3f913b5 Merge pull request #25661 from edx/ciduarte/AA-131
AA-131: Allow anonymous users through course home MFE
2020-12-16 15:49:20 -05:00