Commit Graph

732 Commits

Author SHA1 Message Date
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
Uwe Steinmann
2e620fa622 add missing column header in group list 2016-01-27 06:50:11 +01:00
Uwe Steinmann
7efe61a059 add line break between users being active on a workflow 2016-01-27 06:49:19 +01:00
Uwe Steinmann
371bd08e38 escape user names to prevent xss attacks 2016-01-27 06:48:39 +01:00
Uwe Steinmann
6ce9be7fd5 take back in js for file upload 2016-01-25 09:36:19 +01:00
Uwe Steinmann
07f5512c9a add csp header only if view->js() is defined 2015-12-16 07:16:16 +01:00
Uwe Steinmann
d6c393dede use div.splash instead of calling noty() for message of missing
translations
2015-12-16 07:14:13 +01:00
Uwe Steinmann
a71cb01c85 ??? 2015-12-16 07:14:04 +01:00
Uwe Steinmann
bdc3a28dcf seperate javascript from html 2015-12-15 21:02:47 +01:00
Uwe Steinmann
dfeac6843f no need for $user in js() 2015-12-15 21:02:14 +01:00
Uwe Steinmann
3f778f9a77 seperate html from javascript to make content security policy possible 2015-12-14 15:16:32 +01:00
Uwe Steinmann
5f85b2290a do not access view parameter 'folder' in js() 2015-12-14 11:47:11 +01:00
Uwe Steinmann
c0fa5d9cc6 fix link to Search.php, add missing params to printFolderChooser() 2015-12-14 11:45:56 +01:00
Uwe Steinmann
8cc2d4d9ab change all links to op/op.Search.php to out/out.Search.php 2015-12-14 10:48:56 +01:00
Uwe Steinmann
b21237e87a seperate html from javascript 2015-12-14 09:53:42 +01:00
Uwe Steinmann
253075e418 return just the html to be embedded into a existing page 2015-12-14 09:51:51 +01:00
Uwe Steinmann
c3fddd209d seperate folder chooser in html and javascript 2015-12-14 09:50:49 +01:00
Uwe Steinmann
dcd973cb67 seperate html from javascript 2015-12-14 09:48:25 +01:00
Uwe Steinmann
836fcd4457 remove all javascript from html output and place in a seperate file
this requires to change the popover into bootbox
2015-12-11 20:29:52 +01:00
Uwe Steinmann
4a23bd9eca rename css() to js() 2015-12-11 08:21:04 +01:00
Uwe Steinmann
5387401098 major rewrite to make it csp ready
place all javascript in a javascript file
2015-12-11 08:14:42 +01:00
Uwe Steinmann
940102f72f add csp headers, place div.splash instead of calling noty() 2015-12-11 08:13:05 +01:00
Uwe Steinmann
e4ba3b44a8 rewrote using ajax (like UsrMgr) 2015-12-10 12:43:42 +01:00
Uwe Steinmann
d493715ae8 simplify some old javascript code 2015-12-10 12:43:19 +01:00
Uwe Steinmann
e47d84071d attributes of type checkbox can be reset
added a hidden field in printAttributeEditField() to set the value of
a checkbox to 0 if it not set.
2015-12-04 08:02:02 +01:00
Uwe Steinmann
8af9338ed5 add missing file 2015-11-19 17:38:30 +01:00
Uwe Steinmann
2f15d75508 set end date to end of day if day is set 2015-11-19 07:16:46 +01:00
Uwe Steinmann
f5bf326605 check if getTimeLine() returns data 2015-11-19 06:43:36 +01:00
Uwe Steinmann
6d16946a19 show more information of selected document 2015-11-16 08:35:06 +01:00
Uwe Steinmann
7211f4b10a show status log 2015-11-11 10:29:49 +01:00
Uwe Steinmann
b8638a188b add translation for attribute types 2015-10-30 08:49:44 +01:00
Uwe Steinmann
15b1414d6e set format in date field to yyyy-mm-dd 2015-10-30 08:02:57 +01:00
Uwe Steinmann
74a248d592 allow to edit 'date' and 'boolean' attributes 2015-10-30 08:02:21 +01:00
Uwe Steinmann
2f9c09a559 add new attr type 'date' 2015-10-30 08:01:37 +01:00
Uwe Steinmann
36578b267d pass currently set language to timeline 2015-10-28 08:19:13 +01:00
Uwe Steinmann
50478ee3c7 use textarea for attribute field values if value > 80 chars 2015-10-28 08:18:25 +01:00
Uwe Steinmann
aa1f10af1c add word-break class to output of orig filename
breaking long filenames will leave more space for the preview image
2015-10-27 11:41:02 +01:00
Uwe Steinmann
af91b6813f do not use reference to array item, use index 2015-10-20 18:36:24 +02:00
Uwe Steinmann
47c2083fe6 do not set min/max anymore as it can't be changed afterwards 2015-10-20 18:15:08 +02:00
Uwe Steinmann
f83ae3eda1 printTimeline() retrieves data from ajax 2015-10-19 13:15:52 +02:00
Uwe Steinmann
88e0a57135 add ajax function for returning the timeline data 2015-10-19 13:15:20 +02:00
Uwe Steinmann
002fa8df29 get timeline data in ajax call 2015-10-19 13:14:14 +02:00
Uwe Steinmann
23362f8146 remove old code, set data-query in div.ajax elements
load an initial user when the page is opened
2015-09-25 16:17:23 +02:00
Uwe Steinmann
ca3970c9c3 fix setting date in timeline 2015-09-23 18:05:30 +02:00
Uwe Steinmann
dba8e78dc8 reformat datetime for timeline 2015-09-23 17:59:39 +02:00
Uwe Steinmann
b456b02fbd add timeline to admin menu 2015-09-23 17:11:09 +02:00
Uwe Steinmann
659f788de4 do not show subheader of timeline if empty 2015-09-23 15:50:04 +02:00
Uwe Steinmann
617d18d7d1 timeline can be filtered by type of items 2015-09-23 14:12:30 +02:00
Uwe Steinmann
06691a7d6f set className of items in timeline 2015-09-23 14:12:07 +02:00
Uwe Steinmann
bf0702709e show creation date in info section 2015-09-23 12:57:49 +02:00
Uwe Steinmann
88d973f496 turn off selectable items in timeline 2015-09-22 10:55:52 +02:00
Uwe Steinmann
6a91429711 do not output timeline if no data is available 2015-09-22 10:32:33 +02:00
Uwe Steinmann
9db24f5e7d set height of timeline to 300px, limit max date to today 2015-09-22 10:20:11 +02:00
Uwe Steinmann
619d2b5ca3 limit timeline to date range 2015-09-22 10:16:56 +02:00
Uwe Steinmann
c8b007a1af timeline can be limited to date range 2015-09-22 10:16:26 +02:00
Uwe Steinmann
94dbfdfd15 set msg of item in timeline to name of document 2015-09-21 18:09:30 +02:00
Uwe Steinmann
a326421ac2 take out today from timeline 2015-09-21 17:20:10 +02:00
Uwe Steinmann
1de65573ec make chart for timeline higher 2015-09-21 17:19:52 +02:00
Uwe Steinmann
a7736397a8 pass $timeline instead of $document to printTimeline() 2015-09-21 16:47:47 +02:00
Uwe Steinmann
fc909100d2 add link to timeline, move version info into last line 2015-09-21 16:47:05 +02:00
Uwe Steinmann
c385d86a60 add timeline over all documents 2015-09-21 16:46:17 +02:00
Uwe Steinmann
1004d5f1ee separate extraheader by js and css, only admins see timeline 2015-09-18 07:55:24 +02:00
Uwe Steinmann
71ba7412ce split extraheader into js and css, msg in timeline can be translated 2015-09-18 07:53:20 +02:00
Uwe Steinmann
b55627f213 add initial support for timeline of recent changes 2015-09-16 21:19:46 +02:00
Uwe Steinmann
f11738fbb1 show preview of file and date of creation 2015-09-03 15:16:20 +02:00
Uwe Steinmann
5a534e6b71 use translation for text when modal boxes are loading its content 2015-09-03 15:15:12 +02:00
Uwe Steinmann
8256b61e36 do not output info if no user is selected 2015-08-21 11:09:38 +02:00
Uwe Steinmann
0ae71871ef fix php warning in getProgressBar() 2015-08-20 16:22:05 +02:00
Uwe Steinmann
26819ce00e add method info(), place output of info below user selection 2015-08-20 15:55:03 +02:00