Mikael Nordfeldth
|
ce23c68d1c
FileAction removed (we have AttachmentAction).
|
10 tahun lalu |
Mikael Nordfeldth
|
e526909bd8
File width and height is now properly set for File
|
10 tahun lalu |
Mikael Nordfeldth
|
d59eb5e184
Dynamically generate thumbnails (see full text)
|
10 tahun lalu |
Mikael Nordfeldth
|
86ddf120d7
Better event name (creating thumbnail _source_)
|
10 tahun lalu |
Mikael Nordfeldth
|
07b232774d
Enable square thumbnailing
|
10 tahun lalu |
Mikael Nordfeldth
|
d3b4a8616d
Original name preserved in uploaded file.
|
10 tahun lalu |
Mikael Nordfeldth
|
06d4cecf7f
MediaFile thumbnail event hooks + VideoThumbnails plugin
|
10 tahun lalu |
Mikael Nordfeldth
|
639f1a01e0
File class no longer depends on MIME
|
10 tahun lalu |
Mikael Nordfeldth
|
6faed0e451
MediaFile loses dependency on PEAR::MIME
|
10 tahun lalu |
Mikael Nordfeldth
|
0eb38b8f84
We only allow (and have) MIME types in supported list
|
10 tahun lalu |
Mikael Nordfeldth
|
6f6065e5e9
Only accept filenames for existing files in getUploadedFileType
|
10 tahun lalu |
Mikael Nordfeldth
|
48da97f204
MediaFile code improvements, preparing to implement multi-attachments
|
11 tahun lalu |
Mikael Nordfeldth
|
2a4dc77a63
The overloaded DB_DataObject function staticGet is now called getKV
|
11 tahun lalu |
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 tahun lalu |
Brion Vibber
|
504529e8cd
Keep aspect ratio when generating local thumbnails
|
14 tahun lalu |
Brion Vibber
|
694448e0aa
Add attachments 'thumb_width' and 'thumb_height' settings for inline thumbs, defaulting to 100x75.
|
14 tahun lalu |
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 tahun lalu |
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 tahun lalu |
Siebrand Mazeland
|
128607a270
Update translator documentation and add punctuation where missing to exception messages.
|
14 tahun lalu |
Siebrand Mazeland
|
e88ee4ec46
Fix i18n issue and add translator documentation.
|
14 tahun lalu |
Brion Vibber
|
53f14ddde6
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
|
14 tahun lalu |
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 tahun lalu |
Craig Andrews
|
abe4be5438
Use $param instead of hardcoded 'attach' name.
|
15 tahun lalu |
Craig Andrews
|
f9dd83caa7
Modify configuration to have an option to allow uploads regardless of mime type
|
15 tahun lalu |
Siebrand Mazeland
|
4af6b7f5c3
Lots of tiny message changes.
|
15 tahun lalu |
Brion Vibber
|
73b9e531bf
Detect "no file" upload error and, for now at least, ignore it gracefully.
|
15 tahun lalu |
Zach Copley
|
e0dbc47f8e
Fixed header comment.
|
15 tahun lalu |
Zach Copley
|
e5a2f895a0
Rearanged a couple things & removed debugging statements
|
15 tahun lalu |
Zach Copley
|
b9ce23d0c2
Rework MailDaemon to use the MediaFile class for uploads
|
15 tahun lalu |
Zach Copley
|
2d0aba49d9
Implement media upload in the API
|
15 tahun lalu |