aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/filestore.php
AgeCommit message (Collapse)Author
2009-10-15Standardized gobs of files.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@3548 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-08-20Whoa nelly this is a big one: Removed license and copyright for files.brettp
git-svn-id: https://code.elgg.org/elgg/trunk@3427 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-07-06small tweak to filestoredave
git-svn-id: https://code.elgg.org/elgg/trunk@3388 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-24Some tidying of file download manager functions.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3351 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-18Closes #601: Provides default for new ElggFilestore objects to remove ↵marcus
warning message. git-svn-id: https://code.elgg.org/elgg/trunk@3345 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-12Refs #1041: marcus
* Speculative fix, extended blacklist of invalid characters for user signup * Mapping some filestore matrix characters (notable '.') to a safe char git-svn-id: https://code.elgg.org/elgg/trunk@3329 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-06-12Refs #1041: Extra debugmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3328 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-05-27Removed plugin-specific references from file_display_thumbnail and ↵kevin
file_add_to_folders. git-svn-id: https://code.elgg.org/elgg/trunk@3302 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-16Moved old file mime type guesser back to files plugin so that there are no ↵marcus
conflicts git-svn-id: https://code.elgg.org/elgg/trunk@3215 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-16Passed container_guid to any quota plugins and removed duplicate function ↵kevinjardine
definition. git-svn-id: https://code.elgg.org/elgg/trunk@3214 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-16Added file_get_general_file_type() functionkevinjardine
git-svn-id: https://code.elgg.org/elgg/trunk@3213 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-15Centralised mimetype functionmarcus
git-svn-id: https://code.elgg.org/elgg/trunk@3212 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-04-15Rolled in Kevin's file store enhancements and upload code.marcus
git-svn-id: https://code.elgg.org/elgg/trunk@3211 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-03-09Icons are now correctly resizedben
git-svn-id: https://code.elgg.org/elgg/trunk@3132 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-02-13Fixes #778. Thanks!ben
git-svn-id: https://code.elgg.org/elgg/trunk@2750 36083f99-b078-4883-b0ff-0f9b5a30f544
2009-01-23Refs #706marcus
git-svn-id: https://code.elgg.org/elgg/trunk@2611 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-11-14* Introducing get_loggedin_user() and get_loggedin_userid()marcus
* ACLs now using get_loggedin_user* * Some logic cleaned up * Some "Undefined..." messages cleaned up git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-10-08Minor optimisations.marcus
Introducing exists() on filestores git-svn-id: https://code.elgg.org/elgg/trunk@2222 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-25Closes #254: If mb_string is installed then internationalised usernames are ↵marcus
supported in file system. Because of this I have raised mbstring from recommended to a (non-fatal) core requirement. Because of the lack of a unicode ctype_alnum function the validation occurs at username input. Because of this I have improved the user registration code: This code now validates for special chars etc in the username. I have also introduced the following new plugin hooks (which are run after primary validation) which provide plugins with the ability to add other requirements (extra security etc). 'registeruser:validate:password' 'registeruser:validate:username' 'registeruser:validate:email' Marcus Povey 25/8/08 git-svn-id: https://code.elgg.org/elgg/trunk@2040 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-08-08Adjusted contributors file.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Fixes for filestore.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1128 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-25Added grabFile() to the filestore, for much more efficient file reading.ben
git-svn-id: https://code.elgg.org/elgg/trunk@1127 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-24Removed the circular delete mechanism that was plaguing ElggFileben
git-svn-id: https://code.elgg.org/elgg/trunk@1116 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-24Serious memory optimisation for the photo resize functionsben
git-svn-id: https://code.elgg.org/elgg/trunk@1112 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-23Image cropping works!ben
git-svn-id: https://code.elgg.org/elgg/trunk@1082 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-17Fixed #33 - all profile icons except for the largest size are cropped to ↵ben
squares. Additionally, the image resampling functions now take an extra boolean parameter to specify squareness (or not). git-svn-id: https://code.elgg.org/elgg/trunk@943 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10register_event_handler and trigger_event have been renamed to ↵ben
register_elgg_event_handler and trigger_elgg_event respectively. git-svn-id: https://code.elgg.org/elgg/trunk@848 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-10Marcus Povey <marcus@dushka.co.uk>icewing
* Bugfix on filestore git-svn-id: https://code.elgg.org/elgg/trunk@846 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Further cleanupben
git-svn-id: https://code.elgg.org/elgg/trunk@806 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Marcus Povey <marcus@dushka.co.uk>icewing
* More text internationalised git-svn-id: https://code.elgg.org/elgg/trunk@804 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Fixed a foreach bug.ben
git-svn-id: https://code.elgg.org/elgg/trunk@803 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-06-05Marcus Povey <marcus@dushka.co.uk>icewing
* Partial internationalisation of exceptions git-svn-id: https://code.elgg.org/elgg/trunk@801 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-20Marcus Povey <marcus@dushka.co.uk>icewing
* Introducing get_resized_image_from_existing_file * Consolidated get_resized_image_from_uploaded_file to use it git-svn-id: https://code.elgg.org/elgg/trunk@664 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-20Marcus Povey <marcus@dushka.co.uk>icewing
* Revised matrix generation on filestore git-svn-id: https://code.elgg.org/elgg/trunk@660 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-02The filestore is no longer so greedy about its init function, and therefore ↵ben
gets the correct filestore location git-svn-id: https://code.elgg.org/elgg/trunk@630 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01git-svn-id: https://code.elgg.org/elgg/trunk@613 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Bugfixing my sillyness git-svn-id: https://code.elgg.org/elgg/trunk@611 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01git-svn-id: https://code.elgg.org/elgg/trunk@609 ↵icewing
36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Bugfix git-svn-id: https://code.elgg.org/elgg/trunk@608 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Added tell git-svn-id: https://code.elgg.org/elgg/trunk@606 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Added eof functionality to datastore git-svn-id: https://code.elgg.org/elgg/trunk@605 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Bugfix: uses the correct filename git-svn-id: https://code.elgg.org/elgg/trunk@594 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-05-01Marcus Povey <marcus@dushka.co.uk>icewing
* Now registers ElggFile for 'object' & 'file' git-svn-id: https://code.elgg.org/elgg/trunk@589 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Marcus Povey <marcus@dushka.co.uk>icewing
* ElggDiskFilestore now uses matrix formed from username, and supports paths. git-svn-id: https://code.elgg.org/elgg/trunk@573 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Marcus Povey <marcus@dushka.co.uk>icewing
* git-svn-id: https://code.elgg.org/elgg/trunk@572 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Resizing images now resamples them for better clarity.ben
git-svn-id: https://code.elgg.org/elgg/trunk@571 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Previous now returns false.ben
git-svn-id: https://code.elgg.org/elgg/trunk@568 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-30Fixed image resizing issue, corrected function to create a jpeg using output ↵ben
buffering rather than a temporary file git-svn-id: https://code.elgg.org/elgg/trunk@567 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Fix for make_file_matrixben
git-svn-id: https://code.elgg.org/elgg/trunk@563 36083f99-b078-4883-b0ff-0f9b5a30f544
2008-04-29Filenames fixben
git-svn-id: https://code.elgg.org/elgg/trunk@562 36083f99-b078-4883-b0ff-0f9b5a30f544