Robert Raposa
e56eacebd3
ARCHBOM-1105: fix migration issues ( #23708 )
...
* fix direct assignment error
* fix byte string error
ARCHBOM-1105
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2020-04-14 10:53:26 -04:00
Manjinder Singh
853744656c
Changing test to work with django 2.1 and higher ( #23573 )
...
This is part of the django 2 upgrade
2020-04-02 09:56:22 -04:00
Manjinder Singh
d7bd80a100
Renamed OAuth2Authentication to BearerAuthentication ( #23128 )
...
* Renamed OAuth2Authentication to BearerAuthentication
* Added back OAuth2Authentication name
-there are libraries such as edx-enterprise that still import OAuth2Authentication. The OAuth2Authentication class should be fully removed when everything is importing BearerAuthentication correctly
2020-02-18 13:29:29 -05:00
Manjinder Singh
cce8cdd661
Replacing OAuth2Auth ( #23067 )
...
- Removing deprecated auth classes
- Replacing OAuth2AuthenticationAllowInactiveUserDeprecated with OAuth2AuthenticationAllowInactiveUser
- the old class was a child class of a deprecated class that we are removing and replacing.
2020-02-11 10:38:13 -05:00
iamsobanjaved
82dd040382
fixed deprecated django-filter features
2020-02-06 18:32:36 +05:00
Manjinder Singh
eb694528e7
Adding metrics to oauth2authentication class ( #22970 )
...
Currently, we are working on removing the rest_framework_auth library from edx-platform. For this push, we need to remove the oauth2Authentication class. This PR creates a new class oauth2AuthenticationDeprecated that adds additional new relic metrics. The metrics would allow us to see how often this class is used and its success rate. The hope is that this information will help us with transitioning to a different authentication class.
2020-01-30 09:13:51 -05:00
Zulqarnain
834079104b
BOM-1147 Widget.render change
2020-01-14 15:15:19 +05:00
Mahyar Damavand
f1c5981fab
Removing deprecated management commands which intended to clear historical data ( #21522 )
2020-01-08 12:50:34 -05:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -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
Manjinder Singh
a384e753fd
BOM-933: Fix type mismatches in various migrations ( #22112 )
...
* Fix type mismatches in the course_modes migrations
* Fix type mismatches in the course_action_state migrations
* Fix type mismatches in the schedules migrations
* Fix type mismatches in grades migrations
* Fix type mismatches in video_pipeline
* Fix type mismatches in api_admin
* Fix mismatches in credential migrations
2019-10-24 11:42:39 -04:00
Nimisha Asthagiri
7c211a5843
api_admin python-3 upgrade
2019-09-28 12:54:34 -04:00
Ayub khan
5c47a3b425
BOM Project
...
Updated __unicode__ to __str__
2019-09-25 18:31:54 +05:00
aarif
822af10479
python 3 fixes
...
quality fixes
2019-09-23 19:22:40 +05:00
Feanil Patel
cbf35593ac
BOM-618 Decode to utf-8 before loading as json in tests.
2019-09-19 11:15:11 -04:00
Awais Jibran
1a4eb7d2e8
Pervent reverse tabnabbing in edx platform
2019-08-28 16:08:34 +05:00
Feanil Patel
68933ec089
Fix quality issues.
2019-08-19 11:51:30 -04:00
David Ormsbee
9a1385585f
Convert response bytes to str before JSON parsing. ( #21375 )
...
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
Alex Dusenbery
df3d6d160f
give create_api_access_request mgmt cmd an option to disconnect signals.
2019-07-10 19:50:08 -04:00
jansenk
027a9bd2cc
add api access request management command
2019-06-21 15:34:03 -04:00
Jillian Vogel
22ebf0e16f
Strings used in models should always use gettext_lazy.
...
Otherwise, they generate false migrations when languages other than
English are used as the default.
2019-06-04 18:48:46 +09:30
Diana Huang
238a91c0e6
Merge pull request #20115 from edx/diana/removing-microsites
...
Remove dependence on microsite factory.
2019-04-02 13:57:35 -04:00
Michael Youngstrom
01fa25a595
INCR-187
2019-04-01 15:47:32 -04:00
Diana Huang
bc37cf1247
Remove dependence on microsite factory.
2019-04-01 15:41:28 -04:00
Michael Youngstrom
9ce60190d4
Merge pull request #20090 from edx/youngstrom/INCR-113
...
INCR-113
2019-03-29 14:53:38 -04:00
Michael Youngstrom
69f1c6efdc
INCR-113
2019-03-29 11:14:31 -04:00
Michael Youngstrom
cc13efdc2c
INCR-138
2019-03-29 09:52:59 -04:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
Matthew Piatetsky
f294b1a374
fix unicode strings in openedx/ part 1
2019-02-13 10:47:35 -05:00
Robert Raposa
fbc59231fc
Update edx-drf-extensions to 2.0.0.
...
Note: this version update is backward incompatible.
ARCH-255
2018-10-17 01:00:34 -04:00
Jeremy Bowman
d90afa4cde
TE-2689 Remove useless pylint suppressions part 5
2018-08-21 11:07:52 -04:00
Squirrel18
4f12be0894
Files changed by modernize and new gitignore type file.
2018-06-25 17:27:51 -05:00
Michael Youngstrom
f4dc2ca000
Merge pull request #18314 from edx/youngstrom/remove_django_18_shim
...
Remove temp django upgrade logic
2018-06-06 11:09:17 -04:00
Tyler Hallada
1f42d1b384
Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
...
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Michael Youngstrom
26b4e30833
Remove django 1.8 shim
2018-06-06 10:34:56 -04:00
Tyler Hallada
1540f9ec72
Add on_delete kwarg to ForeignKey & OneToOneFields
...
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.
The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -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
muhammad-ammar
ee63a7980b
update api request form
...
ENT-989
2018-05-18 12:06:39 +05:00
Simon Chen
7ffaaebd05
Create the retire_user method on ApiAccessRequest model
2018-05-11 12:18:28 -04:00
John Eskew
e5ee0fc91f
Remove more unneeded 'namespace=' params.
2018-05-07 18:25:36 -04:00
John Eskew
ffb1f9fe2a
Fix more Django 2.0 deprecation warnings around URLconfs.
2018-05-03 13:50:08 -04:00
zubair-arbi
46960ef358
ENT-960 Fix catalogs creation bug due to request data format
2018-04-23 14:29:06 +05:00
Saleem Latif
d2c97d6402
Fix 500 error when adding viewers to catalog.
2018-04-11 14:49:03 +05:00
Jeremy Bowman
54d14098c0
PLAT-1427 Adapt to build_attrs change in Django 1.11
2017-12-05 17:29:35 -05:00
bmedx
68e3894c17
openedx urls cleanup for Django 1.11
...
- Remove usage of django.urls.patterns
- Change urls tuples to lists
- Make all string view names callables
2017-11-03 16:11:41 -04:00
Jeremy Bowman
ba06372cac
PLAT-1780 Remove dependency on django-extensions
2017-10-27 13:19:12 -04:00
John Eskew
eb99657770
Merge pull request #16220 from edx/jeskew/delete_historical_data
...
Mgmt commands to clear data from historical tables.
2017-10-18 09:00:21 -04:00
John Eskew
f3e089bd3f
Mgmt commands to clear data from historical tables.
2017-10-17 15:27:59 -04:00
John Eskew
194413cdf9
Add migrations which remove HistoricalRecord tables.
2017-10-12 11:20:25 -04:00
John Eskew
737ebccb74
Remove django-simple-history and all HistoricalRecords.
2017-10-11 11:36:06 -04:00