Commit graph

26 commits

Author SHA1 Message Date
Laravel Shift
951cd4924e Shift config files 2021-02-14 18:01:24 +00:00
Adam Lavin
76a01273f6
Updates following 5.6 shift 2021-02-14 04:17:45 +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
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
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
Josef Citrine
19d6dd7890 #108: Switching to Laravel's new encryption 2016-12-10 19:58:48 +00: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
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
e0faefee23 #1: Progress commit. 2016-01-16 01:13:53 -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
a4c24a7d64 Updated Pony.fm's PHP namespace to Poniverse\Ponyfm. 2015-10-23 18:22:14 -07:00
Peter Deltchev
d52ef51db0 T350: Regenerated encyption keys for all environments and moved sessions to the database. 2015-09-12 15:56:22 -07:00
Peter Deltchev
e2225e3378 T350: Updated configuration files for Laravel 5. 2015-09-12 14:56:09 -07:00
Kelvin
b33dcfd8c6 Update namespaces 2015-09-06 18:21:11 +01:00
Kelvin
debbfffae9 Update dependencies; add Newrelic 2015-09-06 17:09:57 +01:00
Kelvin Zhang
261b6abb18 Update config; change authentication method 2015-09-05 16:09:25 +01:00
Kelvin Zhang
a3042c6288 Add libraries; adjust models to 5.0 2015-08-30 14:01:12 +01:00
Kelvin Zhang
b15b24b772 Create models 2015-08-30 13:29:12 +01:00
Kelvin Zhang
292d476210 Initial L5.1 commit 2015-08-30 12:26:03 +01:00