Commit graph

1690 commits

Author SHA1 Message Date
Samuel Clay
6792762e27 Refactoring story_hashes grouP-by_feed in prep for removing .get_stories(). 2022-06-23 15:35:20 -04:00
Samuel Clay
8aff53c2ba Re-enabling archive redis calls. 2022-06-23 14:38:13 -04:00
Samuel Clay
81f51f1723 Handling soft time limits while fetching archives. 2022-06-22 17:40:16 -04:00
Samuel Clay
c20eed028c Attempting to impose longer time limits for archive fetch. 2022-06-22 15:44:39 -04:00
Samuel Clay
9759bda53a Overriding time limit for archive feed fetch. 2022-06-22 15:06:30 -04:00
Samuel Clay
04544f9c9f Using correct unread cutoff. 2022-06-21 11:11:38 -04:00
Samuel Clay
82bba3f6a7 Temporarily disabling extra redis calls for archive users. 2022-05-25 18:21:42 -04:00
Samuel Clay
d65ece02d8 Left in a query that should've been higher. 2022-05-25 17:46:46 -04:00
Samuel Clay
28cc726ed4 Adding staging2 and staging3 subdomains. 2022-05-25 16:06:54 -04:00
Samuel Clay
bff567bef1 Switching to prod fonts when debug_assets is false. 2022-05-25 11:01:36 -04:00
Samuel Clay
c61019a6c9 Enabling beta.newsblur.com, cleaning up menu 2022-05-20 11:26:30 -04:00
Samuel Clay
5b5992ddd7 Adding flex to segmented controls. 2022-05-20 10:51:17 -04:00
Samuel Clay
9c115ebbb7 Adding new buttons for adding and removing dashboard story list modules. Finally get to use the right-side dashboard module. Looks great in 3 column as well. 2022-05-17 13:45:51 -04:00
Samuel Clay
f14a860a6a Stubbing in triple column decks on the dashboard. 2022-05-12 10:04:59 -04:00
Samuel Clay
1116569160 Adding graphic to archive thank you email. 2022-05-05 16:03:14 -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
3346cc10f8 Moving back to having usersub only be used when unreads or oldest first is invoked, and that uses a subscribing archive user's cutoff dates. Otherwise, just page through in order. Probably should do this for Oldest first as well. 2022-05-03 15:37:14 -04:00
Samuel Clay
03cab31143 Only use oldest unread story in unread only read filter for archive subscribers. Otherwise it will trim stories older than the oldest unread in All Stories. 2022-04-18 16:23:52 -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
ed0ed69aa1 Adding premium archive to home page. 2022-04-06 16:52:42 -04:00
Samuel Clay
ea31cef872 Fixed an issue where a feed going from 0 unreads to a manually marked unread would not show up in the river because the unread count was still marked as dirty. Now client will force an immediate feed recount when marking unread. 2022-03-29 12:25:38 -04:00
Samuel Clay
a633c0983b Taking archive unreads into account in single feeds. 2022-03-23 16:25:03 -04:00
Samuel Clay
da1f2c477a Adding user feed unreads to unread story list. That took care of the river it seems. Now for unread counts. 2022-03-18 17:36:27 -04:00
Samuel Clay
efea59efb3 Now cutting down unread story cache based on unread filter's min and max cutoffs. Less to store. 2022-03-18 17:29:35 -04:00
Samuel Clay
e58c135eb6 Rewrote user feed unread to live on redis and to change the stories coming out of UserSubscription.get_stories. Still need to update unread status and work on river. 2022-03-18 17:18:27 -04:00
Samuel Clay
7657f8ecf7 Renaming story can be marked as unread 2022-03-10 15:41:51 -05:00
Samuel Clay
d9b235498c Missing import 2022-03-10 12:04:27 -05:00
Samuel Clay
e061f410cc Stubbing in new MUserUnreadStory model. This is only for unread stories beyond a premium archive user's unread_cutoff. Need to change unread counts and get_stories to consider these stories. 2022-03-09 17:51:32 -05:00
Samuel Clay
b986d07937 Merge branch 'master' into pro
* master:
  Better handling of widget exceptions.
