Commit Graph

51 Commits (8f8d8f7ae85bc3e36c61d19a43ed837798a45e08)

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
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 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 50f0294b59 is_anonymous and is_authenticated are properties 2018-07-23 22:17:05 -04:00
eric 22870a4350 harden object retrieval against unexpected input 2017-12-08 20:58:37 -05:00
eric db97a98ae8 https 2017-07-27 10:33:13 -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 61c15c03e4 align with HADRIEN
https://gist.github.com/HadrienGardeur/4354170#file-navigation-json-L1
2017-02-11 18:04:19 -05:00
eric a225580fae add a json version of opds
just for fun
2017-02-11 15:58:54 -05:00
eric 19a091f331 add support for no javascript widget 2016-11-21 14:14:30 -05: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 f7411d9525 add featured mode to the widget
Been wanting this for a while!
2016-03-29 13:47:23 -04:00
eric 370147f6cd add url for travis webhook documentation 2016-02-24 09:08:57 -05:00
Raymond Yee b4a15304e9 ready for a review of this webhook (or push to just.unglue.it to test) 2016-02-23 10:32:51 -08:00
Raymond Yee b72f91862c in process of cleaning up webhook code 2016-02-22 15:03:07 -08:00
Raymond Yee f4105faccd in progress: working on extracting repository owner and name from the data instead of from headers. (not working yet) 2016-02-22 14:15:24 -08:00
Raymond Yee ca43d47397 current progress on webhook 2016-02-22 07:24:59 -08:00
Raymond Yee fb9a2bcd04 skeleton for /api/travisci/webhook 2016-02-18 11:37:35 -08:00
eric 7efa73697b add freeisbn resource 2015-12-18 20:21:28 -05:00
eric 174f2f076d remove cruft 2015-12-18 20:01:22 -05:00
eric 3a2c632011 make onix work like opds 2015-08-28 16:20:46 -04:00
eric 2aa49e8d15 bug fixes and api cleanup 2015-08-27 15:23:25 -04:00
eric 2a3a1546fd makes a valid file!
validator at
https://www.readyet.net/tools/onixFileValidation/3
2015-08-26 21:35:29 -04:00
eric 11cf5b2869 Merge branch 'master' into publisher-opds
Conflicts:
	api/urls.py
2015-08-06 13:39:16 -04:00
eric 92e9b7cb3c allow only approved repos 2015-08-04 12:02:06 -04:00
eric 134aeec4de id in opds now works with content negotiation
by request from LeonardR
2015-08-03 18:39:26 -04:00
eric 7932e047d7 basic api wiring 2015-07-30 00:34:05 -04:00
eric 11b9d5da3e make widget work with work ids 2015-02-18 13:09:43 -05:00
eric 46e662c849 add ordering, facet navlinks 2014-12-06 15:00:23 -05:00
eric 5246bd1a1c add new facet machinery to olds 2014-12-05 18:38:04 -05:00
eric 5b2147958b paginate feeds 2014-11-03 19:36:26 -05:00
eric 8f3bf4191a make the feeds into classes 2014-07-16 21:00:16 -07:00
eric 6aa3e458ea move opds to api
and simplify code.
view no longer passing site and protocol to opds methods
facets now in a list
url adds /api/ in front
2014-07-16 16:47:32 -07:00
eric 13d5bc88fe widget was rather crufty! 2014-04-23 19:41:43 -04:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
eric ac209abd0b fixed mispeled excepshun bug in wdget 2012-02-16 11:06:26 -05:00
eric 0d19018e62 api tests working; non-google id's working 2012-01-10 15:20:02 -05:00
eric 9d6066c929 catch IndexErrors to fix HermanCain bug; there is a work with zero editions 2011-12-31 13:48:54 -05:00
eric f81a4e8e6d removed isbn_10 column and fixed many isbn13 non-compliance issues
apply migrations!
2011-12-19 23:26:55 -05:00
Raymond Yee a2b622b061 Added status and current_total data to Campaign resource in the API.
Added an API help page to describe how to use the API and which shows a user's api_key and sample calls and link to campaign widgets.
Added facility to redirect back to current URL after sign in.
2011-10-19 17:08:17 -07:00
Raymond Yee 0ed1d229f5 Updating campaign widget to show status and progress. Don't have a way to calculate a graphic representation of progress yet. 2011-10-19 09:45:25 -07:00
Raymond Yee 5c40c5c2a8 attempt to merge master into tastypie2 -- tests failed 2011-09-29 11:40:45 -07:00
Raymond Yee 50d1f219ea A pass at making server side panels 2011-09-20 22:22:48 -07:00
Raymond Yee 4cf289c5dd Added /api/editions to make it easier to test /api/isbn 2011-09-14 10:31:16 -07:00
Raymond Yee 93eb9a1549 Added /api/editions to make it easier to test /api/isbn 2011-09-14 10:31:16 -07:00
Raymond Yee 14ae7090e6 Intermediate progress towards an API that takes ISBN and spits out edition, work, or campaign info 2011-09-14 08:38:29 -07:00
Raymond Yee 0faf1df94a Intermediate progress towards an API that takes ISBN and spits out edition, work, or campaign info 2011-09-14 08:38:29 -07:00