Commit Graph

1514 Commits

Author SHA1 Message Date
Uwe Steinmann
23b994ac23 add new Iterator class
not used yet
2020-02-06 11:34:08 +01:00
Uwe Steinmann
58412c8179 use getDMS() instead of access varialbe _dms in folder or document 2020-01-24 08:53:04 +01:00
Uwe Steinmann
cfdd951369 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-13 09:45:05 +01:00
Uwe Steinmann
699152d95b use getDMS() instead of accessing _dms 2020-01-10 14:48:14 +01:00
Uwe Steinmann
7b1835774d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-15 08:03:36 +01:00
Uwe Steinmann
61f1ddbd08 minimize number of sql statements
add new method getInstanceByData(), get folders and documents from
first sql statement which fetches the subfolders and documents of
a folder instead of fetching each single document and folder.
2019-12-13 09:03:44 +01:00
Uwe Steinmann
769b9e5beb add changes for 6.0.7 2019-11-28 14:07:19 +01:00
Uwe Steinmann
1593ca5f34 removeFromProcess() can transfer to new user for all processes 2019-11-28 13:48:50 +01:00
Uwe Steinmann
3011f96372 add optional parameter $newuser to removeFromProcesses()
if set, the process will be transfered to a new user
2019-11-28 09:16:23 +01:00
Uwe Steinmann
2ec6534079 fix documentation for rewriteRevisionLog() 2019-11-28 09:15:26 +01:00
Uwe Steinmann
270770782f verifyStatus() handles status change when S_EXPIRED is set 2019-11-20 13:11:24 +01:00
Uwe Steinmann
65212329a7 fix invaled xml 2019-10-28 08:23:27 +01:00
Uwe Steinmann
95aede5c2b fix SeedDMS_Core_DocumentContent::verifyЅtatus()
the method can now handle revisions with status==-1. Status will not
change if status is already S_NEEDS_CORRECTION
2019-10-18 07:19:51 +02:00
Uwe Steinmann
065bf4eb26 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:41:17 +02:00
Uwe Steinmann
c06ec0de2e more documentation in SeedDMS_Core_DocumentContent::verifyStatus() 2019-10-17 07:40:01 +02:00
Uwe Steinmann
a870602324 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:22:16 +02:00
Uwe Steinmann
d1a8546f1f fix comment 2019-10-17 07:18:51 +02:00
Uwe Steinmann
f2e7063a56 better documentation of SeedDMS_Core_DocumentContent::verifyStatus 2019-10-17 07:09:08 +02:00
Uwe Steinmann
ae4a65e8bc discard fileType if just '.' 2019-10-01 14:05:29 +02:00
Uwe Steinmann
9bc5b73771 do not access SeedDMS_Core_DocumentContent::_version anymore 2019-09-10 17:15:27 +02:00
Uwe Steinmann
670597ea5f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-09-06 14:51:21 +02:00
Uwe Steinmann
712a504d9b remove debug output 2019-08-27 14:13:03 +02:00
Uwe Steinmann
f378aeb013 add new file class.Decorator.php 2019-08-08 15:49:08 +02:00
Uwe Steinmann
4767bf69d0 new version 5.1.13 2019-08-08 09:37:33 +02:00
Uwe Steinmann
078847ab9b fix line indenting 2019-08-08 09:04:58 +02:00
Uwe Steinmann
851ca7013b start new version 5.1.13 2019-08-08 09:00:12 +02:00
Uwe Steinmann
99238a34f4 run decorators, new method isType(), use $this instead of self:: 2019-08-08 08:43:20 +02:00
Uwe Steinmann
f9eabdb252 run decorators, new method isType(), do not access variable _dms anymore 2019-08-08 08:42:02 +02:00
Uwe Steinmann
cebf0e3796 add generic decorator class 2019-08-08 08:41:12 +02:00
Uwe Steinmann
9a0b6c4d3d add methods for setting and getting decorators 2019-08-08 08:39:53 +02:00
Uwe Steinmann
4a7d572f95 add method isType(), make functions explicitly public 2019-08-07 08:10:05 +02:00
Uwe Steinmann
37db957c41 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-19 15:41:05 +02:00
Uwe Steinmann
ba9f4ba749 rename SeedDMS_Core_Folder::empty to emptyFolder 2019-07-17 10:50:52 +02:00
Uwe Steinmann
e71c9c2e4e fix sql statement for searching when setting a limit 2019-07-16 20:16:50 +02:00
Uwe Steinmann
c5e6131c14 use getVersion() instead of accessing _version which is now protected 2019-07-12 16:39:44 +02:00
Uwe Steinmann
d11887311c declare variables in SeedDMS_Core_DocumentContent 2019-07-11 17:14:56 +02:00
Uwe Steinmann
801f0f0ed2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-05 08:10:42 +02:00
Uwe Steinmann
c9d9bf6c7b new function and controller for emptying a folder 2019-07-02 08:47:12 +02:00
Uwe Steinmann
fa64bb3200 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-01 21:34:08 +02:00
Uwe Steinmann
d18a3389bc sіmplify and possibly fix method isDescendant() 2019-07-01 13:06:08 +02:00
Uwe Steinmann
536067200e add method isDescendant() 2019-07-01 13:05:40 +02:00
Uwe Steinmann
e9d5381aa6 more notes for 5.1.12, update release date 2019-07-01 10:47:42 +02:00
Uwe Steinmann
164282cfb9 add new method hasSubFolderByName(), fix hasDocumetByName()
hasDocumetByName() returned a positiv integer if documents of the folder
has been loaded before.
2019-07-01 10:46:27 +02:00
Uwe Steinmann
e8c9fd5e4e add changes for 5.1.12 2019-06-26 20:41:19 +02:00
Uwe Steinmann
86c03d3ee4 check if $orderby is set before using it 2019-06-26 18:02:26 +02:00
Uwe Steinmann
b8bc69bb11 add sorting by name,date for documents in search() 2019-06-26 18:01:53 +02:00
Uwe Steinmann
3e4d90fe91 parameters for search() can be an array, add support for sorting the output 2019-06-26 13:38:39 +02:00
Uwe Steinmann
b3a2e0bb32 search() sorts hits by name 2019-06-26 11:47:34 +02:00
Uwe Steinmann
eccbc5ebd6 start new version 5.1.12 2019-06-24 11:55:24 +02:00
Uwe Steinmann
0a4d7359b2 new version 5.1.12 2019-06-24 11:46:46 +02:00
Uwe Steinmann
7485dbba15 use only first char of $orderby 2019-06-24 11:46:25 +02:00
Uwe Steinmann
5e8c34ad54 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-05-14 20:44:47 +02:00
Uwe Steinmann
f8841e670e start new version 5.1.11 2019-05-02 16:56:00 +02:00
Uwe Steinmann
d0cf90032f a revision call also be started if some of the revisors have already reviewed the document 2019-04-04 14:02:46 +02:00
Uwe Steinmann
fd5bfe246f various minor corrections of sql statements
improves compatibility with postgres
2019-03-14 09:37:21 +01:00
Uwe Steinmann
83e8f900e5 fix setting role 2019-03-11 18:27:20 +01:00
Uwe Steinmann
3ccc9f5176 add more notes for 6.0.7 2019-02-14 12:46:11 +01:00
Uwe Steinmann
08fac559c9 add new list type 'DueRevision' in getDocumentList 2019-02-14 12:33:50 +01:00
Uwe Steinmann
feee5600c4 add new list type ´DueRevision' in getDocumentList() 2019-02-14 12:33:11 +01:00
Uwe Steinmann
fa96dca929 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-13 06:50:36 +01:00
Uwe Steinmann
9729d211eb add missing `` in sql statement 2019-02-13 06:38:56 +01:00
Uwe Steinmann
b2fa733a0d new note for 6.0.7 2019-02-12 08:18:16 +01:00
Uwe Steinmann
770daa330c SeedDMS_Core_Document::getTimeline() returns revision only for latest content 2019-02-12 08:18:10 +01:00
Uwe Steinmann
f4a638ce14 new version 6.0.7 2019-01-16 17:57:13 +01:00
Uwe Steinmann
2709231dfc add dummy notes 2019-01-15 18:15:45 +01:00
Uwe Steinmann
48cf4b2ff3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 09:13:23 +01:00
Uwe Steinmann
d522ced2e1 add note for 5.1.10 2019-01-11 09:17:56 +01:00
Uwe Steinmann
8545b89d95 log file pointer can be set by calling a method 2019-01-11 09:17:26 +01:00
Uwe Steinmann
e252af2df4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-12-18 06:19:18 +01:00
Uwe Steinmann
34985e4a0e start new version 5.1.10 2018-11-23 21:01:31 +01:00
Uwe Steinmann
7060484594 check if next transitions exists 2018-11-23 21:00:01 +01:00
Uwe Steinmann
046d07bbf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-16 19:17:19 +01:00
Uwe Steinmann
53a742b082 start new version 5.1.10 2018-11-16 08:16:45 +01:00
Uwe Steinmann
4e0a34966c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-13 08:59:02 +01:00
Uwe Steinmann
e4533f3488 set correct date 2018-11-13 07:31:27 +01:00
Uwe Steinmann
a4ddbd6605 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-12 13:33:56 +01:00
Uwe Steinmann
c5778b2d44 take out old code 2018-10-11 12:39:36 +02:00
Uwe Steinmann
93b8ee1750 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-08-08 07:28:22 +02:00
Uwe Steinmann
d72d92d487 add note for 5.1.9 2018-08-07 11:11:59 +02:00
Uwe Steinmann
148f37a54c new optional parameter for getReadAccessList()
if set guest will be returned as well
2018-08-07 11:10:46 +02:00
Uwe Steinmann
3958714bff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-13 11:01:36 +02:00
Uwe Steinmann
8416bb7375 add notes for 5.1.9 2018-07-12 22:38:09 +02:00
Uwe Steinmann
951ca85e96 call hook onCheckAccessFolder and pass $context 2018-07-12 22:01:40 +02:00
Uwe Steinmann
abdbaf5de0 pass context in getAccessMode() to onCheckAccessDocument hook 2018-07-12 22:01:04 +02:00
Uwe Steinmann
34255ecded add callback onCheckAccessDocument(), reload workflow 2018-07-12 21:10:16 +02:00
Uwe Steinmann
ec80f5aa0e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-03 10:54:26 +02:00
Uwe Steinmann
9d1a17fe87 start new version 5.1.9 2018-07-03 06:45:20 +02:00
Uwe Steinmann
3e7fa6e1c1 add note for 5.1.8 2018-06-27 21:00:15 +02:00
Uwe Steinmann
952a1ad1fa turn some passed vars into integer if they are expected
some where used in an sql statement and could be used for sql injection
2018-06-27 18:51:59 +02:00
Uwe Steinmann
535a91db7e getNotifyList() can also return disable user 2018-06-20 20:41:16 +02:00
Uwe Steinmann
18bd1fdf55 sync with package file from 5.1.7 2018-04-12 16:02:40 +02:00
Uwe Steinmann
0199019ee6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-12 15:57:21 +02:00
Uwe Steinmann
fdd2e3ab37 changes for 5.1.8 2018-04-12 12:34:48 +02:00
Uwe Steinmann
8f62039994 do not use views 2018-04-12 12:33:06 +02:00
Uwe Steinmann
70015878d0 search() returns false in case of an error 2018-04-12 12:32:32 +02:00
Uwe Steinmann
659a62e133 Merge branch 'seeddms-6.0.x-workflow' into seeddms-6.0.x 2018-04-06 06:39:29 +02:00
Uwe Steinmann
0cdba79f59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-05 17:30:41 +02:00
Uwe Steinmann
2413da8c0b start new version 5.1.8 2018-04-05 17:28:00 +02:00
Uwe Steinmann
798a4b99b3 new version 5.1.7 2018-04-05 16:30:06 +02:00
Uwe Steinmann
f1fb23c7e7 fix sql statement to retrieve workflow log 2018-04-05 12:21:09 +02:00
Uwe Steinmann
5882fc10a9 major change of workflow/document management 2018-04-05 12:04:37 +02:00
Uwe Steinmann
57dc5fa31a do not set the uploader of a document to the owner
use the currently logged in user instead
2018-04-03 11:27:12 +02:00
Uwe Steinmann
8ecc721f3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-03 11:00:08 +02:00
Uwe Steinmann
c539693288 fix name for log files 2018-04-03 10:57:29 +02:00
Uwe Steinmann
2259acc3f2 add counting documents in workflow and need correction in countTasks() 2018-03-29 16:30:02 +02:00
Uwe Steinmann
6211014896 new version 6.0.6 2018-03-20 10:09:23 +01:00
Uwe Steinmann
0c0669fbbd do not release a document in verifyStatus() if in draft status 2018-03-14 17:05:27 +01:00
Uwe Steinmann
953e94cd8e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-09 13:11:11 +01:00
Uwe Steinmann
cfec7323d7 add hooks on[Post|Pre]RemoveFromDatabaseFolder
on[Post|Pre]RemoveFolder is called before and after any removal
2018-03-07 12:22:35 +01:00
Uwe Steinmann
7e4514c450 onPreRemoveDocument hook returns when return value is a boolean 2018-03-07 12:21:22 +01:00
Uwe Steinmann
0066d29650 add listNeedsCorrection 2018-03-01 21:29:12 +01:00
Uwe Steinmann
e3664780e9 started new version 6.0.5 2018-02-27 07:42:11 +01:00
Uwe Steinmann
a575714218 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-23 09:06:03 +01:00
Uwe Steinmann
15bf603825 add note for 5.1.6 2018-02-22 19:14:06 +01:00
Uwe Steinmann
f392e35072 fix search for attribute values if value is passed as string 2018-02-22 19:11:25 +01:00
Uwe Steinmann
c4addcd4aa getStatistics() returns single values, add removeValue(), fix sql in getObjects() 2018-02-22 19:10:39 +01:00
Uwe Steinmann
fffdf0a0ba optimize query for documents in search() 2018-02-21 15:33:47 +01:00
Uwe Steinmann
656c4b0b7f optimize query for searching documents 2018-02-21 15:28:27 +01:00
Uwe Steinmann
a6d16911e8 fix xml error 2018-02-21 12:40:45 +01:00
Uwe Steinmann
6548776cb3 new version 6.0.4 2018-02-21 12:39:51 +01:00
Uwe Steinmann
cb287741d0 add and use SeedDMS_Core_DocumentContent::getInstance() 2018-02-21 12:34:51 +01:00
Uwe Steinmann
5e478d749d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-20 07:14:50 +01:00
Uwe Steinmann
ad8d0d9bba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-20 06:38:22 +01:00
Uwe Steinmann
fc434419fe Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-20 06:36:20 +01:00
Uwe Steinmann
71ac5428ca fix wrong parameter comment of addDocument() 2018-02-20 06:35:48 +01:00
Uwe Steinmann
1640682a10 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-14 22:00:34 +01:00
Uwe Steinmann
840feec9fa Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-14 09:10:32 +01:00
Uwe Steinmann
922f6a0f7f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-14 09:09:49 +01:00
Uwe Steinmann
611290292c add entry for 4.3.37 2018-02-14 09:07:26 +01:00
Uwe Steinmann
433cfa4ac4 SeedDMS_Core_DMS::search() finds documents without status log 2018-02-14 09:07:03 +01:00
Uwe Steinmann
795ca98b8f create temp table ttreceiptid before using it 2018-02-13 18:32:01 +01:00
Uwe Steinmann
6ad630edf4 turn of views as default 2018-02-13 17:07:45 +01:00
Uwe Steinmann
52ceaaf98e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:31:43 +01:00
Uwe Steinmann
7c98ede3fd fix indenting which broke in last merge 2018-02-08 14:30:33 +01:00
Uwe Steinmann
5d51f18c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:26:36 +01:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
ab7776bdb9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-07 22:32:18 +01:00
Uwe Steinmann
e5b215936a add new method SeedDMS_Core_Folder::getDocumentsMinMax() 2018-02-07 09:51:20 +01:00
Uwe Steinmann
7e0b1b6907 start new version 6.0.4 2018-02-05 15:19:59 +01:00
Uwe Steinmann
b3c372e270 show only released documents in ReceiveOwner list 2018-02-01 12:05:48 +01:00
Uwe Steinmann
13119773bf update release date and notes for 6.0.3 2018-02-01 08:29:27 +01:00
Uwe Steinmann
17478a52ef add note for 6.0.4 2018-01-31 20:05:34 +01:00
Uwe Steinmann
39b94d4c75 add fast sql statement to getReceiptStatus() if limit=1 2018-01-31 20:03:22 +01:00
Uwe Steinmann
231af615af status may be S_NEED_CORRECTiON in setStatus() 2018-01-30 19:17:44 +01:00
Uwe Steinmann
8931759f84 new status S_NEEDS_CORRECTION 2018-01-29 11:40:25 +01:00
Uwe Steinmann
a8fad905a0 add note for 6.0.3 2018-01-28 07:54:36 +01:00
Uwe Steinmann
85a3041b9b add lists of drafts and obsolete docs in getDocumentList() 2018-01-28 07:48:29 +01:00
Uwe Steinmann
cbf7f1a161 list of documents without receivers on lists released documents 2018-01-24 09:01:35 +01:00
Uwe Steinmann
4dfade96f7 check if $files are given to filterFiles() 2018-01-23 20:50:44 +01:00
Uwe Steinmann
4b8fad4605 set propper date in timeline for scheduled revisions 2018-01-18 17:27:31 +01:00
Uwe Steinmann
b803c1d448 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-18 10:53:58 +01:00
Uwe Steinmann
09a78ed377 ??? 2018-01-18 09:12:31 +01:00
Uwe Steinmann
2b5f9ab3b3 add callback to SeedDMS_Core_Document::getAccessMode() 2018-01-16 18:06:19 +01:00
Uwe Steinmann
03690b9f1e add notes for 6.0.3 2018-01-16 18:05:54 +01:00
Uwe Steinmann
903a491016 getDocumentList() returns list of documents without a receiver 2018-01-16 18:04:53 +01:00
Uwe Steinmann
544e151135 getStatistics() returns propper values for each single value in a valueset 2018-01-16 18:03:05 +01:00
Uwe Steinmann
eed90367da add note for 6.0.3 2018-01-09 15:30:47 +01:00
Uwe Steinmann
62f5dd1a9f pass 0 as default to getObjects() 2018-01-09 15:29:31 +01:00
Uwe Steinmann
3244f20dcc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-03 09:41:03 +01:00
Uwe Steinmann
5ee7110597 started new version 5.1.6 2018-01-03 09:29:34 +01:00
Uwe Steinmann
3c4be73678 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-01 09:17:24 +01:00
Uwe Steinmann
987ea3d5fd new entries for 5.1.5 2017-12-22 13:04:08 +01:00
Uwe Steinmann
97946893ee getInstance() returns null if object was not found in database 2017-12-22 13:02:14 +01:00
Uwe Steinmann
3330085f51 getInstance() returns null if folder was not found in db 2017-12-22 13:01:38 +01:00
Uwe Steinmann
81536cb2fe getInstance() returns null if document was not found in db 2017-12-22 13:00:51 +01:00
Uwe Steinmann
3cd766468d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-21 15:27:33 +01:00
Sebastian Bartus-Kunz
f3daa6d0e2 Fixed wrong return object in getDocumentLink() 2017-12-20 16:12:32 +01:00
Uwe Steinmann
70ea4c2314 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-19 11:33:00 +01:00
Uwe Steinmann
abd8b77b2f check if document exists before adding it to result array 2017-12-19 10:46:42 +01:00
Uwe Steinmann
228bfffba1 set allday flag for scheduled revision 2017-12-19 08:26:46 +01:00
Uwe Steinmann
3b3b5efafe getTimeline() returns documents with a scheduled revision 2017-12-19 08:19:48 +01:00
Uwe Steinmann
7129b9737c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-19 07:10:07 +01:00
Uwe Steinmann
b0747e74f0 add optional parameter $limit and $offset to SeedDMS_Core_Folder::getSubFolders 2017-12-19 07:05:08 +01:00
Uwe Steinmann
c8ce5e9ea9 add optional parameters $limit and $offset to SeedDMS_Core_Folder::getDocuments() 2017-12-19 06:34:26 +01:00
Uwe Steinmann
476e2d15d5 remove bogus methods from SeedDMS_Core_DocumentCategory 2017-12-19 06:23:44 +01:00
Uwe Steinmann
ac09ee3773 new version 6.0.2 2017-12-18 14:43:22 +01:00
Uwe Steinmann
1048e3d181 add new method countTasks() 2017-12-18 08:45:31 +01:00
Uwe Steinmann
6b7eb1cf3e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-12 22:12:17 +01:00
Uwe Steinmann
da972bbc2b fix SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:48:05 +01:00
Uwe Steinmann
b63ffa490b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-12 09:35:00 +01:00
Uwe Steinmann
b26c8a6dcf add items for 5.1.5 2017-12-12 09:34:00 +01:00
Uwe Steinmann
a78747cc10 addDocumentFile() returns object of file, new method SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:33:13 +01:00
Uwe Steinmann
6d8652f393 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-09 07:28:18 +01:00
Uwe Steinmann
f4c25576bc addRevisor() puts recheck into waiting if recheck has already begun
previously it was put into sleeping, which didn't the user/group
to do the recheck.
2017-12-08 10:52:23 +01:00
Uwe Steinmann
0640b39c85 check for === false after calling onPreRemoveDocument 2017-12-07 08:53:40 +01:00
Uwe Steinmann
b68cfe3893 add SeedDMS_Core_Document::transferToUser() 2017-12-05 18:31:04 +01:00
Uwe Steinmann
740b871a7a add note for 5.1.5 2017-12-05 10:14:14 +01:00
Uwe Steinmann
e3d1cc172b add method to set name, comment, version, public flag of document files 2017-12-05 08:27:14 +01:00
Uwe Steinmann
822e6c13f2 add optional parameters to getDocumentsByCategory, new method countDocumentsByCategory 2017-12-04 15:22:48 +01:00
Uwe Steinmann
c657dabcda Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-24 09:30:22 +01:00
Uwe Steinmann
4f3548d44a add changes for 5.1.5 2017-11-24 09:25:22 +01:00
Uwe Steinmann
78f4d62e36 optimized code to get various document lists 2017-11-21 11:51:12 +01:00
Uwe Steinmann
8af798fe86 views instead of temp. tables can be used 2017-11-21 11:28:49 +01:00
Uwe Steinmann
b29f7b1e9c add method getParent() 2017-11-21 11:28:18 +01:00
Uwe Steinmann
b6ce91c8ee fix validation return value 2017-11-21 11:27:17 +01:00
Uwe Steinmann
4658db9c21 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 07:16:10 +01:00
Jörg Neugebauer
fd5f341cb9 SeedDMS_Core 2017-11-08 13:54:49 +01:00
Uwe Steinmann
4410868874 started new version 5.1.5 2017-11-07 06:43:25 +01:00
Jörg Neugebauer
3f2e24f80d inc.ClassFolder.php 2017-10-28 14:28:12 +02:00
Uwe Steinmann
3d6dcbd181 take out duplicate getLatestContent() 2017-10-27 16:47:50 +02:00
Uwe Steinmann
68ccb13a72 add 'ExpiredOwner' to getDocumentList() 2017-10-27 16:47:09 +02:00
Uwe Steinmann
5149511aaa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-10-27 15:01:18 +02:00
Jörg Neugebauer
ab73fe5298 inc.ClassDMS.php 2017-10-24 14:00:56 +02:00
Jörg Neugebauer
e1fc45b69a inc.ClassDMS.php 2017-10-24 13:36:07 +02:00
Jörg Neugebauer
61382afc7b inc.ClassAttribute.php 2017-10-24 12:44:22 +02:00
Jörg Neugebauer
2ab5db0c6d inc.ClassObject.php 2017-10-24 12:12:38 +02:00
Jörg Neugebauer
b34b936b24 Einfügen DocBlock 2017-10-24 11:53:31 +02:00
Jörg Neugebauer
db678e08da Einfügen DocBlock 2017-10-24 11:10:41 +02:00
Uwe Steinmann
f3ee2d495c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-10-06 18:08:35 +02:00
Uwe Steinmann
1fe00c1a02 add changes for 5.1.4 2017-10-06 18:06:34 +02:00
Uwe Steinmann
5bf132b170 add virtual access mode for links and attachments 2017-10-06 17:58:46 +02:00
Uwe Steinmann
89eeb98d82 add new method getDocumentsExpired() 2017-10-06 17:58:13 +02:00
Uwe Steinmann
0b8b92076a remove linked files of a version if the version is deleted 2017-10-05 07:37:21 +02:00
Uwe Steinmann
f3d4b86bae remove unused revisionDate in SeedDMS_Core_DocumentFile 2017-09-28 07:27:43 +02:00
Uwe Steinmann
22dce2fdf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-28 07:26:49 +02:00
Uwe Steinmann
f1f439af8c add support for access restrictions on document content 2017-09-28 07:23:15 +02:00
Uwe Steinmann
031887de0a add var noReadForStatus and method getLoggedInUser() 2017-09-28 07:21:08 +02:00
Uwe Steinmann
d5f79f5f7c various small improvements back ported from 6.0.x 2017-09-27 18:36:59 +02:00
Uwe Steinmann
2c1374bea5 take out echo 2017-09-27 06:20:48 +02:00
Uwe Steinmann
d152d9f3af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-05 18:22:25 +02:00
Uwe Steinmann
4c5dc52fa0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-05 09:35:23 +02:00
Uwe Steinmann
4ba5db88e9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-05 09:32:03 +02:00
Uwe Steinmann
45d0c2618f start new version 4.3.37 2017-09-05 09:27:55 +02:00
Uwe Steinmann
58bd26966d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 09:22:33 +02:00
Uwe Steinmann
3b427d8d64 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-29 09:22:06 +02:00
Uwe Steinmann
f20ee22534 add changelog for 5.0.12 2017-08-29 07:35:40 +02:00
Uwe Steinmann
f1b502b2f2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 06:21:53 +02:00
Uwe Steinmann
33b20768ee add note for 5.1.3 2017-08-28 13:45:33 +02:00
Uwe Steinmann
14a10eaf22 add method getDocumentByOriginalFilename() 2017-08-28 13:44:42 +02:00
Uwe Steinmann
81b153ccd5 add removal of receipts and revisions for users/group no longer available 2017-08-22 18:00:06 +02:00
Uwe Steinmann
01fb6feeca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-22 06:24:59 +02:00
Uwe Steinmann
2e26504ae7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 06:22:28 +02:00
Uwe Steinmann
c68c8b5e52 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 06:22:16 +02:00
Uwe Steinmann
e53beb45f4 add comment in removeProcessWithoutUserGroup() 2017-08-03 21:48:55 +02:00
Uwe Steinmann
c5a67c2aeb initial version of removeProcessWithoutUserGroup() 2017-08-03 21:41:03 +02:00
Uwe Steinmann
7d0a18861b add note for 6.0.1 2017-08-03 12:43:25 +02:00
Uwe Steinmann
f181ca044d ReceiveOwner list does not contain old versions anymore 2017-08-03 12:42:56 +02:00
Uwe Steinmann
d82f8c44d1 add receipts and revisions in getProcessWithoutUserGroup() 2017-08-03 07:11:25 +02:00
Uwe Steinmann
e878f438fd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-02 18:03:44 +02:00
Uwe Steinmann
50e969452c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 17:41:04 +02:00
Uwe Steinmann
141895b80d quote names in sql statements of getProcessesWithoutUserGroup() 2017-08-02 17:40:27 +02:00
Uwe Steinmann
d0b9084ad6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 17:32:12 +02:00
Uwe Steinmann
098f15202c add method getProcessWithoutUserGroup()
checks for reviews/approvals which have lost its user or group
2017-08-02 17:30:54 +02:00
Uwe Steinmann
5396829d7f take out echos 2017-07-31 14:23:16 +02:00
Uwe Steinmann
7b5412ff36 remove from process only if status[receipt], status[revision] is not set 2017-07-31 14:21:24 +02:00
Uwe Steinmann
596cb2afd6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:18:18 +02:00
Uwe Steinmann
2a4b8ffcfc remove from process only if status[review], status[approval] is not set 2017-07-31 14:17:41 +02:00
Uwe Steinmann
07d760d7d8 fix remove from process for receipts and revisions 2017-07-31 14:13:02 +02:00
Uwe Steinmann
014b7ac201 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 13:22:28 +02:00
Uwe Steinmann
c32bff5074 separate removal of reviews and approval 2017-07-31 13:21:01 +02:00
Uwe Steinmann
114a8a3ac1 move code in remove() into __removeFromProcesses() 2017-07-31 11:54:24 +02:00
Uwe Steinmann
afefe1d66c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 11:49:43 +02:00
Uwe Steinmann
36e2b29e8a add note for 5.1.3 2017-07-31 11:26:34 +02:00
Uwe Steinmann
58ddbca857 add new methods transferDocumentsFolders() transferEvents() 2017-07-31 11:25:33 +02:00
Uwe Steinmann
a2802f124d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 18:25:49 +02:00
Uwe Steinmann
8513e5c2a8 add note for 5.1.3 2017-07-28 18:23:37 +02:00
Uwe Steinmann
a0600573dc add methods isMandatoryReviewerOf() and isMandatoryApproverOf() 2017-07-28 18:22:53 +02:00
Uwe Steinmann
e953d9dcbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 15:12:00 +02:00
Uwe Steinmann
d0ab0d0f9f add option parameter $states to __removeFromProcesses()
restricts removal to certain approval/review states
2017-07-28 14:56:18 +02:00
Uwe Steinmann
2c41c57a13 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:32:10 +02:00
Uwe Steinmann
f4a18d5e92 new notes for 5.1.3 2017-07-28 10:31:12 +02:00
Uwe Steinmann
cb17de44fc getNotifyList() returns only users which are not disabled 2017-07-28 10:28:57 +02:00
Uwe Steinmann
378e071232 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:25:54 +02:00
Uwe Steinmann
9edbfd4a0f add note for 5.1.3 2017-07-28 09:36:28 +02:00
Uwe Steinmann
d55d266731 add new methods to SeedDMS_Core_User
removeFromProcesses(), getWorkflowsInvolved(), getKeywordCategories()
2017-07-28 09:35:12 +02:00
Uwe Steinmann
bfd8184648 notes for 6.0.1 2017-07-27 22:11:42 +02:00
Uwe Steinmann
29bc0c1fda getNotifyList() returns only users which are not disabled 2017-07-27 22:10:44 +02:00
Uwe Steinmann
268d844b43 fix some comments 2017-07-27 21:17:58 +02:00
Uwe Steinmann
aabbb5c254 add notes for 6.0.1 2017-07-27 13:27:25 +02:00
Uwe Steinmann
c953d02604 views instead of temp. tables can be used
This speeds up many sql statements for mysql and pgsql
2017-07-27 12:34:46 +02:00
Uwe Steinmann
f5333e7c8d fix field name in getDocumentList(), 'maxLogId' must be 'maxLogID'
otherwise the statement fails for pgsql
2017-07-27 12:32:27 +02:00
Uwe Steinmann
752f4e8760 take out order by in temp. tables 2017-07-26 12:14:56 +02:00
Uwe Steinmann
0483e44ddc new note for 6.0.1 2017-07-21 14:43:02 +02:00
Uwe Steinmann
d954b4df1d getReverseSubstitutes() works with roles 2017-07-21 14:41:39 +02:00
Uwe Steinmann
aa162b6601 add note for 6.0.1 2017-07-21 11:48:52 +02:00
Uwe Steinmann
37e03e2e9e SeedDMS_Core_Document::checkForDueRevisionWorkflow() also checks if there are any waiting or pending revisions at all 2017-07-21 11:48:01 +02:00
Uwe Steinmann
bbad479580 use define S_LOG_USER_REMOVED 2017-07-20 18:21:05 +02:00
Uwe Steinmann
a5688a7c3b turn on new sql statements in getDocumentList() 2017-07-18 13:35:01 +02:00
Uwe Steinmann
5c882bdbb2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-17 18:00:09 +02:00
Uwe Steinmann
a8a939cb3d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-17 17:59:56 +02:00
Uwe Steinmann
9d3d91a037 move notes into 4.3.36 2017-07-17 17:59:36 +02:00
Uwe Steinmann
9ea079d580 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-17 17:58:46 +02:00
Uwe Steinmann
525a947a19 add entry for 4.3.36 2017-07-17 17:57:45 +02:00
Uwe Steinmann
de6564c7e9 fix sql statement for creating temp. tables ttreviewid and ttapproveid 2017-07-17 17:57:01 +02:00
Uwe Steinmann
3fd1dfe87a fix sql for creating temp table ttreviewid and ttapproveid 2017-07-17 17:52:19 +02:00
Uwe Steinmann
3213aa168f more efficient sql code in getDocumentList() 2017-07-17 17:51:38 +02:00
Uwe Steinmann
b855389965 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-13 18:08:56 +02:00
Uwe Steinmann
a0651239dd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-13 18:03:15 +02:00
Uwe Steinmann
b7a55bdb18 add 5.0.13 to releases, new version 5.1.3 2017-07-13 18:00:05 +02:00
Uwe Steinmann
e029e8e55a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-13 17:56:31 +02:00
Uwe Steinmann
afbb166505 add 4.3.36 to list of releases 2017-07-13 17:52:16 +02:00
Uwe Steinmann
b43200703b start new version 4.3.36 2017-07-11 18:12:31 +02:00
Uwe Steinmann
7f1766ba94 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 15:12:19 +02:00
Uwe Steinmann
0b6cb26481 fix notes for 5.1.2 and 5.0.12 2017-07-10 15:11:04 +02:00
Uwe Steinmann
25d609d894 add changelog for 5.0.12 2017-07-10 15:08:16 +02:00
Uwe Steinmann
efd8273901 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 15:06:33 +02:00
Uwe Steinmann
b0a9767bfb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-10 15:03:58 +02:00
Uwe Steinmann
aad36c0973 and changes for 5.0.12 2017-07-10 14:57:07 +02:00
Uwe Steinmann
99682a11d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 07:50:33 +02:00
Uwe Steinmann
bdcf9d8e93 add notes for 6.0.1 2017-07-05 10:48:03 +02:00
Uwe Steinmann
1249d069c7 add note on deprecated $noReadForStatus 2017-07-05 10:47:23 +02:00
Uwe Steinmann
0e2b8df36b fix sql statement to create temp table ttrevisionid and ttreceiptid 2017-07-05 10:45:12 +02:00
Uwe Steinmann
1326f825d3 $dms->noReadForStatus no longer needed
SeedDMS_Core_DocumentContent::getAccessMode() retrieves the role based
access restrictions from the role of the given user
2017-07-05 10:43:14 +02:00
Uwe Steinmann
8531371f67 also take out ORDER BY in temp. tables for pgsql driver 2017-06-28 15:29:17 +02:00
Uwe Steinmann
1db5675990 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-06-28 15:27:50 +02:00
Uwe Steinmann
4a590ef8e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-06-28 15:11:29 +02:00
Uwe Steinmann
17c8163972 add note for 4.3.35 2017-06-28 15:00:07 +02:00
Uwe Steinmann
a2fc405eae do not sort some temp. tables anymore
it causes an error if sql_mode=only_full_group_by is set in mysql
2017-06-28 14:59:29 +02:00
Uwe Steinmann
8c0e832414 add note 2017-06-27 17:08:23 +02:00
Uwe Steinmann
2471aab8cc check for callback onAttributeValidate 2017-06-27 17:06:32 +02:00
Uwe Steinmann
919f4cb39c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-26 10:20:48 +02:00
Uwe Steinmann
ae06028d20 add note 2017-06-24 07:16:54 +02:00
Uwe Steinmann
93380ab261 add hook on(Pre|Post)RemoveContent 2017-06-24 07:15:37 +02:00
Uwe Steinmann
98e7615c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-12 18:46:25 +02:00
Uwe Steinmann
b406d31ea0 add menu tasks including checkbox in settings for enabling it 2017-05-12 18:09:53 +02:00
Uwe Steinmann
440c7032f0 add method getDocumentList(), limit number of duplicate contents to 1000 2017-05-12 18:08:56 +02:00
Uwe Steinmann
092967004a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-12 08:23:42 +02:00
Uwe Steinmann
ba44ee14a7 add note for 5.1.2 2017-05-12 08:17:45 +02:00
Uwe Steinmann
3c9c0b7e3a check if onPreRemove[Document|Folder] returns bool or null 2017-05-12 08:16:05 +02:00
Uwe Steinmann
3cc572a1cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-02 06:47:42 +02:00
Uwe Steinmann
e9c0b679bc add changelog for 5.1.2 2017-04-24 16:48:38 +02:00
Uwe Steinmann
d55236f49d SeedDMS_Core_DMS::filterDocumentFiles() returns file if author of doc 2017-04-24 16:47:57 +02:00
Uwe Steinmann
29d801cff9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-20 10:03:13 +02:00
Uwe Steinmann
ce975fc86d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-04-11 10:21:47 +02:00
Uwe Steinmann
0b2d663c56 add empty notes in latest version 2017-04-11 10:21:23 +02:00
Uwe Steinmann
a65101feb7 fix syntax error 2017-04-11 10:19:36 +02:00
Uwe Steinmann
ffb4f3179d add changes for 6.0.1 2017-04-04 07:33:58 +02:00
Uwe Steinmann
3a615b6e06 optimize sql code to get locked documents 2017-03-24 13:29:00 +01:00
Uwe Steinmann
72c5bd237b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-23 18:48:45 +01:00
Uwe Steinmann
6a7e23375c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-23 18:08:23 +01:00
Uwe Steinmann
a001d32854 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-23 17:43:39 +01:00
Uwe Steinmann
4265c965de log all sql statements into file if log file is given 2017-03-23 17:27:31 +01:00
Uwe Steinmann
6bb6662de4 start new version 4.3.35 2017-03-23 15:39:18 +01:00
Uwe Steinmann
c18f09d344 start new version 6.0.1 2017-03-23 15:22:55 +01:00
Uwe Steinmann
050a2e60df remove some debug echos 2017-03-23 07:07:57 +01:00
Uwe Steinmann
43b613c210 add method rewriteRevisionLog() 2017-03-09 11:33:09 +01:00
Uwe Steinmann
ee4215f89e rewriteReceiptLog() can handle none exiting users 2017-03-09 11:14:31 +01:00
Uwe Steinmann
0cfd663275 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 11:09:49 +01:00
Uwe Steinmann
2fca40953d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-09 11:09:34 +01:00
Uwe Steinmann
233111e818 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-09 11:09:23 +01:00
Uwe Steinmann
2e99b1ba38 rewrite...Log() can handle entries with none exiting users 2017-03-09 11:07:40 +01:00
Uwe Steinmann
3853f0010f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-08 13:17:29 +01:00
Uwe Steinmann
4c6ce8218a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-08 11:34:17 +01:00
Uwe Steinmann
a528a3ce57 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-08 11:33:05 +01:00
Uwe Steinmann
be2a1c7f2d add changes for 4.3.34 2017-03-08 11:13:50 +01:00
Uwe Steinmann
711520234d retrieve complete document when checking for duplicates 2017-03-08 11:08:35 +01:00
Uwe Steinmann
b05a7f2ba5 add method rewriteReceiptLog() 2017-03-03 22:07:15 +01:00
Uwe Steinmann
e9c029e8fc fix syntax error 2017-02-28 17:12:27 +01:00
Uwe Steinmann
6e9b840e45 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-28 17:06:58 +01:00
Uwe Steinmann
c32a2e7f53 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 09:19:11 +01:00
Uwe Steinmann
310ebf8708 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 09:19:01 +01:00
Uwe Steinmann
4cc7bfca20 make sql state more compatible across databases 2017-02-28 09:17:25 +01:00
Uwe Steinmann
5cf7611304 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 09:10:27 +01:00
Uwe Steinmann
c7fbcb80c8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 09:10:14 +01:00
Uwe Steinmann
b6d63b8705 make LIMIT in sql more database independent 2017-02-28 09:08:20 +01:00
Uwe Steinmann
3635b92edb fix sql for add user when pwdexpiration has a date 2017-02-28 08:00:45 +01:00
Uwe Steinmann
5bbce8ffee Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 07:31:26 +01:00
Uwe Steinmann
0319621497 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 07:13:13 +01:00
Uwe Steinmann
5bca4770d1 start new version 5.0.11 2017-02-28 07:09:30 +01:00
Uwe Steinmann
c3fea8b8bf new version 4.3.34 2017-02-28 06:39:32 +01:00
Uwe Steinmann
eab6552788 start new version 5.1.1 2017-02-28 06:35:36 +01:00
Uwe Steinmann
fea676c1d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-24 19:07:23 +01:00
Uwe Steinmann
c6567b2f90 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 13:49:37 +01:00
Uwe Steinmann
b9a7f622d1 remove backticks in sql statement
for some strange reason a select `document` ... UNION select `document`
will result in a php array where '`document`' and not 'document' is
the key. This makes getTimeline() fail.
2017-02-24 13:46:58 +01:00
Uwe Steinmann
8d7c8a0bdf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-22 13:22:51 +01:00
Uwe Steinmann
5b3ff3e4df Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-22 12:33:20 +01:00
Uwe Steinmann
2ef1a5896f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-22 11:40:20 +01:00
Uwe Steinmann
473118b7bb new version 4.3.33 2017-02-22 11:31:59 +01:00
Uwe Steinmann
b03fcc5b6a fix versions 2017-02-21 06:20:03 +01:00
Uwe Steinmann
7fc7ffd708 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-21 06:16:32 +01:00
Uwe Steinmann
71892eba6c new version 5.1.0 2017-02-20 20:10:05 +01:00
Uwe Steinmann
864c56b54a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-20 18:05:34 +01:00
Uwe Steinmann
09ef3a86ba new version 5.0.10 2017-02-20 17:43:51 +01:00
Uwe Steinmann
fa5721c2cb Merge branch 'seeddms-6.0.x-postgres' into seeddms-6.0.x 2017-02-20 17:38:35 +01:00
Uwe Steinmann
4c794381e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-20 17:34:43 +01:00
Uwe Steinmann
283c51b193 print_r detailed error msg 2017-02-20 17:11:37 +01:00
Uwe Steinmann
a18b3c6879 add sql statement for pgsql in TableList() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
bfbd845bab add sql code for creating temp tables ttreceiptid and ttrevisionid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
50919f40c1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
1a03adebbd add create of temp table ttstatid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
2c775b560f add creation of temp table ttcontentid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
7467df155d fix getInsertID() for identifier in upper/lower case 2017-02-20 17:11:37 +01:00
Uwe Steinmann
cafdd457c8 pass tablename to getInsertID() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
0239edd4ee adjust date function to postgresql 2017-02-20 17:11:37 +01:00
Uwe Steinmann
c55b595ae9 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-20 17:11:37 +01:00
Uwe Steinmann
52deebbf6e Merge branch 'seeddms-5.0.x-attachment' into seeddms-5.1.x 2017-02-20 15:37:44 +01:00
Uwe Steinmann
19f77a37c8 add missing changes which got lost during last rebase 2017-02-20 15:33:15 +01:00
Uwe Steinmann
606effb759 fix sql to retrieve attachments 2017-02-20 15:24:06 +01:00
Uwe Steinmann
32d484a924 remove mergeAccessList() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
75f21ddf02 add filterDocumentFiles() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
2b154cc468 set pwdExpiration to null 2017-02-20 15:01:58 +01:00
Uwe Steinmann
534e93d7d9 new version 5.1.0 2017-02-20 08:55:29 +01:00
Uwe Steinmann
5921b1e731 set default value for pwdExpiration when unsetting it 2017-02-18 07:38:26 +01:00
Uwe Steinmann
a5e984587d add getDriver() which returns the database driver 2017-02-18 07:37:45 +01:00
Uwe Steinmann
e320d4a376 add sql statement for pgsql in TableList() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
ff486fdcd9 fix sql error 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7c84cc1b52 set pwdexpiration to null if no date is set 2017-02-16 15:27:01 +01:00
Uwe Steinmann
90cca10460 set pwdExpiration to NULL instead of '0000-00-00 ...' 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0cf35641d1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0053213856 pass $dms to getSearchFields() and cast id to text 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3da6d66ee1 add method castToText()
it takes a fieldname and returns it with a cast to 'text'
2017-02-16 15:27:01 +01:00
Uwe Steinmann
e020ebaf39 add create of temp table ttstatid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
20491cd8e3 add creation of temp table ttcontentid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7ebd92d53a add '"' arount sequence in getInsertID() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3bfeba738f adjust date function to postgresql 2017-02-16 15:27:01 +01:00
Uwe Steinmann
307abdf493 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-16 15:27:01 +01:00
Uwe Steinmann
502b5c5414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-16 15:26:46 +01:00
Uwe Steinmann
658d556c3d getTimeline() checks also for new attachments 2017-02-16 15:01:20 +01:00
Uwe Steinmann
be16e7edce Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-15 08:24:23 +01:00
Uwe Steinmann
568e8a19e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-15 08:24:08 +01:00
Uwe Steinmann
a16b58a9fa set workflow in addContent() after initial status has been set 2017-02-15 08:23:34 +01:00
Uwe Steinmann
4aaf7f78e8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 21:13:10 +01:00
Uwe Steinmann
0d99ffc04b add missing backticks 2017-02-14 21:12:50 +01:00
Uwe Steinmann
b310d3065d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 21:08:56 +01:00
Uwe Steinmann
6cb83bec25 add missing backticks 2017-02-14 21:08:43 +01:00
Uwe Steinmann
7dfbad5451 add missing backticks around identifier in sql statement 2017-02-14 16:59:52 +01:00
Uwe Steinmann
05cf0b83f4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 14:58:41 +01:00
Uwe Steinmann
83c498418b add field to group by, because it will be selected 2017-02-14 12:24:55 +01:00
Uwe Steinmann
c34ea0ed02 add another field to group by, because it shall be selected 2017-02-14 12:21:58 +01:00
Uwe Steinmann
823e57c4c2 take out order field as it is not needed 2017-02-14 12:13:03 +01:00
Uwe Steinmann
0bba1445c9 fix case of identifiers in sql statement 2017-02-14 12:07:23 +01:00
Uwe Steinmann
90982d5774 add missing backticks in sql statement 2017-02-14 12:00:08 +01:00
Uwe Steinmann
7f1dc2dfe1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 11:43:17 +01:00
Uwe Steinmann
e6e0611937 pwdexpiration can be 'never' or 'now' 2017-02-14 11:34:10 +01:00
Uwe Steinmann
586dffe403 setPwdExpiration() accepts keywords 'now' and 'never' 2017-02-14 11:24:11 +01:00
Uwe Steinmann
e58f0888b5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 09:06:23 +01:00
Uwe Steinmann
f251e30f5a fix sql error 2017-02-14 08:38:57 +01:00
Uwe Steinmann
9c7605d40a add method getSearchFields() ind ClassDocument and use in search() 2017-02-14 08:29:03 +01:00
Uwe Steinmann
f976bf0e83 check if temp table ttcontentid exists in sql statement 2017-02-14 07:15:14 +01:00
Uwe Steinmann
d9aaad16d3 add missing backticks around identifier in sql statement 2017-02-14 06:29:23 +01:00
Uwe Steinmann
0a6034a92e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-14 06:23:49 +01:00
Uwe Steinmann
0fbc5cc289 do not use x,y syntax in limit clause 2017-02-14 06:22:36 +01:00
Uwe Steinmann
f0b710b266 change fullname to fullName 2017-02-13 20:21:22 +01:00
Uwe Steinmann
c785906ffb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:23:46 +01:00
Uwe Steinmann
28af59db73 remove double backticks in sql statement 2017-02-13 18:23:24 +01:00
Uwe Steinmann
27a323a38f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:20:49 +01:00
Uwe Steinmann
a4eac8affc remove double backticks in sql statement 2017-02-13 18:20:21 +01:00
Uwe Steinmann
602903de46 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:16:50 +01:00
Uwe Steinmann
572fabfd1a add missing backticks around identifier 2017-02-13 18:16:24 +01:00
Uwe Steinmann
e74a9a4295 add missing backticks around identifier 2017-02-13 17:32:22 +01:00
Uwe Steinmann
38ea469b12 add missing backticks 2017-02-13 12:48:54 +01:00
Uwe Steinmann
42c050588b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:48:20 +01:00
Uwe Steinmann
a65f4d56b5 add missing backticks around identifiers in sql statements 2017-02-13 12:47:15 +01:00
Uwe Steinmann
f6aded2428 put backticks around identifiers in sql statements 2017-02-13 12:37:26 +01:00
Uwe Steinmann
7d82b73208 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:12:07 +01:00
Uwe Steinmann
eae27d0646 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-11 16:33:48 +01:00
Uwe Steinmann
290ab91fc7 use 'fullName' instead of 'fullname' 2017-02-11 16:32:09 +01:00
Uwe Steinmann
0229d329e3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-10 08:07:17 +01:00
Uwe Steinmann
c74caf1d43 fix sql statement in setOwner() 2017-02-10 08:06:22 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00
Uwe Steinmann
2f0cb09e31 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-09 17:49:21 +01:00
Uwe Steinmann
fd5b5034db add method rbt() 2017-02-09 16:45:58 +01:00
Uwe Steinmann
247f27fa54 add more notes to 5.1.2 2017-01-25 14:58:41 +01:00
Uwe Steinmann
0d5f7a607a finishRevision() puts document version in to 'waiting'
need to be able to start a new revision
2017-01-25 14:49:37 +01:00
Uwe Steinmann
c98ff36977 minor uncrucial corrections 2017-01-25 14:49:05 +01:00
Uwe Steinmann
b07cd2d442 fix getRevisionStatus()
it didn't always return the last entry of the revision log
2017-01-25 14:48:12 +01:00
Uwe Steinmann
cf3dba89e0 add note to 5.1.2 2017-01-25 11:55:33 +01:00
Uwe Steinmann
ec4712b5bf limit sql statement in getDuplicateDocumentContent() to 1000 hits 2017-01-25 11:54:36 +01:00
Uwe Steinmann
86530371f4 add changes to 5.1.2 2017-01-25 09:55:15 +01:00
Uwe Steinmann
761247fe0d add new methods getDocumentsInReception() and getDocumentsInRevision() 2017-01-25 09:52:48 +01:00
Uwe Steinmann
bbcff75b00 create temp table for document revisions 2017-01-25 09:52:16 +01:00
Uwe Steinmann
8c63cc607b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-24 14:23:48 +01:00
Uwe Steinmann
15d45dc493 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-24 14:23:36 +01:00
Uwe Steinmann
6a43c85eb9 getUnlinkedDocumentContent, getNoFileSizeDocumentContent, getNoChecksumDocumentContent return only false if db query fails 2017-01-24 14:21:55 +01:00
Uwe Steinmann
c1e38ec059 add note to 5.1.2 2017-01-20 14:30:26 +01:00
Uwe Steinmann
db22c3f348 getReviewersStatus() and getReceiptStatus() only return last version
the return lists will no longer include a revision, receipt for version
of a document not being the last version
2017-01-20 14:26:55 +01:00
Uwe Steinmann
c63f994a5f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-18 15:13:18 +01:00
Uwe Steinmann
47db85c175 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 15:11:45 +01:00
Uwe Steinmann
62c997db19 add note for 4.3.32 2017-01-18 14:46:24 +01:00
Uwe Steinmann
8959a9e167 add searching for document id 2017-01-18 14:45:40 +01:00
Uwe Steinmann
825c4378a0 add latest version 5.1.2 which somehow got lost 2017-01-18 11:08:17 +01:00
Uwe Steinmann
ba4a6558b4 add new document list ReceiveOwner, list docs with revision in AppRevOwner 2017-01-17 13:44:19 +01:00
Uwe Steinmann
f6d3e9785f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-16 15:52:19 +01:00
Uwe Steinmann
c37910e473 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-16 15:12:16 +01:00
Uwe Steinmann
57498f84a1 add optional parameter to filterDocumentLinks() 2017-01-16 12:59:02 +01:00
Uwe Steinmann
c09146796f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 21:06:54 +01:00
Uwe Steinmann
deceea4494 new version 5.0.9 2017-01-12 21:05:15 +01:00
Uwe Steinmann
b832ace635 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 18:22:21 +01:00
Uwe Steinmann
25f23544d2 fix order of releases 2017-01-12 18:19:45 +01:00
Uwe Steinmann
662d6149b7 remove wrong entry in notes 2017-01-12 18:18:37 +01:00
Uwe Steinmann
d0662a6132 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 18:08:24 +01:00
Uwe Steinmann
950449ac04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-12 18:03:01 +01:00
Uwe Steinmann
7e34053ece new version 4.3.32 2017-01-12 17:45:36 +01:00
Uwe Steinmann
97fe1e5d38 new version 4.3.32 2017-01-12 17:44:29 +01:00
Uwe Steinmann
2d2ebdc887 add ordering to all list in getDocumentList() 2017-01-10 21:25:15 +01:00
Uwe Steinmann
229ae54234 order groups by name in getAccessList() 2017-01-10 17:53:52 +01:00
Uwe Steinmann
e80987de9a order groups by name getAccessList() 2017-01-10 17:51:46 +01:00
Uwe Steinmann
6cb5dec1a9 fix search for documents with reception acknowledgement 2016-11-22 17:58:28 +01:00
Uwe Steinmann
662d9d0d85 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-22 10:34:15 +01:00
Uwe Steinmann
a4bec45158 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-22 10:28:29 +01:00
Uwe Steinmann
f339a77227 add note on new method SeedDMS_Core_Workflow::checkForCycles() 2016-11-18 08:41:44 +01:00
Uwe Steinmann
b3657b039a rename check() to checkForCycles() 2016-11-18 08:40:49 +01:00
Uwe Steinmann
3459f18c72 add check for cycles in workflow 2016-11-18 08:38:46 +01:00
Uwe Steinmann
c5a67874cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:27:18 +01:00
Uwe Steinmann
046f33f2e1 validate() is less strict on multi value attributes
if the attribute has just one value the leading separator can be
omitted
2016-11-14 11:26:26 +01:00
Uwe Steinmann
a8f5892562 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:11:11 +01:00
Uwe Steinmann
7d7bff7b22 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-14 11:11:00 +01:00
Uwe Steinmann
38cdbe04d2 add notes 2016-11-14 11:07:03 +01:00
Uwe Steinmann
a1f6bd9a7d getAttributeValue() checks if value starts with seperator 2016-11-14 11:05:57 +01:00
Uwe Steinmann
530d75fdf0 getValueAsArray() checks if value starts with separator
new funtion parseValue()
2016-11-14 11:04:57 +01:00
Uwe Steinmann
106f849e82 minor documentation fix 2016-11-11 16:20:10 +01:00
Uwe Steinmann
ba338191cb new version 5.1.2 2016-11-08 14:06:37 +01:00
Uwe Steinmann
ca76b64ba8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-08 12:00:44 +01:00
Uwe Steinmann
2ed68b22d2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-08 11:39:02 +01:00
Uwe Steinmann
b3571c360b new version 4.3.31 2016-11-08 11:27:28 +01:00
Uwe Steinmann
10a8b14eff take out search for reception 2016-11-04 20:28:22 +01:00
Uwe Steinmann
e5016cf4f1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-03 19:46:07 +01:00
Uwe Steinmann
f1f970b0e0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-02 18:13:18 +01:00
Uwe Steinmann
e92dc2498b start new version 4.3.31 2016-11-02 18:07:30 +01:00
Uwe Steinmann
6c3a9c6734 add method getTransitions() to class SeedDMS_Core_Workflow[Action|State] 2016-11-02 17:57:23 +01:00
Uwe Steinmann
758ce0a24d validate() returns early if error was found 2016-10-27 17:47:47 +02:00
Uwe Steinmann
cc387a1f52 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 09:39:08 +02:00
Uwe Steinmann
0c1f318709 add note for 5.0.7 2016-10-27 09:18:01 +02:00
Uwe Steinmann
f616256509 set check for boolean and date values, set more validation errors 2016-10-27 09:17:14 +02:00
Uwe Steinmann
04cb20a814 define and initialize $_ttreceiptid 2016-10-26 19:25:35 +02:00
Uwe Steinmann
d3c12a84fd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-25 10:02:09 +02:00
Uwe Steinmann
11162ee2c5 add check for valid email address 2016-10-25 07:55:27 +02:00
Uwe Steinmann
622c6e134e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-16 08:29:58 +02:00
Uwe Steinmann
e69fb26dcc prepare for new version 4.3.30 2016-10-07 16:11:29 +02:00
Uwe Steinmann
754d256532 prepare for next version 5.0.7 2016-10-07 16:10:49 +02:00
Uwe Steinmann
e77bec4419 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-07 16:08:56 +02:00
Uwe Steinmann
0904130f0f new version 5.0.7 2016-10-07 16:08:00 +02:00
Uwe Steinmann
3ea94f4159 new version 4.3.30 2016-10-07 16:05:19 +02:00
Uwe Steinmann
9bd1c111c8 clean up valueset in addAttributeDefintion()
will remove all spaces from each value in the valueset
2016-10-07 11:38:04 +02:00
Uwe Steinmann
e0880e8ebd add new method getValueSetSeparator() 2016-10-07 11:37:35 +02:00
Uwe Steinmann
2cc90ccbaf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-06 15:29:11 +02:00
Uwe Steinmann
1541fc26ec Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-06 15:27:52 +02:00
Uwe Steinmann
f1bd74426e trim values in value set when retrieving it 2016-10-06 08:01:57 +02:00
Uwe Steinmann
500bbb552b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-05 16:09:53 +02:00
Uwe Steinmann
aa62818e90 make sure $success has a value in validation method 2016-10-05 16:03:47 +02:00
Uwe Steinmann
489654c622 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-05 13:35:23 +02:00
Uwe Steinmann
e71f24f910 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-05 13:34:40 +02:00
Uwe Steinmann
bbc6376bcf fix setReceiptByGrp() 2016-10-05 12:39:16 +02:00
Uwe Steinmann
f5dc479714 fix error in addIndReceipt 2016-10-05 11:15:50 +02:00
Uwe Steinmann
d41937735e remove method login(), update documentation 2016-10-05 09:14:03 +02:00
Uwe Steinmann
8f851e1a3a search if only reception status is given 2016-10-04 21:28:53 +02:00
Uwe Steinmann
88d7f252b6 create temp table ttreceiptid 2016-09-28 21:28:51 +02:00
Uwe Steinmann
3e777f987d search for each reception status (no action, rejected, acknowledged) 2016-09-28 21:28:01 +02:00
Uwe Steinmann
be9f987342 search for documents with missing receptions 2016-09-28 20:22:16 +02:00
Uwe Steinmann
10f01c0fc6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-16 11:29:06 +02:00
Uwe Steinmann
9fca3c0302 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-16 11:28:47 +02:00
Uwe Steinmann
01b6de8428 add getWorkflow() 2016-09-16 11:20:32 +02:00
Uwe Steinmann
a79652e824 add note for 4.3.29 2016-09-16 11:19:40 +02:00
Uwe Steinmann
53a277bb2b add method rewriteWorkflowLog() 2016-09-16 11:18:47 +02:00
Uwe Steinmann
40e97f7363 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-15 17:04:28 +02:00
Uwe Steinmann
6e7be7c751 another note for 4.3.29 2016-09-15 14:04:00 +02:00
Uwe Steinmann
a5651d3ce6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-15 14:02:59 +02:00
Uwe Steinmann
4ccdcac7df rewrite[Review|Approval]Log() copies file 2016-09-15 11:02:40 +02:00
Uwe Steinmann
74d785623e add note 2016-09-07 16:49:28 +02:00
Uwe Steinmann
f2eac265f9 force reload of workflow transitions after adding new transition 2016-09-07 16:48:05 +02:00