ByteHoard Updates Version 2.1-Zeta
Hi Everybody, Before I hacked and slashed the web site I mentioned a pseudo summer of code. Well, that was this last week, and I’m pretty happy with the development. I wont’ say a million lines where coded, but I added a feature that I was seeking, a few minor features and corrections, and I got a huge lesson on the code behind ByteHoard.
New Features for 2.1 – Zeta
- FolderDZ – Akin to FileLink, this creates an drop zone link to allow a short term upload zone for a contact to leave files. This will allow users to both send and receive files.
- Admin page reminder to remove Install folder – Does not inhibit, just to be annoying.
- Added File and Folder Move command.
- File link code generator – optimized.
- German Language file added – thanks to Manuel Sommerhalder (Good for 2.1 Epsilon, hopefully Manuel will help us out again with the new updates)
There are database changes to the Zeta version. Please read the README, and follow the update script’s instructions. Please, Please, PLEASE backup your stuff before upgrading.
Planned Updates:
- Face Lift – I see alot of potentials to improve on the UI. I don’t promis a full web 2.0 app, but I plan to clean up and streamline the UI.
- New Uploader front end – I was first planning to switch to SWFUpload, however it’s still bound by the limitations of PHP upload limits. So I’ve found a few java applets which rip apart the file into chunks and PHP accepts them as smaller files and reassembles them. If you know of a good GPL or equally licensed app please let me know.
- Code optimizations – I’ve noticed a few bits that need to be re-written. Some functions take up PHP time when SQL could handle them directly. Some functions have routines which provide no benifit, so it’ll be an old fashon car wash and clean off some dirty code.
- Documentation – I love the phrase “Code is self-documenting”, however I have to also state reading English is far less complicated than code… So I vow that the next version will have developer friendly documentation.
- Friendlier Authentication Modules – I’d feel more comfortable saying we where LDAP compliant by having an admin screen to setup LDAP with test functions and all. Asking admins to read the files and insert rows into the DB is a bit hard for the poor overwhelmed admin.
- Friendlier permissions – The software has the ability to enable/disable modules, add and remove permissions, however many of these functions require hacking a database. So to improve developer/admin relationships we’ll add in some modules to control these privileges.
- Integration with ClaimAV – Many hosting servers already have it with their email systems, we should be tapping into the same system just as we do with ImageMagic.
Software updates will be delivered when they’re ready. We’re not here to please the stock holders, we’re here to write good software. According to my schedule, I’m aiming for late August.
Please send me feed back. I want to know what my clientel is doing with ByteHoard, how they’ve implemented it, or their mods. What do people want to see?
The code is ready, install script updated. I need to step back from the functions, clear my head of the routines and then do one last review of the changes before I publish them. The new version of ByteHoard Should be available by Tuesday (Maybe Wednesday if you’re on the other side of the globe).
Thanks,
You’re development team.
-Mike – mike@mikeylikes.it
Mike, I keep getting an error message after I install and remove the “install” directory:
MySQL Error: Table ‘digideal_bytehoard.bh2_folderDZcodes’ doesn’t exist
Query: SELECT * FROM `bh2_folderDZcodes`;
Yet the table “bh2_folderDZcodes” does exist. My hosting provider forces all databases to start with “digideal”. Can you tell me how to correct this? Thanks!
– Tim
doug@mug:~/downloads$ tar jxf ByteHoard.2.1.Zeta.tar.bz2
doug@mug:~/downloads$ php5-cgi -l bytehoard2.1.Z/install/database/2.1.g_to_2.1.h.inc.php
Parse error: syntax error, unexpected ‘=’, expecting ‘)’ in /home/doug/downloads/bytehoard2.1.Z/install/database/2.1.g_to_2.1.h.inc.php on line 22
Errors parsing bytehoard2.1.Z/install/database/2.1.g_to_2.1.h.inc.php
255 doug@mug:~/downloads$
Crap...Edit the file /install/database/2.1.g_to_2.1.h.inc.php
Replace 23 - 30 with:
$insttables['usersviews'] = array( "foldercode"=>array("type"=>"varchar"),
"filepath"=>array("type"=>"text"),
"expires"=>array("type"=>"bigint"),
"username"=>array("type"=>"varchar"),
"email"=>array("type"=>"varchar"),
"notify"=>array("type"=>"bool"),
"quota"=>array("type"=>"bigint") );
*sigh* So much for a smooth release. Looks like the file that I forgot to double check. It was fixed but unsaved.
Updating the main files now...
As for the table names. They are case sensitive.
ADOdb Select Error: Table ‘bytehoard.bh2_folderDZcodes’ doesn’t exist
Query: SELECT * FROM bh2_folderDZcodes
mysql> show tables like ‘bh2_folder%’;
+———————————–+
| Tables_in_bytehoard (bh2_folder%) |
+———————————–+
| bh2_folderdzcodes |
+———————————–+
1 row in set (0.00 sec)
mysql>
`find . -name ._\* | wc -l` returns 53 entries. Can these files be deleted if not required please.
._.DS_Store etc
Image path for folderDZ should be case sensitive
images/moduleicons/folderDZ.png => images/moduleicons/folderdz.png
@Doug
Sorry, that’s administrator/images/moduleicons/folderDZ.png => images/moduleicons/folderdz.png
@Doug .. Doug… Doug…
Wow, thanks for the catches. I actually thought I was on a case sensitive file system, however it would appear not. So for further testing I’ll be using my lill ol linux server to ensure case sensitivity.
…
Same goes with my MySQL install…
…
As for those extraneous files, they’ve been removed from the updates. they should stay out of the future files as I’ll be using the test server to build the files. Damn OS files getting in the way..
Thanks
-M
Tim,
Grab a fresh copy of the code, or edit filelink.inc.php and replace “folderDZcodes” with “folderdzcodes”.
My MySQL install is case insensitive…
I’m setting up a test server this weekend to prevent this from happening again.