ihtram
74cbc1f4e7
Merge pull request #23965 from edx/ihtram/reverse-migration-fix
...
added reverse_sql method attribute to avoid sql operation error YONK-1588
2020-05-15 15:10:16 +05:00
stvn
0f57bff0cb
Merge PR #23979 fix/courseware-api-verified-mode
...
* Commits:
Check if user can upgrade prior to showing sock upgrade
2020-05-14 15:50:16 -07:00
stvn
51803d33ff
Check if user can upgrade prior to showing sock upgrade
2020-05-14 15:09:04 -07:00
Calen Pennington
89e0fefdfa
Merge pull request #24003 from cpennington/ignore-hidden-sections-for-PLS
...
Don't include staff-only sections in due date calculations for self-p…
2020-05-14 15:58:28 -04:00
Calen Pennington
76789e5a0d
[AA-139] Record schedule updates to the history table when granting extensions
2020-05-14 15:56:13 -04:00
Calen Pennington
aaa8ffdcf1
Don't include staff-only sections in due date calculations for self-paced courses
2020-05-14 15:07:48 -04:00
Dave St.Germain
4b0617ab00
Merge pull request #23956 from edx/dcs/resume-api
...
Added courseware API for retrieving the last completed block
2020-05-14 11:17:12 -04:00
Michael Terry
3f2b2da22b
Don't assume due dates on sections
...
The content highlights code assumed due dates existed on all
sections. But we recently broke that assumption. So now we
recalculate the spread of sections across the expected duration
ourselves rather than rely on due dates.
2020-05-14 09:26:49 -04:00
Dave St.Germain
687d223309
Added a courseware API endpoint to return the last completed block/unit/section.
2020-05-14 07:55:02 -04:00
edX requirements bot
5724432741
Python Requirements Update ( #23984 )
...
* Updating Python Requirements
* Constrain django-cookies-samesite until dep bug fixed
* Fix PEP 8 problems revealed by pycodestyle upgrade
Co-authored-by: Tim McCormack <tmccormack@edx.org >
Co-authored-by: Jeremy Bowman <jbowman@edx.org >
2020-05-13 20:24:30 +00:00
Jeff LaJoie
d1bd39c71b
Merge pull request #23987 from edx/jlajoie/course-update-extra-logging
...
Adds more logging to course updates task
2020-05-13 14:32:03 -04:00
Ned Batchelder
ae657f09e0
Merge pull request #23814 from open-craft/toxinu/fix-anonymous-permission
...
Check contentlibrary permissions only if user is logged in
2020-05-13 14:19:21 -04:00
Jeff LaJoie
75f60af418
Adds more logging to course updates task
2020-05-13 08:37:44 -04:00
adeelehsan
5f26cde55f
Merge pull request #23969 from edx/aehsan/PROD-1579/fixed_quality_violation
...
Fixed xss lint violations
2020-05-13 06:39:01 +05:00
adeelehsan
3da5144fee
Fixed python-wrap-html
...
PROD-1579
2020-05-13 06:12:30 +05:00
Olivia Ruiz-Knott
f72a6556a9
MICROBA-311 Add US State field to UserProfile
...
Add list of states and field to UserProfile model; add migration; add
state field to relevant serializers and to
ACCOUNT_VISIBILITY_CONFIGURATION. Removes state data if country is
changed to something other than United States.
2020-05-12 13:55:11 -04:00
Ned Batchelder
cca33732ba
Correct markup mistakes in api docs
2020-05-12 13:36:14 -04:00
ihtram
002a24416e
added reverse_sql method attribute to avoid sql operation error
2020-05-12 20:39:32 +05:00
Jeff LaJoie
8552403598
Merge pull request #23961 from edx/jlajoie/fix-serialization-course-updates
...
Fixes serialization of course key for celery in course updates command
2020-05-12 09:37:44 -04:00
Jeff LaJoie
972c7f3bc1
Merge pull request #23954 from edx/jlajoie/AA-163
...
AA-163: Fixes duplicate dates tab issue
2020-05-12 09:08:54 -04:00
Jeff LaJoie
c180070a9a
Fixes serialization of course key for celery in course updates command
2020-05-12 09:02:49 -04:00
Jeff LaJoie
ee0f4567a8
AA-163: Fixes duplicate dates tab issue
2020-05-12 08:38:14 -04:00
Calen Pennington
ce6c9383d9
Merge pull request #23958 from cpennington/fix-case-collision-course-keys
...
Fix case collision course keys
2020-05-11 14:29:40 -04:00
Calen Pennington
bf16155c0f
Make sure that case collisions don't propagate into the CourseOverview data
2020-05-11 13:55:27 -04:00
mariajgrimaldi
8063adf5eb
changed cookie_date for http_date ( #23929 )
...
I wanted to make a byte-sized contribution but there were no Jira tickets so we decided, thanks to a conversation with @jmbowman through the Open Edx Community #incr (Slack) channel, to collaborate in the elimination of warnings listed in the Warnings Report at https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/
This PR contributes to the elimination of RemovedInDjango30Warnings, specifically the one mentioned above and reported in the Warnings Report
Changed cookie_date to http_date in the following file:
openedx/core/djangoapps/user_authn/cookies.py
This warning occurs due to deprecation since Django 2.1: https://docs.djangoproject.com/en/2.2/ref/utils/#django.utils.http.cookie_date
2020-05-08 15:55:23 -04:00
Jansen Kantor
f4a2303013
EDUCATOR-5043: remove grades from program progress page ( #23940 )
...
* remove grades from program progress page
2020-05-08 14:46:20 -04:00
Leonardo Martinez
03c6a46e33
Update the LibraryLocator attribute from 'course' to 'library' ( #23924 )
...
This PR solves the deprecation warning found here:
https://build.testeng.edx.org/job/edx-platform-python-pipeline-master/warning_5freport_5fall_2ehtml/
Change:
(LibraryLocator(org='org', course='course'), False)
To:
(LibraryLocator(org='org', library='course'), False)
In the file:
openedx/core/djangoapps/content/block_structure/tests/test_signals.py
* LibraryLocator is from the opaque_keys.edx.locator module
See documentation:
https://pythonhosted.org/edx-opaque-keys/opaque_keys.edx.html#opaque_keys.edx.locator.LibraryLocator
2020-05-08 12:19:59 -04:00
Michael Terry
1fed93c02f
Merge pull request #23946 from edx/mikix/due-on-graded-only
...
Only set due dates on graded content
2020-05-08 11:57:23 -04:00
Michael Terry
e521e0db25
Only set due dates on graded content
...
When a self paced course was published and we were configured to
automatically space out due dates among its sections, we were
accidentally setting due dates on ungraded content. Which limited
access to it.
AA-162
2020-05-08 11:10:33 -04:00
Ali Akbar
0955865fa9
Merge pull request #23885 from edx/aakbar/PROD-1478
...
Unauthenticated Contact Us improvements
2020-05-08 19:49:06 +05:00
Jeff LaJoie
c1130e60c4
Merge pull request #23944 from edx/jlajoie/course-update-command-fixes
...
Changes type of objects that get serialized, removes a problematic log statement
2020-05-08 09:22:39 -04:00
Saad Yousaf
c099932830
Merge pull request #23914 from edx/saad/PROD-1230-certificate-available-date-adr
...
[PROD-1230] - ADR for upcoming update for certificate_available_date.
2020-05-08 17:57:56 +05:00
Jeff LaJoie
c87269956a
Changes type of objects that get serialized, removes a problematic log statement
2020-05-08 08:39:03 -04:00
Ali-D-Akbar
94907cc4a9
Unauthenticated Contact Us improvements
...
fix password reset page, add another test and remove typo
improve js test
add quality changes
add quality changes
2020-05-08 14:14:35 +05:00
SaadYousaf
6b7a51f86c
ADR for upcoming update for certificate_available_date.
2020-05-08 04:26:10 +05:00
Matt Tuchfarber
8193763e92
Merge pull request #23931 from edx/tuchfarber/strip_phone_number
...
Strip non-numeric characters from phone number
2020-05-07 11:40:01 -04:00
Matt Tuchfarber
4910cfa180
Strip non-numeric characters from phone number
...
Allows user to type in phone number in whichever
format they prefer.
2020-05-07 10:10:42 -04:00
Waheed Ahmed
c603111895
added another test case.
2020-05-07 15:14:31 +05:00
Waheed Ahmed
05d18effde
Implement both IP and email based rate limiting.
2020-05-07 15:14:31 +05:00
Waheed Ahmed
f3db71171e
Fix password reset rate limiting for existing users.
...
PROD-1427
2020-05-07 15:14:31 +05:00
Ned Batchelder
5caf9b02fa
Merge pull request #23922 from regisb/regisb/fix-offset-naive-static-assets
...
Fix naive offset-naive/aware error in asset compilation [CRI-191]
2020-05-06 17:13:30 -04:00
Régis Behmo
1d859569b6
Fix naive offset-naive/aware error in asset compilation
...
The XBlockPackageStorage used to return offset-naive datetime objects
which were compared to offset-aware objects when we ran static asset
collection:
./manage.py lms collectstatic
Close CRI-191
2020-05-06 18:39:46 +02:00
Jeff LaJoie
4f32e5728b
Merge pull request #23600 from edx/jlajoie/AA-67
...
AA-67: New resolver logic for weekly highlights
2020-05-06 09:31:39 -04:00
Simon Chen
262574b815
Move all the upgrade display logic into courseware.utils
2020-05-05 17:54:22 -04:00
Adam Butterworth
a889536dbd
Add the appropriate auth classes to courseware api views ( #23901 )
...
Allows users who are logged in but have not activated their accounts to be considered authenticated for the purpose of the courseware api
2020-05-05 13:37:24 -04:00
Jeff LaJoie
542905bee4
AA-67: Adds in new resolver logic for Weekly Highlights to learners
2020-05-05 10:32:18 -04:00
Gabe Mulley
8dd633b6e5
Merge pull request #23856 from edx/mulby/log-reg-failures
...
log registration failures
2020-05-05 08:50:07 -04:00
Gabe Mulley
9f287165bd
log registration failures
2020-05-04 16:20:12 -04:00
Simon Chen
f8cc58618a
Create a new plugin manager called DynamicPartitionGenerators to remove the dependency of openedx.features.content_type_gating by xmodule.partition_services
2020-05-04 11:16:26 -04:00
Kyle McCormick
ec9ac34886
Paginate course card API for Programs Learner Portal
...
* Pull business logic of ProgramCourseEnrollmentOverviewView
out of view class and into utils.py.
* Add UserProgramCourseEnrollmentsView, which is a paginated
version of ProgramCourseEnrollmentOverviewView with a
URL that is parameterized on the user (to enable masquerading
in MST-109).
* Add get_certificates_for_user_by_course_keys to certs API
to make enrollments overviews REST API use fewer SQL queries.
* Document new course cards API with edx-api-doc-tools.
In a follow-up ticket, the Programs Learner Portal will switch
to the new paginatd API in order to speed up its page load.
MST-126
2020-05-04 09:26:23 -04:00