From 02720b611cf62428d06ed31356ba75d77e0da90a Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 27 Apr 2026 08:38:34 +0200 Subject: [PATCH 1/3] fix including files --- utils/xmldump.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/utils/xmldump.php b/utils/xmldump.php index 3f1331be9..5f7f4a72b 100644 --- a/utils/xmldump.php +++ b/utils/xmldump.php @@ -459,12 +459,15 @@ function tree($folder, $parent=null, $indent='', $skipcurrent=false) { /* {{{ */ } } /* }}} */ -include($myincpath."/inc/inc.Settings.php"); -include($myincpath."/inc/inc.Utils.php"); -include($myincpath."/inc/inc.Init.php"); -include($myincpath."/inc/inc.Extension.php"); -include($myincpath."/inc/inc.DBInit.php"); -include($myincpath."/inc/inc.ClassAcl.php"); +require $myincpath.'/vendor/autoload.php'; +require_once($myincpath."/inc/inc.Settings.php"); +require_once($myincpath.'/inc/inc.Language.php'); +require_once($myincpath."/inc/inc.LogInit.php"); +require_once($myincpath."/inc/inc.Utils.php"); +require_once($myincpath."/inc/inc.Init.php"); +require_once($myincpath."/inc/inc.Extension.php"); +require_once($myincpath."/inc/inc.DBInit.php"); +require_once($myincpath."/inc/inc.ClassAcl.php"); if(!$folderid) { $folderid = $settings->_rootFolderID; From 33065e8e57282a7ad1ce8e5e3b3c663a449faba3 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 27 Apr 2026 08:40:40 +0200 Subject: [PATCH 2/3] make it work with seeddms 5.1.x again --- utils/xmldump.php | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/utils/xmldump.php b/utils/xmldump.php index 5f7f4a72b..f0f3a2ade 100644 --- a/utils/xmldump.php +++ b/utils/xmldump.php @@ -101,7 +101,6 @@ $statistic = array( 'documents'=>0, 'folders'=>0, 'users'=>0, - 'roles'=>0, 'groups'=>0, 'attributedefinitions'=>0, 'keywordcategories'=>0, @@ -467,7 +466,6 @@ require_once($myincpath."/inc/inc.Utils.php"); require_once($myincpath."/inc/inc.Init.php"); require_once($myincpath."/inc/inc.Extension.php"); require_once($myincpath."/inc/inc.DBInit.php"); -require_once($myincpath."/inc/inc.ClassAcl.php"); if(!$folderid) { $folderid = $settings->_rootFolderID; @@ -476,31 +474,13 @@ if(!$folderid) { echo "\n"; echo "getDBVersion(), 1, 3))."\" date=\"".date('Y-m-d H:i:s')."\">\n"; -/* Dump roles {{{ */ -if(!$sections || in_array('roles', $sections)) { -$roles = $dms->getAllRoles(); -if($roles) { - echo "\n"; - foreach ($roles as $role) { - echo " getId()."\">\n"; - echo " ".wrapWithCData($role->getName())."\n"; - echo " ".wrapWithCData(implode(',', $role->getNoAccess()))."\n"; - echo " ".$role->getRole()."\n"; - echo " \n"; - $statistic['roles']++; - } - echo "\n"; -} -} -/* }}} */ - /* Dump users {{{ */ if(!$sections || in_array('users', $sections)) { $users = $dms->getAllUsers(); if($users) { echo "\n"; foreach ($users as $user) { - echo " getId()."\" role=\"".$user->getRole()->getId()."\">\n"; + echo " getId()."\" role=\"".$user->getRole()."\">\n"; echo " ".wrapWithCData($user->getLogin())."\n"; echo " ".wrapWithCData($user->getPwd())."\n"; echo " ".wrapWithCData($user->getEmail())."\n"; From f28d8755ef0b37ffb35d7bb4743207045839af1f Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 27 Apr 2026 08:41:17 +0200 Subject: [PATCH 3/3] add changes for 5.1.47 --- CHANGELOG | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG b/CHANGELOG index c75e831c9..9d9014b78 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -7,6 +7,7 @@ - check for valid referer uri when logging in - max. number of files in drop folder list can be configured - files in drop folder list are sorted by date (descending) +- back port basic authentication from seeddms 6.0.x -------------------------------------------------------------------------------- Changes in version 5.1.46