Changeset 6492

Show
Ignore:
Timestamp:
08/28/08 01:37:13 (5 years ago)
Author:
p_lindheimer
Message:

Merged revisions 6458-6459,6461-6490 via svnmerge from
http://svn.freepbx.org/freepbx/branches/2.5

........

r6462 | p_lindheimer | 2008-08-24 20:37:24 -0700 (Sun, 24 Aug 2008) | 1 line


Creating release 2.5.0rc2

........

r6474 | p_lindheimer | 2008-08-25 12:06:13 -0700 (Mon, 25 Aug 2008) | 1 line


fixes #3104 - looks like some of the code paths do extra urlencodes/decodes - this looks like it does it

........

r6477 | p_lindheimer | 2008-08-25 15:26:43 -0700 (Mon, 25 Aug 2008) | 1 line


fixes #3107 don't include module specific css/js files twice in some circumstances

........

r6478 | sasargen | 2008-08-26 05:30:34 -0700 (Tue, 26 Aug 2008) | 1 line


fixes #3104 - removes manual urlencode of checkbox values because they are form fields and are automatically urlencoded by the browser when the form is submitted

........

r6483 | p_lindheimer | 2008-08-26 12:15:04 -0700 (Tue, 26 Aug 2008) | 1 line


closes #3093 reset the execution time limit to the system configured limit before each module download and install so downloading many modules at once does not result in a timeout failure, this still counts on a reasonable php.ini setting for any given installation of which the default is typically adeqaute

........

r6484 | p_lindheimer | 2008-08-26 19:06:13 -0700 (Tue, 26 Aug 2008) | 1 line


closes #3113 and ref #3090 - puts error in notification panel if magic_quotes_gpc is enabled

........

r6486 | p_lindheimer | 2008-08-27 11:40:19 -0700 (Wed, 27 Aug 2008) | 1 line


improve the symlink failure message to provide feedback on what can be done to resolve the issue

........

r6490 | p_lindheimer | 2008-08-27 22:29:03 -0700 (Wed, 27 Aug 2008) | 1 line


updated CHANGES

