Commit graph

94 commits

Author SHA1 Message Date
Laravel Shift
4a37c63876 Shift cleanup 2021-02-14 19:11:44 +00:00
Laravel Shift
bf00a958cc Namespace seeders 2021-02-14 19:11:17 +00:00
Laravel Shift
635b39d109 Shift to class based factories 2021-02-14 19:11:17 +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
Feld0
a0c68a9a6f Updating my copyright credits 2018-04-20 21:25:36 -07:00
Adam Lavin
ad76432c56 Fix Laravel 55 upgrade migration 2017-12-03 10:06:18 +00:00
Adam Lavin
9fe1c409a5 Added clear cache migration 2017-12-03 09:24:36 +00:00
Adam Lavin
30f3ba952a Laravel 5.5 2017-11-28 07:00:11 +00:00
Peter Deltchev
dba9ae1b15 #58: Implemented a more stable and useful track details endpoint. 2017-10-28 16:44:08 -07:00
Josef Citrine
c6dc6aae32 EQBeats import script and db migration 2017-09-23 09:20:07 +01:00
Josef Citrine
b84669c3f1 Added foreign key constraint to redirect to 2017-09-20 22:59:24 +01:00
Josef Citrine
e844054643 Merging accounts now redirects old URL 2017-09-20 22:02:39 +01:00
Josef Citrine
8841bd2dc7 #100: Progress commit 2017-02-21 17:16:29 +00:00
Peter Deltchev
7ebab328d4 #25: Enabled email notifications for all users.
This also includes some fixes to the account merging script.
2016-12-30 12:19:10 -08:00
Peter Deltchev
ab9dd7a1eb #25: Rewrote authentication to use the Poniverse API PHP library. 2016-12-29 08:07:29 -08:00
Peter Deltchev
b401a0ae7e #25: Implemented UI for managing email subscriptions. 2016-12-24 18:11:42 -08:00
Peter Deltchev
5822408655 #25: New tracks have working email notifications now! 2016-12-23 06:33:33 -08: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
Josef Citrine
ec8b64f494 Added announcement system 2016-11-11 19:39:31 +00:00
Adam Lavin
14211f4ea4 Initial Alexa integration 2016-09-30 22:21:17 +01: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
66ffd7714d Ensure column does not exist before creation 2016-09-22 23:28:24 +01:00
Kelvin Zhang
775de16bfe [#9] Add functionality to add/change versions of tracks 2016-08-30 21:17:34 -07:00
Kelvin Zhang
deaf14f53c Postgres migration improvement; prevent MysqlToPostgres from being run 2016-08-28 20:24:28 +01:00
Josef Citrine
52cdf621b3 Merge pull request #96 from Poniverse/postgres
The switch to PostgreSQL
2016-07-18 00:59:40 +01:00
Josef Citrine
e4fe1dc0e8 #86: Migration improvements 2016-07-17 23:31:14 +01:00
Josef Citrine
c3ad562a8e Added pgloader to vagrant install 2016-07-17 21:34:40 +01:00
Josef Citrine
7f2be0d6b6 #86: Url encode db password 2016-07-16 14:24:26 +01:00
Josef Citrine
06afc0c9d7 #86: Automatic MySQL to PostgreSQL import 2016-07-14 23:26:11 +01:00
Peter Deltchev
3f5c0d0f51 #25: Hide notifications for deleted content. 2016-07-09 18:16:25 -07:00
Peter Deltchev
0427658dbf #86: Fixed more queries for PostgreSQL. 2016-07-09 06:44:49 -07:00
Peter Deltchev
ccb05bb958 #86: Corrected a number of column definitions. 2016-06-30 04:08:07 -07:00
Josef Citrine
28bd79aa1a #86: Revert boolean changes 2016-06-29 20:09:02 +01:00
Josef Citrine
4b0ed2fd1b #86: More Postgres tweaks 2016-06-28 18:53:53 +01:00
Josef Citrine
f6c82bf245 #86: Updated migrations to work with Postgres 2016-06-27 10:31:15 +01:00
Peter Deltchev
a4db41c6b1 Corrected a boolean column to a tiny integer. 2016-06-26 23:03:29 -07:00
Peter Deltchev
6e8a9b34c6 #86: Modified a bunch of queries to work in PostgreSQL. 2016-06-26 19:20:10 -07:00
Josef Citrine
37059992eb #86: Generated migrations from MySQL DB 2016-06-27 00:11:45 +01:00
Josef Citrine
2b72b4dcdb #25: Service worker subscription 2016-06-15 13:44:28 +01:00
Peter Deltchev
fbb42b27e6 Removed an obsolete database index. 2016-06-15 01:02:26 -07:00
Peter Deltchev
9366c43a65 Added a unique constraint to cache keys. 2016-06-15 00:58:16 -07:00
Peter Deltchev
185ead4ed0 Improved a bunch of use statements. 2016-06-12 04:49:24 -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
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
4f0aab6db9 Avoid destroying the test database in the middle of tests. All tests now pass! 2016-02-21 20:47:52 -08:00
Peter Deltchev
a2b35ba8a3 #56: Fixed duplicate tracks in playlists. 2016-01-23 04:27:43 -08:00
Peter Deltchev
e295c41243 #1: Made Elasticsearch hosts configurable in an environment variable. 2016-01-17 05:22:14 -08:00