Commit graph

256 commits

Author SHA1 Message Date
Peter Deltchev
f4f97acd9f T357: Validate the length of a year correctly. 2015-09-11 13:41:39 -07:00
Peter Deltchev
207569e597 T357: Ignore WMA files and added support for FLAC imports. 2015-09-11 10:47:40 -07:00
Peter Deltchev
d78c240a42 T357: Gracefully handle obviously invalid year tags. 2015-09-10 23:01:48 -07:00
Peter Deltchev
8a4b08738d T357: The MLPMA importer now ignores RTF files. 2015-09-10 11:34:48 -07:00
Peter Deltchev
838e7429f0 T357: Removed an extraneous var_dump. 2015-09-09 20:06:11 -07:00
Peter Deltchev
50bba983e3 T357: Support OGG Vorbis master files in the MLPMA importer. 2015-09-09 19:08:46 -07:00
Peter Deltchev
f656c3aadf T357: Handle the complete lack of ID3 tags gracefully. 2015-09-09 09:05:15 -07:00
Peter Deltchev
9b10161ca4 T357: Made the importer's file type check case-insensitive. 2015-09-09 00:39:53 -07:00
Peter Deltchev
a0fb15a86a T357: Removed more characters from the fulltext query. 2015-09-08 23:17:13 -07:00
Peter Deltchev
6d1de13fd3 T357: The MLPMA importer now ignores .txt files. 2015-09-08 10:48:21 -07:00
Peter Deltchev
9c520e71a5 T357: Handle malformed genres gracefully. 2015-09-08 01:03:05 -07:00
Peter Deltchev
c0e619aacd T357: Added an ID3v1 fallback and added more information to the classification script. 2015-09-07 23:01:01 -07:00
Peter Deltchev
cd113e4d4b T357: When reclassifying a show song remix, remove previous associations. 2015-09-07 22:32:40 -07:00
Peter Deltchev
46ceab2b4c T357: Remove tildes from the classifier's fulltext matcher. 2015-09-07 19:55:40 -07:00
Peter Deltchev
76f1361dda Change directory permissions to an octal value. 2015-09-07 18:46:39 -07:00
Peter Deltchev
50ca465835 T357: Sort tracks by publication date rather than creation date. 2015-09-07 18:40:11 -07:00
Peter Deltchev
29527b4c88 T357: Removed + symbols from the classifier's fulltext query. 2015-09-07 18:31:58 -07:00
Peter Deltchev
4b5547b10c T357: Remove the dot at the end of a filename when generating a missing title tag, and allow the importer to process tracks shorter than 30 seconds. 2015-09-07 17:48:48 -07:00
Peter Deltchev
9cb13ee535 T357: The importer no longer assumes that a title tag is present. 2015-09-07 17:42:05 -07:00
Peter Deltchev
bdce9e5758 Committed composer.lock. 2015-09-07 14:33:44 -07:00
Peter Deltchev
47b172ccc4 T366: Explicitly return ints and boolean values as such in the website API. 2015-09-07 13:28:21 -07:00
Peter Deltchev
b66ec54221 T357: Added genre handling to the MLPMA importer. 2015-09-07 11:56:00 -07:00
Peter Deltchev
5d9b3f2d5b Fixes T224. Also adds the rebuild:tags Artisan command and a missing ffmpeg compilation flag. 2015-09-07 11:17:35 -07:00
Peter Deltchev
6911b3e560 T363: Fix tracks being unplayable when cover art is unavailable. 2015-09-07 08:22:19 -07:00
Peter Deltchev
91611faead Merge the MLP Music Archive import scripts.
Summary: This revision includes two scripts for importing the MLP Music Archive: one to import the audio files themselves and one to classify them in Pony.fm's pony taxonomies.

Test Plan: Manually tested in the dev environment with sample files from the MLPMA.

Reviewers: Feld0

Reviewed By: Feld0

Subscribers: ThePurpleK

Maniphest Tasks: T357

