change max symlink-size to 1024 chars (from 255)

This commit is contained in:
ralf 2025-01-09 19:57:17 +01:00
parent 242673fb33
commit 3e70d7af81
3 changed files with 13 additions and 2 deletions

View File

@ -11,7 +11,7 @@
/* Basic information about this app */ /* Basic information about this app */
$setup_info['api']['name'] = 'api'; $setup_info['api']['name'] = 'api';
$setup_info['api']['title'] = 'EGroupware API'; $setup_info['api']['title'] = 'EGroupware API';
$setup_info['api']['version'] = '23.1.010'; $setup_info['api']['version'] = '23.1.011';
$setup_info['api']['versions']['current_header'] = '1.29'; $setup_info['api']['versions']['current_header'] = '1.29';
// maintenance release in sync with changelog in doc/rpm-build/debian.changes // maintenance release in sync with changelog in doc/rpm-build/debian.changes
$setup_info['api']['versions']['maintenance_release'] = '23.1.20241214'; $setup_info['api']['versions']['maintenance_release'] = '23.1.20241214';
@ -141,3 +141,4 @@ $setup_info['groupdav']['author'] = $setup_info['groupdav']['maintainer'] = arra
$setup_info['groupdav']['license'] = 'GPL'; $setup_info['groupdav']['license'] = 'GPL';
$setup_info['groupdav']['hooks']['preferences'] = 'EGroupware\\Api\\CalDAV\\Hooks::menus'; $setup_info['groupdav']['hooks']['preferences'] = 'EGroupware\\Api\\CalDAV\\Hooks::menus';
$setup_info['groupdav']['hooks']['settings'] = 'EGroupware\\Api\\CalDAV\\Hooks::settings'; $setup_info['groupdav']['hooks']['settings'] = 'EGroupware\\Api\\CalDAV\\Hooks::settings';

View File

@ -327,7 +327,7 @@ $phpgw_baseline = array(
'fs_modifier' => array('type' => 'int','meta' => 'user','precision' => '4'), 'fs_modifier' => array('type' => 'int','meta' => 'user','precision' => '4'),
'fs_active' => array('type' => 'bool','nullable' => False,'default' => 't'), 'fs_active' => array('type' => 'bool','nullable' => False,'default' => 't'),
'fs_content' => array('type' => 'blob'), 'fs_content' => array('type' => 'blob'),
'fs_link' => array('type' => 'varchar','precision' => '255'), 'fs_link' => array('type' => 'varchar','precision' => '1024'),
'fs_s3_flags' => array('type' => 'int','precision' => '1','default' => '0'), 'fs_s3_flags' => array('type' => 'int','precision' => '1','default' => '0'),
'fs_aes_key' => array('type' => 'binary','precision' => '32') 'fs_aes_key' => array('type' => 'binary','precision' => '32')
), ),

View File

@ -1022,4 +1022,14 @@ function api_upgrade23_1_009()
)); ));
return $GLOBALS['setup_info']['api']['currentver'] = '23.1.010'; return $GLOBALS['setup_info']['api']['currentver'] = '23.1.010';
}
function api_upgrade23_1_010()
{
$GLOBALS['egw_setup']->oProc->AlterColumn('egw_sqlfs','fs_link',array(
'type' => 'varchar',
'precision' => '1024'
));
return $GLOBALS['setup_info']['api']['currentver'] = '23.1.011';
} }