Commit Graph

167 Commits (eebd00ccd9e967bbc2bab5fde363cd7193eb7aef)

Author SHA1 Message Date
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
Andromeda Yelton 9e395e0a9f converted all text-oriented pages to run on basedocumentation.html style template 2011-11-01 13:18:44 -04:00
Raymond Yee dcd4727c95 a start on showing how to embed a widget in a third party site 2011-10-22 08:18:04 -07:00
Raymond Yee 6aa01701a4 Got rid of explore sidebar in API help.
Got rid of 'undefined' class for something in widget we are currently calculating
2011-10-20 13:53:35 -07:00
Raymond Yee 3fb56a9c44 Place the API help page into the frame with the explorer sidebar. 2011-10-20 13:27:52 -07: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 3d676eae8c Merge branch 'master' into tastypie2 2011-10-18 16:46:46 -07:00
Ed Summers 21aa09d183 use Decimal for campaign target 2011-10-10 15:39:25 -04:00
Ed Summers c0f4ad11c3 merged upstream changes 2011-10-10 13:09:00 -04:00
Ed Summers 70a620b27f moved to using googlebooks api for data. required moving authors and subjects to be associated to editions, since we google books does not have a notion of a work 2011-10-10 12:57:10 -04:00
Raymond Yee 0ffa43b870 Merge branch 'master' of github.com:Gluejar/regluit into tastypie2 2011-10-07 09:15:15 -07:00
Ed Summers bfd1d85264 need an empty models module for api to be treated like a legit django app that can be tested 2011-10-05 22:30:49 -04:00
Raymond Yee 5c40c5c2a8 attempt to merge master into tastypie2 -- tests failed 2011-09-29 11:40:45 -07:00
Ed Summers 409df080ce got search passably working and a somewhat functional ajax add to list 2011-09-29 02:23:50 -04:00
Raymond Yee 50d1f219ea A pass at making server side panels 2011-09-20 22:22:48 -07:00
Ed Summers b25bc783b4 got campaign information relevant to the logged in user to show up 2011-09-16 00:51:46 -04:00
Ed Summers 5246429db3 got campaign information relevant to the logged in user to show up 2011-09-16 00:51:46 -04:00
Ed Summers 273cb0bc6c added key authentication and some api tests 2011-09-15 22:53:44 -04:00
Ed Summers b7be628de2 added key authentication and some api tests 2011-09-15 22:53:44 -04:00
Ed Summers 6d6af629f4 added some api unit tests 2011-09-15 22:05:47 -04:00
Ed Summers ae840f4713 added some api unit tests 2011-09-15 22:05:47 -04:00
Ed Summers ccf9e122c1 added resource filtering to be able to lookup campaigns based on isbn with /api/v1/campaign/?format=json&work__editions__isbn_10=1590171101 2011-09-15 22:33:05 +00:00
Ed Summers 49bd1d38fc added resource filtering to be able to lookup campaigns based on isbn with /api/v1/campaign/?format=json&work__editions__isbn_10=1590171101 2011-09-15 22:33:05 +00:00
Raymond Yee 5f00f568f8 First naive pass at creating a IsbnResource 2011-09-14 16:15:01 -07:00
Raymond Yee 05753ad81b First naive pass at creating a IsbnResource 2011-09-14 16:15:01 -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