Commit graph

53 commits

Author SHA1 Message Date
Laravel Shift
00f24a5c12 Laravel 5.2 Update (#106)
* Adopt PSR-2 coding style

The Laravel framework adopts the PSR-2 coding style in version 5.1.
Laravel apps *should* adopt this coding style as well. Read the
[PSR-2 coding style guide][1] for more details and check out [PHPCS][2]
to use as a code formatting tool.

[1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
[2]: https://github.com/squizlabs/PHP_CodeSniffer

* Adopt PHP short array syntax

Laravel 5 adopted the short array syntax which became available in
PHP 5.4.

* Remove SelfHandling from Jobs

Jobs are self handling by default in Laravel 5.2.

* Add new exceptions to `$dontReport` property

* Shift core files

* Shift Middleware

Laravel 5.2 adjusts the `Guard` object used within middleware. In
addition, new `can` and `throttles` middleware were added.

* Shift Input to Request facade

Laravel 5.2 no longer registers the `Input` facade by default. Laravel
now prefers using the `Request` facade or the `$request` object within
*Controllers* instead. Review the [HTTP Requests][1] documentation for
more details.

[1]: https://laravel.com/docs/5.2/requests

* Shift configuration

Laravel 5.2 introduces the `env` app configuration option and removes
the `pretend` mail configuration option. In addition, a few of the
default `providers` and `aliases` bindings were removed.

* Shift Laravel dependencies

* Shift cleanup

* Updated composer.lock

* Updated Middleware to 5.2

* Config update for Laravel 5.2

* [Laravel 5.2] Updated validation strings

* Updated auth config

* Updated to use middleware groups

* Added laravel 5.2 sessions migration
2016-09-29 23:26:31 +01:00
Kelvin Zhang
775de16bfe [#9] Add functionality to add/change versions of tracks 2016-08-30 21:17:34 -07:00
Josef Citrine
9de1d53cd7 Track classification queue and directified track list 2016-08-28 02:59:10 +01:00
Peter Deltchev
64a44fff4f Made avatars optional. Useful for archived profiles!
Also took the opportunity to refactor SaveAccountSettingsCommand somewhat.
2016-06-19 13:13:47 -07:00
Josef Citrine
61520815de #25: Basic service worker notifications 2016-06-15 13:44:28 +01:00
Josef Citrine
2b72b4dcdb #25: Service worker subscription 2016-06-15 13:44:28 +01:00
Peter Deltchev
a482a183dc #2: Admins can now manage other users' content. 2016-06-14 01:27:56 -07:00
Peter Deltchev
09effb6955 #2: Implemented the user creation tool. 2016-06-12 04:16:03 -07:00
Scrutinizer Auto-Fixer
3b1b03e12b Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-06-06 06:29:37 +00:00
Peter Deltchev
9a9ac7e5a1 Lots of minor code cleanup. 2016-06-05 23:15:56 -07:00
Peter Deltchev
b46ba956d0 Fixes #51: Slugs are now unique and user-changeable. 2016-06-05 20:05:57 -07:00
Josef Citrine
59b0ebd64e Admins can modify show songs 2016-06-06 00:12:10 +01:00
Josef Citrine
ef598a72ef Test UI for notifications 2016-05-27 20:38:59 +01:00
Peter Deltchev
0109244115 Feature/notifications (#87)
* #25: Implemented enough of the notification system to start writing drivers.

* #25: Implemented most of the Pony.fm notification driver's backend.

* #25: Abstracted the logic for building lists of notification recipients.

* #25: Implemented notification API endpoints for the SPA.

* Front end setup for notifications

* #25: Implemented notification API endpoints for the SPA.
2016-05-27 20:12:40 +01:00
Josef Citrine
fb7f291f31 Switch admin check to Gate 2016-05-17 13:00:57 +01:00
Josef Citrine
40122a9446 Admins can edit users 2016-05-17 00:30:05 +01:00
Josef Citrine
481a0a6b9f Admins can view all tracks 2016-05-11 17:41:49 +01:00
Josef Citrine
a6c9393e3d Cleaned up code, added caching for stats 2016-05-04 17:07:00 +01:00
Josef Citrine
97b4bb1b8b 'Functional' play charts
Needs styling
2016-05-03 13:01:50 +01:00
Josef Citrine
3e874da868 Start of a stats API 2016-05-02 13:23:22 +01:00
Mihail-K
e63c18f6be Merge branch 'master' into feature/track-removals 2016-03-20 15:10:17 -04:00
Peter Deltchev
d8933374ab #2: Rearranged various routes for account management + other cleanup.
The "Favourites" area within account management was removed as it duplicates
the functionality of the favourites area on public profiles.
2016-03-18 20:01:00 -07:00
Peter Deltchev
b715422c24 #2: Properly handle editing tracks and albums that you don't own. 2016-03-12 17:27:49 -08:00
Peter Deltchev
9e753ec26e #2: Implemented track moderation. 2016-02-26 19:23:14 -08:00
Peter Deltchev
5451294dfc Replaced Pony.fm's profiler with @barryvdh's Laravel Debugbar. 2016-02-16 02:53:28 -08:00
Peter Deltchev
7176fb2bca #2: Implemented the inline track editor on track pages.
Also includes a fix for lyrics on track pages.
2016-02-15 23:50:36 -08:00
Peter Deltchev
4585eb712e #1: SEARCH IS ALIVE. LET'S GO, YES! 2016-01-20 19:18:18 -08:00
Peter Deltchev
845449c8cc #1: Reindexing now runs on its own queue + lots of code cleanup. 2016-01-17 07:16:16 -08:00
Peter Deltchev
33befbe3d0 #1: Darklaunched search to site staff. 2016-01-17 05:43:28 -08:00
Peter Deltchev
e0faefee23 #1: Progress commit. 2016-01-16 01:13:53 -08:00
Peter Deltchev
bf831d839a #20: Added the genre creation tool. 2016-01-06 04:50:44 -08:00
Peter Deltchev
e85b79a9e4 Fixed error on artist pages and an issue with profile URL generation. 2015-12-31 21:12:16 -08:00
Peter Deltchev
622dc2d577 #29: Implemented the auth:merge-duplicates CLI script to reconcile duplicate accounts. 2015-12-29 08:54:08 -08:00
Zeusking19
dfefb2ad81 Implement server-side track removal from playlist 2015-12-28 14:31:28 +00:00
Peter Deltchev
93b76d1954 Added support for JPEG cover art. 2015-12-27 01:43:43 -08:00
Peter Deltchev
ac6ce4bbb4 #8: Implemented auto-publishing and lots of optional fields for the upload endpoint. 2015-12-26 03:40:47 -08:00
Peter Deltchev
de88fe6fff #8: Updated the name of the track upload scope. 2015-12-25 01:25:22 -08:00
Peter Deltchev
4d119ff758 #8: Implemented the track upload API. 2015-12-24 04:14:55 -08:00
Peter Deltchev
e6c31a1500 Updated URL generation to use Laravel 5's helpers. 2015-12-20 07:07:36 -08:00
Peter Deltchev
851dfff921 #39: Implemented asynchronous encoding in uploads. 2015-12-18 05:11:29 -08:00
Peter Deltchev
e3fc8ee6d6 Added the new advertising program page, updated the FAQ, and revamped all the static pages. 2015-12-06 00:22:00 -08:00
Peter Deltchev
07bb5e2c3a #20: Implemented the genre merging tool. 2015-12-05 18:43:05 -08:00
Peter Deltchev
be23475ae5 Include a link to the genre's content in the genre editor. 2015-11-24 03:37:33 -08:00
Peter Deltchev
4c660fcb71 #20: Implemented the genre renaming tool. 2015-11-24 02:49:47 -08:00
Peter Deltchev
395a894bdd Removed obsolete CSRF validation middleware. CSRF tokens are validated on all requests. 2015-11-23 21:47:26 -08:00
Peter Deltchev
35cd4d65e4 Updated all endpoints that are supposed to use middleware to actually use it. 2015-11-23 21:39:03 -08:00
Peter Deltchev
c4e31a6431 #2, #20: Laid the groundwork for an admin area. Includes the addition of Laravel's authorization system. 2015-11-23 21:19:23 -08:00
Kelvin Zhang
6c5155f583 #4: Implement cached playlist downloads 2015-11-08 17:46:35 +00:00
Kelvin Zhang
a03c44aadb Add cache routes 2015-10-28 17:32:44 +00:00
Peter Deltchev
ed0a5fb8ac Licensed Pony.fm under the GNU Affero General Public License (AGPL). 2015-10-24 22:17:45 -07:00