Commit Graph

492 Commits

Author SHA1 Message Date
Uwe Steinmann
62be2422d0 fix error in managing reviewers 2015-04-20 18:35:05 +02:00
Uwe Steinmann
ba5185eec8 fix wrong sql statement in getInstance() 2015-04-16 14:11:14 +02:00
Uwe Steinmann
1717277684 set version to 5.0.0-pre3 2015-04-15 21:19:02 +02:00
Uwe Steinmann
b0bc6e5c01 use variable classnames instead of fixed names 2015-04-15 16:11:07 +02:00
Uwe Steinmann
444d3a8b01 add new method getAttribute() 2015-04-15 14:11:21 +02:00
Uwe Steinmann
7e8fb4451c add method getInstance() 2015-04-14 19:37:06 +02:00
Uwe Steinmann
3f35ff5671 add new attribute types url and email, add attribute validation 2015-04-14 19:36:10 +02:00
Uwe Steinmann
72c3207a75 Merge branch 'seeddms-4.3.17' into develop
Conflicts:
	Makefile
2015-03-30 16:40:24 +02:00
Uwe Steinmann
35043b1cda new version 4.3.17 2015-03-27 17:34:28 +01:00
Uwe Steinmann
57520f27cf clean workflow log if document version is deleted 2015-03-27 17:15:21 +01:00
Uwe Steinmann
cb81eb7db4 Merge branch 'seeddms-4.3.16' into develop
Conflicts:
	Makefile
	views/bootstrap/class.UsrMgr.php
2015-03-20 08:32:29 +01:00
Uwe Steinmann
358c239c3a new version 4.3.16 2015-03-20 08:16:05 +01:00
Uwe Steinmann
3f46cbad5b add method inList() 2015-03-17 17:45:12 +01:00
Uwe Steinmann
b3bfaf9ac5 Merge branch 'seeddms-4.3.15' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
2015-02-05 09:37:52 +01:00
Uwe Steinmann
b04aecd7f3 fix objects returned by SeedDMS_Core_DMS::getAllUsers()
they have lanuage und theme set again
2015-02-05 09:35:05 +01:00
Uwe Steinmann
5496aa2bcc do not use fixed class names for folders and documents anymore
use instead the classname stored in $classnames[]
2015-02-05 07:37:50 +01:00
Uwe Steinmann
5b8746a8a5 add methods getSearchFields() and getSearchTables() 2015-02-05 07:36:37 +01:00
Uwe Steinmann
1aa08781b2 Merge branch 'seeddms-4.3.14' into develop
Conflicts:
	Makefile
	SeedDMS_Core/Core/inc.ClassFolder.php
