Commit Graph

13276 Commits

Author SHA1 Message Date
Alexander J Sheehan
6a6b883a49 Merge pull request #30661 from openedx/asheehan-edx/saml-uniqueness-current-only
fix: accounting for only current configs when checking for uniqueness
2022-06-27 18:11:18 -04:00
Alexander Sheehan
605a328f24 fix: accounting for only current configs when checking for uniqueness 2022-06-27 16:56:37 -04:00
Mohammad Ahtasham ul Hassan
44fa09eba5 refactor: refactor discussions_xblock (#30636)
JIRA: https://openedx.atlassian.net/browse/BOM-2580
This PR aims at refactoring the discussion xblock sub project and moving it within the xmodule directory effectively removing its position as a sub project within edx-platform
2022-06-27 17:11:56 +05:00
SaadYousaf
20de3c71b4 fix: fix links in reported content email to point to new MFE 2022-06-24 11:08:59 +05:00
adeel.tajamul
3ef0bd6d00 fix: added thread structure 2022-06-23 13:44:18 +05:00
adeel.tajamul
cebe02ae51 fix: added doc strings to test cases 2022-06-23 13:44:18 +05:00
adeel.tajamul
92e862149d fix: pinned is set to false for all posts in learner area 2022-06-23 13:44:18 +05:00
adeel.tajamul
30229c86e2 fix: updated test cases 2022-06-23 13:44:17 +05:00
adeel.tajamul
7481b11e25 fix: updated api response 2022-06-23 13:44:17 +05:00
adeel.tajamul
18cec24f15 fix: added pagination data 2022-06-23 13:44:17 +05:00
adeel.tajamul
19a23c7f35 fix: pylint errors resolved 2022-06-23 13:44:17 +05:00
adeel.tajamul
b6b3a9153c fix: resolved pylint test case 2022-06-23 13:44:17 +05:00
adeel.tajamul
e9bdf1d6bc fix: fixed active threads user_id query param and added test cases 2022-06-23 13:44:17 +05:00
Muhammad Adeel Tajamul
5298c3827c Merge pull request #30628 from openedx/inf-302
fix: fixed topics api sort to same as legacy sort
2022-06-23 10:44:20 +05:00
Nathan Sprenkle
abfd50a984 feat: Learner Dashboard top level serializer (#30631)
* feat: add top-level serializer classes

List serializer classes stubbed, to be filled out later.

* test: add basic test for high-level serializer.

Includes 2 examples of how to patch sub-serializers.

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-06-22 13:38:30 -04:00
adeel.tajamul
7d6ce90213 fix: fixed topics test cases 2022-06-22 06:25:40 +05:00
muhammad-ammar
80e4b6a165 feat: update segment events data for passed and failed learners 2022-06-21 23:48:00 +05:00
adeel.tajamul
a91139d4c0 fix: fixed topics api sort to same as legacy sort 2022-06-21 18:43:38 +05:00
Muhammad Umar Khan
a389a9ff10 Revert "Revert "refactor: move xmodule folder to root"" 2022-06-20 18:20:06 +05:00
Muhammad Umar Khan
d890f06507 Revert "refactor: move xmodule folder to root" 2022-06-20 16:03:48 +05:00
M Umar Khan
a91df0c40f refactor: move xmodule folder to root
- Moving xmodule folder to root as we're dissolving sub-projects of common folder in edx-platform
    - More info: https://openedx.atlassian.net/browse/BOM-2579
- -e common/lib/xmodule has been removed from the requirements as xmodule has itself become the part of edx-platform and not being installed through requirements
- The test files common/lib/xmodule/test_files/ have been removed as they are not being used anymore
2022-06-20 14:33:45 +05:00
Muhammad Ammar
a1f8df126d Merge pull request #30608 from openedx/ammar/refine-source-param-in-dsc-url
chore: refine source param in dsc url
2022-06-17 15:28:24 +05:00
muhammad-ammar
dd70066644 chore: refine source param in dsc url 2022-06-17 15:05:29 +05:00
Ahtisham Shahid
c9d2635a0d fix: resolved caching issue in discussions iframe (#30607)
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local>
2022-06-16 19:04:41 +05:00
Zaman Afzal
ec36d3a949 fix: revert Add Learner pathway progress update signal (#30598) 2022-06-16 01:59:40 +05:00
Waheed Ahmad
541065c542 fix: [VAN-980] changing the email address sync with Braze (#30590)
Currently, changing the email address in LMS does not reflect in Braze
and the transaction emails sent through Braze are delivering to user's
old/previous email address.

Added a signal/receiver to sync the new email address upon confirm email
change.
2022-06-15 19:39:23 +05:00
Zaman Afzal
6c6dabaa3c Feat: Add Learner pathway progress update signal (#30547)
* feat: Add Learner pathway progress update signal
2022-06-15 00:58:22 +05:00
ruzniaievdm
116431cb81 refactor: Replace PDF course certificate view code (#30397)
Co-authored-by: ruzniaievdm <ruzniaievdm@gmail.com>
2022-06-13 09:43:02 -04:00
Feanil Patel
b9131ac1af Merge pull request #30299 from raccoongang/depr/remove-course-info
FC-0001: Remove legacy course info page & related code
2022-06-13 08:23:25 -04:00
Ahtisham Shahid
085526cf73 feat: added flag to enable MFE banner for learners (#30564)
Co-authored-by: AhtishamShahid <ahtishamshahid@A006-00850.local>
2022-06-09 23:37:20 +05:00
Nathan Sprenkle
cf6ea15fff feat: add course listing alongside learner dashboard (#30553)
* refactor: split programs into separate file space

This is in preparation to allow learner dashboard routes/files to live
alongside.

* feat: add new empty course listing view

* docs: update README and split out programs

Co-authored-by: nsprenkle <nsprenkle@2u.com>
2022-06-09 11:22:04 -04:00
muhammad-ammar
60c94ea8ca chore: add more logs in send_segment_events_for_failed_learners command 2022-06-09 16:52:17 +05:00
Muhammad Adeel Tajamul
36c0c0d7cd Merge pull request #30546 from openedx/inf-238
feat: created api for new learner area
2022-06-09 16:51:06 +05:00
adeel.tajamul
3e14628f1a feat: created api for new learner area 2022-06-09 16:32:21 +05:00
Arunmozhi
ba8e98c710 refactor: move noauth rebind ModuleSystem argument to service (#30320)
This removes the `rebind_noauth_module_to_user` argument from the
ModuleSystem constructor and moves it to a separate service called
"rebinder" in the class `RebindModuleService`. This is used in the
LTI module to bind calls received by its noauth endpoint to bind
the module the real_user.
2022-06-08 20:26:59 +02:00
Arunmozhi
aedcd7910d refactor: deprecate hostname attribute from ModuleSystem (#30308)
The hostname constructor argument of the XModule ModuleSystem is deprecated
in favour of directly accessing the LMS_BASE value from django.conf.settings.
2022-06-08 19:49:58 +02:00
Demid
8886f29e52 refactor: remove debug property from ModuleSystem (#30450)
This also:
1. Removes this property from XBlock runtime shims.
2. Updates the minimum required version of the LTI Consumer XBlock.
2022-06-08 18:59:45 +02:00
Arunmozhi
c54d8a81bf refactor: deprecate node_path attribute of ModuleSystem (#30447)
The node_path attribute & constructor argument of the ModuleSystem is
deprecated without any replacement service or fallback as there doesn't
seem to be any core blocks using it.

It also removes the references to node_path from the LMS settings, the
LoncapaModuleSystem and the XBlock runtime shim.

Co-authored-by: Agrendalath <piotr@surowiec.it>
2022-06-08 18:06:59 +02:00
Mohammad Ahtasham ul Hassan
22e510d69b fix: remove logging (#30559) 2022-06-08 20:31:52 +05:00
muhammad-ammar
c0a5dac128 feat: send segment event for failed learners for a course 2022-06-08 13:51:13 +05:00
connorhaugh
ab59796a56 fix: python-dateutil version issue 2022-06-07 14:33:44 +05:00
Kyle McCormick
9f380b9ccd refactor: import common/lib/ modules from canonical locations (#30533)
Unfortunately, some code in edx-platform is imported
relative to sub-projects instead of the repository root.
The only three remaining instances of this are:
* common/lib/xmodule/xmodule (imported as just 'xmodule')
* common/lib/capa/capa (imported as just 'capa')
* openedx/core/lib/xblock_builtin/xblock_discussion
  (imported as just 'xblock_discussion')

For more details on the situation, see:
https://openedx.atlassian.net/browse/BOM-2579
(public, but requires Atlassian account creation).

We would like to get to a point where all edx-platform
import paths match their folder paths, relative to the repo
root. For now, though, all common/lib/capa and common/lib/xmodule
code should be imported as just `from capa` and `from xmodule`,
respectively. Importing using the full `common.lib.xmodule.xmodule...`
path will often work, but it instantiates a second instance of all
modules imported this way, which in the past has led to very
difficult-to-diagnose bugs.  It also confuses tooling such as
import-linter, which we are trying to add to edx-platform
(see https://openedx.atlassian.net/browse/BOM-2576)
2022-06-06 09:54:16 -04:00
ansabgillani
d7a60fd21b feat: add SSO History to support 2022-06-06 18:40:49 +05:00
Sagirov Eugeniy
92ca176fde refactor: Remove legacy course info page & related code 2022-06-05 19:00:05 +03:00
Cristhian Garcia
e66036bba2 fix: dynamically generated unverified cert data (#30365) 2022-06-03 11:46:46 -04:00
Justin Hynes
13d82d757f Merge pull request #30524 from openedx/jhynes/scheduled-instructor-task-bugfix
fix: fix issue with incorrect bulk email schedules
2022-06-02 08:06:19 -04:00
SaadYousaf
af31e68f8e fix: fix variable name in email template 2022-06-02 12:38:24 +05:00
Saad Yousaf
1800257bcd fix: fix issues with reported content email notifications (#30522)
Co-authored-by: SaadYousaf <saadyousaf@A006-00314.local>
2022-06-02 11:09:32 +05:00
Justin Hynes
d7ae3181b6 fix: fix issue with incorrect bulk email schedules
[MICROBA-1835]
* The DateTime string received from the Comms MFE was already in UTC so there is no need to convert the schedule to UTC on the backend.
2022-06-01 15:49:57 -04:00
Usama Sadiq
259084ed77 Revert "BOM-2245 : Unpin python-dateutil" (#30515) 2022-05-31 21:02:59 +05:00