Commit Graph

2289 Commits (62c1538a765df1f25c73cc09837d3c6565dfb836)

Author SHA1 Message Date
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
eric eff880ce0b get license from database, not from the record submitter 2013-07-26 19:52:15 -04:00
eric 91e2d41b67 moved the link target pref into a library prefs only table 2013-07-26 18:30:45 -04:00
Andromeda Yelton d2f3a2547e change default 2013-07-26 16:12:24 -04:00
Andromeda Yelton 767733ea26 anon user friendly 2013-07-26 16:12:10 -04:00
Andromeda Yelton 32f6546a04 spinny thing should go away if they want to use the form again 2013-07-26 08:59:31 -04:00
Andromeda Yelton 8281d99563 edge cases 2013-07-25 10:25:14 -04:00
Andromeda Yelton 3a9e588fc7 replacing confusing field names 2013-07-25 10:18:36 -04:00
Andromeda Yelton da08afd0b8 now users can select the MARC records they want and get as single download 2013-07-24 14:52:01 -04:00
Andromeda Yelton ec57b7efee user preference affects which MARC records we make available 2013-07-23 16:07:47 -04:00
Andromeda Yelton bb5c1079b6 user can now change marc preferences 2013-07-23 12:23:04 -04:00
Andromeda Yelton 287f017551 documentation for CC/PD MARC records 2013-07-22 14:23:59 -04:00
Andromeda Yelton f18fc27f91 Merge branch 'marc_provision' of github.com:Gluejar/regluit into marc_provision 2013-07-19 15:34:53 -04:00
eric 1bebec42af what about public domain ebooks? 2013-07-19 13:13:53 -04:00
eric 4c62a2b555 catch bad file errors 2013-07-19 12:47:36 -04:00
Andromeda Yelton 9cb3dcdadf documenting how you get MARCXML from LOC 2013-07-19 09:56:47 -04:00
Andromeda Yelton 516c8c768a I can harvest files from the db instead of tempting error by entering them twice 2013-07-18 16:36:01 -04:00
Andromeda Yelton 0e143b15ba persist information about where to find AWS files 2013-07-18 15:49:54 -04:00
Raymond Yee 37ce78fda2 Merge branch 'master' into expiring_cc 2013-07-17 18:12:30 -07:00
Andromeda Yelton 54e422e217 parametrizing formats and license choices, bugfixing 2013-07-17 13:03:35 -04:00
Andromeda Yelton 87c27cecee wiring ungluify_record to front end and s3 2013-07-17 10:34:01 -04:00
Andromeda Yelton e5a907644c Merge branch 'master' into marc_provision 2013-07-16 11:43:28 -04:00
Andromeda Yelton fe2e3b72c5 argh 2013-07-16 11:42:17 -04:00
Raymond Yee dabaa2f843 update tests to account for new events (now stripe allows multiple cards/customer and now generates card related events in addition to customer events) 2013-07-15 14:52:29 -07:00
Andromeda Yelton e3b6288e23 iterating unglify script, starting to integrate into front end 2013-07-15 16:35:41 -04:00