Commit Graph

133 Commits

Author SHA1 Message Date
Uwe Steinmann
5d083993df use unlink() to delete js files in cache, because rm can fail for a large number of files 2024-09-18 09:23:15 +02:00
Uwe Steinmann
2fe99c2905 attributes of type user, group, document, folder are now an object 2024-03-25 14:18:36 +01:00
Uwe Steinmann
c2a4c76f3f use DIRECTORY_SEPARATOR when building path to cache dir 2023-09-14 12:10:12 +02:00
Uwe Steinmann
b7d029475d move most of the code in op/* into new controller 2023-06-18 13:59:23 +02:00
Uwe Steinmann
bad3799d62 make _finalize because it might be called from extensions 2023-05-08 17:59:31 +02:00
Uwe Steinmann
cf75d8a7cc move much of code after success full auth in __finalize() 2023-05-06 07:18:51 +02:00
Uwe Steinmann
3dfcb8d581 do not reindex document imediately 2023-04-28 18:39:20 +02: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
b01dd7655c separate cache by png, txt, and pdf 2023-01-05 15:09:25 +01:00
Uwe Steinmann
f7ebe88822 add authentication service 2022-11-28 21:40:42 +01:00
Uwe Steinmann
53389d9054 do cookie handling and session update only if logged in via web page 2022-11-24 12:38:59 +01:00
Uwe Steinmann
2e4b19e4ef fix counting of login failures if both ldap and db authentication is done 2022-11-17 17:43:55 +01:00
Uwe Steinmann
4aa38182db convert attribute of type date into format yyyy-mm-dd 2022-09-20 08:24:27 +02:00
Uwe Steinmann
877a94c37d return err msg if attribute has not enough values 2022-09-20 08:23:52 +02:00
Uwe Steinmann
12675426e6 return false if attribute has not enough attribute values 2022-09-20 08:23:04 +02:00
Uwe Steinmann
fc68b025ef add foldmarks 2022-09-14 14:24:33 +02:00
Uwe Steinmann
d3294518ad check if content file exists 2022-09-08 16:43:29 +02:00
Uwe Steinmann
b54eb4dc61 return true in case of succees 2022-08-09 15:53:05 +02:00
Uwe Steinmann
e31c532c68 get rid of old code, use actions for 'version' and 'file' 2022-08-05 13:32:46 +02:00
Uwe Steinmann
59d24bde03 split run() into seperate methods() 2022-08-01 12:11:10 +02:00
Uwe Steinmann
9a0992751d fix parameters for validate() 2022-07-27 09:37:58 +02:00
Uwe Steinmann
c21467a24d pass flag $new=true to validate() 2022-07-27 09:32:59 +02:00
Uwe Steinmann
1f6a509876 set flag $new when calling validate() 2022-07-27 09:24:59 +02:00
Uwe Steinmann
5c4ae08b4a sync with RemoveFolder 2022-07-08 13:17:02 +02:00
Uwe Steinmann
be2ed2f061 fix some comments and variable names 2022-07-08 13:16:40 +02:00
Uwe Steinmann
4762b06741 fix validating custom attribute of type 'date' 2022-06-07 17:43:59 +02:00
Uwe Steinmann
8052b76165 set ETag 2022-02-25 19:14:54 +01:00
Uwe Steinmann
898943dd6e add new conversion manager and services 2021-10-06 15:03:03 +02:00
Uwe Steinmann
4ad5628833 return better error msg if regex is invalid 2021-09-16 17:11:42 +02:00
Uwe Steinmann
42f2ce31cf check if hooks return false (but not action is taken) 2021-07-08 14:19:36 +02:00
Uwe Steinmann
7406ad6297 check if guest user actually exists 2021-05-27 12:56:31 +02:00
Uwe Steinmann
d647b72463 remove preview images before deleting document 2021-05-01 12:47:04 +02:00
Uwe Steinmann
756b38a067 do not declare callback function in run(), uses static method instead 2021-05-01 12:46:29 +02:00
Uwe Steinmann
e328c3c04e remove old document/folder from index before adding a new one 2021-01-08 10:07:12 +01:00
Uwe Steinmann
8b2e8e0c0d Content-Length is now set in sendFile() 2020-12-23 06:21:24 +01:00
Uwe Steinmann
d9fa867582 add support for configurable date format 2020-12-17 13:41:00 +01:00
Uwe Steinmann
5261cce10c fix syntax error 2020-12-15 10:03:28 +01:00
Uwe Steinmann
6e46e95702 pass current object and $new to validate() 2020-12-14 18:46:38 +01:00
Uwe Steinmann
5fdf6f460e pass $new=true to $attrdef->validate() 2020-12-14 18:17:19 +01:00
Uwe Steinmann
416568f1c4 fix indexing new folder 2020-12-14 08:02:02 +01:00
Uwe Steinmann
2d2375729e get fulltextservice 2020-12-14 07:58:34 +01:00
Uwe Steinmann
8bc8b3ae13 call postAddSubfolder, add folder to fulltext index 2020-12-14 07:56:15 +01:00
Uwe Steinmann
f18ae4ff2d update fulltext index 2020-12-14 07:53:29 +01:00
Uwe Steinmann
a3d92f5b72 return error if postAddDocument fails 2020-12-14 07:52:39 +01:00
Uwe Steinmann
e91dd1c09c call hoock postEditDocument even after hook editDocument 2020-12-14 07:51:51 +01:00
Uwe Steinmann
44daf8cc10 remove folders from fulltext index 2020-12-14 07:08:14 +01:00
Uwe Steinmann
19bb70af40 reindex document after editing it 2020-12-10 13:47:00 +01:00
Uwe Steinmann
4b4595181b move preview of attachments into controller 2020-12-09 19:54:31 +01:00
Uwe Steinmann
768ea3544c theme in configuration can override theme of each user 2020-11-09 15:14:09 +01:00
Uwe Steinmann
4bdb3c7061 put fulltext search into central service 2020-09-29 16:42:09 +02:00