Commit Graph

194 Commits (89b4221dcd5122d0bad1237e67278d96b8cef26c)

Author SHA1 Message Date
Raymond Yee fb9a2bcd04 skeleton for /api/travisci/webhook 2016-02-18 11:37:35 -08:00
eric 573638e23a slash on namespace 2016-01-21 18:03:31 -05:00
eric f33cd6e487 revamp sitemap priority, add to opds 2016-01-19 17:28:45 -05:00
eric 21d00f0020 qualify acq link relation in opds 2016-01-19 17:28:05 -05:00
eric 3de19922c6 more explanation of freeISBN 2015-12-19 13:21:40 -05:00
eric 6c49cd7828 more unused 2015-12-19 13:12:21 -05:00
eric 2ddaea70e0 unused 2015-12-19 13:08:20 -05:00
eric 128883c36e improve api documentation 2015-12-18 20:59:37 -05: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 2c48bb0547 Mmm, we made the api before thinking privacy 2015-12-18 12:10:59 -05:00
eric 7b7d7cf174 Merge branch 'master' into pubdate-range 2015-11-16 11:06:21 -05:00
eric 1ccdc144ba display publication range
needs a migration
2015-10-05 19:17:16 -04:00
eric 747b39e546 only report the most recent ebooks 2015-09-22 11:24:56 -04:00
eric d18f086398 add PersonNameInverted 2015-09-12 18:54:48 -04:00
eric 618d54a455 cleaner syntax 2015-09-03 17:17:12 -04:00
eric d9da48ef31 shouldn't return product if facet not satisfied 2015-09-03 14:36:46 -04:00
eric b360bfea6b check for ebook 2015-09-03 13:35:40 -04:00
eric 6b16bf683d handle null descriptions 2015-08-31 15:37:21 -04:00
eric 3a2c632011 make onix work like opds 2015-08-28 16:20:46 -04:00
eric d17907c3c8 only express the license if there is one 2015-08-28 15:48:13 -04:00
eric 2b9793e2d6 tests, links and documentation 2015-08-27 15:23:52 -04:00
eric 2aa49e8d15 bug fixes and api cleanup 2015-08-27 15:23:25 -04:00
eric 0ae55a3bfa add edition level filter 2015-08-27 15:22:21 -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 be5b619ff2 the pre-facet feeds were broken
Fixed them and added tests
2015-08-18 09:14:19 -04:00
Raymond Yee aa4f13f47d conflict in api/urls.py 2015-08-06 13:15:12 -07: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 5ea513a02f updated should be last ebook creation 2015-08-03 17:06:41 -04:00
eric abe61095aa add rights to ebook links 2015-08-03 16:58:25 -04:00
eric a469b025d3 add filter for ebooks
so only pdf ebooks are shown in pdf feeds, only CC-BY ebooks are shown
in  CC BY feeds
2015-08-03 16:22:40 -04:00
eric 7932e047d7 basic api wiring 2015-07-30 00:34:05 -04:00
eric 29108128a5 global change url syntax 2015-04-27 23:24:02 -04:00
eric 11b9d5da3e make widget work with work ids 2015-02-18 13:09:43 -05:00
eric 2455007994 flip the logic 2015-01-22 15:27:41 -05:00
eric 75fe8d9542 defend opds against control chars in subject name
Also, don't add keyword feed if there are no other books in it
2015-01-21 15:19:32 -05:00
eric 76e37ecd90 fix encoding bug 2015-01-16 11:16:25 -05:00
eric b5ae6f0d51 based on comments from Hadrien 2015-01-14 18:04:17 -05:00
eric ea4e489213 fix the odds implementation of kw facet
mostly, fixing missing url encoding
2015-01-12 12:03:47 -05:00
eric 02066cfabb missed this one 2014-12-14 16:40:14 -05:00
Raymond Yee 124bcda4a3 "ref" -> "rel" attribute in link (to fix error in OPDS validation) 2014-12-12 11:35:38 -08:00
eric 46e662c849 add ordering, facet navlinks 2014-12-06 15:00:23 -05:00
eric badf8e4b0e bring back descriptions, use them 2014-12-05 20:38:08 -05:00
eric ab6eb0eed5 revise the top level feeds 2014-12-05 20:37:51 -05:00
eric 5246bd1a1c add new facet machinery to olds 2014-12-05 18:38:04 -05:00
eric da7f0ad71c description was unused 2014-12-05 18:34:36 -05:00
eric df913fab09 some feed consumers want images for both sizes 2014-11-03 19:57:58 -05:00
eric 5b2147958b paginate feeds 2014-11-03 19:36:26 -05:00
eric fe2207df20 add isbn to opds feed based on feedback from leonardr
but limit to first 10 isbns
2014-07-29 22:26:15 -04:00
Raymond Yee 6b7749b6be in active_campaigns feed, exclude books w/o ebooks 2014-07-25 13:49:12 -07:00
eric 0606519199 might as well document it! 2014-07-16 21:57:40 -07:00
eric b24dfa8e9e last bit of code to rip out 2014-07-16 21:39:22 -07:00
eric db0c5b3946 fix urls 2014-07-16 21:34:35 -07:00
eric 06a3bda9de compute an updated date 2014-07-16 21:34:27 -07:00
eric 9ce45e7f7a ripped out more site/protocol code 2014-07-16 21:33:43 -07: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 d03f16e886 add test for widget 2014-04-24 07:55:32 -04:00
eric 13d5bc88fe widget was rather crufty! 2014-04-23 19:41:43 -04:00
eric 737cf91c66 complete switch to "Faves/Favorites" language 2014-02-19 23:16:28 -05:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
Andromeda Yelton edb174fc96 Merge branch 'master' into improve_registration
Conflicts:
	frontend/templates/pledge_complete.html
	static/css/sitewide2.css