2022-03-09 17:49:39 -05:00
Samuel Clay
b1beddc71f Better handling of widget exceptions. 2022-03-09 17:46:22 -05: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
7581eb5dc6 Ignore data uris for widget, they are never the big images 2022-03-08 13:21:41 -05:00
Samuel Clay
3f8193984b Moving encoding 2022-03-08 13:09:24 -05:00
Samuel Clay
ca728af375 Don't double encode base64 images for widgets. 2022-03-08 12:48:57 -05:00
Samuel Clay
6f5b3b10e2 Turning off beta, deploying magazine to master. 2022-03-02 11:26:27 -05:00
Samuel Clay
170529682a Handling missing stories in starring. 2022-02-28 12:39:12 -05:00
Samuel Clay
558ca3f34a QuerySet typo 2022-02-24 12:21:24 -05:00
Samuel Clay
0528f91ada Allowing multiple story_hashes to be sent to mark story as unread and unstarred. Starring will take longer because of user tags, highlights, and private notes being top level. 2022-02-24 11:15:39 -05:00
Samuel Clay
06c25df199 No longer sending tons of mail to admins. Logging is where that goes. 2022-02-22 10:19:51 -05:00
Samuel Clay
88d07b143c Merge branch 'master' into pro
* master: (31 commits)
  Adding postgres backup log.
  Handling operation failures in flask metrics.
  Locking consul to a working version. Also changing flask status code response to handle custom status codes.
  Explicitly uploading mongo backups
  Only need date once in filename
  Rotating mongo backups
  Using full path for progress.
  Showing full path of postgres backup.
  Separating out restoring backups and storing backups.
  Moving to postgres backup directory.
  Executable postgres backup script.
  Compressing Postgres db sql backup.
  Adding date to tarball to allow for versioning.
  Correcting permissions on mongo backup
  Fixing mongo upload to s3 by using host networking mode.
  Removing unused backup code.
  Forgot import
  Adding progress bar to mongo backup.
  Refactoring aws keys for mongo backups.
  Moving mongo backups
  ...
2022-02-04 13:55:38 -05:00
Samuel Clay
8c58e3aaad Correcting url in widget on standalones. 2022-02-02 16:02:40 -05:00
Samuel Clay
99c4faaa79 Correcting story limit in widget. 2022-02-02 15:44:39 -05:00
Samuel Clay
4df9858eb0 Adding /reader/river_stories_widget which downloads the first image in each story and adds it inline as base64 encoded. 2022-02-02 15:11:50 -05:00
Samuel Clay
3940e3f2a4 Less text 2022-01-19 14:32:27 -05:00
Samuel Clay
fdeca57412 Changing cutoff dates when fetching stories, fixing issues around Oldest first for both unreads and all stories. 2022-01-18 15:25:15 -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
548ea15a9f Scheduling feed fetches immediately if found in safety net. 2022-01-12 12:04:25 -05:00
Samuel Clay
61450de5f8 Merge branch 'master' into pipeline
* master:
  Celery also has a set user.
  Setting the user for celery and newsblur_web in both prod and docker-compose so that logs are always under the right user. Fixes #1593.
  Making add_site callback optional to support iOS. #1584
  Adding check for renaming a feed that a user isn't subscribed to.
  Finishing up PostgreSQL migration. Needs to test backups.
  Handling unreadable POST for push feeds and their fat pings.
  Android v11.2
  Schedule and cancel subscription sync services based on user auth state.
  Check for authenticated user before a subscription sync.
  Subscription sync service running every 24 hours to sync if necessary the user's premium subscription state between NewsBlur and Play Store.
  Upgrade subscriptions to billing 4.0
  Subscription manager to handle billing and subscription syncs between Play Store and NewsBlur.
  #1573 Feed search favicon loading.
  Replace cursor loaders (#9)
  Fixing grafana sentry integration.
  Adding sentry grafana pluging.
  Boosting timeout for docker prune
  Don't prune docker unless needed.
  Update docker-compose.yml
2022-01-11 11:00:06 -05:00