Commit Graph

895 Commits (560b348b9f23b6bfdfeb3ce0d1637e84f5f25743)

Author SHA1 Message Date
eric f552fda1a7 set_featured should redirect to landing
the previous behavior caused some accidental re-featuring because the
url has an effect in addition to the display
2015-01-29 14:25:55 -05:00
eric bff7866b67 change work title when edition is selected 2015-01-29 14:19:02 -05:00
eric a422022499 add list of works needing keywords 2015-01-26 14:46:37 -05:00
eric 073040d7ca add keywords! 2015-01-15 14:34:43 -05:00
eric 4f0cc87b48 temp add kw 2015-01-14 15:07:54 -05:00
eric a5c38d9354 subject deletion 2015-01-12 20:24:32 -05:00
eric f77ef95a64 prevent self-redemption 2014-12-22 18:08:13 -05:00
eric 2db4516505 rip out useless code 2014-12-22 14:24:49 -05:00
eric fb878094d1 new test for established user 2014-12-22 14:21:40 -05:00
eric ae208286f0 handle case of double gifts
also make gift redemption experience uniform
2014-12-21 16:02:02 -05:00
eric b01562b630 Properly handle gifts to existing users 2014-12-20 12:47:15 -05:00
eric f18acfc091 notify the giver when the gift is redeemed
migration needed
2014-12-19 15:13:54 -05:00
eric 09994ee1fc fix missing site 2014-12-18 18:10:04 -05:00
eric 2c44a29aa7 regifting 2014-12-18 13:37:28 -05:00
eric c2b170c801 the password prompt now works 2014-12-18 11:41:06 -05:00
eric 1c651f2458 everything more or less works except resifting 2014-12-18 01:07:59 -05:00
eric 41163d81a2 purchase and provisioning the gift 2014-12-16 14:18:51 -05:00
eric 7b5174aca6 ui and model for buy as a gift 2014-12-15 00:56:08 -05:00
eric cdfe5d99d6 add is_free annotations on subject lists 2014-12-14 10:28:58 -05:00
eric be0ab46872 use is_free in query sets 2014-12-14 10:00:10 -05:00
Raymond Yee 19dd7eadcb Merge pull request #425 from Gluejar/opds_facets
Opds facets [deliver #82001456]
2014-12-12 11:42:04 -08:00
eric 44f3fadb49 use wish list apparatus to set keywords 2014-12-10 23:27:49 -05:00
eric 70d4506365 move path parsing to facets 2014-12-05 18:36:45 -05:00
eric af83e6a8c0 Rip out CCList, replace with facets 2014-12-03 10:15:38 -05:00
eric 8e23f937f8 auto generate refine box 2014-12-02 16:09:30 -05:00
eric eefcee6f32 Merge branch 'master' into facets 2014-12-01 16:08:12 -05:00
eric c4649b2d58 fix bugs in editions management auth 2014-11-28 11:12:29 -05:00
eric 20cf22da8f add facet descriptions. 2014-11-20 21:11:15 -05:00
eric 31ca43de55 track more stuff 2014-11-19 16:03:21 -05:00
eric b04768acb2 improve styling of sort links 2014-11-18 21:54:47 -05:00
eric 5dd1d836fb add sorting 2014-11-18 16:54:19 -05:00
eric 9aa6d0c78c Merge branch 'master' into facets 2014-11-18 13:33:51 -05:00
eric 591f06a267 first pass at faceted search 2014-11-18 13:33:17 -05:00
eric 547adfea56 Change default avatar to one with more privacy
using a user's email in the gravatar hash can connect their account to
other sites. Stop doing this as default for new users.
2014-11-07 14:47:12 -05:00
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
Raymond Yee 5ee4f7c4df Merge pull request #335 from Gluejar/improve_lists
Improve lists and landing page for launch
2014-04-29 18:01:27 -07:00
eric 958d963f75 add campaign list for each campaign type 2014-04-29 20:03:33 -04:00
eric 6e034c58e0 unclutter the bottom of the landing page 2014-04-29 16:16:00 -04:00
eric 59997cfda1 reset selected edition on campaign save 2014-04-29 14:51:49 -04:00
eric 2ee1a1d34d one more thing - indicate that download page is missing ebook links 2014-04-28 15:14:46 -04:00
eric 1c783f2e4a make sure goal is retotled when campaign is modified 2014-04-09 15:02:25 -04:00
eric c2fae4c16f fix the calculator- it was broken 2014-04-09 14:32:25 -04:00
eric 1d12fbf74d kwarg, not arg 2014-04-07 12:17:21 -04:00
eric d2cca9ff93 look before leaping 2014-03-21 09:49:49 -04:00
eric 9122be280b OMG I broke the downloads 2014-03-20 09:23:17 -04:00
eric 5661377207 if library supports t4u book, members of library don't see the ask
instead they see “your library has supported this free ebook!
2014-03-18 22:30:21 -04:00
eric f7fea1874e wish list was not getting set because of vestigial transaction type check
[fix #67399604]
2014-03-14 13:04:11 -04:00
eric b8409a815b forgot to set status in new_edition 2014-03-12 19:32:56 -04:00
eric fd896c8916 Merge branch 'improve_t4u_campaign' into improve_editions 2014-03-12 18:08:54 -04:00
eric d2dd926f80 let campaign manager edit work description in campaign management
also, revise documentation for campaigns
2014-03-12 18:03:50 -04:00
eric d49925d26c errata
1. distinguish title for editions page
2. reset earliest_publication on save new edition
2014-03-12 12:54:32 -04:00