Commit Graph

21 Commits

Author SHA1 Message Date
Christie Rice
7cc0a8bf2d REVEM-197 Add mock program info to user metadata 2019-02-22 14:50:59 -05:00
Matthew Piatetsky
6e81c84d8b fix unicode strings in lms/ part 1 2019-02-05 15:15:02 -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
Christie Rice
9d23dfe270 REVEM-130 Remove program info from user metadata 2019-01-14 14:32:32 -05:00
Christie Rice
c39307f935 REVEM-125 Add program price to user metadata 2019-01-14 11:24:24 -05:00
Christie Rice
8f8efc80dc REVEM-74 Add program info to user-metadata 2019-01-09 12:40:11 -05:00
Cali Stenson
7cbe1312a9 Refactor verified_upgrade_link_is_valid to directly call Ecommerce service.
Additionally update code documentation to clarify expected behavior around
dynamic pacing deadlines.

REVO-69
2019-01-04 15:07:39 -05:00
Calen Pennington
67e88b117a Don't add user groups to the experiment metadata for Anonymous users
[REVE-158]
[REVE-148]
2018-12-07 14:42:26 -05:00
Cali Stenson
241cff006a Add user_metadata to reflect if a user has purchased before.
REVO-20
2018-12-07 07:48:32 -05:00
Cali Stenson
4dcda2858e Add group partitions information to user metadata in the dom.
This information will inform our A/B testing and experiments.

REV-612
2018-11-16 16:34:17 -05:00
Calen Pennington
9edb6d9526 Pass a CourseKey to has_staff_access_to_preview_mode, rather than a CourseDescriptor 2018-08-13 15:44:06 -04:00
Matthew Piatetsky
95ccc30594 add forum roles to metadata 2018-06-22 12:49:10 -04:00
Eric Fischer
e18448e27d Silence deprecation warnings
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Matthew Piatetsky
27c7a55b55 add has_staff_access to course metadata 2018-04-30 11:49:37 -04:00
Calen Pennington
8468357ac4 Separate the date and link logic out of VerifiedUpgradeDeadlineBlock, so that it can be called directly with prefetched data for check_and_get_upgrade_link_and_date 2017-10-13 10:01:34 -04:00
Calen Pennington
84075efc81 Convert CourseKeyField to ForeignKey(CourseOverview) on enrollments and course modes 2017-08-23 15:24:43 -04:00
Calen Pennington
127e90e3a3 Remove extraneous request argument to experiments.utils.check_and_get_upgrade_link 2017-08-23 10:38:39 -04:00
Calen Pennington
68df7b80e3 Add course_end to the list of experiment fields put in the DOM 2017-08-01 10:14:35 -04:00
Calen Pennington
1edd367008 Add course_start to the fields, and put all fields on the track selection page 2017-08-01 10:14:35 -04:00
Calen Pennington
384f22ff96 Add per-user metadata to course pages to make experimentation easier 2017-08-01 10:14:35 -04:00