Commit Graph

23620 Commits

Author SHA1 Message Date
Kshitij Sobti
6042972235 fix: Use legacy view for legacy URLs (#30006)
If a user navigates to a legacy URL, then use the legacy view for discussions.
2022-03-03 16:19:12 +05:00
Justin Hynes
a94d5e1ae3 Merge pull request #30000 from openedx/jhynes/revert_microba-1666
revert: reverts 53041a2 after reports of bulk email message issues
2022-03-02 14:41:39 -05:00
Justin Hynes
bbb0bc77d9 revert: reverts 53041a2, causing email issues
[MICROBA-1666]

This reverts commit 53041a2d34 after course team started reporting issues of images in emails not respecting dimensions set with the email editor.

After a brief investigation we found unexpected attributes (like `width` and `height` of an image) being stripped from the HTML.
2022-03-02 14:03:55 -05:00
Bianca Severino
b50de1d6e5 Merge pull request #29993 from openedx/bseverino/confirm-name-change
[MST-1362] Add REST endpoint to confirm name changes
2022-03-02 09:49:51 -05:00
Muhammad Adeel Tajamul
d0e6b2dd20 Merge pull request #29982 from openedx/tnl-9619
fix: post summary taking more than one lines
2022-03-02 07:14:26 +05:00
Jansen Kantor
05b8da5d93 feat: teams csv export split username / external key columns (#29981)
When doing import, we ran into an issue where there was a learner with an external program key that was the
same as an existing, completely unrelated edX account username. Rather than try to guess which learner we want
or do the lookups backwards, it seemed that splitting these columns to avoid any ambiguity would be the most
straightforward and simple approach
2022-03-01 20:04:32 -05:00
Bianca Severino
f177855e1b feat: add REST endpoint to confirm name changes 2022-03-01 16:22:31 -05:00
Michael Terry
5e80b692c8 Merge pull request #29987 from openedx/mikix/no-enrollment-old-mongo
feat: mark Old Mongo courses as invitation-only
2022-03-01 10:13:42 -05:00
Awais Qureshi
fe57074dab feat!: Remove django-admin default login (#29876)
* feat!: Remove django-admin default login
2022-03-01 17:38:36 +05:00
Michael Terry
ff90533074 feat: mark Old Mongo courses as invitation-only
This is in service of dropping support for these ancient
courses and removing legacy code that they rely on.

Eventually, we'll remove all access. But this is a first step,
to reduce enrolled learners.

DEPR-58
2022-02-28 16:31:46 -05:00
Justin Hynes
884e8af0f2 docs: ADR for bulk email content html sanitization
[MICROBA-1666]

* Add ADR explaining introduction of bulk email HTML content sanitization and the new `BULK_COURSE_EMAIL_ALLOWED_HTML_TAGS` setting.
2022-02-28 16:01:25 -05:00
Justin Hynes
e608db847c Merge pull request #29969 from openedx/jhynes/microba-1666_sanitize-bulk-email
feat: sanitize bulk course email message content before storing in database
2022-02-28 13:25:11 -05:00
Maria Grimaldi
d7a5ff2326 Merge pull request #29953 from eduNEXT/cag/fix-link-to-students-guide
fix: update old links edx-guide-for-students in calculator
2022-02-28 13:49:48 -04:00
Rebecca Graber
0157518a9c feat: remove kafka_consumer from edx-platform (#29983) 2022-02-28 09:41:57 -05:00
Justin Hynes
53041a2d34 feat: sanitize bulk course email message content before storing in database
[MICROBA-1666]

* Use bleach to sanitize user-provided content of bulk course emails before storing in the database.
* Add new `BULK_COURSE_EMAIL_ALLOWED_HTML_TAGS` setting to enable configuration of allowed HTML tags in bulk course emails.
2022-02-28 08:49:06 -05:00
adeel.tajamul
4af4a6a802 fix: post summary taking more than one lines 2022-02-28 15:58:55 +05:00
Kshitij Sobti
f7df694c5f feat: add provider info to the discussion configuration API (#29864)
The new discusions MFE needs to know which provider is in use (legacy or new) to deliver the expected experience. This adds the provider name and other relevant configuration to the discussion configuraiton API.
2022-02-28 11:23:28 +05:00
Ahtisham Shahid
5e6aa147dd feat: added model for course Live integrations (#29968) 2022-02-24 16:47:35 +05:00
Bianca Severino
cc43b5e567 Merge pull request #29952 from openedx/bseverino/name-affirmation-plugin
[MST-1360] Only enable verified name feature if Name Affirmation is installed
2022-02-23 09:18:44 -05:00
AsadAzam
60a21ad664 fix: add separate flag for new structure discussions (#29962)
* fix: add separate flag for new structure discussions

* fix: fixed tests
2022-02-23 10:57:19 +05:00
Zainab Amir
bd08bc7bdc feat: add optional fields rest api (#29942) 2022-02-22 17:51:34 +05:00
Ahtisham Shahid
4138c2cc16 fix: Updated discussions banner text as per changed requirements (#29961) 2022-02-22 13:03:03 +05:00
Eugene Dyudyunov
2b32828083 fix: registration form validation message (#29843) 2022-02-22 12:34:36 +05:00
Ahtisham Shahid
af86e1612c fix: moved new discussions mfe behind waffle flag (#29941) 2022-02-21 21:04:50 +05:00
Bianca Severino
76f9756f92 feat: only enable verified name feature if Name Affirmation is installed 2022-02-18 13:25:30 -05:00
Cristhian Garcia
d0279a8d24 fix: old links edx-guide-for-students now point to open-edx-learner-guide 2022-02-18 13:22:59 -05:00
Dillon Dumesnil
31f33da625 fix: Update get user timezone logic
Adds in sanitization of the timezone to ensure the timezone is
formatted correctly and error handling to reasonably fall back to UTC
2022-02-18 13:20:20 -05:00
Michael Terry
203863376b feat: enable user tours by default, dropping rollout toggle
AA-1177
2022-02-17 14:56:50 -05:00
Michael Terry
203e2e9c04 Merge pull request #29945 from openedx/mikix/hide-old-mongo
feat: hide Old Mongo courses from catalog
2022-02-17 12:46:14 -05:00
Michael Terry
10ce36ea14 feat: hide Old Mongo courses from catalog
This is step one of removing access altogether. But first, let's
not advertise them.

DEPR-58
DEPR-123
2022-02-17 12:18:36 -05:00
Carlos Muniz
37bf73ca50 refactor: Replace videosequence & problemset (#29905)
`videosequence` and `problemset` have been replaced with `sequential`.

`problemset` and `videosequence` are old-but-not-entirely-unused aliases to the `sequential` block type (in Studio-speak, "Subsection").
Since [these block types have been removed from the 6 courses that used them](https://openedx.atlassian.net/browse/DEPR-151?focusedCommentId=588197), this ticket removes the support for the `problemset` and `videosequence` block-types.

For more information, see ticket: [DEPR-151](https://openedx.atlassian.net/browse/DEPR-151)
2022-02-16 10:21:31 -05:00
AsadAzam
2133ec2099 fix: post anonymous to peers not visible for ta (#29915)
* fix: post anonymous to peers not visible for ta

* test: fix tests
2022-02-16 14:41:37 +05:00
Bianca Severino
af81b3a609 chore: replace integrity signature flag with django setting 2022-02-15 09:57:00 -05:00
Ahtisham Shahid
649a66de4e fix: Added additional conditions for tab view rendering (#29906) 2022-02-15 18:48:57 +05:00
Phillip Shiu
a46b2e7f02 fix: [REV-2608] add missing CSS class for currency conversion on Track Selection (#29923) 2022-02-15 08:17:02 -05:00
Awais Ansari
5a4cbc56ae feat: link discussions feedback URL with feedback button (#29919)
* feat: link discussions feedback URL with feedback button
2022-02-15 17:28:03 +05:00
Mehak Nasir
d167ba3eab style: heading color and mobile screen fix (#29924) 2022-02-15 17:07:35 +05:00
Awais Ansari
be5b27b06e feat: update the discussion preview bar text (#29916)
* feat: update the discussion preview bar text

* fix: update the legacy view button color

* test: fix discussion preview bar failing test cases after text update
2022-02-15 16:41:31 +05:00
Michael Terry
e81c4fe49d Merge pull request #29911 from openedx/mikix/more-old-mongo-test-cleanup
test: more Old Mongo removal from tests
2022-02-11 15:10:45 -05:00
Michael Terry
b905de757b test: more Old Mongo removal from tests
Convert more tests from MONGO_AMNESTY to SPLIT modulestores.

This is in preparation for just wholesale denying access to Old
Mongo, so I either converted tests to split or just deleted some
test variants that were Old Mongo specific. (e.g. ddt lines)
2022-02-11 14:50:30 -05:00
Nathan Sprenkle
6ae626a5d5 feat: ESG logging updates (#29895)
* feat: log exceptions for fall-through exceptions

* chore: remove unused XBlock handler

* refactor: log errors for XBlock handlers

* refactor: log bad ORA locations

* feat: log lock/grade contest errors

* feat: log output data for ESG endpoints

* feat: unpack extra error info from more endpoints
2022-02-11 13:56:25 -05:00
Mehak Nasir
cf8104eb76 style: ui fixes in program tabs
theme fixes
2022-02-11 15:02:33 +05:00
Mubbshar Anwar
efa0f4c644 fix: course/program email information issues (#29884)
dynamically render course/program information in braze email template
VAN-858
2022-02-11 11:40:45 +05:00
Keith Grootboom
9d3f52ed67 feat: add PREPEND_LOCALE_PATHS configuration setting (#29851)
edx-platform supports COMPREHENSIVE_THEME_LOCALE_PATHS setting, which
appends paths to the end of LOCALE_PATHS,  but there's currently no
way to add additional paths to the start of the list.

https://tasks.opencraft.com/browse/SE-5299
2022-02-09 13:30:21 -05:00
Pooja Kulkarni
b7d420a29e * feat: Add completion progress bar to dashboard
[SE-4473] Add completion progress bar to dashboard (#29271)
2022-02-09 09:28:48 -05:00
Ahtisham Shahid
75d8448ef5 refactor: Moved ProgramDiscussion/Live Configuration Models to program's app (#29871)
refactor: Moved ProgramDiscussion/Live Configuration Models to program's app
2022-02-09 15:43:22 +05:00
AsadAzam
93d8a123d3 fix: remove visibility of anonymous posts for ta (#29883) 2022-02-09 11:02:11 +05:00
ha-D
2d4c1ff25b fixup! feat: options for excluding courses from search 2022-02-08 10:19:43 -08:00
ha-D
a4b36346c9 feat: options for excluding courses from search
Adds two new fields to the indexed course data:
- invitation_only
- catalog_visibility

Also adds two new settings:
`SEARCH_SKIP_INVITATION_ONLY_FILTERING`
`SEARCH_SKIP_SHOW_IN_CATALOG_FILTERING`

These settings can be used to filter out courses in the search results
based on their catalog visibility or based on whether they are
invitation-only courses.
2022-02-08 10:19:43 -08:00
dyudyunov
2716810f48 fix: course discovery dates localization after user logout
Preconditions:
- course discovery enabled

STR:
- log in
- choose any language with different date format (e.g. ukrainian)
- check date format changed on the /courses page
- logout and go to /courses again

AR:
- date format is english on /courses, but stays the same as for logged in
user on the main page

ER:
- date format stays the same as for logged in user
2022-02-08 10:07:35 +02:00