Commit Graph

58450 Commits

Author SHA1 Message Date
Justin Hynes
6b38debfeb feat: Update cert_generation mgmt command with ability to read arguments from config model
[MICROBA-1100]
* Add CertificationGenerationCommandConfiguration model that will store the command arguments for the `cert_generation` mgmt command
* Add ability to add entries to the CertificationGenerationCommandConfiguration through Django admin
* Update mgmt command with ability to read arguments from the config model/database
* Fix failing test in `test_cert_generation.py`
* Add new test for missing `users` argument in `test_cert_generation.py`
2021-04-01 07:39:33 -04:00
Usama Sadiq
0223feb17b refactor: ran pyupgrade on openedx/core/djangoapps (#26955)
ran pyupgrade on openedx/core/djangoapps/{schedules, self_paced, service_status}
2021-04-01 15:00:49 +05:00
Usama Sadiq
4b074c7d9b refactor: Ran pyupgrade on openedx/core/djangoapps (#26936) 2021-04-01 15:00:26 +05:00
Igor Degtiarov
13c9cf6fd4 fix: Language preferences change enhancement.
[CRI-229](https://openedx.atlassian.net/browse/CRI-229)
On "/account/settings" page, try to change the language. Language is
changed only after additional action click, page reload, etc.

Current fix change that behavior in a way that new language preferences
take place just after the new language is chosen.
2021-04-01 12:58:00 +03:00
edX requirements bot
29fe817e57 Updating Python Requirements (#27207) 2021-04-01 13:26:51 +05:00
Awais Jibran
f898fc5d72 Short circuit, library import. (#27195) 2021-04-01 12:29:57 +05:00
adeelehsan
c329de3235 skip hinted login field added in tpa context 2021-04-01 01:16:54 +05:00
Sarina Canelake
db6036121b Merge pull request #27162 from open-craft/raul/fal-249-dndv2-blockstore-translations
FAL-249: fixes the blockstore runtime to set the correct translator
2021-03-31 15:50:23 -04:00
Raul Gallegos
0d691623af fix: setting correct i18n_service to blockstore runtime
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
2021-03-31 14:19:01 -05:00
Bianca Severino
333591301d Merge pull request #27203 from edx/bseverino/remove-proctoring-waffle-flags
[MST-678] Remove proctored exam resume waffle flag
2021-03-31 14:58:20 -04:00
Bianca Severino
73c5866678 fix: remove proctored exam resume waffle flag 2021-03-31 14:14:09 -04:00
Christie Rice
8f50edea6f feat: Implement generation of regular V2 course certificates (#27189)
MICROBA-1039
2021-03-31 14:12:19 -04:00
stvn
9afa58f963 refactor: Refactor capa_problem optioninput option text handling
to make it easier to add/remove parsing/processing logic
(in pending commits).
2021-03-31 09:58:29 -07:00
Sameen Fatima
11b9a595eb edx-enterprise-version-bump-3.20.4 (#27194) 2021-03-31 17:52:54 +05:00
Asad Iqbal
d5e13195b7 Fix: Find the submission history using learner's email address along with username (#25642)
Co-authored-by: asadiqbal <aiqbal@edx.org>
Co-authored-by: asadiqbal08 <asad.iqbal@arbisoft.com>
2021-03-31 08:46:55 -04:00
Awais Jibran
ad7f6019fe Integrate "olxcleaner" with course import (#27164)
* Integrating olxcleaner in course import

* Adding toggle removal date and addressing pylint issues.
2021-03-31 13:26:14 +05:00
edX requirements bot
f3050a1dbd Updating Python Requirements (#27191) 2021-03-31 12:16:28 +05:00
alangsto
58fc02c0af Update edx-proctoring version (#27190) 2021-03-30 17:31:43 -04:00
jawad khan
5025a3ffd9 feat!: remove "Text Me the App" page from web app because of security concern
Someone at edx was able to quickly send a few texts to himself using the tool.
Each text came from a different number and there was no message about the ability to unsubscribe or stop.
This could potentially be used to spam users as well as potentially result in charges to edX for high volume.

page url https://courses.edx.org/text-me-the-app
LEARNER-8286
2021-03-30 23:38:24 +05:00
Adam Blackwell
dd69020de1 fix: Add space after comma in legacy unenroll message. (#27177) 2021-03-30 10:48:44 -04:00
Christie Rice
8198606138 feat: Refactor code to check both regular and allowlist V2 certs (#27156)
MICROBA-1039
2021-03-30 10:23:23 -04:00
Dillon Dumesnil
feb4c13608 Merge pull request #27154 from edx/ddumesnil/hidden-content-fix-aa-724-part-3
fix: AA-724: Updating the HiddenContentTransformer
2021-03-30 05:41:55 -07:00
alangsto
736e399cde MST-643 prevent errors for escalation email if proctoring is disabled (#27166) 2021-03-30 08:33:48 -04:00
Jawayria
c46fe1e35a build: updating commit message
Updated the commit message generated on PR by upgrade-python-requirements workflow, to follow conventional commit standards
2021-03-30 13:52:48 +05:00
Ali Akbar
4a515e983c Merge pull request #26918 from edx/aakbar/PROD-1136
[Support Tool] Update the Enrollments to take Entitlements into account
2021-03-30 13:05:07 +05:00
edX requirements bot
27883f61d3 Updating Python Requirements (#27178) 2021-03-30 12:30:59 +05:00
Kellie Selinka
d902d46e3e Merge pull request #27176 from edx/kselinka_bump_edx_enterprise_down
bump edx-enterprise back down to 3.20.1
2021-03-29 17:13:30 -04:00
Michael Terry
5e3f97265e Merge pull request #27175 from edx/mikix/bail-early-for-hierarchy
fix: don't count hierarchy blocks as complete for assignments
2021-03-29 16:35:20 -04:00
Kellie Selinka
5bf44a9420 bump edx-enterprise back down to 3.20.1 2021-03-29 16:27:09 -04:00
Michael Terry
5d9e7e9fe5 fix: don't count hierarchy blocks as complete for assignments
When considering whether a subsection is complete as an assignment,
skip any "hierarchy" types (sequential, vertical, etc) that don't
have children. If the user can't see the content, don't risk
marking it as complete.

AA-726
2021-03-29 16:06:11 -04:00
Fred Smith
6ed9f541c9 Merge pull request #27168 from edx/derf/feat-use-github-version-of-py2neo
fix: use github version of py2neo
2021-03-29 14:46:47 -04:00
Fred Smith
36fa6e9899 Merge pull request #27169 from edx/jenkins/upgrade-python-requirements-41b01c0
Python Requirements Update
2021-03-29 14:16:02 -04:00
edX requirements bot
5111a83be6 Updating Python Requirements 2021-03-29 14:14:48 -04:00
Fred Smith
41b01c07eb fix: use github version of py2neo instead of PyPI
The version of Py2neo we depend on has been removed from PyPI.  This is
a stop-gap until we can upgrade it
2021-03-29 14:09:29 -04:00
Kellie Selinka
4650301f6a Merge pull request #27167 from edx/kselinka_bump_enterprise
bump edx-enterprise to 3.20.2
2021-03-29 13:17:21 -04:00
Kellie Selinka
00f4cb09f6 bump edx-enterprise to 3.20.2 2021-03-29 12:33:08 -04:00
Dillon Dumesnil
c4a96a2fa3 fix: AA-724: Updating the HiddenContentTransformer
We heard about a bug where learners granted extensions would still
lose access to content if it was marked as "hidden after due date".
This was caused by the HiddenContentTransformer using the due date
from collection time (publish time) rather than the user date returned
from the edx-when DateOverrideTransformer.

A small subtletly of this PR is that Transformers with the
FilteringTransformerMixin are executed before those without it so
part of the fix was to make the HiddenContentTransformer not use the
FilteringTransformerMixin to ensure the DateOverrideTransformer had
run first.

Part 3/3 - Removing old collect code with merged due date
2021-03-29 10:15:23 -04:00
Dillon Dumesnil
01839789e0 Merge pull request #27153 from edx/ddumesnil/hidden-content-fix-aa-724-part-2
fix: AA-724: Updating the HiddenContentTransformer
2021-03-29 07:13:40 -07:00
Thomas Tracy
9f4e51a241 feat: Add command to generate credentials config (#27088)
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.
2021-03-29 10:04:59 -04:00
Christie Rice
b452f3d5f3 docs: Add ADR on regular course certificate requirements (#27140)
MICROBA-1039
2021-03-29 09:53:50 -04:00
edX requirements bot
0ad27ed2fe Updating Python Requirements (#27161) 2021-03-29 15:08:50 +05:00
Awais Jibran
529a805c0c Fixing dates serialization in course import (#27137) 2021-03-29 13:43:01 +05:00
Ali-D-Akbar
ee5b383ff6 PROD-1136: [Support Tool] Update the Enrollments support tool to take entitlements into account. 2021-03-29 12:26:16 +05:00
Dillon Dumesnil
1614fb2956 fix: AA-724: Updating the HiddenContentTransformer
We heard about a bug where learners granted extensions would still
lose access to content if it was marked as "hidden after due date".
This was caused by the HiddenContentTransformer using the due date
from collection time (publish time) rather than the user date returned
from the edx-when DateOverrideTransformer.

A small subtletly of these PRs is that Transformers with the
FilteringTransformerMixin are executed before those without it so
part of the fix was to make the HiddenContentTransformer not use the
FilteringTransformerMixin to ensure the DateOverrideTransformer had
run first.

Part 2/3 - Updating transform method + updating Read version
2021-03-26 14:05:53 -07:00
Dillon Dumesnil
8551528370 Merge pull request #27152 from edx/ddumesnil/hidden-content-fix-aa-724-part-1
fix: AA-724: Updating the HiddenContentTransformer
2021-03-26 14:03:42 -07:00
Feanil Patel
5fe4913735 Merge pull request #27155 from edx/feanil/fix_request_user_logging
fix: Don't make request change logging a waffle flag.
2021-03-26 15:45:57 -04:00
Feanil Patel
c1bdf01876 fix: Don't make request change logging a waffle flag.
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
2021-03-26 14:38:35 -04:00
Dillon Dumesnil
d96f756994 fix: AA-724: Updating the HiddenContentTransformer
We heard about a bug where learners granted extensions would still
lose access to content if it was marked as "hidden after due date".
This was caused by the HiddenContentTransformer using the due date
from collection time (publish time) rather than the user date returned
from the edx-when DateOverrideTransformer.

A small subtletly of these PRs is that Transformers with the
FilteringTransformerMixin are executed before those without it so
part of the fix was to make the HiddenContentTransformer not use the
FilteringTransformerMixin to ensure the DateOverrideTransformer had
run first.

Part 1/3
2021-03-26 10:59:55 -07:00
Michael Terry
dc581d59fc Merge pull request #27149 from edx/mikix/bump-ace
feat: bump edx-ace to 1.1.0
2021-03-26 10:30:38 -04:00
Michael Terry
d7a242e888 feat: bump edx-ace to 1.1.0
This gives us the ability to set a Braze-specific from-address via
configuration settings.
2021-03-26 09:59:19 -04:00