Commit graph

40 commits

Author SHA1 Message Date
Laravel Shift
00f24a5c12 Laravel 5.2 Update ()
* 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 : More Postgres tweaks 2016-06-28 18:53:53 +01:00
Josef Citrine
ab127a0c72 : Updated PGSQL credentials 2016-06-27 19:18:12 +01:00
Josef Citrine
d4aa08b328 : Removed migration generator 2016-06-27 00:14:03 +01:00
Josef Citrine
37059992eb : 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 : 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 ()
* : Implemented enough of the notification system to start writing drivers.

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

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

* : Implemented notification API endpoints for the SPA.

* Front end setup for notifications

* : 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 : Reindexing now runs on its own queue + lots of code cleanup. 2016-01-17 07:16:16 -08:00
Peter Deltchev
e295c41243 : Made Elasticsearch hosts configurable in an environment variable. 2016-01-17 05:22:14 -08:00
Peter Deltchev
990916171c : Progress commit - some semblance of this is working now. 2016-01-16 01:13:53 -08:00
Peter Deltchev
e0faefee23 : 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 : Implemented several tests for the API. 2015-12-24 18:08:49 -08:00
Peter Deltchev
c4e31a6431 , : 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
Peter Deltchev
dc7c2786a8 Made Google Analytics configurable, removed it outside of production, and corrected several namespace errors. 2015-10-23 19:44:20 -07:00
Peter Deltchev
a4c24a7d64 Updated Pony.fm's PHP namespace to Poniverse\Ponyfm. 2015-10-23 18:22:14 -07:00
Peter Deltchev
7d047a41e4 Fixes T373: Moment.js now assumes whatever it's given is UTC. 2015-09-20 00:27:52 -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
eb3c88b1e1 T350: Added encrypted production and stage configs, updated the cache driver, and moved the .env.example file to the resources directory. 2015-09-12 15:35:40 -07:00
Peter Deltchev
d3a79b2a74 Merge branch 'feature/laravel_5.1' of ssh://phabricator.poniverse.net/diffusion/PF/pony-fm into feature/laravel_5.1 2015-09-12 14:58:30 -07:00
Peter Deltchev
e2225e3378 T350: Updated configuration files for Laravel 5. 2015-09-12 14:56:09 -07:00
Kelvin Zhang
90e1244f4c Update auth.php 2015-09-12 16:09:49 +01: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