Commit Graph

4661 Commits

Author SHA1 Message Date
Matt Hughes
bd6dd986be Revert "Optimizing notify_credentials management command"
This reverts commit 3e987cfe76.
2020-05-26 13:23:07 -04:00
julianajlk
565018bd2e Update FPD holdback to 10% for longitudinal analysis (#24037)
REV-1153
2020-05-26 13:16:40 -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
Nick
d1ac7d4b16 Merge pull request #24015 from edx/ndalfonso/AA-151-dates-banner-on-course-outline-and-refactor
AA-151 dates banner on course outline and refactor
2020-05-21 13:57:25 -04:00
Nicholas D'Alfonso
b454f9be1d AA-151 dates banner on course outline and refactor
- use new dates banner template on course outline page
- remove old banner from main.html
- let dates tab use new dates banner template
- remove dates banner completely from the courseware problem view
  on the web app
- use new banner on the courseware problem view on the mobile app
- update banner util to use get_course_blocks
2020-05-21 13:23:05 -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
Emma Green
4a9f88b3c1 not sure why we are getting errors here, but they shouldn't stop people checking out 2020-05-13 17:59:01 -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
Nick
821eb84486 Merge pull request #23963 from edx/ndalfonso/AA-157-dates-page-missed-deadlines
AA-157 dates page missed deadlines
2020-05-13 10:24:10 -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
Nicholas D'Alfonso
637b639e78 AA-157 dates page missed deadlines
- add banner to dates page when deadlines are missed
2020-05-12 13:02:26 -04:00
ihtram
002a24416e added reverse_sql method attribute to avoid sql operation error 2020-05-12 20:39:32 +05:00
Carla Duarte
3e8d22e3e4 Merge pull request #23948 from edx/cduarte/AA-108
Remove Shorten Welcome Message flag
2020-05-12 10:30:56 -04:00
Diane Kaplan
9b8af1493b Kaplan/rev 1136 financial aid- handle missing feature flag (#23957)
Add financial assistance link in course tools where available, so this will be more visible to learners
2020-05-12 10:11:48 -04: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
Farhanah Sheets
d37b333d53 Revert "Add financial assistance link in course tools (#23921)"
This reverts commit cbb4cfb988.
2020-05-10 16:43:39 -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
Carla Duarte
6fd6605eed Remove Shorten Welcome Message flag
Removed use of the 'shorten_welcome_message' waffle flag

AA-108
2020-05-08 15:25:59 -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