........

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk

    • Property svnmerge-integrated changed from /freepbx/branches/2.4:1-5944 /freepbx/branches/2.5:1-6457 to /freepbx/branches/2.4:1-5944 /freepbx/branches/2.5:1-6491
  • freepbx/trunk/CHANGES

    r6458 r6492  
    1 2.5.0  
     12.5.0 Added in rc2 
     2- Add queue weights setting and autfill setting per queue. Set persistentmember=yes 
     3  in queues general section to apply to all queues. 
     4 
     5- Added ability in IVR to have voicemail system return calls to the IVR after leaving 
     6  or checking messages as well as returning to the IVR if line is busy (and user has 
     7  not voicemail) 
     8 
     9- Added option to incoming routes allowing a CID only route to take priority over a 
     10  DID only route. This means that the CID route will route the call for calls that 
     11  come to that DID with the specified CID. Default behavior would always route the 
     12  call to the DID only route based on how Asterisk sorts routes. 
     13 
     14- Split the framework "module" into framework, fw_fop and fw_ari so that FOP and 
     15  ARI updates could be split from other framework updates in order to allow people 
     16  with highly customized FOP and ARI changes to pull framework updates easier. 
     17 
     182.5.0 Added before rc1 
    219 WARNING: The separation of directdid and other incoming routes has been removed. 
    320 this has resulted in the obsoletion of the following API call: 
  • freepbx/trunk/amp_conf/bin/retrieve_conf

    r6231 r6492  
    576576  } 
    577577  if ($error_modules) { 
    578     $nt->add_error('retrieve_conf', 'SYMLINK', _("Symlink from modules failed"), sprintf(_("retrieve_conf failed to sym link: %s<br \>This can result in FATAL failures to your PBX"),$error_modules)); 
     578    $nt->add_error('retrieve_conf', 'SYMLINK', _("Symlink from modules failed"), sprintf(_("retrieve_conf failed to sym link: %s<br \>This can result in FATAL failures to your PBX. If the target file exists, the symlink will not occur and you should rename the target file to allow the automatic sym link to occur and remove this error, unless this is an intentional customization."),$error_modules)); 
    579579  } else { 
    580580    $nt->delete('retrieve_conf', 'SYMLINK'); 
  • freepbx/trunk/amp_conf/htdocs/admin/common/db_connect.php

    r6240 r6492  
    9494} 
    9595 
     96// send error if magic_quotes_gpc is enabled on this system as much of the code base assumes not 
     97// 
     98if(get_magic_quotes_gpc()) { 
     99  $nt->add_error('core', 'MQGPC', _("Magic Quotes GPC"), _("You have magic_quotes_gpc enabled in your php.ini, http or .htaccess file which will cause errors in some modules. FreePBX expects this to be off and runs under that assumption")); 
     100} else { 
     101  $nt->delete('core', 'MQGPC'); 
     102} 
  • freepbx/trunk/amp_conf/htdocs/admin/functions.inc.php

    r6065 r6492  
    26722672function module_download($modulename, $force = false, $progress_callback = null, $override_svn = false, $override_xml = false) {  
    26732673  global $amp_conf; 
     2674 
     2675  if ($time_limit = ini_get('max_execution_time')) { 
     2676    set_time_limit($time_limit); 
     2677  } 
    26742678   
    26752679  // size of download blocks to fread() 
     
    29272931 */ 
    29282932function module_install($modulename, $force = false) { 
     2933  global $db, $amp_conf; 
     2934 
     2935  if ($time_limit = ini_get('max_execution_time')) { 
     2936    set_time_limit($time_limit); 
     2937  } 
     2938 
    29292939  $modules = module_getinfo($modulename); 
    2930   global $db, $amp_conf; 
    29312940   
    29322941  // make sure we have a directory, to begin with 
  • freepbx/trunk/amp_conf/htdocs/admin/views/freepbx.php

    r6226 r6492  
    7676      echo "\t".'<link href="'.$_SERVER['PHP_SELF'].'?handler=file&amp;module='.$module_name.'&amp;file='.$module_name.'.css" rel="stylesheet" type="text/css">'."\n"; 
    7777    } 
    78     if (isset($module_page) && is_file('modules/'.$module_name.'/'.$module_page.'.css')) { 
     78    if (isset($module_page) && ($module_page != $module_name) && is_file('modules/'.$module_name.'/'.$module_page.'.css')) { 
    7979      echo "\t".'<link href="'.$_SERVER['PHP_SELF'].'?handler=file&amp;module='.$module_name.'&amp;file='.$module_page.'.css" rel="stylesheet" type="text/css">'."\n"; 
    8080    } 
     
    8282      echo "\t".'<script type="text/javascript" src="'.$_SERVER['PHP_SELF'].'?handler=file&amp;module='.$module_name.'&amp;file='.$module_name.'.js"></script>'."\n"; 
    8383    } 
    84     if (isset($module_page) && is_file('modules/'.$module_name.'/'.$module_page.'.js')) { 
     84    if (isset($module_page) && ($module_page != $module_name) && is_file('modules/'.$module_name.'/'.$module_page.'.js')) { 
    8585      echo "\t".'<script type="text/javascript" src="'.$_SERVER['PHP_SELF'].'?handler=file&amp;module='.$module_name.'&amp;file='.$module_page.'.js"></script>'."\n"; 
    8686    } 
  • freepbx/trunk/amp_conf/htdocs/recordings/modules/callmonitor.module

    r6458 r6492  
    208208      // recording file 
    209209      $recording = $recordings[$value['uniqueid'] . $value['calldate']]; 
    210       $recordingCrypt = urlencode($crypt->encrypt($recording,$ARI_CRYPT_PASSWORD)); 
     210      $fileCrypt = $crypt->encrypt($recording,$ARI_CRYPT_PASSWORD); 
     211      $recordingCrypt = urlencode($fileCrypt); 
    211212 
    212213      // date and time 
     
    217218      // recording delete checkbox 
    218219      if ($CALLMONITOR_ALLOW_DELETE) { 
    219         $recording_delete_checkbox = "<td class='checkbox'><input type=checkbox name='selected" . ++$i . "' value=" . $recordingCrypt . "></td>"; 
     220        $recording_delete_checkbox = "<td class='checkbox'><input type=checkbox name='selected" . ++$i . "' value=" . $fileCrypt . "></td>"; 
    220221      } 
    221222 
  • freepbx/trunk/amp_conf/htdocs/recordings/modules/voicemail.module

    r6458 r6492  
    408408        } 
    409409 
    410         $fileCrypt = urlencode($crypt->encrypt($file,$ARI_CRYPT_PASSWORD)); 
     410        $fileCrypt = $crypt->encrypt($file,$ARI_CRYPT_PASSWORD); 
    411411 
    412412        $tableText .= "