2015-01-29 18:22:19 +01:00
Uwe Steinmann
6516c7ff1a set version to 4.3.14 2015-01-29 18:20:03 +01:00
Uwe Steinmann
a4065698d6 fix checking for subfolder (Bug #194) 2015-01-29 18:15:04 +01:00
Uwe Steinmann
cdeda7ecb1 add missing start of transaction 2014-12-08 16:57:26 +01:00
Uwe Steinmann
8ace74ef85 do not used fixed class names for folders and documents anymore 2014-12-08 14:34:54 +01:00
Uwe Steinmann
ee2bb4ffd2 names of classes for folder, document objects can be set 2014-12-08 14:34:11 +01:00
Uwe Steinmann
5f7dd4d472 add methode getIntance(), place code to remove folder into its own
methode
2014-12-08 14:33:13 +01:00
Uwe Steinmann
bcee025d90 add method getInstance() 2014-12-08 14:32:47 +01:00
Uwe Steinmann
631066b697 Merge branch 'seeddms-4.3.13' into develop 2014-11-27 13:52:38 +01:00
Uwe Steinmann
d6565041cd add new methode replaceContent()
instead of adding a new version, this function replaces the content
file of a version
2014-11-27 13:40:58 +01:00
Uwe Steinmann
0eb9da705d getDocumentCategories() returns categories sorted by name (Bug #181) 2014-11-24 19:51:43 +01:00
Uwe Steinmann
8614412908 check if SeedDMS_Core_DMS::forceRename is set 2014-11-24 15:08:37 +01:00
Uwe Steinmann
17269c2979 add class variable enforceRename
if set, uploaded files will be move (not copied) into the document store
2014-11-24 15:07:46 +01:00
Uwe Steinmann
406b4a5a00 Merge branch 'seeddms-4.3.13' into develop
Conflicts:
	Makefile
2014-11-24 13:13:38 +01:00
Uwe Steinmann
5c60726508 new version 4.3.13 2014-11-21 11:56:51 +01:00
Uwe Steinmann
34cd44e35e more fixes for search by attributes 2014-11-21 11:35:49 +01:00
Uwe Steinmann
ed486aabb0 Merge branch 'seeddms-4.3.13' into develop 2014-11-19 20:26:18 +01:00
Uwe Steinmann
1a35cdfb61 remove echo 2014-11-19 20:25:59 +01:00
Uwe Steinmann
e9c3696466 Merge branch 'seeddms-4.3.13' into develop
Conflicts:
	Makefile
2014-11-19 17:04:56 +01:00
Uwe Steinmann
e5e3128478 fix searching for several attributes 2014-11-19 16:59:39 +01:00
Uwe Steinmann
68b968036f add more documentation 2014-11-19 07:44:54 +01:00
Uwe Steinmann
1ddc9ea337 better documentation for getFolderPathPlain() 2014-11-17 11:27:19 +01:00
Uwe Steinmann
2fb95a1d4a add some more documentation 2014-11-17 10:45:07 +01:00
Uwe Steinmann
e3a95ceeb2 another fix in searching for multi value attributes 2014-11-14 20:01:55 +01:00
Uwe Steinmann
15c5392ed8 Merge branch 'seeddms-4.3.11' into develop
Conflicts:
	Makefile
	views/bootstrap/class.Search.php
	views/bootstrap/class.ViewFolder.php
2014-11-13 09:21:08 +01:00
Uwe Steinmann
86ba6aa6a6 add new method getValueAsArray()
helpful for multi value attributes
2014-11-13 08:20:45 +01:00
Uwe Steinmann
9f758667c4 fix saving of multi value attributes 2014-11-13 07:53:51 +01:00
Uwe Steinmann
cd1bff73be fix searching for multi value attributes 2014-11-13 07:53:29 +01:00
Uwe Steinmann
f76cb1afc1 new version 4.3.11 2014-11-07 08:42:55 +01:00
Uwe Steinmann
55def11f01 fix saving of multi value attributes 2014-11-04 16:54:56 +01:00
Uwe Steinmann
e364c3dd92 Merge branch 'seeddms-4.3.10' into develop
Conflicts:
	Makefile
2014-10-22 14:26:52 +02:00
Uwe Steinmann
a7a6d8d8ac new version 4.3.10 2014-10-22 14:15:16 +02:00
Uwe Steinmann
9ef3b6aa37 Merge branch 'seeddms-4.3.9' into develop 2014-07-24 13:20:23 +02:00
Uwe Steinmann
7ebaab55f1 fix counting folders in search() 2014-07-24 13:06:45 +02:00
Uwe Steinmann
31da6d4f5f Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
2014-07-24 07:58:32 +02:00
Uwe Steinmann
5641b5b067 propperly initialize $totalDocs in search() 2014-07-24 07:52:43 +02:00
Uwe Steinmann
37f2705e6b fix syntax error 2014-07-23 20:28:10 +02:00
Uwe Steinmann
6443b9aa8e Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
	views/bootstrap/class.Search.php
2014-07-23 20:26:37 +02:00
Uwe Steinmann
b6f60e8c7f reoganize database search form, don't show results without a search criteria 2014-07-23 20:23:07 +02:00
Uwe Steinmann
0acc1fad4d fix searching for folders by attributes
do not search documents if not at least one search criteria is given
2014-07-23 20:11:36 +02:00
Uwe Steinmann
e2974f2054 Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	views/bootstrap/class.ViewFolder.php
2014-07-11 12:49:21 +02:00
Uwe Steinmann
7e91088cde preset $reqversion in addDocument() to 0 2014-07-11 08:36:46 +02:00
Uwe Steinmann
579946d455 Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	views/bootstrap/class.Bootstrap.php
2014-07-03 12:07:27 +02:00
Uwe Steinmann
b1d8a77b2a extend search() by searching in attributes 2014-06-30 07:41:28 +02:00
Uwe Steinmann
4c267fdb0c add new method getObjects()
it returns a list of objects (folders/documents) matching a given
attribute value
2014-06-30 07:40:18 +02:00
Uwe Steinmann
1fcc786d25 Merge branch 'seeddms-4.3.9' into develop
Conflicts:
	SeedDMS_Core/Core/inc.ClassDMS.php
	SeedDMS_Core/Core/inc.ClassUser.php
	op/op.AddDocument.php
	styles/bootstrap/application.css
	views/bootstrap/class.UsrMgr.php
2014-05-22 08:21:22 +02:00
Uwe Steinmann
4de2bf318d new version 4.3.9 2014-05-22 07:50:36 +02:00
Uwe Steinmann
e01ec020ab add example on how to activate strict sql mode for mysql 2014-05-22 07:47:40 +02:00
Uwe Steinmann
a20043ff10 set pwdExperiation to a valid date before saving in database 2014-05-16 11:29:25 +02:00
Uwe Steinmann
1a72e2bc4e set pwdexpiration to '0000-00-00 00:00:00' if not set (addUser()) (Bug #151) 2014-05-16 11:25:27 +02:00
Uwe Steinmann
35d1df6cdc order keywords by name 2014-05-16 09:21:18 +02:00
Uwe Steinmann
71fb0326e1 Merge branch 'seeddms-4.3.8' into develop
Conflicts:
	Makefile
2014-04-09 09:55:38 +02:00
Uwe Steinmann
8bb07f80b7 new version 4.3.8 2014-04-09 09:46:16 +02:00
Uwe Steinmann
89ea53caf4 Merge branch 'seeddms-4.3.8' into develop 2014-04-09 09:26:22 +02:00
Uwe Steinmann
5e1564aa83 simplified code getStatisticalData() 2014-04-09 09:25:27 +02:00
Uwe Steinmann
1687ba233f fix sql statements in getStatisticalData()
makes them work for sqlite and mysql
2014-04-09 09:24:01 +02:00
Uwe Steinmann
e807628eda add optional parameter $format to getDateExtract() 2014-04-09 09:23:33 +02:00
Uwe Steinmann
c180f17f98 Merge branch 'seeddms-4.3.8' into develop
Conflicts:
	styles/bootstrap/application.js
	views/bootstrap/class.Bootstrap.php
2014-04-09 06:26:32 +02:00
Uwe Steinmann
9da9b10b88 make sql statement work for mysql and sqlite 2014-04-08 15:28:13 +02:00
Uwe Steinmann
151c3dd8f2 add new method getDateExtract() 2014-04-08 15:27:51 +02:00
Uwe Steinmann
76b765c0fa add more statistics in getStatisticData() 2014-04-08 09:15:59 +02:00
Uwe Steinmann
9154038211 add type 'docsperstatus' to getStatisticalData() 2014-04-02 08:21:10 +02:00
Uwe Steinmann
9cb368fcab new method getStatisticalData() 2014-04-01 21:03:22 +02:00
Uwe Steinmann
12e36a3d13 add homefolder to user 2014-03-26 17:29:56 +01:00
Uwe Steinmann
856920a20a add management of homefolder 2014-03-26 08:16:53 +01:00
Uwe Steinmann
e4411cadf1 new version 4.3.7 2014-03-21 09:04:23 +01:00
Uwe Steinmann
f919c4ae2f new version 4.3.6 2014-03-18 16:46:13 +01:00
Uwe Steinmann
6fa6d00bb5 add some mor documentation 2014-03-18 07:06:08 +01:00
Uwe Steinmann
59663b4bf5 add better document link handling
add new method getReverseDocumentLinks() which returns links with a
given target document. Add optional parameters $publiconly and $user
for filtering links when executing the sql statement
2014-03-18 07:03:40 +01:00
Uwe Steinmann
6f48eb9ad0 new version 4.3.5 2014-03-04 19:45:16 +01:00
Uwe Steinmann
4d44f549e9 set version to 4.3.4 2014-02-21 09:04:15 +01:00
Uwe Steinmann
5c07f7545b fix handling of multivalue attributes 2014-02-20 21:03:03 +01:00
Uwe Steinmann
92554f64aa new version 4.3.3 2014-02-01 16:28:54 +01:00
Uwe Steinmann
b5ceaaecaf documents and folders will be unsorted if $orderby isn't passed to getDocuments() and getSubFolders() 2014-02-01 15:21:32 +01:00
Uwe Steinmann
72e01f99e4 make all functions static 2014-01-28 08:11:57 +01:00
Uwe Steinmann
b07869a3bb check for database port behind hostname 2014-01-28 08:10:47 +01:00
Uwe Steinmann
51d775c158 add methods checkFolders() and checkDocuments() 2013-11-27 09:43:33 +01:00
Uwe Steinmann
14bae08bfc add method isSubFolder(), do not set parent if a child of the current folder 2013-11-25 22:10:17 +01:00
Uwe Steinmann
633ae6e7e6 add some more docu, turn of caching in getApprovalStatus()
see FIXME comment
2013-10-06 08:09:37 +02:00
Uwe Steinmann
0c1c829cca fix description of some methods (no code change) 2013-09-27 08:23:11 +02:00
Uwe Steinmann
9b021e6e20 new version 4.3.1 2013-09-20 21:36:10 +02:00
Uwe Steinmann
44164ebf40 getPath() works propperly even if root id is not 1
getPath doesn't return any folders above the root id even if they
exist
2013-09-05 07:33:17 +02:00
Uwe Steinmann
a6972545fd set number of folders found in search() to 0
This was set to late and in case the ѕearch for folders was not done
a php warning was issued
2013-06-14 16:03:49 +02:00
Uwe Steinmann
115039718e turn on foreign key constraints for sqlite3 2013-06-07 21:48:51 +02:00
Uwe Steinmann
45f0771b3f passing an array of user to search() is supported
till now it was only possible to filter the search by a single user
2013-06-07 10:09:32 +02:00
Uwe Steinmann
ac8dfd477a addDocument() does not use comment for version
formely if a version comment wasn't given the document comment
was taken instead. This has been removed.
2013-06-06 14:03:32 +02:00
Uwe Steinmann
39d7eb045e add method getDocumentContent() 2013-05-29 20:05:15 +02:00
Uwe Steinmann
e961b189f2 add method getStatitics() 2013-05-29 20:04:45 +02:00
Uwe Steinmann
dc91417bcc remove some echo statements 2013-05-28 17:32:16 +02:00
Uwe Steinmann
216eee25b1 add regex for checking attribute values 2013-05-28 09:01:04 +02:00
Uwe Steinmann
8c09b7fcb1 new versіon 4.3.0 2013-05-22 20:29:11 +02:00
Uwe Steinmann
9f945b2714 Merge branch 'seeddms-4.2.2' into develop
Conflicts:
	CHANGELOG
	views/bootstrap/class.ViewDocument.php
2013-05-17 09:42:33 +02:00
Uwe Steinmann
60ea8fccb4 new version 4.2.2 2013-05-17 09:31:52 +02:00
Uwe Steinmann
36942e879e Merge branch 'seeddms-4.2.2' into develop 2013-05-07 20:20:19 +02:00
Uwe Steinmann
8cac883395 approver/reviewer can be set, even if admin
The old code got a list of all users with read rights on the document
and then checked if the users to be added as a reviewer/approver is
in this list. This did not work for the admin because the list
only includes regular users.
2013-05-07 20:16:09 +02:00
Uwe Steinmann
9f8b928e1d Merge branch 'seeddms-4.2.1' into develop 2013-05-02 07:35:51 +02:00
Uwe Steinmann
baf4b9a979 new version 4.2.1 2013-05-02 07:19:19 +02:00
Uwe Steinmann
982d088339 status of latest document version is set to expired even if already released 2013-04-30 17:45:28 +02:00
Uwe Steinmann
9a9c57211e set typo in comment 2013-04-30 17:42:07 +02:00
Uwe Steinmann
355900995d fix error when adding individual approver 2013-04-30 08:01:17 +02:00
Uwe Steinmann
567b9a22bd new version 4.2.0 2013-04-19 14:40:03 +02:00
Uwe Steinmann
93e0cb3feb add method needsWorkflowAction($user)
This method checks if the document content needs a action from the
given user to trigger a transition
2013-04-18 13:36:11 +02:00
Uwe Steinmann
09701bae50 optimize countChildren() 2013-04-10 15:40:42 +02:00
Uwe Steinmann
db53b06b18 add documtation for getDocumentLink() and getDocumentLinks() 2013-04-10 15:39:50 +02:00
Uwe Steinmann
21437e5a90 move filterDocumentLinks() from inc.Util.php to Core/inc.ClassDMS.php 2013-04-10 15:39:05 +02:00
Uwe Steinmann
6277eb2f6c Merge branch 'seeddms-4.1.3' into develop
Conflicts:
	Makefile
	inc/inc.Version.php
2013-04-08 16:50:12 +02:00
Uwe Steinmann
be7e8f9a93 new version 4.1.3 2013-04-08 16:48:49 +02:00
Uwe Steinmann
26798d7676 Merge branch 'seeddms-4.1.2' into develop
Conflicts:
	Makefile
	inc/inc.Version.php
	install/install.php
2013-04-08 08:17:46 +02:00
Uwe Steinmann
72200c5f96 prepare for new version 4.1.2 2013-04-08 07:58:28 +02:00
Uwe Steinmann
382b9a4568 set propper folderList of subfolders after setting a new parent 2013-04-08 07:50:46 +02:00
Uwe Steinmann
afaa201a96 Merge branch 'seeddms-4.1.1' into develop
Conflicts:
	Makefile
	SeedDMS_Core/package.xml
	inc/inc.Version.php
	install/install.php
2013-04-05 16:57:56 +02:00
Uwe Steinmann
0ac6ff9a91 prepare for version 4.1.1 2013-04-05 16:54:48 +02:00
Uwe Steinmann
639355b1cf add method countChildren() 2013-04-05 13:07:50 +02:00
Uwe Steinmann
452330709b replace NOW() by CURRENT_TIMESTAMP in sql statements 2013-03-26 21:06:20 +01:00
Uwe Steinmann
619a3208af getWorkflow() returns the last workflow, runSubWorkflow() sets date in db 2013-03-15 17:59:23 +01:00
Uwe Steinmann
ec02e939fb initialize $searchFields if mode = 0x2 2013-03-13 18:45:03 +01:00
Uwe Steinmann
1affdaff71 fix typo in variable name 2013-03-12 08:47:57 +01:00
Uwe Steinmann
17f602fc8b getWorkflowLog() returns log entries even if workflow has ended 2013-03-08 14:20:27 +01:00
Uwe Steinmann
e138ae5d72 new version 4.1.0 2013-03-07 12:19:51 +01:00
Uwe Steinmann
c9a18c2538 check if notification exists before removing them 2013-03-06 12:53:00 +01:00
Uwe Steinmann
a55f63c3df remove deprecated function setEnableAdminRevApp() 2013-02-27 20:38:35 +01:00
Uwe Steinmann
1b8aabdb06 added parameter to getReadAccessList()
the former settings value enableAdminRevApp will now be passed
to the function getReadAccessList(). A new parameter for adding
the owner was added too.
2013-02-27 09:06:45 +01:00
Uwe Steinmann
0a1190f338 initialize totalFolders earlier 2013-02-26 15:00:59 +01:00
Uwe Steinmann
0caec4d9be TableList() returns now a list for mysql 2013-02-14 14:35:44 +01:00
Uwe Steinmann
73c6ff9427 major name change from letodms to seeddms 2013-02-14 12:10:53 +01:00