summaryrefslogtreecommitdiff
path: root/classes/File.php
AgeCommit message (Collapse)Author
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25a distributed -> the distributedEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-08-12Prevents redirect URLs that have canonical URLs longer than 255 chars from ↵Brett Taylor
being written to the database as their canonical. Redirecting URLs will instead be saved to the database as given. The reason for this is that table 'file' column 'url' is a VARCHAR(255) in MySQL and it silently truncates URLs longer than 255 characters, breaking the url. The proper fix for this is to improve this column, making its type TEXT, but there are no database changes for 0.8.x, so this is the next best thing for data integrity. A migration script for 0.9.x could be written to audit the database checking for redirects and updating these urls to their proper canonical url.
2009-07-30throw an exception rather than die()Evan Prodromou
2009-07-30remove debugging code about processing a new URLEvan Prodromou
2009-07-22fixed SQL in checking for monthly quota - works in postgres and mysqlBrenda Wallace
2009-07-22missing AND in the SQLBrenda Wallace
2009-07-15Try oEmbed discovery before using oohembedCraig Andrews
2009-07-14HTML "File"/attachments should probably not be considered enclosures.Craig Andrews
2009-07-14Moved the decision logic as to whether an attachment should be an enclosure ↵Craig Andrews
to the File class
2009-07-07File classes does not use the $FILES array directly, as users of this class ↵Craig Andrews
aren't necessarily from the web
2009-06-25avoid getting duplicate errors on uploadEvan Prodromou
2009-06-23append uploads to content rather than showing them doubleEvan Prodromou
2009-06-22Attachment upload server and path now configurableZach Copley
2009-06-22change staticGet() from DB_DataObject to Memcached_DataObject for file classesEvan Prodromou
2009-06-22Database changes for file tablesEvan Prodromou
Some minor database changes for file tables. Namely: * Added a timestamp to all tables * Added a filename column for local files * Change some tables that had unnecessary auto-increment primary keys when they had another unique column that should act as the primary key * Change engine from MyISAM to InnoDB for a couple of files. Also, rebuilt the DB_DataObject files for all these tables.
2009-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-06-17Fixed recent attachment bug that required URLs to be posted twice to be ↵Robin Millette
taken into account.
2009-05-31Refactored some attachment code and fixed upload bug in interface.Robin Millette
2009-05-15Attachments and their list now provide "ajax" view. Also added a few ↵Robin Millette
sidebars relating tags and attachments.
2009-05-13rewrote short url stuff to handle new file/url classes (redirections, ↵Robin Millette
oembed, mimetypes, etc.)
2009-05-11db stuff for URLs: redirections, oembed, etc.Robin Millette