Commit Graph

60428 Commits

Author SHA1 Message Date
Awais Jibran
72ec00cbb7 fix: include pii sharing values in the API (#29385) 2021-11-24 17:44:28 +05:00
Usama Sadiq
fa64403ccd Pin mysqlclient<2.1.0 (#29406)
* fix: pin mysqlclient<2.1.0
2021-11-24 15:59:55 +05:00
Michael Terry
d61da2c1bd Merge pull request #29412 from edx/mikix/remove-old-dashboard-adrs
chore: delete ancient unused ADRs for system dashboard
2021-11-23 16:12:03 -05:00
Michael Terry
ff453d1ad6 chore: delete ancient unused ADRs for system dashboard
This is long deprecated and these ADRs just document why it doesn't
exist. They've explained that long enough that we can just remove
this.
2021-11-23 15:47:27 -05:00
Chris Deery
0bf9a0e0ce fix: [AA-1106] completed status for unreleased (#29408)
Modify get_course_assignments so it does not mark unreleased content as completed
Add unit test
2021-11-23 14:33:50 -05:00
Olivia Ruiz-Knott
bb10334ebf Merge pull request #29405 from edx/ork/MICROBA_1573-allow_bulk_email_template_delete
feat: allow bulk email templates to be deleted
2021-11-23 13:41:18 -05:00
Chris Deery
bea16dad81 fix: [AA-1079] space separators for related programs (#29350)
fix css for spacing between related programs in course descriptions.
2021-11-23 13:30:17 -05:00
oliviaruizknott
eb1797d210 feat: allow bulk email templates to be deleted
There are some old bulk email templates in the database that we don’t
need anymore. We need to make this change in order to delete them. After
removing the templates we want to remove, we’ll leave in the ability to
delete.

[MICROBA-1573]
2021-11-23 10:59:46 -05:00
Muhammad Soban Javed
0cdaa91762 Revert "chore: Updating Python Requirements (#29390)" (#29404)
This reverts commit c12c3b0bf0.
2021-11-23 20:49:37 +05:00
connorhaugh
77debf191c chore: update lti-consumer version (#29386) 2021-11-23 09:44:11 -05:00
Kshitij Sobti
c8bd924e23 feat: Add support for using the discussions MFE UI instead of existing UI [BD-38] [TNL-9228] (#29285)
* feat: Add support for using the discussions MFE UI instead of existing UI

Adds a new course waffle flag that when set along with the discussions MFE URL shows the discussions MFE UI instead of the regular UI.

* test: add tests

* squash!: more consistent url name
2021-11-23 14:56:25 +05:00
edX requirements bot
c12c3b0bf0 chore: Updating Python Requirements (#29390) 2021-11-23 12:13:05 +05:00
Thomas Tracy
d1bde43e02 feat: [MICROBA-1531]Bulk email migration deny list (#29372) 2021-11-22 17:01:48 -05:00
Aarif
103cd5ac15 fix: removed the redundant tests collection github workflow (#29363) 2021-11-23 02:17:10 +05:00
Jeremy Ristau
cfdbb4c951 Merge pull request #29388 from edx/fix--block-browser-404s
fix: remove block browser 404s.
2021-11-22 15:34:35 -05:00
connorhaugh
2ebfe47077 fix: remove slashmark 2021-11-22 13:58:34 -05:00
Tim McCormack
4efd2d161a fix: Correctly create origin from URL in CORS CSRF middleware (#29366)
Deleting all instances of the path from the URL meant that referers like
`https://learning.edx.org/` were turned into `https:learning.edx.org`. The
solution here is to use `urlunparse` to put the URL back together, but only
with the desired components (scheme and authority/netloc).

This relates to our previous upgrade to django-cors-headers 3.x, which
changed to use origins instead of domains in its whitelist setting:

36df86d829 (diff-811d60a3e1d60ff694eace0242e77d6b810d8e9c63c36d7b3c2591a08ebbb94bR58)

Added regression test (fails on master, passes on branch.)

Also:

- Replace word "domain" with "origin" in few places to use the correct
  term. (We should probably change this more broadly in names and comments
  in this module as some point.)
- Simplify logging to just output what we know, and not try to recapitulate
  the logic too much.

ref: BOM-2961
2021-11-22 17:49:57 +00:00
connorhaugh
74bda16638 Revert "feat: Add a data migration to copy all course index data into MySQL (#29293)" (#29387)
This reverts commit b5299674d2.
2021-11-22 11:59:56 -05:00
jawad khan
d98c5ea1d3 fix: Enable upgrade banner for ios requests having 3172 as app version in header (#29351)
Replaces 3172(build number) with app number(2.26.3) in header which marks request as ios 2.26.3

LEARNER-8639
2021-11-22 21:02:04 +05:00
Braden MacDonald
b5299674d2 feat: Add a data migration to copy all course index data into MySQL (#29293) 2021-11-22 10:34:25 -05:00
Uzair Rasheed
f74c0e51cb Merge pull request #29364 from edx/allow-login-if-email-opt-in-enabled
feat: allow login if email opt-in is enabled
2021-11-22 13:02:11 +05:00
Abdurrehman
25f1640c58 fix: ALLOW_PUBLIC_ACCOUNT_CREATION flag does not show/hide signup btn above footer (#29261) 2021-11-22 11:31:54 +05:00
Ahtisham Shahid
987c641d82 feat: created API to get program discussion iframe (#29205)
fix: py lint issues fixed

feat: added test cases for API

fix: py lint issues fixed and added tests

fix: updated tests and refactored

fix: fixed return type in the function

fix: conflicts resolved and linter issue

refactor: updated code to accommodate backward compatibility

refactor: updated classes for code clean up

feat: added test for ProgramDetailFragment

feat: added a new flag for masters discussion

refactor: updated flag names and other refactors
2021-11-22 11:27:45 +05:00
Kshitij Sobti
e8e8f4acbe feat!: Change the way tabs are ordered [BD-38] [TNL-9174] [BB-5076] (#29262)
* feat!: Change the way tabs are ordered
The change imposes a new ordering for tabs based on their new priority. When reordering tabs, this ordering will be maintained.

* fix: Apply suggestions from code review

Co-authored-by: Farhaan Bukhsh <farhaan@opencraft.com>

* fix: review feedback

Co-authored-by: Farhaan Bukhsh <farhaan@opencraft.com>
2021-11-22 11:17:30 +05:00
uzairr
f02fe4c203 feat: allow login if email opt-in is enabled
allow login to in-active users if email opt-in is enabled

Fixes: VAN-768
2021-11-22 10:53:33 +05:00
edX Transifex Bot
2e2701d82a chore(i18n): update translations 2021-11-22 02:41:48 +05:00
Binod Pant
0973b646f9 feat: SAPSF channel does not retransmit completion now, on grade changes (#29360)
ENT-4752
2021-11-19 09:02:41 -05:00
Awais Jibran
5c2f8b23d4 fix: edx provider data in the api (#29331)
* fix: edx provider data in the api

* refactor: remove comments in the code

* test: update the test cases

* fix: quality changes
2021-11-19 18:58:28 +05:00
Adeel Ehsan
66654b2edb feat: don't allow account creation for secondary emails (#28880)
VAN-726
2021-11-19 17:06:24 +05:00
M. Zulqarnain
95dbcaa323 feat: Django codemods on LMS (4) (#28854) 2021-11-19 15:10:58 +05:00
Aarif
8665391f91 fix: updated the workflow to build and push CI runner docker image on schedule (#29361) 2021-11-19 15:06:25 +05:00
Aarif
225a5c690a fix: fixed user permissions in self-hosted runners (#29362) 2021-11-19 15:05:54 +05:00
Aarif
df90d113fa fix: fixed user permissions in self-hosted runners (#29357) 2021-11-19 02:40:32 +05:00
alangsto
0fc4c397d2 chore: update edx-name-affirmation version (#29355) 2021-11-18 09:35:18 -05:00
Aarif
39fe1a20e4 feat: move unit tests to github actions on self-hosted runners (#28873) 2021-11-18 19:09:31 +05:00
edX Transifex Bot
a60f9ff82d geoip2: update maxmind geolite country database 2021-11-18 02:13:52 +05:00
Simon Chen
16b0543e14 chore: Upgrade edx-proctoringto version 4.7.2 (#29349)
Co-authored-by: Simon Chen <schen@edX-C02FW0GUML85.local>
2021-11-17 11:54:36 -05:00
connorhaugh
cea3f32d0d chore: update lti-consumer-xblock version (#29345)
chore: update lti-consumer-xblock version to 3.1.1
2021-11-17 11:25:16 -05:00
alangsto
7a5f5514fb chore: update edx-name-affirmation version (#29346) 2021-11-17 10:33:23 -05:00
Ahtisham Shahid
78e115a05c fix: updated cache policy for import_status endpoint (#29342)
* fix: updated cache policy for import_status endpoint
2021-11-17 19:40:17 +05:00
Justin Lapierre
8b3d7e040c Merge pull request #29341 from edx/revert-28571-jill/bd-13-render_template
Revert "[BD-13] Deprecate ModuleSystem.render_template"
2021-11-16 15:53:13 -05:00
alangsto
a15051ae6e chore: update edx-proctoring version (#29340) 2021-11-16 15:47:13 -05:00
Justin Lapierre
f6f3a79a15 Revert "[BD-13] Deprecate ModuleSystem.render_template" 2021-11-16 15:16:08 -05:00
Matthew Piatetsky
bda0062206 fix: some visual fixes the goal reminder email for outlook (#29337) 2021-11-16 14:49:03 -05:00
Piotr Surowiec
4bf829dcbd fix: do not remove comments from XML during course import (#28557)
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.
2021-11-16 12:42:08 -05:00
Ahtisham Shahid
814efed637 feat: added logging in import status view (#29330)
* feat: added logging in import status view
2021-11-16 22:23:27 +05:00
alangsto
75c1ef7ece chore: update edx-name-affirmation version (#29333)
the latest version contains an update that reduces the amount of celery tasks
triggered by name affirmation updates
2021-11-16 11:00:03 -05:00
Andrew Shultz
bd2223fa48 Merge pull request #29321 from edx/ashultz0/simple_most_recent
fix: simplify most recent verification function
2021-11-16 09:51:10 -05:00
M. Zulqarnain
b84b862cc0 feat: Django codemods on LMS (3) (#28853) 2021-11-16 18:27:21 +05:00
edX requirements bot
ad81b2ef36 chore: Updating Python Requirements (#29327) 2021-11-16 15:20:43 +05:00