Commit Graph

5629 Commits

Author SHA1 Message Date
stvn
39acbf2f21 Implement a new configuration system for discussions plugins
Additional details available in the attached decisions document.

Co-authored-by: Kshitij Sobti <kshitij@sobti.in>
Co-authored-by: stvn <stvn@mit.edu>
2020-12-17 18:23:46 -08:00
Dillon Dumesnil
dce0778b94 Merge pull request #25905 from edx/ddumesnil/aa-496
AA-496: Don't show reset deadlines banner if no graded problem is pas…
2020-12-17 12:29:39 -08:00
Dillon Dumesnil
6237bce0e7 AA-496: Don't show reset deadlines banner if no graded problem is past due
When determining completion status to show on the vertical, we take
into account if the problems are graded and scored (have a score
and weight). Now we take that into account in regards to showing the
banner inside the vertical too
2020-12-17 20:00:14 +00:00
Robert Raposa
de16529ab6 Merge pull request #25885 from regisb/regisb/fix-deprecated-waffle-usage
[BD-21] Fix deprecated waffle usage
2020-12-17 12:41:40 -05:00
Robert Raposa
874c3e7b61 Merge pull request #25182 from regisb/regisb/disable-learner-records-from-settings
Add default value for learner records feature toggle in settings
2020-12-17 12:16:40 -05:00
Régis Behmo
bd038bab3c Add default value for learner records feature toggle in settings
The learner records feature had to be enabled/disabled via site-specific
configuration models, which is inconvenient for platforms that want to
disable this feature globally. Here, we introduce a
ENABLE_LEARNER_RECORDS feature toggle in the lms/cms settings that makes
it possible to disable this feature on all sites. Because this feature
toggle is set to True by default, this will not modify the behaviour of
existing platforms.
2020-12-17 16:28:04 +01:00
Carla Duarte
3fb3f913b5 Merge pull request #25661 from edx/ciduarte/AA-131
AA-131: Allow anonymous users through course home MFE
2020-12-16 15:49:20 -05:00
Dillon Dumesnil
2f7fcdea85 Merge pull request #25897 from edx/ddumesnil/fix-masquerade-for-mfe
Fixes for Shift deadlines during masquerade in Learning MFE
2020-12-16 11:57:23 -08:00
Dillon Dumesnil
e1517223b9 Fixes for Shift deadlines during masquerade in Learning MFE
The change to masquerade in the courseware view allows the proper
viewing of the xblock from the perspective of the masqueraded user.
In this case, it allows a staff user masquerading as a learner to see
their shift dates calls to action inside the MFE (the old view already
had this set up). The second change allows the staff user masquerading
to reset the schedule of the learner being masqueraded via the CTAs
2020-12-16 19:13:33 +00:00
srwang
b95739c153 Merge pull request #25888 from edx/swang/ws-1591
WS-1591: change Prospectus user dropdown to show avatar instead of username
2020-12-16 13:40:30 -05:00
Sharon Wang
70cf6ddbf8 fix lint error 2020-12-16 13:16:50 -05:00
Carla Duarte
99163bdf2c AA-131: Allow anonymous users through course home MFE 2020-12-16 12:58:33 -05:00
Sharon Wang
8889180b59 code review comments and lint 2020-12-16 09:45:31 -05:00
Sharon Wang
88b838f608 exception for profile 2020-12-16 08:58:25 -05:00
Waheed Ahmed
5fce6c28d7 Add logs around all password reset requests.
VAN-192
2020-12-16 15:30:39 +05:00
Muhammad Soban Javed
bd601cf3a6 Update celery routing for celery 4+ (#25567)
* Update celery routing

- Used routing function instead of class
- Move task queues dictionary to Django settings
- Removed routing_key parameter
- Refactored routing for singleton celery instantiation

Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com>
2020-12-16 13:40:47 +05:00
Saleem Latif
097c829435 Merge pull request #25887 from edx/saleem-latif/multiple-idps-migration
Upgraded edx-enterprise version to 3.15.0 and updated field name changed in that version.
2020-12-16 09:34:29 +05:00
Sharon Wang
910f1c45c3 test passing 2020-12-15 16:58:48 -05:00
Sharon Wang
15c9ad1140 user cookie test wip 2020-12-15 15:44:17 -05:00
Sharon Wang
97fb51ce67 sos 2020-12-15 15:22:28 -05:00
Raul Gallegos
d3584ad559 SE-3764: adds a new bundle_draft_files cache key (#25881)
Updates the bundle_draft_files cache key to be _v2 so we avoid reading
invalid values cached by a past version of this code with no timeout.

TNL-7771
2020-12-15 11:09:04 -05:00
Saleem Latif
dfb36644c9 Upgraded edx-enterprise version to 3.15.0 and updated field name changed in that version. 2020-12-15 19:13:14 +05:00
Régis Behmo
f29e415353 Fix deprecated usage of WaffleFlag.namespaced_flag_name
As of edx-toggles==1.2.0, the `WaffleFlag.namespaced_flag_name`
attribute is deprecated in favour of `WaffleFlag.name`.
2020-12-15 12:28:57 +01:00
Michael Terry
52ad3ac30e Merge pull request #25878 from edx/mikix/remove-html-blobs
TNL-7185: clean up unused html blobs from the API
2020-12-14 16:23:52 -05:00
Dillon Dumesnil
d58a080236 Merge pull request #25865 from edx/ddumesnil/aa-260
AA-260/AA-500: Improvements to in course shift deadlines
2020-12-14 12:25:23 -08:00
Awais Jibran
87aa5906b9 Merge pull request #25877 from edx/aj/branding/update-expand-button
Update Course Home button Expand All / Collapse All
2020-12-15 00:48:21 +05:00
Michael Terry
cf2e778b56 TNL-7185: clean up unused html blobs from the API
Now that the MFE consumes our data structure for a couple of the
alerts, we no longer need to send raw html at all for them.
2020-12-14 14:26:10 -05:00
Michael Terry
2711fbb376 Merge pull request #25863 from edx/mikix/offer-expire-refactor
TNL-7185: Send data, not rendered HTML to the learning MFE
2020-12-14 14:18:58 -05:00
Awais Jibran
0b34ec891f Xsy image remove for course home messages at theme level 2020-12-15 00:17:02 +05:00
Dillon Dumesnil
3c1de16eba AA-260/AA-500: Improvements to in course shift deadlines
As part of AA-500, we added a completeness check to showing the
banner since we didn't before. As part of AA-260, we now take into
account if a learner has more attempts left on a problem (regardless
of completeness) and allow them to shift their dates to try again.
2020-12-14 19:05:30 +00:00
Michael Terry
eef72b5ab7 TNL-7185: Send data, not rendered HTML to the learning MFE
Specifically, send data versions of course_expired_message and
offer_html.

The rendered HTML is still being sent for now, until the learning
MFE is updated to consume the data objects.
2020-12-14 13:41:03 -05:00
Carla Duarte
0bec88982a Merge pull request #25866 from edx/ciduarte/AA-509
AA-509: Dates widget link styling
2020-12-14 09:29:38 -05:00
Carla Duarte
573ec289dd AA-509: Dates widget link styling 2020-12-11 17:01:37 -05:00
Awais Jibran
6a692e2ae2 Serve assets using static storage 2020-12-11 20:25:41 +05:00
Pooja Kulkarni
e9cba8c282 Fix the theme compilation issue since juniper (#24990)
Replaces the deprecated CachedFilesMixin with ManifestFilesMixin.
Also sorts xmodules and xblocks js bundles to make theme assets
compilation hashes consistent across different machines.
2020-12-11 09:36:31 -05:00
Raul Gallegos
5279975483 [TNL-7771][LX-1409] sets blockstore values timeouts to avoid S3 links expiration (#25830) 2020-12-11 09:35:45 -05:00
Tim McCormack
0c57a02119 Enforce a Celery singleton across cms and lms by using shared module (#25840)
This should prevent the issues we've seen recently where cms modules are
imported by the running lms process, resulting in two celery instances
being created and tasks intermittently being registered to the wrong
instance (and therefore effectively lost.)

In commit ab6bf348d4/PR #25822 we tried to ensure that only one or the
other of the instances was created by adding a startup check.
Unfortunately, there's an external shared library that refers directly
to the lms celery, causing a startup failure in cms, so we had to revert
it. Rather than waiting to fix that library, this commit collapses
the two instances together so that there is only ever one.
2020-12-10 17:54:31 +00:00
Alexander J Sheehan
999b88ebbb Merge pull request #25709 from edx/asheehan-edx/ENT-3648-assessment-level-signals
Adding signals and receivers for assessment level reporting
2020-12-10 09:29:54 -08:00
Carla Duarte
774210cf33 Merge pull request #25805 from edx/ddumesnil/aa-503
AA-503: Add id verification status into API
2020-12-09 14:37:04 -05:00
Alexander Sheehan
6ef93078f9 adding unit tests for assessment level reporting and hashing cache key. 2020-12-09 10:07:46 -08:00
Ned Batchelder
eb82e64b51 Merge pull request #25809 from raccoongang/rg/fix/bookmarks_deletion
In the LMS, bookmarks associated to deleted units are not deleted
2020-12-09 06:19:27 -05:00
Awais Jibran
d44a31247a Adjust height/width as per new logo. 2020-12-09 14:42:04 +05:00
Max Sokolski
22a88de1ea In the LMS, bookmarks associated to deleted units are not deleted 2020-12-09 04:51:09 +02:00
Alexander Sheehan
66e0f6bf5d caching enterprise learner lookup 2020-12-08 14:51:40 -08:00
Alexander Sheehan
440773a72d Adding signals and receivers for assessment level reporting to integrated channels 2020-12-08 14:51:40 -08:00
Dillon Dumesnil
a7e712ad4e AA-503: Add id verification status into API
This will be used for the Course Exit experience to improve our
messaging for learners in the 'pending' state
2020-12-08 20:08:52 +00:00
Ned Batchelder
2dd618e3a2 Merge pull request #25756 from edx/nedbat/settable-support-link
New LOGIN_ISSUE_SUPPORT_LINK setting
2020-12-08 15:07:13 -05:00
alangsto
1def252129 adding course waffle for proctoring info panel (#25803)
updated for feedback
2020-12-08 13:05:57 -05:00
Michael Terry
639d043675 Merge pull request #25765 from edx/mikix/upgrade-sidebar
AA-383: add verified mode info to course_home outline API
2020-12-08 08:43:38 -05:00
Ned Batchelder
761306114d New LOGIN_ISSUE_SUPPORT_LINK setting
The login page had a hard-coded support.edx.org URL.  This changes it to
a configurable setting. BTR-32.
2020-12-04 14:55:27 -05:00