Commit graph

64 commits

Author SHA1 Message Date
Laravel Shift
6dd0eaa33a Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2021-02-14 18:57:25 +00:00
Laravel Shift
7a5c230fc2 Shift config files 2021-02-14 18:57:25 +00:00
Laravel Shift
e140dd8895 Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2021-02-14 18:21:31 +00:00
Laravel Shift
78d50ddc51 Shift config files 2021-02-14 18:21:31 +00:00
Laravel Shift
45c2af5dac Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2021-02-14 18:01:24 +00:00
Laravel Shift
951cd4924e Shift config files 2021-02-14 18:01:24 +00:00
Adam Lavin
4cf5c23010
Updates following 5.7 shift 2021-02-14 17:59:34 +00:00
Laravel Shift
a4a3b419d2 Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2021-02-14 04:23:11 +00:00
Laravel Shift
9caf5f01af Shift config files 2021-02-14 04:23:11 +00:00
Adam Lavin
76a01273f6
Updates following 5.6 shift 2021-02-14 04:17:45 +00:00
Laravel Shift
3e1869f7e6 Default config files
In an effort to make upgrading the constantly changing config files
easier, Shift defaulted them and merged your true customizations -
where ENV variables may not be used.
2021-02-14 02:39:22 +00:00
Laravel Shift
4a6a5368d3 Shift config files 2021-02-14 02:39:22 +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
Adam Lavin
96f1317943
Fix config for register redirections 2018-04-26 13:07:29 +01:00
Adam Lavin
30f3ba952a Laravel 5.5 2017-11-28 07:00:11 +00:00
Adam Lavin
0cc03b509b Laravel 5.4 2017-11-28 05:45:47 +00:00
Josef Citrine
373703990c Added ponify directory in config 2017-05-15 12:18:04 +01:00
Josef Citrine
780217183e Using CORS middleware for API requests from supported origins 2017-01-03 17:44:40 +00:00
Peter Deltchev
ab9dd7a1eb #25: Rewrote authentication to use the Poniverse API PHP library. 2016-12-29 08:07:29 -08:00
Peter Deltchev
5822408655 #25: New tracks have working email notifications now! 2016-12-23 06:33:33 -08:00
Josef Citrine
19d6dd7890 #108: Switching to Laravel's new encryption 2016-12-10 19:58:48 +00:00
Peter Deltchev
66b7df6dc1 Fixed tracking of failed asynchronous jobs.
- expect to find the table in the PostgreSQL database, not MySQL
- replace the table's schema with Laravel 5.3's version of it
2016-12-10 04:24:12 -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
4b0ed2fd1b #86: More Postgres tweaks 2016-06-28 18:53:53 +01:00
Josef Citrine
ab127a0c72 #86: Updated PGSQL credentials 2016-06-27 19:18:12 +01:00
Josef Citrine
d4aa08b328 #86: Removed migration generator 2016-06-27 00:14:03 +01:00
Josef Citrine
37059992eb #86: Generated migrations from MySQL DB 2016-06-27 00:11:45 +01:00
Josef Citrine
dd404d2a22 Swthced to pqsql 2016-06-25 20:25:48 +01:00
Josef Citrine
66c6334b10 God damn it 2016-06-15 14:18:55 +01:00
Josef Citrine
0c1a283867 Removed old developement API key 2016-06-15 13:44:54 +01:00
Peter Deltchev
09effb6955 #2: Implemented the user creation tool. 2016-06-12 04:16:03 -07:00
Josef Citrine
9eac8153db Switched error handler to Whoops 2016-06-05 19:45:21 +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
Peter Deltchev
cea48c6d83 Fixed Laravel Debugbar in the dev environment. 2016-05-23 01:57:03 -07:00
Peter Deltchev
5451294dfc Replaced Pony.fm's profiler with @barryvdh's Laravel Debugbar. 2016-02-16 02:53:28 -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
e295c41243 #1: Made Elasticsearch hosts configurable in an environment variable. 2016-01-17 05:22:14 -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
e0faefee23 #1: Progress commit. 2016-01-16 01:13:53 -08:00
Peter Deltchev
cb27cddac7 Typehinted the database models. 2015-12-31 16:36:08 -08:00
Peter Deltchev
5ff04ff08d Moved all database models into their own namespace. 2015-12-31 16:24:33 -08:00
Peter Deltchev
7bd336ef55 #8: Implemented several tests for the API. 2015-12-24 18:08:49 -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
Peter Deltchev
ac533a6eeb Simplified the transaction names we send to NewRelic. 2015-11-15 00:52:48 -08:00
Kelvin Zhang
b2408e3d84 Add in changes from code review 2015-11-01 16:49:28 +00:00
Kelvin Zhang
8f76b4d59d Add cache duration to ponyfm.php config 2015-10-26 20:55:15 +00:00
Peter Deltchev
b00982cd61 Converted a bunch of tabs to spaces. 2015-10-24 19:35:37 -07:00
Peter Deltchev
e1c6a175b0 Implemented a "Powered by Pony.fm" attribution in the site's footer. 2015-10-24 18:50:45 -07:00