Phan An
3832ca0fb3
[debug]
2022-07-29 09:53:54 +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
e4ca67bc69
fix(test): broken tests
2022-07-27 12:44:25 +02:00
Phan An
93651a8e14
feat(test|api): add SongSearch tests
2022-07-27 12:04:04 +02:00
Phan An
42860cc221
feat(test|api): add Song tests
2022-07-27 12:01:17 +02:00
Phan An
c19ba06912
feat(test|api): add RecentlyPlayedSong tests
2022-07-27 11:31: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
b3ee1ff528
feat(test|api): add PlayCount tests
2022-07-26 23:05:43 +02:00
Phan An
f9d0956c63
feat(test|api): add Overview tests
2022-07-26 23:00:42 +02:00
Phan An
f288fd3946
feat(test|api): add ArtistInformation tests
2022-07-26 22:57:27 +02:00
Phan An
aac3ca3cab
feat(test|api): add AlbumInformation tests
2022-07-26 22:54:40 +02:00
Phan An
0641e5b393
feat(test|api): add Favorites tests
2022-07-26 22:41:26 +02:00
Phan An
e86cdf5131
feat(test|api): add ExcerptSearch tests
2022-07-26 22:36:48 +02:00
Phan An
705e135f1c
feat(test|api): add Data tests
2022-07-26 22:27:32 +02:00
Phan An
a7b8f91fdc
feat(test|api): add ArtistSong tests
2022-07-26 22:23:34 +02:00
Phan An
2da3ddc23c
feat(test|api): add Artist tests
2022-07-26 22:19:58 +02:00
Phan An
afd88b5b38
feat(test|api): add AlbumSong tests
2022-07-26 22:19:49 +02:00
Phan An
9e641c9ba9
feat(test|api): add Album tests
2022-07-26 22:08:31 +02:00
Phan An
cebbf13107
feat: improve Spotify integration
2022-07-18 13:24:43 +02:00
Phan An
878815659f
feat: integrate with Spotify
2022-07-17 00:42:29 +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
a1f0309b0a
fix(test): sync tests
2022-07-07 12:45:57 +02:00
Phan An
7d4f3caf68
fix(test): broken tests
2022-07-06 18:08:55 +02:00
Phan An
58659c2e30
feat: better supports for compilation when scanning
2022-07-05 15:47:26 +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
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
66badd0098
fix: static analysis errors
2021-07-26 23:21:36 +02:00
Phan An
70696da096
feat: require PHP7.4 ( #1326 )
2021-06-05 12:47:56 +02:00
Phan An
d30c5986b3
chore: clean up some tests
2021-06-04 18:31:45 +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
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
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
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
d6eeb8a2e0
chore: clean up TestCase classes
2020-09-09 18:18:53 +02:00
Phan An
448d33c2c3
feat: group web routes under web/
2020-09-07 23:03:22 +02: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
f51e6e7326
fix: Upload test
2020-06-13 21:44:15 +02:00
Phan An
a5d25c3aed
feat: Allow creating admins
2020-06-13 17:23:22 +02:00
Phan An
59bb1a585c
fix: remove createApplication return type
2020-06-13 16:09:17 +02:00
Phan An
3fbf14efd2
chore: sandbox tests
2020-06-13 14:19:24 +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
b8b522b422
chore: more tests for image/cover upload
2020-04-26 21:14:36 +02:00
Phan An
e5a67fed05
feat: drag/drop to upload album/artist images
2020-04-26 21:09:43 +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
Phan An
9781c8ae88
Apply fixes from StyleCI ( #1173 )
2020-01-17 17:46:06 +01: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
dependabot-preview[bot]
6ea74bf7bd
chore(deps-dev): bump phpunit/phpunit from 7.5.18 to 7.5.19 ( #1164 )
...
* chore(deps-dev): bump phpunit/phpunit from 7.5.18 to 7.5.19
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit ) from 7.5.18 to 7.5.19.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases )
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/7.5.19/ChangeLog-7.5.md )
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/7.5.18...7.5.19 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Apply fixes from StyleCI (#1165 )
Co-authored-by: Phan An <me@phanan.net>
2020-01-08 15:21:29 +01: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
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
fe9653e09a
Add another test for ForceHttpsTest
2019-08-05 18:05:24 +07:00
Phan An
335c3370db
Apply fixes from StyleCI ( #1039 )
2019-08-05 17:57:36 +07:00
Phan An
63d7c844cc
Add a test for ForceHttps middleware
2019-08-05 17:57:09 +07:00
Phan An
074394fcac
Fix type hint for Artisan
2019-08-05 17:57:09 +07:00
Phan An
3958fd3d85
Apply fixes from StyleCI ( #1026 )
2019-07-22 09:03:43 +02:00
Phan An
2a3129d3f3
Upgrade Laravel to 5.8
2019-07-22 09:03:23 +02:00
Phan An
5f0a487586
Fix SongZipArchive tests
2019-06-30 13:13:20 +02:00
Phan An
193b484839
Remove unnecessary model tests
2019-06-30 12:18:48 +02:00
Phan An
9efd232daf
Add some improvements for SongZipArchive
2019-06-30 12:18:48 +02:00
Phan An
6a2a6bdc30
Apply fixes from StyleCI ( #952 )
2019-04-07 23:09:51 +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
d58b791c37
Allow smart playlist creation
2018-11-25 22:21:46 +01:00
Phan An
6122a25554
Apply fixes from StyleCI ( #856 )
2018-11-18 22:50:37 +01:00
Phan An
d45948e1bd
Revise the smart playlist rule
2018-11-18 22:50:15 +01:00
Phan An
0d1657ea66
Fix doc type hint ( #850 )
...
* Add "Smart Playlist" backend logics
* Apply fixes from StyleCI (#848 )
2018-11-04 12:59:00 +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
096eb7e610
Remove over-engineered service
2018-09-04 13:25:24 +07:00
Phan An
373870fefb
Add a UserPreferenceService
2018-09-04 12:34:02 +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
fe34592e66
Apply fixes from StyleCI ( #793 )
2018-08-29 11:42:11 +02:00
Phan An
1558062428
Rewrite the file synchronization handling logic
2018-08-29 16:41:42 +07:00
Phan An
b227ece517
Refactor Lastfm and iTunes services
2018-08-29 14:05:24 +07:00
Phan An
0ad670ffff
Use repositories
2018-08-29 13:30:39 +07:00
Phan An
bf1d158c90
Refactor S3
2018-08-29 13:15:24 +07:00
Phan An
ffa05696c8
Upgrade to Larave 5.5 and PHP 7
2018-08-29 13:15:23 +07:00
Phan An
20282ed633
Use repositories
2018-08-29 13:15:11 +07:00
Phan An
f4ca7cf09f
Refactor S3
2018-08-29 11:06:17 +07:00
Phan An
1dd5457084
Upgrade to Larave 5.5 and PHP 7
2018-08-24 17:27:19 +02:00
Phan An
3ab55d438b
Apply fixes from StyleCI ( #788 )
2018-08-23 08:58:43 +02:00
Phan An
f409c5bc47
Minor fixes here and there
2018-08-23 08:58:23 +02:00
Phan An
02d36c692e
Refactor InitCommand
2018-08-23 08:58:22 +02:00
Phan An
a340a64748
Better download tests
2018-08-22 22:25:01 +02:00
Phan An
1be4678b25
DI for ProfileController
2018-08-22 21:46:36 +02:00
Phan An
61bc21c303
Better tests for User Controller
2018-08-22 21:40:04 +02:00
Phan An
3efcc9a049
Fix risky test false positives
2018-08-22 21:19:48 +02:00
Phan An
daf250fd00
Apply fixes from StyleCI ( #785 )
2018-08-22 21:14:56 +02:00
Phan An
6cadfc5ac3
Tests for streamer factory
2018-08-22 21:14:28 +02:00
Phan An
7c7693179d
Refactor streamers
2018-08-22 19:59:14 +02:00
Phan An
86915c9280
Apply fixes from StyleCI ( #782 )
2018-08-19 23:17:24 +02:00
Phan An
8f7654a220
Refactor scrobble
2018-08-19 23:17:05 +02:00
Phan An
a96bd3e326
Add test for GenerateJWTSecretCommand
2018-08-19 23:03:02 +02:00
Phan An
69d68727b9
Rewrite Lastfm tests
2018-08-19 18:05:10 +02:00
Phan An
f3887e6276
Rewrite Sync command
2018-08-19 17:26:34 +02:00
Phan An
a837432a4e
Use proper DI for cache service
2018-08-19 16:58:14 +02:00
Phan An
1c76ff6d76
Use a service for iTunes
2018-08-19 16:40:25 +02:00
Phan An
6181041331
Apply fixes from StyleCI ( #778 )
2018-08-19 13:13:29 +02:00
Phan An
67357316bc
Big revamp for lastfm and youtube services
2018-08-19 13:13:08 +02:00
Phan An
d4d2b0aff3
Apply fixes from StyleCI ( #777 )
2018-08-19 11:06:59 +02:00
Phan An
5fbec01c50
Big revamp for artist and album info
2018-08-19 11:06:31 +02:00
Phan An
cedb9f9922
Apply fixes from StyleCI ( #776 )
2018-08-18 15:20:02 +02:00
Phan An
4fc5117509
Use a service for media info
2018-08-18 15:19:40 +02:00
Phan An
1d5c8e84b6
Use a service for Interaction
2018-08-18 14:27:44 +02:00
Phan An
181357f3de
Rename Download service
2018-08-18 14:27:17 +02:00
Phan An
f4c00abe02
Use DI in Download controllers
2018-08-18 13:53:15 +02:00
Phan An
88d2d4fbe8
Apply fixes from StyleCI ( #695 )
2017-12-10 01:23:37 +01:00
Phan An
d2a535bcc1
Merge branch 'master' of github.com:phanan/koel
2017-12-10 01:23:11 +01:00
Phan An
b4103a67de
Move tests
2017-12-09 23:39:34 +01:00
Phan An
bf3ca591d1
Apply fixes from StyleCI ( #694 )
2017-12-09 21:10:55 +01:00
Phan An
bca8668ace
Refactor and use extending request classes
2017-12-09 19:34:27 +01:00
Phan An
6a2b8753ad
Fix minor grammar error
2017-12-03 23:31:53 +01:00
Fiete Börner
4298774e7f
implement simple multi disc support ( #687 )
...
* add disc field to songs table via migration
* add disc field to song model
* collect disc information in file sync process
* sort song list by disc and track number in album context
* check the disc field in file test
* remove nullable flag from disc field in add_disc_into_songs migration
* fix php code style issues
* fix js code style
* fix sort usage in song-list
* sort songs by inserting into queue by clicking the album/artist item play button (album_id, disc, track)
* add disc to sync tags in media model
2017-12-03 11:02:31 +01:00
Phan An
d949ea9e60
Load (and parse) playlist content on demand
2017-12-02 17:05:40 +01:00
Phan An
3e3004a904
Fix the bug with lyrics fails to be read
2017-11-08 23:39:26 +01:00
Phan An
d571575756
Apply fixes from StyleCI ( #679 )
2017-11-08 22:35:36 +01:00
Phan An
365ea3d9ad
Add unit tests for File
2017-11-08 22:35:16 +01:00
Phan An
fe4a15d6a5
Make tests green again
2017-08-28 12:29:39 +01:00
Phan An
8c71bd4d04
Apply fixes from StyleCI ( #639 )
2017-08-19 16:28:01 +01:00
Phan An
e40a57c0cd
Apply fixes from StyleCI ( #634 )
2017-08-06 10:44:17 +01:00
Phan An
f827c63819
Make controllers slim
2017-08-06 10:43:59 +01:00