Matt Hughes
bd6dd986be
Revert "Optimizing notify_credentials management command"
...
This reverts commit 3e987cfe76 .
2020-05-26 13:23:07 -04:00
Calen Pennington
7341f296a3
Merge pull request #24050 from cpennington/exclude-ora-pls
...
Only add PLS dates to graded sections that have scored, non-ORA content.
2020-05-26 10:56:35 -04:00
Feanil Patel
c06f7b2fd7
Revert "Rate limit logistration endpoints."
...
This reverts commit 74bc970edc .
2020-05-21 11:41:09 -04:00
Feanil Patel
72ea1b7d4f
Revert "Increase requests limit for logistration rate limit."
...
This reverts commit a1c018823d .
2020-05-21 11:40:47 -04:00
Waheed Ahmed
a1c018823d
Increase requests limit for logistration rate limit.
2020-05-21 17:05:19 +05:00
Waheed Ahmed
74bc970edc
Rate limit logistration endpoints.
...
PROD-1506
2020-05-21 13:45:48 +05:00
Waheed Ahmed
c7f4e16470
Fix XSS lint issues for course_cta_text
...
PROD-1602
2020-05-21 12:51:07 +05:00
Ben Warzeski
1703a88d46
remove old_format from team config tests ( #24010 )
...
* remove old_format from team config tests
* remove old format from teams_config
Co-authored-by: Ben Warzeski <benwarzeski@edX-C02CD0HCLVDM.cable.rcn.com >
2020-05-20 08:56:46 -04:00
Calen Pennington
d90a139259
Only add PLS dates to graded sections that have scored, non-ORA content.
2020-05-19 15:47:10 -04:00
Ben Warzeski
d357ec9b7b
remove old format from teams_config
2020-05-19 15:34:38 -04:00
Adeel Khan
3e987cfe76
Optimizing notify_credentials management command
...
** This removes some of the extra
celery calls to credential service for
updating grade when a certificate is updated.
** This removes extra db calls
by reusing existing queryset values.
PROD-1363
2020-05-19 16:43:38 +05:00
Ned Batchelder
68aceff860
Merge pull request #23968 from edx/nedbat/docs-progress
...
Update swagger.yaml, fix some markup errors
2020-05-16 14:50:35 -04:00
Nick
a2b7b2689e
Merge pull request #24005 from cpennington/schedule-history-PLS
...
[AA-139] Record schedule updates to the history table when granting e…
2020-05-15 11:52:40 -04:00
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