feat(release): prepare first public preview
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
BUILD_NUMBER = "0803262237"
|
||||
CHANGELOG = '2026-09-19|Initial minimal release source snapshot'
|
||||
BUILD_NUMBER = "0.1.0-preview.1"
|
||||
CHANGELOG = """2026-09-22|First public preview
|
||||
2026-09-22|Guided setup for Docker, Portainer and native installs
|
||||
2026-09-22|Encrypted backup and staged restore
|
||||
2026-09-22|Requests, viewing insights, invites and issue follow-up"""
|
||||
|
||||
@@ -515,7 +515,7 @@ class SiteInfoTests(unittest.TestCase):
|
||||
"site_banner_tone": "warning",
|
||||
"site_banner_background_color": "#123ABC",
|
||||
"site_banner_border_color": "red",
|
||||
"site_login_message": "Use your Grizzlyflix account to sign in.",
|
||||
"site_login_message": "Use your ExampleFlix account to sign in.",
|
||||
})
|
||||
|
||||
with patch.object(site_router, "get_runtime_settings", return_value=runtime):
|
||||
@@ -523,7 +523,7 @@ class SiteInfoTests(unittest.TestCase):
|
||||
|
||||
self.assertEqual(info["banner"]["backgroundColor"], "#123abc")
|
||||
self.assertIsNone(info["banner"]["borderColor"])
|
||||
self.assertEqual(info["login"]["message"], "Use your Grizzlyflix account to sign in.")
|
||||
self.assertEqual(info["login"]["message"], "Use your ExampleFlix account to sign in.")
|
||||
|
||||
|
||||
class SiteSettingValidationTests(unittest.IsolatedAsyncioTestCase):
|
||||
|
||||
@@ -41,7 +41,7 @@ class IssueAcceptanceTests(TempDatabaseMixin, unittest.IsolatedAsyncioTestCase):
|
||||
content = email.await_args.kwargs
|
||||
self.assertEqual(content["subject"], f"Ready to try again? Magent issue #{item['id']}")
|
||||
self.assertIn("affected content in Jellyfin", content["body_text"])
|
||||
self.assertNotIn("grizzlyflix", content["body_html"].lower())
|
||||
self.assertNotIn("exampleflix", content["body_html"].lower())
|
||||
self.assertIn("YES — it works", content["body_html"])
|
||||
self.assertIn("NO — still broken", content["body_html"])
|
||||
self.assertIn(f"/issues/confirm/{item['id']}#yes", content["body_html"])
|
||||
|
||||
@@ -93,7 +93,7 @@ class NewsletterConsentTests(NewsletterFixture, unittest.IsolatedAsyncioTestCase
|
||||
rendered = sender.call_args.args[1]
|
||||
self.assertEqual(rendered['subject'], 'Confirm your Magent newsletter subscription')
|
||||
self.assertIn('NEW IN YOUR LIBRARY', rendered['body_html'])
|
||||
self.assertNotIn('grizzlyflix', rendered['body_html'].lower())
|
||||
self.assertNotIn('exampleflix', rendered['body_html'].lower())
|
||||
self.assertNotIn('Arrival', rendered['body_html'])
|
||||
url = re.search(r'https://[^\s]+', rendered['body_text']).group(0)
|
||||
self.assertEqual(urlsplit(url).path, '/newsletter-subscription')
|
||||
@@ -393,7 +393,7 @@ class NewsletterDeliveryTests(NewsletterFixture, unittest.IsolatedAsyncioTestCas
|
||||
self.assertEqual(draft['intro'], custom_intro)
|
||||
|
||||
def test_generic_email_template_preserves_custom_subject_and_intro(self):
|
||||
custom_subject = 'Grizzlyflix weekend discoveries'
|
||||
custom_subject = 'ExampleFlix weekend discoveries'
|
||||
custom_intro = 'Welcome to our own <media> community.'
|
||||
rendered = template.render(
|
||||
{**content(), 'subject': custom_subject, 'intro': custom_intro}, {},
|
||||
@@ -406,7 +406,7 @@ class NewsletterDeliveryTests(NewsletterFixture, unittest.IsolatedAsyncioTestCas
|
||||
self.assertIn('Welcome to our own <media> community.', rendered['body_html'])
|
||||
self.assertIn('Watch on Jellyfin', rendered['body_html'])
|
||||
self.assertIn('Explore Jellyfin', rendered['body_html'])
|
||||
self.assertNotIn('grizzlyflix', rendered['body_html'].lower())
|
||||
self.assertNotIn('exampleflix', rendered['body_html'].lower())
|
||||
|
||||
async def test_weekly_worker_collects_once_and_delivers_to_confirmed_subscriber(self):
|
||||
now = datetime.now(timezone.utc)
|
||||
|
||||
Reference in New Issue
Block a user