Commit Graph

103 Commits (9d1bb7f8bf86237322393a02cf49afa25dab5edd)

Author SHA1 Message Date
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
eric bca17837a0 add fixtures in testcases 2016-04-09 13:21:12 -04:00
eric 7a952f09cf patch form exclude syntax 2016-04-07 20:39:23 -04:00
eric 562be5f12d patch django-notification 2016-04-07 20:37:54 -04:00
eric d951cca966 Merge branch 'master' into django15
# Conflicts:
#	api/models.py
#	api/onix.py
#	api/opds.py
#	api/tests.py
#	api/urls.py
#	api/views.py
#	bisac/__init__.py
#	core/bookloader.py
#	core/facets.py
#
core/migrations/0072_auto__add_relator__add_relation__add_field_subject_
authority.py
#	core/models.py
#	core/tests.py
#	fabfile.py
#	frontend/forms.py
#	frontend/templates/new_edition.html
#	frontend/templates/notification/rights_holder_claim/notice.html
#	frontend/templates/privacy.html
#	frontend/views.py
#	requirements_versioned.pip
#	settings/common.py
#	test/raw/master/metadata.yaml
2016-04-07 14:26:45 -04:00
eric 29108128a5 global change url syntax 2015-04-27 23:24:02 -04:00
eric a8cab6c0ae get google oauth2 working 2015-04-07 22:55:30 -04:00
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