Commit Graph

34 Commits (c1ecedcb58a977c8f51d1347fffcc1f88e4f763e)

Author SHA1 Message Date
eric db97a98ae8 https 2017-07-27 10:33:13 -04:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
thatandromeda 8bc66ad0fb Merge pull request #63 from Gluejar/goodreads_bug
replaced remaining text.strip() with safe_strip(text) -- and changed saf...
2012-10-16 11:11:25 -07:00
Andromeda Yelton 3831a1ea59 clarifying kwarg 2012-10-16 11:36:51 -04:00
Raymond Yee 0df16957db replaced remaining text.strip() with safe_strip(text) -- and changed safe_strip to a try/except approach to handle cases which a_string does not evaluate to False but nonetheless does not have strip method 2012-10-16 08:21:55 -07:00
Andromeda Yelton ae9a541ed5 too many ways we might add to wishlist to test for. adding argument for notification. [[#37780515] 2012-10-16 11:06:13 -04:00
eric 4a15cc5ce7 added documentation for mysql path, removed hard encoding from goodreads#253 2012-09-30 18:05:15 -04:00
Raymond Yee 22106d4112 r.content already encoded --> so r.content.encode('utf-8') is wrong -- doesn't cause exception if sys default encoding is UTF-8 -- but problematic if default is ASCII 2012-09-30 08:44:25 -07:00
Raymond Yee 8ce6ffe530 Pull which payment processor is involved from the transaction itself not from the settings.PAYMENT_PROCESSOR 2012-05-29 15:01:48 -07:00
Raymond Yee 111e10f380 Expose what http code we are getting from goodreads when we get something that is not 200 2012-05-29 12:47:38 -07:00
Raymond Yee 51d1bb938f A change in the Goodreads API: http://www.goodreads.com/topic/show/867018-stuff-broken-since-last-thursday -- removing trailing '/' fixes the problem (for now!) 2012-04-24 14:37:33 -07:00
eric 5f4f381e06 fix problem where Goodreads has started to return empty descriptions 2012-04-13 17:53:18 -04:00
eric 471cb62fd2 changed core.tasks to not use models 2012-02-16 13:19:36 -05:00
eric 6f11308ab9 fixed goodreads loader 2012-01-16 19:34:35 -05:00
eric 68d6ef93fd General cleanup and optimization of goodreads loading 2011-12-22 14:29:46 -05:00
eric 4c50d53ad8 response from oath client doesn't need hard utf encoding! 2011-12-22 11:06:30 -05:00
eric ffe2ab5bd6 fixed Goodreads loading; unicode in exception message was a nono 2011-12-22 01:17:30 -05:00
Ed Summers 2d6a6de487 ElementTree.fromstring expects a string of utf8, not a unicode object, which works most of the time, but not if the UnicodeString contains some non-ascii data I guess. The test suite started failing with a UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 12164: ordinal not in range(128), I think when the GR bookshelf used by this test changed to include some Unicode 2011-12-20 10:31:15 -05:00
Ed Summers 55656e2d3d now getting subjects from openlibrary instead of from googlebooks. You will need to APPLY MIGRATIONS! 2011-12-19 01:33:13 -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
Ed Summers 411a254ee6 got librarything, goodreads and openlibrary links working when ids are available, with fallbacks to isbn routing and canned search urls 2011-12-05 00:56:24 -05:00
Ed Summers 5a02fb4ec5 persist goodreads and librarything identifiers when loading wishlists from there 2011-12-02 22:16:11 -05:00
Raymond Yee 84c2b5bade Some first tests for Goodreads and Librarything 2011-11-18 06:14:33 -08:00
Raymond Yee ca526e1afb Basic tests for Goodreads and LibraryThing 2011-11-17 16:45:26 -08:00
Raymond Yee 38105c3de9 First pass at writing the celery tasks to the db and displaying them. 2011-11-10 15:14:33 -08:00
Raymond Yee df8d1d9506 Put more logging into Goodreads handling to try to debug why shelf loading not working in some cases. 2011-11-10 07:36:17 -08:00
Raymond Yee 705876dd8b The shelf loading now uses the Oauth credential of the logged in user 2011-11-04 14:18:06 -07:00
Raymond Yee 820107bd4d Got oauth signing to work with goodreads reviews_list 2011-11-04 14:04:32 -07:00
Raymond Yee f7ea58a602 Integrated Goodreads shelf loading to wishlist into UI 2011-10-31 17:26:05 -07:00
Raymond Yee 07248f16c8 dded a command to load a shelf to a user's wishlist 2011-10-26 09:49:54 -07:00
Raymond Yee a4dd33b047 Displaying some of the books from user shelf. 2011-10-25 16:07:44 -07:00
Raymond Yee 1aa6dff8f7 First pass at reading list of books from user 2011-10-25 14:20:10 -07:00
Raymond Yee d75ce34bf0 In the works: a method to retrieve books from a shelf 2011-10-25 07:10:59 -07:00
Raymond Yee 299d3d1be3 First take on Goodreads integration.
Can get userid, username, and display shelves info
Using sessions to store user info right now.
2011-10-24 18:09:30 -07:00