Michael Terry
b8ecfed67d
fix: use safer ip-chain logic when checking ip for embargos
...
Specifically:
- check ALL ip addresses in the client ip chain for blocking
- check RIGHTMOST ip address in the client ip chain for allowing
Before, we always checked the LEFTMOST ip address in both cases.
AA-1234
2022-04-22 11:15:02 -04:00
Usama Sadiq
918c44e499
refactor: Ran pyupgrade on openedx/core/djangoapps/embargo ( #26911 )
2021-03-18 18:38:09 +05:00
M. Zulqarnain
42fc6aef03
Upgrade django-ipware ( #24827 )
2021-02-23 18:14:17 +05:00
M. Zulqarnain
39b207007c
BOM-2323 : Pylint amnesty in embargo and enrollments apps ( #26368 )
...
* pylint amnesty in openedx apps
2021-02-04 15:32:59 +05:00
Aarif
97d327feeb
BOM-1121
...
Old style mixin compatibility with django2.2
2020-01-30 16:36:02 +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
Peter Pinch
4f807dd702
INCR-155 Modernize openedx/core/djangoapps/video_config ( #20408 )
...
* run modernizer on openedx/core/djangoapps/embargo/
* sorting imports
* sort imports
* docstring
* try removing pylint disable
2019-05-06 16:43:42 -04:00
Nimisha Asthagiri
700a902b68
Cleanup and remove deprecated RequestCache Django app
...
ARCH-223
2018-09-12 14:39:11 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Nimisha Asthagiri
3d8bce9dc8
Remove Course Structure API
2018-04-20 22:19:57 -04:00
Ivan Ivic
6e45f00041
Created new embargo check api
...
LEARNER-1523
LEARNER-1524
2017-06-26 15:02:04 -04:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
John Eskew
e3cb462d18
Move embargo from common to openedx/core/djangoapps.
2016-11-07 08:47:36 -05:00