Commit Graph

1724 Commits

Author SHA1 Message Date
Uwe Steinmann
827049ee9a nofication field can be turned of when uploading a new document 2020-01-16 12:45:59 +01:00
Uwe Steinmann
daf08343e3 set disable flag of extension
otherwise it will not be saved
2020-01-14 08:32:05 +01:00
Uwe Steinmann
9b6949a00a check if document content exists in hits of fulltext search 2020-01-07 21:21:17 +01:00
Uwe Steinmann
8ae2874367 do not use global var EXT_CONF anymore 2020-01-03 10:21:58 +01:00
Uwe Steinmann
b3ffdd3b7d extension are disabled in the settings
the configuration of the extension will no longer work for disabling an
extension
2019-12-20 17:20:15 +01:00
Uwe Steinmann
d5a937fbc8 minor modification of folder tree 2019-12-20 14:17:48 +01:00
Uwe Steinmann
3f14dcf4db get settings from view 2019-12-20 14:17:00 +01:00
Uwe Steinmann
16ca3dc96a init $tasks to empty array 2019-12-20 10:54:42 +01:00
Uwe Steinmann
849351e58b add js for updateDropFolder only if drop folder list is enabled 2019-12-20 10:53:09 +01:00
Uwe Steinmann
1f8c5fe7c3 workflows can be turned off completely 2019-12-19 16:08:10 +01:00
Uwe Steinmann
c9aaa68925 preset value for sequence if sequenc cannot be edited 2019-12-19 10:03:24 +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
c2e48e9ab4 get access mode of folder only once in folderListRow() 2019-12-13 10:27:02 +01:00
Uwe Steinmann
98da641061 new hooks leftContentPre and leftContentPost 2019-12-13 09:07:56 +01:00
Uwe Steinmann
658d00fe42 allow preview of video/x-matroska videos 2019-12-10 06:20:31 +01:00
Uwe Steinmann
583ce13bfc set video icon for .mkv files 2019-12-10 06:20:11 +01:00
Uwe Steinmann
6d604d2d60 set icon for video/webm 2019-12-06 15:23:38 +01:00
Uwe Steinmann
63c90a026b menu item does not need a href if it has children 2019-12-04 19:31:02 +01:00
Uwe Steinmann
ca7bb77386 better formating of checkboxes 2019-11-28 14:27:30 +01:00
Uwe Steinmann
fd4a821fa8 better checking for existing value 2019-11-26 17:07:47 +01:00
Uwe Steinmann
1763bd1bae take 'orderby' into account 2019-11-26 11:21:40 +01:00
Uwe Steinmann
7bb511f891 fix comparison of creation date, show number of tasks in queue 2019-11-26 07:33:37 +01:00
Uwe Steinmann
5e9a4515b3 use new method printClickDocumentJs() 2019-11-25 09:51:39 +01:00
Uwe Steinmann
24f030f1c7 add method printClickDocumentJs()
adds js for catching the event when clicking on a document row and
onepage mode is on
2019-11-25 09:50:52 +01:00
Uwe Steinmann
bf6490f904 fix output of group name 2019-11-25 09:38:41 +01:00
Uwe Steinmann
5a877f959c edit warning because content is replaced 2019-11-21 10:50:59 +01:00
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