Commit Graph

5626 Commits (24d98ee47dd90f85e86221a8008364fa3a43dff6)

Author SHA1 Message Date
eric 24d98ee47d Merge branch 'postdj18' into versions-relations-ednotes 2016-08-05 15:54:59 -04:00
eric c650c672c2 change the models 2016-08-05 15:53:29 -04:00
eric 1e7ea4b43c finish the refactor 2016-07-30 14:25:49 -04:00
eric 24c1cf8a03 refactor the models 2016-07-30 02:36:01 -04:00
eric c97888df82 pylint the models 2016-07-30 02:35:32 -04: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 c7ddfa1fed context_instance is deprecated
https://docs.djangoproject.com/en/1.9/releases/1.8/#dictionary-and-conte
xt-instance-arguments-of-rendering-functions
2016-07-27 14:49:10 -04:00
eric 006aeaf66f reverse by path is deprecated
https://docs.djangoproject.com/en/1.9/releases/1.8/#s-id3
2016-07-27 14:01:22 -04:00
eric 827c33e7a0 Deprecated template settings
https://docs.djangoproject.com/en/1.9/releases/1.8/#s-template-related-s
ettings
2016-07-27 13:48:12 -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 65007e1c9d contenttypes.generic is deprecated 2016-07-26 17:43:19 -04:00
eric 4adf6917ff refactor admin 2016-07-26 10:34:45 -04:00
eric c457b268ec modernize some heavily used templates 2016-07-25 14:50:19 -04:00
eric 06d240f5e4 Fix a TypeError raised by a thanks campaign with no ebook
https://docs.djangoproject.com/en/1.9/releases/1.7/#templates
2016-07-25 13:15:53 -04:00
eric cd9e2cf8ea fix more tests 2016-07-25 11:32:24 -04:00
eric e6c3b226f9 REQUEST is deprecated 2016-07-25 11:32:04 -04:00
eric 8f4ca12483 fixed premium editing as validation is triggered by data 2016-07-24 18:50:48 -04:00
eric 09fe1a5d32 switch from deprecated get_model a app registry 2016-07-24 18:39:36 -04:00
eric da7b3171ce Use django's system check instead 2016-07-24 16:28:07 -04:00
eric f28b4b2e6b remove stray "url from future" 2016-07-24 14:00:25 -04:00
eric cafd163f77 deprecate profile 2016-07-23 12:09:18 -04:00
eric b1e6dcec4f update tests for explicit fixture loading 2016-07-23 12:08:28 -04:00
eric 9e3fef8e9e fix models so django migrate can build an empty db 2016-07-22 18:49:19 -04:00
eric ff38f063d0 update noftifications
needed a new way to populate the noticetype table because of signal
deprecation
2016-07-22 18:44:54 -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 f3cb6c9edf switch to contrib_comments
removed in 1.8
2016-07-21 16:05:57 -04:00
eric dbcf4dba6b remove payment.templatetags
duplicate app name not allowed in 1.7
2016-07-21 15:57: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
Raymond Yee 81840fa561 Merge pull request #612 from Gluejar/revert-registration
use correct version of django-registration
2016-07-20 09:04:19 -07:00
eric 53bcac8a84 resolve conflict
# Conflicts:
#	requirements_versioned.pip
2016-07-20 10:58:18 -04:00
eric b9286cb817 use correct version of django-registration 2016-07-20 10:53:34 -04:00
Raymond Yee bedebc40e7 Merge pull request #611 from Gluejar/old_dj_registration
Revert "1.6 compatible dj-registration"
2016-07-20 07:24:47 -07:00
Raymond Yee 36e2cf29b5 Revert "1.6 compatible dj-registration"
This reverts commit d7324cd1db.
2016-07-20 07:18:44 -07:00
Raymond Yee cf706a1203 Merge pull request #610 from Gluejar/bugfixes
3 Bugfixes
2016-07-19 10:18:20 -07:00
Raymond Yee 9e514c48e9 Merge pull request #609 from Gluejar/opds-indirect
implement indirectAcquisition element
2016-07-18 14:21:15 -07:00
Raymond Yee 4c395bbec4 Merge pull request #601 from Gluejar/fix-headings
fix headings like "!lcsh: whatever"
2016-07-18 13:16:14 -07:00
eric f110e02297 match licenses
noted that rights for gitenberg ebooks was not getting set properly
2016-07-14 19:02:22 -04:00
eric d7324cd1db 1.6 compatible dj-registration
password reset broke with switch to django 1.6 due to
http://stackoverflow.com/questions/6323852/django-nonrel-django-registra
tion-problem-unexpected-keyword-argument-uidb36 ; current
dj-registration requires 1.7
2016-07-14 18:27:23 -04:00
eric c01459c059 fixed kw editing for non-staff, added tests 2016-07-14 12:25:18 -04:00
eric 3001aed8c8 implement indirectAcquisition element 2016-07-12 14:50:13 -04:00
Raymond Yee 5eaf6f5c73 Merge pull request #608 from Gluejar/remove-nonprofit
Remove nonprofit
2016-07-12 09:42:18 -07:00
eric 0c3c9fa818 fix bug in buy as a gift
A bugfix broke "buy as a gift"
https://github.com/Gluejar/regluit/commit/f7bfdfbbc4cec73e0608f3fef5c335
ce0113078c
2016-07-12 09:00:32 -04:00
eric a6c1371ba5 remove the "nonprofit" campaign functionality 2016-07-08 10:57:01 -04:00
Raymond Yee dd5bd866a0 Merge pull request #606 from Gluejar/tighten-robots
add googlebooks virtual urls to disallow
2016-07-01 09:30:23 -07:00
Raymond Yee 1e39df05a8 Merge pull request #607 from Gluejar/log_warnings
forgot to fix update-* scripts for new celery configuration
2016-06-28 12:06:35 -07:00
Raymond Yee 7c1a179fc4 forgot to fix update-* scripts for new celery configuration 2016-06-28 12:05:38 -07:00