Commit Graph

22621 Commits

Author SHA1 Message Date
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
Carla Duarte
99163bdf2c AA-131: Allow anonymous users through course home MFE 2020-12-16 12:58:33 -05:00
Ali-D-Akbar
fe72df1e5e PROD-2213 2020-12-16 17:44:01 +05:00
azanbinzahid
cd06c74d2c PROD-2181 2020-12-16 17:44:00 +05:00
azanbinzahid
0b7ed973e7 PROD-2162 2020-12-16 17:44:00 +05:00
Awais Jibran
16cd342cb3 Update site width in core 2020-12-16 17:30:04 +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
Zainab Amir
c6be0f9d51 Update institution login page title (#25892) 2020-12-16 12:51:38 +05:00
Carla Duarte
ce8c17d975 Merge pull request #25409 from edx/ciduarte/AA-387
AA-387: Removing shift dates banner from mobile app view
2020-12-15 16:57:05 -05:00
Christie Rice
79fa6c515f MICROBA-736 Swap cert image (#25841) 2020-12-15 09:05:37 -05:00
Kyle McCormick
8b1162e6ae Clean up deprecated edx-platform imports of edxmako & util (#25684) 2020-12-15 09:04:03 -05:00
Régis Behmo
c5a0ebe219 Fix missing module_name argument in CourseWaffleFlag constructor
In future versions of edx-toggles, this argument will become mandatory.
2020-12-15 12:30:25 +01: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
Bianca Severino
a94f83688c Merge pull request #25879 from edx/bseverino/idv-logs
[MST-567] Remove course_key from IDV photo submission
2020-12-14 16:29:51 -05: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
Bianca Severino
d8bfbe96bb Remove course_key from IDV SubmitPhotosView 2020-12-14 15:52:00 -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
Bianca Severino
d1549e5129 Merge pull request #25845 from edx/bseverino/idv-course-key-fix
[MST-567] Encode course_id passed into IDV flow
2020-12-11 13:16:30 -05:00
Robert Raposa
54044232b8 update FEATURES toggle annotation names
Update toggle_name annotations from "XXX"
to "FEATURES['XXX']" to match the name
used by the toggle state endpoint so they
don't seem like two different toggles.
2020-12-11 11:16:19 -05:00
Bianca Severino
2a4c26c367 Encode course_key passed into IDV flow 2020-12-11 09:38:38 -05:00
Jillian Vogel
511d6b975d SE-2010 Allows XBlocks to order columns for the Problem Response Report (#23109) 2020-12-11 09:37:26 -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
Adeel Ehsan
39334358d2 Merge pull request #25847 from edx/aehsan/van-198/rebrand_the_saml_page
applied rebranding to saml page
2020-12-11 02:54:02 +05:00
adeelehsan
f6d743ad6b applied rebranding to saml page 2020-12-11 01:41:21 +05:00
Feanil Patel
cfc63722a5 Undo revert.
This change was reverted along with the downgrade of super-csv because
it was believed that this change was causing issues with celery task
registration.

It was reverted in https://github.com/edx/edx-platform/pull/25762

The fix turned out to be something different and this and the
super-csv library should both be same to upgrade.  The library
upgrade will come in a follow-on make upgrade with some other
constraints that also need to be lifted.

Actual fix: https://github.com/edx/edx-platform/pull/25822
2020-12-10 13:54:36 -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
Feanil Patel
68e4732590 Merge pull request #25829 from edx/feanil/enable_history_panel
Enable keeping some request history in the debug toolbar.
2020-12-10 11:28:17 -05:00
Shimul Chowdhury
421e661a5f Added new setting CERTIFICATE_DATE_FORMAT for easy customization of
certificate issued date
2020-12-10 21:46:20 +06:00
Awais Jibran
e621563194 Merge pull request #25824 from edx/aj/branding/update-progress-page-base-font-size
Update base fontsize on progress page
2020-12-10 19:38:11 +05:00
Tim McCormack
a9bcf22169 Revert "Only instantiate one celery app per process." 2020-12-10 14:14:42 +00:00
Ali Akbar
e209d892c1 Merge pull request #210 from edx/IM/security-fixes-2
Incident Management security fixes 2
2020-12-10 14:26:25 +05:00
Alexander Sheehan
2220a1bcb2 Adding feature flag for subsection grade update signal 2020-12-09 14:01:39 -08:00
Feanil Patel
cdbbe077c2 Enable keeping some request history.
This makes it easire to debug things like POST requests that would
otherwise not be easily debugged during development.
2020-12-09 16:47:23 -05:00
Awais Jibran
cd29bb1424 move font-size to body 2020-12-10 01:44:48 +05:00
Awais Jibran
f2305ad8c3 Update base fontsize on progress page 2020-12-10 01:11:52 +05:00
Feanil Patel
ab6bf348d4 Only instantiate one celery app per process.
Ticket: BOM-2086

Currently there are parts of the LMS that import content from the CMS
APP and vice-versa.  When this happens, we end up with 2 instances of
the celery app and some tasks get registered to the wrong one. The
tasks that were getting registered to the wrong one are never able to
run and result in lots of production errors on celery workers.

The timing of the CMS celery app instantiation is non deterministic
so different tasks get lost depending on when it's imported by some
code in the LMS.

As long as SERVICE_VARIANT is set, this code should prevent the
instantiation of both celery apps.
2020-12-09 14:13:40 -05:00
Kyle McCormick
643fbe82a0 Downgrade REDIRECT_TO_COURSEWARE_MICROFRONTEND to CourseWaffleFlag (#25815)
The toggle was previously an ExperimentWaffleFlag,
which allows stable A/B testing but increases the toggle's
complexity. Since we do not plan an doing any more A/B
tests as part of the MFE rollout, we can 'downgrade' this
toggle to a CourseWaffleFlag, which still allows us to do
phased rollout and course-run-specific overrides.
2020-12-09 13:48:47 -05:00
adeel khan
e518e62e20 Merge pull request #25794 from edx/adeel/fix_checkbox_text
Make optional checkbox text small.
2020-12-09 23:24:00 +05:00
Alexander Sheehan
6ef93078f9 adding unit tests for assessment level reporting and hashing cache key. 2020-12-09 10:07:46 -08:00
Zainab Amir
5c8608247f update title on register page to h1 (#25813) 2020-12-09 18:01:53 +05:00
Zainab Amir
274f8b0590 Add class to section title on Password Assistance page (#25812) 2020-12-09 17:03:25 +05:00
Alexander Sheehan
440773a72d Adding signals and receivers for assessment level reporting to integrated channels 2020-12-08 14:51:40 -08: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