Commit Graph

228 Commits (c721c9c6b21b56f6d7a57ae3bc261758fb94637b)

Author SHA1 Message Date
eric a931b9d2b3 same optimization in librarything loader 2011-12-22 14:51:12 -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
Raymond Yee 47399ab23a Merge branch 'master' of github.com:Gluejar/regluit into payment 2011-12-20 14:07:43 -05:00
Ed Summers 6952cbde52 require googlebooks_id to be unique on Edition. this may cause errors to pop up elsewhere when we have a race to add an edition 2011-12-20 12:57:17 -05:00
Ed Summers 9231923b88 remove duplicate editions 2011-12-20 12:37:50 -05:00
Ed Summers 19976b2520 added beginning of a management command to remove duplicate editions 2011-12-20 12:19:23 -05:00
Raymond Yee aab7b6f926 Merge branch 'master' of github.com:Gluejar/regluit into payment 2011-12-20 10:35:42 -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
eric d78a5cfe6c blindly trying what the error messages say to do 2011-12-19 23:45: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
Raymond Yee f1875201b3 Merge branch 'master' of github.com:Gluejar/regluit into payment 2011-12-19 13:23:40 -05:00
Ed Summers bf388a11b9 fixed subject test again 2011-12-19 02:34:29 -05:00
Ed Summers b6a4125e67 fixing subject test, removing settings test 2011-12-19 02:27:07 -05:00
Ed Summers 2417886169 removing 0014_populate_subjects migration since it is problematic to run with South ORM, instead have people run add_openlibrary management command 2011-12-19 02:20:24 -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
Raymond Yee 7cc9a1047a Do ascii encoding of print message so that the print statement doesn't die on non-ascii words. 2011-12-14 18:04:09 +00:00
eric 7bfc4849a4 added a column to track amount remaining on a campaign; updated by the Transaction change signal 2011-12-14 00:53:03 -05:00
eric 56f8151ba3 moved transaction_change handler to payment package to make testing easier 2011-12-14 00:53:03 -05:00
eric 10ed085c29 corrected percent calculation in work.percent_unglued 2011-12-14 00:53:03 -05:00
eric deabe01385 moved as-yet unsaid campaign actions into their own table. Apply migrations! 2011-12-13 16:24:56 -05:00
Ed Summers e8339697f6 works are mono-lingual now. language is now a property of Work instead of Edition. YOU WILL NEED TO APPLY MIGRATIONS! 2011-12-13 09:55:26 -05:00
eric 5695aea5da restored missing "through" to model 2011-12-09 08:07:44 -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
eric 70d1eeca39 removed bad test 2011-12-06 10:45:11 -05:00
eric e603f5a3c6 updated tests to match new campaign model 2011-12-06 10:36:20 -05:00
eric b2eda1f562 added status column to Campaign model, wrote a South data migration
As always, it's not a bad idea to backup you database before doing a
migration!
2011-12-06 10:36: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 1d1a8e16ed order wishlist results alphabetically 2011-12-03 18:04:53 -05:00
eric 4899c140da Oh, the humanity! 2011-12-03 12:02:26 -05:00
eric 13d490b304 even more embarrassing spelling error 2011-12-03 11:29:13 -05:00
eric 2262e0e48d fixed embarrassing copy and past bug for users>5 2011-12-03 11:14:31 -05:00
Ed Summers 97daddea5d Merge branch 'master' of github.com:Gluejar/regluit 2011-12-02 23:08:10 -05:00
Ed Summers 641e4904d9 link to googlebooks 2011-12-02 23:07:55 -05:00
eric e0fbb3d324 Added Ungluers and facet display to CampaignListView 2011-12-02 22:53:39 -05:00
eric 7f4976bde5 added ungluers to WorkListViews 2011-12-02 22:32:25 -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 2e28139c00 A stub signal for Transaction.post_save() event 2011-12-01 10:59:34 -08:00
Raymond Yee b8cebfa0dd Refining the interaction of Premium choice and pledge amount 2011-11-30 08:58:26 -08:00
eric 1fc644aacd implemented a minimum campaign term; other campaign management tweaks 2011-11-29 10:48:37 -05:00
Andromeda Yelton 440047145a making errors more obvious on campaign management page and goal more obvious on work page 2011-11-28 11:38:31 -05:00
Andromeda Yelton 0e33932435 improving display of hover state of book panel (still in progress) 2011-11-28 10:13:21 -05:00
eric d5bae40c00 refactored launchable into campaign model. fixed date camparison bug. moved target and deadline limits to settings file 2011-11-23 21:41:06 -05:00
Andromeda Yelton 24f9122a85 modified the name of a key in search.py for integration with book_panel, need to modify corresponding name in test 2011-11-23 13:18:32 -05:00
Andromeda Yelton 14a008421d refactored search.html to use book_panel.html. required altering labels of some data sources so that they have the same names when they hit book_panel regardless of where it's included from 2011-11-23 12:28:59 -05:00
Raymond Yee 5512f221db I think we need to change _last_change to something like _last_change_ so that the variable doesn't alreay exist in Work. Also return None if there are no campaigns. 2011-11-22 12:55:05 -08:00
Ed Summers 3b777f87aa allow empty publication date, also make sure test database uses charset utf8 or else tests will fail 2011-11-21 14:13:29 -05:00
Ed Summers d57f93f6f2 added new migrations 2011-11-21 11:29:37 -05:00
Ed Summers a98ce5373c removing migrations 2011-11-21 11:26:31 -05:00