Commit Graph

2389 Commits (aeb07049da5a2dd96e41f438f39e23ec02e601ca)

Author SHA1 Message Date
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
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 af17403e97 add links to campaigns from campaign faqs 2014-04-29 20:04:29 -04: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 ece091b812 edition editing and file upload was very confusing
hope this is an improvement
2014-04-29 14:53:18 -04:00
eric 59997cfda1 reset selected edition on campaign save 2014-04-29 14:51:49 -04:00
eric 390e6864f5 missed a commit 2014-04-28 16:31:31 -04:00
eric 2ee1a1d34d one more thing - indicate that download page is missing ebook links 2014-04-28 15:14:46 -04:00
eric 9287825d6e pdf and mobi not displayed in campaign management 2014-04-28 10:59:03 -04:00
eric d45bea58b0 add offers
needed to move book itemscope so it contains the offers
2014-04-16 16:15:19 -04:00
eric a78fdc4239 fix markup error 2014-04-16 16:14:22 -04:00
eric e12fa3f52c no-epub download page was showing bad ibooks button 2014-04-16 12:32:39 -04:00
eric 679263faa1 Merge branch 'master' into faq_revision 2014-04-11 13:09:25 -04:00
eric 7b96102e01 faq revision 2014-04-11 13:08:44 -04:00
eric 325dff59f2 fix repeated Fave button 2014-04-10 15:52:25 -04:00
eric bdde5f57e5 only meant to have explainer for landing page 2014-04-10 13:29:58 -04:00
eric bd0a315540 and the panel flipper script 2014-04-10 13:19:37 -04:00
eric 29207b7c89 update the template map 2014-04-10 13:16:11 -04:00
eric 2245e816b9 other doc pages needing added css 2014-04-10 13:15:08 -04:00
eric fc0670595a doc pages use learn more, need more css 2014-04-10 11:08:09 -04:00
Raymond Yee 90493d080e Merge pull request #323 from Gluejar/display_nits
Display nits
2014-04-09 13:58:38 -07:00
eric ed9b9953a5 html nit 2014-04-09 16:53:41 -04:00
eric 72bc22d1be Add rh link to top menu 2014-04-09 15:11:34 -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 f45f054755 bump landing page css version, tweaks
tweaks:
darker buy buttons in learn more
header for 3 ways section
2014-03-31 14:18:16 -04:00
eric 14759ac546 always show learn more to anonymous users
logged in users get still get the drop-down
2014-03-30 21:28:32 -04:00
eric 7f171c95ed revise learn_more to have dual creater/ungluer messages 2014-03-30 21:23:13 -04:00
eric 59f36bf194 noticed mistake in faq 2014-03-27 22:33:59 -04:00
eric 345b0d1682 replaced learn more block with explanation of 3 ways to free ebooks
could hire someone to make cute pictures in place of the words, but
should try this, first
2014-03-27 22:32:49 -04:00
eric b00b0b2c09 add font-awesome to landing page 2014-03-27 22:10:06 -04:00
eric 4f383c67c5 eliminate css duplication 2014-03-27 17:49:16 -04:00
eric d2cca9ff93 look before leaping 2014-03-21 09:49:49 -04:00