Commit Graph

1706 Commits

Author SHA1 Message Date
Uwe Steinmann
3471835d0a do not check for named formtoken in op/op.Ajax.php anymore, use new statusbox-container for last file uploads 2019-07-12 16:45:28 +02:00
Uwe Steinmann
ee732551c6 make drag&drop work 2019-07-12 16:44:44 +02:00
Uwe Steinmann
08ecb9829e make drag&drop work 2019-07-12 16:44:23 +02:00
Uwe Steinmann
19f5990080 add div.statusbar-container, remove old code, make drag&drop work 2019-07-12 16:43:34 +02:00
Uwe Steinmann
9579c0480b add code for bootbox, make drag&drop work 2019-07-12 16:42:29 +02:00
Uwe Steinmann
e1ae62ec7e overhaul drag&drop code
documents can be dropped on other documents, files can be dropped
on folders
2019-07-11 17:18:03 +02:00
Uwe Steinmann
f09ece975b turn load on demand on in jqtree 2019-07-10 19:32:02 +02:00
Uwe Steinmann
7a7542e01b fix wrong baseUrl which cause the styles not to be loaded 2019-07-05 08:07:52 +02:00
Uwe Steinmann
b90392191a seperate code for lines in clipboard into extra function
allows to add hook for replacing those functions with code in an
extension
2019-07-04 14:35:05 +02:00
Uwe Steinmann
a91a49cd56 add filetype 'folder' in getMimeIcon()
This enables the use of getMimeIcon() for folders instead of using
the protected $imgpath
2019-07-04 14:33:24 +02:00
Uwe Steinmann
b1a895fb27 new config options for disallowing duplicate subfolder names 2019-07-01 10:50:40 +02:00
Uwe Steinmann
6f2fb3e646 fix possible xss 2019-06-28 11:02:10 +02:00
Uwe Steinmann
e0995e362c initialize $fieldwrap in order to prevent php warnings 2019-06-27 14:18:58 +02:00
Uwe Steinmann
619a1de980 adding ordering of result for database search 2019-06-26 18:03:36 +02:00
Uwe Steinmann
8af9d0fc28 getNotificationList() returns an empty array if there are no notifications 2019-06-24 12:37:25 +02:00
Uwe Steinmann
53134c346a add icons for sort field and sort order in list of folders/docs 2019-06-24 11:54:08 +02:00
Uwe Steinmann
0fe038e512 escape group name in list of groups 2019-06-13 09:03:30 +02:00
Uwe Steinmann
a511904a81 call new hook 'footNote', footNote() returns the html instead of echoing it 2019-05-13 08:13:30 +02:00
Uwe Steinmann
f8ac8aa74f take out patches accidentially taken over from demo 2019-05-07 08:05:19 +02:00
Uwe Steinmann
b1dc684738 add donate button to global nav, use simpler button 2019-05-02 16:57:31 +02:00
Uwe Steinmann
c459175bab add offer to receive a copy of the user's manual 2019-05-02 16:57:31 +02:00
Uwe Steinmann
ddddb4fb74 add splashscreen for paypal 2019-05-02 16:57:31 +02:00
Uwe Steinmann
1dfd36e79a fix moving documents on clipboard into the current folder 2019-05-01 12:43:36 +02:00
Uwe Steinmann
423bf1dd7c do not show attributes in extra column in search result
put into a popup opened by a button
2019-04-11 06:19:56 +02:00
Uwe Steinmann
9a5d6c31ab do not list users/groups in select menu which already has an access right 2019-04-03 10:54:04 +02:00
Uwe Steinmann
80b9c708fa a document in any status can be set obsoletet 2019-03-14 07:54:52 +01:00
Uwe Steinmann
4b9a4ac010 add hook preViewDocument 2019-03-14 07:48:20 +01:00
Uwe Steinmann
8cfed6feea folder tree can be configured to not load further levels 2019-03-05 09:28:31 +01:00
Uwe Steinmann
4f34ff5c5c add missing http header for js file 2019-03-01 08:36:05 +01:00
Uwe Steinmann
bf7cd09374 do not preset user selection for access rights 2019-02-27 13:53:23 +01:00
Uwe Steinmann
6115e5232f load jqtree data on left click also 2019-02-27 11:44:27 +01:00
Uwe Steinmann
bff281cd01 table can be filtered 2019-02-22 17:26:32 +01:00
Uwe Steinmann
5cb159ca82 return list of approvals even if empty 2019-02-12 12:12:11 +01:00
Uwe Steinmann
37a8663a69 set body class and http base url 2019-02-12 11:15:19 +01:00
Uwe Steinmann
2b2fcdad37 call hooks to get document content 2019-02-06 13:22:52 +01:00
Uwe Steinmann
939d212175 call hook to get document content 2019-02-06 13:11:49 +01:00
Uwe Steinmann
00c6c72f25 add js for jqtree only if showtree is set 2019-02-05 07:35:20 +01:00
Uwe Steinmann
1c75536791 fix wrong name for review file in form 2019-02-04 15:17:18 +01:00
Uwe Steinmann
fdb848d5bb fix list of menuitems, fix user in protocol log 2019-02-04 14:43:57 +01:00
Uwe Steinmann
3855603dbf fix tree view when documents are shown 2019-02-04 14:24:30 +01:00
Uwe Steinmann
600a1c00b7 filter docs in a task list through a hook function 2019-01-31 11:23:16 +01:00
Uwe Steinmann
dcb0a746a0 new parameter xsendfile 2019-01-18 13:07:39 +01:00
Uwe Steinmann
efcd6482f9 fix url for out.WorkflowGraph.php 2019-01-15 13:57:18 +01:00
Uwe Steinmann
476cac3967 update jqtree, add right click for downloading children 2019-01-11 13:16:08 +01:00
Uwe Steinmann
73e1df3ad8 make it work with slim notfound handler 2019-01-09 09:19:46 +01:00
Uwe Steinmann
24f0555d92 reindex document also if creation time is equal to content creation time 2019-01-08 16:59:55 +01:00
Uwe Steinmann
b70fd9c81a viewonlinefiletype may also contain mimetypes 2019-01-08 13:13:38 +01:00
Uwe Steinmann
24a6938f51 better handling of settings of extension if it was configured yet 2018-12-18 09:03:57 +01:00
Uwe Steinmann
7b1fc28cf4 pass on type and placeholder of extension config
this will fix password fields in the extension configuration which
were readable
2018-12-13 18:24:34 +01:00
Uwe Steinmann
df40691533 add hook startLeftColumn 2018-12-13 15:46:25 +01:00
Uwe Steinmann
8aa750c035 use layout like categories, attributes 2018-12-03 07:40:58 +01:00
Uwe Steinmann
a52a46bf46 remove unneeded code 2018-12-03 07:40:42 +01:00
Uwe Steinmann
34e934fb8f use sam layout as for managing categories 2018-11-29 06:27:53 +01:00
Uwe Steinmann
575355731a no need to include parsedown/Parsedown.php anymore, set flags of htmlspecialchars() 2018-11-23 21:02:33 +01:00
Uwe Steinmann
6ceb14cdfd check for an existing file extension 2018-11-22 08:06:05 +01:00
Uwe Steinmann
d66a702295 fix various javascript errors 2018-11-16 20:29:31 +01:00
Uwe Steinmann
43cfc11a04 take out empty javascript tags 2018-11-16 11:42:21 +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
de8cc01850 show icons for users and groups, show login and fullname for users 2018-11-16 11:40:58 +01:00
Uwe Steinmann
1cb6a6f9c1 show review tasks 2018-11-16 11:39:05 +01:00
Uwe Steinmann
bf72386b19 show icon for users and groups, show login and fullname for users 2018-11-16 11:38:06 +01:00
Uwe Steinmann
488b274048 add 'worker-src blob:' to csp rule 2018-11-16 11:36:48 +01:00
Uwe Steinmann
10fc10eb1c use configured preview commands instead of old defaults 2018-11-12 10:14:51 +01:00
Uwe Steinmann
b713a40e1e add checking for float attributes 2018-11-10 18:05:45 +01:00
Uwe Steinmann
0c53fee77d show debug msg when test email is send 2018-11-09 17:22:33 +01:00
Uwe Steinmann
0c0ac23576 add hooks folderListPreContent and folderListPostContent 2018-11-08 16:40:42 +01:00
Uwe Steinmann
71e59f1a22 set selection menu for expiration to 'date' if date is entered (Closes #423) 2018-11-07 21:45:48 +01:00
Uwe Steinmann
ee343cb972 urlencode parameters for url of search pages 2018-11-07 20:53:31 +01:00
Uwe Steinmann
b8dfbe4064 add hooks addDocumentPreForm and addDocumentPostForm 2018-10-23 11:20:34 +02:00
Uwe Steinmann
4d10f196e8 make sure dropfolderdir doesn't contain double '/' 2018-10-23 11:19:51 +02:00
Uwe Steinmann
950de8e293 do not take images from out/images anymore
use views/bootstrap/images instead
2018-10-11 10:51:04 +02:00
Uwe Steinmann
4038503fe2 remove old jump loader code 2018-10-11 09:44:09 +02:00
Uwe Steinmann
97ec803da2 fix checking of passwords (Closes: #420) 2018-10-09 06:49:16 +02:00
Uwe Steinmann
542ca945f1 users which are subscribers already cannot be selected anymore (Closes #414)
use also the same layout in class.DocumentNotify.php and
class.FolderNotify.php
2018-10-02 19:19:05 +02:00
Uwe Steinmann
6f7b3b68e5 fix #413 2018-09-25 08:54:07 +02:00
Uwe Steinmann
0f6d893c49 filemtime can be taken over when importing from filesystem 2018-09-18 18:31:15 +02:00
Uwe Steinmann
621846c86d place js for file chooser in js file for page 2018-09-05 13:35:44 +02:00
Uwe Steinmann
cefb89a8c2 move js for btn-file into php function
the new function printFileChooserJs() must be called in the js method
on every page where a file upload button is used
2018-09-05 13:34:30 +02:00
Uwe Steinmann
5ddb14a499 show msg if passed to view 2018-09-05 07:09:26 +02:00
Uwe Steinmann
54aa90edda add selection for folders in extension settings 2018-08-27 08:22:39 +02:00
Uwe Steinmann
327250eb31 init array for mandatory reviewers/approvers 2018-08-20 18:12:19 +02:00
Uwe Steinmann
164bec246b fix typo in comment 2018-08-20 17:13:57 +02:00
Uwe Steinmann
cce2406f82 pass additional parameter to hook documentListItem
This is the 3rd parameter and $context moves to the 4th position
2018-08-08 06:55:56 +02:00
Uwe Steinmann
9e076ffcf9 check if 'link' and 'attributes' are set in menuitem before using them 2018-08-08 06:54:59 +02:00
Uwe Steinmann
76720ccabf set $sitename earlier in htmlStartPage()
because the the opensearchengine meta tag needs it
2018-08-08 06:51:27 +02:00
Uwe Steinmann
857b075388 make buttons smaller 2018-08-08 06:50:21 +02:00
Uwe Steinmann
84e87715da add open search description 2018-07-13 15:25:33 +02:00
Uwe Steinmann
d4392c8e59 use documentListRow(), set bg color of each row depending of status 2018-07-13 08:49:10 +02:00
Uwe Steinmann
7f1fb811de output text for approval status not overall status 2018-07-13 08:09:25 +02:00
Uwe Steinmann
3cab68883f output text for review status not overall status 2018-07-13 08:08:53 +02:00
Uwe Steinmann
3f8698b58f add hook 'clipboardMenuItems'
can be used to extend the clipboard menu in the top navigation
2018-07-10 15:43:05 +02:00
Uwe Steinmann
9726e1c7fe output js for loading additional table rows only if maxItemsPerPage > 0 2018-07-04 15:49:07 +02:00
Uwe Steinmann
89aae7ed55 check if extension from list isn't empty 2018-07-04 15:47:13 +02:00
Uwe Steinmann
0926009d3f remove width of columns in approvers/reviewers table 2018-06-27 22:14:34 +02:00
Uwe Steinmann
30ee7e52e1 place form and list next to each other 2018-06-27 22:14:10 +02:00
Uwe Steinmann
9333d9ebf6 place mandatory reviewers/approvers right below input field 2018-06-27 22:13:38 +02:00
Uwe Steinmann
92c0c4c611 place reviewers and approvers side by side
this is much better serialized on small displays
2018-06-27 18:55:14 +02:00
Uwe Steinmann
f639e31313 add class=form-horizontal to form 2018-06-27 18:54:46 +02:00
Uwe Steinmann
e3adcc2099 file not used anymore 2018-06-27 18:11:09 +02:00
Uwe Steinmann
a803adedd3 call getFileChooser() instead of printFileChooser() 2018-06-26 07:24:18 +02:00
Uwe Steinmann
68c64df436 drop table layout 2018-06-26 07:23:51 +02:00
Uwe Steinmann
85e3a12e27 call getFileChooser() instead of printFileChooser() 2018-06-26 07:23:13 +02:00
Uwe Steinmann
6b7994363e various corrections 2018-06-26 07:02:12 +02:00
Uwe Steinmann
613bf9387c use formField() instead of table layout 2018-06-26 06:52:16 +02:00
Uwe Steinmann
643e948440 add field_wrap to formField(), separate some methods in get and print 2018-06-26 06:51:04 +02:00
Uwe Steinmann
72cf353e11 remove class for inline form 2018-06-22 16:54:49 +02:00
Uwe Steinmann
080ef272b1 use data attribute instead of deselect class for select boxes 2018-06-22 16:38:52 +02:00
Uwe Steinmann
fd06a08807 separate page content in 3 columns 2018-06-22 13:40:09 +02:00
Uwe Steinmann
c7a02f2ff1 remove table from access list 2018-06-22 10:20:17 +02:00
Uwe Steinmann
2c101da222 use date chooser 2018-06-21 18:24:51 +02:00
Uwe Steinmann
09f35e33e6 replace old table layout with form-controls 2018-06-21 17:56:22 +02:00
Uwe Steinmann
1fa1644fce use formField() instead of plain html 2018-06-21 11:56:05 +02:00
Uwe Steinmann
639b11b52b more use of formField() instead of plain html 2018-06-21 11:30:58 +02:00
Uwe Steinmann
b949a50dad use warningMsg() instead of plain html code 2018-06-21 09:35:45 +02:00
Uwe Steinmann
655e83b0c1 pass $settings->_sortUsersInList to view 2018-06-21 09:29:28 +02:00
Uwe Steinmann
ba0181e2a1 new method getDropFolderChooserHtml() 2018-06-21 09:29:02 +02:00
Uwe Steinmann
e37e21214a replace table layout with form controlls 2018-06-21 09:28:31 +02:00
Uwe Steinmann
2d27a491c3 use formField() 2018-06-20 20:40:47 +02:00
Uwe Steinmann
0a841b22aa use post, use formField() for form fieldѕ 2018-06-20 20:40:13 +02:00
Uwe Steinmann
798ef49f23 fix output of attributes in formField() 2018-06-20 20:39:28 +02:00
Uwe Steinmann
3b8616711b use formField() for form entries 2018-06-20 20:38:57 +02:00
Uwe Steinmann
8a4450295a new bootstrap datepicker version with support for more languages 2018-06-19 09:13:25 +02:00
Uwe Steinmann
a133226bbe output additional attributes in formField() 2018-06-19 08:03:46 +02:00
Uwe Steinmann
2fd21064c7 use method formField() for user/group selection menu 2018-06-18 17:29:00 +02:00
Uwe Steinmann
377117e9d0 more option for formField() 2018-06-18 17:28:36 +02:00
Uwe Steinmann
e1390d7178 check if document is accessible before listing it in the calendar 2018-06-14 17:17:06 +02:00
Uwe Steinmann
00bbda39bb pass form field by array to formField() 2018-06-07 07:46:19 +02:00
Uwe Steinmann
7c4538193a pass array of params to formField instead of string 2018-05-29 18:20:17 +02:00
Uwe Steinmann
1e40adfd30 formField() can also take an array instead of a string 2018-05-29 18:19:48 +02:00
Uwe Steinmann
d87981a204 more preparations for update to bootstrap 4
use functions instead of plain html in views
2018-04-26 08:50:44 +02:00
Uwe Steinmann
7fd33d07d0 call hook in all page navigations, allow dropdown menus in page navigation 2018-04-26 08:49:10 +02:00
Uwe Steinmann
c73df137a6 remove old code 2018-04-24 18:13:55 +02:00
Uwe Steinmann
2d91b550fb use functions to output buttons and rows
this will ease the transition to bootstrap 4
2018-04-24 18:02:57 +02:00
Uwe Steinmann
f7310b2b5f use method formField() instead of html 2018-04-23 15:50:46 +02:00
Uwe Steinmann
1c24059fe9 show section for extension only if extension has configuration 2018-04-19 19:48:20 +02:00
Uwe Steinmann
0f6da660e6 replace more output with methods() 2018-04-19 13:42:20 +02:00
Uwe Steinmann
be2eb700c8 readd smtp send mail button 2018-04-17 21:03:39 +02:00
Uwe Steinmann
e7fe899ebf use function to output a config line 2018-04-17 18:34:30 +02:00
Uwe Steinmann
23d2f53480 call new hook extraTabs 2018-04-13 14:53:06 +02:00
Uwe Steinmann
dfe2e3f167 add new option for configuring replacement of documents in webdav 2018-04-12 06:41:51 +02:00
Uwe Steinmann
5571fc4385 add note when document content was not indexed 2018-04-11 16:35:26 +02:00
Uwe Steinmann
9fb899a61a better error reporting when indexing fails 2018-04-11 15:32:35 +02:00
Uwe Steinmann
162353b5e0 increase timeout of noty error 2018-04-10 19:13:57 +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
d97ef62ff1 make user action is set in exitError() 2018-04-06 09:45:08 +02:00
Uwe Steinmann
305a980e44 ??? 2018-04-06 09:27:58 +02:00
Uwe Steinmann
97d08ef1b4 call parent class in class.Bootstrap.php, move imgpath in parent 2018-04-06 08:31:11 +02:00
Uwe Steinmann
d7bcf3fcfd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-05 08:24:18 +02:00
Uwe Steinmann
9089a578ed Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-04-05 08:24:08 +02:00
Uwe Steinmann
3927d4d812 fix translation text when list is empty 2018-04-03 14:43:49 +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
b65badac62 do not show task menu if there are no tasks 2018-03-26 10:14:07 +02:00
Uwe Steinmann
5995286c17 run js checkTasks() only if tasks in menu are turned on 2018-03-26 10:05:14 +02:00
Uwe Steinmann
752d3f4fdd place version info and changelog into modal boxes 2018-03-23 10:10:26 +01:00
Uwe Steinmann
e9d93860b9 json decoding is now done in SeedDMS_ExtensionMgr, show images in repository list 2018-03-22 08:43:41 +01:00
Uwe Steinmann
ba13d0eba2 fix typo in function name 2018-03-22 06:30:15 +01:00
Uwe Steinmann
0ad32b5517 add icon to update button 2018-03-21 15:24:25 +01:00
Uwe Steinmann
fe0450c051 call controller when updating extension list 2018-03-21 13:40:57 +01:00
Uwe Steinmann
a66f9538f4 splash msg may have a timeout value 2018-03-21 13:40:34 +01:00
Uwe Steinmann
22f8b7e7be do not list empty groups as reviewers/approvers 2018-03-19 11:32:24 +01:00
Uwe Steinmann
44b9525615 set fall back value for attributes of type checkbox to '' 2018-03-19 11:31:50 +01:00
Uwe Steinmann
dce83545b8 show changelog file of extensions 2018-03-16 11:19:12 +01:00
Uwe Steinmann
ce2a4596b4 hook extraVersionActions may return an array 2018-03-15 16:22:33 +01:00
Uwe Steinmann
a685d4498b show same tab after installing an extension from a repository 2018-03-14 18:56:28 +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
b1a9ade799 check if extension directory is writable 2018-03-14 11:47:06 +01:00
Uwe Steinmann
de0213d30e check if extension from repository is suitable for current installation 2018-03-14 11:21:21 +01:00
Uwe Steinmann
6d802ec7c6 fix output of translated text 2018-03-13 15:33:13 +01:00
Uwe Steinmann
52fc4cbe69 add import from repository 2018-03-13 14:38:49 +01:00
Uwe Steinmann
5cfc52f1fc add download/upload of extensions to extension mgr 2018-03-12 18:33:30 +01:00
Uwe Steinmann
69a9f43add add allowReviewerOnly configuration
if set a document in traditioanl workflow may be uploaded with a
reviewer only
2018-02-26 08:07:51 +01:00
Uwe Steinmann
236f3c2e48 add link to remove attribute values from all folders, documents 2018-02-22 19:12:36 +01:00
Uwe Steinmann
3a6dc48a38 remove code to pass strictformcheck to view 2018-02-21 15:40:03 +01:00
Uwe Steinmann
e52b8f4b72 add avi and msvideo to preview 2018-02-08 08:37:32 +01:00
Uwe Steinmann
caa86d4947 attribute values can be deselected 2018-02-07 09:00:09 +01:00
Uwe Steinmann
987025331d set default position of new documents/folders (Closes #381) 2018-02-07 08:43:46 +01:00
Uwe Steinmann
16ce0f6de6 all config variables with options may also be declared empty 2018-02-06 17:03:35 +01:00
Uwe Steinmann
4e9d241108 include autoload.php instead of robthree classes 2018-02-05 15:12:18 +01:00
Uwe Steinmann
1a9c7c213d use same form for ind and grp
The two forms differ in just minor things which can easily be set by
a parameter
2018-01-30 07:59:15 +01:00
Uwe Steinmann
59dd1a9155 minor corrections of form 2018-01-30 07:21:26 +01:00
Uwe Steinmann
b147cfd6dc set timeout for error msg to 5000 2018-01-30 06:31:42 +01:00
Uwe Steinmann
07dc8b0118 list linked documents in the same way as in regular document list 2018-01-26 18:51:59 +01:00
Uwe Steinmann
6dc4611f04 add x-msvideo as previewable video 2018-01-24 16:26:28 +01:00
Uwe Steinmann
bd7c2eeddf no longer needed 2018-01-23 19:09:01 +01:00
Uwe Steinmann
12dddf698c animate button to load more objects 2018-01-23 10:43:51 +01:00
Uwe Steinmann
a36087e405 add chzn-select for attributes 2018-01-18 10:48:09 +01:00
Uwe Steinmann
09c7c0fc2a prevent php warning if converters are not set 2018-01-09 15:32:08 +01:00
Uwe Steinmann
a20c2167c9 add video/webm to list of mimetypes which are previewed 2018-01-08 10:54:02 +01:00
Uwe Steinmann
fc09a9408b pass orderby to js file, remove debug code 2017-12-19 11:21:44 +01:00
Uwe Steinmann
7c7a9584ca fix output of text on button to load more documents 2017-12-19 11:09:20 +01:00
Uwe Steinmann
48c7dd3fc2 fix deletion of documents from document list 2017-12-19 10:52:24 +01:00
Uwe Steinmann
99fbf808fd do not show table of documents if there are no documents 2017-12-19 10:46:19 +01:00
Uwe Steinmann
d80600cb5a add hooks folderGetDocuments and folderGetSubFolders 2017-12-19 06:48:03 +01:00
Uwe Steinmann
72143a1a78 use translation for button to download more docs/folders 2017-12-15 08:09:01 +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
dec3b44123 add configuration for number of entries on viewfolder page 2017-12-14 09:39:05 +01:00
Uwe Steinmann
e4e7dd838f remove empty line in exitError() 2017-12-07 08:53:11 +01:00
Uwe Steinmann
c4f9986900 change icon on button 2017-12-06 15:26:23 +01:00