Commit Graph

1698 Commits

Author SHA1 Message Date
Uwe Steinmann
833ff8f7da do not allow adding events and showing tasks 2019-11-20 17:50:26 +01:00
Uwe Steinmann
b2715684a3 use formField() instead of plain html 2019-11-19 18:21:34 +01:00
Uwe Steinmann
b095c48ddd formField() treats a value == "0" as not empty 2019-11-19 18:20:53 +01:00
Uwe Steinmann
4aef495c03 fix wrong counting of documents 2019-11-19 10:04:49 +01:00
Uwe Steinmann
3a62afd084 count processes in latest version 2019-11-19 09:34:41 +01:00
Uwe Steinmann
2b00423225 get latest version for later checking
could be used to filter out older documents
2019-11-19 07:25:53 +01:00
Uwe Steinmann
28e2549866 menuTasks returns complete menuItem 2019-11-12 15:22:00 +01:00
Uwe Steinmann
4f28cd19d1 show preview for all images supported by browser 2019-11-11 15:39:47 +01:00
Uwe Steinmann
b9bbb8739f add action data (currently not used) 2019-11-07 19:55:55 +01:00
Uwe Steinmann
9820d9b7f3 set data-name for folder/document table rows 2019-11-07 19:54:42 +01:00
Uwe Steinmann
3c26142744 onePageMode can be turned on/off 2019-10-28 12:06:41 +01:00
Uwe Steinmann
b705fdab44 fix up to parent button on ViewFolder page 2019-10-28 09:26:35 +01:00
Uwe Steinmann
ee88f44693 fix php warning
$iRev is probably not needed anymore, but kept for now
2019-10-28 09:14:07 +01:00
Uwe Steinmann
75f3afdc84 new hooks processConfig and showConfig
hook 'showConfig' is anly called for extension variables if the type is
set to 'hook'. 'processConfig' is called after the extension
configuration is read
2019-10-23 09:06:19 +02:00
Uwe Steinmann
40dee4b9d2 hook addDocumentContentAttribute and addDocumentAttribute may return a string 2019-10-23 09:05:04 +02:00
Uwe Steinmann
8c73f36151 show[Document|Folder]Attribute may return a string 2019-10-19 09:17:49 +02:00
Uwe Steinmann
da5fed3591 fix syntax error 2019-10-19 08:27:38 +02:00
Uwe Steinmann
0208d54409 fix parameter for addDocumentAttributes, editDocumentAttributes may return a string 2019-10-19 08:19:51 +02:00
Uwe Steinmann
070af52849 add new hook addFolderAttributes, editFolderAttribute may return a string 2019-10-19 08:19:09 +02:00
Uwe Steinmann
dfa2d03cf9 new and modified hooks
add hook addDocumentContentAttributes, addDocumentContentAttributes and
editDocumentContentAttribute can also return a string
2019-10-19 08:18:06 +02:00
Uwe Steinmann
a53cd4b0cd add method successMsg() 2019-10-18 12:21:40 +02:00
Uwe Steinmann
937f8a5678 add hooks preContent, postContent 2019-10-18 11:06:42 +02:00
Uwe Steinmann
6ae87d4fe0 changing folder/document will require a click on the second child of a row 2019-10-16 17:59:43 +02:00
Uwe Steinmann
a6ef05b22b stop event propagation when clicking the delete doc/folder button in the list view 2019-10-16 17:57:56 +02:00
Uwe Steinmann
297d5d1391 clicking on document table row will load document page, update browser history 2019-10-16 09:50:54 +02:00
Uwe Steinmann
ad3678e60c remove unneeded echo 2019-10-11 16:30:53 +02:00
Uwe Steinmann
0faef9cd18 call new hook additionalTypes() 2019-10-11 16:30:31 +02:00
Uwe Steinmann
1a23c659fe add hook pageNavigationBar, pass date format to getDateChooser() 2019-10-01 14:06:46 +02:00
Uwe Steinmann
49f29d007b new onepage mode can be turned off 2019-09-11 17:44:40 +02:00
Uwe Steinmann
39217037b8 fix tree behaviour, do not load all sub nodes 2019-09-11 17:43:50 +02:00
Uwe Steinmann
e24e031b17 do not output header of section for reviewers if there is no reviewer 2019-09-10 17:42:58 +02:00
Uwe Steinmann
919757bbf3 add new parameter partialtree to method printNewTreeNavigationJs() 2019-09-06 15:19:47 +02:00
Uwe Steinmann
4215eda966 remember current folder id on page, update drop folder list regulary 2019-09-05 12:53:45 +02:00
Uwe Steinmann
4a22ed2ce7 pass on orderby to ajax calls 2019-08-27 21:46:19 +02:00
Uwe Steinmann
bd99b078ca split page into seperate views, click in tree just updates the views
a page reload isn't needed anymore
2019-08-27 14:35:22 +02:00
Uwe Steinmann
269fa30936 remove extra containerStart 2019-08-12 08:10:40 +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
3b060dc091 add generic decorator for views 2019-08-08 09:20:36 +02:00
Uwe Steinmann
25f569b9eb use isType() for checking object type 2019-08-08 09:16:06 +02:00
Uwe Steinmann
5997717099 do not provide backup tools if backup dir is not set 2019-07-30 07:08:10 +02:00
Uwe Steinmann
3d5812c86d file containing meta data can be specified 2019-07-30 06:34:16 +02:00
Uwe Steinmann
1de9ed37d5 allow serveral instanceѕ of drop folder chooser on one page 2019-07-30 06:33:18 +02:00
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