Commit Graph

882 Commits

Author SHA1 Message Date
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
Uwe Steinmann
8c3857c6e2 fix indenting of lines 2021-09-30 07:01:22 +02:00
Uwe Steinmann
7e17ea145c set strict_types 2021-09-29 17:24:30 +02:00
Uwe Steinmann
2b1f637e9c adding a review returns the log id not 0 2021-09-29 17:23:59 +02:00
Uwe Steinmann
989572e069 return false not -1 if sql fails 2021-09-29 17:23:03 +02:00
Uwe Steinmann
b9fb7e2585 fix indenting 2021-09-29 17:21:58 +02:00
Uwe Steinmann
335c2ffee5 more documentation, better parameter checking, return false is sql fails 2021-09-29 17:21:19 +02:00
Uwe Steinmann
7366644d19 ensure strict types 2021-09-29 17:16:33 +02:00
Uwe Steinmann
c8c79175bd order review log by id desc 2021-09-29 14:58:55 +02:00
Uwe Steinmann
43e98643ee verifyStatus() returns new status (or old status if not changed) 2021-09-29 14:55:55 +02:00
Uwe Steinmann
fbe091eaf6 minor fix in method documentation 2021-09-29 14:54:10 +02:00
Uwe Steinmann
1e451529b8 add method dropTemporaryTable() 2021-09-29 14:53:38 +02:00
Uwe Steinmann
8cd08a6f08 fix recreation of temp. table if requested
table was just emptied by not removed
2021-09-29 14:52:22 +02:00
Uwe Steinmann
dc48e5da2c get[Review|Approval]Status takes ttreviewid|ttapproveid into account 2021-09-29 14:50:35 +02:00
Uwe Steinmann
007e3faa0a various minor changes ported back from SeedDMS 6 2021-09-28 16:20:33 +02:00
Uwe Steinmann
b8763822d0 init possible values of attribute in getStatistic() 2021-09-28 16:19:25 +02:00
Uwe Steinmann
ff0a08c6a3 remove inc.DBAccess.php and add tests to package 2021-09-27 15:55:52 +02:00
Uwe Steinmann
cf4f49e57a more changes in 5.1.24 2021-09-27 10:18:33 +02:00
Uwe Steinmann
28ddd4b5b2 check if passed user is a valid user in setOwner() 2021-09-27 10:13:46 +02:00
Uwe Steinmann
378377780e trim name and check if not empty in setName() 2021-09-27 10:13:00 +02:00
Uwe Steinmann
e36f6ee15c trim email, commen, language, theme before saving in database 2021-09-27 10:12:08 +02:00
Uwe Steinmann
3101d6d952 trim name in setName() 2021-09-27 10:09:42 +02:00
Uwe Steinmann
7a5123aa6c trim name in setName() 2021-09-27 10:09:18 +02:00
Uwe Steinmann
88e0dcc58d check if passed id > 0 in getWorkflow(), getWorkflowAction(), getWorkflowState() 2021-09-27 10:08:20 +02:00
Uwe Steinmann
79bcdb6086 getting category or attributedef. returns null not false if none was found 2021-09-27 10:07:19 +02:00
Uwe Steinmann
84ffa71d24 use upper case for all sql keywords in sql statements 2021-09-27 10:06:07 +02:00
Uwe Steinmann
a002a23c9b do not dump table sqlite_sequence 2021-09-24 10:23:50 +02:00
Uwe Steinmann
8c3c49e3b5 add method useViews() to turn on/off the use of views 2021-09-24 10:23:11 +02:00
Uwe Steinmann
9d926fb55c better documentation of getAccessMode() 2021-09-24 10:22:28 +02:00
Uwe Steinmann
959c75ff79 check parameter $mode of addAccess() 2021-09-24 10:21:32 +02:00