Nimisha Asthagiri
8cf44283c9
Consolidate user login and authentication code
2018-09-15 03:21:39 -04:00
Jeremy Bowman
d90afa4cde
TE-2689 Remove useless pylint suppressions part 5
2018-08-21 11:07:52 -04:00
Jeremy Bowman
c290bf8a07
TE-2524 Stop using nose.plugins - openedx
2018-08-02 14:54:50 -04:00
Michael Youngstrom
d6616c9036
Add require_https to all is_safe_url calls
2018-06-07 10:10:28 -04:00
Brian Mesick
ca0ec641db
Merge pull request #18329 from edx/bmedx/is_safe_url_allowed_hosts
...
Change usages of is_safe_url to use new allowed_hosts instead of host
2018-06-07 10:06:40 -04:00
bmedx
29ad5fce6f
Change usages of is_safe_url to use new allowed_hosts instead of host
...
"host" parameter is deprecated and throws a warning
2018-06-06 14:41:52 -04: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
Eric Fischer
e18448e27d
Silence deprecation warnings
...
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Bill DeRusha
d1ed33ac23
Update and refactor random password generator
2018-04-13 14:17:21 -04:00
bmedx
634234966a
WIP: Refactor registration to improve reliability
2018-04-05 15:11:41 -04:00
John Eskew
efbde03ce0
Move param addition for POST request to creation.
2018-01-25 11:33:51 -05:00
bmedx
1d45c85135
Refactor student login for readability and fix Django 1.11 issues
2018-01-24 11:26:43 -05:00
Jeremy Bowman
669aa13ad6
PLAT-1873 to_deprecated_string() cleanup part 2
2018-01-08 17:26:55 -05:00
Jeremy Bowman
bd9c7a082e
PLAT-1863 Fixes for LMS shards 2 and 3 tests under Django 1.9
2017-12-22 16:53:01 -05:00
Jeremy Bowman
d44e6297ae
PLAT-1847 Fix cms tests under Django 1.9
2017-12-13 15:29:02 -05:00
bmedx
ace88e7d5a
Tag LMS Unit 3 tests that fail in Django 1.11
...
Fixed some url reverse errors instead of marking since they were trivial
2017-11-22 15:48:00 -05:00
bmedx
9099f0dc23
CMS 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-02 14:29:48 -04:00
cahrens
819a56fee3
Remove usages of deprecated SlashSeparatedCourseKey.
2017-08-14 11:01:00 -04:00
bmedx
48e6e552f2
PLAT-1633: Upgrade django-ratelimit-backend to 1.1.1
2017-08-07 15:34:21 -04:00
Matt Tuchfarber
827c703d16
Change templates to use site aware email
...
Template were using global TECH_SUPPORT_EMAIL for error pages. This
changes them to use the site email if there is one.
2017-07-26 16:45:12 -04:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Ahsan Ulhaq
7712bf3151
edx.org/login?next= should not be able to point to an asset
...
ECOM-6463
2017-03-07 22:17:50 +05:00
edx-pipeline-bot
95aa2b61ba
Merge pull request #14549 from edx/release-mergeback-to-master
...
Merge release back to master
2017-02-22 10:08:23 -05:00
Hasnain
2f1d405146
Set 'created_on_site' UserAttribute on account creation.
...
We need to be able to track which site a given user account was created on. This
change will create a UserAttribute model with a key of 'created_on_site' and a value
containing the domain of the site on which the user accounted was created.
WL-977
2017-02-22 05:12:21 -05:00
Simon Chen
c38de9638c
Revert "edx.org/login?next= should not be able to point to an asset"
...
This reverts commit bc418c47c5 .
2017-02-17 14:53:57 -05:00
Ahsan Ulhaq
bc418c47c5
edx.org/login?next= should not be able to point to an asset
...
ECOM-6463
2017-02-16 14:44:01 +05:00
J. Cliff Dyer
f33832a691
scoutrule: dedupe skip_unless_lms
2017-01-18 09:43:46 -05:00
Nimisha Asthagiri
fd49f88e08
Moves external_auth from common to openedx/core.
2016-10-07 12:34:22 -04:00