Commit graph

534 commits

Author SHA1 Message Date
jmath1
746f2c28f6 change UserSubscriptionFolders to OneToOneField from unique ForeignKey 2020-06-08 00:10:20 -04:00
Samuel Clay
9ca17dd3b3 Undoing commit that changed story dates. 2019-12-25 15:59:38 -05:00
Samuel Clay
fa67384f20 Only save and log compaction when necessary. 2019-06-07 17:15:38 -04:00
Samuel Clay
042fa728d4 Adding usf compact to user cleanup. 2019-06-07 15:33:01 -04:00
Samuel Clay
36d8a5b7b4 Using correct delete feed mechanism. 2019-06-07 15:15:45 -04:00
Samuel Clay
364a05febb Removing subscriptions when feed not found. 2019-06-07 14:45:42 -04:00
Samuel Clay
db461357ed Only correct dupe feeds that exist. 2019-05-27 14:42:38 -04:00
Samuel Clay
a66e9e2c09 Fixing issue where deleting feeds would re-subscribe a user down the line because the feed had a duplicate feed id subscribed but the original would get added, so deleting it would not delete the duplicate. Now rewriting duplicate feed ids to match the new subscribed feed. 2019-05-27 14:41:01 -04:00
Samuel Clay
352ba31f57 Have cachec read stories but no unread stories means all stories are read. 2018-07-10 22:32:41 -04:00
Samuel Clay
4b78e2c457 Handling All Site Stories with no unreads. 2018-07-10 22:31:04 -04:00
Samuel Clay
9af256a387 Fixing twitter dates, adding Retweeting author to twitter stories, and adding quoted tweets into retweets. Twitter support is so much better now. 2017-05-07 15:40:44 -07:00
Samuel Clay
08c897e5a1 This is it, the big kahuna of fixes. This corrects for messed up guids that are causing lots of read stories to become unread. 2017-05-01 11:39:24 -07:00
Samuel Clay
b753cf6819 This won't fix it but in the event of missing guids on feed fetch, check for stories within the mark read period. 2017-05-01 10:51:04 -07:00
Samuel Clay
b0c93e0365 Handling over-the-limit error when counting unreads. 2017-03-31 20:23:26 -07:00
Samuel Clay
068829f379 Adding missing feeds for users as part of cleanup. 2017-02-06 19:30:59 -08:00
Samuel Clay
20e100f3cb Adding a river complete endpoint to ease burden on redis db that doesn't need story cache. 2017-01-12 13:16:34 -08:00
Samuel Clay
a542924826 Merge branch 'master' into dashboard_river
* master:
  Handling error when fetching icn for bad feed link.
  Handing error when saved stories get accidentally sent for feed scoring.
  Handling MemoryError while feed fetching.
  Broken string
  Moving site name and image to bottom of folder rss stories. Also adding site title to story title.
2016-12-11 18:48:20 -08:00
Samuel Clay
95433df608 Handing error when saved stories get accidentally sent for feed scoring. 2016-12-11 18:31:44 -08:00
Samuel Clay
7ee01bd406 Updating starred counts on web in real-time. 2016-12-08 16:05:13 -08:00
Samuel Clay
10675090ef Only reload dashboard stories on new stories, not just read stories. Also sync read stories through pubsub. 2016-12-05 17:10:47 -08:00
Samuel Clay
d4daf1ac5a Merge branch 'master' into dashboard_river
* master:
  Attempting to add logging to socket.io.
  Reloading feeds when adding a subscription.
