Commit Graph

26 Commits

Author SHA1 Message Date
Olav Sundfør aab292c353 Workaround for broken cache expiry handling
Deno's cache API does not respect expiry dates.
This meant that feeds were cached much longer than intended.

This PR implments a manual cache handling instead of relying on
Deno's implementation. Relevant issue: https://github.com/denoland/deno/issues/25795
2025-10-01 09:49:11 +02:00
Olav Sundfør a17798fe64
Remove promotion at start of description (#46)
It's a bit intense.
2025-09-30 13:54:09 +02:00
Olav Sundfør e81d59f2aa
Add caching to feed endpoint (#45)
In order to reduce load on Deno KV as the costs are relatively high.
2025-09-29 21:57:42 +02:00
Olav Sundfør 4e0ea3b324
Don't crash if email address has sub-address with special characters (#44) 2025-06-18 22:52:14 +02:00
Olav Sundfør 0e77c35fb2
FIX: Existing agreement exists, but is out of sync with db 2025-05-26 14:40:48 +02:00
Olav Sundfør a88e0cda7f
Add a second promo text to the front. (#40)
* Add a second promo text to the front.

NRSS does not have enough supporters to break even and thus costs me
quite a bit every month. However, it seems to have a stable and high
user base, most of whom presumably could pay. As earlier, I'd like to
avoid shoving the service behind a paywall - that feels totally wrong
for what this project is supposed to be. This PR introduces another,
shorter link to donations _before_ the episode description in the
hopes of attracting more paid users. Let's see if it works :)
2025-04-30 16:21:25 +02:00
Olav Sundfør d3a4c4a585
Mfa bugs (#38) 2024-09-23 17:44:16 +02:00
Olav Sundfør 4912829440
Ensure episodes are within Deno KV's size limitations (#37)
Not the most elegant solution. But it works at the expense of old episodes.
I should think of something better at some point. Left some ideas in the code
for future reference.
2024-09-19 19:31:53 +02:00
August Skare 70b9ca6dcd
Move promotion below description (#34) 2024-09-18 10:25:21 +02:00
olaven 126563360d Hardcode production domain in episode description
The deployment-id looks ugly for clients.
2024-08-24 20:49:52 +02:00
Olav Sundfør c0088e067f
Vipps Donations (#33) 2024-08-24 18:55:08 +02:00
Olav Sundfør eb4304da71
Fix invalid feed characters (#31) 2024-04-14 12:16:00 +02:00
Tim Hårek Andreassen 33dbdfefcc
feat: Add unit-tests (#25) 2024-04-11 21:10:16 +02:00
Olav Sundfør 0c2baf356b
Do not write to DB if there aren't new episodes (#27) 2024-04-08 10:39:51 +02:00
Olav Sundfør 95d4ecd974
Caching feeds, minimizing HTTP requests. 2024-04-07 19:15:52 +02:00
Tim Hårek Andreassen 8381cddca6
fix: Generate feeds for series in addition to podcast (#19) 2024-04-02 16:27:00 +02:00
Tim Hårek Andreassen f4d27c06f2
refactor: Better types (#17) 2024-04-02 14:57:30 +02:00
Tim Hårek Andreassen 77428d374a
Upgrade Fresh and add a bunch of small QOL improvements (#16) 2024-03-24 13:41:18 +01:00
Olav Sundfør 10b8f651ec
Chapters (from podcast 2.0 spec) (#11) 2023-03-21 08:59:06 +01:00
olaven b09eb877d6 Logging Episodestatus on error 2023-03-11 13:10:34 +01:00
olaven 0b3d33878c Include show name in episode download error 2023-03-11 12:17:04 +01:00
August Skare 500f1532b5
Feature/types (#4) 2023-03-11 10:46:55 +01:00
olaven 90df819811 Removed test code - Thanks @oles! 2023-03-10 14:25:27 +01:00
August Skare 3bdd1c1d25
Feature/image desc (#1) 2023-03-10 13:15:00 +01:00
olaven f7031852a7 Hacked around build errors 2023-03-09 14:48:47 +01:00
olaven 14fc1fbce6 Basic RSS generation works! 2023-03-09 14:27:44 +01:00