Commit Graph

53620 Commits

Author SHA1 Message Date
Cory Lee
22bd5cccae Dropping start from historicalschedule (#23390) 2020-03-13 09:53:43 -04:00
Nick
18e3c2fd52 Merge pull request #23373 from edx/AA-59-reset-dates-banner-on-courseware
AA-59 show reset dates banner on courseware page
2020-03-13 08:14:00 -04:00
edX requirements bot
9d2647eaa4 Updating Python Requirements (#23396) 2020-03-13 08:08:54 -04:00
Nicholas D'Alfonso
3cee26feb4 AA-59 show reset dates banner on courseware page
- Also, only show banner if the course end_date has not already
  pass AND if the user is verified within the course.
2020-03-12 19:52:54 -04:00
David Ormsbee
54e1f483cb Merge pull request #23391 from edx/revert-23320-schen/program_support
Revert "MST-157 Create a new program enrollments inspector support tool Part 1"
2020-03-12 17:56:47 -04:00
David Ormsbee
37f3c3f829 Revert "MST-157 Create a new program enrollments inspector support tool to help edX support members to inspect the existing states of program enrollees"
This reverts commit 9bdcb9c5f5.
2020-03-12 17:28:58 -04:00
Simon Chen
9bdcb9c5f5 MST-157 Create a new program enrollments inspector support tool to help edX support members to inspect the existing states of program enrollees 2020-03-12 15:47:26 -04:00
Abdul Hannan
fa6633ba4e DO NOT MERGE - NEED FAKE - Rename start in schedule 5/5 (#22392)
* Remove start field in Schedules

Co-authored-by: hunytalk <ahannan@edx.org>
Co-authored-by: Cory Lee <cory@edx.org>
2020-03-12 15:40:19 -04:00
David Ormsbee
c988456f0c Merge pull request #23386 from edx/revert-23241-blockstore-runtime-bug-fix
Revert "Fix Blockstore XBlock Runtime's handling of occasional S3 errors"
2020-03-12 15:29:08 -04:00
David Ormsbee
09c5432415 Revert "Fix Blockstore XBlock Runtime's handling of occasional S3 errors" 2020-03-12 15:09:23 -04:00
Robert Raposa
d15402db8d Merge pull request #23378 from edx/robrap/ARCHBOM-952-openedx-calc
ARCHBOM-952: make upgrade + openedx-calc from PyPI
2020-03-12 13:29:26 -04:00
edX cache uploader bot
c5db2b2cce Updating Bokchoy testing database cache (#23382) 2020-03-12 13:10:02 -04:00
Diana Huang
df8ce3277f Merge pull request #23383 from edx/diana/unpin-supercsv
Unpin super-csv and allow it to be upgraded.
2020-03-12 12:15:17 -04:00
Diana Huang
f7bb188106 Unpin super-csv and allow it to be upgraded. 2020-03-12 11:39:18 -04:00
Jeremy Bowman
46631dfcba Upgrade django-babel-underscore BOM-1069 (#23257)
We upgraded these before in https://github.com/edx/edx-platform/pull/23119 along with django-countries (which released a new version just before that), but had to revert in https://github.com/edx/edx-platform/pull/23237 because of a performance regression in the admin page for EnterpriseCustomer.  We think django-countries was the culprit and have pinned it, so trying these two again by themselves.
2020-03-12 11:15:12 -04:00
Dillon Dumesnil
c3493d5138 Merge pull request #23356 from edx/ddumesnil/AA-58
AA-58: Add date-summary-container html back in
2020-03-12 10:51:04 -04:00
David Ormsbee
22af9ff545 Merge pull request #23241 from open-craft/blockstore-runtime-bug-fix
Fix Blockstore XBlock Runtime's handling of occasional S3 errors
2020-03-12 09:17:09 -04:00
Feanil Patel
aec6e6551b Merge pull request #23381 from edx/jenkins/upgrade-python-requirements-ee8c8a1
Python Requirements Update
2020-03-12 08:35:09 -04:00
Awais Jibran
ebd6494af2 Merge pull request #23380 from edx/logs-cleanup
Remove unnecessary logs.
2020-03-12 16:38:54 +05:00
edX requirements bot
35cd0f7171 Updating Python Requirements 2020-03-12 06:47:27 -04:00
Nadeem Shahzad
ee8c8a18d3 Merge pull request #23374 from edx/nadeem/DOS-678
add tags to pytest xdist worker (DOS-678)
2020-03-12 15:37:47 +05:00
Awais Jibran
084b409662 Unnecessary logs. 2020-03-12 15:15:22 +05:00
Awais Jibran
6a25ca800b ~200k instances in last 7 days. 2020-03-12 14:22:52 +05:00
Zainab Amir
ed25521f61 Enable testing pipeline for video uploads to s3 (#23375)
Add integration settings to enable upload of videos from from studio.
Settings enable user to connect to s3 bucket using mfa and assume role
functionality.

PROD-1214
2020-03-12 12:19:52 +05:00
Robert Raposa
8704289ad9 make upgrade + openedx-calc from PyPI
- switches to openedx-calc from PyPI
- includes edx-rest-api-client major upgrade.

ARCHBOM-952
2020-03-11 21:00:01 -04:00
Nathan Sprenkle
5578cca1cc Show multiple team memberships in My Team tab (#23324)
* Enable pagiation to show all a learner's teams on the "My Teams" tab
* Selectively hide/show pagination on the "My Teams" tab
* Increase "My Teams" page size to 5
2020-03-11 15:05:15 -04:00
Braden MacDonald
8b9594e7dd Improve caching of blockstore data
This includes an optimization to the get_bundle_version_files_cached method, which is used very often when loading blockstore data; it was previously being cached only in a process-local cache (lru_cache). My hunch is that in production, with many appservers and LMS workers and frequent deployments and a large number of bundles, the process-local cache is not being hit very often.

I also increased the MAX_BLOCKSTORE_CACHE_DELAY from 60s to 300s; this reduces the frequency with which we check if either (A) an external system modified the blockstore bundle and/or (B) we have a cache invalidation bug somewhere. I am increasing it because that check is more expensive than I thought (calling blockstore API to ascertain latest version of a particular bundle), and I haven't seen any cache invalidation errors that this would help to work around. (Plus, increasing this will make such bugs more obvious.)
2020-03-11 11:15:59 -07:00
Braden MacDonald
4ddb02eff8 Fix: transient S3 errors were not being reported properly
Also improve usefulness of some blockstore runtime logs for debugging

Context:

Sometimes when trying to load an XBlock's XML file from Amazon S3, AWS will return a 4xx or 5xx response along with error XML like:

    <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>foo/bar</Key>...</Error>

A bug in the get_bundle_file_data_with_cache method would cause this XML to be returned to the runtime anyways, as if it were the expected OLX. This would then (obviously) lead to strange parsing bugs, e.g. when trying to interpret <Code> as an <xblock-include>.

This fixes the bug and improves the logging, both to make this sort of issue easier to debug in the future and to return whatever detailed error code S3 provides (or Blockstore, if S3 is not being used).
2020-03-11 11:15:59 -07:00
edX cache uploader bot
a277237f9d Updating Bokchoy testing database cache (#23376) 2020-03-11 14:12:02 -04:00
Calen Pennington
5a33c4b5ee Merge pull request #23357 from edx/mikix/reset-on-mode
Reset schedule when mode changes
2020-03-11 13:05:39 -04:00
Michael Terry
f56a01adbe Reset schedule when mode changes
This way if an audit user upgrades a self paced course to verified,
their schedule will reset to the current time.

AA-60
2020-03-11 11:53:49 -04:00
atesker
2c922dd795 EDUCATOR-4941
cr1

cr2

cr3

cr3-remove unused var
2020-03-11 10:50:13 -04:00
Alex Dusenbery
5db8023f74 Add LMS/CMS FEATURE toggles related to ORA; update to ORA 2.6.18. 2020-03-11 10:21:20 -04:00
Waheed Ahmed
f54b9a42e7 Disallow NaN value for speed key.
The VideoBlock `handle_ajax` is allowing NaN values for speed key
and causing videos to not load. Also added a data migration to fix
the data for learners.

PROD-1148
2020-03-11 18:45:49 +05:00
Dave St.Germain
99a0da8ade Merge pull request #23360 from edx/dcs/studio-nav
Fixed the studio breadcrumbs to show the current chapter/section name.
2020-03-11 09:32:03 -04:00
Samuel Walladge
badd608136 Allow overriding broker heartbeat (#21567)
BROKER_HEARTBEAT appears to interfere with the celery worker
configuration. If we want to disable or change the heartbeat interval,
It must be from these configuration options.

Just setting --without-heartbeat and/or --heartbeat-interval on the
workers does not fully work. Eg. --without-heartbeat disables sending
heartbeats, but BROKER_HEARTBEAT = 60 means that the connection will get
a 60s heartbeat interval negotiated.
2020-03-11 09:28:38 -04:00
Dillon Dumesnil
9586a2e3e8 AA-58: Add date-summary-container html back in 2020-03-11 09:24:09 -04:00
nadeemshahzad
4b7ed730fc add tags to pytest xdist worker 2020-03-11 18:11:18 +05:00
Calen Pennington
1ce39a85a4 Merge pull request #23364 from cpennington/reset-schedule-masq
Respect masquerade status when resetting student schedules
2020-03-11 08:54:51 -04:00
Usama Sadiq
9dadc07453 Merge pull request #23143 from edx/bom-1277
BOM-1277 Removed constraint on oauthlib and requests-oauthlib
2020-03-11 17:21:55 +05:00
edX requirements bot
23c58e5766 Updating Python Requirements (#23371) 2020-03-11 08:20:04 -04:00
Ahtisham Shahid
1014f1941b Merge pull request #23340 from edx/ahtisham/PROD-1326
update added workaround for CSV report  error
2020-03-11 15:48:20 +05:00
usamasadiq
84744fdf88 BOM-1277 Removed constraint on requests-oauthlib and updated oauthlib 2020-03-11 11:15:24 +05:00
adeelehsan
e4a2ba2872 Merge pull request #23312 from edx/aehsan/prod-1222/fixed_pagination_for_course_api_view
Fixed pagination.
2020-03-11 10:35:00 +05:00
adeelehsan
98cc0b24db Fixed pagination.
Before getting data validate the page number
on the current number of pages
2020-03-11 10:04:04 +05:00
Jeff LaJoie
f624b2c94e Merge pull request #23361 from edx/jlajoie/local-time-for-dates-tab
Uses user local time for dates tab
2020-03-10 15:53:47 -04:00
Dillon Dumesnil
f395e5f5cf Merge pull request #23284 from edx/ddumesnil/calendar-sync-button-AA-36
AA-36: Link to toggle calendar sync
2020-03-10 15:37:01 -04:00
Calen Pennington
5235fa7bab Respect masquerade status when resetting student schedules 2020-03-10 15:10:01 -04:00
edX cache uploader bot
5fb02b181c Updating Bokchoy testing database cache (#23366) 2020-03-10 15:00:10 -04:00
Dillon Dumesnil
a59155e83c AA-36: Link to toggle calendar sync 2020-03-10 14:45:29 -04:00