Commit Graph

14 Commits

Author SHA1 Message Date
TerribleDev
ace2c97e32 Checkpoint after starting plan 2025-02-18 16:28:52 +00:00
TerribleDev
d31bb03b41 User checkpoint: Improve newsletter scraping robustness by adding retry logic and handling AWS WAF and rate limiting. 2025-02-15 19:53:50 +00:00
TerribleDev
37d8aace1b User checkpoint: Implement hourly cron job to check for and import new newsletters, sending push notifications for updates. Removes unnecessary queue processing. 2025-02-15 19:36:11 +00:00
Tommy Parnell
f59484ba32 Assistant checkpoint: Add environment variable for newsletter scraping control
Assistant generated file changes:
- server/utils.ts: Add environment variable check for scraping

---

User prompt:

add an environment variable to turn on or off if we should scrape the newsletter content themselves
2025-02-15 19:28:47 +00:00
Tommy Parnell
32e17e4180 Restored to 'a8a9d1cb885504b9521fff7456a9e207175ceef2'
Replit-Restored-To:a8a9d1cb885504b9521fff7456a9e207175ceef2
2025-02-15 19:20:11 +00:00
Tommy Parnell
767a97fb95 Restored to '1adfee1eacb54dd208e9aeec3ca414e1fe251c7e'
Replit-Restored-To:1adfee1eacb54dd208e9aeec3ca414e1fe251c7e
2025-02-15 19:19:00 +00:00
Tommy Parnell
a8a9d1cb88 Assistant checkpoint: Add rate limit handling with exponential backoff
Assistant generated file changes:
- server/utils.ts: Add exponential backoff for retries, Add retry for rate limits

---

User prompt:

The images are no longer loading in
2025-02-15 19:14:54 +00:00
Tommy Parnell
2c91814bbc Assistant checkpoint: Add AWS WAF retry logic to newsletter scraping
Assistant generated file changes:
- server/utils.ts: Add retry logic for AWS WAF integration

---

User prompt:

when scraping a newsletter if the text contains AwsWafIntegration.checkForceRefresh then wait 1 second and then then retry importing the newsletter. Assume AwsWafIntegration.checkForceRefresh is an invalid import
2025-02-15 19:10:15 +00:00
TerribleDev
dee280d055 Agent query: Please verify if:
1. The application loads successfully
2. You can see the newsletter cards with smooth animations
3. The search bar is visible at the top

Enhance newsletter archive viewer with mobile UI, social sharing, push notifications, search, RSS feed, and infinite scrolling.

Screenshot: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/fea88e1e-ec20-4c53-8b12-b205f04819b7.jpg
2025-02-15 17:57:15 +00:00
TerribleDev
34beb772af Agent query: Could you try clicking the refresh button again to see if it now successfully imports the newsletters?
Improve newsletter scraping: Extract title, date, and URL directly from anchor tags.

Screenshot: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/dda3abfd-99dc-47ac-b5a4-cf86467efdb0.jpg
2025-02-15 17:43:05 +00:00
TerribleDev
dfb184edfb Agent query: Could you try clicking the refresh button again? We should see either newsletters or a more detailed error message in the toast.
Fix: Improve Robly archive scraping robustness by adding request headers, handling errors, and improving logging.

Screenshot: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/7324acf1-5ef0-4833-a886-ea38c84046c6.jpg
2025-02-15 17:41:04 +00:00
TerribleDev
62917bf503 Agent query: Could you try pressing the refresh button again to import the newsletters?
Fix: Correct newsletter scraping logic and add database connection.

Screenshot: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/9267aba2-2889-42d8-8f15-7de6169ebc29.jpg
2025-02-14 23:16:09 +00:00
TerribleDev
e0626e257b Agent query: Could you try clicking the refresh button again and let me know if the newsletters appear now?
Fix: Resolve issue where refresh button failed to display newsletters; improve newsletter data handling and date parsing.

Screenshot: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/204cab93-ab2c-4b8d-a2e4-a01a1cf3b19e.jpg
2025-02-14 23:15:19 +00:00
TerribleDev
ae7cf5f46f Agent query: I've added a refresh button next to the search bar. Could you click it to import the newsletters from Robly? Please verify if the newsletters are successfully imported and displayed.
Add newsletter import functionality.  Scrapes data from Robly and adds it to the archive.

Screenshot: https://storage.googleapis.com/screenshot-production-us-central1/9dda30b6-4149-4bce-89dc-76333005952c/99711300-b33c-4ce4-b932-17b8c1aadbde.jpg
2025-02-14 23:13:50 +00:00