Commit History

Autor SHA1 Mensaxe Data
  Mikael Nordfeldth 6faed0e451 MediaFile loses dependency on PEAR::MIME %!s(int64=10) %!d(string=hai) anos
  Mikael Nordfeldth 6f6065e5e9 Only accept filenames for existing files in getUploadedFileType %!s(int64=10) %!d(string=hai) anos
  Mikael Nordfeldth 633191d808 Making sure scripts and tests check for GNUSOCIAL defined (instead of STATUSNET) %!s(int64=11) %!d(string=hai) anos
  Brion Vibber 9c7b66984c Enhanced upload file type detection. If given an original filename, we'll attempt to detect type from the extension if we were unable to make a definitive match from content. Generic octet-stream, zip, and MS Office type are explicitly singled out for re-checks, which fixes OpenOffice and MS Office documents to come up with the proper types when misdetected. %!s(int64=14) %!d(string=hai) anos
  Brion Vibber 41d81b996f Test cases for MediaFile::getUploadedFileType() with OpenOffice, MS Office, and PDF sample files (as saved from OpenOffice 3.2) %!s(int64=14) %!d(string=hai) anos