Commit Graph

59466 Commits

Author SHA1 Message Date
Ken Clary
67a33d47e1 feat: add explicit courserun_key parameter to /event endpoint
We add 'courserun_key' (aka "course_id" though that's technically a
misnomer) as an optional parameter to the /event endpoint url. If it
is not present, it will still be parsed out of the url, if the url is
of the right format.

Additionally, Logger.log() in js adds this parameter to its /event
call, pulling it from the $$course_id global.

This provides opportunity for MFEs to (separately) provide the key
without concern about url parsing.

TNL-7752
2021-07-30 16:46:38 -04:00
Ken Clary
13b6ed901a feat: add explicit courserun_key parameter to /event endpoint
We add 'courserun_key' (aka "course_id" though that's technically a
misnomer) as an optional parameter to the /event endpoint url. If it
is not present, it will still be parsed out of the url, if the url is
of the right format.

Additionally, Logger.log() in js adds this parameter to its /event
call, pulling it from the $$course_id global.

This provides opportunity for MFEs to (separately) provide the key
without concern about url parsing.

TNL-7752
2021-07-30 10:25:56 -04:00
taliaedX
ae105636f0 Merge pull request #28304 from edx/trhodes/enterprise-3.27.9-release
chore: update edx-enterprise to 3.27.9
2021-07-28 12:54:39 -04:00
David Ormsbee
dae459bfb4 feat: Rollout override for Learning Sequences API (#28205)
We control rollout of the Learning Sequences REST API with the
USE_FOR_OUTLINES (learning_sequences.use_for_outlines) course waffle
flag. But sometimes we're going to want to be able to take a look at
production data output of this API before explicitly turning the API on
(and switching over to it) for the Courseware MFE. To do this, we're
going to make the availability base itself purely on the waffle flag and
course type (Old Mongo courses are not supported), and allow people to
"peek" at what the API would have given if it was rolled out by passing
an explicit "force_on=1" querystring param.

This is work to support the rollout of TNL-8330.
2021-07-28 11:53:17 -04:00
Talia Rhodes
9fdab9f459 chore: update edx-enterprise to 3.27.9 2021-07-28 11:16:39 -04:00
sofiayoon
a70e6b101e Merge pull request #28107 from edx/syoon/AA-895
fix: ORA problems' due dates are not set when in a mix of non-ORA problems
2021-07-28 11:01:46 -04:00
Awais Qureshi
718325a550 Merge pull request #28294 from edx/python2_unicode_rm_common
chore: Django3 has removed python_2_unicode_compatible.
2021-07-28 17:26:41 +05:00
Awais Qureshi
85af0753b0 Merge pull request #28293 from edx/python2_unicode_rm_openedx-2
chore: Django3 has removed python_2_unicode_compatible.
2021-07-28 17:26:09 +05:00
edX cache uploader bot
0dc34f8862 Updating Bokchoy testing database cache (#28283) 2021-07-28 15:09:12 +05:00
Mehak Nasir
80b4dcceb6 Merge pull request #28291 from edx/TNL-8471
fix: description updates for pages and resources
2021-07-28 14:35:34 +05:00
Carla Duarte
d9745bcca3 Merge pull request #28295 from edx/ciduarte/AA-937
fix: progress tab serializer enforce float for num_total
2021-07-27 16:53:16 -04:00
Carla Duarte
bfd2d825f0 fix: progress tab serializer enforce float for num_total 2021-07-27 15:57:31 -04:00
Sofia Yoon
9f2050120c fix: ORA problems' due dates are not set when in a mix of non-ORA problems AA-895 2021-07-27 15:26:52 -04:00
Awais Qureshi
bdb1e61b82 chore: Django3 has removed python_2_unicode_compatible.
Execute the codemodes.
2021-07-27 23:35:00 +05:00
Awais Qureshi
3d528ad590 chore: Django3 has removed python_2_unicode_compatible.
Execute the codemodes.
2021-07-27 23:25:27 +05:00
Thomas Tracy
2a54a66582 [fix] MB-1391 certificate_available_date cleanup command (#28279)
* [fix] Certificate availability date cleanup

This task will clean out the misconfigured certificate available date. When courses Change their
certificates_display_behavior, the certificate_available_date was not updating properly. This is
command is meant to be ran one time to clean up any courses that were not supposed to have
certificate_available_date
2021-07-27 12:35:46 -04:00
Mehak Nasir
7b29d1bdf2 fix: description updates for pages and resources 2021-07-27 20:32:31 +05:00
sofiayoon
c927e2cebf Merge pull request #28175 from edx/syoon/AA-885
feat: AA-885 show offsets in studio self paced course outline for a subsection
2021-07-27 10:08:00 -04:00
Michael Terry
b2b03296bf Merge pull request #28288 from edx/mikix/cleanup
chore: remove unused serialized field
2021-07-27 09:35:12 -04:00
Michael Terry
beb84bb4cb chore: remove unused serialized field 2021-07-27 09:00:04 -04:00
Awais Qureshi
8fe24a4478 Merge pull request #28282 from edx/removing-python_2_unicode
chore: Django3 has removed python_2_unicode_compatible.
2021-07-27 17:11:02 +05:00
Awais Qureshi
2e439e9a47 Merge pull request #28284 from edx/removing-python_2_unicode-common
chore: Django3 has removed python_2_unicode_compatible.
2021-07-27 17:10:46 +05:00
Awais Qureshi
e5cbeeb86a chore: Django3 has removed python_2_unicode_compatible.
Execute the codemodes.
2021-07-27 11:55:00 +05:00
Sofia Yoon
898684287a feat: AA-885 show offsets in studio self paced course outline for a subsection
feat: AA-883 basic prototype for custom pacing pls in studio

refactor: merge with basic prototype for self paced courses from AA-844

feat: add due date estimate message in self paced courses studio modal

refactor: merge with main that has up to date self paced custom pls editor and tests

fix: only display projected date if start date exists

fix: tests to check grading date in outline

fix: only one warning message show at a time

fix: do not show projected date when it is before the start date
2021-07-26 16:26:22 -04:00
Awais Qureshi
8a4c0b74e6 chore: Django3 has removed python_2_unicode_compatible.
Execute the codemodes.
2021-07-26 23:56:45 +05:00
Michael Terry
04babaa6c2 Merge pull request #28280 from edx/mikix/override-notes
feat: add note field to course waffle overrides
2021-07-26 14:48:35 -04:00
Awais Qureshi
b58832c8a6 chore: Django3 has removed python_2_unicode_compatible.
Execute the codemodes.
2021-07-26 23:43:54 +05:00
Thomas Tracy
666f1dadb8 [fix] Fix certificate available date sync (#28275)
* [fix] Fix certificate available date sync

We were syncing the course available date to every course in
credentials. Since credentials doesn't understand "self-paced" courses,
or course end behaviors, some certificates were time gated incorrectly.
This check make sure to check if the course is not self-paced, and has a
CDB of 'end' before syncing the CA date.
2021-07-26 14:30:06 -04:00
Michael Terry
0170a0e6f0 feat: add note field to course waffle overrides
It's often very useful to note the reason we override a waffle.
Who asked for it and why - is it temporary until a feature is
completed or a complete opt-out of the feature itself, etc.

Now there's a text field to leave such comments for your future
self, much like waffle flags themselves.
2021-07-26 14:15:06 -04:00
Diana Huang
139e7ba48b feat: Allow language preferences to be shared. (#28277)
We are planning on limiting session cookies for LMS, which
will mean that under the old cookie domain, MFEs and other
IDAs would not have access to the language preference of a user.

This moves language preference cookies to use a different setting,
which means that this cookie can be shared.
2021-07-26 13:36:55 -04:00
Michael Terry
789edbe555 Merge pull request #28256 from edx/mikix/course-home-access
feat: send course access error along to course home MFE
2021-07-26 13:34:54 -04:00
Andrew Shultz
1df4f99005 Merge pull request #28276 from edx/ashultz0/proc-bump-3220
chore: update edx-proctoring to 3.22.0
2021-07-26 13:08:25 -04:00
taliaedX
1826741c26 Merge pull request #28265 from edx/trhodes/enterprise3.27.8
chore: update edx-enterprise
2021-07-26 13:02:35 -04:00
Talia Rhodes
ac49ef65fd chore: update edx-enterprise 2021-07-26 12:09:48 -04:00
Andy Shultz
2c3597291c chore: update edx-proctoring to 3.22.0
This completes the removal of unused fields in exam attempt,
so the migration test skip is no longer necessary.
2021-07-26 11:40:34 -04:00
Jansen Kantor
61ed21ae41 chore(bump ora to 3.6.11) (#28272) 2021-07-26 11:13:37 -04:00
Justin Hynes
49bcdfe481 Merge pull request #28245 from edx/jhynes/microba-1227_cleanup
fix: remove disabled v1 course certificate queue code
2021-07-26 10:31:27 -04:00
Manjinder Singh
19b45069fa feat: adding more parameters (#28264)
* fix: adding more parameters for cookie monitoring

Added: cookies_total_num, cookies_unaccounted_size. 
  -Both are to help us gauge how many cookies we are not collecting data for.
Increased: # of cookies data collected
2021-07-26 09:11:44 -04:00
João Cabrita
0879568023 feat(discussions): Add messages field to provider descriptions
This adds an `messages` field containing messages relevant
for configuring the provider to the DiscussionsConfigurationView.

Related tickets:
* [TNL-8339](https://openedx.atlassian.net/browse/TNL-8339)
* [TNL-8523](https://openedx.atlassian.net/browse/TNL-8523)
* [BB-4249 (OpenCraft Internal)](https://tasks.opencraft.com/browse/BB-4249)
2021-07-26 13:51:23 +05:00
Binod Pant
cbcef73ec4 feat: Upgrade to 3.27.7 edx-enterprise ENT-4746 (#28263)
ENT-4746
2021-07-25 23:27:36 -04:00
edX cache uploader bot
665b32e477 Updating Bokchoy testing database cache (#28262) 2021-07-24 14:56:12 +05:00
taliaedX
3f59de2b80 Merge pull request #28261 from edx/trhodes/ent-1366
feat: Third Party Auth - Boolean Enable Field for Enterprise Providers
2021-07-23 15:00:15 -04:00
Talia
45772158bc feat: add boolean field to third_party_auth to be used to remove providers from enterprise selection 2021-07-23 14:17:33 -04:00
Michael Terry
29159891c3 feat: send course access error along to course home MFE
We previously only sent it to the courseware MFE. Also unify the
naming of this access error to 'course_access' in courseware and
course home APIs.
2021-07-23 14:01:58 -04:00
Andrew Shultz
27ee8aee4a Merge pull request #28255 from edx/ashultz0/proc-bump-3206
chore: update edx-proctoring to 3.20.6
2021-07-23 09:58:32 -04:00
Usama Sadiq
1795008686 fix: Removed pylint constraint (#28222)
Disabled pylint warnings in pylint_tweaks
2021-07-23 18:35:57 +05:00
Usama Sadiq
d729c0f0a5 Fix: Removed unnecessary constraints (#28120)
fix: removed zipp and stevedore constraints
fix: removed kiwisolver and joblib constraints
2021-07-23 11:59:22 +05:00
Tim McCormack
503e3d1d37 test: Fix safe_sessions comments and add pinning test (#28249)
Add pinning test for SafeCookieData values, and update SafeSessions
middleware comments to match code.

Main comment changes:

- Fix description of cookie structure:
    - Specify hash algorithm (SHA256, not "H")
    - Don't try to describe internals of TimestampSigner; description was
      incorrect in several ways: Did not include string delimiters under
      base64 (there's JSON in there); did not include the actual MAC
      portion. Just describe general effect and shape of output.
    - Add missing trailing pipe delimiter in signed data hash input
- Use phrase "intermediate key" rather than the less familiar term "usage
  key"
2021-07-22 21:09:32 +00:00
Andy Shultz
2e0393d098 fix: update platform test that directly creates proctor attempts
Student name field is gone. This test was providing a blank name so nothing
more than delete is needed.

MST-872
2021-07-22 16:44:11 -04:00
Andy Shultz
0fb2cd4dd3 chore: update edx-proctoring to 3.20.6
continuing sequence of DB migration releases
2021-07-22 14:42:14 -04:00