Commit Graph

23610 Commits

Author SHA1 Message Date
Awais Qureshi
fe57074dab feat!: Remove django-admin default login (#29876)
* feat!: Remove django-admin default login
2022-03-01 17:38:36 +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
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
Ahtisham Shahid
727efde55c Revert "fix: Hide headers and footer in disucssion mfe UI in edx-platform (#29874)" (#29885)
This reverts commit 7f9dbfc8e7.
2022-02-08 12:23:23 +05:00
Michael Terry
6ac9bae571 Merge pull request #29117 from openedx/mikix/drop-learning-sequence-flag
feat: enable using learning sequence outlines by default
2022-02-07 11:32:59 -05:00
Kshitij Sobti
5708787527 feat: show share feedback button only for discussions MFE when URL is configured (#29785)
Removes the share feedback button unless a URL is configured, and only shows it for the discussions MFE view.
2022-02-07 14:57:32 +05:00
Michael Terry
cb1bb7fa64 test: switch default test store to the split store
It's long past time that the default test modulestore was Split,
instead of Old Mongo. This commit switches the default store and
fixes some tests that now fail:
- Tests that didn't expect MFE to be enabled (because we don't
  enable MFE for Old Mongo) - opt out of MFE for those
- Tests that hardcoded old key string formats
- Lots of other random little differences

In many places, I didn't spend much time trying to figure out how to
properly fix the test, and instead just set the modulestore to Old
Mongo.

For those tests that I didn't spend time investigating, I've set
the modulestore to TEST_DATA_MONGO_AMNESTY_MODULESTORE - search for
that string to find further work.
2022-02-04 14:32:50 -05:00
Jansen Kantor
30dcdb487a fix: uncaught ItemNotFoundErrors (#29870) 2022-02-04 10:24:15 -05:00
Ahtisham Shahid
7f9dbfc8e7 fix: Hide headers and footer in disucssion mfe UI in edx-platform (#29874) 2022-02-04 14:08:36 +05:00
edx-pipeline-bot
9c81b7773f Merge pull request #29873 from openedx/private_to_public_232850e
Mergeback PR from private to public.
2022-02-04 03:31:00 -05:00
Rebecca Graber
47aed8d2ab feat: management command for consuming kafka events (#29838) 2022-02-03 12:39:31 -05:00
Ali Akbar
232850e8e8 Merge pull request #239 from edx/aakbar/PROD-2630-xss-fix
fix: escape vulnerable enrollment mode
2022-02-03 21:44:21 +05:00
Bianca Severino
a84397e4ad Merge pull request #29820 from openedx/bseverino/remove-idv-experiment
[MST-869] Remove code related to IDV experiment
2022-02-02 11:38:08 -05:00