Commit graph

1311 commits

Author SHA1 Message Date
Samuel Clay
a5229ce5cb Backfilling Youtube videos for premium archive subscribers. 2024-11-04 21:32:15 -08:00
Samuel Clay
aa84a2c1b1 Don't resync stories on new sub if it already has archive subscribers. 2024-06-30 20:52:02 -04:00
Samuel Clay
546f338b8c Strip underscores from feed addresses, special case jwz 2024-06-30 12:13:29 -04:00
Samuel Clay
4a962dc7b7 Handling broken urls on image extraction. 2024-05-30 11:49:21 -04:00
Samuel Clay
7165aa1bf6 Black formatting and isort 2024-04-24 09:50:42 -04:00
Samuel Clay
d1dafe7606 Black formatting. 2024-04-24 09:43:56 -04:00
Samuel Clay
2f4d823303 Handling @handle youtube.com feeds when adding a feed. 2024-03-03 13:06:08 -05:00
Samuel Clay
c25f3da5f1 Handling missing story content. 2023-10-09 13:34:29 -04:00
Samuel Clay
5aa06c393f Adding support for subscribing to Mastodon usernames (newsblur@mastodon.social for instance). 2022-11-25 10:08:07 -05:00
Samuel Clay
855a96d633 Fixing NYPost feed by ensuring enclosures with href attrbiutes are added to stories even without content. Thanks @kleinmatic! 2022-11-23 12:21:46 -05:00
Samuel Clay
e83a8e5a9b Revert "Bumping min to fetch by 1.5X to root out 12 minute broken feed. If this succeeds, narrow down the min_to_decay and then find the feed."
This reverts commit fd16bb0b73.
2022-09-11 08:45:29 -04:00
Samuel Clay
fd16bb0b73 Bumping min to fetch by 1.5X to root out 12 minute broken feed. If this succeeds, narrow down the min_to_decay and then find the feed. 2022-09-11 04:54:35 -04:00
Samuel Clay
cdf5a36b81 Don't delete redis keys because they take time to rebuild and subs can be counted incorrectly during that time. 2022-08-10 17:45:25 -04:00
Samuel Clay
78547af24b Adding cutoff from trimming stories for memory profiling. 2022-07-27 08:19:46 -04:00
Samuel Clay
381953ee78 Bumping highlights max from 1024 characters to 16384 characters. 2022-07-19 10:00:16 -04:00
Samuel Clay
c94bb6640d Improving redis performance by reading the config. 2022-07-18 21:10:42 -04:00
Samuel Clay
3c0cab8d8e Preserve feed even if no subs. 2022-07-01 13:48:10 -04:00
Samuel Clay
0e42edeb89 Including size in feed title 2022-06-27 13:16:08 -04:00
Samuel Clay
5674fc981c Adding stories in archive to stats popover. 2022-06-09 10:18:32 -07:00
Samuel Clay
8ab3d871e7 Adding feed archive count and showing it in Statistics (with the feed byte size on hover). 2022-06-06 16:03:50 -04:00
Samuel Clay
c2f6cc3d99 Turning premium setup back on 2022-06-05 19:38:28 -04:00
Samuel Clay
e64dc781ed Ignoring premium setup for now. 2022-06-05 19:19:33 -04:00
Samuel Clay
289eedb46f Only count subscribers if none found. 2022-06-05 19:16:59 -04:00
Samuel Clay
9899816196 Fixing starting page for archives. 2022-05-24 11:40:49 -04:00
Samuel Clay
f6f0738acd Back off counting fs_size so much, only on feed cleanup (2% chance). 2022-05-21 06:22:39 -04:00
Samuel Clay
bfdfa10bfd Adding file system size (bytes) for feeds, decompressing stories to figure out their true size. Needs to be integrated into the UI. 2022-05-11 15:00:23 -04:00
Samuel Clay
16f002fd59 Oldest first now also uses feed pager unless unread only filter included. 2022-05-03 15:40:10 -04:00
Samuel Clay
de1fb57406 Finishing RFC 5005 archive fetcher (for #1109). Also fixing mongo commands and adding checks for archive subscribers. 2022-04-29 11:31:32 -04:00
Samuel Clay
5981b24588 Counting pre-archive pages. Need to format the email to better show what the user gained. And also to make it shareable. 2022-04-18 14:08:28 -04:00
Samuel Clay
ac593494db Sending all of a user's feeds through the archive fetcher to fill out their backfill, then email them the new stories. 2022-04-18 13:29:13 -04:00
Samuel Clay
43695b8cd4 Back-filling archive pages. This closes #1564. 2022-04-13 10:43:29 -04:00
Samuel Clay
f33cbcf312 Merge branch 'master' into pro
* master: (72 commits)
  Missing import
  Correctly decoding shared stories in RSS feed.
  Adding scroll to feed and story options popover (Style menu).
  Magazine view blog post.
  Refactoring story content preview with newlines preserved.
  Boosting db profiling from 1% to 5%.
  Ignore data uris for widget, they are never the big images
  Wait to strip data uri header until it's time.
  Moving encoding
  Don't double encode base64 images for widgets.
  Preserving paragraphs in magazine and grid views.
  Fixing bad instrumentation on mongo and redis logs.
  Wrong url for db profiler.
  Let's try showing only single feeds in the DB profiler to see if it's better at showing abnormalities with less noise.
  Fixing strict bug where  wasn't defined.
  Showing grid image previews. Not sure how this ever worked before.
  Grid has image if found already.
  Showing grid image on load if youtube
  Only monitor river_stories for db times
  Not hitting a db shouldnt be colored any differently than a small value.
  ...
2022-03-09 11:41:40 -05:00
Samuel Clay
2491e3bf86 Fixing youtube story content encoding bug. 2022-03-03 11:21:06 -05:00
Samuel Clay
e2cdc90e3f More potential checks for youtube videos in story image preview. 2022-02-23 16:28:16 -05:00
Samuel Clay
f403fb624e Using youtube thumbnails as image url in stories. 2022-02-22 15:50:21 -05:00
Samuel Clay
8dc3573b7d Adding active_provider field to profile to capture most recent payment provider in order to show correction options on feedchooser/premium dialog. Paypal now upgrades, just need to write messaging stating switches should happen at rewewal. 2022-02-16 09:20:43 -05:00
Samuel Clay
2792e7305a Syncing redis on premium upgrade to sync new unread date possibilities for archive users. 2022-01-13 16:56:30 -05:00
Samuel Clay
1dd921fa61 Adding DAYS_OF_UNREAD_ARCHIVE and updating all the upread_cutoff's I could find. Doesn't seem to work yet when marking an older story as unread, but there's probably a line somewhere that's preventing the unread from working. 2022-01-13 14:55:44 -05:00
Samuel Clay
3ef72e6f83 Fixing feed fetch status screen to better show how subs are being fetched. 2022-01-12 11:58:28 -05:00
Samuel Clay
f615fccdad Coutning archive and pro premiums correctly. 2022-01-11 15:56:19 -05:00
Samuel Clay
cab90d6ace Adding archive premium accounts. 2022-01-11 10:59:45 -05:00
Samuel Clay
221bf86664 Color 2022-01-11 10:48:07 -05:00
Samuel Clay
9857ddbcb5 Typo 2022-01-10 17:09:55 -05:00
Samuel Clay
db2a87df06 Counting pro subscribers. 2022-01-10 17:00:27 -05:00
Samuel Clay
6db2ed94ce Bump twitter feeds up to 2 hours to fix rate limits. 2021-08-24 17:25:31 -04:00
Samuel Clay
0cd123b60f Ignore feedburner images. 2021-07-08 13:55:56 -04:00
Samuel Clay
c6ce8cc36a Everything is smart bytes when it comes to original pages. 2021-05-12 21:19:09 -04:00
Samuel Clay
c7fac210d5 -1 minute is -1 days 23:59:00, so bumping days. 2021-05-05 14:56:08 -04:00
Samuel Clay
34c9ee712c Fixing search on docker. Also setting up docker installs to always have active subscribers so feeds are never stale. 2021-04-27 20:49:10 -04:00
Samuel Clay
ddc8563080 Boosting single subscriber feeds that publish once a month from 12 hours to 6 hours. 2021-04-20 18:46:16 -04:00