Commit Graph

106 Commits

Author SHA1 Message Date
Ned Batchelder
39c7a2db7c Revert "Use drf-yasg for Open API documentation" 2019-06-11 16:05:00 -04:00
Ned Batchelder
9257f68fd8 The default TIME_ZONE should be UTC
In production, we use UTC as the time zone.  DRF 3.7.7 now puts all
times in the currently set timezone where it used to use UTC.  By
setting TIME_ZONE to UTC, we keep the same results we used to get.

In a few places, we had to change the expected test results to be UTC.
2019-06-10 15:27:39 -04:00
Wei Lee
1d5a72ac33 INCR-236 (#20502)
* INCR-236

* Run python-modernize on openedx/features/course_duration_limits and
  verify that the change makes sense and tests does not break

* Remove redundant import and update docstring style
2019-05-23 11:53:58 -04:00
Matthew Piatetsky
85f0720c50 fix broken FBE banner dates in firefox 2019-05-16 09:33:24 -04:00
Bill Tucker
92e8615669 INCR-224: run python-modernize and isort for openedx/features/course_duration/ (#20429) 2019-05-07 08:47:10 -04:00
Nimisha Asthagiri
dfa3728edf Move django_comment_common from common to openedx 2019-05-03 12:10:18 -04:00
Nimisha Asthagiri
e160b23903 Move django_comment_client to discussion/ 2019-05-03 12:09:46 -04:00
Nimisha Asthagiri
ef0e06cc0a Revert "Discussions consolidation" 2019-05-02 14:59:56 -04:00
Nimisha Asthagiri
df962a31b7 Move django_comment_common to openedx/core/djangoapps/discussion_common 2019-05-01 19:15:02 -04:00
Nimisha Asthagiri
db89a64d06 Move django_comment_client to discussion/ 2019-05-01 19:13:10 -04:00
Calen Pennington
3ffe64525d Don't check the schedule upgrade_deadline before sending Access Expiry Email 2019-04-16 13:13:01 -04:00
Calen Pennington
7d695ab71a Merge pull request #20224 from cpennington/fbe-access-expiry-upgrade-deadline
Don't check the schedule upgrade_deadline before sending Access Expir…
2019-04-16 12:39:49 -04:00
Matthew Piatetsky
62b9bb89c8 Change content_type_gating enabled_for_enrollment to return false if a course has no verified mode or a user is not enrolled in the audit mode 2019-04-14 16:32:13 -04:00
Calen Pennington
10531559d5 Don't check the schedule upgrade_deadline before sending Access Expiry Email 2019-04-12 14:22:12 -04:00
Calen Pennington
e31598ae9f Allow Access Expiry emails to users w/o dynamic pacing deadlines, and only bucket valid users 2019-04-08 15:20:14 -04:00
Calen Pennington
333f74d37e Remove the rest of binning code from Access Expiry emails 2019-03-29 11:44:39 -04:00
Calen Pennington
537696d861 Don't use multiple bins per course when sending Access Expiry Emails 2019-03-26 14:33:12 -04:00
Calen Pennington
a342fa57f2 Serialize the CourseKey before putting into celery task args 2019-03-22 14:09:20 -04:00
Calen Pennington
078b50e6eb Don't send Access Expiry Emails to courses that don't have Course Duration Limits enabled 2019-03-20 11:20:41 -04:00
Calen Pennington
a6d3db2bf5 Continue attempting to enqueue messages even if they are disabled for one course 2019-03-19 13:01:16 -04:00
Calen Pennington
10963c122a Don't refetch CourseOverview with a course object already in-hand 2019-03-19 10:30:33 -04:00
Calen Pennington
5150775f1c Update the documentation and validation on org_course to make the formatting clear 2019-03-13 14:25:16 -04:00
Calen Pennington
c21e01e3ee Add org-course (and any future KEY_FIELDS) to FBE django admin pages 2019-03-12 13:52:56 -04:00
Matthew Piatetsky
d5c50533e1 Merge pull request #19968 from edx/PROD-58
handle incorrectly set schedules
2019-03-12 12:16:03 -04:00
Matthew Piatetsky
dac0eec385 handle incorrectly set schedules 2019-03-11 16:46:29 -04:00
Calen Pennington
fa2ee761d9 Allow overriding Content Type Gating and Course Duration Limits on a per-course (rather than per-course-run) basis
REVMI-94
2019-03-11 15:23:19 -04:00
Calen Pennington
5d3c9b36df Merge pull request #19964 from cpennington/fbe-query-perf
Sort in python and add an index to improve StackedConfigModel.current…
2019-03-11 12:22:59 -04:00
Calen Pennington
c532077f3a Sort in python and add an index to improve StackedConfigModel.current query performance 2019-03-08 09:50:08 -05:00
Matthew Piatetsky
74bcc29417 Remove FEATURE_BASED_ENROLLMENT_GLOBAL_KILL_FLAG 2019-03-07 15:46:33 -05:00
Matthew Piatetsky
49ae6b9d73 Remove CONTENT_TYPE_GATING flag 2019-03-07 15:46:33 -05:00
Matthew Piatetsky
80c9d04b83 Merge pull request #19947 from edx/REVMI-67
REVMI-67 update description to describe datetime as user local time
2019-03-07 09:18:38 -05:00
Calen Pennington
4c8cd60bbc REVMI-96: Add a management command to experiment with Access Expiry reminder emails for FBE 2019-03-06 11:44:29 -05:00
Matthew Piatetsky
9740746e9f update description to describe datetime as user local time 2019-03-06 10:48:15 -05:00
Matthew Piatetsky
fd00ce1d0b stop ignoring enrollment creation date if the user is masquerading 2019-03-05 16:05:17 -05:00
Matthew Piatetsky
b22c453a4a stop bucketing new users into FBE holdback 2019-03-05 08:16:04 -05:00
Julia Eskew
368f221f0a Initial start on annotations. 2019-02-19 11:24:21 -05:00
Matthew Piatetsky
444799fb0e fix unicode strings in openedx/ part 2 2019-02-15 10:15:51 -05:00
Calen Pennington
419657d7a5 Prefetch course modes used in has_access calls in course api 2019-02-06 10:11:15 -05:00
Calen Pennington
6d22866e78 Cache org-site lookups in the RequestCache 2019-02-06 10:11:15 -05:00
Matthew Piatetsky
b37bc75bb4 Revert "Revert "change banner date localization to use dateutilfactory""
This reverts commit 08cb56664b.
2019-02-04 12:42:27 -05:00
Calen Pennington
daf6fd3330 Merge pull request #19599 from cpennington/fbe-adrs
Add ADRs for FBE decisions
2019-01-28 14:40:48 -05:00
Calen Pennington
4ac3caab23 Add ADRs for FBE decisions
REVMI-39
2019-01-28 13:16:53 -05:00
Calen Pennington
805f32a357 Revert "Allow courses api to return data incrementally" 2019-01-25 12:56:57 -05:00
Calen Pennington
0d273e9506 Prefetch course modes used in has_access calls in course api 2019-01-25 10:30:09 -05:00
Calen Pennington
a842921e1f Cache org-site lookups in the RequestCache 2019-01-25 10:30:09 -05:00
Matthew Piatetsky
08cb56664b Revert "change banner date localization to use dateutilfactory" 2019-01-20 18:27:03 -05:00
Matthew Piatetsky
58012317a1 Merge pull request #19590 from edx/REVMI-27
change banner date localization to use dateutilfactory
2019-01-17 12:49:56 -05:00
Ned Batchelder
48ac13e73e Merge pull request #19591 from cclauss/print_function
Use print() function in both Python 2 and Python 3
2019-01-16 17:59:11 -05:00
Ned Batchelder
1e5c753807 Fix quality violations 2019-01-16 08:44:56 -05:00
Matthew Piatetsky
f870f7c635 change banner date localization to use dateutilfactory 2019-01-15 03:30:53 -05:00