Commit Graph

111 Commits (4f9a23cbc0ac45504b77f1810a054e74f36e64ba)

Author SHA1 Message Date
eric ab0c8814b4 add management command 2016-03-25 23:44:18 -04:00
Raymond Yee 45cb7d4eac [#113378215] prevent a duplicate ebooks with exact same metadata from being created by /api/loader/yaml
add dedupe_ebooks_with_same_urls.py command for deleting duplicate ebooks
2016-02-10 11:04:06 -08:00
eric a3a1a72b46 add management command to convert ungluit subjects to bisac 2015-09-21 21:04:11 -04:00
Raymond Yee 53a37b1b31 Merge branch 'master' into mobigen_integrate 2015-04-03 10:05:02 -07:00
eric 7cb0f473de remove many-commas subjects, prevent their addition 2015-01-30 11:33:22 -05:00
Raymond Yee 0b7f522232 first pass at a command to convert all the convertible campaign ebooks to mobi 2015-01-26 12:19:26 -08:00
Raymond Yee 61c0de3fbc add a command to delete subjects with non-xml characters 2015-01-22 15:48:04 -08:00
Raymond Yee 54c3742ce7 adding a command to load doab books 2014-06-06 11:37:10 -07:00
eric f27b111117 fix twitter avatars [#66896902] 2014-03-06 17:53:37 -05: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
eric 52e58daa20 move some code to indicate it's not being maintained 2013-08-18 15:16:15 -04:00
Andromeda Yelton ad69580b2d PEP 8, PEP 328. I feel better now. 2013-06-03 12:31:39 -04:00
Andromeda Yelton 53d23d9f18 grammar 2013-05-06 15:59:55 -04:00
eric 0578a40798 changed the html, need to change the management command 2013-05-03 11:50:41 -04:00
eric 5f6abec1d5 de-button the ungluers to go 2013-05-02 15:58:28 -04:00
Andromeda Yelton 3b44e643d5 put status information in de gruyter initialized campaigns 2013-04-24 14:26:23 -04:00
eric 05d37163ea despam descriptions in db
wasn't real happy with this: https://unglue.it/work/66938/ so I looked
for other spammy descriptions in the db
2013-03-07 11:37:40 -05:00
Andromeda Yelton b7721f0fa3 management command to make sure transaction.ack_name returns something sensible for OLA on /acks/ page 2012-12-19 11:00:33 -05:00
Raymond Yee 018332d508 [#37388341] First crack at displaying campaign data -- per Melinda's request 2012-10-08 17:47:55 -07:00
eric 8611f73382 give badges to users who've pledged! [#29340547] 2012-09-22 23:54:06 -04:00
eric 3d7cd7fdae management command to set active campaigns to UNSUCCESSFUL, trigger amazon notice 2012-08-09 09:47:10 -04:00
eric 3bdde8f936 finally I understand how reclustering should work 2012-08-05 18:30:13 -04:00
eric 05767741d6 take extra care for null works 2012-08-05 13:03:37 -04:00
eric 48d54fdc39 management command to list works with no isbn 2012-08-03 14:42:02 -04:00
eric 2f109bef47 add email export management command 2012-08-03 11:16:47 -04:00
eric 04335be3aa add a title filtering parameter to relookup_isbns 2012-08-02 20:44:08 -04:00
Raymond Yee aeda28bae5 Add handling for anonymity and overriding of username in acks 2012-07-30 08:05:02 -07:00
eric 184dfedda9 added override of one month OL cache [#33377581] 2012-07-27 15:58:53 -04:00
Raymond Yee e7d2589b77 updated output script for OLA 2012-07-27 09:01:04 -07:00
eric 63a8113414 management command to fix openlibrary descriptions delivered as dicts [finish #33377581] 2012-07-26 13:39:46 -04:00
Raymond Yee 495ad32122 Updated output of A-D for OLA acks 2012-07-25 16:18:39 -07:00
Raymond Yee 7f6b1fd684 refining script to produce data for OLA
add user profile tagline to acks
2012-07-25 07:15:51 -07:00
Raymond Yee abd07ec9ae a bit more documentation on how the OLA premiums break down 2012-07-23 09:40:43 -07:00
Raymond Yee 685cc36234 Now printing out a lot of info for each supporter 2012-07-20 18:45:11 -07:00
Raymond Yee 0765e6801d Now working on breaking down specific material and acknowledgement premiums for OLA 2012-07-19 16:06:28 -07:00
Raymond Yee 172e77bb6f First draft of a management command to hlep prototype how we are going to gather premium choices for OLA 2012-07-19 11:02:39 -07:00
Raymond Yee f7e49edfcb Continuing work on collecting info for OLA pledges 2012-07-18 10:49:25 -07:00
Raymond Yee 5e3cf5d7aa Latest integration of campaign data in our own db plus the spreadsheet you can download from Amazon payments
to produce CVS file
2012-07-03 07:46:42 -07:00
Raymond Yee d3da49cf74 Stepping stone to correlating payments with Amazon data
print 1 email / line
2012-06-26 19:36:14 -07:00
Raymond Yee d37792c813 [#31605173] This plugs .../pledge/work_id where work_id tied to no campaign or a campaign that is not ACTIVE 2012-06-21 10:16:51 -07:00
Raymond Yee 3988335072 Add a command to list queued notices 2012-06-21 05:18:12 -07:00
Raymond Yee ea4fc308a0 Allowing campaign.update_status to go SUCCESSFUL w/o regard to specific deadline.
Set a bookloader test to expected failure while it might be a transient error
2012-06-20 15:48:55 -07:00
Raymond Yee d56b7a6453 First pass at a django admin command to check integrity of payments 2012-05-15 07:23:02 -07:00
Raymond Yee 33642190cb Allows set_key command to set keys that already exists 2012-05-10 08:34:45 -07:00
Raymond Yee 40a660e9b6 Add a set_key django admin command to make it easier to load keys 2012-05-09 17:17:18 -07:00
Raymond Yee b289a8cfd3 Fixing how now() is being called in random_campaigns command 2012-05-02 23:49:55 +00:00
Raymond Yee decdac290c Added transaction commitment to command 2012-03-29 15:05:26 -07:00
Raymond Yee 1b9d54037a changing deprecated celery.decorators.task to celery.task.task
added a bit of documentation to core/management/commands/random_tasks.py
2012-03-29 14:51:35 -07:00
Raymond Yee a252f9d173 [#22561067] Implemented regluit.utils.localdatetime.now is by default datetime.datetime.now() (in Django 1.3) and django.utils.timezone.now() in Django 1.4+
One overrides regluit.utils.localdatetime._now to do "time travel" -- useful for testing scenarios requiring time changes (such as Campaigns)
Get rid of call references to datetime.datetime.now() or utcnow() and datetime.date.today() in favor of regluit.utils.localdatetime.now() and date_today().
2012-03-09 00:45:39 +00:00
Raymond Yee 2cae997629 Add a load_gutenberg command to load Gutenberg editions 2012-02-27 13:47:11 -08:00