Commit graph

63 commits

Author SHA1 Message Date
Laravel Shift
2a62eaa50a Global Facades 2021-02-14 19:45:51 +00:00
Laravel Shift
b8fa6cb1f7 Modernize PHP syntax
PHP 7 adopts a short array syntax as well as prefers single quoted
string were possible.
2021-02-14 19:45:36 +00:00
Laravel Shift
f87b29d064 Shift to new helper methods
Laravel 5 added several new helper functions, including:

- `view()`
- `response()`
- `redirect()`
- `config()`
- `abort()`

Review the [helpers][1] documentation for more details.

[1]: https://laravel.com/docs/5.0/helpers
2021-02-14 19:38:28 +00:00
Laravel Shift
263ea48c5b Adopt Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
2021-02-14 02:39:15 +00:00
Adam Lavin
a1522f3cd7
Change namespace to App 2021-02-14 02:34:58 +00:00
Logic
0187f1268e Update copyright (#134) 2018-04-26 19:39:37 +01:00
Feld0
a0c68a9a6f Updating my copyright credits 2018-04-20 21:25:36 -07:00
Josef Citrine
d43dd9ba40 Updated getID3 2017-05-15 19:37:10 +01:00
Peter Deltchev
ab9dd7a1eb #25: Rewrote authentication to use the Poniverse API PHP library. 2016-12-29 08:07:29 -08:00
Peter Deltchev
2dedaf6638 #25: Upgraded email templates to use Foundation for Emails.
They're now 200% prettier. <3
2016-12-26 18:35:18 -08:00
Peter Deltchev
ff5d8220ef #25: Implemented all basic notification types.
- blocks off the unfinished URL endpoints for email notifications
2016-12-23 06:44:16 -08:00
Peter Deltchev
78b22cdfd0 #25: Added email templates for all currently implemented notification types. 2016-12-23 06:33:45 -08:00
Peter Deltchev
5822408655 #25: New tracks have working email notifications now! 2016-12-23 06:33:33 -08:00
Laravel Shift
c420d3955b Laravel 5.3 Update (#107)
* Shift core files

* Shift app folder structure

Laravel 5.3 no longer includes the `Events`, `Jobs`, `Listeners`, and
`Policies` folders by default. Instead, they are created when you make
them using `artisan`.

* Shift Middleware

* Shift Providers

* Shift configuration

* Shift Routes

Laravel 5.3 now stores Routes in a top-level `routes` folder and
separates them into API, console, and web files.

* Shift deprecations

The `Str::randomBytes` and `Str::equals` methods were deprecated in
Laravel 5.2 and removed in Laravel 5.3 in favor of the native
`random_bytes` and `hash_equals` PHP functions.

In addition, the Collection method `lists()` was replaced with
`pluck()`.

* Shift Laravel dependencies

* Shift cleanup

* Updated composer.json

* Updated providers to 5.3 style

* Removed events folder and extend correct exceptions handler

* Updated configuration

* Shift back our method names from ending in "pluck" to "list"

* Temporarily add back in old mcrypt encrypter
2016-09-30 00:56:25 +01:00
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
Josef Citrine
60f55e6223 Ignore requests with no subscription data 2016-06-15 13:44:54 +01:00
Josef Citrine
0c1a283867 Removed old developement API key 2016-06-15 13:44:54 +01: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
b46ba956d0 Fixes #51: Slugs are now unique and user-changeable. 2016-06-05 20:05:57 -07: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
44bcf87ddb New profiles, works better on mobile 2016-05-19 22:31:04 +01:00
Josef Citrine
0c2b46dd20 Revert "Merge branch 'feature-remote-dev' of https://github.com/Poniverse/Pony.fm"
This reverts commit 1a77341ce2, reversing
changes made to d01b24a91f.
2016-05-16 01:00:37 +01:00
root
9364b52f95 update: added new config variables to support dev installation on remote host 2016-05-16 00:09:30 +02:00
Peter Deltchev
32a3b07f55 Fixed pagination. 2016-02-16 05:04:00 -08:00
Peter Deltchev
840e233acf Added cache busters for Webpack scripts. 2016-02-16 04:05:39 -08:00
Peter Deltchev
4f6f64a3c0 Integrated Webpack for the embedded player. 2016-02-16 03:35:52 -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
5a063e32c3 Refactored tag parsing for uploaded files into its own command. 2016-02-16 01:20:23 -08:00
Peter Deltchev
093f7ffb9d Added ALAC upload support and improved the upload page. 2016-02-15 12:16:04 -08:00
Peter Deltchev
4b3a0808a0 Updated getID3() - this fixes Atom tag parsing. 2016-02-15 11:53:42 -08:00
Peter Deltchev
5588b836a0 Pony.fm should accept all PCM and ADPCM files now. 2016-02-15 02:21:43 -08:00
Peter Deltchev
004c236ed4 #1: There's room for two more tracks in the search UI. 2016-01-17 08:45:44 -08:00
Peter Deltchev
56edd5ec28 #1: Search relevancy improvements and other tweaks. 2016-01-17 02:33:58 -08:00
Peter Deltchev
7a7f4ee02a #1: Moved the artists list into its own directive + visual cleanup of search. 2016-01-16 23:35:43 -08:00
Peter Deltchev
6b5d3f67a3 #1: Beginning of the search front-end. 2016-01-16 01:13:53 -08:00
Peter Deltchev
dbbaa03542 #1: Implemented Elasticsearch mappings for playlists and users. 2016-01-16 01:13:53 -08:00
Peter Deltchev
990916171c #1: Progress commit - some semblance of this is working now. 2016-01-16 01:13:53 -08:00
Peter Deltchev
95090fb334 Include the original-size cover art when tagging tracks.
Also, use Symfony to run external commands.
2016-01-06 05:52:09 -08:00
Peter Deltchev
d0c81f78dc Use the absolute path to the document root when generating asset URL's. 2015-12-31 18:52:56 -08:00
Peter Deltchev
8ac590819f Fixed incorrect class references. 2015-12-31 18:27:21 -08:00
Peter Deltchev
f61771db09 Made avatars local-environment-friendly. 2015-12-31 17:23:41 -08:00
Peter Deltchev
3b7d060b73 Removed libraries that aren't used anymore. 2015-12-31 17:18:01 -08:00
Peter Deltchev
5ff04ff08d Moved all database models into their own namespace. 2015-12-31 16:24:33 -08:00
Zeusking19
605c8b7f99 Resolve #43 - Implement markdown, remove disfunctional newlines.coffee 2015-12-27 15:59:38 +00: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
4d119ff758 #8: Implemented the track upload API. 2015-12-24 04:14:55 -08:00
Peter Deltchev
91a4a2d660 Patched getID3() for PHP 7. 2015-12-20 03:33:22 -08:00
Peter Deltchev
476e6b4800 Updated getID3() to the latest version. 2015-12-20 03:20:04 -08:00
Peter Deltchev
07bb5e2c3a #20: Implemented the genre merging tool. 2015-12-05 18:43:05 -08:00