Commit Graph

5641 Commits (d1951bab75ef93878e11bcdcc57cfac62580098c)

Author SHA1 Message Date
eric d1951bab75 add file upload to ebook submission form 2016-08-26 10:28:23 -04:00
eric f2e6afc3af clean up admin 2016-08-25 17:56:16 -04:00
eric c0efbf86ea add unglueitar fix 2016-08-25 17:55:29 -04:00
eric 5eabbbb4d2 implement versions in api 2016-08-24 15:43:28 -04:00
eric 7ad0d7f494 implemented ebook versions
It turned out that ebookfile handling needed revamping with the
addition of ebook versions; so this change turned out to be rather big.
2016-08-24 15:41:29 -04:00
eric 651f45f624 fix short authors
ordering by relation_code didn't pick up the author when ther was an
"author of introduction"
2016-08-18 15:56:25 -04:00
eric 221efdec6c make it easier to find and edit ebook editions 2016-08-16 17:17:24 -04:00
eric 363c86fd94 implement EditionNote 2016-08-16 17:16:44 -04:00
eric aafbd7c70b set translation relation in add_related 2016-08-16 11:42:58 -04:00
eric 8f71b24b1b make adding editions easier 2016-08-16 11:04:37 -04:00
eric b3cefc2d3c implement related works 2016-08-15 18:28:39 -04:00
eric 95fd91e283 pylint the forms 2016-08-15 16:12:27 -04:00
eric f6bbc5a548 pylint the views 2016-08-15 15:22:32 -04:00
eric 9b0c91a439 implement age_level 2016-08-15 13:47:00 -04:00
eric abedff089c add direct support for doi 2016-08-08 16:27:12 -04:00
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