Commit Graph

811 Commits (c713f790b9deeb2b9995c8774c55c829b63051dc)

Author SHA1 Message Date
eric fa8f03eb0a pass tests 2014-10-27 20:11:23 -04:00
eric d0e305cfec rip out code 2014-10-27 19:11:44 -04:00
eric e1409ceac1 redo marc file upload 2014-10-27 16:57:35 -04:00
eric 3b4b836e6c add marc download tools 2014-10-27 11:55:46 -04:00
eric 2feda33c4f records now served out of db 2014-10-20 16:57:46 -04:00
eric a5d3dfdf4f add_author method 2014-10-20 16:54:19 -04:00
eric be294aa8f0 Merge branch 'master' into stub-marc 2014-10-17 11:36:35 -04:00
eric fbe96bcfc7 basic stub records 2014-10-14 10:08:08 -04:00
eric 93c9b696b2 Allow staff to enter books with an http id
I'm finding LOTS of books that don't have ISBN or OCLCnum
2014-10-08 16:23:24 -04:00
Raymond Yee 0ddbdbc944 Merge pull request #384 from Gluejar/fix_optional_token
Fix optional token
2014-09-29 13:22:49 -07:00
eric b72e0a1fe1 made a form that doesn't have Stripe Token 2014-09-13 16:19:47 -04:00
eric 9ae4ce42da this is even more correct, and the tests pass 2014-09-12 10:21:06 -04:00
eric 30e50260a3 make ebooks when new files are uploaded, clean up old
the download bits are suppressed when the ask comes from the pdf
seems we weren't making new ebooks when new files were uploaded
old ebooks now deactivated so we don't loase download counts and history
add ask to pdf is triggered by file upload or THANKS campaign save
2014-09-04 18:33:20 -04:00
eric 8ce1550ea2 [fix #77927246] CCForm really should require a token
I think forms were still mysterious to me when I made it not required.
I think I set it to not required because I didn't know how to keep it
from reporting an error on initial render.
Need to make sure nothing else depends on allowing null stripe token
2014-08-30 13:28:13 -04:00
eric 40831b6161 incorporate add_ask into campaign management 2014-08-30 12:04:50 -04:00
Raymond Yee 7b7c050fb2 Merge pull request #379 from Gluejar/edition_errata
Edition editing errata
2014-08-13 22:30:49 -07:00
eric 5a2a3e60b6 add PD and GDFL to license choices; add pd-us
also all make list display facets for PD-US and GDFL; don't expose them
until we have content we like in them
2014-08-06 17:14:09 -04:00
eric 8f3957dc14 allow blank ISBN
version in production throws invalid isbn exception
made sure you can't delete an id if the edition is left id-les
fixed bug where using an existing id omits admin setting
2014-08-06 10:59:16 -04:00
eric 74e98b37c2 download button causes a fave
also adjusted "latest ungluing" to be less-creepy; only explicit faves
are reported
2014-07-28 18:22:26 -04:00
Raymond Yee ff1eb6ef0e Merge pull request #371 from Gluejar/opds_2
Opds 2
2014-07-25 14:17:27 -07:00
Raymond Yee 5a5b47b180 Also catch Transaction.DoesNotExist in FundCompleteView 2014-07-23 10:07:49 -07:00
eric 7377063b2c catch the exception actually thrown by bad tie
pass transaction on the object; not in context (style only)
move the redirect logic into get
2014-07-22 16:27:55 -04:00
Raymond Yee 3d2980f9a1 make pledge complete page more forgiving 2014-07-21 17:37:28 -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
Raymond Yee 806e24dc80 Merge pull request #367 from Gluejar/OPDS
Opds
2014-07-11 14:13:13 -07:00
Raymond Yee 84a102c640 Merge pull request #368 from Gluejar/featured_ebook
Featured ebook
2014-07-09 10:19:01 -07:00
eric bf61227429 Add featured book to landing page 2014-07-03 15:43:49 -04:00
eric 773b6a0912 simple admin interface for featured 2014-07-01 14:09:21 -04:00
eric bc7850a2a9 add featured column, use it 2014-07-01 10:07:07 -07:00
Raymond Yee b356699c9b First pass at /opds/{facet} --> now with active_campaigns too 2014-06-25 18:05:57 -07:00
Raymond Yee 49133935a0 First draft of opds/creativecommons.xml 2014-06-24 15:27:40 -07:00
Raymond Yee e3f32da12b Put framework for both the navigation and crawlable feeds 2014-06-20 16:53:25 -04:00
eric 420cbdf448 send rh to rh page after claiming work 2014-06-20 15:37:23 -04:00
eric 03f3dd1287 can now edit language via edition edit
Also, the language field is widened to support language ids such as
"zh-tw".
Migration required.
2014-06-06 14:32:34 -04:00
Raymond Yee 1074afd6bf Merge pull request #354 from Gluejar/revise_landing
landing page now shows three categories
2014-05-23 14:51:41 -07:00
eric c497502766 this time I remembered to check the test 2014-05-22 22:38:42 -04:00
eric 12cf531e7b purchased copies need full url 2014-05-22 22:35:29 -04:00
eric fa221f484e landing page now shows three categories
site favorites is now omitted.
useless "withs" removed
category removed if no campaigns
category labels now are calls to action
2014-05-22 14:08:15 -04:00
eric 314847459b remove readmill, add dropbox 2014-05-20 12:19:34 -04:00
eric b6c58c4e35 add in active campaigns that match specific license 2014-05-08 13:10:57 -04:00
eric 052f5adbc0 add license descriptions and badges to the pages 2014-05-08 11:54:09 -04:00
eric d102854d02 add license-specific view to CC display 2014-05-08 10:22:35 -04:00
Raymond Yee 10bfb0ca27 Merge pull request #345 from Gluejar/refix_b2u_calculator
Refix b2u calculator [#70704708] and [#70681088]
2014-05-05 14:25:18 -07:00
eric a7b9581919 fix calculator
update_left() was setting current_total to zero
2014-05-05 15:55:20 -04:00
eric da7d6ccfc5 fix send_to_kindle 2014-05-05 12:21:59 -04:00
eric 935c7b4a4c fix issue when an anonymous user logs in (rare) 2014-05-05 12:21:44 -04:00
eric c85a13b05c acq shouldn't be in context for THANKS 2014-05-05 10:15:29 -04:00
eric 53ea120aae acknowledgement missing for logged in users 2014-05-05 10:15:05 -04:00
Raymond Yee 8e39548740 Merge pull request #336 from Gluejar/rh_create_work
rights holder can create new work
2014-04-29 18:16:25 -07:00
eric 0934984f8f rights holder can create new work 2014-04-29 21:07:24 -04:00