Hassan
29828d781c
Merge pull request #21969 from edx/hassan/backfill-history
...
Added management command to populate history from snapshot data.
2019-10-23 02:13:10 +05:00
Robert Raposa
8c9d63ef6c
Fix typo in comment ( #22121 )
2019-10-22 17:04:42 -04:00
Hassan Javeed
edb732d83a
Added management command to populate history as of 06/29.
2019-10-23 01:43:13 +05:00
Braden MacDonald
5fc73468b3
Change completion API to work with any learning context
2019-10-22 14:04:31 -04:00
Feanil Patel
9946fd3918
Merge pull request #22099 from edx/revert-22058-julianajlk/REV-980/first-purchase-discount-courseware
...
Revert "add first purchase discount to courseware (#22058 )"
2019-10-22 09:39:08 -04:00
Calen Pennington
b3421c8580
Merge pull request #22084 from cpennington/expose-access-denial-reasons
...
Expose access denial reasons inside verticals to the front-end on the…
2019-10-21 15:44:37 -04:00
adeelehsan
3b528f445c
Merge pull request #21950 from edx/aehsan/prod-735/logged_improverd_cache_miss_hit
...
Logged improved for cache
2019-10-21 23:50:37 +05:00
Feanil Patel
aa25b4a365
Merge pull request #22097 from edx/feanil/fix_sandbox_issues
...
Feanil/fix sandbox issues
2019-10-21 14:08:29 -04:00
julianajlk
98f907f23c
Revert "add first purchase discount to courseware ( #22058 )"
...
This reverts commit 059b619794 .
2019-10-21 13:57:18 -04:00
julianajlk
059b619794
add first purchase discount to courseware ( #22058 )
...
REV-980.
* moved get_first_purchase_offer_banner_fragment to Discounts utils.py
* added banner wrapper method
* updated banner with time limit
2019-10-21 13:56:38 -04:00
Calen Pennington
4e6e283495
Expose access denial reasons inside verticals to the front-end on the course outline
2019-10-21 12:41:36 -04:00
Feanil Patel
13a73fd776
Fix type mismatches in the django_comment_common migrations.
...
Mixing byte and unicode strings causes migrations to fail.
2019-10-21 11:40:54 -04:00
Feanil Patel
6584f81198
Fix type mismatches in the course_groups migration.
...
Mixing byte and unicode strings causes migrations to fail.
2019-10-21 10:54:31 -04:00
Feanil Patel
3d51bc7be3
Fix type mismatches in the bookmarks migration.
...
Mixing byte and unicode strings causes migrations to fail.
2019-10-21 10:53:59 -04:00
adeelehsan
c2600c44f2
Logged improved for cache
...
prod-735
2019-10-21 19:36:10 +05:00
Ayub khan
b3c062be1b
BOM-848 Different Hash Values
...
hashlib produces different md5 hash in python3 against same values as
compared to python2.
2019-10-21 14:02:49 +05:00
Muhammad Ammar
19fd375dc9
Merge pull request #22012 from edx/ammar/ent-1964-allow-user-to-edit-fullname-if-no-social-auth-record
...
allow user to edit fullname if no social auth record exists
2019-10-21 11:35:26 +05:00
Ned Batchelder
f5a79a7f36
Merge pull request #22082 from edx/nedbat/revert-22042
...
Revert pull request #22042
2019-10-18 20:06:09 -04:00
Matthew Piatetsky
9b6b3e85cf
Merge pull request #22070 from edx/REV-736
...
[REV-736] disable discount when upgrade deadline has passed
2019-10-18 16:52:18 -04:00
Matthew Piatetsky
ec8f9f8f86
disable discount when upgrade deadline has passed
2019-10-18 16:15:14 -04:00
Ned Batchelder
ea30aba6fc
Revert pull request #22042
...
Revert "Fix code quality test failures"
This reverts commit 8c55e11d1f .
Revert "Fix celery send_activation_email task failure"
This reverts commit 810eea0e51 .
Revert "Convert Account Activation Emails to edx-ACE"
This reverts commit 7984c37a4f .
2019-10-18 15:31:09 -04:00
Feanil Patel
05ab349c88
Merge pull request #22068 from edx/feanil/get_out_of_a_pickle
...
Create a custom Pickle Serializer
2019-10-18 14:48:24 -04:00
Feanil Patel
bfc02dc3ab
Create custom pickle serializer.
...
We need to do this because when I tride to go to the JSON serializer a
bunch of tests started failing because various parts of our code are
putting things into the session that are not JSON serializable.
We can't keep using the default pickle serializer because it defaluts to
using the highest available protocol and that will cause issues with the
python 2 to 3 upgrade since both will be running in production at the
same time. We need to use a version of the pickle protocol that both
can use interchangably.
We also need to make sure we read with latin1 encoding to make datetimes
work correctly between the two versions of python.
2019-10-18 13:46:47 -04:00
Feanil Patel
1b1d428630
Merge pull request #22069 from edx/feanil/lock_cache_pickles
...
Set cache pickle protocol to 2.
2019-10-18 13:41:35 -04:00
Feanil Patel
59b0554c37
Update encoding to be latin1 when loading pickled data to be able to read python 2 datettimes.
2019-10-18 13:04:19 -04:00
Ned Batchelder
855346e9e1
Merge pull request #22042 from mahyard/activation-email-to-ace
...
Activation email to ace
2019-10-18 12:10:20 -04:00
Feanil Patel
29cc071edd
Set cache pickle protocol to 2.
...
HIGHEST_PROTOCOL will cause it to change when we move from python 2 to 3
and this may cause issues as older machines try to read objects pickeld
with a version of the protocol they don't know.
During deploys, and if we have to roll back are two examples.
2019-10-18 10:43:04 -04:00
muhammad-ammar
fc2915b02f
allow user to edit fullname if no social auth record
...
ENT-1964
2019-10-18 15:30:51 +05:00
Emma Green
bb14195685
Merge pull request #22067 from edx/move-anon-user-check-earlier
...
move the anonymous check earlier so that it cannot error out when it …
2019-10-17 13:35:23 -04:00
Emma Green
def6bced98
move the anonymous check earlier so that it cannot error out when it expects a non-anonymous user
2019-10-17 12:54:36 -04:00
Calen Pennington
7ceb0e30fa
Mark course outline with graded and scored status in the DOM so that we can run optimizely code on them
2019-10-17 12:14:49 -04:00
Matthew Piatetsky
7436f9c186
Merge pull request #21915 from edx/REV-733
...
[REV-733] check if discount expired
2019-10-16 12:03:58 -04:00
Matthew Piatetsky
f6d0bf77df
check if discount expired
2019-10-16 11:32:27 -04:00
Aarif
6e7f2f61ef
Merge pull request #21994 from edx/BOM-914
...
Fixed all instances of "TypeError: a bytes-like object is required, not 'str" - BOM-914
2019-10-16 01:44:31 +05:00
Ned Batchelder
69255bee73
Merge pull request #21816 from regisb/regisb/simplify-swagger-auto-schema
...
Regisb/simplify swagger auto schema
2019-10-15 14:35:46 -04:00
Zia Fazal
ebe29d9303
Merge pull request #21943 from edx/ziafazal/ENT-1688
...
ENT-1688: Changed logout message on on logout screen for Enterprise SSO flow
2019-10-15 18:53:34 +05:00
Bill DeRusha
d9180b472d
Merge pull request #22006 from edx/bderusha/remove-mailchimp
...
remove mailchimp tracking
2019-10-15 09:47:08 -04:00
Zia Fazal
c718c02d6e
Show blank screen instead of logout message for Enterprise SSO flow
...
Changes to show blank screen instead of logout message for Enterprise SSO flow. It confuses learner when they are already signed in and access their course from B2B site.
ENT-1688
Fixed pep8 quality violation
use testserver as HOST instead of edx.org
assert enterprise app is enabled
added logging
Print different values
Reload django url config
assert all quote operations to see how they work on jenkins
debug url resolved values
login user in setup
added log to debug test on jenkins
Using UrlResetMixin
Using regex instead of resolve
Fixed quality violation
Fixed pylint quality violations
Fixed target interpolation syntax
Added developer's comment
2019-10-15 18:28:19 +05:00
Zia Fazal
0358587320
Merge pull request #22039 from edx/ziafazal/ENT-2384
...
ENT-2384: Invoke learner transmission task only for enterprise learners
2019-10-15 16:42:13 +05:00
Zia Fazal
3b69a4f279
Invoke learner transmission task only for enterprise learners
...
Invoke learner transmission task only for enterprise learners
ENT-2384
added docstring
Fixed brokent unit test
2019-10-15 15:58:37 +05:00
Ayub
f08a7e7268
Merge pull request #22032 from edx/BOM-xblock-recommender-tests-fix
...
BOM Project Xblock Recommber integration tests fix
2019-10-15 13:03:40 +05:00
Awais Qureshi
f7adc71c44
BOM-924
...
Fixing TypeError, the JSON object must be str, not 'bytes'.
2019-10-15 12:11:24 +05:00
Shadi Naif
7984c37a4f
Convert Account Activation Emails to edx-ACE
2019-10-14 17:22:03 +03:30
aarif
d176957708
Updated the tests to fix the string/bytes input
...
changes made to pass tests with python 2 and other minor changes
Updated the tests to fix the string/bytes input
changes made to pass tests with python 2 and other minor changes
made some changes as suggested
made changes as suggested
changes made as suggested
2019-10-14 18:47:18 +05:00
Ayub khan
f0133d861d
BOM Project Xblock Recommber integration tests fix
...
Python3 json can not work with bytes type input so used simplejson
instead of python json which works with both bytes and unicode
type input.
Previously we mistakenly updated StringIO to six.String io. which
caused the tests failure. Used io.BytesIO to fix the issues as
assci character bytes can not be converted to unicode.
2019-10-14 18:20:42 +05:00
aarif
6c98571bbd
removed unnecessary encode method to fix input to csv write method
...
removed unnecessary encode method to fix input to csv write method
2019-10-14 16:17:11 +05:00
Régis Behmo
ae216c8584
Rename API decorators to "apidocs" to be provider-agnostic
...
The API documentation decorators do not have to leak which solution we
use to generate the docs. Here, and as discussed in PR #21820 , we rename
the `openapi` module to `apidocs`, and we make sure that this module
includes all the right functions to document API Views without referring
to Open API.
2019-10-14 08:14:18 +02:00
Régis Behmo
1d9a5ab4e7
Rename swagger_auto_schema decorator
2019-10-14 08:14:08 +02:00
Régis Behmo
e78d69695d
Ensure proper arguments in swagger decorator
2019-10-14 08:14:08 +02:00
Régis Behmo
59635b689e
Simplify BookmarksListView.get docs
...
Instead of relying on a `method_decorator`, we explicitely declare the
`get` method.
2019-10-14 08:14:08 +02:00