Commit Graph

207 Commits (49929763ce17415cb4b132b250090392a9c33ce6)

Author SHA1 Message Date
eric 49fd44626e handle bad page inputs
sanitize page input, like OPDS
catch errors when page parameter is invalid
correct documentation
2019-08-02 18:23:19 -04:00
eric 8a7679c0fc document the addition
Also, I believe Travis will use the encrypted keys if it's my commit.
2019-07-31 17:22:26 -04:00
Nikita Antonenkov c18005a581 Fix misused http error 2019-07-31 21:48:45 +03:00
Nikita Antonenkov 0ab459fdb4 Onix API works pagination 2019-07-31 21:46:18 +03:00
eric 60a46c2c74 json parsers don't like trailing comma 2019-06-20 14:33:17 -04:00
eric d0d16c7ee4 json was confused with self.json 2019-06-20 14:32:32 -04:00
eric 26bab0af68 last 2.0 deprecations 2018-07-24 11:33:39 -04:00
eric 18c0afd38e update tastypie 2018-07-23 22:51:01 -04:00
eric 50f0294b59 is_anonymous and is_authenticated are properties 2018-07-23 22:17:05 -04:00
eric c7ffd3361a removed patterns from imports 2018-04-27 11:42:39 -04:00
eshellman 3058991a30
Merge pull request #770 from Gluejar/remove-regluit-datetime
rip out dead code
2018-04-23 14:52:59 -04:00
eric 518ac07ae1 lint 2018-04-19 13:18:06 -04:00
eric 39fdd9683a rip out dead code 2018-04-19 12:24:34 -04:00
eric 07fd095b9a fix bugs 2018-04-09 11:54:16 -04:00
eric 4d2167c58f finish less to sass for landing page 2018-01-30 12:47:51 -05:00
eric 7cd10386cd convert sitewide to scss 2018-01-29 22:56:18 -05:00
eric 22870a4350 harden object retrieval against unexpected input 2017-12-08 20:58:37 -05:00
eshellman 36385ffc54
Merge pull request #719 from Gluejar/revise-new-rh
Revise new rh process and docs
2017-11-18 16:36:03 -05:00
eric bb29fc3d1f remove gluejar.com 2017-11-18 16:34:56 -05:00
eric 2f95c195c6 add documentation 2017-11-08 17:45:22 -05:00
eric b5e52effd9 optimize id access
See
https://docs.djangoproject.com/en/1.11/topics/db/optimization/#use-forei
gn-key-values-directly
2017-10-28 18:33:58 -04:00
eric 91ae62e757 fix onix feed for work 2017-09-04 14:28:47 -04:00
eric db97a98ae8 https 2017-07-27 10:33:13 -04:00
eric 7736201ce8 add publishers, ebooks to api 2017-06-29 13:22:58 -04:00
eric c9d0395f38 fix mistakes 2017-03-21 21:16:36 -04:00
eric fe823979fd add "order_by=none" option
in json-opds, allows a large record dump
2017-03-21 12:00:55 -04:00
eric b255130732 change to version 2 2017-03-17 17:19:26 -04:00
eric 03397b6c53 fix possible redirect loop 2017-02-14 14:37:36 -05:00
eric 85b0ea0d35 fix issue with new version of tastypie 2017-02-14 13:59:19 -05:00
eric da21d172af adjust paging 2017-02-12 10:39:45 -05:00
eric 7f5ffee7b7 more alignment 2017-02-11 21:33:32 -05:00
eric 61c15c03e4 align with HADRIEN
https://gist.github.com/HadrienGardeur/4354170#file-navigation-json-L1
2017-02-11 18:04:19 -05:00
eric c2981ed745 fix urls 2017-02-11 16:03:29 -05:00
eric a225580fae add a json version of opds
just for fun
2017-02-11 15:58:54 -05:00
eric fffd5012ad api tests now run on a fixture 2016-12-29 13:44:26 -05:00
eric 19a091f331 add support for no javascript widget 2016-11-21 14:14:30 -05:00
Raymond Yee 7180da1f9d I think checking whether updated is None is a bit clearer...other, updated might look like a boolean. 2016-10-12 09:34:46 -07:00
eric a73720daab work might not have an ebook 2016-10-12 11:01:30 -04:00
eric 5eabbbb4d2 implement versions in api 2016-08-24 15:43:28 -04:00
eric 9b0c91a439 implement age_level 2016-08-15 13:47:00 -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 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 4adf6917ff refactor admin 2016-07-26 10:34:45 -04:00
eric f28b4b2e6b remove stray "url from future" 2016-07-24 14:00:25 -04:00
eric b1e6dcec4f update tests for explicit fixture loading 2016-07-23 12:08:28 -04:00
eric d8eb4297d9 migrations 2016-07-21 15:38:09 -04:00
eric 3001aed8c8 implement indirectAcquisition element 2016-07-12 14:50:13 -04:00
eshellman f99b621c19 Merge pull request #585 from Gluejar/push
FTP Push seconds on the onix file is a good idea
2016-05-30 10:30:34 -04:00
eric bf220c5c6f Merge branch 'master' into push
# Conflicts:
#	settings/common.py
2016-05-20 16:44:13 -04:00
eric 11ea9b4d93 onix and cover improvements
onix recipients need both a pubdate and an isbn in the records.

the cover imagefiles from thumbnail occasionally result in broken
images- these are now detected.
2016-05-20 16:32:26 -04:00