- Nov 17, 2021
-
-
alangsto authored
-
Ahtisham Shahid authored
* fix: updated cache policy for import_status endpoint
-
- Nov 16, 2021
-
-
Justin Lapierre authored
Revert "[BD-13] Deprecate ModuleSystem.render_template"
-
alangsto authored
-
Justin Lapierre authored
-
Matthew Piatetsky authored
-
Piotr Surowiec authored
This is a follow-up to edx#1087, which reverted this change. According to the PR comments, parsing strings with XML comments inside them was causing errors. This does not seem to be the case anymore - these strings are just hidden when the block is rendered, but they are not breaking XBlocks. This also handles (ignores) the comments that could be added directly to the LibraryContentBlock in the XML export by users.
-
Ahtisham Shahid authored
* feat: added logging in import status view
-
alangsto authored
the latest version contains an update that reduces the amount of celery tasks triggered by name affirmation updates
-
Andrew Shultz authored
fix: simplify most recent verification function
-
M. Zulqarnain authored
-
edX requirements bot authored
-
Kaustav Banerjee authored
-
Matthew Piatetsky authored
-
- Nov 15, 2021
-
-
Andy Shultz authored
current use is much less complicated than old code
-
alangsto authored
The lack of ordering for a django query that grabbed verification records is blocking learners with multiple SSO records from taking proctored exams. All IDV records should be sorted by a key first, and then the correct expiration date can be determined.
-
edX Transifex Bot authored
-
Kshitij Sobti authored
* fix!: Removes the openedx provider temporarily UI changes to support the new provider are in progress. Once they are ready we can add back this provider. * feat: add support for hiding providers from the API response
-
Matthew Piatetsky authored
-
Tim McCormack authored
Contingent on new feature toggle `VERIFY_USER_CHANGE_UNCONDITIONAL`, check for request/response user mismatches on all requests, not just those setting a session cookie on the response. This is intended to *restore* an older behavior. I believe that almost all requests used to set a new session cookie, and for some reason no longer do, so this is really just an attempt to return to that previous behavior no matter whether a new session cookie will be set. (Previously, the cookie-to-be-deleted check would still have been in effect, so this is actually a slight change from the earlier behavior -- the logout response will now be included, and then quickly ignored due to a later check.) The off-by-default switch moves several lines of code out of a try block, but also out from under an if guard that checks for certain cookie conditions. The movement out of the try block should be irrelevant, since neither of the relocated lines should be raising a SafeCookieError. However, there is some chance that they could raise other exceptions when called from their new location (and new situations), hence the use of a feature toggle -- we'll want to make it easy to switch the new behavior off quickly if we start seeing an increase in errors. Once the change is well-exercised, we can remove the toggle and the old call locations. I'm not entirely sure about the change to the `verify_error` utility function in the unit tests, but it seems like even unauthenticated requests in Django end up with a user and session on the request object, so this is probably a close-enough way to mock that out. I duplicated a couple of tests to test with feature toggle on/off. ref: ARCHBOM-1952
-
Waheed Ahmed authored
This PR is an update on https://github.com/edx/edx-platform/pull/29280
-
- Nov 12, 2021
-
-
Matthew Piatetsky authored
-
Matthew Piatetsky authored
-
Gábor Boros authored
This defines optional extra fields that are not hidden under the toggle on the registration page.
-
Kshitij Sobti authored
* feat: Adds a new discussion topic configuration mechanism The new discussion configuration system links discussion topics directly to the course structure. This change adds a new task that sends a discussion update signal if there are any changes to the course. This signal includes all the context needed to update the configuration of the course. The handler for this new event will create a new entry for each unit that needs a topic in the database. In the future this will be used to see the topics in the course. * fix: add support for marking a provider as supporting LTI * fix: review feedback
-
Waheed Ahmed authored
Removed hardcoded edx user info cookie name and used settings variable.
-
- Nov 11, 2021
-
-
Awais Jibran authored
I have come across these unused variables and thought it's good to remove and clean up the code.
-
M. Zulqarnain authored
* feat: Django codemods on LMS (2)
-
- Nov 10, 2021
-
-
Matthew Piatetsky authored
* fix: Miscellaneous styling fixes for mobile * fix: Add px fallback since outlook doesn't support rem
-
John Nagro authored
ENT-5095
-
Ned Batchelder authored
* chore: update deprecated import from collections * chore: remove outdated imports from markdown library as it hasn't been supported since 2.0.3 and we're on 3.x. This was deprecated at least as early as 2012! * docs: add docstring and remove lint-amnesty to markdown plugin * chore: remove deprecated etree import * style: remove unnecessary-comprehension for sets * style: resolve a number of amnestied pylint complaints Co-authored-by:
stvn <stvn@mit.edu>
-
Chris Deery authored
feat: [AA-1082] fix 500 error on courses dashboard When there are no selected blocks, the dict comprehension to compare is throwing an exception. Handle the error more gracefully. The blocks will not be sorted, but they should not be filtered.
-
Mehak Nasir authored
-
Usama Sadiq authored
* fix: pin docutils<0.18 due to Sphinx requirement
-
- Nov 09, 2021
-
-
Matthew Piatetsky authored
* fix: use pngs for the goal reminder email banner and remove redundant unsubscribe link * fix: update * fix: Miscellaneous UI fixes and fixed unsubscribe link
-
AsadAzam authored
* feat: added program discussions admin view * refactor: updated docstring * refactor: updated constant
-
David Ormsbee authored
feat!: [BD-13] Deprecate ModuleSystem.render_template
-
Régis Behmo authored
When signing in from the LMS, the authentication request succeeds but the user was never redirected to the dashboard. This is because of a js error: Uncaught TypeError: userCookie is null userFromEdxUserCookie http://maple.openedx.overhang.io:8000/static/js/student_account/utils.js:32 The error comes from the fact that the util.js code ignores the EDXAPP_EDXMKTG_USER_INFO_COOKIE_NAME setting name. Instead the cookie name is abritrarily prefixed by "stage-" or "prod-" depending on the hostname. This seems to be primarily motivated by the definition of edX.org staging/prod environment hostnames :-( To resolve this issue, we decided that the actual cookie name was not so important. Instead, the js code needs to not crash even when the cookie is absent. This issue was first reported here: https://github.com/edx/edx-platform/pull/28170#issuecomment-890449885 Close https://github.com/openedx/build-test-release-wg/issues/104
-