Commit graph

1325 commits

Author SHA1 Message Date
Samuel Clay
bb6400f59a Hooking up new elasticsearch discovery. 2024-06-30 20:27:30 -04:00
Samuel Clay
e862793e01 Merge branch 'master' into discover
* master:
  More numpy changes.
  Strip underscores from feed addresses, special case jwz
2024-06-30 12:34:14 -04:00
Samuel Clay
546f338b8c Strip underscores from feed addresses, special case jwz 2024-06-30 12:13:29 -04:00
Samuel Clay
0f579cbc03 Using sentence transformers and the MiniLM model to create embeddings for feeds. 2024-06-30 09:13:25 -04:00
Samuel Clay
55dda973da Merge branch 'master' into discover
* master:
  Allowing traffic on docker0 interface.
  Clean TXT records so letsencrypt doesn't fail
  Thresholding bounced newsletters email.
  Another type of invalid url on the widget.
  Handling broken urls on widget
  Handling broken urls on image extraction.
  Handling invalid forgot password form.
  Fixing global shared stories blurblog.
  https for stripe urls. Fixes #1865.
2024-06-29 08:19:51 -04:00
Samuel Clay
4a962dc7b7 Handling broken urls on image extraction. 2024-05-30 11:49:21 -04:00
Samuel Clay
da0275d7e6 Merge branch 'black-formatting' into discover
* black-formatting:
  Black formatting and isort
2024-04-24 09:52:22 -04:00
Samuel Clay
7165aa1bf6 Black formatting and isort 2024-04-24 09:50:42 -04:00
Samuel Clay
c63067754d Merge branch 'black-formatting' into discover
* black-formatting:
  Black formatting.
2024-04-24 09:49:17 -04:00
Samuel Clay
d1dafe7606 Black formatting. 2024-04-24 09:43:56 -04:00
Samuel Clay
573476e003 Merge branch 'master' into discover
* master: (84 commits)
  Cleanup postgres
  Adding support for hyphens in youtube usernames.
  New APNS updating cert instructions.
  Fiddling with metrics server.
  Handling broken youtube channel
  Youtube username/title
  Handling youtube usernames that are actually handles.
  Handling @handle youtube.com feeds when adding a feed.
  Users who are too far into paging now get a 404
  Updating youtube fetcher to use channels/playlists/users for everything, no longer relying on RSS/xml url.
  Updating certs.
  Handling too many feeds tasked.
  Bumping concurrency for feed fetchers.
  Icon importer also uses new consul domain.
  User not user agent
  Adding individual IP addresses from hetzner.
  Moving hetzner migration doc to archive
  Formatting
  Adding dwww
  Moving node consul
  ...
2024-04-24 09:25:45 -04:00
Samuel Clay
2f4d823303 Handling @handle youtube.com feeds when adding a feed. 2024-03-03 13:06:08 -05:00
Samuel Clay
c8162d142b Renaming discover to similar. 2023-12-27 11:41:40 -05:00
Samuel Clay
95a0acbc30 Adding similiar feeds many-to-many field. Using KNN classifier for similar feeds using user-feed-rating csv. Now to productionalize. 2023-12-27 08:24:49 -05:00
Samuel Clay
a22b25b1f9 Rounding reach score 2023-11-23 16:18:00 -05:00
Samuel Clay
bf49f47460 Faster discover feed count 2023-11-23 14:31:07 -05:00
Samuel Clay
849e3f1a76 Random feed ids. 2023-11-23 14:27:51 -05:00
Samuel Clay
6085d97a05 Only storing active feeds 2023-11-16 07:50:51 -05:00
Samuel Clay
aea20beb29 Merge branch 'master' into discover
* master: (41 commits)
  Handling missing story content.
  Android v13.1.2.
  Dashboard with saved searches for missing feeds shouldn't crash.
  Handle null is_archived flag on user details json.
  #1815 Story detail reading horizontal scrolling fix
  Android v13.1.1
  Gson proguard rules
  Android v13.1.0
  Use coroutines for thawing stories in the reading adapter
  Kt file extension
  Provide the image ok http client
  #1811 Verify error handling and show loading indicator to the user when adding a feed.
  Fix broken swipe to refresh dependency
  Use plugin information from buildSrc
  Use dependencies and constants from buildSrc
  Add buildSrc for dependency management
  Convert Groovy to Kotlin. Update dependencies
  Convert Groovy to Kotlin
  Update sub service to cancel job when requested. Execute on the IO dispatcher.
  Await for sub service termination
  ...
2023-10-09 13:34:48 -04:00
Samuel Clay
c25f3da5f1 Handling missing story content. 2023-10-09 13:34:29 -04:00
Samuel Clay
091b079b63 Asynchronously loading discover feed data. Need to show story previews and then hook up to read data. Also would like to add a folder chooser directly to add. 2023-08-13 12:28:00 -04:00
Samuel Clay
28b66f9ce6 Stubbing in discover feed icons in popover on feeds. 2023-06-28 07:45:28 -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