[PR #2036] [MERGED] feat: favorites for albums and artists #2026

Closed
opened 2026-02-26 03:33:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/2036
Author: @phanan
Created: 7/27/2025
Status: Merged
Merged: 8/4/2025
Merged by: @phanan

Base: masterHead: favorites


📝 Commits (1)

  • 00b85dd feat: favorites for albums and artists

📊 Changes

329 files changed (+3987 additions, -1827 deletions)

View changed files

📝 app/Builders/AlbumBuilder.php (+46 -18)
📝 app/Builders/ArtistBuilder.php (+43 -17)
app/Builders/Concerns/CanScopeByUser.php (+17 -0)
app/Builders/FavoriteableBuilder.php (+36 -0)
📝 app/Builders/GenreBuilder.php (+1 -1)
📝 app/Builders/PodcastBuilder.php (+10 -6)
📝 app/Builders/SongBuilder.php (+44 -43)
📝 app/Events/MultipleSongsLiked.php (+5 -1)
📝 app/Events/MultipleSongsUnliked.php (+5 -1)
app/Events/SongFavoriteToggled.php (+13 -0)
app/Events/SongLikeToggled.php (+0 -12)
📝 app/Helpers.php (+2 -2)
📝 app/Http/Controllers/API/AlbumController.php (+3 -1)
📝 app/Http/Controllers/API/AlbumSongController.php (+2 -2)
📝 app/Http/Controllers/API/ArtistController.php (+3 -1)
📝 app/Http/Controllers/API/ArtistSongController.php (+2 -2)
app/Http/Controllers/API/FavoriteController.php (+70 -0)
📝 app/Http/Controllers/API/FetchFavoriteSongsController.php (+2 -2)
📝 app/Http/Controllers/API/FetchOverviewController.php (+4 -4)
📝 app/Http/Controllers/API/FetchRandomSongsInGenreController.php (+2 -2)

...and 80 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/2036 **Author:** [@phanan](https://github.com/phanan) **Created:** 7/27/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@phanan](https://github.com/phanan) **Base:** `master` ← **Head:** `favorites` --- ### 📝 Commits (1) - [`00b85dd`](https://github.com/koel/koel/commit/00b85ddd120957f71764b25e14b7435557ebc93e) feat: favorites for albums and artists ### 📊 Changes **329 files changed** (+3987 additions, -1827 deletions) <details> <summary>View changed files</summary> 📝 `app/Builders/AlbumBuilder.php` (+46 -18) 📝 `app/Builders/ArtistBuilder.php` (+43 -17) ➕ `app/Builders/Concerns/CanScopeByUser.php` (+17 -0) ➕ `app/Builders/FavoriteableBuilder.php` (+36 -0) 📝 `app/Builders/GenreBuilder.php` (+1 -1) 📝 `app/Builders/PodcastBuilder.php` (+10 -6) 📝 `app/Builders/SongBuilder.php` (+44 -43) 📝 `app/Events/MultipleSongsLiked.php` (+5 -1) 📝 `app/Events/MultipleSongsUnliked.php` (+5 -1) ➕ `app/Events/SongFavoriteToggled.php` (+13 -0) ➖ `app/Events/SongLikeToggled.php` (+0 -12) 📝 `app/Helpers.php` (+2 -2) 📝 `app/Http/Controllers/API/AlbumController.php` (+3 -1) 📝 `app/Http/Controllers/API/AlbumSongController.php` (+2 -2) 📝 `app/Http/Controllers/API/ArtistController.php` (+3 -1) 📝 `app/Http/Controllers/API/ArtistSongController.php` (+2 -2) ➕ `app/Http/Controllers/API/FavoriteController.php` (+70 -0) 📝 `app/Http/Controllers/API/FetchFavoriteSongsController.php` (+2 -2) 📝 `app/Http/Controllers/API/FetchOverviewController.php` (+4 -4) 📝 `app/Http/Controllers/API/FetchRandomSongsInGenreController.php` (+2 -2) _...and 80 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:33:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#2026
No description provided.