relay/app/feeds
Andros Fenollosa 75460aa567 fix: Handle Follow relationship constraints during redirect merge
When merging duplicate feeds with redirects, Follow relationships
can generate UNIQUE constraint errors if the relationship already
exists between the same profiles.

This fix:
- Iterates Follow relationships individually
- Checks for existing relationships before updating
- Deletes duplicates safely
- Adds comprehensive error handling

Similar approach to PollVote fix.

Resolves issue with feeds like haiverin.scot redirect.

Signed-off-by: Andros Fenollosa <hi@andros.dev>
2025-11-23 10:58:04 +01:00
..
migrations Added boosts 2025-11-16 18:41:45 +01:00
__init__.py First commit 2025-09-12 11:29:00 +02:00
apps.py Minor fix 2025-09-17 08:50:54 +02:00
middleware.py Middleware cache had been added 2025-11-05 15:27:04 +01:00
models.py Added boosts 2025-11-16 18:41:45 +01:00
parser.py fix: Handle Follow relationship constraints during redirect merge 2025-11-23 10:58:04 +01:00
tasks.py Fixed redirects 2025-11-23 10:53:31 +01:00
test_feed_cleanup.py Add automatic cleanup of stale feeds 2025-10-11 10:53:29 +02:00
test_feeds.py Added etag and mod header 2025-11-05 15:03:20 +01:00
test_mentions.py Added etag and mod header 2025-11-05 15:03:20 +01:00
test_parser.py New encoder 2025-11-13 18:20:22 +01:00
utils.py Added etag and mod header 2025-11-05 15:03:20 +01:00
views.py Updated crons 2025-09-30 12:13:02 +02:00