Commit Graph

822 Commits

Author SHA1 Message Date
Uwe Steinmann
b29dfb2f50 call printAttributeEditField() with optional parameter norequire=true 2016-10-04 17:05:46 +02:00
Uwe Steinmann
f987efb7c2 add optional parameter norequire to printAttributeEditField() 2016-10-04 17:05:07 +02:00
Uwe Steinmann
9fa5ececb7 add showSingleSearchHit config option 2016-10-04 16:54:16 +02:00
Uwe Steinmann
c97a300fd4 reenable empty form for new workflow 2016-09-26 17:47:48 +02:00
Uwe Steinmann
bd15584c65 use invalidHandler instead of bind() 2016-09-06 15:34:05 +02:00
Uwe Steinmann
e4aba9ae25 add validation rule attribute to input field for interger attributes 2016-09-06 15:33:26 +02:00
Uwe Steinmann
f6504c2aab set opacity for states not in current transition 2016-09-06 09:40:39 +02:00
Uwe Steinmann
176587c831 fix link to document view 2016-09-06 08:22:47 +02:00
Uwe Steinmann
df375ada77 set zoom value on button after rendering graph 2016-09-06 08:22:22 +02:00
Uwe Steinmann
49cf88c5c2 show workflow graph only if involved in workflow or admin 2016-09-06 08:21:44 +02:00
Uwe Steinmann
ae532b7b28 show workflow graph 2016-09-05 06:39:20 +02:00
Uwe Steinmann
4de8a204f7 show workflow form only if workflow is selected 2016-09-05 06:38:44 +02:00
Uwe Steinmann
9312b83599 highlight currently possible transitions
if current transitions is passed to view
2016-09-05 06:37:01 +02:00
Uwe Steinmann
0548507829 make iframe larger 2016-09-04 20:16:03 +02:00
Uwe Steinmann
e3084bb63c take out option 'condense' for layout 2016-09-02 08:42:08 +02:00
Uwe Steinmann
588137ddd2 check for missing release/reject of document, nicer layout 2016-09-02 08:36:12 +02:00
Uwe Steinmann
c0e816fdc5 add zoom button, restrict zooming 2016-09-02 08:35:51 +02:00
Uwe Steinmann
424b1e1508 add symbols in front of states and actions in transittion list 2016-09-01 21:01:02 +02:00
Uwe Steinmann
b066edfaae use css class for workflow states/actions 2016-09-01 21:00:24 +02:00
Uwe Steinmann
9e6c5d41cc add grid extension for cytoscape 2016-08-31 16:09:37 +02:00
Uwe Steinmann
1d62a321a7 escape '"' in user/group names 2016-08-31 15:41:52 +02:00
Uwe Steinmann
7fd7a3b536 remove min-width for preview image 2016-08-31 15:28:04 +02:00
Uwe Steinmann
730f0aee60 add legend, click on action list users and groups 2016-08-31 15:23:30 +02:00
Uwe Steinmann
23592faf34 include topCenter for noty 2016-08-31 15:23:12 +02:00
Uwe Steinmann
92da72b153 add redrawing of graph, minor css improvements 2016-08-31 10:33:06 +02:00
Uwe Steinmann
080888bb60 add redraw of layout, set 'cose' as default layout 2016-08-31 10:14:28 +02:00
Uwe Steinmann
3c0061fdaf overhaul graph layout (use cytoscape) 2016-08-31 08:44:45 +02:00
Uwe Steinmann
ab1cf7e197 fix error in adding nodes
states were added twice in some cases
2016-08-31 08:36:53 +02:00
Uwe Steinmann
b2d13bd657 show workflow name as title of warn icon if action is required 2016-08-30 11:45:07 +02:00
Uwe Steinmann
e67ef718cc add jquery validation 2016-08-30 07:59:03 +02:00
Uwe Steinmann
96a4db05bf add more field validation 2016-08-29 09:44:49 +02:00
Uwe Steinmann
e1716da485 do not use showtree in documentListRow() anymore 2016-08-11 12:06:53 +02:00
Uwe Steinmann
1ae82da90e use new ajax command 'clearclipboard' 2016-08-09 18:15:20 +02:00
Uwe Steinmann
f647796dcd check if $data is set before using it 2016-08-09 06:51:43 +02:00
Uwe Steinmann
3a006be5bf make folderListRow() a bit more efficient
get subfolders and documents only, if enablerecursivecount is turned on
2016-08-03 12:32:12 +02:00
Uwe Steinmann
6cd0e98618 make list look like UserList 2016-08-03 08:07:38 +02:00
Uwe Steinmann
7b73a442c2 set user image to 100px wide 2016-08-03 08:06:53 +02:00
Uwe Steinmann
ba10acc14c show group only if admin or a member of that group 2016-08-03 08:06:25 +02:00
Uwe Steinmann
8770aaecb3 add new paramter maxSizeForFullText 2016-08-02 17:08:54 +02:00
Uwe Steinmann
953ccc1eb0 add expiration date to list of documents 2016-07-27 21:08:15 +02:00
Uwe Steinmann
2b17ffc207 add warning on top of form 2016-07-06 10:30:53 +02:00
Uwe Steinmann
79ae595b7d add ImportFS to menu 2016-07-06 10:30:32 +02:00
Uwe Steinmann
db53cc518a check id dropfolder exists
do not show the form but a warning if the drop folder doesn't exist
2016-07-06 09:05:21 +02:00
Uwe Steinmann
32d69b61d8 if $showfolders is set, only folders are shown 2016-07-06 09:04:15 +02:00
Uwe Steinmann
f8a6b7e599 distinguish between files and folders in printDropFolderChooser()
if $showfolders is set, only folders will be shown
2016-07-06 09:03:14 +02:00
Uwe Steinmann
ba786d52b9 add hidden field to attributes 2016-05-26 10:45:14 +02:00
Uwe Steinmann
b89023d99d use class folderselect instead of id
previously only the first folder in the list could be selected
2016-05-24 07:55:04 +02:00
Uwe Steinmann
483d082c44 fix warning in list of missing translations 2016-05-24 07:50:43 +02:00
Uwe Steinmann
4a327be618 put warning for missing translation into container and row 2016-05-24 07:46:34 +02:00
Uwe Steinmann
6ba8013d40 add option to unlink file in drop folder once uploaded 2016-05-23 13:15:50 +02:00
Uwe Steinmann
66039b6df2 add thead and tbody 2016-05-18 09:20:05 +02:00
Uwe Steinmann
0006416b7e add class table-hover to table 2016-05-18 09:19:46 +02:00
Uwe Steinmann
1c09327bc0 add preview function for audio files (not activated) 2016-05-09 08:21:21 +02:00
Uwe Steinmann
058acc313a fix mass import from file system 2016-05-04 13:09:13 +02:00
Uwe Steinmann
30a18f81c5 $strictformset isn't needed 2016-05-03 07:12:24 +02:00
Uwe Steinmann
1b8e0052e8 use contentHeading() instead of plain html 2016-05-03 07:03:47 +02:00
Uwe Steinmann
5d25720ec9 add new operation to clear cache completely 2016-04-28 07:51:42 +02:00
Uwe Steinmann
42c68e0b1e remove class 'table' from table
this turns of the lines
2016-04-27 20:34:44 +02:00
Uwe Steinmann
24e30529ab fix html markup 2016-04-26 18:20:22 +02:00
Uwe Steinmann
7e3cd7d6c4 move inclusion SeedDMS/Preview.php into view 2016-04-26 13:43:02 +02:00
Uwe Steinmann
fcf85a88e0 move inclusion of "SeedDMS/Preview.php" into view 2016-04-26 12:16:29 +02:00
Uwe Steinmann
877f5c80ed output access rights even if inherited 2016-04-22 16:36:47 +02:00
Uwe Steinmann
8b3289aa8a remove contentContainerEnd() as there is no corresponding Start 2016-04-22 09:15:15 +02:00
Uwe Steinmann
0ece3ef69a fix edit attributes of older versions
link always pointed to latest version
2016-04-20 18:10:55 +02:00
Uwe Steinmann
a3644e86e7 fix syntax error 2016-04-12 17:04:13 +02:00
Uwe Steinmann
87a221da9b nicer layout 2016-04-12 08:30:13 +02:00
Uwe Steinmann
58e6f10a93 add tbody and thead to table 2016-04-05 09:44:07 +02:00
Uwe Steinmann
5c32c6edbe replace '<?=' by '<?php echo' 2016-03-30 14:16:23 +02:00
Uwe Steinmann
ebb53440df remove some old code, mark code as deprecated 2016-03-29 08:32:32 +02:00
Uwe Steinmann
8ac0a99e09 take out last empty line (Closes: #252, #254)
causes a header to be send to early
2016-03-29 08:03:08 +02:00
Uwe Steinmann
2c297b5e1c take out javascript from html (Closes #253) 2016-03-29 07:59:20 +02:00
Uwe Steinmann
22e2c851e8 add option to clear password of guests 2016-03-23 12:32:03 +01:00
Uwe Steinmann
7bf0850275 check for document and version 2016-03-23 09:09:17 +01:00
Uwe Steinmann
3209fc0da2 add missing closing div 2016-03-23 09:06:27 +01:00
Uwe Steinmann
40c57f3dee take out obsolete php code in comment of javascript 2016-03-23 08:57:54 +01:00
Uwe Steinmann
942de6cfee new style add-clipboard-area for receiving drop events
add new class to menu item for clipboard which allows to easily
drop an item into the clipboard even if the clipboard itself
isn't visible
2016-03-23 08:54:34 +01:00
Uwe Steinmann
85bc796629 fix wrong variable name in javascript 2016-03-22 14:47:13 +01:00
Uwe Steinmann
3ffa43730a get strictformcheck from view in js() 2016-03-21 10:17:16 +01:00
Uwe Steinmann
070edae476 do not add js code for timeline if not admin 2016-03-21 08:33:41 +01:00
Uwe Steinmann
8daa5dadea add printSelectPresetButton[Html|Js]()
button for preseting options is a select box
2016-03-21 07:40:17 +01:00
Uwe Steinmann
bdf4741186 remove all onsubmit attributes 2016-03-18 17:12:53 +01:00
Uwe Steinmann
3d0d874caa get strictformcheck from view 2016-03-18 17:04:56 +01:00
Uwe Steinmann
513ed0c4e1 get $dropfolderdir from view in js() 2016-03-18 16:39:22 +01:00
Uwe Steinmann
e58de66f38 call printDropFolderChooserJs only if dropfolder is set 2016-03-18 16:32:55 +01:00
Uwe Steinmann
ca6f0303b2 put javascript into its own file and turn on content security policy 2016-03-18 15:33:18 +01:00
Uwe Steinmann
efbf85e34e add javascript into external file 2016-03-16 20:10:59 +01:00
Uwe Steinmann
29de2282a3 add method js() 2016-03-16 20:10:17 +01:00
Uwe Steinmann
cfaa11a02c turn on csp by adding method js() 2016-03-16 15:11:33 +01:00
Uwe Steinmann
a758b29369 place javascript into external file 2016-03-16 15:04:17 +01:00
Uwe Steinmann
71b8cd7311 place js into extra file 2016-03-16 12:58:18 +01:00
Uwe Steinmann
79cb2b3b2c add form check 2016-03-16 12:57:55 +01:00
Uwe Steinmann
8a4e558f4b place all javascript into external file 2016-03-16 12:41:17 +01:00
Uwe Steinmann
86cdb4e2fa fix inserting personal keyword
was still using old javascript code
2016-03-16 09:38:24 +01:00
Uwe Steinmann
90e1c35187 fix selection of file, remove some old javascript
only the first document in the list could be selected
2016-03-16 09:29:37 +01:00
Uwe Steinmann
27986fa4e2 remove print_r() 2016-03-15 16:00:42 +01:00
Uwe Steinmann
66ec6fb7ce add missing contentEnd() at end of page 2016-03-15 08:30:53 +01:00
Uwe Steinmann
4e46531edf place all javascript into js() function 2016-03-15 08:30:08 +01:00
Uwe Steinmann
d283c24979 put footnote into row-fluid 2016-03-15 08:28:23 +01:00
Uwe Steinmann
269c1825e8 add class 'table' to table 2016-03-14 15:33:57 +01:00
Uwe Steinmann
7ffced9c4b add delete, move, clipboard buttons to document list 2016-03-14 15:28:06 +01:00
Uwe Steinmann
1f76c2455a add link to EditOnline 2016-03-09 07:58:52 +01:00
Uwe Steinmann
cbb9317619 edit document versions online 2016-03-09 07:51:35 +01:00
Uwe Steinmann
526ae37b08 add new parameter editOnlineFileTypes 2016-03-09 07:45:37 +01:00
Uwe Steinmann
7280668f91 add admin script for mass importing files from file system 2016-03-08 18:35:39 +01:00
Uwe Steinmann
60edc144e4 show folders if showfolders is set 2016-03-08 18:34:34 +01:00
Uwe Steinmann
96db0eb052 dropfolderchoose can select folders 2016-03-08 18:33:54 +01:00
Uwe Steinmann
835b16cb07 take out file deletion 2016-03-08 17:23:45 +01:00
Uwe Steinmann
5471c17b0f better check if reviewer/approver still exist 2016-03-08 16:07:42 +01:00
Uwe Steinmann
3031596312 replace old UI:: function calls 2016-03-08 14:59:04 +01:00
Uwe Steinmann
22aa803984 output some translations used in js code 2016-03-08 10:40:01 +01:00
Uwe Steinmann
d67132f090 set formtoken on draggable documents/folders 2016-03-08 10:39:21 +01:00
Uwe Steinmann
e9c116cd7a object title in clipboard is not draggable 2016-03-08 08:01:41 +01:00
Uwe Steinmann
6098fc9057 much cleaner drap&drop support 2016-03-08 06:56:58 +01:00
Uwe Steinmann
691565473d do not output 'this category is used' for new category 2016-03-04 16:06:19 +01:00
Uwe Steinmann
a15b83dc99 add setting header of javascript file 2016-02-17 11:43:19 +01:00
Uwe Steinmann
a691c9628c remove extra variable in print[Document|Folder]ChooserJs() for modal form 2016-02-17 11:38:32 +01:00
Uwe Steinmann
e9f185533c do not show substitute user button if not admin or same user 2016-02-15 15:23:29 +01:00
Uwe Steinmann
54df39ba81 pass timeout to view and previewer 2016-02-15 10:57:37 +01:00
Uwe Steinmann
a7c8d36720 use same var name as for all other views 2016-02-15 10:41:33 +01:00
Uwe Steinmann
68d9e05931 do not show values if not set, add type to list of attributes 2016-02-11 17:47:40 +01:00
Uwe Steinmann
2e6511ebec replace phrase 'documents_to_check' by 'documents_to_process' 2016-02-10 10:34:44 +01:00
Uwe Steinmann
65ce04d175 show pending reviews/approvals/workflows only for configured workflow mode 2016-02-10 10:34:02 +01:00
Uwe Steinmann
82e839bb11 list pending approval/reviews/workflows only for configured workflow mode 2016-02-10 10:32:58 +01:00
Uwe Steinmann
c0a1ed57bb list documents in workflow, add button to substitute user 2016-02-10 10:04:24 +01:00
Uwe Steinmann
c15b7c4802 take out commented code 2016-02-10 10:03:56 +01:00
Uwe Steinmann
75183a9d36 check experation and set status accordingly before listing documents 2016-02-09 17:33:23 +01:00
Uwe Steinmann
7640660284 make deletion of folders and documents work 2016-02-09 12:36:19 +01:00
Uwe Steinmann
ffdcbd0ce0 make click on .delete-document-btn and .delete-folder-btn work
even if the html is loaded by ajax
2016-02-09 12:35:30 +01:00
Uwe Steinmann
a72063c36a add missing parameter in call to printKeywordChooserJs() 2016-02-09 08:51:27 +01:00
Uwe Steinmann
450ca9953e some code cleanup and no output if there are no dumps 2016-02-08 12:43:50 +01:00
Uwe Steinmann
911c7895d9 get some view parameter in js()
this fixes some php warnings
2016-02-08 10:40:29 +01:00
Uwe Steinmann
08831349dd fix syntax error 2016-02-05 17:31:29 +01:00
Uwe Steinmann
44a90c0263 use ajax calls and put all javascript into method js() 2016-02-05 17:26:45 +01:00
Uwe Steinmann
20f1de9a3f replace sql statements with method calls in SeedDMS_Core 2016-02-05 16:49:27 +01:00
Uwe Steinmann
8b6631da6a folderListRow() doesn't need folder from view 2016-02-04 19:03:48 +01:00
Uwe Steinmann
a733ee3bd4 complete rewritten attribute manager 2016-02-04 19:03:19 +01:00
Uwe Steinmann
2317c092d6 fix setting default search method
the search form in the main menu will just set 'fulltext=1' if
fulltext is the default method. out/out.Search.php will not
check for the defaultSearchMethod
2016-02-03 14:46:06 +01:00
Uwe Steinmann
4dce5d7ab3 help and default search method be set 2016-02-01 19:57:08 +01:00
Uwe Steinmann
0ca91816b5 pass strictformcheck to view, fix undefined variable error 2016-02-01 19:56:13 +01:00
Uwe Steinmann
7dc478382f initial support for auto login of guest user 2016-01-29 16:48:21 +01:00
Uwe Steinmann
52344c0842 fix Content-Type for javascript code 2016-01-28 16:50:06 +01:00
Uwe Steinmann
5abe031222 put javascript into a separate file 2016-01-28 15:04:14 +01:00
Uwe Steinmann
3f0a455260 put javascript into separate file 2016-01-28 14:56:23 +01:00
Uwe Steinmann
e9be5cc115 put all javascript into its own file 2016-01-28 13:38:12 +01:00
Uwe Steinmann
e7a6ebb8ce put javascript into separate file 2016-01-28 13:37:16 +01:00
Uwe Steinmann
b2ccf18db7 fix possible xss attack 2016-01-28 13:36:07 +01:00
Uwe Steinmann
36602ff54a add js() in view which turns CSP on 2016-01-27 17:33:40 +01:00
Uwe Steinmann
5ffbfbb898 list all docs in workflow owned by me and required operation by me 2016-01-27 17:11:29 +01:00
Uwe Steinmann
41d6f05f88 choose mandatory workflow from list if more than 1 workflow is possible 2016-01-27 16:20:51 +01:00
Uwe Steinmann
380c916c66 a list of mandatory workflows can be set 2016-01-27 16:20:12 +01:00