bytehoard-devel Mailing List for ByteHoard
Brought to you by:
andrewgodwin,
trghpy
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(4) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2005 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
(16) |
Sep
(5) |
Oct
(7) |
Nov
(4) |
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
(1) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: John V. O. <jo...@ne...> - 2010-03-04 20:44:10
|
Here is a patch to fix a file download bug if there is a space in the file name.
--- download.inc.php.orig 2010-03-04 15:07:13.000000000 -0500
+++ download.inc.php 2010-03-04 15:07:18.000000000 -0500
@@ -37,9 +37,9 @@
# If there's a Secret Message from the view image script not to include download headers, don't.
if ($_GET['nodownheaders'] == 1) {
- header("Content-Disposition: filename=".$filename);
+ header("Content-Disposition: filename=\"".$filename."\"");
} else {
- header("Content-Disposition: attachment; filename=".$filename);
+ header("Content-Disposition: attachment; filename=\"".$filename."\"");
}
header("Content-length: ".$fileobj->fileinfo['filesize']);
--
John Van Ostrand
CTO, co-CEO
Net Direct Inc.
564 Weber St. N. Unit 12, Waterloo, ON N2L 5C6
Ph: 866-883-1172 x5102
Fx: 519-883-8533
Linux Solutions / IBM Hardware
|
|
From: John V. O. <jo...@ne...> - 2010-03-04 20:44:09
|
Is anyone there? -- John Van Ostrand CTO, co-CEO Net Direct Inc. 564 Weber St. N. Unit 12, Waterloo, ON N2L 5C6 Ph: 866-883-1172 x5102 Fx: 519-883-8533 Linux Solutions / IBM Hardware |
|
From: <jo...@ne...> - 2010-02-17 15:57:10
|
Hi, I installed bytehoard and noticed the folderDZ option and thought I would try it out. Choosing the send email option resulted in a quota of 0MB for the user. I noticed that that code still had debugging code in it (echo 1, echo 2, etc) and had some duplicated code. I have attached a patch against 2.1Zeta. More could be done, but this pushes it in the right direction. I consolidated the $expires and $folderQuota checks and moved them above the test for "linkonly". I also corrected the call to bh_folderDZ_add when sending email. It seemed fitting that I alter the $findarr and $replarr to remove unneeded information and add some potentially useful stuff for the DZ email. John Van Ostrand Net Direct Inc. CTO, co-CEO 564 Weber St. N. Unit 12 map Waterloo, ON N2L 5C6 jo...@ne... Ph: 866-883-1172 ext.5102 Linux Solutions / IBM Hardware Fx: 519-883-8533 |
|
From: Gregor P. <gr...@pe...> - 2009-08-20 11:35:27
|
Hello ByteHoard Team! After a few tests ByteHoard seems to be exactly what I need to easily exchange files in addition to emailing them. Now i have a few questions: - The mailing-lists seem to be dead, the archives show only mails until Nov/2005 Is this an error or does noone read this lists (gues I will see) - There is no Bugtracker. Will there be one, or how do you handle bugreports? - AFAICS the last release is from Jul 23 2009, but the version before dates back to May 28 2006. Will there be frequent bugfixes, or even upgrades? I would appreciate answers to this question, because i really can't deploy an app that is not maintained actively, since i can't afford to do that myself. As mentioned, I would like it very much to use ByteHoard. regards, gregor |
|
From: Gregor P. <gr...@pe...> - 2009-08-20 11:25:43
|
Hello ByteHoard Team! After a few tests ByteHoard seems to be exactly what I need to easily exchange files in addition to emailing them. Now i have a few questions: - The mailing-lists seem to be dead, the archives show only mails until Nov/2005 Is this an error or does noone read this lists (gues I will see) - There is no Bugtracker. Will there be one, or how do you handle bugreports? - AFAICS the last release is from Jul 23 2009, but the version before dates back to May 28 2006. Will there be frequent bugfixes, or even upgrades? I would appreciate answers to this question, because i really can't deploy an app that is not maintained actively, since i can't afford to do that myself. As mentioned, I would like it very much to use ByteHoard. regards, gregor PS: First mail doesn't seem to come back from the lists, cc'ing project administrators... |
|
From: vampire j. <vam...@ya...> - 2005-11-30 10:10:11
|
hi! i hope you don't mind hearing out the bugs that i have found :D
-adding a new user and placing a value to initial groups would complain
ADOdb Insert Error: Table 'bytehoard.bh2_groups' doesn't exist Query: INSERT INTO bh2_groups ( `username`,`group`,`status`) VALUES ( 'test','testers','1')
-while administering it goes to the login page frequently
ie logging out
-try logging it with a username and password of a normal acconut at the administrator page. it would complain that you are not an administrator. then go to the system page. noticed that you are logged in. -does it overwrite files without warning? anyway, how big is the filesize limit of this on a default or general install of apache + php + mysql. i tried uploading a 50 mb file and it didn't finished.
thanks and have a nice day! :D
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |
|
From: vampire j. <vam...@ya...> - 2005-11-29 08:37:51
|
ok then i wish you all good luck! Andrew Godwin <and...@bl...> wrote: There are many reasons. Python is a far superior language in most respects, or at least from my point of view. It has proper object orientation, a good range of modules (something PHP has as well), I find it a lot easier and faster to program in, which results in better code, and so on. Also, as I said, we won't be running behind an intepreter which hides all HTTP transactions, so we will be able to upload arbitary filesizes, hopefully with progress bars, and do a lot of other good things as well, such as running FTP servers and such things, as people have been requesting for years. It's easier to just compare the BH2 code with the BH3 code (what little there is of it). What takes 3 or 4 lines in PHP is one line of Python, and it's also a lot neater, if not slightly less understandable. And you are right about choosing languages based on developer skills. Since I'm the only real developer, and I feel that BH will be able to go a lot further with Python. Of course, if it all goes horribly wrong, we still have BH2. But I doubt it will do that. Andrew vampire janus wrote: Since i wasn't able to catch the forums, can i ask what the reasons are for finally choosing python for php? i see that in the sourceforge page there's mention of "language and environment limitations". and there's "stability and reliability". there's also "upload progress bars, reliability, scalability" if i may infer. But is it really all lacking in php? if you mean by "language and environment limitations" the file size limit of php, well you can use pear for that. i also think that there's no more question about php's stability, reliability and specially scalability what with the number of servers backing this platform ie linux + mysql + php. as for progress bars, well.. i think this can be done in perl and still be integrated with the rest of the php scripts. but i guess that the single most biggest factor in choosing the programming language to use is i think the developers skills. so are our developers in here better off with python than with php? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Andrew G. <and...@bl...> - 2005-11-29 08:15:49
|
There are many reasons. Python is a far superior language in most respects, or at least from my point of view. It has proper object orientation, a good range of modules (something PHP has as well), I find it a lot easier and faster to program in, which results in better code, and so on. Also, as I said, we won't be running behind an intepreter which hides all HTTP transactions, so we will be able to upload arbitary filesizes, hopefully with progress bars, and do a lot of other good things as well, such as running FTP servers and such things, as people have been requesting for years. It's easier to just compare the BH2 code with the BH3 code (what little there is of it). What takes 3 or 4 lines in PHP is one line of Python, and it's also a lot neater, if not slightly less understandable. And you are right about choosing languages based on developer skills. Since I'm the only real developer, and I feel that BH will be able to go a lot further with Python. Of course, if it all goes horribly wrong, we still have BH2. But I doubt it will do that. Andrew vampire janus wrote: > Since i wasn't able to catch the forums, can i ask what the reasons > are for finally choosing python for php? i see that in the sourceforge > page there's mention of "language and environment limitations". and > there's "stability and reliability". there's also "upload progress > bars, reliability, scalability" if i may infer. > > But is it really all lacking in php? if you mean by "language and > environment limitations" the file size limit of php, well you can use > pear for that. i also think that there's no more question about php's > stability, reliability and specially scalability what with the number > of servers backing this platform ie linux + mysql + php. > > as for progress bars, well.. i think this can be done in perl and > still be integrated with the rest of the php scripts. but i guess that > the single most biggest factor in choosing the programming language to > use is i think the developers skills. so are our developers in here > better off with python than with php? > > > ------------------------------------------------------------------------ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/> |
|
From: vampire j. <vam...@ya...> - 2005-11-29 02:05:21
|
Since i wasn't able to catch the forums, can i ask what the reasons are for finally choosing python for php? i see that in the sourceforge page there's mention of "language and environment limitations". and there's "stability and reliability". there's also "upload progress bars, reliability, scalability" if i may infer. But is it really all lacking in php? if you mean by "language and environment limitations" the file size limit of php, well you can use pear for that. i also think that there's no more question about php's stability, reliability and specially scalability what with the number of servers backing this platform ie linux + mysql + php. as for progress bars, well.. i think this can be done in perl and still be integrated with the rest of the php scripts. but i guess that the single most biggest factor in choosing the programming language to use is i think the developers skills. so are our developers in here better off with python than with php? --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. |
|
From: Jose E. M. Jr. <eds...@gm...> - 2005-10-19 12:42:26
|
Hi people ...
I found plus one bug in version 2.0.5, when directory is created or
if it makes the upload of an archive with character special (space, &,
=, and others) the system if it loses, it does not obtain to make
nothing with the archive, therefore when passing as parametro in the URL
it interprets for example "&" as a new variable and if he loses, to
solve this problem I made the following alterations here:
in file includes/display.inc.php in the lines 350-352, where was :
$str .=
"<tr><td><table><tr><td>".$indentstr."</td><td><bytehoard
wname=\"bhicon?tiny/folder.png\"></td><td><font size=\"-1\"><a
href=\"index.php?infolder="$reldir.$file."\"
class=\"bh_dirlist_atlink\"><b>".$file."</b></a></td></tr></table></td></tr>";
} else {
$str .=
"<tr><td><table><tr><td>".$indentstr."</td><td><bytehoard
wname=\"bhicon?tiny/folder.png\"></td><td><font size=\"-1\"><a
href=\"index.php?infolder=".$reldir.$file."\"
class=\"bh_dirlist_link\">".$file."</a></td></tr></table></td></tr>";
i change for :
$str .=
"<tr><td><table><tr><td>".$indentstr."</td><td><bytehoard
wname=\"bhicon?tiny/folder.png\"></td><td><font size=\"-1\"><a
href=\"index.php?infolder=".rawurlencode($reldir.$file)."\"
class=\"bh_dirlist_atlink\"><b>".$file."</b></a></td></tr></table></td></tr>";
} else {
$str .=
"<tr><td><table><tr><td>".$indentstr."</td><td><bytehoard
wname=\"bhicon?tiny/folder.png\"></td><td><font size=\"-1\"><a
href=\"index.php?infolder=".rawurlencode($reldir.$file)."\"
class=\"bh_dirlist_link\">".$file."</a></td></tr></table></td>
in the line 549, where was ;
$str .= "<tr><td class=\"bh_filelist_icon\"><img
src=\"icon.img.php?file=".$bhcurrent['folder']."/".$file."\"
border=\"0\"></td><td class=\"bh_filelist_filename\">".$file."<br><span
class=\"bh_filelist_filesize\">".date("F d Y H:i:s",
filemtime_bhfs($bhcurrent['folder']."/".$file))."<br>".filesizereadable_bh($bhcurrent['folder']."/".$file)."</span></td>\n<td><span
class=\"bh_filelist_filedesc\">"."<br>".$fileobj->filedesc."</span></td>\n<td
class=\"bh_filelist_fhicons\">";
i change for :
$str .= "<tr><td class=\"bh_filelist_icon\"><img
src=\"icon.img.php?file=".rawurlencode($bhcurrent['folder']."/".$file)."\"
border=\"0\"></td><td class=\"bh_filelist_filename\">".$file."<br><span
class=\"bh_filelist_filesize\">".date("F d Y H:i:s",
filemtime_bhfs($bhcurrent['folder']."/".$file))."<br>".filesizereadable_bh($bhcurrent['folder']."/".$file)."</span></td>\n<td><span
class=\"bh_filelist_filedesc\">"."<br>".$fileobj->filedesc."</span></td>\n<td
class=\"bh_filelist_fhicons\">";
and in line 581, where was
$str .= "\n <a
href=\"index.php?page=filehandler&filehandler=".$handler."&filepath=".$bhcurrent['folder']."/".$file."\"
title=\"".$bhlang[$bhfhs[$handler]['langvar']]."\">".
i replaed for
$str .= "\n <a
href=\"index.php?page=filehandler&filehandler=".$handler."&filepath=".rawurlencode($bhcurrent['folder']."/".$file)."\"
title=\"".$bhlang[$bhfhs[$handler]['langvar']]."\">".
in the file modules/filehandlers/filemail.bhfh.php in the line 51, where was
$str = "<form
action=\"index.php?page=filehandler&filehandler=move&filepath=".$filepath."\"
method=\"POST\"><table><tr><td
class=\"bh_move_cfnl\">".$bhlang['current_filename']."</td><td
class=\"bh_move_cfn\">".$filepath."</td></tr>";
i change for
$str = "<form
action=\"index.php?page=filehandler&filehandler=move&filepath=".rawurlencode($filepath)."\"
method=\"POST\"><table><tr><td
class=\"bh_move_cfnl\">".$bhlang['current_filename']."</td><td
class=\"bh_move_cfn\">".$filepath."</td></tr>";
and in line 65, where was
$bhcurrent['message'] = $bhlang['file_moved']."<br><br><a
href=\"index.php?page=viewdir&infolder=".$_POST['infolder']."\">".$bhlang['to_folder']."</a><br>";
i change for
$bhcurrent['message'] = $bhlang['file_moved']."<br><br><a
href=\"index.php?page=viewdir&infolder=".rawurlencode($_POST['infolder'])."\">".$bhlang['to_folder']."</a><br>";
in the file modules/filehandlers/rename.bhfh.php in the line 52, where was
$str = "<form
action=\"index.php?page=filehandler&filehandler=rename&filepath=".$filepath."\"
method=\"POST\"><table><tr><td
class=\"bh_move_cfnl\">".$bhlang['current_filename']."</td><td
class=\"bh_move_cfn\">".$filepath."</td></tr>";
i change for
$str = "<form
action=\"index.php?page=filehandler&filehandler=rename&filepath=".rawurlencode($filepath)."\"
method=\"POST\"><table><tr><td
class=\"bh_move_cfnl\">".$bhlang['current_filename']."</td><td
class=\"bh_move_cfn\">".$filepath."</td></tr>";
in the line 65, where was
$bhcurrent['message'] = $bhlang['file_renamed']."<br><br><a
href=\"index.php?page=viewdir&infolder=".$_POST['infolder']."\">".$bhlang['to_folder']."</a><br>";
i change for
$bhcurrent['message'] = $bhlang['file_renamed']."<br><br><a
href=\"index.php?page=viewdir&infolder=".rawurlencode($_POST['infolder'])."\">".$bhlang['to_folder']."</a><br>";
in the file modules/pages/upload.bhpage.php in the line 126, where was
$msg .= "<br><br><a
href=\"index.php?page=viewdir&infolder=".$indir."\">".$bhlang['to_folder']."</a><br>";
i change for
$msg .= "<br><br><a
href=\"index.php?page=viewdir&infolder=".rawurlencode($indir)."\">".$bhlang['to_folder']."</a><br>";
in the file modules/filehandlers/filemail.bhfh.php in the line 37, where was
$filepath = $_GET['filepath'];
i change for
$filepath = rawurlencode($_GET['filepath']);
in the line 59, where was
$fileobj = new bhfile($rows[0]['filepath'],
$rows[0]['username']);
i change for
$fileobj = new bhfile(rawurldecode($rows[0]['filepath']),
$rows[0]['username']);
This all
Bye
Edson Moreno
|
|
From: Jose E. M. Jr. <eds...@gm...> - 2005-10-11 12:52:47
|
Hi Andrew...
Sorry for the previous menssagem, was with wrong subject.
It was testing the new version of subversion, and I noticed that the
installation presents a problem of interpretation with the archive
config.inc.php, I have a suggestion so that it is friendlier, follows
the alteration that I made as test:
- in the file langs/en.lang.php add the line :
$bhlang['install:check:config.inc.php_noexist'] = "Failed
(config.inc.php no exist, create with write permission)"
- in the file langs/en.lang.php in the line 22 where was
$cipcheck = bhi_check_permissions("../config.inc.php");
i change for
if (bhi_check_exist("../config.inc.php") == true) {
$cipcheck = bhi_check_permissions("../config.inc.php");
} else {
$cipcheck_noexist = true;
$cipcheck = false;
}
and in line 79, where was
$pagearray['content'] .= "<span
class='failedoption'>".$bhlang['install:check:failedperm']."</span>";
diff -r bytehoard/langs/en.lang.php bytehoard_cvs/langs/en.lang.php
i change for
if ($cipcheck_noexist == true) {
$pagearray['content'] .= "<span
class='failedoption'>".$bhlang['install:check:config.inc.php_noexist']."</span>";
} else {
$pagearray['content'] .= "<span
class='failedoption'>".$bhlang['install:check:failedperm']."</span>";
}
When I was to make upgrade of the system, I found some bugs, that they
follow:
- In option upgrade and selecting ByteHoard 2.0.x and click Upgrade
shows the message to me:
Parse error: parse error in
/bla-bla/bytehoard/install/database/2.0.x_to_2.1.g.inc.php on line 96
In line 95 :
$filelinkrow['filecode'] = $filelinkrow['code']
correcting
$filelinkrow['filecode'] = $filelinkrow['code'];
after correction another error:
Parse error: parse error in
/bla-bla/bytehoard/install/database/2.0.x_to_2.1.g.inc.php on line 114
In line 114 and 115
insert_bhdb("userinfo", array("username"=>$usersrow['username'],
"itemname"=>"email", "itemcontent"=>=>$usersrow['email']));
insert_bhdb("userinfo", array("username"=>$usersrow['username'],
"itemname"=>"fullname", "itemcontent"=>=>$usersrow['fullname']));
correcting
insert_bhdb("userinfo", array("username"=>$usersrow['username'],
"itemname"=>"email", "itemcontent"=>$usersrow['email']));
insert_bhdb("userinfo", array("username"=>$usersrow['username'],
"itemname"=>"fullname", "itemcontent"=>$usersrow['fullname']));
after correction another error, erased the content of config.inc.php:
in line 21:
$result = bhi_write_config_file($install_dbconf);
correcting
$result = bhi_write_config_file($dbconfig);
That is everything until the moment.
Bye
Edson Moreno
|
|
From: Jose E. M. Jr. <eds...@gm...> - 2005-10-10 20:58:28
|
Hi Andrew...
It was testing the new version of subversion, and I noticed that the
installation presents a problem of interpretation with the archive
config.inc.php, I have a suggestion so that it is friendlier, follows
the alteration that I made as test:
- in the file langs/en.lang.php add the line :
$bhlang['install:check:config.inc.php_noexist'] = "Failed
(config.inc.php no exist, create with write permission)"
- in the file langs/en.lang.php in the line 22 where was
$cipcheck = bhi_check_permissions("../config.inc.php");
i change for
if (bhi_check_exist("../config.inc.php") == true) {
$cipcheck = bhi_check_permissions("../config.inc.php");
} else {
$cipcheck_noexist = true;
$cipcheck = false;
}
and in line 79, where was
$pagearray['content'] .= "<span
class='failedoption'>".$bhlang['install:check:failedperm']."</span>";
diff -r bytehoard/langs/en.lang.php bytehoard_cvs/langs/en.lang.php
i change for
if ($cipcheck_noexist == true) {
$pagearray['content'] .= "<span
class='failedoption'>".$bhlang['install:check:config.inc.php_noexist']."</span>";
} else {
$pagearray['content'] .= "<span
class='failedoption'>".$bhlang['install:check:failedperm']."</span>";
}
Bye
Edson Moreno
|
|
From: Andrew G. <and...@bl...> - 2005-10-06 20:38:42
|
Also, Jose, I forgot to say that, although the file will go into SVN, it won't do much good there apart from storage! I'll put it up on the 2.0.5 download page or something at some point as well. Andrew |
|
From: Andrew G. <and...@bl...> - 2005-10-06 20:33:34
|
Thanks Jose, I didn't spot those bugs! I'll edit the language file now, and=
=20
I'll put your language file into the queue for SVN. Thanks a bunch!
Andrew
On Thursday 06 October 2005 18:28, Jose Edson Moreno Jr. wrote:
> Hi all...
> I am giving to my contribution to software after the use,; -) , it
> follows the translation for the Portuguese of Brazil, maybe also can be
> used for the Portuguese of Portugal if the people of Portugal will not
> be very demanding and to accept our differences of language.
>
> During the translation I detected some bugs, which I corrected, that
> they are:
>
> - in the file langs/en.lang.php it has two lines with same tag, however
> its contents are different:
> $bhlang['must_write_message'] =3D "You must write a message for the
> email.";
> $bhlang['must_write_message'] =3D "You must write a subject for the
> email.";
>
> I made the following alteration for correction:
> $bhlang['must_write_message'] =3D "You must write a message for the
> email.";
> $bhlang['must_write_subject'] =3D "You must write a subject for the
> email.";
>
> and in file modules/adminpages/massemail.bhapage.php in the line 41,
> I changed of
> if (empty($massemail['subject'])) { die_bh("must_write_message"); }
> for
> if (empty($massemail['subject'])) { die_bh("must_write_subject"); }
>
> - when it moved a folder showed that it was moving lile, to correct this
> I added the following line in langs/en.lang.php:
> $bhlang['new_directory'] =3D "New directory";
>
> and changed in modules/filehandlers/move.bhfh.php in the line 52 of
> $str .=3D "<tr><td
> class=3D\"bh_move_dfnl\">".$bhlang['new_filename']."</td><td
> class=3D\"bh_move_cfn\"><bytehoard wname=3D'dirsboxnt'> /
> ".$filename."</td></tr><tr><td colspan=3D\"2\" align=3D\"center\"><input
> type=3D\"submit\" value=3D\"<bytehoard
> wname=3D'lang?ok'>\"></td></tr></table></form>";
> for
> $str .=3D "<tr><td
> class=3D\"bh_move_dfnl\">".$bhlang['new_directory']."</td><td
> class=3D\"bh_move_cfn\"><bytehoard wname=3D'dirsboxnt'> /
> ".$filename."</td></tr><tr><td colspan=3D\"2\" align=3D\"center\"><input
> type=3D\"submit\" value=3D\"<bytehoard
> wname=3D'lang?ok'>\"></td></tr></table></form>";
>
> and in file templates/move_page.bhw.php in the line 7 of
> <bytehoard wname=3D"lang?new_filename">: <input type=3D"textbox"
> name=3D"moveopts[to]" value=3D"<bytehoard wname=3D'getmessage'>">
> for
> <bytehoard wname=3D"lang?new_directory">: <input type=3D"textbox"
> name=3D"moveopts[to]" value=3D"<bytehoard wname=3D'getmessage'>">
>
> These alterations are referring version 2.0.5. I wait to have contributed
>
> Bye
>
> Edson Moreno
|
|
From: Jose E. M. Jr. <eds...@gm...> - 2005-10-06 17:29:46
|
Hi all...
I am giving to my contribution to software after the use,; -) , it
follows the translation for the Portuguese of Brazil, maybe also can be
used for the Portuguese of Portugal if the people of Portugal will not
be very demanding and to accept our differences of language.
During the translation I detected some bugs, which I corrected, that
they are:
- in the file langs/en.lang.php it has two lines with same tag, however
its contents are different:
$bhlang['must_write_message'] = "You must write a message for the
email.";
$bhlang['must_write_message'] = "You must write a subject for the
email.";
I made the following alteration for correction:
$bhlang['must_write_message'] = "You must write a message for the
email.";
$bhlang['must_write_subject'] = "You must write a subject for the
email.";
and in file modules/adminpages/massemail.bhapage.php in the line 41,
I changed of
if (empty($massemail['subject'])) { die_bh("must_write_message"); }
for
if (empty($massemail['subject'])) { die_bh("must_write_subject"); }
- when it moved a folder showed that it was moving lile, to correct this
I added the following line in langs/en.lang.php:
$bhlang['new_directory'] = "New directory";
and changed in modules/filehandlers/move.bhfh.php in the line 52 of
$str .= "<tr><td
class=\"bh_move_dfnl\">".$bhlang['new_filename']."</td><td
class=\"bh_move_cfn\"><bytehoard wname='dirsboxnt'> /
".$filename."</td></tr><tr><td colspan=\"2\" align=\"center\"><input
type=\"submit\" value=\"<bytehoard
wname='lang?ok'>\"></td></tr></table></form>";
for
$str .= "<tr><td
class=\"bh_move_dfnl\">".$bhlang['new_directory']."</td><td
class=\"bh_move_cfn\"><bytehoard wname='dirsboxnt'> /
".$filename."</td></tr><tr><td colspan=\"2\" align=\"center\"><input
type=\"submit\" value=\"<bytehoard
wname='lang?ok'>\"></td></tr></table></form>";
and in file templates/move_page.bhw.php in the line 7 of
<bytehoard wname="lang?new_filename">: <input type="textbox"
name="moveopts[to]" value="<bytehoard wname='getmessage'>">
for
<bytehoard wname="lang?new_directory">: <input type="textbox"
name="moveopts[to]" value="<bytehoard wname='getmessage'>">
These alterations are referring version 2.0.5. I wait to have contributed
Bye
Edson Moreno
|
|
From: Khalid Al-K. <kha...@gm...> - 2005-10-03 16:37:15
|
Hello Andrew, How is the next bytehoard release going with you ? :-) I wanted to ask whether there could be major database modifications in the next release, because I want to use my current code until you release the next version ? Thanks in advance for your help. Regards, Khalid |
|
From: Andrew G. <and...@bl...> - 2005-09-22 22:06:34
|
On Thursday 22 September 2005 22:52, Khalid Al-Kary wrote: > Hello there, > > How is the next release going, Andrew ? Work is slow at the moment, I'm under a mountain of work, but I am making slow but steady progress. I'm going over your dirman and ipfilter modules and checking then into SVN soon, but I have no idea how long it is till the next release... check back in a week or two, I'll be under a lot less pressure at that point. Andrew |
|
From: Khalid Al-K. <kha...@gm...> - 2005-09-22 21:59:47
|
Hello there, How is the next release going, Andrew ? Regards, Khalid |
|
From: Khalid Al-K. <kha...@gm...> - 2005-09-13 10:46:45
|
---------- Forwarded message ----------
From: Khalid Al-Kary <kha...@gm...>
Date: Sep 13, 2005 1:44 PM
Subject: Re: [bytehoard-devel] IPFilter and Directories
To: Andrew Godwin <and...@bl...>
Hello,
Sorry for slow reply!
On 9/12/05, Andrew Godwin <and...@bl...> wrote:
> That looks pretty good; I like the way you abstracted out the directory
> management.
>
> Since my new skin engine will hide that ugly, hard-to-use directory tree =
we
> won't have to worry about obscuring the paths, which is what I hoped. Ins=
tead
> we can just display the subtree of the user's directory, although I think
> administrators might still want the whole tree.
How about giving administrators an administration module that shows them
everything regardless of the skin used ?
> Your authentication solution is pretty much the same as mine for my custo=
m
> phpBB installs I'm doing, so that's good.
>
> When you say:
> "I need to set the user homedir to something that respects dirman out
> of the auth module." what do you mean, exactly? If you mean that you must
> write it so that the homedirs get changed for users you could put it in
> index.php just after the username is found.
Yeah, that's what I want, I want to set the homedir of "admin" to
"/A/admin" (using dirman) instead of setting it to /admin. I'll do it
as you suggested.
> For the installation stuff you can just add an extra page for the dirman
> setting. If you look at the installation code it should hopefully be sort=
of
> clear what to do; you need another two files in install/install (one for =
the
> form and one for the saving of the setting) and then a few changes in the
> higher files.
Ok, thanks :-)
> Looking forward to news of your IP filtering adventures.
Here's what I have done:
* Created a table for IP filtering rules (ipfilter) and added it in
install/db: (done)
* Rule ID.
* Username.
* IP. ( "-" =3D any IP)
* Action. (0 =3D> deny, 1 =3D> allow).
* Created a table for non-user specific IP filtering rules
(ipfilter_default) and added it in install/db
* Rule ID
* IP ( "-" =3D any IP)
* Action
* Create an IP filtering module in includes/ipfilter:
* ipfitler_check(username, ip) -- returns true or false for
acceptance or rejection respectively.
* ipfilter_get_rules -- lists the user-specific filtering rules
* ipfilter_get_default_rules -- lists the non-user-sepecific filtering ru=
les
* Configuration for the IP filtering module to use.(done)
* An administration module that allows for adding and removing default
and user-specific rules.
* I used ipfilter_check in my authentication module, in bh_session it
returns an empty user name if the user is not accepted by
ipfilter_check.
* I also used it in index.php, in the part "See if we need to login":
if ($loggedin > 0 && ipfilter_check($_POST['login_username'],
$_SERVER['REMOTE_ADDR'])) {
I'll attach the IPFilter patch and the ipfilter.inc.php file that
should be put in includes/ipfilters
> Andrew
Regards,
Khalid
|
|
From: Khalid Al-K. <kha...@gm...> - 2005-09-12 16:33:42
|
Hello,
On 9/12/05, Andrew Godwin <and...@bl...> wrote:
> Yes, andrew is back. Or rather I am back.
Welcome back :-)
> By directories support, what do you mean? Is this the alphabetically
> subdirectory-separated user directories bit?
Yeah, separating user directories according to an
administrator-selectable module (in includes/dirman).
> I'm working on a new skin for BH at the moment
Cool!
> and I'm going to abstract user
> directories to a simple 'Your Directory' and 'Other people's directories'
> arrangement,=20
That would be nice
> which should be good news for you since it means you don't have
> to work so hard to hide the fact that directories are in /a/an/andrewgodw=
in
> or whatever.=20
I didn't hide it.
> How did you implement it?=20
Here's what I have done:
* I added a dirman module in includes/dirman/dirman.inc.php
* Added a setting for choosing the directory manager module to be used.
* Included the dirman module in both index.php and administrator/index.php
according to configuration.
* The dirman module has the following functions:
dirman_get_storage_dir(username) -- returns A for admin for example.
dirman_init_tree(root_dir) -- initiliazes the module's own directory
structure upon installation.
dirman_init_db() -- adds to the database what the module needs to work.
* For me, I create bytehoard users by identifying the cookie of an
external system (webgui), but it's not a standard webgui so I didn't
contribute the auth module.
* Upon user opening of bytehoard, I check for whether he has a cookie
for that external system, then check if he exists in bytehoard's users
table, if he is not, he is created and his home directory is set to:
dirman_get_storage_dir(username)."/".username
> Transparentely (i.e. not visible in
> the directory tree) or a stright changing the path of user directories?
All I could change about what the user sees, was in the choosedirlist
function in layout/horizon/main.inc.php line 286, changed the required
level in the call to bh_foldersarray to 1 so users can see
subdirectories that they don't have write access to so they can see
there own directories which belong to those directories.
=20
> Andrew
If you are okay with these modifications, I'll have to change the
following before posting the patches to you:
* I need to set the user homedir to something that respects dirman out
of the auth module.
* I need to put the code in the installer that uses dirman_init_tree(root_d=
ir).
* I need also to ask the user about his preferred dirman module
during installation.
* Maybe remove it from the settings thereafter ?
To see what I have done:
Goto http://62.135.114.195/
login in the box to the right as: testing5testing5, password: tt
Then go to:
http://62.135.114.195/bytehoard-dev/
If you are changing the directory display system, I'll use my code
until you get that running, then update my own to work with yours.
I'll send another e-mail at a later point about the IPFilter.
Regards,
Khalid
|
|
From: Khalid Al-K. <kha...@gm...> - 2005-09-12 15:55:00
|
Hello there, I have finished ipfiltering and directories support, I wanted to ask about a number of things so -- is Andrew back ? Regards, Khalid |
|
From: Andrew G. <and...@bl...> - 2005-08-19 23:21:08
|
The newest installment in the 2.1 series is now out! Featuring group editing, quota support, FileMail improvements, a new installer, 2.0 upgrade support, and a few minor bugfixes, it's this season's must-have piece of software. Well, perhaps not quite. Grab your copy from http://bytehoard.org. You'll hear from me again shortly, I expect, although you get a guaranteed two-week reprieve from me for the moment. Andrew Godwin |
|
From: Andrew G. <and...@bl...> - 2005-08-18 20:47:24
|
On Thursday 18 August 2005 09:35, Khalid Al-Kary wrote: > Hello! > > On 8/17/05, Andrew Godwin <and...@bl...> wrote: > > That's great. Since I find running diffs a bit of a hassle, I'll give you > > the details to a writing account. > > > > Username - khalid > > Password - sixtimesnine > > But my subversion client just doesn't work! it checks out incorrectly, > I prefer patches so all my work is revised by you. If you like. I don't mind too much, it's just good to have someone helping. > > Since you can't permanently destroy anything I don't mind too much if you > > muck everything up, although obviously try not to. > > I'll be careful. > > > Also, I thought you should know I'm going away starting Monday for two > > weeks. I should have quotas done before then, though. > > I'll try to finish IP filtering and Directories before you go, and > submit them to you as patches which you can try yourself, I will not > be working on the code until you come back, so I wouldn't mess things > up. Have a nice time in your go-away :-) I will. I've nearly finished quotas, so hopefully I will have something tomorrow. > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > bytehoard-devel mailing list > byt...@li... > https://lists.sourceforge.net/lists/listinfo/bytehoard-devel |
|
From: Khalid Al-K. <kha...@gm...> - 2005-08-18 18:06:22
|
Hello! On 8/17/05, Andrew Godwin <and...@bl...> wrote: > That's great. Since I find running diffs a bit of a hassle, I'll give you= the > details to a writing account. >=20 > Username - khalid > Password - sixtimesnine But my subversion client just doesn't work! it checks out incorrectly, I prefer patches so all my work is revised by you. =20 > Since you can't permanently destroy anything I don't mind too much if you= muck > everything up, although obviously try not to. I'll be careful. > Also, I thought you should know I'm going away starting Monday for two we= eks. > I should have quotas done before then, though. I'll try to finish IP filtering and Directories before you go, and submit them to you as patches which you can try yourself, I will not be working on the code until you come back, so I wouldn't mess things up. Have a nice time in your go-away :-) =20 > Andrew Khalid |
|
From: Khalid Al-K. <kha...@gm...> - 2005-08-17 15:38:05
|
Hello, Here's the language setting patch, tell me if it's ok. Khalid |