2016-12-05 13:50:36 -08:00
Samuel Clay
93fb81150e Reloading feeds when adding a subscription. 2016-12-05 12:46:09 -08:00
Samuel Clay
11b3a1edff Filling out dashboard stories to handle hidden stories. Needs focus stories handling and marking read elsewhere. 2016-12-01 14:27:18 -08:00
Samuel Clay
c7d2d5f69e Fixing bug when deleting feeds. 2016-11-25 15:03:18 -05:00
Samuel Clay
a512bc1f0d Handling deletion of feeds in folders where the parent folder has hypens (which are stripped on iOS/mobile to handle flat). 2016-06-15 16:58:07 -07:00
Samuel Clay
e3445bb134 Native Twitter support for converting the Twitter API to RSS. If you're reading this, you can test it by subscribing to twitter usernames like so: https://twitter.com/newsblur 2016-05-26 14:30:26 -07:00
Samuel Clay
8a3563766f Reintroducing correct subscriber counts. 2016-05-16 17:57:02 -07:00
Samuel Clay
8ea2c6ef55 Attempting to fix oldest cutoff mark feed read date bug. 2016-03-14 11:54:02 -07:00
Samuel Clay
ae5bca50bb Separating flat_folders and flat_folders_with_inactive. 2016-01-28 16:17:25 -08:00
Samuel Clay
88f45552e4 Adding inactive feeds to flat folders. This shouldn't break anything, since clients should be able to handle missing feeds anyhow. 2016-01-28 15:46:27 -08:00
Samuel Clay
474c381d26 I cannot believe it was a string-to-int type conversion that wasn't happening when deleting feeds. *smacks forehead* Stupid json.decode. Sorry to 85136323e2. 2016-01-28 12:31:39 -08:00
Samuel Clay
ad39df5d6d Adding purge stories to fix db corruption bug. 2015-12-26 12:53:32 -08:00
Samuel Clay
b6dc9fccbf Expiring weekly feed read counts. 2015-12-07 16:30:30 -08:00
Samuel Clay
d8abe375a2 Counting read stories on a per-feed per-feed basis. This will allow efficient usage checks down the line. 2015-12-07 16:29:52 -08:00
Samuel Clay
a998efaf6c Handling missing cutoff_date. 2015-09-03 15:47:42 -07:00
Samuel Clay
44ac8a027a Risky commit, but it needs to happen. Fixing unread cutoffs and expanding out All Stories in river. 2015-09-02 16:05:18 -07:00
Samuel Clay
b0898ce40d Fixing broken unread count updater. 2015-09-02 13:18:51 -07:00
Samuel Clay
95a962fb53 Adding premium callout in folder rss dialog and fixing in actual rss feed. 2015-08-24 14:59:13 -07:00
Samuel Clay
a44bce4860 Complete backend for folder rss. Just needs a premium message. 2015-08-24 14:59:12 -07:00
Samuel Clay
35a7d2de09 Updating fabfile with redis config needed. 2015-08-11 18:13:50 -07:00
Samuel Clay
b1a57a9bd8 No longer storing read story backup. 2015-08-06 19:04:01 -07:00
Samuel Clay
6e53a8acca Updated is_trained only when changed. 2015-07-30 18:16:28 -07:00
Samuel Clay
dc21564e39 Easing UPDATE when recounting. Also updating hugepages in postgres. 2015-07-30 18:14:12 -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
bd4e3c322e Fixing delete feeds recreator. 2015-05-26 17:57:26 -07:00
Samuel Clay
9dc3d5dac2 Adding an include_hidden parameter to single feeds and rivers, defaulting to false. Clients that don't use hidden stories but use paging as an indicator will need to account for a hidden_stories_count field, as indicating in the API docs. 2015-01-22 11:38:43 -08:00
Samuel Clay
94692b323c Merge branch 'master' into organizer
* master: (80 commits)
  Handling error when user's twitter connection doesn't work.
  Handling missing social subs caused by cached subs on android.
  Updating elasticsearch to 0.90.13.
  Checking premium status on paypal sync.
  Bumping Android to 4.1.0b1.
  Syncing offline status text with ios.
  Buffer more stories while reading.
  Fix login crash.
  Fix logout crash.
  Cap the duty cycle of expensive background services to prevent resource hogging.
  Remove status message flicker.
  Remove logging.
  Ensure stories always load more buffer on start of reading activity. Ensure story load cancels quickly on return to feed list.
  Tone down some logging.
  Fix crash if user touches reading overlay before cursor is ready.
  Fix reading progress indicator if new unreads are found during reading session.
  Fix lock crash in legacy DB.
  Ensure reading progress meter works on async load.
  Discard stale stories if a reading action happens during fetch.
  Fix crash.
  ...
2015-01-05 17:02:51 -08:00
Samuel Clay
30117c78d6 Trying out a new tfidf matcher for subscriptions. Works OK, not great. 2014-12-17 18:24:40 -08:00
Samuel Clay
334c14c39a Extracting out failing call when verifying scheduled feeds. 2014-11-06 09:46:33 -08:00