Michael Terry
3030efec78
AA-177: Add masquerading for course home MFE
...
- Looks at masquerading config for dates, outline, metadata, and
celebration APIs in course_home_api / courseware_api.
- Consolidates and cleans up places we check whether masquerading
gives us full access to a course.
2020-06-29 12:37:47 -04:00
Calen Pennington
fc21a337aa
Use a fixed time for course duration limits, so that schedule extensions don't extend FBE duration limits
2020-05-26 16:29:28 -04:00
Aarif
98af9ce418
remove useless-supression warnings
2020-05-01 19:42:15 +05: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
Aarif
97d327feeb
BOM-1121
...
Old style mixin compatibility with django2.2
2020-01-30 16:36:02 +05:00
julianajlk
f46458fbfe
Add dynamic_upgrade_deadline date to mobile API ( #22953 )
...
REV-1092
2020-01-28 15:24:50 -05:00
hunytalk
73aae081c3
Remove null, blank from start field in Schedules
2020-01-22 18:10:33 +05:00
Awais Qureshi
48dbebd28f
Bom-1146
...
In mobile-api model PLATFORM_CLASSES tuple of list and make migrations generate new migration due to different order.
2020-01-10 18:10:05 +05:00
Feanil Patel
046feb0cf0
Merge pull request #22649 from edx/feanil/fix_pep8
...
Fix all E303 pep8 errors.
2019-12-30 13:32:26 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
2df8b8226b
Merge pull request #22643 from edx/feanil/2to3_asserts
...
Run `2to3 -f asserts . -w` on edx-platform.
2019-12-30 12:13:42 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Feanil Patel
70294b0ad2
Run 2to3 -f asserts . -w on edx-platform.
...
https://docs.python.org/3.5/library/2to3.html#2to3fixer-asserts
2019-12-30 10:22:19 -05:00
Samuel Walladge
c0b908e02d
send user_logged_in signal from my_user_info
...
A user's last logged in value previously wasn't updated when the user
logs in through the oauth2 flow from the ios mobile app. Here we must
send the user_logged_in signal manually. It's implemented in the
my_user_info mobile rest api endpoint because adding it to where the
oauth2 flow happens is to complex, and the mobile app hits this endpoint
after a successful login anyway.
2019-12-27 09:37:22 +10:30
Feanil Patel
0e1116003a
Ignore bad cached data.
...
When migrating from python 2 to 3 we can get in a situation where the
cache has data that the new version of python can't read. In this case
drop the bad data and re-cache the correct data.
2019-12-10 16:15:46 -05:00
hunytalk
227ae8a51a
Add reference to new field in schedule model
2019-12-04 19:05:55 +05:00
Manjinder Singh
a40f1d9bd6
BOM-933: Fix type mismatches in various migrations 2 ( #22115 )
...
* Fix type mismatches in track migrations
* Fix type mismatches in oauth_dispatch
* Fix type mismatches in badges migrations
* fix type mismatch in contentserver migrations
* Fix type mismatches in mobile_api migrations
* fix type mismatch in crawlers migrations
* fix type mismatch in dark_lang migrations
* fix type mismatch in branding migrations
2019-10-23 13:04:36 -04:00
Nimisha Asthagiri
d4832a65aa
Python 3: assertNotIn -> assertNotContains consistency
2019-09-30 08:50:38 -04:00
Ned Batchelder
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
adeelehsan
89c57a636a
Merge pull request #21572 from edx/aehsan/learner-3838/user_agent_regex_updated_for_mobile_platform
...
user agent regex updated in mobile platform
2019-09-13 15:05:52 +05:00
adeelehsan
808f1ad156
user agent regex updated in mobile platform
...
learner-3838
2019-09-06 14:57:20 +05:00
aarif
929d73bd88
python 3 fixes
2019-09-03 20:33:22 +05:00
arbisoft
51d6059ecb
BOM-177
...
Fixing python querystring comparision in tests.
2019-08-27 17:27:58 +05:00
Usman Khalid
8dfc8e5fda
Convert AboutModule, CourseInfoModule, HtmlModule and StaticTabModule to XBlocks.
2019-07-24 20:19:44 +05:00
usama sadiq
79d02a1b67
Python3 Update
...
Added absolute_import
Changed unicode() with six.text_type()
2019-07-11 19:27:15 +05:00
Usama Sadiq
b0fee1961d
Merge pull request #21033 from edx/usama/INCR-458
...
INCR-458
2019-07-11 10:48:44 +05:00
Amit
f31a894900
INCR-457: Make compatible with Python 3.x ( #21011 )
2019-07-10 10:22:47 -04:00
Amit
15dc31ba6d
INCR-456: Make compatible with Python 3.x ( #21018 )
2019-07-10 10:14:43 -04:00
usama sadiq
daca3ccfa1
INCR-458
...
Python3 Update
Added absolute_import
Updated Meta Class declaration method
2019-07-10 15:07:43 +05: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
Ned Batchelder
39c7a2db7c
Revert "Use drf-yasg for Open API documentation"
2019-06-11 16:05:00 -04:00
Ned Batchelder
8774ff1f9b
Use ref_name to disambiguate serializers that drf-yasg would otherwise assume are the same.
2019-06-10 15:27:39 -04:00
Stu Young
706b8e0c67
incr-290 ( #20589 )
...
* run python modernize
* run isort
2019-05-15 15:23:19 -04:00
Feanil Patel
ccee040261
Add a readme for the mobile_api.
2019-04-26 13:51:13 -04:00
Matthew Piatetsky
5ef9cf3d49
remove experiment code
2019-04-17 09:30:47 -04:00
Nimisha Asthagiri
aaa7b20654
Merge pull request #20126 from edx/depr/mobile-video-outline-api
...
DEPR-4: Remove Mobile Video Outlines API
2019-04-12 08:37:17 -04:00
Nimisha Asthagiri
3d8b8a05ad
DEPR-4: Remove Mobile Video Outlines API
2019-04-02 17:28:26 -04:00
Matthew Piatetsky
dac0eec385
handle incorrectly set schedules
2019-03-11 16:46:29 -04:00
Jeremy Bowman
974ae50bf4
Merge pull request #19620 from cclauss/new-style-exceptions
...
Old style exceptions --> new style for Python 3
2019-02-19 16:31:35 -05:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
cclauss
c0c935b685
Old style exceptions --> new style for Python 3
2019-02-19 13:09:23 +01:00
Calen Pennington
8c53ce6493
Merge pull request #19743 from edx/unicode7
...
fix unicode strings in lms/ part 2
2019-02-13 14:15:02 -05:00
Matthew Piatetsky
764319d3e0
fix unicode strings in lms/ part 2
2019-02-13 10:35:56 -05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Bill Filler
7f18ab0374
Check config model before returning expiration date
2018-12-06 15:22:11 -05:00
Calen Pennington
31047260cc
Switch ContentTypeGatingConfig.enabled_as_of and CourseDurationLimitConfig.enabled_as_of to datetimes
2018-11-30 10:02:53 -05:00
Bill Filler
7b684106ba
Don't allow audit-only courses to expire
2018-11-26 14:28:50 -05:00
Calen Pennington
b295472363
Use generator expressions to make Mobile API constraints clearer
2018-11-21 12:18:10 -05:00
Calen Pennington
0cb48dfe1c
Add StackedConfigurationModels for managing content_type_gating and course_duration_limits
2018-11-21 12:18:10 -05:00