Commit graph

52 commits

Author SHA1 Message Date
Phan An
448cbed731 chore: remove unnecessary type hints 2024-07-06 17:45:02 +02:00
Phan An
a012256662 chore: make properties readonly 2024-07-06 17:44:58 +02:00
Phan An
9dc23f319e feat(plust): playlist collaboration 2024-07-06 17:44:44 +02:00
Phan An
c620aaefe5 feat(plus): support "own songs only" option for smart playlists 2024-07-06 17:44:43 +02:00
Phan An
d8282557d7 refactor: better repository method naming and usage 2024-01-01 21:38:41 +01:00
Phan An
de88d23b95
chore: merge v6 into base API (#1685) 2023-06-05 23:46:41 +02:00
Phan An
64229568a1
feat: allow specifying folder when create/edit playlists (#1603) 2022-11-27 16:29:29 +01:00
Phan An
52dd323c96
feat: support playlist folders (closes #1476) 2022-09-02 22:01:11 +07:00
Phan An
bfd1008f6c
chore: clean up and make code php8-y 2022-07-29 09:04:44 +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
50a94cb4b9 chore: fix static analysis problems 2020-12-23 00:01:49 +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
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
e356e72814 feat: upgrade Laravel to 7.x 2020-09-06 20:21:39 +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
Phan An
3c2996a380 Take rules into account when update playlist 2019-04-13 22:38:34 +02: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
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
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
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
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
47360bcfa6
Cleanups 2017-05-02 10:23:10 +07:00
Phan An
40deeb9f8b
Refactor and clean up 2017-04-29 10:55:41 +08:00
An Phan
b058ea5c42
Fix playlist sync bug 2016-11-18 13:41:54 +08:00
An Phan
4480ad7ccf
Make PHPStorm happy 2016-08-16 23:12:11 +08: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
339d0c464d
Fix playlist creation bug 2016-07-11 01:59:25 +08:00
Phan An
461480f766 Applied fixes from StyleCI 2016-03-05 23:11:28 -05:00
An Phan
8453c8e30b Several methods for API 2016-01-26 14:32:29 +08:00
An Phan
950772a701 Bump version 2015-12-30 11:15:21 +07:00
Pedro Borges
830718f396 Update docblocks 2015-12-15 08:35:46 -02:00
Pedro Borges
d21736d59d Fix conflicts 2015-12-14 16:12:20 -02:00
Pedro Borges
899c7176c1 Use Laravel built-in authorization
The comment below motivated me to find a better solution for the
repeated authorisation checks:

```php
// This can't be put into a Request authorize(), due to Laravel(?)'s
limitation.
```

This is the result.
2015-12-14 14:27:26 -02:00