Commit graph

650 commits

Author SHA1 Message Date
Phan An
e284a40d0d feat: store Koel version in a .version config file instead 2021-01-10 23:18:14 +01:00
Phan An
79ceed0820 chore: sync with core 2021-01-10 21:49:02 +01:00
Phan An
4557568208 chore: bump version 2021-01-09 13:40:37 +01:00
Phan An
d189c719ae feat(search): add Playlist as searchable 2021-01-05 17:52:16 +01:00
Phan An
0844833bfc fix: update the build command 2021-01-01 16:22:39 +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
dbb91d24f9 chore: rename the search:import command 2020-12-23 14:04:02 +01:00
Phan An
ef7d00e16a feat: guess Model class automagically 2020-12-23 12:03:53 +01:00
Phan An
5293bd9da0 feat: add import:search command 2020-12-23 11:53:17 +01:00
Phan An
84a72d284c feat: add Laravel Scount & TNTSearch 2020-12-23 11:53:00 +01:00
Phan An
dd31ab7fbe chore: fix remaining static analysis problems 2020-12-23 00:12:05 +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
36b808c067 chore: cleanups 2020-10-26 16:29:29 +01:00
Phan An
1d6d832a15 feat: better API and API docs 2020-09-14 00:04:07 +02:00
Phan An
860ec4648f chore: use Laravel' original structure 2020-09-12 17:14:34 +02:00
Phan An
71ed17350c chore: remove php-mock/php-mock-mockery 2020-09-12 17:09:12 +02:00
Phan An
84b05c449f feat: move non-API routes out of API namespace 2020-09-07 22:43:23 +02:00
Phan An
bf8feac8ea Merge branch 'master' of github.com:koel/koel into master 2020-09-06 23:28:32 +02:00
Phan An
67fc706870 fix: API doc for Lastfm connect 2020-09-06 23:22:12 +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
Svante Richter
e66b04a0a8
Build via github actions (#1231) 2020-07-15 15:20:02 +02:00
Phan An
2c69295ddd feat: Allow changing password of any user from command line 2020-06-13 21:57:00 +02:00
Phan An
2b65cb6c57 chore: change song upload api return format 2020-06-13 20:11:27 +02:00
Phan An
a5d25c3aed feat: Allow creating admins 2020-06-13 17:23:22 +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
40d4671b28 chore: bump version 2020-06-10 19:55:17 +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
b1aad48919 chore: bump version 2020-04-23 09:32:05 +02:00
Phan An
236b50fb56 fix: broken Lastfm search if empty bio/wiki 2020-04-23 00:14:05 +02:00
Phan An
8d12ce4e6b chore: bump version 2020-04-21 22:51:17 +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
Joris MASSON
d841ca7c62
Fix hotloading (#1209) 2020-04-18 12:15:43 +02:00
Phan An
4858514225 Revert "Apply fixes from StyleCI (#1207)"
This reverts commit c2e358bdc8.
2020-04-12 10:18:17 +02:00
Phan An
c2e358bdc8
Apply fixes from StyleCI (#1207) 2020-04-12 10:08:37 +02:00
Phan An
27c4aaf2ba Revert "Apply fixes from StyleCI (#1205)"
This reverts commit 1cccffd6ce.
2020-04-12 10:07:44 +02:00
Phan An
1cccffd6ce
Apply fixes from StyleCI (#1205) 2020-04-07 23:41:30 +02:00
Phan An
9cdca86b89 docs: remove periods from action titles 2020-04-07 23:41:06 +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
dependabot-preview[bot]
0fff66ece8 chore(deps-dev): bump filp/whoops from 2.7.0 to 2.7.1 (#1171)
* chore(deps-dev): bump filp/whoops from 2.7.0 to 2.7.1

Bumps [filp/whoops](https://github.com/filp/whoops) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/filp/whoops/releases)
- [Changelog](https://github.com/filp/whoops/blob/master/CHANGELOG.md)
- [Commits](https://github.com/filp/whoops/compare/2.7.0...2.7.1)

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

* Apply fixes from StyleCI (#1172)

Co-authored-by: Phan An <me@phanan.net>
2020-01-17 17:45:45 +01:00
Phan An
dc0a0739e7 chore: v4.2.2 2019-12-02 18:37:47 +01:00
Phan An
32b75e0dca fix: dispatching SongStartedPlaying event 2019-12-02 10:42:53 +01:00
Phan An
cab9f28285 fix: create smart playlist parameters 2019-11-30 09:11:26 +01:00
Phan An
220a0e2623
Apply fixes from StyleCI (#1130) 2019-11-30 08:52:42 +01:00
Phan An
46f64b9970 chore: improve SmartPlaylistRuleParameterFactory a bit 2019-11-30 08:52:25 +01:00
Phan An
c42c770acf chore: more cleanups 2019-11-29 23:15:53 +01:00
Phan An
7a6d930335
Apply fixes from StyleCI (#1129) 2019-11-29 22:23:58 +01:00
Phan An
ef140d8819 chore: better firstOrCreate usage 2019-11-29 22:23:40 +01:00
Phan An
e6e452dbe5 fix: declare methods for AskForPassword trait 2019-11-29 21:51:21 +01:00
Phan An
872764da5a chore: clean up seeders 2019-11-29 21:50:59 +01:00
Phan An
4dabfd1c6f chore: improve password collecting for commands 2019-11-29 21:28:34 +01:00
Phan An
6824b91b00 chore: v4.2.1 2019-11-29 20:32:07 +01:00
Phan An
23eba5b59c chore: v4.2.0 2019-11-28 21:37:40 +01:00
Phan An
797606c4b8 chore: bump version 2019-11-28 21:33:52 +01:00
Phan An
3c2d6a040b fix: disable updating preferences in demo 2019-11-06 12:33:40 +01:00
Phan An
3875b86962 chore: bump version 2019-10-26 19:06:11 +02:00
Phan An
96fd0d28b1 fix: nullable User typehint 2019-10-23 15:51:37 +02:00
Phan An
c41e281930 feat: Allow changing admin password via console 2019-10-23 15:33:31 +02:00
Phan An
4d1249f42d chore: bump version 2019-10-09 19:38:41 +02: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
d55a823036 chore: Better handling errors during installation 2019-09-10 20:30:44 +02:00
Phan An
250dc0b389 Bump version 2019-09-09 21:43:37 +02:00
Phan An
0024b88f3f feat: yarn output during installation is colored 2019-08-29 23:00:53 +02:00
Phan An
9a404149e5 fix: Delete all songs in a playlist 2019-08-29 21:49:21 +02:00
Phan An
3edd800b4d Do not run yarn production post-install 2019-08-29 09:42:57 +02:00
Phan An
6dcb07d973 Run two yarn commands 2019-08-28 23:55:53 +02:00
Phan An
c20a862504 Bump version 2019-08-28 23:27:47 +02:00
Phan An
2f7bf7b7e0 Bump version 2019-08-28 21:46:26 +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
335c3370db
Apply fixes from StyleCI (#1039) 2019-08-05 17:57:36 +07:00
Phan An
e41e658fce Better type hints 2019-08-05 17:57:10 +07:00
Phan An
2a3129d3f3 Upgrade Laravel to 5.8 2019-07-22 09:03:23 +02:00
Phan An
dea4d2d089
Apply fixes from StyleCI (#1018) 2019-07-04 21:50:53 +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
af375d0ede
Apply fixes from StyleCI (#1016) 2019-06-30 16:23:30 +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
5f0a487586 Fix SongZipArchive tests 2019-06-30 13:13:20 +02:00
Phan An
b349110d50
Apply fixes from StyleCI (#1013) 2019-06-30 12:19:11 +02:00
Phan An
9efd232daf Add some improvements for SongZipArchive 2019-06-30 12:18:48 +02:00
Phan An
22e946076c Fix return type 2019-06-16 23:14:47 +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
488854127a Allow force https 2019-05-18 22:43:30 +02:00
Svante Richter
a01dd87a46 Add sqlite support (#599)
All the tests already seem to run on sqlite, so there (in my mind) is no reason to not provide support for it.

The only change needed was to lower the delete chunk size.
2019-04-22 16:26:28 +02:00
Phan An
08ceb25edb Fix recently played bug 2019-04-14 16:12:16 +02:00
Phan An
3c2996a380 Take rules into account when update playlist 2019-04-13 22:38:34 +02:00
Phan An
57a566834b Add tests for iTunes service 2019-04-07 23:09:25 +02:00
Phan An
ff891f8eee
Apply fixes from StyleCI (#887) 2019-01-01 12:53:34 +01: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
ab4f2210d1
API doc (#872)
* Add the API documentation

* Apply fixes from StyleCI (#871)
2018-12-09 22:24:43 +01:00
Phan An
d58b791c37 Allow smart playlist creation 2018-11-25 22:21:46 +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
ee6ac687c4
Refactor the observers (#836) 2018-10-19 16:33:04 +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
1497450768 Remove cors package 2018-09-04 15:15:16 +07: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
140de34615 Some tweaks and fixes for sync cmd 2018-09-04 12:42:49 +07:00
Phan An
373870fefb Add a UserPreferenceService 2018-09-04 12:34:02 +07:00
Phan An
0f9bb32956 Refactor Lastfm's disconnect 2018-09-04 09:25:34 +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
Phan An
b75d924e22 Fix parameter type 2018-08-30 10:26:18 +07:00
Phan An
06b7f7f5ca
Apply fixes from StyleCI (#797) 2018-08-30 10:16:40 +07:00
Phan An
3b2f6b9d1c Fix type hint 2018-08-30 10:16:21 +07:00
Phan An
453fb76c5d Refactor and fix requests 2018-08-30 10:11:47 +07:00
Phan An
86cd0fbb4f
Apply fixes from StyleCI (#796) 2018-08-30 09:53:39 +07:00
Phan An
37ec4aaa6f Use a proper package for php streamer 2018-08-30 09:53:18 +07:00
Phan An
2349a66a31 Refactor php streamer 2018-08-30 09:45:48 +07:00
Phan An
6eae3b53a2 Service configs can be null 2018-08-29 17:36:05 +07:00