Activated xsendfile backend for serving files
Fixed a wrong call in filetransfers xsendfile backend.
Fixed a wrong call in filetransfers xsendfile backend.
fixed conflict
Files under /media can now be served by xsendfile
Several fixes, don't remember what exactly
refs #197 put more file serving responsibility on filetransfers, took it away from comicsite.views
refs #197 started fixing media url given in js editor for pages
Rewrote file serving to serve files in project folder through
/site/projectname urls, in anticipation of serving each project from its
own url
Uploading images is now working (again) with browsing. TODO: try to write
a test for this closes #158
Made db field for filename wider as 100 chars was not enough for test uploadfilenames
Now testing file uploads in html editor refs #197
Improved tests. TODO: test serving of uploaded test files when these files are actually now uploaded. Can this be faked and still have a meaningful test?
Included logging example: write log and error_log, email WARNINGS and worse
removed double import
Lots of interdependent changes in filestorage: template tag listdir is no longer using hardcoded miguided class FileSystemProvider, but rather current system wide storage provider. Test are now reproducing issue with loading site/VESSEL12/Download/. Improbed mockfilestorage so file and dir based teamplate tags can also be tested
Removed trace() statements, fixed listdir error
now using correct project based method for serving file listed in listdir. Fixes #173
Fixed bug in testing where mockstorage would indicate that all files in public_html existed, making it impossible to write to. made mockstorage more specific, only files in FAKE_FILES now exist
Testing filelist tag, now reproducing error in tests