Commit Graph

146 Commits (master)

Author SHA1 Message Date
eric e82c389236 make sure to queue the notification emmisions
so that we don't need the emit_notices cron job
2018-06-20 15:57:34 -04:00
eric 3337de9a2e Merge remote-tracking branch 'Gluejar/master' into dj111
# Conflicts:
#	core/tests.py
#	payment/tests.py
2018-04-25 16:23:00 -04:00
eric 680caad71d deprecations 2018-04-19 21:27:20 -04:00
eric 39fdd9683a rip out dead code 2018-04-19 12:24:34 -04:00
eric e015539fee change language about "gift credit" 2018-02-07 16:44:29 -05:00
eric ce003c5607 revise rh signup workflow 2017-11-13 15:30:00 -05:00
eric b5e52effd9 optimize id access
See
https://docs.djangoproject.com/en/1.11/topics/db/optimization/#use-forei
gn-key-values-directly
2017-10-28 18:33:58 -04:00
eric db97a98ae8 https 2017-07-27 10:33:13 -04:00
eric f65c7735f8 handle donations for failed charges 2017-04-04 18:39:40 -04:00
eric 417f9eac58 add donation box to homepage 2017-02-13 13:33:26 -05:00
eric 09fe1a5d32 switch from deprecated get_model a app registry 2016-07-24 18:39:36 -04:00
eric ff38f063d0 update noftifications
needed a new way to populate the noticetype table because of signal
deprecation
2016-07-22 18:44:54 -04:00
eric a8cab6c0ae get google oauth2 working 2015-04-07 22:55:30 -04:00
eric ea5adba871 add notifications for unredeemed gifts 2015-01-23 13:11:19 -05:00
eric f18acfc091 notify the giver when the gift is redeemed
migration needed
2014-12-19 15:13:54 -05:00
eric 1c651f2458 everything more or less works except resifting 2014-12-18 01:07:59 -05:00
eric 41163d81a2 purchase and provisioning the gift 2014-12-16 14:18:51 -05:00
eric 878970df4b notification cleanup 2014-03-14 14:28:21 -04:00
eric 5e916e945d [fix #62816484] don't put it on reserve if it's the library buying 2014-03-14 12:39:49 -04:00
eric 1c9c953e30 fix email notice 2014-02-21 15:23:56 -05:00
eric 678eb02847 Thanks works with anonymous user 2014-02-20 15:56:10 -05:00
eric 737cf91c66 complete switch to "Faves/Favorites" language 2014-02-19 23:16:28 -05:00
eric b5fd630bfc Thanks mostly works. 2014-02-19 22:18:23 -05:00
eric b3465ea084 search code for dependence on deadline being not null 2014-01-15 17:59:45 -05:00
eric af8fe05c54 fix same email bug
This bug [#63071834] was caused by a bug in Registration 1.0, which
fires the account_activated signal twice. There's already a pull
request fixing this bug.

In reviewing this handler, I realized that all the other reg code is in
library_auth, so I moved the same_email code there. I also decided that
the utility of attaching to the old email address was insufficient to
over come the risk of people stealing accounts by messing with social
auth.
2013-12-30 11:49:04 -05:00
eric 2892a22824 change terminology from "donation" to "gift" 2013-12-13 15:15:35 -05:00
eric 0dad79a3d4 fix bug comparing dates with times 2013-11-14 12:38:58 -05:00
eric e9de656bfc make sure current_total gets updated 2013-11-12 14:58:11 -05:00
Raymond Yee 073b618fd8 must preface timedelta with datetime 2013-11-08 21:30:18 -08:00
eric 0840a1fd71 implement holds. Also fix borrow view that didn't specify work. 2013-11-08 12:13:34 -05:00
eric ca540c4cb4 wired up claim notifications [#37257639] 2013-11-06 14:58:50 -05: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 c79572e8e4 notifications when user joins library or user borrows a book 2013-10-31 12:26:43 -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 aad6d72207 Merge branch 'master' into b2u_download
Conflicts:
	core/signals.py
2013-09-05 22:56:46 -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 f8df110163 only watermark on purchase 2013-08-29 11:57:41 -04:00
eric e51fa1190e wired watermarker into file uploads. migration needed 2013-08-26 23:56:01 -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 94eb6aeab0 Demphasize "wishes" on the website in preparation for B2U 2013-08-18 18:10:25 -04:00
Raymond Yee 46d1d4f767 Merge branch 'master' into expiring_cc
Conflicts:
	payment/models.py
	payment/tests.py
2013-07-08 10:52:44 -07:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
Raymond Yee a3cc502924 get rid of AccountTest0
renamed notice to Credit Card Number Updated
actually save account in update_account_status
2013-05-20 13:58:21 -07:00
Raymond Yee 7265488484 Merge branch 'master' into expiring_cc 2013-04-26 08:58:47 -07:00
Andromeda Yelton aca759447d test for staffness in template 2013-04-24 11:28:05 -04:00
Andromeda Yelton 80ee477198 disambiguate staff and RH 2013-04-23 10:22:08 -04:00
Andromeda Yelton 516f867d87 removing word 'official' 2013-04-23 10:07:59 -04:00
Raymond Yee 3b900e2328 Align names signals.py with those in the short.txt for notices 2013-04-17 13:24:43 -07:00