Commit Graph

279 Commits

Author SHA1 Message Date
Uwe Steinmann
083e323721 take out creation of content from timeline
it will be added by the status log anyway
2015-09-22 09:24:06 +02:00
Uwe Steinmann
65133cb366 started new version 4.3.21 2015-09-22 07:55:28 +02:00
Uwe Steinmann
daa72a9ca3 user getCurrentTimestamp() and getCurrentDatetime() 2015-09-22 07:50:36 +02:00
Uwe Steinmann
4ffa4399a2 add getCurrentDatetime() and getCurrentTimestamp()
getCurrentTimestamp() used return the sql statement for a datetime
2015-09-22 07:48:49 +02:00
Uwe Steinmann
8295cde1e7 add getCurrentTimestamp() to database driver
will return datetime('now', 'localtime') for sqlite because otherwise
it will return GMT
2015-09-21 18:08:05 +02:00
Uwe Steinmann
c385d86a60 add timeline over all documents 2015-09-21 16:46:17 +02:00
Uwe Steinmann
419af9880a initial version of getTimeline() 2015-09-21 12:42:58 +02:00
Uwe Steinmann
753733d153 set type and params in list of timeline actions 2015-09-18 07:54:08 +02:00
Uwe Steinmann
b55627f213 add initial support for timeline of recent changes 2015-09-16 21:19:46 +02:00
Uwe Steinmann
0a4e2861ce fix sql statements when searching fro attributes (Closes #227) 2015-08-31 07:58:09 +02:00
Uwe Steinmann
7ae79bd09d new version 4.3.20 2015-08-19 08:30:51 +02:00
Uwe Steinmann
951a261030 new version 4.3.20 2015-08-19 08:22:07 +02:00
Uwe Steinmann
123cccc72a getAccessMode() takes user/group rights in acls into account for guests 2015-08-19 08:21:15 +02:00
Uwe Steinmann
150e5445df add method setDate() 2015-08-04 07:39:14 +02:00
Uwe Steinmann
bc1eecc08c add methods to rewrite approval and review log 2015-08-04 07:38:45 +02:00
Uwe Steinmann
1200460cee add parameter $format to checkDate() 2015-08-04 07:37:48 +02:00
Uwe Steinmann
53bac225fb add SeedDMS_Core_Document::setDate() 2015-07-31 15:34:07 +02:00
Uwe Steinmann
01c30a0b8a add new method rewriteStatusLog(), add option parameter date to
setStatus()
2015-07-31 15:30:35 +02:00
Uwe Steinmann
3699adfaf5 add method checkDate() 2015-07-31 15:30:00 +02:00
Uwe Steinmann
6c016f236a new version 4.3.19 2015-06-26 16:46:41 +02:00
Uwe Steinmann
4fed0eacc9 add notes for 4.3.19 2015-06-19 15:27:55 +02:00
Uwe Steinmann
68d1816251 add optional parameter cleasAccessList()
will turn off removal of notification
2015-06-19 15:24:19 +02:00
Uwe Steinmann
28bfe5c1d7 add cleanNotifyList() which removes users/groups with read access
also adds an optional parameter $noclean to setDefaultAccess and
setInheritAccess which keeps the methods from cleaning up the
notifier list
2015-06-19 15:02:37 +02:00
Uwe Steinmann
c4bea610cb setDefaultAccess() propperly removes notifier without read access 2015-06-19 12:52:49 +02:00
Uwe Steinmann
92299df0ea setDefaultAccess() cleanly removes als notifiers without read access
This failed because the first call of removeNotify() has invalidated
the list of notifiers
2015-06-19 12:47:30 +02:00
Uwe Steinmann
2cdc9e3a1f fix some code which was intended for 5.0.x 2015-06-18 17:44:22 +02:00
Uwe Steinmann
4cbd1be175 subfolders and documents can be order by date and direction can be set 2015-06-18 13:49:52 +02:00
Uwe Steinmann
418da4cb52 rename approveLogId to approveLogID 2015-06-12 12:42:37 +02:00
Uwe Steinmann
5b40c64413 manage file uploaded with review or approval 2015-06-11 21:28:04 +02:00
Uwe Steinmann
d70a35a700 set release date 2015-06-09 11:26:26 +02:00
Uwe Steinmann
3cf724dea8 changes for 4.3.18 2015-06-02 10:32:49 +02:00
Uwe Steinmann
1a63dbb1de unset $this->_status in SeedDMS_Core_DocumentContent::setStatus() 2015-05-30 07:35:27 +02:00
Uwe Steinmann
259303fff1 add checking for duplicates 2015-05-13 17:38:20 +02:00
Uwe Steinmann
c2b2240238 pass on msg to setStatus() in verifyStatus() 2015-05-04 08:39:24 +02:00
Uwe Steinmann
bac6810c2b changes for 4.3.18 2015-05-04 08:29:51 +02:00
Uwe Steinmann
e47218eb32 add optional parameter $msg to
SeedDMS_Core_DocumentContent::verifyStatus()

set when method is called in removeWorkflow
2015-05-04 08:29:23 +02:00
Uwe Steinmann
4187b78053 new version 4.3.18 2015-05-04 06:26:01 +02:00
Uwe Steinmann
62be2422d0 fix error in managing reviewers 2015-04-20 18:35:05 +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
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
558be76dae new version 4.3.15 2015-03-12 11:06:23 +01:00
Uwe Steinmann
1bb931a629 new version 4.3.15 2015-02-05 09:36:01 +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
d9bd0329ce set release date 2015-01-29 18:23:37 +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
7abd3281c0 new version 4.3.14 2014-12-08 17:25:13 +01:00
Uwe Steinmann
cdeda7ecb1 add missing start of transaction 2014-12-08 16:57:26 +01:00
Uwe Steinmann
fcfb965a29 add note about new method SeedDMS_Core_Document::replaceContent() 2014-11-27 13:42:44 +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
97d3a8bce3 add note about changes to SeedDMS_Core_DMS::getDocumentCategories() 2014-11-24 19:52:16 +01:00
Uwe Steinmann
0eb9da705d getDocumentCategories() returns categories sorted by name (Bug #181) 2014-11-24 19:51:43 +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
1a35cdfb61 remove echo 2014-11-19 20:25:59 +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
22189ee722 new version 4.3.12 2014-11-17 07:14:11 +01:00
Uwe Steinmann
e3a95ceeb2 another fix in searching for multi value attributes 2014-11-14 20:01:55 +01:00
Uwe Steinmann
afb434a35f complete changelog 2014-11-13 09:09:43 +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
16d33ef342 fix release date 2014-11-11 18:18:07 +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
a7a6d8d8ac new version 4.3.10 2014-10-22 14:15:16 +02:00
Uwe Steinmann
f84b9c5f69 update release date 2014-07-30 08:57:05 +02:00
Uwe Steinmann
7ebaab55f1 fix counting folders in search() 2014-07-24 13:06:45 +02:00
Uwe Steinmann
5641b5b067 propperly initialize $totalDocs in search() 2014-07-24 07:52:43 +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
f5af648b37 set release date 2014-07-23 06:54:33 +02:00
Uwe Steinmann
7e91088cde preset $reqversion in addDocument() to 0 2014-07-11 08:36:46 +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
4de2bf318d new version 4.3.9 2014-05-22 07:50:36 +02:00
Uwe Steinmann
f31b2d1a40 new version 4.3.9 2014-05-22 07:49:24 +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
3e6f981c58 set current date 2014-04-09 09:46:49 +02:00
Uwe Steinmann
8bb07f80b7 new version 4.3.8 2014-04-09 09:46:16 +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
e1c0a0cc03 new version 4.3.8 2014-04-09 06:22:46 +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
e4411cadf1 new version 4.3.7 2014-03-21 09:04:23 +01:00
Uwe Steinmann
134915aa71 fix xml error 2014-03-20 07:48:07 +01:00
Uwe Steinmann
f919c4ae2f new version 4.3.6 2014-03-18 16:46:13 +01:00
Uwe Steinmann
fbb0d904fd new version 4.3.6 2014-03-18 16:35:56 +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
df86d3baab fix xml error 2014-02-21 09:04:30 +01:00
Uwe Steinmann
4d44f549e9 set version to 4.3.4 2014-02-21 09:04:15 +01:00
Uwe Steinmann
ac2119355b add changelog for 4.3.4 2014-02-21 07:56:46 +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
24b82edf40 new version 4.3.3 2014-01-28 08:17:52 +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
5d020c51f0 new version 4.3.2 2013-11-27 10:57:41 +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
c286754d79 prepare for new version 4.3.0 2013-09-05 07:43:07 +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
eb1423dabc add entry for turning on foreign key constraints in sqlite 2013-06-07 21:49:29 +02:00
Uwe Steinmann
115039718e turn on foreign key constraints for sqlite3 2013-06-07 21:48:51 +02:00
Uwe Steinmann
57c9a964cb add release notes 2013-06-07 11:51:47 +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
ff50f5e868 add notes for 4.3.0 2013-05-31 16:04:11 +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
dc35122b10 fix release time 2013-05-17 09:34:10 +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
17ea9bd88c new version 4.2.1 2013-04-30 08:02:28 +02:00
Uwe Steinmann
355900995d fix error when adding individual approver 2013-04-30 08:01:17 +02:00
Uwe Steinmann
7bb38d5551 update date and time 2013-04-22 10:30:24 +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
a8f3c7be59 Merge branch 'seeddms-4.1.4' into develop
Conflicts:
	install/install.php
2013-04-16 22:31:52 +02:00
Uwe Steinmann
5f6c60ed1d set date 2013-04-16 22:24:44 +02:00
Uwe Steinmann
b615a50a39 prepare for version 4.2.0 2013-04-16 22:14:38 +02:00
Uwe Steinmann
09701bae50 optimize countChildren() 2013-04-10 15:40:42 +02:00