2013-03-22 11:22:23 -04:00
eric 6de3b806a6 change name of book_panel stylesheet to force reload on deployment 2013-03-19 14:53:11 -04:00
eric c724786c97 remove redundant with clauses 2013-03-11 16:23:52 -04:00
eric 62627a80cf fix "next" behavior, poor sign-up/pledge flow [#40841931]
Sign In lightbox had broken cookie pusher on reg/auth pages.
Many holes had developed that broke return-to-page-after-auth (for
example, sign-in from pledge page).
Sporadic encoding issues.
2013-03-08 02:43:11 -05:00
eric 339d4653ab migrate and clean urls 2013-03-07 21:53:32 -05:00
eric d6a8dedfaa mailchimp ops now example.org aware, test users, now all changed to example.org 2013-03-06 09:39:06 -05:00
Andromeda Yelton ef0bb40f9b telling people this exists 2013-02-18 15:27:29 -05:00
Andromeda Yelton ed06ac4763 allow for ordering by num_wishes 2013-02-18 15:15:53 -05:00
eric 6e4f8fe3d7 configure wish list inside book_panel so it doesn't get omitted again 2013-01-02 20:26:20 -05:00
Raymond Yee 9a985176bc Fixed problems in tests stemming from an edition of Neuromancer no longer in Google Books -- switched to another one
We still have issues about language of editions for Cat's Cradle
2012-07-20 08:40:11 -07:00
Andromeda Yelton fd44471aae caching the wishlist rather than calculating it for every single book_panel = potentially huge performance improvement 2012-06-01 10:22:39 -04:00
Raymond Yee 58fc82995c a small type on the API help page 2012-05-21 14:47:11 -07:00
eric 22933b4ff5 Corrected api documentation error; added test for identifier api [finish #29892487] 2012-05-20 13:35:06 -04:00
Andromeda Yelton beff46fd8c standardizing on Unglue.it rather than Unglue.It 2012-05-08 16:15:23 -04:00
eric 7534e6c1b5 fixed more html errors and warnings 2012-03-09 11:59:04 -05:00
Raymond Yee a252f9d173 [#22561067] Implemented regluit.utils.localdatetime.now is by default datetime.datetime.now() (in Django 1.3) and django.utils.timezone.now() in Django 1.4+
One overrides regluit.utils.localdatetime._now to do "time travel" -- useful for testing scenarios requiring time changes (such as Campaigns)
Get rid of call references to datetime.datetime.now() or utcnow() and datetime.date.today() in favor of regluit.utils.localdatetime.now() and date_today().
2012-03-09 00:45:39 +00:00
eric de4f5fcc86 HTML sytax corrections 2012-03-07 22:07:01 -05:00
eric ac209abd0b fixed mispeled excepshun bug in wdget 2012-02-16 11:06:26 -05:00
Andromeda Yelton 5b18d47866 hey the widget should probably reflect the status of the work, huh 2012-02-15 08:55:34 -05:00
Andromeda Yelton e0f897b684 target links to outside of frame and make it work with the improved greenpanel.js 2012-02-15 08:51:24 -05:00
eric 16bb100482 made api tests less sensetive to fixture changes 2012-02-07 22:23:19 -05:00
eric 04fca2fcc0 fixed bug in api where work.id and campaign.id were confused 2012-02-07 22:22:01 -05:00
Andromeda Yelton a35bb7cbba there is now a setting for our versions of jquery ad jquery_ui. defaults to google hosted, use static to do offline dev. SO much less annoying. 2012-02-06 13:53:25 -05:00
eric 98a7c3f73b added googlebooks_id method on work, cleaned access 2012-01-17 16:28:58 -05:00
eric 0d19018e62 api tests working; non-google id's working 2012-01-10 15:20:02 -05:00
eric 0b91017dd5 Did what edso told me not to do- re-architected db to use generic ids 2012-01-09 13:55:22 -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
Andromeda Yelton 50aae788c6 further tidying up panel view hover state and making sure it works properly in widget form too 2011-12-27 19:17:44 -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
eric 167dccf574 Wishlists are now filled using the Wishes intermediate table. It's named the same as previous intermediate table, and I've edited the migration so data is not lost.
Also, I've added methods od Wishlists to add and remove Works. There
are "source" and created columns on the Wishes table
2011-12-08 18:22:20 -05:00
Andromeda Yelton 3c61c13e59 cleaning up: fixed sizing, removed background image, switched to more recent (and unglueit-hosted) jquery version 2011-11-22 13:49:59 -05:00
Andromeda Yelton 25d2177ca4 restoring background color alternation of books in list view of supporter page after widgetization 2011-11-22 13:33:57 -05:00
Raymond Yee 726f086c4c Adjust the size of the iframe 2011-11-21 20:36:14 -08:00
Raymond Yee e99c98a014 kludge a new ISBN into widget embed test 2011-11-21 18:13:39 -08:00
Raymond Yee 994be3f732 Attempt to factor out book panel so it can be used in widget and supporter page 2011-11-21 17:21:06 -08:00
Andromeda Yelton 43912006ae prettifying the documentation pages with new css 2011-11-18 13:27:26 -05:00
Andromeda Yelton 96a3039434 fixing bugs resulting from am addition of last_campaign method 2011-11-06 15:24:16 -05:00