Skip to content

Commit

Permalink
1.4.061020
Browse files Browse the repository at this point in the history
  • Loading branch information
David Touzeau committed Jun 10, 2010
1 parent a091d4e commit b99561e
Show file tree
Hide file tree
Showing 83 changed files with 2,675 additions and 979 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.060619
1.4.061020
12 changes: 9 additions & 3 deletions WHATSNEW
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
1.4.060401:
1.4.061013:
========================================================================================

System Changes
-------------------------------------------------
1.4.060313: Adding possibility to set maximum php processes that could be executed at the same time.
Fix unable to set domainname
Improve settings virtuals IP addresses
1.4.060823: Fix unable to set domainname
1.4.060823: Improve settings virtuals IP addresses.
1.4.061013: Fix OpenVPN section minors bugs.
1.4.061013: Fix user can have access to the main admin interface

Messaging Changes:
-----------------------------------------------
1.4.060313: Fix unable to open ISP macros under messaging feature.
1.4.060401: Fix demime error before backup mails. This cause illimited stored mysql error files in /var/log/artica-postfix that cause crash server.

Proxy Changes:
-------------------------------------------------
1.4.060823: Enable C-ICAP has the main urls filtering engine.



1.4.053118:
Expand Down
9 changes: 7 additions & 2 deletions admin.index.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,9 @@ function page($usersmenus){
}





