Commit Graph

1248 Commits

Author SHA1 Message Date
Uwe Steinmann
c981129a4b sort by 'i' or 'n' is like 'ia' or 'na' 2022-08-31 20:32:32 +02:00
Uwe Steinmann
f2a211b1bf allow to search for multiple attribute values 2022-08-31 20:31:59 +02:00
Uwe Steinmann
16cdb8a323 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-06 14:01:30 +02:00
Uwe Steinmann
dd8f1b7a8e fix SeedDMS_Core_DMS::addAttributeDefinition() when objtype is 0 2022-07-06 09:15:12 +02:00
Uwe Steinmann
d991978144 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-28 17:42:10 +02:00
Uwe Steinmann
65801f1181 start version 5.1.27 2022-06-28 17:08:45 +02:00
Uwe Steinmann
38dd38d7c6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-02 17:37:21 +02:00
Uwe Steinmann
dc4c26916b add request uri to start line of sql log 2022-06-01 15:01:38 +02:00
Uwe Steinmann
af93db836e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-20 12:31:25 +02:00
Uwe Steinmann
f718f565ff SeedDMS_Core_DMS::getAllAttributeDefinitions() has second parameter to filter attributes by type 2022-05-20 12:03:47 +02:00
Uwe Steinmann
1b15008870 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-19 19:26:19 +02:00
Uwe Steinmann
55126a689b add optional parameter $op to SeedDMS_Core_AttributeDefinition::getObjects(), SeedDMS_Core_AttributeDefinition::getObjects() will not filter by value if null is passed 2022-05-19 19:23:10 +02:00
Uwe Steinmann
dfedd201dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-10 18:33:41 +02:00
Uwe Steinmann
92ce4ff1bc add more types to getStatisticalData() 2022-05-09 15:22:35 +02:00
Uwe Steinmann
6fd868c5a7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-09 10:03:03 +02:00
Uwe Steinmann
70114bbd30 if documents are paѕsed to __removeFromProcesses(), only the latest version will be updated 2022-05-09 09:54:33 +02:00
Uwe Steinmann
c9e93c329c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-06 16:39:02 +02:00
Uwe Steinmann
5950be6292 backport __removeFromProcesses from 6.0.x 2022-05-06 09:52:00 +02:00
Uwe Steinmann
87fe831973 removeFromProcesses() will not touch documents for which the new user does not have at least read access 2022-05-05 11:03:28 +02:00
Uwe Steinmann
17d1f2bffe fix checks in __removeFromProcesses() 2022-05-03 16:45:21 +02:00
Uwe Steinmann
7c1c81f7fc addRevisor and addRecipient return id of log entry 2022-05-03 16:44:43 +02:00
Uwe Steinmann
2014eae334 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-28 16:03:00 +02:00
Uwe Steinmann
8b4fc459ab fix validating multi value attributes 2022-04-28 13:29:44 +02:00
Uwe Steinmann
24146db478 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-25 10:19:40 +02:00
Uwe Steinmann
b9a993c2b3 start new version 5.1.26 2022-04-25 10:12:37 +02:00
Uwe Steinmann
f8ac9090fb add optional parameter to getWorkflow() to retrieve data from tblWorkflowDocumentContent 2022-04-06 19:54:46 +02:00
Uwe Steinmann
1e8da679b5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-04 09:36:00 +01:00
Uwe Steinmann
37d49474fd fix searching for document content with a custom attribute having a value set 2022-03-04 08:14:20 +01:00
Uwe Steinmann
10876c6495 check if attribute is a string before using it in an sql statement 2022-03-03 12:45:49 +01:00
Uwe Steinmann
a156932843 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-03 09:04:47 +01:00
Uwe Steinmann
e107139f1b use backticks in sql statement 2022-03-02 07:42:31 +01:00
Uwe Steinmann
c218f9ab29 fix line indenting 2022-03-02 07:42:15 +01:00
Uwe Steinmann
c355fecc8b set _public to a bool value, used to be int 2022-03-02 07:37:58 +01:00
Uwe Steinmann
bc0e03c6c6 set default value of setDate() to null 2022-03-02 07:37:20 +01:00
Uwe Steinmann
313f518548 add isType() for links and files, set _public to a bool value 2022-03-02 07:36:16 +01:00
Uwe Steinmann
54fb986a59 rename getApproversList() to __getApproversList(), it's deprecated 2022-03-02 07:35:24 +01:00
Uwe Steinmann
1e5930fb98 fix line indenting 2022-03-02 07:34:32 +01:00
Uwe Steinmann
fc71efe437 enhance description of addAccess() 2022-03-02 07:34:12 +01:00
Uwe Steinmann
c810e99a6b use backticks in sql statement 2022-03-02 07:32:05 +01:00
Uwe Steinmann
fc44fdf537 fix second parameter passed to setDefaultAccess() 2022-03-02 07:31:25 +01:00
Uwe Steinmann
0652faf7c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-26 14:16:53 +01:00
Uwe Steinmann
2d6c1d635b add onPostRemoveAttribute callback 2022-02-26 14:15:06 +01:00
Uwe Steinmann
eca5f3608f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-25 18:38:09 +01:00
Uwe Steinmann
3ad44fac0b pass old value to onPostUpdateAttribute callback 2022-02-25 18:38:00 +01:00
Uwe Steinmann
dafa4813c1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-25 12:34:07 +01:00
Uwe Steinmann
c9fae356b3 add callbacks on onPostUpdateAttribute and onPostAddAttribute 2022-02-25 12:31:57 +01:00
Uwe Steinmann
673bc9ec7d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-21 16:02:48 +01:00
Uwe Steinmann
c945829b80 value for _inheritAccess are true or false 2022-02-21 13:26:57 +01:00
Uwe Steinmann
f095e252ad getWorkflowLog() will always return all log entries if document is not in a workflow 2022-02-21 11:05:22 +01:00
Uwe Steinmann
68bb7bcfaf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-21 08:55:01 +01:00
Uwe Steinmann
f9721da684 use SeedDMS_Core_File::fileExtension() in setFileType() 2022-02-21 08:52:59 +01:00
Uwe Steinmann
eb12465fb2 add SeedDMS_Core_File::fileExtension() 2022-02-21 08:52:46 +01:00
Uwe Steinmann
5b244db6a2 backport setFileType() from seeddms 6.0.x 2022-02-21 08:30:32 +01:00
Uwe Steinmann
663dc869f4 fix line indenting 2022-02-21 07:12:01 +01:00
Uwe Steinmann
535a0b1b67 fix line indenting 2022-02-21 07:10:28 +01:00
Uwe Steinmann
0f417a2d7b handle docs in workflow proppeerly in verifyStatus() 2022-02-21 07:10:08 +01:00
Uwe Steinmann
87ee71a1a1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-18 18:15:05 +01:00
Uwe Steinmann
ec1f99229e rename getLastWorkflowTransition() to getLastWorkflowLow(), returns a log even after the workflow was ended 2022-02-18 18:02:08 +01:00
Uwe Steinmann
cffad48b61 add method descrition for getWorkflowLog() 2022-02-18 18:01:35 +01:00
Uwe Steinmann
d91787bf44 check if !workflow instead of isset(workflow) 2022-02-18 18:00:50 +01:00
Uwe Steinmann
d805de5035 setHomeFolder returns true on success 2022-02-18 18:00:07 +01:00
Uwe Steinmann
cc5d7d1ecd search for document by name in root folder if requested 2022-02-18 17:58:39 +01:00
Uwe Steinmann
96933bb30d ensure setRole() is passed an object 2022-02-17 12:30:29 +01:00
Uwe Steinmann
b9c613ff83 handle role in addUser() propperly 2022-02-17 12:29:37 +01:00
Uwe Steinmann
b57dc78e2a replace checks isset(_workflow) with _workflow == null 2022-02-14 11:06:02 +01:00
Uwe Steinmann
3e63f1ffc0 init $ret in setStatus() 2022-02-11 10:56:14 +01:00
Uwe Steinmann
29a6882106 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-11 14:08:19 +01:00
Uwe Steinmann
5ff285c745 start new version 5.1.25 2021-12-11 14:00:22 +01:00
Uwe Steinmann
fa946be140 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-03 20:39:13 +01:00
Uwe Steinmann
897f6ce64b fix indenting of lines 2021-12-03 19:12:53 +01:00
Uwe Steinmann
31fda7e60e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-08 14:36:39 +01:00
Uwe Steinmann
a0566372f7 add sorting by id in search(), set default to unsorted 2021-11-08 12:25:06 +01:00
Uwe Steinmann
4e5fefa4ba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-04 17:07:36 +01:00
Uwe Steinmann
de003de613 fix indenting of lines 2021-11-04 17:04:47 +01:00
Uwe Steinmann
a830b18fc3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-06 15:19:14 +02:00
Uwe Steinmann
1a61a6ca8f fix recursive removal and copying of dirs 2021-10-04 20:26:03 +02:00
Uwe Steinmann
790eef7e84 handle special case size=1 in format_filesize() 2021-10-04 20:24:51 +02:00
Uwe Steinmann
7bac4e730e make fopen() silent in fileSize() 2021-10-04 20:24:02 +02:00
Uwe Steinmann
357c0c1bac fix error in moveFile() 2021-10-04 20:23:17 +02:00
Uwe Steinmann
9c5e5905c9 check if version exists and is not the latest version in removeVersion() 2021-10-04 20:22:21 +02:00
Uwe Steinmann
cd061e8c2f file is removed after cleaning up the database in _removeContent() 2021-10-04 20:21:41 +02:00
Uwe Steinmann
a0b95e8792 check if argument passed to setDefaultAccess() is in valid range 2021-10-04 20:20:45 +02:00
Uwe Steinmann
b5a6ea330b check if argument passed to setOwner() is a user 2021-10-04 20:20:08 +02:00
Uwe Steinmann
fb86b4330c check if passed argument to setFolder() is a folder 2021-10-04 20:17:21 +02:00
Uwe Steinmann
c4380583a9 set M_LOWEST_RIGHT and M_HIGHTEST_RIGHT 2021-10-04 19:13:47 +02:00
Uwe Steinmann
cd08883c55 fix line indenting 2021-10-02 07:34:44 +02:00
Uwe Steinmann
b5ef570ea5 fix method comment 2021-10-02 07:34:18 +02:00
Uwe Steinmann
4913607e84 addGrpReviewer() returns false on sql error 2021-10-02 07:33:37 +02:00
Uwe Steinmann
68a1500ea6 check if date passed to setStatus() is valid 2021-10-02 07:32:49 +02:00
Uwe Steinmann
9ad56c418d set if updateUser passed to setStatus() is a user 2021-10-02 07:31:44 +02:00
Uwe Steinmann
905b2aa621 format class method comment 2021-10-02 07:29:54 +02:00
Uwe Steinmann
0163159c84 new method setMimeType() 2021-10-02 07:29:15 +02:00
Uwe Steinmann
fbf86b0fe6 date passed to setDate() can be string with format Y-m-d H:i:s 2021-10-02 07:28:23 +02:00
Uwe Steinmann
bca394176e cast date to int in constructor of SeedDMS_Core_DocumentContent 2021-10-02 07:27:29 +02:00
Uwe Steinmann
a0d214eac2 add getInheritAccess() as a replacement for inheritsAccess() 2021-10-02 07:26:37 +02:00
Uwe Steinmann
228b891e3a do not clean notify list in setDefaultAccess() if rights are inherited 2021-10-02 07:25:48 +02:00
Uwe Steinmann
7ba418f25a use upper case for sql keywords 2021-10-02 07:24:59 +02:00
Uwe Steinmann
bae7e939a1 fix line indenting 2021-10-02 07:23:23 +02:00
Uwe Steinmann
0260b8dad9 init categories in getCategories() 2021-09-30 15:44:54 +02:00
Uwe Steinmann
1b1e60f88f setName() didn't work due to a copy&paste error 2021-09-30 15:44:08 +02:00