Commit Graph

1832 Commits

Author SHA1 Message Date
Uwe Steinmann
0649815e56 new hooks on view document page 2020-09-18 19:11:25 +02:00
Uwe Steinmann
245a103b35 fix selection of documents/folders 2020-09-17 13:01:14 +02:00
Uwe Steinmann
b39f84e67c fix html tags for version actions 2020-09-17 10:52:27 +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
b9748576dc add new method htmlAddJsHeader() which adds script with nonces 2020-09-15 12:14:15 +02:00
Uwe Steinmann
c555354f35 check if return value of hook addFolderAttribute is a string 2020-09-08 13:44:19 +02:00
Uwe Steinmann
c6d0a1d345 allow inline editing on document details page 2020-09-07 16:20:37 +02:00
Uwe Steinmann
a75257c7c2 add title to enable/disable button of extension 2020-09-07 11:45:11 +02:00
Uwe Steinmann
e21850c92f make buttons primary 2020-09-01 15:17:49 +02:00
Uwe Steinmann
dad650fb9b show help cursor on form field label if help is available 2020-09-01 09:24:17 +02:00
Uwe Steinmann
d5d70e4802 some more help text, show propper type in list of attributes 2020-09-01 09:23:32 +02:00
Uwe Steinmann
49321d2dbe check for $fieldwrap[1] 2020-08-31 12:59:14 +02:00
Uwe Steinmann
b15c47117e out message if no groups/users are available 2020-08-28 13:11:05 +02:00
Uwe Steinmann
b977d7c7fd no need to call printFolderChooserJs() anymore 2020-08-28 11:54:52 +02:00
Uwe Steinmann
f3c0c1847c give folder tree a unique id 2020-08-28 11:54:12 +02:00
Uwe Steinmann
d7fe2087d1 move code into getAttributeValue() 2020-08-28 11:53:34 +02:00
Uwe Steinmann
f1d1c01c70 take out js from html code 2020-08-28 11:52:36 +02:00
Uwe Steinmann
d58100c678 edit and show new attribute types, major overhaul of folder tree to make several trees on a page possible 2020-08-28 11:50:29 +02:00
Uwe Steinmann
af792b52ad add support for new attribute types 2020-08-28 11:46:46 +02:00
Uwe Steinmann
619f90b4df do not pass parent folder to hook add[Folder|Document]Attribute 2020-08-28 07:39:16 +02:00
Uwe Steinmann
76ed086f5d use cytoscape in views/bootstrap/vendors 2020-08-27 08:13:34 +02:00
Uwe Steinmann
d4db6a2ba0 new version of font-awesome (4.7.1) 2020-08-27 07:52:52 +02:00
Uwe Steinmann
6d881fed60 take out authentication and secure script with a token 2020-08-26 11:40:04 +02:00
Uwe Steinmann
22fa26bdb7 user md5 of formname and form for formid in folder chooser 2020-08-25 21:43:23 +02:00
Uwe Steinmann
8638858d05 pass form field name to printFolderChooserJs() 2020-08-25 21:42:24 +02:00
Uwe Steinmann
2372cb8d09 no need to pass parameter to hook additionalCache 2020-08-21 13:20:07 +02:00
Uwe Steinmann
991268a18b put ClearCache into controller, add hooks when clearing the cache 2020-08-21 10:03:22 +02:00
Uwe Steinmann
6651601995 add help to form field, formSubmit can output several buttons 2020-08-20 19:59:09 +02:00
Uwe Steinmann
d4ae4eed24 use user selection for auto login 2020-08-19 14:18:01 +02:00
Uwe Steinmann
1726d1f1f2 configuring a user id in the settings uses a list of existing users 2020-08-19 13:21:51 +02:00
Uwe Steinmann
395afcbcd4 run help of config var through htmlspecialchars() 2020-08-19 11:49:48 +02:00
Uwe Steinmann
65c1bccf82 show latest changelog of uninstalled extensions 2020-08-14 11:11:40 +02:00
Uwe Steinmann
a17a190da1 add hooks showDocumentKeywords and showDocumentCategory 2020-08-12 07:26:28 +02:00
Uwe Steinmann
969c9daba4 make save button primary, translate options of select menu 2020-08-12 07:25:35 +02:00
Uwe Steinmann
f2ae4e97bd make select button of keyword selector primary 2020-08-11 18:22:43 +02:00
Uwe Steinmann
af1662f194 use a unified name in tree navigation widget 2020-08-10 07:33:29 +02:00
Uwe Steinmann
e6f20b8996 issue warning if no attributes are defined 2020-08-05 18:52:44 +02:00
Uwe Steinmann
c68f111c7a git rid of expandFolderTree checking 2020-08-05 18:43:45 +02:00
Uwe Steinmann
1ce602c98c add [begin|end]_action_list as keys for extracontent in list items 2020-08-05 18:43:12 +02:00
Uwe Steinmann
aa271f6648 remove':' after value of attribute 2020-08-03 12:51:35 +02:00
Uwe Steinmann
487950c37c use new class SeedDMS_FolderTree for iterating over all folders 2020-08-01 13:49:10 +02:00
Uwe Steinmann
25f37fae7a much more reliable import of users 2020-07-30 17:34:06 +02:00
Uwe Steinmann
ce7360f13b add new hooks rightContentPre and rightContentPost 2020-07-28 18:11:49 +02:00
Uwe Steinmann
b9ad2195d3 add hooks showDocumentAttribute and showDocumentContentAttribute 2020-07-28 15:39:59 +02:00
Uwe Steinmann
40a6de0353 fix output of log lines 2020-07-27 15:30:30 +02:00
Uwe Steinmann
076535bf7d a script for export users as csv 2020-07-27 14:17:11 +02:00
Uwe Steinmann
9239a12787 fix select menu for owner 2020-07-22 15:10:26 +02:00
Uwe Steinmann
e94631bbde propperly check for return value of addXXXAttributes 2020-07-21 07:29:53 +02:00
Uwe Steinmann
55f5fe4047 hook addDocumentContentAttributes can return a string 2020-07-21 07:29:15 +02:00
Uwe Steinmann
dc6ec3c5c7 add hook addFolderAttributes 2020-07-21 07:28:46 +02:00
Uwe Steinmann
24458ab648 check if return value of hook for adding attributes is a string 2020-07-21 07:28:15 +02:00
Uwe Steinmann
23cf76aef2 fix ordering of folders in DocumentChooser and FolderChooser 2020-07-21 06:24:55 +02:00
Uwe Steinmann
837f697d3b better import of users 2020-06-29 17:24:26 +02:00
Uwe Steinmann
8c9af6d4ca remove old code 2020-06-29 08:06:47 +02:00
Uwe Steinmann
a4ccfe1a7d set browser url when selecting category 2020-06-19 08:08:56 +02:00
Uwe Steinmann
7725a0b03b add configuration for authentication by key in rest api 2020-06-17 11:19:02 +02:00
Uwe Steinmann
1ba42deef1 remove $user as it is not needed and causes a php warning 2020-06-16 07:19:04 +02:00
Uwe Steinmann
f16d1821cc add start and end date to getDateChooser() 2020-06-16 07:18:30 +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
c0152e8def undo naming tree 'main'. It breaks selection of folders in the tree 2020-06-03 18:31:01 +02:00
Uwe Steinmann
932cfab13e minor improvements in folder tree (show 'plus' if children exists) 2020-06-03 10:53:49 +02:00
Uwe Steinmann
095c63b884 set name of folder tree to 'main' 2020-06-03 10:53:19 +02:00
Uwe Steinmann
bff27eb42c use $latestContent->getDocument() to get document 2020-05-27 16:33:41 +02:00
Uwe Steinmann
aa55ed3bcb show fast upload always but check for write access 2020-05-27 16:23:19 +02:00
Uwe Steinmann
640dea6534 documents can be sorted by expiration date or name 2020-05-27 12:02:30 +02:00
Uwe Steinmann
574dd54e1d fix output of expired documents 2020-05-22 16:26:23 +02:00
Uwe Steinmann
780aca0b76 fix checking return value of hook 'addFolderAttributes' 2020-05-20 11:13:57 +02:00
Uwe Steinmann
aea42b9bf5 show access rights of folder/document if user has write access 2020-05-19 17:57:34 +02:00
Uwe Steinmann
5330505ceb goto viewFolder page after moving clipboard 2020-05-18 18:30:39 +02:00
Uwe Steinmann
f7bcec7be7 set folder id in clipboard div (Closes: #473) 2020-05-18 18:29:52 +02:00
Uwe Steinmann
164efbeb49 include javascript translations 2020-05-13 16:05:33 +02:00
Uwe Steinmann
7d0f266eab add js translation to make drag&drop work 2020-05-13 13:30:12 +02:00
Uwe Steinmann
d66b6346e5 use documentListRow() 2020-05-13 13:29:32 +02:00
Uwe Steinmann
2b15816228 put clipboard into container which can be made fixed 2020-05-13 13:28:32 +02:00
Uwe Steinmann
60bcd68fb5 add js translations, use documentListRow(Start|End) 2020-05-13 09:28:39 +02:00
Uwe Steinmann
2b49ed2d6f add hooks preClipboard and postClipboard, set more attributes for drag&drop 2020-05-13 09:27:16 +02:00
Uwe Steinmann
ead98471c6 set drag and drop info for menu items 2020-05-12 13:06:22 +02:00
Uwe Steinmann
b7d61aea43 back button can be turned off 2020-05-12 12:02:22 +02:00
Uwe Steinmann
fad5c31cf2 run workflow action name through htmlspecialchars() 2020-05-08 07:42:38 +02:00
Uwe Steinmann
39a3e0dea3 obey maxUploadSize whenever a file is uploaded 2020-05-07 14:03:00 +02:00
Uwe Steinmann
d6ff82ccb8 form name can be passed to printFineUploaderJs() 2020-05-07 06:49:38 +02:00
Uwe Steinmann
e93f8b6266 make showNavigationBar protected
so it can be used in extensions
2020-04-21 17:23:45 +02:00
Uwe Steinmann
e5a56f5eba allow menu children in globalNavigationBar 2020-04-21 15:51:40 +02:00
Uwe Steinmann
9056e91bc3 fix calling hook 'globalNavigationBar' 2020-04-21 15:38:18 +02:00
Uwe Steinmann
49ba7df19b add hook startRow() before each row 2020-04-21 15:24:08 +02:00
Uwe Steinmann
23cc3c08cd add hock for global navigation bar 2020-04-21 15:23:37 +02:00
Uwe Steinmann
2ca619045d place comment of version below version data (remove extra column) 2020-04-21 11:56:20 +02:00
Uwe Steinmann
2d5a4d5bd4 list only user in session which are not hidden 2020-04-16 15:54:37 +02:00
Uwe Steinmann
440f327bad minor layout improvements 2020-04-14 20:00:53 +02:00
Uwe Steinmann
0273199ce0 fix link to custom css on page 2020-04-14 17:07:53 +02:00
Uwe Steinmann
71a24bb826 add 'data-target-id' to folder and document rows in list
This will be used to specify the document associated to the row.
2020-04-10 07:52:35 +02:00
Uwe Steinmann
24925bf2de get document from latestversion where ever the version is concerned
latestVersion could be changed by a hook, which also changes the
related document
2020-04-10 07:50:22 +02:00
Uwe Steinmann
82a60956ca do now show tasks in menu if workflow is turned off completly 2020-04-06 21:26:29 +02:00
Uwe Steinmann
82209c1ee4 do not calculated total for accumaled documents 2020-04-04 11:59:43 +02:00
Uwe Steinmann
3d128da722 show table with total document size per user 2020-04-02 13:59:38 +02:00
Uwe Steinmann
daf6ebe454 add table with data below chart 2020-04-02 12:38:16 +02:00
Uwe Steinmann
6f60445ca8 set data-allow-clear on select2 2020-04-01 14:05:33 +02:00
Uwe Steinmann
b80ffbf7c3 set data-allow-clear for select2 2020-04-01 14:04:24 +02:00
Uwe Steinmann
1220de90bd run workflow action name through htmlspecialchars() 2020-03-26 08:03:58 +01:00
Uwe Steinmann
2c0fb6f476 run names through htmlspecialchars() 2020-03-26 07:54:27 +01:00
Uwe Steinmann
bab648b988 check if index and indexconf is set 2020-03-24 06:46:22 +01:00
Uwe Steinmann
8497e652f6 setting more http headers to improve security 2020-03-13 19:43:47 +01:00
Uwe Steinmann
7fcc100ae7 support one page mode on TimeLine page 2020-03-10 17:10:19 +01:00
Uwe Steinmann
c021e4b4cb make printPopupBox() public 2020-03-05 22:26:53 +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
09f5943eb0 pass new parameter $skipcont to folderListRow() 2020-03-05 09:12:25 +01:00
Uwe Steinmann
3e98a18bab add new optional parameter skipcont to folderListRow() 2020-03-05 09:11:45 +01:00
Uwe Steinmann
d5ce0f8fe9 hook folderListItem has new parameter 2020-03-05 09:11:15 +01:00
Uwe Steinmann
92216112a4 set title and cursor of folder row in onepage mode 2020-03-04 22:30:42 +01:00
Uwe Steinmann
0acc08178f support for onepage mode 2020-03-04 22:26:28 +01:00
Uwe Steinmann
91f61aad87 support for onepage mode 2020-03-04 22:26:05 +01:00
Uwe Steinmann
54a14286f3 set cursor of documentListRow in onepage mode, show id on mouse over 2020-03-04 22:25:10 +01:00
Uwe Steinmann
3b3ada2ff5 fix import of extension in list of extension versions 2020-03-02 09:17:30 +01:00
Uwe Steinmann
0e4a819e2b run various outputs through htmlspecialchars() 2020-02-28 18:20:44 +01:00
Uwe Steinmann
13b7de9c60 support one page mode on search page 2020-02-28 09:48:43 +01:00
Uwe Steinmann
975c6cb147 add js code for catching clicks on folder rows in one page mode 2020-02-28 09:47:58 +01:00
Uwe Steinmann
b11aed0d18 fix comparision of versions 2020-02-28 09:47:23 +01:00
Uwe Steinmann
a424268514 click on related documents works in onepage mode 2020-02-28 08:28:58 +01:00
Uwe Steinmann
ae2b7d4631 add debug mode 2020-02-27 17:58:31 +01:00
Uwe Steinmann
9696187a9a set url after selecting record 2020-02-25 09:52:27 +01:00
Uwe Steinmann
4675c785db set configuration for http proxy 2020-02-21 10:01:09 +01:00
Uwe Steinmann
e2ac404760 set header X-Content-Type-Options (still commented out) 2020-02-18 09:46:32 +01:00
Uwe Steinmann
c25c3fef60 add js for clicking on a document row 2020-02-13 16:12:43 +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
b07b94b59a allow config fields of type 'textarea' 2020-01-27 15:37:59 +01:00
Uwe Steinmann
8f56a8c8c0 fix loading more entries in folder list if one page mode is on 2020-01-22 15:54:29 +01:00
Uwe Steinmann
b994b5afcd set seeddms_folder in js propperly 2020-01-22 15:54:10 +01:00
Uwe Steinmann
8615f75ac5 use translation 2020-01-22 14:27:56 +01:00
Uwe Steinmann
069b0b2459 fix text when loading changelog 2020-01-21 18:26:18 +01:00
Uwe Steinmann
13fcdf43ca show list of expired documents
newer shew any documents
2020-01-20 10:36:31 +01:00
Uwe Steinmann
f0ab6af744 asking for version number can be turned of completely 2020-01-16 13:08:48 +01:00
Uwe Steinmann
905adbe6ba do not ask for approver/reviewer if workflow is turned of completely 2020-01-16 13:08:22 +01:00
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