Samuel Clay
e4f2528b08
I don't know how manual unreads older than the unread cutoff were ever counted before removing this date check.
2022-07-07 13:44:19 -04:00
Samuel Clay
3a90f39d6e
Fixing issue with manual unreads in oldest first.
2022-07-07 13:22:39 -04:00
Samuel Clay
58be9e8415
If no subs found during unread filter, check all because we probably want it and it may have manual unreads.
2022-07-07 13:14:26 -04:00
Samuel Clay
5bb5a4ec5b
Removing read stories from unread story cache. Also removing extra +1 second to compensate for zinterstore's sum aggregation.
2022-07-07 12:52:45 -04:00
Samuel Clay
e7c0bd0979
Removing duplicate calls to UserSub.
2022-07-07 11:51:01 -04:00
Samuel Clay
bcc3dfd04c
Adding expiration to new unread stories lists.
2022-07-07 11:45:18 -04:00
Samuel Clay
937a5e66af
Checking existence of unread_story:user:feed, assembling on the fly. This breaks down when a feed has no unread stories, but we may need to figure out a zero cardinality list solution.
2022-07-07 11:13:16 -04:00
Samuel Clay
aca79771a9
New unread stories collector, now relies on already existing unread story per-feed per-user lists instead of creating them on the fly every time a river is assembled.
...
Massive performance improvement at the risk of stale unreads. Luckily this won't cause read stories to show as unread, but it may cause an issue of stale unread story lists not showing the latest unread.
The next commit will focus on additional existance checks for those unread story lists, so that at a small performance hit, no data migration is needed to enforce a recount for all feeds.
2022-07-07 10:22:05 -04:00
David Sinclair
a84dc6ee13
#1695 (Premium Archive subscription)
...
- Changed font to Whitney.
2022-07-06 21:07:15 -07:00
Samuel Clay
e1e551a6a5
Promoting db-redis-story2
2022-07-06 15:43:30 -04:00
Samuel Clay
1d476985ed
Refactoring redis benchmarking
2022-07-06 14:55:30 -04:00
Samuel Clay
9314832cf1
Even bigger chunks?
2022-07-06 14:34:52 -04:00
Samuel Clay
8a6330951b
Moving to huge redis chunks.
2022-07-06 14:02:56 -04: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