Commit History

Author SHA1 Message Date
  Mikael Nordfeldth 2a4dc77a63 The overloaded DB_DataObject function staticGet is now called getKV 11 years ago
  Brion Vibber 464e0f8115 Don't trust text/xml mime types; generic content detection gives useless stuff like that on SVG images! Todo: replace the extension check in this case with better content-based checks. 14 years ago
  Brion Vibber 504529e8cd Keep aspect ratio when generating local thumbnails 14 years ago
  Brion Vibber 694448e0aa Add attachments 'thumb_width' and 'thumb_height' settings for inline thumbs, defaulting to 100x75. 14 years ago
  Brion Vibber c36fecb794 Save a thumbnail image when uploading an image file into the file attachments system. Currently hardcoded to 100x75, needs aspect-sensitivity etc. 14 years ago
  Brion Vibber 2692b5fc84 Fix for ticket #2853: fix for some unknown MIME type error cases by adjusting the PEAR error handling temporarily around MIME_Type_Extension usage. 14 years ago
  Siebrand Mazeland 128607a270 Update translator documentation and add punctuation where missing to exception messages. 14 years ago
  Siebrand Mazeland e88ee4ec46 Fix i18n issue and add translator documentation. 14 years ago
  Brion Vibber 53f14ddde6 Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x 14 years ago
  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. 14 years ago
  Craig Andrews abe4be5438 Use $param instead of hardcoded 'attach' name. 14 years ago
  Craig Andrews f9dd83caa7 Modify configuration to have an option to allow uploads regardless of mime type 15 years ago
  Siebrand Mazeland 4af6b7f5c3 Lots of tiny message changes. 15 years ago
  Brion Vibber 73b9e531bf Detect "no file" upload error and, for now at least, ignore it gracefully. 15 years ago
  Zach Copley e0dbc47f8e Fixed header comment. 15 years ago
  Zach Copley e5a2f895a0 Rearanged a couple things & removed debugging statements 15 years ago
  Zach Copley b9ce23d0c2 Rework MailDaemon to use the MediaFile class for uploads 15 years ago
  Zach Copley 2d0aba49d9 Implement media upload in the API 15 years ago
  Zach Copley 93a6e83d5d Extract media upload stuff into its own library class. 15 years ago