Commit Graph

2525 Commits (e6eaa244407941a561c19422e5d2f1567a101b87)

Author SHA1 Message Date
eric 44f3fadb49 use wish list apparatus to set keywords 2014-12-10 23:27:49 -05:00
eric 7ddaa7174d link subjects page to facets. 2014-12-10 19:29:27 -05:00
eric 7a2a05c421 allow facets to have spaces 2014-12-10 17:45:19 -05:00
eric 8c9bccc1f0 keyword facets!
for example, /free/kw.Fiction/
2014-12-10 17:14:28 -05:00
eric 27dfe6e9e9 add autodiscovery 2014-12-06 15:07:19 -05:00
eric 70d4506365 move path parsing to facets 2014-12-05 18:36:45 -05:00
eric 75fab489f1 fix display of license url, title and labels 2014-12-03 13:18:29 -05:00
eric f86da03eef added tests 2014-12-03 11:47:59 -05:00
eric af83e6a8c0 Rip out CCList, replace with facets 2014-12-03 10:15:38 -05:00
eric 2f37d1d670 restyle the refine box 2014-12-02 21:56:45 -05:00
eric 8e23f937f8 auto generate refine box 2014-12-02 16:09:30 -05:00
eric 8194d3b7cb Make Facet headers look right 2014-12-02 00:10:55 -05:00
eric eefcee6f32 Merge branch 'master' into facets 2014-12-01 16:08:12 -05:00
eric 7913b7e38c wired license facet block 2014-12-01 16:07:41 -05:00
eric c4649b2d58 fix bugs in editions management auth 2014-11-28 11:12:29 -05:00
eric a7c9c5a6d7 add license art libre
Also fixed a mistake that left gfdl off of the ebook choices list.
correct spelling is "license art libre"
2014-11-23 16:44:59 -05:00
Raymond Yee a0e439db33 Merge pull request #417 from Gluejar/more_info
track more stuff:  Se tests run ok
2014-11-21 11:19:43 -08:00
eric c87004122d add GDFL to campaign choices
needed for framasoft translation of a Stallman book
2014-11-20 21:34:19 -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 7e1c5eeec9 add github and wikibooks to allowed ebook sources 2014-11-17 11:51:36 -05:00
Raymond Yee db969f859d Merge pull request #412 from Gluejar/privacy
I will do the merge to test the dropbox functionality on just.
2014-11-14 14:43:27 -08:00
eric 3a465cf074 dash in hostname is not an edge case 2014-11-13 10:19:53 -05:00
eric bca0864d6b update news link 2014-11-11 00:39:07 -05:00
eric 080dde1dd0 might as well go all the way on avatar privacy
for download page only
2014-11-10 13:40:25 -05:00
eric 72f066ed73 self-host drm-free 2014-11-10 12:31:36 -05:00
eric 5a095c6110 self-host dropbox assets 2014-11-10 12:27:57 -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 3c295a016a no need to invoke twitter tracker 2014-11-07 14:27:49 -05:00
eric e41dd676c8 add stub record indicator 2014-11-03 16:29:36 -05:00
eric c711747916 show marc download for b2u 2014-11-03 16:06:25 -05:00
eric fc261b0830 better descriptions 2014-11-03 15:22:53 -05:00
Raymond Yee a666427497 Merge pull request #404 from Gluejar/marc_package
Marc package
2014-10-31 12:55:46 -07:00
eric f9b785e69e fix user pref display
also add link to librarian settings
2014-10-31 13:52:19 -04:00
eric fafd37a973 Merge branch 'master' into marc_package
Conflicts:
	core/marc.py
	static/css/campaign2.css
