Commit graph

258 commits

Author SHA1 Message Date
Samuel Clay
e067acdd83 Python's naming on the try..except..else block is almost as bad as for..else. I blame Python for this stupidity. 2016-03-20 18:03:11 -07:00
Samuel Clay
3629a7ff4d Adding auto-canceling of stripe/paypal subscription when renewing with different paypal/stripe provider. 2016-03-20 17:55:44 -07:00
Samuel Clay
a23dc55636 Cleaner spam logging. 2015-11-23 11:28:45 -08:00
Samuel Clay
9f8fceaf10 No IP is grounds for spam. 2015-11-23 11:26:22 -08:00
Samuel Clay
12ad1b1e04 Fixing IP logging. 2015-11-23 11:22:00 -08:00
Samuel Clay
1fef6d7133 Deleting users should log IP. 2015-11-23 11:20:36 -08:00
Samuel Clay
1982ffc093 Adding SVG logos. 2015-10-14 19:26:56 -07:00
Samuel Clay
2e6ff6ab78 Checking numerics in usernames. 2015-08-26 10:58:05 -07:00
Samuel Clay
b6e1e03bd5 Upgrading feedparser, cleaing up logging on feed fetch. 2015-08-24 14:27:01 -07:00
Samuel Clay
a5eda6d0b2 Fixing bookmarklet share modal dialog to work on mobile devices. Thanks @satadru! 2015-08-17 17:12:33 -07:00
Samuel Clay
2d7e539f9a Switching redis feed sub pool to sessions redis server. 2015-08-11 13:33:49 -07:00
Samuel Clay
a774cddcb3 Fixing broken sub counts when reids sub count expires. 2015-08-05 13:59:26 -07:00
Samuel Clay
3ba68122d7 Updating postgres standby commands. 2015-08-03 12:23:49 -07:00
Samuel Clay
0c7d6a1a6a Clearing dead. 2015-07-30 18:10:55 -07:00
Samuel Clay
a259e5b7cb Counting feed subscribers needs less logging. 2015-07-29 11:57:11 -07:00
Samuel Clay
a81864d8cd Fixing counts when taking into account muted feeds. 2015-07-28 20:46:30 -07:00
Samuel Clay
6256c906a4 Taking active/unmuted feed sinto account when counting active subscribers. 2015-07-28 19:56:06 -07:00
Samuel Clay
8179300d19 Renaming counter and removing unused sql. 2015-07-28 19:10:19 -07:00
Samuel Clay
a1fad2066c Separating counting feed subs and all user's feed subs. 2015-07-28 19:04:06 -07:00
Samuel Clay
cf43747b20 Adding user sub counts to redis, using new redis cache to count subscribers only when feed is entirely cached. Still need automatic conversion from postgres to redis sub counts. 2015-07-28 18:46:37 -07:00
Samuel Clay
6a20478a7f Renaming redis feed pool to redis feed update pool in prep for redis feed sub pool. 2015-07-27 18:35:25 -07:00
Samuel Clay
1a578193a4 Updating to latest pymongo and mongoengine. 2015-07-20 16:44:50 -07:00
Samuel Clay
d917fbcc47 Gifting code as first param for convenience. 2015-06-30 18:17:20 -07:00
Samuel Clay
552311517d Adding new model for gift codes. Can now use gift codes for premium accounts. 2015-06-30 16:06:10 -07:00
Samuel Clay
5b54077586 Adding email to activation. 2015-06-24 14:38:02 -07:00
Samuel Clay
a140be5ecb Adding activate_all classmethod for queued users. 2015-06-22 11:04:06 -07:00
Samuel Clay
21e7f29b5d Forcing IFTTT shares to hit ceiling of 1 story per day from free users. 2015-06-15 16:59:35 -07:00
Samuel Clay
0478ef0f1b Turning off sslv3 for paypal. 2015-05-26 12:22:50 -07:00
Samuel Clay
d9fa2b7a65 Only updating premium expire when checking. 2015-05-19 17:05:01 -07:00
Samuel Clay
d119b94c75 Adding a never_expire flag when upgrading premiums. 2015-05-18 17:27:24 -07:00
Samuel Clay
8a52f093c4 Don't bother recalculating feed's subs, as it will do that on next fetch. 2015-05-18 14:45:00 -07:00
Samuel Clay
89089ddbc2 Changing premium expiration tasks to not get bogged down by re-downloading all premium history beforehand. 2015-05-18 14:13:48 -07:00
Samuel Clay
0da18eb986 Reformatting payment reports. 2015-04-16 22:29:36 -07:00
Samuel Clay
ab2b419aca Adding yearly totals to payment reports. 2015-04-16 21:15:30 -07:00
Samuel Clay
7990620e5d Better color in premium history logging. 2015-04-16 20:29:35 -07:00
Samuel Clay
8e1ba7ec19 Fixing multiple paypal payments. 2015-04-16 20:26:35 -07:00
Samuel Clay
31d9d92b07 A better refund for paypal. 2015-04-16 19:16:20 -07:00
Samuel Clay
6dfe4a28da The one time I don't test my code I get a syntax error. 2015-04-16 19:09:08 -07:00
Samuel Clay
9cb6d1f1b9 Rejecting failed stripe payments. 2015-04-16 19:07:16 -07:00
Samuel Clay
83d18663dc No longer emailing new premiums to admin, since this is all stored in the DB anyhow. 2015-04-15 16:35:01 -07:00
Samuel Clay
b18e58d815 Switching default story layout to west from south. 2015-03-09 15:32:05 -07:00
Samuel Clay
f001bc475a Fixing paypal flag error. 2015-02-19 10:50:06 -08:00
Samuel Clay
065f12cb3e Adding check to paypal resub ipn. 2015-02-09 13:51:12 -08:00
Samuel Clay
e3c5adb38d Fixing Paypal IPN issues once and for all. 2015-01-15 14:12:21 -08:00
Samuel Clay
4d683a9870 Revert "Upgrading paypal ipn."
This reverts commit 2635ff7136.
2015-01-15 12:40:17 -08:00
Samuel Clay
2635ff7136 Upgrading paypal ipn. 2015-01-15 12:34:29 -08:00
Samuel Clay
7603293301 Merge branch 'master' into organizer
* master:
  Handling non-premium payments.
2015-01-05 17:08:50 -08:00
Samuel Clay
4a63ec9135 Handling non-premium payments. 2015-01-05 17:08:45 -08:00
Samuel Clay
2015082f5e Merge branch 'master' into organizer
* master:
  Adding temp paypal doublecheck.
2015-01-05 17:06:46 -08:00
Samuel Clay
75c281b1bc Adding temp paypal doublecheck. 2015-01-05 17:06:41 -08:00