Commit graph

728 commits

Author SHA1 Message Date
Phan An
07aedd9a52
fix: use UNSIGNED instead of INTEGER to support older MySQL versions 2022-08-03 12:16:44 +02:00
Phan An
ffd77d0051
fix: save env file after init command 2022-08-03 12:01:32 +02:00
Phan An
527e7abb70
chore: resolve conflicts 2022-08-02 11:33:24 +02:00
Phan An
9d3011fe2c
fix: koel:init 2022-08-02 10:21:05 +02:00
Phan An
971a3c2629
fix: make koel:init smoother 2022-08-02 08:22:08 +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
61b6ffeeb1
chore(api): shorten display scanned file names 2022-07-31 18:45:34 +02:00
Phan An
a32a2fda0d
chore(api): increase the throttle thresold 2022-07-30 18:06:20 +02:00
Phan An
4258873183
fix: broken tests 2022-07-29 13:08:24 +02:00
Phan An
3c5c24c104
feat: log init errors 2022-07-29 12:53:07 +02:00
Phan An
686c5f70fe
feat: revamp sync and sync commands 2022-07-29 12:51:20 +02:00
Phan An
b12e0c14a7
feat: adap release and init commands to new workflow 2022-07-29 12:49:55 +02:00
Phan An
2835bfedae
fix(test): set fulltext search driver to tntsearch 2022-07-29 10:26:18 +02:00
Phan An
5cd8cbde62
fix: wrap api version check in a try/catch 2022-07-29 09:13:00 +02:00
Phan An
bfd1008f6c
chore: clean up and make code php8-y 2022-07-29 09:04:44 +02:00
Phan An
7de788cb66
fix: make isCompilation nullable 2022-07-28 10:56:02 +02:00
Phan An
0e5e1c6089
fix(api): restore br for lyrics in legacy API 2022-07-28 10:48:52 +02:00
Phan An
4a4bbaf8a7
fix(api): restore Album::is_compilation for backward compat 2022-07-28 09:37:48 +02:00
Phan An
117a3df1f5
feat: replace br with new lines in lyrics 2022-07-28 08:05:15 +02:00
Phan An
7680c71d77
fix: only destroy token if current user is available 2022-07-28 07:51:34 +02:00
Phan An
27ab35a1ae
fix: make API respond to JSON requests 2022-07-28 07:48:04 +02:00
Phan An
a3c1f7aec4
fix(cs): broken static analysis 2022-07-27 20:08:57 +02:00
Phan An
e4ca67bc69
fix(test): broken tests 2022-07-27 12:44:25 +02:00
Phan An
6e2f3764cc
chore(api): remove redundant YouTube controller 2022-07-27 12:18:53 +02:00
Phan An
91f38084eb
feat: change some routes 2022-07-27 11:30:04 +02:00
Phan An
334c53727e
feat(test|api): add PlaylistSong tests 2022-07-27 10:49:33 +02:00
Phan An
aac3ca3cab
feat(test|api): add AlbumInformation tests 2022-07-26 22:54:40 +02:00
Phan An
2da3ddc23c
feat(test|api): add Artist tests 2022-07-26 22:19:58 +02:00
Phan An
9e641c9ba9
feat(test|api): add Album tests 2022-07-26 22:08:31 +02:00
Phan An
c6aeda1730
feat: use number inputs for SongEdit form 2022-07-21 10:08:17 +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
1861b30f56
fix: make artist/album info properties nullable 2022-07-14 07:18:44 +02:00
Phan An
08e4953217
feat: decouple artist/album and the media information 2022-07-08 16:53:04 +02:00
Phan An
61740e66df
feat: store settings as json instead of serialized 2022-07-07 23:23:41 +02:00
Phan An
f5608d0058
fix(test): settings test 2022-07-07 12:59:56 +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
53d9e54dfb
fix: set song title to be empty if not found 2022-07-06 13:07:56 +02:00
Phan An
9d79d95cb9
refactor: massively simplify SmartPlaylist logic 2022-07-06 13:07:20 +02:00
Phan An
32bfb742fe
fix: shareable URL 2022-07-05 23:43:35 +02:00
Phan An
bd5cd1e621
fix: broken sorts 2022-07-05 16:46:23 +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
a59866c453
chore: remove default album covers 2022-07-05 11:03:11 +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
f0f1d975c9
migration: settings screen 2022-04-22 00:20:21 +02:00
Phan An
699e2b5a98
Merge branch 'master' of github.com:koel/koel into master 2022-04-21 18:36:48 +02:00
Phan An
c4365ae88c
fix: batch unfavorite songs 2022-04-21 18:36:37 +02:00
Phan An
8af939cdd6
fix: batch unfavorite songs 2022-04-21 18:36:11 +02:00
Kyle Travis
4cfd0852d3
Fix S3 storage song compilation setting (#1426)
Co-authored-by: Phan An <me@phanan.net>
2022-04-13 15:59:37 +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
f4161fc567
chore: use noContent() method on response 2021-12-06 18:07:43 +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
1b2a70f5c1
chore: better routes (#1368) 2021-10-11 16:23:00 +02:00
Phan An
54d2029d47
feat(playlist): use own controller for playlist songs (#1367) 2021-10-11 13:30:27 +02:00
Phan An
30f4878ec3
feat(smart-playlist): validate smart playlist request (#1366) 2021-10-10 20:05:51 +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
230ec454dd
fix(smart-playlist): ignore songs when creating a smart playlist (#1362) 2021-10-08 12:19:44 +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
a5389c41f7
feat: implement stricter password rules 2021-05-21 19:14:00 +02:00
Phan An
12b3ee69da
feat: throttle login attempts (#1319) 2021-05-21 13:50:23 +02:00
Robin Burchell
d9c2f9f368
fix: non-interactive database connection failures (#1306)
Two problems here:
1) endlessly attempting to reconnect (with no interval between attempts)
   is a nightmare that will use resources and spam logs with no respite
2) attempting to update the database credentials on a connection failure
   is definitely not the right thing to do, as they cannot be requested
   when non-interactive.

Problem 1 is not really an issue in interactive use, because the user
being asked for credentials will slow down the connection attempts.

Problem 2 _could_ conceiveably be a problem in interactive mode (if
there's some sort of transient connection failure), but if this is a
problem, it should perhaps be discussed & addressed separately.

Fixes #1294
2021-04-16 16:15:21 +02:00
Tony Wasserka
c9446c4adb
Recognize the standard MIME type for uploaded FLAC audio (#1290)
Before this change, Koel only recognized the non-standard MIME type audio/x-flac.

Server-side portion of https://github.com/koel/core/pull/53.
2021-04-11 19:51:36 +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
4432ad6c21 feat: use default admin credentials during setup 2021-01-23 19:58:08 +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
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