Commit graph

208 commits

Author SHA1 Message Date
Phan An
d88dd79f15 Fix basic errors detected by PHPStan 2018-08-31 20:47:15 +07:00
Phan An
351efe4092 Move version checking logic to a service 2018-08-30 12:37:03 +07:00
Phan An
453fb76c5d Refactor and fix requests 2018-08-30 10:11:47 +07:00
Phan An
9222af21e8
Apply fixes from StyleCI (#794) 2018-08-29 11:54:33 +02:00
Phan An
94f56648c2 Use a package to handle CORS 2018-08-29 16:54:13 +07:00
Phan An
3825452658
Apply fixes from StyleCI (#790) 2018-08-29 09:07:44 +02:00
Phan An
0ad670ffff Use repositories 2018-08-29 13:30:39 +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
1dd5457084 Upgrade to Larave 5.5 and PHP 7 2018-08-24 17:27:19 +02:00
Phan An
6a2a2263fa
Apply fixes from StyleCI (#786) 2018-08-22 22:25:23 +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
7c7693179d Refactor streamers 2018-08-22 19:59:14 +02:00
Phan An
8f7654a220 Refactor scrobble 2018-08-19 23:17:05 +02:00
Phan An
f087dc71a2
Apply fixes from StyleCI (#780) 2018-08-19 18:05:54 +02:00
Phan An
69d68727b9 Rewrite Lastfm tests 2018-08-19 18:05:10 +02:00
Phan An
5cf19b09aa
Apply fixes from StyleCI (#779) 2018-08-19 17:26:52 +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
67357316bc Big revamp for lastfm and youtube services 2018-08-19 13:13:08 +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
N.Yanbe
064d6f8615 Fix AWS S3 related issues. (#757)
* Avoid an error from MySQL, "Column cannot be null".

Similar to this issue: https://stackoverflow.com/questions/43860634/laravel-5-4-upgrade-integrity-constraint-violation-column-cannot-be-null

* Clears the media cache after storing a new song.
2018-06-16 11:29:41 +02:00
Phan An
1b8bd96b9b
Apply fixes from StyleCI (#697) 2017-12-10 22:22:12 +01:00
Phan An
c276d1ab04 Fix song playing request 2017-12-10 22:21:54 +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
9987443795
Apply fixes from StyleCI (#690) 2017-12-02 17:07:53 +01:00
Phan An
d949ea9e60 Load (and parse) playlist content on demand 2017-12-02 17:05:40 +01:00
Phan An
537cff716c Apply fixes from StyleCI (#644) 2017-08-27 16:53:50 +01:00
Phan An
dc7c6bec45 Refactor the remote controller into its own page 2017-08-27 16:53:17 +01:00
Phan An
0ebf07021c Small best practice fixes 2017-08-06 10:50:52 +01:00
Phan An
f827c63819 Make controllers slim 2017-08-06 10:43:59 +01:00
Phan An
c9ec0406ff Apply fixes from StyleCI (#611) 2017-06-04 02:31:59 +01:00
Phan An
796088944d Add more refactorings 2017-06-04 02:30:45 +01:00
Phan An
caf13fbac0 Refactor Download service 2017-06-04 02:12:08 +01:00
Phan An
7d80f1d143 Refactor and fix code styles 2017-06-03 17:35:08 +01:00
Phan An
eb9a1a66e3 Apply fixes from StyleCI (#588) 2017-05-02 10:23:32 +07:00
Phan An
47360bcfa6
Cleanups 2017-05-02 10:23:10 +07:00
Phan An
2e15efd1c3 Apply fixes from StyleCI (#587) 2017-05-02 00:49:44 +07:00
Phan An
0521e2e119
Merge conflicts 2017-05-02 00:49:08 +07:00
Phan An
4301682c7d Apply fixes from StyleCI (#586) 2017-05-02 00:47:23 +07:00
Phan An
2e59ab0bb1
Use proper Request instance 2017-04-29 14:06:36 +08:00
Phan An
40225f9cff
Use proper Request instance 2017-04-29 14:04:23 +08:00
Phan An
a8bd7ea7c6
Rename contributing_artist_id to simple artist_id 2017-04-29 11:49:14 +08:00
Phan An
a123243658
Always save contributing_artist_id for S3 put 2017-04-29 10:58:08 +08:00
Phan An
40deeb9f8b
Refactor and clean up 2017-04-29 10:55:41 +08:00
Phan An
47c36f289e
Move User dependency out of Song scrobble method 2017-04-29 10:38:17 +08:00
Phan An
57157b5a57
Modify MediaCache to adapt to new changes 2017-04-28 22:36:57 +08:00
Phan An
220cb45cdb Apply fixes from StyleCI (#580) 2017-04-24 14:38:41 +08:00
Phan An
a96c0e22fb Compilation fixes getting in shape 2017-04-24 00:01:02 +08:00
Phan An
3049804811 Move streamers into Services 2017-04-20 19:20:32 +08:00
An Phan
96e5c62ce0
Add "Play at 128kbps on mobile" setting 2017-03-26 17:02:03 +08:00
An Phan
f2db3bac89
Attempt to fix #550 by setting Last-Modified header 2017-03-23 08:53:07 +08:00
Phan An
ce1971b5ba Apply fixes from StyleCI (#541) 2017-02-15 11:19:25 +08:00
An Phan
bdca871b6e
Upgraded to Laravel 5.4 2017-02-15 11:16:49 +08:00
X-Ryl669
9f11a7111e Fix HTTP error code when bad authentication to 401
…instead of 400/404, so client can deal with it correctly (#537)
2017-02-09 20:06:39 +08:00
An Phan
f51e660501
Cache the media 2017-01-06 11:04:08 +08:00
An Phan
86ca8d40f6
Add iTunes integration 2016-12-11 21:08:30 +08:00
An Phan
09b15b9e66
Add Sentry 2016-12-09 16:23:40 +08:00
An Phan
b058ea5c42
Fix playlist sync bug 2016-11-18 13:41:54 +08:00
An Phan
ae8a1e5e62
Fix config 2016-11-17 16:58:29 +08:00
An Phan
ef618a611b
First steps in e2e 2016-11-13 23:05:24 +08:00
Phan An
75afd02d54 Applied fixes from StyleCI (#464) 2016-09-26 15:33:53 +08:00
An Phan
fe3600670e
Simplify song tests 2016-09-26 14:49:30 +08:00
An Phan
b0f5b3d76e
Upgrade to Laravel 5.3 2016-09-26 14:30:00 +08:00
bdgold
cf1a244606 Fix steaming bug typo (#439) 2016-09-10 14:39:57 +07:00
bdgold
27933d49cf move env variables to config (#415) 2016-08-21 22:19:03 +07:00
Phan An
4eeb3d577c Applied fixes from StyleCI (#407) 2016-08-16 23:12:35 +08:00
An Phan
4480ad7ccf
Make PHPStorm happy 2016-08-16 23:12:11 +08:00
An Phan
1f6d272f39
Refactor 2016-08-10 09:23:52 +08:00
An Phan
089283b04c
Better logic for transcoding check 2016-08-10 09:12:20 +08:00
An Phan
8065c00f94
Fixes #396 2016-08-10 09:08:52 +08:00
An Phan
d203b8a9d7
Empty settings for non-admins 2016-08-08 10:55:15 +07:00
Phan An
cb7cebe151 Applied fixes from StyleCI (#392) 2016-08-03 18:42:39 +08:00
An Phan
65d403f857
Code style and refactor 2016-08-03 18:42:11 +08:00
An Phan
e3ee03db24
Complete YouTube feature 2016-07-30 23:32:17 +08:00
An Phan
528469fdc4
Add YouTube service on the server side 2016-07-14 16:53:10 +08:00
An Phan
e19b5e5c79
Allow downloading from S3 (fixes #371) 2016-07-11 15:26:39 +08:00
An Phan
339d0c464d
Fix playlist creation bug 2016-07-11 01:59:25 +08:00
Phan An
5dc2e7faf7 Applied fixes from StyleCI (#357) 2016-06-13 17:11:41 +08:00
An Phan
c098301167
Add S3 functionality 2016-06-13 17:04:42 +08:00
An Phan
ad150daa5e
Fix syntax (!) bug 2016-06-10 15:51:08 +08:00
An Phan
da5d0e22f3
Refactor 2016-06-10 15:33:27 +08:00
An Phan
83f421f990 Add ability to view artist individually 2016-06-05 19:06:24 +08:00
An Phan
db340438ad Add ability to view album info individually 2016-06-05 18:46:40 +08:00
An Phan
27b44ec79c Refactor useLastfm config 2016-06-05 18:44:13 +08:00
Phan An
b8bcff0842 Applied fixes from StyleCI 2016-06-04 13:10:29 -04:00
An Phan
b151f3f00a Typos and doc fixes 2016-06-04 22:17:24 +08:00
An Phan
6d0322f80d Finish Favorites download 2016-06-04 21:42:12 +08:00
An Phan
44e184454c Authorize playlist before downloading 2016-06-04 21:29:45 +08:00
An Phan
970981ccc1 Finish Playlist download, starting Fav download 2016-06-04 20:29:23 +08:00
An Phan
774ae68efb Finish Album download, starting Artist download 2016-06-04 19:20:11 +08:00