- Apr 02, 2021
-
-
Ben Holt authored
Exposed the Date header on the outline api so clients can accurately compute times relative to the dates returned by the API; this was previously done with the course API (#26979) Browser time is notoriously unreliable for this, especially for a Learner-facing countdown call-to-action based on the access expiration date. (REV-2126) Using the Date header for this allows the client to make use of information that is already sent, does not require additional calls nor modifying the API, and could be generalized to more or all our APIs without modifying them.
-
Jawayria authored
Removed unused imports from openedx/core/djangoapps/{api_admin, catalog, ccxcon, certificates}
-
- Apr 01, 2021
-
-
Usama Sadiq authored
Co-authored-by:
Muhammad Soban Javed <58461728+iamsobanjaved@users.noreply.github.com>
-
Usama Sadiq authored
Ran pyupgrade on openedx/core/djangoapps/{system_wide_roles, theming}
-
Usama Sadiq authored
ran pyupgrade on openedx/core/djangoapps/{schedules, self_paced, service_status}
-
Usama Sadiq authored
-
- Mar 31, 2021
-
-
adeelehsan authored
-
Raul Gallegos authored
xblock information was not being translated correctly when using the blockstore runtime. This makes the i18n_service block-specific so it can look for additional i18n files that can be installed with the XBlock
-
- Mar 29, 2021
-
-
Thomas Tracy authored
Adds a command to create an API connection to credentials for testing program certificates on devstack. This command is not meant to be ran manually, and will be included in a provisioning type script that will be added later.
-
- Mar 26, 2021
-
-
Feanil Patel authored
Waffle flags are useful for gradual rollout but that's not possible this high in the middleware because a lot of the data needed (request.user) to partition incoming requests is not availabale this high in the middleware. Convert this to a WaffleSwitch which will be safer to operate. Also increase the number of frames in the stack to print per change. Printing just 1 did not provide enough info because DRF requests wrap WSGI requests and have a setter proxy. It will be useful to figure out how they do this in case it's better that what we're doing in the safe sessions middleware. Ticket: https://openedx.atlassian.net/browse/ARCHBOM-1718
-
- Mar 25, 2021
-
-
Feanil Patel authored
The new WaffleFlag.is_enabled check in middleware increased query counts for multiple tests.
-
Feanil Patel authored
The change is behind a WafleFlag and can be turned on to log every time the `user` attribute of an instrumented request changes. This will significantly increase log volume so it shouldn't be left on all the time but can be turned on to quickly debug issues related to sessions. Ticket: https://openedx.atlassian.net/browse/ARCHBOM-1718
-
Shimul Chowdhury authored
* Added batch_get_or_create_user_ids method for ExternalId Model Update doc string * Update docstring & fix bug on test [BD-24] [BB-2726] [TNL-7330]
-
Waheed Ahmed authored
For some SAML providers, learners are redirected to MFE and breaking the flow. Check for running pipeline and if the provider is a SAML provider keep them on FE. VAN-425
-
Zainab Amir authored
Currently the registration endpoint has no rate limit. Added a new ratelimit variable to support the change, it's value is set to 60/7d. VAN-302
-
- Mar 24, 2021
-
-
Waheed Ahmed authored
If edxloggedin cookie is not present but the user is authenticated; user is redirected to authn MFE and then back to dashboard instead of the desired redirect URL (e.g. finish_auth) resulting in learners not enrolling into the courses. VAN-415
-
- Mar 23, 2021
-
-
Régis Behmo authored
We were attempting to add course overrides twice to objects returned in the toggle state report view. This was causing a TypeError (and thus a 500 error) because the second time, we were attempting to add entries to an incorrect object. This issue was not caught by unit tests because we were not testing the view with WaffleFlagCourseOverride objects. This commit adds a unit test to prevent future errors. This is another fix for PR #27108.
-
David Joy authored
This commit adjusts a few values in our discussions configuration APIs to make them match what the frontend needs, as well as to more accurately reflect the providers available today. - The `active` provider ID is expressed as None if it doesn’t exist - The “cs_comments_service” provider has been renamed “legacy” - when we implement the new discussions micro-frontend, we’ll also have a separate provider for that, so they can’t both be “cs_comments_service”. Also, cs_comments_service is such a bad name for anything. - The hard-coded providers list in get_supported_providers now includes ‘legacy’ and ‘piazza’, our two known providers. This list will be updated as more known providers come online. - The PROVIDER_FEATURE_MAP has similarly been updated. Part of this task: TNL-8093
-
Robert Raposa authored
BREAKING CHANGE: Remove WaffleSwitchNamespace, WaffleSwitch, WaffleFlagNamespace, and WaffleFlag from waffle_utils, in favor of the Legecy* classes in edx-toggles. Although this is a breaking change, we have preemptively removed all known uses. BD-21
-
- Mar 22, 2021
-
-
Feanil Patel authored
* temp: remove false positives on safe sessions middleware This is a temporary fix to deal with false positives in the system due to the masquerading feature. Long term we may not want to rely on knowing about how masquerding works in the safe sessions middleware and instead manage masquerding of the requset user in some other way. Co-authored-by:
Robert Raposa <rraposa@edx.org>
-
M. Zulqarnain authored
-
- Mar 19, 2021
-
-
Usama Sadiq authored
-
Régis Behmo authored
The toggle state report could not be shared with other IDAs. Here we make use of the newly available report from edx_toggles, and customize it to add data from WaffleFlagCourseOverrideModel.
-
Régis Behmo authored
-
Shimul Chowdhury authored
site configuration to email context.
-
- Mar 18, 2021
-
-
Feanil Patel authored
If this happens, it's usefule to know what main view code was being targetd so that we can more easily investigate what might have caused this issue. Add a new custom attribute 'safe_sessions.user_mismatch' to find requests that had this issue in our monitoring system.
-
Waheed Ahmed authored
Currently extra query params are not being handled in get TPAContextView, Fixed using already available get_next_url_for_login_page(). VAN-415
-
Usama Sadiq authored
Co-authored-by:
Muhammad Soban Javed <58461728+iamsobanjaved@users.noreply.github.com> Co-authored-by:
Muhammad Soban Javed <58461728+iamsobanjaved@users.noreply.github.com>
-
Usama Sadiq authored
-
Usama Sadiq authored
-
Usama Sadiq authored
Ran pyupgrade on {debug, demographics, discussions}.
-
Nizar Mahmoud authored
Updates the annotations for the block structure settings and toggles based on a [discussion] that was held on the pull request that annotated those same settings and toggles. It also adds the DEPR tickets that were promised earlier in the annotations. For future reference, there's also a [forum thread] to discuss the DEPR tickets titled. [discussion]: https://github.com/edx/edx-platform/pull/26175#issuecomment-800632485 [forum thread]: https://discuss.openedx.org/t/deprecation-removal-several-block-structure-caching-settings-depr-143-depr-144-depr-145-depr-146/4288?u=nizar
-
Zainab Amir authored
Added a new property in edx.bi.user.account.registered event to track total time it took the user to register. VAN-413
-
- Mar 17, 2021
-
-
M. Zulqarnain authored
-
M. Zulqarnain authored
-
M. Zulqarnain authored
-
- Mar 16, 2021
-
-
Matt Tuchfarber authored
Removes waffle flag restriction for syncing certificate available dates to the credentials service.
-
Stu Young authored
add traits to segment context for enrollment activated events
-
David Ormsbee authored
I had the wrong attribute before this commit, and Django Admin let me get away with it because it doesn't explode when you try to grab relations that aren't there–it just quietly returns None in some of those cases.
-
Jawayria authored
-