Commit Graph

59767 Commits

Author SHA1 Message Date
Felipe Montoya
f0d319ee12 Merge pull request #28266 from eduNEXT/MJG/1st_batch_openedx_events
[BD-32] feat: 1st batch of Open edX Events
2021-09-02 10:08:44 -05:00
Andrew Shultz
8788713e9a Merge pull request #28633 from edx/ashultz0/name-affirm-090
chore: update name affirmation library to 0.9.0
2021-09-02 10:58:04 -04:00
mariagrimaldi
c0618592d2 feat: add 1st batch of Open edX events
* Add STUDENT_REGISTRATION_COMPLETED event after the user's registration
* Add SESSION_LOGIN_COMPLETED event after the user's login session
* Add COURSE_ENROLLMENT_CREATED event after the user's enrollment creation
2021-09-02 10:05:23 -04:00
Carla Duarte
e7c3d01f82 Merge pull request #28496 from edx/ciduarte/AA-877
feat: add access_expiration to progress tab view (AA-877)
2021-09-02 09:41:45 -04:00
Andy Shultz
a0df34a3cc chore: update name affirmation library to 0.9.0
part of MST-1020
2021-09-02 09:13:42 -04:00
Chris Deery
c4cedbae38 fix: [AA-950] Change coupon flag from WaffleFlag to CourseWaffleFlag (#28623)
Replacing the streak_celebration.discount_experiment_AA759 Waffle flag with
courseware.streak_discount_enabled CourseWaffleFlag

https://openedx.atlassian.net/browse/AA-950

Co-authored-by: cdeery <cdeery@edx.edu>
2021-09-02 08:32:56 -04:00
Awais Qureshi
32053c6ab4 Merge pull request #28588 from edx/loading-cors-origins-with-shceme
feat: `djang-cor-headers` need schemes with urls. Condition added for future.
2021-09-02 16:45:49 +05:00
Mahyar Damavand
4efa9b5590 fix: log a single line warning in case of video_transcrip NotFound instead of long detailed exception (#28552) 2021-09-02 07:14:20 -04:00
AsadAzam
36283f1a8b feat! Modify DiscussionsConfiguration to allow programs (#28541)
* feat! Modify DiscussionsConfiguration to allow programs

* feat: add model for program discussions configuration
2021-09-02 13:25:53 +05:00
Usama Sadiq
fe20509d4e fix: Remove deprecated django.utils.decorator.available_attrs (#28597) 2021-09-02 12:12:01 +05:00
Zachary Hancock
7419aaa435 fix: bump proctoring for bugfix (#28621) 2021-09-01 18:18:25 -04:00
edX Transifex Bot
5b6e79b671 geoip2: update maxmind geolite country database 2021-09-02 02:09:23 +05:00
taliaedX
0b7f862a81 Merge pull request #28617 from edx/trhodes/revert-revert
revert: revert: Bump enterprise back to 3.27.27
2021-09-01 16:50:11 -04:00
Talia Rhodes
3764283184 revert: revert: Bump enterprise back to 3.27.27 2021-09-01 15:15:33 -04:00
Carla Duarte
fe435987b0 feat: add access_expiration to progress tab view (AA-877) 2021-09-01 15:12:45 -04:00
J. Victor Martins
14e2f29516 feat: Make content libraries an LTI 1.3 tool
Offers blockstore-based content through content libraries acting as an
LTI 1.3 tool:

- Content Library support LTI 1.3 launches offering blockstore-based
  content through resource links.

- Content Library support LTI 1.3. AGS, allowing gradebook updates from
  graded assignments.
2021-09-01 11:56:51 -07:00
taliaedX
bc5e6118a9 Merge pull request #28614 from edx/trhodes/enterprise-revert-sept12021
revert: edx-enterprise bump due to catalog issues
2021-09-01 14:42:45 -04:00
edX requirements bot
5e84e3761f feat: djang-cor-headers need schemes with urls. Adding condition to switch lists with different version.
With the PR it will load the old `CORS_ORIGIN_WHITELIST` since there is no change in `djang-cor-headers` version. In next PR this version will get upgraded.
2021-09-01 23:02:45 +05:00
Talia Rhodes
7248f336e1 revert: edx-enterprise bump due to catalog issues 2021-09-01 13:51:17 -04:00
taliaedX
6980660097 Merge pull request #28610 from edx/trhodes/enterprise-bump-sept012021
chore: Bump edx-enterprise for catalog api call changes
2021-09-01 11:46:31 -04:00
Tim McCormack
a96864d3cc feat: Enable CookieNameChange in LMS in prep for session cookie rename (#28609)
ref: ARCHBOM-1833/ARCHBOM-1649
2021-09-01 15:14:25 +00:00
Chris Deery
8d682cb447 feat: [AA-950] Productize Streak Discount (#28582)
* feat: [AA-950] Productize Streak Discount

- Change STREAK_DISCOUNT_EXPERIMENT_FLAG to STREAK_DISCOUNT_FLAG
- Remove references to "experiment" and ticket AA-759
- Made flag names more consistent
- Move segment event from get_bucket  to streak calculation
- Streak discount event edx.bi.course.streak_discount_enabled is sent when celebrations are calculated
- Convert LegacyWaffleFlags to WaffleFlags

Co-authored-by: cdeery <cdeery@edx.edu>
2021-09-01 10:55:32 -04:00
Talia Rhodes
922ffab67d chore: Bump edx-enterprise for catalog api call changes 2021-09-01 10:55:03 -04:00
Zia Fazal
5a382d811f Merge pull request #28415 from edly-io/ERTE-77
feat: Emit course completion related events
2021-09-01 11:33:07 +05:00
Zainab Amir
cfc8ab6298 fix: remove edX support URL from login page (#28577) 2021-09-01 11:29:39 +05:00
Uzair Rasheed
c1dabd1af3 Merge pull request #28583 from edx/update-session-on-change-password
update session on password change
2021-09-01 04:09:21 +05:00
julianajlk
e492ff6050 fix: update variable colors with hex colors (#28604) 2021-08-31 18:06:51 -04:00
uzairr
d0c953f261 update session on password change 2021-09-01 02:41:40 +05:00
Tim McCormack
3e13441cab feat: Enable CookieNameChange in Studio in prep for session cookie rename (#28602)
ref: ARCHBOM-1887
2021-08-31 21:19:53 +00:00
Jhony Avella
95a6abcd1f revert: removing read_committed argument from outer_atomic function (#28161)
In the PR https://github.com/edx/edx-platform/pull/10659 the outer_atomic decorator/context manager was created to prevent nested atomic blocks. This method received a boolean parameter read_committed to enforce read-committed MySQL isolation level. From Django 2, the default isolation level Django sets is read-committed, so the aforementioned parameter for outer_atomic can be removed
2021-08-31 16:39:35 -04:00
julianajlk
1749235761 fix: add scss import for Value Prop Track Selection (#28585)
REV-2133
2021-08-31 15:01:10 -04:00
Tim McCormack
f25b395eca feat!: Rename CookieNameChange middleware settings (#28584)
CookieNameChange allowed the use of the expand-contract pattern for
cookies, but the suggested procedure assumed an instantaneous change on
the server side. Without that, there would be a brief window of time where
servers that had received the newer config would be writing cookies that
the servers with old config would not be able to understand.

However, the mechanism can be made seamless by using it *twice* in
succession, with the first usage in a "no-op" configuration. This allows
all the servers to become aware of the new name without using it. The
second change flips the configuration and changes the official name of the
cookie, and during that window both sets of servers are able to understand
both sets of names, even though they're sending a mix of names. This can
then be followed by the usual cleanup.
2021-08-31 16:50:54 +00:00
Simon Chen
a17443f1f7 Chore: Update the name affirmation library to 0.8.2 for easier django admin editing (#28598)
Co-authored-by: Simon Chen <schen@edx-c02fw0guml85.lan>
2021-08-31 11:32:15 -04:00
Jawayria
a5a4ef9fa5 Merge pull request #28590 from edx/jawayria/2768-bom
chore: Removed django.contrib.staticfiles.templatetags.staticfiles
2021-08-31 17:57:50 +05:00
edX requirements bot
c2a299ef4f chore: Updating Python Requirements (#28587) 2021-08-31 15:40:38 +05:00
Jawayria
3411cc8744 chore: Removed django.contrib.staticfiles.templatetags.static 2021-08-31 13:40:33 +05:00
SaadYousaf
bf64c34d9d feat: add program discussion for learner dashboard 2021-08-31 11:15:44 +05:00
Kshitij Sobti
8cf751a405 feat: Add REST APIs for course advanced settings and course tabs
This commit adds new APIs that allow MFEs to modify a course's advanced settings
and to update tab settings to show/hide/move tabs.
2021-08-31 11:11:46 +05:00
alangsto
c2ba5e7975 chore: update edx-proctoring version (#28586) 2021-08-30 19:29:00 -04:00
Manjinder Singh
4ff02c50a4 feat: fixing javascript in sandbox (#28565) 2021-08-30 15:41:32 -04:00
Alex Dusenbery
23bf7f1795 refactor: edx-enterprise 3.27.26
Refactor data-sharing consent GET and POST handlers to not have too many statements, because readability matters.
2021-08-30 15:04:03 -04:00
Felipe Montoya
6e48ffd9f6 Merge pull request #28547 from eduNEXT/MJG/fix_missing_profile_for_tests
refactor: replace User.objects.create_user for UserFactory p2
2021-08-30 10:33:29 -05:00
Feanil Patel
ca6ef04b1f Merge pull request #28036 from regisb/regisb/fix-milestones-docs
fix: Milestones app feature flag docs
2021-08-30 11:18:48 -04:00
Maria Grimaldi
54627e1101 refactor: replace User for UserFactory and its methods
This change is done so the profile is automatically created for tests users
2021-08-30 11:03:49 -04:00
Binod Pant
9983ed9885 feat: ENT-4776 blackboard client oauth refresh token fixes (#28566)
ENT-4776
2021-08-30 10:51:33 -04:00
Régis Behmo
6b1700803c fix: Milestones app feature flag docs
The feature flag that should be set is not ENABLE_MILESTONES_APP but
MILESTONES_APP.
2021-08-30 16:40:48 +02:00
Olivia Ruiz-Knott
79b8b376fa Merge pull request #28567 from edx/ork/MICROBA-1399_certificate-date-override-adr
doc: ADR for date override
2021-08-30 08:31:32 -06:00
David Ormsbee
8b17afc818 fix: prefer HTML5 video when youtube support is deprecated.
In the case where a server/course has both:

* YouTube deprecated (waffle flag: videos.deprecate_youtube = True)
* HLS enabled (ConfigModel: HLSPlaybackEnabledFlag, in video_config)

Prior to this commit, we would prefer the HLS source if one of the
HTML5 video sources specified a .m3u8 file. However it looks like this
file isn't always guaranteed to be produced.

This fix always prefers HTML5 video sources to YouTube if the server or
course is configured to deprecate YouTube, as long as at least one
non-YouTube source is found. TNL-8594.

Note that this may confuse users because we're essentially bypassing
their Studio-specified preferred primary source with a server-wide
setting.
2021-08-30 10:12:12 -04:00
alangsto
b9d5e8c3f9 chore: update name affirmation version (#28576) 2021-08-30 09:30:24 -04:00
Usama Sadiq
358e846768 BOM-2747: Remove django-ipware constraint (#28529)
* fix: remove django-ipware constraint
2021-08-30 18:24:59 +05:00