Commit graph

285 commits

Author SHA1 Message Date
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
cf7bd8b9e6 Fixed override detection 2016-08-29 23:32:58 +01:00
Josef Citrine
2c87852c66 Cleaned up the code. Whoops :P 2016-08-29 23:12:01 +01:00
Josef Citrine
aa1f4181ce Added inline track editor to admin classifier 2016-08-29 23:02:14 +01:00
Josef Citrine
ff7b6fca3f Fixed paged tracks directive 2016-08-29 00:09:01 +01:00
Josef Citrine
bce22d6877 Attempting (and failing) to fix pagination 2016-08-28 04:14:48 +01:00
Josef Citrine
bdbaca7a19 Attempted fix for paged track lists not having functional page lists 2016-08-28 03:21:01 +01:00
Josef Citrine
9de1d53cd7 Track classification queue and directified track list 2016-08-28 02:59:10 +01:00
Peter Deltchev
efea3cda2f Fixes #102: Tagging tracks with multiple show songs works again.
This was broken during the MySQL -> PostgreSQL migration.
2016-08-07 16:31:09 -07:00
Josef Citrine
63562f9338 Corrected error code 2016-07-18 02:20:10 +01:00
Josef Citrine
6c2039159f New maintenance page 2016-07-18 01:46:17 +01:00
Josef Citrine
b467d329a3 Fix for notification images being too large 2016-07-11 18:18:03 +01:00
Peter Deltchev
6c4f7b962b Run asynchronous workers in the dev environment.
This better matches how Pony.fm is deployed in production and avoids issues
with the database being reconnected in the middle of a database transaction.
2016-07-11 18:18:02 +01:00
Kelvin
0ee7e4a315 #7: Implement front-end handling of mixed losslessness track collections 2016-07-11 13:40:31 +01:00
Josef Citrine
a2f00f8134 Merge pull request #93 from Poniverse/patch/volume-knob-offset
Remove offset from volume knob Y position
2016-06-24 17:08:25 +01:00
Andre Santos
151fd2d396 Removed offset from height
7.5 has been removed from the maths equation for the knob initial position.
2016-06-22 21:08:47 +01:00
Josef Citrine
6c4a7cde51 Sidebar fix for large and small phones 2016-06-20 03:20:20 +01:00
Josef Citrine
a4eb8b465c Fixed sidebar issues on mobile 2016-06-20 03:17:32 +01:00
Josef Citrine
51ea1578ec Track page album art changes 2016-06-20 02:52:05 +01:00
Josef Citrine
acd3eabfae Fixed z-index issues with sticky tabs 2016-06-20 02:47:22 +01:00
Josef Citrine
01960b8e4d Moved tabs on artist page 2016-06-20 02:45:30 +01:00
Josef Citrine
db21f82739 New scrollable tabs 2016-06-20 02:42:20 +01:00
Josef Citrine
336e04a0c1 Disabling notifications until they're stable on Chrome 2016-06-20 01:38:07 +01:00
Peter Deltchev
64a44fff4f Made avatars optional. Useful for archived profiles!
Also took the opportunity to refactor SaveAccountSettingsCommand somewhat.
2016-06-19 13:13:47 -07:00
Josef Citrine
c649763409 Moved feature detect to seperate function 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
88aa2950b3 #25: Hide toggle if service worker fails to register 2016-06-15 13:44:28 +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
221268a0b7 Fixed broken track pages for guests. 2016-06-14 20:54:18 -07:00
Peter Deltchev
a482a183dc #2: Admins can now manage other users' content. 2016-06-14 01:27:56 -07:00
Peter Deltchev
3864ea7a1f The admin area goes to user management by default now. 2016-06-12 05:19:50 -07:00
Peter Deltchev
7d05e68079 Minor cleanup. 2016-06-12 04:31:57 -07:00
Peter Deltchev
09effb6955 #2: Implemented the user creation tool. 2016-06-12 04:16:03 -07:00
Josef Citrine
4714f04a80 Added follower count 2016-06-07 19:31:32 +01:00
Josef Citrine
bd330a1089 Mark as read and notification count 2016-06-07 17:49:00 +01:00
Josef Citrine
35886a57d7 Text layout improvement on notifications 2016-06-07 13:53:26 +01:00
Josef Citrine
d33985325e New notification look. Mark as read feature (disabled for now due to issues) 2016-06-07 00:37:41 +01:00
Josef Citrine
078ba8b5fc Adjusted position of the notification icon 2016-06-06 12:22:34 +01:00
Josef Citrine
3277a69399 Notifications on mobile and improved small mobile support 2016-06-06 12:19:43 +01:00
Peter Deltchev
9a9ac7e5a1 Lots of minor code cleanup. 2016-06-05 23:15:56 -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
824229b600 Fixes #79: The back button works a lot better now. 2016-06-05 02:18:57 -07:00
Josef Citrine
e4d270b794 Remove left over debug code 2016-06-02 20:44:43 +01:00
Josef Citrine
e10c08ce87 Fixed sidebar not animating sometimes 2016-06-02 17:30:52 +01:00
Josef Citrine
4e564aed0c Merge pull request #88 from Poniverse/feature-playlist-sort
Feature playlist sort
2016-06-02 17:03:11 +01:00
Josef Citrine
583171669f Made playlist track delete actually functional 2016-06-02 16:52:48 +01:00
Maximilian Walter
b22ddcbf5c removed: unused code after playlist filter implementation 2016-06-02 15:59:39 +02:00
Josef Citrine
d44cd83e11 Start of a slideable side nav 2016-06-02 00:56:38 +01:00
Josef Citrine
69673d40e9 Hide notification button on mobile for now 2016-06-02 00:09:05 +01:00
Josef Citrine
87d0c5fca2 No notification message 2016-06-02 00:00:50 +01:00
Maximilian Walter
d735cb6816 update: implemeted playlist sort functionality 2016-06-01 21:02:16 +02:00
Maximilian Walter
b73d1753b3 update: added playlist sort logic to laravel controller
update: implemented basic filter functions to angular
2016-06-01 19:40:49 +02:00
Josef Citrine
409182c77e Part of the notification front end 2016-05-31 00:59:04 +01:00
Josef Citrine
ce5b060194 Basic styling for notifications
Need to move this into a directive at some point
2016-05-27 23:46:20 +01:00
Josef Citrine
ef598a72ef Test UI for notifications 2016-05-27 20:38:59 +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
Josef Citrine
7786950990 Icon for admins 2016-05-25 23:57:46 +01:00
Josef Citrine
47160cd84c Unbroke some stuff
Getting creative with these names
2016-05-21 23:22:43 +01:00
Josef Citrine
f60ab7c73f Webpack doing its thing 2016-05-21 22:15:37 +01:00
Josef Citrine
32cdf6910a Npm-ified angular-strap 2016-05-21 21:34:12 +01:00
Josef Citrine
5b8fb0f025 Switched to angular-strap 2016-05-21 19:29:07 +01:00
Josef Citrine
852e427da5 Making track editor look ok on mobile 2016-05-20 20:24:05 +01:00
Josef Citrine
cf57a88148 Tweaks to track editor 2016-05-20 20:12:48 +01:00
Josef Citrine
60e5a51641 Switch to Font Awesome 4 2016-05-20 16:46:44 +01:00
Josef Citrine
ec8f2e5dc5 Mobile tweaks 2016-05-20 16:31:04 +01:00
Josef Citrine
ed16f571aa Fixing layout and colour bugs 2016-05-20 15:15:10 +01:00
Josef Citrine
3474664520 Track player optimisations for mobile 2016-05-20 01:10:31 +01:00
Josef Citrine
a441e209c2 Fixed size issues 2016-05-20 00:18:27 +01:00
Josef Citrine
d8410f5a20 Reimported Bootstrap 3 to fix issues
Blame git for breaking everything
2016-05-20 00:12:33 +01:00
Josef Citrine
3d753f067a Upgraded from Bootstrap 2 to Bootstrap 3 2016-05-20 00:08:57 +01:00
Josef Citrine
44bcf87ddb New profiles, works better on mobile 2016-05-19 22:31:04 +01:00
Josef Citrine
11541c89d5 Fixed scrolling issues 2016-05-19 11:03:50 +01:00
Josef Citrine
ca397f09fc Basic mobile support (#81)
Mobile specific view. Basically Pony.fm desktop squashed into a mobile view
2016-05-19 00:46:58 +01:00
Josef Citrine
87d25bb8b8 Admin album editing 2016-05-18 01:27:59 +01:00
Josef Citrine
7bc8852043 Check if logged before checking admin 2016-05-17 12:59:46 +01:00
Josef Citrine
40122a9446 Admins can edit users 2016-05-17 00:30:05 +01:00
Josef Citrine
9f01a0cbc5 Repeat playlists 2016-05-16 21:43:55 +01:00
Josef Citrine
2d1e7448f1 Repeat button #77 2016-05-16 17:24:13 +01:00
Maximilian Walter
eba5cbacc2 fixed: profile button highlighting 2016-05-16 16:00:28 +02:00
Josef Citrine
09d3dc3a32 Pagination for admin track viewer 2016-05-16 01:19:34 +01:00
Josef Citrine
1ed0d54ab3 Fixed null error while checking for admin 2016-05-16 01:08:06 +01:00
Josef Citrine
17a9f6e50c Error handling and switched to username 2016-05-15 23:22:32 +01:00
Josef Citrine
d01b24a91f Admins can assign tracks to accounts 2016-05-15 23:03:49 +01:00
Josef Citrine
481a0a6b9f Admins can view all tracks 2016-05-11 17:41:49 +01:00
Josef Citrine
2fcc8bc9ec Fixed undefined error for hourly tracks 2016-05-05 23:54:33 +01:00
Josef Citrine
0c8e11885c Updated copyright 2016-05-05 10:48:15 +01:00
Josef Citrine
a46a66f230 Switched to CoffeeScript string interpolation 2016-05-04 21:47:05 +01:00
Josef Citrine
2a7e774df5 Moved chart.js to npm 2016-05-04 17:07:14 +01:00
Josef Citrine
a6c9393e3d Cleaned up code, added caching for stats 2016-05-04 17:07:00 +01:00
Josef Citrine
31380e7be2 Removed left over debug code 2016-05-04 01:09:06 +01:00
Josef Citrine
88bee8c7ab Laravel-ised queries 2016-05-04 00:50:59 +01:00
Josef Citrine
c90a8d744f Applied the pony.fm colour to the chart 2016-05-03 23:30:34 +01:00
Josef Citrine
53cd704c84 Layout improvements for stats 2016-05-03 23:20:55 +01:00
Josef Citrine
7a73e20929 Added cumulative graph 2016-05-03 20:30:57 +01:00
Josef Citrine
97b4bb1b8b 'Functional' play charts
Needs styling
2016-05-03 13:01:50 +01:00
Josef Citrine
152e1e1fb6 Passing stats data to the front end 2016-05-02 23:25:54 +01:00
Josef Citrine
5add0a17c8 Added file upload button 2016-05-02 01:45:29 +01:00
Kelvin
91120e303b Fix issue where the lyrics reveal box hides 1px of the lyrics text 2016-04-03 18:21:16 +01:00