Commit Graph

7314 Commits

Author SHA1 Message Date
Uwe Steinmann
851e81a9b9 check if login != '' in setLogin() 2021-09-18 17:51:17 +02:00
Uwe Steinmann
578aa30bc5 better checking of passed arguments 2021-09-18 17:50:32 +02:00
Uwe Steinmann
e765737d93 trim name passed to various methods 2021-09-18 17:49:26 +02:00
Uwe Steinmann
a3e6373673 createDump() has moved into database class and now expects a file pointer 2021-09-17 19:03:14 +02:00
Uwe Steinmann
a3965b8299 min version of php is 7.3 2021-09-17 19:02:53 +02:00
Uwe Steinmann
90aac2f1ad new method createDump() which was in SeedDMS_Core_DMS 2021-09-17 19:00:57 +02:00
Uwe Steinmann
2789e017eb check function pass to setCallback() and addCallback() is callable, remove createDump() 2021-09-17 19:00:06 +02:00
Uwe Steinmann
59c16b3ce4 trim name passed to addDocumentCategory() and check if != '' 2021-09-17 18:59:06 +02:00
Uwe Steinmann
3ed0854e13 check if id passed to getDocumentCategory() is < 1 2021-09-17 18:58:29 +02:00
Uwe Steinmann
e809297cfd getAllUserKeywordCategories() calls getAllKeywordCategories(), better checking of parameters pass to addDocumentCategory() 2021-09-17 18:31:19 +02:00
Uwe Steinmann
2ee30ccd5b ensure user ids passed to getAllKeywordCategories() are all integers 2021-09-17 18:29:33 +02:00
Uwe Steinmann
7d7deeb313 check if id passed to getKeywordCategory() is greater 0 2021-09-17 18:28:40 +02:00
Uwe Steinmann
e06cd59f6c fix wrong spell callback name 'onPostAddUser' 2021-09-17 18:28:01 +02:00
Uwe Steinmann
a39355f2ed ensure $logicalmode in search() is either 'OR' or 'AND' 2021-09-17 18:27:16 +02:00
Uwe Steinmann
31290fbcf7 document meaning of 5 in $seachin passed to search() 2021-09-17 18:26:11 +02:00
Uwe Steinmann
9687c8f081 check if user passed to setUser() is a real user 2021-09-17 18:25:23 +02:00
Uwe Steinmann
0cd4c9b727 check if the folder set by setRootFolderID() actually exists 2021-09-17 18:24:32 +02:00
Uwe Steinmann
ffd5cd9a7b use upper case in sql statements for reserved words 2021-09-17 18:23:25 +02:00
Uwe Steinmann
9309497e75 init $user to null in constructor 2021-09-17 18:22:35 +02:00
Uwe Steinmann
f9afc08355 add more documentation 2021-09-17 18:21:57 +02:00
Uwe Steinmann
4ad5628833 return better error msg if regex is invalid 2021-09-16 17:11:42 +02:00
Uwe Steinmann
56a352caca add placeholder with example for regex 2021-09-16 17:11:14 +02:00
Uwe Steinmann
16da190e06 setRegex() checks regex only if not '' 2021-09-16 17:10:41 +02:00
Uwe Steinmann
f1db74929c pass sortusersinlist of view 2021-09-16 16:25:36 +02:00
Uwe Steinmann
0d37021f6d no need to check isHidden()=='1' anymore, isHidden() returns a bool 2021-09-16 16:21:58 +02:00
Uwe Steinmann
5e112fb8f3 set email of admin to info@seeddms.org, fix inserts of sqlite 2021-09-16 16:20:57 +02:00
Uwe Steinmann
c13756ac02 do not call $dms->setEnableConverting() and setViewOnlineFileTypes() 2021-09-16 16:19:19 +02:00
Uwe Steinmann
a7e2ec7b01 ensure isHidden and isDisabled is a boolean 2021-09-16 16:18:26 +02:00
Uwe Steinmann
adba550a63 minor simplification of sql statement 2021-09-16 16:17:24 +02:00
Uwe Steinmann
1d031e44a2 return null not false if getInstanceByName() didn't find a folder 2021-09-16 16:16:21 +02:00
Uwe Steinmann
95b4bb9d22 init value set, separator, trim value set in setValue() 2021-09-16 16:14:51 +02:00
Uwe Steinmann
4aa4556df8 add more documentation 2021-09-16 16:14:21 +02:00
Uwe Steinmann
32dda4b3e9 return ',' as separator for most attr types, if value map is not set 2021-09-16 16:12:54 +02:00
Uwe Steinmann
c50be6d215 init separator and validation error in constructor 2021-09-16 16:12:27 +02:00
Uwe Steinmann
ffe4b50c7f many value validation improvements, use constants for validation errors 2021-09-16 16:11:13 +02:00
Uwe Steinmann
cd1800c19d add docs for var $separator 2021-09-16 16:09:18 +02:00
Uwe Steinmann
90074c3947 fix get value map separator 2021-09-16 16:07:31 +02:00
Uwe Steinmann
b0d13f9518 replace array_search by in_array, makeTimestamp() returns an error if days > max days of month 2021-09-16 16:05:04 +02:00
Uwe Steinmann
ad52fffd21 set file format to unix, fix indenting of comments 2021-09-16 16:02:16 +02:00
Uwe Steinmann
b111c1428e remove old database file unused for a long time 2021-09-15 21:49:44 +02:00
Uwe Steinmann
9334e1a6f2 make all class variables of SeedDMS_Core_User protected 2021-09-13 10:15:33 +02:00
Uwe Steinmann
fe71cf92b3 move old tests out of the way 2021-09-13 09:09:41 +02:00
Uwe Steinmann
84887e3b18 some clean ups, add more documentation 2021-09-10 09:37:07 +02:00
Uwe Steinmann
da0f5d3053 more settings to disable import and download of extensions 2021-09-09 11:42:38 +02:00
Uwe Steinmann
9f618c5437 remove titleDisplayHack configuration 2021-09-09 09:57:00 +02:00
Uwe Steinmann
40f3cf35c9 use formField() instead of plain html for select menus 2021-09-09 08:19:04 +02:00
Uwe Steinmann
c376e352b5 add attribute 'for' to label in formField() 2021-09-09 08:17:52 +02:00
Uwe Steinmann
4a5426a180 fix indention 2021-09-09 08:17:28 +02:00
Uwe Steinmann
fc19df6b71 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-09-06 16:33:13 +02:00
Uwe Steinmann
f5347e6b04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-09-06 16:32:59 +02:00