summaryrefslogtreecommitdiff
path: root/lib/mediafile.php
AgeCommit message (Collapse)Author
2010-06-28Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-06-28Enhanced upload file type detection. If given an original filename, we'll ↵Brion Vibber
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. File extensions can also be added to the upload type whitelist; they'll be normalized to types for the actual comparison, so only known extensions will work.
2010-03-23Use $param instead of hardcoded 'attach' name.Craig Andrews
2010-03-01Modify configuration to have an option to allow uploads regardless of mime typeCraig Andrews
2010-01-10Lots of tiny message changes.Siebrand Mazeland
* Mostly punctuation updates so that the same message is used consistently in all of StatusNet. * Some cases of "Title Case" removed, because that does not appear to be used consistently.
2009-11-02Detect "no file" upload error and, for now at least, ignore it gracefully.Brion Vibber
This was triggering on non-AJAX form submissions for new notices, preventing them from being posted when they contained no attachments.
2009-10-28Fixed header comment.Zach Copley
2009-10-28Rearanged a couple things & removed debugging statementsZach Copley
2009-10-28Rework MailDaemon to use the MediaFile class for uploadsZach Copley
2009-10-27Implement media upload in the APIZach Copley
2009-10-27Extract media upload stuff into its own library class.Zach Copley