Commit graph

3471 commits

Author SHA1 Message Date
Samuel Clay
3e14887634 Turning off refresh stale feeds. Maybe turn back on after the sub count finishes. 2015-07-29 15:31:15 -07:00
Samuel Clay
d0c7e955c7 Showing user ip in social pages. 2015-07-29 13:43:18 -07:00
Samuel Clay
a983d1afe5 Showing user agent in social pages. 2015-07-29 13:37:12 -07:00
Samuel Clay
0fd9753bfb Blurblog pages now load a little quicker. 2015-07-29 13:30:38 -07:00
Samuel Clay
e602b52a5d Typo. 2015-07-29 12:08:48 -07:00
Samuel Clay
89db8a5b9f Easing off of forcing updates when not counted in redis. 2015-07-29 12:07:22 -07:00
Samuel Clay
a259e5b7cb Counting feed subscribers needs less logging. 2015-07-29 11:57:11 -07:00
Samuel Clay
9b89a07fe1 Adding cleanup sub counts for users on cleanup. Also enabling redis sub store for all feeds. 2015-07-29 11:44:39 -07:00
Samuel Clay
98ac28d8f8 Adding random factor in to convert feeds over to redis cache. 2015-07-28 20:58:56 -07:00
Samuel Clay
f399604369 Handling only case where a recount isn't actually necessary. Still need to add in automatic feed conversion to redis subscriber cache. 2015-07-28 20:48:51 -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
ce45ed8d6c Cleaning up pipeline. 2015-07-28 19:19:58 -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
0b398f4194 Capping IP at 15 characters. 2015-07-27 18:21:40 -07:00
Samuel Clay
97b0910e67 Breaking up tasking of normal feeds and broken feeds so broken feeds are a less drain on postgresql. 2015-07-23 16:29:47 -07:00
Samuel Clay
6165f1282d Fixing broken like comment interactions. 2015-07-23 15:51:16 -07:00
Samuel Clay
487b79674c Simplifying common call to update next scheduled update. 2015-07-22 15:08:15 -07:00
Samuel Clay
9cd8124419 Combing through all updates to feeds table when fetching feed. 2015-07-22 13:53:20 -07:00
Samuel Clay
da26ecdb46 1/2 Cleaning up feed fetcher's updates to feeds table. Still need to find 6 dupes. 2015-07-22 13:18:54 -07:00
Samuel Clay
34d008d600 Adding color to postgres slowlogs. Making login a bit less heavy on the db. And fixing feed count munin. 2015-07-21 15:53:37 -07:00
Samuel Clay
35b79bcb2b Deleting expired mstats objects. 2015-07-21 15:19:09 -07:00
Samuel Clay
a64b6068a2 Handling null datetime on stats. 2015-07-21 15:17:24 -07:00
Samuel Clay
66ca1d7628 Changing resoltuion of feed counts munin to 12 hours to spare the database. 2015-07-21 15:15:51 -07:00
Samuel Clay
e41106dce3 Adding IP to admin. 2015-07-21 10:55:17 -07:00
Samuel Clay
b42d6b9182 Fixing http headers. 2015-07-21 10:38:22 -07:00
Samuel Clay
553688c629 Fixing HTTP_X_FORWARDED_FOR header. 2015-07-21 10:35:02 -07:00
Samuel Clay
3859ae154d Changing IP header. 2015-07-21 10:31:07 -07:00
Samuel Clay
0df32112fb Adding ratelimit to stats. 2015-07-21 10:20:06 -07:00
Samuel Clay
b41203afad Fixing get_or_create deprecation typos. 2015-07-21 10:04:50 -07:00
Samuel Clay
afc8703cd7 Fixing comment likes. 2015-07-20 19:15:11 -07:00
Samuel Clay
1a578193a4 Updating to latest pymongo and mongoengine. 2015-07-20 16:44:50 -07:00
Samuel Clay
0dda4d6e10 Cleaning up feed search, but still broken. 2015-07-17 14:47:22 -07:00
Samuel Clay
b51a054c1c Upgrading elasticsearch to 1.7.0, pyes to 0.99.5, and modern querying for stories. Needs a reindex. Still need to do feeds. 2015-07-17 14:01:38 -07:00
Samuel Clay
ad24d03a85 Spam cleaning on its own task. 2015-07-15 10:25:45 -07:00
Samuel Clay
a856a21e7c Adding export csv. 2015-07-14 16:20:46 -07:00
Samuel Clay
0711ba124d Whoops, forgotten import. 2015-07-09 20:09:35 -07:00
Samuel Clay
c538831f86 Switching free premiums to gift code based premiums. 2015-07-09 20:08:34 -07:00
Samuel Clay
48949f22a7 Deleting old shared stories by free users no longer using the service. 2015-07-09 18:03:30 -07:00
Samuel Clay
d8d5a33717 River needs to ignore classifiers from social feeds. 2015-07-09 11:22:01 -07:00
Samuel Clay
82fbccd1c2 Handling invalid urls for icons. 2015-07-07 13:35:00 -07:00
Samuel Clay
b27590506c Fixing notuniqueerrors. 2015-07-07 13:34:06 -07:00
Samuel Clay
94ce13183b Handling requests issue with too many redirects. 2015-07-07 13:30:46 -07:00
Samuel Clay
469e591bde Handling missing shared story when liking a comment. 2015-07-07 13:28:43 -07:00
Samuel Clay
98c5ee9c57 Adding retry to all web calls. Hopefully I don't regret this. 2015-07-07 09:21:57 -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