Commit graph

4968 commits

Author SHA1 Message Date
Samuel Clay
1116569160 Adding graphic to archive thank you email. 2022-05-05 16:03:14 -04:00
Samuel Clay
6b0250ab55 Merge branch 'master' into pro
* master:
  Another Elasticsearch More Like This implementation, but it still doesn't surface anything close to correct.
2022-05-05 14:26:18 -04:00
Samuel Clay
926a3f0841 Another Elasticsearch More Like This implementation, but it still doesn't surface anything close to correct. 2022-05-05 14:26:00 -04:00
Samuel Clay
a880a24b55 All new icons for the feed list. 2022-05-04 11:27:32 -04:00
Samuel Clay
caf85b679a Merge branch 'master' into pro
* master:
  Showing reason why an original page won't load. Fixes #1519.
2022-05-03 16:50:19 -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
909722b361 Showing reason why an original page won't load. Fixes #1519. 2022-05-02 16:57:15 -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
4f69d15fcb RFC5005 fetching should be working, but the test site is changing urls to a weird http://x.com:443, so maybe we need to normalize the url? 2022-04-20 22:38:51 -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
b4c9c4e896 Time to cleanup logging on archive. 2022-04-18 14:29:08 -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
283bba5cd3 Rearranging urls for paypal. Also updating to latest gunicorn. 2022-04-11 11:01:02 -04:00
Samuel Clay
7d2a5cd206 Adding proration messaging to upgrades. I believe payments are finally done. 2022-04-08 16:08:06 -04:00
Samuel Clay
ae6bbc0aec Showing refunds and finding both paypal and stripe refunds in premium history. 2022-04-08 15:27:40 -04:00
Samuel Clay
d02825eedd Adding refunded transaction status to payment history. Stripe still needs hooked up. 2022-04-08 15:08:42 -04:00
Samuel Clay
8712e57d6a Refunding premium archive accounts that recently used paypal, as a means of prorating their upgrade. This may accidentally cancel subscriptions it shouldn't, but we'll find out. 2022-04-08 15:07:58 -04:00
Samuel Clay
6a50379239 Upgrade user immediately on upgrading from paypal premium to paypal premium archive. 2022-04-08 07:20:09 -04:00
Samuel Clay
ed0ed69aa1 Adding premium archive to home page. 2022-04-06 16:52:42 -04:00
Samuel Clay
b90501d955 Adding a paypal archive return page. Also redrawing when premium expire/renewal status changes on payment fetch in account dialog. 2022-04-06 15:56:13 -04:00
Samuel Clay
e44ed2b46b Merge branch 'master' into pro
* master:
  Rearranging urls for paypal. Also updating to latest gunicorn.
  Pulling latest docker image in a separate task.
2022-04-04 15:42:19 -04:00
Samuel Clay
f40854bd8b Rearranging urls for paypal. Also updating to latest gunicorn. 2022-04-04 15:40:04 -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
c988f599f8 Merge branch 'master' into pro
* master:
  New updates category on discourse forum.
  Fixing strict JS error, missing var statement, broken in follow requests.
  Story title customizations image on blog post.
  Blogging new gesture-based layout for iPad app.
2022-03-28 16:43:18 -04:00
Samuel Clay
8f646988fb New updates category on discourse forum. 2022-03-28 16:06:44 -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
38d2341a6c Updating premium archive email. 2022-03-17 16:54:40 -04:00
Samuel Clay
ab1481333c Randomizing reasons to upgrade. 2022-03-16 15:28:52 -04:00
Samuel Clay
778d913463 Merge branch 'master' into pro
* master: (196 commits)
  Adding count to activity for exported OPML, for #1646.
  Submitting iOS v11.1 to the App Store.
  Showing OPML backup exports and imports in activity popover. Closes #1646.
  Don't accept anything under /api/* unless explicit. This would've prevented the #1575 url miscommunication by returning a 404.
  /api/add_url for #1575.
  #1607 (widget is slow to reload)
  #1575 (include a subscribe to site page on the share sheet)
  Accepted GET or POST for /api/add_site. For #1575.
  #1575 (include a subscribe to site page on the share sheet)
  #1575 (include a subscribe to site page on the share sheet)
  Build 135
  Found another strict variable reference.
  #1515 (add private save to sharing extensions)
  #1597 (account deletion)
  #1607 (widget is slow to reload)
  #1607 (widget is slow to reload)
  Ignoring spurious server error when logging in as another user
  #1607 (widget is slow to reload)
  #1637 (moving Delete this site in story detail menu)
  #1641 (folder highlight does not deactivate upon return)
  ...
2022-03-14 16:01:47 -04:00
Samuel Clay
3a260fb2f7 Adding count to activity for exported OPML, for #1646. 2022-03-14 15:52:22 -04:00
Samuel Clay
9912f3ad8e Showing OPML backup exports and imports in activity popover. Closes #1646. 2022-03-14 11:06:01 -04:00
Samuel Clay
91f6eff3e6 /api/add_url for #1575. 2022-03-14 10:28:11 -04:00
Samuel Clay
8747c5bfd1 Accepted GET or POST for /api/add_site. For #1575. 2022-03-11 15:00:08 -05: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
685d2750fb Missing import 2022-03-09 11:02:56 -05:00
Samuel Clay
3c9e09887b Correctly decoding shared stories in RSS feed. 2022-03-09 11:02:16 -05:00
Samuel Clay
2097c5276e Boosting db profiling from 1% to 5%. 2022-03-08 13:32:49 -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