Commit Graph

2373 Commits (bf40897f68f8d04dab8743740d99e5a5575d9af3)

Author SHA1 Message Date
Raymond Yee 08e1806db2 As suggested by Eric, we'll use a regex from https://mathiasbynens.be/demo/url-regex,
specifically the one by @imme_emosol
2014-10-13 16:21:30 -07:00
Raymond Yee 73435e399c Merge branch 'master' into allow-http-id 2014-10-09 15:21:34 -07:00
eric 05aea1b40b stop rounding the date! 2014-10-09 14:33:53 -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
eric ef6c4a659e ebook files activate and deactivate
when manager unselects 'add_ask', the system didn't revert to the files
without added ask. This fixes that. To test, toggle the add_ask
checkbox and save campaign.
2014-10-04 16:51:16 -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
Raymond Yee a02463c117 Merge pull request #388 from Gluejar/fix-inactive-ebooks
let ebook go to default
2014-09-29 11:44:12 -07:00
eric 5a6582ae66 let ebook go to default 2014-09-26 10:40:20 -04:00
eric cd162905fa fix the data instead of complaining 2014-09-25 13:32:01 -04:00
eshellman 2223446f36 Merge pull request #386 from Gluejar/pdf_ask
Insert Pdf/epub ask into served files [Take 2]
2014-09-17 04:48:46 -04:00
eric 93bba18b79 Merge branch 'master' into fix_optional_token 2014-09-13 16:24:22 -04: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 28434b06a1 now do the same for epubs 2014-09-05 16:35:57 -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 8d71f65351 update landing page news 2014-08-30 13:38:53 -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
eric 73c616092d campaign.add_ask_to_ebfs for pdfs 2014-08-28 15:29:41 -04:00
Raymond Yee 7b7c050fb2 Merge pull request #379 from Gluejar/edition_errata
Edition editing errata
2014-08-13 22:30:49 -07:00
Raymond Yee edb769317d Merge pull request #375 from Gluejar/new_campaign_options
no contrib form if the ask is all zero
2014-08-07 15:58:22 -07:00
eric ff7ffdf4e1 just get rid of the silly status icon 2014-08-06 17:44:11 -04: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 229301d4df add "feature this" to edit tools 2014-08-06 15:59:57 -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
eric aa84366418 no contrib form if the ask is all zero 2014-07-25 14:43:54 -04:00
eric 8642a9d7ca update news 2014-07-24 15:25:33 -04:00
eric 0971a8c7ba corrected the label 2014-07-24 15:22:26 -04:00
eric 81e5b28a32 make the description edit note context sensitive 2014-07-24 15:20:59 -04:00
eric fa2c50dfea there's no publisher in edition edit form 2014-07-24 15:17:36 -04:00
eric 3d7b56248d fix bad html 2014-07-24 15:01:29 -04:00
eric 632b7efdc8 set width of publisher logo 2014-07-24 14:57:14 -04: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
eric 2aed378814 fix the root problem 2014-07-22 16:20:44 -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 776f343fd7 forgot to add opds.xml 2014-07-11 15:13:09 -07:00
Raymond Yee 806e24dc80 Merge pull request #367 from Gluejar/OPDS
Opds
2014-07-11 14:13:13 -07:00
Raymond Yee 1a40583a44 Merge pull request #369 from Gluejar/isbn_input
isbn input now accepts dashes and isbn10, fixes bad check digits
2014-07-10 13:03:52 -07:00
Raymond Yee 84a102c640 Merge pull request #368 from Gluejar/featured_ebook
Featured ebook
2014-07-09 10:19:01 -07:00
Raymond Yee 3cdae2d6bb Merge pull request #366 from Gluejar/improve_rh_experience
Improve rh experience
2014-07-08 13:32:18 -07:00
Raymond Yee e216728ab8 campaigns -> campaign(s) in case only 1 campaign. 2014-07-08 13:28:49 -07:00
eric 21ac432d09 isbn input now accepts dashes and isbn10, fixes bad check digits 2014-07-04 20:29:42 -04:00
eric 9e98651039 improve open campaign UI 2014-07-03 21:36:52 -04:00
eric 461321c0bb Added dynamic contents to assist in navigation 2014-07-03 21:20:36 -04:00
eric 908bb7974f make the rest of the checklist dynamic 2014-07-03 21:07:50 -04:00
eric 77a4ef1c09 address "opening a campaign" comments
"hastens" isn't quite right; adding a tooltip to the delete function
would require mucking with django-selectable, and that will take more
time than its worth.
2014-07-03 20:26:36 -04:00