Commit Graph

7 Commits

Author SHA1 Message Date
paul.baranowski 8014f94c58 Fixed whitespace to standard coding conventions. 2010-11-18 14:39:03 -05:00
paul.baranowski 8a58df3093 Moved all file-related functions from BasicStor into StoredFile class.
Got rid of all the stuff related to GUNID hex-to-int conversion.
Commented out lots of functions that are either not in use or will
no longer work.

Pypo: made things more generic and pluggable, added documentation.
Added the PHP scripts to serve the right info back to pypo.
2010-11-12 17:07:01 -05:00
paul.baranowski 35dc3fd01f CC-1713 - New storage directory structure
Changed the GUNID to a 32 hex string (MD5 value), there is no more
conversion between hex strings and bigints in the database anymore.

Added added the file extension to the file name.

Stored the complete path to the file in the database.  This means that
linking doesnt need to create any files at all. (It used to create a
symlink to the file you were importing)

The structure and file naming should be fine - there are 4096 possibilities
for the first directory level, and even will a million files this is only
244 files per sub-directory.  The GUID is fine for the file name
2010-11-11 16:50:30 -05:00
naomiaro 842bda3e98 change made to match time data types. 2010-11-04 17:49:27 -04:00
paul.baranowski 0f6b98ce14 There was a bug that install process would error out when trying to
install default data twice. Moved the data initialization from BasicStor
into the install.php file since nothing else was using it.
2010-10-18 11:40:03 +02:00
paul.baranowski 2ece374513 CC-1695 Remove Campcaster Studio and make install easier
Fixed references to files for new directory structure for the backend stuff.
2010-09-30 16:59:38 -04:00
paul.baranowski e946e6a84e CC-1695 Remove Campcaster Studio and make install easier
Changed backend dir to new structure
2010-09-30 16:02:15 -04:00