From 501db5895b104a8782de21da976369725c184d77 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 7 Jul 2022 15:42:57 -0400 Subject: [PATCH 1/2] Don't delete user unread stories keys in prep for using them as part of the river. --- apps/reader/models.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/reader/models.py b/apps/reader/models.py index adb31a936..859498e1a 100644 --- a/apps/reader/models.py +++ b/apps/reader/models.py @@ -206,10 +206,6 @@ class UserSubscription(models.Model): if not store_stories_key: byscorefunc(unread_ranked_stories_key, min_score, max_score, withscores=include_timestamps, start=offset, num=limit) unread_ranked_stories_keys.append(unread_ranked_stories_key) - after_unread_pipeline.delete(unread_ranked_stories_key) - if expire_unread_stories_key: - after_unread_pipeline.delete(unread_stories_key) - results = pipeline.execute() From b62b85918607b192d6a3e1a3855ef21281540251 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 7 Jul 2022 15:57:21 -0400 Subject: [PATCH 2/2] Centering text --- templates/reader/account_module.xhtml | 2 +- templates/reader/premium_archive_module.xhtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/reader/account_module.xhtml b/templates/reader/account_module.xhtml index fe6c2ba9f..ea564d310 100644 --- a/templates/reader/account_module.xhtml +++ b/templates/reader/account_module.xhtml @@ -4,7 +4,7 @@ {% if not user_profile.is_premium %}
- Another reason to upgrade +
Another reason to upgrade
diff --git a/templates/reader/premium_archive_module.xhtml b/templates/reader/premium_archive_module.xhtml index 7196477d3..145d2e41f 100644 --- a/templates/reader/premium_archive_module.xhtml +++ b/templates/reader/premium_archive_module.xhtml @@ -3,7 +3,7 @@ {% if user_profile.is_premium and not user_profile.is_archive %}
- Reason to upgrade +
Reason to upgrade