Commit Graph

59551 Commits

Author SHA1 Message Date
Jawayria
5bba158419 Merge pull request #28355 from edx/jawayria/lms-codemod-1
chore: Executed codemods on lms
2021-08-04 21:14:45 +05:00
Andrew Shultz
7303e771a5 Merge pull request #28397 from edx/ashultz0/proctoring3230
chore: update edx-proctoring to 3.23.0
2021-08-04 11:58:04 -04:00
Olivia Ruiz-Knott
3d25549110 Merge pull request #28394 from edx/ork/MICROBA-1417_add-certificate-date-override-to-admin
feat: Add CertificateDateOverride model to admin
2021-08-04 09:36:54 -06:00
Alexander J Sheehan
ea3af16818 Merge pull request #28396 from edx/asheehan-edx/bumping-enterprise-3-27-16
maint: bumping enterprise version to 3.27.16
2021-08-04 11:31:06 -04:00
Jawayria
542da2ef6a Merge pull request #28356 from edx/jawayria/openedx-codemod
chore: Executed codemods on openedx module
2021-08-04 20:30:08 +05:00
Andy Shultz
1e1e302509 chore: update edx-proctoring to 3.23.0 2021-08-04 11:16:11 -04:00
Jansen Kantor
f4c5dc25b7 ora 3.6.17 (#28393) 2021-08-04 11:12:09 -04:00
Leangseu Kim
3e3c83629b chore: version bump for edx-bulk-grades 2021-08-04 10:58:57 -04:00
Alexander Sheehan
f924b5c7f9 maint: bumping enterprise version to 3.27.16 2021-08-04 10:57:03 -04:00
oliviaruizknott
f63173617c feat: Add CertificateDateOverride model to admin
Register the new CertificateDateOverride model with the Django admin.
Customize the `generated_certificate` field to accept the certificate id
(with search); and autosave the admin user making the change to the
`overridden_by` field, and make it read-only.

For MICROBA-1417, toward MICROBA-1239.
2021-08-04 08:10:08 -06:00
Zaman Afzal
3491cc516b maint: ENT4740 bumping enterprise version to 3.27.15 (#28390) 2021-08-04 18:21:14 +05:00
Kshitij Sobti
6cbb9cbca3 feat: Supply documentation links for course apps from the backend (#28327)
Instead of hard-coding the "Learn More" and potentially other links for course
apps in the course authoring  MFEs this change loads those URLs from the
django settings as part of each individual course app.
2021-08-04 15:04:13 +05:00
Robert Raposa
8e4e9a1d39 fix: add code owner mapping for edx-name-affirmation (#28386)
* fix: add code owner mapping for edx-name-affirmation

Enables edx_name_affirmation views to have a code owner.
2021-08-03 18:41:46 -04:00
Michael Terry
5e2155b6ab Merge pull request #28388 from edx/mikix/library-import-fix
fix: allow importing courses into Studio with empty libraries
2021-08-03 16:49:15 -04:00
Michael Terry
8d1989cf93 fix: allow importing courses into Studio with empty libraries
If a content library xblock does not specify a library id, we
previously would error out when importing, due to some cleanup
code that wasn't accounting for this case.
2021-08-03 16:16:01 -04:00
Bianca Severino
b354021541 Merge pull request #28385 from edx/bseverino/name-affirmation-0.3.1
chore: upgrade edx-name-affirmation to 0.3.1
2021-08-03 16:01:59 -04:00
David Ormsbee
149b014053 fix: disallow "data:" links in discussion posts
Sanitizes Markdown that goes back and forth between the server and
client side, to strip out data: links, so that they cannot be abused.
There is no present vulnerability to this issue–modern browsers disallow
data links in the first place, and we already filter this out in both
client-side code as well as the HTML generated in the REST API (it's run
through bleach). But we're adding this anyway, to further reduce the
odds that some client-side mistake could cause a vulnerability. This is
part of TNL-8589.
2021-08-03 15:19:07 -04:00
Bianca Severino
1e66380f0e chore: upgrade edx-name-affirmation to 0.3.1 2021-08-03 14:43:04 -04:00
Jansen Kantor
68e8a6a981 chore(bump ora to 3.6.15) (#28383) 2021-08-03 12:01:49 -04:00
Alexander J Sheehan
9ebf8a273f Merge pull request #28381 from edx/asheehan-edx/ENT-4783-bumping-enterprise-fix-command
maint: bumping enterprise version to 3.27.14
2021-08-03 11:38:37 -04:00
Christie Rice
cdeda7a313 fix: Update mode in course certificate when marking cert as invalidated, not verified or not passing (#28330)
MICROBA-1410
2021-08-03 11:24:11 -04:00
Kshitij Sobti
af290ce6a9 feat: Adds a new flag for discussions LTI configuration for admin only config
Some providers need special considerations when being set up so should only be
configured by people with global staff privileges. This adds an
admin_only_config flag to such providers (only YellowDig for now).
2021-08-03 20:10:32 +05:00
Alexander Sheehan
48ef7cd096 maint: bumping enterprise version to 3.27.14 2021-08-03 10:25:05 -04:00
Leangseu Kim
58377ae780 remove constraint and update ora 2021-08-03 09:43:55 -04:00
Hamza Farooq
4a2549f49a fix: making LOGIN_REDIRECT_WHITELIST configurable through env files (#26760)
LOGIN_REDIRECT_WHITELIST has been used to filter redirect-url while processing logout requests but its configurations were not picked through environment files like lms.yml or studio.yml. This PR fixes that bug.
2021-08-03 08:29:23 -04:00
Awais Qureshi
d6202880ae chore: Removed python_2_unicode_compatible decorator. (#28342)
* chore: Removed python_2_unicode_compatible decorator.
2021-08-03 15:42:14 +05:00
Jawayria
f7c2ff1222 chore: Executed codemods on lms/djangoapps 2021-08-03 14:27:03 +05:00
edX requirements bot
c09d226b24 chore: Updating Python Requirements (#28375) 2021-08-03 12:34:51 +05:00
edx-pipeline-bot
48f0954771 Merge pull request #28371 from edx/private_to_public_b3bbda0
Mergeback PR from private to public.
2021-08-03 02:46:56 +05:00
Binod Pant
0dd00460c6 feat: bump edx-enterprise to 3.27.13 (#28367)
ENT-4789
2021-08-02 16:30:35 -04:00
stvn
c682876ca5 merge(#28365): feat/ceng-bot
commits
=======
- fix(ci): move github workflow to correct location
2021-08-02 12:28:14 -07:00
Olivia Ruiz-Knott
379a818a04 Merge pull request #28258 from edx/ork/MICROBA-1239_certificate-date-override
feat: Add CertificateDateOverride model
2021-08-02 13:23:46 -06:00
oliviaruizknott
8906adb072 feat: Add CertificateDateOverride model
Add a new model (and corresponding migration) to the certificates
app in the LMS: CertificateDateOverride. The model will eventually be
used to allow course teams / support to override the "Issued On" date
for a given course certificate.
2021-08-02 12:44:37 -06:00
stvn
5e9b64775f fix(ci): move github workflow to correct location
I used Github's UI to create this from the template (which I _never_ do,
instead opting for the CLI) and some how this ended up in the project
root, instead of in the .github/workflows directory. 🤷

Back to the command line for me...
2021-08-02 11:41:00 -07:00
Matt Tuchfarber
4b254c16f9 fix: Fix translation string for studio settings (#28361) 2021-08-02 14:29:27 -04:00
Bianca Severino
31cb73c7c3 Merge pull request #28360 from edx/bseverino/name-affirmation-0.3.0
chore: upgrade edx-name-affirmation to 0.3.0
2021-08-02 14:03:34 -04:00
Justin Hynes
8a7ad06304 Merge pull request #28332 from edx/jhynes/microba-1087_dashboard
refactor!: Remove `generate_example_certificates` and update Instructor Dashboard with updated messaging.
2021-08-02 14:02:34 -04:00
Justin Hynes
d4a7a44909 refactor!: Remove generate_example_certificates and update Instructor Dashboard with updated messaging.
[MICROBA-1087]
[DEPR-155]

* Remove `generate_example_certificates` functionality
* Adjust Instructor dashboard slightly to prevent people from clicking the `Generate Example Certificates` button, remove form/code that called the `generate_example_certificates` endpoint.
2021-08-02 13:26:28 -04:00
Bianca Severino
afb7691c9a chore: upgrade edx-name-affirmation to 0.3.0 2021-08-02 13:25:07 -04:00
Michael Terry
83ea878253 Merge pull request #28334 from edx/mikix/less-image-churn
fix: don't recreate course overview images every request
2021-08-02 13:13:25 -04:00
Christie Rice
4996b40860 fix: Add check for existence of grade (#28348)
MICROBA-678
2021-08-02 13:07:52 -04:00
Alexander J Sheehan
68a32df5d7 Merge pull request #28345 from edx/asheehan-edx/ENT-4783-version-bump
maint: bumping enterprise version to 3.27.12
2021-08-02 13:06:21 -04:00
Michael Terry
557d4f1d34 fix: don't recreate course overview images every request
This reduces database churn and helps avoid locks.
2021-08-02 12:44:13 -04:00
Awais Jibran
b3bbda0666 Merge pull request #232 from edx/Tnl8577/Discussion-xss-issue-fix
fix: discussion xss fix
2021-08-02 21:39:08 +05:00
Jawayria
27b52c4279 chore: Executed codemods on openedx module 2021-08-02 21:06:32 +05:00
sofiayoon
1ad615ef59 Merge pull request #28329 from edx/syoon/AA-945
fix: wrong start date is displayed in susbection modal
2021-08-02 11:50:03 -04:00
Matt Tuchfarber
622d56026c Certificate Display Settings revamp (round 2) (#28286)
feat: reimagine certificate display settings

The course settings `certificate_available_date` (CAD) and
`certificates_display_behavior` (CDB) were previously
acting indedependantly of one another. They now work in
tandem. This change:
- limits CDB to a dropdown
- removes "early_with_info" and adds "end_with_date"
- only takes CAD into account if "end_with_date" is selected
- Moves CDB to the main course schedule settings page
- updates CourseOverview model and CourseDetails objects to
validate these fields and choose sane defaults if they aren't
expected values

This work was previously done in bd9e7dd (complete with bugs), so this
version is toggleable via the ENABLE_V2_CERT_DISPLAY_SETTINGS setting
2021-08-02 11:30:15 -04:00
Nathan Sprenkle
121afd0c5f refactor: new logic for when to enable Gradebook bulk management (#28080)
Formerly, bulk management was enabled by sending feature feature
toggle to Gradebook which also checked for the presence of a 
master's track to enable the feature. This default enables for all
courses with a master's track and also allows selective enabling 
for courses with the feature flag.
2021-08-02 11:06:08 -04:00
Christie Rice
5fa4fcea5e fix: Handle missing user profile when setting a name in a course certificate (#28319)
MICROBA-1410
2021-08-02 10:58:13 -04:00
Jawayria
9cda17bf8d Merge pull request #28260 from edx/jawayria/remove-constraint
chore: Removed constraint on django-countries
2021-08-02 19:56:56 +05:00