Commit Graph

686 Commits

Author SHA1 Message Date
Uwe Steinmann
42b97969b5 pass task and previewer to view 2021-04-27 19:35:35 +02:00
Uwe Steinmann
9565010cd0 pass AccessOperation to view 2021-04-18 19:39:37 +02:00
Uwe Steinmann
28480a8733 move 'new SeedDMS_AccessOperation' after document is known 2021-04-18 07:05:57 +02:00
Uwe Steinmann
a6ac5d546a include inc.DBInit.php 2021-04-18 07:05:10 +02:00
Uwe Steinmann
43567ac1d7 include missing inc.Utils.php 2021-04-18 07:04:15 +02:00
Uwe Steinmann
67ab1e23e5 ensure the encryption key is alwasy set 2021-04-06 11:15:47 +02:00
Uwe Steinmann
fad2020cfd add searching for last date of a document status 2021-03-15 16:08:51 +01:00
Uwe Steinmann
7c18872531 fix some php warning because of missing view variables 2021-03-14 14:11:14 +01:00
Uwe Steinmann
6ead3fe425 convert dates in custom attributes into propper format before searching 2021-03-12 10:06:54 +01:00
Uwe Steinmann
248d106852 pass more data to view, do not use $_GET in view anymore 2021-02-09 11:16:20 +01:00
Uwe Steinmann
e52d5b52b3 init vars for view to prevent lots of php warnings 2021-01-11 08:20:46 +01:00
Uwe Steinmann
73f136b41d total number of hits is returned in $searchresult['count'] 2020-12-21 15:48:58 +01:00
Uwe Steinmann
d339aad6ae init $limit and $total early, use $dms->getRootFolder() 2020-12-18 10:54:53 +01:00
Uwe Steinmann
4e0452265c call getRootFolder() instead of using _roofFolderId 2020-12-18 07:52:14 +01:00
Uwe Steinmann
924a125d88 remove old scripts for searching 2020-12-18 06:24:28 +01:00
Uwe Steinmann
7746fb72db replace rootFolderId with $dms->getHomeFolder() 2020-12-17 21:31:03 +01:00
Uwe Steinmann
14cf90a5bb pass start and root folder to fulltext search 2020-12-17 18:34:40 +01:00
Uwe Steinmann
c2783c6d70 fix calculating total of docs and folders 2020-12-15 21:39:10 +01:00
Uwe Steinmann
31e45022f1 fix checking if search result came from database or fulltext 2020-12-14 10:46:05 +01:00
Uwe Steinmann
7b4cad6aa9 use fulltext search if set as default or explixitly asked for 2020-12-13 09:37:38 +01:00
Uwe Steinmann
efed9f2b9c add support for indexing folders 2020-12-12 16:29:56 +01:00
Uwe Steinmann
e36a41eeae pass fulltextservice to view 2020-12-12 16:29:26 +01:00
Uwe Steinmann
d842b90f9e set showtree for view 2020-10-23 17:06:06 +02:00
Uwe Steinmann
6e653050c8 place new SeedDMS_AccessOperation() of document was get 2020-10-08 09:05:05 +02:00
Uwe Steinmann
0ebd044cac paging is done by fulltext engine 2020-09-29 16:42:10 +02:00
Uwe Steinmann
3191fa9310 also check if categoryids is set 2020-09-29 16:42:09 +02:00
Uwe Steinmann
d33eb59b4a categoryids has been replaced by category 2020-09-29 16:42:09 +02:00
Uwe Steinmann
1fda490bbe pass a config array to search engine, search returns hits and total count 2020-09-29 16:42:09 +02:00
Uwe Steinmann
4bdb3c7061 put fulltext search into central service 2020-09-29 16:42:09 +02:00
Uwe Steinmann
db1db1787c major update to make it look like the view document page, fixed preview 2020-09-17 10:51:37 +02:00
Uwe Steinmann
c4c77fc499 pass current logged in user to fulltext search in order to restrict hits on readable documents 2020-09-02 08:59:42 +02:00
Uwe Steinmann
23cf76aef2 fix ordering of folders in DocumentChooser and FolderChooser 2020-07-21 06:24:55 +02:00
Uwe Steinmann
dcb7a775eb show info about installed seeddms and php extensions 2020-06-12 15:02:29 +02:00
Uwe Steinmann
514002f877 import users from csv file 2020-06-09 21:07:47 +02:00
Uwe Steinmann
e2e69f8fec pass orderdir and orderby to view 2020-05-27 12:03:25 +02:00
Uwe Steinmann
36f3ac6ab5 set showtree for view 2020-05-22 16:35:49 +02:00
Uwe Steinmann
39a3e0dea3 obey maxUploadSize whenever a file is uploaded 2020-05-07 14:03:00 +02:00
Uwe Steinmann
c51bb143ad remove closing php tag 2020-04-20 08:25:00 +02:00
Uwe Steinmann
3efdac7197 construct SeedDMS_AccessOperation after document is known 2020-03-26 07:53:48 +01:00
Uwe Steinmann
bab648b988 check if index and indexconf is set 2020-03-24 06:46:22 +01:00
Uwe Steinmann
7fcc100ae7 support one page mode on TimeLine page 2020-03-10 17:10:19 +01:00
Uwe Steinmann
49bebebdae overhaul ManageNotify, support onepage mode, use standard output for documents and folders 2020-03-05 09:12:45 +01:00
Uwe Steinmann
0acc08178f support for onepage mode 2020-03-04 22:26:28 +01:00
Uwe Steinmann
6aa57ad2b1 set onepage mode in view 2020-03-04 22:24:32 +01:00
Uwe Steinmann
8a789800e1 fix some php warnings 2020-03-04 18:34:39 +01:00
Uwe Steinmann
13b7de9c60 support one page mode on search page 2020-02-28 09:48:43 +01:00
Uwe Steinmann
a424268514 click on related documents works in onepage mode 2020-02-28 08:28:58 +01:00
Uwe Steinmann
58bf7ab1b7 show only if debug mode is on 2020-02-27 17:58:42 +01:00
Uwe Steinmann
a5bf963bc5 add check for mismatch of fileType and mimeType
works only for some common mimetypes
2020-02-11 07:47:33 +01:00
Uwe Steinmann
74300082fc fix bug #462, pass showtree to ViewDocument 2020-01-20 11:53:38 +01:00
Uwe Steinmann
8ae2874367 do not use global var EXT_CONF anymore 2020-01-03 10:21:58 +01:00
Uwe Steinmann
1f8c5fe7c3 workflows can be turned off completely 2019-12-19 16:08:10 +01:00
Uwe Steinmann
c332e0393b add new config variable noDocumentFormFields
used for hiding some fields like comment, keywords, categories, ...
2019-12-19 09:03:59 +01:00
Uwe Steinmann
87d1df5d03 propperly check for passed parameter 'node', pass orderby to view 2019-11-26 11:20:46 +01:00
Uwe Steinmann
21e1efc147 set 'onepage' in view 2019-11-20 13:17:04 +01:00
Uwe Steinmann
4e0cf697cb set 'onepage' in view 2019-11-20 13:14:34 +01:00
Uwe Steinmann
3c26142744 onePageMode can be turned on/off 2019-10-28 12:06:41 +01:00
Uwe Steinmann
e9b896ecf1 fix errors related to new onepage mode 2019-10-21 09:32:07 +02:00
Uwe Steinmann
0205e8a08e create AccessOperation object 2019-10-18 12:55:03 +02:00
Uwe Steinmann
d1691190f2 pass parameter 'onepage' to view
used to enable/disable new behaviour with ajax request to update page
2019-09-11 17:40:38 +02:00
Uwe Steinmann
1d2b44a8d9 the subtree command from op.Ajax.php has been moved into the views 2019-08-08 09:32:42 +02:00
Uwe Steinmann
d449d2bcee use isType() for checking object type 2019-08-08 09:16:54 +02:00
Uwe Steinmann
ce420a78eb use backup dir for backup archives and sql dumps 2019-07-30 06:39:25 +02:00
Uwe Steinmann
cc89217884 include Extension.php and friends to prevent php warnings 2019-06-27 18:11:11 +02:00
Uwe Steinmann
cf6b852233 do not access $data if there is none 2019-06-27 14:18:39 +02:00
Uwe Steinmann
3ab6d050cd pass parameters to search() by array 2019-06-26 18:03:07 +02:00
Uwe Steinmann
e16a5dd46e fix typo in variable name 2019-06-26 13:37:16 +02:00
Uwe Steinmann
6d751b5437 allow orderby to be a string not just a char 2019-06-24 11:51:21 +02:00
Uwe Steinmann
5734d9808e do not echo error if no folder is set 2019-05-02 18:18:18 +02:00
Uwe Steinmann
1dfd36e79a fix moving documents on clipboard into the current folder 2019-05-01 12:43:36 +02:00
Uwe Steinmann
beba1d9727 fix typo in comment 2019-02-06 13:12:15 +01:00
Uwe Steinmann
dcb0a746a0 new parameter xsendfile 2019-01-18 13:07:39 +01:00
Uwe Steinmann
219a74e09a fix inclusion of files 2019-01-15 18:21:33 +01:00
Uwe Steinmann
c43bb06a3d fix inclusion of files 2019-01-15 18:19:20 +01:00
Uwe Steinmann
fcb60a6f21 fix inclusion of files 2019-01-15 18:16:30 +01:00
Uwe Steinmann
73e1df3ad8 make it work with slim notfound handler 2019-01-09 09:19:46 +01:00
Uwe Steinmann
72b1f5d24c recreate an index if opening it fails 2018-11-21 08:27:40 +01:00
Uwe Steinmann
d66a702295 fix various javascript errors 2018-11-16 20:29:31 +01:00
Uwe Steinmann
699a4f4bc4 use get instead of post when calling out/out.TriggerWorkflow.php 2018-11-16 11:41:43 +01:00
Uwe Steinmann
10fc10eb1c use configured preview commands instead of old defaults 2018-11-12 10:14:51 +01:00
Uwe Steinmann
75c2953f90 remove old directory with images 2018-10-11 11:31:09 +02:00
Uwe Steinmann
4038503fe2 remove old jump loader code 2018-10-11 09:44:09 +02:00
Uwe Steinmann
b82211a941 pass folder to view if set in url 2018-09-17 13:47:53 +02:00
Uwe Steinmann
fc019c553b pass msg in url to view 2018-09-05 07:08:07 +02:00
Uwe Steinmann
84e87715da add open search description 2018-07-13 15:25:33 +02:00
Uwe Steinmann
4209b1033a call ob_get_clean() before outputing image 2018-06-21 14:17:03 +02:00
Uwe Steinmann
3166cf9a56 set correct header for mimetype 2018-06-21 13:52:37 +02:00
Uwe Steinmann
655e83b0c1 pass $settings->_sortUsersInList to view 2018-06-21 09:29:28 +02:00
Uwe Steinmann
49816441cb set maxuploadsize which is needed if the fine-uploader is used 2018-05-04 14:51:32 +02:00
Uwe Steinmann
da3e359cd2 set showtree for view 2018-04-23 15:27:42 +02:00
Uwe Steinmann
bfc59dc90c use ErrorDlg view for error messages
this will also fix the js errors when the error page was shown
2018-04-06 16:34:01 +02:00
Uwe Steinmann
c539693288 fix name for log files 2018-04-03 10:57:29 +02:00
Uwe Steinmann
d017726984 count workflows to trigger if workflowmode='advanced' 2018-03-27 17:47:58 +02:00
Uwe Steinmann
d9c4964e0d add SeedDMS_AccessOperation() after $document is set 2018-03-26 10:18:37 +02:00
Uwe Steinmann
89e04299d0 pass extension name to view 2018-03-23 10:10:12 +01:00
Uwe Steinmann
16d9cb5c1e move code for downloading new extension list into controller 2018-03-21 13:39:38 +01:00
Uwe Steinmann
f9fc71eb40 check if converters are set at all (Closes #394) 2018-03-20 21:25:16 +01:00
Uwe Steinmann
dce83545b8 show changelog file of extensions 2018-03-16 11:19:12 +01:00
Uwe Steinmann
db3990b8b7 make repository for extensions configurable 2018-03-14 18:43:01 +01:00
Uwe Steinmann
4ac7fe0c07 set repository url in ext manager, force download of repos content 2018-03-14 13:11:35 +01:00
Uwe Steinmann
52fc4cbe69 add import from repository 2018-03-13 14:38:49 +01:00
Uwe Steinmann
b223344af9 set dms and user in controller
was previously taken from global variables
2018-03-12 18:34:17 +01:00
Uwe Steinmann
3a6dc48a38 remove code to pass strictformcheck to view 2018-02-21 15:40:03 +01:00
Uwe Steinmann
987025331d set default position of new documents/folders (Closes #381) 2018-02-07 08:43:46 +01:00
Uwe Steinmann
4e9d241108 include autoload.php instead of robthree classes 2018-02-05 15:12:18 +01:00
Uwe Steinmann
8a473031a6 create access object later 2018-02-05 14:18:47 +01:00
Uwe Steinmann
7892498d97 create view at beginning of file 2018-02-01 14:42:30 +01:00
Uwe Steinmann
fd3cef5407 fix text for error msgs 2018-01-09 15:35:08 +01:00
Uwe Steinmann
9e85efd72e set showtree for view 2017-12-15 09:33:17 +01:00
Uwe Steinmann
9a6786cc8d show only limited number of entries, fetch more when scrolling down 2017-12-14 09:39:43 +01:00
Uwe Steinmann
fe67f3c5ee Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-07 08:58:55 +01:00
Uwe Steinmann
49b1b83f01 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-07 08:58:44 +01:00
Uwe Steinmann
4cd5d9cf21 missing file causes error msg in webserver log
when ErrorDlg is called, the inclusion of js code (webrootjs and
footerjs) needs this file
2017-12-07 08:54:23 +01:00
Uwe Steinmann
8a26b51ff3 documents can be transfered to another user
include document links, attachments, locks
2017-12-05 18:38:06 +01:00
Uwe Steinmann
795b6c52e2 add scripts for modifying attachments 2017-12-05 08:26:40 +01:00
Uwe Steinmann
36b23b2bbc pass parameters for previewer 2017-12-04 15:24:00 +01:00
Uwe Steinmann
b52ed03cf9 fix error msg if group id isn't passed 2017-12-04 12:00:53 +01:00
Uwe Steinmann
54ae8b33aa set pdfconverters from settings 2017-11-22 13:53:06 +01:00
Uwe Steinmann
545cdb4e32 backup dir can be set in configuration 2017-11-21 11:51:45 +01:00
Uwe Steinmann
8bb3821a2f $accessop must be instanciated later 2017-11-21 11:29:49 +01:00
Uwe Steinmann
d329de7036 some minor code reorganisation 2017-11-21 10:23:34 +01:00
Uwe Steinmann
2892c1e2fb do not show page browser when all search hits are listed 2017-10-26 06:32:36 +02:00
Uwe Steinmann
91b16892db also check if last content exists 2017-10-16 09:05:45 +02:00
Uwe Steinmann
0a3d32785f new view for listing expired documents 2017-10-06 17:59:46 +02:00
Uwe Steinmann
3e2d6e3f74 add preview width for dropfolder lists 2017-09-20 09:20:56 +02:00
Uwe Steinmann
b4bcb94b6c intialize $index even if action != show 2017-09-11 08:30:35 +02:00
Uwe Steinmann
ef6f263fc1 create indexer only if action is not set or 'show' (Closes #340) 2017-09-11 08:16:25 +02:00
Uwe Steinmann
76f98e71d3 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-05 06:29:42 +02:00
Uwe Steinmann
c76eeec687 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-05 06:29:03 +02:00
Uwe Steinmann
3b06c5c8a1 better handling of deleted documents, doesn't show error anymore 2017-09-05 06:24:35 +02:00
Uwe Steinmann
a002ebe704 include settings before logInit 2017-09-01 17:58:14 +02:00
Uwe Steinmann
b3a41875b3 allow sending login data only if enableEmail is set 2017-08-24 08:39:58 +02:00
Uwe Steinmann
1f47750093 add sending of login data to user 2017-08-24 08:15:48 +02:00
Uwe Steinmann
fbd868660d change order of include files for easier merging 2017-08-22 08:25:27 +02:00
Uwe Steinmann
49b139c9d6 fix syntax error 2017-08-22 08:24:01 +02:00
Uwe Steinmann
8671356af8 include LogInit 2017-08-22 07:49:29 +02:00
Uwe Steinmann
e73e168809 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 07:15:35 +02:00
Uwe Steinmann
8687c90269 include LogInit 2017-08-22 07:15:09 +02:00
Uwe Steinmann
2e26504ae7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 06:22:28 +02:00
Uwe Steinmann
c68c8b5e52 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 06:22:16 +02:00
Uwe Steinmann
0e6bd00f96 use view for exitError 2017-08-03 18:43:28 +02:00
Uwe Steinmann
50e969452c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 17:41:04 +02:00
Uwe Steinmann
d0b9084ad6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 17:32:12 +02:00
Uwe Steinmann
711114310b list reviews/approvals which have lost their user/group 2017-08-02 17:31:39 +02:00
Uwe Steinmann
13845065d4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 07:06:16 +02:00
Uwe Steinmann
ac184a030a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 07:05:57 +02:00
Uwe Steinmann
0c3355ed9d no extra check enableVersionModificaton
is done by maySetReviewersApprovers()
2017-08-02 07:04:46 +02:00
Uwe Steinmann
4aef48e5f7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 07:02:58 +02:00
Uwe Steinmann
76508cb52b check with SeedDMS_AccessOperation for allowed operation 2017-08-02 06:47:48 +02:00
Uwe Steinmann
d16ec5d631 pass dropfolderfile to view 2017-08-01 07:58:27 +02:00