Commit Graph

2018 Commits

Author SHA1 Message Date
Uwe Steinmann
4d24b0a11d call dummy check_[view|controller]_access method 2021-04-18 19:41:09 +02:00
Uwe Steinmann
8141ce72ec some minor corrections taken over from new bootstrap4 theme 2021-04-18 08:44:01 +02:00
Uwe Steinmann
871460899c use new SeedDMS_Theme_Style, replace plain html by methods in theme style 2021-04-18 07:08:00 +02:00
Uwe Steinmann
1b7a5c48ba replace SeedDMS_Bootstrap_Style by SeedDMS_Theme_Style 2021-04-15 15:36:32 +02:00
Uwe Steinmann
4a9d3666f1 move css and js files into theme directory 2021-04-15 15:35:53 +02:00
Uwe Steinmann
0278989a7e switch to new class name SeedDMS_Theme_Style 2021-04-15 10:33:29 +02:00
Uwe Steinmann
3e81ad7654 rename SeedDMS_Bootstrap_Style to SeedDMS_Theme_Style 2021-04-15 10:32:42 +02:00
Uwe Steinmann
37c322af10 remove empty nav bar from adminTools navigation 2021-04-11 13:00:15 +02:00
Uwe Steinmann
d48db0675c use tag 'main' and role=main for contentStart 2021-04-11 12:54:12 +02:00
Uwe Steinmann
dbe98b3a9d remove extra '"' in attribute of input element 2021-04-06 18:56:30 +02:00
Uwe Steinmann
23c9edd5a4 check if $this->extraheader['favicon'] has a value 2021-04-01 07:42:07 +02:00
Uwe Steinmann
c238b3003f checking for missing proc_open 2021-03-30 13:03:26 +02:00
Uwe Steinmann
2e21c7c6a0 action 'typeahead' also returns the id of the folder/document 2021-03-26 07:48:07 +01:00
Uwe Steinmann
ee3e619050 add icon for .ogg extension 2021-03-26 07:47:30 +01:00
Uwe Steinmann
69d6287fd1 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:54:30 +01:00
Uwe Steinmann
56ae6a89f7 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:49:51 +01:00
Uwe Steinmann
1210763111 formField() regards 'min' parameter 2021-03-16 19:13:51 +01:00
Uwe Steinmann
9d5c4a784f use .http_build_query() instead of own buggy code 2021-03-15 16:45:23 +01:00
Uwe Steinmann
fad2020cfd add searching for last date of a document status 2021-03-15 16:08:51 +01:00
Uwe Steinmann
4ef7d3b06e show message if there is not user the doc can be transfered to 2021-03-15 10:13:08 +01:00
Uwe Steinmann
00e6efed58 display translation of no_docs_expired instead of key 2021-03-15 10:12:41 +01:00
Uwe Steinmann
2cb2de2846 remove container 2021-03-14 14:05:11 +01:00
Uwe Steinmann
e9d606ce27 add optgroup in formField() 2021-03-14 13:57:21 +01:00
Uwe Steinmann
7fffe3867d remove html code with formField() 2021-03-14 13:56:29 +01:00
Uwe Steinmann
cc7618fde1 show date attributes as range 2021-03-12 10:09:23 +01:00
Uwe Steinmann
5729944384 add postfix for name of attribute in getAttributeEditField() 2021-03-12 10:02:33 +01:00
Uwe Steinmann
42cb475f34 get page navigation from ViewFolder via ajax 2021-03-10 16:37:00 +01:00
Uwe Steinmann
1e7e1a08d5 set charset in Content-Type header for js 2021-03-10 15:58:22 +01:00
Uwe Steinmann
cc2b57e486 add includeSubDomains; preload to Strict-Transport-Security header 2021-03-10 11:58:54 +01:00
Uwe Steinmann
6dfe43a4c4 version attributes were not used due to wrong parameter name 2021-03-06 15:35:23 +01:00
Uwe Steinmann
2a5a5b2053 pass $document not $folder to hook addDocumentContentAttributes 2021-03-05 18:46:20 +01:00
Uwe Steinmann
88ed21488c add optional paramter $target to formSubmit() 2021-03-05 07:10:36 +01:00
Uwe Steinmann
dbc79f62aa output nice folder row in object check list 2021-03-03 17:51:11 +01:00
Uwe Steinmann
32a855b740 initial support for drag and drop of attachments 2021-03-03 15:38:04 +01:00
Uwe Steinmann
23d0925556 fix typo in id of drop area 2021-03-03 15:26:29 +01:00
Uwe Steinmann
be4f2d4113 use chzn-select for groups and users 2021-03-02 07:31:23 +01:00
Uwe Steinmann
1f1fe940f8 use same user selection as on UsrMgr page 2021-03-01 18:37:49 +01:00
Uwe Steinmann
2f2472f79f add icon for m4a 2021-02-20 20:13:01 +01:00
Uwe Steinmann
b4fd707a60 change to two column layout 2021-02-16 14:35:16 +01:00
Uwe Steinmann
c8956a365d much better html formatting 2021-02-16 13:58:24 +01:00
Uwe Steinmann
400c8f11d1 fix button for sorting 2021-02-15 19:17:58 +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
e7b40e21f3 use htmlspecialchars() in getAttributeValue() for user/group name 2021-02-06 18:01:26 +01:00
Uwe Steinmann
9ed6f688bf list user which has been disabled 2021-02-05 13:26:03 +01:00
Uwe Steinmann
37d3577603 show difference in number of documents on chart page 2021-01-31 13:48:25 +01:00
Uwe Steinmann
9862eb5bf6 fix calculation of checksum 2021-01-27 16:27:24 +01:00
Uwe Steinmann
072b1d2eb9 check if user creating the version is currently editing 2021-01-27 09:54:46 +01:00
Uwe Steinmann
8a2224b669 check checksum of document version 2021-01-26 13:30:15 +01:00
Uwe Steinmann
4b91c390c3 add button for setting access rights in list of folders/documents 2021-01-25 10:07:18 +01:00
Uwe Steinmann
cb4cd22caf add csrf protection 2021-01-25 10:04:45 +01:00
Uwe Steinmann
dc3cd2e1de add csrf protection 2021-01-25 10:00:20 +01:00
Uwe Steinmann
b5d769fc1c remove old table structur in form, add csrf protection 2021-01-25 09:09:02 +01:00
Uwe Steinmann
44813338b1 add csrf protection 2021-01-25 09:08:40 +01:00
Uwe Steinmann
ef20172f57 add csrf protection 2021-01-25 09:08:12 +01:00
Uwe Steinmann
0638dab4f8 add csrf protection 2021-01-25 09:07:49 +01:00
Uwe Steinmann
c5694c21b4 add csrf protection, check if target is equal source folder 2021-01-25 09:07:12 +01:00
Uwe Steinmann
64152e0d0b add csrf protection 2021-01-25 09:00:28 +01:00
Uwe Steinmann
6dbcd3362f add csrf protection 2021-01-25 09:00:03 +01:00
Uwe Steinmann
3fa952c5cb fix possible csrf attack due to missing form token 2021-01-24 17:05:13 +01:00
Uwe Steinmann
1399a3547e placeholder of select can be set 2021-01-14 22:35:03 +01:00
Uwe Steinmann
526d833ab1 replace icon on Statistics button 2021-01-13 13:17:33 +01:00
Uwe Steinmann
0767dadf39 loading more items on ViewFolder page obeys sort order 2021-01-13 07:42:35 +01:00
Uwe Steinmann
de4dec03cc add icon for mp4 2021-01-12 22:03:47 +01:00
Uwe Steinmann
78dfd5269e run all mailto through htmlspecialchars to prevent clickjacking attacks 2021-01-11 07:59:32 +01:00
Uwe Steinmann
ac03479391 unfold all folders within current path 2020-12-28 19:43:36 +01:00
Uwe Steinmann
9f7933f030 place preview icons left of menu item on mouse over 2020-12-23 16:09:29 +01:00
Uwe Steinmann
0a8ca01615 place preview of drop folder menu left of menu 2020-12-23 12:19:49 +01:00
Uwe Steinmann
75e68c75d9 replace phrase documents_to_trigger_rejected by document_rejected 2020-12-23 06:22:00 +01:00
Uwe Steinmann
6971a46be8 show a list of apache extensions 2020-12-22 17:05:45 +01:00
Uwe Steinmann
9e239a3c65 put full name into first line of user selector
makes it possible to search for it
2020-12-18 12:43:07 +01:00
Uwe Steinmann
19afdb9dc3 use $dms->getRootFolder() instead of $settings->_rootFolderId 2020-12-18 10:22:29 +01:00
Uwe Steinmann
24a919aed1 init task list before using it 2020-12-18 10:21:32 +01:00
Uwe Steinmann
28bbff0cc7 check if root folder is accessible 2020-12-18 10:20:46 +01:00
Uwe Steinmann
760265d136 check if folder for jstree is actually accesible 2020-12-18 10:19:49 +01:00
Uwe Steinmann
7d37ef3ae2 pass $dms->getRootFolder() to DocumentChooser 2020-12-18 10:18:55 +01:00
Uwe Steinmann
6da57affb0 set link behind brand to out.ViewFolder.php without a specific folderid 2020-12-18 10:17:37 +01:00
Uwe Steinmann
1581043714 propperly set date format for date chooser used by attributes 2020-12-18 10:16:34 +01:00
Uwe Steinmann
4708e8b393 add new config var _useHomeAsRootFolder 2020-12-18 08:06:01 +01:00
Uwe Steinmann
613d234d86 set folder id in global nav to $dms->getRootFolder() 2020-12-18 07:53:07 +01:00
Uwe Steinmann
02a0ef95f9 check if document != null 2020-12-18 06:42:35 +01:00
Uwe Steinmann
41584479b7 echo number of pending reviews at right place in code 2020-12-18 06:41:56 +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
d9fa867582 add support for configurable date format 2020-12-17 13:41:00 +01:00
Uwe Steinmann
efe6fe085d add support for using configured date format 2020-12-17 11:44:19 +01:00
Uwe Steinmann
88f3205be7 dateformat of date picker is created from configured date format 2020-12-17 11:43:31 +01:00
Uwe Steinmann
22cf24250c check if getting document succeeded 2020-12-16 16:48:30 +01:00
Uwe Steinmann
70c5b90643 add hook documentListRowBelowTitle 2020-12-15 17:42:07 +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
98c1220260 start to add suggesestion to opensearchengіne (not working yet) 2020-12-14 07:08:48 +01:00
Uwe Steinmann
beaa54ac92 call hook folderListItem 2020-12-13 14:45:55 +01:00
Uwe Steinmann
1e9e7c0e2f turn typeahead search on for fulltext search 2020-12-13 09:38:12 +01:00
Uwe Steinmann
582c00ce4e use new typeahead search using json objects 2020-12-13 09:10:50 +01:00
Uwe Steinmann
efed9f2b9c add support for indexing folders 2020-12-12 16:29:56 +01:00
Uwe Steinmann
858b01fac1 rename hash for footerjs into hashjs 2020-12-11 09:27:42 +01:00
Uwe Steinmann
120ab5a0a9 show path and name of selected doc/folder in doc/folder chooser as title 2020-12-11 09:17:08 +01:00
Uwe Steinmann
ad6f8b5ff1 show image in dropfoldermenu after mouseover, make menu 400px wide 2020-12-10 13:50:21 +01:00
Uwe Steinmann
0aad307607 do not make nodes in tree selectable, unfold if clicked on a folder 2020-12-10 13:49:15 +01:00
Uwe Steinmann
7162a2b2e1 check if session exists in globalNavigation() 2020-12-09 17:35:39 +01:00
Uwe Steinmann
c29de3a7ca set audio preload to false 2020-12-05 15:27:40 +01:00
Uwe Steinmann
e407f82d3a add extra output of date attributes 2020-12-01 22:04:19 +01:00
Uwe Steinmann
29c0d889cd format dates with getLongReadableDate() 2020-12-01 21:43:10 +01:00
Uwe Steinmann
6bb4218e44 initial support customizable date format 2020-12-01 18:25:22 +01:00
Uwe Steinmann
f482c42db3 pass 'asc' as order dir to hook searchHeaderList 2020-12-01 18:24:55 +01:00
Uwe Steinmann
132c643433 user getReadableDate() instead of date() 2020-12-01 18:24:29 +01:00
Uwe Steinmann
1ce88fcb13 pass orderby and orderdir to hook searchListHeader, fix icons 2020-12-01 12:41:09 +01:00
Uwe Steinmann
d64af2b3b1 add new methode typeahead() which is to replace the restapi method 2020-11-30 15:41:33 +01:00
Uwe Steinmann
32b03b1e58 fix another cross site scripting hole (CVE-2020-28727) 2020-11-24 17:13:36 +01:00
Uwe Steinmann
877844cbba fix security issue CVE-2020-28726
escape input form field value
2020-11-24 08:23:23 +01:00
Uwe Steinmann
386e37db0d saving the settings will no longer reenable an extention with no configuration 2020-11-22 12:35:26 +01:00
Uwe Steinmann
42a0df1d52 rename hook folderInfo to folderInfos, add hook additionalDocumentInfos 2020-11-13 11:23:56 +01:00
Uwe Steinmann
f094262e8b hook documentInfos() replaces title and container, new hook additionalDocumentInfos 2020-11-13 11:23:04 +01:00
Uwe Steinmann
c36d5c9cb9 replace fa-bar icon with fa-bars 2020-11-11 17:41:58 +01:00
Uwe Steinmann
768ea3544c theme in configuration can override theme of each user 2020-11-09 15:14:09 +01:00
Uwe Steinmann
fc4c16c01b move favicon 2020-11-05 08:41:29 +01:00
Uwe Steinmann
277cc52025 check if extraheader[favicon] is set 2020-11-03 17:36:35 +01:00
Uwe Steinmann
a358d8565a add list of rejected documents 2020-10-23 17:06:19 +02:00
Uwe Steinmann
d7a7b251fd ? 2020-10-23 16:24:29 +02:00
Uwe Steinmann
19ab11f595 more parameters can be passed to getModalBoxLink() and getModalBox() 2020-10-22 18:16:44 +02:00
Uwe Steinmann
80453c7e2e use new methods getModalBoxLink() and getModalBox(), remove printCategoryChooser() 2020-10-22 17:19:47 +02:00
Uwe Steinmann
196ea676be minor backports from 6.0.x 2020-10-22 13:12:02 +02:00
Uwe Steinmann
0c07a0568e do not allow a second user substitution 2020-10-22 12:45:15 +02:00
Uwe Steinmann
1924e1901d unset formtoken before creating link to footer js file 2020-10-22 12:42:54 +02:00
Uwe Steinmann
16836bf283 add new methods getModelBox() and getModelBoxLink() 2020-10-22 12:30:49 +02:00
Uwe Steinmann
27d85cd156 add link to document/folder details in list row when onepage mode is on 2020-10-22 07:39:09 +02:00
Uwe Steinmann
feb0b2a6f1 set btn-danger 2020-10-08 22:28:55 +02:00
Uwe Steinmann
d08f6fe24c set button type which didn't have 2020-10-08 22:25:51 +02:00
Uwe Steinmann
8198fd333f replace btn-default by btn-secondary 2020-10-08 22:13:33 +02:00
Uwe Steinmann
5f8879a8e5 new conf variable for workflows in extensions 2020-10-08 21:58:20 +02:00
Uwe Steinmann
33b1e1f65f fix js error after upgrade to cytoscrape.js 3.x 2020-10-08 21:35:46 +02:00
Uwe Steinmann
d35d815376 set missing attributes of tree nodes to make drag&drop work again 2020-10-08 19:49:22 +02:00
Uwe Steinmann
31e55a500e add class btn-danger for removal buttons 2020-10-08 09:17:23 +02:00
Uwe Steinmann
a72e974db2 add class btn-danger to removal buttons 2020-10-08 09:08:33 +02:00
Uwe Steinmann
68a46bb78d make buttons primary or danger 2020-10-08 09:07:40 +02:00
Uwe Steinmann
7bd399afda add icon on button 2020-10-08 09:05:46 +02:00
Uwe Steinmann
ec6e369e4a remove extra closing div 2020-10-08 09:05:33 +02:00
Uwe Steinmann
e33a37ca93 make remove button btn-danger 2020-10-08 08:51:37 +02:00
Uwe Steinmann
089b74ec38 replace html code for rows and columns 2020-10-08 08:51:20 +02:00
Uwe Steinmann
63236e7f93 replace old html code 2020-10-08 08:34:55 +02:00
Uwe Steinmann
d1a5a6823b use new row, column methods instead of plain html 2020-10-08 07:57:23 +02:00
Uwe Steinmann
28e7b32ddf replace html code with row and column methods 2020-10-07 19:04:39 +02:00
Uwe Steinmann
1c71887293 make box for number of hits of type info 2020-10-07 18:52:14 +02:00
Uwe Steinmann
919fdd6590 use new methods for rows and columns 2020-10-07 18:33:22 +02:00
Uwe Steinmann
b5f252cd54 add methods [row|column][Start|End]() 2020-10-07 18:32:50 +02:00
Uwe Steinmann
a3898e36de fix getAttributeEditField() for boolean attributes 2020-10-07 07:45:06 +02:00
Uwe Steinmann
74a07c9593 close button of modal boxes is never primary 2020-10-06 18:35:33 +02:00
Uwe Steinmann
7862f5bc80 do not export empty groups 2020-09-29 17:07:16 +02:00
Uwe Steinmann
904eef7816 fix selection of owner 2020-09-29 16:42:10 +02:00
Uwe Steinmann
0979d2bd54 get category, mimetype and facets from view 2020-09-29 16:42:09 +02:00
Uwe Steinmann
364612f497 do not show occurences because not each fulltext engine supports it 2020-09-29 16:42:09 +02:00