Commit Graph

1258 Commits

Author SHA1 Message Date
Uwe Steinmann
d63b36f3bf no need to check explicitly for admin, check_view_access() is enough 2016-04-22 08:21:44 +02:00
Uwe Steinmann
829d0911f0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-20 18:11:36 +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
e22f0e2065 use html_link() instead of plain html 2016-04-20 18:09:36 +02:00
Uwe Steinmann
a1cd739293 fix links to out.EditOnline.php and out.RemoveVersion.php 2016-04-20 15:49:40 +02:00
Uwe Steinmann
ae1bbffc64 fix link to out.EditOnline.php and out.RemoveVersion.php 2016-04-20 15:46:36 +02:00
Uwe Steinmann
dccb4c476a use html_url() for image 2016-04-20 09:03:15 +02:00
Uwe Steinmann
7ed8801f46 user html_url() and html_link() 2016-04-20 09:02:57 +02:00
Uwe Steinmann
ae3c5faef5 use html_link() 2016-04-20 09:02:30 +02:00
Uwe Steinmann
8d8f3e51fb move excel export into view 2016-04-18 20:53:00 +02:00
Uwe Steinmann
2188babab8 move js from html into dynamic js file 2016-04-18 13:21:56 +02:00
Uwe Steinmann
f8adb0cecf show previews were possible, pass accessobject to view 2016-04-15 13:20:56 +02:00
Uwe Steinmann
8723151361 check for access rights on controller actions 2016-04-13 18:31:42 +02:00
Uwe Steinmann
e96e94d471 use translated strings 2016-04-13 10:54:12 +02:00
Uwe Steinmann
0dba3d5300 Merge branch 'seeddms-5.0.x' into develop 2016-04-13 08:53:12 +02:00
Uwe Steinmann
d2ca2a8329 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-13 08:53:03 +02:00
Uwe Steinmann
46b36ba7e5 check for access on RemoveUser 2016-04-13 08:51:57 +02:00
Uwe Steinmann
46602c744b check for access on RemoveGroup 2016-04-13 08:51:34 +02:00
Uwe Steinmann
e527a6d176 fix access check and add new debug menu item 2016-04-13 08:51:03 +02:00
Uwe Steinmann
daa4066c04 show access restrictions for all role types except admin 2016-04-12 17:22:04 +02:00
Uwe Steinmann
a3644e86e7 fix syntax error 2016-04-12 17:04:13 +02:00
Uwe Steinmann
795eb1e028 manage access restrictions 2016-04-12 12:23:04 +02:00
Uwe Steinmann
50cf128471 replace phrase 'type' with 'role_type' 2016-04-12 08:48:12 +02:00
Uwe Steinmann
4ea8b141da Merge branch 'seeddms-5.0.x' into develop 2016-04-12 08:30:45 +02:00
Uwe Steinmann
992dc4faa0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-12 08:30:35 +02:00
Uwe Steinmann
87a221da9b nicer layout 2016-04-12 08:30:13 +02:00
Uwe Steinmann
fb73b9c922 get $user from view in mainMenu() 2016-04-12 07:55:15 +02:00
Uwe Steinmann
2caa65add6 replace phrase 'role' by 'type' 2016-04-08 12:54:25 +02:00
Uwe Steinmann
ba23fa9073 fix take over reviewers/approvers from last version, add field for members of a group 2016-04-07 19:33:49 +02:00
Uwe Steinmann
552c3b4d98 Merge branch 'seeddms-5.0.x' into develop 2016-04-05 10:05:05 +02:00
Uwe Steinmann
58e6f10a93 add tbody and thead to table 2016-04-05 09:44:07 +02:00
Uwe Steinmann
ba9dc0ccb4 add tbody and thead to table 2016-04-05 09:43:29 +02:00
Uwe Steinmann
c982a23a32 call hook userMenuItems() 2016-04-05 09:42:46 +02:00
Uwe Steinmann
7d50c6e69d Merge branch 'seeddms-5.0.x' into develop 2016-03-31 11:19:36 +02:00
Uwe Steinmann
8cd3e6cada Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-31 11:17:47 +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
267734e866 set missing variable from view 2016-03-24 15:59:24 +01:00
Uwe Steinmann
9fec5fd1c0 use right translation phrase 2016-03-24 15:57:10 +01:00
Uwe Steinmann
cc1c4081bc select user even in status S_LOG_ACCEPTED or S_LOG_REJECTED 2016-03-24 15:43:00 +01:00
Uwe Steinmann
ced19968aa output progressbar for receipt status 2016-03-24 15:42:18 +01:00
Uwe Steinmann
5a43b8f9f4 fix header 2016-03-24 15:41:54 +01:00
Uwe Steinmann
50cfb869e2 pass $document to mayEditVersion() 2016-03-23 16:53:32 +01:00
Uwe Steinmann
c7836aabfe check if $selrole is set 2016-03-23 16:27:56 +01:00
Uwe Steinmann
8d5e6d9d14 fix propper div wrapping 2016-03-23 15:47:53 +01:00
Uwe Steinmann
8b1effc2f3 Merge branch 'seeddms-5.0.x' into develop 2016-03-23 12:36:47 +01:00
Uwe Steinmann
d398f7733f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-23 12:34:50 +01: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
e72e7f3f15 Merge branch 'seeddms-5.0.x' into develop 2016-03-22 15:22:19 +01:00
Uwe Steinmann
0577fec1ba Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-22 15:11:42 +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
3ed43f3f09 Merge branch 'seeddms-5.0.x' into develop 2016-03-21 08:34:20 +01:00
Uwe Steinmann
4fcd0d0a72 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-21 08:34:08 +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
14b30ce48f do not call checkForm() if document wasn't modified 2016-03-21 07:46:55 +01:00
Uwe Steinmann
f2b091cb83 Merge branch 'seeddms-5.0.x' into develop 2016-03-21 07:41:30 +01:00
Uwe Steinmann
c1f698c0cf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-21 07:41:19 +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
ba47fededd Merge branch 'seeddms-5.0.x' into develop 2016-03-21 06:43:17 +01:00
Uwe Steinmann
0c20e0349b add missing contentEnd() 2016-03-21 06:43:00 +01:00
Uwe Steinmann
84e010bdf7 add missing contentEnd() 2016-03-21 06:42:27 +01:00
Uwe Steinmann
2fa5946bc5 fix syntax error 2016-03-21 06:40:40 +01:00
Uwe Steinmann
f2c239f67c place all javascript into function js() 2016-03-21 06:22:01 +01:00
Uwe Steinmann
59786c7bb0 add missing contendEnd() 2016-03-21 06:20:19 +01:00
Uwe Steinmann
1cd5622ca0 add missing space 2016-03-18 22:48:45 +01:00
Uwe Steinmann
00ed4c5743 Merge branch 'seeddms-5.0.x' into develop 2016-03-18 17:13:27 +01:00
Uwe Steinmann
1912e013c4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-18 17:13:14 +01:00
Uwe Steinmann
bdf4741186 remove all onsubmit attributes 2016-03-18 17:12:53 +01:00
Uwe Steinmann
c3f9abea0e Merge branch 'seeddms-5.0.x' into develop 2016-03-18 17:05:58 +01:00
Uwe Steinmann
89e61a3bb9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-18 17:05:18 +01:00
Uwe Steinmann
3d0d874caa get strictformcheck from view 2016-03-18 17:04:56 +01:00
Uwe Steinmann
601f32fc00 Merge branch 'seeddms-5.0.x' into develop 2016-03-18 16:40:46 +01:00
Uwe Steinmann
20b8da54d6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-18 16:39:48 +01:00
Uwe Steinmann
513ed0c4e1 get $dropfolderdir from view in js() 2016-03-18 16:39:22 +01:00
Uwe Steinmann
a7a9bc72a2 get $libraryfolder from view in js() 2016-03-18 16:38:36 +01:00
Uwe Steinmann
e58de66f38 call printDropFolderChooserJs only if dropfolder is set 2016-03-18 16:32:55 +01:00
Uwe Steinmann
4a85977874 separate js from html for document chooser 2016-03-18 16:25:07 +01:00
Uwe Steinmann
361b63256f Merge branch 'seeddms-5.0.x' into develop 2016-03-18 16:17:17 +01:00
Uwe Steinmann
f7883f9154 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-18 16:07:47 +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
7bd77ba43e Merge branch 'seeddms-5.0.x' into develop 2016-03-15 08:50:32 +01:00
Uwe Steinmann
fc0b7a4e16 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-15 08:48:03 +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
3f6420a6d4 Merge branch 'seeddms-5.0.x' into develop 2016-03-14 18:20:03 +01:00
Uwe Steinmann
51e4458df4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-14 18:19:47 +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
d317388d18 Merge branch 'seeddms-5.0.x' into develop 2016-03-09 08:10:15 +01:00
Uwe Steinmann
9a319ef539 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-09 08:06:37 +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
f859b48a57 Merge branch 'seeddms-5.0.x' into develop 2016-03-09 06:42:30 +01:00
Uwe Steinmann
dc3958b456 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-09 06:40:14 +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
aca3db06c2 Merge branch 'seeddms-5.0.x' into develop 2016-03-08 10:46:16 +01:00
Uwe Steinmann
91e57e49da Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-08 10:42:21 +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
4bd2a9f766 Merge branch 'seeddms-5.0.x' into develop 2016-03-08 07:00:09 +01:00
Uwe Steinmann
4a45fb2e42 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-03-08 06:59:18 +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
535012f844 add column with role 2016-03-04 16:01:40 +01:00
Uwe Steinmann
85ac4314f5 check if SeedDMS_Aco::getRoot() returns objects 2016-03-04 15:45:59 +01:00
Uwe Steinmann
dcc3d9e74c take out debug output 2016-03-04 12:59:56 +01:00
Uwe Steinmann
82ac006a13 add many access checks before showing a link 2016-03-04 09:40:08 +01:00
Uwe Steinmann
06346b956c check access for action info 2016-03-04 09:39:22 +01:00
Uwe Steinmann
795f03f8b8 add column with role 2016-03-04 09:38:37 +01:00
Uwe Steinmann
304a5d804e use same user list as for Acl manager 2016-03-04 09:38:01 +01:00
Uwe Steinmann
1175f6f9c5 list all users with the selected role 2016-03-04 09:36:44 +01:00
Uwe Steinmann
f84c8eedd2 add parameter to turn off/on advanced acl 2016-03-04 09:25:18 +01:00
Uwe Steinmann
51fa5d18e6 enhance AccessOperation by check_view_access()
all methods in SeedDMS_AccessOperation take the object to be checked
as the first parameter. Add new method check_view_access() which
checks if a view may be accessed based on the tables tblAros, tblAcos,
tblArosAcos
2016-03-03 07:39:04 +01:00
Uwe Steinmann
e089cc898c add button for adding missing aro 2016-03-03 07:08:42 +01:00
Uwe Steinmann
a8d615071e minor style changes, set propper url to modify permissions 2016-02-29 14:07:44 +01:00
Uwe Steinmann
677534c8ec add files for managing access control lists 2016-02-29 11:18:55 +01:00
Uwe Steinmann
ce57466695 Merge branch 'seeddms-5.0.x' into develop 2016-02-29 08:43:31 +01:00
Uwe Steinmann
62095c443b override exiting query parameter 'action' when including js code 2016-02-29 08:36:10 +01:00
Uwe Steinmann
5f610c4049 Merge branch 'seeddms-5.0.x' into develop 2016-02-26 09:22:25 +01:00
Uwe Steinmann
fe9ac278c7 list all registered hooks 2016-02-26 09:22:06 +01:00
Uwe Steinmann
21c7068341 Merge branch 'seeddms-5.0.x' into develop 2016-02-25 10:57:27 +01:00
Uwe Steinmann
d984f75871 set $objvalue in printAttributeEditField() 2016-02-25 10:49:18 +01:00
Uwe Steinmann
7099dc6d73 set $openfilterdlg before accordion for export 2016-02-25 10:43:14 +01:00
Uwe Steinmann
fcd4b23710 add button for role management 2016-02-24 14:58:27 +01:00
Uwe Steinmann
489f464163 add link to role management in menu 2016-02-24 14:44:58 +01:00