Calen Pennington
7bbf4ad15c
Switch courseware.masquerade_as_student over to using a StaffAccessRule with query checking
2019-08-02 15:06:35 -04:00
Christie Rice
bf414335cc
REVMI-354 Add edit_bookmark permission ( #21254 )
2019-08-02 11:01:43 -04:00
uzairr
80316c632d
Update Help msgs of management commands
...
PROD-399
2019-08-02 15:20:26 +05:00
Calen Pennington
03d7d87850
Merge pull request #21160 from cpennington/fbe-orphan-block
...
Only attempt to use the parent's CONTENT_GATING_PARTITION settings if…
2019-07-29 09:29:47 -04:00
Ayub
044dc5f10a
Merge pull request #21038 from edx/INCR-384
...
INCR-384 python 3 compatibility
2019-07-22 14:24:00 +05:00
Calen Pennington
0e187f85b7
Only attempt to use the parent's CONTENT_GATING_PARTITION settings if there is actually a parent
2019-07-18 15:08:12 -04:00
Aarif
d0a73e7f1a
Merge pull request #21037 from edx/INCR-382
...
INCR-382 Python 3 compatibility
2019-07-18 13:13:47 +05:00
Awais Qureshi
6f3680ced5
Merge pull request #21039 from edx/awais786/INCR-383
...
INCR-383
2019-07-17 12:22:37 +05:00
Ayub khan
33227b8a72
INCR-384 python 3 compatibility
2019-07-10 16:31:18 +05:00
arbisoft
fe86f4e45a
Fixing python-modernize issues.
2019-07-10 15:30:23 +05:00
aarif
87e498587b
ran python-modernize and isort on files mentioned in INCR-382
2019-07-10 15:24:18 +05:00
Matt Tuchfarber
2583d317db
Remove all references to Journals
2019-07-09 14:19:25 -04:00
Calen Pennington
708118f9c0
Enable holdback in first purchase discounts
2019-07-03 15:23:34 -04:00
Calen Pennington
8b4b5a4547
Move stable_bucketing into its own library to minimize circular dependencies
2019-07-03 15:03:31 -04:00
Emma Green
c4ae093e75
remove discount banner display flag
2019-06-28 14:46:21 -04:00
uzairr
789a48e27b
Update enrollment support view
...
Currently, entitlement view is not displaying any message if there
are no records against a query.To improve user experience, changes
have been made so that a proper message would be displayed.
LEARNER-7155
2019-06-27 14:48:05 +05:00
Calen Pennington
39efc54a27
Merge pull request #20884 from cpennington/discount-no-previous-purchase
...
REVEM-289: Discount no previous purchase
2019-06-25 17:12:19 -04:00
Calen Pennington
f07f2121ba
Make has_non_audit_enrollments exclude entitlements
2019-06-25 16:44:36 -04:00
Calen Pennington
388fac3b9c
Make has_non_audit_enrollments exclude honor courses correctly
2019-06-25 16:44:36 -04:00
Ned Batchelder
aa13a634a6
Merge pull request #20821 from edx/nedbat/drf-yasg
...
Upgrade djangorestframework and install drf-yasg to get better OpenAPI support
2019-06-25 13:49:13 -04:00
Calen Pennington
ce058aa5ee
Only allow users who have no entitlements to receive discounts
2019-06-25 12:04:59 -04:00
Calen Pennington
ac9ba2b95a
Only make users who haven't previously enrolled in a non-upsellable course eligible for the discount
2019-06-25 12:04:59 -04:00
Adeel Khan
298d3554fe
Fix templates for XSS code injection via translations
...
This would patch all templates (django/mako)
for a possible XSS code injection via
translation files by html escaping them..
LEARNER-4632
2019-06-25 14:22:42 +05:00
Matt Tuchfarber
4e1877670e
Check if enterprise matches site before consent
...
We don't support enterprises with catalogs that span sites, so we can
safely ignore checking for consent when the site a learner is viewing a
course in is different than the enterprise that the learner is linked
to.
2019-06-24 14:30:59 -04:00
Ned Batchelder
b3a731550c
Fix problems that drf-yasg uncovered.
...
These were originally fixed individually, but had to be reverted, and
are now combined in one commit. The originals were:
7b9040f6b0 This enum was backwards
8774ff1f9b Use ref_name to disambiguate serializers that drf-yasg would otherwise assume are the same.
8a44397139 Is this field missing because it is None?
4a1154a7ca Give a safer buffer for clearing the rate limiting
64c47856dd DRF 3.7.4 changed how you delegate to another view, so don't
7359ca4fb2 Is this right? It fixes two tests
fdd66e5390 Adjust the expected error message for DRF 3.7.7
9257f68fd8 The default TIME_ZONE should be UTC
2019-06-21 18:04:15 -04:00
Calen Pennington
093fc9f68a
Allow a limited subset of fields in the Course Block View for blocks that have been denied authorization
2019-06-20 15:23:32 -04:00
Calen Pennington
92d9a1f541
Merge pull request #20789 from cpennington/first-enroll-discount-strikeout
...
Add strike-out price to LMS Course Home sidebar
2019-06-18 13:02:15 -04:00
Calen Pennington
2901d5f810
Centralize the strike-out price formatting to make correct accessibility easier
2019-06-18 11:00:08 -04:00
Brittney Exline
52d03626e2
Version bump for edx-enterprise
2019-06-17 14:28:05 -06:00
Calen Pennington
f842717c49
Add strike-out price to LMS Course Home sock
2019-06-17 15:11:33 -04:00
Calen Pennington
26cb18b01d
Fix test name typo
2019-06-17 15:11:33 -04:00
Calen Pennington
dc7daccfc8
Add strike-out price in LMS courseware
2019-06-17 15:11:33 -04:00
Calen Pennington
d2de618b20
Add strike-out price to LMS Course Home sidebar
2019-06-17 15:11:33 -04:00
George Babey
fb0a4220a7
Revert "Version bump for edx-enterprise"
...
This reverts commit bf88bca776 .
2019-06-16 15:22:09 -04:00
Brittney Exline
bf88bca776
Version bump for edx-enterprise
2019-06-14 13:57:01 -06:00
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
Matthew Piatetsky
aba836b517
Merge pull request #20674 from edx/REVEM-354
...
add discount banner to track selection and discount price to upgrade button
2019-06-07 11:35:34 -04:00
Thomas Tracy
be0e6093cd
type uuid for proper encoding.
2019-06-06 09:50:24 -04:00
Matthew Piatetsky
ce5b976f5e
update local currency code
2019-06-05 15:46:16 -04:00
Matthew Piatetsky
8f2d7cfc8a
switch enabled to disabled
2019-06-03 14:02:04 -04:00
Matthew Piatetsky
b32ed9ff2b
add discount restriction stacked config models
2019-06-02 18:21:31 -04:00
Dave St.Germain
49b5b88a30
Bumped edx-when
2019-05-30 10:48:38 -04:00
Nimisha Asthagiri
ba4921b538
Merge pull request #20710 from edx/bom/course-experience-readme
...
README for course_experience
2019-05-29 15:33:53 -04:00
emma-green
8615b1b0ac
Merge pull request #20661 from edx/emma-green/REVEM-355/add-arch-decision
...
add arch decision of computation of course-user discount
2019-05-29 12:08:21 -04:00
Emma Green
95c15495dd
add arch decision of computation of course-user discount
2019-05-29 10:21:46 -04:00
Nimisha Asthagiri
5945d1dcee
README for course_experience
2019-05-29 03:00:19 -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
93300a2e0e
check course end date and verified mode for first purchase offer
2019-05-21 08:34:07 -04:00
Calen Pennington
ff73f7d746
Merge pull request #20397 from cpennington/revmi-34-attempt-2
...
Revmi 34 attempt 2
2019-05-20 10:35:39 -04:00