Commit graph

283 commits

Author SHA1 Message Date
Phan An
16c4fdb8ec
feat: use getID3 for audio upload validation 2022-08-03 23:02:07 +02:00
Phan An
444e91ab57
chore: add User dependency to SmartPlaylistService 2022-08-01 13:03:58 +02:00
Phan An
c4cffcc2e7
feat: use UUIDs for song IDs 2022-08-01 12:42:33 +02:00
Phan An
4258873183
fix: broken tests 2022-07-29 13:08:24 +02:00
Phan An
686c5f70fe
feat: revamp sync and sync commands 2022-07-29 12:51:20 +02:00
Phan An
bfd1008f6c
chore: clean up and make code php8-y 2022-07-29 09:04:44 +02:00
Phan An
a3c1f7aec4
fix(cs): broken static analysis 2022-07-27 20:08:57 +02:00
Phan An
2ffb39c1b8
feat: add tests and fixes for SongEditForm 2022-07-21 07:26:44 +02:00
Phan An
cebbf13107
feat: improve Spotify integration 2022-07-18 13:24:43 +02:00
Phan An
8e43f73bea
feat: add webp support 2022-07-17 10:24:43 +02:00
Phan An
878815659f
feat: integrate with Spotify 2022-07-17 00:42:29 +02:00
Phan An
08e4953217
feat: decouple artist/album and the media information 2022-07-08 16:53:04 +02:00
Phan An
09f54d26d5
fix(sync): properly ignore unchanged files 2022-07-07 12:45:47 +02:00
Phan An
7d4f3caf68
fix(test): broken tests 2022-07-06 18:08:55 +02:00
Phan An
9edc8e5577
fix(song-update): always change album when artist is changed 2022-07-06 15:08:40 +02:00
Phan An
9d79d95cb9
refactor: massively simplify SmartPlaylist logic 2022-07-06 13:07:20 +02:00
Phan An
5c60757d74
fix: incorrect search 2022-07-05 16:19:52 +02:00
Phan An
58659c2e30
feat: better supports for compilation when scanning 2022-07-05 15:47:26 +02:00
Phan An
d90e7641f2
feat: better playlist handling 2022-07-04 12:39:02 +02:00
Phan An
fbbe434204
feat!: make app progressive 2022-07-04 10:36:39 +02:00
Phan An
b222ba3ac0
fix: downloading song yields error
closes #1356
2022-01-18 00:21:14 +01:00
Phan An
92bf0a4958
fix: renamed method 2021-12-10 16:27:06 +01:00
Phan An
2cb64de316
feat: rename koel:tidy to koel:prune 2021-12-10 16:23:04 +01:00
Phan An
aedff9cf6e
fix: do not remove S3-hosted songs post-sync (#1390) 2021-12-06 17:12:47 +01:00
Allen Taylor
aae444a9b4
fix: made rules optional (#1370)
Co-authored-by: Allen Taylor <allen.taylor@check24.de>
Co-authored-by: Phan An <me@phanan.net>
2021-10-25 21:17:25 +02:00
Phan An
b29000bf8d
feat(smart-playlist): use proper Eloquent cast for rules (#1363) 2021-10-08 18:23:45 +02:00
Phan An
70696da096
feat: require PHP7.4 (#1326) 2021-06-05 12:47:56 +02:00
Phan An
b45ad25dfc
fix: code analysis error 2021-06-04 18:24:26 +02:00
Phan An
51130e3a20
feat: use model casting for user preferences 2021-06-04 18:19:34 +02:00
Phan An
ef1add3877
feat(lastfm): batch like/unlike are now asynchronous 2021-06-04 17:19:33 +02:00
Phan An
2ea5108e30 feat(test): better test script 2021-01-31 18:49:54 +01:00
Phan An
8a966242f0 feat: reset API token if password is changed 2021-01-31 18:21:57 +01:00
Phan An
e284a40d0d feat: store Koel version in a .version config file instead 2021-01-10 23:18:14 +01:00
Phan An
588b30d9bb feat: modify the response format for search 2020-12-25 12:52:28 +01:00
Phan An
c9fe724036 feat: add Song search 2020-12-24 23:35:39 +01:00
Phan An
201da1caa5 feat: add Excerpt search 2020-12-24 13:41:18 +01:00
Phan An
50a94cb4b9 chore: fix static analysis problems 2020-12-23 00:01:49 +01:00
Phan An
560d41bf1d chore: fix CS 2020-12-22 21:11:22 +01:00
Phan An
a90d961440 chore(builds): update packages 2020-12-22 21:11:07 +01:00
Phan An
58c00192ad
chore(builds): upgrade to Laravel 8 (#1261) 2020-11-14 17:57:25 +01:00
Phan An
84b05c449f feat: move non-API routes out of API namespace 2020-09-07 22:43:23 +02:00
Phan An
4b799e85a7 feat: add PHPCSFixer 2020-09-06 23:20:42 +02:00
Phan An
d5e2d3ec79 fix: make Lastfm work with Sanctum 2020-09-06 23:11:48 +02:00
Phan An
e356e72814 feat: upgrade Laravel to 7.x 2020-09-06 20:21:39 +02:00
Phan An
3fbf14efd2 chore: sandbox tests 2020-06-13 14:19:24 +02:00
Phan An
c707a0be65 feat: delete old album/artist images upon creating new ones 2020-06-13 13:00:51 +02:00
Phan An
dcf6970355 chore: make album thumbnail blurry 2020-06-12 17:05:18 +02:00
Phan An
6977cc4986 feat: get album thumbnail from the server 2020-06-12 15:55:45 +02:00
Phan An
e6eb28ba2d feat: add upload feature 2020-06-07 22:43:04 +02:00
Phan An
2ecc37bf63 feat: use a Intervention/Image for proper image handling 2020-04-27 22:32:24 +02:00
Phan An
70e0f28774 feat: make Last.fm-related features queue-ready 2020-04-27 20:55:23 +02:00
Phan An
e5a67fed05 feat: drag/drop to upload album/artist images 2020-04-26 21:09:43 +02:00
Phan An
236b50fb56 fix: broken Lastfm search if empty bio/wiki 2020-04-23 00:14:05 +02:00
Phan An
185cbeb870
Use JSON instead of XML for Last.fm API (#1215)
* trigger Travis build

* Revert "trigger Travis build"

This reverts commit 4c6410c79c.

* feat: use JSON instead of XML for Last.fm API
2020-04-18 16:15:07 +02:00
dependabot-preview[bot]
cce534bac9
chore(deps): bump aws/aws-sdk-php-laravel from 3.4.0 to 3.5.0 (#1195)
* chore(deps): bump aws/aws-sdk-php-laravel from 3.4.0 to 3.5.0

Bumps [aws/aws-sdk-php-laravel](https://github.com/aws/aws-sdk-php-laravel) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/aws/aws-sdk-php-laravel/releases)
- [Changelog](https://github.com/aws/aws-sdk-php-laravel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-php-laravel/compare/3.4.0...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Apply fixes from StyleCI (#1196)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Phan An <me@phanan.net>
2020-03-12 16:30:52 +01:00
Phan An
8f142eb03b
Apply fixes from StyleCI (#1194) 2020-03-10 11:16:55 +01:00
Torbjörn Lönnemark
d487727fd5
Fix TranscodingStreamer for PHP 7.4 (#1189)
Passing the glue parameter after the pieces parameter when calling
implode is deprecated as of PHP 7.4.

This was the only remaining instance, all other implode calls already
use the correct parameter order.
2020-03-10 11:16:34 +01:00
Phan An
eed350e890 fix: broken YouTube service when there's no connection 2020-01-31 01:51:59 +07:00
Phan An
4e7f4d1456
Downgrade getID3 (#1104)
* fix: downgrade getID3 to avoid bugs

* Apply fixes from StyleCI (#1103)
2019-10-09 19:36:22 +02:00
Phan An
f485e2e2ad Some minor tweaks 2019-08-13 15:56:59 +07:00
Phan An
951bcc85a8
Apply fixes from StyleCI (#1042) 2019-08-07 15:17:54 +07:00
Phan An
5f23f53c8d Upgrade GetID3 (fixes #1040) 2019-08-07 15:17:30 +07:00
Phan An
2a3129d3f3 Upgrade Laravel to 5.8 2019-07-22 09:03:23 +02:00
Phan An
fea98c017c Sync with core 2019-07-04 21:50:27 +02:00
Phan An
154de03251
Apply fixes from StyleCI (#1017) 2019-07-01 10:12:04 +02:00
Phan An
a19e30e74a Use constants for HTTP status code 2019-06-30 17:27:07 +02:00
Phan An
b3b9202ed8 Fix some problems with code analytics 2019-06-30 16:23:02 +02:00
Phan An
96488ba091 Refactor file synchronizer class 2019-06-30 15:37:33 +02:00
Phan An
d5d75577ed
Apply fixes from StyleCI (#1015) 2019-06-30 13:24:04 +02:00
Phan An
69cfab9515 Rename SyncCommand file 2019-06-30 13:22:01 +02:00
Phan An
cd84735a08
Apply fixes from StyleCI (#1014) 2019-06-30 13:13:41 +02:00
Phan An
931d5dbf6f Make album and artist image paths not so random 2019-06-30 13:13:20 +02:00
Phan An
9efd232daf Add some improvements for SongZipArchive 2019-06-30 12:18:48 +02:00
Phan An
5f77c061f9
Apply fixes from StyleCI (#999) 2019-06-16 23:13:25 +02:00
Phan An
d4c68e33e5 Fix return type 2019-06-16 23:12:56 +02:00
red-coracle
d9358cc181 Fix downloading songs from favourites playlist (#979) 2019-05-24 10:20:47 +02:00
Phan An
57a566834b Add tests for iTunes service 2019-04-07 23:09:25 +02:00
Javier López
7ba295efad Non interactive koel:init (#886)
* Use ADMIN_* variables if available to create the admin account

* Add APP_MEDIA_PATH for media directory

* Use the standard --no-interaction flag to koel:init

* Undo variable aligment and code formatting

* Prefer early return over else, add new line before return statements

* Some fixes
2019-01-01 12:53:20 +01:00
Phan An
d45948e1bd Revise the smart playlist rule 2018-11-18 22:50:15 +01:00
Phan An
d088561e06
Add "Smart Playlist" backend logics (#849)
This commit prepares the backend for the "Smart Playlist" feature.
2018-11-04 00:25:08 +01:00
Phan An
6f0db1620f
Add "Recently Played" playlist (#839)
* Add "Recently Played" playlist

* Apply fixes from StyleCI (#838)
2018-10-20 23:46:12 +02:00
Phan An
1c26d6bb66
Upgrade and fix getID3 lyrics tag issue (#835) 2018-10-19 16:32:16 +02:00
Phan An
c5f5a67789
Fix error with cover file (#823)
* Fix error with cover file

* Apply fixes from StyleCI (#822)
2018-10-06 12:44:25 +02:00
Phan An
3313cd1a1d
Apply fixes from StyleCI (#804) 2018-09-04 13:26:02 +07:00
Phan An
096eb7e610 Remove over-engineered service 2018-09-04 13:25:24 +07:00
Phan An
4b8153e503 Fix parameter type 2018-09-04 13:09:52 +07:00
Phan An
5102e75698
Apply fixes from StyleCI (#803) 2018-09-04 12:43:12 +07:00
Phan An
373870fefb Add a UserPreferenceService 2018-09-04 12:34:02 +07:00
Phan An
5c870ee254 Refactor Lastfm's connect 2018-09-04 09:24:29 +07:00
Phan An
47480ef49d
Apply fixes from StyleCI (#802) 2018-09-03 20:15:36 +07:00
Phan An
efcb6757d2 Fix type hint 2018-09-03 20:14:55 +07:00
Phan An
24cff9c2a8
Apply fixes from StyleCI (#801) 2018-09-03 20:13:54 +07:00
Phan An
5a4a6367be Fix type hint 2018-09-03 20:13:24 +07:00
Phan An
368d7ab484
Apply fixes from StyleCI (#800) 2018-09-03 19:42:37 +07:00
Phan An
a57fe76dfe Fix some more advanced errors reported by PHPStan 2018-09-03 19:42:14 +07:00
Phan An
40d4174d04
Apply fixes from StyleCI (#799) 2018-08-31 20:47:45 +07:00
Phan An
d88dd79f15 Fix basic errors detected by PHPStan 2018-08-31 20:47:15 +07:00
Phan An
c4beca787b Assert that version is cached 2018-08-30 12:42:47 +07:00
Phan An
b91d478fdf
Apply fixes from StyleCI (#798) 2018-08-30 12:37:24 +07:00
Phan An
351efe4092 Move version checking logic to a service 2018-08-30 12:37:03 +07:00