Commit Graph

39 Commits (4e246ab50ba6f579508baa3d00f2b30611ad8a0a)

Author SHA1 Message Date
eric 7bcc7cd409 fix bug for email auth 2014-03-18 17:29:45 -04:00
eric 13bd024f1f b2u for libraries
1. library license is autochecked when user is the library
2. the library owner is automatically made a member of the library
2014-03-14 15:12:23 -04:00
eric 16159be44e fix the bug when user tries to delete a verification that doesn't exist 2014-02-11 12:40:46 -05:00
eric af8fe05c54 fix same email bug
This bug [#63071834] was caused by a bug in Registration 1.0, which
fires the account_activated signal twice. There's already a pull
request fixing this bug.

In reviewing this handler, I realized that all the other reg code is in
library_auth, so I moved the same_email code there. I also decided that
the utility of attaching to the old email address was insufficient to
over come the risk of people stealing accounts by messing with social
auth.
2013-12-30 11:49:04 -05:00
Raymond Yee 0d28fbab7e Merge branch 'master' into ban_disposable_emails 2013-12-18 08:54:11 -08:00
Raymond Yee dd30ed81c2 Merge branch 'master' into test_credit 2013-12-17 15:53:54 -08:00
eric abfbc4101c Merge branch 'master' into ban_disposable_emails
Conflicts:
	libraryauth/urls.py
2013-12-16 16:44:13 -05:00
eric b9c54ead8b deny registration to robots that try to search for the registration page. 2013-12-16 16:27:19 -05:00
eric 9a47f953cf wire in custom registration and reorganize urls, add tests 2013-12-16 15:16:34 -05:00
eric 39bb68016a custom registration form and view 2013-12-16 15:15:47 -05:00
eric 5874455d0d add disposable email checker 2013-12-16 15:14:28 -05:00
eric 04ca7ee221 forgot to set the library user as a user of the library 2013-12-15 02:08:33 -05:00
eric 5a43c46675 consolidated and renamed libraryauth template tags 2013-12-15 01:43:17 -05:00
eric 440153f5dc Merge branch 'master' into test_credit 2013-12-15 01:27:59 -05:00
eric 4d1bd51406 add a simple tag to convert a library id into a name 2013-12-15 00:24:04 -05:00
eric 8c974ca343 moved library list generation into a template tag
previously, if you created or updated a library, the list
(/libraryauth/list/ )would not get updated
2013-12-13 14:25:18 -05:00
eric 79ea81a5e1 fix problem created by refactor 2013-12-02 18:19:11 -05:00
eric b1e1b9ff5d clean up migration 2013-12-02 10:21:29 -05:00
eric 8b53581169 clean up instructions 2013-12-02 10:12:22 -05:00
eric 45d96f21bc Add explanation of verification options 2013-12-02 00:46:25 -05:00
eric ddc681321d refactor backends into classes 2013-12-01 23:58:58 -05:00
eric 92aee28538 users can't join unapproved libraries 2013-12-01 19:20:42 -05:00
eric 54deeea910 tweak the admin 2013-11-30 15:41:05 -05:00
eric ff0f7e5446 can now create and admin user validation 2013-11-30 15:40:45 -05:00
eric ccb1f0dd86 create and edit Library objects, which now have names and owners 2013-11-27 22:14:52 -05:00
eric 7454101dd4 remove code that forbids overlapping blocks 2013-10-31 18:10:01 -04:00
eric 78d7f1291a use longs, not ints 2013-10-31 18:00:58 -04:00
eric 7254dcd55e list of library users
visible to other library users and unglue.it staff
2013-10-27 13:15:18 -04:00
eric 6910f1aa0c cleanup of supporter view 2013-10-17 12:44:47 -04:00
eric e6573ac0c5 library user can buy a library license 2013-10-15 16:18:30 -04:00
eric b1d8b2338a list of unlguit libraries at libraryauth/list/ 2013-10-12 22:39:47 -04:00
eric 13b4a028f1 remove unneeded file and fix typo in email_join 2013-10-12 22:11:47 -04:00
eric c73ed19080 fix superlogin urlconfig 2013-10-11 17:24:06 -04:00
eric eb9cc878ce add email authentication 2013-10-10 22:31:31 -04:00
eric a4321ff6fc fix various bugs 2013-10-10 22:31:07 -04:00
eric 9929452ebc LibraryUser replaces LibraryCard, used for all backends, has datestamp 2013-10-10 15:56:40 -04:00
eric d99aaa97c9 card number authentication!
create libraries and administer them in admin.
card patterns mimc ezproxy format
http://www.oclc.org/support/services/ezproxy/documentation/usr/number.en
.html
after you join a library, it appears in your explore bar
2013-10-10 02:41:50 -04:00
eric 439169a1ab Implemented IP authentication
libraries get associated with a library_block table (IP ranges)
moved superlogin here
IP stuff mostly copied from
https://github.com/benliles/django-ipauth/blob/master/ipauth/models.py
The model is that you need to be in an allowed IP range to "join" a
library. Once you've joined, you can use your login from anywhere. to
use that library.
Asign IP ranges in admin
2013-10-08 15:37:22 -04:00
eric ab473f5411 libraries, phase 1.
admin can create a library connected to a user
other users can "join" the library
2013-10-02 12:02:08 -04:00