Commit Graph

95 Commits (4e8f998272e9c42791b3c19f0c33987158260b92)

Author SHA1 Message Date
eric 4e8f998272 basestring 2020-02-17 14:07:44 -05:00
eric 53422989f9 r.content is bytes 2020-02-17 14:07:31 -05:00
eric 5eee020da0 long 2020-02-17 14:02:47 -05:00
eric 824ba51e8b migrations 2020-02-14 13:55:12 -05:00
eric 7aa6148b42 exception syntax 2020-02-12 17:56:04 -05:00
eric 61dc601d7c unicode -> str 2020-02-12 11:36:49 -05:00
eric 60017ab959 remove has_key 2020-02-12 11:12:56 -05:00
eric 843d11dfb9 handle special logins 2020-02-06 23:02:29 -05:00
eric 669f5e0e6b fix error on doubleclick 2019-06-20 14:38:07 -04:00
eric 589a81bb12 improve username pattern 2019-06-13 16:17:14 -04:00
eric b991f723f2 be strict about usernames 2019-06-06 16:08:58 -04:00
eric 767b8fac06 forgot to save the last used 2018-12-07 16:00:44 -05:00
eric aa12cc75f9 add username screening 2018-12-07 14:51:25 -05:00
eric 2639cc66d1 enforce login for password change 2018-09-09 22:34:06 -04:00
eric ce62ce7199 ensure no duplicate emails 2018-07-30 19:00:58 -04:00
eric 48b3d38e44 delint 2018-07-26 13:59:58 -04:00
eric 0d7bb8be47 reimplement superlogin
reimplement superlogin using class-based view because old kludge didn't set initial correctly
2018-07-26 11:27:14 -04:00
eric 26bab0af68 last 2.0 deprecations 2018-07-24 11:33:39 -04:00
eric cb1ec66a08 addressed deprecations
mostly adding on_delete to models
2018-07-23 23:48:35 -04:00
eric 50f0294b59 is_anonymous and is_authenticated are properties 2018-07-23 22:17:05 -04:00
eric b35aa2ce93 fix test failures for django 1.10.8 2018-07-22 13:14:27 -04:00
eric 67652c2f72 Merge branch 'master' into dj111 2018-07-20 16:13:37 -04:00
eric 5455c21d26 cleanup after the facebook changes 2018-07-20 15:10:38 -04:00
eric 26d65e8793 facebook id not useful; get pic instead 2018-07-20 13:03:51 -04:00
eric 9f98ddddfe update to factored social_auth
addresses facebook's limits  on passing state in redirect; (also addresses dj111 compatibility)

updated httplib2 fixes goodreads issue
2018-07-19 17:38:36 -04:00
eric c7ffd3361a removed patterns from imports 2018-04-27 11:42:39 -04:00
eric 680caad71d deprecations 2018-04-19 21:27:20 -04:00
eric 42ccc01255 no models loaded with app 2018-04-19 21:23:24 -04:00
eric f35122ec51 IPAddressField is deprecated 2018-04-19 13:13:02 -04:00
eric 22870a4350 harden object retrieval against unexpected input 2017-12-08 20:58:37 -05:00
eric 170a6b7b16 Merge remote-tracking branch 'Gluejar/master' 2017-10-06 15:36:29 -04:00
eric 4aa968a523 change behavior of reset password
- send email even if password is unusable
- tell user if there's no user with that email
2017-09-22 16:54:16 -04:00
eric d968a800ae don't require old password if social auth 2017-09-22 16:02:43 -04:00
eric c3fd4347a5 use single quotes 2017-09-22 14:53:32 -04:00
eric 19266d35ee remove social_auth_reset_password 2017-09-22 14:50:35 -04:00
eric 84da8bde94 Merge remote-tracking branch 'Gluejar/master'
# Conflicts:
#	frontend/views/__init__.py
#	questionnaire/admin.py
#	questionnaire/urls.py
#	questionnaire/utils.py
#	questionnaire/views.py
2017-08-21 12:02:48 -04:00
eric db97a98ae8 https 2017-07-27 10:33:13 -04:00
eric 559c2ce3b4 add 3rd party licenses 2017-01-19 11:18:26 -05:00
eric b252d0b7df fix block edit
issues:
1. IPAddressField is deprecated. We can change this without consequence
because the underlying field type is not changed.
2. New admin was not wired up.
3. There was a admin bug when one end of the block is zero.
2016-11-09 15:24:11 -05:00
eric 0600078c27 empty the repair migration 2016-07-29 18:49:08 -04:00
eric 33a1482cc7 refactor libraryauth
try to keep all the user reg stuff in libraryauth, in prep for
splitting it off
2016-07-28 15:28:05 -04:00
eric 4ff63359b3 migration to repair db
The migrations needed to migrate our db to django 1.8 are as follows:
django-admin.py migrate default 0001_initial --fake
django-admin.py migrate --fake-initial auth
django-admin.py migrate default 0002_add_related_name --fake
django-admin.py migrate core --fake
django-admin.py migrate libraryauth
django-admin.py migrate --fake-initial
2016-07-28 10:10:05 -04:00
eric ac541ec1a0 patterns in urlpatterns are deprecated
https://docs.djangoproject.com/en/1.9/releases/1.8/#s-django-conf-urls-p
atterns

Also, moved edit_user to libraryauth module with the rest of our user
reg and auth.
2016-07-27 13:02:47 -04:00
eric 9e3fef8e9e fix models so django migrate can build an empty db 2016-07-22 18:49:19 -04:00
eric 5b4badb7e6 update registration 2016-07-22 18:42:19 -04:00
eric 9da195dcc8 remove south, fix migration problems 2016-07-21 16:09:42 -04:00
eric 05af9db11c model forms need at least exclude 2016-07-21 15:52:07 -04:00
eric d8eb4297d9 migrations 2016-07-21 15:38:09 -04:00
eric c5ee01df57 its the future! 2016-05-11 10:41:50 -04:00
eric 3f833c569d patch for django-registration 2016-05-10 17:15:01 -04:00