Commit Graph

2313 Commits (e3f32da12b28800355ce4fc5d3a23bf16dcc707e)

Author SHA1 Message Date
eric 13d02b958d removed whitespace before comma 2014-01-21 10:52:57 -05:00
eric e540bb7a56 all authors now display
had to harden the work model  against works without editions to pass
tests
Lagos 2060 will need 1st author to change back
added work.authors_short to work model and to search work mock model
used work #415 as an example of a work with 3 authors
2014-01-17 21:37:19 -05:00
eric b3465ea084 search code for dependence on deadline being not null 2014-01-15 17:59:45 -05:00
eric 1b656ad76a fix missing launch button
t4u work removed the deadline in b2u campaigns, resulting in a failed
criterion for shooing the launch button. Have moved all the
launchability logic to the campaign model
2014-01-15 10:19:57 -05:00
eric 66ca501327 temp commit 2014-01-15 08:32:55 -05:00
eric 909f8c017d campaign type on rh tools page 2014-01-10 16:03:26 -05:00
eric b841c5697b T4U aware claim notices 2014-01-10 15:32:51 -05:00
eric 9949a53da3 Use named campaign types 2014-01-10 14:51:59 -05:00
eric 40aa1ba79e finished, I think, with t4u public documentation (except contrib page) 2014-01-05 20:43:18 -05:00
eric 0e88f06a6a proof read 2014-01-05 15:53:30 -05:00
eric d046d645d1 More t4u documentation 2014-01-05 15:44:28 -05:00
eric 8f1eeb8aa6 more edits for thanks4u documentation 2014-01-04 20:57:04 -05:00
eric 7b2134c2d4 faq 2014-01-03 19:59:27 -05:00
eric f3a04aff99 Merge branch 'master' into thanks4u_ 2014-01-03 18:47:51 -05:00
eric 70004a0f0f can create a THANKS campaign 2014-01-03 14:15:26 -05:00
Raymond Yee 7d7cbfc7f8 Merge pull request #275 from Gluejar/bugfixes
Bugfixes
2013-12-31 11:21:11 -08:00
eric b8c7b8afa7 add a page that lets rhs see the premiums earned by ungluers 2013-12-30 21:51:32 -05:00
eric 073e9664c0 fix test for ISBN 2013-12-27 16:35:23 -05:00
eric 65098b2e31 ebookday! 2013-12-25 19:38:37 -05:00
eric 706a0d1fc6 A list just for creative commons 2013-12-25 19:38:18 -05:00
eric e51c3ad106 this list was just duplicating the unglued list 2013-12-25 19:37:54 -05:00
eric 1117ecd93a fixed pledge button showing for non-active campaigns 2013-12-25 17:38:27 -05:00
eric b8a2b564f6 not noticed because never loaded properly
must have had fried brain when doing this
2013-12-20 18:01:15 -05:00
eric 372da6ba48 this was a bug we never noticed! 2013-12-20 17:49:01 -05:00
Raymond Yee eb416e75dd Merge branch 'master' into switch_watermarking 2013-12-19 18:02:43 -05:00
eric a05c3d27f1 Merge branch 'switch_watermarking' into thanks4u 2013-12-18 16:06:30 -05:00
eric 4927801a77 fix bug in OpenCampaign
I had added a prefix to this form, neglected thorough testing, did
better testing this time.
2013-12-18 13:02:57 -05:00
eric 973d2c3bc0 made watermarking optional [#62120182]
apply migrations
2013-12-18 12:34:53 -05:00
Raymond Yee 0d28fbab7e Merge branch 'master' into ban_disposable_emails 2013-12-18 08:54:11 -08:00
eric 2d9a50051b fix raymond's nits 2013-12-18 11:17:54 -05:00
Raymond Yee dd30ed81c2 Merge branch 'master' into test_credit 2013-12-17 15:53:54 -08:00
eric 84d1410f1c in metrics, give better info on new users 2013-12-17 00:19:56 -05:00
eric abfbc4101c Merge branch 'master' into ban_disposable_emails
Conflicts:
	libraryauth/urls.py
2013-12-16 16:44:13 -05:00
eric b9c54ead8b deny registration to robots that try to search for the registration page. 2013-12-16 16:27:19 -05:00
eric a68da46b96 make library admin easier to use 2013-12-15 02:33:16 -05:00
eric 5a43c46675 consolidated and renamed libraryauth template tags 2013-12-15 01:43:17 -05:00
eric 440153f5dc Merge branch 'master' into test_credit 2013-12-15 01:27:59 -05:00
eric 82443593ea make zeros show 2013-12-15 00:46:50 -05:00
eric 1598f181d8 assorted updates 2013-12-15 00:31:43 -05:00
eric 40e611bac5 revive the gift/donation credit funtionality, at least for b2u campaigns
The reason for doing this is so a library can put in money with one
check, then use it up gradually. (we get to pocket the fees that would
go to stripe) One change here- in b2u there is an extra click to get to
download page, even if no gift credit is involved - this way the user
knows what and how he's bee charged
2013-12-15 00:31:06 -05:00
eric 223c005b86 simplify and update slideshow 2013-12-14 13:24:29 -05:00
eric 2892a22824 change terminology from "donation" to "gift" 2013-12-13 15:15:35 -05:00
eric 8c974ca343 moved library list generation into a template tag
previously, if you created or updated a library, the list
(/libraryauth/list/ )would not get updated
2013-12-13 14:25:18 -05:00
eric 4836c6f8df add info 2013-12-12 10:52:42 -05:00
eric c7e1d6a674 fix typo 2013-12-12 10:27:33 -05:00
eric 9440f88d67 https://ahrefs.com/robot/ got stuck in our site. 2013-12-11 11:52:48 -05:00
Raymond Yee 314a8d6eb4 Merge pull request #256 from Gluejar/creat_library
ask user to sign in before showing them library validation --> ok let's merge to try out on just
2013-12-03 14:07:45 -08:00
eric 4d2f2b4fed ask user to sign in before showing them library validation 2013-12-03 13:50:12 -05:00
Raymond Yee a7db1790e7 Merge pull request #255 from Gluejar/creat_library
Create library
2013-12-03 08:28:26 -08:00
eric 02103a8a29 show approval status 2013-12-02 10:28:58 -05:00
eric 8b53581169 clean up instructions 2013-12-02 10:12:22 -05:00
eric 45d96f21bc Add explanation of verification options 2013-12-02 00:46:25 -05:00
eric 8a9b29946c spelling correction 2013-12-01 19:42:19 -05:00
eric 36df27cbc2 surface admin links 2013-12-01 19:22:42 -05:00
eric ff0f7e5446 can now create and admin user validation 2013-11-30 15:40:45 -05:00
eric ccb1f0dd86 create and edit Library objects, which now have names and owners 2013-11-27 22:14:52 -05:00
Raymond Yee 42694299e5 Add missing {{ acq.work.title }} to library_reserve/full.txt 2013-11-26 16:53:26 -08:00
eric af553056e8 update pledge_failed notices 2013-11-25 13:29:31 -05:00
eric dd83434282 Fix error handling in Pay 2013-11-25 13:01:16 -05:00
Raymond Yee 2959b68549 Merge pull request #246 from Gluejar/b2u_ungluify
B2u ungluify
2013-11-15 15:59:05 -08:00
eric 6787ccd5d8 faq: Why don't you use Paypal or Amazon? 2013-11-15 13:43:38 -05:00
eric 47dd298a78 update campaign successful notifications 2013-11-15 12:06:06 -05:00
eric efea7d0198 on success, add a cc license, watermark (and generate mobi), and save 2013-11-14 23:16:55 -05:00
eric c6edd83884 Merge branch 'master' into b2u_ungluify 2013-11-14 14:58:22 -05:00
eric c5eee08034 edit wording 2013-11-14 14:58:02 -05:00
eric 5d4539b305 enable ebookfile download and secure ebookfile storage 2013-11-14 14:48:16 -05:00
eric 8bb514a401 somehow the "borrow" function wasn't tested in "reserves" 2013-11-12 17:28:07 -05:00
Raymond Yee 0875482611 Merge pull request #242 from Gluejar/library_agreement
added docracy links
2013-11-12 10:55:14 -08:00
Raymond Yee dd5d1630b5 Merge pull request #238 from Gluejar/fix_email_change
didn't have a template for a failed email-change
2013-11-12 10:49:15 -08:00
eric 510f0a2d41 added docracy links 2013-11-12 11:35:12 -05:00
eric 1713a9fbb2 prettier 2013-11-11 14:09:41 -05:00
eric 264c7c9946 didn't have a template for a failed email-change 2013-11-11 14:01:40 -05:00
eric 4582537f05 add onhover explainers to ungluing date and amount to go
on work and purchase pages
2013-11-09 20:34:13 -05:00
eric 00693f7a23 Merge branch 'master' into reserves
Conflicts:
	core/models.py
2013-11-08 16:07:29 -05:00
eric e5a9b5384f change alert messages 2013-11-08 13:38:07 -05:00
eric b14122613e fix tests 2013-11-08 12:49:22 -05:00
eric 0840a1fd71 implement holds. Also fix borrow view that didn't specify work. 2013-11-08 12:13:34 -05:00
Raymond Yee fe17499af8 Merge pull request #233 from Gluejar/epub_errors
improve bad epub error handling -- Se test runs -- passing to Jenkins
2013-11-08 08:20:19 -08:00
eric 275f299f81 campaign setup cleanup: was broken when more than one claim existed 2013-11-07 13:35:35 -05:00
eric e6692f7932 This was causing reserved licenses to be immediately borrowed 2013-11-07 13:32:00 -05:00
eric 30f7f2c4ba Raymond's editis 2013-11-06 15:34:11 -05:00
eric 43ea692802 It turns out that "congratulations" triggers spam filters 2013-11-06 15:22:30 -05:00
eric ca540c4cb4 wired up claim notifications [#37257639] 2013-11-06 14:58:50 -05:00
eric 499378ccf7 improve bad epub error handling 2013-11-05 00:57:15 -05:00
eric 1944f1dd9e Address AM 11/4 comments 2013-11-04 13:24:43 -05:00
eric dd84c36418 subsume calculator view into faq view 2013-11-03 00:27:52 -04:00
eric b5db02e1d0 incorporate AM suggestions into FAQs 2013-11-03 00:07:52 -04:00
eric ebea84427a repeated "visited the" typo 2013-11-02 15:31:28 -04:00
eric 0f38e35368 no empty-list slideshows on library page 2013-11-02 13:31:39 -04:00
eric f1a5a89ba7 update purchase notification to indicate multiple copies 2013-11-01 16:32:10 -04:00
eric 6bdbe1d046 user can buy multiple library licenses [#59827932]
also, some logic needed cleaning for setting expires on reserves
2013-11-01 16:15:01 -04:00
eric 143b24c368 acquired ebooks failed to show if wishlist empty [#59972462]
some complicated interaction with wishlists because this template
copies a user's
2013-11-01 14:33:52 -04:00
eric 6ce980810e library_join notification to library should differ from not to user 2013-11-01 14:30:41 -04:00
eric c79572e8e4 notifications when user joins library or user borrows a book 2013-10-31 12:26:43 -04:00
Raymond Yee 0d103f2768 Merge pull request #225 from Gluejar/library_inserted_page
added cases for library licenses
2013-10-30 14:55:14 -07:00
eric 75ef87a11a added cases for library licenses 2013-10-30 11:44:02 -04:00
eric a73e62f5d0 add links to calculator 2013-10-30 09:53:02 -04:00
eric 2f8d4bc0c4 [finish #59785084] review campaign instructions 2013-10-30 09:12:04 -04:00
eric 7254dcd55e list of library users
visible to other library users and unglue.it staff
2013-10-27 13:15:18 -04:00
Raymond Yee eacb801af9 Merge pull request #221 from Gluejar/add_libraries
Add libraries
2013-10-22 16:02:26 -07:00
eric 0d81e22ff1 add "reserve" to purchase page 2013-10-20 14:18:17 -04:00
eric 53d9f2c8be library ungluer list is library members 2013-10-19 21:01:10 -04:00
eric 76562f83ad fix test errors 2013-10-19 17:27:53 -04:00
eric cc8375bf4a bookpanel reflects in-library and out on loan state 2013-10-19 16:54:09 -04:00
eric 6e7344d8a4 and now, you can borrow a library book! yay! 2013-10-18 15:35:48 -04:00
eric 60cd2f626b borrowability reflected on work page 2013-10-18 13:33:47 -04:00
eric 93d128102e display of borrowability and library holdings
needed another date column on acqs to manage this
bookpanel getting complicated- moved some logic into tempalte tags
library page now shows b2u books it owns
"library" has its own view now
2013-10-18 12:36:55 -04:00
eric 6910f1aa0c cleanup of supporter view 2013-10-17 12:44:47 -04:00
eric 90e1e56405 <pre> section was causing width overflow, added calculator link 2013-10-17 08:39:21 -04:00
eric b9b5f9e389 download changes a reserve to a borrow 2013-10-16 22:53:47 -04:00
eric c2649f6ab2 implemented borrowing methods, "BORROWED" license acq, RESERVES
includes a schema migration!
2013-10-16 22:48:29 -04:00
eric e6573ac0c5 library user can buy a library license 2013-10-15 16:18:30 -04:00
eric 99c7b73d4a purchase page reflects library membership and purchased status 2013-10-14 22:51:48 -04:00
eric 4710c5d413 Merge branch 'master' into add_libraries 2013-10-14 18:20:14 -04:00
eric 6e5eab447c whoops! more tou changes 2013-10-14 13:43:08 -04:00
eric 882feda6c3 now reviewed by attorney 2013-10-14 11:22:42 -04:00
eric b1d8b2338a list of unlguit libraries at libraryauth/list/ 2013-10-12 22:39:47 -04:00
eric c552057291 comments page gets some small tweaks
Going to use this page as a model for the library list.
2013-10-12 20:31:05 -04:00
eric 29d000b39b fix test for libraries 2013-10-12 19:14:17 -04:00
eric 157d41eead make the purchase options reflect user libraries 2013-10-11 17:50:54 -04:00
eric a57fa7e822 one more nit 2013-10-11 15:19:56 -04:00
eric fcc1876859 Revisit manage_campaign page for b2u 2013-10-11 12:50:59 -04:00
eric d99aaa97c9 card number authentication!
create libraries and administer them in admin.
card patterns mimc ezproxy format
http://www.oclc.org/support/services/ezproxy/documentation/usr/number.en
.html
after you join a library, it appears in your explore bar
2013-10-10 02:41:50 -04:00
eric 439169a1ab Implemented IP authentication
libraries get associated with a library_block table (IP ranges)
moved superlogin here
IP stuff mostly copied from
https://github.com/benliles/django-ipauth/blob/master/ipauth/models.py
The model is that you need to be in an allowed IP range to "join" a
library. Once you've joined, you can use your login from anywhere. to
use that library.
Asign IP ranges in admin
2013-10-08 15:37:22 -04:00
eric 2f703a7815 Merge branch 'master' into add_libraries 2013-10-07 12:35:55 -04:00
eric 56a4856080 wording tweak 2013-10-07 12:35:26 -04:00
eric ec7a3155b2 exclude incomplete transactions from event display on landing page 2013-10-05 11:41:12 -04:00
eric 19101a3109 ungluing date calculator and many documetation improvements 2013-10-03 22:54:25 -04:00
eric 076ce51efd draft of revised TOU 2013-10-02 17:21:22 -04:00
eric b7393e7825 change copyright notice per lawyer 2013-10-02 12:09:26 -04:00
eric ab473f5411 libraries, phase 1.
admin can create a library connected to a user
other users can "join" the library
2013-10-02 12:02:08 -04:00
eric 6b5dbc16c0 we haven't used some info and will have better conversion as we ask for less info 2013-09-27 14:03:01 -04:00
eric 0d14b9ac3e mis-spellings, we're not selling pdf yet 2013-09-27 14:01:10 -04:00
eric b091612605 Merge branch 'master' into b2u_errata
Conflicts:
	frontend/views.py (kindle config bug already fixed)
2013-09-26 09:57:06 -04:00
eric 93b7ffc951 Improve language on campaign pages, make text bigger 2013-09-26 09:49:39 -04:00
eric 5976803cb4 fix bug in kindle config, improve doumentation 2013-09-26 09:36:03 -04:00
eric 9b5a254f1d Adapt marc record machinery to B2U titles 2013-09-23 12:39:47 -04:00
eric be711e142d cleaned up marc file storage issues before implementing b2u
MIGRATION!
1. multi-record marc files no longer saved, sent to user directly
2. works with both s3 and file system- default storage by name used for
both read and write.
3. stupid storage of computed filenames/urls eliminated
4. removed verbose logging
5. no need to have pymarc write to a StringIO
6. the MARCRecord.clean method didn't do anything
2013-09-23 00:34:51 -04:00
eric 99fe9f9011 rewrite license page 2013-09-20 17:46:06 -04:00
eric ed341884ea add license page to epub before sending it for watermarking 2013-09-15 21:43:58 -04:00
eric 2e58255e6c readmill downloads can't have mixed redirects 2013-09-11 11:31:20 -04:00
eric 4038ea53e7 fix Kindle_config 404 2013-09-09 15:48:27 -04:00
eric 4509cea6dd only 2 o's in ebook 2013-09-09 15:20:58 -04:00
Raymond Yee 2329f9b088 Merge branch 'master' into preview_pledge 2013-09-09 08:32:56 -07:00
Raymond Yee 2b11153fc6 Merge pull request #205 from Gluejar/messages_notices
Notices, not Messages
2013-09-09 08:30:38 -07:00
eric 63f0ee3794 Remove pledge form error when campaign is not active. [#56565596] 2013-09-09 09:54:16 -04:00
eric de17f02298 [#56528504] fixed lanfing page for purchases 2013-09-06 22:19:46 -04:00
eric f98684e1f8 Notices, not Messages
A review of the entire site reveals that we use "Messages" in only one
place, the sitewide menu item leading to the notices page. Most of our
Notices are more acurately described as notices than as messages, so
will change the menu item.
2013-09-06 16:06:10 -04:00
eric 4b3c899088 [#55666760] make fund-complete page sensetive to action 2013-09-06 13:58:23 -04:00
eric 6294c15aad TGFT 2013-09-06 00:14:06 -04:00
eric b801eb4927 add acq handling to download
needs migration. should migrate core back to 0052 to refresh acq table

download page no longer passes ebook ids to send_to_kindle, url
calculations are now done in view
2013-09-05 22:54:11 -04:00
eric 5bb359fb1e safe_get_work not used everywhere it should have been 2013-09-05 16:14:51 -04:00
eric 0ba5c9a00e cleanup, plus tests 2013-08-27 18:03:35 -04:00
eric e51fa1190e wired watermarker into file uploads. migration needed 2013-08-26 23:56:01 -04:00
eric e5a162061d only epub files to be uploaded for now 2013-08-26 23:54:19 -04:00
eric cbc34db3d7 fix bug found by luc 2013-08-22 16:12:27 -04:00
eric 1c33c34f21 purchase complete notification, contextual wishlist active, fulfillment in signal handler 2013-08-22 14:30:56 -04:00
eric 3bdb755419 move constant to params file to improve import 2013-08-22 14:22:54 -04:00
eric bec85ff82e 1st crack at faq revision 2013-08-20 14:11:11 -04:00
eric ff2d995cd5 minor wording changes 2013-08-20 12:41:39 -04:00
eric 159ad0db05 fix tests, fix bugs found by tests 2013-08-20 01:01:36 -04:00
eric 80d78e624f remove amazon cruft to get current_total correct 2013-08-19 23:23:27 -04:00
eric 18c836d6cd connect purchases to the new Acq table which records purchases 2013-08-19 22:54:43 -04:00
eric 91f7c5f23d Remove some payment dependence on campaign details 2013-08-19 22:52:22 -04:00
eric 26c4d522b4 made the cc_date and test consistent whether its a date or a datetime 2013-08-19 16:01:32 -04:00
eric 4a3cfc6840 Merge branch 'master' into ebook_selling 2013-08-18 18:11:13 -04:00
eric 94eb6aeab0 Demphasize "wishes" on the website in preparation for B2U 2013-08-18 18:10:25 -04:00
eric d5b9f88380 move "extra data" into a json field dict to improve payment code tidieness
need to install jsonfield
note: this is https://bitbucket.org/schinckel/django-jsonfield
I tried https://github.com/bradjasper/django-jsonfield but it was not
compatible with South
2013-08-18 15:21:55 -04:00
Raymond Yee c007df0803 Merge branch 'master' into social_auth_password 2013-08-17 17:41:15 -04:00
eric c88f8165ba Merge branch 'master' into ebook_selling 2013-08-16 15:50:24 -04:00
eric 837de35375 selling now works up to purchase page 2013-08-16 15:49:44 -04:00
eric f607ab026d Make sign-up box validate and make error notices less in-your-face 2013-08-15 12:43:20 -04:00
eric d941686c50 now does password reset for a socialauth account 2013-08-14 17:29:38 -04:00
eric c415340356 change Pledge button to Purchase 2013-08-13 23:47:55 -04:00
eric 40bcf62f99 edition.ebooks is always true 2013-08-12 17:22:55 -04:00
eric 2c06139a6f make dollar/day a float validate cc_date_initial, max target prevent changes after launch 2013-08-10 16:29:58 -04:00
eric 7f325c0775 Finish B2U Campaign setup 2013-08-09 19:00:54 -04:00
eric 75c32569e2 B2U campaign percentages 2013-08-08 22:32:58 -04:00
eric c2f3910fe8 set approriate open campaign params 2013-08-08 22:32:12 -04:00
eric 587323196a Merge branch 'master' into ebook_selling 2013-08-08 20:02:25 -04:00
eric e64c128f7e Merge branch 'master' into ebook_selling
Conflicts:
	frontend/forms.py
2013-08-08 19:59:29 -04:00
eric 613c3770e0 Bake in CC Date concept according to blog post, up to campaign creation
http://blog.unglue.it/2013/08/06/a-new-kind-of-ungluing-campaign/

moving the migration...
2013-08-08 19:56:26 -04:00
eric 69f9e1838f harmonization with master for merge 2013-08-08 18:21:33 -04:00
Raymond Yee 27bc134fa4 Merge branch 'expiring_cc' of github.com:Gluejar/regluit into expiring_cc 2013-08-08 12:28:36 -04:00
Raymond Yee a9b5d51b36 Merge branch 'master' into expiring_cc 2013-08-07 22:59:37 -04:00
Raymond Yee f30d662cd9 Merge branch 'master' into marc_provision 2013-08-07 22:10:01 -04:00
eric 1bd2918bc3 Merge branch 'master' into ebook_selling 2013-08-07 15:21:57 -04:00
eric 69e3ec0722 Add path back to landing in faq menu 2013-08-05 17:41:38 -04:00
eric a1b8ac6dba change Rghts tab to More… tab 2013-08-05 17:40:42 -04:00
eric e78d5c7472 clean up account update notices 2013-08-05 12:18:51 -04:00
eric f2fbfed79e Merge branch 'master' into expiring_cc 2013-08-03 16:19:53 -04:00
eric 84c18ee65d Make sure current staff is described accurately on ungluue.it site 2013-08-01 19:28:20 -04:00
eric cf640baff8 fix problem found with token test 2013-07-29 21:38:16 -04:00
eric 313e46341b can't figure out how to get loading gif to go away, so will forget about it for now 2013-07-29 18:53:09 -04:00
eric a5cc59d6f9 filter marc records based on a user's wishlist 2013-07-29 17:59:52 -04:00
eric 9b901d838c token test for marc page 2013-07-29 16:49:50 -04:00
eric 1872180c22 add upload MARC link to work page 2013-07-29 16:35:50 -04:00
eric 8576a7fb7b Make marc records accessible from work page 2013-07-29 15:57:33 -04:00
eric 1307ae7091 move 856 documentation to template from settings 2013-07-26 22:31:41 -04:00
eric 2c75ecb9ce html nits 2013-07-26 21:01:19 -04:00