mirror of
https://github.com/koel/koel.git
synced 2026-04-26 01:06:00 +03:00
[PR #1390] [MERGED] fix: do not remove S3-hosted songs post-sync #1700
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1700
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/1390
Author: @phanan
Created: 12/6/2021
Status: ✅ Merged
Merged: 12/6/2021
Merged by: @phanan
Base:
master← Head:s3-fix📝 Commits (1)
2e872c9fix: do not remove S3-hosted songs post-sync📊 Changes
28 files changed (+372 additions, -157 deletions)
View changed files
➕
app/Events/MediaSyncCompleted.php(+18 -0)📝
app/Events/SongsBatchUnliked.php(+1 -1)➕
app/Exceptions/SongPathNotFoundException.php(+19 -0)📝
app/Http/Controllers/API/ObjectStorage/S3/SongController.php(+24 -53)➕
app/Listeners/DeleteNonExistingRecordsPostSync.php(+31 -0)📝
app/Models/Album.php(+0 -1)📝
app/Models/Artist.php(+0 -1)📝
app/Models/Interaction.php(+0 -2)📝
app/Models/Playlist.php(+0 -2)📝
app/Models/Song.php(+1 -18)📝
app/Models/SupportsDeleteWhereIDsNotIn.php(+3 -11)➕
app/Models/SupportsS3.php(+39 -0)📝
app/Observers/SongObserver.php(+5 -5)📝
app/Providers/EventServiceProvider.php(+6 -0)📝
app/Repositories/SongRepository.php(+12 -5)📝
app/Services/FileSynchronizer.php(+4 -4)📝
app/Services/Helper.php(+1 -1)📝
app/Services/MediaSyncService.php(+8 -19)📝
app/Services/S3Service.php(+72 -2)➖
app/Traits/CanFilterByUser.php(+0 -16)...and 8 more files
📄 Description
Closes #1379.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.