David Sinclair
0d19caa7d4
#1704 (item from Infrequent site stories opens wrong story)
...
This one took a long time to reproduce and track down; it turned out that because the infrequent stories use a magical loading parameter, they are not suitable for offline caching; the offlien stories didn’t match the fetched one, thus messing up the cached next story page.
2022-07-07 21:04:30 -07:00
David Sinclair
a84dc6ee13
#1695 (Premium Archive subscription)
...
- Changed font to Whitney.
2022-07-06 21:07:15 -07:00
David Sinclair
c5590204d8
#1695 (Premium Archive subscription)
...
- Removed confetti.
- Fixed iPad layout.
- Moved Manage Subscription to the bottom of the active subscription.
2022-07-05 20:00:20 -07:00
David Sinclair
979394be04
Merge branch 'master' into dejal
2022-07-05 19:07:45 -07:00
Samuel Clay
c318955283
Reducing redis-story chunk size down to 10 to see if it alleviates pressure.
2022-07-05 16:46:11 -04:00
Samuel Clay
eed3de0f82
Use latest unread_cutoff to fetch stories for inverting.
2022-07-05 12:14:04 -04:00
Samuel Clay
c296948ba8
Fixing issue where marking a story as unread would turn all of the stories read if the mark read date was older than unread cutoff for the user. No need to invert stories if mark read date user-specific unread cutoff is older than story.
2022-07-05 12:10:03 -04:00
Samuel Clay
27c411b5cd
Adjusting image preview on right to account for scroll bar in Split view. This one's for you @reybango.
2022-07-05 11:44:44 -04:00
Samuel Clay
a0b933ef44
Adding @nriley's safari extension for opening links in background tabs to the Goodies dialog.
2022-07-05 10:56:21 -04:00
Samuel Clay
d5cc6f5ae6
Re-enabling extension from #655 .
2022-07-05 10:51:35 -04:00
Samuel Clay
e32e581562
Cutting feed chunks in half
2022-07-05 10:25:17 -04:00
Samuel Clay
b3337aceec
Removing code when opening links that seemingly opens it in the background, but now is causing links to opening directly in the active tab. This really just needs a window.open(url, '_blank'), so if an extension wants to build background tabs on top, it should have a more direct method.
2022-07-05 10:01:15 -04:00
Samuel Clay
88030ab1f3
Validating paypal ipns.
2022-07-03 10:42:01 -04:00
Samuel Clay
fa77ff6a27
Also scrub twitter authors for xml invalid chars.
2022-07-02 13:11:25 -04:00
Samuel Clay
b26817ba77
Refactoring xml serialization.
2022-07-02 13:09:37 -04:00
Samuel Clay
80a1d57944
Remove unserializable control characters from tweets.
2022-07-02 12:58:30 -04:00
Samuel Clay
b1c8cf64cd
Changing unread cutoff date to use unread cutoff, not days of story hashes.
2022-07-02 11:36:58 -04:00
Samuel Clay
2ace633ce7
Admin panel needs ot differentiate between premiums.
2022-07-02 11:00:44 -04:00
Samuel Clay
4b950033bb
Give premium users one year to use folder RSS feeds until they become premium archive only.
2022-07-02 10:53:47 -04:00
Samuel Clay
6ed33a5a65
Stripe should consider active subscription that have bene canceled as still active.
2022-07-02 10:53:24 -04:00
Samuel Clay
e6088e93d1
plan_id, not plan.id
2022-07-01 17:31:30 -04:00
Samuel Clay
4a67bc49eb
Paypal active plan should be found during premium history search.
2022-07-01 17:29:22 -04:00
Samuel Clay
63635f42e1
Replacing @username's in tweets with links.
2022-07-01 17:00:22 -04:00
Samuel Clay
98ec837c1e
Use selected and not visible as custom handler.
2022-07-01 16:25:29 -04:00
Samuel Clay
48e413e390
Attaching custom handler on visible, so content can be rewritten.
2022-07-01 16:22:26 -04:00
Samuel Clay
d31b9e2701
Adding attach_custom_handler to make it easy to override story content handling in Custom CSS.
2022-07-01 16:14:58 -04:00
Samuel Clay
d387e8db5e
Better logging of paypal subs.
2022-07-01 15:57:09 -04:00
Samuel Clay
e566ec03e9
Python imports don't always work when overly composed.
2022-07-01 15:39:20 -04:00
Samuel Clay
add08159dc
Wrapping paypal ipn in an assertionerror check because sometimes paypal sends webhooks to ipn endpoint.
2022-07-01 15:04:56 -04:00
Samuel Clay
3c0cab8d8e
Preserve feed even if no subs.
2022-07-01 13:48:10 -04:00
Samuel Clay
fa78ec335a
Handling missing feed
2022-07-01 13:37:55 -04:00
Samuel Clay
3cf7f1e7c8
Need a feed to process.
2022-07-01 13:32:33 -04:00
Samuel Clay
1d1859db7d
Handling missing feed on exception retry.
2022-07-01 13:29:49 -04:00
Samuel Clay
f1734e3755
Handling weird exceptions from the exception_retry.
2022-07-01 13:24:47 -04:00
Samuel Clay
6dcfc2ae15
Let's trying raising exceptions from readability not working, and catching them upstream.
2022-07-01 12:51:41 -04:00
Samuel Clay
0c23b6eeb5
Handling missing subscription when canceling paypal.
2022-07-01 12:35:59 -04:00
Samuel Clay
1e2ecb19d9
Handling unparseable error in text importer.
2022-07-01 12:21:40 -04:00
Samuel Clay
fc3f027241
Handling stripe card error.
2022-07-01 12:20:10 -04:00
Samuel Clay
932b4a489c
Attempting two paypal fixes, one where ipns are sent to webhooks, and the other where webhooks are sent to ipns.
2022-07-01 12:17:14 -04:00
Samuel Clay
d9355ac6c6
Updating blog post dates
2022-06-30 16:03:19 -04:00
Samuel Clay
eadb6b9f85
Docker container needs root still.
2022-06-30 16:02:22 -04:00
Samuel Clay
ce0424149a
Pro branch to master branch.
2022-06-30 15:51:11 -04:00
Samuel Clay
7dcaef1046
Merge branch 'pro'
...
* pro: (231 commits)
Adding mark read date to premium archive blog post. Good to go, let's launch premium archive!
Updating blog, splitting premium archive and 2022 redesign into separate posts.
Need content to read json from
Moving back to c-16 server for redis-story.
Refactoring story_hashes to be more efficient with the zunionstore's.
Including size in feed title
Upping river chunk size to decrease latency.
Wrong feed ids when removing temporary unread sets.
Clearing out unread stories after being used.
Attempting to reduce redis db size by deleting unread stories list when no longer needed.
Removing stories outside a mark read date cutoff. Also slightly optimizing a check for old unread stories by checking existance instead of zrevrange -1 -1.
Removing unecessary pulling of story hashes from pipeline when we can just index into the stored set.
Updating redis query log to include response time as well. Huge improvement in redis monitoring.
Moving redis introspection to send_command, not just pack_command
Accidentally running full aggregation on chunks and not end of pipeline.
Refactoring all stories redis calls, now with 99% less traffic.
Removing dump and restore by querying on zinterstore of river hashes.
Refactoring out get_stories and its duplicate implementation and using story_hashes.
Refactoring story_hashes grouP-by_feed in prep for removing .get_stories().
Re-enabling archive redis calls.
...
2022-06-30 14:53:21 -04:00
Samuel Clay
321f842a5f
Adding mark read date to premium archive blog post. Good to go, let's launch premium archive!
2022-06-28 17:48:59 -04:00
Samuel Clay
ad28d3cae9
Updating blog, splitting premium archive and 2022 redesign into separate posts.
2022-06-28 17:40:37 -04:00
Samuel Clay
936ae4d70c
Need content to read json from
2022-06-27 21:23:26 -04:00
Samuel Clay
31884625bd
Moving back to c-16 server for redis-story.
2022-06-27 17:21:56 -04:00
Samuel Clay
0b77ec3e86
Refactoring story_hashes to be more efficient with the zunionstore's.
2022-06-27 16:16:02 -04:00
Samuel Clay
0e42edeb89
Including size in feed title
2022-06-27 13:16:08 -04:00
Samuel Clay
4081b7b278
Upping river chunk size to decrease latency.
2022-06-27 12:33:36 -04:00