Differential Revision: https://phabricator.poniverse.net/D13
2015-09-07 07:42:49 -07:00
Peter Deltchev
82dc200f17 T357: Continue restricting lossy user-facing uploads. 2015-09-07 07:35:25 -07:00
Peter Deltchev
05ecc34e12 Made history immutable for Arcanist. 2015-09-07 07:19:41 -07:00
Peter Deltchev
9d087a9415 T357: Actually classify tracks in the classifier and allow re-classification of published MLPMA tracks. 2015-09-07 07:11:28 -07:00
Peter Deltchev
15760a1040 T357, T125: Added SIGINT handling and a skip feature to the import script, implemented importing of lossy files, made the import script actually import tracks now, and other improvements. 2015-09-07 07:02:25 -07:00
Peter Deltchev
f17e824586 T357: Separated track publishing and classification into its own script, fixed an issue with reading comments from ID3 tags, and added lossy support to UploadTrackCommand. 2015-09-07 04:50:51 -07:00
Peter Deltchev
dbab3a9ecc T357: MLPMA import script is mostly implemented now. 2015-09-07 04:50:50 -07:00
Peter Deltchev
b7084de228 T357: Added track type constants and a progress commit for the importer script. 2015-09-07 04:50:50 -07:00
Peter Deltchev
447815c5ee T357: Initial commit of the MLPMA import script. 2015-09-07 04:50:50 -07:00
Peter Deltchev
be0bfa790e Fixed an error with fetching the year and release date. 2015-09-05 06:49:22 -07:00
Peter Deltchev
d86028310e Added a Laravel IDE helper and type-hinted the cover art upload method. 2015-09-04 09:56:22 -07:00
Peter Deltchev
7daecbdd30 Added encrypted production and staging configs. 2015-09-03 19:55:01 -07:00
Peter Deltchev
7d0da2b31a Add 1 git-crypt collaborator
New collaborators:

	8C265086 Adam Lavin <adam@lavoaster.co.uk>
2015-09-03 19:53:45 -07:00
Peter Deltchev
357ebf97de Add 1 git-crypt collaborator
New collaborators:

	B82FB666 PoniDeploy (Automate all the things!) <admin@poniverse.net>
2015-09-03 19:41:47 -07:00
Peter Deltchev
b4a3f0d725 Add 1 git-crypt collaborator
New collaborators:

	AA9B0520 Peter Deltchev (Feld0) <peter@deltchev.com>
2015-09-03 19:41:39 -07:00
Peter Deltchev
fe611bfc16 Added detection for the staging environment. 2015-09-03 19:23:48 -07:00
Peter Deltchev
6219ee2e5b Made Vagrant's provisioning script install ImageMagick and run apt-get quietly. 2015-09-03 19:05:58 -07:00
Peter Deltchev
fe22c9547e Fixed broken Year and Genre tags in tracks. 2015-09-03 19:03:58 -07:00
Peter Deltchev
252f3ca727 Upgraded getID3 to the newest stable version. 2015-09-03 18:59:46 -07:00
Peter Deltchev
a90e33bb04 T335: Moved the fix to the comparison where it's needed. 2015-08-12 20:29:51 -07:00
Peter Deltchev
6276f9b564 T335: Fix the inability to publish official song remixes in production. 2015-08-12 20:10:19 -07:00
Peter Deltchev
03df4d1ec9 T316: Fixed the logo in Microsoft Edge. 2015-08-03 00:36:56 -07:00
Peter Deltchev
4b40c55512 T126: Fixed standard profiles appearing as archived profiles.
Summary:
The `is_archived` attribute on the `User` model did not explicitly come
back as any particular type. The resulting JSON had the string `"0"` for what's
meant to be a falsey value, but it evaluated to truthy in JS.

`is_archived` now has a getter which explicitly casts it to `boolean` before being
returned anywhere.

Test Plan: Manually tested in dev.

Reviewers: Feld0

Reviewed By: Feld0

Subscribers: #pony.fm

Projects: #pony.fm

Maniphest Tasks: T126

Differential Revision: https://phabricator.poniverse.net/D6
2015-06-25 21:06:00 -07:00
Kelvin
a6a78e667a Fix IE11 logo 2015-06-19 14:56:45 +01:00
Peter Deltchev
b4861367cf Added .arcconfig for Arcanist support.
Test Plan: It works if I'm able to create revisions in Differential after this.

Reviewers: #pony.fm, Feld0

Reviewed By: #pony.fm, Feld0

Subscribers: Feld0

Differential Revision: https://phabricator.poniverse.net/D2
2015-06-18 22:28:46 -07:00
Kelvin
a8cbe6d0b9 Implement appropriate behaviour to respond to tracks not being downloadable; fix album file size 2015-06-16 15:50:30 +01:00