$html="
<script language=\"JavaScript\">
var timerID = null;
Expand Down Expand Up @@ -488,9 +491,11 @@ function CheckDaemon(){


if($users->KASPERSKY_SMTP_APPLIANCE){
$title=$tpl->_ENGINE_parse_body("<span style='color:#005447'>{WELCOME}</span> <span style='font-size:13px;color:#005447'>For Kaspersky Appliance</span>&nbsp;|&nbsp;<span style='font-size:12px'>{$hash["displayName"]} - <span style='text-transform:lowercase'>$usersmenus->hostname</span></span>");
$title=$tpl->_ENGINE_parse_body("<span style='color:#005447'>{WELCOME}</span> <span style='font-size:13px;color:#005447'>For Kaspersky SMTP Appliance</span>&nbsp;|&nbsp;<span style='font-size:12px'>{$hash["displayName"]} - <span style='text-transform:lowercase'>$usersmenus->hostname</span></span>");
}
if($users->KASPERSKY_WEB_APPLIANCE){
$title=$tpl->_ENGINE_parse_body("<span style='color:#005447'>{WELCOME}</span> <span style='font-size:13px;color:#005447'>For Kaspersky Web Appliance</span>&nbsp;|&nbsp;<span style='font-size:12px'>{$hash["displayName"]} - <span style='text-transform:lowercase'>$usersmenus->hostname</span></span>");
}


$tpl=new template_users($title,$html,$_SESSION,0,0,0,$cfg);
error_log(basename(__FILE__)." ".__FUNCTION__.'() line '. __LINE__);
Expand Down
16 changes: 13 additions & 3 deletions admin.tabs.php
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,18 @@ function admin_index(){
var x_LeftInfos= function (obj) {
var tempvalue=obj.responseText;
document.getElementById('left_status').innerHTML=tempvalue;
}
setTimeout(\"SatusInfos();\",500);
}
function SatusInfos(){
if(document.getElementById('page-index-squid-status')){
LoadAjax('page-index-squid-status','squid.index.php?page-index-squid-status=yes');
}
}
function RightInfos(){
function RightInfos(){
var counter=1;
if(document.getElementById('counter')){counter=document.getElementById('counter').value;}
var XHR = new XHRConnection();
Expand All @@ -390,8 +399,9 @@ function LeftInfos(){
var XHR = new XHRConnection();
XHR.appendData('status','left');
document.getElementById('left_status').innerHTML='<center><img src=img/wait_verybig.gif></center>';
XHR.sendAndLoad('admin.index.php', 'GET',x_LeftInfos);
}
}
RightInfos();
</script>";
Expand Down
Binary file modified bin/artica-compile
Binary file not shown.
Binary file modified bin/artica-install
Binary file not shown.
Binary file modified bin/artica-iso
Binary file not shown.
Binary file modified bin/process1
Binary file not shown.
Binary file modified bin/setup-centos
Binary file not shown.
Binary file modified bin/setup-debian
Binary file not shown.
Binary file modified bin/setup-fedora
Binary file not shown.
Binary file modified bin/setup-mandrake
Binary file not shown.
Binary file modified bin/setup-suse
Binary file not shown.
Binary file modified bin/setup-ubuntu
Binary file not shown.
6 changes: 0 additions & 6 deletions bin/src/artica-cgi/backup/parsehttp.pas.bak
Original file line number Diff line number Diff line change
Expand Up @@ -1319,12 +1319,6 @@ RegExpr.expression:='^MailBoxRemoteSync:(.+)';
end;


RegExpr.expression:='ChangeHostName:(.+)';
if RegExpr.Exec(uri) then begin
GLOBAL_INI.SYSTEM_NETWORKS_SET_HOSTNAME(RegExpr.Match[1]);
exit(true);
end;



RegExpr.expression:='install_app:(.+)';
Expand Down
13 changes: 0 additions & 13 deletions bin/src/artica-cgi/parsehttp.pas
Original file line number Diff line number Diff line change
Expand Up @@ -898,20 +898,7 @@ function Tparsehttp.ParseUri(uri:string):boolean;
end;


RegExpr.expression:='^OpenVPNServerLogs';
if RegExpr.Exec(uri) then begin
tmpstr:=logs.FILE_TEMP();
fpsystem('/usr/bin/tail -n 500 /var/log/openvpn/openvpn.log >'+ tmpstr + ' 2>&1');
FileData.Add(logs.ReadFromFile(tmpstr));
logs.DeleteFile(tmpstr);
exit(true);
end;

RegExpr.expression:='^OpenVPNServerSessions';
if RegExpr.Exec(uri) then begin
FileData.Add(logs.ReadFromFile('/var/log/openvpn/openvpn-status.log'));
exit(true);
end;
RegExpr.expression:='^OpenVPNStatus';
if RegExpr.Exec(uri) then begin
openvpn:=Topenvpn.Create(SYS);
Expand Down
4 changes: 3 additions & 1 deletion bin/src/artica-install/artica_cron.pas
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ procedure tcron.START();
processNumber:=6;
if cpunum<4 then processNumber:=4;
end;
if processNumber>4 then processNumber:=4;

SYS.SET_INFO('systemForkProcessesNumber',IntToStr(processNumber))

end else begin
Expand Down Expand Up @@ -520,7 +522,7 @@ procedure tcron.Save_processes();
if length(backup_command)>0 then begin
l.Add(backup_command);
end;
l.Add('@'+Nicet+nolog+',lavg1('+IntToStr(systemMaxOverloaded)+') 10s '+cmdnice+SYS.LOCATE_PHP5_BIN()+ ' ' +artica_path+'/exec.parse-orders.php');
l.Add('@'+Nicet+nolog+',lavg1('+IntToStr(systemMaxOverloaded)+') 10s '+cmdnice+SYS.LOCATE_PHP5_BIN()+ ' ' +artica_path+'/exec.parse-orders.php');
l.Add('@'+Nicet+nolog+',lavg1('+IntToStr(systemMaxOverloaded)+') 12s '+cmdnice+SYS.LOCATE_PHP5_BIN()+ ' ' +artica_path+'/exec.executor.php --group10s');
l.Add('@'+Nicet+nolog+',lavg1('+IntToStr(systemMaxOverloaded)+') 30s '+cmdnice+SYS.LOCATE_PHP5_BIN()+ ' ' +artica_path+'/exec.executor.php --group30s');

Expand Down
Loading

0 comments on commit b99561e

Please sign in to comment.