Home > News > ByteHoard Updates Version 2.1-Zeta

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

  1. 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.
  2. Admin page reminder to remove Install folder – Does not inhibit, just to be annoying.
  3. Added File and Folder Move command.
  4. File link code generator – optimized.
  5. 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:

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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.
  6. 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.
  7. 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

Categories: News Tags:
  1. tswilling
    July 8th, 2009 at 12:32 | #1

    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

  2. Doug
    July 9th, 2009 at 19:34 | #2

    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$

  3. Mike
    July 10th, 2009 at 18:43 | #3

    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...

  4. Doug
    July 13th, 2009 at 22:28 | #4

    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>

  5. Doug
    July 13th, 2009 at 22:32 | #5

    `find . -name ._\* | wc -l` returns 53 entries. Can these files be deleted if not required please.

    ._.DS_Store etc

  6. Doug
    July 13th, 2009 at 22:35 | #6

    Image path for folderDZ should be case sensitive
    images/moduleicons/folderDZ.png => images/moduleicons/folderdz.png

  7. Doug
    July 13th, 2009 at 22:39 | #7

    @Doug
    Sorry, that’s administrator/images/moduleicons/folderDZ.png => images/moduleicons/folderdz.png

  8. Mike
    July 16th, 2009 at 22:22 | #8

    @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

  9. Mike
    July 17th, 2009 at 17:23 | #9

    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.

  1. No trackbacks yet.