Commit Graph

2278 Commits (810882ac0f7579f2e96f0ddc86e5bd385825ce08)

Author SHA1 Message Date
eric f8df2507ee add checker for mobi 2014-02-05 18:17:26 -05:00
eric d03e8d5097 Merge branch 'master' into unglued_b2u_mobi 2014-02-05 17:02:48 -05:00
eric fe931c7835 uploader now generates mobi for unglued b2u files 2014-02-05 17:02:21 -05:00
eric 277968acaa update link for QED 2014-02-05 15:28:00 -05:00
Raymond Yee ee45b5d198 Merge pull request #290 from Gluejar/hide_emailshare
webmaster tools didn't like emailshare links it couldn't use
2014-02-05 09:36:49 -08:00
eric ba3c85d8ac Merge branch 'master' into t4u_file_upload 2014-02-04 13:14:20 -05:00
eric c25adf2c68 webmaster tools didn't like emailshare links it couldn't use 2014-02-03 21:45:50 -05:00
Raymond Yee b5eccac247 make use of default_storage.url to get URL for cover 2014-02-01 15:47:37 -08:00
eric 4948a7961f Upload for T4U is fixed 2014-01-31 15:45:02 -05:00
eric ca4471ff55 added cover upload 2014-01-30 23:16:06 -05:00
eric 075219ace2 fix the corresponding bug in subjects, for when subjects get exposed 2014-01-30 13:05:43 -05:00
eric 3f80d24424 bug in creating new authors 2014-01-30 13:02:50 -05:00
eric 3bfbbd7653 Merge branch 'master' into t4u_file_upload 2014-01-30 11:53:20 -05:00
Raymond Yee 255d2613f8 Merge pull request #284 from Gluejar/alert_off
keep alerts up to date
2014-01-21 08:17:58 -08:00
eric 3a0b4fc4de keep alerts up to date
1. time to rest the banner alert
2. Lagos_2060 review link
3. move CC search to explore
2014-01-21 11:11:59 -05:00
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