2014-10-30 12:38:53 -04:00
eric 97e3260c2b [#29780355] no Why unglue this? if unglued 2014-10-29 15:41:51 -04:00
eric 5c23d888c7 always show GR, LT links 2014-10-29 15:21:06 -04:00
eric c5bb7220f2 don't link cover to google books if own cover 2014-10-29 15:18:32 -04: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
Raymond Yee 78ddf22c18 Merge branch 'master' into stub-marc 2014-10-22 02:04:00 +00:00
eric 892b970ae1 can download all records 2014-10-20 23:30:20 -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
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
eric 6a9c89efb2 no more creencasts in rh tools
they were out of date; the embed instructions are still in faq
2014-07-03 20:05:47 -04:00
eric c105b0839d fix test 2014-07-03 16:36:36 -04: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 0b918fabe0 notice changed to reflect that we're not checking each claim 2014-06-20 15:39:20 -04:00
eric 420cbdf448 send rh to rh page after claiming work 2014-06-20 15:37:23 -04:00
eric 6cb8daf1b4 clean up instruction on rh tools page 2014-06-20 15:30:46 -04:00
eric eeb018df4f show pricing in buy-2-unglue panel view 2014-06-17 14:39:16 -04:00
eric d3e21944b0 uniform display of pice, with cents 2014-06-17 12:21:22 -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
eric f7a5195ac3 one more try! 2014-05-27 14:24:27 -04:00
eric 8d1a9f44b0 fix dropbox on second load
The problem was that the dropbox saver checks to see if it's already
run before adding buttons. the lightbox was actually running the saver
a second time. on pages with multiple download buttons, the buttons
would get added only on the first lightbox.
2014-05-25 00:26:47 -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
Raymond Yee 49682064da Merge pull request #356 from Gluejar/add_dropbox
purchased copies need full url
2014-05-22 19:46:22 -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
Raymond Yee f0d1116d58 Merge pull request #355 from Gluejar/add_dropbox
close the anchor tags!
2014-05-22 13:38:58 -07:00
eric aa70595842 close the anchor tags! 2014-05-22 16:36:26 -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
Raymond Yee a83bd18b35 Merge pull request #352 from Gluejar/add_dropbox
Add dropbox
2014-05-22 08:58:10 -07:00
eric ba3878a4b3 remove call-to-action color on send-to-kindle if user not logged in 2014-05-21 15:24:00 -04:00
eric 314847459b remove readmill, add dropbox 2014-05-20 12:19:34 -04:00
eric b7e4b6defe can't thank the author with None
The thought originally was the user could enter 0. But that's not how
we're doing it
2014-05-19 12:09:47 -04:00
eric 358a67928a add rights for ebooks without campaigns that we list 2014-05-15 15:18:11 -04:00
Raymond Yee 4d359b53c1 Merge pull request #348 from Gluejar/list_by_license
List by license [#70951010]
2014-05-14 09:14:03 -07:00
eric 62c1538a76 refresh press links 2014-05-08 23:32:23 -04:00
eric 8ea10de26a bold the active license type 2014-05-08 13:17:00 -04:00
eric b6c58c4e35 add in active campaigns that match specific license 2014-05-08 13:10:57 -04:00
eric 9303f2639e added to page tests 2014-05-08 11:57:22 -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 c92219f673 Revert "Reverting changes made to fix double click problem -- and moving changes to fix_double_click"
This reverts commit 643d8d358d.
2014-05-07 15:37:19 -07: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 362890e313 improve wording about revenue goal on campaign management page 2014-05-05 16:26:48 -04: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 643d8d358d Reverting changes made to fix double click problem -- and moving changes to fix_double_click
Revert "move post monkey subscribe into a task"

This reverts commit 9556c4a792.
2014-05-02 13:59:04 -07:00
eric e4cb8f741c prevent double clicks on reg button
This definitely prevents to problem from occurring!
2014-05-02 14:09:01 -04:00
eric 810882ac0f point to launch announce on blog 2014-05-01 14:19:49 -04:00
eric 10256e9eb5 remove extra links
in b2u, it was assumed that an acq=> mobi and epub, but t4u uses acqs
just for  recording a contribution
2014-04-30 17:29:41 -04:00
eric 0b4d670226 keep the book panels where they belong 2014-04-29 21:51:52 -04:00