summaryrefslogtreecommitdiff
path: root/LibertyAttachable.php
AgeCommit message (Collapse)AuthorFilesLines
2007-06-09fix undefined index errorMax Kremmel1-4/+3
2007-06-09Fix attachment by ID.Nick Palmer1-21/+25
2007-06-08try to get attachment replacement working again when an attachment_id is set.Max Kremmel1-17/+21
2007-06-04add verifyFileExtension to double check file extensions and mime types on ↵Christian Fowler1-2/+3
uploads to assure correct name and mime-type
2007-05-05don't verify p_liberty_attach_attachments on bitpermuser class so ↵Christian Fowler1-2/+5
registration with avatar upload works
2007-04-25better perms checks for attachmentswjames51-1/+3
2007-04-19more sanity checks in archive extractor. sloppy coding can result in bad ↵Max Kremmel1-3/+8
stuff happening without these.
2007-04-18Various attachment related changes to make things more ajax and fix bugs.Nick Palmer1-2/+6
2007-04-18CRITICAL UPDATE! Fix horked attachment changes. Sorry guys!Nick Palmer1-8/+9
2007-04-16fix select in get attachments list - nick says mysql is so dumbwjames51-2/+2
2007-04-16AJAX attachment uploader. This stuff ROCKS!Nick Palmer1-16/+35
2007-04-13SCHEMA CHANGE!Nick Palmer1-123/+64
Update liberty_attachments table so there is only ever one id for an attachment. Note that this change does NOT collapse attachments which already have more than one id, it just prevents new "clones".
2007-04-08Fix my royal screwup (I hope!). Merged the wrong direction from my ↵Nick Palmer1-51/+36
repository. Oops.
2007-04-08Remove vd from LibertyAttachable. Add first pass of attachment_uploader.Nick Palmer1-2/+1
2007-04-08Doh! Missed a brace.Nick Palmer1-1/+2
2007-04-08Support for multiple attachments and storing attachments without content. ↵Nick Palmer1-54/+166
You must turn on multiple attachments in Liberty Settings to get this option. The new LibertyAttachable::storeAttachments() method can be used to store attachments on preview. Still need some more work in attachment browser to show attachments stored in this way. We should modify the sample package to use the storeAttachments() on preview as well as all existing content types. PAIN!
2007-03-10Fix bad edit from revision 1.66.Nick Palmer1-2/+2
2007-03-10Fix bad merge.Nick Palmer1-2/+2
2007-03-09Replaced function_exists with $gLibertySystem->getPluginFunctionLee L Bell1-4/+4
2007-03-03use get_temp_dir() function defined in preflight to get valid temp dirMax Kremmel1-2/+2
2007-02-26make better use of gThumbSizes, add generic thumbnail fetch function that ↵Max Kremmel1-15/+37
should work with current png option as well as default jpg thumbnail option
2007-02-25remove antiqueated site_upload_dir preference and use STORAGE defines. ↵TekiMaki1-20/+6
previously, site_upload_dir had to be defined, and only worked with same defined name as storage package, typcially 'storage'. also only save of 'site_temp_dir' if it is different from the TEMP_PKG_PATH. Handle using of define defaults for both of those settings. Also, remove ancient junk from kernel/setup_inc.php
2007-02-24fix 'seperate' spelling mistakesMax Kremmel1-2/+2
2007-02-23some code cleanup, readability improvementsMax Kremmel1-14/+15
2007-02-16Changes to allow PNG thumbnailing and to preserve transparency with gd when ↵Nick Palmer1-3/+16
possible.
2007-02-16move liberty_thumbnail_queue from fisheye schema_inc.php to liberty, and add ↵Christian Fowler1-3/+8
processor and processor_parameters columns to liberty_thumbnail_queue for future flexibility
2007-02-07check for loaded 'gd' since that is the default processor, and config might ↵Christian Fowler1-3/+3
not be set.
2007-01-31fix case where foreign_id = 0 and DB has a bogus corresponding rowJams H Thompson1-5/+16
2007-01-11add function that scans for attachment usage in content and add some generic ↵Max Kremmel1-7/+99
documentation
2007-01-11only load attachemnt when there is a function to load the plugin withMax Kremmel1-3/+4
2007-01-02default image processor to gdChristian Fowler1-2/+2
2007-01-02fix image processor include syntax errorChristian Fowler1-2/+2
2006-12-26make sure we only spew an error when we actually uploaded a fileMax Kremmel1-2/+2
2006-12-26throw error when a zero byte file is 'upload'edChristian Fowler1-3/+10
2006-12-23no need to initialise same variable twiceMax Kremmel1-2/+1
2006-12-22move image processors to individual plugin filesMax Kremmel1-381/+57
2006-12-21check for empty thumbnail_sizes in magickwand_resizeChristian Fowler1-2/+2
2006-12-03condense and clean out generate_thumbnails function to be more flexible with ↵Christian Fowler1-66/+33
less code. allow for possible gThumbSizes defined some place else (config_inc perhaps) with custom thumbnail sizes adn dimensions, also can now pass in of the sizes to thumb
2006-11-27fix call to gBitUserMax Kremmel1-2/+2
2006-11-26move getAttachmentList function to LibertyAttachable, where it belongs and ↵Max Kremmel1-1/+59
add a basic page to list all available attachments - only admin may view attachments from other users as well. - functionally still somewhat lacking...
2006-11-09check for passed in storage_guidChristian Fowler1-2/+2
2006-10-31add colorspace conversion for magicwand thumbnailing to properly handle CMYKChristian Fowler1-4/+28
2006-09-11force mime type 'text/plain' when someone uploads evil sh!te.Max Kremmel1-1/+2
2006-08-23can use a param thumbsizes to limit the thumbnails (memory exhaustion is ↵Sylvie Greverend1-1/+4
happening less often)
2006-07-31ensure lower case mime type splitChristian Fowler1-2/+2
2006-07-11remove unnecessary liberty_get_function() callMax Kremmel1-2/+1
2006-07-08include icon in clear thumbnail clear functionMax Kremmel1-2/+2
2006-07-08make original size opitonal as wellMax Kremmel1-3/+6
2006-07-04remove default value for site_temp_dir from schema_inc.php. default values ↵Max Kremmel1-21/+19
were causing problems during install
2006-07-03more docsMax Kremmel1-8/+22