Commit Graph

200 Commits

Author SHA1 Message Date
Uwe Steinmann
cf786e749a fix setting role of user when creating a new user 2024-04-23 12:38:03 +02:00
Uwe Steinmann
ceaa62f16c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-23 11:56:11 +01:00
Uwe Steinmann
935c9557f9 getMandatoryReviewers() and getMandatoryApprovers() require 3 params 2024-03-15 07:08:28 +01:00
Uwe Steinmann
ddfe87a82c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-19 09:32:14 +01:00
Uwe Steinmann
9050f8b374 remove session when logging out 2023-12-19 09:31:18 +01:00
Uwe Steinmann
98f5cee2eb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-18 14:36:12 +01:00
Uwe Steinmann
ebd11bdaf2 fix getting mandatory reviewers for document in upload_document 2023-12-18 14:35:39 +01:00
Uwe Steinmann
ac656d4da0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-15 11:00:16 +01:00
Uwe Steinmann
08415039ca add name of attribute def. in error msg when setting an attribute 2023-12-13 08:24:30 +01:00
Uwe Steinmann
1ac232476a simplified removeDocumentCategory 2023-12-13 08:23:58 +01:00
Uwe Steinmann
cab5f5bb2e __getDocumentData() sets categories 2023-12-13 08:23:19 +01:00
Uwe Steinmann
03de004b30 fix calling changeGroupMembership() 2023-11-30 17:02:51 +01:00
Uwe Steinmann
576b866b7f fix return code of changeGroupMembership() if no user id is passed 2023-11-30 17:02:28 +01:00
Uwe Steinmann
b131c63dd7 fix error msg when creating a group without passing a name 2023-11-30 17:01:16 +01:00
Uwe Steinmann
1133d65544 new method to delete group 2023-11-30 17:00:18 +01:00
Uwe Steinmann
dbb9381573 use controller when adding a new document 2023-11-30 16:59:00 +01:00
Uwe Steinmann
1f92a47c30 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-04 12:33:03 +02:00
Uwe Steinmann
99fe2244fb return message and not just status 2023-04-04 12:31:20 +02:00
Uwe Steinmann
173ecb00b3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-31 12:01:56 +02:00
Uwe Steinmann
7790f483f0 no need to create notification service a second time 2023-03-31 12:00:56 +02:00
Uwe Steinmann
db5b242cbc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-15 11:13:46 +01:00
Uwe Steinmann
782e4c2044 include Log.php early and use require_once 2023-03-15 11:13:14 +01:00
Uwe Steinmann
c56a92b395 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-22 19:15:32 +01:00
Uwe Steinmann
5c985f32b1 do not include SeedDMS/Preview.php anymore because it is included in inc.FulltextInit.php already 2023-01-22 19:15:11 +01:00
Uwe Steinmann
f0a3d7d60c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 09:37:30 +01:00
Uwe Steinmann
0a3f8dd180 add endpoint 'version', send notification after document or content was added 2023-01-19 09:36:46 +01:00
Uwe Steinmann
1506cef2ab Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 07:10:36 +01:00
Uwe Steinmann
b6a52ee4de _getDocumentsData returns filetype and origfilename 2023-01-19 07:07:36 +01:00
Uwe Steinmann
2f868c4f44 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-03 16:38:57 +01:00
Uwe Steinmann
7202d85e55 fix indention of lines 2023-01-01 09:23:04 +01:00
Uwe Steinmann
5694bf9501 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-12-10 14:23:43 +01:00
Uwe Steinmann
ecb0258186 fix filename of attachment 2022-12-08 14:48:10 +01:00
Uwe Steinmann
55df94a993 use authentication service 2022-11-29 17:34:29 +01:00
Uwe Steinmann
9e4eae8206 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-22 06:56:46 +01:00
Uwe Steinmann
0073b00c5e fix calling changeFolderAccess() 2022-11-21 16:33:02 +01:00
Uwe Steinmann
3b74689c9c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-10 08:29:17 +01:00
Uwe Steinmann
25c2d03190 add hook to add additional routes 2022-11-10 08:27:00 +01:00
Uwe Steinmann
ebf7fb7591 change json field 'version-attributes' to 'version_attributes' 2022-11-10 08:24:52 +01:00
Uwe Steinmann
650339c519 return id of attribute as int 2022-11-10 08:24:07 +01:00
Uwe Steinmann
f0cd33d110 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-09 12:20:32 +01:00
Uwe Steinmann
f36735ef81 pass mask=PEAR_LOG_DEBUG to getLogger() 2022-11-08 20:07:59 +01:00
Uwe Steinmann
6f4ec80ad6 add new routes for changing attributes 2022-11-07 12:20:30 +01:00
Uwe Steinmann
31e47d4fbe do more logging during authentication 2022-11-07 12:19:58 +01:00
Uwe Steinmann
196fa91a27 add method setDocumentContentAttribute() 2022-11-07 12:19:07 +01:00
Uwe Steinmann
6d13883e8f add logging and fix status codes in setDocumentAttribute() 2022-11-07 12:18:26 +01:00
Uwe Steinmann
8484d38974 add new method getDocumentContentAttributes() 2022-11-07 12:17:03 +01:00
Uwe Steinmann
b068c385e7 add new method __getAttributesData() 2022-11-07 12:16:10 +01:00
Uwe Steinmann
a5802ad3e8 add route /document/{id}/attribute/{attrdefid} 2022-11-06 20:03:58 +01:00
Uwe Steinmann
0e1b00d0b5 use controller to create subfolder, send notifications 2022-11-06 17:02:38 +01:00
Uwe Steinmann
257c23aead fix indenting of lines 2022-11-06 16:38:56 +01:00
Uwe Steinmann
13099d67aa add initial support for logging and notifications 2022-11-05 16:24:39 +01:00
Uwe Steinmann
365661afb8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-16 17:06:45 +02:00
Uwe Steinmann
4f1bb55a89 use '/folder' instead of '/folder/' 2022-08-16 17:06:07 +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
3388a14793 fix line indenting 2022-05-09 15:26:45 +02:00
Uwe Steinmann
f93af56f52 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-12 19:48:56 +01:00
Uwe Steinmann
9889bbe639 make role id an integer 2022-01-20 07:44:31 +01:00
Uwe Steinmann
b7315c501f get id from args in getFolderParent() 2022-01-16 10:58:19 +01:00
Uwe Steinmann
3f0cbc50bd use conversion manager 2021-12-29 12:06:50 +01:00
Uwe Steinmann
4ef64199ab Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-26 10:05:24 +01:00
Uwe Steinmann
248f11653a allo echo without authentication 2021-11-26 09:43:06 +01:00
Uwe Steinmann
0c1a795113 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-28 10:33:44 +02:00
Uwe Steinmann
6d4f00a137 fix echo test 2021-09-27 10:18:16 +02:00
Uwe Steinmann
4a23c1df86 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-30 16:13:30 +02:00
Uwe Steinmann
8be856e688 check for quota and duplicate content when uploading new doc or version 2021-04-30 14:49:02 +02:00
Uwe Steinmann
104952d644 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-01 12:42:48 +01:00
Uwe Steinmann
5c9ddac11d pass params to $dms->search() by array 2020-11-30 15:40:33 +01:00
Uwe Steinmann
6ed79ac5dc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-28 13:57:05 +01:00
Uwe Steinmann
0159208e20 add new method setDocumentOwner(), owner can be set when uploadig document 2020-10-26 15:26:32 +01:00
Uwe Steinmann
dc8c8670db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-06 14:24:57 +02:00
Uwe Steinmann
fd9bc77fef add new method addDocumentCategory 2020-10-06 14:07:21 +02:00
Uwe Steinmann
e3bb44d504 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-10 07:34:14 +02:00
Uwe Steinmann
b4944cfc64 forgot to fetch settings from container 2020-08-07 17:51:55 +02:00
Uwe Steinmann
e64ef5fae3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-29 08:23:06 +02:00
Uwe Steinmann
b19db06572 fix constant auth failure even if logged in 2020-06-29 08:22:29 +02:00
Uwe Steinmann
395d71b705 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-24 21:23:08 +02:00
Uwe Steinmann
7748b112ef major rework, put authentication into slim middleware, fully migrate to slim 2020-06-24 16:15:32 +02:00
Uwe Steinmann
5a3e2578e1 better error checking and fixed some return values 2020-06-23 10:01:41 +02:00
Uwe Steinmann
d56812f66d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-19 08:09:30 +02:00
Uwe Steinmann
dc210cf59c clean up code, better error checking, unified http return codes 2020-06-19 08:08:23 +02:00
Uwe Steinmann
5dcafd65ce add support for cors 2020-06-17 11:18:15 +02:00
Uwe Steinmann
d9143ff271 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-16 12:14:03 +02:00
Uwe Steinmann
b97387ecb1 set http status 403 if user is not admin, set status 500 for some other errors 2020-06-16 12:12:50 +02:00
Uwe Steinmann
d1f47f9320 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-22 17:22:24 +02:00
Uwe Steinmann
ea46cce2df fix creation of sub folders (Closes: #469) 2020-04-21 17:23:14 +02:00
Uwe Steinmann
48ee318921 fix setting and retrieving role of user 2020-03-24 09:30:26 +01:00
Uwe Steinmann
4271c40e91 expand tabs 2019-07-16 20:17:23 +02:00
Uwe Steinmann
38413b671f added check for duplicate folder and document names if turned on 2019-07-01 11:49:17 +02:00
Uwe Steinmann
51c9236c7c return version of new content after upload 2019-02-27 11:45:08 +01:00
Uwe Steinmann
b3bdf6e09d add version_comment and version_date to document data 2019-02-21 14:30:12 +01:00
Uwe Steinmann
cc790dd614 fix php warning 2019-02-15 10:39:45 +01:00
Uwe Steinmann
bcefbca382 check for more parameters doSearch() 2019-02-15 08:31:47 +01:00
Uwe Steinmann
6e2fa5022a add addDocumentLink() 2019-02-12 21:37:21 +01:00
Uwe Steinmann
32c09408d4 check if param 'limit' in doSearchByAttr() is set, before using it 2019-02-12 18:42:52 +01:00
Uwe Steinmann
f89d8bf400 sequence of new folder can be passed 2019-02-12 11:57:11 +01:00
Uwe Steinmann
8f2f81ee03 categories, attributes, comment, sequence, etc. can be set when uploading a new document 2019-02-11 14:11:34 +01:00
Uwe Steinmann
8e5e3ec4ea fix line indenting, propperly get query parameters in uploadDocumentPut 2019-01-22 13:08:20 +01:00
Uwe Steinmann
6b11e9cb87 support for Slim v3 2019-01-09 09:19:46 +01:00
Uwe Steinmann
4e87b9612d use new Slim version 2018-12-18 17:57:59 +01:00
Uwe Steinmann
86f73947b0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-07-20 07:32:58 +02:00