SeedDMS_Core pear.php.net Document management system SeedDMS is a web based document management system (DMS). This is the core of it, providing the basic functionality to create/update and delete folders and documents. It also contains a user and group managment Uwe Steinmann steinm uwe@steinmann.cx yes 2018-11-23 5.1.10 5.1.10 stable stable GPL License fix php warning if workflow state doesn' have next transition add method SeedDMS_Core_DatabaseAccess::setLogFp() 4.3.0 1.5.4 3.0.0 3.0.0 stable stable 2010-04-27 GPL License Initial release 3.2.0 3.2.0 stable stable 2011-07-23 GPL License New release 2012-02-08 3.3.0 3.3.0 beta stable GPL License - added methods to find and repair errors in document and folder records - removed sendmail parameter from some methods in LetoDMS_Core_Document - do not use some of the temporay tables anymore - SetFetchMode(ADODB_FETCH_ASSOC) in LetoDMS_Core_DatabaseAccess::connect() 2012-03-21 3.3.1 3.3.1 beta stable GPL License - new release 2012-03-22 3.3.2 3.3.2 beta stable GPL License - fixed bug in LetoDMS_Core_Document::getDir() 2012-03-28 3.3.3 3.3.3 beta stable GPL License - fixed bug in LetoDMS_Core_Document::getPath() 2012-04-11 3.3.4 3.3.4 beta stable GPL License - fixed bug in LetoDMS_Core_DocumentFile::getPath() 2012-04-30 3.3.5 3.3.5 beta stable GPL License - minor corrections 2012-07-16 3.3.6 3.3.6 beta stable GPL License - no changes, just keep same version as letodms application 2012-08-25 3.3.7 3.3.7 beta stable GPL License - no changes, just keep same version as letodms application 2012-09-16 3.3.8 3.3.8 beta stable GPL License - more sql injection protection in LetoDMS_Core_User 2012-09-19 3.3.9 3.3.9 beta stable GPL License - version update to be in sync with letodms application 2012-12-13 3.4.0 3.4.0 beta stable GPL License - added PDO database driver, several sql changes for better compatiblity - fixed bug when adding a new document category - make sure the database remains consistent even in case of errors 2013-01-24 4.0.0pre1 4.0.0 beta stable GPL License - added database transactions - new workflow - replaced old var declaration 2013-02-06 4.0.0pre2 4.0.0 beta stable GPL License - lots of bug fixes - replaced more of old var declaration - more code documentation 2013-02-08 4.0.0pre3 4.0.0 beta stable GPL License - minor bug fixes 2013-02-11 4.0.0pre4 4.0.0 beta stable GPL License - calculate checksum for document versions - some bug fixes - some more documentation - added new methods SeedDMS_Core_Document::getReadUserList() and SeedDMS_Core_Folder::getReadUserList() which replaces getApproversList() - fixed sql statement in getReadUserList() for sqlite3 2013-02-14 4.0.0pre5 4.0.0 beta stable GPL License - changed name from letodms to seeddms - fixed SeedDMS_Database::TableList() 2013-02-20 4.0.0RC1 4.0.0 beta stable GPL License - minor bugfixes 2013-02-26 4.0.0 4.0.0 beta stable GPL License - minor bugfixes 2013-03-28 4.1.0 4.1.0 beta stable GPL License - minor bugfixes 2013-04-05 4.1.1 4.1.1 beta stable GPL License - stay in sync with seeddms application 2013-04-05 4.1.2 4.1.0 stable stable GPL License - set propper folderList of sub folders after moving a folder 2013-04-08 4.1.3 4.1.0 stable stable GPL License - stay in sync with seeddms application 2013-04-22 4.2.0 4.2.0 stable stable GPL License - fixed bug in SeedDMS_Core_DocumentContent::addIndApp() 2013-04-30 4.2.1 4.2.1 stable stable GPL License - fixed bug in SeedDMS_Core_DocumentContent::addIndApp() 2013-05-17 4.2.2 4.2.1 stable stable GPL License - admins can be added as reviewer/approver again 2013-09-05 4.3.0 4.3.0 stable stable GPL License - various small corrections - comment of version is no longer taken from document if version comment is empty - passing an array of users to SeedDMЅ_Core_DMS::search() instead of a single user ist now allowed - turn on foreign key constraints for sqlite3 - SeedDMЅ_Core_Folder::getPath() can handle a subfolder treated as a root folder 2013-11-27 4.3.2 4.3.2 stable stable GPL License - new method SeedDMS_Core_Folder::isSubFolder() - check for subFolder in SeedDMS_Core_Folder::setParent() - new methods SeedDMS_Core_DMS::checkFolders() and SeedDMS_Core_DMS::checkDocuments() 2014-02-01 4.3.3 4.3.3 stable stable GPL License - SeedDMS_Folder::getDocuments() and SeedDMS_Folder::getSubFolders() do not do any sorting if $orderby is not set. - database hostname can have port seperated by ':' - make all functions in SeedDMS_Core_File static (fixes problem with php 5.5.x) 2014-02-01 4.3.4 4.3.4 stable stable GPL License - fix handling of multivalue attributes 2014-03-04 4.3.5 4.3.5 stable stable GPL License no changes 2014-03-18 4.3.6 4.3.6 stable stable GPL License - add optional parameters $publiconly=false and $user=null to SeedDMS_Core_Document::getDocumentLinks() - add new method SeedDMS_Core_Document::getReverseDocumentLinks() 2014-03-21 4.3.7 4.3.7 stable stable GPL License no changes 2014-04-09 4.3.8 4.3.8 stable stable GPL License - new method SeedDMS_Core_DMS::getStatisticalData() 2014-07-30 4.3.9 4.3.9 stable stable GPL License - SeedDMS_Core_KeywordCategory::getKeywordLists() sorts keywords aphabetically - SeedDMS_Core_DMS::addUser() doesn't throw an error if sql_mode is set to STRICT_TRANS_TABLES and pwdexpiration is not set to a valid date. 2014-10-22 4.3.10 4.3.10 stable stable GPL License new release 2014-11-13 4.3.11 4.3.11 stable stable GPL License - fixed saving multivalue attributes - add method SeedDMS_Core_Attribute::getValueAsArray() 2014-11-17 4.3.12 4.3.12 stable stable GPL License - fix searching folders with multivalue attributes 2014-11-27 4.3.13 4.3.13 stable stable GPL License - fix searching for attributes - add some more documentation - SeedDMS_Core_DMS::getDocumentCategories() returns categories sorted by name (Bug #181) - new methode SeedDMS_Core_Document::replaceContent() which replaces the content of a version. 4.3.14 4.3.14 stable stable GPL License - add missing start transaction in SeedDMD_Core_Folder::remove() - SeedDMD_Core_Folder::isSubFolder() doesn't compare object instances anymore (Bug #194) 2015-02-12 4.3.15 4.3.15 stable stable GPL License users returned by SeedDMS_Core_DMS::getAllUsers() have language and theme set again 2015-03-20 4.3.16 4.3.16 stable stable GPL License no changes 2015-03-27 4.3.17 4.3.17 stable stable GPL License clean workflow log when a document version was deleted 2015-06-09 4.3.18 4.3.18 stable stable GPL License - add optional paramter $msg to SeedDMS_Core_DocumentContent::verifyStatus() - add method SeedDMS_Core_DMS::getDuplicateDocumentContent() 2015-06-26 4.3.19 4.3.19 stable stable GPL License - add optional paramter $noclean to clearAccessList(), setDefaultAccess(), setInheritAccess() - clearAccessList() will clean up the notifier list - new method cleanNotifyList() 2015-06-26 4.3.20 4.3.20 stable stable GPL License - add method SeedDMS_Core_DMS::checkDate() - add method SeedDMS_Core_Document::setDate() - add method SeedDMS_Core_Folder::setDate() - date can be passed to SeedDMS_Core_DocumentContent::setStatus() - add method SeedDMS_Core_DocumentContent::rewriteStatusLog() - add method SeedDMS_Core_DocumentContent::rewriteReviewLog() - add method SeedDMS_Core_DocumentContent::rewriteApprovalLog() - access rights for guest are also taken into account if set in an acl. Previously guest could gain read rights even if the access was probibited by a group or user right 2015-09-28 4.3.21 4.3.21 stable stable GPL License - add method SeedDMS_Core_Database::getCurrentTimestamp() - add method SeedDMS_Core_Database::getCurrentDatetime() - user getCurrentTimestamp() and getCurrentDatetime() whenever possible 2015-11-09 4.3.22 4.3.22 stable stable GPL License - fix sql statement to reset password - pass some more information for timeline 2016-01-21 4.3.23 4.3.23 stable stable GPL License - new method SeedDMS_Core_DMS::createDump() - minor improvements int SeedDMS_Core_Document::getReadAccessList() 2016-01-22 4.3.24 4.3.24 stable stable GPL License - make sure boolean attribute is saved as 0/1 - add SeedDMS_Core_User::[g|s]etMandatoryWorkflows() - add SeedDMS_Core_User::getNotifications() - add SeedDMS_Core_Group::getNotifications() - SeedDMS_Core_DMS::getNotificationsByGroup() and SeedDMS_Core_DMS::getNotificationsByUser() are deprecated - SeedDMS_Core_DocumentCategory::getDocumentsByCategory() now returns the documents - add SeedDMS_Core_Group::getWorkflowStatus() - SeedDMS_Core_User::getDocumentsLocked() sets locking user propperly 2016-01-22 5.0.0 5.0.0 stable stable GPL License - classes can be overloaded - clean workflow log when a document version was deleted 2016-01-21 4.3.24 4.3.24 stable stable GPL License - make sure boolean attribute is saved as 0/1 - add SeedDMS_Core_User::[g|s]etMandatoryWorkflows() - add SeedDMS_Core_User::getNotifications() - add SeedDMS_Core_Group::getNotifications() - SeedDMS_Core_DMS::getNotificationsByGroup() and SeedDMS_Core_DMS::getNotificationsByUser() are deprecated - SeedDMS_Core_DocumentCategory::getDocumentsByCategory() now returns the documents - add SeedDMS_Core_Group::getWorkflowStatus() - SeedDMS_Core_User::getDocumentsLocked() sets locking user propperly 2016-03-08 4.3.25 4.3.25 stable stable GPL License - rename SeedDMS_Core_Group::getNotificationsByGroup() to getNotifications() - use __construct() for all constructors - fix setting multi value attributes for versions 2016-04-04 4.3.26 4.3.26 stable stable GPL License - add more callbacks 2016-04-26 4.3.27 4.3.27 stable stable GPL License - callbacks can have more then one user function - fix some sql statements, because they didn't work with mysql 5.7.5 anymore 2016-08-24 4.3.28 4.3.28 stable stable GPL License - SeedDMЅ_Core_DMS::search() searches also comment of document version 2016-09-06 4.3.29 4.3.29 stable stable GPL License - SeedDMЅ_Core_Object::getAttributes() orders attributes by name of attribute definition - SeedDMЅ_Core_Workflow::addTransition() force reload of transition list after adding a - SeedDMЅ_Core_Document::rewrite[Review|Approval]Log() will also copy file if it exists - add method SeedDMЅ_Core_Document::rewriteWorkflowLog() 2016-10-07 4.3.30 4.3.30 stable stable GPL License - new method SeedDMЅ_Core_AttributeDefinition::getValueSetSeparator() - trim each value of a value set before saving the complete value set as a string 2016-11-02 4.3.31 4.3.31 stable stable GPL License - new method SeedDMЅ_Core_WorkflowAction::getTransitions() - new method SeedDMЅ_Core_WorkflowState::getTransitions() - new method SeedDMЅ_Core_AttributeDefinition::parseValue() - add check for cycles in workflow SeedDMS_Core_Workflow::checkForCycles() 2017-01-12 4.3.32 4.3.32 stable stable GPL License - order groups by name returned by getReadAccessList() - add optional parameter to SeedDMS_Core_DMS::filterDocumentLinks() - SeedDMS_Core_DMS::search() can search for document/folder id 2017-02-22 4.3.33 4.3.33 stable stable GPL License - SeedDMЅ_Core_DMS::getTimeline() no longer returns duplicate documents - SeedDMЅ_Core_Document::addContent() sets workflow after status was set - SeedDMЅ_Core_Keyword::setOwner() fix sql statement - SeedDMЅ_Core_User::setFullname() minor fix in sql statement 2017-02-28 4.3.34 4.3.34 stable stable GPL License SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document 2017-07-11 4.3.35 4.3.35 stable stable GPL License do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set 2017-03-22 4.3.36 4.3.36 stable stable GPL License - fix sql statement for creating temp. tables (sqlite) 2018-02-14 4.3.37 4.3.37 stable stable GPL License - SeedDMS_Core_DMS::search() finds documents without a status log 2016-01-22 5.0.1 5.0.1 stable stable GPL License - all changes from 4.3.24 merged 2016-04-26 5.0.2 5.0.2 stable stable GPL License - all changes from 4.3.25 merged 2016-04-04 5.0.3 5.0.3 stable stable GPL License - use classname from SeedDMS_Core_DMS::_classnames for SeedDMS_Core_DocumentContent - all changes from 4.3.26 merged 2016-05-03 5.0.4 5.0.4 stable stable GPL License - all changes from 4.3.27 merged 2016-08-09 5.0.5 5.0.5 stable stable GPL License - all changes from 4.3.28 merged 2016-09-06 5.0.6 5.0.6 stable stable GPL License - all changes from 4.3.29 merged 2016-11-02 5.0.7 5.0.7 stable stable GPL License - all changes from 4.3.30 merged - better attribute value checking 2016-11-02 5.0.8 5.0.8 stable stable GPL License - all changes from 4.3.31 merged 2016-11-02 5.0.9 5.0.9 stable stable GPL License - all changes from 4.3.32 merged 2017-02-20 5.0.10 5.0.10 stable stable GPL License - all changes from 4.3.33 merged 2017-02-28 5.0.11 5.0.11 stable stable GPL License - all changes from 4.3.34 merged 2017-03-23 5.0.12 5.0.12 stable stable GPL License all sql statements can be logged to a file do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set 2017-07-13 5.0.13 5.0.13 stable stable GPL License - all changes from 4.3.36 merged 2017-02-20 5.1.0 5.1.0 stable stable GPL License - added postgres support 2017-02-20 5.1.1 5.1.1 stable stable GPL License - all changes from 5.0.11 merged 2017-03-23 5.1.2 5.1.2 stable stable GPL License SeedDMS_Core_DMS::filterDocumentFiles() returns also documents which are not public if the owner tries to access them Check return value of onPreRemove[Document|Folder], return from calling method if bool Add SeedDMS_Core_DMS::getDocumentList() Limit number of duplicate files to 1000 Add hook on(Pre|Post)RemoveContent Add hook onAttributeValidate 2017-08-23 5.1.3 5.1.3 stable stable GPL License - SeedDMS_Core_Document::getNotifyList() and SeedDMS_Core_Folder::getNotifyList() returns just users which are not disabled - add new methods removeFromProcesses(), getWorkflowsInvolved(), getKeywordCategories() to SeedDMS_Core_User - add methods isMandatoryReviewerOf() and isMandatoryApproverOf() - add methods transferDocumentsFolders() and transferEvents() - add method SeedDMS_Core_DMS::getDocumentByOriginalFilename() 2017-09-05 5.1.4 5.1.4 stable stable GPL License - add virtual access mode for document links and attachments plus callbacks to check access mode in a hook - add new method SeedDMS_Core_DMS::getDocumentsExpired() - all changes from 5.0.14 merged 2017-11-07 5.1.5 5.1.5 stable stable GPL License - use views instead of temp. tables - add list of expired documents in SeedDMS_Core_DMS::getDocumentList() - add methods to set comment, name, public, version of document files - add method SeedDMS_Core_Document::transferToUser() - SeedDMS_Core_Document::addDocumentFile() returns object of file - add SeedDMS_Core_DocumentFile::setDate() - remove SeedDMS_Core_DocumentCategory::addCategory() and getCategories() - add optional parameters $limit and $offset to SeedDMS_Core_Folder::getDocuments() and SeedDMS_Core_Folder::getSubFolders() - getInstance() returns now null instead of false if the object was not found in the db - add new methods SeedDMS_Core_Document::addCategories() and SeedDMS_Core_Document::removeCategories() 2018-02-14 5.1.6 5.1.6 stable stable GPL License add SeedDMS_Core_Folder::getDocumentsMinMax() add lots of DocBlocks from merge request #8 add SeedDMS_Core_AttributeDefinition::removeValue() 2018-04-05 5.1.7 5.1.7 stable stable GPL License just bump version 2018-07-02 5.1.8 5.1.8 stable stable GPL License SeedDMS_Core_DMS::search() returns false in case of an error do not use views in DBAccessPDO by default anymore, use temp. tables SeedDMS_Core_Document::getNotifyList() has new parameter to include disabled user in list fix possible sql injection in SeedDMS_Core_User 2018-11-13 5.1.9 5.1.9 stable stable GPL License context can be passed to getAccessMode() call hook in SeedDMS_Core_Folder::getAccessMode() new optional parameter $listguest for SeedDMS_Core_Document::getReadAccessList() remove deprecated methods SeedDMS_Core_Document::convert(), SeedDMS_Core_Document::wasConverted(), SeedDMS_Core_Document::viewOnline(), SeedDMS_Core_Document::getUrl()