Document integration

Related:
 * Attachment UI survey of other sites/tools
 * Attachment tech

(hit the SVG image directly to see the mockup -- ImageMagick needs to be installed on snweb1 to fix inline display)



Local attachments
Currently folks can attach files of various office types as well as photos (depending on site configuration), and they can be downloaded and viewed. Not very pretty.

Some potential low-hanging fruit:
 * build text extracts or thumbnail images to show
 * extract text and make it searchable
 * support multiple uploads at once
 * using native support in newer browsers
 * using Flash uploader helper elsewhere

Local photo
Image files uploaded as attachments are thumbnailed (from current basic standard formats).

Potential todos:
 * preview, rotate, crop & resize at upload time
 * ability to add metadata
 * title/description
 * tagging of people
 * support multiple uploads at once
 * using native support in newer browsers
 * using Flash uploader helper elsewhere

Question: can/should we make photos editable after posting?

Local text
We could toss together a plaintext/rich-text edit widget which lets you paste in some text and slap it up as an attachment, replacing use of external pastebins.

Question: can/should we make text editable after posting?

Local drawing
I did a quick experiment embedding svg-edit as a MediaWiki extension; it should be pretty easily to use it on StatusNet too. Users with modern browsers can create a vector drawing in-browser and we can then save it as an attachment, create a thumbnail, etc.

Issues:
 * IE 9 will support SVG natively, but 6/7/8 do not
 * check the status of Flash adapter for SVG compatibility on IE 6/7/8

Question: can/should we make drawings editable after posting?

Google docs
Richer ways to reference things stored in Google Docs may be useful...

http://code.google.com/apis/documents/


 * discovery tool to help you pick out a doc to link?
 * show metadata?
 * special support for company accounts?

Sharepoint
We need to know more about Sharepoint's abilities and typical usage patterns at this point...