Compare commits

..

8642 Commits

Author SHA1 Message Date
Uwe Steinmann
a825bb43fb Merge branch 'seeddms-6.0.x' 2025-05-22 17:50:22 +02:00
Uwe Steinmann
00c3a63ff1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-22 10:39:00 +02:00
Uwe Steinmann
396fd6a4fe allow attriutes for globalNavigationBar 2025-05-22 10:38:50 +02:00
Uwe Steinmann
4972929258 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-21 17:02:51 +02:00
Uwe Steinmann
776f19d501 add changes for 5.1.40 2025-05-21 17:02:34 +02:00
Uwe Steinmann
c014749676 use quoted printable encoding for email subject 2025-05-21 17:01:19 +02:00
Uwe Steinmann
2ec29e3336 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-20 20:24:22 +02:00
Uwe Steinmann
9a826b88e9 fix error in Search class 2025-05-20 20:24:01 +02:00
Uwe Steinmann
c638258a10 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-19 18:05:58 +02:00
Uwe Steinmann
d7c1e4b103 make database search work 2025-05-19 18:01:04 +02:00
Uwe Steinmann
637fd66210 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-16 19:12:34 +02:00
Uwe Steinmann
964495b9b6 run authenticator only if user is still not known 2025-05-16 19:12:05 +02:00
Uwe Steinmann
7fe2a12af3 actually run postRun hook 2025-05-16 19:11:42 +02:00
Uwe Steinmann
e1f976e646 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-16 08:08:01 +02:00
Uwe Steinmann
ba18e89cda varios minor changes in preparation to moving search functionality into own class 2025-05-16 07:48:30 +02:00
Uwe Steinmann
4c6d047bb8 copy most of the search functions into own class 2025-05-16 07:46:49 +02:00
Uwe Steinmann
e687474d19 pass $fulltextservice to view 2025-05-15 19:54:23 +02:00
Uwe Steinmann
31aa18606f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-14 15:10:13 +02:00
Uwe Steinmann
0fd6ed5381 initial search class 2025-05-14 15:07:35 +02:00
Uwe Steinmann
a74229eb14 cleanup code 2025-05-14 15:07:07 +02:00
Uwe Steinmann
04e9402094 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-13 18:54:21 +02:00
Uwe Steinmann
e9388dc3ec use translation of documents_user_rejected in list of menu tasks 2025-05-13 18:53:46 +02:00
Uwe Steinmann
fb5bf43990 better translation for documents_user_rejected 2025-05-13 18:53:15 +02:00
Uwe Steinmann
abc8df5939 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-12 12:49:11 +02:00
Uwe Steinmann
72245fabe0 add missing phrase 'extension_config' 2025-05-12 11:15:30 +02:00
Uwe Steinmann
cd6afd07fe add missing phrases 2025-05-12 11:06:50 +02:00
Uwe Steinmann
69f4d9a194 add missing phrases 2025-05-12 11:03:38 +02:00
Uwe Steinmann
00d5d8b334 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-05-08 19:34:53 +02:00
Uwe Steinmann
6610647ddf add changes for 5.1.40 2025-05-08 19:34:33 +02:00
Uwe Steinmann
3fb3434c61 expired documents can be filtered by user 2025-05-08 19:33:42 +02:00
Uwe Steinmann
4ed83488ba log number of documents which will expired 2025-05-08 19:15:04 +02:00
Uwe Steinmann
2288be497c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-04-29 12:38:22 +02:00
Uwe Steinmann
d377bd81ab rename methode and class for inline editiing of document name 2025-04-29 10:34:16 +02:00
Uwe Steinmann
e069f784b4 add hooks for addtional tabs 2025-04-29 10:33:13 +02:00
Uwe Steinmann
181482a1a7 set text for no-result in selection of mimetype 2025-04-29 10:32:20 +02:00
Uwe Steinmann
b2cfde85ca contentOffsetDir may be a string 2025-04-29 10:30:42 +02:00
Uwe Steinmann
f46ae01386 add changes of 5.1.40 2025-04-24 16:31:44 +02:00
Uwe Steinmann
ae66ec223c add searching for mime types 2025-04-24 16:31:27 +02:00
Uwe Steinmann
a5edba86ae fix search url, add search for mime types 2025-04-24 16:30:48 +02:00
Uwe Steinmann
8b0d8e85c2 add changes for 5.1.40 2025-04-24 14:52:06 +02:00
Uwe Steinmann
4184cd4f1d add hook for creating preview image (like preview images in lists) 2025-04-24 14:50:32 +02:00
Uwe Steinmann
d50247ba09 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-04-23 14:24:45 +02:00
Uwe Steinmann
6a39584dcc add search link in tables 2025-04-23 14:24:31 +02:00
Uwe Steinmann
e8c0ebbf4f add option 'Draft' to select box for status 2025-04-23 14:23:07 +02:00
Uwe Steinmann
67a2afc626 add changes for 5.1.40 2025-04-13 14:30:22 +02:00
Uwe Steinmann
133fc5d570 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-04-13 14:29:29 +02:00
Uwe Steinmann
92bee67638 fix update of postgres database 2025-04-13 14:28:02 +02:00
Uwe Steinmann
5fdd83de3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-04-02 09:30:03 +02:00
Uwe Steinmann
cd4743d917 check if attribute 'remote' is set 2025-04-02 09:29:37 +02:00
Uwe Steinmann
904e4b8657 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-04-02 09:28:59 +02:00
Uwe Steinmann
de4fae18d0 set title of modal box for extension config to title of extension 2025-04-02 09:16:37 +02:00
Uwe Steinmann
f1859da68b remove aria-hidden from some buttons 2025-04-02 08:14:11 +02:00
Uwe Steinmann
c8a7dad7d6 run initMost() after modal box has been opened 2025-04-02 08:13:38 +02:00
Uwe Steinmann
3bed5b0d68 extension config can edited from extension mgr 2025-04-02 08:10:44 +02:00
Uwe Steinmann
1bff379d84 allow to set config of extension only 2025-04-02 08:09:57 +02:00
Uwe Steinmann
073948d4c3 add hidden field without value to checkboxes 2025-04-02 08:08:37 +02:00
Uwe Steinmann
4f3e6cadf5 remove aria-hidden from some buttons 2025-04-02 08:06:38 +02:00
Uwe Steinmann
692318dcc1 pass extension name to view 2025-04-02 08:05:37 +02:00
Uwe Steinmann
c2d8b383c3 support saving via ajax 2025-04-02 08:04:56 +02:00
Uwe Steinmann
f8ceb0d56a do not set bool/array value if not exist in post data 2025-04-02 08:03:52 +02:00
Uwe Steinmann
e578e2a206 remove old function getBoolValue() 2025-04-02 08:02:53 +02:00
Uwe Steinmann
22f23c71f0 fix indenting 2025-04-02 08:02:09 +02:00
Uwe Steinmann
42a38984f7 add method showConfigFolder() (currently not used) 2025-04-01 12:55:35 +02:00
Uwe Steinmann
fb59582a56 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-04-01 12:51:57 +02:00
Uwe Steinmann
8f2f15bb80 add new method extension() for showing config of extension 2025-04-01 12:50:01 +02:00
Uwe Steinmann
7f2d12e299 output timezone and current date/time on server 2025-04-01 10:39:48 +02:00
Uwe Steinmann
fc555555d2 allow CheckOut for users 2025-03-27 14:14:18 +01:00
Uwe Steinmann
28ba7b59b9 fix possible xss attack 2025-03-26 09:36:38 +01:00
Uwe Steinmann
b7e075cdba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-26 09:30:49 +01:00
Uwe Steinmann
0ad6416d65 fix typo 2025-03-26 09:30:33 +01:00
Uwe Steinmann
d1dfc924b5 fix possible xss attack when document name contains malicious code 2025-03-26 08:39:58 +01:00
Uwe Steinmann
5a40423836 set id of some select fields for extension config 2025-03-26 08:39:30 +01:00
Uwe Steinmann
53133fc824 add changes for 5.1.40 2025-03-26 07:55:50 +01:00
Uwe Steinmann
7529c68c80 include all conf.php files and var_export() them instead of concating them 2025-03-26 07:54:33 +01:00
Uwe Steinmann
edb91d3299 fix possible xss attack 2025-03-25 18:09:41 +01:00
Uwe Steinmann
5ce55216ad add changes for 5.1.40 2025-03-24 15:55:57 +01:00
Uwe Steinmann
f3fa653eee replace file_exists() with exists() function of object 2025-03-21 13:25:13 +01:00
Uwe Steinmann
37fd1ac969 replace functions directly accessing file system if documents or attachments are involved 2025-03-21 13:23:07 +01:00
Uwe Steinmann
54c3ec54fc seperate seeddms info from extension list, output storage driver 2025-03-21 13:20:52 +01:00
Uwe Steinmann
a4899a52ad $settings must be passed into route function 2025-03-21 13:20:04 +01:00
Uwe Steinmann
0e6f14dbaf add odt2txt for converting libreoffice documents to txt 2025-03-21 13:19:26 +01:00
Uwe Steinmann
c4c37becf6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-19 15:41:14 +01:00
Uwe Steinmann
9d400a808e use httpRoot when redirecting to out.ViewFolder.php 2025-03-19 15:40:41 +01:00
Uwe Steinmann
287753b7bc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-18 15:25:49 +01:00
Uwe Steinmann
54832e3727 fix saving user data when language selection is turned of (Closes: #568) 2025-03-18 14:19:37 +01:00
Uwe Steinmann
52401dce05 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-18 11:02:03 +01:00
Uwe Steinmann
597e9c89b3 start new version 5.1.40 2025-03-18 11:00:52 +01:00
Uwe Steinmann
bfe17bcc46 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-18 10:41:42 +01:00
Uwe Steinmann
df8d6edcff add changes for 5.1.39 2025-03-18 09:58:49 +01:00
Uwe Steinmann
9b2c120b5f call hooks for show document and folder row 2025-03-18 09:57:45 +01:00
Uwe Steinmann
757e95ab86 set previewConverters and convertToPdf 2025-03-18 09:57:28 +01:00
Uwe Steinmann
2e6d25873c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-17 16:16:17 +01:00
Uwe Steinmann
38b3abc50e add new phrases 2025-03-17 16:16:03 +01:00
Uwe Steinmann
3bbdf680de Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-17 15:59:24 +01:00
Uwe Steinmann
2ecef66355 add changes for 5.1.39 2025-03-17 15:58:19 +01:00
Uwe Steinmann
9abbf6a1e5 objects can be removed from clipboard 2025-03-17 15:57:51 +01:00
Uwe Steinmann
9a3f217e45 add method isOnClipboard() 2025-03-17 12:50:01 +01:00
Uwe Steinmann
d7f1e899ba fix nasty error when validating attribute in a hook 2025-03-14 17:32:36 +01:00
Uwe Steinmann
1d62de5213 add changes for 6.0.32 2025-03-14 17:22:28 +01:00
Uwe Steinmann
ddab6e2b57 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-14 17:21:30 +01:00
Uwe Steinmann
dee29cb64f add changes for 5.1.39 2025-03-14 17:21:09 +01:00
Uwe Steinmann
128a57a9c5 fix setting attributes (user, group, document, folder) 2025-03-14 17:20:05 +01:00
Uwe Steinmann
5ed5476106 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-14 17:16:47 +01:00
Uwe Steinmann
70c63afd10 fix setting attributes (user, group, folder, document) 2025-03-14 17:16:06 +01:00
Uwe Steinmann
789b5daaf8 add checking for revision date 2025-03-14 16:51:34 +01:00
Uwe Steinmann
2eb19048ab add checking for revision date 2025-03-14 16:51:15 +01:00
Uwe Steinmann
b30c4a7a66 fix wrong position of text in progress bar 2025-03-06 19:29:17 +01:00
Uwe Steinmann
b5d32f3d53 do not add standard footer to mails send by scheduler 2025-03-06 07:15:46 +01:00
Uwe Steinmann
304db26698 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-05 09:41:53 +01:00
Uwe Steinmann
444af0831b use add_log_line() 2025-03-05 07:56:55 +01:00
Uwe Steinmann
3197f25ce8 log password forgotten request 2025-03-05 07:29:56 +01:00
Uwe Steinmann
71d5154945 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-03-04 12:37:30 +01:00
Uwe Steinmann
056736ecc5 add changes for 5.1.39 2025-03-03 21:44:33 +01:00
Uwe Steinmann
329b54d00f encrypt referer to prevent malicious manipulation 2025-03-03 21:42:54 +01:00
Uwe Steinmann
157c033f2a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-28 17:58:30 +01:00
Uwe Steinmann
d66f12ae21 do not tread each field of search form as multivalued 2025-02-28 17:54:52 +01:00
Uwe Steinmann
4ba5099569 getAttributeEditField() handels arrays of attr values propperly 2025-02-28 17:53:54 +01:00
Uwe Steinmann
86362c5284 fix output of attributes 2025-02-28 08:40:06 +01:00
Uwe Steinmann
9f39b639c6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-27 11:19:40 +01:00
Uwe Steinmann
0999808364 add new phrases, updates 2025-02-27 09:26:44 +01:00
Uwe Steinmann
6c0b1691c3 add changes of 5.1.39 2025-02-27 09:08:34 +01:00
Uwe Steinmann
985aa5cc28 check im memcached is turned on in configuration 2025-02-27 09:07:19 +01:00
Uwe Steinmann
e714e361a9 add checkbox for enabling memcached 2025-02-27 09:07:06 +01:00
Uwe Steinmann
9f5390e560 add checkbox for enabling memcached 2025-02-27 09:06:19 +01:00
Uwe Steinmann
f281376ac2 fix setting group approvers from previous version 2025-02-27 09:05:49 +01:00
Uwe Steinmann
6731882ae0 do not add group manager as mandatory reviewer/approver if logged in user is the manager itself 2025-02-27 09:04:55 +01:00
Uwe Steinmann
3538fd2616 add slim error middleware and catch all route 2025-02-21 07:34:55 +01:00
Uwe Steinmann
a44ddc0b94 remove old code, add error middleware and catch all route 2025-02-21 07:34:24 +01:00
Uwe Steinmann
879855536f new flag to skip exporting default columns 2025-02-18 21:22:27 +01:00
Uwe Steinmann
4352f95818 new export flag to skip default columns 2025-02-18 21:22:01 +01:00
Uwe Steinmann
0fe367820f turn off legend for chart sizepermonth 2025-02-18 21:20:59 +01:00
Uwe Steinmann
3fec498ce5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-18 13:35:53 +01:00
Uwe Steinmann
d9a2ea5303 show quota on chart page when listing total document size per user 2025-02-18 13:27:20 +01:00
Uwe Steinmann
ae34e29fed Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-14 08:23:47 +01:00
Uwe Steinmann
d4bfb539b7 eval parameter 'order' in config settings for select menus 2025-02-14 08:22:40 +01:00
Uwe Steinmann
b2cc1a122e support for skipping default columns 2025-02-14 08:22:12 +01:00
Uwe Steinmann
0eff90974e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-13 09:40:33 +01:00
Uwe Steinmann
b75bcb5725 new version 5.1.39 2025-02-13 09:39:16 +01:00
Uwe Steinmann
327d65c7e0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-13 09:38:03 +01:00
Uwe Steinmann
d3d08e5b15 requires php 8.2 2025-02-13 09:37:36 +01:00
Uwe Steinmann
a8f52db542 fix access on objects in container 2025-02-12 21:37:57 +01:00
Uwe Steinmann
15fc9bf312 add changes for 6.0.31 2025-02-12 21:15:50 +01:00
Uwe Steinmann
bef2fb0786 use json renderer instead of withJson() 2025-02-12 21:01:20 +01:00
Uwe Steinmann
1510acc606 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-12 20:56:53 +01:00
Uwe Steinmann
d27b762945 use Slim/Psr7/Stream 2025-02-12 20:56:07 +01:00
Uwe Steinmann
2c9e10b88f require slim/psr7 2025-02-12 20:54:46 +01:00
Uwe Steinmann
ddcc6d6841 use new json renderer 2025-02-12 20:54:08 +01:00
Uwe Steinmann
d9278b5600 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-12 13:21:19 +01:00
Uwe Steinmann
e88ae2cc44 add changes for 5.1.38 2025-02-12 13:21:03 +01:00
Uwe Steinmann
0d7f9e674a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-12 13:19:55 +01:00
Uwe Steinmann
31ac9a8335 fix php syntax error 2025-02-12 13:19:32 +01:00
Uwe Steinmann
052fee8222 badges can have a type 2025-02-12 13:16:36 +01:00
Uwe Steinmann
12979afcbc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-12 08:46:30 +01:00
Uwe Steinmann
6c5dd72b86 require php 8.2 2025-02-10 16:17:28 +01:00
Uwe Steinmann
a5999caca3 use setValueCell() and AdvancedValueBinder 2025-02-10 16:17:03 +01:00
Uwe Steinmann
35ad154ab4 return full version by endpoint 'version' 2025-02-10 07:58:38 +01:00
Uwe Steinmann
728d162bc2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x, new version 6.0.31 2025-02-07 15:24:33 +01:00
Uwe Steinmann
42594884a5 new version 5.1.38 2025-02-07 15:23:54 +01:00
Uwe Steinmann
28e01b577a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-07 12:07:18 +01:00
Uwe Steinmann
e9bdf8a0bb set comment in PUT uploadDocument 2025-02-07 12:06:53 +01:00
Uwe Steinmann
c620ec8f15 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-06 16:37:43 +01:00
Uwe Steinmann
d540ec8f2b use local composer.phar if exists 2025-02-06 16:36:45 +01:00
Uwe Steinmann
0a1f2ea418 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-06 15:20:59 +01:00
Uwe Steinmann
52669c8d35 add changes for 5.1.37 2025-02-06 15:20:37 +01:00
Uwe Steinmann
6c130b3f8c add extra log level for rest api logging 2025-02-06 15:19:45 +01:00
Uwe Steinmann
b646333c37 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-06 11:21:46 +01:00
Uwe Steinmann
8c589a60ba add endpoint GET /attributedefinitions/{id} 2025-02-06 11:19:25 +01:00
Uwe Steinmann
35d7d132d3 add BodyParsingMiddleware because PUT request don't have access on body data 2025-02-06 11:18:58 +01:00
Uwe Steinmann
c940162328 setting quota and homefolder returns the updated account 2025-02-06 11:18:01 +01:00
Uwe Steinmann
4e39c69224 remove old commented call of search() 2025-02-06 11:17:04 +01:00
Uwe Steinmann
3f0275e25d fix typo in messages 2025-02-06 11:16:27 +01:00
Uwe Steinmann
b9c083e08b doLogin does not need access on global 2025-02-06 11:15:59 +01:00
Uwe Steinmann
a4462cdb6a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-04 18:20:26 +01:00
Uwe Steinmann
975bd1689e fix line indenting 2025-02-04 18:20:11 +01:00
Uwe Steinmann
1af377b268 remove trailing newline 2025-02-04 17:30:43 +01:00
Uwe Steinmann
6ddf3c3cfe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-04 13:40:29 +01:00
Uwe Steinmann
4d44774a7f select options in extension configuration can retain order (only attributedefinitions) 2025-02-04 13:39:02 +01:00
Uwe Steinmann
c62abbcd06 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-04 11:05:17 +01:00
Uwe Steinmann
c815b0069d get $accessobject from view 2025-02-04 11:04:58 +01:00
Uwe Steinmann
5b611a425a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-04 08:27:46 +01:00
Uwe Steinmann
a3ea05177a controll access on batch operations by advanced access rights 2025-02-04 08:27:05 +01:00
Uwe Steinmann
992afe8e7c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-02-03 15:22:14 +01:00
Uwe Steinmann
ca29a27187 support export of folders in excel file 2025-02-03 15:21:14 +01:00
Uwe Steinmann
435c94f585 add export of folder list 2025-02-03 15:20:41 +01:00
Uwe Steinmann
665deb0595 update translation 2025-02-03 14:43:08 +01:00
Uwe Steinmann
b45bfc6035 add comment with info why seeddms core is still explicitly included 2025-02-03 12:18:15 +01:00
Uwe Steinmann
a2804d252a very old file which is no longer needed 2025-02-03 12:14:07 +01:00
Uwe Steinmann
6b325cb4df remove trailing white space 2025-02-03 12:11:39 +01:00
Uwe Steinmann
e3b6c2f5b6 remove no longer needed function _printMessage() 2025-02-03 12:10:38 +01:00
Uwe Steinmann
cd448c160b add visibility of methods 2025-02-03 12:10:18 +01:00
Uwe Steinmann
8cc6a417c8 add class variables _smtpForceFrom and _smtpLazySSL 2025-02-03 12:09:46 +01:00
Uwe Steinmann
c56d18299c remove no longer needed method _printMessage() 2025-02-03 12:09:10 +01:00
Uwe Steinmann
0abcfb4d12 remove trailing white space 2025-02-03 10:27:35 +01:00
Uwe Steinmann
eb64f09375 add class variable $user 2025-02-03 10:23:22 +01:00
Uwe Steinmann
07d9047b2e add class variables $filenames, $header, $extraheader 2025-02-03 10:22:27 +01:00
Uwe Steinmann
a6d67be34e add class variable $_force_from 2025-02-03 10:17:22 +01:00
Uwe Steinmann
712df50a9c fix checking if user is already in list of notifiers (sendReplaceContentMail) 2025-02-03 10:14:51 +01:00
Uwe Steinmann
ab729a3f21 fix stringToArray() 2025-02-03 09:52:39 +01:00
Uwe Steinmann
325498e63a fix evaluation of _ldapMailField 2025-02-03 09:52:10 +01:00
Uwe Steinmann
895dbf1b29 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-31 10:15:21 +01:00
Uwe Steinmann
4316b1afee fix definition of echo endpoint 2025-01-31 10:14:40 +01:00
Uwe Steinmann
327b1c4284 add some missing functions 2025-01-31 09:54:21 +01:00
Uwe Steinmann
325a180ff8 lots of formatting fixes 2025-01-31 09:53:58 +01:00
Uwe Steinmann
1ad8fbcb2a more info for debian users 2025-01-30 14:53:59 +01:00
Uwe Steinmann
675bcf66ac add warning about cleared environment when running php-fpm 2025-01-30 14:51:44 +01:00
Uwe Steinmann
f2e5faf80b use type: 'string' instead 'file' 2025-01-29 14:57:37 +01:00
Uwe Steinmann
2b0c3241ed Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-29 10:29:03 +01:00
Uwe Steinmann
aa6454fce9 add changes for 5.1.37 2025-01-29 10:25:55 +01:00
Uwe Steinmann
dd13504fef fix xss attack 2025-01-29 10:25:26 +01:00
Uwe Steinmann
a0df82c2e7 add example of PHP FPM handler 2025-01-29 10:24:52 +01:00
Uwe Steinmann
be1ebce45f fix errors 2025-01-29 10:23:57 +01:00
Uwe Steinmann
77df75a038 add changes for 5.1.37 2025-01-28 17:38:05 +01:00
Uwe Steinmann
612f297926 fix loading more entries at end of page 2025-01-28 17:37:09 +01:00
Uwe Steinmann
fe88895808 add changes for 6.0.30 2025-01-26 19:51:52 +01:00
Uwe Steinmann
ec6c4855fc send request receipt notification only if document is released 2025-01-25 12:42:08 +01:00
Uwe Steinmann
1033fee1b3 add method sendToAllReceiptMail() 2025-01-25 12:40:58 +01:00
Uwe Steinmann
ceddf4d5bf do not show content container if form has no visible fields 2025-01-24 11:32:08 +01:00
Uwe Steinmann
30682237e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-23 14:10:38 +01:00
Uwe Steinmann
d8f7d473cb do not log environment anymore 2025-01-23 14:10:15 +01:00
Uwe Steinmann
5f4b1dde54 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-17 14:09:12 +01:00
Uwe Steinmann
588c7fa798 rename file 2025-01-17 14:08:54 +01:00
Uwe Steinmann
05835e8d3d set title of sheet in export file, only export documents 2025-01-17 14:08:10 +01:00
Uwe Steinmann
adeae90695 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-17 13:49:17 +01:00
Uwe Steinmann
f024da6fc2 add examples on how to use the rest api 2025-01-17 13:48:46 +01:00
Uwe Steinmann
53cbe64222 add 'add' button before 'list' button 2025-01-17 13:12:22 +01:00
Uwe Steinmann
ee143ad5d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-16 09:17:18 +01:00
Uwe Steinmann
e9783c882d first column number is 1 not 0 2025-01-16 09:16:59 +01:00
Uwe Steinmann
3c2f8f6013 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2025-01-02 14:40:59 +01:00
Uwe Steinmann
ee6d2f15fc fix getting uploaded files 2025-01-02 14:40:49 +01:00
Uwe Steinmann
7cb75bf518 skip footer in mail with recent changes 2024-12-29 08:06:56 +01:00
Uwe Steinmann
d189443b29 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-12-26 08:37:57 +01:00
Uwe Steinmann
267c8c468b do not check cache in checkExtensionByName() 2024-12-26 08:37:33 +01:00
Uwe Steinmann
2576001ad1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-12-23 16:17:25 +01:00
Uwe Steinmann
cad3258a98 array_diff must be array_intersect for excluding documents in certain folders 2024-12-23 16:16:36 +01:00
Uwe Steinmann
9f5528b7c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-12-20 17:06:45 +01:00
Uwe Steinmann
226d2f01f4 set $_excludeFoldersDashboard to empty array 2024-12-20 13:26:21 +01:00
Uwe Steinmann
5a5f5657a9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-12-20 08:05:52 +01:00
Uwe Steinmann
682cb8904f rename showConfigFolder() to showConfigFolderNoTree() 2024-12-20 08:05:11 +01:00
Uwe Steinmann
05400afbcd require guzzlehttp/psr7 2024-12-20 08:04:15 +01:00
Uwe Steinmann
0abffe1f3d get missing parameters in countTasks() 2024-12-17 18:15:05 +01:00
Uwe Steinmann
ab5411c44f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-12-17 17:54:59 +01:00
Uwe Steinmann
9762db9f26 fix passing version to addContent() 2024-12-17 17:44:20 +01:00
Uwe Steinmann
755f601d7b add attachment from dropfolder dir 2024-12-14 19:19:24 +01:00
Uwe Steinmann
774d17c3f9 suppress errors when loading html file 2024-12-11 15:58:11 +01:00
Uwe Steinmann
df5c81334e add changes for 5.1.37 2024-12-11 14:46:41 +01:00
Uwe Steinmann
b6dcff3fe3 upgrade from slim 3 to slim 4 2024-12-11 14:46:12 +01:00
Uwe Steinmann
abe6b94b3e propperly check if a fulltext service exists 2024-12-10 15:04:20 +01:00
Uwe Steinmann
a787d61404 add conversion for webp and avif images 2024-12-07 19:09:01 +01:00
Uwe Steinmann
5221f9756e new config option to exclude folders from dashboard 2024-11-27 19:11:00 +01:00
Uwe Steinmann
ae22f5aba6 fix typo in comment 2024-11-27 19:10:26 +01:00
Uwe Steinmann
2fb41d1f40 new method showConfigFolder() 2024-11-27 19:09:57 +01:00
Uwe Steinmann
4a3cdf24b5 fix typo in comment 2024-11-27 19:08:14 +01:00
Uwe Steinmann
8bb4f80032 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-18 10:03:58 +01:00
Uwe Steinmann
0161da6143 return id of owner when getting document/folder data 2024-11-18 10:03:32 +01:00
Uwe Steinmann
3113c59796 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-17 19:44:52 +01:00
Uwe Steinmann
26ca0d9c4d minor change of users/{id}/homefolder 2024-11-17 19:44:20 +01:00
Uwe Steinmann
faaf6d2fbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-17 10:38:07 +01:00
Uwe Steinmann
7da7d2e4a1 __getUserData() returns quota 2024-11-17 10:27:51 +01:00
Uwe Steinmann
7e4b4fd3ea add methods changeUserQuota, setFolderOwner, setFolderOwner 2024-11-17 10:23:45 +01:00
Uwe Steinmann
1307bb74cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-16 09:50:55 +01:00
Uwe Steinmann
b9d5c31211 move rrmdir() into own class in inc.Utils.php 2024-11-16 09:50:42 +01:00
Uwe Steinmann
e6c7ebaaec fixed wrong constraint in table tblUserSubstitutes 2024-11-14 14:34:47 +01:00
Uwe Steinmann
27110c06a9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-13 22:35:07 +01:00
Uwe Steinmann
f6f7fe0ab6 https status must be 400 instead of 200 in case of an error 2024-11-13 22:31:55 +01:00
Uwe Steinmann
f5db14dd74 pass propper parameter to hook cleanUpDocument 2024-11-13 22:31:13 +01:00
Uwe Steinmann
964bed081d check for function system() 2024-11-13 22:30:15 +01:00
Uwe Steinmann
bb0f34a05a fix title of page 2024-11-13 12:51:08 +01:00
Uwe Steinmann
cef5e73ba5 set parameter tasksinmenu 2024-11-11 10:48:21 +01:00
Uwe Steinmann
35fa11a7c2 remove code from seeddms 6 2024-11-11 10:47:51 +01:00
Uwe Steinmann
8afef96440 do not show expired documents in menu tasks 2024-11-11 09:48:40 +01:00
Uwe Steinmann
ea5d4651e5 fix merge errors 2024-11-11 09:36:11 +01:00
Uwe Steinmann
ca79b730ff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-11 09:29:51 +01:00
Uwe Steinmann
bbfd144906 optimize counting tasks 2024-11-11 09:29:41 +01:00
Uwe Steinmann
a2a39ce946 Merge branch 'seeddms-6.0.x' 2024-11-08 06:45:24 +01:00
Uwe Steinmann
9573d473e9 do not show chart by category if there are no categories 2024-11-07 13:52:43 +01:00
Uwe Steinmann
1922899d7e allow to turn of comment for receptions 2024-11-07 08:52:03 +01:00
Uwe Steinmann
58a29b675b add space between consecutive forms and divs,legends 2024-11-07 08:51:08 +01:00
Uwe Steinmann
d1d348deb9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-07 07:10:56 +01:00
Uwe Steinmann
63693d73b0 start new version 5.1.37 2024-11-07 07:09:29 +01:00
Uwe Steinmann
b9abff5c55 Merge branch 'seeddms-6.0.x' 2024-11-07 07:08:11 +01:00
Uwe Steinmann
b4d0761824 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-05 21:08:26 +01:00
Uwe Steinmann
2676b5db8f add more mimetypes and its extension 2024-11-05 18:49:35 +01:00
Uwe Steinmann
e43168059e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-02 13:01:24 +01:00
Uwe Steinmann
120bb3f572 update translation 2024-11-02 13:01:10 +01:00
Uwe Steinmann
36acb63ebe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-11-01 17:49:44 +01:00
Uwe Steinmann
616bec13bf set smaller font for subtitles of select2 option 2024-10-31 18:11:32 +01:00
Uwe Steinmann
507c85821d running initMost() can be turned off, when updating a div.ajax 2024-10-31 18:11:22 +01:00
Uwe Steinmann
7bf9768359 add select2 with ajax for getting folders 2024-10-31 18:10:28 +01:00
Uwe Steinmann
a7342b600e add fold marks 2024-10-31 18:09:19 +01:00
Uwe Steinmann
63ba189b3f get subtitle in chzn template from state 2024-10-31 18:08:08 +01:00
Uwe Steinmann
5fb5cd00bc add new extension config folderlist for select-internal 2024-10-31 18:06:40 +01:00
Uwe Steinmann
bcaaa82014 remove double spaces 2024-10-31 18:05:36 +01:00
Uwe Steinmann
951f9bfefb set noinit=true when running dropfolder task 2024-10-31 18:04:44 +01:00
Uwe Steinmann
b65322ab54 use only first two chars of language in html lang attribute 2024-10-31 18:03:58 +01:00
Uwe Steinmann
6849ccd34d add support for select2 in 'searchfolder', search only in folder name 2024-10-31 18:02:24 +01:00
Uwe Steinmann
a19d0c1b2a copy missing i18n files of select2 2024-10-31 18:01:15 +01:00
Uwe Steinmann
c2f69ce491 check access on CheckOutDocument 2024-10-30 19:45:10 +01:00
Uwe Steinmann
588d150c39 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-10-28 17:02:14 +01:00
Uwe Steinmann
286151c697 remove empty line 2024-10-28 16:56:59 +01:00
Uwe Steinmann
32b6445904 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-10-28 13:02:04 +01:00
Uwe Steinmann
da99d6e366 add jquery-lazy 2024-10-28 12:59:47 +01:00
Uwe Steinmann
a8a8402c6e fix code formatting 2024-10-28 12:59:31 +01:00
Uwe Steinmann
012977d606 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-10-27 06:36:12 +01:00
Uwe Steinmann
d70a6c79b3 fix code formating, add license if missing 2024-10-27 06:35:57 +01:00
Uwe Steinmann
d80009e484 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-10-26 11:54:43 +02:00
Uwe Steinmann
4f4f3923b9 code beautifying 2024-10-26 11:47:22 +02:00
Uwe Steinmann
122959d11c code beautify 2024-10-26 11:47:06 +02:00
Uwe Steinmann
c4014dfddf code beautify 2024-10-26 11:46:40 +02:00
Uwe Steinmann
ec04ed665e place mandatory reviewers/approvers into own box 2024-10-22 10:18:30 +02:00
Uwe Steinmann
886a79119e fix typo 2024-10-16 07:28:13 +02:00
Uwe Steinmann
cd0ec52931 pass context to getAccessMode() 2024-10-12 13:50:30 +02:00
Uwe Steinmann
5a3ba8243d some general information about converting documents 2024-10-12 13:49:51 +02:00
Uwe Steinmann
4ace32c927 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-10-11 14:38:45 +02:00
Uwe Steinmann
f195525793 set memcached server if php has support for it 2024-10-11 14:00:06 +02:00
Uwe Steinmann
2d6c0eea9e check if folder tree is enable when creating javascript code 2024-10-11 13:17:17 +02:00
Uwe Steinmann
69c84c86fd check if session exists 2024-10-10 08:42:47 +02:00
Uwe Steinmann
17ca27d95b add phrase 'filesize' 2024-10-07 16:32:54 +02:00
Uwe Steinmann
79560a8164 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-10-07 08:25:46 +02:00
Uwe Steinmann
8097340d88 add changes of 5.1.36 2024-10-06 17:08:51 +02:00
Uwe Steinmann
5275a50d6d initial code to set the number of parallel requests when indexing 2024-10-02 14:59:40 +02:00
Uwe Steinmann
ccab32bb42 issue error if file drop on drop area is > maxfilesize 2024-10-02 14:58:43 +02:00
Uwe Steinmann
12fc5c1185 rename file_size to filesize 2024-10-02 14:57:43 +02:00
Uwe Steinmann
e9372be430 rename file_size to filesize 2024-10-02 14:57:15 +02:00
Uwe Steinmann
9a972c2c44 add support for searching for filesize 2024-10-02 14:56:25 +02:00
Uwe Steinmann
8bcf76ca8c propperly check for duplicate folder names in op/op.Ajax.php 2024-09-29 07:17:31 +02:00
Uwe Steinmann
8a217a9254 add path of parent folder in list elements 2024-09-25 19:12:43 +02:00
Uwe Steinmann
c1940fd97c just a comment 2024-09-25 17:25:58 +02:00
Uwe Steinmann
f89011f2ee Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-09-25 16:54:07 +02:00
Uwe Steinmann
36d322f296 hook processConfig must return null, unless it changes the ext configuration 2024-09-25 13:34:56 +02:00
Uwe Steinmann
a05d94d3bb show path of documents in list 2024-09-25 13:34:12 +02:00
Uwe Steinmann
428a5ca3ec replace german comments 2024-09-25 13:33:42 +02:00
Uwe Steinmann
7717600973 add changes for 5.1.36 2024-09-23 12:42:57 +02:00
Uwe Steinmann
4832e14b30 fix setting attributes, return quota and disk usage in PROPFIND 2024-09-23 12:42:26 +02:00
Uwe Steinmann
2661fae059 add composer-dev to require-dev 2024-09-20 18:28:48 +02:00
Uwe Steinmann
7a81d238d9 set enableDropUpload to true 2024-09-20 14:22:43 +02:00
Uwe Steinmann
dd3f3d7f02 set logFileMaxLevel=6 2024-09-20 13:41:17 +02:00
Uwe Steinmann
e71fccbb1e fix constructor of AccessRestrictions 2024-09-20 12:40:51 +02:00
Uwe Steinmann
43b1bb6fd8 fix constructor for AccessRestrictions 2024-09-18 17:53:00 +02:00
Uwe Steinmann
cc41763a96 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-09-18 14:21:10 +02:00
Uwe Steinmann
f4ee4cdcc4 fix for deleting previews from cache 2024-09-18 10:36:06 +02:00
Uwe Steinmann
1c7b4b0466 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-09-18 10:29:19 +02:00
Uwe Steinmann
51f66a5d12 remove some conversions because they seldomly work 2024-09-18 09:46:06 +02:00
Uwe Steinmann
af4f95d368 update body of testmail 2024-09-18 09:42:53 +02:00
Uwe Steinmann
40652c92ca set more parameters in test mail 2024-09-18 09:40:41 +02:00
Uwe Steinmann
c9fa3e641e go back to out/out.ClearCache.php 2024-09-18 09:26:26 +02:00
Uwe Steinmann
697ca1ffe3 more changes os 5.1.36 2024-09-18 09:25:55 +02:00
Uwe Steinmann
2c10334e9a set parameters in test mail 2024-09-18 09:24:51 +02:00
Uwe Steinmann
59f30a4a36 use name of sender even if force_from is set 2024-09-18 09:24:22 +02:00
Uwe Steinmann
5d083993df use unlink() to delete js files in cache, because rm can fail for a large number of files 2024-09-18 09:23:15 +02:00
Uwe Steinmann
fdf91ac3a2 fix typo 2024-09-18 08:57:11 +02:00
Uwe Steinmann
4a6c484912 minor updates and new phrases 2024-09-18 08:56:10 +02:00
Uwe Steinmann
5024c29dce add more changes for 5.1.36 2024-09-17 20:34:54 +02:00
Uwe Steinmann
97f9eb0efe updated translations 2024-09-17 20:33:51 +02:00
Uwe Steinmann
451d31d9f6 add changes for 5.1.36 2024-09-17 20:31:57 +02:00
Uwe Steinmann
f2ab106a81 from address in settings can be forced 2024-09-17 20:29:19 +02:00
Uwe Steinmann
ad37593625 pass _smtpLazySSL and _smtpForcrFrom to email notification 2024-09-17 20:27:57 +02:00
Uwe Steinmann
dfa1d4d842 set max log level of logger 2024-09-17 20:26:19 +02:00
Uwe Steinmann
55bd02fdea add 'lazy ssl' and 'force from' 2024-09-17 20:24:04 +02:00
Uwe Steinmann
32f2cffa9f add checkmark for each conversion service 2024-09-17 20:22:56 +02:00
Uwe Steinmann
1dad0081f9 add fold marks 2024-09-17 14:29:43 +02:00
Uwe Steinmann
939660f151 add changes for 5.1.36 2024-09-10 10:07:15 +02:00
Uwe Steinmann
3d030d4396 fix checking if group is in mandatory approvers 2024-09-10 10:05:45 +02:00
Uwe Steinmann
2d4d4c59a3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-09-07 21:52:26 +02:00
Uwe Steinmann
62ce0e7440 set placeholder of baseUrl to getBaseUrl() 2024-09-07 19:26:44 +02:00
Uwe Steinmann
74af17c020 showConfigText() checks if translation for <key>_placeholder exists 2024-09-07 19:26:30 +02:00
Uwe Steinmann
fe5a2d1add set requesturi 2024-09-07 19:25:07 +02:00
Uwe Steinmann
dfe73c8cb1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-09-05 18:10:48 +02:00
Uwe Steinmann
77cdca3fe3 chzn-select needѕ data-placeholder if data-allow-clear is set 2024-09-05 16:07:49 +02:00
Uwe Steinmann
36477ca71d fix typo 2024-09-04 22:07:49 +02:00
Uwe Steinmann
2c8054512b add changes for 5.1.36 2024-09-02 16:00:32 +02:00
Uwe Steinmann
f97c42f9b7 use rename() on windows when moving an extension to its final destination 2024-09-02 16:00:17 +02:00
Uwe Steinmann
15c5ef1441 do not treat repository url like a directory name 2024-09-02 15:33:19 +02:00
Uwe Steinmann
dcf448072d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-09-01 09:53:29 +02:00
Uwe Steinmann
74e65c9e0c fix js error 2024-09-01 09:49:19 +02:00
Uwe Steinmann
c947c990e4 add changes for 5.1.36 2024-09-01 09:45:28 +02:00
Uwe Steinmann
85c1c70c22 support for different storage of documents 2024-09-01 09:45:21 +02:00
Uwe Steinmann
0ceb6d602c fix potential xss attack when showing log file 2024-09-01 09:29:12 +02:00
Uwe Steinmann
aae0d004c3 add changes 2024-08-31 12:24:58 +02:00
Uwe Steinmann
34743e3177 fix error in attributes of select menus 2024-08-31 12:24:31 +02:00
Uwe Steinmann
65299463f4 do some logging 2024-08-21 16:44:19 +02:00
Uwe Steinmann
83f0cfff8d remove old code 2024-08-21 16:43:54 +02:00
Uwe Steinmann
3618a72313 fix setting attributes 2024-08-21 16:43:09 +02:00
Uwe Steinmann
7e32644307 set 'referer' in View to HTTP_REFERER 2024-08-19 20:03:48 +02:00
Uwe Steinmann
7a322702af add another converter for pdf to png using pdftocairo 2024-08-19 20:03:12 +02:00
Uwe Steinmann
165a5ef31e base folder can be skipped 2024-08-16 11:29:30 +02:00
Uwe Steinmann
54c7c49137 add help for checkboxes, add checkbox to add base folder 2024-08-16 11:29:03 +02:00
Uwe Steinmann
6fc30510cd actually exclude files set with --exclude 2024-08-15 13:35:25 +02:00
Uwe Steinmann
7f94f38ed2 add chart to short increase of disk space over time 2024-08-12 10:25:54 +02:00
Uwe Steinmann
2d721e542e add function formatFileSize() 2024-08-12 10:25:23 +02:00
Uwe Steinmann
154ec361ed get new method getRealMimeType() 2024-08-12 09:49:06 +02:00
Uwe Steinmann
13d9717f74 use new method getRealChecksum() and getRealMimeType() 2024-08-12 09:48:32 +02:00
Uwe Steinmann
a7e9172557 fix fold marks 2024-08-12 08:33:35 +02:00
Uwe Steinmann
3a6e03d306 add changes of 5.1.36 2024-07-31 11:20:22 +02:00
Uwe Steinmann
0e8d2ea165 remove empty line 2024-07-31 11:20:09 +02:00
Uwe Steinmann
5202240f2f create Access Operation for view 2024-07-31 11:17:05 +02:00
Uwe Steinmann
9e6573ecc7 add conversion for application/x-xopp 2024-07-11 19:48:57 +02:00
Uwe Steinmann
8854ae5543 remove deprecated function formatted_size() 2024-07-11 19:48:13 +02:00
Uwe Steinmann
b12cd07c5a add changes for 5.1.36 2024-07-08 17:16:31 +02:00
Uwe Steinmann
cc892ee72a add page for ѕending test notifications 2024-07-08 17:15:04 +02:00
Uwe Steinmann
48abf555d9 lots of new phrases for sending test notifications 2024-07-08 17:13:47 +02:00
Uwe Steinmann
87e4e2eba0 pass null instead of '' as default translation of subject 2024-07-08 17:11:31 +02:00
Uwe Steinmann
a14ea507fc fix php error 2024-07-02 17:07:30 +02:00
Uwe Steinmann
9db0985495 isDue() reads nextrun from from database 2024-07-02 16:25:05 +02:00
Uwe Steinmann
36a962e2a7 pass notifiert to view 2024-06-29 13:24:44 +02:00
Uwe Steinmann
f3c4385115 pass notifier to view 2024-06-29 13:24:20 +02:00
Uwe Steinmann
595ce3cbe7 get_extension() returns extension for image/jpg 2024-06-29 13:23:29 +02:00
Uwe Steinmann
6f11dc6dc2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-06-20 16:59:55 +02:00
Uwe Steinmann
9ac33d289f prevent php warnings 2024-06-20 16:59:32 +02:00
Uwe Steinmann
e6042e8538 remove old jquery 2024-06-17 19:17:07 +02:00
Uwe Steinmann
eefbd18e5e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-06-17 13:54:22 +02:00
Uwe Steinmann
19668222ca translate error msg after authentication error 2024-06-17 13:53:51 +02:00
Uwe Steinmann
e39cfe068c use getReadableDate() instead of date() 2024-06-17 09:26:29 +02:00
Uwe Steinmann
8039a0f479 task to run can be passed in url 2024-05-29 20:02:28 +02:00
Uwe Steinmann
ae72faab11 remove old html code to output class name 2024-05-29 20:02:00 +02:00
Uwe Steinmann
7c01e94015 fix regression in FolderNotify 2024-05-27 19:23:52 +02:00
Uwe Steinmann
41a438754a set initial document status 2024-05-24 08:25:13 +02:00
Uwe Steinmann
a44d7e3af0 expand tabs 2024-05-21 13:48:06 +02:00
Uwe Steinmann
9e3bb361ae Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-16 15:03:14 +02:00
Uwe Steinmann
47a1fcd2fa start new version 5.1.36 2024-05-16 15:01:57 +02:00
Uwe Steinmann
8870ca5c5d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-14 15:34:41 +02:00
Uwe Steinmann
1a00f4eaf4 changes of 5.1.35 2024-05-14 15:34:23 +02:00
Uwe Steinmann
5c7ef9dfd2 field for storing email in ldap can be configured 2024-05-14 15:33:45 +02:00
Uwe Steinmann
17351584d5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-14 13:07:39 +02:00
Uwe Steinmann
9e899d0064 add new phrase document_in_revision_no_date 2024-05-14 13:07:24 +02:00
Uwe Steinmann
0ef6be4fc2 add changes of 5.1.35 2024-05-14 13:06:23 +02:00
Uwe Steinmann
c7c5714f76 add missing class in progress bars 2024-05-14 12:22:22 +02:00
Uwe Steinmann
a429cc436f ldap_get_entries() returns lower case keys 2024-05-14 11:57:05 +02:00
Uwe Steinmann
ac841494a9 show a message if the revision date cannot be set 2024-05-14 07:30:34 +02:00
Uwe Steinmann
ce0de15ce1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-13 18:17:56 +02:00
Uwe Steinmann
226b839baa add changes for 5.1.35 2024-05-13 10:09:56 +02:00
Uwe Steinmann
3d605272c8 check access on RemoveDocumentFile and EditDocumentFile 2024-05-13 10:09:19 +02:00
Uwe Steinmann
42f7795d5f allow to set expiration date in the past 2024-05-13 10:08:36 +02:00
Uwe Steinmann
1b163e90e1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-07 21:35:53 +02:00
Uwe Steinmann
436b4a1453 start new version 5.1.35 2024-05-07 21:34:04 +02:00
Uwe Steinmann
791c23befa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-07 14:50:53 +02:00
Uwe Steinmann
6d86aee6cf add new translations 2024-05-07 14:50:40 +02:00
Uwe Steinmann
1c638b83a5 add changes for 5.1.34 2024-05-07 13:54:34 +02:00
Uwe Steinmann
56cc64d1cf add new conversion service from text/html to text/plain 2024-05-07 13:51:21 +02:00
Uwe Steinmann
79d4315ff7 add converter from text/markdown and text/x-rst to text/plain 2024-05-07 13:24:10 +02:00
Uwe Steinmann
d552047b0b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-06 18:57:55 +02:00
Uwe Steinmann
e6cb1ce446 fix drag&drop upload of folders 2024-05-06 18:57:03 +02:00
Uwe Steinmann
e1a970fb02 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-06 12:32:05 +02:00
Uwe Steinmann
024f47367a use controller in updateDocument 2024-05-06 12:31:40 +02:00
Uwe Steinmann
c8167d62ed check if document is locked when updating it 2024-05-06 08:06:01 +02:00
Uwe Steinmann
e9d953eed6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-03 11:35:55 +02:00
Uwe Steinmann
8e1e146515 output list of existing mimetypes and its conversion services 2024-05-03 11:35:04 +02:00
Uwe Steinmann
eb6b93715f suppress messages when running ffmpeg 2024-05-03 11:34:30 +02:00
Uwe Steinmann
82c3349842 add conversion from video to png with ffmpeg 2024-05-03 10:11:00 +02:00
Uwe Steinmann
fd92b6c078 add note for pdftotext 2024-05-03 08:51:03 +02:00
Uwe Steinmann
3a5886b64a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-03 08:38:22 +02:00
Uwe Steinmann
188d440560 schedule document for reindexing when changing the mimetype or name 2024-05-02 18:12:41 +02:00
Uwe Steinmann
72509a09eb add ViewOnlіne and Download to legacy access rights 2024-05-02 18:12:10 +02:00
Uwe Steinmann
f2b4830730 check for maxfileszise of uploaded file 2024-05-02 14:24:43 +02:00
Uwe Steinmann
bf4fe82cd5 status of previous version can be overwritten 2024-05-02 14:24:09 +02:00
Uwe Steinmann
b77609d375 comment is no longer required 2024-05-02 14:23:42 +02:00
Uwe Steinmann
60696ac079 check for attribute 'required' when creating select menu in formField() 2024-05-02 14:23:03 +02:00
Uwe Steinmann
14d79d58e7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-05-02 08:27:47 +02:00
Uwe Steinmann
3024bf6f5f get allowed file types from view for passing the getFileChooserHtml() 2024-05-02 07:49:16 +02:00
Uwe Steinmann
56e15e5125 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-30 20:45:31 +02:00
Uwe Steinmann
b3633b7cf0 do not show head line of batch operations if none is allowed 2024-04-30 20:45:01 +02:00
Uwe Steinmann
594c5a5db5 fix setting batchOperations if none is set 2024-04-30 20:44:41 +02:00
Uwe Steinmann
76b9b3c2d6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-30 18:32:29 +02:00
Uwe Steinmann
e0973e4a21 new batch operation for adding reviewer/approver 2024-04-30 10:46:27 +02:00
Uwe Steinmann
aa80886ced more translations 2024-04-30 10:13:12 +02:00
Uwe Steinmann
b176a145f4 new translations 2024-04-30 08:12:52 +02:00
Uwe Steinmann
44621c0bb6 add legacy access check for controllers 2024-04-29 13:05:59 +02:00
Uwe Steinmann
0d0fc4e50a check for documents with a link to themselves 2024-04-28 19:38:10 +02:00
Uwe Steinmann
dc14fc5217 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-28 14:41:41 +02:00
Uwe Steinmann
36ab25dfdc put file name in '' 2024-04-28 14:41:27 +02:00
Uwe Steinmann
1edb468877 put file name in '' 2024-04-28 14:40:39 +02:00
Uwe Steinmann
2107955b7e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-28 13:48:44 +02:00
Uwe Steinmann
2ded968aa3 fix wrong function call 2024-04-28 13:48:10 +02:00
Uwe Steinmann
a0e906a067 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-28 10:03:14 +02:00
Uwe Steinmann
59309b7db8 check if attachment could be imported 2024-04-28 10:02:52 +02:00
Uwe Steinmann
da69c19a1a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-28 09:58:12 +02:00
Uwe Steinmann
9d37187e43 check if date of file can be parsed 2024-04-28 09:50:29 +02:00
Uwe Steinmann
9e16e54aaa fix includes 2024-04-27 20:13:58 +02:00
Uwe Steinmann
b51749e631 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-27 20:10:06 +02:00
Uwe Steinmann
e86aeff722 fix includes, do not import document category with id=0 2024-04-27 20:09:09 +02:00
Uwe Steinmann
f230cd6918 remove duplicate code 2024-04-27 20:07:21 +02:00
Uwe Steinmann
4f44241850 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-27 18:40:54 +02:00
Uwe Steinmann
eb9f0e7eda export and import quota of users 2024-04-27 18:12:05 +02:00
Uwe Steinmann
d70c90e758 export and import roles 2024-04-27 18:09:38 +02:00
Uwe Steinmann
72a4a05bb2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-25 18:34:05 +02:00
Uwe Steinmann
6679c3b868 new translations for transmittals in menu 2024-04-25 18:33:54 +02:00
Uwe Steinmann
409b86461b add transmittals in menu 2024-04-25 18:33:05 +02:00
Uwe Steinmann
0d2cc403da add endpoint delete '/roles/{id}' 2024-04-25 15:13:17 +02:00
Uwe Steinmann
f5073ffd4f add changes for 6.0.27 2024-04-23 18:27:51 +02:00
Uwe Steinmann
4ed40bff78 fix appearance of delete button 2024-04-23 18:26:56 +02:00
Uwe Steinmann
478c385d13 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-23 18:22:30 +02:00
Uwe Steinmann
b81252e082 set vim commands 2024-04-23 18:22:14 +02:00
Uwe Steinmann
7a06b50e92 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-23 18:21:36 +02:00
Uwe Steinmann
3a1be1333d fix line indenting 2024-04-23 18:19:51 +02:00
Uwe Steinmann
ce9be505fd hash password when setting new password 2024-04-23 18:16:06 +02:00
Uwe Steinmann
0da2308ee3 add new endpoints for managing roles 2024-04-23 18:15:14 +02:00
Uwe Steinmann
4275072338 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-23 13:57:07 +02:00
Uwe Steinmann
6250a212b3 hash password when creating a new user 2024-04-23 13:55:55 +02:00
Uwe Steinmann
d3ab3e7069 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-23 12:39:49 +02:00
Uwe Steinmann
84443437a2 comment must be set to '' because user comment may not be null 2024-04-23 12:38:41 +02:00
Uwe Steinmann
cf786e749a fix setting role of user when creating a new user 2024-04-23 12:38:03 +02:00
Uwe Steinmann
06f0e1423b add changes for 6.0.27 2024-04-23 12:20:04 +02:00
Uwe Steinmann
55aa6fe170 the checkout info is not related to substituted user 2024-04-23 12:18:34 +02:00
Uwe Steinmann
15ee5357a5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-22 17:49:50 +02:00
Uwe Steinmann
0044cd6a19 fix adding workflow log 2024-04-22 17:49:40 +02:00
Uwe Steinmann
7f16340a26 fix adding workflow log 2024-04-22 17:47:11 +02:00
Uwe Steinmann
50b25a59ec Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-22 14:49:18 +02:00
Uwe Steinmann
593b6359d2 enlarge space between menu items (new sass compiler causes other changes) 2024-04-22 14:47:50 +02:00
Uwe Steinmann
6a13d61abc fix calling getMandatory(Reviewer|Approver) 2024-04-22 10:59:02 +02:00
Uwe Steinmann
416df6c846 fix insert statement 2024-04-21 13:38:33 +02:00
Uwe Steinmann
bb416ffe56 allow empty for regular select menus of config variables 2024-04-19 17:18:28 +02:00
Uwe Steinmann
23b9def5c8 pass logger to view and controller 2024-04-19 17:18:06 +02:00
Uwe Steinmann
d96cae4864 set max number of item in sequence chooser to 200, make it a chzn-select menu 2024-04-18 19:23:47 +02:00
Uwe Steinmann
0da7e0f655 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-16 06:36:39 +02:00
Uwe Steinmann
c3bd028774 add new phrases 2024-04-16 06:31:24 +02:00
Uwe Steinmann
c411505701 tasks and clipboard can be shown in main menu, even if there are no tasks due or the clipboard is empty 2024-04-15 17:37:20 +02:00
Uwe Steinmann
c9286b75a0 show tasklist in menu even if there are no task 2024-04-15 11:54:23 +02:00
Uwe Steinmann
bd80e96c92 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-13 09:25:27 +02:00
Uwe Steinmann
f79c60e927 add changes for 5.1.34 2024-04-13 09:25:10 +02:00
Uwe Steinmann
d74b9ed9de fix sending mails when document/folder was moved 2024-04-13 09:24:27 +02:00
Uwe Steinmann
9c81a10109 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-11 12:45:55 +02:00
Uwe Steinmann
d6aa0e4f60 improve log line 2024-04-11 12:44:57 +02:00
Uwe Steinmann
74e5be95c2 log calling script 2024-04-11 12:37:02 +02:00
Uwe Steinmann
2f8e3fbb51 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-11 12:21:51 +02:00
Uwe Steinmann
c8ac0bacad init variable 2024-04-11 12:21:41 +02:00
Uwe Steinmann
f73bdb8388 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-08 18:01:43 +02:00
Uwe Steinmann
b6a1339bd7 do not add anchor for extension config, if no config exists 2024-04-08 18:01:29 +02:00
Uwe Steinmann
35873391c8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-04 15:01:24 +02:00
Uwe Steinmann
9558075a2f various minor updates 2024-04-04 15:01:11 +02:00
Uwe Steinmann
3914b76919 expand tabs 2024-04-04 15:00:02 +02:00
Uwe Steinmann
e1c7e27a69 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-04 14:15:29 +02:00
Uwe Steinmann
6bc247c0ad add notifications send by SetReviewersApprovers 2024-04-04 14:15:08 +02:00
Uwe Steinmann
4e9901161f add more notifications in seeddms 6 2024-04-04 14:14:17 +02:00
Uwe Steinmann
aae9422e30 move sending mails into inc.ClassNotificationService.php 2024-04-04 13:58:36 +02:00
Uwe Steinmann
ad84609a49 add functions to send mail on revision/receipt add/delete 2024-04-04 13:57:36 +02:00
Uwe Steinmann
0b4afff149 set new and old status 2024-04-04 13:56:14 +02:00
Uwe Steinmann
01837f6c5c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-03 13:43:13 +02:00
Uwe Steinmann
5aa5db880d pass convertToPdf to view 2024-04-03 13:42:58 +02:00
Uwe Steinmann
1999206af0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-03 09:26:07 +02:00
Uwe Steinmann
f0f5cd5058 fix php warnings 2024-04-03 09:25:50 +02:00
Uwe Steinmann
d36636be55 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-03 09:21:59 +02:00
Uwe Steinmann
bad9db377b add label to checkboxes 2024-04-03 09:21:43 +02:00
Uwe Steinmann
7b65c50b7e use own code for creating checkboxes 2024-04-03 09:21:24 +02:00
Uwe Steinmann
e0b421dcca convert checkin into controller 2024-04-02 20:33:34 +02:00
Uwe Steinmann
038e929778 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-04-02 09:07:16 +02:00
Uwe Steinmann
f4a44a853f improve navigating in typeahead menu 2024-04-01 11:35:37 +02:00
Uwe Steinmann
da664f2948 set height of typeahead menu to 600px max 2024-04-01 11:32:34 +02:00
Uwe Steinmann
246ba45c52 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-30 13:15:12 +01:00
Uwe Steinmann
060c5f6a00 fix selection in typeahead menu 2024-03-30 13:14:55 +01:00
Uwe Steinmann
08cac16ecf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-30 12:29:37 +01:00
Uwe Steinmann
9e7fa8eecd fix render function for typeahead folder search 2024-03-30 12:28:00 +01:00
Uwe Steinmann
6b17c35804 sync changes in application.js 2024-03-30 12:14:55 +01:00
Uwe Steinmann
245bfe640a updated folder chooser 2024-03-30 12:12:47 +01:00
Uwe Steinmann
f06267dd0b fix typeahead menu 2024-03-30 12:00:04 +01:00
Uwe Steinmann
66114a653c fix link to document in html mail of expired documents 2024-03-28 20:11:09 +01:00
Uwe Steinmann
eded3365b1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-28 19:27:42 +01:00
Uwe Steinmann
929ceb91e4 fixed typo in variable name 2024-03-28 19:27:25 +01:00
Uwe Steinmann
7998c9d7e0 change sequence of parameters for expired docs task 2024-03-28 19:26:50 +01:00
Uwe Steinmann
8b2db5376c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-28 18:30:22 +01:00
Uwe Steinmann
1abf8802dc include complete day of end date 2024-03-28 18:30:02 +01:00
Uwe Steinmann
3e8a494f1a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-28 18:22:41 +01:00
Uwe Steinmann
84ff9e48fe start and end date can be specified 2024-03-28 18:22:08 +01:00
Uwe Steinmann
9fad6c6e61 add dryrun paramter 2024-03-28 14:08:27 +01:00
Uwe Steinmann
c1b736022d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-28 11:04:37 +01:00
Uwe Steinmann
ac1442d7ca set proper names/text for cmd and error msg 2024-03-28 11:03:59 +01:00
Uwe Steinmann
8e834e8898 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-27 19:50:18 +01:00
Uwe Steinmann
6b91d3ce40 log errors and set $success to false 2024-03-27 19:49:52 +01:00
Uwe Steinmann
69b61b1a75 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-26 13:30:02 +01:00
Uwe Steinmann
a05a0b9b49 various minor updates 2024-03-26 13:29:41 +01:00
Uwe Steinmann
f65af1741c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-25 16:22:39 +01:00
Uwe Steinmann
9b3cbb3417 escape several strings to prevent xss attacks 2024-03-25 16:20:50 +01:00
Uwe Steinmann
fc4d2edb57 pass latest content to hooks. Fix php warnings 2024-03-25 15:17:27 +01:00
Uwe Steinmann
37478ecd89 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-25 14:22:01 +01:00
Uwe Steinmann
2fe99c2905 attributes of type user, group, document, folder are now an object 2024-03-25 14:18:36 +01:00
Uwe Steinmann
8d758085a4 get attribute as string, set folder_id when sending 'folder_attribute_added' 2024-03-25 12:43:08 +01:00
Uwe Steinmann
5d5e4e7741 add changes for 5.1.34 2024-03-25 11:11:34 +01:00
Uwe Steinmann
19c70d5588 do not add items ot sequence chooser, if number of documents/folders is greater than 50 2024-03-25 10:58:16 +01:00
Uwe Steinmann
6a7d596806 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-23 11:57:58 +01:00
Uwe Steinmann
a00655932b check for latest content 2024-03-23 11:57:13 +01:00
Uwe Steinmann
ceaa62f16c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-23 11:56:11 +01:00
Uwe Steinmann
5fc7c85bf2 add changes for 5.1.34 2024-03-22 18:55:03 +01:00
Uwe Steinmann
2c4b729582 some code clean ups 2024-03-22 10:06:06 +01:00
Uwe Steinmann
78afbe8699 take enableusersview into account (currently disabled) 2024-03-22 10:04:59 +01:00
Uwe Steinmann
637476f0a9 fix button to remove membership, show login of user 2024-03-22 10:03:40 +01:00
Uwe Steinmann
39179d6056 show login name of user 2024-03-22 10:02:37 +01:00
Uwe Steinmann
7bdfd5f88f code cleanup 2024-03-22 10:01:19 +01:00
Uwe Steinmann
6cb356454f fix label of menu item for notifications 2024-03-21 08:24:43 +01:00
Uwe Steinmann
28aaf8e28f users will see only their own notifications 2024-03-21 08:23:08 +01:00
Uwe Steinmann
2b7f90991a support login by email 2024-03-20 18:21:22 +01:00
Uwe Steinmann
0017137d0b allow login by email if turned on in configuration 2024-03-20 17:05:41 +01:00
Uwe Steinmann
e383f8be11 add changes for 5.1.34 2024-03-20 16:28:29 +01:00
Uwe Steinmann
6490052342 do not check if owner has got submitted review/approval email, because owners not longer receive that mail 2024-03-20 16:23:57 +01:00
Uwe Steinmann
7c07fba0ba do not send submitted approval/review mail to owner 2024-03-20 16:21:00 +01:00
Uwe Steinmann
20e61d1691 send status changes to uploader of document 2024-03-20 16:19:53 +01:00
Uwe Steinmann
825186a046 set default lang in login form if language selector is turned off 2024-03-20 15:28:58 +01:00
Uwe Steinmann
39ded6779d check if attribute is aof type document or folder and multivalue 2024-03-20 14:04:56 +01:00
Uwe Steinmann
5235a859fc add comment how $tmpDN is used 2024-03-20 14:02:24 +01:00
Uwe Steinmann
18715fe4fa check more error codes in attribute validation 2024-03-20 14:01:52 +01:00
Uwe Steinmann
88c49363ac document search show path of items 2024-03-18 13:54:35 +01:00
Uwe Steinmann
4e91604d44 show parent of document in list of linked documents 2024-03-18 10:38:33 +01:00
Uwe Steinmann
996163f72f show parent folder in list of documents 2024-03-18 07:50:10 +01:00
Uwe Steinmann
935c9557f9 getMandatoryReviewers() and getMandatoryApprovers() require 3 params 2024-03-15 07:08:28 +01:00
Uwe Steinmann
81b45ceeff do not show fast upload area if access on folder is insufficient 2024-03-13 09:29:39 +01:00
Uwe Steinmann
423ee97ef1 add changes of 5.1.34 2024-03-12 15:58:46 +01:00
Uwe Steinmann
352c3997bd fix check if current user is owner 2024-03-12 15:57:47 +01:00
Uwe Steinmann
ac2ade6b6e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-03-06 17:38:04 +01:00
Uwe Steinmann
de0eb7cd2c add changes of 5.1.34 2024-03-06 16:41:10 +01:00
Uwe Steinmann
71d5970ef0 add attribute 'data-uploadformtoken' to document list entry 2024-03-06 16:33:40 +01:00
Uwe Steinmann
484a95029c add support for updating a document by dropping a file on a document, folder hierarchies can be uploaded by drag&drop 2024-03-06 16:32:23 +01:00
Uwe Steinmann
5d548bafcb add more translations in js 2024-03-06 16:31:49 +01:00
Uwe Steinmann
dd4149e3a6 add commands 'updatedocument' and 'addfolder' 2024-03-06 16:31:02 +01:00
Uwe Steinmann
0402877a39 remove unused () 2024-03-05 18:18:14 +01:00
Uwe Steinmann
2ddbc24108 remove not needed () 2024-03-04 18:42:29 +01:00
Uwe Steinmann
84a3df2e45 add entry for 5.1.34 2024-03-04 11:40:21 +01:00
Uwe Steinmann
83e131d677 list of documents: output folder where document is located 2024-03-04 11:17:58 +01:00
Uwe Steinmann
88452a63a1 do not show form if there are no process to transfer 2024-02-29 08:50:35 +01:00
Uwe Steinmann
36dbc1f825 no need to check if group has users because it has been remove from the mandatory groups already 2024-02-22 12:07:35 +01:00
Uwe Steinmann
43f078a153 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-22 12:07:06 +01:00
Uwe Steinmann
43a22ea252 no need to check if group has users, because those groups have been removed from the mandatory already 2024-02-22 12:06:16 +01:00
Uwe Steinmann
a1a20a4c25 pass document to getMandatoryReviewers() and getMandatoryApprovers() 2024-02-22 11:58:05 +01:00
Uwe Steinmann
12a4a6446f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-21 16:04:29 +01:00
Uwe Steinmann
c5d44c3674 do not add empty groups as mandatory approver/reviewer 2024-02-21 16:04:01 +01:00
Uwe Steinmann
a0b3d9da27 take all mandatory reviewers/approvers into account 2024-02-21 15:33:13 +01:00
Uwe Steinmann
f4003f72e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-17 13:04:16 +01:00
Uwe Steinmann
17dbfcf2c7 propperly import group names with non-printable chars 2024-02-17 13:03:29 +01:00
Uwe Steinmann
18e4874a77 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-16 08:51:23 +01:00
Uwe Steinmann
98984619f6 add changes for 5.1.34 2024-02-16 08:50:09 +01:00
Uwe Steinmann
c6243813bf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-15 09:40:59 +01:00
Uwe Steinmann
d009cbf3a5 ??? 2024-02-15 09:38:12 +01:00
Uwe Steinmann
53812aa45d checkboxes can be made invisible 2024-02-15 09:37:43 +01:00
Uwe Steinmann
6f2300fdd7 depend on sabre/dav 4, passwords can be shown 2024-02-15 09:28:19 +01:00
Uwe Steinmann
3345155e5e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-12 14:12:29 +01:00
Uwe Steinmann
b7b3aab059 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2024-02-12 14:12:17 +01:00
Uwe Steinmann
f671dc0b1c add missing phrases 2024-02-12 14:11:34 +01:00
Uwe Steinmann
0224793366 add showConfigGroup() 2024-02-12 14:10:12 +01:00
Uwe Steinmann
4eba2e3283 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-12 14:08:17 +01:00
Uwe Steinmann
d8c2a9df06 add global group approver/reviewer 2024-02-12 14:06:53 +01:00
Uwe Steinmann
3347b8e4f5 fix encapsulation with start/end container 2024-02-09 10:49:15 +01:00
Uwe Steinmann
9300d92311 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-08 21:20:28 +01:00
Uwe Steinmann
663ce7f675 add global and group manager reviewers/approvers 2024-02-08 21:02:12 +01:00
Uwe Steinmann
7c538ad5d1 some more information when using php-fpm 2024-02-08 20:56:49 +01:00
Uwe Steinmann
192e750f00 output warning if list of recipients contains disabled users 2024-02-07 09:41:40 +01:00
Uwe Steinmann
fb37e526cc separated revisions without access from disabled users 2024-02-06 10:29:23 +01:00
Uwe Steinmann
00d71f4c2e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-06 09:25:22 +01:00
Uwe Steinmann
86fe68ea15 fix marking of disabled users 2024-02-06 09:24:53 +01:00
Uwe Steinmann
5d2d80b0af fix output of documents with disabled recipients 2024-02-06 09:23:47 +01:00
Uwe Steinmann
0fa5ffae48 changes for 6.0.27 2024-02-05 16:15:53 +01:00
Uwe Steinmann
192daaec69 distinguish between no access and disabled users in check for receptions 2024-02-05 16:15:18 +01:00
Uwe Steinmann
89ce934164 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-02-02 16:09:53 +01:00
Uwe Steinmann
956c84de1f fix regression in 5.1.33, workflow and reviewers/approvers could not be set anymore 2024-02-02 16:07:17 +01:00
Uwe Steinmann
61dd316e09 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-31 07:51:59 +01:00
Uwe Steinmann
f14617b3c6 show finished workflow only in advanced workflow mode 2024-01-31 07:37:54 +01:00
Uwe Steinmann
81ee0beeae Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-30 20:39:56 +01:00
Uwe Steinmann
4e63fd2ecf start new version 5.1.34 2024-01-30 20:36:46 +01:00
Uwe Steinmann
c66637ce6c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-30 17:11:48 +01:00
Uwe Steinmann
5f229063bf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2024-01-30 17:11:35 +01:00
Uwe Steinmann
95c3678109 add various translations 2024-01-30 17:10:38 +01:00
Uwe Steinmann
eb95f7999a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-30 16:32:45 +01:00
Uwe Steinmann
40d05f5e47 no need for php 8.0 anymore 2024-01-30 16:32:20 +01:00
Uwe Steinmann
2009e59629 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-26 12:54:59 +01:00
Uwe Steinmann
2f5392797d cast parameter to SeedDMS_Core_File::format_filesize into int 2024-01-26 12:54:15 +01:00
Uwe Steinmann
c94d940325 setting HTTP_AUTHORI 2024-01-26 12:53:32 +01:00
Uwe Steinmann
22aaa5608f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-16 17:59:16 +01:00
Uwe Steinmann
e3f563c3e7 better check if upper limit of version is set 2024-01-16 17:58:53 +01:00
Uwe Steinmann
6b562477aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-15 09:31:28 +01:00
Uwe Steinmann
11ea03560e requires php 8.x 2024-01-15 09:31:04 +01:00
Uwe Steinmann
a03b96330a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-12 14:31:06 +01:00
Uwe Steinmann
96406dd432 set HTTP_AUTHORIZATION header 2024-01-12 14:30:46 +01:00
Uwe Steinmann
6c84787027 fix inclusion of php files, turn on authentication 2024-01-12 14:29:45 +01:00
Uwe Steinmann
ba8aebb24b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-12 14:11:49 +01:00
Uwe Steinmann
84a85f145a set language in hidden field 2024-01-12 14:11:22 +01:00
Uwe Steinmann
023e2c3edf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-11 10:10:12 +01:00
Uwe Steinmann
4b761a95a1 check if method specified in 'action' is public 2024-01-11 10:09:56 +01:00
Uwe Steinmann
dd40e979e7 update spectrum-colorpicker2 2024-01-10 22:18:03 +01:00
Uwe Steinmann
d94366c918 update to jquery 3.71 2024-01-10 21:51:19 +01:00
Uwe Steinmann
8f945181c5 add changes for 5.1.33 2024-01-10 20:38:43 +01:00
Uwe Steinmann
255fb59416 do not allow url parameter 'action' if calling Login controller 2024-01-10 20:37:49 +01:00
Uwe Steinmann
53bca0e294 seed_pass_verify() checks strictly hash amd md5 of password 2024-01-10 20:36:53 +01:00
Uwe Steinmann
3af7ce8177 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2024-01-02 17:58:39 +01:00
Uwe Steinmann
56d1173ecd do not use var_dump(), use echo() and imagesx() 2024-01-02 17:58:02 +01:00
Uwe Steinmann
d872b68efe more efficient way to get documents in process 2024-01-02 17:56:43 +01:00
Uwe Steinmann
2021a124a5 pass fulltext service to AddSubFolder controller 2023-12-22 07:46:39 +01:00
Uwe Steinmann
699e1bcfad Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-19 12:53:16 +01:00
Uwe Steinmann
ced00167bf turn of links 2023-12-19 12:52:14 +01:00
Uwe Steinmann
c23c5845ad add changes for 6.0.26 2023-12-19 10:00:51 +01:00
Uwe Steinmann
00c1efffac add substitution of users 2023-12-19 09:58:55 +01:00
Uwe Steinmann
ddfe87a82c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-19 09:32:14 +01:00
Uwe Steinmann
02b4dd2635 add changes for 5.1.33 2023-12-19 09:31:58 +01:00
Uwe Steinmann
9050f8b374 remove session when logging out 2023-12-19 09:31:18 +01:00
Uwe Steinmann
79aa8098e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-18 21:48:03 +01:00
Uwe Steinmann
6a558a4d26 add converter from txt to pdf/png 2023-12-18 21:47:38 +01:00
Uwe Steinmann
98f5cee2eb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-18 14:36:12 +01:00
Uwe Steinmann
ebd11bdaf2 fix getting mandatory reviewers for document in upload_document 2023-12-18 14:35:39 +01:00
Uwe Steinmann
07bfdca11e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-15 17:14:02 +01:00
Uwe Steinmann
facd9f7a65 use a stats array from fulltext search for min/max of facet value 2023-12-15 17:13:28 +01:00
Uwe Steinmann
62ff3da502 get composer 2.2.22 2023-12-15 14:19:49 +01:00
Uwe Steinmann
ac656d4da0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-12-15 11:00:16 +01:00
Uwe Steinmann
f330477003 add changes for 5.1.33 2023-12-13 08:26:16 +01:00
Uwe Steinmann
08415039ca add name of attribute def. in error msg when setting an attribute 2023-12-13 08:24:30 +01:00
Uwe Steinmann
1ac232476a simplified removeDocumentCategory 2023-12-13 08:23:58 +01:00
Uwe Steinmann
cab5f5bb2e __getDocumentData() sets categories 2023-12-13 08:23:19 +01:00
Uwe Steinmann
2a2035cccf use showActions() to output list of buttons on attachment tab 2023-12-13 08:07:38 +01:00
Uwe Steinmann
03de004b30 fix calling changeGroupMembership() 2023-11-30 17:02:51 +01:00
Uwe Steinmann
576b866b7f fix return code of changeGroupMembership() if no user id is passed 2023-11-30 17:02:28 +01:00
Uwe Steinmann
b131c63dd7 fix error msg when creating a group without passing a name 2023-11-30 17:01:16 +01:00
Uwe Steinmann
1133d65544 new method to delete group 2023-11-30 17:00:18 +01:00
Uwe Steinmann
dbb9381573 use controller when adding a new document 2023-11-30 16:59:00 +01:00
Uwe Steinmann
8ff3303015 add changes for 5.1.33 2023-11-28 10:23:23 +01:00
Uwe Steinmann
d59a4c18c9 use conversion manager 2023-11-28 10:23:08 +01:00
Uwe Steinmann
0012de7337 allow ttf files in directory 'res' 2023-11-23 15:50:25 +01:00
Uwe Steinmann
1115d08d2f use instead of 2023-11-12 19:19:02 +01:00
Uwe Steinmann
cd0a5c9844 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-11-12 19:16:11 +01:00
Uwe Steinmann
2e8ab0cb52 do not allow to set workflow of previous versions 2023-11-12 19:05:54 +01:00
Uwe Steinmann
6f8f56ad4b sync with layout of ViewDocument 2023-11-12 19:05:35 +01:00
Uwe Steinmann
8432340154 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-11-12 17:38:31 +01:00
Uwe Steinmann
9132e28052 add changes for 5.1.33 2023-11-12 17:36:44 +01:00
Uwe Steinmann
aa9600453d show logs of finished worflows 2023-11-12 17:36:01 +01:00
Uwe Steinmann
1a5dbfef51 get settings from view 2023-11-06 14:31:56 +01:00
Uwe Steinmann
0f258d81ac add warning about document being release only if initial doc status is 'released' 2023-11-06 14:31:18 +01:00
Uwe Steinmann
bcf2239334 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-11-02 13:11:56 +01:00
Uwe Steinmann
172d5b3063 do not set max_execution_time in constructor, it will be set later 2023-11-02 13:11:14 +01:00
Uwe Steinmann
f69c9ad9d0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-31 21:14:32 +01:00
Uwe Steinmann
4b887c987b fix checking for metadatafile 2023-10-31 21:14:04 +01:00
Uwe Steinmann
46f5b630d6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-31 21:09:36 +01:00
Uwe Steinmann
7a346f3b9f fix inclusion of files 2023-10-31 21:09:15 +01:00
Uwe Steinmann
ee4162a565 check if $previewer is set 2023-10-31 18:51:03 +01:00
Uwe Steinmann
7c1479708f do not list more than 20 folders/files 2023-10-31 18:49:54 +01:00
Uwe Steinmann
4e2af679e9 sync with op/op.ImportFS.php 2023-10-31 18:49:19 +01:00
Uwe Steinmann
d7e780493f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-31 16:17:47 +01:00
Uwe Steinmann
71369f73b9 add changes for 5.1.33 2023-10-31 14:43:42 +01:00
Uwe Steinmann
929129abac do not show filter for categories if none exist 2023-10-31 14:42:26 +01:00
Uwe Steinmann
0aedf55ec6 prevent xss attach 2023-10-27 12:51:21 +02:00
Uwe Steinmann
8a148daa42 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-27 12:09:34 +02:00
Uwe Steinmann
f562a1bbed fix typo 2023-10-27 12:09:15 +02:00
Uwe Steinmann
46371b2cf2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-27 08:30:38 +02:00
Uwe Steinmann
2c32f6f4de more changes for 5.1.33 2023-10-27 08:21:30 +02:00
Uwe Steinmann
246ce885e2 add changes for 5.1.33 2023-10-27 08:08:15 +02:00
Uwe Steinmann
31fa1d505c fix call of contructor of SeedDMS_AccessOperation 2023-10-20 07:14:34 +02:00
Uwe Steinmann
b118b00536 pass $document ot mayRemoveVersion() 2023-10-18 19:04:02 +02:00
Uwe Steinmann
ab16c6b539 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-17 16:36:06 +02:00
Uwe Steinmann
d567519e0e new phrases 2023-10-17 16:35:46 +02:00
Uwe Steinmann
b34b37189a remove SeedDMЅ_Core 2023-10-16 12:59:20 +02:00
Uwe Steinmann
c10d2f403a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-16 12:57:38 +02:00
Uwe Steinmann
825883a667 has been moved into extra git repoository 2023-10-16 12:55:35 +02:00
Uwe Steinmann
8b4c01e339 addGrpRecepient() and addIndRecepient() return the log id not 0 2023-10-15 19:24:17 +02:00
Uwe Steinmann
ee568bb916 allow to edit hidden users for receiving a document 2023-10-15 17:38:22 +02:00
Uwe Steinmann
000f1e2c44 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-15 17:31:43 +02:00
Uwe Steinmann
b2505e1486 show checkbox for enableHiddenRevApp 2023-10-15 17:30:26 +02:00
Uwe Steinmann
45d00e5bd0 check $settings->_enableHiddenRevApp 2023-10-15 17:30:03 +02:00
Uwe Steinmann
889f49daca fix line indenting 2023-10-15 17:29:28 +02:00
Uwe Steinmann
f56b500b9f save and read enableHiddenRevApp from settings 2023-10-15 17:28:31 +02:00
Uwe Steinmann
e06aa0a286 do not list hidden users as recipient or revisor 2023-10-15 10:30:06 +02:00
Uwe Steinmann
568718f023 add parameters keepfile and dryrun to import drop folder task 2023-10-14 13:47:27 +02:00
Uwe Steinmann
1085401ccf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-14 12:55:20 +02:00
Uwe Steinmann
f0ffe1173e add SeedDMSBox.callback() 2023-10-14 12:54:29 +02:00
Uwe Steinmann
3dd304eb98 add changes for 5.1.33 2023-10-14 10:46:58 +02:00
Uwe Steinmann
ec990ef1c5 make code theme independent, open confirm dialog for category change, check if category, user, docs are selected before opening confirm dialog 2023-10-14 10:45:33 +02:00
Uwe Steinmann
a2676573a6 add SeedDMSBox.redirect() 2023-10-14 10:44:23 +02:00
Uwe Steinmann
69cab29178 use " instead of ' 2023-10-14 08:50:48 +02:00
Uwe Steinmann
2b3d127808 fix 'Add to clipboard' menu item in bootstrap theme 2023-10-14 08:49:57 +02:00
Uwe Steinmann
ac69311242 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-13 21:40:26 +02:00
Uwe Steinmann
34697b62bd new config _enableHiddenRevApp (currently set to false) 2023-10-13 19:33:25 +02:00
Uwe Steinmann
dca43ea703 fix colouring of user lines, show hidden users in yellow 2023-10-13 19:32:07 +02:00
Uwe Steinmann
00fe04a82f number of user session can be limited 2023-10-13 19:31:41 +02:00
Uwe Steinmann
f1183cd4d2 changes in 6.0.26 2023-10-13 16:39:51 +02:00
Uwe Steinmann
878f7e559a add task to import files from dropfolder 2023-10-13 16:39:14 +02:00
Uwe Steinmann
5ebbaa9336 set initial doc status from settings when uploading a document 2023-10-13 16:38:44 +02:00
Uwe Steinmann
04b63531c7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-13 13:36:10 +02:00
Uwe Steinmann
183bdcfa69 use mayRemoveVersion() 2023-10-13 13:33:58 +02:00
Uwe Steinmann
fcf5c9be93 addititional lecacy right can be added 2023-10-13 13:33:14 +02:00
Uwe Steinmann
f02ba8ddc5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-13 11:42:12 +02:00
Uwe Steinmann
3eb830855a if fields of type 'checkbox' have a default value, the will have a hidden input field to set this value 2023-10-13 11:38:51 +02:00
Uwe Steinmann
437f9e894f options of a conf var of type select can be retrieved by a hook 2023-10-13 11:38:02 +02:00
Uwe Steinmann
14a3da7855 if fields of type 'checkbox' have a default value, the will have a hidden input field to set this value 2023-10-13 11:37:07 +02:00
Uwe Steinmann
40f2311b91 show files and folders in dropfolder dir recursively 2023-10-12 16:02:50 +02:00
Uwe Steinmann
ab82a65bcc fix creating preview image of file in drop folder if it contains special chars 2023-10-12 13:34:46 +02:00
Uwe Steinmann
0139beb33f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-11 19:54:38 +02:00
Uwe Steinmann
5843db1451 add converter from audio/mpeg in spectrum as png file 2023-10-11 13:41:36 +02:00
Uwe Steinmann
54baa86089 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-10-11 08:51:20 +02:00
Uwe Steinmann
73087455fc minor translation updates 2023-10-11 08:51:06 +02:00
Uwe Steinmann
8b950006f5 remove old output of missing functions and classes 2023-10-11 08:50:06 +02:00
Uwe Steinmann
da8e5a6eab Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-10-11 08:43:11 +02:00
Uwe Steinmann
4c266f79d7 new translations 2023-10-11 08:42:12 +02:00
Uwe Steinmann
b480439397 add security check, echo error for each missing function, class, php-ext 2023-10-11 08:38:33 +02:00
Uwe Steinmann
11301f1955 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-10-10 10:35:07 +02:00
Uwe Steinmann
bc70af210d add fulltext search for attribute=__any__ 2023-10-10 10:33:26 +02:00
Uwe Steinmann
749c40211d show week number in date selector 2023-09-29 14:34:42 +02:00
Uwe Steinmann
ca56d18b97 set propper class in folder row if class 'error' is passed 2023-09-29 14:34:18 +02:00
Uwe Steinmann
ede79bf40d only dates in the future can be selected, add help message for expiration date 2023-09-29 14:32:27 +02:00
Uwe Steinmann
520515303a show expiration date in options of preselected dates 2023-09-29 14:31:35 +02:00
Uwe Steinmann
2c01243ec5 use new function getTsByPeriod() 2023-09-29 14:30:20 +02:00
Uwe Steinmann
01fd55832f date format can be passed to getConvertDateFormat() 2023-09-29 14:29:44 +02:00
Uwe Steinmann
70a455c422 add new function getTsByPeriod() 2023-09-29 14:29:30 +02:00
Uwe Steinmann
d120b9eb7d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-27 13:03:54 +02:00
Uwe Steinmann
60410708de filter out documents on Dashboard which cannot be read 2023-09-27 13:02:41 +02:00
Uwe Steinmann
c721c05d6d do not show link to EditUserData if user may not edit himself 2023-09-27 12:48:13 +02:00
Uwe Steinmann
bd396e1c69 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-27 11:41:45 +02:00
Uwe Steinmann
d6568bf62e new version 5.1.33 2023-09-27 11:41:07 +02:00
Uwe Steinmann
b5dbadfb66 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-27 11:40:04 +02:00
Uwe Steinmann
2bc00fc575 add changes for 5.1.33 2023-09-27 11:32:07 +02:00
Uwe Steinmann
b8ded0fed7 set max-height of user image to 150px 2023-09-27 11:31:50 +02:00
Uwe Steinmann
2213ea7e29 handle extension conf parameters of type 'date' 2023-09-27 11:30:45 +02:00
Uwe Steinmann
929c93fdb9 do not scale user image if too small, allow images up to 300px height 2023-09-27 11:30:02 +02:00
Uwe Steinmann
4cb589b0ed check reques instead of query for param action 2023-09-27 11:29:14 +02:00
Uwe Steinmann
295c805a15 set maxsizeforfulltext 2023-09-27 11:28:54 +02:00
Uwe Steinmann
700add3b7f use SeedDMS_Core_File::mimetype() to determin mimetype 2023-09-27 11:28:39 +02:00
Uwe Steinmann
0e86608cbc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-18 13:37:40 +02:00
Uwe Steinmann
66f5efb487 set width of select box for undel user ids to 100% 2023-09-18 13:36:54 +02:00
Uwe Steinmann
4f00481f1e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-18 09:38:35 +02:00
Uwe Steinmann
82751c0b84 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-09-17 16:27:23 +02:00
Uwe Steinmann
8dce4215c8 various translation updates 2023-09-17 16:21:53 +02:00
Uwe Steinmann
7b805b62d3 show message below spinner when waiting for ajax request 2023-09-17 16:13:21 +02:00
Uwe Steinmann
fdc6c6a863 add Dashboard to legacy access rights 2023-09-17 16:12:45 +02:00
Uwe Steinmann
2b0d45c68c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-14 12:11:24 +02:00
Uwe Steinmann
3e47e80874 calc and diѕplay disc usage and number of files in cache 2023-09-14 12:10:34 +02:00
Uwe Steinmann
c2a4c76f3f use DIRECTORY_SEPARATOR when building path to cache dir 2023-09-14 12:10:12 +02:00
Uwe Steinmann
4d3fa42716 show number of files and size in cache 2023-09-14 10:27:47 +02:00
Uwe Steinmann
6ea76aa00e set width of table col to * instead of 100% 2023-09-12 21:09:24 +02:00
Uwe Steinmann
0638776bc5 show placeholder if set in task config 2023-09-12 21:09:17 +02:00
Uwe Steinmann
153796b82c add changes for 6.0.25 2023-09-12 12:49:56 +02:00
Uwe Steinmann
6b6410997f more condensed layout for better use on small devices 2023-09-12 12:44:21 +02:00
Uwe Steinmann
52fdbb8c16 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-12 10:15:30 +02:00
Uwe Steinmann
69786c4196 do not show facetted search if fulltext search is off 2023-09-12 10:14:54 +02:00
Uwe Steinmann
deb2aeea57 some minor code improvements, add help for folder selection 2023-09-12 09:40:23 +02:00
Uwe Steinmann
0bd625ca20 add help when selecting folder 2023-09-12 09:39:45 +02:00
Uwe Steinmann
0092f359bd declare $_params as class var 2023-09-12 09:38:15 +02:00
Uwe Steinmann
681ce9090f add class var $conversionmgr 2023-09-11 09:26:40 +02:00
Uwe Steinmann
fc8bef612e use logger in task to check checksum 2023-09-11 09:26:05 +02:00
Uwe Steinmann
5bb70b82aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-07 15:51:36 +02:00
Uwe Steinmann
6c298030a5 add translation to js which will be needed for dropping a file on a document 2023-09-07 15:50:57 +02:00
Uwe Steinmann
9493d5e185 initial code to support dropping of files on a document 2023-09-07 15:50:33 +02:00
Uwe Steinmann
754a601e73 correct changes of 5.1.32 2023-09-06 20:49:00 +02:00
Uwe Steinmann
d61ed7f22e fix various drag&drop operations 2023-09-06 20:48:46 +02:00
Uwe Steinmann
2bb27b5b8e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-09-06 18:56:09 +02:00
Uwe Steinmann
f2a2e81e66 add changes for 5.1.32 2023-09-05 19:31:37 +02:00
Uwe Steinmann
dce2b753a8 more documentation 2023-09-05 19:30:56 +02:00
Uwe Steinmann
401cd7dd1c more documentation 2023-09-05 19:30:48 +02:00
Uwe Steinmann
a3c183c909 do not send mail to uploader if owner has received mail already 2023-09-05 19:30:18 +02:00
Uwe Steinmann
5fed617fc1 set name of attachment in params when deleting it 2023-09-05 19:29:47 +02:00
Uwe Steinmann
b3a288ec3d do not send mail to uploader if owner has received mail already 2023-09-05 19:28:53 +02:00
Uwe Steinmann
391c82af24 set __recvtype__ in params 2023-09-05 19:28:14 +02:00
Uwe Steinmann
4e6bc10273 fix drag&drop when adding new attachment 2023-09-05 19:27:15 +02:00
Uwe Steinmann
6c36dff064 log error when conversion fails 2023-09-01 12:10:27 +02:00
Uwe Steinmann
3c92ebd942 send notifications when adding and deleting access 2023-08-31 17:39:43 +02:00
Uwe Steinmann
23c73ed578 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-31 15:38:49 +02:00
Uwe Steinmann
a7d4b786a2 send notification when document access changes 2023-08-31 14:19:52 +02:00
Uwe Steinmann
b66f05142f distinguish between attribute value changed and new value 2023-08-31 08:19:07 +02:00
Uwe Steinmann
084cb44318 distinguish between attribute value changed and new value 2023-08-31 08:18:15 +02:00
Uwe Steinmann
e5390d0dbe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-30 19:39:28 +02:00
Uwe Steinmann
d6db2a8b28 fix minor formating issues in translations 2023-08-30 16:40:06 +02:00
Uwe Steinmann
464845205b pass showtree to view 2023-08-30 16:33:59 +02:00
Uwe Steinmann
a01b62a6d0 set folder_id in params for notification msg 2023-08-30 16:33:33 +02:00
Uwe Steinmann
7d575b2d11 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-30 15:54:00 +02:00
Uwe Steinmann
f7fc4c2923 lots of new phrases with notification messages 2023-08-30 15:53:35 +02:00
Uwe Steinmann
1271493d61 more changes for 5.1.32 2023-08-30 15:51:58 +02:00
Uwe Steinmann
5567b57853 fix checking upload error 2023-08-30 15:48:34 +02:00
Uwe Steinmann
b3b5d11642 fix typos in comments 2023-08-30 15:48:14 +02:00
Uwe Steinmann
6b888f4592 fix error when sending notification to group of reviewers 2023-08-30 15:47:42 +02:00
Uwe Steinmann
c16fa90241 split messages for folder and document 2023-08-30 15:47:15 +02:00
Uwe Steinmann
dfc5ea37d4 set document_id in params for notification message 2023-08-30 15:46:17 +02:00
Uwe Steinmann
4a1a3c6bfe fix typo in class var _dms 2023-08-28 12:09:33 +02:00
Uwe Steinmann
eb712f106f -trim_trailing_whitespaces must be -trim_trailing_whitespace 2023-08-25 21:06:09 +02:00
Uwe Steinmann
9f23cc37d7 -trim_trailing_whitespaces must be -trim_trailing_whitespace 2023-08-25 21:05:27 +02:00
Uwe Steinmann
c3094ce87f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-25 20:18:48 +02:00
Uwe Steinmann
c10d5ebb9b do not use a general dn for a user if ldap filter is set 2023-08-25 20:17:47 +02:00
Uwe Steinmann
83923eba59 fix some errors 2023-08-25 20:17:21 +02:00
Uwe Steinmann
d1a00f5c62 take over groups from ldap 2023-08-25 20:16:40 +02:00
Uwe Steinmann
ef42fcac07 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-25 12:43:56 +02:00
Uwe Steinmann
5390668066 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-08-25 12:43:43 +02:00
Uwe Steinmann
04c3d7cd3d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-08-25 12:43:30 +02:00
Uwe Steinmann
32bfeb0a4e various language updates 2023-08-25 12:43:18 +02:00
Uwe Steinmann
0c99740d25 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-25 12:37:36 +02:00
Uwe Steinmann
95372d6905 add option to disable setting a password 2023-08-25 12:34:09 +02:00
Uwe Steinmann
c51088a3b6 add more code documentation 2023-08-25 12:33:35 +02:00
Uwe Steinmann
8ac054cb72 add documentation for authenticate() 2023-08-25 12:33:08 +02:00
Uwe Steinmann
d602484f4b add new fields 2023-08-25 12:32:49 +02:00
Uwe Steinmann
1d74863f81 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-24 13:22:49 +02:00
Uwe Steinmann
13bb99f729 add comment of newly created user 2023-08-24 13:22:19 +02:00
Uwe Steinmann
c117b9a590 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-24 13:14:21 +02:00
Uwe Steinmann
87f3406bbf check if bindDN is not empty, more documentation 2023-08-24 13:13:11 +02:00
Uwe Steinmann
b8c59fd264 do not set role when adding new user because the default is just fine 2023-08-24 13:12:09 +02:00
Uwe Steinmann
23b8e48831 add definitions of class variables 2023-08-24 08:11:24 +02:00
Uwe Steinmann
b5768e8dd9 add class variabels $nonces and $footerjs 2023-08-23 11:32:24 +02:00
Uwe Steinmann
1265f6e469 declare _usersConnectors as class var 2023-08-22 14:44:11 +02:00
Uwe Steinmann
5bd8111f41 declare previewer as class var 2023-08-22 14:43:41 +02:00
Uwe Steinmann
66214aff2f declare proxyurl, proxyuser, proxypass as class vars 2023-08-22 14:43:15 +02:00
Uwe Steinmann
52b43ba8c6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-22 11:24:34 +02:00
Uwe Steinmann
f34bd41ec5 use php7.4 for phing 2023-08-22 11:24:14 +02:00
Uwe Steinmann
d2cc7d083e fix typo in var name, which cause a warning in php 8.2 2023-08-22 11:23:32 +02:00
Uwe Steinmann
0f46a7cd6a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-18 08:01:50 +02:00
Uwe Steinmann
0eeb8be393 change example for content of memberOf 2023-08-18 08:01:21 +02:00
Uwe Steinmann
5f00ebd852 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-18 08:00:12 +02:00
Uwe Steinmann
a283cc5ead check if DOCUMENT_ROOT is set propperly 2023-08-18 06:38:25 +02:00
Uwe Steinmann
5a0410f68e check for sync of groups from ldap 2023-08-17 13:51:02 +02:00
Uwe Steinmann
5de8c66d1f move code to update/add user into protected function 2023-08-16 18:45:20 +02:00
Uwe Steinmann
7b8f3ef0bb some reorganization of code 2023-08-16 17:40:14 +02:00
Uwe Steinmann
918af9b2e3 add head line in plain/text mail 2023-08-16 17:39:37 +02:00
Uwe Steinmann
bd9c9e8e3b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-08-15 08:07:26 +02:00
Uwe Steinmann
eae779832f better names for totp 2023-08-15 08:06:46 +02:00
Uwe Steinmann
54bdbfdc56 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-07-20 11:21:09 +02:00
Uwe Steinmann
a2ceed6f87 do not set httpbasedir if ext/xxx/out/out.xxx.php does not exist 2023-07-20 11:20:56 +02:00
Uwe Steinmann
d92acf86a9 status log can be turned on with advanced access control 2023-07-19 06:43:47 +02:00
Uwe Steinmann
7c0634f272 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-07-17 14:56:07 +02:00
Uwe Steinmann
b63dc11a29 check for view in current view and default bootstrap view 2023-07-17 14:55:54 +02:00
Uwe Steinmann
0e66c6457a pass document to mayReview and mayApprove 2023-06-19 20:57:52 +02:00
Uwe Steinmann
77474bdaee document must be readable to be reviewed or approved 2023-06-19 17:31:08 +02:00
Uwe Steinmann
039473d905 remove old code, sync with 6.0.x 2023-06-19 17:20:45 +02:00
Uwe Steinmann
64a7d341eb remove second sending of emails 2023-06-19 17:06:26 +02:00
Uwe Steinmann
0fd0293f35 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-06-19 16:51:15 +02:00
Uwe Steinmann
7fa51000d5 add changes for 5.1.32 2023-06-19 15:39:46 +02:00
Uwe Steinmann
e735972c70 move comment at right position 2023-06-19 08:55:57 +02:00
Uwe Steinmann
75d74cad69 more readable code 2023-06-18 13:59:58 +02:00
Uwe Steinmann
b7d029475d move most of the code in op/* into new controller 2023-06-18 13:59:23 +02:00
Uwe Steinmann
0be0f90881 move display of form into own function 2023-06-18 13:58:14 +02:00
Uwe Steinmann
42d7d7c096 add changes for 5.1.32 2023-06-13 15:28:40 +02:00
Uwe Steinmann
d868438af9 initial support to upload folders by drag and drop 2023-06-13 15:28:18 +02:00
Uwe Steinmann
26553cf69d show errors of none activated extensions 2023-06-13 07:14:30 +02:00
Uwe Steinmann
63cc8cca52 make some function parameters required as they are implicit required anyway 2023-06-02 18:43:39 +02:00
Uwe Steinmann
07ba52da63 make first 3 parameters of html_link() required, because 4th parameter is also required 2023-06-02 18:10:39 +02:00
Uwe Steinmann
18215ebf7f fix php warning 2023-05-28 11:08:46 +02:00
Uwe Steinmann
630b7b33d0 minor fixes 2023-05-24 09:49:39 +02:00
Uwe Steinmann
0328121063 make form as wide as login form 2023-05-22 16:21:31 +02:00
Uwe Steinmann
6ba69e0dca set width of login_wrapper to 460px 2023-05-22 16:21:13 +02:00
Uwe Steinmann
61712715e0 add changes of 5.1.32 2023-05-22 10:43:44 +02:00
Uwe Steinmann
1b45b1c1eb better logging 2023-05-22 10:43:10 +02:00
Uwe Steinmann
48c3505c73 update on how to use gmail 2023-05-22 10:42:12 +02:00
Uwe Steinmann
0affcd93e7 execWithTimeout() fails if cmd returns something in stderr 2023-05-15 08:11:14 +02:00
Uwe Steinmann
5a96788ccc number of days to look back on dashboard can be configured 2023-05-13 12:07:47 +02:00
Uwe Steinmann
24c918e698 run verifyLastestContentExpriry() on document 2023-05-12 10:12:47 +02:00
Uwe Steinmann
3df06b4471 showActions() sets title of items if given 2023-05-12 09:09:01 +02:00
Uwe Steinmann
5bd93d4efe use httpRoot to create absolute links instead of relative links 2023-05-11 17:33:09 +02:00
Uwe Steinmann
403d391d72 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-11 17:30:29 +02:00
Uwe Steinmann
9fdb5c5e15 use httpRoot to create absolute links instead of using relative links 2023-05-11 17:29:58 +02:00
Uwe Steinmann
076e5bc5c2 fix layout of input field for 2nd factore, not need to include 2-factor lib 2023-05-11 17:26:55 +02:00
Uwe Steinmann
2ccbe2b9c7 use httpRoot for absolute links instead of relative links 2023-05-11 17:26:15 +02:00
Uwe Steinmann
24c6cbb5f7 add changes for 5.1.32 2023-05-11 16:59:59 +02:00
Uwe Steinmann
7a56c45db4 better checking of error msg after upload new document 2023-05-11 16:59:18 +02:00
Uwe Steinmann
7fc1a88e95 better eval of error msg after updating or adding a document 2023-05-11 16:58:08 +02:00
Uwe Steinmann
b42be5971a check if $document->getTimeline() returns data 2023-05-11 16:57:24 +02:00
Uwe Steinmann
d9f25b5a3a get error msg from controller just like AddDocument 2023-05-09 11:46:19 +02:00
Uwe Steinmann
eebe9d48d3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-09 08:48:00 +02:00
Uwe Steinmann
f3e4182c57 makes no sense to set cachedir 2023-05-09 08:47:40 +02:00
Uwe Steinmann
c865927fe4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-09 08:46:18 +02:00
Uwe Steinmann
1c5139a00a set cache dir 2023-05-09 08:46:00 +02:00
Uwe Steinmann
d4add8b343 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-08 18:00:20 +02:00
Uwe Steinmann
0c06df2d78 call hook postLoginForm 2023-05-08 17:59:54 +02:00
Uwe Steinmann
bad3799d62 make _finalize because it might be called from extensions 2023-05-08 17:59:31 +02:00
Uwe Steinmann
23568c0a6a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-06 07:19:29 +02:00
Uwe Steinmann
cf75d8a7cc move much of code after success full auth in __finalize() 2023-05-06 07:18:51 +02:00
Uwe Steinmann
40f86da41d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-05 06:43:48 +02:00
Uwe Steinmann
24595a234d Merge branch 'master' of ssh://git.code.sf.net/p/seeddms/code 2023-05-04 14:29:51 +02:00
Uwe Steinmann
e5c81e6e83 start new version 5.1.32 2023-05-04 14:25:04 +02:00
Uwe Steinmann
199fd57151 Merge branch 'seeddms-6.0.x' 2023-05-04 14:24:04 +02:00
Uwe Steinmann
1103324e89 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-04 14:17:27 +02:00
Uwe Steinmann
fbdbc4e174 complete fulltext search with filter for modification date 2023-05-04 08:56:50 +02:00
Uwe Steinmann
bb2ccf05a0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-03 18:30:03 +02:00
Uwe Steinmann
a4a6671867 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-05-03 18:26:34 +02:00
Uwe Steinmann
8e06c66c57 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-05-03 18:26:19 +02:00
Uwe Steinmann
f82191f20b add missing phrases 2023-05-03 18:25:59 +02:00
Uwe Steinmann
626a325df7 add database search by modification date 2023-05-03 18:24:09 +02:00
Uwe Steinmann
c8d6eafc71 allow sorting of fulltext search 2023-05-03 17:38:01 +02:00
Uwe Steinmann
244066d34d default public status of attachments can be configured 2023-05-03 16:24:33 +02:00
Uwe Steinmann
14afb5f1b7 add more changes for 5.1.31 2023-05-03 16:23:37 +02:00
Uwe Steinmann
97a3da352f propperly handle modification date 2023-05-03 16:23:11 +02:00
Uwe Steinmann
3739f9e658 pass modification date to search() functions 2023-05-03 16:21:57 +02:00
Uwe Steinmann
b6dce79936 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-05-02 17:10:33 +02:00
Uwe Steinmann
b3e50278b1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-05-02 17:10:21 +02:00
Uwe Steinmann
0ce08474dd Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-05-02 17:10:04 +02:00
Uwe Steinmann
6ba018eabb add missing phrases 2023-05-02 17:09:48 +02:00
Uwe Steinmann
ed695a6e49 add Dashboard to menu 2023-05-02 17:08:52 +02:00
Uwe Steinmann
8b7eae47d3 check if attributes in url are set 2023-05-02 15:57:13 +02:00
Uwe Steinmann
424d279c7f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-30 07:24:34 +02:00
Uwe Steinmann
d48ece4a43 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-04-30 07:17:30 +02:00
Uwe Steinmann
a69380ebbb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-04-30 07:17:15 +02:00
Uwe Steinmann
362839365b add some new translations 2023-04-30 07:17:04 +02:00
Uwe Steinmann
4b4b7c1330 allow to search for unset dates 2023-04-29 15:10:28 +02:00
Uwe Steinmann
8c4564bf23 use translated strings 2023-04-29 15:10:05 +02:00
Uwe Steinmann
f1763c3930 add hidden input field for 'not set' attribute value 2023-04-29 15:09:20 +02:00
Uwe Steinmann
6178252e56 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-28 18:43:27 +02:00
Uwe Steinmann
921eab9e54 add more hooks for reindexing documents/folders 2023-04-28 18:39:53 +02:00
Uwe Steinmann
3dfcb8d581 do not reindex document imediately 2023-04-28 18:39:20 +02:00
Uwe Steinmann
adfa9c442f fix setting comment in notificatoin mail 2023-04-28 18:38:48 +02:00
Uwe Steinmann
1e699147ff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-28 17:13:50 +02:00
Uwe Steinmann
b6e6b66125 search for objects with an attribute not set 2023-04-28 17:13:16 +02:00
Uwe Steinmann
fa19503ab2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-28 12:15:37 +02:00
Uwe Steinmann
693a68261b remove min-height of search form 2023-04-28 12:11:09 +02:00
Uwe Steinmann
7610eacf1f call hook checkConfig() which outputs messages in the right column 2023-04-28 11:23:01 +02:00
Uwe Steinmann
96423e1388 fix output of markdown, because accessing settings was wrong 2023-04-28 11:22:14 +02:00
Uwe Steinmann
78515e93b4 pass new parameter to getDateChooser() 2023-04-28 11:21:59 +02:00
Uwe Steinmann
9c82ba9e3a placeholder can be passed to date chooser 2023-04-28 11:20:24 +02:00
Uwe Steinmann
febccfc604 switching between search tabs will no longer loose values 2023-04-26 17:35:59 +02:00
Uwe Steinmann
96a0091002 allow to set creation date in full search with facets 2023-04-26 08:42:50 +02:00
Uwe Steinmann
3f699ebe62 no border radius for date selector and select2 2023-04-26 08:41:39 +02:00
Uwe Steinmann
6e1ce682f2 do not show new search tab for lucene based search 2023-04-26 06:44:59 +02:00
Uwe Steinmann
03aa307fa3 add changes of 5.1.31 2023-04-26 06:21:01 +02:00
Uwe Steinmann
497d1e1ca3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-25 17:11:27 +02:00
Uwe Steinmann
1a8a614359 show preview of document next to form for attributes 2023-04-25 17:10:58 +02:00
Uwe Steinmann
775a785525 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-25 14:18:59 +02:00
Uwe Steinmann
e5b60df503 output date chooser without surrounding group 2023-04-25 13:24:16 +02:00
Uwe Steinmann
cef0c78ea3 add parameter $nogroup to getDateChooser() 2023-04-25 13:23:43 +02:00
Uwe Steinmann
f97124d694 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-25 13:05:15 +02:00
Uwe Steinmann
19144f3c73 better handling of date attributes 2023-04-25 12:29:40 +02:00
Uwe Steinmann
e3ce931cbd turn attributes of type date into timestamps before searching 2023-04-25 12:28:05 +02:00
Uwe Steinmann
d69921c709 echo error message in debug mode 2023-04-25 12:27:27 +02:00
Uwe Steinmann
d7eeacdc74 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-24 17:07:17 +02:00
Uwe Steinmann
798a52ed37 make set button for ranges 'primary' 2023-04-24 16:58:48 +02:00
Uwe Steinmann
b7c9ecf162 fix nesting of containers 2023-04-24 16:58:30 +02:00
Uwe Steinmann
f42d4d38b1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-24 07:31:56 +02:00
Uwe Steinmann
a9f88c7191 add search for integer ranges 2023-04-24 07:31:20 +02:00
Uwe Steinmann
fab8276b0d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-23 19:15:48 +02:00
Uwe Steinmann
2e6fe1b868 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-04-23 19:15:35 +02:00
Uwe Steinmann
841d3709c1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-04-23 19:15:24 +02:00
Uwe Steinmann
ce7cf33514 update translation 2023-04-23 19:15:09 +02:00
Uwe Steinmann
94ab8e9a21 use translated string 2023-04-23 19:14:15 +02:00
Uwe Steinmann
337c0ed41f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-23 19:11:08 +02:00
Uwe Steinmann
ebf4f5a829 showNavigationListWithBadges() skips badge if not set, fix creating link 2023-04-23 19:06:54 +02:00
Uwe Steinmann
7172aad62b add new search tag with facetted full text search 2023-04-23 19:03:51 +02:00
Uwe Steinmann
36a51e9606 check if 'facetsearch' is set 2023-04-23 19:02:57 +02:00
Uwe Steinmann
c9b31d8de9 only last token of query will be used for getting terms 2023-04-23 19:02:42 +02:00
Uwe Steinmann
0475bd57cb passed owners can be a list of strings 2023-04-23 19:01:43 +02:00
Uwe Steinmann
923e235b9a pass categories can be a list of strings 2023-04-23 19:01:08 +02:00
Uwe Steinmann
efa587493e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-22 19:42:21 +02:00
Uwe Steinmann
28174e3a33 run comment through htmlspecialchars() if markdown parsing is enabled 2023-04-22 19:41:41 +02:00
Uwe Steinmann
511492fb5c do not suggest terms if query is empty 2023-04-22 19:41:15 +02:00
Uwe Steinmann
d3ddc38c7f take out 'category' from suggestTerms 2023-04-22 19:40:41 +02:00
Uwe Steinmann
5112b1614c set more options for suggestTerms 2023-04-21 19:06:24 +02:00
Uwe Steinmann
5f0484c4cb set convertToPdf for view 2023-04-21 19:05:54 +02:00
Uwe Steinmann
fde112e2d9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-21 18:01:53 +02:00
Uwe Steinmann
8ae0bc09c4 search for creation date in fulltext 2023-04-21 17:55:56 +02:00
Uwe Steinmann
a1520299a2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-21 16:53:20 +02:00
Uwe Steinmann
3cfcfaa558 typeahead will also show the column where the search terms comes from 2023-04-21 16:52:07 +02:00
Uwe Steinmann
89e930ba00 add search terms to typeahead if configured 2023-04-21 13:03:08 +02:00
Uwe Steinmann
66ecc57780 add new config var suggestTerms 2023-04-21 13:02:42 +02:00
Uwe Steinmann
3d4a63f335 indent typeahead() 2023-04-21 13:00:31 +02:00
Uwe Steinmann
d778006170 use conversion mgr in show() 2023-04-21 13:00:05 +02:00
Uwe Steinmann
de53c5159c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-20 13:30:03 +02:00
Uwe Steinmann
ec55cc3f28 do not add '*' to typeahead query anymore 2023-04-20 13:28:57 +02:00
Uwe Steinmann
ff64e76213 add access checks for all tabs 2023-04-20 13:28:03 +02:00
Uwe Steinmann
c4c36735b6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-19 15:05:41 +02:00
Uwe Steinmann
69cff4e9b4 fix handling of floats in getAttributeEditField 2023-04-19 15:05:29 +02:00
Uwe Steinmann
80ecac5710 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-19 14:00:41 +02:00
Uwe Steinmann
874aecb4bb search form shows 'from' and 'to' field for integers and floats 2023-04-19 13:59:01 +02:00
Uwe Steinmann
5ca2bf9fe0 check for openssl and openssl_cipher_iv_length 2023-04-19 06:41:52 +02:00
Uwe Steinmann
eb2296f814 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-18 20:13:45 +02:00
Uwe Steinmann
ff78380f4b add changes for 5.1.31 2023-04-18 20:09:45 +02:00
Uwe Steinmann
a43a09a0e2 use openssl to encrypt and decrypt data with key 2023-04-18 20:09:03 +02:00
Uwe Steinmann
63ee505c0f use openssl to create encryption key 2023-04-18 20:08:44 +02:00
Uwe Steinmann
2d9297c668 handle unknown objtype in getAttributeObjectTypeText() 2023-04-18 12:50:53 +02:00
Uwe Steinmann
7fcb8da860 do not include inc/inc.ClassNotificationService.php and inc.ClassEmailNotify.php 2023-04-18 12:48:20 +02:00
Uwe Steinmann
9bde72fe20 add change for 5.1.31 2023-04-18 10:00:29 +02:00
Uwe Steinmann
300bcb2514 remove change which was done in 5.1.31 2023-04-18 10:00:00 +02:00
Uwe Steinmann
e6312db48f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-18 09:59:42 +02:00
Uwe Steinmann
4ffb8da5b2 no php error anymore 2023-04-18 09:59:18 +02:00
Uwe Steinmann
ca706753bc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-18 09:41:54 +02:00
Uwe Steinmann
048c56f3a3 add changes of 6.0.24 2023-04-18 09:41:38 +02:00
Uwe Steinmann
55c7a32a05 fix some old php spreadsheet consts 2023-04-18 09:40:50 +02:00
Uwe Steinmann
ec7b24c044 fix setting html language 2023-04-17 22:10:18 +02:00
Uwe Steinmann
e14bfd9326 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-15 13:24:38 +02:00
Uwe Steinmann
5a7f8655d8 check if adding to document to index succeeded 2023-04-15 13:24:12 +02:00
Uwe Steinmann
337f9f2ce4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-14 12:48:24 +02:00
Uwe Steinmann
140b6de1a6 turn cache in SeedDMS_Core_DMS on 2023-04-14 12:47:57 +02:00
Uwe Steinmann
6e489dc80a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-13 15:05:11 +02:00
Uwe Steinmann
53d7ab063d fix preview for files in dropfolder 2023-04-13 12:56:59 +02:00
Uwe Steinmann
eb51882726 add converters for image/svg+xml 2023-04-13 10:01:18 +02:00
Uwe Steinmann
32c93f5494 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-13 09:16:37 +02:00
Uwe Steinmann
a067cc9949 add method getFromWithTo() 2023-04-13 09:05:03 +02:00
Uwe Steinmann
3fce0d58b6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-12 16:35:04 +02:00
Uwe Steinmann
762ccbb373 fix wrong variable name 2023-04-12 16:34:01 +02:00
Uwe Steinmann
e51e7cd758 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-11 19:27:07 +02:00
Uwe Steinmann
62d5328b48 use version 2.1.14 of composer 2023-04-11 19:26:54 +02:00
Uwe Steinmann
835b330331 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-11 12:38:03 +02:00
Uwe Steinmann
1bc2ff764e add missing shell script 2023-04-11 12:37:27 +02:00
Uwe Steinmann
a25de1eea5 fix some old entries 2023-04-11 12:35:30 +02:00
Uwe Steinmann
752653a2b3 add link to document in recent changes and expired documents 2023-04-06 18:54:08 +02:00
Uwe Steinmann
e3cc28916d change description of parameter 'lists' 2023-04-06 14:36:22 +02:00
Uwe Steinmann
6211ab6b32 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-06 14:35:13 +02:00
Uwe Steinmann
79b7315c85 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-04-06 14:35:00 +02:00
Uwe Steinmann
86520b35b8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-04-06 14:34:49 +02:00
Uwe Steinmann
ad1d723650 new translations 2023-04-06 14:34:27 +02:00
Uwe Steinmann
00f7a0ee35 some code cleanups 2023-04-06 14:30:46 +02:00
Uwe Steinmann
f63f7847f0 lists of recent changes can be configured 2023-04-06 14:30:20 +02:00
Uwe Steinmann
3bef98756a fix call of SeedDMS_AccessOperation() 2023-04-06 12:21:24 +02:00
Uwe Steinmann
626e521bc7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-06 12:20:02 +02:00
Uwe Steinmann
f21dfb009e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-04-06 12:19:22 +02:00
Uwe Steinmann
29da8d575c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-04-06 12:19:06 +02:00
Uwe Steinmann
71701d324f new translations 2023-04-06 12:18:55 +02:00
Uwe Steinmann
e8fcf01ad4 parameter to getLatestChanges() has changed 2023-04-06 12:18:10 +02:00
Uwe Steinmann
e88321c577 add changes for 6.0.24 2023-04-06 12:14:13 +02:00
Uwe Steinmann
c44aaae446 show parameters of task if they are an array 2023-04-06 12:13:47 +02:00
Uwe Steinmann
b71467b8c8 add task to send list of recent changes by email 2023-04-06 12:13:36 +02:00
Uwe Steinmann
d612220ad5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-06 08:02:49 +02:00
Uwe Steinmann
7c836e0d41 add Dashboard 2023-04-06 08:02:21 +02:00
Uwe Steinmann
2b2d9ef7de Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-05 14:55:40 +02:00
Uwe Steinmann
a557e98927 show access rights only if unlimited access 2023-04-05 14:55:28 +02:00
Uwe Steinmann
f4097c6831 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-05 13:47:14 +02:00
Uwe Steinmann
15cfd20ed2 do not set sitename to 'SeedDMS' by default anymore 2023-04-05 13:46:40 +02:00
Uwe Steinmann
9092eeb0a3 comment of document, documentcontent and folder can be rendered as markdown 2023-04-04 17:46:08 +02:00
Uwe Steinmann
1f92a47c30 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-04 12:33:03 +02:00
Uwe Steinmann
d4fbae1a4c new version 5.1.31 2023-04-04 12:31:52 +02:00
Uwe Steinmann
99fe2244fb return message and not just status 2023-04-04 12:31:20 +02:00
Uwe Steinmann
ac3c62355f start new version 5.1.31 2023-04-04 12:31:09 +02:00
Uwe Steinmann
10a3aaf212 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-03 16:29:07 +02:00
Uwe Steinmann
33249dea35 set platform to php 7.4 2023-04-03 16:28:39 +02:00
Uwe Steinmann
c83bcf9877 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-03 15:51:05 +02:00
Uwe Steinmann
d0c5905c0e check for access rights of documents 2023-04-03 15:50:40 +02:00
Uwe Steinmann
8776173ec9 set propper html language 2023-04-03 12:26:04 +02:00
Uwe Steinmann
c04eb28ac1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-04-03 12:13:58 +02:00
Uwe Steinmann
277c968bb0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-04-03 12:04:19 +02:00
Uwe Steinmann
af062ad745 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-04-03 12:04:06 +02:00
Uwe Steinmann
8b087325a3 add phrases for directory check 2023-04-03 12:03:55 +02:00
Uwe Steinmann
3a8b897d61 more consice layout, add test for directories on disc 2023-04-03 12:02:21 +02:00
Uwe Steinmann
173ecb00b3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-31 12:01:56 +02:00
Uwe Steinmann
7790f483f0 no need to create notification service a second time 2023-03-31 12:00:56 +02:00
Uwe Steinmann
3fb9d140fa fix translations for recipients 2023-03-30 12:33:46 +02:00
Uwe Steinmann
cb808e0e66 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-30 12:28:54 +02:00
Uwe Steinmann
23a94f8ac8 put reviewer and approver into own content container 2023-03-30 12:26:35 +02:00
Uwe Steinmann
8609fdee74 do not show warning that document is released if initial status is draft 2023-03-30 12:02:31 +02:00
Uwe Steinmann
dc642fa898 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-29 20:59:06 +02:00
Uwe Steinmann
476c726a45 improve password expiration 2023-03-29 20:57:48 +02:00
Uwe Steinmann
7fb0acb562 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-29 20:50:19 +02:00
Uwe Steinmann
382e78855d do not force password change if in substitute user mode 2023-03-29 20:48:07 +02:00
Uwe Steinmann
0280a8adc0 show current password expiration 2023-03-29 20:38:48 +02:00
Uwe Steinmann
7c292986f5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-29 09:04:29 +02:00
Uwe Steinmann
a13e1121e3 no need to include vendor/autoload.php. It's done in inc.Settings.php 2023-03-29 09:03:58 +02:00
Uwe Steinmann
b25776eaad complete changes of 6.0.23 2023-03-27 14:30:56 +02:00
Uwe Steinmann
d8e38c2825 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-24 16:33:45 +01:00
Uwe Steinmann
ed27dbcf4b add open office formats to get_extension 2023-03-24 16:33:17 +01:00
Uwe Steinmann
668ee243b2 actually send mail 2023-03-24 15:37:29 +01:00
Uwe Steinmann
9616a540c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-24 11:19:34 +01:00
Uwe Steinmann
5e591f3a75 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-03-24 11:19:20 +01:00
Uwe Steinmann
553882fd50 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-03-24 11:19:09 +01:00
Uwe Steinmann
8628e5b02c add new phrases 2023-03-24 11:18:59 +01:00
Uwe Steinmann
f4ee945ab1 add new task for sending statistics 2023-03-24 11:17:32 +01:00
Uwe Steinmann
057abec09c fix sending calendar events 2023-03-24 11:17:16 +01:00
Uwe Steinmann
8218b752f5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-21 11:25:28 +01:00
Uwe Steinmann
882b87c885 check if logger is set before using it 2023-03-21 11:25:08 +01:00
Uwe Steinmann
b7b9acbe7e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-19 09:17:54 +01:00
Uwe Steinmann
197a6e8824 set various callbacks to reindex document when it has changed 2023-03-19 09:17:08 +01:00
Uwe Steinmann
ae0c641865 add note for pdftotext 2023-03-19 09:16:49 +01:00
Uwe Steinmann
db5b242cbc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-15 11:13:46 +01:00
Uwe Steinmann
782e4c2044 include Log.php early and use require_once 2023-03-15 11:13:14 +01:00
Uwe Steinmann
c383ca0625 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-15 11:09:18 +01:00
Uwe Steinmann
1bad1d2aa5 use require_once instead of include("Log.php") 2023-03-15 11:08:51 +01:00
Uwe Steinmann
f1211f6c80 init options to empty array for list of users 2023-03-14 12:09:45 +01:00
Uwe Steinmann
33fe05fc6e fix unique id of folder chooser 2023-03-14 12:09:33 +01:00
Uwe Steinmann
1c5977fca5 add missing config types when showing the empty form 2023-03-14 12:09:01 +01:00
Uwe Steinmann
5ae461a157 add changes for 6.0.23 2023-03-13 13:01:54 +01:00
Uwe Steinmann
836a2b50a1 confirm checkbox is required 2023-03-13 13:00:39 +01:00
Uwe Steinmann
2b900b5e06 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-13 10:26:51 +01:00
Uwe Steinmann
c099903f12 fix html error in menu item if attributes are passed 2023-03-13 10:26:22 +01:00
Uwe Steinmann
ab72673379 do not show menu item if document may not be checked in 2023-03-13 10:24:53 +01:00
Uwe Steinmann
a7579f47ae show message if document may not be checked in 2023-03-13 10:23:36 +01:00
Uwe Steinmann
67d6191024 echo splash msg 2023-03-13 10:22:54 +01:00
Uwe Steinmann
00fe788571 check if document may be checked in 2023-03-13 10:22:30 +01:00
Uwe Steinmann
7ae5749bcf add new method mayCheckIn() 2023-03-13 10:18:14 +01:00
Uwe Steinmann
fe0fd30971 add fold marks 2023-03-12 09:18:30 +01:00
Uwe Steinmann
d127b137ba create missing preview files 2023-03-11 22:49:41 +01:00
Uwe Steinmann
658351a4d3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-11 21:14:55 +01:00
Uwe Steinmann
37f64d0a3e add menu item for adding folder/document to clipboard 2023-03-11 20:54:42 +01:00
Uwe Steinmann
20686bccbd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-11 18:59:32 +01:00
Uwe Steinmann
da992a7bdd create 8-bit png instead of 16-bit 2023-03-11 18:59:02 +01:00
Uwe Steinmann
63adb75fbc fix regression when setting review by individual 2023-03-11 18:57:17 +01:00
Uwe Steinmann
3f6719e7aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-10 17:59:54 +01:00
Uwe Steinmann
2e818d5426 add changes for 5.1.30 2023-03-10 17:59:32 +01:00
Uwe Steinmann
2c5f661108 support README of extension in different languages 2023-03-10 17:58:27 +01:00
Uwe Steinmann
5d2ace6a14 take over attribute validation from op.UpdateDocument.php 2023-03-09 08:10:12 +01:00
Uwe Steinmann
742929002b show number of occurances in subtitle of options 2023-03-06 10:03:28 +01:00
Uwe Steinmann
0e712c1554 empty password in csv file will not override an existing password 2023-03-04 10:09:05 +01:00
Uwe Steinmann
359cdedfdb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-04 09:05:08 +01:00
Uwe Steinmann
9e36d82873 initial support for attributes in full text search 2023-03-04 09:04:58 +01:00
Uwe Steinmann
102a5603c0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-03 16:14:31 +01:00
Uwe Steinmann
39026ef4a8 new algo for contrast color based on lightness 2023-03-03 16:14:01 +01:00
Uwe Steinmann
97778d3e2b use two column layout (left for check in, right for cancel checkout) 2023-03-02 09:55:08 +01:00
Uwe Steinmann
8bfe9e92db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-03-01 12:18:11 +01:00
Uwe Steinmann
198dc8c730 use propper language names 2023-03-01 12:16:41 +01:00
Uwe Steinmann
61b7620ab0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-28 14:21:46 +01:00
Uwe Steinmann
05b95bd0ed note about required ffmpeg 2023-02-28 13:10:16 +01:00
Uwe Steinmann
3d170ad18c add converter to png for videos 2023-02-28 13:09:33 +01:00
Uwe Steinmann
258914e884 override action to 'show' when showing error msg 2023-02-28 12:54:56 +01:00
Uwe Steinmann
13a0646698 formField() evals allow_empty 2023-02-28 11:31:31 +01:00
Uwe Steinmann
737e69876d fix nasty php error 2023-02-28 10:44:25 +01:00
Uwe Steinmann
245092bb10 fix get smtp parameters 2023-02-27 19:36:14 +01:00
Uwe Steinmann
df6a2e79bc adjust call of getDocumentChooserHtml() for 6.0.x 2023-02-24 14:20:33 +01:00
Uwe Steinmann
bc4362c196 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-24 13:27:09 +01:00
Uwe Steinmann
4bfdc9cbf5 add selection of document in extension configuration 2023-02-24 13:26:40 +01:00
Uwe Steinmann
e88aa870db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-23 08:24:49 +01:00
Uwe Steinmann
b496f02c2c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-02-23 08:24:34 +01:00
Uwe Steinmann
394e7c8d5e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-02-23 08:24:20 +01:00
Uwe Steinmann
04210265c0 add translations for conversion services 2023-02-23 08:24:11 +01:00
Uwe Steinmann
4c3218bc0f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-23 07:18:42 +01:00
Uwe Steinmann
e2d94d2e56 depth is now one less then before 2023-02-23 07:18:14 +01:00
Uwe Steinmann
d8f79b846e pass correct depth in callback of SeedDMS_FolderTree 2023-02-23 07:17:17 +01:00
Uwe Steinmann
b5be1c8490 add changes for 5.1.30 2023-02-22 10:33:31 +01:00
Uwe Steinmann
352446e9d8 create missing preview images in category or attribute manager 2023-02-22 10:33:06 +01:00
Uwe Steinmann
cb1cb46cfe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-22 10:11:37 +01:00
Uwe Steinmann
6301e9228e add changes for 5.1.30 2023-02-22 10:02:31 +01:00
Uwe Steinmann
ac3580aa1c color category batch 2023-02-22 10:01:06 +01:00
Uwe Steinmann
05c0f296fc place button with color of category in front of title in select menu 2023-02-22 10:00:31 +01:00
Uwe Steinmann
9e6e13a041 add method getContrastColor() 2023-02-22 09:59:45 +01:00
Uwe Steinmann
1463f00faf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-22 09:18:04 +01:00
Uwe Steinmann
e21e301ea3 use chosen select for custom attributes 2023-02-22 08:30:34 +01:00
Uwe Steinmann
0ffc8c78f7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-21 14:21:13 +01:00
Uwe Steinmann
a7b00ae22a add new key 'attrcallback' to configuration of fulltext engine 2023-02-20 16:07:22 +01:00
Uwe Steinmann
44d043ef21 add fold marks 2023-02-20 16:06:43 +01:00
Uwe Steinmann
2ffe130666 set theme to bootstrap4, fulltext engine to sqlitefts, turn on theme selector 2023-02-20 16:05:55 +01:00
Uwe Steinmann
535de29e7d check return value of postInitDMS 2023-02-18 15:49:55 +01:00
Uwe Steinmann
dc868bd83b getBaseUrl() checks for HTTP_X_FORWARDED_HOST and HTTP_X_FORWARDED_PROTO 2023-02-18 15:49:04 +01:00
Uwe Steinmann
4e08744631 addDirSep() can check for arbitrary chars at end of string 2023-02-17 16:10:59 +01:00
Uwe Steinmann
bea6ab35a8 add changes in 5.1.30 2023-02-17 12:42:05 +01:00
Uwe Steinmann
3e5497a7fd add more error checking when including extensions.php 2023-02-17 06:57:42 +01:00
Uwe Steinmann
513343c89a add changes for 6.0.23 2023-02-16 17:29:29 +01:00
Uwe Steinmann
0b7d3cad2d add changes for 6.0.23 2023-02-16 17:28:37 +01:00
Uwe Steinmann
9c8c9616d5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-16 11:36:18 +01:00
Uwe Steinmann
bcd0977803 fix inclusion of php files 2023-02-16 11:36:07 +01:00
Uwe Steinmann
7c973d9f37 fix inclusion of php files 2023-02-16 11:35:19 +01:00
Uwe Steinmann
8cb7e22bf9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-15 08:27:51 +01:00
Uwe Steinmann
d45f050e46 conversion from pdf to png replaces alpha channel with white 2023-02-15 08:27:37 +01:00
Uwe Steinmann
d86b2cc883 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-12 14:36:17 +01:00
Uwe Steinmann
73562364b0 add debug menu in admin tools 2023-02-12 14:34:31 +01:00
Uwe Steinmann
d07219a213 add list of conversion and notification services 2023-02-12 14:33:51 +01:00
Uwe Steinmann
6c6b754e52 remove duplicate class 'alert-warning' in drag&drop box for attachments 2023-02-10 10:17:16 +01:00
Uwe Steinmann
6fd8d3e7f5 log error when execution of command fails 2023-02-09 07:16:50 +01:00
Uwe Steinmann
45e1d47e8f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x, start version 6.0.23 2023-02-09 06:51:31 +01:00
Uwe Steinmann
27b19f5c3a start version 5.1.30 2023-02-09 06:50:15 +01:00
Uwe Steinmann
9dfc6e8b1e Merge branch 'seeddms-6.0.x' 2023-02-07 13:16:15 +01:00
Uwe Steinmann
1934cdd7c5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-07 13:08:23 +01:00
Uwe Steinmann
69cd042851 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-02-07 12:40:54 +01:00
Uwe Steinmann
a52fcea5d9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-02-07 12:40:41 +01:00
Uwe Steinmann
ff4ebb0c38 various minor translation updates 2023-02-07 12:40:24 +01:00
Uwe Steinmann
477c79d5a4 add warning that preview images are recreated 2023-02-07 12:37:16 +01:00
Uwe Steinmann
22463fdb40 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-02-05 17:06:31 +01:00
Uwe Steinmann
ef9e685f55 set libfolder to null if not accessible, but do no issue a error 2023-02-04 15:14:38 +01:00
Uwe Steinmann
81ff5aef93 fix indenting of line 2023-02-02 19:15:54 +01:00
Uwe Steinmann
458252f531 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-26 21:06:16 +01:00
Uwe Steinmann
2ab8cd5215 init $t and $ot 2023-01-26 21:05:53 +01:00
Uwe Steinmann
11030fad52 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-26 20:59:38 +01:00
Uwe Steinmann
23bd194007 use getAttributeTypeText() and getAttributeObjectTypeText() 2023-01-26 20:58:47 +01:00
Uwe Steinmann
12a9762c96 use getAttributeTypeText() and getAttributeObjectTypeText() 2023-01-26 20:57:59 +01:00
Uwe Steinmann
d30ba981be add functions to return type of object type of attribute definitions 2023-01-26 20:55:42 +01:00
Uwe Steinmann
bdcaf2b5f3 minor correction of log messages 2023-01-26 18:42:28 +01:00
Uwe Steinmann
23f17e291e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-26 13:31:08 +01:00
Uwe Steinmann
b495fd248b add baseUrl for those cases where seeddms cannot determine the host and protocol itself 2023-01-26 13:29:46 +01:00
Uwe Steinmann
970622564c SeedDMSTask.add() returns taskid, task will be passed to function of task 2023-01-26 13:19:28 +01:00
Uwe Steinmann
e87d7546a3 handle proxy settings and _baseUrl in settings in getBaseUrl() 2023-01-26 13:18:40 +01:00
Uwe Steinmann
42a81b6b0e eval parameter 'multiple' 2023-01-26 13:17:34 +01:00
Uwe Steinmann
1ab07d53f7 better and more verbose logging 2023-01-26 13:16:47 +01:00
Uwe Steinmann
845317e27d better documentation 2023-01-26 13:16:18 +01:00
Uwe Steinmann
0788c29c4a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-25 17:32:33 +01:00
Uwe Steinmann
1aca53f63a div.ajax update shows message when set in data-update-msg 2023-01-25 12:00:47 +01:00
Uwe Steinmann
57bbc06577 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-25 10:12:23 +01:00
Uwe Steinmann
345d34fbc8 add changes for 5.1.29 2023-01-25 10:11:44 +01:00
Uwe Steinmann
d6cca9291c clean up code, support drag&drop for items in clipboard 2023-01-25 09:53:08 +01:00
Uwe Steinmann
e0b1052640 add class 'add-clipboard-area' to clipboard menu item to make it drop aware 2023-01-25 09:52:23 +01:00
Uwe Steinmann
95cf35c1e3 do not copy pear packages anymore 2023-01-24 16:36:12 +01:00
Uwe Steinmann
335c7bbf98 do not include SeedDMS/Preview.php anymore because it is included in inc.FulltextInit.php already 2023-01-22 19:16:38 +01:00
Uwe Steinmann
c56a92b395 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-22 19:15:32 +01:00
Uwe Steinmann
5c985f32b1 do not include SeedDMS/Preview.php anymore because it is included in inc.FulltextInit.php already 2023-01-22 19:15:11 +01:00
Uwe Steinmann
77ce7554a8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-21 13:58:14 +01:00
Uwe Steinmann
29cae0fb65 keep SeedDMS/Preview until all extensions are updated 2023-01-21 13:55:27 +01:00
Uwe Steinmann
22802c4abd remove phpexcel, raise some max version numbers 2023-01-21 13:47:28 +01:00
Uwe Steinmann
e34830a53e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-21 13:33:54 +01:00
Uwe Steinmann
f2fb5827f3 do not include pear packages anymore 2023-01-21 13:31:44 +01:00
Uwe Steinmann
2913a9bc97 include webdav server from vendor dir 2023-01-21 13:31:25 +01:00
Uwe Steinmann
cca8416ef6 use composer packages for lucene, preview, sqlitefs, webdav server 2023-01-21 13:08:33 +01:00
Uwe Steinmann
2a265ecea6 minor improvements in cmd to create changelog 2023-01-21 09:16:50 +01:00
Uwe Steinmann
fc61b3d759 include SQLiteFTS.php from vendor/seeddms/sqlitefts 2023-01-21 09:15:46 +01:00
Uwe Steinmann
97feb24466 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-21 09:10:29 +01:00
Uwe Steinmann
9b780bd883 include Lucene.php from vendor dir 2023-01-21 09:09:57 +01:00
Uwe Steinmann
78f80e7190 add new repositories for lucene, sqlitefts, preview, core 2023-01-21 09:09:20 +01:00
Uwe Steinmann
0c30b97f2d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 17:33:01 +01:00
Uwe Steinmann
875954e730 add composer.json 2023-01-20 17:31:22 +01:00
Uwe Steinmann
a7fd69a6b9 add new changelog files 2023-01-20 17:12:34 +01:00
Uwe Steinmann
284d0707cc fix formating of notes in preparation of creating CHANGELOG.md 2023-01-20 17:11:17 +01:00
Uwe Steinmann
3426fa1032 fix formating of notes in preparation for creating a changelog.md 2023-01-20 17:01:19 +01:00
Uwe Steinmann
496bc9214d backport some changes from 6.0.x 2023-01-20 16:57:34 +01:00
Uwe Steinmann
cb1d55e413 add all changes from 6.0.x 2023-01-20 12:32:13 +01:00
Uwe Steinmann
3d880be30c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 12:30:27 +01:00
Uwe Steinmann
4c39fb065a add composer file 2023-01-20 12:28:56 +01:00
Uwe Steinmann
33f7567241 add unit tests 2023-01-20 12:28:35 +01:00
Uwe Steinmann
b7a718732d new changelog created from package.xml 2023-01-20 12:27:22 +01:00
Uwe Steinmann
c3e415ff7a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 12:22:22 +01:00
Uwe Steinmann
9df57ebe67 no longer include Core.php from SeedDMS, use vendor/seeddms/core instead 2023-01-20 12:21:14 +01:00
Uwe Steinmann
88874155b0 add seeddms/core 2023-01-20 12:09:45 +01:00
Uwe Steinmann
6dc9cc8b8e minor corrections to sync with seeddms 5 2023-01-20 11:11:10 +01:00
Uwe Steinmann
3bf13c9e03 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 11:06:19 +01:00
Uwe Steinmann
1c8d267a66 minor correction of old release dates 2023-01-20 11:05:58 +01:00
Uwe Steinmann
4f6261321f replace tabs by spaces 2023-01-20 11:00:07 +01:00
Uwe Steinmann
21a787aa21 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 10:58:57 +01:00
Uwe Steinmann
1da52544af handle none numberic versions when creating changelog 2023-01-20 10:58:16 +01:00
Uwe Steinmann
c8057fc72f replace tabs by spaces 2023-01-20 10:57:59 +01:00
Uwe Steinmann
ef61f16f95 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-20 10:52:04 +01:00
Uwe Steinmann
93088edfce set SEEDDMS_CORE_SQL before running unit tests 2023-01-20 10:51:13 +01:00
Uwe Steinmann
42828065ce add target changelog which turns a package.xml into markdown 2023-01-20 10:48:28 +01:00
Uwe Steinmann
7bfc2c4602 various minor changes to easy conversion into a markdown file 2023-01-20 10:48:00 +01:00
Uwe Steinmann
f6ae2c3868 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 15:02:19 +01:00
Uwe Steinmann
b197639dd2 add wasSuccessful() to check if last conversion was successful 2023-01-19 15:01:43 +01:00
Uwe Steinmann
872c66158b conversion service gets reference to conversion mgr when service is added 2023-01-19 12:10:33 +01:00
Uwe Steinmann
f0a3d7d60c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 09:37:30 +01:00
Uwe Steinmann
0a3f8dd180 add endpoint 'version', send notification after document or content was added 2023-01-19 09:36:46 +01:00
Uwe Steinmann
fb43a82818 check for more mimetypes in getWrongFiletypeDocumentContent() 2023-01-19 08:59:49 +01:00
Uwe Steinmann
1506cef2ab Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-19 07:10:36 +01:00
Uwe Steinmann
9ec87a727e do not show batch operation on categories if none are defined 2023-01-19 07:08:04 +01:00
Uwe Steinmann
b6a52ee4de _getDocumentsData returns filetype and origfilename 2023-01-19 07:07:36 +01:00
Uwe Steinmann
19cdccbd88 fix syntax error 2023-01-19 07:07:08 +01:00
Uwe Steinmann
2f0fdfca19 make it work in recent versions of seeddms 2023-01-19 07:06:45 +01:00
Uwe Steinmann
9d69bd12eb fix text in comment 2023-01-19 07:05:41 +01:00
Uwe Steinmann
83d11651b3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-17 13:04:24 +01:00
Uwe Steinmann
0825ab0113 add list of all extension at beginning of extensions tab 2023-01-17 12:31:55 +01:00
Uwe Steinmann
ace30334a8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-13 21:30:35 +01:00
Uwe Steinmann
cafc50ca4b pass logger to hooks 2023-01-13 21:21:41 +01:00
Uwe Steinmann
c77938cd11 add extra content in document list row after last column 2023-01-13 13:51:44 +01:00
Uwe Steinmann
cf82094149 add rule to provide auth info if php is run in fpm mode 2023-01-12 06:46:49 +01:00
Uwe Steinmann
795b0e08d3 add rule to provide auth info if php is run in fpm mode 2023-01-12 06:46:00 +01:00
Uwe Steinmann
d628b01ede Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-11 13:28:55 +01:00
Uwe Steinmann
b1d6cc1357 return 'status' as facet, get path as array of folder ids 2023-01-11 13:26:52 +01:00
Uwe Steinmann
e42af89bcf fix indenting 2023-01-11 13:26:12 +01:00
Uwe Steinmann
69a70242b0 move record type further up in form 2023-01-11 11:58:15 +01:00
Uwe Steinmann
f2381dca72 owner wasn't handled propperly 2023-01-11 11:57:58 +01:00
Uwe Steinmann
824742b5bb set separator between categories to '#' 2023-01-10 20:41:02 +01:00
Uwe Steinmann
fa683ba65f set separator between categories to '#' 2023-01-10 20:39:42 +01:00
Uwe Steinmann
48eebee92a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-10 18:33:40 +01:00
Uwe Steinmann
7531afca4b do not set user in view 2023-01-10 18:33:23 +01:00
Uwe Steinmann
b351a05aba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-10 16:57:41 +01:00
Uwe Steinmann
28f16a5da5 check field 'indexed', count errors 2023-01-10 16:27:17 +01:00
Uwe Steinmann
328cbd9eb9 fix indexing documents 2023-01-10 15:44:30 +01:00
Uwe Steinmann
6d6bbca94b set placeholder of task frequency 2023-01-10 15:44:09 +01:00
Uwe Steinmann
aa733c7531 pass logger to controller, fix including php files 2023-01-10 15:43:37 +01:00
Uwe Steinmann
41b2ae91e1 use authenticator 2023-01-10 15:43:06 +01:00
Uwe Steinmann
244a5da6d8 get logger 2023-01-10 15:42:50 +01:00
Uwe Steinmann
9461f2c24d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-10 08:26:39 +01:00
Uwe Steinmann
acd96034d8 add changes of 5.1.29 2023-01-10 08:12:06 +01:00
Uwe Steinmann
cc144f6c0f show number of keywords per category in select menu 2023-01-10 08:11:52 +01:00
Uwe Steinmann
913baaa7ce show number of documents per category in select menu 2023-01-10 08:11:24 +01:00
Uwe Steinmann
da4aafff86 add more notes for 5.1.29 2023-01-10 08:10:51 +01:00
Uwe Steinmann
1d217251c1 add method SeedDMS_Core_KeywordCategory::countKeywordLists() 2023-01-10 08:10:33 +01:00
Uwe Steinmann
330a147533 update release date and notes 2023-01-09 17:45:20 +01:00
Uwe Steinmann
1374c7fda3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-09 16:58:39 +01:00
Uwe Steinmann
8c87816070 check if $record_type is set 2023-01-09 16:15:36 +01:00
Uwe Steinmann
627baa5cc8 add logos to list of extensions 2023-01-09 16:15:18 +01:00
Uwe Steinmann
927e5acdc2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-09 15:40:41 +01:00
Uwe Steinmann
095605f85e add text preview 2023-01-09 15:33:56 +01:00
Uwe Steinmann
b1b16e1008 output time in secs for indexing 2023-01-09 15:32:38 +01:00
Uwe Steinmann
bc5aa7703c display number of occurences of term 2023-01-09 15:32:00 +01:00
Uwe Steinmann
707082f6b6 list terms in auto complete if set 2023-01-09 15:31:30 +01:00
Uwe Steinmann
5e48d724ac pass terms to view 2023-01-09 15:31:05 +01:00
Uwe Steinmann
2310395e46 add field record_type 2023-01-09 15:30:44 +01:00
Uwe Steinmann
0686cfecf5 init only fulltext service which was selected in configuration 2023-01-09 15:30:18 +01:00
Uwe Steinmann
732fd81018 add query for record_type 2023-01-09 15:29:58 +01:00
Uwe Steinmann
409df834a3 check for typeahead action without php warnings 2023-01-08 16:24:02 +01:00
Uwe Steinmann
23c4327382 escape html in typeahead action 2023-01-08 16:23:27 +01:00
Uwe Steinmann
71b8b197da various minor improvements 2023-01-08 16:22:52 +01:00
Uwe Steinmann
593792089f implement Zend indexer as singleton in SeedDMS_Lucene_Indexer 2023-01-08 16:22:01 +01:00
Uwe Steinmann
3cc7497863 fix setting limit 2023-01-08 16:21:08 +01:00
Uwe Steinmann
30ab2f9ef7 limit can be passed by url parameter, add '*' to query in typeahead mode 2023-01-07 12:18:30 +01:00
Uwe Steinmann
1ec7715b26 set limit of typeahead search to 15 2023-01-07 12:18:03 +01:00
Uwe Steinmann
8f07c2fd1f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-06 18:55:13 +01:00
Uwe Steinmann
d35cf5d9f6 fix syntax of url, set propper favicon 2023-01-06 18:43:18 +01:00
Uwe Steinmann
b14a421591 do not auth because browsers do not send cookies to fetch opensearch desc 2023-01-06 18:41:29 +01:00
Uwe Steinmann
f98df0efcc better legend title 2023-01-06 13:46:58 +01:00
Uwe Steinmann
26e6f24565 fix checking for search result hits 2023-01-06 13:46:33 +01:00
Uwe Steinmann
8c86b4f61c output homefolder and link email address 2023-01-06 11:13:32 +01:00
Uwe Steinmann
adbea2919a do not set PDO::ATTR_AUTOCOMMIT because it prevents sql statements not in a transaction from being executed 2023-01-06 07:48:32 +01:00
Uwe Steinmann
67163324bb set end of conversion in any case, not just if iptc data was found 2023-01-05 16:57:18 +01:00
Uwe Steinmann
99bb9e5e20 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-05 16:47:28 +01:00
Uwe Steinmann
4ef60bbf10 add note for 5.1.29 2023-01-05 15:10:21 +01:00
Uwe Steinmann
b01dd7655c separate cache by png, txt, and pdf 2023-01-05 15:09:25 +01:00
Uwe Steinmann
a94eccb6cf add converter for postscript 2023-01-05 15:09:04 +01:00
Uwe Steinmann
58fd8877fb use DIRECTORY_SEPARATOR, add prefix 'png', 'txt', 'pdf' to previewDir 2023-01-05 15:08:05 +01:00
Uwe Steinmann
ba8a2d5d87 add method getPreviewDir() 2023-01-05 15:07:19 +01:00
Uwe Steinmann
8cdafe49e0 remove spaces which prevented reading the stop word list 2023-01-05 09:45:22 +01:00
Uwe Steinmann
292ade83e7 return empty text if image has no iptc data 2023-01-05 09:35:13 +01:00
Uwe Steinmann
735fe4235f set $success to false if exec of command failed 2023-01-05 09:34:39 +01:00
Uwe Steinmann
a8474b08c6 use method wasSuccessful() to check if conversion succeeded 2023-01-05 09:34:09 +01:00
Uwe Steinmann
5a778a1b75 add note about setting papersize for a2ps 2023-01-05 09:02:30 +01:00
Uwe Steinmann
12ffb0174e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-05 08:39:45 +01:00
Uwe Steinmann
f48f649249 call constructor of parent 2023-01-05 08:05:46 +01:00
Uwe Steinmann
99e7623ea0 init index with stopwords file 2023-01-05 08:04:48 +01:00
Uwe Steinmann
4540f85745 add var $success which is set to false if the conversion fails 2023-01-05 08:04:07 +01:00
Uwe Steinmann
99ee18a336 add note for 1.1.18 2023-01-05 08:03:13 +01:00
Uwe Steinmann
b9ac1860cf use stop words 2023-01-05 08:02:14 +01:00
Uwe Steinmann
e28911711b make init() static 2023-01-05 08:01:48 +01:00
Uwe Steinmann
a9aa87332d add comment that converters are deprecated 2023-01-04 14:33:36 +01:00
Uwe Steinmann
dd65fe2e35 add conversion service from text to png 2023-01-04 14:33:11 +01:00
Uwe Steinmann
a80702e7b8 add more documentation 2023-01-04 14:32:52 +01:00
Uwe Steinmann
722b5dfba5 add converter from text to image 2023-01-04 14:32:16 +01:00
Uwe Steinmann
18ea59bfc7 add more documentation 2023-01-04 14:31:59 +01:00
Uwe Steinmann
2cbe041b60 user getClassname() for SeedDMS_Core_DocumentFile 2023-01-04 14:31:28 +01:00
Uwe Steinmann
dbe7f36eb0 add conversion service from text to image 2023-01-04 14:30:45 +01:00
Uwe Steinmann
b5c773a4a3 fix php error 2023-01-03 17:53:36 +01:00
Uwe Steinmann
c4f1019afb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-03 17:01:07 +01:00
Uwe Steinmann
0b94308831 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2023-01-03 17:00:57 +01:00
Uwe Steinmann
7694adabaa Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2023-01-03 17:00:47 +01:00
Uwe Steinmann
d8ed7797c0 some new phrases 2023-01-03 17:00:25 +01:00
Uwe Steinmann
eb0be965ee adjust label of checkbox to delete preview images and text 2023-01-03 16:59:08 +01:00
Uwe Steinmann
51d8ebbf60 improve html for listing errors 2023-01-03 16:58:40 +01:00
Uwe Steinmann
2f868c4f44 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2023-01-03 16:38:57 +01:00
Uwe Steinmann
a8ccf1669b script for uploading files from local disc 2023-01-03 14:16:43 +01:00
Uwe Steinmann
3633beb98d script for informing users about expired documents 2023-01-03 14:13:06 +01:00
Uwe Steinmann
7634208432 script for deleting a docuemnt 2023-01-03 14:09:48 +01:00
Uwe Steinmann
e54874c3ff some more documentation 2023-01-03 14:07:38 +01:00
Uwe Steinmann
d8e9cb5707 indexdocument returns propper error msg 2023-01-03 14:07:05 +01:00
Uwe Steinmann
29310e7c43 pass text previewer to fulltext service 2023-01-03 14:06:24 +01:00
Uwe Steinmann
98e7c58b74 fulltext service can use new text previewer to create a cached txt file of a document 2023-01-03 14:05:32 +01:00
Uwe Steinmann
75638089e6 add notes for latest version 2023-01-03 14:04:08 +01:00
Uwe Steinmann
05d7c709ab callable can be passed for retrieving text content 2023-01-03 14:01:04 +01:00
Uwe Steinmann
eefb0f5ad3 include TxtPreviewer.php 2023-01-03 14:00:28 +01:00
Uwe Steinmann
388cf0d136 update release notes 2023-01-02 19:36:22 +01:00
Uwe Steinmann
91e20d72af start new version 1.5.0 2023-01-02 19:36:07 +01:00
Uwe Steinmann
8418bb962d use get getClassname() for getting class of documentfile 2023-01-02 19:35:35 +01:00
Uwe Steinmann
ff5e6e6302 use getClassname() for getting class of documentfile 2023-01-02 19:34:48 +01:00
Uwe Steinmann
c9f3a2c335 get class name for 'documentfile' 2023-01-02 19:34:14 +01:00
Uwe Steinmann
be62540c69 set $new when creating preview 2023-01-02 12:26:48 +01:00
Uwe Steinmann
0e55c95171 remove old converters 2023-01-02 12:26:31 +01:00
Uwe Steinmann
d291c18eab add logger, conversionmgr, authenticator, etc to container 2023-01-01 20:00:27 +01:00
Uwe Steinmann
e30032f028 move init of notification into DBInit.php 2023-01-01 19:59:29 +01:00
Uwe Steinmann
5bd69596c9 add slim middleware for authenticating with session 2023-01-01 19:58:28 +01:00
Uwe Steinmann
7202d85e55 fix indention of lines 2023-01-01 09:23:04 +01:00
Uwe Steinmann
f4b8eb05b7 set timeout of SeedDMS_ConversionServiceExec 2023-01-01 09:22:11 +01:00
Uwe Steinmann
c67cc6ede4 turn off auto commit for mysql 2023-01-01 09:21:01 +01:00
Uwe Steinmann
8940a3b338 timeout can be passed to constructor 2023-01-01 09:18:52 +01:00
Uwe Steinmann
06e9f41ec1 replace plain html in formField() method 2022-12-20 15:55:37 +01:00
Uwe Steinmann
41721467ac focus search field after loading page 2022-12-20 15:54:47 +01:00
Uwe Steinmann
6233ac59ff log transactions 2022-12-20 13:45:53 +01:00
Uwe Steinmann
d72422eb36 add second column with error messages 2022-12-19 16:00:28 +01:00
Uwe Steinmann
79b1560a27 fix typo 2022-12-18 12:46:29 +01:00
Uwe Steinmann
edabd515f1 use methods in style to create tabs 2022-12-18 12:41:39 +01:00
Uwe Steinmann
ed036819e7 set currenttab from GET if available 2022-12-17 14:07:55 +01:00
Uwe Steinmann
e141892934 fulltext index uses 'indexed' instead of 'created' 2022-12-15 12:46:54 +01:00
Uwe Steinmann
9e9c0c8ac5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-12-15 12:45:04 +01:00
Uwe Steinmann
61db1313a3 add translation of 'Processing ...', use getMLText() 2022-12-15 12:36:57 +01:00
Uwe Steinmann
0186e1af00 check field indexed instead of created 2022-12-15 12:36:35 +01:00
Uwe Steinmann
20d368ec99 add new field 'indexed' 2022-12-15 12:35:16 +01:00
Uwe Steinmann
a81f51c17c add new field 'indexed' 2022-12-15 12:35:02 +01:00
Uwe Steinmann
de7d1c005e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-12-13 17:48:54 +01:00
Uwe Steinmann
c53e27efff make getFileName() public 2022-12-13 17:43:47 +01:00
Uwe Steinmann
c786635f9c fix inclusion of php files 2022-12-11 16:56:05 +01:00
Uwe Steinmann
082a6a8af0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-12-11 15:35:02 +01:00
Uwe Steinmann
45221b8154 add changes of 5.1.29 2022-12-11 15:34:30 +01:00
Uwe Steinmann
5694bf9501 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-12-10 14:23:43 +01:00
Uwe Steinmann
aeb0e4f1de use formSubmit() instead of plain html for submit button 2022-12-10 14:18:07 +01:00
Uwe Steinmann
3477b1fc9b use formSubmit() instead of plain html for submit button 2022-12-10 13:48:11 +01:00
Uwe Steinmann
ad19678e86 add secondary submit button 2022-12-10 13:47:32 +01:00
Uwe Steinmann
6ae0eb38d9 use formSubmit() instead of plain html for submit button 2022-12-10 13:12:21 +01:00
Uwe Steinmann
22d59a61ed add neutral submit button 2022-12-10 13:07:26 +01:00
Uwe Steinmann
c31250089e use formSubmit() instead of plain html for submit button 2022-12-10 13:05:22 +01:00
Uwe Steinmann
1e178fb1c3 use formSubmit() instead of plain html for submit button 2022-12-10 13:01:46 +01:00
Uwe Steinmann
995fd19684 remove spaces 2022-12-10 12:59:32 +01:00
Uwe Steinmann
276ca2c5f4 allow to filter search by creation date 2022-12-10 12:59:13 +01:00
Uwe Steinmann
35e2f86dba add parameter $filter to find() 2022-12-10 12:58:37 +01:00
Uwe Steinmann
a00883c100 set class of container, put terms in span 2022-12-09 10:54:28 +01:00
Uwe Steinmann
8340f9eb64 add style for div.fulltextinfo > span:hover 2022-12-09 10:54:06 +01:00
Uwe Steinmann
b50ca0321d start new version 1.0.18 2022-12-09 10:53:15 +01:00
Uwe Steinmann
5fc160a8dc add optional parameter $order to search() which is passed to find() 2022-12-09 10:52:33 +01:00
Uwe Steinmann
a8034350ef fix documentation of count() 2022-12-09 10:52:08 +01:00
Uwe Steinmann
68f19b87c3 add optional parameter $col and $query to terms() 2022-12-09 10:51:43 +01:00
Uwe Steinmann
91c5b113b2 add optional parameter $order to find() 2022-12-09 10:51:05 +01:00
Uwe Steinmann
6341e13ca6 show path of document/folder in typeahead search 2022-12-08 14:48:36 +01:00
Uwe Steinmann
ecb0258186 fix filename of attachment 2022-12-08 14:48:10 +01:00
Uwe Steinmann
56bd5c00e4 set resolution of pdf to 72dpi, using 36dpi will not allow previes wider than 298px 2022-12-08 14:45:31 +01:00
Uwe Steinmann
291b62eeb2 getFolderPathPlain(): add sep as prefix if skiproot is true 2022-12-08 14:44:49 +01:00
Uwe Steinmann
6f9ec7cdc3 $width passed to getFileName() is optional 2022-12-07 17:03:11 +01:00
Uwe Steinmann
99569a3435 fix possible xss attack 2022-12-06 11:15:51 +01:00
Uwe Steinmann
e40f7e6a25 fix typo 2022-12-05 09:18:36 +01:00
Uwe Steinmann
de61d9f1f3 set error msg if extension list cannot be fetched 2022-11-29 21:46:07 +01:00
Uwe Steinmann
57ab966404 add changes of 5.1.29 2022-11-29 17:37:25 +01:00
Uwe Steinmann
11d134e35a last element of breadcrumb has a link 2022-11-29 17:36:59 +01:00
Uwe Steinmann
cd5a39b50f make breakcrumps capable of drag&drop 2022-11-29 17:36:17 +01:00
Uwe Steinmann
92ba1a9e76 focus folder selection after loading page 2022-11-29 17:35:32 +01:00
Uwe Steinmann
55df94a993 use authentication service 2022-11-29 17:34:29 +01:00
Uwe Steinmann
a5e975caa5 searchfolder returns full path of folder 2022-11-29 17:33:04 +01:00
Uwe Steinmann
e8192d2813 add $skiproot and $sep parameter to getFolderPathPlain() 2022-11-29 17:31:54 +01:00
Uwe Steinmann
8a01102cf5 add documentation on how to use the scheduler 2022-11-29 10:49:37 +01:00
Uwe Steinmann
c87eb6c6f0 add changs for 5.1.29 2022-11-29 10:49:01 +01:00
Uwe Steinmann
6a24ce5d10 documentation on how to use swagger 2022-11-29 10:46:34 +01:00
Uwe Steinmann
e9b3b25b64 pass notification and authentication service to ServeRequest 2022-11-29 10:44:19 +01:00
Uwe Steinmann
f7ebe88822 add authentication service 2022-11-28 21:40:42 +01:00
Uwe Steinmann
28a4a24613 add constructor, authenticate() returns null if authentication fails 2022-11-28 21:36:40 +01:00
Uwe Steinmann
0f0ba03449 remove constructor and class vars from abstract class 2022-11-28 21:35:41 +01:00
Uwe Steinmann
182418c856 allow parameter of type 'folder' and 'users' 2022-11-25 15:06:49 +01:00
Uwe Steinmann
1488cdcfca use predefined key for translation of parameter description 2022-11-25 13:45:27 +01:00
Uwe Steinmann
e4be5465be issue propper err msg when view access is prohibited 2022-11-24 17:16:43 +01:00
Uwe Steinmann
0c28f47481 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-24 12:40:55 +01:00
Uwe Steinmann
4e528975b8 use Login controller 2022-11-24 12:40:25 +01:00
Uwe Steinmann
2556bf5b3f set 'source' = 'web' for controller 2022-11-24 12:39:57 +01:00
Uwe Steinmann
ec38938d8d include Log.php 2022-11-24 12:39:37 +01:00
Uwe Steinmann
53389d9054 do cookie handling and session update only if logged in via web page 2022-11-24 12:38:59 +01:00
Uwe Steinmann
53f350c2fa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-24 11:03:56 +01:00
Uwe Steinmann
3e61d93049 add changes for 5.1.29 2022-11-24 11:02:07 +01:00
Uwe Steinmann
d3d7956f4e set data-remote of button to open a modal box with content loaded from remote 2022-11-24 11:01:31 +01:00
Uwe Steinmann
7854f75c8c add unsafe-inline to csp rule, because of jquery 3.6.1 2022-11-24 11:01:14 +01:00
Uwe Steinmann
63ca342576 show warning if import file has no users or misses a header line 2022-11-24 09:44:43 +01:00
Uwe Steinmann
823d98b261 add a render function for hashed passwords 2022-11-24 09:44:23 +01:00
Uwe Steinmann
9e4eae8206 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-22 06:56:46 +01:00
Uwe Steinmann
3af5b0f943 new version 5.1.29 2022-11-22 06:52:44 +01:00
Uwe Steinmann
4fe2f97fea js code for drag&drop upload is added even if user has no access on folder 2022-11-21 16:33:38 +01:00
Uwe Steinmann
0073b00c5e fix calling changeFolderAccess() 2022-11-21 16:33:02 +01:00
Uwe Steinmann
c93d42228d start new version 5.1.29 2022-11-21 16:32:37 +01:00
Uwe Steinmann
4e1e126783 propperly rollback addDocument() if add categories fails 2022-11-21 16:32:06 +01:00
Uwe Steinmann
cfc23e0ddf Merge branch 'seeddms-5.1.x' 2022-11-21 15:10:31 +01:00
Uwe Steinmann
baa3010b43 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-18 17:17:38 +01:00
Uwe Steinmann
c9ea05b263 fix target to create api doc 2022-11-18 11:22:08 +01:00
Uwe Steinmann
8d2becb0ca change namespace of iterators from SeedDMS to SeedDMS\Core 2022-11-18 11:20:38 +01:00
Uwe Steinmann
a9feb3e182 change namespace of iterators from SeedDMS to SeedDMS\Core 2022-11-18 11:20:18 +01:00
Uwe Steinmann
bafa55b489 fix typo, update copyright 2022-11-18 11:15:27 +01:00
Uwe Steinmann
9dbe4e25aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-17 17:44:05 +01:00
Uwe Steinmann
2e4b19e4ef fix counting of login failures if both ldap and db authentication is done 2022-11-17 17:43:55 +01:00
Uwe Steinmann
330073f52a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-17 15:24:32 +01:00
Uwe Steinmann
b45bc9d57c update notes of 5.1.28 2022-11-17 13:10:53 +01:00
Uwe Steinmann
d06f33abeb all file operations use methods of SeedDMS_Core_File 2022-11-17 13:10:46 +01:00
Uwe Steinmann
820370d713 getMimeType() is now SeedDMS_Core_File::mimetype() 2022-11-17 11:35:34 +01:00
Uwe Steinmann
2c96fb5a1c remove getMimeType(), it has been moved to SeedDMS_Core 2022-11-17 11:34:28 +01:00
Uwe Steinmann
e719f31167 fix moveDir() which didn't work at all 2022-11-17 11:33:43 +01:00
Uwe Steinmann
09f6dc64a6 removeDir() does not require a leading dir separator 2022-11-17 11:33:34 +01:00
Uwe Steinmann
f9328a5b7c add text/markdown in fileExtension() 2022-11-17 11:32:45 +01:00
Uwe Steinmann
62c2606d09 add file_exists(), improve parse_filesize() 2022-11-17 11:32:05 +01:00
Uwe Steinmann
7716d3ad54 add method mimetype() 2022-11-17 11:31:12 +01:00
Uwe Steinmann
0e8f9c5164 fix copyright and description of class 2022-11-17 11:30:07 +01:00
Uwe Steinmann
4888082cda Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-15 17:16:46 +01:00
Uwe Steinmann
83770f7521 fix getMimetype() 2022-11-15 16:15:24 +01:00
Uwe Steinmann
1667187613 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-15 16:08:32 +01:00
Uwe Steinmann
08d10d2cc0 get mimetype without encoding which simplifies the code 2022-11-15 16:07:06 +01:00
Uwe Steinmann
581841bc42 click on .ajax-click will always call op/op.Ajax.php 2022-11-15 16:06:31 +01:00
Uwe Steinmann
2e0c369b25 allow to set mimetype if is possibly wrong 2022-11-15 16:05:53 +01:00
Uwe Steinmann
f52e950283 add command 'setmimetype' 2022-11-15 16:05:27 +01:00
Uwe Steinmann
aa18d3f883 add new function getMimeType() 2022-11-15 16:05:06 +01:00
Uwe Steinmann
8e47c444b2 better checking form mimetype!=null in setMimeType() 2022-11-15 16:04:15 +01:00
Uwe Steinmann
38b0cbda7f replace space by tabs 2022-11-15 16:03:52 +01:00
Uwe Steinmann
9850b2d8f9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-14 17:40:41 +01:00
Uwe Steinmann
67feaf55cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-11-14 17:40:29 +01:00
Uwe Steinmann
6dbf7827df Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-11-14 17:40:18 +01:00
Uwe Steinmann
ad89814db0 translation updates 2022-11-14 17:39:59 +01:00
Uwe Steinmann
9c740db936 add changes of 6.0.21 2022-11-14 17:23:26 +01:00
Uwe Steinmann
938126c19c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-14 17:22:17 +01:00
Uwe Steinmann
9c1fd788d6 use the list of docs ordered by sequence in reorderDocuments() 2022-11-14 17:21:22 +01:00
Uwe Steinmann
3b473edd25 add button to reorder docs in a folder if sequence numbers are not unique 2022-11-14 16:25:22 +01:00
Uwe Steinmann
b6a0b45867 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-14 09:05:35 +01:00
Uwe Steinmann
b2fd46dac0 add SeedDMS_Core_Folder::reorderDocuments() 2022-11-14 09:03:41 +01:00
Uwe Steinmann
863c3f971c add list of folders containing duplicate sequences 2022-11-14 08:39:09 +01:00
Uwe Steinmann
fbbc79815d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-14 08:21:01 +01:00
Uwe Steinmann
e2e52d61b1 fix output, add translations 2022-11-14 08:16:51 +01:00
Uwe Steinmann
9c715a7071 add SeedDMS_Core_DMS::getDuplicateSequenceNo() 2022-11-14 07:55:40 +01:00
Uwe Steinmann
b786e42bb3 fix inclusion of php files 2022-11-11 14:47:42 +01:00
Uwe Steinmann
a97fcbc67a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-11 13:01:44 +01:00
Uwe Steinmann
b587a4f2a1 more changes in 5.1.28 2022-11-11 10:46:48 +01:00
Uwe Steinmann
28c2670504 add a random sequence number deviation 2022-11-11 10:42:28 +01:00
Uwe Steinmann
3b74689c9c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-10 08:29:17 +01:00
Uwe Steinmann
28f78baed0 add changes in 5.1.28 (mostly restapi) 2022-11-10 08:27:39 +01:00
Uwe Steinmann
25c2d03190 add hook to add additional routes 2022-11-10 08:27:00 +01:00
Uwe Steinmann
ebf7fb7591 change json field 'version-attributes' to 'version_attributes' 2022-11-10 08:24:52 +01:00
Uwe Steinmann
650339c519 return id of attribute as int 2022-11-10 08:24:07 +01:00
Uwe Steinmann
cbf68b7ab6 explain how to set an auto command in vim 2022-11-09 19:33:26 +01:00
Uwe Steinmann
971dc536f7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-09 19:15:55 +01:00
Uwe Steinmann
d0a4f481ba use sensible sections 2022-11-09 19:15:16 +01:00
Uwe Steinmann
05b616f675 fix typos 2022-11-09 19:13:51 +01:00
Uwe Steinmann
b9311ff1e7 find a better mimetype by using file() and the extension 2022-11-09 15:14:38 +01:00
Uwe Steinmann
b8449289ac do not even try to remove a checked out file if it doesn't exist anymore 2022-11-09 13:33:18 +01:00
Uwe Steinmann
3e733b91cd check checkout status 2022-11-09 13:31:47 +01:00
Uwe Steinmann
e422fcf67a checkout can be canceled if file disappeared, is obsolete 2022-11-09 13:31:10 +01:00
Uwe Steinmann
2ce2fd07fe add version 5.1.28 and updated notes of 6.0.21 2022-11-09 12:22:23 +01:00
Uwe Steinmann
f0cd33d110 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-09 12:20:32 +01:00
Uwe Steinmann
5438d95eb5 add SeedDMS_Core_Attribute::getParsedValue() and use it in SeedDMS_Core_Object:: getAttributeValue() 2022-11-09 10:26:08 +01:00
Uwe Steinmann
3571d97f2f fix inclusion of php files 2022-11-09 09:25:45 +01:00
Uwe Steinmann
17dac9d1bc pass object of SeedDMS_AccessOperation to view 2022-11-09 06:41:20 +01:00
Uwe Steinmann
233639ce35 include inc.Utils.php early 2022-11-09 06:40:50 +01:00
Uwe Steinmann
f36735ef81 pass mask=PEAR_LOG_DEBUG to getLogger() 2022-11-08 20:07:59 +01:00
Uwe Steinmann
17673db914 use getLogger() to retrieve logger 2022-11-08 20:07:39 +01:00
Uwe Steinmann
a9f3b7a6a6 add optional parameter $mask to getLogger() 2022-11-08 20:07:08 +01:00
Uwe Steinmann
2a027105cb add changes for 5.1.28 2022-11-08 16:46:09 +01:00
Uwe Steinmann
7dee5cb767 allow to add more tabs with log files with a selectable prefix 2022-11-08 16:45:27 +01:00
Uwe Steinmann
e0cd3fb1e8 add changes of 5.1.28 2022-11-07 12:21:16 +01:00
Uwe Steinmann
fa56d5735d fix various errors, add missing functions 2022-11-07 12:20:50 +01:00
Uwe Steinmann
6f4ec80ad6 add new routes for changing attributes 2022-11-07 12:20:30 +01:00
Uwe Steinmann
31e47d4fbe do more logging during authentication 2022-11-07 12:19:58 +01:00
Uwe Steinmann
196fa91a27 add method setDocumentContentAttribute() 2022-11-07 12:19:07 +01:00
Uwe Steinmann
6d13883e8f add logging and fix status codes in setDocumentAttribute() 2022-11-07 12:18:26 +01:00
Uwe Steinmann
8484d38974 add new method getDocumentContentAttributes() 2022-11-07 12:17:03 +01:00
Uwe Steinmann
b068c385e7 add new method __getAttributesData() 2022-11-07 12:16:10 +01:00
Uwe Steinmann
239487e198 fix sql error when deleting a folder attribute 2022-11-07 12:13:15 +01:00
Uwe Steinmann
7cba489f1a fix typo 2022-11-06 20:04:12 +01:00
Uwe Steinmann
a5802ad3e8 add route /document/{id}/attribute/{attrdefid} 2022-11-06 20:03:58 +01:00
Uwe Steinmann
1ec3367695 fix line indenting 2022-11-06 20:03:12 +01:00
Uwe Steinmann
0e1b00d0b5 use controller to create subfolder, send notifications 2022-11-06 17:02:38 +01:00
Uwe Steinmann
257c23aead fix indenting of lines 2022-11-06 16:38:56 +01:00
Uwe Steinmann
441d8d6c0f add changes of 5.1.28 2022-11-06 16:09:46 +01:00
Uwe Steinmann
fbe6e492c8 use methods in inc/inc.ClassNotificationService.php it send notifications 2022-11-06 16:09:27 +01:00
Uwe Steinmann
57b298c489 invoke controller instead of calling run() 2022-11-06 16:08:57 +01:00
Uwe Steinmann
9869c3d8ce add missing space in log message 2022-11-06 16:07:40 +01:00
Uwe Steinmann
d9ba59990f clear login failures after successful login 2022-11-06 16:07:04 +01:00
Uwe Steinmann
35b83b37dc add changes in 5.1.28 2022-11-05 16:29:10 +01:00
Uwe Steinmann
13099d67aa add initial support for logging and notifications 2022-11-05 16:24:39 +01:00
Uwe Steinmann
fd8de36db8 allow facicon in extensions 2022-11-04 20:38:09 +01:00
Uwe Steinmann
88faf823e6 add changes of 5.1.28 2022-11-02 09:57:31 +01:00
Uwe Steinmann
dc6b153df8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-11-02 09:00:43 +01:00
Uwe Steinmann
df4d492874 do not include inc/inc.ClassEmailNotify.php 2022-11-02 09:00:13 +01:00
Uwe Steinmann
f363e226fd SeedDMS_Core_DMS::createPasswordRequest() creates a cryptographically secure hash 2022-11-02 09:00:01 +01:00
Uwe Steinmann
68427394ae add new function uniqidReal() 2022-11-02 08:57:01 +01:00
Uwe Steinmann
f6ec37df74 do not rawurl[de|en]code path anymore 2022-10-25 13:16:59 +02:00
Uwe Steinmann
04211bd09c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-10-24 17:12:27 +02:00
Uwe Steinmann
4ba98d45bc update bootstrap to 4.6.2 2022-10-24 17:12:00 +02:00
Uwe Steinmann
550d62a7a7 place login outside of container 2022-10-24 17:10:25 +02:00
Uwe Steinmann
6bb4eeb926 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-10-20 14:44:25 +02:00
Uwe Steinmann
3aca89e174 pass extension mgr to init() of extension 2022-10-20 14:43:58 +02:00
Uwe Steinmann
fa66cb8332 allow .woff, .html, .gif in ext/*/res dir 2022-10-20 14:43:26 +02:00
Uwe Steinmann
2e6e3f67b1 pass convertToPdf to view 2022-10-20 14:43:01 +02:00
Uwe Steinmann
d48af54737 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-10-13 16:36:16 +02:00
Uwe Steinmann
9d752afbff add entry for 5.1.28 2022-10-13 16:35:54 +02:00
Uwe Steinmann
02947f1bf0 include missing class for email notification 2022-10-13 16:34:57 +02:00
Uwe Steinmann
6dade497b6 show readme of extension 2022-10-11 18:15:18 +02:00
Uwe Steinmann
57151b3b1f make table for iptc data condensed 2022-10-11 18:14:52 +02:00
Uwe Steinmann
ebfbed7887 add space below nav-pills 2022-10-11 12:41:31 +02:00
Uwe Steinmann
97c6b19c1f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-10-11 12:33:09 +02:00
Uwe Steinmann
bc9a05258c eval more tags in iptc data 2022-10-10 20:14:00 +02:00
Uwe Steinmann
5278732456 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-10-10 14:04:19 +02:00
Uwe Steinmann
39eef26b10 add change in 5.1.28 2022-09-26 08:11:28 +02:00
Uwe Steinmann
c65d20f740 fix SeedDMS_Core_File::fileExtension() 2022-09-26 08:10:50 +02:00
Uwe Steinmann
ed17678490 add change in 5.1.28 2022-09-26 07:48:59 +02:00
Uwe Steinmann
e8a3779547 fix SeedDMS_Core_User::getDocumentContents() 2022-09-26 07:48:45 +02:00
Uwe Steinmann
df659c52d9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-25 13:49:35 +02:00
Uwe Steinmann
83099dd422 start new version 5.1.28 2022-09-24 08:32:43 +02:00
Uwe Steinmann
7012580476 Merge branch 'seeddms-5.1.x' 2022-09-22 16:52:06 +02:00
Uwe Steinmann
54c6d63a2d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-21 14:32:50 +02:00
Uwe Steinmann
6eae010b24 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-09-21 14:32:34 +02:00
Uwe Steinmann
44d430aeb6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-09-21 14:32:23 +02:00
Uwe Steinmann
ead3a9fdf4 various new phrases 2022-09-21 14:32:07 +02:00
Uwe Steinmann
d13bc2a6bb escape category name 2022-09-21 14:29:39 +02:00
Uwe Steinmann
4b9844262c init variable 2022-09-21 12:49:22 +02:00
Uwe Steinmann
6dbcf2a172 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-21 12:48:04 +02:00
Uwe Steinmann
dbb9e09070 remove plain html and use methodes from theme 2022-09-21 12:33:41 +02:00
Uwe Steinmann
c3058176f3 do not use plain html, but use methods from theme class 2022-09-21 10:09:40 +02:00
Uwe Steinmann
dbd43d5877 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-21 08:32:21 +02:00
Uwe Steinmann
ec7a8a5bef Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-09-21 08:32:08 +02:00
Uwe Steinmann
b3e84e8134 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-09-21 08:31:57 +02:00
Uwe Steinmann
756d8d3f38 add one missing phrase 2022-09-21 08:31:42 +02:00
Uwe Steinmann
0cf15ecd0e always do a db search, set from an to if searching for an attr of type date 2022-09-20 15:06:33 +02:00
Uwe Steinmann
4aa38182db convert attribute of type date into format yyyy-mm-dd 2022-09-20 08:24:27 +02:00
Uwe Steinmann
877a94c37d return err msg if attribute has not enough values 2022-09-20 08:23:52 +02:00
Uwe Steinmann
12675426e6 return false if attribute has not enough attribute values 2022-09-20 08:23:04 +02:00
Uwe Steinmann
18a5306d3c check for revision date even if document is expired 2022-09-20 07:09:13 +02:00
Uwe Steinmann
3add16e06a use conversion manager for all lists 2022-09-18 13:42:22 +02:00
Uwe Steinmann
d9e6472fff propperly check for action listDocsWithMissingRevisionDate 2022-09-18 13:41:20 +02:00
Uwe Steinmann
ff1c29561f update notes and release date 2022-09-18 12:54:53 +02:00
Uwe Steinmann
43e114101a issue msg if there are revisors in state 'sleeping' but no revision date 2022-09-18 12:53:05 +02:00
Uwe Steinmann
3e2e8e2591 getDocumentsInReception() returns status, though it should be 0 2022-09-18 12:52:04 +02:00
Uwe Steinmann
c2a8b4bbc6 getDocumentsInRevision() also returns status of revision log 2022-09-18 12:45:40 +02:00
Uwe Steinmann
3721fcfc22 check for documents with missing revision date 2022-09-18 12:44:56 +02:00
Uwe Steinmann
94d6dd0511 some more documentation of method 2022-09-18 12:44:20 +02:00
Uwe Steinmann
4329729ae0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-16 07:02:46 +02:00
Uwe Steinmann
724046e539 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-09-16 07:02:08 +02:00
Uwe Steinmann
94daaea5dd Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-09-16 07:01:57 +02:00
Uwe Steinmann
aa3d23b4cf new phrases for batch operations 2022-09-16 07:01:31 +02:00
Uwe Steinmann
68b8f31a25 handle iptc data with unknown key 2022-09-15 20:24:51 +02:00
Uwe Steinmann
a453c0e6ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-15 20:06:21 +02:00
Uwe Steinmann
f53b6fd3fd make column for preview image smaller 2022-09-15 20:04:30 +02:00
Uwe Steinmann
1495603a40 minor upates 2022-09-15 13:10:36 +02:00
Uwe Steinmann
cf025abcc1 do not set max_width of div.popupbox 2022-09-15 13:10:16 +02:00
Uwe Steinmann
aaf7733ab2 add conversion service from jpeg to text based on iptc data 2022-09-15 13:09:20 +02:00
Uwe Steinmann
d2eee3345f show iptc data of jpeg if available 2022-09-15 13:08:56 +02:00
Uwe Steinmann
2ee4773357 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-14 20:42:30 +02:00
Uwe Steinmann
5a806f729b check access on document in 'searchdocument' 2022-09-14 20:40:33 +02:00
Uwe Steinmann
3283d35db8 add batch operation to add/remove category 2022-09-14 18:08:34 +02:00
Uwe Steinmann
100b0bfa26 check access on folder in 'searchfolder' 2022-09-14 18:07:57 +02:00
Uwe Steinmann
fc68b025ef add foldmarks 2022-09-14 14:24:33 +02:00
Uwe Steinmann
c4d5ebd24d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-14 10:48:57 +02:00
Uwe Steinmann
c04561ef5f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-09-14 10:48:44 +02:00
Uwe Steinmann
f102971ace Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-09-14 10:48:27 +02:00
Uwe Steinmann
bdd0482ffa 1 new phrase, minor updates 2022-09-14 10:48:06 +02:00
Uwe Steinmann
56a0b14fe9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-13 20:04:31 +02:00
Uwe Steinmann
f2c8718586 keep paginator even if all hits are shown 2022-09-13 20:03:56 +02:00
Uwe Steinmann
4b69739b51 set 'All' in paginator active if selected 2022-09-13 20:03:22 +02:00
Uwe Steinmann
ea2173b4ed set 'All' in paginator active if selected 2022-09-13 20:02:14 +02:00
Uwe Steinmann
ad3ecdd586 image conversion falls back to gd library if imagick extension is not loaded 2022-09-13 13:23:48 +02:00
Uwe Steinmann
b8c94556ca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-12 11:45:14 +02:00
Uwe Steinmann
e6ebabfc09 add parameter $dataparam to method pageList() 2022-09-12 11:44:44 +02:00
Uwe Steinmann
620a5ff99d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-12 09:40:30 +02:00
Uwe Steinmann
51d0a273bc fix placeholder of select menu for attribute defs 2022-09-12 09:39:42 +02:00
Uwe Steinmann
ad35601bf2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-12 09:37:05 +02:00
Uwe Steinmann
b3bc78fb96 set width of select tags, add class chzn-select to all select tags 2022-09-10 16:35:07 +02:00
Uwe Steinmann
8521b19c5d add some info on how ocr software can be integrated 2022-09-09 10:14:52 +02:00
Uwe Steinmann
49167c8149 some initial documentation on setting up email 2022-09-09 09:56:23 +02:00
Uwe Steinmann
c0afafd400 add documentation on how ldap auth works 2022-09-09 09:32:29 +02:00
Uwe Steinmann
57a90d93a6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-09 09:29:37 +02:00
Uwe Steinmann
ef3047aae9 add rewrite of header for php fpm 2022-09-09 09:29:08 +02:00
Uwe Steinmann
589b213fe7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-09 07:53:54 +02:00
Uwe Steinmann
c045ba702e used wrong var when listing approvals 2022-09-09 07:53:28 +02:00
Uwe Steinmann
fdf7126a68 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-09 06:57:17 +02:00
Uwe Steinmann
eecba62d8c use conversion manager 2022-09-09 06:56:56 +02:00
Uwe Steinmann
95111066f0 no need to set dms and user twice in view 2022-09-09 06:56:36 +02:00
Uwe Steinmann
5cd59a7a84 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-09 06:31:17 +02:00
Uwe Steinmann
506f822147 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-09-08 18:31:36 +02:00
Uwe Steinmann
7f304bed4a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-09-08 18:31:23 +02:00
Uwe Steinmann
ab007e9490 updates 2022-09-08 18:31:05 +02:00
Uwe Steinmann
64f75009bf partially fix some old update tools 2022-09-08 17:50:01 +02:00
Uwe Steinmann
d3294518ad check if content file exists 2022-09-08 16:43:29 +02:00
Uwe Steinmann
4d5139fe82 translate all labels of menus before passing them to the method to show the menu 2022-09-08 09:50:33 +02:00
Uwe Steinmann
3ccdf862bf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-07 17:12:08 +02:00
Uwe Steinmann
12599bd712 use the conversion manager for preview images 2022-09-07 17:09:57 +02:00
Uwe Steinmann
607251e02d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-07 16:57:46 +02:00
Uwe Steinmann
1e26bc181b move onselect() method into timeline view, because it's only needed there 2022-09-07 16:43:49 +02:00
Uwe Steinmann
dd8f9c7186 set latest content if no version is set 2022-09-07 16:40:37 +02:00
Uwe Steinmann
e76df4c71f create original file name from new document name when uploading document from the library folder. 2022-09-07 09:26:27 +02:00
Uwe Steinmann
04ce8ea28f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-07 09:08:54 +02:00
Uwe Steinmann
56bbdefced add function getFilenameByDocname() 2022-09-07 08:56:08 +02:00
Uwe Steinmann
446f04c775 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-06 10:42:09 +02:00
Uwe Steinmann
769706fe9c add confirm box before changing owner 2022-09-06 10:41:39 +02:00
Uwe Steinmann
6c7d397837 set width of select2 to 'resolve' instead of '100%' 2022-09-06 10:41:12 +02:00
Uwe Steinmann
225817d468 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-05 11:28:04 +02:00
Uwe Steinmann
f9b4291512 add changes for 5.1.27 2022-09-02 09:40:52 +02:00
Uwe Steinmann
f4b621de36 make it work with SeedDMS 6 2022-09-02 09:39:40 +02:00
Uwe Steinmann
9a22f0390a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-02 08:04:55 +02:00
Uwe Steinmann
3f6755e7e5 add function renderQuotaData(), import hidden and disabled field 2022-09-02 08:04:15 +02:00
Uwe Steinmann
ab8d5ed502 run output through htmlspecialchars() 2022-09-02 08:03:54 +02:00
Uwe Steinmann
da3946adc6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-09-01 07:49:36 +02:00
Uwe Steinmann
1fa117281b add changes for 5.1.27 2022-09-01 06:32:21 +02:00
Uwe Steinmann
9a08430d5b add changes for 5.1.27 and 6.0.20 2022-08-31 20:59:12 +02:00
Uwe Steinmann
e5ad205169 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-31 20:57:17 +02:00
Uwe Steinmann
a83c497deb add changes for 5.1.27 2022-08-31 20:56:59 +02:00
Uwe Steinmann
80067393f1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-31 20:39:43 +02:00
Uwe Steinmann
52f08f99f0 make select fields in search form always multiple 2022-08-31 20:39:12 +02:00
Uwe Steinmann
f6d0fb85fd add parameter $alwaysmultiple getAttributeEditField() which makes select fields always multiple 2022-08-31 20:38:20 +02:00
Uwe Steinmann
4ac560c8d1 value of extracols can be an array 2022-08-31 20:32:51 +02:00
Uwe Steinmann
c981129a4b sort by 'i' or 'n' is like 'ia' or 'na' 2022-08-31 20:32:32 +02:00
Uwe Steinmann
f2a211b1bf allow to search for multiple attribute values 2022-08-31 20:31:59 +02:00
Uwe Steinmann
107d9a8684 check if file in drop folder is readable 2022-08-31 08:38:51 +02:00
Uwe Steinmann
16d068e430 add changes for 5.1.27 2022-08-30 18:14:15 +02:00
Uwe Steinmann
8f4c2f454b user uid instead of cn in distinguished name to auth. user 2022-08-30 18:11:00 +02:00
Uwe Steinmann
3fd63b98d9 add missing column in header of attribute values list 2022-08-25 08:23:29 +02:00
Uwe Steinmann
0539945bf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-24 08:29:36 +02:00
Uwe Steinmann
748041ffd8 allow batch operation on fulltext search result 2022-08-24 07:58:02 +02:00
Uwe Steinmann
d271dfbf1f folders and docs can be marked for batch operation 2022-08-24 07:57:14 +02:00
Uwe Steinmann
9f34304a41 remove spaces in empty lines 2022-08-24 07:55:10 +02:00
Uwe Steinmann
93ade78deb pass list of marked docs/folders to view 2022-08-24 07:54:04 +02:00
Uwe Steinmann
9c333447b2 show text of doc status in lists on large displays 2022-08-23 12:48:13 +02:00
Uwe Steinmann
dc7cf3ce86 remove duplicate export form 2022-08-23 08:30:27 +02:00
Uwe Steinmann
eb1034d1cc allow wide modal boxes to be 642px height which is enough for an iframe with 600px height 2022-08-19 15:37:12 +02:00
Uwe Steinmann
3a9abc5009 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-19 15:01:04 +02:00
Uwe Steinmann
e827a6c2d7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-08-19 15:00:50 +02:00
Uwe Steinmann
208fb91788 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-08-19 15:00:40 +02:00
Uwe Steinmann
2eeb3771ee add missing translation 2022-08-19 15:00:23 +02:00
Uwe Steinmann
d2a3ca301c fix import of extension from repository 2022-08-19 14:50:25 +02:00
Uwe Steinmann
4bbf6ddecf output additional filters only if attributes exists 2022-08-19 10:06:27 +02:00
Uwe Steinmann
fe419f4857 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-19 08:40:11 +02:00
Uwe Steinmann
4eef2bd0b0 allow to change owner of folders, change owner only possible of search returned hits 2022-08-18 20:41:11 +02:00
Uwe Steinmann
20ac984a64 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-18 18:46:07 +02:00
Uwe Steinmann
e1aaf3a7b8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-08-18 18:45:09 +02:00
Uwe Steinmann
fef53d3bc9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-08-18 18:44:53 +02:00
Uwe Steinmann
377498b934 update translations 2022-08-18 18:44:34 +02:00
Uwe Steinmann
90ab728c6c add indonesian 2022-08-18 18:42:57 +02:00
Uwe Steinmann
966a6eb976 add batch operation to change owner 2022-08-18 18:40:51 +02:00
Uwe Steinmann
cac7608e0b backport export of search result from 6.0.x 2022-08-18 13:49:27 +02:00
Uwe Steinmann
751918ef17 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-18 13:21:53 +02:00
Uwe Steinmann
bfaf43c6e9 sync code with seeddms6 (no functional changes) 2022-08-18 13:18:00 +02:00
Uwe Steinmann
8c12ecd0b2 add fold marks 2022-08-18 13:05:02 +02:00
Uwe Steinmann
6211976f3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-18 10:13:08 +02:00
Uwe Steinmann
d40a88125d add margin bottom to accordion 2022-08-18 10:12:41 +02:00
Uwe Steinmann
73d748a025 move export below search button 2022-08-18 10:08:28 +02:00
Uwe Steinmann
e5057d8223 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-18 10:04:00 +02:00
Uwe Steinmann
540d2fbab9 add changes for 5.1.27 2022-08-18 10:02:53 +02:00
Uwe Steinmann
475ba8fbfb use conversion mgr for creating previews 2022-08-18 10:02:13 +02:00
Uwe Steinmann
6d9cc4039b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-18 09:25:13 +02:00
Uwe Steinmann
256a8ec6ca add changes for 5.1.27 2022-08-18 08:38:50 +02:00
Uwe Steinmann
0344ad0c80 open accordion if a filter parameter is set 2022-08-18 08:38:09 +02:00
Uwe Steinmann
ec570c9ba4 add parameter to printAccordion() in order to open/close it 2022-08-18 08:37:25 +02:00
Uwe Steinmann
f12a9094db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-17 20:53:41 +02:00
Uwe Steinmann
93844fadbc fix translation, add title to 'list documents' icon 2022-08-17 20:53:08 +02:00
Uwe Steinmann
64a11add81 allow to delete own processes 2022-08-17 20:52:48 +02:00
Uwe Steinmann
365661afb8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-16 17:06:45 +02:00
Uwe Steinmann
4f1bb55a89 use '/folder' instead of '/folder/' 2022-08-16 17:06:07 +02:00
Uwe Steinmann
f3e7d04674 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-12 10:55:37 +02:00
Uwe Steinmann
196f6f7658 add ':' after err msg 2022-08-12 10:54:22 +02:00
Uwe Steinmann
a0db4bcc6d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-08-12 10:53:32 +02:00
Uwe Steinmann
99f28f0cfc link behind logo in header can be set in extension 2022-08-12 10:40:54 +02:00
Uwe Steinmann
fdc7aa5ab7 drag&drop handler can call function after upload 2022-08-11 17:47:28 +02:00
Uwe Steinmann
db3fcbaaab add changes for 5.1.27 2022-08-11 07:59:16 +02:00
Uwe Steinmann
3c5a11fa08 set default for currenttab 2022-08-09 15:54:48 +02:00
Uwe Steinmann
d02f813205 add tabs above folder content 2022-08-09 15:54:12 +02:00
Uwe Steinmann
b54eb4dc61 return true in case of succees 2022-08-09 15:53:05 +02:00
Uwe Steinmann
e31c532c68 get rid of old code, use actions for 'version' and 'file' 2022-08-05 13:32:46 +02:00
Uwe Steinmann
014bcc009d first check if parameter 'action' is set, return false if preRun fails 2022-08-01 12:43:56 +02:00
Uwe Steinmann
5378d6e7d9 pass class name to preRun, invoke() returns false if preRun fails 2022-08-01 12:11:51 +02:00
Uwe Steinmann
59d24bde03 split run() into seperate methods() 2022-08-01 12:11:10 +02:00
Uwe Steinmann
ce084ccd45 add changes for 5.1.27 2022-07-29 21:45:42 +02:00
Uwe Steinmann
54d802b36a do not call run() but use __invoke() 2022-07-29 21:44:04 +02:00
Uwe Steinmann
4179a0398f set title of document/folder delete button 2022-07-29 21:43:43 +02:00
Uwe Steinmann
1051f669f4 create request 2022-07-29 21:41:43 +02:00
Uwe Steinmann
8b75ffaea1 call hook preRun and check result 2022-07-29 21:41:12 +02:00
Uwe Steinmann
718d922950 make some methods public 2022-07-29 21:40:32 +02:00
Uwe Steinmann
8ceb8d1e6a get action from request, run hook preRun and check for return value 2022-07-29 21:37:59 +02:00
Uwe Steinmann
1cce969ba7 pass request to controller 2022-07-29 21:36:40 +02:00
Uwe Steinmann
7bf671c20a pass request to view 2022-07-29 21:36:22 +02:00
Uwe Steinmann
507d47869f initial support for setting verbosity 2022-07-28 21:11:29 +02:00
Uwe Steinmann
b3cb5de21f output overall stats of added, updated, unchanged docs and folders 2022-07-28 11:59:27 +02:00
Uwe Steinmann
3a4220fe18 check if exists 2022-07-28 11:43:15 +02:00
Uwe Steinmann
9a0992751d fix parameters for validate() 2022-07-27 09:37:58 +02:00
Uwe Steinmann
c21467a24d pass flag $new=true to validate() 2022-07-27 09:32:59 +02:00
Uwe Steinmann
87a9db64f8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-27 09:25:53 +02:00
Uwe Steinmann
1f6a509876 set flag $new when calling validate() 2022-07-27 09:24:59 +02:00
Uwe Steinmann
b8fd313e2d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-26 14:33:23 +02:00
Uwe Steinmann
85c190aad2 add changes for 6.0.20 2022-07-26 14:32:34 +02:00
Uwe Steinmann
995f7a5bad propperly get workflow log 2022-07-26 13:39:46 +02:00
Uwe Steinmann
29ec6ff2c9 run invoke instead of run() 2022-07-26 11:57:45 +02:00
Uwe Steinmann
6421aa94ed pass array passed to __invoke() to hooks preRun and postRun 2022-07-26 11:33:12 +02:00
Uwe Steinmann
525eea082c depend on symfony/http-foundation 2022-07-26 11:31:36 +02:00
Uwe Steinmann
6557d2edc9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-15 15:31:52 +02:00
Uwe Steinmann
607dcc41b9 skip internal conversion service for images if imagick extension is missing 2022-07-15 15:27:15 +02:00
Uwe Steinmann
3e45d6a13f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-15 12:10:15 +02:00
Uwe Steinmann
9fcebb898a finally got rid of ancient method sanitizeString() 2022-07-15 09:32:58 +02:00
Uwe Steinmann
502ea86d8d fix merge error 2022-07-08 18:49:02 +02:00
Uwe Steinmann
418c42ae59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-08 18:46:17 +02:00
Uwe Steinmann
c31d12b44c set splash message 2022-07-08 13:17:27 +02:00
Uwe Steinmann
5c4ae08b4a sync with RemoveFolder 2022-07-08 13:17:02 +02:00
Uwe Steinmann
be2ed2f061 fix some comments and variable names 2022-07-08 13:16:40 +02:00
Uwe Steinmann
ca2739b96e add hooks folderRowAction and documentRowAction 2022-07-07 16:47:42 +02:00
Uwe Steinmann
fac375a371 do not use callHook() because the return value of the last hook must be passed to the next hook 2022-07-07 16:47:21 +02:00
Uwe Steinmann
16cdb8a323 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-07-06 14:01:30 +02:00
Uwe Steinmann
53db4c2d3a add changes for 5.1.27 2022-07-06 09:21:17 +02:00
Uwe Steinmann
96ef457183 first create a list of action buttons and then render it in documetListRow 2022-07-06 09:20:44 +02:00
Uwe Steinmann
d47e2377bb do not explode() attrtype and objtype, if an array is needed it can be set in conf.php 2022-07-06 09:16:47 +02:00
Uwe Steinmann
dd8f1b7a8e fix SeedDMS_Core_DMS::addAttributeDefinition() when objtype is 0 2022-07-06 09:15:12 +02:00
Uwe Steinmann
0799f908f1 remove old get_magic_quotes code 2022-07-01 09:51:30 +02:00
Uwe Steinmann
f8b78c7212 include vendor/autoload.php after setting include path 2022-07-01 09:50:37 +02:00
Uwe Steinmann
d991978144 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-28 17:42:10 +02:00
Uwe Steinmann
65801f1181 start version 5.1.27 2022-06-28 17:08:45 +02:00
Uwe Steinmann
40bd123fe3 Merge branch 'seeddms-5.1.x' 2022-06-27 17:01:18 +02:00
Uwe Steinmann
2bc5b26175 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-22 22:13:50 +02:00
Uwe Steinmann
a51a068e28 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-06-22 22:13:36 +02:00
Uwe Steinmann
611e9e7006 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-06-22 22:13:24 +02:00
Uwe Steinmann
42a3859a26 various language updates 2022-06-22 22:13:14 +02:00
Uwe Steinmann
7deddf8f4e set role to button for each nav-item 2022-06-22 16:48:26 +02:00
Uwe Steinmann
2c42fd6a23 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-22 16:45:48 +02:00
Uwe Steinmann
c9e61ccf30 set role to button for each nav-item 2022-06-22 16:45:37 +02:00
Uwe Steinmann
6b5826ded4 check if totalreceipts != 0 2022-06-17 20:10:34 +02:00
Uwe Steinmann
dee7977016 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-16 17:07:21 +02:00
Uwe Steinmann
23c6a6b5d9 allow ext/*/node_modules 2022-06-16 12:45:56 +02:00
Uwe Steinmann
d3e6cecaa7 do not call hook documentNavigationBar with callHook, but iterate over hookObjs 2022-06-16 12:44:53 +02:00
Uwe Steinmann
c3f5a637f6 getHookObjects() takes parent classes into account 2022-06-16 12:43:50 +02:00
Uwe Steinmann
199f26703c set default of $class to 'Style' 2022-06-16 12:42:53 +02:00
Uwe Steinmann
573fe293ac better layout of footer, especially of disclaimer is turned off 2022-06-10 16:44:11 +02:00
Uwe Steinmann
8bc93eac03 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-10 08:53:18 +02:00
Uwe Steinmann
9eae4c4863 make getConfigDir() public, because it is used in install/install.php 2022-06-10 08:51:33 +02:00
Uwe Steinmann
7a7fca84b4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-09 16:56:06 +02:00
Uwe Steinmann
6e6851d165 fix upload with fine-uploader 2022-06-09 16:00:38 +02:00
Uwe Steinmann
89c6dc580a fix query if rootFolder or startFolder is set 2022-06-09 15:18:53 +02:00
Uwe Steinmann
12e9a803bc set cmd and mimetype in returned json data in case of an error when indexing a document/folder 2022-06-09 12:44:17 +02:00
Uwe Steinmann
6af82069e8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-09 09:04:17 +02:00
Uwe Steinmann
83fa62a386 add imagick to list of required php extensions, sqlite -> sqlite3 2022-06-08 16:08:18 +02:00
Uwe Steinmann
3dd4fb145b add mimetype as title attribute in folder listing 2022-06-08 16:05:39 +02:00
Uwe Steinmann
6cb9556e87 add entry for 5.1.26 2022-06-08 15:53:26 +02:00
Uwe Steinmann
0d5a1ba3c7 rawurlencode path of files and folders 2022-06-08 15:52:27 +02:00
Uwe Steinmann
821d9b1470 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-08 11:21:19 +02:00
Uwe Steinmann
82e25025ab add entry for 5.1.26 2022-06-07 17:45:16 +02:00
Uwe Steinmann
4f995dcd23 set propper date value in custom date fields 2022-06-07 17:44:42 +02:00
Uwe Steinmann
4762b06741 fix validating custom attribute of type 'date' 2022-06-07 17:43:59 +02:00
Uwe Steinmann
38dd38d7c6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-06-02 17:37:21 +02:00
Uwe Steinmann
249e42f956 remove colon after name of config vars 2022-06-01 15:02:00 +02:00
Uwe Steinmann
dc4c26916b add request uri to start line of sql log 2022-06-01 15:01:38 +02:00
Uwe Steinmann
6254c8a41a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-31 20:05:59 +02:00
Uwe Steinmann
fce2ba2bd7 fix getLongReadableDate() 2022-05-31 20:05:38 +02:00
Uwe Steinmann
490fe09390 add changes for 6.0.19 2022-05-31 14:27:28 +02:00
Uwe Steinmann
a91003d5fa do not include bootbox.min.js 2022-05-31 14:27:05 +02:00
Uwe Steinmann
7ba81f50e3 fix deletion of task when using bootstrap4 theme 2022-05-31 14:25:23 +02:00
Uwe Steinmann
c6470efc6f fix deleting a document by clicking on the icon in the document list 2022-05-31 14:24:45 +02:00
Uwe Steinmann
d2c680280b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-30 17:48:18 +02:00
Uwe Steinmann
6d5d1a7703 check if IndexedDocument() set error msg, call right hook after indexing document 2022-05-30 13:07:30 +02:00
Uwe Steinmann
6179e517b2 add changes for 5.1.26 2022-05-30 09:41:12 +02:00
Uwe Steinmann
0d5536f198 add conversion service from tiff, gif to png 2022-05-30 09:41:02 +02:00
Uwe Steinmann
a11bba23e4 check if logger is set before using it 2022-05-30 09:15:08 +02:00
Uwe Steinmann
c52abe7198 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-25 11:34:08 +02:00
Uwe Steinmann
93f6b01c7f do not allow to set revision date if document status is 'in revision' 2022-05-25 11:33:44 +02:00
Uwe Steinmann
ece2eec128 add sqlite to list of required php extensions 2022-05-25 08:19:16 +02:00
Uwe Steinmann
bb75ca5896 add change in 5.1.26 2022-05-24 08:39:54 +02:00
Uwe Steinmann
298f345cea fix clear clipboard link in menu 2022-05-24 08:39:21 +02:00
Uwe Steinmann
4e7fb4a6e9 add btn-sm to remove button, manager cannot remove himself from group 2022-05-23 16:14:04 +02:00
Uwe Steinmann
d641a8d2ed Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-23 09:34:55 +02:00
Uwe Steinmann
a1f2ecf22d set width of progress bar in % instead of px 2022-05-23 09:34:22 +02:00
Uwe Steinmann
4ffe010d06 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-22 11:15:45 +02:00
Uwe Steinmann
c974c29578 fix setting max upload file size 2022-05-21 19:35:15 +02:00
Uwe Steinmann
332a7b2f3d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-21 19:11:11 +02:00
Uwe Steinmann
56cda2798f add iterm for 5.1.26 2022-05-21 19:10:53 +02:00
Uwe Steinmann
218934fea6 make sendFileToServer() and createStatusbar() public, add getMaxFileSize() and getMaxFileSizeMsg() 2022-05-21 19:10:06 +02:00
Uwe Steinmann
4483b21d05 use a instead of button from .btn-file, because firefox submits the form when clicking on it 2022-05-21 19:06:59 +02:00
Uwe Steinmann
bf5aedf1b5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-21 11:19:23 +02:00
Uwe Steinmann
80799aa1d4 add changes for 5.1.26 2022-05-21 11:04:48 +02:00
Uwe Steinmann
1f6a3c7f77 add list of notifications to debug menu 2022-05-21 11:00:16 +02:00
Uwe Steinmann
987cc5d164 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-21 10:59:30 +02:00
Uwe Steinmann
cb18ea8756 add list of notification services 2022-05-21 10:59:08 +02:00
Uwe Steinmann
f852ae0827 log type of receiver 2022-05-21 10:58:22 +02:00
Uwe Steinmann
369dc80110 log type of receiver 2022-05-21 10:57:50 +02:00
Uwe Steinmann
eb4b28ea8c fix php warnings and propperly handle failure of cancelCheckout() 2022-05-20 17:40:04 +02:00
Uwe Steinmann
20b03dcbe0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-20 13:54:01 +02:00
Uwe Steinmann
c8b7eea3cf add change for 5.1.26 2022-05-20 12:32:31 +02:00
Uwe Steinmann
af93db836e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-20 12:31:25 +02:00
Uwe Steinmann
649fcbbc8b add all custom attributes of type date to calendar 2022-05-20 12:05:04 +02:00
Uwe Steinmann
8f6402c51f extension config can filter attributes by type 2022-05-20 12:04:24 +02:00
Uwe Steinmann
f718f565ff SeedDMS_Core_DMS::getAllAttributeDefinitions() has second parameter to filter attributes by type 2022-05-20 12:03:47 +02:00
Uwe Steinmann
1b15008870 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-19 19:26:19 +02:00
Uwe Steinmann
55126a689b add optional parameter $op to SeedDMS_Core_AttributeDefinition::getObjects(), SeedDMS_Core_AttributeDefinition::getObjects() will not filter by value if null is passed 2022-05-19 19:23:10 +02:00
Uwe Steinmann
ecc70bc99a make progress bar a block for better positioning of popup box 2022-05-19 08:07:32 +02:00
Uwe Steinmann
afddc5a4d6 remove spaces when showing content of popup box 2022-05-19 08:05:47 +02:00
Uwe Steinmann
f306c186cf set line-height, max-width, white-space of popupbox 2022-05-19 08:05:24 +02:00
Uwe Steinmann
cc341f6ed3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-17 08:20:16 +02:00
Uwe Steinmann
c9d6d840d9 use preview converters or conversion mgr 2022-05-17 07:51:17 +02:00
Uwe Steinmann
1ae35ca6ad do not show debug menu if all items are inaccessible 2022-05-17 07:45:05 +02:00
Uwe Steinmann
983af33300 use conversion mgr 2022-05-17 07:43:43 +02:00
Uwe Steinmann
49a1b33df4 check extension dependency on shell commands 2022-05-16 15:54:04 +02:00
Uwe Steinmann
9b07f6e943 pass logger to fulltextservice 2022-05-16 15:45:23 +02:00
Uwe Steinmann
30c2b8a493 do not set orderby when clicking on link in sidebar as it is undefined anyway 2022-05-13 17:53:38 +02:00
Uwe Steinmann
9a76df52bd fix documentation of execute() methods 2022-05-13 07:27:24 +02:00
Uwe Steinmann
307b524d11 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-12 17:35:36 +02:00
Uwe Steinmann
395e60ca71 logger can be set 2022-05-12 09:03:27 +02:00
Uwe Steinmann
c8ec7d70f0 set logger and add option to turn it off again 2022-05-12 09:02:24 +02:00
Uwe Steinmann
dfedd201dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-10 18:33:41 +02:00
Uwe Steinmann
38ac4e6005 add changes for 5.1.16 2022-05-09 15:27:46 +02:00
Uwe Steinmann
9522d38cfb fix editing of custom attributes of type date 2022-05-09 15:27:19 +02:00
Uwe Steinmann
3388a14793 fix line indenting 2022-05-09 15:26:45 +02:00
Uwe Steinmann
92ce4ff1bc add more types to getStatisticalData() 2022-05-09 15:22:35 +02:00
Uwe Steinmann
6fd868c5a7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-09 10:03:03 +02:00
Uwe Steinmann
2b6a68cc28 restrict operation on selected documents 2022-05-09 09:58:05 +02:00
Uwe Steinmann
2aa67b93a0 handle case when certain docs are passed to removefromprocesses 2022-05-09 09:55:48 +02:00
Uwe Steinmann
70114bbd30 if documents are paѕsed to __removeFromProcesses(), only the latest version will be updated 2022-05-09 09:54:33 +02:00
Uwe Steinmann
c9e93c329c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-06 16:39:02 +02:00
Uwe Steinmann
05092f6943 add entry for 5.1.26 2022-05-06 12:54:42 +02:00
Uwe Steinmann
d234673748 add hook additionalDocumentContentInfo 2022-05-06 12:54:11 +02:00
Uwe Steinmann
dbb2340269 backport assigning processes to other user 2022-05-06 09:54:55 +02:00
Uwe Steinmann
5950be6292 backport __removeFromProcesses from 6.0.x 2022-05-06 09:52:00 +02:00
Uwe Steinmann
87fe831973 removeFromProcesses() will not touch documents for which the new user does not have at least read access 2022-05-05 11:03:28 +02:00
Uwe Steinmann
5dab792dba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-03 18:22:14 +02:00
Uwe Steinmann
c4f9fa8c08 pass conversion mgr to view 2022-05-03 18:22:03 +02:00
Uwe Steinmann
21989fadbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-03 18:19:51 +02:00
Uwe Steinmann
99d1d1455c use conversion manager 2022-05-03 18:14:50 +02:00
Uwe Steinmann
17d1f2bffe fix checks in __removeFromProcesses() 2022-05-03 16:45:21 +02:00
Uwe Steinmann
7c1c81f7fc addRevisor and addRecipient return id of log entry 2022-05-03 16:44:43 +02:00
Uwe Steinmann
bef41ad838 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-05-03 08:13:36 +02:00
Uwe Steinmann
da17e00422 place submit button outside of content container 2022-05-03 06:43:10 +02:00
Uwe Steinmann
49842f9728 readd hook actionMenu 2022-05-03 06:42:25 +02:00
Uwe Steinmann
939a7dbce2 use require_once instead of include 2022-05-02 22:11:29 +02:00
Uwe Steinmann
e67dce277e make getLongReadableDate() behave like getReadableDate() 2022-05-02 11:45:32 +02:00
Uwe Steinmann
52fbe0128f use small button to remove link 2022-05-01 15:08:58 +02:00
Uwe Steinmann
637c9279aa make iframe height = 1.41 time width 2022-05-01 15:08:35 +02:00
Uwe Steinmann
bfc436b5f0 set overflow: hidden for legend 2022-05-01 15:02:26 +02:00
Uwe Steinmann
b412f113bf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-30 15:55:29 +02:00
Uwe Steinmann
e20d7a21f8 output number of folders/docs only if not 0 2022-04-30 15:55:19 +02:00
Uwe Steinmann
7370eebba7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-30 15:52:31 +02:00
Uwe Steinmann
b5120113f7 fix status column of folder 2022-04-30 15:52:18 +02:00
Uwe Steinmann
d13f37cfec Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-30 14:58:41 +02:00
Uwe Steinmann
50c4931834 fix font-size of status column, use icons for folder count in status column 2022-04-30 14:58:28 +02:00
Uwe Steinmann
49c2e54e94 add missing status to getOverallStatusIcon() 2022-04-30 14:50:08 +02:00
Uwe Steinmann
8c43c709b0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-30 14:40:20 +02:00
Uwe Steinmann
5cd7dbec89 - move folder status column into own method 2022-04-30 14:39:49 +02:00
Uwe Steinmann
bcd15517eb make setViewOnlineFileTypesFromString() and setEditOnlineFileTypesFromString() public 2022-04-30 14:19:56 +02:00
Uwe Steinmann
16c560d549 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-30 14:11:51 +02:00
Uwe Steinmann
2194c92801 - use more icons in status column of document/folder list, fix getReadableDate() 2022-04-30 14:10:51 +02:00
Uwe Steinmann
8907c2f20a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-29 18:32:59 +02:00
Uwe Steinmann
af6f48db48 use new method getMaximumUploadSize() 2022-04-29 18:30:46 +02:00
Uwe Steinmann
9d2dd94662 readd space below navigation 2022-04-29 18:30:21 +02:00
Uwe Steinmann
03cc220380 getReadableDate() returns empty string if emptry string or null is passed 2022-04-29 18:29:17 +02:00
Uwe Steinmann
8d4492164d add method getMaximumUploadSize(), make various methods protected 2022-04-29 18:27:49 +02:00
Uwe Steinmann
e383434a3d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-29 07:06:58 +02:00
Uwe Steinmann
1aa52e3164 add CVE numbers 2022-04-29 07:06:33 +02:00
Uwe Steinmann
b854d64757 fix merge errors 2022-04-29 07:04:52 +02:00
Uwe Steinmann
2014eae334 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-28 16:03:00 +02:00
Uwe Steinmann
8d7791a0c5 do not underline a.accordion2-toggle 2022-04-28 13:31:48 +02:00
Uwe Steinmann
1916147d43 undo fixed menubars to head 2022-04-28 13:30:40 +02:00
Uwe Steinmann
8b4fc459ab fix validating multi value attributes 2022-04-28 13:29:44 +02:00
Uwe Steinmann
34c7132847 translate '2_factor_auth' 2022-04-27 21:35:45 +02:00
Uwe Steinmann
c8bca55368 getFormData() can handle undefined data 2022-04-27 12:30:15 +02:00
Uwe Steinmann
e5755d593f update to bootstrap 4.6.1, make navigation, breadcrumbs fixed to top, add new printAccordion2() method 2022-04-26 18:50:22 +02:00
Uwe Steinmann
24146db478 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-25 10:19:40 +02:00
Uwe Steinmann
b9a993c2b3 start new version 5.1.26 2022-04-25 10:12:37 +02:00
Uwe Steinmann
da94f54294 start new version 5.1.25 2022-04-25 10:12:09 +02:00
Uwe Steinmann
6c3ecaf9a1 Merge branch 'seeddms-5.1.x' 2022-04-22 13:14:19 +02:00
Uwe Steinmann
15182713ea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-19 18:37:52 +02:00
Uwe Steinmann
dd37e509b9 make printAccordion() public 2022-04-19 18:37:41 +02:00
Uwe Steinmann
7c29d1d4e8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-19 18:12:38 +02:00
Uwe Steinmann
24c02b77f4 add item for 5.1.25 2022-04-19 18:12:13 +02:00
Uwe Steinmann
4bfe18a7de fix check of extension available from repos 2022-04-19 18:11:24 +02:00
Uwe Steinmann
58e8306bb4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-19 14:14:50 +02:00
Uwe Steinmann
5ec682592e add title to button for showing changelog 2022-04-19 11:23:17 +02:00
Uwe Steinmann
31bcd5d9bf more access restrictions on files in extensions 2022-04-19 11:02:27 +02:00
Uwe Steinmann
eca2701da1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-14 17:01:34 +02:00
Uwe Steinmann
612a6d1473 pass 'add' or 'update' to hook 'addDocumentContentFile' 2022-04-14 17:00:44 +02:00
Uwe Steinmann
0198955905 add new hook cleanUpDocument 2022-04-14 16:59:42 +02:00
Uwe Steinmann
9cab1880a7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-12 13:26:03 +02:00
Uwe Steinmann
7a0f2a784e add more extension in get_extension() 2022-04-12 08:14:53 +02:00
Uwe Steinmann
202e607959 include files with require_once, check if $settings are set already 2022-04-12 07:15:56 +02:00
Uwe Steinmann
b558844841 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-08 12:44:34 +02:00
Uwe Steinmann
ad0f3b2cfe better error checking if conversion fails 2022-04-08 12:44:10 +02:00
Uwe Steinmann
91a081325d add commands to convert message/rfc822 to pdf 2022-04-08 07:25:49 +02:00
Uwe Steinmann
3a8ab4286c add expiring documents to calendar 2022-04-08 06:51:40 +02:00
Uwe Steinmann
f235a8b8d8 add item for 5.1.25 2022-04-07 18:18:43 +02:00
Uwe Steinmann
1a9825f999 add expired docs in the future 2022-04-07 18:18:09 +02:00
Uwe Steinmann
b48318d1da Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-07 14:39:21 +02:00
Uwe Steinmann
f1e200ad83 use new method getLogger() 2022-04-07 14:38:49 +02:00
Uwe Steinmann
de31db0bec add new method getLogger() 2022-04-07 14:38:32 +02:00
Uwe Steinmann
b177e77389 addEvent() returns new event 2022-04-07 13:57:49 +02:00
Uwe Steinmann
f8ac9090fb add optional parameter to getWorkflow() to retrieve data from tblWorkflowDocumentContent 2022-04-06 19:54:46 +02:00
Uwe Steinmann
d80d1be9de include inc.ClassAccessOperation.php because it is need at many places and the back button of the ErrorDlg works again 2022-04-04 08:42:26 +02:00
Uwe Steinmann
f24330740a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-04-04 08:26:51 +02:00
Uwe Steinmann
1e0172dd8f move workflow protocol on workflow tab 2022-04-02 11:07:31 +02:00
Uwe Steinmann
d90b01111e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-31 06:53:21 +02:00
Uwe Steinmann
38ea04c20d fix sql in getEventsInInterval() if user is taken into account 2022-03-31 06:52:27 +02:00
Uwe Steinmann
f0e05463af make methods public, add methods getUser() and setUser() 2022-03-31 06:48:32 +02:00
Uwe Steinmann
43fe015049 add task to informa about upcoming events 2022-03-31 06:48:05 +02:00
Uwe Steinmann
6f4a1bab68 make methods public, add methods getUser() and setUser() 2022-03-31 06:36:48 +02:00
Uwe Steinmann
7a1836d33a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-30 11:39:47 +02:00
Uwe Steinmann
e483796c85 add field to filter user list 2022-03-30 11:36:35 +02:00
Uwe Steinmann
687d7eb0dd add entry for 6.0.18 2022-03-28 21:34:48 +02:00
Uwe Steinmann
9e92524fdb escape role name to prevent xss attack 2022-03-28 21:33:48 +02:00
Uwe Steinmann
ef0f9cfc46 add entry for 5.1.25 2022-03-28 19:11:38 +02:00
Uwe Steinmann
78e701d585 date can be passed to AddEvent 2022-03-28 19:11:00 +02:00
Uwe Steinmann
fe03d58100 adjust colors and title of event 2022-03-28 19:10:45 +02:00
Uwe Steinmann
58de462ff5 show user who has created event 2022-03-28 19:10:03 +02:00
Uwe Steinmann
2134754e91 show only events of logged in user unless it is admin 2022-03-28 19:09:02 +02:00
Uwe Steinmann
283d051d3a initial code to check for upcomming events in calendar 2022-03-28 17:36:20 +02:00
Uwe Steinmann
988dc9deff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-28 08:31:40 +02:00
Uwe Steinmann
b8924666b6 ensure log file ends with .log 2022-03-27 17:03:36 +02:00
Uwe Steinmann
d68c922152 fix possible DoS 2022-03-26 18:48:04 +01:00
Uwe Steinmann
f5148c00c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-25 08:44:57 +01:00
Uwe Steinmann
6de426bbc3 call hook 'filenameDownloadItem' in search export and transmittal download 2022-03-25 08:44:32 +01:00
Uwe Steinmann
11942c825d filename can be passed to addItem() 2022-03-25 07:21:37 +01:00
Uwe Steinmann
8d3077cd34 set placeholder of textarea in formField() 2022-03-24 16:09:03 +01:00
Uwe Steinmann
48613b5897 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-23 11:27:53 +01:00
Uwe Steinmann
6fc17be5d9 fix xss attack in DefaultKeywords 2022-03-23 11:27:42 +01:00
Uwe Steinmann
a5a2b877ce add entry for 6.0.18 2022-03-09 16:12:23 +01:00
Uwe Steinmann
b65d940259 move methods for updating, deleting transmittal item into trait, makes it work in bootstrap4 2022-03-09 16:11:43 +01:00
Uwe Steinmann
b88e05fe22 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-09 08:39:34 +01:00
Uwe Steinmann
a7212a0708 read categories and keywords from drag and drop area 2022-03-09 08:39:20 +01:00
Uwe Steinmann
2fa2d33fe9 categories and keywords can be set in uploaddocument 2022-03-09 08:38:19 +01:00
Uwe Steinmann
a4f96c76d6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-07 15:20:24 +01:00
Uwe Steinmann
22b054f764 comment and attributes can passed to document uploaded by drag&drop 2022-03-07 15:19:42 +01:00
Uwe Steinmann
85f7332e06 comment and attributes can be passed to uploaddocument 2022-03-07 15:19:22 +01:00
Uwe Steinmann
1e8da679b5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-04 09:36:00 +01:00
Uwe Steinmann
c5dbe1995d fix possible cross side scripting 2022-03-04 08:27:46 +01:00
Uwe Steinmann
1c4fbbed96 fix php warning in getAttributeEditField() 2022-03-04 08:27:17 +01:00
Uwe Steinmann
4d0b9a6511 start new version 1.0.17 2022-03-04 08:23:49 +01:00
Uwe Steinmann
27b207f4db add note 2022-03-04 08:21:03 +01:00
Uwe Steinmann
8fdc151198 check if passed categories actually exist 2022-03-04 08:20:45 +01:00
Uwe Steinmann
a4afc1cfa7 cast status to int when indexing it 2022-03-04 08:18:30 +01:00
Uwe Steinmann
210f5cb1c4 no need to include inc.ClassEmailNotify.php 2022-03-04 08:17:34 +01:00
Uwe Steinmann
e4fb5d5255 set session to null if login fails to prevent warning when error msg is shown 2022-03-04 08:17:07 +01:00
Uwe Steinmann
fe43b944c9 throw exeption in find() 2022-03-04 08:15:52 +01:00
Uwe Steinmann
8e542b448f include Exception.php 2022-03-04 08:15:38 +01:00
Uwe Steinmann
c83c2c21f4 add note for 5.1.25 2022-03-04 08:14:41 +01:00
Uwe Steinmann
37d49474fd fix searching for document content with a custom attribute having a value set 2022-03-04 08:14:20 +01:00
Uwe Steinmann
10876c6495 check if attribute is a string before using it in an sql statement 2022-03-03 12:45:49 +01:00
Uwe Steinmann
5b5ac45e21 no need to create access restriction class 2022-03-03 12:41:42 +01:00
Uwe Steinmann
a156932843 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-03-03 09:04:47 +01:00
Uwe Steinmann
e107139f1b use backticks in sql statement 2022-03-02 07:42:31 +01:00
Uwe Steinmann
c218f9ab29 fix line indenting 2022-03-02 07:42:15 +01:00
Uwe Steinmann
c355fecc8b set _public to a bool value, used to be int 2022-03-02 07:37:58 +01:00
Uwe Steinmann
bc0e03c6c6 set default value of setDate() to null 2022-03-02 07:37:20 +01:00
Uwe Steinmann
313f518548 add isType() for links and files, set _public to a bool value 2022-03-02 07:36:16 +01:00
Uwe Steinmann
54fb986a59 rename getApproversList() to __getApproversList(), it's deprecated 2022-03-02 07:35:24 +01:00
Uwe Steinmann
1e5930fb98 fix line indenting 2022-03-02 07:34:32 +01:00
Uwe Steinmann
fc71efe437 enhance description of addAccess() 2022-03-02 07:34:12 +01:00
Uwe Steinmann
c810e99a6b use backticks in sql statement 2022-03-02 07:32:05 +01:00
Uwe Steinmann
fc44fdf537 fix second parameter passed to setDefaultAccess() 2022-03-02 07:31:25 +01:00
Uwe Steinmann
0652faf7c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-26 14:16:53 +01:00
Uwe Steinmann
2d6c1d635b add onPostRemoveAttribute callback 2022-02-26 14:15:06 +01:00
Uwe Steinmann
8052b76165 set ETag 2022-02-25 19:14:54 +01:00
Uwe Steinmann
eca5f3608f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-25 18:38:09 +01:00
Uwe Steinmann
3ad44fac0b pass old value to onPostUpdateAttribute callback 2022-02-25 18:38:00 +01:00
Uwe Steinmann
dafa4813c1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-25 12:34:07 +01:00
Uwe Steinmann
c9fae356b3 add callbacks on onPostUpdateAttribute and onPostAddAttribute 2022-02-25 12:31:57 +01:00
Uwe Steinmann
efc724e773 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2022-02-25 08:06:44 +01:00
Uwe Steinmann
554d8523dc Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2022-02-25 08:06:33 +01:00
Uwe Steinmann
2b9431ebb2 some new phrases 2022-02-25 08:06:17 +01:00
Uwe Steinmann
b747cc4224 extensions cannot be disabled/enabled if configuration file is not writeable 2022-02-25 08:04:10 +01:00
Uwe Steinmann
7da6cabafa add build file for phing 2022-02-25 07:46:05 +01:00
Uwe Steinmann
ad9566b36f do not need daverandom/resume 2022-02-25 07:45:37 +01:00
Uwe Steinmann
b64ee6012c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-24 08:18:58 +01:00
Uwe Steinmann
ff49e2b31f make large modal box wider 2022-02-24 08:18:45 +01:00
Uwe Steinmann
95547cf6b8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-24 07:32:15 +01:00
Uwe Steinmann
74b3f896ff do not show class of modal box link if empty 2022-02-24 07:31:57 +01:00
Uwe Steinmann
aa9a30a98a do not include inc.ClassNotificationService.php and inc.ClassEmailNotify.php anymore 2022-02-24 07:29:04 +01:00
Uwe Steinmann
0869e97a1a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-22 17:55:01 +01:00
Uwe Steinmann
1e85c6c5c6 set default value of checkbox with hidden input field 2022-02-22 17:54:08 +01:00
Uwe Steinmann
aa61028f08 set default value of checkbox with hidden input field 2022-02-22 17:53:17 +01:00
Uwe Steinmann
6cac794913 set type of input field for search query to 'search' 2022-02-22 13:16:43 +01:00
Uwe Steinmann
cca363fc0b add entry for 5.1.25 2022-02-22 09:11:06 +01:00
Uwe Steinmann
d4df6796f3 output splash messages when adding, editing, removing an entry 2022-02-22 09:10:04 +01:00
Uwe Steinmann
673bc9ec7d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-21 16:02:48 +01:00
Uwe Steinmann
a8ba048ea9 add entry for 5.1.25 2022-02-21 13:28:45 +01:00
Uwe Steinmann
c945829b80 value for _inheritAccess are true or false 2022-02-21 13:26:57 +01:00
Uwe Steinmann
275e81874a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-21 11:10:56 +01:00
Uwe Steinmann
375c68e8de call getLastWorkflowLog() instead od getWorkflowLog() 2022-02-21 11:10:13 +01:00
Uwe Steinmann
98936632b2 call getLastWorkflowLog() instead of getWorkflowLog() 2022-02-21 11:08:15 +01:00
Uwe Steinmann
830f0258df add note for 6.0.18 2022-02-21 11:07:43 +01:00
Uwe Steinmann
f095e252ad getWorkflowLog() will always return all log entries if document is not in a workflow 2022-02-21 11:05:22 +01:00
Uwe Steinmann
68bb7bcfaf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-21 08:55:01 +01:00
Uwe Steinmann
f9721da684 use SeedDMS_Core_File::fileExtension() in setFileType() 2022-02-21 08:52:59 +01:00
Uwe Steinmann
eb12465fb2 add SeedDMS_Core_File::fileExtension() 2022-02-21 08:52:46 +01:00
Uwe Steinmann
5b244db6a2 backport setFileType() from seeddms 6.0.x 2022-02-21 08:30:32 +01:00
Uwe Steinmann
659cdb4e6c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-21 07:15:01 +01:00
Uwe Steinmann
663dc869f4 fix line indenting 2022-02-21 07:12:01 +01:00
Uwe Steinmann
535a0b1b67 fix line indenting 2022-02-21 07:10:28 +01:00
Uwe Steinmann
0f417a2d7b handle docs in workflow proppeerly in verifyStatus() 2022-02-21 07:10:08 +01:00
Uwe Steinmann
87ee71a1a1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-18 18:15:05 +01:00
Uwe Steinmann
022fdc86b3 update release date 2022-02-18 18:05:05 +01:00
Uwe Steinmann
b914fc3c98 add changes for 5.1.25 2022-02-18 18:04:33 +01:00
Uwe Steinmann
ec1f99229e rename getLastWorkflowTransition() to getLastWorkflowLow(), returns a log even after the workflow was ended 2022-02-18 18:02:08 +01:00
Uwe Steinmann
cffad48b61 add method descrition for getWorkflowLog() 2022-02-18 18:01:35 +01:00
Uwe Steinmann
d91787bf44 check if !workflow instead of isset(workflow) 2022-02-18 18:00:50 +01:00
Uwe Steinmann
d805de5035 setHomeFolder returns true on success 2022-02-18 18:00:07 +01:00
Uwe Steinmann
cc5d7d1ecd search for document by name in root folder if requested 2022-02-18 17:58:39 +01:00
Uwe Steinmann
1534d2be8e add target unittest 2022-02-17 12:31:22 +01:00
Uwe Steinmann
96933bb30d ensure setRole() is passed an object 2022-02-17 12:30:29 +01:00
Uwe Steinmann
b9c613ff83 handle role in addUser() propperly 2022-02-17 12:29:37 +01:00
Uwe Steinmann
b57dc78e2a replace checks isset(_workflow) with _workflow == null 2022-02-14 11:06:02 +01:00
Uwe Steinmann
f93af56f52 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2022-02-12 19:48:56 +01:00
Uwe Steinmann
b2fd7bb383 add entry for 6.0.18 2022-02-11 11:14:49 +01:00
Uwe Steinmann
3e63f1ffc0 init $ret in setStatus() 2022-02-11 10:56:14 +01:00
Uwe Steinmann
27b5af8ada propperly get workflow log (Closes #522) 2022-02-11 10:55:45 +01:00
Uwe Steinmann
2ad448581a add new parameter 'addon' used by input fields 2022-02-11 07:07:54 +01:00
Uwe Steinmann
7a21fa77b5 add new parameter 'addon' in formField() used by input fields 2022-02-11 07:07:19 +01:00
Uwe Steinmann
fb29402194 allow placeholder for textarea 2022-02-11 07:07:01 +01:00
Uwe Steinmann
82d9a42968 comment old unused code 2022-02-09 08:10:17 +01:00
Uwe Steinmann
35b8b9b703 images can be passed to toIndividual() for adding it to the html part 2022-02-02 21:36:27 +01:00
Uwe Steinmann
aa8eb38560 do not access $settings before loading it 2022-01-31 12:06:19 +01:00
Uwe Steinmann
8b558c7142 take out relodge 2022-01-31 12:05:48 +01:00
Uwe Steinmann
d9d434a7be make it work with 6.0.17 2022-01-31 07:14:52 +01:00
Uwe Steinmann
9889bbe639 make role id an integer 2022-01-20 07:44:31 +01:00
Uwe Steinmann
b7315c501f get id from args in getFolderParent() 2022-01-16 10:58:19 +01:00
Uwe Steinmann
7fc1a62b75 fix error when sending notification after owner change (see 4dda2549c7) 2022-01-05 08:25:57 +01:00
Uwe Steinmann
ea5218ea03 add SeeddmsAjax for running function after updating div.ajax 2022-01-05 08:04:38 +01:00
Uwe Steinmann
22915df3e1 add method documentListRowStatus() 2022-01-05 07:34:51 +01:00
Uwe Steinmann
4dda2549c7 fix error when sending notification after owner change 2022-01-05 07:29:23 +01:00
Uwe Steinmann
a93fdd91c8 remove old code 2022-01-03 19:14:53 +01:00
Uwe Steinmann
84f1afc1d3 use new method folderListHeader() 2022-01-03 19:14:35 +01:00
Uwe Steinmann
cff6b66d1c use new method folderListHeader() 2022-01-03 19:14:13 +01:00
Uwe Steinmann
771b9674cc use new methods to show list of docs/folders 2022-01-03 13:35:12 +01:00
Uwe Steinmann
5c93d53e60 add methods to show list headers and columns of doc/folder lists 2022-01-03 13:29:24 +01:00
Uwe Steinmann
3f0cbc50bd use conversion manager 2021-12-29 12:06:50 +01:00
Uwe Steinmann
3bdb215adf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-17 21:47:07 +01:00
Uwe Steinmann
4efc8226c8 show header of additional preview only if hook returns a text 2021-12-17 21:46:28 +01:00
Uwe Steinmann
056dd8bd09 new css with google fonts 2021-12-17 16:42:58 +01:00
Uwe Steinmann
2b0351325c remove html with $this->formField() 2021-12-17 16:42:40 +01:00
Uwe Steinmann
5e386597c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-15 17:19:23 +01:00
Uwe Steinmann
7e34fa0663 add changes for 5.1.25 2021-12-15 17:17:51 +01:00
Uwe Steinmann
52a9a41d5c add hook documentListPreview 2021-12-15 17:17:23 +01:00
Uwe Steinmann
ad2ea73031 send mail to uploader of a version 2021-12-15 10:28:34 +01:00
Uwe Steinmann
7f61dbbcad new mail body for change of version comment 2021-12-15 10:28:00 +01:00
Uwe Steinmann
5ec5bab294 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-15 08:40:37 +01:00
Uwe Steinmann
97bdb0773d certain fields in configuration can be disabled for editing 2021-12-15 08:39:11 +01:00
Uwe Steinmann
b91745626a add entry for 6.0.18 2021-12-12 13:01:46 +01:00
Uwe Steinmann
7b87cc355d finish running cron jobs via web, result is returned as json 2021-12-12 12:58:42 +01:00
Uwe Steinmann
29a6882106 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-11 14:08:19 +01:00
Uwe Steinmann
3e2fccfcbb start new version 5.1.25 2021-12-11 14:02:24 +01:00
Uwe Steinmann
5ff285c745 start new version 5.1.25 2021-12-11 14:00:22 +01:00
Uwe Steinmann
6fbc6043eb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-10 15:13:42 +01:00
Uwe Steinmann
5e758f2787 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-12-10 14:11:03 +01:00
Uwe Steinmann
63ddbfb664 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-12-10 14:10:52 +01:00
Uwe Steinmann
463ba00cab some new phrases 2021-12-10 14:10:30 +01:00
Uwe Steinmann
92dbaf5e35 add note about better error checking on uploading files 2021-12-09 17:31:02 +01:00
Uwe Steinmann
afb7736f9b check if post request succeeds 2021-12-09 17:30:01 +01:00
Uwe Steinmann
0c888bc9d1 categories are and'ed not or'ed 2021-12-09 10:11:17 +01:00
Uwe Steinmann
3f9a5b8635 add conversion with mutool 2021-12-09 10:09:03 +01:00
Uwe Steinmann
e78c8174d8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-05 07:52:25 +01:00
Uwe Steinmann
6fdd3ea39d index document if max size is 0 2021-12-05 07:52:00 +01:00
Uwe Steinmann
d4f4d5cfcd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-04 17:51:33 +01:00
Uwe Steinmann
f263ec1ac2 init $oldattributes 2021-12-04 17:51:18 +01:00
Uwe Steinmann
f7f0721dba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-04 13:20:08 +01:00
Uwe Steinmann
ccd5bb7d41 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-12-04 13:19:56 +01:00
Uwe Steinmann
028f26b413 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-12-04 13:19:48 +01:00
Uwe Steinmann
468188a61d add some missing phrases 2021-12-04 13:19:20 +01:00
Uwe Steinmann
9821dceab3 add record_type and some facets 2021-12-04 13:18:05 +01:00
Uwe Steinmann
a1b4b3b081 remove duplicate submit button 2021-12-03 20:55:59 +01:00
Uwe Steinmann
f7683f2176 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-03 20:41:14 +01:00
Uwe Steinmann
73398f105e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-12-03 20:41:06 +01:00
Uwe Steinmann
bb65f0ff94 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-12-03 20:40:56 +01:00
Uwe Steinmann
b6793c62f5 some new phrases 2021-12-03 20:40:38 +01:00
Uwe Steinmann
fa946be140 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-03 20:39:13 +01:00
Uwe Steinmann
f24badd9ce move send of notification mail in Notification class, do not inform approvers and reviewers anymore 2021-12-03 19:13:16 +01:00
Uwe Steinmann
897f6ce64b fix indenting of lines 2021-12-03 19:12:53 +01:00
Uwe Steinmann
004af591a9 do not allow to select category if no categories exists 2021-12-03 11:31:37 +01:00
Uwe Steinmann
14d8a1bd91 show date in configured format, skip groups of user if not exsit 2021-12-03 10:49:59 +01:00
Uwe Steinmann
84442d68f0 move submit button at end of form 2021-12-03 10:49:27 +01:00
Uwe Steinmann
368b0fc6a5 do not show workflow tab if workflow was ended 2021-12-03 10:49:04 +01:00
Uwe Steinmann
faf62aaff0 fix php warning 2021-12-03 10:48:47 +01:00
Uwe Steinmann
d9936e30ec add changes for 5.1.24 2021-12-03 09:31:56 +01:00
Uwe Steinmann
489e01d2c6 remove old form validation 2021-12-03 09:31:03 +01:00
Uwe Steinmann
2c182e3d09 add form validation 2021-12-03 09:30:43 +01:00
Uwe Steinmann
c75a9ef455 do not authenticate 2021-12-03 09:30:21 +01:00
Uwe Steinmann
1f2e9496a8 extra error msg if hash is invalid 2021-12-03 09:30:00 +01:00
Uwe Steinmann
6a54f7dac7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-03 07:26:27 +01:00
Uwe Steinmann
bc22043b80 add more changes for 5.1.24 2021-12-03 07:26:05 +01:00
Uwe Steinmann
050aff4798 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-02 22:10:09 +01:00
Uwe Steinmann
9d0b961364 call sendRequestWorkflowActionMail() only if next state was reached 2021-12-02 22:08:50 +01:00
Uwe Steinmann
58434abf10 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-01 16:54:43 +01:00
Uwe Steinmann
7588fb8317 set mail to owner if doc status or owner changed or doc is transfered 2021-12-01 13:06:33 +01:00
Uwe Steinmann
6e124f73f1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-12-01 11:14:22 +01:00
Uwe Steinmann
11dabf2cb0 make jqtree look nice again 2021-12-01 11:13:26 +01:00
Uwe Steinmann
47f77d9d4c send mails to owner of doc only if not logged or in list of notifiers 2021-11-30 17:18:43 +01:00
Uwe Steinmann
b01e2aa666 take out sending mails to owner 2021-11-30 17:17:28 +01:00
Uwe Steinmann
36110a85e7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-29 18:58:53 +01:00
Uwe Steinmann
1e64083faa fix css of jquery tree 2021-11-29 18:58:12 +01:00
Uwe Steinmann
684c316f86 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-29 11:31:26 +01:00
Uwe Steinmann
5ac2e10da5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-11-29 11:31:13 +01:00
Uwe Steinmann
959f348c3e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-11-29 11:31:00 +01:00
Uwe Steinmann
06125b203b minor correction of 'confirm_transfer_link_document' 2021-11-29 11:30:34 +01:00
Uwe Steinmann
9cff7df236 propper icon on buttons of bootbox 2021-11-29 11:22:23 +01:00
Uwe Steinmann
622b7a13bb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-28 08:44:06 +01:00
Uwe Steinmann
91f679ed35 install bootbox 5 2021-11-28 08:43:16 +01:00
Uwe Steinmann
9a80e88553 get bootbox 2021-11-28 08:42:48 +01:00
Uwe Steinmann
f635d0e546 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-27 13:51:15 +01:00
Uwe Steinmann
a5c60677ab install jquery-typeahead 2021-11-27 12:44:00 +01:00
Uwe Steinmann
539b026d5e init $settings->_contentDir to data directory 2021-11-27 12:08:32 +01:00
Uwe Steinmann
f4a4460600 set onePageMode to true 2021-11-27 12:08:10 +01:00
Uwe Steinmann
eae5699bdf get error msg from controller 2021-11-26 14:32:00 +01:00
Uwe Steinmann
ab7cef5666 set workflow mode to 'transitional' 2021-11-26 14:31:38 +01:00
Uwe Steinmann
6ce7cd5858 set error msg if conversion fails 2021-11-26 14:31:13 +01:00
Uwe Steinmann
a5588590ca turn enableLargeFileUpload off 2021-11-26 13:25:36 +01:00
Uwe Steinmann
9ae7a54183 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-26 12:33:35 +01:00
Uwe Steinmann
53e56da09b add target quickstart for building quickstart package with phing 2021-11-26 12:33:08 +01:00
Uwe Steinmann
45d0d0b9d7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-26 12:30:41 +01:00
Uwe Steinmann
29a7a3ff5c lucene is autoloaded by composer 2021-11-26 12:30:10 +01:00
Uwe Steinmann
4ef64199ab Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-26 10:05:24 +01:00
Uwe Steinmann
5347fe3682 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-11-26 10:05:13 +01:00
Uwe Steinmann
230da5ba25 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-11-26 10:05:01 +01:00
Uwe Steinmann
ef49f5b7fe major update of zn_CH translation, minor updates in other languages 2021-11-26 10:04:15 +01:00
Uwe Steinmann
248f11653a allo echo without authentication 2021-11-26 09:43:06 +01:00
Uwe Steinmann
a4bb363799 get total number of hits, some code formating 2021-11-19 13:49:46 +01:00
Uwe Steinmann
f2dbe4c18b pass record_type to view, some code formating 2021-11-19 13:49:07 +01:00
Uwe Steinmann
582a85947f add method getService() 2021-11-19 13:34:55 +01:00
Uwe Steinmann
be2de9cfc1 set cmd to class name of conversion service 2021-11-19 13:34:21 +01:00
Uwe Steinmann
611be01cce Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-17 20:58:16 +01:00
Uwe Steinmann
bb10ff084b replace old form validation with jquery validation 2021-11-17 20:57:42 +01:00
Uwe Steinmann
e6766a3607 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-10 08:35:22 +01:00
Uwe Steinmann
5049169d09 show fulltext search tab if fulltext search was used 2021-11-10 08:33:52 +01:00
Uwe Steinmann
96310c40c2 pass source and source details to controller 2021-11-10 08:33:10 +01:00
Uwe Steinmann
e653817813 pass source details to controller 2021-11-10 08:32:52 +01:00
Uwe Steinmann
efdb37399d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-09 09:34:34 +01:00
Uwe Steinmann
a46549a7b2 propperly eval return of hook addDocumentContentFile 2021-11-09 09:33:54 +01:00
Uwe Steinmann
2558450993 fix line indenting 2021-11-09 09:33:36 +01:00
Uwe Steinmann
25e12c5f5e include Notification.php instead of setting services 2021-11-08 15:54:15 +01:00
Uwe Steinmann
542a6cb045 require basic auth and login as user cli_scheduler 2021-11-08 15:53:43 +01:00
Uwe Steinmann
31fda7e60e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-08 14:36:39 +01:00
Uwe Steinmann
dc8cdb9db9 fix list of documents with workflow action by group 2021-11-08 14:18:13 +01:00
Uwe Steinmann
76dffe2497 use jquery validate 2021-11-08 12:26:13 +01:00
Uwe Steinmann
3d3bee169f add selection of sort field to form 2021-11-08 12:25:34 +01:00
Uwe Steinmann
a0566372f7 add sorting by id in search(), set default to unsorted 2021-11-08 12:25:06 +01:00
Uwe Steinmann
99cc8b5b5d return error msg of extension mgr 2021-11-08 09:01:37 +01:00
Uwe Steinmann
b7b92bcc57 replace rename() by exec('mv ..') 2021-11-08 09:01:15 +01:00
Uwe Steinmann
f727843720 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-04 17:44:14 +01:00
Uwe Steinmann
334639cbb5 fix checking of extensions 2021-11-04 17:43:58 +01:00
Uwe Steinmann
4e5fefa4ba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-04 17:07:36 +01:00
Uwe Steinmann
b6ed28b4ec extension mgr can now cache check result 2021-11-04 17:06:47 +01:00
Uwe Steinmann
de003de613 fix indenting of lines 2021-11-04 17:04:47 +01:00
Uwe Steinmann
ea5a9f499f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-11-03 16:18:06 +01:00
Uwe Steinmann
4abdb104f0 iterate over all service until a working one is found 2021-10-29 19:55:01 +02:00
Uwe Steinmann
29bf7cd062 add spectrum-colorpicker2, new version of flot 2021-10-29 19:28:24 +02:00
Uwe Steinmann
ffb29d7066 install spectrum 2021-10-29 19:27:39 +02:00
Uwe Steinmann
df94bc0c1a add spectrum-colorpicker2, new version of flot 2021-10-29 19:26:28 +02:00
Uwe Steinmann
07f50b4b95 install spectrum 2021-10-29 19:26:06 +02:00
Uwe Steinmann
fdda22b58d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-26 10:16:49 +02:00
Uwe Steinmann
623b1bf0f4 fix cols of formField 'textarea' 2021-10-26 10:16:27 +02:00
Uwe Steinmann
adde8afc84 fix cols of formField 'textarea' 2021-10-26 10:15:21 +02:00
Uwe Steinmann
e40afa452c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-26 08:29:54 +02:00
Uwe Steinmann
f61c79cbf9 add placeholder for httpRoot 2021-10-26 08:01:32 +02:00
Uwe Steinmann
da1bf3fb97 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-26 06:57:49 +02:00
Uwe Steinmann
eaddd31198 hook addDocumentContentFile returns an array of form fields to upload a file 2021-10-25 12:52:13 +02:00
Uwe Steinmann
9260382ef2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-22 09:46:36 +02:00
Uwe Steinmann
c19eed3638 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-10-20 12:27:08 +02:00
Uwe Steinmann
50444f7216 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-10-20 12:26:52 +02:00
Uwe Steinmann
b4096c1aab major polish update, minor updates in other languages 2021-10-20 12:26:00 +02:00
Uwe Steinmann
61a53f8e90 start of week can be passed to datepicker (not used yet) 2021-10-20 07:58:09 +02:00
Uwe Steinmann
ae08602e68 add hook getCspRules() in htmlStartPage() 2021-10-20 07:09:39 +02:00
Uwe Steinmann
359be28912 catch imagemagick exception 2021-10-19 12:18:16 +02:00
Uwe Steinmann
4c8a2496b6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-16 17:46:34 +02:00
Uwe Steinmann
d422927f87 do not pop service from services in convert(), use end() 2021-10-16 17:46:03 +02:00
Uwe Steinmann
b46795cbfe pass conversion mgr to task 2021-10-16 17:44:45 +02:00
Uwe Steinmann
e7303b6371 pass conversion mgr to previewer, list all conversion services 2021-10-16 17:44:11 +02:00
Uwe Steinmann
b2b61eb990 pass conversion mgr to constructor of task 2021-10-16 17:43:42 +02:00
Uwe Steinmann
e9ae9cce34 add conversion from image/svg+xml to png 2021-10-16 16:32:57 +02:00
Uwe Steinmann
0508ccaa1c new version 1.4.0, support for conversion mgr 2021-10-16 16:32:25 +02:00
Uwe Steinmann
54d4ebf872 check for settings.xml in conf dir not just the conf dir 2021-10-16 15:01:30 +02:00
Uwe Steinmann
3cd4763c0e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-15 13:53:55 +02:00
Uwe Steinmann
3a81d22e8b backport addLogLine from 6.0.x 2021-10-15 13:53:16 +02:00
Uwe Steinmann
8e6828e36d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-15 13:50:46 +02:00
Uwe Steinmann
fdfad0ccc8 add parameter '-d tab' to xlsx2csv 2021-10-08 13:11:40 +02:00
Uwe Steinmann
90555f9728 add method getInfo() 2021-10-08 13:11:20 +02:00
Uwe Steinmann
31db5f69fe add extension to temp file, because this is needed for programms like unoconv 2021-10-08 13:10:24 +02:00
Uwe Steinmann
9734d57ff3 rerun filter after toggling an extension 2021-10-08 12:15:37 +02:00
Uwe Steinmann
96bff23919 fix add_log_line() if query string contains '/', log complete path to script 2021-10-08 12:14:42 +02:00
Uwe Steinmann
1d90291032 add fulltext converter 2021-10-08 12:14:05 +02:00
Uwe Steinmann
8d3815d7db add getAdditionalParams(), getInfo(), width and page can be passed to convert() 2021-10-08 12:13:31 +02:00
Uwe Steinmann
43c0f626ea add getAdditionalParams(), getInfo(), width of image can be passed 2021-10-08 12:12:37 +02:00
Uwe Steinmann
306555cd45 add getInfo(), getAdditionalParams() and handle output to stdout 2021-10-08 12:12:00 +02:00
Uwe Steinmann
1813ac32a0 add getAdditionalParams(), convert() returns false 2021-10-08 12:11:10 +02:00
Uwe Steinmann
895c76c42d specify output format in all convert commands 2021-10-08 12:10:23 +02:00
Uwe Steinmann
1737d43cd3 add method getServices() 2021-10-08 10:03:27 +02:00
Uwe Steinmann
48898a67b7 fix rewrite rule for favicon 2021-10-08 10:03:03 +02:00
Uwe Steinmann
a830b18fc3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-06 15:19:14 +02:00
Uwe Steinmann
898943dd6e add new conversion manager and services 2021-10-06 15:03:03 +02:00
Uwe Steinmann
12c79d8773 type of conf vars of extension can be 'number' 2021-10-06 15:01:08 +02:00
Uwe Steinmann
4e8bb56821 add support for new conversion service 2021-10-06 14:59:46 +02:00
Uwe Steinmann
6838c26c5f remove doc from index before indexing it again 2021-10-06 14:58:04 +02:00
Uwe Steinmann
0f9fa74bbe add support for conversion service pass to IndexedDocument() 2021-10-06 14:57:03 +02:00
Uwe Steinmann
6d8dcd8125 fix rewriting for favicon 2021-10-06 14:56:00 +02:00
Uwe Steinmann
1a61a6ca8f fix recursive removal and copying of dirs 2021-10-04 20:26:03 +02:00
Uwe Steinmann
790eef7e84 handle special case size=1 in format_filesize() 2021-10-04 20:24:51 +02:00
Uwe Steinmann
7bac4e730e make fopen() silent in fileSize() 2021-10-04 20:24:02 +02:00
Uwe Steinmann
357c0c1bac fix error in moveFile() 2021-10-04 20:23:17 +02:00
Uwe Steinmann
9c5e5905c9 check if version exists and is not the latest version in removeVersion() 2021-10-04 20:22:21 +02:00
Uwe Steinmann
cd061e8c2f file is removed after cleaning up the database in _removeContent() 2021-10-04 20:21:41 +02:00
Uwe Steinmann
a0b95e8792 check if argument passed to setDefaultAccess() is in valid range 2021-10-04 20:20:45 +02:00
Uwe Steinmann
b5a6ea330b check if argument passed to setOwner() is a user 2021-10-04 20:20:08 +02:00
Uwe Steinmann
fb86b4330c check if passed argument to setFolder() is a folder 2021-10-04 20:17:21 +02:00
Uwe Steinmann
c4380583a9 set M_LOWEST_RIGHT and M_HIGHTEST_RIGHT 2021-10-04 19:13:47 +02:00
Uwe Steinmann
7119b431f8 fix line indenting 2021-10-02 07:35:02 +02:00
Uwe Steinmann
cd08883c55 fix line indenting 2021-10-02 07:34:44 +02:00
Uwe Steinmann
b5ef570ea5 fix method comment 2021-10-02 07:34:18 +02:00
Uwe Steinmann
4913607e84 addGrpReviewer() returns false on sql error 2021-10-02 07:33:37 +02:00
Uwe Steinmann
68a1500ea6 check if date passed to setStatus() is valid 2021-10-02 07:32:49 +02:00
Uwe Steinmann
9ad56c418d set if updateUser passed to setStatus() is a user 2021-10-02 07:31:44 +02:00
Uwe Steinmann
905b2aa621 format class method comment 2021-10-02 07:29:54 +02:00
Uwe Steinmann
0163159c84 new method setMimeType() 2021-10-02 07:29:15 +02:00
Uwe Steinmann
fbf86b0fe6 date passed to setDate() can be string with format Y-m-d H:i:s 2021-10-02 07:28:23 +02:00
Uwe Steinmann
bca394176e cast date to int in constructor of SeedDMS_Core_DocumentContent 2021-10-02 07:27:29 +02:00
Uwe Steinmann
a0d214eac2 add getInheritAccess() as a replacement for inheritsAccess() 2021-10-02 07:26:37 +02:00
Uwe Steinmann
228b891e3a do not clean notify list in setDefaultAccess() if rights are inherited 2021-10-02 07:25:48 +02:00
Uwe Steinmann
7ba418f25a use upper case for sql keywords 2021-10-02 07:24:59 +02:00
Uwe Steinmann
bae7e939a1 fix line indenting 2021-10-02 07:23:23 +02:00
Uwe Steinmann
0260b8dad9 init categories in getCategories() 2021-09-30 15:44:54 +02:00
Uwe Steinmann
1b1e60f88f setName() didn't work due to a copy&paste error 2021-09-30 15:44:08 +02:00
Uwe Steinmann
ef2aaaf32c remove extra space 2021-09-30 07:57:47 +02:00
Uwe Steinmann
77a606cebe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-30 07:56:50 +02:00
Uwe Steinmann
99efcac8bb fix line indenting 2021-09-30 07:52:47 +02:00
Uwe Steinmann
8c3857c6e2 fix indenting of lines 2021-09-30 07:01:22 +02:00
Uwe Steinmann
768631bf55 fix various errors and validation of form 2021-09-29 22:04:59 +02:00
Uwe Steinmann
3487a27f9d make comment required 2021-09-29 21:24:13 +02:00
Uwe Steinmann
43f7a94aa6 remove most of html code to create form 2021-09-29 21:23:51 +02:00
Uwe Steinmann
19266f1647 set return value and new status in verifyStatus() 2021-09-29 18:50:48 +02:00
Uwe Steinmann
2d3ec59c2d fix creation of instance of SeedDMS_AccessOperation 2021-09-29 18:30:06 +02:00
Uwe Steinmann
ab5aec99ba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-29 18:25:54 +02:00
Uwe Steinmann
529efd6baa check for new return values when modifying reviewers and approvers 2021-09-29 17:27:43 +02:00
Uwe Steinmann
6d92be55fb propperly check return value after removing log entry 2021-09-29 17:27:00 +02:00
Uwe Steinmann
7a4e0e8513 propperly change the return value of setReviewByXXX 2021-09-29 17:26:20 +02:00
Uwe Steinmann
7aaa02cf7d propperly check return value of setApprovalByXX 2021-09-29 17:25:24 +02:00
Uwe Steinmann
7e17ea145c set strict_types 2021-09-29 17:24:30 +02:00
Uwe Steinmann
2b1f637e9c adding a review returns the log id not 0 2021-09-29 17:23:59 +02:00
Uwe Steinmann
989572e069 return false not -1 if sql fails 2021-09-29 17:23:03 +02:00
Uwe Steinmann
b9fb7e2585 fix indenting 2021-09-29 17:21:58 +02:00
Uwe Steinmann
335c2ffee5 more documentation, better parameter checking, return false is sql fails 2021-09-29 17:21:19 +02:00
Uwe Steinmann
7366644d19 ensure strict types 2021-09-29 17:16:33 +02:00
Uwe Steinmann
e14ae4b252 add comment 2021-09-29 15:01:07 +02:00
Uwe Steinmann
74035b6fde fix accessing settings 2021-09-29 14:59:28 +02:00
Uwe Steinmann
c8c79175bd order review log by id desc 2021-09-29 14:58:55 +02:00
Uwe Steinmann
43e98643ee verifyStatus() returns new status (or old status if not changed) 2021-09-29 14:55:55 +02:00
Uwe Steinmann
fbe091eaf6 minor fix in method documentation 2021-09-29 14:54:10 +02:00
Uwe Steinmann
1e451529b8 add method dropTemporaryTable() 2021-09-29 14:53:38 +02:00
Uwe Steinmann
8cd08a6f08 fix recreation of temp. table if requested
table was just emptied by not removed
2021-09-29 14:52:22 +02:00
Uwe Steinmann
dc48e5da2c get[Review|Approval]Status takes ttreviewid|ttapproveid into account 2021-09-29 14:50:35 +02:00
Uwe Steinmann
cce3899688 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-28 16:22:56 +02:00
Uwe Steinmann
007e3faa0a various minor changes ported back from SeedDMS 6 2021-09-28 16:20:33 +02:00
Uwe Steinmann
b8763822d0 init possible values of attribute in getStatistic() 2021-09-28 16:19:25 +02:00
Uwe Steinmann
39ec44cd41 sewPwdExpiration() sets date internally not 'now' 2021-09-28 15:46:05 +02:00
Uwe Steinmann
b6a308e630 set default $role='3' in addUser() 2021-09-28 15:44:12 +02:00
Uwe Steinmann
d05a200ed6 add more packages needed for 6.0.x 2021-09-28 11:18:26 +02:00
Uwe Steinmann
8b68402bec Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-28 11:14:26 +02:00
Uwe Steinmann
9b986e16c5 composer.json for distribution 2021-09-28 11:13:40 +02:00
Uwe Steinmann
772f15ce7d add configuration for defaultFolderPosition 2021-09-28 11:13:21 +02:00
Uwe Steinmann
70d250cfea add configuration for defaultFolderPosition 2021-09-28 11:13:05 +02:00
Uwe Steinmann
f6d9b1892e add some more documentation 2021-09-28 11:12:45 +02:00
Uwe Steinmann
0c1a795113 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-28 10:33:44 +02:00
Uwe Steinmann
2b14bb5748 move stopwords.txt away 2021-09-28 10:31:30 +02:00
Uwe Steinmann
84f3e3ef96 add changes for 5.1.24 2021-09-27 16:08:32 +02:00
Uwe Steinmann
5f5d2549ef turn off example extension 2021-09-27 16:03:36 +02:00
Uwe Steinmann
cf30ad5ddd initialize path if not explicitly set in settings.xml 2021-09-27 15:56:50 +02:00
Uwe Steinmann
590fc0c957 turn off example extension 2021-09-27 15:56:33 +02:00
Uwe Steinmann
ff0a08c6a3 remove inc.DBAccess.php and add tests to package 2021-09-27 15:55:52 +02:00
Uwe Steinmann
5fb134f066 remove old logo 2021-09-27 11:23:53 +02:00
Uwe Steinmann
4b25badcf6 remove old styles which hasn't be used for years 2021-09-27 11:22:37 +02:00
Uwe Steinmann
b10241f3f1 replace attribute required by required="required" 2021-09-27 10:26:10 +02:00
Uwe Steinmann
e982737630 run some urls through htmlentities 2021-09-27 10:25:39 +02:00
Uwe Steinmann
145d4021a9 class tags (img, meta, link) with '/>' 2021-09-27 10:23:46 +02:00
Uwe Steinmann
cf4f49e57a more changes in 5.1.24 2021-09-27 10:18:33 +02:00
Uwe Steinmann
6d4f00a137 fix echo test 2021-09-27 10:18:16 +02:00
Uwe Steinmann
28ddd4b5b2 check if passed user is a valid user in setOwner() 2021-09-27 10:13:46 +02:00
Uwe Steinmann
378377780e trim name and check if not empty in setName() 2021-09-27 10:13:00 +02:00
Uwe Steinmann
e36f6ee15c trim email, commen, language, theme before saving in database 2021-09-27 10:12:08 +02:00
Uwe Steinmann
3101d6d952 trim name in setName() 2021-09-27 10:09:42 +02:00
Uwe Steinmann
7a5123aa6c trim name in setName() 2021-09-27 10:09:18 +02:00
Uwe Steinmann
88e0dcc58d check if passed id > 0 in getWorkflow(), getWorkflowAction(), getWorkflowState() 2021-09-27 10:08:20 +02:00
Uwe Steinmann
79bcdb6086 getting category or attributedef. returns null not false if none was found 2021-09-27 10:07:19 +02:00
Uwe Steinmann
84ffa71d24 use upper case for all sql keywords in sql statements 2021-09-27 10:06:07 +02:00
Uwe Steinmann
a002a23c9b do not dump table sqlite_sequence 2021-09-24 10:23:50 +02:00
Uwe Steinmann
8c3c49e3b5 add method useViews() to turn on/off the use of views 2021-09-24 10:23:11 +02:00
Uwe Steinmann
9d926fb55c better documentation of getAccessMode() 2021-09-24 10:22:28 +02:00
Uwe Steinmann
959c75ff79 check parameter $mode of addAccess() 2021-09-24 10:21:32 +02:00
Uwe Steinmann
ce124bb862 fix indenting 2021-09-24 10:21:10 +02:00
Uwe Steinmann
8e302bc770 hasDocuments() doesn't use internal cache anymore 2021-09-24 10:20:19 +02:00
Uwe Steinmann
3cf58fbc86 add some documentation for isDescendant() and isSubFolder() 2021-09-24 10:19:31 +02:00
Uwe Steinmann
3d7357fca9 clear _notifyList in clearCache() 2021-09-24 10:17:04 +02:00
Uwe Steinmann
0f5b189838 pass document itself to callback onPostRemoveDocument 2021-09-24 10:16:25 +02:00
Uwe Steinmann
233e464692 addDocumentFiles() clears internal list, make removeDocumentFile() more robust 2021-09-24 10:15:06 +02:00
Uwe Steinmann
08887fcbd9 just added some spaces in parameter list 2021-09-24 10:14:19 +02:00
Uwe Steinmann
efa85c70a0 fix documentation of getDocumentFiles() 2021-09-24 10:12:51 +02:00
Uwe Steinmann
7a606ca1fb much better checking of passed parameters in addDocumentLink() 2021-09-24 10:12:05 +02:00
Uwe Steinmann
77de9bfaae better documentation of getReverseDocumentLinks() and getDocumentLinks() 2021-09-24 10:11:13 +02:00
Uwe Steinmann
2f9148e5b9 method which return content will return null if no content was found
false is only returned if an error occured
2021-09-24 10:09:13 +02:00
Uwe Steinmann
01e243e966 fix indenting of comment for method getContentByVersion() 2021-09-24 10:07:18 +02:00
Uwe Steinmann
2c7b7344dd check paramert $mode of addAccess() has valid value 2021-09-24 10:06:41 +02:00
Uwe Steinmann
85f838b354 remove old unused code 2021-09-24 10:05:59 +02:00
Uwe Steinmann
ada7c1d692 add method clearCache() 2021-09-24 10:05:00 +02:00
Uwe Steinmann
3b55c458c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-22 10:54:54 +02:00
Uwe Steinmann
825ae7bfeb check access on RemoveDocumentFile and EditDocumentFile 2021-09-22 10:41:36 +02:00
Uwe Steinmann
fbe13a87f1 lot of changes in 5.1.24 2021-09-22 10:00:21 +02:00
Uwe Steinmann
e95b5a971e edit comment and sequence of folders can be turned off 2021-09-22 09:59:33 +02:00
Uwe Steinmann
3e1dcc3c75 add new configuration noFolderFormFields 2021-09-22 09:53:53 +02:00
Uwe Steinmann
da8765fe33 add method getFoldersMinMax() 2021-09-22 09:48:12 +02:00
Uwe Steinmann
5a587e5c85 add more documentation for isSubFolder() 2021-09-22 09:47:40 +02:00
Uwe Steinmann
674002c02f init class variables for internal cache, add method to clear cache 2021-09-22 09:46:20 +02:00
Uwe Steinmann
16e48bbb16 search() will not find docs without expiration date if filtered by expiration date 2021-09-22 09:45:06 +02:00
Uwe Steinmann
37a30e6082 start and end date of expiration are within the range in search() 2021-09-22 09:43:51 +02:00
Uwe Steinmann
e23b9f09ad check expiration date in search() 2021-09-22 09:43:12 +02:00
Uwe Steinmann
96f858cbdd getDocumentContent() returns null if no document was found 2021-09-22 09:42:31 +02:00
Uwe Steinmann
b6452faa9b order documents by id, return null if getDocumentByOriginalFilename() does not find any documents 2021-09-22 09:41:23 +02:00
Uwe Steinmann
96f8c1db21 order documents by id in getDocumentByName(), return null if not document was found 2021-09-22 09:40:25 +02:00
Uwe Steinmann
b777b786dd check expiration date in search() 2021-09-22 09:39:18 +02:00
Uwe Steinmann
8e7d2547b4 remove constructor, because it was the same like in the parent class 2021-09-20 16:42:14 +02:00
Uwe Steinmann
63ae861257 many code style cleanups 2021-09-20 16:41:48 +02:00
Uwe Steinmann
822a07485c getImage() returns null if no image exists 2021-09-20 16:41:07 +02:00
Uwe Steinmann
4322b97fe2 better checking of quota when set by setQuota() 2021-09-20 16:40:30 +02:00
Uwe Steinmann
472b066d4b cast $newRole to int when passed to setRole() 2021-09-20 16:40:00 +02:00
Uwe Steinmann
af9178aa93 set internal pwd expiration to null when set to 'never' or '' 2021-09-20 16:39:08 +02:00
Uwe Steinmann
08836de4d8 number of counted folders/documents is converted to int before return 2021-09-20 16:37:45 +02:00
Uwe Steinmann
47e07ae2d1 return null if no folder was found by getParent() 2021-09-20 16:37:10 +02:00
Uwe Steinmann
247e8b09ca set date to current timestamp if $date passed to setDate() is false 2021-09-20 16:36:24 +02:00
Uwe Steinmann
6d01627553 fix comment (document -> folder) 2021-09-20 16:34:57 +02:00
Uwe Steinmann
7ed1a83453 check if $user, $requestUser is passed to addIndReviewer() addIndApprover() 2021-09-20 16:33:25 +02:00
Uwe Steinmann
69e3ad87f9 add note in comment about a possible wrong check for a return value 2021-09-20 16:32:34 +02:00
Uwe Steinmann
a5e12cb444 fix errors in coding style 2021-09-20 16:31:42 +02:00
Uwe Steinmann
851e81a9b9 check if login != '' in setLogin() 2021-09-18 17:51:17 +02:00
Uwe Steinmann
578aa30bc5 better checking of passed arguments 2021-09-18 17:50:32 +02:00
Uwe Steinmann
e765737d93 trim name passed to various methods 2021-09-18 17:49:26 +02:00
Uwe Steinmann
a3e6373673 createDump() has moved into database class and now expects a file pointer 2021-09-17 19:03:14 +02:00
Uwe Steinmann
a3965b8299 min version of php is 7.3 2021-09-17 19:02:53 +02:00
Uwe Steinmann
90aac2f1ad new method createDump() which was in SeedDMS_Core_DMS 2021-09-17 19:00:57 +02:00
Uwe Steinmann
2789e017eb check function pass to setCallback() and addCallback() is callable, remove createDump() 2021-09-17 19:00:06 +02:00
Uwe Steinmann
59c16b3ce4 trim name passed to addDocumentCategory() and check if != '' 2021-09-17 18:59:06 +02:00
Uwe Steinmann
3ed0854e13 check if id passed to getDocumentCategory() is < 1 2021-09-17 18:58:29 +02:00
Uwe Steinmann
e809297cfd getAllUserKeywordCategories() calls getAllKeywordCategories(), better checking of parameters pass to addDocumentCategory() 2021-09-17 18:31:19 +02:00
Uwe Steinmann
2ee30ccd5b ensure user ids passed to getAllKeywordCategories() are all integers 2021-09-17 18:29:33 +02:00
Uwe Steinmann
7d7deeb313 check if id passed to getKeywordCategory() is greater 0 2021-09-17 18:28:40 +02:00
Uwe Steinmann
e06cd59f6c fix wrong spell callback name 'onPostAddUser' 2021-09-17 18:28:01 +02:00
Uwe Steinmann
a39355f2ed ensure $logicalmode in search() is either 'OR' or 'AND' 2021-09-17 18:27:16 +02:00
Uwe Steinmann
31290fbcf7 document meaning of 5 in $seachin passed to search() 2021-09-17 18:26:11 +02:00
Uwe Steinmann
9687c8f081 check if user passed to setUser() is a real user 2021-09-17 18:25:23 +02:00
Uwe Steinmann
0cd4c9b727 check if the folder set by setRootFolderID() actually exists 2021-09-17 18:24:32 +02:00
Uwe Steinmann
ffd5cd9a7b use upper case in sql statements for reserved words 2021-09-17 18:23:25 +02:00
Uwe Steinmann
9309497e75 init $user to null in constructor 2021-09-17 18:22:35 +02:00
Uwe Steinmann
f9afc08355 add more documentation 2021-09-17 18:21:57 +02:00
Uwe Steinmann
4ad5628833 return better error msg if regex is invalid 2021-09-16 17:11:42 +02:00
Uwe Steinmann
56a352caca add placeholder with example for regex 2021-09-16 17:11:14 +02:00
Uwe Steinmann
16da190e06 setRegex() checks regex only if not '' 2021-09-16 17:10:41 +02:00
Uwe Steinmann
f1db74929c pass sortusersinlist of view 2021-09-16 16:25:36 +02:00
Uwe Steinmann
0d37021f6d no need to check isHidden()=='1' anymore, isHidden() returns a bool 2021-09-16 16:21:58 +02:00
Uwe Steinmann
5e112fb8f3 set email of admin to info@seeddms.org, fix inserts of sqlite 2021-09-16 16:20:57 +02:00
Uwe Steinmann
c13756ac02 do not call $dms->setEnableConverting() and setViewOnlineFileTypes() 2021-09-16 16:19:19 +02:00
Uwe Steinmann
a7e2ec7b01 ensure isHidden and isDisabled is a boolean 2021-09-16 16:18:26 +02:00
Uwe Steinmann
adba550a63 minor simplification of sql statement 2021-09-16 16:17:24 +02:00
Uwe Steinmann
1d031e44a2 return null not false if getInstanceByName() didn't find a folder 2021-09-16 16:16:21 +02:00
Uwe Steinmann
95b4bb9d22 init value set, separator, trim value set in setValue() 2021-09-16 16:14:51 +02:00
Uwe Steinmann
4aa4556df8 add more documentation 2021-09-16 16:14:21 +02:00
Uwe Steinmann
32dda4b3e9 return ',' as separator for most attr types, if value map is not set 2021-09-16 16:12:54 +02:00
Uwe Steinmann
c50be6d215 init separator and validation error in constructor 2021-09-16 16:12:27 +02:00
Uwe Steinmann
ffe4b50c7f many value validation improvements, use constants for validation errors 2021-09-16 16:11:13 +02:00
Uwe Steinmann
cd1800c19d add docs for var $separator 2021-09-16 16:09:18 +02:00
Uwe Steinmann
90074c3947 fix get value map separator 2021-09-16 16:07:31 +02:00
Uwe Steinmann
b0d13f9518 replace array_search by in_array, makeTimestamp() returns an error if days > max days of month 2021-09-16 16:05:04 +02:00
Uwe Steinmann
ad52fffd21 set file format to unix, fix indenting of comments 2021-09-16 16:02:16 +02:00
Uwe Steinmann
b111c1428e remove old database file unused for a long time 2021-09-15 21:49:44 +02:00
Uwe Steinmann
9334e1a6f2 make all class variables of SeedDMS_Core_User protected 2021-09-13 10:15:33 +02:00
Uwe Steinmann
fe71cf92b3 move old tests out of the way 2021-09-13 09:09:41 +02:00
Uwe Steinmann
84887e3b18 some clean ups, add more documentation 2021-09-10 09:37:07 +02:00
Uwe Steinmann
24ae96b9fa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-09 12:07:17 +02:00
Uwe Steinmann
da0f5d3053 more settings to disable import and download of extensions 2021-09-09 11:42:38 +02:00
Uwe Steinmann
9f618c5437 remove titleDisplayHack configuration 2021-09-09 09:57:00 +02:00
Uwe Steinmann
5904d22394 add dummy note in 6.0.17, update release date 2021-09-09 08:20:53 +02:00
Uwe Steinmann
753d808d2a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-09 08:19:51 +02:00
Uwe Steinmann
40f3cf35c9 use formField() instead of plain html for select menus 2021-09-09 08:19:04 +02:00
Uwe Steinmann
c376e352b5 add attribute 'for' to label in formField() 2021-09-09 08:17:52 +02:00
Uwe Steinmann
4a5426a180 fix indention 2021-09-09 08:17:28 +02:00
Uwe Steinmann
a343c4cc1c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-06 16:33:26 +02:00
Uwe Steinmann
fc19df6b71 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-09-06 16:33:13 +02:00
Uwe Steinmann
f5347e6b04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-09-06 16:32:59 +02:00
Uwe Steinmann
d00ac5c1b0 add html body of all notification mails 2021-09-06 16:32:24 +02:00
Uwe Steinmann
7a1b03951e use methods in notification class for sending notifications 2021-09-01 17:45:56 +02:00
Uwe Steinmann
1398b614cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-09-01 16:29:01 +02:00
Uwe Steinmann
9ea8a02893 fix task parameters of type 'select' 2021-09-01 16:25:54 +02:00
Uwe Steinmann
ce621bb6b8 add entry for 5.1.24 2021-08-31 13:32:36 +02:00
Uwe Steinmann
67ab9fbf71 remove old code 2021-08-31 10:29:56 +02:00
Uwe Steinmann
200806effd use new methods to inform approvers/reviewers about deleting/adding a review/approval 2021-08-31 10:27:20 +02:00
Uwe Steinmann
df8e0c29e9 add methods to inform a user/group about adding/deleting as a reviewer/approver 2021-08-31 10:26:34 +02:00
Uwe Steinmann
1d5164c2ab use sendChangedDocumentStatusMail() 2021-08-30 19:41:26 +02:00
Uwe Steinmann
cd10bcaea3 add sendApprovalRequestMail() and sendReviewRequestMail() 2021-08-30 19:40:43 +02:00
Uwe Steinmann
aadcbbd979 check if workflow exists in sendRequestWorkflowActionMail() 2021-08-30 19:40:10 +02:00
Uwe Steinmann
a4276a42a9 add and use sendRewindWorkflowMail() 2021-08-30 19:39:29 +02:00
Uwe Steinmann
6dac961e9c call sendChangedDocumentStatusMail() if status has changed 2021-08-30 19:36:40 +02:00
Uwe Steinmann
3951c3ec38 call sendReviewRequestMail() after review was removed 2021-08-30 19:35:47 +02:00
Uwe Steinmann
13ad0788a3 send notification mail when new attachment was added 2021-08-30 19:35:08 +02:00
Uwe Steinmann
33c10fc1db add some documentation in comments 2021-08-30 19:34:38 +02:00
Uwe Steinmann
48a0ca8cb9 use new methods sendTriggerWorkflowTransitionMail and sendRequestWorkflowActionMail 2021-08-30 16:04:51 +02:00
Uwe Steinmann
42fdeaf915 fix type of recipient when send notification, remove old code 2021-08-30 16:04:15 +02:00
Uwe Steinmann
8018dc1a24 remove old code 2021-08-30 16:03:42 +02:00
Uwe Steinmann
96ca072528 add methods sendRequestWorkflowActionMail and sendTriggerWorkflowTransitionMail 2021-08-30 16:03:00 +02:00
Uwe Steinmann
33ad98bdfd replace $notifier-> by $this-> 2021-08-30 16:02:22 +02:00
Uwe Steinmann
45b51cb043 send notification to owner 2021-08-30 16:01:54 +02:00
Uwe Steinmann
0ac0ca5760 remove duplicate of sendRequestWorkflowActionMail() 2021-08-30 16:00:51 +02:00
Uwe Steinmann
5cf3b5fc3e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-27 09:56:43 +02:00
Uwe Steinmann
567488cab9 lots or minor corrections and updates 2021-08-27 09:55:58 +02:00
Uwe Steinmann
6ccabf1c68 start change log for 6.0.17 2021-08-27 09:55:31 +02:00
Uwe Steinmann
4f3a7f6512 send notification on submit of reception 2021-08-27 09:55:08 +02:00
Uwe Steinmann
6fbfe15baf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-25 16:11:04 +02:00
Uwe Steinmann
e80da33da7 start changelog for 5.1.24 2021-08-25 15:09:33 +02:00
Uwe Steinmann
60a13b9f13 check view access for DocumentAccess and Folder FolderAccess 2021-08-25 15:08:24 +02:00
Uwe Steinmann
b66e87b72d fix sending of notification mails to groups 2021-08-25 15:05:35 +02:00
Uwe Steinmann
d19288b7c3 take section on jumploader, minor corrections 2021-08-25 12:39:07 +02:00
Uwe Steinmann
43c1385e0f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-20 11:16:21 +02:00
Uwe Steinmann
d786a66adc check for access on WorkflowGraph 2021-08-20 11:16:03 +02:00
Uwe Steinmann
11c97f4c41 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-20 11:02:53 +02:00
Uwe Steinmann
ace8161afd fix strange char 2021-08-20 11:02:34 +02:00
Uwe Steinmann
ef551e6923 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-20 11:01:13 +02:00
Uwe Steinmann
0f786a73b6 check access on WorkflowGraph 2021-08-20 11:00:51 +02:00
Uwe Steinmann
ada2730636 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-20 10:51:34 +02:00
Uwe Steinmann
6a8382747b start new version 5.1.24 2021-08-20 10:42:44 +02:00
Uwe Steinmann
160f427bea start new version 5.1.24 2021-08-20 10:42:26 +02:00
Uwe Steinmann
fa8356d729 in removeWorkflow() remove records from tblWorkflowLog before tblWorkflowDocumentContent 2021-08-20 10:38:33 +02:00
Uwe Steinmann
3a26fc3e2a use a unified layout 2021-08-20 09:45:58 +02:00
Uwe Steinmann
f18ab76b63 escape special chars in translation form 2021-08-20 09:45:35 +02:00
Uwe Steinmann
ee654df475 fix css to mostly prevent scroll bars 2021-08-20 09:44:30 +02:00
Uwe Steinmann
ffc2565933 show translated action name in workflow log 2021-08-20 09:44:02 +02:00
Uwe Steinmann
588369b64d fix table class 2021-08-20 09:43:09 +02:00
Uwe Steinmann
fd4131497b escape special chars in missing translation form 2021-08-20 09:42:27 +02:00
Uwe Steinmann
7b807f8d67 correct processing of return value of getWorkflowLog() 2021-08-20 08:46:18 +02:00
Uwe Steinmann
40ce4a74e1 Merge branch 'seeddms-5.1.x' 2021-08-19 15:54:46 +02:00
Uwe Steinmann
f19ed34d25 pass notifier to constructor of SeedDMS_SchedulerTaskBase 2021-08-19 13:52:51 +02:00
Uwe Steinmann
bbcf7cb979 do send mail to disabled users or guests 2021-08-19 13:52:13 +02:00
Uwe Steinmann
99bc6becb6 do not check for sender in toList() because it is done in toIndividual() 2021-08-19 13:51:07 +02:00
Uwe Steinmann
0a6ce976c7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-18 12:42:46 +02:00
Uwe Steinmann
a4fb4230e8 add login to key when getting statistics for 'sizeperuser' 2021-08-18 12:21:48 +02:00
Uwe Steinmann
c3dd223dc4 check if array key '__disabled__' is set 2021-08-18 12:12:36 +02:00
Uwe Steinmann
80dbb8f09b check if fetch() returns a record 2021-08-18 12:12:07 +02:00
Uwe Steinmann
ef1113490d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-18 10:57:51 +02:00
Uwe Steinmann
a7aa3ff904 fix php error when checking for undeletable user ids 2021-08-18 10:57:18 +02:00
Uwe Steinmann
5ddfa0e297 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-18 10:31:34 +02:00
Uwe Steinmann
e3cf72b3d2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-08-18 10:31:19 +02:00
Uwe Steinmann
663aa0cb91 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-08-18 10:31:05 +02:00
Uwe Steinmann
fb114b8dbf minor translation updates 2021-08-18 10:30:41 +02:00
Uwe Steinmann
73d27bc82b schedule next run before executing current run 2021-08-17 20:54:57 +02:00
Uwe Steinmann
be7aa1b4a8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-17 17:56:17 +02:00
Uwe Steinmann
494e5912af include Previewer 2021-08-17 17:55:55 +02:00
Uwe Steinmann
749f7a2fb1 revert change of $myincpath 2021-08-06 09:19:54 +02:00
Uwe Steinmann
9e9995241d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-06 08:58:35 +02:00
Uwe Steinmann
0cf8e7cac5 fix adding of multiple favicons or logos 2021-08-06 08:58:03 +02:00
Uwe Steinmann
46040dce7e add '/www' to $myincpath 2021-08-06 08:34:19 +02:00
Uwe Steinmann
8b34c4f82e fix width in task for creating preview 2021-08-06 08:33:34 +02:00
Uwe Steinmann
8bc9ab8f3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-05 08:42:34 +02:00
Uwe Steinmann
bb77e2d62d fix typo in echo 2021-08-05 08:41:51 +02:00
Uwe Steinmann
0f79234012 show versions if database version doesn't match seeddms version 2021-08-05 08:41:16 +02:00
Uwe Steinmann
817433638b doNotCheckVersion must be doNotCheckDBVersion 2021-08-05 08:40:49 +02:00
Uwe Steinmann
62d9241276 catch exeption when opening database connection 2021-08-05 08:40:13 +02:00
Uwe Steinmann
cd9d1fe25f fix hard coded version number 2021-08-05 08:39:39 +02:00
Uwe Steinmann
9f20268d3b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-08-04 14:20:07 +02:00
Uwe Steinmann
401452767e get dir of config file even if config file is set in environment 2021-08-04 14:19:11 +02:00
Uwe Steinmann
cb0c51234e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-23 14:07:03 +02:00
Uwe Steinmann
b9f4d7b0ba issue a message if no attributes are defined 2021-07-23 14:03:44 +02:00
Uwe Steinmann
03eb842f8e remove extra '/' in referuri 2021-07-23 13:41:04 +02:00
Uwe Steinmann
a027f1f70d check if sqlite db has propper path 2021-07-23 13:40:42 +02:00
Uwe Steinmann
9c7ce41163 msg can be passed to install method 2021-07-23 13:40:16 +02:00
Uwe Steinmann
cc9835e3a6 add pear dir to include path 2021-07-23 13:39:59 +02:00
Uwe Steinmann
a26916243c move lots of functions into view 2021-07-23 12:09:07 +02:00
Uwe Steinmann
6a72b3c0fa extra _extraPath if not empty, add rootDir.'../pear' to include path 2021-07-23 12:08:26 +02:00
Uwe Steinmann
e29976bf25 check for more php modules and > 7.2.5 2021-07-23 12:07:30 +02:00
Uwe Steinmann
c16246fcfb nicer formatting 2021-07-23 12:06:50 +02:00
Uwe Steinmann
58a46497f0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-21 16:11:33 +02:00
Uwe Steinmann
79292956c5 better error checking 2021-07-21 15:48:42 +02:00
Uwe Steinmann
dbced5e409 no longer use old static methods in UI_Default 2021-07-21 15:46:01 +02:00
Uwe Steinmann
f1358317ea remove all old methods not longer used 2021-07-21 15:45:24 +02:00
Uwe Steinmann
c1e794dc4f fix updating tblDocumentFiles 2021-07-21 15:24:50 +02:00
Uwe Steinmann
51c342b5e3 replace tab with spaces 2021-07-21 15:24:17 +02:00
Uwe Steinmann
93c88a6f87 add changes for 6.0.16 2021-07-21 08:33:14 +02:00
Uwe Steinmann
50d528a831 fix export, export xlsx, do not collapse search form anymore 2021-07-21 08:13:15 +02:00
Uwe Steinmann
20dd55840e use replacement for PHPExcel() which is outdated for a long time, create xlsx instead of xls 2021-07-21 08:12:17 +02:00
Uwe Steinmann
74003313e8 pass url param 'includecontent' to view 2021-07-21 08:11:14 +02:00
Uwe Steinmann
09a60988fb parameter $urlparams of html_url() can be a string 2021-07-21 08:10:42 +02:00
Uwe Steinmann
23f05a4eb6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-20 17:32:01 +02:00
Uwe Steinmann
b0804f5562 add note on how to use tika 2021-07-20 16:31:44 +02:00
Uwe Steinmann
d7a936f6f1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-20 07:59:16 +02:00
Uwe Steinmann
048a9d8b82 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-07-20 07:59:02 +02:00
Uwe Steinmann
36dcadc237 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-07-20 07:58:52 +02:00
Uwe Steinmann
11368e8349 some new phrases 2021-07-20 07:58:33 +02:00
Uwe Steinmann
54396e6876 move submit button out of contentContainer 2021-07-20 06:22:37 +02:00
Uwe Steinmann
532db722a6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-16 16:20:11 +02:00
Uwe Steinmann
0571739142 add notes for 5.1.23 2021-07-16 16:08:03 +02:00
Uwe Steinmann
a113649be3 add support for drag and drop of attachments 2021-07-16 16:03:34 +02:00
Uwe Steinmann
9c66a9350a show all readable folders in tree, to make writeable subfolder visible 2021-07-16 15:57:06 +02:00
Uwe Steinmann
0072efd2ff new command 'addfile' for adding attachments 2021-07-16 15:55:47 +02:00
Uwe Steinmann
c1a2411882 remove plain html for error and warning msgs 2021-07-15 17:43:50 +02:00
Uwe Steinmann
75d716db26 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-14 21:10:57 +02:00
Uwe Steinmann
9b6f376be8 get access list before checking for workflow mode 2021-07-14 21:10:21 +02:00
Uwe Steinmann
4401ce7b23 fix form validation, sync with UpdateDocument 2021-07-14 21:09:28 +02:00
Uwe Steinmann
74d1b11250 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-14 16:32:00 +02:00
Uwe Steinmann
7d16ed6168 take given name of document if set 2021-07-14 16:31:32 +02:00
Uwe Steinmann
34ebc280e8 remove extra '/' in path 2021-07-14 15:45:06 +02:00
Uwe Steinmann
3cfa3d2d7b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-14 15:27:48 +02:00
Uwe Steinmann
b369ab3d31 add class fileupload-group to input field of document chooser 2021-07-14 14:52:28 +02:00
Uwe Steinmann
f2b0375df6 user warningMsg() instead of plain html code 2021-07-14 13:45:55 +02:00
Uwe Steinmann
64a5ea3d90 allow to cancel checkout if document was not modified 2021-07-14 13:28:26 +02:00
Uwe Steinmann
020e307240 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-14 12:03:12 +02:00
Uwe Steinmann
55a7667c1e check for null passed as folder to getFolderList() 2021-07-14 12:02:15 +02:00
Uwe Steinmann
ca9e1c8860 check for null passed as folder to getFolderList() 2021-07-14 12:00:47 +02:00
Uwe Steinmann
59d9786a4c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-13 12:45:40 +02:00
Uwe Steinmann
d4b05b61f2 remove old code 2021-07-13 12:05:18 +02:00
Uwe Steinmann
fcff7b2a1d add missing access checks, remove old code 2021-07-13 12:05:01 +02:00
Uwe Steinmann
180b9a4b7e remove some spaces 2021-07-13 11:48:54 +02:00
Uwe Steinmann
e733b4fced add new method printAttribute() (just like in 5.1.x) 2021-07-12 19:47:34 +02:00
Uwe Steinmann
652acf4b86 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-12 19:45:02 +02:00
Uwe Steinmann
5f1460757a add new method printAttribute(), just like in class.ViewDocument.php 2021-07-12 19:44:25 +02:00
Uwe Steinmann
0bd2e2d83d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-11 20:42:56 +02:00
Uwe Steinmann
2ccb30490d add changes in 5.1.23 2021-07-11 20:42:35 +02:00
Uwe Steinmann
39eda2a180 add method concat() and use it in getStatistics() for docspersuser and foldersperuser 2021-07-11 20:41:53 +02:00
Uwe Steinmann
c5b9306918 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-11 20:18:16 +02:00
Uwe Steinmann
51b72eb7b2 fix checking if a document link may be deleted 2021-07-11 20:08:13 +02:00
Uwe Steinmann
40ca91d9d7 pass $dms to view which fixes an error when calling the page 2021-07-11 20:07:30 +02:00
Uwe Steinmann
c91476fe80 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-10 22:28:35 +02:00
Uwe Steinmann
0efbba9e20 fix setting bool and array values 2021-07-10 22:28:16 +02:00
Uwe Steinmann
8767d170f1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-10 22:08:40 +02:00
Uwe Steinmann
0037aeae68 pass dms to view, because it's needed in globalBanner() 2021-07-10 12:53:07 +02:00
Uwe Steinmann
e2960219c8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-09 14:53:16 +02:00
Uwe Steinmann
42bb24358c output number of folders, links, files, versions 2021-07-09 14:24:20 +02:00
Uwe Steinmann
a9b2b267a4 new chart foldersperuser 2021-07-09 14:24:03 +02:00
Uwe Steinmann
c889e075f7 add notes for 5.1.23 2021-07-09 14:23:31 +02:00
Uwe Steinmann
d955f07b7a new methods getFolders(), getDocumentLinks(), getDocumentFiles(), getDocumentContents() 2021-07-09 14:22:11 +02:00
Uwe Steinmann
14b1cd34cd new type foldersperuser in getStatisticalData() 2021-07-09 14:21:52 +02:00
Uwe Steinmann
0b22b8d657 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-08 14:27:08 +02:00
Uwe Steinmann
42f2ce31cf check if hooks return false (but not action is taken) 2021-07-08 14:19:36 +02:00
Uwe Steinmann
13f0f6aafb use errorMsg() instead of plain html 2021-07-08 14:18:49 +02:00
Uwe Steinmann
d67e85be06 add class fileupload-group to dropfolder and file upload, used by validation 2021-07-08 14:17:47 +02:00
Uwe Steinmann
91170c7db3 add hook addDocumentContentFile() for extra form field getting data for file upload (e.g. a web page), better validation 2021-07-08 14:16:13 +02:00
Uwe Steinmann
4149c33b39 add hook for retrieving more uploaded files from post data 2021-07-08 14:15:03 +02:00
Uwe Steinmann
e0a12590da callHook merges strings and arrays returned from hook 2021-07-08 14:14:13 +02:00
Uwe Steinmann
8a7fb230da fix hasHook() which still had some old code 2021-07-08 11:05:27 +02:00
Uwe Steinmann
8b2b2a12e2 propperly update expire of cookie (do not take enableLargeFileUpload into account) 2021-07-07 09:46:29 +02:00
Uwe Steinmann
f5068fa30f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-07 08:28:56 +02:00
Uwe Steinmann
ee55fc6688 use html_url() where possible 2021-07-07 08:26:13 +02:00
Uwe Steinmann
132cbf336a rename check_access to check_view_access, first param of html_url is no longer optional 2021-07-07 08:25:26 +02:00
Uwe Steinmann
bf45f09381 add note about changed link creation 2021-07-06 18:18:43 +02:00
Uwe Steinmann
378993782b do not create relative link 2021-07-06 18:15:00 +02:00
Uwe Steinmann
47a47b84aa ignore webapp 2021-07-06 17:09:57 +02:00
Uwe Steinmann
75b2ba4132 add missing logo images 2021-07-06 17:09:46 +02:00
Uwe Steinmann
8de6c64f1c add missing css and js files (formerly in styles/bootstrap) 2021-07-06 09:55:57 +02:00
Uwe Steinmann
30b8d4ddd9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-06 09:45:44 +02:00
Uwe Steinmann
b7885ad6f6 use check_xxx_access() and html_link(), backported from 6.0.x 2021-07-06 09:32:02 +02:00
Uwe Steinmann
496c70c024 add methods check_access(), html_url(), html_link() backported from 6.0.x 2021-07-06 09:31:11 +02:00
Uwe Steinmann
cdb93920e4 html_link() takes care of wrapping the links into '<li>..</li>' 2021-07-06 07:35:00 +02:00
Uwe Steinmann
9a616999d3 new parameter $wrap can be passed to html_link() 2021-07-06 07:34:26 +02:00
Uwe Steinmann
00041b30bd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-06 06:44:29 +02:00
Uwe Steinmann
6ce08a531f replace relative links by absolute links 2021-07-06 06:13:57 +02:00
Uwe Steinmann
a289c8bbf6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-05 17:22:04 +02:00
Uwe Steinmann
40beffff14 remove lots of relative links because the can break with faked urls 2021-07-05 16:30:26 +02:00
Uwe Steinmann
6fccfd1d18 use _httpRoot for imagepath 2021-07-05 16:29:30 +02:00
Uwe Steinmann
00bbfff34d make $settings already in constructor of view class available 2021-07-05 16:28:51 +02:00
Uwe Steinmann
cb601a82eb expect parameter of type SeedDMS_SchedulerTask in execute() 2021-07-05 10:08:51 +02:00
Uwe Steinmann
7218e47558 do not output date of last run if task hasn't run yet 2021-07-02 12:26:15 +02:00
Uwe Steinmann
56c35b5eba new method showConfigFolder() for selecting a folder, use for libraryFolder 2021-07-02 09:28:05 +02:00
Uwe Steinmann
486a685873 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-02 08:36:23 +02:00
Uwe Steinmann
4d7e041388 approvals can be removed by admins 2021-07-02 08:34:06 +02:00
Uwe Steinmann
948184b5b0 fix comment in header 2021-07-02 08:32:56 +02:00
Uwe Steinmann
2c4dc73be3 add new method removeApproval() 2021-07-02 08:32:18 +02:00
Uwe Steinmann
5cbf98e832 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-01 12:45:53 +02:00
Uwe Steinmann
f28153497e add missing files to package 2021-07-01 12:45:36 +02:00
Uwe Steinmann
bffa24ad60 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-01 12:28:58 +02:00
Uwe Steinmann
c9a842e2d0 add entry for 5.1.23 2021-07-01 12:26:43 +02:00
Uwe Steinmann
2a23dbb0ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-07-01 12:25:19 +02:00
Uwe Steinmann
83975e150a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-07-01 12:21:35 +02:00
Uwe Steinmann
9a9f797311 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-07-01 12:21:14 +02:00
Uwe Steinmann
d11feff2aa add more phrases 2021-07-01 12:20:54 +02:00
Uwe Steinmann
1360fbc478 allow removal of reviews 2021-07-01 12:17:04 +02:00
Uwe Steinmann
d6419d38ef add new config var enableRemoveRevApp 2021-07-01 12:14:55 +02:00
Uwe Steinmann
2ea83e65d5 set class of table 2021-07-01 11:46:33 +02:00
Uwe Steinmann
80f712e716 catch exeption if 'created' is not set 2021-07-01 11:45:46 +02:00
Uwe Steinmann
0cd9910c25 add new method SeedDMS_Core_DocumentContent::removeReview() 2021-07-01 11:44:49 +02:00
Uwe Steinmann
f67ba27e4b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-30 16:33:03 +02:00
Uwe Steinmann
189f962012 add new methods setCmd() and setContent() 2021-06-30 12:53:20 +02:00
Uwe Steinmann
b84bf38842 make api much more like Zend_Lucene api 2021-06-30 12:51:57 +02:00
Uwe Steinmann
8c4e20e649 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-29 11:27:25 +02:00
Uwe Steinmann
1f22a0dd22 add more access checking 2021-06-29 11:26:55 +02:00
Uwe Steinmann
8eb5882520 revert to regex for email validation 2021-06-29 10:20:31 +02:00
Uwe Steinmann
03a394906e more access control 2021-06-29 09:44:30 +02:00
Uwe Steinmann
bf23abad87 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-29 09:07:23 +02:00
Uwe Steinmann
0edce2694b include Settings.php only if $settings not set 2021-06-29 09:06:49 +02:00
Uwe Steinmann
e8a50e3101 more access checking 2021-06-29 09:04:57 +02:00
Uwe Steinmann
0c260f286b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-29 08:27:07 +02:00
Uwe Steinmann
efd159e4d8 call hook preIndexFolder() for folders 2021-06-29 08:26:42 +02:00
Uwe Steinmann
38993eced2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-28 12:04:58 +02:00
Uwe Steinmann
84b0f6ac35 check for type and value and showConfigVar() 2021-06-28 12:04:27 +02:00
Uwe Steinmann
635d8253fe add space after scriptname in add_log_line() 2021-06-28 11:15:56 +02:00
Uwe Steinmann
f02074c794 better message when running in dry mode 2021-06-28 11:15:36 +02:00
Uwe Steinmann
4e33cee86a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-28 09:32:00 +02:00
Uwe Steinmann
47aebfdb14 do not strip .php from uri in add_log_line() 2021-06-28 09:27:40 +02:00
Uwe Steinmann
34a02f77d7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-28 09:26:22 +02:00
Uwe Steinmann
cb383eb70b do not strip .php from uri in add_log_line() 2021-06-28 09:25:58 +02:00
Uwe Steinmann
4de124d9ae take out logging of cachedir path 2021-06-28 09:19:20 +02:00
Uwe Steinmann
c57640f804 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-28 09:03:35 +02:00
Uwe Steinmann
2ce03dcb2a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-06-28 09:03:21 +02:00
Uwe Steinmann
7209175766 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-06-28 09:03:10 +02:00
Uwe Steinmann
ee544eb4e7 add new and update existing phrases 2021-06-28 09:02:46 +02:00
Uwe Steinmann
b0478bec3c show a message if conf var is disabled, but do not hide it completely 2021-06-28 09:00:35 +02:00
Uwe Steinmann
8c130c06e4 check remaining conf vars if disabled in hiddenConfFields 2021-06-28 08:59:42 +02:00
Uwe Steinmann
ece38b9d22 store undelUserIds as array in settings class 2021-06-26 11:57:02 +02:00
Uwe Steinmann
1eb2c3ed9f check if partitionsize is greater the max upload size 2021-06-26 11:56:25 +02:00
Uwe Steinmann
39fc81b64b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-25 09:35:35 +02:00
Uwe Steinmann
bc50f2f8b6 add new method SeedDMS_Core_Document::hasCategory() 2021-06-25 09:34:54 +02:00
Uwe Steinmann
db2c4a739e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-25 09:06:41 +02:00
Uwe Steinmann
61a5dbc2b9 check if latest content exists 2021-06-25 09:02:39 +02:00
Uwe Steinmann
371f348d88 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-25 08:59:18 +02:00
Uwe Steinmann
ff9385bf1e change behaviour of mayEditComment and mayEditAttributes 2021-06-25 08:54:05 +02:00
Uwe Steinmann
d871bd6e62 update note for 5.1.23 2021-06-24 22:49:16 +02:00
Uwe Steinmann
265865a9b6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-24 22:46:54 +02:00
Uwe Steinmann
a18bc970df do not explode hiddenConfFields, because it's done when reading the xml 2021-06-24 22:34:04 +02:00
Uwe Steinmann
7af5857df3 add new methods setXXXValue which check if _POST data has value and it is not hidden 2021-06-24 22:33:17 +02:00
Uwe Steinmann
97414a0971 just read hiddenConfFields but do not save 2021-06-24 22:32:04 +02:00
Uwe Steinmann
f443f6544a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-24 14:37:50 +02:00
Uwe Steinmann
3ad1c9aa38 set field created of folders 2021-06-24 14:37:31 +02:00
Uwe Steinmann
7635146a94 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-24 12:52:49 +02:00
Uwe Steinmann
9fd8465a43 pass fulltextservice to view 2021-06-24 12:52:27 +02:00
Uwe Steinmann
363f417eb7 index folders in task 2021-06-24 12:51:44 +02:00
Uwe Steinmann
3827cdda27 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-24 11:41:23 +02:00
Uwe Steinmann
1ee2744256 index current folder before tree 2021-06-24 11:39:46 +02:00
Uwe Steinmann
04c494eaaa set documentid in findById(), getDocument returns content, take out getFolder() 2021-06-24 11:39:13 +02:00
Uwe Steinmann
50e8c84932 use findById instead of find in getDocument() and getFolder() 2021-06-24 11:38:04 +02:00
Uwe Steinmann
ec46d40194 indent folders, place folder icon in front of folder name 2021-06-24 09:26:37 +02:00
Uwe Steinmann
1c839fd26b pass depth of iterator to callback function 2021-06-24 09:26:17 +02:00
Uwe Steinmann
6d1aa2f347 use translated text 2021-06-24 08:43:09 +02:00
Uwe Steinmann
cefcdc966b use check_view_access instead of checking for admin 2021-06-23 17:55:35 +02:00
Uwe Steinmann
780d398d4c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-23 17:52:48 +02:00
Uwe Steinmann
98e5c868a4 pass access object to view 2021-06-23 17:48:46 +02:00
Uwe Steinmann
8cbf9c803f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-23 17:18:21 +02:00
Uwe Steinmann
5baac2b4ff add entry for 5.1.23 2021-06-23 17:17:16 +02:00
Uwe Steinmann
932835ef03 add field in configuration for hidden other fields in settings form 2021-06-23 16:27:09 +02:00
Uwe Steinmann
f8d81bd734 theme can be set in user manager 2021-06-23 14:49:53 +02:00
Uwe Steinmann
0754a794d3 fix creating AccessOperation 2021-06-23 09:01:24 +02:00
Uwe Steinmann
1a3d3c8f80 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-23 09:00:33 +02:00
Uwe Steinmann
e21ef794c4 add access control 2021-06-23 08:58:55 +02:00
Uwe Steinmann
ea5efd75d7 add access control for EditComment and EditAttributes 2021-06-22 11:33:54 +02:00
Uwe Steinmann
d1b967e9f3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-22 10:01:31 +02:00
Uwe Steinmann
0f98640ba3 make login form smaller and put it into a div 2021-06-22 10:00:55 +02:00
Uwe Steinmann
aab0e356bb add logo in global navigation 2021-06-22 10:00:24 +02:00
Uwe Steinmann
846e8d490e remove output of favicon in global navigation, add logo in global nav 2021-06-22 09:59:17 +02:00
Uwe Steinmann
aa4997a7e7 add access check 2021-06-22 09:48:28 +02:00
Uwe Steinmann
79e926324a add access check for EditFolder, MoveFolder, put logo in header 2021-06-22 09:47:16 +02:00
Uwe Steinmann
bfcad700af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-21 18:10:50 +02:00
Uwe Steinmann
369497ee3a fix validation of emails 2021-06-21 18:09:59 +02:00
Uwe Steinmann
525b6d45c9 add entry for 5.1.23 2021-06-21 08:59:17 +02:00
Uwe Steinmann
0b9435d362 append referuri to base url to prevent redirects to arbitraty sites 2021-06-21 08:58:22 +02:00
Uwe Steinmann
fff27af7e6 better documentation 2021-06-18 13:56:18 +02:00
Uwe Steinmann
e91a66af21 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-16 14:28:33 +02:00
Uwe Steinmann
a8921b67f8 add note about fixed security issue in 5.1.23 2021-06-16 14:26:31 +02:00
Uwe Steinmann
a38f7fd408 secure locking/inlocking documents with security token 2021-06-16 14:23:53 +02:00
Uwe Steinmann
1ab5f83395 output info message above form if it set 2021-06-16 08:04:42 +02:00
Uwe Steinmann
e425120d7d mails listing expired documents can be send for each owner 2021-06-16 08:02:32 +02:00
Uwe Steinmann
fbc3be64a2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-14 17:24:10 +02:00
Uwe Steinmann
22c4649d27 fix html for unfolding search form 2021-06-14 17:23:42 +02:00
Uwe Steinmann
eeb3422e8a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-14 17:20:39 +02:00
Uwe Steinmann
59130d1756 fix listing users in form 2021-06-14 17:20:16 +02:00
Uwe Steinmann
4363566998 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-14 09:10:27 +02:00
Uwe Steinmann
ab546099f1 fix possible CSRF attack by setting document name 2021-06-14 09:09:36 +02:00
Uwe Steinmann
514249a132 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-09 13:01:45 +02:00
Uwe Steinmann
dfb6061b41 fix classes of table 2021-06-08 18:16:43 +02:00
Uwe Steinmann
3480a9550d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-08 09:01:51 +02:00
Uwe Steinmann
290a01c2b1 logo can be set in extraheader 2021-06-08 09:01:30 +02:00
Uwe Steinmann
047b5bb3b0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-08 07:09:04 +02:00
Uwe Steinmann
54b403882e fix downloading log file 2021-06-08 07:07:34 +02:00
Uwe Steinmann
74292d9304 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-07 21:15:48 +02:00
Uwe Steinmann
0d5ba3bc1e pass $logger to migrate() 2021-06-07 21:15:18 +02:00
Uwe Steinmann
7c818d0913 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-01 11:02:45 +02:00
Uwe Steinmann
2ef409c197 make it look like Review/Approval summary 2021-06-01 10:54:32 +02:00
Uwe Steinmann
0f072fc9a9 check if current workflow state != null 2021-06-01 10:54:06 +02:00
Uwe Steinmann
822aef2e53 check if current workflow state != null 2021-06-01 10:52:45 +02:00
Uwe Steinmann
0ba0724e82 add class 'table-sm' 2021-06-01 10:52:26 +02:00
Uwe Steinmann
3366d9a149 check for workflow state != null 2021-06-01 10:52:00 +02:00
Uwe Steinmann
6de32dcc2c add class 'table-sm' 2021-06-01 10:51:16 +02:00
Uwe Steinmann
3003d6d0d3 check for non empty workflow state 2021-06-01 10:50:55 +02:00
Uwe Steinmann
1ef9e60297 add note for 5.1.23 2021-06-01 10:50:28 +02:00
Uwe Steinmann
116bf3d5dd getNextTransitions() returns false if passed state is empty 2021-06-01 10:49:32 +02:00
Uwe Steinmann
b624cd0a61 fix getWorkflowState(), can now handle empty state 2021-06-01 10:48:52 +02:00
Uwe Steinmann
d5b21e0eca place submit button outside of content container 2021-06-01 07:15:52 +02:00
Uwe Steinmann
cd263e7353 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-06-01 07:07:12 +02:00
Uwe Steinmann
04a5f21a07 place submit button and graph outside of content container 2021-06-01 07:06:37 +02:00
Uwe Steinmann
7485d0291a use jquery validation 2021-06-01 07:05:59 +02:00
Uwe Steinmann
5d6235ec0b place submit button outside of contentContainer 2021-06-01 06:49:55 +02:00
Uwe Steinmann
554b102356 fix layout (still not perfect) 2021-06-01 06:49:16 +02:00
Uwe Steinmann
012c3b7d22 use jquery validatation 2021-06-01 06:48:42 +02:00
Uwe Steinmann
33616f2c92 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-31 21:55:09 +02:00
Uwe Steinmann
f187a80ac5 fix php warning because of missing $workflow 2021-05-31 21:54:16 +02:00
Uwe Steinmann
64658c06cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-31 21:53:08 +02:00
Uwe Steinmann
4d931b74e5 use jquery validation 2021-05-31 19:38:26 +02:00
Uwe Steinmann
9ae4a01705 check if download/viewonline is allowed 2021-05-31 19:32:39 +02:00
Uwe Steinmann
13d1e92434 use jquery validation 2021-05-31 19:14:19 +02:00
Uwe Steinmann
8f5a699f0c log successful authentication 2021-05-31 19:13:51 +02:00
Uwe Steinmann
d325340e0b use jquery validation 2021-05-28 14:18:26 +02:00
Uwe Steinmann
07919b0810 add code to use bootstrap's custom file input (currently not used) 2021-05-28 12:23:04 +02:00
Uwe Steinmann
16e4675d93 add comment 2021-05-28 10:36:39 +02:00
Uwe Steinmann
1b566f8fde add '\n' after js statement 2021-05-28 10:36:15 +02:00
Uwe Steinmann
d3b8202086 set message after successful folder/document deletion 2021-05-28 10:35:39 +02:00
Uwe Steinmann
8ed5d8cdc9 add more changes to 5.1.22 2021-05-27 21:57:57 +02:00
Uwe Steinmann
c75ae806ae switch to jquery validation of forms 2021-05-27 21:57:12 +02:00
Uwe Steinmann
3a3b4ec953 add default values for jquery validation 2021-05-27 21:56:33 +02:00
Uwe Steinmann
cf411df04f add data-target-highlight for jquery validation 2021-05-27 21:55:34 +02:00
Uwe Steinmann
ea45ed5b7b issue warning if document has expired, validate form to add link 2021-05-27 21:53:49 +02:00
Uwe Steinmann
2ec025451b pass $dms and guestId to view 2021-05-27 21:52:40 +02:00
Uwe Steinmann
386a18be09 check for name, email and comment, remove duplicate quota code 2021-05-27 21:52:01 +02:00
Uwe Steinmann
9575090fdd check if name and comment is set 2021-05-27 19:52:13 +02:00
Uwe Steinmann
8b69d859a4 check if comment is set 2021-05-27 19:51:50 +02:00
Uwe Steinmann
730bcedc30 put header above error messages 2021-05-27 12:58:37 +02:00
Uwe Steinmann
a4d78cc0f6 set all themes to bootstrap 2021-05-27 12:58:14 +02:00
Uwe Steinmann
43938a1c19 set SQL_MODE to allow invalid date values 2021-05-27 12:57:44 +02:00
Uwe Steinmann
917b583d2a do not drop primary key of tblDocumentContent (it doesn't exist) 2021-05-27 12:57:02 +02:00
Uwe Steinmann
7406ad6297 check if guest user actually exists 2021-05-27 12:56:31 +02:00
Uwe Steinmann
afb77c4365 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-25 15:40:20 +02:00
Uwe Steinmann
bbb9d5c0d6 set class="btn" in link to open modal box, otherwise the button disappears 2021-05-25 15:15:27 +02:00
Uwe Steinmann
9691a106e2 fix typo 2021-05-25 09:03:32 +02:00
Uwe Steinmann
1132bd134e fix strict php warning 2021-05-25 09:02:59 +02:00
Uwe Steinmann
1a5a5ad6c8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-22 13:58:37 +02:00
Uwe Steinmann
21ce9631d7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-05-22 13:58:23 +02:00
Uwe Steinmann
be5785589b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-05-22 13:58:11 +02:00
Uwe Steinmann
f1a17f18a4 minor updates 2021-05-22 13:57:55 +02:00
Uwe Steinmann
aef421a581 fix color change of header after substituion of user 2021-05-22 13:14:17 +02:00
Uwe Steinmann
3614bae91b get status of latest content 2021-05-22 13:12:38 +02:00
Uwe Steinmann
da86d0714d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-21 14:55:05 +02:00
Uwe Steinmann
635c40bd84 put menu items into one global menu 2021-05-21 14:54:23 +02:00
Uwe Steinmann
165eaec67e set zIndexOffset of datepicker to 1040, which is above the header 2021-05-21 14:53:42 +02:00
Uwe Steinmann
88ace95baa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-21 10:40:25 +02:00
Uwe Steinmann
19600dd7ca no need to include bootbox.js anymore 2021-05-21 10:37:09 +02:00
Uwe Steinmann
05a3405f07 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-21 10:11:42 +02:00
Uwe Steinmann
b12dbd8e02 move sending notification mail into Notification service 2021-05-21 09:14:55 +02:00
Uwe Steinmann
a9d912bce2 better error checking, send notification mail via notification service 2021-05-21 08:54:07 +02:00
Uwe Steinmann
eacd59c2ef issue splash messages 2021-05-21 08:53:43 +02:00
Uwe Steinmann
477d1a69b8 issue splash message 2021-05-21 08:51:47 +02:00
Uwe Steinmann
9ed96e2a2a init $statusstartdate and $statusenddate in search() 2021-05-21 08:51:08 +02:00
Uwe Steinmann
aa8f6250b3 move sending notification emails into notification service 2021-05-19 21:19:32 +02:00
Uwe Steinmann
8de5b0ab15 add notes for 5.1.23 2021-05-19 20:44:37 +02:00
Uwe Steinmann
5028f37acc move notification emails into notification service 2021-05-19 20:41:50 +02:00
Uwe Steinmann
24be00ccd1 add methods getApproveLog() and getReviewLog() 2021-05-19 20:40:45 +02:00
Uwe Steinmann
1d4bd6d1f0 place submit outside of content area 2021-05-19 17:01:18 +02:00
Uwe Steinmann
acf85728c3 move sending notification mail into Notification Service 2021-05-19 16:18:03 +02:00
Uwe Steinmann
4d84aa2ce2 remove old commented code 2021-05-19 16:11:18 +02:00
Uwe Steinmann
92ff13afc6 move notification mail into notification service 2021-05-19 15:13:49 +02:00
Uwe Steinmann
6feb6d7121 remove already commented code 2021-05-19 08:34:31 +02:00
Uwe Steinmann
ba381d8e85 use controller RemoveDocument, send mail with notification class 2021-05-19 08:33:15 +02:00
Uwe Steinmann
0852d10df4 add version to document update mail, add stub for remove version mail 2021-05-19 08:32:38 +02:00
Uwe Steinmann
97c001acbe move notification mail into notification service 2021-05-18 17:39:14 +02:00
Uwe Steinmann
040793034b move notification mail into class NotificationService 2021-05-18 17:07:14 +02:00
Uwe Steinmann
3422e5a906 move sending notification mail in class NotificationService 2021-05-18 16:58:16 +02:00
Uwe Steinmann
960edf45ea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-17 13:34:08 +02:00
Uwe Steinmann
72dcae36a2 place submit button outside content area 2021-05-17 13:31:32 +02:00
Uwe Steinmann
cd99928cd4 remove superflous fold mark 2021-05-17 07:01:50 +02:00
Uwe Steinmann
d939b40486 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-17 07:01:22 +02:00
Uwe Steinmann
abd52ea219 set version in sendChangedVersionCommentMail() 2021-05-17 07:01:03 +02:00
Uwe Steinmann
447c035065 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-17 06:59:44 +02:00
Uwe Steinmann
33c6436c16 move more emails into class NotificationService 2021-05-15 22:46:46 +02:00
Uwe Steinmann
7f417157f8 move sending mails into NotificationService 2021-05-15 12:17:07 +02:00
Uwe Steinmann
07b8ab9706 use methods in notification service for sending mails 2021-05-15 07:39:18 +02:00
Uwe Steinmann
d6a296c071 add more methods for sending mails 2021-05-15 07:38:46 +02:00
Uwe Steinmann
64c6c21592 fix error in creating list of notifier 2021-05-15 07:38:04 +02:00
Uwe Steinmann
c6a7460533 add missing case in getAttributeValidationError() 2021-05-15 07:37:21 +02:00
Uwe Steinmann
423f42c1f4 use new method sendNewDocumentMail() to send notification mail 2021-05-14 21:56:37 +02:00
Uwe Steinmann
e436e7fb05 pass settings to notification 2021-05-14 21:56:09 +02:00
Uwe Steinmann
ca52671bac add method sendNewDocumentMail(), settings can be passed to construct 2021-05-14 21:55:48 +02:00
Uwe Steinmann
e40fcf1c2c add method sendNewDocumentMail(), settings can be passed to construct 2021-05-14 21:55:00 +02:00
Uwe Steinmann
e5159ca7f9 add methods SeedDMS_Core_DocumentContent::getReviewers() and SeedDMS_Core_DocumentContent::getApprovers() 2021-05-14 21:54:34 +02:00
Uwe Steinmann
1ac8f31105 check if shift key was preset when clicked in a folder/document row 2021-05-14 19:05:02 +02:00
Uwe Steinmann
b87f68c06e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-14 12:40:48 +02:00
Uwe Steinmann
639c280920 add changes for 5.1.23 2021-05-14 12:39:05 +02:00
Uwe Steinmann
5a74c3debf add mandatory group reviewer/approver 2021-05-14 12:37:37 +02:00
Uwe Steinmann
9a2ebf80cc fix sending notification mail to group, add mandatory group rev/app 2021-05-14 12:37:10 +02:00
Uwe Steinmann
a024cc19d3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-13 17:02:52 +02:00
Uwe Steinmann
74eccd1a1f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-05-13 17:02:42 +02:00
Uwe Steinmann
414e49e248 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-05-13 17:02:29 +02:00
Uwe Steinmann
e76581f5b1 add new and some missing translations 2021-05-13 17:01:55 +02:00
Uwe Steinmann
9d9e05a54b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-13 17:00:54 +02:00
Uwe Steinmann
0b2ba1a893 fix layout of filter field 2021-05-13 16:46:18 +02:00
Uwe Steinmann
c56901147b add class action-list to list of version actions 2021-05-12 15:32:25 +02:00
Uwe Steinmann
01a4251b9a remove extra div 2021-05-12 11:56:05 +02:00
Uwe Steinmann
c1ea7fd6cc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-12 11:39:49 +02:00
Uwe Steinmann
95f4485382 add bootstrap4 to view 2021-05-12 11:39:30 +02:00
Uwe Steinmann
21b590d547 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-12 10:57:17 +02:00
Uwe Steinmann
9a417a9460 include inc/inc.ClassAccessOperation.php 2021-05-12 09:37:48 +02:00
Uwe Steinmann
67511017bd remove SeedDMS_AccessOperation 2021-05-12 09:37:27 +02:00
Uwe Steinmann
1e20ddcddf remove SeedDMS_AccessOperation 2021-05-12 09:37:06 +02:00
Uwe Steinmann
c60f8f660d fix layout 2021-05-12 09:36:39 +02:00
Uwe Steinmann
1575cdb154 remove old call of sanitizeString() 2021-05-12 09:35:42 +02:00
Uwe Steinmann
686fef1f4e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-12 08:44:02 +02:00
Uwe Steinmann
a4935f608b remove old magic_quote code for compatibility with php 8 2021-05-12 08:43:09 +02:00
Uwe Steinmann
7d34bd86b3 create previews of attachments 2021-05-11 22:13:35 +02:00
Uwe Steinmann
813587e8c9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-11 21:19:01 +02:00
Uwe Steinmann
d1bd50fa24 support for 5.1.23 2021-05-11 21:18:36 +02:00
Uwe Steinmann
c0120b0a1d do not call get_magic_quotes_gpc() anymore 2021-05-11 21:18:15 +02:00
Uwe Steinmann
0f9be43152 get status of latest content 2021-05-11 19:06:52 +02:00
Uwe Steinmann
d1690c917d show only detail preview for older versions 2021-05-11 19:02:48 +02:00
Uwe Steinmann
2c0729915c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-11 17:59:11 +02:00
Uwe Steinmann
fb366307bf fix second parameter of showEndPaneContent() 2021-05-11 17:21:11 +02:00
Uwe Steinmann
4d9a36b080 make string of $seq, otherwise a 0 value can be set 2021-05-11 17:20:08 +02:00
Uwe Steinmann
1af7524b76 add changes of 6.0.16 2021-05-10 09:03:44 +02:00
Uwe Steinmann
266ae182f0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-10 09:03:15 +02:00
Uwe Steinmann
2bc5ce80d7 closes #510 2021-05-10 09:02:27 +02:00
Uwe Steinmann
bc4a1b5dac propperly check for translation of html body (Closes: #510) 2021-05-10 09:01:20 +02:00
Uwe Steinmann
175dd6902d update package info 2021-05-10 09:00:55 +02:00
Uwe Steinmann
4f59c3b4e8 execWithTimeout() closes all pipes and also returns return value of cmd 2021-05-10 08:54:18 +02:00
Uwe Steinmann
e0cfbd9b1b set converters in preview task, really check if preview was created 2021-05-10 08:45:52 +02:00
Uwe Steinmann
6d817b333c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-09 13:49:06 +02:00
Uwe Steinmann
c37802fdca add opitonal parameter $new to createRawPreview() and createPreview() 2021-05-09 13:48:36 +02:00
Uwe Steinmann
9cd60901b1 set proper class for coloring a table row 2021-05-09 13:42:35 +02:00
Uwe Steinmann
c53b3babbd add task for creating missing preview images 2021-05-09 13:41:53 +02:00
Uwe Steinmann
53654444f0 use sys_get_temp_dir() instead of '/tmp' 2021-05-09 08:15:14 +02:00
Uwe Steinmann
6c1327d893 add missing space between attributes of html tag 2021-05-09 08:12:49 +02:00
Uwe Steinmann
3cee482b1c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 17:51:17 +02:00
Uwe Steinmann
ed4b5e34a4 item in list with badges can be set active 2021-05-07 17:35:29 +02:00
Uwe Steinmann
e4f4a52ed6 add changes for 5.1.23 2021-05-07 15:48:27 +02:00
Uwe Steinmann
38b18488d8 show path of document/folder instead of comment 2021-05-07 15:48:07 +02:00
Uwe Steinmann
1cb6816a6f use jwt for securing preview image 2021-05-07 14:37:36 +02:00
Uwe Steinmann
06025d03db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 13:23:12 +02:00
Uwe Steinmann
543890e4eb add class SeedDMS_JwtToken 2021-05-07 13:22:57 +02:00
Uwe Steinmann
8d660b1f98 use json web token for authentication 2021-05-07 13:20:00 +02:00
Uwe Steinmann
7e73388730 add extra script for accessing preview images in rss feed 2021-05-07 12:41:03 +02:00
Uwe Steinmann
b2f0f2fa30 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 12:23:17 +02:00
Uwe Steinmann
ea37036bb1 add obsolete documents 2021-05-07 11:45:23 +02:00
Uwe Steinmann
3029bb195e SeedDMS_Core_DMS::getTimeline() uses status log instead of document content 2021-05-07 11:45:06 +02:00
Uwe Steinmann
3205f6ad82 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 09:34:09 +02:00
Uwe Steinmann
c1e6a8360f improve layout of clipboard on small devices 2021-05-07 09:32:32 +02:00
Uwe Steinmann
a0a392ff98 add classes table-sm, table-condensed 2021-05-07 09:32:06 +02:00
Uwe Steinmann
c519feb6c8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 08:54:46 +02:00
Uwe Steinmann
9d87ff9ff3 minor layout improvements 2021-05-07 08:49:13 +02:00
Uwe Steinmann
dd95c1ed8a set title of modal box from data-modal-title 2021-05-07 08:48:38 +02:00
Uwe Steinmann
1d4e7364ec Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 08:27:05 +02:00
Uwe Steinmann
8c77c1fd06 do not show file size on small devices, fix toggling checkbox 2021-05-07 08:26:29 +02:00
Uwe Steinmann
e014b37f44 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 07:53:34 +02:00
Uwe Steinmann
4adf79bb3f add a logout button in navbar (only visible on small devices) 2021-05-07 07:52:52 +02:00
Uwe Steinmann
aece6cbaaa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-07 07:33:43 +02:00
Uwe Steinmann
4baba28ed6 move search form out of collapsable nav, add logo in header 2021-05-07 07:32:53 +02:00
Uwe Steinmann
8406d0764b show search form only if user is logged in 2021-05-07 07:32:34 +02:00
Uwe Steinmann
bf62dd68e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 22:22:56 +02:00
Uwe Steinmann
0142de1c03 collapse search form after searching 2021-05-06 22:22:37 +02:00
Uwe Steinmann
065244c128 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 21:24:54 +02:00
Uwe Steinmann
6542972a12 make body margin bottom 10px larger 2021-05-06 21:24:21 +02:00
Uwe Steinmann
37192040e7 make page list smaller to fit on smal devices 2021-05-06 21:15:48 +02:00
Uwe Steinmann
ce84a8d9c8 put heading above form and search result 2021-05-06 21:15:31 +02:00
Uwe Steinmann
39e9ba904a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 20:56:40 +02:00
Uwe Steinmann
0356d65cce add form-control and placeholder to filter field 2021-05-06 20:55:48 +02:00
Uwe Steinmann
faa47a9d2e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 20:54:17 +02:00
Uwe Steinmann
1746842aa3 better layout for small devices 2021-05-06 20:51:13 +02:00
Uwe Steinmann
096312dbdb replace SeedDMS_Theme_Bootstrap by SeedDMS_Theme_Style 2021-05-06 20:25:54 +02:00
Uwe Steinmann
a99efecb7b pass email to setAuthor() only if it is syntactical correct 2021-05-06 20:25:18 +02:00
Uwe Steinmann
4ea54923d3 add class table-sm to table 2021-05-06 15:18:01 +02:00
Uwe Steinmann
c640ece18b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 15:12:35 +02:00
Uwe Steinmann
5d00837489 use warningMsg() instead of plain html 2021-05-06 15:12:11 +02:00
Uwe Steinmann
8644e750e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 15:08:55 +02:00
Uwe Steinmann
cdd75239e3 fix wrong call of parent method 2021-05-06 15:08:33 +02:00
Uwe Steinmann
2001f4f0d3 slightly improved layout 2021-05-06 15:08:11 +02:00
Uwe Steinmann
9c9de6d0a1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 14:49:32 +02:00
Uwe Steinmann
8a2aa4bdda better html layout 2021-05-06 14:49:10 +02:00
Uwe Steinmann
189bbb540c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 14:33:48 +02:00
Uwe Steinmann
f48bdb1280 set class of modal box link 2021-05-06 14:33:24 +02:00
Uwe Steinmann
93192b7e3d support custom date format, remove some html 2021-05-06 14:22:50 +02:00
Uwe Steinmann
1a84cb311a make button primary 2021-05-06 14:22:37 +02:00
Uwe Steinmann
4fb43aef5a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 13:46:15 +02:00
Uwe Steinmann
75d033d73c use showVersionDetails() for previous versions 2021-05-06 13:42:18 +02:00
Uwe Steinmann
be7df6ffab get previewwidthdetail from view in showVersionDetails() 2021-05-06 13:13:12 +02:00
Uwe Steinmann
791872adee Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 13:09:45 +02:00
Uwe Steinmann
9be41bca0b set class of modal box link button 2021-05-06 12:53:05 +02:00
Uwe Steinmann
0cbfba4d41 pass previewer to showVersionDetails() 2021-05-06 12:52:24 +02:00
Uwe Steinmann
8807257aa2 check if array element exists 2021-05-06 12:18:51 +02:00
Uwe Steinmann
f63315f6c0 move version details in own method showVersionDetails() 2021-05-06 12:17:32 +02:00
Uwe Steinmann
5869abc56b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-06 11:19:30 +02:00
Uwe Steinmann
b58c16bdee smaller font size on small displays 2021-05-06 11:03:50 +02:00
Uwe Steinmann
81fd140a92 replace ul.actions by ul.unstyled 2021-05-06 11:03:26 +02:00
Uwe Steinmann
ca4022ce7c add method showActions(), move version actions in second column 2021-05-06 11:02:20 +02:00
Uwe Steinmann
80689dc9c1 add method getModalBoxLinkAttributes() 2021-05-06 11:01:50 +02:00
Uwe Steinmann
36240ed21e do not collapse search form 2021-05-06 06:54:27 +02:00
Uwe Steinmann
cb1f49277c minor correction of nav bar color 2021-05-06 06:54:13 +02:00
Uwe Steinmann
a17fcfcd8e do not collapse search form 2021-05-05 21:54:47 +02:00
Uwe Steinmann
c6c99bc384 minor correction of nav bar color 2021-05-05 21:54:26 +02:00
Uwe Steinmann
8bb02689e4 output categories od document in lists 2021-05-05 17:13:32 +02:00
Uwe Steinmann
5549aa2b13 limit datepicker input file in width 2021-05-05 16:52:32 +02:00
Uwe Steinmann
e557811acf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-05 15:31:20 +02:00
Uwe Steinmann
aa87fffd74 set width of select2 to 100% 2021-05-05 15:30:53 +02:00
Uwe Steinmann
41b5caa302 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-05 14:34:08 +02:00
Uwe Steinmann
02bed41f65 check if certian variables are empty 2021-05-05 14:32:58 +02:00
Uwe Steinmann
515a8de2e0 put export into accordion, use formFields 2021-05-05 14:31:13 +02:00
Uwe Steinmann
12896970cc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-05 14:13:03 +02:00
Uwe Steinmann
5bf6ba8db5 add missing parameter 'type' for formField 2021-05-05 14:12:36 +02:00
Uwe Steinmann
12a44b75a3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-05 14:12:09 +02:00
Uwe Steinmann
e870e2071b redo the search form 2021-05-05 13:47:38 +02:00
Uwe Steinmann
805dbe212a fix html for date picker and accordion 2021-05-05 13:46:05 +02:00
Uwe Steinmann
1e08ea06e9 add missing ' AND ' in query string 2021-05-05 13:44:02 +02:00
Uwe Steinmann
edd60363f3 return false if query fails 2021-05-05 13:43:40 +02:00
Uwe Steinmann
f5b8b5b45d major rework, make it work again 2021-05-04 18:25:33 +02:00
Uwe Steinmann
efd79e7521 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 18:11:34 +02:00
Uwe Steinmann
26b3762962 fix layout 2021-05-04 18:11:18 +02:00
Uwe Steinmann
ff4151093c nicer layout 2021-05-04 18:08:31 +02:00
Uwe Steinmann
84a61cbd14 fix parameters of SeedDMS_AccessOperation() 2021-05-04 18:08:19 +02:00
Uwe Steinmann
d7a935b276 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 17:52:59 +02:00
Uwe Steinmann
22882e2634 pass access object to view 2021-05-04 17:50:36 +02:00
Uwe Steinmann
073ba8281c place submit button outside of contentContainer 2021-05-04 17:50:18 +02:00
Uwe Steinmann
b5116e3c1b place submit button outside of contentContainer 2021-05-04 17:49:36 +02:00
Uwe Steinmann
585fa964d5 add class 'form-control' to some select tags 2021-05-04 17:41:21 +02:00
Uwe Steinmann
f6fbcbadfa do not show message anymore, if keyword list is empty 2021-05-04 17:35:24 +02:00
Uwe Steinmann
0acfb9a265 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 17:30:23 +02:00
Uwe Steinmann
c5b5ac07db set 'setcategory' in view 2021-05-04 17:29:55 +02:00
Uwe Steinmann
7da093ff4e replace most of the html 2021-05-04 17:29:30 +02:00
Uwe Steinmann
9990fdb57d replace table with form controll 2021-05-04 17:29:07 +02:00
Uwe Steinmann
62d8197751 add formField of type 'plain', fix printAccordion() 2021-05-04 17:28:04 +02:00
Uwe Steinmann
ef42392e7f add formField of type 'plain' 2021-05-04 17:27:27 +02:00
Uwe Steinmann
431a2e581c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 15:57:20 +02:00
Uwe Steinmann
6b0b72a062 move all init function into one function and call after loading html 2021-05-04 15:56:43 +02:00
Uwe Steinmann
10e3ae560c set class of ul list for attachments 2021-05-04 15:56:09 +02:00
Uwe Steinmann
620783d17d move submit button out of contentContainer 2021-05-04 15:55:35 +02:00
Uwe Steinmann
bd73b57a63 move submit out of contentContainer 2021-05-04 15:55:10 +02:00
Uwe Steinmann
4cb4cce922 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 13:53:29 +02:00
Uwe Steinmann
1c6c36eb52 fix update of pwd strength bar 2021-05-04 13:40:49 +02:00
Uwe Steinmann
5fe8ab1615 set width of pwd strength bar to 100% 2021-05-04 13:40:05 +02:00
Uwe Steinmann
d3958e73f9 add border botton to contentHeading 2021-05-04 13:17:07 +02:00
Uwe Steinmann
4cb9ed294e place submit button outside of contentContainer 2021-05-04 13:16:35 +02:00
Uwe Steinmann
07affc574b fix layout, show icon on buttons only on small devices 2021-05-04 13:16:01 +02:00
Uwe Steinmann
56adaae427 fix button for removing, downloading file 2021-05-04 12:20:52 +02:00
Uwe Steinmann
efd46b7a1d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 12:12:15 +02:00
Uwe Steinmann
23b1ab9e06 use pane function from parent class 2021-05-04 12:09:44 +02:00
Uwe Steinmann
a3caa4a0c1 use getModalBox() and getModalBoxLink() 2021-05-04 12:09:20 +02:00
Uwe Steinmann
460cad8290 move author below description, use getModalBox() and getModalBoxLink() 2021-05-04 12:08:32 +02:00
Uwe Steinmann
30bed2abdf add methods for creating panes 2021-05-04 12:08:05 +02:00
Uwe Steinmann
d3674886ae add methods for creating panes, make modal boxes wide 2021-05-04 12:07:18 +02:00
Uwe Steinmann
b4b0258fbd use nav-pills instead of nav-tabs, set attribute role 2021-05-04 09:57:23 +02:00
Uwe Steinmann
196b19d42a enlarge margin bottom on smaller devices 2021-05-04 09:56:56 +02:00
Uwe Steinmann
b03e759053 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-04 09:04:25 +02:00
Uwe Steinmann
4be72880a8 typeahead search for folders can search in subfolders 2021-05-04 09:03:10 +02:00
Uwe Steinmann
b7c46ccfda put form into contentContainer 2021-05-03 22:03:37 +02:00
Uwe Steinmann
90f849c801 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-03 17:49:43 +02:00
Uwe Steinmann
a8dfcd9528 showNavigationBar() checks if 'link' is set 2021-05-03 17:49:15 +02:00
Uwe Steinmann
9578bc87d2 colorize tables 2021-05-03 17:48:51 +02:00
Uwe Steinmann
9531568586 fix editing category, place submit button outside of container 2021-05-03 17:48:12 +02:00
Uwe Steinmann
34b1d792ec Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-03 15:17:43 +02:00
Uwe Steinmann
a8ba6ef5a4 and changes for 5.1.23 2021-05-03 15:17:25 +02:00
Uwe Steinmann
a3cc1c3c43 fix php error when setting mandatory workflow 2021-05-03 14:01:56 +02:00
Uwe Steinmann
570df730e8 fix typo in comment 2021-05-03 13:52:19 +02:00
Uwe Steinmann
bc1faf4d2e set initial document status from settings 2021-05-03 13:44:38 +02:00
Uwe Steinmann
b10c3bf9af do not include bootbox.min.js, make docinfo tab active if none is selected 2021-05-03 09:02:32 +02:00
Uwe Steinmann
f95c9d6795 do not include bootbox.min.js, make currenttab active if none is selected 2021-05-03 09:01:33 +02:00
Uwe Steinmann
0a8659826f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-03 08:07:29 +02:00
Uwe Steinmann
85992322d7 set padding-left of ul.actions to 0 2021-05-03 08:05:39 +02:00
Uwe Steinmann
25a7a57112 make tables smaller (no column for status anymore) 2021-05-03 08:04:54 +02:00
Uwe Steinmann
612a493873 fix syntax error in some php versions 2021-05-02 14:46:40 +02:00
Uwe Steinmann
c2f773ad85 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-02 14:41:33 +02:00
Uwe Steinmann
cc09cd419c fix margin of body and height of footer for small devices 2021-05-02 14:41:03 +02:00
Uwe Steinmann
5e18a0b5b4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-02 13:06:29 +02:00
Uwe Steinmann
db63f8526c set footer height and body margin on smaller devices 2021-05-02 13:05:48 +02:00
Uwe Steinmann
dcba7a7572 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-02 12:53:15 +02:00
Uwe Steinmann
d51ec988d8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-05-02 12:53:01 +02:00
Uwe Steinmann
9ac421d059 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-05-02 12:52:49 +02:00
Uwe Steinmann
258968b2c2 minor translation updates 2021-05-02 12:52:30 +02:00
Uwe Steinmann
da2174fafd docs and folders can be repaired again 2021-05-02 08:34:28 +02:00
Uwe Steinmann
f0fc1bfcc3 add class 'table-sm' to all tables 2021-05-02 08:08:11 +02:00
Uwe Steinmann
8773195f2a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-02 07:58:13 +02:00
Uwe Steinmann
720615c175 pass enableRecursiveCount and maxRecursiveCount to view 2021-05-02 07:56:58 +02:00
Uwe Steinmann
1afda0e677 add class table-sm to table 2021-05-02 07:54:38 +02:00
Uwe Steinmann
29e9907c89 use showNavigationListWithBadges() 2021-05-02 07:54:02 +02:00
Uwe Steinmann
113db3fb01 change type of badge depending on count 2021-05-02 07:53:20 +02:00
Uwe Steinmann
539b5b02eb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-01 14:51:12 +02:00
Uwe Steinmann
262ba1345b take out submit from contentContainer, add class btn-primary to buttons 2021-05-01 14:50:04 +02:00
Uwe Steinmann
ded86a39f2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-01 14:09:28 +02:00
Uwe Steinmann
feee7732ca fix layout of buttons, place submit button outside of container around form 2021-05-01 14:08:50 +02:00
Uwe Steinmann
a2645a4f16 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-01 13:55:21 +02:00
Uwe Steinmann
23bc6ad49c add class btn-danger and btn-sm to delete buttons 2021-05-01 13:54:42 +02:00
Uwe Steinmann
8a4b520754 add class form-control to select menu 2021-05-01 13:54:14 +02:00
Uwe Steinmann
9644153d7b fix layout of dropdown folder/document search 2021-05-01 13:52:21 +02:00
Uwe Steinmann
025e293f80 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-01 13:21:12 +02:00
Uwe Steinmann
42cf1e9d05 use identical layout on all remove pages 2021-05-01 13:19:47 +02:00
Uwe Steinmann
db8e6f3ac6 fix call of constructor SeedDMS_AccessOperation() 2021-05-01 13:07:09 +02:00
Uwe Steinmann
6bb34b870a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-01 12:55:57 +02:00
Uwe Steinmann
a27d1aabe5 add changes for 5.1.23 2021-05-01 12:49:32 +02:00
Uwe Steinmann
d647b72463 remove preview images before deleting document 2021-05-01 12:47:04 +02:00
Uwe Steinmann
756b38a067 do not declare callback function in run(), uses static method instead 2021-05-01 12:46:29 +02:00
Uwe Steinmann
a3d2f844b0 limit img.mimeicon in width 2021-05-01 08:58:46 +02:00
Uwe Steinmann
49e46a6aab add style wordwrap to second column of folder/doc table 2021-05-01 08:58:14 +02:00
Uwe Steinmann
4a23c1df86 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-30 16:13:30 +02:00
Uwe Steinmann
35aa7f077f add changes of 5.1.23 2021-04-30 14:51:26 +02:00
Uwe Steinmann
0ba7aaf9b1 add css class to make look nice with bootstrap4 2021-04-30 14:49:38 +02:00
Uwe Steinmann
8be856e688 check for quota and duplicate content when uploading new doc or version 2021-04-30 14:49:02 +02:00
Uwe Steinmann
4ec36dc6db pass accessobject to view 2021-04-30 14:48:40 +02:00
Uwe Steinmann
13001867be pass accessobject to exitError view 2021-04-30 14:48:13 +02:00
Uwe Steinmann
bb5a79ba70 add changes for 6.0.16 2021-04-30 11:48:28 +02:00
Uwe Steinmann
30eadac7cd move filter field for recipients into head of table 2021-04-30 11:48:03 +02:00
Uwe Steinmann
1873d77958 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-30 09:32:42 +02:00
Uwe Steinmann
4a678ad1ec escape workflow name, fix counting recipients 2021-04-30 09:31:50 +02:00
Uwe Steinmann
98f7fc85f4 run htmlspecialchars on workflow names 2021-04-30 09:27:59 +02:00
Uwe Steinmann
4d471ed592 fix layout of recipient list, add field to filter table rows 2021-04-30 09:25:11 +02:00
Uwe Steinmann
fb44b524fd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-30 09:04:24 +02:00
Uwe Steinmann
751e91ceaf sync with bootstrap style, remove old hooks 2021-04-30 09:03:11 +02:00
Uwe Steinmann
ed12ddb573 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-30 07:57:57 +02:00
Uwe Steinmann
53af7e3173 add methods cmp_user_login() and cmp_user_fullname() 2021-04-30 07:57:27 +02:00
Uwe Steinmann
d8b2433edd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-28 18:49:17 +02:00
Uwe Steinmann
c1d2b46b2e put list of open tasks into table 2021-04-28 17:40:55 +02:00
Uwe Steinmann
e128e0e9dd add changes for 6.0.16 2021-04-28 14:26:34 +02:00
Uwe Steinmann
2c7ab1cfb1 move checkForDueRevisionWorkflow() into document version 2021-04-28 14:24:40 +02:00
Uwe Steinmann
a7deac7948 removeFromProcess() writes into log when a user was replaced (not just removed) 2021-04-28 07:05:15 +02:00
Uwe Steinmann
e279a2f8e8 do not prevent events, otherwise the checkbox doesn't work anymore 2021-04-27 22:17:26 +02:00
Uwe Steinmann
84fca7227c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-27 21:01:04 +02:00
Uwe Steinmann
1a6f2e9b17 add js for operations on documents 2021-04-27 21:00:26 +02:00
Uwe Steinmann
86fa6269b4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-27 20:57:54 +02:00
Uwe Steinmann
3f40dce22d add changes for 5.1.23 2021-04-27 20:33:54 +02:00
Uwe Steinmann
6033a702c6 fix icon for sustitute user 2021-04-27 19:36:54 +02:00
Uwe Steinmann
1956cf74ce add class table-sm 2021-04-27 19:36:41 +02:00
Uwe Steinmann
cce5b69c23 show list of documents affected 2021-04-27 19:36:12 +02:00
Uwe Steinmann
42b97969b5 pass task and previewer to view 2021-04-27 19:35:35 +02:00
Uwe Steinmann
7e7b12f1c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-27 17:11:09 +02:00
Uwe Steinmann
74a2e39ff4 put form into column 2021-04-27 17:10:42 +02:00
Uwe Steinmann
734ff7d33f add path to documentListRow, make column for form wider 2021-04-27 17:06:19 +02:00
Uwe Steinmann
cad9e24ec3 fix progress bars of reception 2021-04-27 07:27:31 +02:00
Uwe Steinmann
42a7644d09 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-26 12:25:35 +02:00
Uwe Steinmann
43a280bc6d set sequence of document when moving 2021-04-26 12:24:55 +02:00
Uwe Steinmann
4c47d69a88 remove old html code 2021-04-23 12:51:31 +02:00
Uwe Steinmann
62eb152b01 indicate if extension is enabled/disabled 2021-04-23 10:18:23 +02:00
Uwe Steinmann
33e746ff80 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-23 10:04:09 +02:00
Uwe Steinmann
c61581f836 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-04-23 10:03:55 +02:00
Uwe Steinmann
b5c4ae8238 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-04-23 10:03:42 +02:00
Uwe Steinmann
51d1bd98d6 various updates 2021-04-23 10:03:19 +02:00
Uwe Steinmann
54dabfed93 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-23 10:01:03 +02:00
Uwe Steinmann
ffdc648292 use same way to check for hooks in hasHook() and callHook() 2021-04-23 09:56:25 +02:00
Uwe Steinmann
a7e214b5a9 check for missing class 'finfo', add style table-sm 2021-04-23 09:55:58 +02:00
Uwe Steinmann
fd90623de4 use callHook() instead of interating over hookObjects 2021-04-23 09:55:25 +02:00
Uwe Steinmann
1a114830a5 do not include page navigation with ajax anymore 2021-04-23 09:54:36 +02:00
Uwe Steinmann
3d15736772 read property viewAliasName 2021-04-23 06:55:10 +02:00
Uwe Steinmann
f275ea1927 add example on how to set viewAliasName 2021-04-23 06:54:43 +02:00
Uwe Steinmann
132b904315 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-22 14:50:28 +02:00
Uwe Steinmann
1c4b17f053 move notifier into left column 2021-04-22 14:47:38 +02:00
Uwe Steinmann
fa241482c0 set type='danger' of submit button 2021-04-22 14:41:30 +02:00
Uwe Steinmann
f55db469c7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-22 14:38:51 +02:00
Uwe Steinmann
566e3b713d add 4th parameter $type to formSubmit() 2021-04-22 14:38:23 +02:00
Uwe Steinmann
621bf34ad9 add changes for 5.1.23 2021-04-22 14:38:04 +02:00
Uwe Steinmann
c9ae939bff add entry for 6.0.16 2021-04-22 14:32:47 +02:00
Uwe Steinmann
73a7f8a5f2 cancel checkout needs confirmation 2021-04-22 14:31:36 +02:00
Uwe Steinmann
39b81e03c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-22 14:19:35 +02:00
Uwe Steinmann
7f4c9a036d check if parent folder exists in getListRowPath() 2021-04-22 10:22:03 +02:00
Uwe Steinmann
b291149644 show path of found folder 2021-04-22 09:59:37 +02:00
Uwe Steinmann
7d4ed3a975 move search for documents to first position in select box 2021-04-22 09:29:42 +02:00
Uwe Steinmann
6a9def5358 issue warning if full text search is disabled 2021-04-22 09:28:25 +02:00
Uwe Steinmann
15c281095d set placeholder for frequency 2021-04-22 09:28:07 +02:00
Uwe Steinmann
7bdf60ebbf update execute() to meet latest changes in passed parameters 2021-04-21 17:44:17 +02:00
Uwe Steinmann
6245a53bae allow autocompletion 2021-04-21 17:39:23 +02:00
Uwe Steinmann
92ddf1b4b7 add class btn-sm to go-to-parent button 2021-04-21 12:45:15 +02:00
Uwe Steinmann
3299c75d18 set type of alert for clipboard drop area 2021-04-21 12:43:57 +02:00
Uwe Steinmann
606f8d8df8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-21 12:39:54 +02:00
Uwe Steinmann
68b307cf34 add missing notes for 5.1.23 2021-04-21 08:52:37 +02:00
Uwe Steinmann
06962e39c2 add new method getListRowPath() 2021-04-20 22:24:16 +02:00
Uwe Steinmann
801e5fd6ac fix line indention 2021-04-20 22:21:13 +02:00
Uwe Steinmann
42c4b4eaaf add support for fts5, start new version 1.0.16 2021-04-20 20:52:17 +02:00
Uwe Steinmann
993a8056ec convert checkout date to readable date 2021-04-20 08:38:52 +02:00
Uwe Steinmann
81f091a44d fix class for list a actions 2021-04-19 19:54:24 +02:00
Uwe Steinmann
1fc4d21f27 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-19 19:52:25 +02:00
Uwe Steinmann
c559afd97c remove old code, fix link to MyDocuments 2021-04-19 19:49:24 +02:00
Uwe Steinmann
7b30188dd9 use class SeedDMS_Theme_Style, remove plain html 2021-04-19 19:45:40 +02:00
Uwe Steinmann
d3631a4f61 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-19 15:54:55 +02:00
Uwe Steinmann
6484094809 add missing file 2021-04-19 15:54:41 +02:00
Uwe Steinmann
79d2a5efb1 new theme based on bootstrap 4 2021-04-19 15:53:04 +02:00
Uwe Steinmann
d994232cc4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-19 08:38:41 +02:00
Uwe Steinmann
3d7a74ec32 fix line indenting 2021-04-19 08:36:07 +02:00
Uwe Steinmann
d57a4c69b2 add class table-sm to table 2021-04-19 08:35:57 +02:00
Uwe Steinmann
bbe919118f add class table-sm to table 2021-04-19 08:35:05 +02:00
Uwe Steinmann
70985572dc use colums und rows from theme style 2021-04-19 08:34:40 +02:00
Uwe Steinmann
84b709c8cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-19 06:26:51 +02:00
Uwe Steinmann
08e2c2d5ef fix line indenting 2021-04-19 06:25:04 +02:00
Uwe Steinmann
d8c534dff4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-18 20:16:22 +02:00
Uwe Steinmann
4d24b0a11d call dummy check_[view|controller]_access method 2021-04-18 19:41:09 +02:00
Uwe Steinmann
91e4351ccc include inc.ClassAccessOperation.php 2021-04-18 19:40:13 +02:00
Uwe Steinmann
9565010cd0 pass AccessOperation to view 2021-04-18 19:39:37 +02:00
Uwe Steinmann
0695f35f8d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-18 13:02:30 +02:00
Uwe Steinmann
314a35b2d8 backport check_view_access and check_controller_access for smoother migration 2021-04-18 13:01:11 +02:00
Uwe Steinmann
f3fb09762f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-18 08:45:23 +02:00
Uwe Steinmann
8141ce72ec some minor corrections taken over from new bootstrap4 theme 2021-04-18 08:44:01 +02:00
Uwe Steinmann
2c2d1e4dd8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-18 08:05:07 +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
28480a8733 move 'new SeedDMS_AccessOperation' after document is known 2021-04-18 07:05:57 +02:00
Uwe Steinmann
a6ac5d546a include inc.DBInit.php 2021-04-18 07:05:10 +02:00
Uwe Steinmann
43567ac1d7 include missing inc.Utils.php 2021-04-18 07:04:15 +02:00
Uwe Steinmann
2458655961 add more packages for new bootstrap4 theme 2021-04-18 07:03:31 +02:00
Uwe Steinmann
6c0b544446 do not use session id in form key if not logged in 2021-04-18 07:02:53 +02:00
Uwe Steinmann
888d75953e use require_once for style classes, set 'theme' in view 2021-04-18 07:02:01 +02:00
Uwe Steinmann
91a98ac6c6 copy bootstrap 2021-04-15 17:33:18 +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
5a90336583 change bootstrapDir to bootstrap4 2021-04-15 15:35:11 +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
ac85cfe26d fall back to bootstrap file, include theme style 2021-04-15 10:31:37 +02:00
Uwe Steinmann
130afd7d25 pass name of user as parameter to checkout msg 2021-04-15 06:34:56 +02:00
Uwe Steinmann
c0377d4e34 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-13 08:42:36 +02:00
Uwe Steinmann
5efc5802b7 start version 5.1.23 2021-04-13 08:39:07 +02:00
Uwe Steinmann
8fcfd70bd6 Merge branch 'seeddms-5.1.x' 2021-04-13 07:43:43 +02:00
Uwe Steinmann
7c2ac0e6ad Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-12 17:54:25 +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
7aba671ade Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-08 10:56:51 +02:00
Uwe Steinmann
9b19d25b29 check if keywords are actually set 2021-04-08 10:56:27 +02:00
Uwe Steinmann
59e92a836f minor formating change 2021-04-08 10:55:33 +02:00
Uwe Steinmann
e10b7ff3e3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-06 22:04:43 +02:00
Uwe Steinmann
2ad4d1aac3 fixed Accept-Ranges and Content-Length when requesting partial content 2021-04-06 22:04:02 +02:00
Uwe Steinmann
5dc5400e04 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-06 18:57:02 +02:00
Uwe Steinmann
dbe98b3a9d remove extra '"' in attribute of input element 2021-04-06 18:56:30 +02:00
Uwe Steinmann
e8d1369fad Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-06 11:18:11 +02:00
Uwe Steinmann
dc8e763db1 add item for 5.1.22 2021-04-06 11:17:13 +02:00
Uwe Steinmann
67ab1e23e5 ensure the encryption key is alwasy set 2021-04-06 11:15:47 +02:00
Uwe Steinmann
397081bdeb replace plain html with formField(), add help to task params 2021-04-06 07:56:47 +02:00
Uwe Steinmann
ceeedcdd92 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-04-05 10:24:28 +02:00
Uwe Steinmann
34b1574cc1 add CVE for fixed csrf attacks 2021-04-05 10:23:58 +02:00
Uwe Steinmann
aa045478dd pass number of days to getDocumentList('DueRevisions') 2021-04-03 07:53:12 +02:00
Uwe Steinmann
c9faef81f7 use formField() instead of plain html, scroll to top for editing a task 2021-04-03 07:50:47 +02:00
Uwe Steinmann
23c9edd5a4 check if $this->extraheader['favicon'] has a value 2021-04-01 07:42:07 +02:00
Uwe Steinmann
6b0b517bed Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-30 13:03:50 +02:00
Uwe Steinmann
c238b3003f checking for missing proc_open 2021-03-30 13:03:26 +02:00
Uwe Steinmann
9bb2943719 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-29 13:48:39 +02:00
Uwe Steinmann
449db6bd5b item passed to updater of typeahead is now the complete element not just the data-value 2021-03-29 13:47:41 +02:00
Uwe Steinmann
ee727c12ba Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-29 07:37:00 +02:00
Uwe Steinmann
f29205a558 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-03-29 07:36:42 +02:00
Uwe Steinmann
6189963b66 remove building extensions 2021-03-29 07:35:53 +02:00
Uwe Steinmann
5b0ddc41b4 remove targets for creating some extensions 2021-03-29 07:34:01 +02:00
Uwe Steinmann
8fbb5fe24c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-26 07:51:19 +01:00
Uwe Steinmann
104beb3d10 add entry for 5.1.22 2021-03-26 07:50:56 +01:00
Uwe Steinmann
b18128fef2 jump right to document/folder in typeahead list 2021-03-26 07:48:36 +01: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
225c601760 pass all data attributes to updater of typeahead 2021-03-26 07:47:08 +01:00
Uwe Steinmann
67d8cf39fb regular users can no longer set owner of document while uploading 2021-03-25 16:37:56 +01:00
Uwe Steinmann
086a231b1f add 'exec' to command call 2021-03-25 15:42:28 +01:00
Uwe Steinmann
6defb81dd8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-23 17:43:58 +01:00
Uwe Steinmann
e480fb6c6f do not send email to owner, if owner is logged in user 2021-03-23 17:43:29 +01:00
Uwe Steinmann
d46654cddc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-03-23 17:42:40 +01:00
Uwe Steinmann
8f9ba9475a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-03-23 17:42:27 +01:00
Uwe Steinmann
972afe9847 minor translation update 2021-03-23 17:42:03 +01:00
Uwe Steinmann
b5baf3eb49 do not set date fields on default value '0000-00-00 00:00:00' 2021-03-23 17:40:37 +01:00
Uwe Steinmann
ffc259c680 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-22 06:40:03 +01:00
Uwe Steinmann
69d6287fd1 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:54:30 +01:00
Uwe Steinmann
bbc4943973 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:52:39 +01:00
Uwe Steinmann
a9a68d9d7b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-19 10:51:02 +01:00
Uwe Steinmann
56ae6a89f7 pass 3rd parameter to formField() if returned by hook 2021-03-19 10:49:51 +01:00
Uwe Steinmann
64e6e8f1c4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-17 08:09:13 +01:00
Uwe Steinmann
2c013b3429 add entry for 5.1.22 2021-03-17 08:07:54 +01:00
Uwe Steinmann
4d8da1a7bb smarter caching in SeedDMS_Core_Document::getDocumentFiles() 2021-03-17 08:07:45 +01:00
Uwe Steinmann
18cfdb3efe Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-16 19:15:23 +01:00
Uwe Steinmann
1210763111 formField() regards 'min' parameter 2021-03-16 19:13:51 +01:00
Uwe Steinmann
29cf87d85d fix SeedDMS_Core_Document::remove when version had its own attachments 2021-03-16 19:13:37 +01:00
Uwe Steinmann
e728633349 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-15 16:45: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
1710e5278b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-15 16:37:07 +01:00
Uwe Steinmann
55dd783882 add entry for 5.1.22 2021-03-15 16:09:35 +01:00
Uwe Steinmann
fad2020cfd add searching for last date of a document status 2021-03-15 16:08:51 +01:00
Uwe Steinmann
b103d9f30d SeedDMS_Core_DMS::search() support searching for date of last document status change 2021-03-15 16:07:57 +01:00
Uwe Steinmann
fd23364bde Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-15 12:24:27 +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
c7f8c157c6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-14 14:14:37 +01:00
Uwe Steinmann
7c18872531 fix some php warning because of missing view variables 2021-03-14 14:11:14 +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
70b2fa45e4 check if $recipients['i'] and ['g'] are set instead of $recipients 2021-03-12 21:54:52 +01:00
Uwe Steinmann
05e1f04773 fix merge error 2021-03-12 10:13:57 +01:00
Uwe Steinmann
c39fbcb70d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-12 10:12:30 +01:00
Uwe Steinmann
cc7618fde1 show date attributes as range 2021-03-12 10:09:23 +01:00
Uwe Steinmann
6ead3fe425 convert dates in custom attributes into propper format before searching 2021-03-12 10:06:54 +01:00
Uwe Steinmann
66917cd156 add support for date range search for attributes of type 'date' 2021-03-12 10:05:17 +01:00
Uwe Steinmann
5729944384 add postfix for name of attribute in getAttributeEditField() 2021-03-12 10:02:33 +01:00
Uwe Steinmann
1bcae7a93b support for calling a function in data-afterload after loading div.ajax 2021-03-12 10:01:20 +01:00
Uwe Steinmann
abaeb3ee10 remove padding of .datepicker 2021-03-12 10:00:53 +01:00
Uwe Steinmann
42cb475f34 get page navigation from ViewFolder via ajax 2021-03-10 16:37:00 +01:00
Uwe Steinmann
c8aca99462 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-10 15:59:25 +01:00
Uwe Steinmann
1e7e1a08d5 set charset in Content-Type header for js 2021-03-10 15:58:22 +01:00
Uwe Steinmann
0c08af7246 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-10 12:22:19 +01:00
Uwe Steinmann
612567f0de document security headers in .htaccess 2021-03-10 12:11:52 +01:00
Uwe Steinmann
06df2f544c set some security headers 2021-03-10 11:59:19 +01:00
Uwe Steinmann
cc2b57e486 add includeSubDomains; preload to Strict-Transport-Security header 2021-03-10 11:58:54 +01:00
Uwe Steinmann
58f349e295 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-10 09:15:57 +01:00
Uwe Steinmann
5a212cc784 get workflow, reviewers, approvers from controller after update 2021-03-10 09:15:23 +01:00
Uwe Steinmann
27aefc26c9 just a comment why the workflow is taken from the controller 2021-03-10 09:14:04 +01:00
Uwe Steinmann
c494afa49c wrong ticket number, must be #503 not #504 2021-03-08 08:04:53 +01:00
Uwe Steinmann
7f0ed73f74 close Ticket #504 2021-03-08 08:03:23 +01:00
Uwe Steinmann
1df630a28e fix downloading approval file 2021-03-08 08:02:11 +01:00
Uwe Steinmann
347c740f1f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-06 16:27:48 +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
34c81e7220 add note for 5.1.22 2021-03-06 15:27:17 +01:00
Uwe Steinmann
3acd9a2237 add some comments 2021-03-06 15:27:03 +01:00
Uwe Steinmann
ceed62bf2b do not validate value in SeedDMS_Core_Attribute::setValue(), it should have been done before 2021-03-06 15:26:18 +01:00
Uwe Steinmann
2a5a5b2053 pass $document not $folder to hook addDocumentContentAttributes 2021-03-05 18:46:20 +01:00
Uwe Steinmann
5e3f5fc8f0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-05 07:24:26 +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
7574615b3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-02 11:57:49 +01:00
Uwe Steinmann
be4f2d4113 use chzn-select for groups and users 2021-03-02 07:31:23 +01:00
Uwe Steinmann
664b881eb7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-01 18:38:13 +01:00
Uwe Steinmann
1f1fe940f8 use same user selection as on UsrMgr page 2021-03-01 18:37:49 +01:00
Uwe Steinmann
b9e12a82ae remove old table layout and use formField() 2021-03-01 09:26:37 +01:00
Uwe Steinmann
7292ceb83c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-25 17:06:47 +01:00
Uwe Steinmann
84ce189eff add more changes for 5.1.22 2021-02-25 17:06:28 +01:00
Uwe Steinmann
ad49c78302 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-25 12:06:08 +01:00
Uwe Steinmann
9d8654c183 fix major security issue 2021-02-25 12:04:27 +01:00
Uwe Steinmann
ff5580fa7e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-24 18:56:52 +01:00
Uwe Steinmann
35702a30b4 fix error when sending notification and the document content was replaced 2021-02-24 18:56:14 +01:00
Uwe Steinmann
5b9df18756 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-24 18:24:23 +01:00
Uwe Steinmann
e6220b7090 minor improvements in notification mails 2021-02-24 18:21:46 +01:00
Uwe Steinmann
53ee447d84 get logger in execute() 2021-02-24 15:11:20 +01:00
Uwe Steinmann
a0ef972028 send expired docs mail as html, log sending mail 2021-02-24 15:01:13 +01:00
Uwe Steinmann
47b3416b5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-24 13:45:40 +01:00
Uwe Steinmann
3ae98b7af3 use new methods getMandatoryReviewers() and getMandatoryApprovers() 2021-02-24 13:44:04 +01:00
Uwe Steinmann
4f650f3d2b use new methods getMandatoryReviewers and getMandatoryApprovers 2021-02-24 13:33:53 +01:00
Uwe Steinmann
bb779c678c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-24 13:29:35 +01:00
Uwe Steinmann
f8f1e3fd73 take over mandatory reviewers and approvers 2021-02-24 13:23:49 +01:00
Uwe Steinmann
a7917dad35 use new methods getMandatoryReviewers() and getMandatoryApprovers() 2021-02-24 13:23:08 +01:00
Uwe Steinmann
20586c021d add new methods getMandatoryReviewers() and getMandatoryApprovers() 2021-02-24 13:22:03 +01:00
Uwe Steinmann
8e78a217fc add advanced access control for folder, do not show delete doc/folder button without access 2021-02-24 10:23:51 +01:00
Uwe Steinmann
826a6ae109 add check_view_access 2021-02-24 10:23:01 +01:00
Uwe Steinmann
08ee240dc1 remove final '?>' 2021-02-24 08:31:50 +01:00
Uwe Steinmann
2fd21b9792 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-24 06:16:34 +01:00
Uwe Steinmann
f9c6139bda do not add html part if body doesn't exists 2021-02-24 06:15:53 +01:00
Uwe Steinmann
58e1abe568 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 21:05:38 +01:00
Uwe Steinmann
d9653e182f use require_once instead of include 2021-02-23 21:05:10 +01:00
Uwe Steinmann
41e2d7b3be Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 20:49:59 +01:00
Uwe Steinmann
33342d0b15 do not include EmailNotify 2021-02-23 20:49:26 +01:00
Uwe Steinmann
56ae71b82c fix fulltextservice 2021-02-23 20:49:10 +01:00
Uwe Steinmann
2650ff4d7f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 20:37:38 +01:00
Uwe Steinmann
9e6f49598d include right files, fix fulltext index 2021-02-23 20:37:14 +01:00
Uwe Steinmann
bc06fd60f0 include Utils.php 2021-02-23 20:16:26 +01:00
Uwe Steinmann
2850298297 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 12:22:29 +01:00
Uwe Steinmann
2bc678bc7b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-02-23 12:22:19 +01:00
Uwe Steinmann
83a9b3961d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-02-23 12:22:06 +01:00
Uwe Steinmann
0ff247d83e various translation updates 2021-02-23 12:21:38 +01:00
Uwe Steinmann
b0868e9726 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 11:50:13 +01:00
Uwe Steinmann
d0f011827b propperly set html body 2021-02-23 11:49:55 +01:00
Uwe Steinmann
a018a1602a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 08:43:31 +01:00
Uwe Steinmann
7c69ac348b fix setting body from param array 2021-02-23 08:43:03 +01:00
Uwe Steinmann
ec8d2ab8b3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-23 07:15:29 +01:00
Uwe Steinmann
9b7645f6c5 add note for 5.1.22 2021-02-21 11:51:22 +01:00
Uwe Steinmann
686a6b3ab7 add support for sending html mails 2021-02-21 11:50:42 +01:00
Uwe Steinmann
2f2472f79f add icon for m4a 2021-02-20 20:13:01 +01:00
Uwe Steinmann
d22d21d157 cancel checkout if versions mismatch 2021-02-18 16:32:32 +01:00
Uwe Steinmann
d82bd687aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-16 21:47:46 +01:00
Uwe Steinmann
12ae492f54 move creating notification service into extra file 2021-02-16 21:47:07 +01:00
Uwe Steinmann
d61f7f0b2a add css for badges 2021-02-16 15:18:27 +01:00
Uwe Steinmann
a2e9d7e3e9 add changes for 5.1.22 2021-02-16 14:57:10 +01:00
Uwe Steinmann
02a830e74c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-16 14:42:09 +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
16c8102392 send list of expired docs to configured email address 2021-02-15 19:04:23 +01:00
Uwe Steinmann
89ca0adc7d add currenttab=revapp to url in notification mail 2021-02-15 11:55:24 +01:00
Uwe Steinmann
5ac51f3c89 getDocumentList() can return sleeping revision 2021-02-11 12:24:07 +01:00
Uwe Steinmann
0d43c618cd getCurrentDatetime() takes parameter for day offset 2021-02-11 12:23:35 +01:00
Uwe Steinmann
68a16ce372 SeedDMS_Core_DMS::getDocumentList() uses ambiguous column name when sorting by status 2021-02-11 08:36:07 +01:00
Uwe Steinmann
3931227789 set new/old status code in notification mail, fix sending mail 2021-02-10 15:36:52 +01:00
Uwe Steinmann
6fa0849924 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-09 11:16:55 +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
7d93bccee6 replace old table layout 2021-02-09 11:09:02 +01:00
Uwe Steinmann
e68608bf04 check for tasks in all possible lists 2021-02-09 09:18:38 +01:00
Uwe Steinmann
7696dc66b8 no need to init task lists 2021-02-09 09:18:21 +01:00
Uwe Steinmann
d53318b917 set recvtyp to NOTIFICATION approval_submit notification 2021-02-08 18:55:18 +01:00
Uwe Steinmann
aaec9a5410 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-06 18:02:04 +01:00
Uwe Steinmann
e7b40e21f3 use htmlspecialchars() in getAttributeValue() for user/group name 2021-02-06 18:01:26 +01:00
Uwe Steinmann
531e11ce57 pass document status to notification 2021-02-05 14:22:04 +01:00
Uwe Steinmann
c524add775 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-05 13:28:34 +01:00
Uwe Steinmann
0d6fe3e238 add note for 5.1.22 2021-02-05 13:26:59 +01:00
Uwe Steinmann
9ed6f688bf list user which has been disabled 2021-02-05 13:26:03 +01:00
Uwe Steinmann
03ef93df2c add parameter $incdisabled to SeedDMS_Core_Folder::getNotifyList() 2021-02-05 13:25:46 +01:00
Uwe Steinmann
92949d8887 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-05 10:56:27 +01:00
Uwe Steinmann
8543d62ce4 pass status code as parameter to document_status_changed_email 2021-02-05 10:50:28 +01:00
Uwe Steinmann
2f23a09f24 update changes for 6.0.15 2021-02-05 07:31:47 +01:00
Uwe Steinmann
445664ed53 do not count expired documents in task list anymore 2021-02-05 07:30:00 +01:00
Uwe Steinmann
9186cf66c3 expired documents can be skipped from counting in countTasks() 2021-02-05 07:28:46 +01:00
Uwe Steinmann
3ac58509cc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-04 12:26:59 +01:00
Uwe Steinmann
4e5139616c add new parameter to SeedDMS_Core_DMS->getDocumentList() for skipping expired documents 2021-02-04 12:25:22 +01:00
Uwe Steinmann
d5cef4fabf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-04 11:15:03 +01:00
Uwe Steinmann
095d187ce1 no need to include inc/inc.ClassEmailNotify.php and Log.php anymore 2021-02-04 10:51:00 +01:00
Uwe Steinmann
a495d315e5 use global $logger 2021-02-04 10:50:38 +01:00
Uwe Steinmann
b34d06ca9b create logger before initiating extension, because it is passed to each extension 2021-02-04 10:41:56 +01:00
Uwe Steinmann
15a4d3195b pass logger to contructor of SeedDMS_ExtBase 2021-02-04 10:41:16 +01:00
Uwe Steinmann
4bfb3795bd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-02 22:03:54 +01:00
Uwe Steinmann
5210d756e9 remove second include of LogInit.php 2021-02-02 21:57:26 +01:00
Uwe Steinmann
5f7ab50965 fix sending notifiations to list 2021-02-02 21:54:29 +01:00
Uwe Steinmann
83d54c3a36 do not send mail if receiver mail address is '' 2021-02-02 21:53:49 +01:00
Uwe Steinmann
79ed5b94ae add missing LogInit 2021-02-02 20:52:29 +01:00
Uwe Steinmann
8197f37117 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-02 14:56:53 +01:00
Uwe Steinmann
4724935bec cast access mode to int when passing to constructor of SeedDMS_Core_GroupAccess or SeedDMS_Core_UserAccess 2021-02-02 14:56:15 +01:00
Uwe Steinmann
73b1051d82 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-02 13:10:37 +01:00
Uwe Steinmann
7c6ab4027a set url in notification mail 2021-02-02 13:08:55 +01:00
Uwe Steinmann
6025092793 set url of notification mail 2021-02-02 13:07:57 +01:00
Uwe Steinmann
93f0faa145 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-02 10:21:35 +01:00
Uwe Steinmann
7ebd3a4a0a get reviewers, approvers, workflow from controller before sending notifications 2021-02-02 10:21:02 +01:00
Uwe Steinmann
b971932c88 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-01 13:42:35 +01:00
Uwe Steinmann
cf9f159829 log recvtype 2021-02-01 13:42:16 +01:00
Uwe Steinmann
2fe261492c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-02-01 13:15:40 +01:00
Uwe Steinmann
fc437c2e77 get reviewers, approvers, workflow from controller 2021-02-01 13:15:14 +01:00
Uwe Steinmann
aaa40c6075 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-31 13:48:42 +01:00
Uwe Steinmann
37d3577603 show difference in number of documents on chart page 2021-01-31 13:48:25 +01:00
Uwe Steinmann
82784f4aed set guid to whole url 2021-01-30 15:40:19 +01:00
Uwe Steinmann
dc18b39305 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-30 15:09:04 +01:00
Uwe Steinmann
899d89a2a9 pass $logger to notification service 2021-01-30 15:08:40 +01:00
Uwe Steinmann
c5247b8abf escape owner name and email 2021-01-30 15:04:12 +01:00
Uwe Steinmann
f32f39bb6a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-29 14:22:12 +01:00
Uwe Steinmann
286f2d0f95 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2021-01-29 14:21:59 +01:00
Uwe Steinmann
846ca870c1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2021-01-29 14:21:42 +01:00
Uwe Steinmann
79c58b8dac various minor updates 2021-01-29 14:21:23 +01:00
Uwe Steinmann
f1f574c412 add changes for 6.0.15 2021-01-29 14:20:36 +01:00
Uwe Steinmann
780be78d36 add searching for revision date 2021-01-29 14:20:05 +01:00
Uwe Steinmann
aa8290e03b add searching fro revision date 2021-01-29 14:19:44 +01:00
Uwe Steinmann
5f280ed7a2 fix wording of log message 2021-01-29 10:53:12 +01:00
Uwe Steinmann
935d8a7b68 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-29 10:51:19 +01:00
Uwe Steinmann
eb29006e50 remove toGroup() and toList() 2021-01-29 10:51:01 +01:00
Uwe Steinmann
768345a2ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-29 10:35:45 +01:00
Uwe Steinmann
3a9bec69af log filtered out notifications 2021-01-29 10:34:01 +01:00
Uwe Steinmann
ae2eebd562 use new method SeedDMS_Core_User->isType() 2021-01-29 10:33:35 +01:00
Uwe Steinmann
8aa7662f31 add SeedDMS_Core_User->isType() and SeedDMS_Core_Group->isType() 2021-01-29 10:33:09 +01:00
Uwe Steinmann
6a3939158b add new notification receiver types, pass recv type to notif. service 2021-01-29 10:12:42 +01:00
Uwe Steinmann
8c2aac4d98 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-29 10:02:45 +01:00
Uwe Steinmann
3655f4b08c add note about modified notification service 2021-01-29 09:52:34 +01:00
Uwe Steinmann
862f8dffb3 pass type of notification receiver in each call of notification service 2021-01-29 08:58:21 +01:00
Uwe Steinmann
8e2682dcf0 add type of receiver, do not call toList and toGroup anymore 2021-01-29 08:57:37 +01:00
Uwe Steinmann
e6790f6b2f add comment that toGroup and toList are deprecated 2021-01-29 08:56:01 +01:00
Uwe Steinmann
fdde3e29c5 pass logger to Authentication Service 2021-01-28 21:09:11 +01:00
Uwe Steinmann
d0c1b16332 pass logger to constructor, introduce type of receiver 2021-01-28 21:08:33 +01:00
Uwe Steinmann
4ad9638e33 toList() returns error 2021-01-28 21:07:04 +01:00
Uwe Steinmann
32ca8ccae3 add method getDMS() to class SeedDMS_Core_User and SeedDMS_Core_Group 2021-01-28 21:05:52 +01:00
Uwe Steinmann
8129221b57 escape email address, use translated phrase 2021-01-28 12:02:22 +01:00
Uwe Steinmann
788b5b0014 escape email address 2021-01-28 12:01:59 +01:00
Uwe Steinmann
768c02866c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-27 16:30:10 +01:00
Uwe Steinmann
52a8f2d268 update release date 2021-01-27 16:27:53 +01:00
Uwe Steinmann
9862eb5bf6 fix calculation of checksum 2021-01-27 16:27:24 +01:00
Uwe Steinmann
d5629361da fixed wrong parameter description 2021-01-27 09:55:11 +01:00
Uwe Steinmann
072b1d2eb9 check if user creating the version is currently editing 2021-01-27 09:54:46 +01:00
Uwe Steinmann
2d4c7b7581 fix calculation of checksum 2021-01-26 18:06:17 +01:00
Uwe Steinmann
d6e652ec45 add changeds for 6.0.15 2021-01-26 15:44:02 +01:00
Uwe Steinmann
a7286be63a add a new task for checking the checksum of all versions 2021-01-26 15:42:45 +01:00
Uwe Steinmann
599786bcb0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-26 13:31:02 +01:00
Uwe Steinmann
8a2224b669 check checksum of document version 2021-01-26 13:30:15 +01:00
Uwe Steinmann
363fdf7a1a list docs and folder that fail the general object check 2021-01-26 12:03:34 +01:00
Uwe Steinmann
590a93525c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-25 10:09:47 +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
6ca613696e fix typos in changes for 5.1.22 2021-01-25 10:06:58 +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
d84978eb3d add note about fix csfr attack 2021-01-25 06:51:37 +01:00
Uwe Steinmann
3fa952c5cb fix possible csrf attack due to missing form token 2021-01-24 17:05:13 +01:00
Uwe Steinmann
518eecde18 fix syntax error 2021-01-18 08:45:21 +01:00
Uwe Steinmann
59c59f136a fix typo in comment 2021-01-18 07:16:21 +01:00
Uwe Steinmann
b18fb02303 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-15 10:16:33 +01:00
Uwe Steinmann
b2182362d3 remove superflous comma 2021-01-15 10:16:10 +01:00
Uwe Steinmann
a2c82409c9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-15 09:48:36 +01:00
Uwe Steinmann
a663f89363 remove some superlous comma 2021-01-15 09:48:12 +01:00
Uwe Steinmann
663d660e29 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-14 22:35:31 +01:00
Uwe Steinmann
1399a3547e placeholder of select can be set 2021-01-14 22:35:03 +01:00
Uwe Steinmann
ec41921691 use phrase select_attr instead of select_attribute_value 2021-01-14 13:59:20 +01:00
Uwe Steinmann
20bc412a17 check if document exists 2021-01-14 09:46:34 +01:00
Uwe Steinmann
feec95eff7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-13 13:18:47 +01:00
Uwe Steinmann
526d833ab1 replace icon on Statistics button 2021-01-13 13:17:33 +01:00
Uwe Steinmann
df76dbf35a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-13 09:05:39 +01:00
Uwe Steinmann
c4d00fb650 add method getTheme() 2021-01-13 09:05:19 +01:00
Uwe Steinmann
0767dadf39 loading more items on ViewFolder page obeys sort order 2021-01-13 07:42:35 +01:00
Uwe Steinmann
cb03dacf45 pass dms to SeedDMS_ExtBase 2021-01-12 22:07:01 +01:00
Uwe Steinmann
de4dec03cc add icon for mp4 2021-01-12 22:03:47 +01:00
Uwe Steinmann
d3887dcf44 user translation phrases 2021-01-12 22:02:29 +01:00
Uwe Steinmann
e847ff2647 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-11 09:07:06 +01:00
Uwe Steinmann
1d8e924273 add note about fixed clickjacking attack in 5.1.22 2021-01-11 08:23:41 +01:00
Uwe Steinmann
e52d5b52b3 init vars for view to prevent lots of php warnings 2021-01-11 08:20:46 +01:00
Uwe Steinmann
78dfd5269e run all mailto through htmlspecialchars to prevent clickjacking attacks 2021-01-11 07:59:32 +01:00
Uwe Steinmann
717cfcb615 add missing foldmarks, fix comment 2021-01-11 07:58:37 +01:00
Uwe Steinmann
d8b8719d6b add method migrate() which calls the methode migrate() in the extension 2021-01-11 07:58:02 +01:00
Uwe Steinmann
5a30032375 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-01-08 12:00:36 +01:00
Uwe Steinmann
e328c3c04e remove old document/folder from index before adding a new one 2021-01-08 10:07:12 +01:00
Uwe Steinmann
4bc32501b8 some more documentation, use appropriate variable name 2021-01-08 10:06:42 +01:00
Uwe Steinmann
9bacd79374 start version 5.1.22 2021-01-08 09:23:04 +01:00
Uwe Steinmann
323e3c49ae start new version 5.1.22 2021-01-04 21:45:55 +01:00
Uwe Steinmann
40adb027db new method hasTable(), beautify some sql statements 2021-01-04 21:45:16 +01:00
Uwe Steinmann
6f0803e698 Merge branch 'seeddms-5.1.x' 2020-12-29 09:15:13 +01:00
Uwe Steinmann
3ddd18eb84 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-29 08:27:43 +01:00
Uwe Steinmann
24db93eb36 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-12-29 08:19:50 +01:00
Uwe Steinmann
dc4b5b2010 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-12-29 08:19:36 +01:00
Uwe Steinmann
6d609a4406 major overhaul of dutch, various new translations 2020-12-29 08:19:06 +01:00
Uwe Steinmann
f353ac645e add item for 5.1.21 2020-12-28 19:44:34 +01:00
Uwe Steinmann
ac03479391 unfold all folders within current path 2020-12-28 19:43:36 +01:00
Uwe Steinmann
144d35849b check if attr def exists when setting attribute value 2020-12-28 08:14:05 +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
269431779a fix typo 2020-12-23 16:09:14 +01:00
Uwe Steinmann
0a8ca01615 place preview of drop folder menu left of menu 2020-12-23 12:19:49 +01:00
Uwe Steinmann
14f9ed0972 add note for 5.1.21 2020-12-23 07:02:53 +01:00
Uwe Steinmann
31ac06cfa8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-23 06:25:46 +01:00
Uwe Steinmann
75e68c75d9 replace phrase documents_to_trigger_rejected by document_rejected 2020-12-23 06:22:00 +01:00
Uwe Steinmann
8b2e8e0c0d Content-Length is now set in sendFile() 2020-12-23 06:21:24 +01:00
Uwe Steinmann
3b0eafd5aa sendFile() can handle partial downloads 2020-12-23 06:20:58 +01:00
Uwe Steinmann
a4636071c7 new version 1.3.2 2020-12-23 06:20:07 +01:00
Uwe Steinmann
62d19aa808 set header Content-Length 2020-12-23 06:19:52 +01:00
Uwe Steinmann
6971a46be8 show a list of apache extensions 2020-12-22 17:05:45 +01:00
Uwe Steinmann
5247508fab more info on how xsendfile is detected 2020-12-22 17:04:39 +01:00
Uwe Steinmann
5678444a28 updating -> upgrading 2020-12-22 11:38:58 +01:00
Uwe Steinmann
8c8ce0494f updating -> upgrading 2020-12-22 11:18:27 +01:00
Uwe Steinmann
1f40945218 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-21 15:51:19 +01:00
Uwe Steinmann
0e6b4c8487 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-12-21 15:51:04 +01:00
Uwe Steinmann
ea7364a345 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-12-21 15:50:54 +01:00
Uwe Steinmann
ac3cc32bb4 various translation updates 2020-12-21 15:50:34 +01:00
Uwe Steinmann
73f136b41d total number of hits is returned in $searchresult['count'] 2020-12-21 15:48:58 +01:00
Uwe Steinmann
90b3298b60 save folder id as path (not fully working) 2020-12-21 11:46:55 +01:00
Uwe Steinmann
13fbd10d45 use 'x' to seperate path ids 2020-12-21 08:14:54 +01:00
Uwe Steinmann
8d38bb7669 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-18 14:58:11 +01:00
Uwe Steinmann
835e3d2561 add path to term list 2020-12-18 14:57:41 +01:00
Uwe Steinmann
649a2d280d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-18 14:37:15 +01:00
Uwe Steinmann
405f1796e4 call each notification service 2020-12-18 14:36:51 +01:00
Uwe Steinmann
d6106c0673 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-18 12:45:56 +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
b93e6768c4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-18 10:55:18 +01:00
Uwe Steinmann
d339aad6ae init $limit and $total early, use $dms->getRootFolder() 2020-12-18 10:54:53 +01:00
Uwe Steinmann
f80cb6c24f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-18 10:44:33 +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
61a68f8325 check if home folder shall be used as root folder 2020-12-18 10:08:30 +01:00
Uwe Steinmann
ead4ad45e7 fix clearing home folder of user 2020-12-18 10:05:04 +01:00
Uwe Steinmann
f6af24c2ab fix saving _useHomeAsRootFolder 2020-12-18 08:11:40 +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
4e0452265c call getRootFolder() instead of using _roofFolderId 2020-12-18 07:52:14 +01:00
Uwe Steinmann
9c97564cb4 use $dms->getDocument() in function for checking objects 2020-12-18 07:51:13 +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
56627d8df0 do not redirect to a specific folder 2020-12-18 06:32:44 +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
1c1d547e92 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-17 18:38:04 +01:00
Uwe Steinmann
309867ac48 add entry for 5.1.21 2020-12-17 18:37:32 +01:00
Uwe Steinmann
14cf90a5bb pass start and root folder to fulltext search 2020-12-17 18:34:40 +01:00
Uwe Steinmann
b6b2b7e9a2 add path to index 2020-12-17 18:33:16 +01:00
Uwe Steinmann
77a59e008b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-17 13:43:22 +01:00
Uwe Steinmann
d9fa867582 add support for configurable date format 2020-12-17 13:41:00 +01:00
Uwe Steinmann
d624b3c9ef parameter of getReadableDate() is optional, add makeTsFromDate() 2020-12-17 13:40:04 +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
b9ad6e250f add function getConvertDateFormat() 2020-12-17 11:42:20 +01:00
Uwe Steinmann
2cc6ca95e9 allow edit attributes in S_DRAFT_APP 2020-12-17 09:41:48 +01:00
Uwe Steinmann
2c008bafee allow editAttributes in S_IN_REVISION and S_DRAFT_APP 2020-12-17 09:37:50 +01:00
Uwe Steinmann
8e1e94e01a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-16 16:51:00 +01:00
Uwe Steinmann
22cf24250c check if getting document succeeded 2020-12-16 16:48:30 +01:00
Uwe Steinmann
68ae8c17a5 check if folder/document is below rootDir can be turned on (default off) 2020-12-16 16:47:49 +01:00
Uwe Steinmann
5323feca9b add hook preRecipientsTab 2020-12-16 10:41:52 +01:00
Uwe Steinmann
0ac709b3c8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-15 21:39:37 +01:00
Uwe Steinmann
c2783c6d70 fix calculating total of docs and folders 2020-12-15 21:39:10 +01:00
Uwe Steinmann
1d72fea524 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-15 20:21:24 +01:00
Uwe Steinmann
a3be420b88 use class_parents() instead of get_class_parent() 2020-12-15 20:20:37 +01:00
Uwe Steinmann
f7a96e6888 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-15 17:42:32 +01:00
Uwe Steinmann
70c5b90643 add hook documentListRowBelowTitle 2020-12-15 17:42:07 +01:00
Uwe Steinmann
2d4007d62f fix comment 2020-12-15 17:05:04 +01:00
Uwe Steinmann
e25fda8e9b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-15 10:03:45 +01:00
Uwe Steinmann
5261cce10c fix syntax error 2020-12-15 10:03:28 +01:00
Uwe Steinmann
faf45dc253 searchdocs returns only docs with at least read access 2020-12-15 10:02:30 +01:00
Uwe Steinmann
0c399ced95 fix call of getDocumentChooserHtml() 2020-12-15 10:02:18 +01:00
Uwe Steinmann
6e2133747d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 18:47:11 +01:00
Uwe Steinmann
6e46e95702 pass current object and $new to validate() 2020-12-14 18:46:38 +01:00
Uwe Steinmann
f7bedcdbd8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 18:18:40 +01:00
Uwe Steinmann
5fdf6f460e pass $new=true to $attrdef->validate() 2020-12-14 18:17:19 +01:00
Uwe Steinmann
55e0204054 new parameter 'new' of SeedDMS_Core_AttributeDefinition::validate() 2020-12-14 18:16:35 +01:00
Uwe Steinmann
f3cc82a780 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 17:20:37 +01:00
Uwe Steinmann
c4cdf7b92e add method getDMS() 2020-12-14 17:20:06 +01:00
Uwe Steinmann
a80f177691 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 15:00:31 +01:00
Uwe Steinmann
ec5a17f4f3 pass attribute value to callback 'onAttributeValidate' 2020-12-14 14:32:40 +01:00
Uwe Steinmann
63c0804e07 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-14 10:52:10 +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
e69f7125bc check if query term already has a trailing '*' 2020-12-14 10:44:32 +01:00
Uwe Steinmann
416568f1c4 fix indexing new folder 2020-12-14 08:02:02 +01:00
Uwe Steinmann
2d2375729e get fulltextservice 2020-12-14 07:58:34 +01:00
Uwe Steinmann
40fc45473c add changes in 5.1.21 2020-12-14 07:56:50 +01:00
Uwe Steinmann
8bc8b3ae13 call postAddSubfolder, add folder to fulltext index 2020-12-14 07:56:15 +01:00
Uwe Steinmann
df29339c28 call hook postAddSubfoder, add folder to fulltext index 2020-12-14 07:55:34 +01:00
Uwe Steinmann
6b77e914d6 pass fulltextservice to controller 2020-12-14 07:53:51 +01:00
Uwe Steinmann
f18ae4ff2d update fulltext index 2020-12-14 07:53:29 +01:00
Uwe Steinmann
a3d92f5b72 return error if postAddDocument fails 2020-12-14 07:52:39 +01:00
Uwe Steinmann
e91dd1c09c call hoock postEditDocument even after hook editDocument 2020-12-14 07:51:51 +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
44daf8cc10 remove folders from fulltext index 2020-12-14 07:08:14 +01:00
Uwe Steinmann
beaa54ac92 call hook folderListItem 2020-12-13 14:45:55 +01:00
Uwe Steinmann
0c1cae25a9 remove console.log() 2020-12-13 14:45:21 +01:00
Uwe Steinmann
1e9e7c0e2f turn typeahead search on for fulltext search 2020-12-13 09:38:12 +01:00
Uwe Steinmann
7b4cad6aa9 use fulltext search if set as default or explixitly asked for 2020-12-13 09:37:38 +01:00
Uwe Steinmann
c369950458 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-13 09:11:40 +01:00
Uwe Steinmann
582c00ce4e use new typeahead search using json objects 2020-12-13 09:10:50 +01:00
Uwe Steinmann
a0557d4892 new version 1.0.15 2020-12-13 09:06:48 +01:00
Uwe Steinmann
38e0b68767 new version 1.0.16 2020-12-13 09:06:28 +01:00
Uwe Steinmann
2842375632 add own version of bootstrap typeahead 2020-12-13 09:06:03 +01:00
Uwe Steinmann
66711458ff add entry for 5.1.21 2020-12-12 16:30:22 +01:00
Uwe Steinmann
efed9f2b9c add support for indexing folders 2020-12-12 16:29:56 +01:00
Uwe Steinmann
e36a41eeae pass fulltextservice to view 2020-12-12 16:29:26 +01:00
Uwe Steinmann
bcb83d6942 set $nocontent to false when indexing a folder 2020-12-12 16:28:47 +01:00
Uwe Steinmann
82e5bf4687 add support for indexing folders, remove old predefined indexing commands 2020-12-12 16:27:53 +01:00
Uwe Steinmann
f2c376cadc sync call of getReadAccessList() with SeedDMS_Core_Document::getReadAccessList() 2020-12-12 16:27:01 +01:00
Uwe Steinmann
f02e0ca977 add more documentation 2020-12-12 16:26:21 +01:00
Uwe Steinmann
b65c62e370 fix error when checking for manager 2020-12-12 15:57:14 +01:00
Uwe Steinmann
d46d6821fc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-11 09:28:10 +01:00
Uwe Steinmann
858b01fac1 rename hash for footerjs into hashjs 2020-12-11 09:27:42 +01:00
Uwe Steinmann
410eeecd7f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-11 09:17:20 +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
e3d7a6f464 show path and name of selected doc/folder in doc/folder chooser as title 2020-12-11 09:13:04 +01:00
Uwe Steinmann
0d9cdf7dcd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-10 13:54:21 +01:00
Uwe Steinmann
f79eadf9b6 add changes for 5.1.21 2020-12-10 13:51:00 +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
401ecf1114 add mouseover and mouseleave events for dropfoldermenu 2020-12-10 13:48:29 +01:00
Uwe Steinmann
46264c49d6 pass fulltextservice to controller 2020-12-10 13:47:44 +01:00
Uwe Steinmann
19bb70af40 reindex document after editing it 2020-12-10 13:47:00 +01:00
Uwe Steinmann
52f5dbdcfa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-09 19:55:29 +01:00
Uwe Steinmann
063b950b3a add fold marks 2020-12-09 19:54:58 +01:00
Uwe Steinmann
4b4595181b move preview of attachments into controller 2020-12-09 19:54:31 +01:00
Uwe Steinmann
7162a2b2e1 check if session exists in globalNavigation() 2020-12-09 17:35:39 +01:00
Uwe Steinmann
6dd96137bf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-07 20:45:32 +01:00
Uwe Steinmann
f70973e80d translate phrases in getPeriodOfTime() 2020-12-07 20:43:27 +01:00
Uwe Steinmann
1b79a422e1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-12-07 10:26:24 +01:00
Uwe Steinmann
11fe8fe935 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-12-07 10:26:13 +01:00
Uwe Steinmann
153163fcb7 add abbreviations for min, sec, day, year, etc. 2020-12-07 10:25:35 +01:00
Uwe Steinmann
f2d5b160c5 add function getPeriodOfTime() and isAjax() 2020-12-07 10:24:30 +01:00
Uwe Steinmann
c29de3a7ca set audio preload to false 2020-12-05 15:27:40 +01:00
Uwe Steinmann
020dfb00d2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-01 22:05:28 +01:00
Uwe Steinmann
e407f82d3a add extra output of date attributes 2020-12-01 22:04:19 +01:00
Uwe Steinmann
fcab6f5a09 format date with getLongReadableDate() 2020-12-01 21:59:02 +01:00
Uwe Steinmann
bf22fe7e6a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-01 21:48:21 +01:00
Uwe Steinmann
47307ccd3d add changes for 5.1.21 2020-12-01 21:44:22 +01:00
Uwe Steinmann
29c0d889cd format dates with getLongReadableDate() 2020-12-01 21:43:10 +01:00
Uwe Steinmann
3e0e8a1b8d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-01 18:38:22 +01:00
Uwe Steinmann
363ce485e3 get[Long]ReadableDate() takes argument as 'yyyy-mm-dd hh:ii:ss' 2020-12-01 18:33:30 +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
0124f6cc74 use require_once instead of include 2020-12-01 18:23:48 +01:00
Uwe Steinmann
532d5964d9 call filter function before notification
can be used to filter out certain notifications
2020-12-01 18:21:18 +01:00
Uwe Steinmann
104952d644 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-01 12:42:48 +01:00
Uwe Steinmann
1ce88fcb13 pass orderby and orderdir to hook searchListHeader, fix icons 2020-12-01 12:41:09 +01:00
Uwe Steinmann
2158225795 put revision date into log messages 2020-12-01 12:37:13 +01:00
Uwe Steinmann
1e55c2af50 prepare to use new method SeedDMS_Bootstrap_Search::typeahead() 2020-11-30 15:42:07 +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
5c9ddac11d pass params to $dms->search() by array 2020-11-30 15:40:33 +01:00
Uwe Steinmann
ab7de0d0d0 undo a replacement of 'icon' by 'fa fa' 2020-11-27 09:24:25 +01:00
Uwe Steinmann
8b796353a5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-26 10:56:56 +01:00
Uwe Steinmann
e4be4024f5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-11-26 10:56:46 +01:00
Uwe Steinmann
7dff09fd5f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-11-26 10:56:34 +01:00
Uwe Steinmann
3f595ff145 some minor updates 2020-11-26 10:56:14 +01:00
Uwe Steinmann
67a8d10797 add discarding of checked out document 2020-11-26 09:14:03 +01:00
Uwe Steinmann
c9a2aaca9c add notes for 6.0.14 2020-11-26 09:13:37 +01:00
Uwe Steinmann
5e8de41b2e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-24 17:48:37 +01:00
Uwe Steinmann
32b03b1e58 fix another cross site scripting hole (CVE-2020-28727) 2020-11-24 17:13:36 +01:00
Uwe Steinmann
a182717d4a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-24 09:28:21 +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
152c943d5a SeedDMS_Core_Document::getCheckOutInfo() returns all checkout versions 2020-11-24 08:04:44 +01:00
Uwe Steinmann
858c449489 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-22 12:53: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
ab438f18d9 issue warning when deleting a checked out document 2020-11-22 11:39:57 +01:00
Uwe Steinmann
ab858a9af8 set todayHighlight and toggleActive in date picker 2020-11-17 08:14:12 +01:00
Uwe Steinmann
ffef8d2417 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-16 16:56:21 +01:00
Uwe Steinmann
e2db558de7 override theme even if autologin is turned on 2020-11-16 16:55:56 +01:00
Uwe Steinmann
78aab08ebd do not show the task menu at all, if there are no tasks 2020-11-16 16:50:37 +01:00
Uwe Steinmann
f440d8bf54 call hook filterList 2020-11-15 07:44:09 +01:00
Uwe Steinmann
15d05d6ace Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-13 11:24:43 +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
f47ad55223 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-11 17:42:21 +01:00
Uwe Steinmann
c36d5c9cb9 replace fa-bar icon with fa-bars 2020-11-11 17:41:58 +01:00
Uwe Steinmann
a80f710317 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-11 17:35:57 +01:00
Uwe Steinmann
bb75b768ef fix error in creating a new fulltext index 2020-11-11 17:29:53 +01:00
Uwe Steinmann
6f2581bba2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-09 16:04:03 +01:00
Uwe Steinmann
7f422cc839 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-11-09 16:01:55 +01:00
Uwe Steinmann
c4d4c878ec Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-11-09 16:01:43 +01:00
Uwe Steinmann
377095b474 more translation updates 2020-11-09 16:01:25 +01:00
Uwe Steinmann
ab5e96a5ca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-09 15:14:36 +01:00
Uwe Steinmann
768ea3544c theme in configuration can override theme of each user 2020-11-09 15:14:09 +01:00
Uwe Steinmann
f1aed51047 add method callHook() to class SeedDMS_SchedulerTaskBase 2020-11-09 15:03:06 +01:00
Uwe Steinmann
715f6ec04e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-11-05 08:41:45 +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
65a1b64db9 remove old code which was already removed in 5.1.x 2020-10-28 14:37:32 +01:00
Uwe Steinmann
3014b94111 fix syntax error 2020-10-28 14:35:05 +01:00
Uwe Steinmann
6ed79ac5dc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-28 13:57:05 +01:00
Uwe Steinmann
42907bcb44 add changes for 5.1.21 2020-10-26 15:27:07 +01:00
Uwe Steinmann
0159208e20 add new method setDocumentOwner(), owner can be set when uploadig document 2020-10-26 15:26:32 +01:00
Uwe Steinmann
8f563622b6 set php handler, fix name of mod_headers 2020-10-26 15:26:04 +01:00
Uwe Steinmann
598529da7a add item for 6.0.14 2020-10-23 18:48:32 +02:00
Uwe Steinmann
88155c8cbf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-23 18:47:59 +02:00
Uwe Steinmann
2dfbc164ae add item for 5.1.21 2020-10-23 18:47:39 +02:00
Uwe Steinmann
5a166d6a2b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-23 17:56:11 +02:00
Uwe Steinmann
a358d8565a add list of rejected documents 2020-10-23 17:06:19 +02:00
Uwe Steinmann
d842b90f9e set showtree for view 2020-10-23 17:06:06 +02:00
Uwe Steinmann
40f410a762 check for workflow and workflowstate 2020-10-23 16:27:06 +02:00
Uwe Steinmann
0cc4fccd7f show list of recject and docs that need attention if for traditional_only_approval 2020-10-23 16:26:30 +02:00
Uwe Steinmann
d7a7b251fd ? 2020-10-23 16:24:29 +02:00
Uwe Steinmann
d627aff69c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-23 13:31:26 +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
18c7a910bb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-22 13:14:29 +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
024a61319e fix typo in printDocumentChooserHtml() 2020-10-22 12:40:35 +02:00
Uwe Steinmann
867d676ef2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-22 12:31:22 +02:00
Uwe Steinmann
16836bf283 add new methods getModelBox() and getModelBoxLink() 2020-10-22 12:30:49 +02:00
Uwe Steinmann
5bfc79ceff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-22 07:39:56 +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
1617518282 show debug menu only if debug mode is on 2020-10-21 21:49:48 +02:00
Uwe Steinmann
71d9e14d69 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-21 09:37:46 +02:00
Uwe Steinmann
693af89d9a allow to select views added to tar.gz 2020-10-21 09:36:43 +02:00
Uwe Steinmann
defa988e62 backport from 6.0.x 2020-10-21 09:25:35 +02:00
Uwe Steinmann
831dff03db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-16 16:01:54 +02:00
Uwe Steinmann
57ed04eaa5 add item for 5.1.21 2020-10-16 15:57:29 +02:00
Uwe Steinmann
2bac73f4c8 set max_execution_time only if not php-cli 2020-10-15 15:34:15 +02:00
Uwe Steinmann
4f9f5cb3a9 check if metadata is set before using it 2020-10-15 13:30:34 +02:00
Uwe Steinmann
f9bcb94925 add i.warning, remove some bs-docs-sidenav 2020-10-15 10:51:02 +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
8c78c47443 add entry for 5.1.21 2020-10-08 21:59:26 +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
b67a7379ae update some packages 2020-10-08 19:49:03 +02:00
Uwe Steinmann
3b0ee6c3e3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-08 09:36:41 +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
6e653050c8 place new SeedDMS_AccessOperation() of document was get 2020-10-08 09:05:05 +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
3f74df0ae4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-07 15:21:01 +02:00
Uwe Steinmann
b509696715 item for 5.1.21 2020-10-07 07:55:44 +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
dc8c8670db Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-06 14:24:57 +02:00
Uwe Steinmann
fd9bc77fef add new method addDocumentCategory 2020-10-06 14:07:21 +02:00
Uwe Steinmann
eb0367bd7c document links can be added by regular users again 2020-10-06 06:37:07 +02:00
Uwe Steinmann
73fe0e37ff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-10-05 17:15:09 +02:00
Uwe Steinmann
d867e5d0b8 SeedDMS_Folder_DMS::getAccessList() and getDefaultAccess() do not return fals anymore if the parent does not exists. They just stop inheritance. 2020-10-03 10:18:04 +02:00
Uwe Steinmann
16e4437032 more packages 2020-10-01 10:52:49 +02:00
Uwe Steinmann
c81a2554aa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-30 11:04:52 +02:00
Uwe Steinmann
91be15c60a add note about SEEDDMS_CONFIG_FILE 2020-09-30 11:04:23 +02:00
Uwe Steinmann
bad5be893d check env var SEEDDMS_CONFIG_FILE for config file 2020-09-30 11:02:58 +02:00
Uwe Steinmann
8d2de27828 add indexing task 2020-09-30 09:11:13 +02:00
Uwe Steinmann
9b357ec3d9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 17:17:23 +02:00
Uwe Steinmann
7862f5bc80 do not export empty groups 2020-09-29 17:07:16 +02:00
Uwe Steinmann
b8652ec951 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 17:02:26 +02:00
Uwe Steinmann
7bd9f4777a add note about new fulltext search api 2020-09-29 16:51:29 +02:00
Uwe Steinmann
904eef7816 fix selection of owner 2020-09-29 16:42:10 +02:00
Uwe Steinmann
0ebd044cac paging is done by fulltext engine 2020-09-29 16:42:10 +02:00
Uwe Steinmann
397d542fb4 take limits into account 2020-09-29 16:42:09 +02:00
Uwe Steinmann
e14774110f new parameter $limit of method search() 2020-09-29 16:42:09 +02:00
Uwe Steinmann
d4c4de6284 start new version 1.0.14 2020-09-29 16:42:09 +02:00
Uwe Steinmann
338d479604 start new version 1.1.15 2020-09-29 16:42:09 +02:00
Uwe Steinmann
0979d2bd54 get category, mimetype and facets from view 2020-09-29 16:42:09 +02:00
Uwe Steinmann
3191fa9310 also check if categoryids is set 2020-09-29 16:42:09 +02:00
Uwe Steinmann
95b01544f3 search even if query is empty 2020-09-29 16:42:09 +02:00
Uwe Steinmann
b47e53637d check if search fields are set 2020-09-29 16:42:09 +02:00
Uwe Steinmann
c93faff257 new parameters of search() 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
Uwe Steinmann
acab20fe24 add documentation for Indexer() 2020-09-29 16:42:09 +02:00
Uwe Steinmann
d33eb59b4a categoryids has been replaced by category 2020-09-29 16:42:09 +02:00
Uwe Steinmann
b7d5f09e5a add terms for 'user' and 'status' 2020-09-29 16:42:09 +02:00
Uwe Steinmann
984eca8e9f add field 'status' to index 2020-09-29 16:42:09 +02:00
Uwe Steinmann
854a9ea7fd add field 'status' to index 2020-09-29 16:42:09 +02:00
Uwe Steinmann
25fc979a3a throw execption if creation/opening of index fails 2020-09-29 16:42:09 +02:00
Uwe Steinmann
41c08492ac add field 'status' to index 2020-09-29 16:42:09 +02:00
Uwe Steinmann
1fda490bbe pass a config array to search engine, search returns hits and total count 2020-09-29 16:42:09 +02:00
Uwe Steinmann
e3e46b853d get $index and $search before foreach loop 2020-09-29 16:42:09 +02:00
Uwe Steinmann
4bdb3c7061 put fulltext search into central service 2020-09-29 16:42:09 +02:00
Uwe Steinmann
3a183a452a put fulltext index into service 2020-09-29 16:42:09 +02:00
Uwe Steinmann
94e57c6a5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 16:40:03 +02:00
Uwe Steinmann
73b957281f start version 5.1.21 2020-09-29 16:37:50 +02:00
Uwe Steinmann
5d28744758 Merge branch 'seeddms-5.1.x' into master 2020-09-29 14:25:14 +02:00
Uwe Steinmann
237fb9af42 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 13:53:41 +02:00
Uwe Steinmann
dc33ad774a update release date, fix typo 2020-09-29 13:45:50 +02:00
Uwe Steinmann
4c1acfe6dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-29 09:57:21 +02:00
Uwe Steinmann
f97d969681 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-09-29 09:57:09 +02:00
Uwe Steinmann
a187db7ca0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-09-29 09:56:56 +02:00
Uwe Steinmann
d323c33b35 more translations and phrases 2020-09-29 09:56:38 +02:00
Uwe Steinmann
a71da52667 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-28 19:21:54 +02:00
Uwe Steinmann
9d2fba4fc6 log failed authentication at ldap server 2020-09-28 19:15:00 +02:00
Uwe Steinmann
2ff0979275 log user who failed to login 2020-09-28 17:28:47 +02:00
Uwe Steinmann
12e85f66c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-27 10:34:52 +02:00
Uwe Steinmann
6fedb19490 header and footer of body can be skipped 2020-09-27 10:34:10 +02:00
Uwe Steinmann
c2df7a2421 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-25 09:24:44 +02:00
Uwe Steinmann
08e04e3170 new icon for TransferObjects and RemoveFromProcesses 2020-09-25 08:58:02 +02:00
Uwe Steinmann
e38e16bf69 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-25 08:53:55 +02:00
Uwe Steinmann
05a6917102 add simple task manager in js 2020-09-24 16:50:50 +02:00
Uwe Steinmann
78948a3f51 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-24 11:56:29 +02:00
Uwe Steinmann
656cc5843f keep .htaccess file when downloading an extension 2020-09-24 11:55:40 +02:00
Uwe Steinmann
5148f27a01 set propper id of input field for library document to fix validation 2020-09-24 11:42:54 +02:00
Uwe Steinmann
d9c1d2f5af add item for 6.0.13 2020-09-24 08:56:58 +02:00
Uwe Steinmann
76f6500fd4 sync checkin code with update document code 2020-09-24 08:55:30 +02:00
Uwe Steinmann
5e1bb70d9b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-24 08:32:41 +02:00
Uwe Steinmann
e2f2021b19 use same edit attributes code as for add document 2020-09-24 08:32:09 +02:00
Uwe Steinmann
c0b7f1a395 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 15:56:54 +02:00
Uwe Steinmann
ab464b633d pass update user to callback onSetStatus 2020-09-23 15:56:29 +02:00
Uwe Steinmann
3f399dfcea concat data-query to url on trigger update 2020-09-23 13:42:03 +02:00
Uwe Steinmann
b8b88b1ba3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 13:12:41 +02:00
Uwe Steinmann
df313d316c export users of a group as csv file 2020-09-23 11:39:19 +02:00
Uwe Steinmann
ad9afab6e0 set dms of user instances 2020-09-23 11:39:00 +02:00
Uwe Steinmann
34c88aadd3 fix setting quota when importing users 2020-09-23 10:35:57 +02:00
Uwe Steinmann
fdfad60c97 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 08:55:44 +02:00
Uwe Steinmann
0f9ac271ce do not show removed approvers/reviewers unless admin 2020-09-23 08:53:05 +02:00
Uwe Steinmann
0b5ced7efb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 08:47:06 +02:00
Uwe Steinmann
76c02d89c7 remove old code for getting timeline items 2020-09-23 08:44:47 +02:00
Uwe Steinmann
36215f676a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-23 08:41:44 +02:00
Uwe Steinmann
ca1dce466d backport printVersionAttributes(), nicer output of reviewers and approvers 2020-09-23 08:37:51 +02:00
Uwe Steinmann
fe4e0c644c do not redirect ajax calls 2020-09-23 07:27:12 +02:00
Uwe Steinmann
dfad2e581b nicer layout for list of revisors and recepients 2020-09-23 07:25:31 +02:00
Uwe Steinmann
467e76b5b0 make button primary 2020-09-22 11:26:21 +02:00
Uwe Steinmann
28d45c0270 use 'text-xxx' class from bootstrap instead of own classes 2020-09-22 11:25:44 +02:00
Uwe Steinmann
f0bdb0fda3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-22 10:24:19 +02:00
Uwe Steinmann
4074c43a14 update changelog for 5.1.20 2020-09-22 10:03:44 +02:00
Uwe Steinmann
83fc0a59b1 add expiration in 3 years 2020-09-22 10:03:30 +02:00
Uwe Steinmann
505f0f97b7 check for access on view FolderAccess 2020-09-22 06:59:20 +02:00
Uwe Steinmann
62cf4f3fba add missing access check for FolderNotify 2020-09-21 18:00:34 +02:00
Uwe Steinmann
1de3bf1d41 init $menuitems for menu earlier 2020-09-21 11:03:19 +02:00
Uwe Steinmann
52e336ea4b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-18 19:24:59 +02:00
Uwe Steinmann
0a4fcb4c00 add new hooks prePreviousVersionsTab and preLatestVersionTab 2020-09-18 19:24:18 +02:00
Uwe Steinmann
9a1d92d250 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-18 19:16:58 +02:00
Uwe Steinmann
0649815e56 new hooks on view document page 2020-09-18 19:11:25 +02:00
Uwe Steinmann
71134eb29c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-18 07:48:41 +02:00
Uwe Steinmann
8d0b501978 add application/csv 2020-09-17 19:57:54 +02:00
Uwe Steinmann
2c43ef2c96 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-17 15:57:41 +02:00
Uwe Steinmann
aead80ee5c update trigger can handle arrays passed as parameter 2020-09-17 15:45:47 +02:00
Uwe Steinmann
245a103b35 fix selection of documents/folders 2020-09-17 13:01:14 +02:00
Uwe Steinmann
6d7c86ffe9 add entry for 5.1.20 2020-09-17 10:52:44 +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
d06e5fa3fb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-17 09:27:08 +02:00
Uwe Steinmann
999f4f76c9 removing a document version will not remove attachments of the document anymore 2020-09-17 09:26:08 +02:00
Uwe Steinmann
3d5aec62ce add redirect again, which was removed by accident 2020-09-17 09:23:06 +02:00
Uwe Steinmann
3efc584177 add some more mimetypes 2020-09-17 09:13:29 +02:00
Uwe Steinmann
630fefa3a8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-15 12:14:56 +02:00
Uwe Steinmann
b9748576dc add new method htmlAddJsHeader() which adds script with nonces 2020-09-15 12:14:15 +02:00
Uwe Steinmann
f0d5821bd1 add new function createNonce() 2020-09-15 12:13:51 +02:00
Uwe Steinmann
124c3c70a3 replace icon with svg 2020-09-14 13:10:01 +02:00
Uwe Steinmann
d5b53ff22d add doc to PHONY, new path phpdocumentor 2020-09-14 13:07:58 +02:00
Uwe Steinmann
3945ae54b9 import of users does not issue an error if a group column isn't set 2020-09-14 10:40:00 +02:00
Uwe Steinmann
84a849a28f check if $_POST["undelUserIds"] is set at all 2020-09-08 13:44:56 +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
5a32f4b7c5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-07 16:21:15 +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
fc9e424b75 start new version 1.0.13 2020-09-06 07:59:46 +02:00
Uwe Steinmann
dd1057128d add 'user' to list of terms 2020-09-06 07:58:43 +02:00
Uwe Steinmann
94b8690266 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-06 07:46:51 +02:00
Uwe Steinmann
ab0dfee213 init $colmap early 2020-09-06 07:46:31 +02:00
Uwe Steinmann
45f1184696 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-06 07:32:40 +02:00
Uwe Steinmann
1eee3f1335 check if group was found when rendering groups 2020-09-06 07:32:08 +02:00
Uwe Steinmann
4770364c45 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-06 07:27:15 +02:00
Uwe Steinmann
973ef339bb disregard group if not exists but issue error msg 2020-09-06 07:26:45 +02:00
Uwe Steinmann
8ec772c504 check if download file can be created 2020-09-04 14:10:24 +02:00
Uwe Steinmann
a736d60df5 fix creation of zip files, create temp file in sys_get_temp_dir() 2020-09-04 14:09:53 +02:00
Uwe Steinmann
faecb589cb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-04 13:23:35 +02:00
Uwe Steinmann
955f2b7309 add changes for 5.1.20 2020-09-04 13:23:08 +02:00
Uwe Steinmann
131d2b4645 close bug #487 in 6.0.13 2020-09-04 09:44:49 +02:00
Uwe Steinmann
4c64b316db create download file in system tmp, better error checking (Closes: #487) 2020-09-04 09:43:18 +02:00
Uwe Steinmann
01062a16a5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-04 09:38:32 +02:00
Uwe Steinmann
85edac3734 get SEEDMS_HOME from parent dir if not set 2020-09-04 09:34:45 +02:00
Uwe Steinmann
52dfa8f401 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-04 09:31:30 +02:00
Uwe Steinmann
e10ce3dc4b replace all ˝\n" by PHP_EOL 2020-09-04 09:21:40 +02:00
Uwe Steinmann
4e3922627b unified checking for settings.xml and accessing dms 2020-09-03 20:11:15 +02:00
Uwe Steinmann
a75fe94d95 add notes for 5.1.20 2020-09-03 20:10:41 +02:00
Uwe Steinmann
1ffcfdeb81 getDocumentList() returns false, if an unknown list passed 2020-09-03 20:09:41 +02:00
Uwe Steinmann
3d40b14691 read env var SEEDDMS_CONFIG_FILE 2020-09-03 16:04:57 +02:00
Uwe Steinmann
480a130180 fix import of role 2020-09-03 14:22:11 +02:00
Uwe Steinmann
a78800e036 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-03 14:21:30 +02:00
Uwe Steinmann
7a886b9693 fix import of users, add groups 2020-09-03 14:17:40 +02:00
Uwe Steinmann
fef827a7db start new version 5.1.20 2020-09-03 14:17:23 +02:00
Uwe Steinmann
a17220d373 Merge branch 'seeddms-5.1.x' into master 2020-09-02 21:25:53 +02:00
Uwe Steinmann
e13ca87843 add note for 5.1.19 2020-09-02 10:15:55 +02:00
Uwe Steinmann
ce2e6c61d2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-02 09:01:18 +02:00
Uwe Steinmann
c4c77fc499 pass current logged in user to fulltext search in order to restrict hits on readable documents 2020-09-02 08:59:42 +02:00
Uwe Steinmann
89795a7c31 index users with read access on a document, start version 1.1.12 2020-09-02 08:59:24 +02:00
Uwe Steinmann
a29c0f35aa index users with read access on a document, start version 1.1.14 2020-09-02 08:57:07 +02:00
Uwe Steinmann
e21850c92f make buttons primary 2020-09-01 15:17:49 +02:00
Uwe Steinmann
a5994e3011 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-01 15:15:07 +02:00
Uwe Steinmann
c0ad305d69 new entry for 5.1.19 2020-09-01 15:00:44 +02:00
Uwe Steinmann
dd94bb0bae fix searching within attributes of document contents 2020-09-01 14:59:50 +02:00
Uwe Steinmann
ce2ee995fc getValueSetSeparator() returns ',' for type_user and type_group 2020-09-01 14:59:16 +02:00
Uwe Steinmann
1a9e7bde1b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-09-01 11:17:02 +02:00
Uwe Steinmann
96d89a76b7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-09-01 11:16:43 +02:00
Uwe Steinmann
624ffba474 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-09-01 11:16:33 +02:00
Uwe Steinmann
6025ae731c various updates 2020-09-01 11:16:14 +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
051fac8281 add validation and parsing of new types (user, group, etc.) 2020-09-01 09:22:48 +02:00
Uwe Steinmann
ac81ce4335 add changes for 6.0.12 2020-08-31 15:41:24 +02:00
Uwe Steinmann
8865f61a54 show menu tasks in legacy mode (Closes #485) 2020-08-31 15:35:54 +02:00
Uwe Steinmann
012dbeaf27 fix access on workflow object 2020-08-31 15:31:29 +02:00
Uwe Steinmann
ee656527c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-31 14:47:09 +02:00
Uwe Steinmann
10ecff6142 better check fro repair parameter 2020-08-31 13:18:05 +02:00
Uwe Steinmann
9e5224a661 fix typo in var name 2020-08-31 13:01:40 +02:00
Uwe Steinmann
a328984b3d add version by ->version() instead of ->_number 2020-08-31 12:59:39 +02:00
Uwe Steinmann
49321d2dbe check for $fieldwrap[1] 2020-08-31 12:59:14 +02:00
Uwe Steinmann
b9ea04658b check for existence of paramter command 2020-08-31 12:58:48 +02:00
Uwe Steinmann
0db704e44f add @popperjs/core, bootstrap and perfect-scrollbar 2020-08-31 09:51:50 +02:00
Uwe Steinmann
ee87a6a384 put all js libs for bootstrap view into one copy task 2020-08-31 09:50:51 +02:00
Uwe Steinmann
52f6d0a803 fix typo 2020-08-31 09:50:39 +02:00
Uwe Steinmann
d1ad6383d2 update notes for 5.1.19 2020-08-28 15:37:02 +02:00
Uwe Steinmann
031408fdae remove duplicate release 5.1.17 2020-08-28 15:33:59 +02:00
Uwe Steinmann
29471ea6b3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-28 13:11:40 +02:00
Uwe Steinmann
b15c47117e out message if no groups/users are available 2020-08-28 13:11:05 +02:00
Uwe Steinmann
9f491dce6d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-28 12:34:26 +02:00
Uwe Steinmann
6e665abcf4 more changes in 5.1.19 2020-08-28 11:56:09 +02:00
Uwe Steinmann
c1f1389560 take out another view 2020-08-28 11:55:57 +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
4539c4a461 add generic functions called when clicking on a folder, document in a tree
add click event for removing document, folder from input field
2020-08-28 11:47:47 +02:00
Uwe Steinmann
af792b52ad add support for new attribute types 2020-08-28 11:46:46 +02:00
Uwe Steinmann
9117f8f64a add new attribute types 'document', 'folder', 'user', 'group' 2020-08-28 11:45:37 +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
bcf7d2f2d8 set err msg of controller if uploading an extension fails 2020-08-27 12:15:59 +02:00
Uwe Steinmann
b34486d701 two more specific error msg when uploading new extension 2020-08-27 12:15:21 +02:00
Uwe Steinmann
c2e50623c6 explain how to update js packages in views 2020-08-27 09:19:13 +02:00
Uwe Steinmann
67cb38bd54 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-27 08:52:58 +02:00
Uwe Steinmann
fc2682f5de add columns for hidden and disabled 2020-08-27 08:52:35 +02:00
Uwe Steinmann
aa3384f28b update icons from font-awesome 3.2.x to 4.7.x 2020-08-27 08:48:43 +02:00
Uwe Steinmann
600d14ed88 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-27 08:27:19 +02:00
Uwe Steinmann
76ed086f5d use cytoscape in views/bootstrap/vendors 2020-08-27 08:13:34 +02:00
Uwe Steinmann
b231b3f5f1 add cytoscape and cytoscape-grid-guide 2020-08-27 08:13:14 +02:00
Uwe Steinmann
36f6d7aab9 more changes for 5.1.19 2020-08-27 08:03:05 +02:00
Uwe Steinmann
1fb30caf25 fix getting group for notification when transition has fired (Closes: #483) 2020-08-27 08:00:49 +02:00
Uwe Steinmann
983c90ee23 all rewrite rule for all views, not just bootstrap 2020-08-27 07:53:22 +02:00
Uwe Steinmann
d4db6a2ba0 new version of font-awesome (4.7.1) 2020-08-27 07:52:52 +02:00
Uwe Steinmann
547ba8366e add flot and font-awesome 2020-08-27 07:49:20 +02:00
Uwe Steinmann
e962a33133 use npm and grunt for getting js packages 2020-08-26 19:07:17 +02:00
Uwe Steinmann
ead75ceea9 new markitup version 2020-08-26 19:05:33 +02:00
Uwe Steinmann
504c3533f3 add missing option -c in usage informationen 2020-08-26 15:26:17 +02:00
Uwe Steinmann
6d881fed60 take out authentication and secure script with a token 2020-08-26 11:40:04 +02:00
Uwe Steinmann
92b049ee6d pass referuri to controller 2020-08-26 11:39:42 +02:00
Uwe Steinmann
020c8f0aa8 add section on encryption key 2020-08-26 11:39:15 +02:00
Uwe Steinmann
b1560bb87b allways use http only cookie, pass referuri to controller 2020-08-26 11:38:25 +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
1af89c5b75 add notes for 5.1.19 2020-08-25 15:55:31 +02:00
Uwe Steinmann
e3dea1073c actually set owner notified user, not the logged in user, check if notified user has access on document not currently logged in user. 2020-08-25 15:53:29 +02:00
Uwe Steinmann
27d22771d7 add changes for 5.1.19 2020-08-24 13:51:41 +02:00
Uwe Steinmann
79d118a731 expiration date can be set, prefix attributes with 'attr_' 2020-08-24 12:56:36 +02:00
Uwe Steinmann
f1904ed7e4 add section on how to use cadave with seeddms 2020-08-24 12:52:23 +02:00
Uwe Steinmann
19502debea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-21 14:06:21 +02:00
Uwe Steinmann
2372cb8d09 no need to pass parameter to hook additionalCache 2020-08-21 13:20:07 +02:00
Uwe Steinmann
b083ebb40e add new method SeedDMS_Core_Document::isLatestContent() 2020-08-21 13:19:22 +02:00
Uwe Steinmann
ad8a501506 go to right url after deleting a document version 2020-08-21 12:35:06 +02:00
Uwe Steinmann
990621ae99 invalidate list of versions after removing a version 2020-08-21 12:34:35 +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
eebc1de5aa add note for 5.1.19 2020-08-21 08:00:50 +02:00
Uwe Steinmann
7b78a1ac69 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-20 19:59:26 +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
eb4d97c8a5 add item for 5.1.19 2020-08-19 11:50:56 +02:00
Uwe Steinmann
395afcbcd4 run help of config var through htmlspecialchars() 2020-08-19 11:49:48 +02:00
Uwe Steinmann
276b62082b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-14 11:12:07 +02:00
Uwe Steinmann
65c1bccf82 show latest changelog of uninstalled extensions 2020-08-14 11:11:40 +02:00
Uwe Steinmann
4a3b7ebe71 use SeedDMS_Extension_Mgr::cmpVersion() for sorting extensions 2020-08-14 11:11:12 +02:00
Uwe Steinmann
d15f742a46 sort versions of extension propperly 2020-08-14 08:48:09 +02:00
Uwe Steinmann
caea759aa9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-12 09:19:09 +02:00
Uwe Steinmann
f12983d842 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-08-12 09:18:54 +02:00
Uwe Steinmann
048f0006b3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-08-12 09:18:39 +02:00
Uwe Steinmann
33150d5631 several updates in spanish, minor in other languages 2020-08-12 09:17:52 +02:00
Uwe Steinmann
db6456d698 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-12 07:27:01 +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
e3bb44d504 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-10 07:34:14 +02:00
Uwe Steinmann
af1662f194 use a unified name in tree navigation widget 2020-08-10 07:33:29 +02:00
Uwe Steinmann
09e01c7ca5 fix for bug #481 2020-08-07 17:54:51 +02:00
Uwe Steinmann
b4944cfc64 forgot to fetch settings from container 2020-08-07 17:51:55 +02:00
Uwe Steinmann
4828c5ba63 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-05 18:53:08 +02:00
Uwe Steinmann
e6f20b8996 issue warning if no attributes are defined 2020-08-05 18:52:44 +02:00
Uwe Steinmann
b89b2a9254 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-05 18:45:09 +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
0cd7a621f4 remove space in log message 2020-08-05 18:42:44 +02:00
Uwe Steinmann
d705ff4618 notes for 5.1.19 2020-08-05 18:42:22 +02:00
Uwe Steinmann
328b1b2b1a add method setParent() as an alias for setFolder() 2020-08-05 18:41:53 +02:00
Uwe Steinmann
6c84cab7d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-05 06:45:51 +02:00
Uwe Steinmann
98965f109f remove hook 'addRooteAfterAuthentication'
it's just noch working this way
2020-08-05 06:45:04 +02:00
Uwe Steinmann
ca5457141d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-03 12:52:02 +02:00
Uwe Steinmann
aa271f6648 remove':' after value of attribute 2020-08-03 12:51:35 +02:00
Uwe Steinmann
446472c3b1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-08-01 13:50:43 +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
b6ac58eb3d add some documentation and new class SeedDMS_FolderTree 2020-08-01 13:47:49 +02:00
Uwe Steinmann
7c2959be02 add fold marks 2020-08-01 13:47:24 +02:00
Uwe Steinmann
cd5c603f7a add item for 5.1.19 2020-07-30 17:35:03 +02:00
Uwe Steinmann
25f37fae7a much more reliable import of users 2020-07-30 17:34:06 +02:00
Uwe Steinmann
aa487d612e add style for icons with class 'error' or 'success' 2020-07-30 17:33:33 +02:00
Uwe Steinmann
709d362b02 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-30 11:06:28 +02:00
Uwe Steinmann
9c2dae9d44 use new functions seed_pass_hash() and seed_pass_verify() 2020-07-30 10:57:29 +02:00
Uwe Steinmann
f655060ca4 unencrypted password can be imported 2020-07-30 10:55:40 +02:00
Uwe Steinmann
05dcde6096 add seed_pass_hash() and seed_pass_verify() 2020-07-30 10:55:13 +02:00
Uwe Steinmann
245e54f893 some additional documentation for getDocumentByName() 2020-07-28 18:12:13 +02:00
Uwe Steinmann
ce7360f13b add new hooks rightContentPre and rightContentPost 2020-07-28 18:11:49 +02:00
Uwe Steinmann
3c473cd9b4 changes for 5.1.18 2020-07-28 15:40:22 +02:00
Uwe Steinmann
b9ad2195d3 add hooks showDocumentAttribute and showDocumentContentAttribute 2020-07-28 15:39:59 +02:00
Uwe Steinmann
15d89c09d6 fix layout problems of select2 menu, allow to add icon to each option 2020-07-28 15:39:20 +02:00
Uwe Steinmann
add540c476 plain/encrypted password can be imported 2020-07-28 12:53:39 +02:00
Uwe Steinmann
4efb265f2c export encrypted password 2020-07-28 12:53:17 +02:00
Uwe Steinmann
a605ba6c67 start new version 5.1.19 2020-07-28 11:54:57 +02:00
Uwe Steinmann
54dea818f7 Merge branch 'seeddms-5.1.x' into master 2020-07-27 20:29:54 +02:00
Uwe Steinmann
08d2cc389e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-27 20:06:38 +02:00
Uwe Steinmann
6eb8854b7a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-07-27 20:06:22 +02:00
Uwe Steinmann
d769064825 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-07-27 20:06:10 +02:00
Uwe Steinmann
803b8e5a09 some translation update 2020-07-27 20:05:51 +02:00
Uwe Steinmann
680818a760 changes for 6.0.11 2020-07-27 18:43:27 +02:00
Uwe Steinmann
096f9773dc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-27 15:33:40 +02:00
Uwe Steinmann
ab8b42f960 add Content-Type to javascript file 2020-07-27 15:33:24 +02:00
Uwe Steinmann
40a6de0353 fix output of log lines 2020-07-27 15:30:30 +02:00
Uwe Steinmann
4cc66dd2b9 add export of users in 5.1.18 2020-07-27 14:18:10 +02:00
Uwe Steinmann
076535bf7d a script for export users as csv 2020-07-27 14:17:11 +02:00
Uwe Steinmann
53d33f0d7a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-22 15:10:45 +02:00
Uwe Steinmann
9239a12787 fix select menu for owner 2020-07-22 15:10:26 +02:00
Uwe Steinmann
2edf1251c7 fix select menu for owner 2020-07-22 15:09:25 +02:00
Uwe Steinmann
d664e166b6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-22 14:57:07 +02:00
Uwe Steinmann
d364f750b8 always set templateSelection for chosen select 2020-07-22 14:56:43 +02:00
Uwe Steinmann
9f49460ee9 show container around add attachment button only if button is visible 2020-07-21 16:07:51 +02:00
Uwe Steinmann
508e1b74d3 fixed name of view parameter previewConverters 2020-07-21 09:26:17 +02:00
Uwe Steinmann
5ba96000c1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-21 07:30:23 +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
0d4cd6a0be check if converters['preview'] exists 2020-07-21 07:17:19 +02:00
Uwe Steinmann
9c8f737dcd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-21 07:08:57 +02:00
Uwe Steinmann
23cf76aef2 fix ordering of folders in DocumentChooser and FolderChooser 2020-07-21 06:24:55 +02:00
Uwe Steinmann
a34cd8b4ee add new revisor when transfering processes even in status 'sleeping' 2020-07-20 19:31:47 +02:00
Uwe Steinmann
8eec73b4be add more documentation is addRevisor() 2020-07-20 19:30:36 +02:00
Uwe Steinmann
77c2841d40 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-03 06:48:35 +02:00
Uwe Steinmann
55eb876bb6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-07-03 06:48:15 +02:00
Uwe Steinmann
06530b056e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-07-03 06:47:56 +02:00
Uwe Steinmann
e986ef13ee major update of polish translation, some new phrases 2020-07-03 06:47:23 +02:00
Uwe Steinmann
00336a1af6 add note for bug #479 2020-07-02 17:43:24 +02:00
Uwe Steinmann
00d9a8c239 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-07-02 17:42:33 +02:00
Uwe Steinmann
8b1bc8351b keep documents from being index again unless they have really changed 2020-07-02 17:42:16 +02:00
Uwe Steinmann
4bd68ac535 keep documents from being index again unless they have really changed 2020-07-02 17:41:09 +02:00
Uwe Steinmann
38d8aebb49 allow select menu for task parameters 2020-07-02 17:19:07 +02:00
Uwe Steinmann
fd0a362578 allow to disable task when creating 2020-07-01 15:52:12 +02:00
Uwe Steinmann
28aed4d11a fix error msg when user cli_scheduler does not exists 2020-07-01 09:05:18 +02:00
Uwe Steinmann
837f697d3b better import of users 2020-06-29 17:24:26 +02:00
Uwe Steinmann
e64ef5fae3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-29 08:23:06 +02:00
Uwe Steinmann
b19db06572 fix constant auth failure even if logged in 2020-06-29 08:22:29 +02:00
Uwe Steinmann
8c9af6d4ca remove old code 2020-06-29 08:06:47 +02:00
Uwe Steinmann
fbfd3644c7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-29 07:33:49 +02:00
Uwe Steinmann
5a470d6b6f better description of dependencies 2020-06-29 06:47:49 +02:00
Uwe Steinmann
e440985fb9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-28 19:54:39 +02:00
Uwe Steinmann
f440ffa224 check for prefixorgfilename in PROPFIND 2020-06-28 19:38:17 +02:00
Uwe Steinmann
db668791d1 check for user cli_scheduler before running any tasks 2020-06-28 19:24:12 +02:00
Uwe Steinmann
9a8b13a1cc check if $recipients is set 2020-06-28 19:23:38 +02:00
Uwe Steinmann
b44a368d6d use new method resolveTask() 2020-06-28 13:59:54 +02:00
Uwe Steinmann
af9dc81ba4 add method resolveTask() 2020-06-28 13:58:32 +02:00
Uwe Steinmann
cd3026a88a remove spaces 2020-06-28 13:57:34 +02:00
Uwe Steinmann
b14326e1ad more precise check for available task 2020-06-27 12:27:59 +02:00
Uwe Steinmann
9eae07fae9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-25 08:57:02 +02:00
Uwe Steinmann
c26a2beda1 update documentation for init function 2020-06-25 08:56:41 +02:00
Uwe Steinmann
e7940f1917 pass settings to contructor of extension object 2020-06-25 08:56:06 +02:00
Uwe Steinmann
cfc2ca1e24 support for additional parameters of type 'password' 2020-06-25 08:54:37 +02:00
Uwe Steinmann
619e8a8d30 do not output passwords as clear text 2020-06-25 08:54:10 +02:00
Uwe Steinmann
31720be0fe add prototype functions, add getAdditionalParametersByName() 2020-06-25 08:53:34 +02:00
Uwe Steinmann
395d71b705 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-24 21:23:08 +02:00
Uwe Steinmann
aacfd1f486 run hook addRouteAfterAuthentication if hook addRoute didn't run 2020-06-24 21:17:06 +02:00
Uwe Steinmann
d2584c7f34 save indexconf into settings 2020-06-24 21:16:00 +02:00
Uwe Steinmann
472caa19ba check if attributesversion has a value 2020-06-24 21:15:33 +02:00
Uwe Steinmann
505bf27d52 include ClassNotificationService and ClassEmailNotify 2020-06-24 21:13:22 +02:00
Uwe Steinmann
994b207f2b improve support for using original filenames (still not ready) 2020-06-24 16:22:28 +02:00
Uwe Steinmann
6d634a0f18 add notes for 5.1.18 2020-06-24 16:17:51 +02:00
Uwe Steinmann
15c41a0528 add swagger api definition and .htaccess 2020-06-24 16:16:44 +02:00
Uwe Steinmann
7748b112ef major rework, put authentication into slim middleware, fully migrate to slim 2020-06-24 16:15:32 +02:00
Uwe Steinmann
51b1a476bf cast id to integer 2020-06-24 16:15:13 +02:00
Uwe Steinmann
98945e57df cast id to int 2020-06-24 16:14:58 +02:00
Uwe Steinmann
5a3e2578e1 better error checking and fixed some return values 2020-06-23 10:01:41 +02:00
Uwe Steinmann
ac1ea2d58e add note for 5.1.18 2020-06-23 09:59:57 +02:00
Uwe Steinmann
a68f644ba5 create temp table ttcontentid in getDocumentByOriginalFilename() 2020-06-23 09:58:38 +02:00
Uwe Steinmann
31e001172f add entry for 5.1.18 2020-06-19 11:43:08 +02:00
Uwe Steinmann
ba91151cea add note for 5.1.18 2020-06-19 11:38:52 +02:00
Uwe Steinmann
f817fc4489 fix parsing of file size 2020-06-19 11:36:51 +02:00
Uwe Steinmann
d56812f66d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-19 08:09:30 +02:00
Uwe Steinmann
a4ccfe1a7d set browser url when selecting category 2020-06-19 08:08:56 +02:00
Uwe Steinmann
dc210cf59c clean up code, better error checking, unified http return codes 2020-06-19 08:08:23 +02:00
Uwe Steinmann
960884cdc2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-06-17 11:21:25 +02:00
Uwe Steinmann
5801312a3e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-06-17 11:21:13 +02:00
Uwe Steinmann
8b0095cc10 various new phrases 2020-06-17 11:20:53 +02:00
Uwe Steinmann
7725a0b03b add configuration for authentication by key in rest api 2020-06-17 11:19:02 +02:00
Uwe Steinmann
0429815c78 add changes for 5.1.18 2020-06-17 11:18:42 +02:00
Uwe Steinmann
5dcafd65ce add support for cors 2020-06-17 11:18:15 +02:00
Uwe Steinmann
fd7cca239a ignore all files/directories starting with '.' when zipіng an extension 2020-06-17 11:17:09 +02:00
Uwe Steinmann
d9143ff271 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-16 12:14:03 +02:00
Uwe Steinmann
b97387ecb1 set http status 403 if user is not admin, set status 500 for some other errors 2020-06-16 12:12:50 +02:00
Uwe Steinmann
5bb78b6468 fix sorting by name in getInstanceBy(), init _dms to null 2020-06-16 08:29:33 +02:00
Uwe Steinmann
550f0ee1f1 fix typo in comments 2020-06-16 07:20:57 +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
bf1d8482d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-09 21:36:48 +02:00
Uwe Steinmann
1964f1dfd6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-06-09 21:19:56 +02:00
Uwe Steinmann
5e53551ee7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-06-09 21:19:44 +02:00
Uwe Steinmann
859f6fd430 many chinese taiwan translations 2020-06-09 21:19:00 +02:00
Uwe Steinmann
514002f877 import users from csv file 2020-06-09 21:07:47 +02:00
Uwe Steinmann
a15c968d72 use getBoolValue() to get onePageMode from _POST 2020-06-08 12:08:18 +02:00
Uwe Steinmann
46d392f71f fix wrong var name in addLogLine() 2020-06-08 12:05:50 +02:00
Uwe Steinmann
1c8452ecea docs in S_IN_REVISION are in list AppRev (had been removed after merge) 2020-06-06 16:15:32 +02:00
Uwe Steinmann
50fb928988 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-06-05 18:10:23 +02:00
Uwe Steinmann
3cf091099b fix many remaining todos (moѕtly wrong var names) 2020-06-05 18:06:27 +02:00
Uwe Steinmann
98734e8ef9 add entry for 6.0.11 2020-06-05 17:50:26 +02:00
Uwe Steinmann
b974f4c4e9 filterAccess() propperly checks for documents 2020-06-05 17:45:31 +02:00
Uwe Steinmann
cc6fd60168 start new version 6.0.11 2020-06-05 17:45:17 +02:00
Uwe Steinmann
76d92db9fa add changes for 5.1.18 2020-06-03 18:31:42 +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
8e139e46b3 do not check for db version if disabled 2020-06-03 18:21:56 +02:00
Uwe Steinmann
3d754a376b add coloured output, do not include Log.php, use PHP_EOL 2020-06-03 18:21:23 +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
e1a6497b05 start new version 5.1.18 2020-05-28 12:49:53 +02:00
Uwe Steinmann
b2c606f37f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-28 11:54:09 +02:00
Uwe Steinmann
c70f1cc6f8 start new version 5.1.18 2020-05-28 11:51:55 +02:00
Uwe Steinmann
a446f45e43 Merge branch 'seeddms-5.1.x' 2020-05-28 11:37:04 +02:00
Uwe Steinmann
db3a372e94 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-28 11:25:22 +02:00
Uwe Steinmann
2217079b41 do not use $theme in notFoundHandler 2020-05-28 10:46:19 +02:00
Uwe Steinmann
6f0b8806a1 include inc.ClassSchedulerTaskBase.php 2020-05-28 08:10:39 +02:00
Uwe Steinmann
b1c433e594 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-28 08:01:47 +02:00
Uwe Steinmann
1d99c05b20 fix check for edit version 2020-05-28 07:59:57 +02:00
Uwe Steinmann
3a913aaaa9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-28 07:38:09 +02:00
Uwe Steinmann
128f6c12e9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-05-28 07:37:57 +02:00
Uwe Steinmann
fc51bc3c43 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-05-28 07:37:45 +02:00
Uwe Steinmann
b83db90f76 add task_core_expireddocs_days 2020-05-28 07:36:44 +02:00
Uwe Steinmann
3a29edff89 some info on how to set up the cronjob 2020-05-27 22:13:47 +02:00
Uwe Steinmann
c59a112917 add entry for 6.0.10 (adding op.Cron.php) 2020-05-27 22:08:18 +02:00
Uwe Steinmann
579b561d9d add script to run scheduled tasks 2020-05-27 22:07:13 +02:00
Uwe Steinmann
f4a9182ead fix getting document id for image preview 2020-05-27 16:35:11 +02:00
Uwe Steinmann
4f014a51e4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-27 16:34:07 +02:00
Uwe Steinmann
bff27eb42c use $latestContent->getDocument() to get document 2020-05-27 16:33:41 +02:00
Uwe Steinmann
6773f93e11 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-27 16:24:43 +02:00
Uwe Steinmann
aa55ed3bcb show fast upload always but check for write access 2020-05-27 16:23:19 +02:00
Uwe Steinmann
376df1cb20 include new task for checking for expired documents 2020-05-27 15:12:03 +02:00
Uwe Steinmann
fc5ad6e5e5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-27 12:07:03 +02:00
Uwe Steinmann
b4e44583d0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-05-27 12:06:51 +02:00
Uwe Steinmann
0da8f44d70 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-05-27 12:06:37 +02:00
Uwe Steinmann
9655520270 various minor updates (mostly turkish) 2020-05-27 12:06:10 +02:00
Uwe Steinmann
d497eebc01 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-27 12:05:39 +02:00
Uwe Steinmann
06a6da01bd add item for 5.1.17 2020-05-27 12:03:40 +02:00
Uwe Steinmann
e2e69f8fec pass orderdir and orderby to view 2020-05-27 12:03:25 +02:00
Uwe Steinmann
640dea6534 documents can be sorted by expiration date or name 2020-05-27 12:02:30 +02:00
Uwe Steinmann
a4b84f5558 add docs for hasExpired(), doc expires with the first second of the next 2020-05-27 12:01:40 +02:00
Uwe Steinmann
f737b20830 add new parameter and documentation for getDocumentsExpired() 2020-05-27 12:00:58 +02:00
Uwe Steinmann
42de312953 do not run authentication and pass user to addRoute hook 2020-05-26 20:47:09 +02:00
Uwe Steinmann
88a3359a9e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-26 14:53:41 +02:00
Uwe Steinmann
5d5a7da2d0 return to old setcookie() because the new parameter $options requires php 7.3 2020-05-26 14:51:58 +02:00
Uwe Steinmann
90cf72367d put name and description in one column 2020-05-26 14:12:58 +02:00
Uwe Steinmann
e5477708ad ??? 2020-05-25 17:09:15 +02:00
Uwe Steinmann
3e45348b31 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-25 15:57:49 +02:00
Uwe Steinmann
3b0037649d pass options of cookie as array 2020-05-25 15:48:19 +02:00
Uwe Steinmann
dbfeae23db add support for uploading new document version 2020-05-25 14:45:55 +02:00
Uwe Steinmann
c645bc3782 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 16:36:10 +02:00
Uwe Steinmann
36f3ac6ab5 set showtree for view 2020-05-22 16:35:49 +02:00
Uwe Steinmann
f3b7a979ff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 16:30:44 +02:00
Uwe Steinmann
973f7eea65 update release date 2020-05-22 16:30:23 +02:00
Uwe Steinmann
496020ca59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 16:30:05 +02:00
Uwe Steinmann
8548765ef8 add note for 5.1.17 2020-05-22 16:27:58 +02:00
Uwe Steinmann
574dd54e1d fix output of expired documents 2020-05-22 16:26:23 +02:00
Uwe Steinmann
dd146a6f5e fix getDocumentsExpired(), need to create temp tables 2020-05-22 16:25:50 +02:00
Uwe Steinmann
16f8333e89 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-22 14:25:30 +02:00
Uwe Steinmann
e718520baa fix creating preview images in drop folder 2020-05-22 14:25:07 +02:00
Uwe Steinmann
8c19c652b5 override mimetype only if mimetype != 'applicatin/octet-stream' 2020-05-20 21:13:17 +02:00
Uwe Steinmann
2d97c204a8 determine SEEDDMS_HOME if not explicitly set 2020-05-20 20:54:34 +02:00
Uwe Steinmann
1b8e7883d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-20 11:14:37 +02:00
Uwe Steinmann
780aca0b76 fix checking return value of hook 'addFolderAttributes' 2020-05-20 11:13:57 +02:00
Uwe Steinmann
fd668ce709 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-20 06:26:07 +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
2bd75c6d1f add mode 'dryrun', actually check if a task is due 2020-05-19 17:49:32 +02:00
Uwe Steinmann
98374b513d fix syntax error 2020-05-19 11:54:39 +02:00
Uwe Steinmann
c946126e53 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-19 11:05:22 +02:00
Uwe Steinmann
03212d7bbc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-05-19 11:05:09 +02:00
Uwe Steinmann
9fe9627bfc Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-05-19 11:04:59 +02:00
Uwe Steinmann
977a2504bf various updates 2020-05-19 11:04:38 +02:00
Uwe Steinmann
22d314b87a add entries of 6.0.10 and 6.0.9 2020-05-19 08:07:38 +02:00
Uwe Steinmann
c0f4ea859b add removal of task 2020-05-19 08:07:21 +02:00
Uwe Steinmann
df02d76e56 add removal of task 2020-05-19 08:06:42 +02:00
Uwe Steinmann
92bf2e1d69 add method remove(), add optional parameter to getParameter() 2020-05-19 08:06:09 +02:00
Uwe Steinmann
204387237f add changelog for 5.1.17 2020-05-19 06:15:13 +02:00
Uwe Steinmann
30ae0ffc30 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-18 18:44:54 +02:00
Uwe Steinmann
7a014a7cdc load clipboard into '#menu-clipboard div' otherwise the ajax div disappears (Closes: #473) 2020-05-18 18:43:52 +02:00
Uwe Steinmann
e4ac7a9275 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-18 18:31:46 +02:00
Uwe Steinmann
8338b99f4f add entry for 5.1.17 2020-05-18 18:31:31 +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
b4b635e96a use getDMS() instead of accessing _dms in folder or document object 2020-05-18 18:29:19 +02:00
Uwe Steinmann
57830a60d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-18 16:25:52 +02:00
Uwe Steinmann
ab5ad7011c add entry for 5.1.17 2020-05-18 16:25:36 +02:00
Uwe Steinmann
537327e41d pass $user to execute() method of task 2020-05-18 16:24:19 +02:00
Uwe Steinmann
ff69d6e08e allow checkboxes for task parameters 2020-05-18 16:23:57 +02:00
Uwe Steinmann
317f10b5d1 fix saving parameters 2020-05-18 16:21:54 +02:00
Uwe Steinmann
cdf29f754d remove spaces in empty line 2020-05-18 16:21:24 +02:00
Uwe Steinmann
3776d2037d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-18 07:24:14 +02:00
Uwe Steinmann
4ec42a2540 ѕimplified favicon 2020-05-18 07:23:44 +02:00
Uwe Steinmann
d524c5f48c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-18 07:07:18 +02:00
Uwe Steinmann
0db86055ab check if version_comment is set 2020-05-15 17:26:39 +02:00
Uwe Steinmann
7ed2660453 check if extension is enabled 2020-05-15 17:25:22 +02:00
Uwe Steinmann
2e31004982 pass updating user to callback onSetStatus, finish revision when document status changes form inrevision to released 2020-05-15 17:24:04 +02:00
Uwe Steinmann
6319318773 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-15 08:21:33 +02:00
Uwe Steinmann
35afca7996 rename callback onUpdateStatusDocumentContent to onSetStatus 2020-05-15 08:20:37 +02:00
Uwe Steinmann
06de96a552 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-15 08:17:12 +02:00
Uwe Steinmann
a31524df09 delRevisor() returns -4 if user has placed revision already 2020-05-15 08:05:46 +02:00
Uwe Steinmann
bf11f7cc87 clear revision date when all revisors have been deleted 2020-05-15 08:05:04 +02:00
Uwe Steinmann
7343108914 add new callback onChangeStatusDocumentContent 2020-05-14 19:05:01 +02:00
Uwe Steinmann
d1e79d1afc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-14 14:46:56 +02:00
Uwe Steinmann
a2cd75d7f0 new logo 2020-05-14 11:41:26 +02:00
Uwe Steinmann
94725ac0a4 do not treat empty extension list as a error 2020-05-14 11:41:03 +02:00
Uwe Steinmann
164efbeb49 include javascript translations 2020-05-13 16:05:33 +02:00
Uwe Steinmann
4a88ff342f include bootbox 2020-05-13 15:29:14 +02:00
Uwe Steinmann
a8af1a148b pass showtree to view 2020-05-13 15:25:43 +02:00
Uwe Steinmann
ae9be17b4d support onepage mode, update url after selecting a document list 2020-05-13 14:51:52 +02:00
Uwe Steinmann
521e3b3380 propperly include bootbox 2020-05-13 14:38:03 +02:00
Uwe Steinmann
1bf0529a68 add javascript translations 2020-05-13 14:33:26 +02:00
Uwe Steinmann
8884b1b54d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-13 13:53:37 +02:00
Uwe Steinmann
b2bd2e4be2 add entries for 5.1.17 2020-05-13 13:45:10 +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
9b37415473 comment out some console.log() 2020-05-13 13:27:42 +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
d7dccfd299 check against maxuploadsize when uploading a new document 2020-05-13 09:25:30 +02:00
Uwe Steinmann
1ebe7332d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-12 16:23:04 +02:00
Uwe Steinmann
f72e70d9a6 add item for 5.1.17 2020-05-12 13:11:57 +02:00
Uwe Steinmann
ead98471c6 set drag and drop info for menu items 2020-05-12 13:06:22 +02:00
Uwe Steinmann
1e21a41149 ensure document name in drag info is always a string
even if the name of the document consists of numbers only
2020-05-12 13:05:33 +02:00
Uwe Steinmann
b7d61aea43 back button can be turned off 2020-05-12 12:02:22 +02:00
Uwe Steinmann
2e25da5719 add method hasParam() 2020-05-12 12:02:03 +02:00
Uwe Steinmann
34e623e292 update changelog for 5.1.17 2020-05-08 12:46:13 +02:00
Uwe Steinmann
84aa83d1d9 rework countDocuments()
check if user is actually set, 'WorkflowByMe' now uses a single sql
statement
2020-05-08 12:42:44 +02:00
Uwe Steinmann
8ae40fbc9e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-08 07:44:49 +02:00
Uwe Steinmann
fad5c31cf2 run workflow action name through htmlspecialchars() 2020-05-08 07:42:38 +02:00
Uwe Steinmann
d0259109e1 rework getDocumentList()
WorkflowByMe just returns those documents which still need action.
propperly handle $param1 = null
2020-05-08 07:40:04 +02:00
Uwe Steinmann
39a3e0dea3 obey maxUploadSize whenever a file is uploaded 2020-05-07 14:03:00 +02:00
Uwe Steinmann
6dddef6efa fix uploading files with fine uploader (Closes: #472) 2020-05-07 09:11:56 +02:00
Uwe Steinmann
000a8e7710 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-07 07:15:42 +02:00
Uwe Steinmann
42633ce72f started changelog for 5.1.17 2020-05-07 07:14:30 +02:00
Uwe Steinmann
cd075863e9 new version 5.16.1 of fineuploader 2020-05-07 07:06:54 +02:00
Uwe Steinmann
d6ff82ccb8 form name can be passed to printFineUploaderJs() 2020-05-07 06:49:38 +02:00
Uwe Steinmann
48353cfa81 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-05-05 16:36:55 +02:00
Uwe Steinmann
3aec4761c9 start new version 5.1.17 2020-05-04 14:04:30 +02:00
Uwe Steinmann
dc661029af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-23 21:47:30 +02:00
Uwe Steinmann
3f6d435596 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-04-23 21:47:19 +02:00
Uwe Steinmann
49a4bf743a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-04-23 21:47:07 +02:00
Uwe Steinmann
1544fa0a76 various minor updateѕ 2020-04-23 21:46:46 +02:00
Uwe Steinmann
d1f47f9320 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-22 17:22:24 +02:00
Uwe Steinmann
f950098031 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-04-21 21:12:41 +02:00
Uwe Steinmann
37203ae58c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-04-21 21:12:27 +02:00
Uwe Steinmann
b2e2a5540e major update of portugese 2020-04-21 21:12:07 +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
ea46cce2df fix creation of sub folders (Closes: #469) 2020-04-21 17:23:14 +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
f03e291983 more entries for 5.1.16 2020-04-21 11:58:20 +02:00
Uwe Steinmann
ea3ffc57be set style for dt and dd in div.popupbox 2020-04-21 11:57:44 +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
560827ffdd pass configuration to init() of extension 2020-04-21 11:55:22 +02:00
Uwe Steinmann
dcfefa5801 remove cloѕing php tag 2020-04-20 10:18:51 +02:00
Uwe Steinmann
c51bb143ad remove closing php tag 2020-04-20 08:25:00 +02:00
Uwe Steinmann
1aefc633f9 fix adding new calendar event 2020-04-20 07:23:17 +02:00
Uwe Steinmann
20e3826316 add dummy note in 6.0.9 2020-04-17 14:09:56 +02:00
Uwe Steinmann
4d27f98c1b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-17 14:06:52 +02:00
Uwe Steinmann
4beda71d65 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-04-17 14:06:40 +02:00
Uwe Steinmann
4d5b73bbaa Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-04-17 14:06:25 +02:00
Uwe Steinmann
b117d18eac various minor updates 2020-04-17 14:06:04 +02:00
Uwe Steinmann
394de72a7a add change log for 5.1.16 2020-04-16 17:25:34 +02:00
Uwe Steinmann
00cd7fc700 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-16 17:21:10 +02:00
Uwe Steinmann
3929d650e5 changes for 5.1.16 2020-04-16 15:55:27 +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
7485e0b57a fix notes 2020-04-14 18:04:08 +02:00
Uwe Steinmann
7cc6ed952e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-14 18:02:35 +02:00
Uwe Steinmann
d1b3b00815 add notes for 5.1.16 2020-04-14 18:02:19 +02:00
Uwe Steinmann
16613a1e27 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-14 17:44:27 +02:00
Uwe Steinmann
6e89a180b1 fix upload from dropfolder 2020-04-14 17:13:32 +02:00
Uwe Steinmann
0273199ce0 fix link to custom css on page 2020-04-14 17:07:53 +02:00
Uwe Steinmann
4021d62cb3 better error handling in addDocumentFile() 2020-04-14 17:06:38 +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
5e27232dc4 add entry for 5.1.16 2020-04-06 21:27:21 +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
bdb7ad8a19 fix dependencies 2020-04-03 18:16:50 +02:00
Uwe Steinmann
3d128da722 show table with total document size per user 2020-04-02 13:59:38 +02:00
Uwe Steinmann
b602becdb8 add entry for 5.1.16 2020-04-02 13:53:11 +02:00
Uwe Steinmann
daf6ebe454 add table with data below chart 2020-04-02 12:38:16 +02:00
Uwe Steinmann
dda50a931a update select2 to version 4.0.13 2020-04-02 08:50:19 +02:00
Uwe Steinmann
5d1d406cc1 take out empty opition for owner in fulltext search form 2020-04-02 08:46:00 +02:00
Uwe Steinmann
4538858561 new entry for 6.0.9 2020-04-02 08:25:50 +02:00
Uwe Steinmann
2e58a9324f fix arcordeon for folder parameters 2020-04-02 08:25:00 +02:00
Uwe Steinmann
ede1cf3fbc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-02 07:44:39 +02:00
Uwe Steinmann
e923fe155e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-04-02 07:42:03 +02:00
Uwe Steinmann
2bc78e4d99 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-04-02 07:41:51 +02:00
Uwe Steinmann
bb53cb89b1 various minor updates and new translations 2020-04-02 07:41:25 +02:00
Uwe Steinmann
9f0bc73372 add item for 6.0.9 2020-04-01 18:36:24 +02:00
Uwe Steinmann
48cc8d80e8 use SeedDMS_Core_Document::isType() to check for documents 2020-04-01 18:29:48 +02:00
Uwe Steinmann
c69490daba translate headers, use DateTime for Excel dates 2020-04-01 18:29:11 +02:00
Uwe Steinmann
0fac1646d4 set $docAccess before checking the workflow mode 2020-04-01 16:56:20 +02:00
Uwe Steinmann
9b30289b32 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-04-01 14:38:12 +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
97f5f73730 process of user can be deleted again, instead of transfered to another user 2020-03-27 08:16:12 +01:00
Uwe Steinmann
297bdcb3a0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-26 08:04:33 +01:00
Uwe Steinmann
1220de90bd run workflow action name through htmlspecialchars() 2020-03-26 08:03:58 +01:00
Uwe Steinmann
26ff848f9c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-26 07:55:54 +01:00
Uwe Steinmann
2c0fb6f476 run names through htmlspecialchars() 2020-03-26 07:54:27 +01:00
Uwe Steinmann
3efdac7197 construct SeedDMS_AccessOperation after document is known 2020-03-26 07:53:48 +01:00
Uwe Steinmann
509d23715a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-25 09:26:58 +01:00
Uwe Steinmann
06876a84b8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-03-25 09:26:43 +01:00
Uwe Steinmann
2e8dde4bd3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-03-25 09:26:31 +01:00
Uwe Steinmann
73b7c88c9c more fixes of norwegian translation 2020-03-25 09:20:57 +01:00
Uwe Steinmann
7a8fffadfc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-25 09:19:54 +01:00
Uwe Steinmann
b69faf32b6 new entry for 5.1.16 2020-03-25 08:10:26 +01:00
Uwe Steinmann
a2cb94cbe8 new notes for 5.1.16 2020-03-25 08:10:13 +01:00
Uwe Steinmann
53521d25ff return error returned by RemoveDocument Controller 2020-03-25 08:07:43 +01:00
Uwe Steinmann
f5c2add12c dependency on seeddms can be array of version ranges 2020-03-25 08:07:00 +01:00
Uwe Steinmann
aa0802ffae check if hook has left an error msg $dms->lasterror 2020-03-25 08:06:33 +01:00
Uwe Steinmann
c6924de065 init $lasterror before calling hook 2020-03-25 08:05:41 +01:00
Uwe Steinmann
c6f85fc6e9 fix call of hooks, add new variable 'lasterror' 2020-03-25 08:04:39 +01:00
Uwe Steinmann
14123cd604 add entry for 6.0.9 2020-03-24 09:31:16 +01:00
Uwe Steinmann
48ee318921 fix setting and retrieving role of user 2020-03-24 09:30:26 +01:00
Uwe Steinmann
36b5fec504 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-24 08:29:00 +01:00
Uwe Steinmann
ca0d66863d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-03-24 08:28:39 +01:00
Uwe Steinmann
099b82de1d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-03-24 08:28:28 +01:00
Uwe Steinmann
7619a5e99b add norwegian, various updates 2020-03-24 08:27:54 +01:00
Uwe Steinmann
bab648b988 check if index and indexconf is set 2020-03-24 06:46:22 +01:00
Uwe Steinmann
072d203379 return false if hooks preRemove[Document|Folder] return false 2020-03-23 12:10:04 +01:00
Uwe Steinmann
4ad398a01e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-23 06:47:48 +01:00
Uwe Steinmann
cf1e635c09 include Preview class 2020-03-23 06:47:18 +01:00
Uwe Steinmann
839607e1ca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-23 06:41:15 +01:00
Uwe Steinmann
f17b120126 move code into controller and add hooks 2020-03-22 09:31:31 +01:00
Uwe Steinmann
7a25859a19 new version 1.3.1 2020-03-22 09:30:42 +01:00
Uwe Steinmann
80348ec0c3 set timeout from settings 2020-03-22 09:27:41 +01:00
Uwe Steinmann
ceb6808c68 pass $target to hasRawPreview and getRawPreview just like createRawPreview 2020-03-22 09:26:47 +01:00
Uwe Steinmann
feda33c2c8 add some more fold marks 2020-03-19 11:05:40 +01:00
Uwe Steinmann
bf9a409a71 add new method printVersionAttributes() 2020-03-19 10:13:12 +01:00
Uwe Steinmann
cce4be822c use parent::printAttribute() 2020-03-19 09:48:19 +01:00
Uwe Steinmann
9c3b34b41e move printAttribute() into parent class 2020-03-19 09:47:35 +01:00
Uwe Steinmann
2c53286943 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-18 18:17:33 +01:00
Uwe Steinmann
e3cd35f004 add css span.list-details
used by documentListRow()
2020-03-17 17:39:32 +01:00
Uwe Steinmann
8497e652f6 setting more http headers to improve security 2020-03-13 19:43:47 +01:00
Uwe Steinmann
f21ce1f2ed add entries for 6.0.9, set cmdTimeout to 10 2020-03-13 12:22:12 +01:00
Uwe Steinmann
2324a67da4 make it work in 6.0.x 2020-03-13 12:21:44 +01:00
Uwe Steinmann
626d9d69c8 fix to be working in 6.0.x 2020-03-13 12:18:01 +01:00
Uwe Steinmann
c6cd1b6900 place delete button below selection menu 2020-03-13 09:20:12 +01:00
Uwe Steinmann
835ab33fcd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-13 08:22:45 +01:00
Uwe Steinmann
7fcc100ae7 support one page mode on TimeLine page 2020-03-10 17:10:19 +01:00
Uwe Steinmann
061ab4509b update to jquery 0.12.4 2020-03-10 17:10:02 +01:00
Uwe Steinmann
3b4cecabcc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-10 14:32:18 +01:00
Uwe Steinmann
30112e4b21 use __construct for constructors instead of class name 2020-03-10 09:43:04 +01:00
Uwe Steinmann
ee8081b3c1 set z-index of popupbox 2020-03-05 22:27:11 +01:00
Uwe Steinmann
c021e4b4cb make printPopupBox() public 2020-03-05 22:26:53 +01:00
Uwe Steinmann
db3f380604 add changes for 5.1.16 2020-03-05 09:13:30 +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
3d5f321713 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-05 08:05:38 +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
6aa57ad2b1 set onepage mode in view 2020-03-04 22:24:32 +01:00
Uwe Steinmann
987c9a1fcb set min-width of popup box to 230px 2020-03-04 20:47:25 +01:00
Uwe Steinmann
ef06f2909f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-04 20:39:11 +01:00
Uwe Steinmann
8546b48230 stop propagation when opening and closing a popup box 2020-03-04 20:38:20 +01:00
Uwe Steinmann
083820e42d set min-width and padding of div.popupbox 2020-03-04 20:37:51 +01:00
Uwe Steinmann
8a789800e1 fix some php warnings 2020-03-04 18:34:39 +01:00
Uwe Steinmann
5e1947ad16 add entry for 5.1.16 2020-03-04 18:29:20 +01:00
Uwe Steinmann
41b9ca549e fix bug #458 2020-03-04 18:28:28 +01:00
Uwe Steinmann
0ed11fcb36 fix bug #458 2020-03-04 18:27:24 +01:00
Uwe Steinmann
d928c43981 fix bug #465 2020-03-04 18:27:10 +01:00
Uwe Steinmann
6950f7777e fix bug #465 2020-03-04 18:23:11 +01:00
Uwe Steinmann
b5eddc2296 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-04 18:19:43 +01:00
Uwe Steinmann
92b291d4d2 start new version 5.1.16 2020-03-04 18:16:40 +01:00
Uwe Steinmann
45acd496d6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-04 17:58:01 +01:00
Uwe Steinmann
25b979d9ef start new version 5.1.16 2020-03-04 17:51:25 +01:00
Uwe Steinmann
6139c781d0 Merge branch 'seeddms-5.1.x' 2020-03-02 12:03:38 +01:00
Uwe Steinmann
67e5eb5efe set notes for 5.1.15 2020-03-02 11:50:55 +01:00
Uwe Steinmann
a41e03425b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-02 11:50:03 +01:00
Uwe Steinmann
e543f100d5 update release date and notes 2020-03-02 09:43:39 +01:00
Uwe Steinmann
0e7b23ff4c fix error when getting version of document 2020-03-02 09:29:53 +01:00
Uwe Steinmann
756a86abe5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-02 09:26:41 +01:00
Uwe Steinmann
e83799d25d add entry for 5.1.15 2020-03-02 09:18:55 +01:00
Uwe Steinmann
d508ef93db use new method ExtensionMgr::getExtensionFromRepository() 2020-03-02 09:18:16 +01:00
Uwe Steinmann
3b3ada2ff5 fix import of extension in list of extension versions 2020-03-02 09:17:30 +01:00
Uwe Steinmann
02dd7989fb add new method getExtensionFromRepository(), support for proxy 2020-03-02 09:16:45 +01:00
Uwe Steinmann
6454f466cf pass proxy parameters to construction of Extension Mgr 2020-03-02 09:16:03 +01:00
Uwe Steinmann
cbf6afa6d2 load/save proxy paramters 2020-03-02 09:15:25 +01:00
Uwe Steinmann
479214118e add entry for 6.0.8 2020-02-29 15:20:09 +01:00
Uwe Steinmann
13e27496e0 fix getting workflow log when triggering a transition 2020-02-29 15:19:11 +01:00
Uwe Steinmann
111d433c8a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-28 18:21:33 +01:00
Uwe Steinmann
0e4a819e2b run various outputs through htmlspecialchars() 2020-02-28 18:20:44 +01:00
Uwe Steinmann
23a456e730 fix various js errors
probably due to new cytoscape version
2020-02-28 18:12:53 +01:00
Uwe Steinmann
3b79e09033 new cytoscape version 3.13.1 2020-02-28 17:42:45 +01:00
Uwe Steinmann
c8df1533e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-28 11:18:09 +01:00
Uwe Steinmann
176a2becb0 add changes for 5.1.15 2020-02-28 11:00:40 +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
2eda020373 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-27 18:01:14 +01:00
Uwe Steinmann
52d958afc8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-02-27 18:00:14 +01:00
Uwe Steinmann
30d1a07c32 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-02-27 18:00:02 +01:00
Uwe Steinmann
925b8d12b4 various language updates 2020-02-27 17:59:44 +01:00
Uwe Steinmann
58bf7ab1b7 show only if debug mode is on 2020-02-27 17:58:42 +01:00
Uwe Steinmann
ae2b7d4631 add debug mode 2020-02-27 17:58:31 +01:00
Uwe Steinmann
9e5f005f05 do not check checkboxes by default 2020-02-27 17:45:54 +01:00
Uwe Steinmann
3822db8efa update changelog for 5.1.15 2020-02-27 14:01:37 +01:00
Uwe Steinmann
5f71f51644 add entries for 6.0.8 2020-02-26 21:14:35 +01:00
Uwe Steinmann
08c0507de2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-26 21:11:20 +01:00
Uwe Steinmann
41fd2514b6 do not call unzip but use ZipArchive instead 2020-02-26 21:08:03 +01:00
Uwe Steinmann
f1ad164f44 allow application/x-zip-compressed for extensions 2020-02-26 21:07:48 +01:00
Uwe Steinmann
9733c44ef3 do not access SeedDMD_Document_Content::_version anymore
use SeedDMD_Document_Content::getVersion() instead
2020-02-26 20:59:26 +01:00
Uwe Steinmann
7761f5d77b get root folder in printTreeNavigationJs() only if partialtree is not set 2020-02-26 20:58:54 +01:00
Uwe Steinmann
3d33c1d49c get rid of git merge errors 2020-02-26 20:57:40 +01:00
Uwe Steinmann
33c4f88636 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-25 17:14:36 +01:00
Uwe Steinmann
3448734024 set callback removePreviews() when removing a folder 2020-02-25 17:08:38 +01:00
Uwe Steinmann
6bf193aa85 removePreviews() has been moved into controller 2020-02-25 17:08:13 +01:00
Uwe Steinmann
c28a7dd081 callback removePreviews() muss return null 2020-02-25 17:06:55 +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
a994659f6c add changes for 5.1.15 2020-02-21 10:00:45 +01:00
Uwe Steinmann
453da9ce00 metadata file may have data for custom attributes 2020-02-21 09:59:58 +01:00
Uwe Steinmann
e2ac404760 set header X-Content-Type-Options (still commented out) 2020-02-18 09:46:32 +01:00
Uwe Steinmann
7ed771dba8 some improvements (still unfinished) 2020-02-18 09:45:59 +01:00
Uwe Steinmann
0378295208 forbit index listing 2020-02-18 09:29:16 +01:00
Uwe Steinmann
6bf6a4b582 start new version 5.1.15 2020-02-17 12:57:48 +01:00
Uwe Steinmann
5f900b7ab1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-17 10:22:23 +01:00
Uwe Steinmann
0602fad397 Merge branch 'seeddms-5.1.x' 2020-02-17 10:21:29 +01:00
Uwe Steinmann
4b402a131f update release date 2020-02-17 10:21:01 +01:00
Uwe Steinmann
fd6ea24f0c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-02-17 08:20:42 +01:00
Uwe Steinmann
a984b584b1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-02-17 08:20:20 +01:00
Uwe Steinmann
1293b9965e minor tranlation updates 2020-02-17 08:19:58 +01:00
Uwe Steinmann
dc5d742c45 get docs with wrong file type in view, update page title when choosing list 2020-02-13 17:42:53 +01:00
Uwe Steinmann
1ad2976f0d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-13 16:14:37 +01:00
Uwe Steinmann
c25c3fef60 add js for clicking on a document row 2020-02-13 16:12:43 +01:00
Uwe Steinmann
ac1c2a55e2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-13 13:25:59 +01:00
Uwe Steinmann
80ca2a7174 remove debug echo 2020-02-13 13:25:35 +01:00
Uwe Steinmann
a6a7ede3f8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-13 12:39:08 +01:00
Uwe Steinmann
08b017c6cc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-02-13 12:38:53 +01:00
Uwe Steinmann
c0c596946e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-02-13 12:38:39 +01:00
Uwe Steinmann
bfc31fdb7d minor updates 2020-02-13 12:38:16 +01:00
Uwe Steinmann
450bdc0b7f add check for wrong file type, fix repairing of checksum and filesize 2020-02-13 12:20:16 +01:00
Uwe Steinmann
9b24827598 add new method setFileType() 2020-02-13 12:19:43 +01:00
Uwe Steinmann
efec0c36bf add method getWrongFiletypeDocumentContent() 2020-02-13 12:19:16 +01:00
Uwe Steinmann
901fcaef5e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-13 08:24:25 +01:00
Uwe Steinmann
a6369a9571 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2020-02-13 08:24:13 +01:00
Uwe Steinmann
fd73aa92c4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2020-02-13 08:23:59 +01:00
Uwe Steinmann
b2067ba974 updated arabic updates, minor other updates 2020-02-13 08:23:08 +01:00
Uwe Steinmann
3c3e814767 disallow directory index 2020-02-12 19:14:06 +01:00
Uwe Steinmann
5ff1333c9f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-12 17:29:52 +01:00
Uwe Steinmann
8b6d070a98 set proper name of last preview file 2020-02-12 17:21:02 +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
30ca5c71cd new method SeedDMS_Document_Content::repair, restore old getPath() behaviour
getPath() didn't return a single '.' in the fileType
2020-02-11 07:45:30 +01:00
Uwe Steinmann
d92c3afd56 remove closing php tag 2020-02-07 08:57:02 +01:00
Uwe Steinmann
cab1d128ca new item for 5.1.14 2020-02-07 07:33:39 +01:00
Uwe Steinmann
a97114b77d fix update 2020-02-06 19:01:46 +01:00
Uwe Steinmann
7f5908bcf8 add missing ` around names 2020-02-06 19:01:25 +01:00
Uwe Steinmann
60b65aad13 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-06 18:40:45 +01:00
Uwe Steinmann
21ca19df3b fix update of sqlite3
the old code had various left overs
2020-02-06 18:40:03 +01:00
Uwe Steinmann
9672f19bc4 call new hook checkOutInfo 2020-02-06 17:01:26 +01:00
Uwe Steinmann
3e9d2dc695 get read access list for receipt workflow 2020-02-06 17:01:00 +01:00
Uwe Steinmann
01813f19f8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-06 12:03:14 +01:00
Uwe Steinmann
8f041cb072 add cmpVersion() function, make _number and _banner const 2020-02-06 12:02:02 +01:00
Uwe Steinmann
c3ef148ca6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-06 11:35:55 +01:00
Uwe Steinmann
2b685a835e include new Iterator class 2020-02-06 11:34:42 +01:00
Uwe Steinmann
23b994ac23 add new Iterator class
not used yet
2020-02-06 11:34:08 +01:00
Uwe Steinmann
c5a78839df add getToken() for generating a random string 2020-02-06 11:32:27 +01:00
Uwe Steinmann
e129cd0d11 modernize script 2020-02-03 18:28:45 +01:00
Uwe Steinmann
c08cd6a183 fix typo 2020-01-28 09:36:48 +01:00
Uwe Steinmann
4a0387a075 fix typo 2020-01-28 09:36:36 +01:00
Uwe Steinmann
2e2ca3cc6a add code for testing wildcard routes 2020-01-28 08:15:23 +01:00
Uwe Steinmann
b07b94b59a allow config fields of type 'textarea' 2020-01-27 15:37:59 +01:00
Uwe Steinmann
58412c8179 use getDMS() instead of access varialbe _dms in folder or document 2020-01-24 08:53:04 +01:00
Uwe Steinmann
eba7f208d5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-24 08:49:21 +01:00
Uwe Steinmann
903875b6f7 remove xml import/export 2020-01-23 07:53:23 +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
4e19b003e5 fix typo in variable name 2020-01-22 14:26:43 +01:00
Uwe Steinmann
069b0b2459 fix text when loading changelog 2020-01-21 18:26:18 +01:00
Uwe Steinmann
11a8a8087f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-21 17:32:24 +01:00
Uwe Steinmann
e830477bf0 new method getPreviewFile(), start version 1.13.0 2020-01-21 08:11:03 +01:00
Uwe Steinmann
74300082fc fix bug #462, pass showtree to ViewDocument 2020-01-20 11:53:38 +01:00
Uwe Steinmann
8362796339 fix sql statement for adding a new primary key 2020-01-20 11:26:44 +01:00
Uwe Steinmann
4d43097961 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-20 11:13:48 +01:00
Uwe Steinmann
fbb2ba3180 fix list of expired documents 2020-01-20 10:38:58 +01:00
Uwe Steinmann
13fcdf43ca show list of expired documents
newer shew any documents
2020-01-20 10:36:31 +01:00
Uwe Steinmann
6e2dd6c159 check for presetexpdate and sequence in $_POST 2020-01-16 17:48:23 +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
f1599906d0 check if $_POST["reqversion"] is empty 2020-01-16 13:07:43 +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
0dbeebee80 add config for apache 2.4 and 2.2 2020-01-16 10:57:07 +01:00
Uwe Steinmann
0643a3dc87 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-14 13:21:44 +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
b59f906f27 fis saving of disable flag of extensions 2020-01-14 08:31:43 +01:00
Uwe Steinmann
392a7e4a51 make getFileName() public 2020-01-13 17:31:59 +01:00
Uwe Steinmann
cfdd951369 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-13 09:45:05 +01:00
Uwe Steinmann
61ce13d681 add entry for 5.1.14 2020-01-13 09:32:48 +01:00
Uwe Steinmann
bb38dc7b22 properly handle duplicate names when moving a document/folder 2020-01-13 09:32:22 +01:00
Uwe Steinmann
699152d95b use getDMS() instead of accessing _dms 2020-01-10 14:48:14 +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
974ff603e1 check if hooks return a user object because true also indicates a failed login 2020-01-07 21:20:16 +01:00
Uwe Steinmann
481d01977b fix typo 2020-01-06 13:34:38 +01:00
Uwe Steinmann
dee275397a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-06 12:54:31 +01:00
Uwe Steinmann
8ae2874367 do not use global var EXT_CONF anymore 2020-01-03 10:21:58 +01:00
Uwe Steinmann
e7a50bfb91 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-01 09:25:19 +01:00
Uwe Steinmann
189e6da70e better checking for correct version
had to be modified because extensions are new disabled in the
settings.xml
2020-01-01 09:24:22 +01:00
Uwe Steinmann
36231f8cf3 do not include GoogleQRCodeProvider.php anymore 2020-01-01 09:17:45 +01:00
Uwe Steinmann
6fc73a9a77 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-31 15:51:33 +01:00
Uwe Steinmann
b7deb84279 check if file to be indexed exists 2019-12-31 15:42:15 +01:00
Uwe Steinmann
8409b7e518 add entry for 5.1.14 2019-12-20 17:35:48 +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
cb9ce2a42f add methods for enabling/disabling an extension 2019-12-20 17:18:08 +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
b29198faf2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-12-19 09:45:03 +01:00
Uwe Steinmann
e341e39756 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-12-19 09:44:46 +01:00
Uwe Steinmann
ed83d95e6d minor change of two keys 2019-12-19 09:44:18 +01:00
Uwe Steinmann
9d5b6f8a4c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-12-19 09:07:39 +01:00
Uwe Steinmann
d5bd5549e7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-12-19 09:07:25 +01:00
Uwe Steinmann
223c44c965 various minor updates and new keys 2019-12-19 09:07:02 +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
7b1835774d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-12-15 08:03:36 +01:00
Uwe Steinmann
058fc1217e fix validation of attributes 2019-12-13 17:39:05 +01:00
Uwe Steinmann
a0661536b3 move attribute validation into controller and call hook 2019-12-13 15:00:04 +01:00
Uwe Steinmann
d27d4f118d add entries for 5.1.14 2019-12-13 14:59:23 +01:00
Uwe Steinmann
167c8a41e3 allow 4 arguments passed to hook 2019-12-13 14:27:58 +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
55cd7b9759 add getAttributeValidationError()
it just returns the key of the error message and the parameters
2019-12-13 09:06:36 +01:00
Uwe Steinmann
61f1ddbd08 minimize number of sql statements
add new method getInstanceByData(), get folders and documents from
first sql statement which fetches the subfolders and documents of
a folder instead of fetching each single document and folder.
2019-12-13 09:03:44 +01:00
Uwe Steinmann
f453cac8d2 add method for zipping files instead of using zip command 2019-12-10 15:59:53 +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
Uwe Steinmann
63c90a026b menu item does not need a href if it has children 2019-12-04 19:31:02 +01:00
Uwe Steinmann
cbaa038c55 use formField() instead of plain html 2019-11-28 15:01:36 +01:00
Uwe Steinmann
dcc64bc539 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-28 14:27:52 +01:00
Uwe Steinmann
ca7bb77386 better formating of checkboxes 2019-11-28 14:27:30 +01:00
Uwe Steinmann
769b9e5beb add changes for 6.0.7 2019-11-28 14:07:19 +01:00
Uwe Steinmann
1593ca5f34 removeFromProcess() can transfer to new user for all processes 2019-11-28 13:48:50 +01:00
Uwe Steinmann
e14e14ddb4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-28 10:23:10 +01:00
Uwe Steinmann
5fdae931b1 use getBaseUrl() 2019-11-28 10:22:47 +01:00
Uwe Steinmann
df095c63a3 use getBaseUrl() 2019-11-28 10:06:48 +01:00
Uwe Steinmann
e9827b8701 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-28 10:05:12 +01:00
Uwe Steinmann
c3ab464890 use new function getBaseUrl() 2019-11-28 10:01:59 +01:00
Uwe Steinmann
89c0ca9b88 new function getBaseUrl()
returns the protocol and host part of the url where seeddms is
available
2019-11-28 10:00:52 +01:00
Uwe Steinmann
809f224e7d processes can be transfered to a new user
currently only for reviews
2019-11-28 09:18:42 +01:00
Uwe Steinmann
dabf821b6a do not run documentListRow(Start|End) if lastContent is null 2019-11-28 09:18:01 +01:00
Uwe Steinmann
babba864a1 fix error msg 2019-11-28 09:17:32 +01:00
Uwe Steinmann
3011f96372 add optional parameter $newuser to removeFromProcesses()
if set, the process will be transfered to a new user
2019-11-28 09:16:23 +01:00
Uwe Steinmann
2ec6534079 fix documentation for rewriteRevisionLog() 2019-11-28 09:15:26 +01:00
Uwe Steinmann
d82b59f173 add filter field, placeholder in input filter field 2019-11-26 17:49:27 +01:00
Uwe Steinmann
a75d337912 fix menu item for 2 factor auth 2019-11-26 17:48:54 +01:00
Uwe Steinmann
4dbec073cc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-26 17:08:10 +01:00
Uwe Steinmann
fd4a821fa8 better checking for existing value 2019-11-26 17:07:47 +01:00
Uwe Steinmann
1763bd1bae take 'orderby' into account 2019-11-26 11:21:40 +01:00
Uwe Steinmann
87d1df5d03 propperly check for passed parameter 'node', pass orderby to view 2019-11-26 11:20:46 +01:00
Uwe Steinmann
413bbad196 add entries for 5.1.14 2019-11-26 07:34:17 +01:00
Uwe Steinmann
7bb511f891 fix comparison of creation date, show number of tasks in queue 2019-11-26 07:33:37 +01:00
Uwe Steinmann
469d9c5759 new version 1.0.11 2019-11-26 07:33:08 +01:00
Uwe Steinmann
4775fdcd6c save field 'created' instead of time() in addDocument() 2019-11-26 07:32:39 +01:00
Uwe Steinmann
293e26c747 add access checks for summaries, add Revision summary 2019-11-25 20:48:11 +01:00
Uwe Steinmann
ac570b09e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-25 11:52:39 +01:00
Uwe Steinmann
28676c8065 show empty pic if no access 2019-11-25 11:52:14 +01:00
Uwe Steinmann
e4b934ea76 add js code for one page mode 2019-11-25 11:51:08 +01:00
Uwe Steinmann
10f6606efa add RevisionSummary to list of lecacy access rights 2019-11-25 11:50:11 +01:00
Uwe Steinmann
dc770f3c17 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-25 09:53:22 +01:00
Uwe Steinmann
5e9a4515b3 use new method printClickDocumentJs() 2019-11-25 09:51:39 +01:00
Uwe Steinmann
24f030f1c7 add method printClickDocumentJs()
adds js for catching the event when clicking on a document row and
onepage mode is on
2019-11-25 09:50:52 +01:00
Uwe Steinmann
bf6490f904 fix output of group name 2019-11-25 09:38:41 +01:00
Uwe Steinmann
cbac16773d more checking for access rights 2019-11-25 09:36:32 +01:00
Uwe Steinmann
0d4c970029 replace check for guest by generic acl check 2019-11-25 09:35:59 +01:00
Uwe Steinmann
79aa6c079c replace check for guest by generic acl check 2019-11-25 09:35:05 +01:00
Uwe Steinmann
684f27ef87 fix output of group name 2019-11-25 09:34:12 +01:00
Uwe Steinmann
b3cc272941 check access 2019-11-25 09:33:13 +01:00
Uwe Steinmann
893a8d6d8d return json even in case of an error 2019-11-25 09:32:32 +01:00
Uwe Steinmann
7d9de047bd add legacy access rights for groups 2019-11-25 09:31:56 +01:00
Uwe Steinmann
83e42948ee Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-21 10:55:22 +01:00
Uwe Steinmann
750d02e1e8 add note for 5.1.14 2019-11-21 10:52:11 +01:00
Uwe Steinmann
33b0691b0b allow mimetype to specify documents which can be edited online 2019-11-21 10:51:17 +01:00
Uwe Steinmann
5a877f959c edit warning because content is replaced 2019-11-21 10:50:59 +01:00
Uwe Steinmann
04f9edbb39 make download button primary 2019-11-20 19:39:47 +01:00
Uwe Steinmann
51943050c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-20 19:23:48 +01:00
Uwe Steinmann
154c3c2118 set 'onepage' in factory 2019-11-20 19:22:23 +01:00
Uwe Steinmann
89d5c98818 set onepage for view 2019-11-20 18:15:10 +01:00
Uwe Steinmann
4b55bc4fd8 allow add to transmittals with only read access on document 2019-11-20 18:14:43 +01:00
Uwe Steinmann
85157a8bfe no access on some more scripts 2019-11-20 18:12:26 +01:00
Uwe Steinmann
833ff8f7da do not allow adding events and showing tasks 2019-11-20 17:50:26 +01:00
Uwe Steinmann
84550836c8 started new version 5.1.14 2019-11-20 17:17:51 +01:00
Uwe Steinmann
3012fc52e5 include "inc/inc.ClassAccessOperation.php" 2019-11-20 15:09:40 +01:00
Uwe Steinmann
55727bd1a2 do not use $this->check_access() anymore 2019-11-20 13:47:57 +01:00
Uwe Steinmann
d2382f437c set 'onepage' for view 2019-11-20 13:37:52 +01:00
Uwe Steinmann
b123cd29ca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-20 13:17:18 +01:00
Uwe Steinmann
21e1efc147 set 'onepage' in view 2019-11-20 13:17:04 +01:00
Uwe Steinmann
5d9b94de6b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-20 13:14:58 +01:00
Uwe Steinmann
4e0cf697cb set 'onepage' in view 2019-11-20 13:14:34 +01:00
Uwe Steinmann
ed32e8e2b2 call $accessobject->check_view_access() instead of $this->check_access() 2019-11-20 13:13:51 +01:00
Uwe Steinmann
1b6a07b73e more documentation 2019-11-20 13:13:28 +01:00
Uwe Steinmann
a493e7645d set accessobject already in factory 2019-11-20 13:13:07 +01:00
Uwe Steinmann
43f57637e7 add method check_view_lecacy_access()
which does the legacy access checking if advanded acl is turned off
2019-11-20 13:12:11 +01:00
Uwe Steinmann
270770782f verifyStatus() handles status change when S_EXPIRED is set 2019-11-20 13:11:24 +01:00
Uwe Steinmann
d9a4305fd7 remove second instance of SeedDMS_AccessOperation 2019-11-19 21:03:44 +01:00
Uwe Steinmann
d96b3b84a2 add scheduler to menu 2019-11-19 21:03:19 +01:00
Uwe Steinmann
e873ba999b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-19 18:45:43 +01:00
Uwe Steinmann
b2715684a3 use formField() instead of plain html 2019-11-19 18:21:34 +01:00
Uwe Steinmann
b095c48ddd formField() treats a value == "0" as not empty 2019-11-19 18:20:53 +01:00
Uwe Steinmann
ac0824ae37 set access object 2019-11-19 16:07:27 +01:00
Uwe Steinmann
400755a0e0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-19 10:30:46 +01:00
Uwe Steinmann
bb775fd657 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-11-19 10:29:35 +01:00
Uwe Steinmann
37ab966865 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-11-19 10:29:14 +01:00
Uwe Steinmann
5ab528af72 many more translation and new keys 2019-11-19 10:28:51 +01:00
Uwe Steinmann
4a06e54f89 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-19 10:05:18 +01:00
Uwe Steinmann
4aef495c03 fix wrong counting of documents 2019-11-19 10:04:49 +01:00
Uwe Steinmann
e20d4e492f output processes in old versions 2019-11-19 10:03:55 +01:00
Uwe Steinmann
1d521fd97e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-19 09:35:33 +01:00
Uwe Steinmann
3a62afd084 count processes in latest version 2019-11-19 09:34:41 +01:00
Uwe Steinmann
096b117e34 create access object 2019-11-19 08:46:43 +01:00
Uwe Steinmann
6f06faabc0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-19 07:28:13 +01:00
Uwe Steinmann
2b00423225 get latest version for later checking
could be used to filter out older documents
2019-11-19 07:25:53 +01:00
Uwe Steinmann
05f7807b05 use update on div.ajax for updating tasks in menu 2019-11-12 15:28:19 +01:00
Uwe Steinmann
28e2549866 menuTasks returns complete menuItem 2019-11-12 15:22:00 +01:00
Uwe Steinmann
4f28cd19d1 show preview for all images supported by browser 2019-11-11 15:39:47 +01:00
Uwe Steinmann
b3e7b9a2dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-11-08 08:03:30 +01:00
Uwe Steinmann
7362bf192b add method check_access()
just like in SeedDMS_View_Common
2019-11-08 08:03:02 +01:00
Uwe Steinmann
1c08d83704 need M_ALL to set revisor 2019-11-07 21:59:02 +01:00
Uwe Steinmann
ff0d550144 show target and source document/folder when moving on object 2019-11-07 19:56:43 +01:00
Uwe Steinmann
b9bbb8739f add action data (currently not used) 2019-11-07 19:55:55 +01:00
Uwe Steinmann
9820d9b7f3 set data-name for folder/document table rows 2019-11-07 19:54:42 +01:00
Uwe Steinmann
572d776e55 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-28 12:08:43 +01:00
Uwe Steinmann
ec8f7a1efe Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-10-28 12:08:30 +01:00
Uwe Steinmann
345b70f719 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-10-28 12:08:01 +01:00
Uwe Steinmann
28b2c02499 add keys settings_onePageMode and settings_onePageMode_desc 2019-10-28 12:07:37 +01:00
Uwe Steinmann
3c26142744 onePageMode can be turned on/off 2019-10-28 12:06:41 +01:00
Uwe Steinmann
7932349bf6 set indent_size to 2 2019-10-28 10:11:06 +01:00
Uwe Steinmann
120fd46bfd adding conf for editorconfig 2019-10-28 10:10:08 +01:00
Uwe Steinmann
bd56ca76c3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-28 09:27:14 +01:00
Uwe Steinmann
b705fdab44 fix up to parent button on ViewFolder page 2019-10-28 09:26:35 +01:00
Uwe Steinmann
a09a023d42 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-28 09:16:06 +01:00
Uwe Steinmann
ee88f44693 fix php warning
$iRev is probably not needed anymore, but kept for now
2019-10-28 09:14:07 +01:00
Uwe Steinmann
65212329a7 fix invaled xml 2019-10-28 08:23:27 +01:00
Uwe Steinmann
511152be68 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-28 08:15:20 +01:00
Uwe Steinmann
38f2759c5f extension config vars are only save to settings.xml if a value is set
previously even empty values has been saved, they just needed to be
defined in the extension configuration. This may break extensions which
do not check if a config var is set.
2019-10-23 09:08:53 +02:00
Uwe Steinmann
75f3afdc84 new hooks processConfig and showConfig
hook 'showConfig' is anly called for extension variables if the type is
set to 'hook'. 'processConfig' is called after the extension
configuration is read
2019-10-23 09:06:19 +02:00
Uwe Steinmann
40dee4b9d2 hook addDocumentContentAttribute and addDocumentAttribute may return a string 2019-10-23 09:05:04 +02:00
Uwe Steinmann
296e55e481 add update of italian translation to 5.1.13 2019-10-22 06:57:08 +02:00
Uwe Steinmann
6634008623 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-10-22 06:46:17 +02:00
Uwe Steinmann
dbed0e207e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-10-22 06:46:04 +02:00
Uwe Steinmann
badf336542 translation updates, major rework of italian 2019-10-22 06:45:23 +02:00
Uwe Steinmann
e9b896ecf1 fix errors related to new onepage mode 2019-10-21 09:32:07 +02:00
Uwe Steinmann
8c73f36151 show[Document|Folder]Attribute may return a string 2019-10-19 09:17:49 +02:00
Uwe Steinmann
da5fed3591 fix syntax error 2019-10-19 08:27:38 +02:00
Uwe Steinmann
0208d54409 fix parameter for addDocumentAttributes, editDocumentAttributes may return a string 2019-10-19 08:19:51 +02:00
Uwe Steinmann
070af52849 add new hook addFolderAttributes, editFolderAttribute may return a string 2019-10-19 08:19:09 +02:00
Uwe Steinmann
dfa2d03cf9 new and modified hooks
add hook addDocumentContentAttributes, addDocumentContentAttributes and
editDocumentContentAttribute can also return a string
2019-10-19 08:18:06 +02:00
Uwe Steinmann
b8447b7d39 add more hooks (still incomplete) 2019-10-19 08:16:43 +02:00
Uwe Steinmann
0205e8a08e create AccessOperation object 2019-10-18 12:55:03 +02:00
Uwe Steinmann
a53cd4b0cd add method successMsg() 2019-10-18 12:21:40 +02:00
Uwe Steinmann
1144ee4500 add entry for 5.1.13 2019-10-18 11:07:52 +02:00
Uwe Steinmann
937f8a5678 add hooks preContent, postContent 2019-10-18 11:06:42 +02:00
Uwe Steinmann
ffcc53408f fix typo in enableRevisionOnVoteReject (must be 'One') 2019-10-18 07:24:58 +02:00
Uwe Steinmann
40ddfd3ea6 allow to set status S_NEEDS_CORRECTION 2019-10-18 07:24:33 +02:00
Uwe Steinmann
7e3f490b57 fix getting view parameter 'onevotereject' 2019-10-18 07:23:20 +02:00
Uwe Steinmann
95aede5c2b fix SeedDMS_Core_DocumentContent::verifyЅtatus()
the method can now handle revisions with status==-1. Status will not
change if status is already S_NEEDS_CORRECTION
2019-10-18 07:19:51 +02:00
Uwe Steinmann
065bf4eb26 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:41:17 +02:00
Uwe Steinmann
c06ec0de2e more documentation in SeedDMS_Core_DocumentContent::verifyStatus() 2019-10-17 07:40:01 +02:00
Uwe Steinmann
a870602324 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-10-17 07:22:16 +02:00
Uwe Steinmann
d1a8546f1f fix comment 2019-10-17 07:18:51 +02:00
Uwe Steinmann
f2e7063a56 better documentation of SeedDMS_Core_DocumentContent::verifyStatus 2019-10-17 07:09:08 +02:00
Uwe Steinmann
6ae87d4fe0 changing folder/document will require a click on the second child of a row 2019-10-16 17:59:43 +02:00
Uwe Steinmann
4ac3dc0052 stop event propagation after clicking on addtoclipboard button 2019-10-16 17:58:52 +02:00
Uwe Steinmann
a6ef05b22b stop event propagation when clicking the delete doc/folder button in the list view 2019-10-16 17:57:56 +02:00
Uwe Steinmann
297d5d1391 clicking on document table row will load document page, update browser history 2019-10-16 09:50:54 +02:00
Uwe Steinmann
ad3678e60c remove unneeded echo 2019-10-11 16:30:53 +02:00
Uwe Steinmann
0faef9cd18 call new hook additionalTypes() 2019-10-11 16:30:31 +02:00
Uwe Steinmann
459883748e remove left overs from last installation, check if renaming succeeded 2019-10-11 16:29:53 +02:00
Uwe Steinmann
ec9ad49791 changes in 5.1.13 2019-10-01 14:07:39 +02:00
Uwe Steinmann
1a23c659fe add hook pageNavigationBar, pass date format to getDateChooser() 2019-10-01 14:06:46 +02:00
Uwe Steinmann
31697278d1 check for hook attached to parent class in hasHook() 2019-10-01 14:06:00 +02:00
Uwe Steinmann
ae4a65e8bc discard fileType if just '.' 2019-10-01 14:05:29 +02:00
Uwe Steinmann
721aaed1c1 init variable $workflow to prevent php warning 2019-09-16 08:32:50 +02:00
Uwe Steinmann
dfe50ca85b add changes for 5.1.13 2019-09-11 17:45:08 +02:00
Uwe Steinmann
49f29d007b new onepage mode can be turned off 2019-09-11 17:44:40 +02:00
Uwe Steinmann
39217037b8 fix tree behaviour, do not load all sub nodes 2019-09-11 17:43:50 +02:00
Uwe Steinmann
679fb1a349 callback can be passed to sendFileToServer() 2019-09-11 17:42:14 +02:00
Uwe Steinmann
7a76470c07 take out var_dump 2019-09-11 17:41:45 +02:00
Uwe Steinmann
d1691190f2 pass parameter 'onepage' to view
used to enable/disable new behaviour with ajax request to update page
2019-09-11 17:40:38 +02:00
Uwe Steinmann
875dea5708 do not set mandatory reviewer if workflow is traditional_no_review 2019-09-10 17:43:32 +02:00
Uwe Steinmann
e24e031b17 do not output header of section for reviewers if there is no reviewer 2019-09-10 17:42:58 +02:00
Uwe Steinmann
9bc5b73771 do not access SeedDMS_Core_DocumentContent::_version anymore 2019-09-10 17:15:27 +02:00
Uwe Steinmann
68e97f81ce add selection for partial tree 2019-09-10 17:15:11 +02:00
Uwe Steinmann
919757bbf3 add new parameter partialtree to method printNewTreeNavigationJs() 2019-09-06 15:19:47 +02:00
Uwe Steinmann
4b5c5ab00f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-09-06 14:56:14 +02:00
Uwe Steinmann
d12b41a958 use new method SeedDMS_Core_Document::isType() 2019-09-06 14:54:11 +02:00
Uwe Steinmann
670597ea5f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-09-06 14:51:21 +02:00
Uwe Steinmann
88168d005e take over some changes from 5.1.x 2019-09-06 14:32:14 +02:00
Uwe Steinmann
4215eda966 remember current folder id on page, update drop folder list regulary 2019-09-05 12:53:45 +02:00
Uwe Steinmann
177e3c571a fix php error when removing versions of a document 2019-09-05 08:34:11 +02:00
Uwe Steinmann
4145b67dd6 fix for determine fileType
didn't work if the file didn't have a file extension but the path
contains a dot.
2019-08-27 21:47:05 +02:00
Uwe Steinmann
140926be96 log creation of preview files 2019-08-27 21:46:40 +02:00
Uwe Steinmann
4a22ed2ce7 pass on orderby to ajax calls 2019-08-27 21:46:19 +02:00
Uwe Steinmann
bd99b078ca split page into seperate views, click in tree just updates the views
a page reload isn't needed anymore
2019-08-27 14:35:22 +02:00
Uwe Steinmann
aed406b167 check for data-no-spinner, make drag&drop work if loaded by ajax 2019-08-27 14:13:26 +02:00
Uwe Steinmann
712a504d9b remove debug output 2019-08-27 14:13:03 +02:00
Uwe Steinmann
e571fe38a5 send notifications, check for duplicate folder/document names if configured 2019-08-22 07:47:04 +02:00
Uwe Steinmann
4b2b536fdb allow status override if the new status is 'obsoleted' 2019-08-17 08:00:06 +02:00
Uwe Steinmann
65703c1862 add url to notification mail 2019-08-12 08:11:12 +02:00
Uwe Steinmann
269fa30936 remove extra containerStart 2019-08-12 08:10:40 +02:00
Uwe Steinmann
5fc0d5667f do not send notification to owner
other operations on documents don't do neither
2019-08-12 08:09:53 +02:00
Uwe Steinmann
f378aeb013 add new file class.Decorator.php 2019-08-08 15:49:08 +02:00
Uwe Steinmann
4767bf69d0 new version 5.1.13 2019-08-08 09:37:33 +02:00
Uwe Steinmann
1d2b44a8d9 the subtree command from op.Ajax.php has been moved into the views 2019-08-08 09:32:42 +02:00
Uwe Steinmann
19727e3e4e another security note 2019-08-08 09:31:58 +02:00
Uwe Steinmann
3b060dc091 add generic decorator for views 2019-08-08 09:20:36 +02:00
Uwe Steinmann
d449d2bcee use isType() for checking object type 2019-08-08 09:16:54 +02:00
Uwe Steinmann
25f569b9eb use isType() for checking object type 2019-08-08 09:16:06 +02:00
Uwe Steinmann
788d51cb6f better checking for configured class file 2019-08-08 09:12:41 +02:00
Uwe Steinmann
67f4ca35ee run hook preRun and postRun before and after the view 2019-08-08 09:11:47 +02:00
Uwe Steinmann
a6e4202132 check for decorators in extensions, new way to add views
read the comments in the file
2019-08-08 09:10:45 +02:00
Uwe Steinmann
89e526a5e2 use new method SeedDMS_Core_[Folder|Document]::isType() 2019-08-08 09:08:27 +02:00
Uwe Steinmann
a02afe4e64 run hook preRun, postRun before and after controller, check for hooks of parent class 2019-08-08 09:07:38 +02:00
Uwe Steinmann
7576bee235 use new method SeedDMS_Core_[Document|Folder]::isType() 2019-08-08 09:05:40 +02:00
Uwe Steinmann
078847ab9b fix line indenting 2019-08-08 09:04:58 +02:00
Uwe Steinmann
851ca7013b start new version 5.1.13 2019-08-08 09:00:12 +02:00
Uwe Steinmann
99238a34f4 run decorators, new method isType(), use $this instead of self:: 2019-08-08 08:43:20 +02:00
Uwe Steinmann
f9eabdb252 run decorators, new method isType(), do not access variable _dms anymore 2019-08-08 08:42:02 +02:00
Uwe Steinmann
cebf0e3796 add generic decorator class 2019-08-08 08:41:12 +02:00
Uwe Steinmann
9a0b6c4d3d add methods for setting and getting decorators 2019-08-08 08:39:53 +02:00
Uwe Steinmann
452c815482 started changelog for 5.1.13 2019-08-08 08:38:09 +02:00
Uwe Steinmann
27162a7926 add converters for fulltext search 2019-08-08 07:47:12 +02:00
Uwe Steinmann
4a7d572f95 add method isType(), make functions explicitly public 2019-08-07 08:10:05 +02:00
Uwe Steinmann
61a15c877f protect utils and doc directory 2019-07-30 16:31:21 +02:00
Uwe Steinmann
5997717099 do not provide backup tools if backup dir is not set 2019-07-30 07:08:10 +02:00
Uwe Steinmann
ce420a78eb use backup dir for backup archives and sql dumps 2019-07-30 06:39:25 +02:00
Uwe Steinmann
88a607ccd3 support for apache 2.4 2019-07-30 06:38:54 +02:00
Uwe Steinmann
90baea95f0 use host name in redirect to prevent redirecting to arbitrary pages 2019-07-30 06:36:34 +02:00
Uwe Steinmann
3d5812c86d file containing meta data can be specified 2019-07-30 06:34:16 +02:00
Uwe Steinmann
1de9ed37d5 allow serveral instanceѕ of drop folder chooser on one page 2019-07-30 06:33:18 +02:00
Uwe Steinmann
37db957c41 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-19 15:41:05 +02:00
Uwe Steinmann
44bf03c557 Merge branch 'seeddms-5.1.x' 2019-07-19 15:29:20 +02:00
Uwe Steinmann
b83ef1dd66 cancel drag&drop if source document equals target document 2019-07-19 12:52:33 +02:00
Uwe Steinmann
111a2beec6 SeedDMS_Core_Folder::empty is now emptyFolder 2019-07-17 10:51:12 +02:00
Uwe Steinmann
ba9f4ba749 rename SeedDMS_Core_Folder::empty to emptyFolder 2019-07-17 10:50:52 +02:00
Uwe Steinmann
4271c40e91 expand tabs 2019-07-16 20:17:23 +02:00
Uwe Steinmann
e71c9c2e4e fix sql statement for searching when setting a limit 2019-07-16 20:16:50 +02:00
Uwe Steinmann
b7417b4ea4 add scrollbar to statusbar-container 2019-07-12 17:12:12 +02:00
Uwe Steinmann
b12bc7e985 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-07-12 16:47:45 +02:00
Uwe Steinmann
aa9cc9de4f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-07-12 16:47:36 +02:00
Uwe Steinmann
2e78e446f1 new key recent_uploads 2019-07-12 16:47:20 +02:00
Uwe Steinmann
3471835d0a do not check for named formtoken in op/op.Ajax.php anymore, use new statusbox-container for last file uploads 2019-07-12 16:45:28 +02:00
Uwe Steinmann
ee732551c6 make drag&drop work 2019-07-12 16:44:44 +02:00
Uwe Steinmann
08ecb9829e make drag&drop work 2019-07-12 16:44:23 +02:00
Uwe Steinmann
19f5990080 add div.statusbar-container, remove old code, make drag&drop work 2019-07-12 16:43:34 +02:00
Uwe Steinmann
9579c0480b add code for bootbox, make drag&drop work 2019-07-12 16:42:29 +02:00
Uwe Steinmann
a115cb30f2 add style for div.statusbar-container 2019-07-12 16:41:40 +02:00
Uwe Steinmann
e79e9de1cf add new class SeedDMS_CSRF for creating time base tokens (currently not used) 2019-07-12 16:40:38 +02:00
Uwe Steinmann
c5e6131c14 use getVersion() instead of accessing _version which is now protected 2019-07-12 16:39:44 +02:00
Uwe Steinmann
556b900bfb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-07-11 17:20:18 +02:00
Uwe Steinmann
eb51461808 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-07-11 17:20:05 +02:00
Uwe Steinmann
62f6431ac7 new phrases 2019-07-11 17:19:46 +02:00
Uwe Steinmann
e1ae62ec7e overhaul drag&drop code
documents can be dropped on other documents, files can be dropped
on folders
2019-07-11 17:18:03 +02:00
Uwe Steinmann
16e9d3748c new command transferdocument and linkdocument
transferdocument moves the version of one document to another document
linkdocument creates a link between on document and another document
2019-07-11 17:15:40 +02:00
Uwe Steinmann
d11887311c declare variables in SeedDMS_Core_DocumentContent 2019-07-11 17:14:56 +02:00
Uwe Steinmann
a6af3cf0cd add entry form 5.1.12 2019-07-10 20:39:54 +02:00
Uwe Steinmann
f09ece975b turn load on demand on in jqtree 2019-07-10 19:32:02 +02:00
Uwe Steinmann
abf9465e31 ??? 2019-07-10 19:31:33 +02:00
Uwe Steinmann
063ab39f62 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-07-05 14:25:20 +02:00
Uwe Steinmann
ae5091a936 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-07-05 14:25:10 +02:00
Uwe Steinmann
2e75779e4e some minor updates of lately added keys 2019-07-05 14:24:43 +02:00
Uwe Steinmann
585c81bb66 allow pass the object with the document content 2019-07-05 14:13:29 +02:00
Uwe Steinmann
801f0f0ed2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-05 08:10:42 +02:00
Uwe Steinmann
853d111738 new item for 5.1.12 2019-07-05 08:09:12 +02:00
Uwe Steinmann
7a7542e01b fix wrong baseUrl which cause the styles not to be loaded 2019-07-05 08:07:52 +02:00
Uwe Steinmann
b90392191a seperate code for lines in clipboard into extra function
allows to add hook for replacing those functions with code in an
extension
2019-07-04 14:35:05 +02:00
Uwe Steinmann
a91a49cd56 add filetype 'folder' in getMimeIcon()
This enables the use of getMimeIcon() for folders instead of using
the protected $imgpath
2019-07-04 14:33:24 +02:00
Uwe Steinmann
2c11d4b1c7 new entry for 5.1.12 2019-07-02 15:21:07 +02:00
Uwe Steinmann
10e419f7e3 eliminate duplicate mails to the same group 2019-07-02 15:20:11 +02:00
Uwe Steinmann
bf1c297594 note about new EmptyFolder controller 2019-07-02 08:47:49 +02:00
Uwe Steinmann
c9d9bf6c7b new function and controller for emptying a folder 2019-07-02 08:47:12 +02:00
Uwe Steinmann
768ff5acb1 update entry for 5.1.12 2019-07-01 21:36:22 +02:00
Uwe Steinmann
fa64bb3200 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-07-01 21:34:08 +02:00
Uwe Steinmann
d2614ba79d add entry for 5.1.12 2019-07-01 20:41:54 +02:00
Uwe Steinmann
7fc98be1be check for duplicate names if this is turn on in the settings 2019-07-01 20:40:21 +02:00
Uwe Steinmann
d18a3389bc sіmplify and possibly fix method isDescendant() 2019-07-01 13:06:08 +02:00
Uwe Steinmann
536067200e add method isDescendant() 2019-07-01 13:05:40 +02:00
Uwe Steinmann
d1100501fc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-07-01 11:52:53 +02:00
Uwe Steinmann
e74fdf70ac Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-07-01 11:52:34 +02:00
Uwe Steinmann
b4b2bd45e4 - add new translations 2019-07-01 11:52:08 +02:00
Uwe Steinmann
4b9da8d495 add entry for 5.1.12 2019-07-01 11:50:10 +02:00
Uwe Steinmann
38413b671f added check for duplicate folder and document names if turned on 2019-07-01 11:49:17 +02:00
Uwe Steinmann
ad86df5fc5 check for duplicate folder names 2019-07-01 11:48:53 +02:00
Uwe Steinmann
b1a895fb27 new config options for disallowing duplicate subfolder names 2019-07-01 10:50:40 +02:00
Uwe Steinmann
24a83e8f27 more changes in 5.1.12 2019-07-01 10:48:12 +02:00
Uwe Steinmann
e9d5381aa6 more notes for 5.1.12, update release date 2019-07-01 10:47:42 +02:00
Uwe Steinmann
164282cfb9 add new method hasSubFolderByName(), fix hasDocumetByName()
hasDocumetByName() returned a positiv integer if documents of the folder
has been loaded before.
2019-07-01 10:46:27 +02:00
Uwe Steinmann
3d9e752694 new optional parameter $attachments for toIndividual() 2019-07-01 09:56:19 +02:00
Uwe Steinmann
1a5a1f3ecb add not for 5.1.12 2019-06-28 11:03:27 +02:00
Uwe Steinmann
6f2fb3e646 fix possible xss 2019-06-28 11:02:10 +02:00
Uwe Steinmann
c17bd81148 replace placeholders in email header and footer 2019-06-28 10:46:20 +02:00
Uwe Steinmann
514bdb88da add entry for 5.1.12 2019-06-28 08:46:31 +02:00
Uwe Steinmann
b540f4a1b7 fix uploaded documents from drop folder 2019-06-28 08:43:37 +02:00
Uwe Steinmann
cc89217884 include Extension.php and friends to prevent php warnings 2019-06-27 18:11:11 +02:00
Uwe Steinmann
9d6a8c574b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-06-27 15:55:41 +02:00
Uwe Steinmann
bcf5ba9fc3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-06-27 15:55:29 +02:00
Uwe Steinmann
91ce7f6d6e fix some typos, new translations 2019-06-27 15:55:00 +02:00
Uwe Steinmann
e6b9b15605 init $oldattributes in order to prevent php warnings 2019-06-27 14:19:24 +02:00
Uwe Steinmann
e0995e362c initialize $fieldwrap in order to prevent php warnings 2019-06-27 14:18:58 +02:00
Uwe Steinmann
cf6b852233 do not access $data if there is none 2019-06-27 14:18:39 +02:00
Uwe Steinmann
e8c9fd5e4e add changes for 5.1.12 2019-06-26 20:41:19 +02:00
Uwe Steinmann
b7063fada3 add changes for 5.1.12 2019-06-26 20:39:37 +02:00
Uwe Steinmann
619a1de980 adding ordering of result for database search 2019-06-26 18:03:36 +02:00
Uwe Steinmann
3ab6d050cd pass parameters to search() by array 2019-06-26 18:03:07 +02:00
Uwe Steinmann
86c03d3ee4 check if $orderby is set before using it 2019-06-26 18:02:26 +02:00
Uwe Steinmann
b8bc69bb11 add sorting by name,date for documents in search() 2019-06-26 18:01:53 +02:00
Uwe Steinmann
3e4d90fe91 parameters for search() can be an array, add support for sorting the output 2019-06-26 13:38:39 +02:00
Uwe Steinmann
e16a5dd46e fix typo in variable name 2019-06-26 13:37:16 +02:00
Uwe Steinmann
b3a2e0bb32 search() sorts hits by name 2019-06-26 11:47:34 +02:00
Uwe Steinmann
83eb57fb38 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-06-24 13:13:09 +02:00
Uwe Steinmann
a2a629a610 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-06-24 13:12:59 +02:00
Uwe Steinmann
d16bca7789 lots of updates for portugese, some new keys 2019-06-24 13:12:22 +02:00
Uwe Steinmann
92116cfbc8 add changes in installation process 2019-06-24 12:38:16 +02:00
Uwe Steinmann
8af9d0fc28 getNotificationList() returns an empty array if there are no notifications 2019-06-24 12:37:25 +02:00
Uwe Steinmann
ee57a4b25b require at least 5.6.38, do not check for Log.php anymore 2019-06-24 12:36:55 +02:00
Uwe Steinmann
eccbc5ebd6 start new version 5.1.12 2019-06-24 11:55:24 +02:00
Uwe Steinmann
c9ff525372 start changelog for 5.1.12 2019-06-24 11:54:45 +02:00
Uwe Steinmann
53134c346a add icons for sort field and sort order in list of folders/docs 2019-06-24 11:54:08 +02:00
Uwe Steinmann
414f00c5c9 add fix for CVE-2019-12932, escape strings output by incr. search 2019-06-24 11:53:01 +02:00
Uwe Steinmann
66d2dcce8e add style for i.selected, used in table headers 2019-06-24 11:52:01 +02:00
Uwe Steinmann
6d751b5437 allow orderby to be a string not just a char 2019-06-24 11:51:21 +02:00
Uwe Steinmann
0a4d7359b2 new version 5.1.12 2019-06-24 11:46:46 +02:00
Uwe Steinmann
7485dbba15 use only first char of $orderby 2019-06-24 11:46:25 +02:00
Uwe Steinmann
4bcb5f8e4c Merge branch 'seeddms-5.1.x' 2019-06-20 08:27:24 +02:00
Uwe Steinmann
94ec9f5962 more detailed description of fixed CVE in 5.1.11 2019-06-20 08:26:37 +02:00
Uwe Steinmann
4fe696f18b Merge branch 'seeddms-5.1.x' 2019-06-14 08:53:26 +02:00
Uwe Steinmann
cf3d276913 add CVE 2019-06-14 08:53:04 +02:00
Uwe Steinmann
023c2c58f1 Merge branch 'seeddms-5.1.x' 2019-06-13 11:23:19 +02:00
Uwe Steinmann
556ec6de14 callbacks for select2 can now handle numeric values for data attributes 2019-06-13 09:29:24 +02:00
Uwe Steinmann
f32ac518ea add note for CVE-2019-12744 and CVE-2019-12745 2019-06-13 09:13:38 +02:00
Uwe Steinmann
0b6d1b4597 add example of .htaccess file for data directory 2019-06-13 09:12:55 +02:00
Uwe Steinmann
03263c0dc9 much better installation instructions added security considerations 2019-06-13 09:03:55 +02:00
Uwe Steinmann
0fe038e512 escape group name in list of groups 2019-06-13 09:03:30 +02:00
Uwe Steinmann
aed0c3cdf3 prevent xss attack in Select2 select menu 2019-06-13 09:03:00 +02:00
Uwe Steinmann
b0e3c816ff fix typo in comment 2019-06-13 08:50:13 +02:00
Uwe Steinmann
b6893da706 another note on setting document root propperly 2019-06-07 21:38:20 +02:00
Uwe Steinmann
5e8c34ad54 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-05-14 20:44:47 +02:00
Uwe Steinmann
d239fbb331 add entry for 5.1.11 2019-05-13 08:14:40 +02:00
Uwe Steinmann
a511904a81 call new hook 'footNote', footNote() returns the html instead of echoing it 2019-05-13 08:13:30 +02:00
Uwe Steinmann
e0c5013e29 set minimum requirement to php 7.0 2019-05-07 08:33:02 +02:00
Uwe Steinmann
f8ac8aa74f take out patches accidentially taken over from demo 2019-05-07 08:05:19 +02:00
Uwe Steinmann
5734d9808e do not echo error if no folder is set 2019-05-02 18:18:18 +02:00
Uwe Steinmann
da75a7f4b9 add .htaccess file to distribution 2019-05-02 16:57:31 +02:00
Uwe Steinmann
367d1b52a7 do not allow download of extensions 2019-05-02 16:57:31 +02:00
Uwe Steinmann
b1dc684738 add donate button to global nav, use simpler button 2019-05-02 16:57:31 +02:00
Uwe Steinmann
c459175bab add offer to receive a copy of the user's manual 2019-05-02 16:57:31 +02:00
Uwe Steinmann
ddddb4fb74 add splashscreen for paypal 2019-05-02 16:57:31 +02:00
Uwe Steinmann
f8841e670e start new version 5.1.11 2019-05-02 16:56:00 +02:00
Uwe Steinmann
2fca4a8f50 add item for 5.1.11 2019-05-01 12:48:36 +02:00
Uwe Steinmann
1dfd36e79a fix moving documents on clipboard into the current folder 2019-05-01 12:43:36 +02:00
Uwe Steinmann
ad1480eb3e add item for 5.1.11 (fixing #437) 2019-04-17 08:29:52 +02:00
Uwe Steinmann
0f38a3dff6 propperly evaluate lang from REQUEST 2019-04-17 08:29:19 +02:00
Uwe Steinmann
43c15ff399 index document even if hook preIndexDocument is not set 2019-04-17 08:28:46 +02:00
Uwe Steinmann
e1bd6605aa add entry from 5.1.11 2019-04-12 08:55:45 +02:00
Uwe Steinmann
7ceb0e9718 may not edit reception if rejecting a reception is turned off 2019-04-12 08:54:25 +02:00
Uwe Steinmann
4f4160c1a5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-04-12 08:33:04 +02:00
Uwe Steinmann
423bf1dd7c do not show attributes in extra column in search result
put into a popup opened by a button
2019-04-11 06:19:56 +02:00
Uwe Steinmann
570dc9ca71 new items for 6.0.7 2019-04-09 11:20:00 +02:00
Uwe Steinmann
5c59a92624 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-04-09 10:54:42 +02:00
Uwe Steinmann
e1b04bb567 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-04-09 10:54:30 +02:00
Uwe Steinmann
ee20e00332 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-04-09 10:54:17 +02:00
Uwe Steinmann
be725b8893 some new phrases 2019-04-09 10:54:01 +02:00
Uwe Steinmann
469370cb42 new config option enableReceiptReject
enables rejection of receipts
2019-04-09 10:51:51 +02:00
Uwe Steinmann
f5505e85b2 order documents in tree by name 2019-04-09 10:51:31 +02:00
Uwe Steinmann
e2c3cbe3cf do not show update user for revisions in status 0 2019-04-05 13:23:38 +02:00
Uwe Steinmann
1a002c9d18 Merge branch 'seeddms-5.1.x' 2019-04-04 19:18:44 +02:00
Uwe Steinmann
d0cf90032f a revision call also be started if some of the revisors have already reviewed the document 2019-04-04 14:02:46 +02:00
Uwe Steinmann
d8fb4fa4b0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-04-04 11:41:45 +02:00
Uwe Steinmann
029ac6d2d0 add item for 5.1.9 2019-04-03 10:55:17 +02:00
Uwe Steinmann
9a5d6c31ab do not list users/groups in select menu which already has an access right 2019-04-03 10:54:04 +02:00
Uwe Steinmann
d2c55cd685 fix translation string 2019-04-03 10:13:19 +02:00
Uwe Steinmann
cd4eb3d115 move code for getting version into method version() 2019-03-27 15:30:11 +01:00
Uwe Steinmann
f97af846e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-03-18 07:37:17 +01:00
Uwe Steinmann
539b5d3223 fix commands for converting from old to new layout 2019-03-18 07:35:11 +01:00
Uwe Steinmann
b953ead796 fix merge errors 2019-03-18 06:55:02 +01:00
Uwe Steinmann
d5109326f2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-03-18 06:53:11 +01:00
Uwe Steinmann
c3b13c21b2 fix various errorѕ 2019-03-18 06:42:22 +01:00
Uwe Steinmann
fd5bfe246f various minor corrections of sql statements
improves compatibility with postgres
2019-03-14 09:37:21 +01:00
Uwe Steinmann
a2fbb7cca0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-03-14 09:08:07 +01:00
Uwe Steinmann
80b9c708fa a document in any status can be set obsoletet 2019-03-14 07:54:52 +01:00
Uwe Steinmann
4b9a4ac010 add hook preViewDocument 2019-03-14 07:48:20 +01:00
Uwe Steinmann
e7f195f921 there is no parameter 'name' 2019-03-14 07:47:53 +01:00
Uwe Steinmann
d71d78138b use the latestet version if no version is given 2019-03-14 07:47:23 +01:00
Uwe Steinmann
83e8f900e5 fix setting role 2019-03-11 18:27:20 +01:00
Uwe Steinmann
00d6b7e150 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-03-11 18:27:09 +01:00
Uwe Steinmann
3f77722aa8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-03-11 13:06:14 +01:00
Uwe Steinmann
87036b51c3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-03-11 13:06:00 +01:00
Uwe Steinmann
6ee1820438 update translations 2019-03-11 13:05:37 +01:00
Uwe Steinmann
8cfed6feea folder tree can be configured to not load further levels 2019-03-05 09:28:31 +01:00
Uwe Steinmann
b4fd9ac804 check if not found file is actually a file 2019-03-01 09:53:32 +01:00
Uwe Steinmann
4f34ff5c5c add missing http header for js file 2019-03-01 08:36:05 +01:00
Uwe Steinmann
7860cdc769 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-27 15:40:34 +01:00
Uwe Steinmann
ce3bb7d8ca fix typo in variable name 2019-02-27 15:40:21 +01:00
Uwe Steinmann
bf7cd09374 do not preset user selection for access rights 2019-02-27 13:53:23 +01:00
Uwe Steinmann
add79b47d1 fix syntax error, run update of index even if update hook was called before 2019-02-27 11:56:33 +01:00
Uwe Steinmann
51c9236c7c return version of new content after upload 2019-02-27 11:45:08 +01:00
Uwe Steinmann
6115e5232f load jqtree data on left click also 2019-02-27 11:44:27 +01:00
Uwe Steinmann
a3fcfcb6d9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-22 17:27:06 +01:00
Uwe Steinmann
bff281cd01 table can be filtered 2019-02-22 17:26:32 +01:00
Uwe Steinmann
d721ee374a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-22 07:56:05 +01:00
Uwe Steinmann
b3bdf6e09d add version_comment and version_date to document data 2019-02-21 14:30:12 +01:00
Uwe Steinmann
f0cb23a7a8 pass user to hook addRoute 2019-02-21 14:29:50 +01:00
Uwe Steinmann
4eec4b6977 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-19 07:57:49 +01:00
Uwe Steinmann
cc790dd614 fix php warning 2019-02-15 10:39:45 +01:00
Uwe Steinmann
bcefbca382 check for more parameters doSearch() 2019-02-15 08:31:47 +01:00
Uwe Steinmann
695c7c7c44 pass initial document status to verifyStatus() 2019-02-14 12:47:03 +01:00
Uwe Steinmann
3ccc9f5176 add more notes for 6.0.7 2019-02-14 12:46:11 +01:00
Uwe Steinmann
6d5ce06c9f add_log_line() be used from command line scripts without errors 2019-02-14 12:45:39 +01:00
Uwe Steinmann
4b7e9d9c75 log run of execution 2019-02-14 12:35:57 +01:00
Uwe Steinmann
ee88020054 check frequency 2019-02-14 12:35:18 +01:00
Uwe Steinmann
08fac559c9 add new list type 'DueRevision' in getDocumentList 2019-02-14 12:33:50 +01:00
Uwe Steinmann
feee5600c4 add new list type ´DueRevision' in getDocumentList() 2019-02-14 12:33:11 +01:00
Uwe Steinmann
fa96dca929 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-13 06:50:36 +01:00
Uwe Steinmann
9729d211eb add missing `` in sql statement 2019-02-13 06:38:56 +01:00
Uwe Steinmann
6e2fa5022a add addDocumentLink() 2019-02-12 21:37:21 +01:00
Uwe Steinmann
32c09408d4 check if param 'limit' in doSearchByAttr() is set, before using it 2019-02-12 18:42:52 +01:00
Uwe Steinmann
8c826a0c0d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-12 12:16:13 +01:00
Uwe Steinmann
5cb159ca82 return list of approvals even if empty 2019-02-12 12:12:11 +01:00
Uwe Steinmann
fb6a552381 better phrasing of changelog entry 2019-02-12 11:58:13 +01:00
Uwe Steinmann
f89d8bf400 sequence of new folder can be passed 2019-02-12 11:57:11 +01:00
Uwe Steinmann
37a8663a69 set body class and http base url 2019-02-12 11:15:19 +01:00
Uwe Steinmann
b2fa733a0d new note for 6.0.7 2019-02-12 08:18:16 +01:00
Uwe Steinmann
770daa330c SeedDMS_Core_Document::getTimeline() returns revision only for latest content 2019-02-12 08:18:10 +01:00
Uwe Steinmann
963f2b9b78 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-11 22:00:31 +01:00
Uwe Steinmann
698038999c new version 1.2.10 2019-02-11 20:43:46 +01:00
Uwe Steinmann
adf55b927c fix error when document content is not of class SeedDMS_Core_DocumentContent 2019-02-11 20:42:39 +01:00
Uwe Steinmann
8337a7602e make getFileName() protected 2019-02-11 20:41:37 +01:00
Uwe Steinmann
07d7bb0834 return true if operation was succesful 2019-02-11 19:20:07 +01:00
Uwe Steinmann
1652e4779e add item for 5.1.10 2019-02-11 15:52:09 +01:00
Uwe Steinmann
90f4c17533 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-11 15:45:24 +01:00
Uwe Steinmann
8f2f81ee03 categories, attributes, comment, sequence, etc. can be set when uploading a new document 2019-02-11 14:11:34 +01:00
Uwe Steinmann
3d638b47a8 check if attribute definition exists 2019-02-11 14:08:57 +01:00
Uwe Steinmann
25e7eaed64 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-02-08 08:10:08 +01:00
Uwe Steinmann
8c63f7df36 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-02-08 08:09:54 +01:00
Uwe Steinmann
08cc484145 some minor corrections from users at demo.seeddms.org 2019-02-08 08:09:11 +01:00
Uwe Steinmann
b27895e4ea Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-07 15:03:43 +01:00
Uwe Steinmann
2b2fcdad37 call hooks to get document content 2019-02-06 13:22:52 +01:00
Uwe Steinmann
beba1d9727 fix typo in comment 2019-02-06 13:12:15 +01:00
Uwe Steinmann
939d212175 call hook to get document content 2019-02-06 13:11:49 +01:00
Uwe Steinmann
211eae5587 pass version nr to controller instead content object 2019-02-06 13:11:14 +01:00
Uwe Steinmann
8db66fa33b add controller 2019-02-06 13:10:33 +01:00
Uwe Steinmann
e2ab2ba1af call hook to get document content 2019-02-06 13:10:00 +01:00
Uwe Steinmann
d4ca66706d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-05 07:36:09 +01:00
Uwe Steinmann
00c6c72f25 add js for jqtree only if showtree is set 2019-02-05 07:35:20 +01:00
Uwe Steinmann
a19db806cf check if configured guest user actually exists 2019-02-05 07:34:48 +01:00
Uwe Steinmann
d7515b3084 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-04 15:17:42 +01:00
Uwe Steinmann
1c75536791 fix wrong name for review file in form 2019-02-04 15:17:18 +01:00
Uwe Steinmann
6d09865bae call hook to filter docs in tree, add data-url to jqtree div 2019-02-04 14:51:52 +01:00
Uwe Steinmann
6880901b4a subtree command isn't deprecated 2019-02-04 14:51:19 +01:00
Uwe Steinmann
6776f0c93d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-04 14:45:12 +01:00
Uwe Steinmann
fdb848d5bb fix list of menuitems, fix user in protocol log 2019-02-04 14:43:57 +01:00
Uwe Steinmann
7adefd2d8d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-04 14:30:07 +01:00
Uwe Steinmann
3855603dbf fix tree view when documents are shown 2019-02-04 14:24:30 +01:00
Uwe Steinmann
6e5634cf62 path current class to jqtree 2019-02-04 11:19:04 +01:00
Uwe Steinmann
621dc6fd98 fix filtering approval tasks 2019-02-04 11:18:44 +01:00
Uwe Steinmann
cad94cd18b call hook to filter documents in folder tree
can be used to show only certain documents, e.g. those which are
released
2019-02-04 08:46:03 +01:00
Uwe Steinmann
64e517a02e change name of form from 'form1' to 'adddocform'
needed for hooks, to tell which form is currently shown
2019-02-04 08:44:13 +01:00
Uwe Steinmann
1db49ff214 add counter for needscorrection 2019-02-04 08:42:49 +01:00
Uwe Steinmann
22a4160a58 add comment that 'subtree' is deprecated 2019-02-04 08:42:06 +01:00
Uwe Steinmann
4b76b5e6ae Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-01 09:30:32 +01:00
Uwe Steinmann
35e8f885cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-02-01 09:04:07 +01:00
Uwe Steinmann
375384ce68 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-02-01 09:03:55 +01:00
Uwe Steinmann
96197248ef updated translation 2019-02-01 09:03:32 +01:00
Uwe Steinmann
8fcfadf5a8 fix typo in key for translation 2019-02-01 09:01:18 +01:00
Uwe Steinmann
9e1dff071a admis are allowed to change approver/reviewer after first approval/review 2019-02-01 09:00:16 +01:00
Uwe Steinmann
4b1e933c76 add new config option $_allowChangeRevAppInProcess 2019-02-01 08:59:43 +01:00
Uwe Steinmann
fc688441ad recipients can be set, even if document was not released 2019-01-31 15:06:45 +01:00
Uwe Steinmann
0a256bde29 fix typo in translation key 2019-01-31 15:06:22 +01:00
Uwe Steinmann
437071e51b add entry for 5.1.10 2019-01-31 11:24:13 +01:00
Uwe Steinmann
600a1c00b7 filter docs in a task list through a hook function 2019-01-31 11:23:16 +01:00
Uwe Steinmann
a03288ccf3 login as guest will prevent any other authentication 2019-01-31 11:22:21 +01:00
Uwe Steinmann
d5ae314dec fix document chooser, which did not open anymore 2019-01-26 15:06:04 +01:00
Uwe Steinmann
8e5e3ec4ea fix line indenting, propperly get query parameters in uploadDocumentPut 2019-01-22 13:08:20 +01:00
Uwe Steinmann
8cf9f4e965 add entry for 5.1.10 2019-01-18 13:08:34 +01:00
Uwe Steinmann
bcfde858d8 new parameter xsendfile 2019-01-18 13:08:21 +01:00
Uwe Steinmann
dcb0a746a0 new parameter xsendfile 2019-01-18 13:07:39 +01:00
Uwe Steinmann
2c47911ffc new version 1.2.9 2019-01-18 13:07:08 +01:00
Uwe Steinmann
5353e28fae the use of xsendfile can be set 2019-01-18 13:05:10 +01:00
Uwe Steinmann
d3e265d1d1 rewrite favicon.ico 2019-01-18 13:04:19 +01:00
Uwe Steinmann
9d5ab1250f add list of converters 2019-01-18 13:03:57 +01:00
Uwe Steinmann
0afe73df9f add entries for 5.1.10 2019-01-17 18:30:27 +01:00
Uwe Steinmann
869a82d4a8 better handling of return values of hooks 2019-01-17 18:30:10 +01:00
Uwe Steinmann
50cf2fa5a0 document more hooks 2019-01-17 18:29:53 +01:00
Uwe Steinmann
ba49c866cb do not index document if preIndexDocument returns false 2019-01-17 18:28:58 +01:00
Uwe Steinmann
e0bbc4bab5 call hooks like in updateDocument 2019-01-17 18:27:38 +01:00
Uwe Steinmann
35fa67ae93 call hooks like in AddDocument 2019-01-17 18:27:10 +01:00
Uwe Steinmann
d9a8f35a6a always call hook postRemoveDocument and index document 2019-01-17 18:26:22 +01:00
Uwe Steinmann
5009a25439 always call postEditFolder 2019-01-17 18:25:39 +01:00
Uwe Steinmann
fc63d1c15e always call postRemoveFolder 2019-01-17 18:25:01 +01:00
Uwe Steinmann
d1a8541d02 remove duplicate authentication code 2019-01-17 18:24:29 +01:00
Uwe Steinmann
d79b41c925 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-16 19:21:38 +01:00
Uwe Steinmann
c623220830 add .htaccess file to distribution 2019-01-16 19:21:07 +01:00
Uwe Steinmann
f4a638ce14 new version 6.0.7 2019-01-16 17:57:13 +01:00
Uwe Steinmann
5a949f37a7 add readme on how to setup fail2ban 2019-01-16 09:32:20 +01:00
Uwe Steinmann
d33564ce88 fix opened and closed icon of tree 2019-01-15 18:24:11 +01:00
Uwe Steinmann
e79cba72a8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 18:21:54 +01:00
Uwe Steinmann
219a74e09a fix inclusion of files 2019-01-15 18:21:33 +01:00
Uwe Steinmann
56ecf9d99e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 18:19:39 +01:00
Uwe Steinmann
c43bb06a3d fix inclusion of files 2019-01-15 18:19:20 +01:00
Uwe Steinmann
37c7eed2bb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 18:16:46 +01:00
Uwe Steinmann
fcb60a6f21 fix inclusion of files 2019-01-15 18:16:30 +01:00
Uwe Steinmann
2709231dfc add dummy notes 2019-01-15 18:15:45 +01:00
Uwe Steinmann
3e12261637 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 13:59:24 +01:00
Uwe Steinmann
1f8f7d350a .htaccess needed for new router code 2019-01-15 13:58:10 +01:00
Uwe Steinmann
7c2c1cecc0 add item for 5.1.10 2019-01-15 13:57:33 +01:00
Uwe Steinmann
efcd6482f9 fix url for out.WorkflowGraph.php 2019-01-15 13:57:18 +01:00
Uwe Steinmann
07c587ec54 new cytoscape version 3.3.2 2019-01-15 13:56:31 +01:00
Uwe Steinmann
770d9223af fix syntax error after merge 2019-01-15 11:54:06 +01:00
Uwe Steinmann
48cf4b2ff3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-01-15 09:13:23 +01:00
Uwe Steinmann
2db6e9f499 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-01-15 08:49:42 +01:00
Uwe Steinmann
57f1157d18 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-01-15 08:49:28 +01:00
Uwe Steinmann
179352a57b nl and cs translation updates 2019-01-15 08:48:53 +01:00
Uwe Steinmann
c139ee4fd1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2019-01-14 17:33:35 +01:00
Uwe Steinmann
e0b273001e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2019-01-14 17:33:22 +01:00
Uwe Steinmann
2a9b5d8b1e update translations 2019-01-14 17:33:03 +01:00
Uwe Steinmann
0e851248f9 addd entry for 5.1.10 2019-01-14 15:49:13 +01:00
Uwe Steinmann
61549c0455 log failed login 2019-01-14 10:11:50 +01:00
Uwe Steinmann
b9269541c9 add missing space in log message when calling add_log_line() with msg 2019-01-14 10:11:21 +01:00
Uwe Steinmann
42ea07527a add entry for 5.1.10, modified login 2019-01-14 09:16:42 +01:00
Uwe Steinmann
b7ffaa878e move most of the login code into a controller 2019-01-11 15:07:20 +01:00
Uwe Steinmann
c3ca1cb1f9 save result of last hook into class variable 2019-01-11 15:07:20 +01:00
Uwe Steinmann
476cac3967 update jqtree, add right click for downloading children 2019-01-11 13:16:08 +01:00
Uwe Steinmann
d522ced2e1 add note for 5.1.10 2019-01-11 09:17:56 +01:00
Uwe Steinmann
8545b89d95 log file pointer can be set by calling a method 2019-01-11 09:17:26 +01:00
Uwe Steinmann
b049537220 add item for 5.1.10 2019-01-09 15:55:11 +01:00
Uwe Steinmann
73e1df3ad8 make it work with slim notfound handler 2019-01-09 09:19:46 +01:00
Uwe Steinmann
1e55b3073c set proper path to page not found page 2019-01-09 09:19:46 +01:00
Uwe Steinmann
ca84e27e47 create slim app and add hook for setting up routes 2019-01-09 09:19:46 +01:00
Uwe Steinmann
6b11e9cb87 support for Slim v3 2019-01-09 09:19:46 +01:00
Uwe Steinmann
2e8e204d13 add items for 5.1.10 2019-01-08 17:21:30 +01:00
Uwe Steinmann
24f0555d92 reindex document also if creation time is equal to content creation time 2019-01-08 16:59:55 +01:00
Uwe Steinmann
b70fd9c81a viewonlinefiletype may also contain mimetypes 2019-01-08 13:13:38 +01:00
Uwe Steinmann
4e87b9612d use new Slim version 2018-12-18 17:57:59 +01:00
Uwe Steinmann
24a6938f51 better handling of settings of extension if it was configured yet 2018-12-18 09:03:57 +01:00
Uwe Steinmann
e252af2df4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-12-18 06:19:18 +01:00
Uwe Steinmann
7b1fc28cf4 pass on type and placeholder of extension config
this will fix password fields in the extension configuration which
were readable
2018-12-13 18:24:34 +01:00
Uwe Steinmann
dead432346 add entry for 5.1.10 2018-12-13 15:46:59 +01:00
Uwe Steinmann
df40691533 add hook startLeftColumn 2018-12-13 15:46:25 +01:00
Uwe Steinmann
8aa750c035 use layout like categories, attributes 2018-12-03 07:40:58 +01:00
Uwe Steinmann
a52a46bf46 remove unneeded code 2018-12-03 07:40:42 +01:00
Uwe Steinmann
79f508b150 update cytoscape 2018-12-03 07:39:51 +01:00
Uwe Steinmann
34e934fb8f use sam layout as for managing categories 2018-11-29 06:27:53 +01:00
Uwe Steinmann
e490c1a0f2 check if loading the settings.xml succeeded 2018-11-27 12:17:51 +01:00
Uwe Steinmann
0f038e2d57 add entry for 5.1.10 2018-11-23 21:39:18 +01:00
Uwe Steinmann
69daeae02b do not include class file more then once if factory is called again 2018-11-23 21:38:23 +01:00
Uwe Steinmann
084878feb3 add entry for 5.1.10 2018-11-23 21:04:17 +01:00
Uwe Steinmann
575355731a no need to include parsedown/Parsedown.php anymore, set flags of htmlspecialchars() 2018-11-23 21:02:33 +01:00
Uwe Steinmann
ee7b09d3fb include autoloader for pkginst 2018-11-23 21:01:55 +01:00
Uwe Steinmann
34985e4a0e start new version 5.1.10 2018-11-23 21:01:31 +01:00
Uwe Steinmann
7060484594 check if next transitions exists 2018-11-23 21:00:01 +01:00
Uwe Steinmann
6ceb14cdfd check for an existing file extension 2018-11-22 08:06:05 +01:00
Uwe Steinmann
ff07a141e8 do not set php vars SMTP, smtp_port, sendmail_from anymore 2018-11-21 08:29:58 +01:00
Uwe Steinmann
b7e1cb869c take out ancient document conversion code 2018-11-21 08:27:59 +01:00
Uwe Steinmann
72b1f5d24c recreate an index if opening it fails 2018-11-21 08:27:40 +01:00
Uwe Steinmann
99d9edfc5a add entries for 5.1.10 2018-11-16 20:29:46 +01:00
Uwe Steinmann
d66a702295 fix various javascript errors 2018-11-16 20:29:31 +01:00
Uwe Steinmann
23bec2fe96 field parentworkflow in tblWorkflowDocumentContent is obsolete 2018-11-16 20:18:52 +01:00
Uwe Steinmann
0f39ccc7c3 fix merge errors 2018-11-16 20:18:27 +01:00
Uwe Steinmann
046d07bbf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-16 19:17:19 +01:00
Uwe Steinmann
70b45bcd24 new field in tblWorkflowDocumentContent must be a primary key 2018-11-16 15:49:32 +01:00
Uwe Steinmann
39a7c26977 place tblWorkflowLog after tblWorkflowDocumentContent 2018-11-16 15:41:26 +01:00
Uwe Steinmann
f9bb845aca get version from inc/inc.Version.php 2018-11-16 12:25:16 +01:00
Uwe Steinmann
f50988af09 add changes for 5.1.10 2018-11-16 12:03:30 +01:00
Uwe Steinmann
43cfc11a04 take out empty javascript tags 2018-11-16 11:42:21 +01:00
Uwe Steinmann
699a4f4bc4 use get instead of post when calling out/out.TriggerWorkflow.php 2018-11-16 11:41:43 +01:00
Uwe Steinmann
de8cc01850 show icons for users and groups, show login and fullname for users 2018-11-16 11:40:58 +01:00
Uwe Steinmann
1cb6a6f9c1 show review tasks 2018-11-16 11:39:05 +01:00
Uwe Steinmann
bf72386b19 show icon for users and groups, show login and fullname for users 2018-11-16 11:38:06 +01:00
Uwe Steinmann
488b274048 add 'worker-src blob:' to csp rule 2018-11-16 11:36:48 +01:00
Uwe Steinmann
e6cc38cb22 set splash messages, inform users only once 2018-11-16 11:35:56 +01:00
Uwe Steinmann
2d8e8a606c pass timeout SeedDMS_Preview_PdfPreviewer 2018-11-16 08:17:12 +01:00
Uwe Steinmann
53a742b082 start new version 5.1.10 2018-11-16 08:16:45 +01:00
Uwe Steinmann
4e0a34966c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-13 08:59:02 +01:00
Uwe Steinmann
3321b097e6 Merge branch 'seeddms-5.1.x' 2018-11-13 08:55:38 +01:00
Uwe Steinmann
2d80dbce13 more info on scripts in utils folder 2018-11-13 08:48:00 +01:00
Uwe Steinmann
1592c794b0 fix line indenting 2018-11-13 08:47:46 +01:00
Uwe Steinmann
e4533f3488 set correct date 2018-11-13 07:31:27 +01:00
Uwe Steinmann
a4ddbd6605 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-12 13:33:56 +01:00
Uwe Steinmann
6c3fb06da3 new items for 5.1.9 2018-11-12 11:49:27 +01:00
Uwe Steinmann
307afbc1ea set messages on successful modification 2018-11-12 11:48:40 +01:00
Uwe Steinmann
bc0a9d87a6 set date field as requested in #334 2018-11-12 11:02:21 +01:00
Uwe Steinmann
91d35cdd59 take out pca 2018-11-12 10:15:53 +01:00
Uwe Steinmann
10fc10eb1c use configured preview commands instead of old defaults 2018-11-12 10:14:51 +01:00
Uwe Steinmann
73bcdde56a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-11-12 08:44:43 +01:00
Uwe Steinmann
aba149dd0c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-11-12 08:44:32 +01:00
Uwe Steinmann
13c450f2a4 update translations 2018-11-12 08:44:13 +01:00
Uwe Steinmann
26011bf47a add many more changes for 5.1.9 2018-11-12 08:14:30 +01:00
Uwe Steinmann
b713a40e1e add checking for float attributes 2018-11-10 18:05:45 +01:00
Uwe Steinmann
92641e9cea fix check for errors 2018-11-09 19:15:27 +01:00
Uwe Steinmann
fc0d7e22e5 get error msg from controller if set 2018-11-09 17:31:53 +01:00
Uwe Steinmann
0173de81cf use 'Send from' settings wheneve it is set, allow to turn on debugging 2018-11-09 17:22:55 +01:00
Uwe Steinmann
0c53fee77d show debug msg when test email is send 2018-11-09 17:22:33 +01:00
Uwe Steinmann
ff2a815b6c show debug msg when test mail is send, use controller for RemoveDocument 2018-11-09 17:21:47 +01:00
Uwe Steinmann
4c3e7acdeb catch error if document cannot be updated (Closes #410) 2018-11-09 17:20:53 +01:00
Uwe Steinmann
0c0ac23576 add hooks folderListPreContent and folderListPostContent 2018-11-08 16:40:42 +01:00
Uwe Steinmann
2f8fd33f8e do not redirect to ForcePassword page if out.Logout.php was opened (Closes #421) 2018-11-08 16:38:32 +01:00
Uwe Steinmann
71e59f1a22 set selection menu for expiration to 'date' if date is entered (Closes #423) 2018-11-07 21:45:48 +01:00
Uwe Steinmann
710fbc9b5a check if the current pwd is the new pw and pwd history is > 0 (Closes #424) 2018-11-07 21:03:30 +01:00
Uwe Steinmann
ee343cb972 urlencode parameters for url of search pages 2018-11-07 20:53:31 +01:00
Uwe Steinmann
9db82f71c2 better error handling if repository doesn't deliver an extension list 2018-11-07 20:52:52 +01:00
Uwe Steinmann
dbce942bb5 fix reading configuration 2018-10-29 10:50:02 +01:00
Uwe Steinmann
b8dfbe4064 add hooks addDocumentPreForm and addDocumentPostForm 2018-10-23 11:20:34 +02:00
Uwe Steinmann
4d10f196e8 make sure dropfolderdir doesn't contain double '/' 2018-10-23 11:19:51 +02:00
Uwe Steinmann
c5778b2d44 take out old code 2018-10-11 12:39:36 +02:00
Uwe Steinmann
025ff6dc2c remove code for converting files in SeedDMS_Core, also remove old js files 2018-10-11 12:32:39 +02:00
Uwe Steinmann
75c2953f90 remove old directory with images 2018-10-11 11:31:09 +02:00
Uwe Steinmann
e465502811 pass $user to ErrorDlg view 2018-10-11 11:30:15 +02:00
Uwe Steinmann
950de8e293 do not take images from out/images anymore
use views/bootstrap/images instead
2018-10-11 10:51:04 +02:00
Uwe Steinmann
4038503fe2 remove old jump loader code 2018-10-11 09:44:09 +02:00
Uwe Steinmann
56f05a8893 add entry for 5.1.9 2018-10-09 06:51:19 +02:00
Uwe Steinmann
97ec803da2 fix checking of passwords (Closes: #420) 2018-10-09 06:49:16 +02:00
Uwe Steinmann
53548a3729 add note for ticket #419 2018-10-02 22:27:55 +02:00
Uwe Steinmann
1375b4bf42 add hook for sending mail (Closes #419) 2018-10-02 22:27:07 +02:00
Uwe Steinmann
2455dd916c add note for fixed bug #414 2018-10-02 19:20:23 +02:00
Uwe Steinmann
542ca945f1 users which are subscribers already cannot be selected anymore (Closes #414)
use also the same layout in class.DocumentNotify.php and
class.FolderNotify.php
2018-10-02 19:19:05 +02:00
Uwe Steinmann
9daf6cb2c5 add not for closing #415 2018-10-02 18:19:13 +02:00
Uwe Steinmann
166168e769 make sure list of notified users is unique (Closes #415) 2018-10-02 18:18:24 +02:00
Uwe Steinmann
7baf46a067 add notes about fixed bugs 2018-10-02 16:07:08 +02:00
Uwe Steinmann
fc030cd4e2 inform the subscribers of parent folder if a folder is deleted.
Till now, this only happend when document was deleted
2018-09-29 16:10:20 +02:00
Uwe Steinmann
39d7ed97b1 pass settings to EmailNotify service, closes #417 2018-09-29 16:01:34 +02:00
Uwe Steinmann
268f1ef0aa make getFileName() public 2018-09-29 15:59:58 +02:00
Uwe Steinmann
d74186cb6d add entry for 5.1.9 2018-09-25 11:53:57 +02:00
Uwe Steinmann
46f9d099a4 set creation date of document version from imported file 2018-09-25 08:54:25 +02:00
Uwe Steinmann
6f7b3b68e5 fix #413 2018-09-25 08:54:07 +02:00
Uwe Steinmann
3f41c99f3a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-09-18 18:57:12 +02:00
Uwe Steinmann
ee7291f431 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-09-18 18:56:58 +02:00
Uwe Steinmann
a1aeffc546 add missing key 2018-09-18 18:56:43 +02:00
Uwe Steinmann
146dc226bf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-09-18 18:40:47 +02:00
Uwe Steinmann
014e4b19c5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-09-18 18:40:36 +02:00
Uwe Steinmann
65fb893812 lots of new translations 2018-09-18 18:40:18 +02:00
Uwe Steinmann
0f6d893c49 filemtime can be taken over when importing from filesystem 2018-09-18 18:31:15 +02:00
Uwe Steinmann
b82211a941 pass folder to view if set in url 2018-09-17 13:47:53 +02:00
Uwe Steinmann
482bf93cc0 set date of folder 2018-09-17 13:47:40 +02:00
Uwe Steinmann
621846c86d place js for file chooser in js file for page 2018-09-05 13:35:44 +02:00
Uwe Steinmann
cefb89a8c2 move js for btn-file into php function
the new function printFileChooserJs() must be called in the js method
on every page where a file upload button is used
2018-09-05 13:34:30 +02:00
Uwe Steinmann
d519990d5e do not set default theme for user anymore, redirect to login page
if the user didn't have a theme set, it used to be set by the default
theme. This has been turned off.
2018-09-05 07:15:12 +02:00
Uwe Steinmann
5ddb14a499 show msg if passed to view 2018-09-05 07:09:26 +02:00
Uwe Steinmann
fc019c553b pass msg in url to view 2018-09-05 07:08:07 +02:00
Uwe Steinmann
54aa90edda add selection for folders in extension settings 2018-08-27 08:22:39 +02:00
Uwe Steinmann
327250eb31 init array for mandatory reviewers/approvers 2018-08-20 18:12:19 +02:00
Uwe Steinmann
164bec246b fix typo in comment 2018-08-20 17:13:57 +02:00
Uwe Steinmann
b99795da12 add log line before calling controller
that allows to redirect in the controller, with skipping the logging
2018-08-17 14:40:10 +02:00
Uwe Steinmann
5a112edfce fix typo3 2018-08-14 06:14:44 +02:00
Uwe Steinmann
93b8ee1750 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-08-08 07:28:22 +02:00
Uwe Steinmann
2e5bc64fff add changes for 5.1.9 2018-08-08 06:58:28 +02:00
Uwe Steinmann
cce2406f82 pass additional parameter to hook documentListItem
This is the 3rd parameter and $context moves to the 4th position
2018-08-08 06:55:56 +02:00
Uwe Steinmann
9e076ffcf9 check if 'link' and 'attributes' are set in menuitem before using them 2018-08-08 06:54:59 +02:00
Uwe Steinmann
76720ccabf set $sitename earlier in htmlStartPage()
because the the opensearchengine meta tag needs it
2018-08-08 06:51:27 +02:00
Uwe Steinmann
857b075388 make buttons smaller 2018-08-08 06:50:21 +02:00
Uwe Steinmann
d72d92d487 add note for 5.1.9 2018-08-07 11:11:59 +02:00
Uwe Steinmann
148f37a54c new optional parameter for getReadAccessList()
if set guest will be returned as well
2018-08-07 11:10:46 +02:00
Uwe Steinmann
86f73947b0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-07-20 07:32:58 +02:00
Uwe Steinmann
54fd9698ca Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-07-20 07:32:08 +02:00
Uwe Steinmann
a6c0261120 minor translation updates 2018-07-20 07:31:17 +02:00
Uwe Steinmann
38c9ddd1ea start new version 4.3.38 2018-07-20 07:30:05 +02:00
Uwe Steinmann
b578118bee set email field instead of fullname in setEmail() 2018-07-20 07:28:08 +02:00
Uwe Steinmann
df617908db minor cleanup 2018-07-17 11:54:09 +02:00
Uwe Steinmann
3fe2e99bb5 describe more options to install seeddms 2018-07-17 11:53:29 +02:00
Uwe Steinmann
84e87715da add open search description 2018-07-13 15:25:33 +02:00
Uwe Steinmann
6553f7a379 call hook showVersionComment() for previous versions, check if comment is set at all 2018-07-13 12:27:30 +02:00
Uwe Steinmann
7ec84597eb update 2018-07-13 11:09:08 +02:00
Uwe Steinmann
4081173442 place in two columns and color table rows 2018-07-13 11:07:05 +02:00
Uwe Steinmann
3958714bff Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-13 11:01:36 +02:00
Uwe Steinmann
d4392c8e59 use documentListRow(), set bg color of each row depending of status 2018-07-13 08:49:10 +02:00
Uwe Steinmann
206c266181 changes for 5.1.9 2018-07-13 08:10:53 +02:00
Uwe Steinmann
7f1fb811de output text for approval status not overall status 2018-07-13 08:09:25 +02:00
Uwe Steinmann
3cab68883f output text for review status not overall status 2018-07-13 08:08:53 +02:00
Uwe Steinmann
8416bb7375 add notes for 5.1.9 2018-07-12 22:38:09 +02:00
Uwe Steinmann
45615be207 pass context to getAccessMode() 2018-07-12 22:36:44 +02:00
Uwe Steinmann
951ca85e96 call hook onCheckAccessFolder and pass $context 2018-07-12 22:01:40 +02:00
Uwe Steinmann
abdbaf5de0 pass context in getAccessMode() to onCheckAccessDocument hook 2018-07-12 22:01:04 +02:00
Uwe Steinmann
34255ecded add callback onCheckAccessDocument(), reload workflow 2018-07-12 21:10:16 +02:00
Uwe Steinmann
620dfa6a29 make executable 2018-07-12 20:50:26 +02:00
Uwe Steinmann
31e1e48dea list frequency and all parameters of task 2018-07-12 13:56:22 +02:00
Uwe Steinmann
aa7daffe46 fix translation for button 2018-07-12 13:56:00 +02:00
Uwe Steinmann
ded0c29b24 add documentation, get parameter in execute() 2018-07-12 13:55:36 +02:00
Uwe Steinmann
5df058415d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-11 20:41:22 +02:00
Uwe Steinmann
4c6f40c29c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-07-10 15:54:04 +02:00
Uwe Steinmann
5bfbd49884 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-07-10 15:53:51 +02:00
Uwe Steinmann
621802ad22 various greek anѕ spanish translations 2018-07-10 15:53:25 +02:00
Uwe Steinmann
8030146f71 add laotian 2018-07-10 15:44:49 +02:00
Uwe Steinmann
2b8c42a798 new version 5.1.9 2018-07-10 15:43:42 +02:00
Uwe Steinmann
3f8698b58f add hook 'clipboardMenuItems'
can be used to extend the clipboard menu in the top navigation
2018-07-10 15:43:05 +02:00
Uwe Steinmann
9726e1c7fe output js for loading additional table rows only if maxItemsPerPage > 0 2018-07-04 15:49:07 +02:00
Uwe Steinmann
89aae7ed55 check if extension from list isn't empty 2018-07-04 15:47:13 +02:00
Uwe Steinmann
dc2cadc6d8 Merge branch 'seeddms-5.1.x' 2018-07-03 11:42:39 +02:00
Uwe Steinmann
ec80f5aa0e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-07-03 10:54:26 +02:00
Uwe Steinmann
9d1a17fe87 start new version 5.1.9 2018-07-03 06:45:20 +02:00
Uwe Steinmann
de10b35f3d add CVE numbers 2018-07-02 12:42:09 +02:00
Uwe Steinmann
36b0671182 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-06-28 14:10:58 +02:00
Uwe Steinmann
ffcb622199 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-06-28 14:10:44 +02:00
Uwe Steinmann
844dbb73b7 various translation updates 2018-06-28 14:10:15 +02:00
Uwe Steinmann
447588979e add notes about fixed vulnerabilities in 5.1.18 2018-06-28 12:38:57 +02:00
Uwe Steinmann
0926009d3f remove width of columns in approvers/reviewers table 2018-06-27 22:14:34 +02:00
Uwe Steinmann
30ee7e52e1 place form and list next to each other 2018-06-27 22:14:10 +02:00
Uwe Steinmann
9333d9ebf6 place mandatory reviewers/approvers right below input field 2018-06-27 22:13:38 +02:00
Uwe Steinmann
3e7fa6e1c1 add note for 5.1.8 2018-06-27 21:00:15 +02:00
Uwe Steinmann
3eebc6bc28 run passed parameter 'action' through htmlspecialchars() before output 2018-06-27 18:56:01 +02:00
Uwe Steinmann
92c0c4c611 place reviewers and approvers side by side
this is much better serialized on small displays
2018-06-27 18:55:14 +02:00
Uwe Steinmann
f639e31313 add class=form-horizontal to form 2018-06-27 18:54:46 +02:00
Uwe Steinmann
0be0ffdbe5 make sure cache dir is a directory before running exec command 2018-06-27 18:54:08 +02:00
Uwe Steinmann
384d1f58b5 remove all chars not in [0-9a-f-] from post var qquuid 2018-06-27 18:53:13 +02:00
Uwe Steinmann
952a1ad1fa turn some passed vars into integer if they are expected
some where used in an sql statement and could be used for sql injection
2018-06-27 18:51:59 +02:00
Uwe Steinmann
e3adcc2099 file not used anymore 2018-06-27 18:11:09 +02:00
Uwe Steinmann
a803adedd3 call getFileChooser() instead of printFileChooser() 2018-06-26 07:24:18 +02:00
Uwe Steinmann
68c64df436 drop table layout 2018-06-26 07:23:51 +02:00
Uwe Steinmann
85e3a12e27 call getFileChooser() instead of printFileChooser() 2018-06-26 07:23:13 +02:00
Uwe Steinmann
6b7994363e various corrections 2018-06-26 07:02:12 +02:00
Uwe Steinmann
613bf9387c use formField() instead of table layout 2018-06-26 06:52:16 +02:00
Uwe Steinmann
643e948440 add field_wrap to formField(), separate some methods in get and print 2018-06-26 06:51:04 +02:00
Uwe Steinmann
72cf353e11 remove class for inline form 2018-06-22 16:54:49 +02:00
Uwe Steinmann
080ef272b1 use data attribute instead of deselect class for select boxes 2018-06-22 16:38:52 +02:00
Uwe Steinmann
60035385e2 update select2 to new version 4.0.6-rc1 2018-06-22 14:46:13 +02:00
Uwe Steinmann
fd06a08807 separate page content in 3 columns 2018-06-22 13:40:09 +02:00
Uwe Steinmann
c7a02f2ff1 remove table from access list 2018-06-22 10:20:17 +02:00
Uwe Steinmann
2c101da222 use date chooser 2018-06-21 18:24:51 +02:00
Uwe Steinmann
09f35e33e6 replace old table layout with form-controls 2018-06-21 17:56:22 +02:00
Uwe Steinmann
60a71e2397 run passStrength after loading page with ajax 2018-06-21 17:55:51 +02:00
Uwe Steinmann
4209b1033a call ob_get_clean() before outputing image 2018-06-21 14:17:03 +02:00
Uwe Steinmann
3166cf9a56 set correct header for mimetype 2018-06-21 13:52:37 +02:00
Uwe Steinmann
1fa1644fce use formField() instead of plain html 2018-06-21 11:56:05 +02:00
Uwe Steinmann
639b11b52b more use of formField() instead of plain html 2018-06-21 11:30:58 +02:00
Uwe Steinmann
b949a50dad use warningMsg() instead of plain html code 2018-06-21 09:35:45 +02:00
Uwe Steinmann
655e83b0c1 pass $settings->_sortUsersInList to view 2018-06-21 09:29:28 +02:00
Uwe Steinmann
ba0181e2a1 new method getDropFolderChooserHtml() 2018-06-21 09:29:02 +02:00
Uwe Steinmann
e37e21214a replace table layout with form controlls 2018-06-21 09:28:31 +02:00
Uwe Steinmann
535a91db7e getNotifyList() can also return disable user 2018-06-20 20:41:16 +02:00
Uwe Steinmann
2d27a491c3 use formField() 2018-06-20 20:40:47 +02:00
Uwe Steinmann
0a841b22aa use post, use formField() for form fieldѕ 2018-06-20 20:40:13 +02:00
Uwe Steinmann
798ef49f23 fix output of attributes in formField() 2018-06-20 20:39:28 +02:00
Uwe Steinmann
3b8616711b use formField() for form entries 2018-06-20 20:38:57 +02:00
Uwe Steinmann
e8c1c71018 init $oldattributes with empty array 2018-06-20 20:38:23 +02:00
Uwe Steinmann
8a4450295a new bootstrap datepicker version with support for more languages 2018-06-19 09:13:25 +02:00
Uwe Steinmann
a133226bbe output additional attributes in formField() 2018-06-19 08:03:46 +02:00
Uwe Steinmann
2fd21064c7 use method formField() for user/group selection menu 2018-06-18 17:29:00 +02:00
Uwe Steinmann
377117e9d0 more option for formField() 2018-06-18 17:28:36 +02:00
Uwe Steinmann
95a021386f add entry for fixed information leak in calendar 2018-06-14 17:17:36 +02:00
Uwe Steinmann
e1390d7178 check if document is accessible before listing it in the calendar 2018-06-14 17:17:06 +02:00
Uwe Steinmann
00bbda39bb pass form field by array to formField() 2018-06-07 07:46:19 +02:00
Uwe Steinmann
7c4538193a pass array of params to formField instead of string 2018-05-29 18:20:17 +02:00
Uwe Steinmann
1e40adfd30 formField() can also take an array instead of a string 2018-05-29 18:19:48 +02:00
Uwe Steinmann
9902445ff1 copy inc/inc.ClassExtensionMgr.php into repository dist 2018-05-23 20:34:37 +02:00
Uwe Steinmann
382baf152d add entry from 5.1.8 2018-05-04 14:52:26 +02:00
Uwe Steinmann
49816441cb set maxuploadsize which is needed if the fine-uploader is used 2018-05-04 14:51:32 +02:00
Uwe Steinmann
d87981a204 more preparations for update to bootstrap 4
use functions instead of plain html in views
2018-04-26 08:50:44 +02:00
Uwe Steinmann
7fd33d07d0 call hook in all page navigations, allow dropdown menus in page navigation 2018-04-26 08:49:10 +02:00
Uwe Steinmann
c73df137a6 remove old code 2018-04-24 18:13:55 +02:00
Uwe Steinmann
2d91b550fb use functions to output buttons and rows
this will ease the transition to bootstrap 4
2018-04-24 18:02:57 +02:00
Uwe Steinmann
c9cf0139ee Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-23 15:59:55 +02:00
Uwe Steinmann
f7310b2b5f use method formField() instead of html 2018-04-23 15:50:46 +02:00
Uwe Steinmann
da3e359cd2 set showtree for view 2018-04-23 15:27:42 +02:00
Uwe Steinmann
da2696869b do not pass $user to controllor factory 2018-04-23 15:27:23 +02:00
Uwe Steinmann
1c24059fe9 show section for extension only if extension has configuration 2018-04-19 19:48:20 +02:00
Uwe Steinmann
7005305a08 fix typo in variable 2018-04-19 19:47:20 +02:00
Uwe Steinmann
97d0eb7b06 return return value of service function 2018-04-19 19:46:54 +02:00
Uwe Steinmann
2fbccd52fb return false instead of -1 2018-04-19 19:46:25 +02:00
Uwe Steinmann
d8a5755229 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-19 17:44:00 +02:00
Uwe Steinmann
4f83521839 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-04-19 17:43:49 +02:00
Uwe Steinmann
12c0d4f1d3 some new phrases 2018-04-19 17:43:31 +02:00
Uwe Steinmann
5c2e3edee7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-19 13:54:04 +02:00
Uwe Steinmann
0f6da660e6 replace more output with methods() 2018-04-19 13:42:20 +02:00
Uwe Steinmann
9db601e610 add methods arrayToString() and stringToArray() 2018-04-19 13:41:50 +02:00
Uwe Steinmann
dc35f2d9dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-17 21:04:06 +02:00
Uwe Steinmann
be2eb700c8 readd smtp send mail button 2018-04-17 21:03:39 +02:00
Uwe Steinmann
af004146e9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-17 21:02:49 +02:00
Uwe Steinmann
e7fe899ebf use function to output a config line 2018-04-17 18:34:30 +02:00
Uwe Steinmann
0398229bca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-13 19:15:20 +02:00
Uwe Steinmann
cd46057356 add entry for 5.1.8 2018-04-13 14:53:47 +02:00
Uwe Steinmann
23d2f53480 call new hook extraTabs 2018-04-13 14:53:06 +02:00
Uwe Steinmann
0ce5143532 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-12 17:20:18 +02:00
Uwe Steinmann
c225350fa7 add methods majorVersion(), minorVersion() and subminorVersion() 2018-04-12 17:18:18 +02:00
Uwe Steinmann
18bd1fdf55 sync with package file from 5.1.7 2018-04-12 16:02:40 +02:00
Uwe Steinmann
0199019ee6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-12 15:57:21 +02:00
Uwe Steinmann
fdd2e3ab37 changes for 5.1.8 2018-04-12 12:34:48 +02:00
Uwe Steinmann
a074aa6606 check if search() returns false 2018-04-12 12:33:46 +02:00
Uwe Steinmann
8f62039994 do not use views 2018-04-12 12:33:06 +02:00
Uwe Steinmann
70015878d0 search() returns false in case of an error 2018-04-12 12:32:32 +02:00
Uwe Steinmann
453dfcd71e check for _enableWebdavReplaceDoc in settings 2018-04-12 11:32:10 +02:00
Uwe Steinmann
1bd5c9e3e4 fix typos, add info about davfs2 2018-04-12 11:30:57 +02:00
Uwe Steinmann
0b4b3fb9d9 check if xml node in configuration exists before accessing it 2018-04-12 06:46:35 +02:00
Uwe Steinmann
dfe2e3f167 add new option for configuring replacement of documents in webdav 2018-04-12 06:41:51 +02:00
Uwe Steinmann
d8daa1dd3d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-11 17:36:43 +02:00
Uwe Steinmann
e98dc5e4f2 removeFromIndex() returns null, otherwise the removeFolder is canceled 2018-04-11 17:35:59 +02:00
Uwe Steinmann
e060116c0c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-11 16:37:34 +02:00
Uwe Steinmann
6fc3418363 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-04-11 16:37:25 +02:00
Uwe Steinmann
f2694d67df various updates 2018-04-11 16:37:08 +02:00
Uwe Steinmann
5571fc4385 add note when document content was not indexed 2018-04-11 16:35:26 +02:00
Uwe Steinmann
3bc9e9c5ce Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-11 15:32:47 +02:00
Uwe Steinmann
9fb899a61a better error reporting when indexing fails 2018-04-11 15:32:35 +02:00
Uwe Steinmann
0d3596d237 better error reporting when indexing fails 2018-04-11 15:31:35 +02:00
Uwe Steinmann
5064c24388 show noty message longer in case of an error 2018-04-11 10:20:27 +02:00
Uwe Steinmann
e592d0e3d0 remove list of documents 2018-04-11 09:44:45 +02:00
Uwe Steinmann
2cc48d491e fix output of review/approval log if updating user doesn't exist anymore 2018-04-11 08:39:01 +02:00
Uwe Steinmann
162353b5e0 increase timeout of noty error 2018-04-10 19:13:57 +02:00
Uwe Steinmann
295a6d0fe7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-06 16:38:09 +02:00
Uwe Steinmann
ea99276a9c 2FA will come in 6.0.x 2018-04-06 16:36:09 +02:00
Uwe Steinmann
bfc59dc90c use ErrorDlg view for error messages
this will also fix the js errors when the error page was shown
2018-04-06 16:34:01 +02:00
Uwe Steinmann
d97ef62ff1 make user action is set in exitError() 2018-04-06 09:45:08 +02:00
Uwe Steinmann
9ea9289fdf fix editing of document attachments 2018-04-06 09:32:16 +02:00
Uwe Steinmann
ba98736dfb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-06 09:29:09 +02:00
Uwe Steinmann
305a980e44 ??? 2018-04-06 09:27:58 +02:00
Uwe Steinmann
fd34d87595 add entry for 5.1.8 2018-04-06 09:10:11 +02:00
Uwe Steinmann
00dd7ee2df Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-06 08:33:26 +02:00
Uwe Steinmann
97d08ef1b4 call parent class in class.Bootstrap.php, move imgpath in parent 2018-04-06 08:31:11 +02:00
Uwe Steinmann
2e647fb4ec fix update of tblWorkflowLog
foreign key must be removed before droping field
2018-04-06 08:13:06 +02:00
Uwe Steinmann
801bda3560 fix typo 2018-04-06 06:40:29 +02:00
Uwe Steinmann
659a62e133 Merge branch 'seeddms-6.0.x-workflow' into seeddms-6.0.x 2018-04-06 06:39:29 +02:00
Uwe Steinmann
0cdba79f59 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-05 17:30:41 +02:00
Uwe Steinmann
2413da8c0b start new version 5.1.8 2018-04-05 17:28:00 +02:00
Uwe Steinmann
dbb8554f46 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-05 16:30:25 +02:00
Uwe Steinmann
798a4b99b3 new version 5.1.7 2018-04-05 16:30:06 +02:00
Uwe Steinmann
294b93fdf6 add entry for 5.1.7 2018-04-05 16:22:29 +02:00
Uwe Steinmann
4007692a68 add entry for 5.0.14 2018-04-05 16:11:47 +02:00
Uwe Steinmann
f1fb23c7e7 fix sql statement to retrieve workflow log 2018-04-05 12:21:09 +02:00
Uwe Steinmann
8ea8c0086e set references to right table name
a reference to a temp. table will not be changed when the table name
is changed. Hence, use the right table name from the beginning and
make sure foreign keys are not checked
2018-04-05 12:04:37 +02:00
Uwe Steinmann
63a1ae0c13 add sql statements for workflow 2018-04-05 12:04:37 +02:00
Uwe Steinmann
7c9f5d3819 some infos about the update 2018-04-05 12:04:37 +02:00
Uwe Steinmann
e5376d144d add changelog for 6.0.6 2018-04-05 12:04:37 +02:00
Uwe Steinmann
90762b9e13 drop tables after commit 2018-04-05 12:04:37 +02:00
Uwe Steinmann
54ce5a7e16 adding sql statements for updating to new workflow layout 2018-04-05 12:04:37 +02:00
Uwe Steinmann
5882fc10a9 major change of workflow/document management 2018-04-05 12:04:37 +02:00
Uwe Steinmann
3379a2510c take out reconnect code
not needed anymore
2018-04-05 12:04:07 +02:00
Uwe Steinmann
9ba070da7c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-05 12:02:20 +02:00
Uwe Steinmann
887bcba49d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-05 12:02:07 +02:00
Uwe Steinmann
bde55c9875 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-04-05 12:01:54 +02:00
Uwe Steinmann
314baace12 add some missing phrases 2018-04-05 12:01:34 +02:00
Uwe Steinmann
a3705fb9db add entry to 4.3.37 2018-04-05 12:00:17 +02:00
Uwe Steinmann
1652d9a237 fetch all records from tblVersion
if not, the database will be locked when e.g. droping a table
2018-04-05 11:58:25 +02:00
Uwe Steinmann
d47f4c5ca9 reopen database after COMMIT 2018-04-05 11:24:23 +02:00
Uwe Steinmann
276245a395 do not show table of scheduler classes if none exists 2018-04-05 08:54:55 +02:00
Uwe Steinmann
718ac96777 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-05 08:24:30 +02:00
Uwe Steinmann
d7bcf3fcfd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-05 08:24:18 +02:00
Uwe Steinmann
9089a578ed Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-04-05 08:24:08 +02:00
Uwe Steinmann
88e4c0f3b9 new phrase for scheduler, some updates to taiwan 2018-04-05 08:22:12 +02:00
Uwe Steinmann
a54f6f416b minor fixes in translation phrases 2018-04-05 08:16:28 +02:00
Uwe Steinmann
1ba06eeb27 new icon for timeline 2018-04-05 07:48:22 +02:00
Uwe Steinmann
21b703725b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-05 07:44:41 +02:00
Uwe Steinmann
95b2b419c5 add entry for 5.1.7 2018-04-05 07:42:47 +02:00
Uwe Steinmann
d5c142aebb update font-awesome to 3.2.1 2018-04-05 07:41:52 +02:00
Uwe Steinmann
f9a00de8ee add SchedulerTaskMgr to list 2018-04-05 07:39:27 +02:00
Uwe Steinmann
c9d0ac3e73 better error handling for extension list from repository 2018-04-05 07:27:30 +02:00
Uwe Steinmann
867a5b8d7c add entries for 6.0.6 2018-04-04 21:49:48 +02:00
Uwe Steinmann
ed48285da5 pass extension config to init() of extension 2018-04-04 21:48:25 +02:00
Uwe Steinmann
2b62fbcc1b set styles for div.popupbox dt and div.popupbox dd 2018-04-04 21:47:56 +02:00
Uwe Steinmann
86e7b0a13f add hook showVersionComment 2018-04-04 21:47:40 +02:00
Uwe Steinmann
6fb4b9b545 switch list AppRevOwner and DraftOwner 2018-04-04 21:47:14 +02:00
Uwe Steinmann
7dc6cba8f2 make printPopupBox() public 2018-04-04 21:46:45 +02:00
Uwe Steinmann
e610d4d855 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-04 17:48:14 +02:00
Uwe Steinmann
e728fcca84 set default for $defaulttext of printMLText() to null 2018-04-04 17:47:32 +02:00
Uwe Steinmann
eadce9145d do now allow to set disabled users as owner 2018-04-04 17:46:44 +02:00
Uwe Steinmann
9711cee70a add example for scheduler 2018-04-04 15:31:57 +02:00
Uwe Steinmann
9ae591bae7 add scheduler 2018-04-04 15:31:43 +02:00
Uwe Steinmann
52f58727ca add sql statements for scheduler 2018-04-04 15:29:32 +02:00
Uwe Steinmann
3927d4d812 fix translation text when list is empty 2018-04-03 14:43:49 +02:00
Uwe Steinmann
8d0e7e2b42 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-03 14:34:16 +02:00
Uwe Steinmann
3c7caa4bd9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-04-03 14:34:04 +02:00
Uwe Steinmann
12dd7a1652 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-04-03 14:33:54 +02:00
Uwe Steinmann
9627e319a8 various minor updates 2018-04-03 14:33:29 +02:00
Uwe Steinmann
57dc5fa31a do not set the uploader of a document to the owner
use the currently logged in user instead
2018-04-03 11:27:12 +02:00
Uwe Steinmann
8ecc721f3c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-03 11:00:08 +02:00
Uwe Steinmann
c539693288 fix name for log files 2018-04-03 10:57:29 +02:00
Uwe Steinmann
fd5920fc8d take enable[Revision|Receipt]Workflow into account 2018-04-03 09:32:36 +02:00
Uwe Steinmann
28e65a1520 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-04-03 06:17:42 +02:00
Uwe Steinmann
156dfe9b0b Merge branch 'seeddms-5.1.x' of ssh://git.code.sf.net/p/seeddms/code into seeddms-5.1.x 2018-04-02 22:47:59 +02:00
Uwe Steinmann
ab3fc8ec7c do not pass status to revision entry 2018-04-02 19:47:52 +02:00
efinal
311f068a77 change to use utf8_basename, see https://sourceforge.net/p/seeddms/discussion/general/thread/b3b3b320/ for detail 2018-04-01 21:18:09 +08:00
efinal
8a0d9b2481 change to use utf8_basename, see https://sourceforge.net/p/seeddms/discussion/general/thread/b3b3b320/ for detail 2018-04-01 17:11:04 +08:00
Uwe Steinmann
20a798d9f1 add some mor documentation 2018-03-31 14:40:05 +02:00
Uwe Steinmann
5c48206311 use utf8_basename() instead of php basename() 2018-03-31 14:38:27 +02:00
Uwe Steinmann
c2ecc4adbb check_controller_access() returns true if !guest and adv access controll is off 2018-03-31 14:28:57 +02:00
Uwe Steinmann
666ced5fea usage of sendfile can be configured 2018-03-29 17:15:17 +02:00
Uwe Steinmann
28c2323744 add workflow to list of tasks in menu 2018-03-29 16:45:39 +02:00
Uwe Steinmann
c0c9f755a8 countTasks takes workflow mode and tasksinmenu into account 2018-03-29 16:30:46 +02:00
Uwe Steinmann
2259acc3f2 add counting documents in workflow and need correction in countTasks() 2018-03-29 16:30:02 +02:00
Uwe Steinmann
05626a4759 use GET instead of POST 2018-03-29 15:39:39 +02:00
Uwe Steinmann
d1ee800423 remove formtoken from link to javascript files 2018-03-29 15:39:10 +02:00
Uwe Steinmann
8447c87ab0 remove empty script tag 2018-03-29 15:16:39 +02:00
Uwe Steinmann
d7e22068af add item for 6.0.6 2018-03-29 15:12:52 +02:00
Uwe Steinmann
3976657a66 remove unneeded code, check if reception of document is allowed 2018-03-29 15:10:18 +02:00
Uwe Steinmann
bf1473fbb1 fix various errors when intializing the view 2018-03-28 17:06:49 +02:00
Uwe Steinmann
9f211d1fda init $positions early 2018-03-28 17:06:25 +02:00
Uwe Steinmann
3e2931068e allow CSP worker-src blob: 2018-03-28 17:06:10 +02:00
Uwe Steinmann
820b88c9cf revision and receipt is also availabe in advanced workflow mode 2018-03-27 18:23:00 +02:00
Uwe Steinmann
c0215ffef3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-27 18:07:08 +02:00
Uwe Steinmann
d017726984 count workflows to trigger if workflowmode='advanced' 2018-03-27 17:47:58 +02:00
Uwe Steinmann
f6a506ff92 new method getRepositoryUrl() 2018-03-27 14:05:22 +02:00
Uwe Steinmann
7be573cac9 format error message 2018-03-27 14:05:04 +02:00
Uwe Steinmann
ad5c4fc332 check if repository url is set 2018-03-27 14:04:45 +02:00
Uwe Steinmann
1a8a0c3621 add item for 6.0.6 2018-03-27 13:46:03 +02:00
Uwe Steinmann
ab3475f512 do not set user for controller, because it is not set at that time 2018-03-27 13:44:48 +02:00
Uwe Steinmann
aa416f90ec do not enforce 2facto auth for guest and when secret is set 2018-03-27 13:43:56 +02:00
Uwe Steinmann
a9224b0070 fix some typos 2018-03-26 14:08:12 +02:00
Uwe Steinmann
5506c0ed69 add entry for 6.0.6 2018-03-26 13:22:39 +02:00
Uwe Steinmann
4a76a144ee Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-26 13:21:48 +02:00
Uwe Steinmann
f594d1ef62 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-26 13:21:35 +02:00
Uwe Steinmann
4e695f6949 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-26 13:21:22 +02:00
Uwe Steinmann
e913a657af various new phrases 2018-03-26 13:21:06 +02:00
Uwe Steinmann
d40dc681dc add list of documents which need correction in menu 2018-03-26 13:09:36 +02:00
Uwe Steinmann
3514b0db89 check if $_POST["tasksInMenu"] is set 2018-03-26 13:09:13 +02:00
Uwe Steinmann
0c0472ae3c minor adoption because directory ext has to stay in www directory 2018-03-26 12:46:50 +02:00
Uwe Steinmann
c739d37bf5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-26 10:19:54 +02:00
Uwe Steinmann
d9c4964e0d add SeedDMS_AccessOperation() after $document is set 2018-03-26 10:18:37 +02:00
Uwe Steinmann
91468235a5 add entry for 5.1.7 2018-03-26 10:17:11 +02:00
Uwe Steinmann
c3e5909411 add item for 6.0.6 2018-03-26 10:16:07 +02:00
Uwe Steinmann
c4113c1abb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-26 10:14:55 +02:00
Uwe Steinmann
b65badac62 do not show task menu if there are no tasks 2018-03-26 10:14:07 +02:00
Uwe Steinmann
5995286c17 run js checkTasks() only if tasks in menu are turned on 2018-03-26 10:05:14 +02:00
Uwe Steinmann
90bf0f13f4 show counter for tasks only for selected tasks in configuration 2018-03-26 10:04:05 +02:00
Uwe Steinmann
db66dff191 reorder lists of documents 2018-03-26 10:02:58 +02:00
Uwe Steinmann
fb9d04a3a9 pass _tasksInMenu to view 2018-03-26 10:00:53 +02:00
Uwe Steinmann
939cbd7a56 make counted task in menu selectable 2018-03-26 10:00:20 +02:00
Uwe Steinmann
8d7e6715fa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-23 19:30:59 +01:00
Uwe Steinmann
3c411102d0 add entry for 5.1.6 2018-03-23 17:52:44 +01:00
Uwe Steinmann
06efeae431 do not remove user when transfering objects 2018-03-23 17:52:07 +01:00
Uwe Steinmann
59d56ea498 add target to create repository 2018-03-23 17:45:32 +01:00
Uwe Steinmann
40ec1447d5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-23 10:16:44 +01:00
Uwe Steinmann
48f2730332 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-23 10:12:56 +01:00
Uwe Steinmann
c222edc857 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-23 10:12:43 +01:00
Uwe Steinmann
15ef8c821a new phrases, more french translations 2018-03-23 10:12:20 +01:00
Uwe Steinmann
752d3f4fdd place version info and changelog into modal boxes 2018-03-23 10:10:26 +01:00
Uwe Steinmann
89e04299d0 pass extension name to view 2018-03-23 10:10:12 +01:00
Uwe Steinmann
5d2a3d9aba add css for wider modal box 2018-03-23 10:09:53 +01:00
Uwe Steinmann
0a6e04b644 add method getExtensionListByName(), some more documentation 2018-03-23 10:09:27 +01:00
Uwe Steinmann
e13cd0fb49 add missing space 2018-03-22 15:15:13 +01:00
Uwe Steinmann
0e64f8a7fc do not log DEBUG by default 2018-03-22 15:13:09 +01:00
Uwe Steinmann
75a6eafef4 better error logging 2018-03-22 15:12:53 +01:00
Uwe Steinmann
b1bf70e828 add more error msgs 2018-03-22 15:12:24 +01:00
Uwe Steinmann
e9d93860b9 json decoding is now done in SeedDMS_ExtensionMgr, show images in repository list 2018-03-22 08:43:41 +01:00
Uwe Steinmann
0ad2303511 fix typo in function name 2018-03-22 08:43:21 +01:00
Uwe Steinmann
d54ec75def getExtensionList() new returns only the latest version and php arrays 2018-03-22 08:42:41 +01:00
Uwe Steinmann
ba13d0eba2 fix typo in function name 2018-03-22 06:30:15 +01:00
Uwe Steinmann
095e471f8b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-21 15:30:32 +01:00
Uwe Steinmann
4a83c561f1 check if $EXT_CONF is set 2018-03-21 15:25:03 +01:00
Uwe Steinmann
cc12a00db9 replace hard coded repository url 2018-03-21 15:24:45 +01:00
Uwe Steinmann
0ad32b5517 add icon to update button 2018-03-21 15:24:25 +01:00
Uwe Steinmann
e576e61166 set version to 1.0.1 2018-03-21 14:26:19 +01:00
Uwe Steinmann
fe0450c051 call controller when updating extension list 2018-03-21 13:40:57 +01:00
Uwe Steinmann
a66f9538f4 splash msg may have a timeout value 2018-03-21 13:40:34 +01:00
Uwe Steinmann
3a2e0d70d2 add missing controller 2018-03-21 13:40:17 +01:00
Uwe Steinmann
16d9cb5c1e move code for downloading new extension list into controller 2018-03-21 13:39:38 +01:00
Uwe Steinmann
7733da5133 pass repository url to extension mgr 2018-03-21 13:38:00 +01:00
Uwe Steinmann
2b960f1980 updateExtensionList() has new param $version and checks the http return code 2018-03-21 13:37:20 +01:00
Uwe Steinmann
a891adccd2 add not for fixing #394 2018-03-21 08:45:29 +01:00
Uwe Steinmann
f9fc71eb40 check if converters are set at all (Closes #394) 2018-03-20 21:25:16 +01:00
Uwe Steinmann
08e3a5aca3 check if group recipient is already in list of ind. recipients, check for reviewer only 2018-03-20 12:16:51 +01:00
Uwe Steinmann
77c5645ccc check if group recipient is already in list of ind. recipients 2018-03-20 12:16:01 +01:00
Uwe Steinmann
90affe7db1 pass $dms and $user to Controller::factory() 2018-03-20 11:16:13 +01:00
Uwe Steinmann
49af6ab171 make sure list of converters is an array, start new version 1.2.9 2018-03-20 11:08:08 +01:00
Uwe Steinmann
26d3c7a504 do not set status for scheduled_revision in timeline data 2018-03-20 11:06:38 +01:00
Uwe Steinmann
20d1a2695b check if _converters['pdf'] is set, before passing to view 2018-03-20 11:06:11 +01:00
Uwe Steinmann
6211014896 new version 6.0.6 2018-03-20 10:09:23 +01:00
Uwe Steinmann
f6ba941e68 do not show groups as reviewer/approver without members 2018-03-20 07:25:22 +01:00
Uwe Steinmann
dffdc46568 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-20 07:22:23 +01:00
Uwe Steinmann
8f5a614b9f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-19 12:16:36 +01:00
Uwe Steinmann
90e755d749 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-19 12:16:24 +01:00
Uwe Steinmann
0a1d57d863 fix some notification mails 2018-03-19 12:16:05 +01:00
Uwe Steinmann
2faef34ef9 add changes for 5.1.7 2018-03-19 12:14:23 +01:00
Uwe Steinmann
150b9975d3 send mail if attributes are changed, fix setting comment in email 2018-03-19 12:13:18 +01:00
Uwe Steinmann
0563636b7d attribute_changed_email is now document_attribute_changed_email 2018-03-19 12:12:46 +01:00
Uwe Steinmann
22f8b7e7be do not list empty groups as reviewers/approvers 2018-03-19 11:32:24 +01:00
Uwe Steinmann
44b9525615 set fall back value for attributes of type checkbox to '' 2018-03-19 11:31:50 +01:00
Uwe Steinmann
e9c9b48140 fix sending notification when attributes have been changed 2018-03-19 11:31:09 +01:00
Uwe Steinmann
9b525b10a2 check diff of attributes after all changes have been saved 2018-03-19 11:30:21 +01:00
Uwe Steinmann
83ac7adf25 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-19 08:36:11 +01:00
Uwe Steinmann
260951deaa Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-19 08:35:16 +01:00
Uwe Steinmann
681509b522 minor updates of translation 2018-03-19 08:34:49 +01:00
Uwe Steinmann
c20abc9be8 placeholder for name of attribute-changed notification is now attribute_name 2018-03-19 08:32:43 +01:00
Uwe Steinmann
a8576bef66 set old and new attribute value in notification 2018-03-19 08:31:39 +01:00
Uwe Steinmann
15d1e7ef2a send email if attributes have changed 2018-03-19 08:31:05 +01:00
Uwe Steinmann
dce83545b8 show changelog file of extensions 2018-03-16 11:19:12 +01:00
Uwe Steinmann
6c16c52426 add changelog file 2018-03-16 10:49:57 +01:00
Uwe Steinmann
ce2a4596b4 hook extraVersionActions may return an array 2018-03-15 16:22:33 +01:00
Uwe Steinmann
a685d4498b show same tab after installing an extension from a repository 2018-03-14 18:56:28 +01:00
Uwe Steinmann
d930e82fff Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-14 18:44:14 +01:00
Uwe Steinmann
a8f1a48bcc Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-14 18:44:02 +01:00
Uwe Steinmann
93ea99061b some new phrases 2018-03-14 18:43:45 +01:00
Uwe Steinmann
db3990b8b7 make repository for extensions configurable 2018-03-14 18:43:01 +01:00
Uwe Steinmann
0c0669fbbd do not release a document in verifyStatus() if in draft status 2018-03-14 17:05:27 +01:00
Uwe Steinmann
4ac7fe0c07 set repository url in ext manager, force download of repos content 2018-03-14 13:11:35 +01:00
Uwe Steinmann
b1a9ade799 check if extension directory is writable 2018-03-14 11:47:06 +01:00
Uwe Steinmann
cbd04698ea add changes for 5.1.7 2018-03-14 11:21:55 +01:00
Uwe Steinmann
de0213d30e check if extension from repository is suitable for current installation 2018-03-14 11:21:21 +01:00
Uwe Steinmann
0a3d3ea382 checkExtension() can also check with the configuration array 2018-03-14 11:20:55 +01:00
Uwe Steinmann
f386e83f2e some fixeѕ and more info 2018-03-14 10:26:04 +01:00
Uwe Steinmann
0d3b07b44d place log files in contentDir/log 2018-03-14 10:16:10 +01:00
Uwe Steinmann
4666112389 set _backupDir to _contentDir/backup 2018-03-14 10:15:48 +01:00
Uwe Steinmann
4b9b7a9bcf remove old code for upgrading from ancient config file 2018-03-14 10:15:11 +01:00
Uwe Steinmann
8cfeb0f617 add config for backupDir 2018-03-14 10:14:48 +01:00
Uwe Steinmann
3026d98d65 rename conf to conf.tempate in distribution 2018-03-14 10:14:18 +01:00
Uwe Steinmann
a4b5f5c099 add readme describing new proposed dist layout 2018-03-14 10:13:10 +01:00
Uwe Steinmann
b17c79127a store log file in contentDir/log/ 2018-03-14 07:59:10 +01:00
Uwe Steinmann
ba53d01096 no need to instanciate Extension Mgr, as it is done inc.Extension.php 2018-03-13 18:38:30 +01:00
Uwe Steinmann
66f478b36a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-13 18:01:42 +01:00
Uwe Steinmann
edffd85f94 add entry for 6.0.6 2018-03-13 17:54:13 +01:00
Uwe Steinmann
9b2eecca0e rejecting a revision will neccesarily put document in need correction status 2018-03-13 17:51:44 +01:00
Uwe Steinmann
6d802ec7c6 fix output of translated text 2018-03-13 15:33:13 +01:00
Uwe Steinmann
09da85017d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-13 14:40:26 +01:00
Uwe Steinmann
a78e9c4ca1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-13 14:40:17 +01:00
Uwe Steinmann
ca3fc81776 some new phrases for extension mgr 2018-03-13 14:39:58 +01:00
Uwe Steinmann
52fc4cbe69 add import from repository 2018-03-13 14:38:49 +01:00
Uwe Steinmann
0554dab3ae various new methonds
move cmpVersion() from inc.Utils.php nach inc.ClassExtensionMgr.php
2018-03-13 14:37:55 +01:00
Uwe Steinmann
2c64a24985 add entry for 5.1.7 2018-03-12 18:35:18 +01:00
Uwe Steinmann
b223344af9 set dms and user in controller
was previously taken from global variables
2018-03-12 18:34:17 +01:00
Uwe Steinmann
5cfc52f1fc add download/upload of extensions to extension mgr 2018-03-12 18:33:30 +01:00
Uwe Steinmann
36e711f905 move code into switch statement 2018-03-12 18:32:12 +01:00
Uwe Steinmann
bcdcfe2b43 call controller for adding and removing a folder 2018-03-09 18:23:14 +01:00
Uwe Steinmann
31d3d491b5 add changelog entry for 6.0.6 2018-03-09 13:39:08 +01:00
Uwe Steinmann
953e94cd8e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-09 13:11:11 +01:00
Uwe Steinmann
e294466021 add entry for 5.1.6 2018-03-09 10:24:54 +01:00
Uwe Steinmann
261c65033d set socket_options, do not check ssl peer name and certificate 2018-03-09 10:23:44 +01:00
Uwe Steinmann
afcea34cf8 add info about email configuration 2018-03-09 10:23:21 +01:00
Uwe Steinmann
b85030803b add entry for 5.1.6 2018-03-09 08:12:01 +01:00
Uwe Steinmann
6729610a21 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-08 17:20:47 +01:00
Uwe Steinmann
8896aa30fe Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-08 17:20:36 +01:00
Uwe Steinmann
aa29cbf073 various new translations 2018-03-08 17:20:15 +01:00
Uwe Steinmann
7f2dd8513f fix creation of preview if SeedDMS_Core_DocumentContent has been derived 2018-03-08 15:13:17 +01:00
Uwe Steinmann
9605989054 start version 6.0.6 2018-03-07 20:08:04 +01:00
Uwe Steinmann
dda5ec7d13 fix comment 2018-03-07 17:26:11 +01:00
Uwe Steinmann
841cd2cfaf fix setting attributes
used the wrong field name
2018-03-07 17:16:02 +01:00
Uwe Steinmann
00429e6e3a remove old code, add some more comments 2018-03-07 15:10:19 +01:00
Uwe Steinmann
ed93657566 use extensions and controller 2018-03-07 12:36:24 +01:00
Uwe Steinmann
f5f28d9e30 use controller and check for extensions 2018-03-07 12:35:06 +01:00
Uwe Steinmann
7f0a8d1094 no need to include Init.php twice 2018-03-07 12:25:16 +01:00
Uwe Steinmann
cf64a440da init $indexconf 2018-03-07 12:24:59 +01:00
Uwe Steinmann
cfec7323d7 add hooks on[Post|Pre]RemoveFromDatabaseFolder
on[Post|Pre]RemoveFolder is called before and after any removal
2018-03-07 12:22:35 +01:00
Uwe Steinmann
7e4514c450 onPreRemoveDocument hook returns when return value is a boolean 2018-03-07 12:21:22 +01:00
Uwe Steinmann
b553263f11 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-03-02 06:22:02 +01:00
Uwe Steinmann
79bf501155 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-03-02 06:21:31 +01:00
Uwe Steinmann
92e3be59dc Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-03-02 06:20:32 +01:00
Uwe Steinmann
c5104e29f8 new phrases 2018-03-02 06:20:11 +01:00
Uwe Steinmann
7fe44b6644 add newline to last line 2018-03-01 21:30:30 +01:00
Uwe Steinmann
d78b165322 add item for 6.0.5 2018-03-01 21:30:14 +01:00
Uwe Steinmann
7008b11f64 add list for documents that need correction 2018-03-01 21:29:53 +01:00
Uwe Steinmann
0066d29650 add listNeedsCorrection 2018-03-01 21:29:12 +01:00
Uwe Steinmann
eda033babe start changelog for 6.0.5 2018-02-27 18:16:42 +01:00
Uwe Steinmann
40dda18f5a propperly pass enabelSelfReceipt to view 2018-02-27 18:16:22 +01:00
Uwe Steinmann
1ea5575fa8 fix output of extra actions for previous versions 2018-02-27 18:12:59 +01:00
Uwe Steinmann
2a234307a3 fix setting of expiration date 2018-02-27 18:11:32 +01:00
Uwe Steinmann
0bb1035261 sync with UpdateDocument
use same way to select expiration date, call hook
editDocumentContenAttributes, fix checking form
2018-02-27 16:12:36 +01:00
Uwe Steinmann
9ff60e8a35 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-27 14:41:47 +01:00
Uwe Steinmann
96dab51baf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-27 14:41:35 +01:00
Uwe Steinmann
eb68cb05ba Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-27 14:41:25 +01:00
Uwe Steinmann
7a22fc0c11 various new phrases 2018-02-27 14:41:04 +01:00
Uwe Steinmann
66aa7edbf5 filter out reviewer and uploader from recipients 2018-02-27 14:40:19 +01:00
Uwe Steinmann
e3664780e9 started new version 6.0.5 2018-02-27 07:42:11 +01:00
Uwe Steinmann
a87d493cb3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-27 07:40:01 +01:00
Uwe Steinmann
b422d90b45 add entry for 5.1.6 2018-02-26 08:10:10 +01:00
Uwe Steinmann
7c867932c7 add configuration allowReviewerOnly 2018-02-26 08:09:10 +01:00
Uwe Steinmann
963c30956a add configuration allowReviewerOnly 2018-02-26 08:08:57 +01:00
Uwe Steinmann
69a9f43add add allowReviewerOnly configuration
if set a document in traditioanl workflow may be uploaded with a
reviewer only
2018-02-26 08:07:51 +01:00
Uwe Steinmann
836bff3ea0 add item for 6.0.4 2018-02-23 17:20:47 +01:00
Uwe Steinmann
8528cd12ef fix filtering of uploader and reviewers 2018-02-23 17:19:49 +01:00
Uwe Steinmann
e913be8add Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-23 17:00:34 +01:00
Uwe Steinmann
d3cdd9e861 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-23 16:59:54 +01:00
Uwe Steinmann
f70c307086 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-23 16:59:45 +01:00
Uwe Steinmann
586c24053f new phrases and some updates 2018-02-23 16:59:25 +01:00
Uwe Steinmann
a575714218 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-23 09:06:03 +01:00
Uwe Steinmann
0be86ad355 add item for 5.1.6 2018-02-22 19:14:48 +01:00
Uwe Steinmann
15bf603825 add note for 5.1.6 2018-02-22 19:14:06 +01:00
Uwe Steinmann
236f3c2e48 add link to remove attribute values from all folders, documents 2018-02-22 19:12:36 +01:00
Uwe Steinmann
fe6d4d67be add action removeattrvalue 2018-02-22 19:12:14 +01:00
Uwe Steinmann
81b9fb89e5 add action removeattrvalue() 2018-02-22 19:11:57 +01:00
Uwe Steinmann
f392e35072 fix search for attribute values if value is passed as string 2018-02-22 19:11:25 +01:00
Uwe Steinmann
c4addcd4aa getStatistics() returns single values, add removeValue(), fix sql in getObjects() 2018-02-22 19:10:39 +01:00
Uwe Steinmann
3a6dc48a38 remove code to pass strictformcheck to view 2018-02-21 15:40:03 +01:00
Uwe Steinmann
fffdf0a0ba optimize query for documents in search() 2018-02-21 15:33:47 +01:00
Uwe Steinmann
656c4b0b7f optimize query for searching documents 2018-02-21 15:28:27 +01:00
Uwe Steinmann
a6d16911e8 fix xml error 2018-02-21 12:40:45 +01:00
Uwe Steinmann
6548776cb3 new version 6.0.4 2018-02-21 12:39:51 +01:00
Uwe Steinmann
cb287741d0 add and use SeedDMS_Core_DocumentContent::getInstance() 2018-02-21 12:34:51 +01:00
Uwe Steinmann
414532db25 hook extraVersionItem() may return an array or a string 2018-02-20 17:30:29 +01:00
Uwe Steinmann
87519d6d08 do not add uploader and reviewer as recipient 2018-02-20 17:29:49 +01:00
Uwe Steinmann
af066bb15b take out reviewers and uploaders from recipients 2018-02-20 17:29:16 +01:00
Uwe Steinmann
5e478d749d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-20 07:14:50 +01:00
Uwe Steinmann
df4e0d2346 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-20 07:13:51 +01:00
Uwe Steinmann
ea97c6bf6c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-20 07:13:35 +01:00
Uwe Steinmann
680baa0d6d add entry for 4.3.37 2018-02-20 06:44:48 +01:00
Uwe Steinmann
ad8d0d9bba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-20 06:38:22 +01:00
Uwe Steinmann
fc434419fe Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-20 06:36:20 +01:00
Uwe Steinmann
71ac5428ca fix wrong parameter comment of addDocument() 2018-02-20 06:35:48 +01:00
Uwe Steinmann
6bef6824c2 pass list of category objects to addDocument instead of cat ids 2018-02-20 06:35:16 +01:00
Uwe Steinmann
6c2a011a9a move block to parse categories after dms has been initialized 2018-02-20 06:17:44 +01:00
Uwe Steinmann
981bcaf7d7 override status may be called on 'needs correction' status 2018-02-20 06:15:15 +01:00
Uwe Steinmann
ce231a8c7e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-15 12:57:50 +01:00
Uwe Steinmann
c74bf9b3e9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-15 12:57:39 +01:00
Uwe Steinmann
1a9265130b add new splash msg, some tw translation 2018-02-15 12:57:11 +01:00
Uwe Steinmann
000d2b39f1 set splash msg 2018-02-15 12:56:34 +01:00
Uwe Steinmann
1640682a10 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-14 22:00:34 +01:00
Uwe Steinmann
03b3bfa4e4 use upper case for sql keywords 2018-02-14 21:50:59 +01:00
Uwe Steinmann
ffbc685752 add missing indexes 2018-02-14 21:49:37 +01:00
Uwe Steinmann
91b163a825 fix typo in index name 2018-02-14 10:45:31 +01:00
Uwe Steinmann
aa4804cf56 add missing keys 2018-02-14 10:45:14 +01:00
Uwe Steinmann
840feec9fa Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-14 09:10:32 +01:00
Uwe Steinmann
922f6a0f7f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-14 09:09:49 +01:00
Uwe Steinmann
1e03682c97 various new translations 2018-02-14 09:08:23 +01:00
Uwe Steinmann
611290292c add entry for 4.3.37 2018-02-14 09:07:26 +01:00
Uwe Steinmann
433cfa4ac4 SeedDMS_Core_DMS::search() finds documents without status log 2018-02-14 09:07:03 +01:00
Uwe Steinmann
795ca98b8f create temp table ttreceiptid before using it 2018-02-13 18:32:01 +01:00
Uwe Steinmann
6ad630edf4 turn of views as default 2018-02-13 17:07:45 +01:00
Uwe Steinmann
52ceaaf98e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:31:43 +01:00
Uwe Steinmann
7c98ede3fd fix indenting which broke in last merge 2018-02-08 14:30:33 +01:00
Uwe Steinmann
5d51f18c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-08 14:26:36 +01:00
Uwe Steinmann
fe8e6f5a24 remove various spaces 2018-02-08 14:09:51 +01:00
Uwe Steinmann
3e5d744d6d Merge commit '10896ca183a4fa0b30c02fca8831d2f5497e6a76' into seeddms-5.1.x 2018-02-08 09:25:45 +01:00
Uwe Steinmann
e52b8f4b72 add avi and msvideo to preview 2018-02-08 08:37:32 +01:00
Uwe Steinmann
663cbab2c6 add item for 6.0.4 2018-02-08 07:24:07 +01:00
Uwe Steinmann
57839377f8 remove duplicate code 2018-02-07 22:36:26 +01:00
Uwe Steinmann
ab7776bdb9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-07 22:32:18 +01:00
Uwe Steinmann
9a23619f18 pass $dms to postAddService() and preAddService() 2018-02-07 19:02:09 +01:00
Uwe Steinmann
b6ab66dd2f use default text in getMLText() even if it is an empty string 2018-02-07 19:01:28 +01:00
Uwe Steinmann
a36f5721dd pass $dms to preAddService() and postAddService() 2018-02-07 18:58:56 +01:00
Uwe Steinmann
f01099fedf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-07 12:23:54 +01:00
Uwe Steinmann
466236d18d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-07 12:23:43 +01:00
Uwe Steinmann
df61cff482 add new phrases 2018-02-07 12:23:25 +01:00
Uwe Steinmann
84505ebd5a fix typos 2018-02-07 09:54:33 +01:00
Uwe Steinmann
5b19253131 set sequence according to default position in configuration 2018-02-07 09:52:23 +01:00
Uwe Steinmann
e5b215936a add new method SeedDMS_Core_Folder::getDocumentsMinMax() 2018-02-07 09:51:20 +01:00
Uwe Steinmann
fdadd6b043 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-07 09:01:27 +01:00
Uwe Steinmann
cdbb1be93f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-07 09:01:17 +01:00
Uwe Steinmann
ef41f40215 some new phrases in settings 2018-02-07 09:00:57 +01:00
Uwe Steinmann
caa86d4947 attribute values can be deselected 2018-02-07 09:00:09 +01:00
Uwe Steinmann
987025331d set default position of new documents/folders (Closes #381) 2018-02-07 08:43:46 +01:00
Uwe Steinmann
9531c100bd add item for 5.1.6 2018-02-06 17:05:11 +01:00
Uwe Steinmann
16ce0f6de6 all config variables with options may also be declared empty 2018-02-06 17:03:35 +01:00
Uwe Steinmann
7e0b1b6907 start new version 6.0.4 2018-02-05 15:19:59 +01:00
Uwe Steinmann
7bc2c0813d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-05 15:18:33 +01:00
Uwe Steinmann
86df87031b add item for 5.1.6 2018-02-05 15:18:12 +01:00
Uwe Steinmann
a1a8abceea add entry for 6.0.3 2018-02-05 15:17:39 +01:00
Uwe Steinmann
dacacde524 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-05 15:14:45 +01:00
Uwe Steinmann
4e9d241108 include autoload.php instead of robthree classes 2018-02-05 15:12:18 +01:00
Uwe Steinmann
25657c2f64 save missing translations into cachedir 2018-02-05 14:27:54 +01:00
Uwe Steinmann
8a473031a6 create access object later 2018-02-05 14:18:47 +01:00
Uwe Steinmann
233cf9b1f1 fix error in listing approvers 2018-02-05 14:10:18 +01:00
Uwe Steinmann
ceb7d65913 add additional view access checks
DocumentAccess, UsrView, GroupView, ReviewSummary, ApprovalSummary, WorkflowSummary, ReceiptSummary
2018-02-05 10:31:07 +01:00
Uwe Steinmann
2641478216 move around code to create view and access object 2018-02-05 10:29:53 +01:00
Uwe Steinmann
2c3dff2a24 add check view access 2018-02-05 10:28:32 +01:00
Uwe Steinmann
28a0860824 check view access 2018-02-05 10:28:06 +01:00
Uwe Steinmann
51f3416c70 include LogInit, move incluѕion of Preview.php into view 2018-02-05 08:57:05 +01:00
Uwe Steinmann
2ad6a04965 move some code at beginning of file 2018-02-05 08:50:39 +01:00
Uwe Steinmann
16e70a0cdd recipients may be set with read/write access 2018-02-05 08:50:15 +01:00
Uwe Steinmann
d824ca30fb may[Receipt|Review|Approve|Revise] also checks for document access 2018-02-05 08:48:53 +01:00
Uwe Steinmann
c7dbe7d16f not needed anymore 2018-02-01 18:00:05 +01:00
Uwe Steinmann
8c4dc337c5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-01 14:56:42 +01:00
Uwe Steinmann
7892498d97 create view at beginning of file 2018-02-01 14:42:30 +01:00
Uwe Steinmann
d89cfc3f1a fix access check 2018-02-01 14:38:57 +01:00
Uwe Steinmann
b3c372e270 show only released documents in ReceiveOwner list 2018-02-01 12:05:48 +01:00
Uwe Steinmann
b1ac7d94ac Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-02-01 08:32:53 +01:00
Uwe Steinmann
e778cd5e57 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-02-01 08:32:44 +01:00
Uwe Steinmann
513fbf4d44 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-02-01 08:32:33 +01:00
Uwe Steinmann
1532ea313b add phrase needs_correction 2018-02-01 08:32:09 +01:00
Uwe Steinmann
13119773bf update release date and notes for 6.0.3 2018-02-01 08:29:27 +01:00
Uwe Steinmann
3ad9fe9743 do not add uploader and reviewer to recipients when added by group 2018-02-01 08:28:56 +01:00
Uwe Steinmann
e7bec65b89 document status may be overriden if document is rejected 2018-02-01 08:28:24 +01:00
Uwe Steinmann
03e227af4c add all remaining changes in 6.0.3 2018-02-01 08:28:00 +01:00
Uwe Steinmann
4268e1874a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-31 21:20:47 +01:00
Uwe Steinmann
333d40df64 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-01-31 21:20:36 +01:00
Uwe Steinmann
137bd86a47 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-01-31 21:20:28 +01:00
Uwe Steinmann
5a5cc99e68 new phrases 2018-01-31 21:20:13 +01:00
Uwe Steinmann
17478a52ef add note for 6.0.4 2018-01-31 20:05:34 +01:00
Uwe Steinmann
de689727b0 remove ';' in string 2018-01-31 20:04:42 +01:00
Uwe Steinmann
18191000ea add indexes on Log tables 2018-01-31 20:04:14 +01:00
Uwe Steinmann
39b94d4c75 add fast sql statement to getReceiptStatus() if limit=1 2018-01-31 20:03:22 +01:00
Uwe Steinmann
f3e1c56d5d add S_NEED_CORRECTION as doc status 2018-01-30 19:21:57 +01:00
Uwe Steinmann
e47ff72ec3 allow to select doc status S_NEED_CORRECTION 2018-01-30 19:21:21 +01:00
Uwe Steinmann
9d7b735ff4 use same form ind and grp revision 2018-01-30 19:20:51 +01:00
Uwe Steinmann
d84d4cfcdb allow to override with S_NEED_CORRECTION 2018-01-30 19:20:19 +01:00
Uwe Steinmann
0cc14e937d set doc status S_NEED_CORRECTION when revision status -1 is set 2018-01-30 19:19:40 +01:00
Uwe Steinmann
7f1f551334 allow to filter by status S_NEED_CORRECTION 2018-01-30 19:19:07 +01:00
Uwe Steinmann
bf2ced4c6e status -1 for revision is text status_need_correction 2018-01-30 19:18:35 +01:00
Uwe Steinmann
231af615af status may be S_NEED_CORRECTiON in setStatus() 2018-01-30 19:17:44 +01:00
Uwe Steinmann
4fa0efa07d use one form for ind and grp recipients 2018-01-30 19:16:34 +01:00
Uwe Steinmann
83e960fe03 check if file is actually accessible 2018-01-30 19:16:05 +01:00
Uwe Steinmann
7eb76b4c99 fix syntax error introduced by merging 2018-01-30 08:08:21 +01:00
Uwe Steinmann
89ad08a537 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-30 08:05:00 +01:00
Uwe Steinmann
1a9c7c213d use same form for ind and grp
The two forms differ in just minor things which can easily be set by
a parameter
2018-01-30 07:59:15 +01:00
Uwe Steinmann
59dd1a9155 minor corrections of form 2018-01-30 07:21:26 +01:00
Uwe Steinmann
408c60bc15 minor corrections of form 2018-01-30 07:20:23 +01:00
Uwe Steinmann
dc198e383b fix typo3 in translation key 2018-01-30 06:39:38 +01:00
Uwe Steinmann
94efc33ec5 send error msg if indexing failed
the error is taken from stderr of the converter
2018-01-30 06:32:22 +01:00
Uwe Steinmann
b147cfd6dc set timeout for error msg to 5000 2018-01-30 06:31:42 +01:00
Uwe Steinmann
a24b561703 new version 1.0.9 2018-01-30 06:29:38 +01:00
Uwe Steinmann
b03e4b23d2 new version 1.1.12 2018-01-30 06:29:22 +01:00
Uwe Steinmann
3d168e427a execWithTimeout() returns stderr, which is saved in error msg 2018-01-30 06:28:19 +01:00
Uwe Steinmann
a47300be26 execWithTimeout() also reads data from stderr
currently not evaluated but could be used to find errors when a
converter is called
2018-01-30 06:26:54 +01:00
Uwe Steinmann
0c5a1e2776 fix wrong documentation in example extension (Closes #390) 2018-01-29 11:42:10 +01:00
Uwe Steinmann
593ba16c2d status may also be 6 (needs correction) 2018-01-29 11:41:40 +01:00
Uwe Steinmann
da82cbe8da status can also be set to 6 (needs correction) 2018-01-29 11:41:00 +01:00
Uwe Steinmann
8931759f84 new status S_NEEDS_CORRECTION 2018-01-29 11:40:25 +01:00
Uwe Steinmann
093a1fa844 get text for new staus S_NEEDS_KORRECTION 2018-01-29 11:39:53 +01:00
Uwe Steinmann
a8fad905a0 add note for 6.0.3 2018-01-28 07:54:36 +01:00
Uwe Steinmann
c768a9150b add lists of draft and obsolete documents 2018-01-28 07:50:38 +01:00
Uwe Steinmann
d2a0c08633 allow to set revisors and recipients with M_READWRITE access
previously M_ALL was needed
2018-01-28 07:49:46 +01:00
Uwe Steinmann
85a3041b9b add lists of drafts and obsolete docs in getDocumentList() 2018-01-28 07:48:29 +01:00
Uwe Steinmann
4a5a4e8196 add item for 5.1.6 2018-01-26 18:52:32 +01:00
Uwe Steinmann
07dc8b0118 list linked documents in the same way as in regular document list 2018-01-26 18:51:59 +01:00
Uwe Steinmann
6dc4611f04 add x-msvideo as previewable video 2018-01-24 16:26:28 +01:00
Uwe Steinmann
11ae4f1d79 add item for 5.1.6 2018-01-24 09:25:49 +01:00
Uwe Steinmann
beb29ca34e propperly check if user exists in database (Closes #388) 2018-01-24 09:18:24 +01:00
Uwe Steinmann
483272e32b add item for 5.1.6 2018-01-24 09:08:40 +01:00
Uwe Steinmann
1ae8f58055 set converters as set in configuration (Closes #389) 2018-01-24 09:06:48 +01:00
Uwe Steinmann
cbf7f1a161 list of documents without receivers on lists released documents 2018-01-24 09:01:35 +01:00
Uwe Steinmann
4dfade96f7 check if $files are given to filterFiles() 2018-01-23 20:50:44 +01:00
Uwe Steinmann
b9622ad165 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-23 20:21:39 +01:00
Uwe Steinmann
24b3d44891 remove old print style 2018-01-23 19:10:37 +01:00
Uwe Steinmann
930a8b48f1 old changes file 2018-01-23 19:09:32 +01:00
Uwe Steinmann
bd7c2eeddf no longer needed 2018-01-23 19:09:01 +01:00
Uwe Steinmann
e35b732d80 add items for 6.0.4 2018-01-23 16:47:04 +01:00
Uwe Steinmann
cde0f066ad slice entries before view 2018-01-23 16:46:10 +01:00
Uwe Steinmann
81b8d2ae1b export always returns all items, fix display of 2nd, 3rd, ... page 2018-01-23 16:42:25 +01:00
Uwe Steinmann
996e0824f0 add item for 5.1.6 2018-01-23 13:54:30 +01:00
Uwe Steinmann
5b5e9af891 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-23 10:45:30 +01:00
Uwe Steinmann
627375e732 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-01-23 10:44:53 +01:00
Uwe Steinmann
99c21cb93b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-01-23 10:44:42 +01:00
Uwe Steinmann
8612e4aebd some updates 2018-01-23 10:44:29 +01:00
Uwe Steinmann
12dddf698c animate button to load more objects 2018-01-23 10:43:51 +01:00
Uwe Steinmann
b8632046b7 fix some phrases 2018-01-21 13:58:49 +01:00
Uwe Steinmann
7e0cae0590 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-18 17:38:38 +01:00
Uwe Steinmann
5271e518dc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2018-01-18 17:38:27 +01:00
Uwe Steinmann
276e651483 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2018-01-18 17:38:18 +01:00
Uwe Steinmann
5d43d0cd84 various new phrases 2018-01-18 17:37:28 +01:00
Uwe Steinmann
3dda280ef8 add scheduled revision to skip list 2018-01-18 17:32:38 +01:00
Uwe Steinmann
3502ce5de7 show scheduled revisions in timeline 2018-01-18 17:29:10 +01:00
Uwe Steinmann
b3c000de45 use sendfile() instead of readfile() 2018-01-18 17:28:30 +01:00
Uwe Steinmann
4b8fad4605 set propper date in timeline for scheduled revisions 2018-01-18 17:27:31 +01:00
Uwe Steinmann
b803c1d448 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-18 10:53:58 +01:00
Uwe Steinmann
a36087e405 add chzn-select for attributes 2018-01-18 10:48:09 +01:00
Uwe Steinmann
f9d70aa04a add items for 5.1.6 2018-01-18 09:51:02 +01:00
Uwe Steinmann
09a78ed377 ??? 2018-01-18 09:12:31 +01:00
Uwe Steinmann
d4af7b5c9a use sendFile() instead of readfile() 2018-01-18 08:49:44 +01:00
Uwe Steinmann
4cfd9f222e use sendFile() instead of readfile(), clean up code 2018-01-18 08:49:17 +01:00
Uwe Steinmann
97ff9abee5 use sendFile() instead of readfile() 2018-01-18 08:49:00 +01:00
Uwe Steinmann
ccb56e827c add function sendFile() 2018-01-18 08:48:32 +01:00
Uwe Steinmann
f71aab5921 fix some typos minor errors 2018-01-18 08:48:12 +01:00
Uwe Steinmann
380f69a95a new version 1.2.7 2018-01-18 08:47:50 +01:00
Uwe Steinmann
a28d121610 add SeedDMS_Preview_Base::sendfile() which uses xsendfile if available 2018-01-18 08:45:34 +01:00
Uwe Steinmann
bcef2d3d63 add instructions on how to install from quickstart archive 2018-01-18 07:07:39 +01:00
Uwe Steinmann
5c7c1b0b26 add installation instructions for xsendfile 2018-01-18 07:07:20 +01:00
Uwe Steinmann
e97c3a4b25 allow to set receiver when uploading a document 2018-01-16 18:15:05 +01:00
Uwe Steinmann
d547fdd05b add changes for 6.0.3 2018-01-16 18:14:51 +01:00
Uwe Steinmann
c3e413c476 move many access checks from view into controller
issue message on receive tab if document isn't released yet, but there
are already receivers
2018-01-16 18:13:41 +01:00
Uwe Steinmann
48141e1116 out list of documents without a receiver 2018-01-16 18:12:47 +01:00
Uwe Steinmann
fd770b5264 check access 2018-01-16 18:11:50 +01:00
Uwe Steinmann
065fa49cc4 mayReceive() requires a released document 2018-01-16 18:07:20 +01:00
Uwe Steinmann
2b5f9ab3b3 add callback to SeedDMS_Core_Document::getAccessMode() 2018-01-16 18:06:19 +01:00
Uwe Steinmann
03690b9f1e add notes for 6.0.3 2018-01-16 18:05:54 +01:00
Uwe Steinmann
903a491016 getDocumentList() returns list of documents without a receiver 2018-01-16 18:04:53 +01:00
Uwe Steinmann
544e151135 getStatistics() returns propper values for each single value in a valueset 2018-01-16 18:03:05 +01:00
Uwe Steinmann
b51b3bb9f3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-09 15:37:40 +01:00
Uwe Steinmann
fd3cef5407 fix text for error msgs 2018-01-09 15:35:08 +01:00
Uwe Steinmann
09c7c0fc2a prevent php warning if converters are not set 2018-01-09 15:32:08 +01:00
Uwe Steinmann
eed90367da add note for 6.0.3 2018-01-09 15:30:47 +01:00
Uwe Steinmann
0b8c6692ae add hook for modifying action menu of selected user 2018-01-09 15:30:21 +01:00
Uwe Steinmann
62f5dd1a9f pass 0 as default to getObjects() 2018-01-09 15:29:31 +01:00
Uwe Steinmann
6e75dd9c44 reviewers/approvers may be set in draft status 2018-01-08 14:38:03 +01:00
Uwe Steinmann
ca1b5ba5cc - add entry to 5.1.6 2018-01-08 10:57:05 +01:00
Uwe Steinmann
a20c2167c9 add video/webm to list of mimetypes which are previewed 2018-01-08 10:54:02 +01:00
Uwe Steinmann
f99d860d6d add entries for 5.1.6 2018-01-08 10:52:46 +01:00
Uwe Steinmann
6c5608d96d fix wrong variable name (part of ticket #373) 2018-01-08 10:51:08 +01:00
Uwe Steinmann
d2ccd5d5ad better check in mayReview() and mayApprove()
mayReview() will only return true anymore, if the status is S_DRAFT_REV.
mayApprove() will only return true anymore, if the status is S_DRAFT_APP.
2018-01-08 10:49:36 +01:00
Uwe Steinmann
3244f20dcc Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-03 09:41:03 +01:00
Uwe Steinmann
5ee7110597 started new version 5.1.6 2018-01-03 09:29:34 +01:00
Uwe Steinmann
9d575d6371 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-03 09:23:39 +01:00
Uwe Steinmann
20e9157d01 Merge branch 'seeddms-5.1.x' 2018-01-03 09:23:05 +01:00
Uwe Steinmann
a7b0a6e000 add methods for deleting users and to get a single category 2018-01-03 08:12:46 +01:00
Uwe Steinmann
d5b4553c90 add methods for deleting users and to get a single category 2018-01-03 08:07:42 +01:00
Uwe Steinmann
3c4be73678 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-01-01 09:17:24 +01:00
Uwe Steinmann
0f5284df30 take out printf 2018-01-01 08:59:48 +01:00
Uwe Steinmann
2ab62605b0 use microtime for session id 2017-12-30 12:41:07 +01:00
Uwe Steinmann
4f95d58c4b fix doLogin function, which uses the wrong user variable 2017-12-30 12:39:49 +01:00
Uwe Steinmann
d1ea639431 add more response codes 2017-12-22 13:36:01 +01:00
Uwe Steinmann
21518adecc call hooks 2017-12-22 13:05:35 +01:00
Uwe Steinmann
63f9170671 another major overhaul
http status codes are set in case of error, better error checking, ...
2017-12-22 13:04:26 +01:00
Uwe Steinmann
987ea3d5fd new entries for 5.1.5 2017-12-22 13:04:08 +01:00
Uwe Steinmann
97946893ee getInstance() returns null if object was not found in database 2017-12-22 13:02:14 +01:00
Uwe Steinmann
3330085f51 getInstance() returns null if folder was not found in db 2017-12-22 13:01:38 +01:00
Uwe Steinmann
81536cb2fe getInstance() returns null if document was not found in db 2017-12-22 13:00:51 +01:00
Uwe Steinmann
3cd766468d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-21 15:27:33 +01:00
Uwe Steinmann
b565484e05 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-21 15:24:36 +01:00
Uwe Steinmann
a047e8af61 major update of dutch 2017-12-21 15:23:59 +01:00
Uwe Steinmann
a534c3dd3f remove old code 2017-12-21 15:15:59 +01:00
Uwe Steinmann
e8bfbb5c97 add uploadDocument with POST, add changeCategoryName, moveFolder receives destination in url like moveDocument 2017-12-20 17:58:24 +01:00
Uwe Steinmann
d0a2ac51a4 add methods to manage categories 2017-12-20 16:38:10 +01:00
Sebastian Bartus-Kunz
f3daa6d0e2 Fixed wrong return object in getDocumentLink() 2017-12-20 16:12:32 +01:00
Sebastian Bartus-Kunz
02e7066749 Fixed wrong return object in getDocumentLink() 2017-12-20 15:40:20 +01:00
Uwe Steinmann
efe9ff0e42 do not pass folder in document move as 'dest' anymore 2017-12-20 13:46:38 +01:00
Uwe Steinmann
ff82caf818 fix setting of header 2017-12-20 13:42:15 +01:00
Uwe Steinmann
0b054d0fb1 add method uploadDocumentFile() 2017-12-20 13:35:23 +01:00
Uwe Steinmann
aaab438c16 return properly if user object doesn't exists 2017-12-20 13:27:33 +01:00
Uwe Steinmann
cbe184a637 return from uploadDocument() if user cannot be found 2017-12-20 13:19:41 +01:00
Uwe Steinmann
1a9f6895f7 calling /folder/ with an id will return the root folder 2017-12-20 13:18:07 +01:00
Uwe Steinmann
80c5934eb1 use new authentication mechanism, add ldap authentication 2017-12-20 13:16:15 +01:00
Uwe Steinmann
041c7934bc do not add extension if it already exists (getDocumentContent()) 2017-12-20 12:16:12 +01:00
Uwe Steinmann
83aa6fe02e move retrieval of document data into function 2017-12-20 11:51:05 +01:00
Uwe Steinmann
b539921c23 do not call htmlspecialchars() for json data
it doesn't do any harm and it's up to the application to encode the data
2017-12-20 11:33:21 +01:00
Uwe Steinmann
be112427d6 remove white space, expand tabs 2017-12-20 11:24:40 +01:00
Uwe Steinmann
5013fb154c do not htmlspecialchars() keywords, check attributes before setting them 2017-12-20 11:22:16 +01:00
Uwe Steinmann
52fbb45df4 fix html error 2017-12-19 11:51:03 +01:00
Uwe Steinmann
367039f8b1 set timeout to 10sec and timer to 60sec 2017-12-19 11:50:38 +01:00
Uwe Steinmann
ad336cdd9f fix html error 2017-12-19 11:39:18 +01:00
Uwe Steinmann
70ea4c2314 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-19 11:33:00 +01:00
Uwe Steinmann
fc09a9408b pass orderby to js file, remove debug code 2017-12-19 11:21:44 +01:00
Uwe Steinmann
7c7a9584ca fix output of text on button to load more documents 2017-12-19 11:09:20 +01:00
Uwe Steinmann
48c7dd3fc2 fix deletion of documents from document list 2017-12-19 10:52:24 +01:00
Uwe Steinmann
abd8b77b2f check if document exists before adding it to result array 2017-12-19 10:46:42 +01:00
Uwe Steinmann
99fbf808fd do not show table of documents if there are no documents 2017-12-19 10:46:19 +01:00
Uwe Steinmann
2f7a91d785 add entry for 6.0.2 2017-12-19 08:27:52 +01:00
Uwe Steinmann
d1a6651fa5 check if flag 'allday' is set 2017-12-19 08:27:10 +01:00
Uwe Steinmann
228bfffba1 set allday flag for scheduled revision 2017-12-19 08:26:46 +01:00
Uwe Steinmann
3b3b5efafe getTimeline() returns documents with a scheduled revision 2017-12-19 08:19:48 +01:00
Uwe Steinmann
7129b9737c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-19 07:10:07 +01:00
Uwe Steinmann
b0747e74f0 add optional parameter $limit and $offset to SeedDMS_Core_Folder::getSubFolders 2017-12-19 07:05:08 +01:00
Uwe Steinmann
5c80a8bf6d new entry for 5.1.5 2017-12-19 06:48:51 +01:00
Uwe Steinmann
d80600cb5a add hooks folderGetDocuments and folderGetSubFolders 2017-12-19 06:48:03 +01:00
Uwe Steinmann
c8ce5e9ea9 add optional parameters $limit and $offset to SeedDMS_Core_Folder::getDocuments() 2017-12-19 06:34:26 +01:00
Uwe Steinmann
476e2d15d5 remove bogus methods from SeedDMS_Core_DocumentCategory 2017-12-19 06:23:44 +01:00
Uwe Steinmann
91eee66099 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-18 22:01:59 +01:00
Uwe Steinmann
43d2deb172 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-18 22:01:46 +01:00
Uwe Steinmann
5a66db978c more swedish translations 2017-12-18 22:01:25 +01:00
Uwe Steinmann
ac09ee3773 new version 6.0.2 2017-12-18 14:43:22 +01:00
Uwe Steinmann
529e546600 add entry for 6.0.1 2017-12-18 13:21:04 +01:00
Uwe Steinmann
a42c42f335 do not show users removed from process unless admin 2017-12-18 13:20:33 +01:00
Uwe Steinmann
6f4577d7b2 fix call of SeedDMS_AccessOperation() 2017-12-18 13:20:12 +01:00
Uwe Steinmann
1538171d31 use countTasks instead of myTasks for counting open tasks 2017-12-18 12:41:45 +01:00
Uwe Steinmann
31853c5586 fix documentation, minor code cleanups 2017-12-18 12:41:18 +01:00
Uwe Steinmann
326a4eda2f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-18 12:21:57 +01:00
Uwe Steinmann
46032d0901 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-18 12:21:43 +01:00
Uwe Steinmann
a9ef8f5a54 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-18 12:21:27 +01:00
Uwe Steinmann
44f1026e92 add new phrase select_grp_ind_revisors, swedish translation updates 2017-12-18 12:20:55 +01:00
Uwe Steinmann
2364d0505b add entry for 6.0.1 2017-12-18 12:02:25 +01:00
Uwe Steinmann
6e58e2bb33 fix typo 2017-12-18 11:47:24 +01:00
Uwe Steinmann
e36fbd87d8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-18 11:10:14 +01:00
Uwe Steinmann
c6cc78bd1d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-18 11:07:40 +01:00
Uwe Steinmann
328c76e7fc Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-18 11:07:30 +01:00
Uwe Steinmann
0bfac9cadd new phrases, swedish translation update 2017-12-18 11:07:02 +01:00
Uwe Steinmann
10cb3e1cb3 add various indexes 2017-12-18 08:57:38 +01:00
Uwe Steinmann
1048e3d181 add new method countTasks() 2017-12-18 08:45:31 +01:00
Uwe Steinmann
8784b1224b set ind. revisors by group 2017-12-18 08:42:13 +01:00
Uwe Steinmann
a320b3cc39 set ind. revisors by selecting a group 2017-12-18 08:41:31 +01:00
Uwe Steinmann
fe6d00b6e1 add new function countTasks() 2017-12-15 13:53:33 +01:00
Uwe Steinmann
a4a1100abe add preview image only if version is set 2017-12-15 13:52:24 +01:00
Uwe Steinmann
a1f98902a5 propperly set version in notification mail 2017-12-15 13:51:53 +01:00
Uwe Steinmann
9e85efd72e set showtree for view 2017-12-15 09:33:17 +01:00
Uwe Steinmann
2b0ac3537a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-15 08:13:36 +01:00
Uwe Steinmann
6f6125253b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-15 08:13:12 +01:00
Uwe Steinmann
f22a770fcc new phrase x_more_documents 2017-12-15 08:12:45 +01:00
Uwe Steinmann
72143a1a78 use translation for button to download more docs/folders 2017-12-15 08:09:01 +01:00
Uwe Steinmann
f395c905f4 add entry for 5.1.5 2017-12-14 11:34:07 +01:00
Uwe Steinmann
2656269399 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-14 09:55:02 +01:00
Uwe Steinmann
bc396c726e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-14 09:54:51 +01:00
Uwe Steinmann
464d57a9fd more new phrases for inc. page load setup 2017-12-14 09:54:26 +01:00
Uwe Steinmann
9a6786cc8d show only limited number of entries, fetch more when scrolling down 2017-12-14 09:39:43 +01:00
Uwe Steinmann
dec3b44123 add configuration for number of entries on viewfolder page 2017-12-14 09:39:05 +01:00
Uwe Steinmann
6b7eb1cf3e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-12 22:12:17 +01:00
Uwe Steinmann
074aee914d set date of attachment 2017-12-12 09:48:32 +01:00
Uwe Steinmann
da972bbc2b fix SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:48:05 +01:00
Uwe Steinmann
b63ffa490b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-12 09:35:00 +01:00
Uwe Steinmann
b26c8a6dcf add items for 5.1.5 2017-12-12 09:34:00 +01:00
Uwe Steinmann
a78747cc10 addDocumentFile() returns object of file, new method SeedDMS_Core_DocumentFile::setDate() 2017-12-12 09:33:13 +01:00
Uwe Steinmann
2a3b61aada do not set revision date if it is '0000' 2017-12-12 07:26:24 +01:00
Uwe Steinmann
6d8652f393 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-12-09 07:28:18 +01:00
Uwe Steinmann
0e4b10883f add entry for 5.1.5 2017-12-08 13:41:06 +01:00
Uwe Steinmann
f4c25576bc addRevisor() puts recheck into waiting if recheck has already begun
previously it was put into sleeping, which didn't the user/group
to do the recheck.
2017-12-08 10:52:23 +01:00
Uwe Steinmann
0a38435a2d remove wrong init of $accessop 2017-12-08 10:51:34 +01:00
Uwe Steinmann
7d4a0488ec add controller for AttributeMgr 2017-12-07 18:23:07 +01:00
Uwe Steinmann
6f328af2c9 minor rephrasing 2017-12-07 09:47:03 +01:00
Uwe Steinmann
fe67f3c5ee Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-07 08:58:55 +01:00
Uwe Steinmann
49b1b83f01 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-07 08:58:44 +01:00
Uwe Steinmann
58cbc3a327 some minor updates 2017-12-07 08:58:25 +01:00
Uwe Steinmann
4cd5d9cf21 missing file causes error msg in webserver log
when ErrorDlg is called, the inclusion of js code (webrootjs and
footerjs) needs this file
2017-12-07 08:54:23 +01:00
Uwe Steinmann
0640b39c85 check for === false after calling onPreRemoveDocument 2017-12-07 08:53:40 +01:00
Uwe Steinmann
e4e7dd838f remove empty line in exitError() 2017-12-07 08:53:11 +01:00
Uwe Steinmann
5ddb4df7aa add entry for bug #368 2017-12-06 20:55:48 +01:00
Uwe Steinmann
d0cef58ca7 add url to notification mail 2017-12-06 16:06:24 +01:00
Uwe Steinmann
188343e626 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-06 15:47:10 +01:00
Uwe Steinmann
c104fd8df5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-06 15:47:01 +01:00
Uwe Steinmann
aed61df96e new phrases for transfering documents 2017-12-06 15:46:41 +01:00
Uwe Steinmann
838d6c7753 set warning label in chzn select list 2017-12-06 15:37:43 +01:00
Uwe Steinmann
17a6934321 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-12-06 15:27:55 +01:00
Uwe Steinmann
c401b24d7a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-12-06 15:27:46 +01:00
Uwe Steinmann
6b1c6db9c5 some new phrases for transfering documents, minor updates 2017-12-06 15:27:18 +01:00
Uwe Steinmann
c4f9986900 change icon on button 2017-12-06 15:26:23 +01:00
Uwe Steinmann
87308a3c21 fix icon for revision by group 2017-12-06 13:01:35 +01:00
Uwe Steinmann
6e90ef6b34 add entry to 5.1.5 2017-12-06 09:14:02 +01:00
Uwe Steinmann
116cf9708e add transfer document to menu 2017-12-06 09:13:50 +01:00
Uwe Steinmann
8a26b51ff3 documents can be transfered to another user
include document links, attachments, locks
2017-12-05 18:38:06 +01:00
Uwe Steinmann
b68cfe3893 add SeedDMS_Core_Document::transferToUser() 2017-12-05 18:31:04 +01:00
Uwe Steinmann
bd616ac46e put template func of chzn select into var and reuse it 2017-12-05 18:30:22 +01:00
Uwe Steinmann
33881582de add entry for 5.1.5 2017-12-05 10:14:24 +01:00
Uwe Steinmann
740b871a7a add note for 5.1.5 2017-12-05 10:14:14 +01:00
Uwe Steinmann
541e3ba358 show number or reverse links in documentListRow() 2017-12-05 10:12:37 +01:00
Uwe Steinmann
b593b2471c set option name when attaching to document 2017-12-05 08:29:10 +01:00
Uwe Steinmann
67949fd1cc add link for editing data of attachments 2017-12-05 08:28:03 +01:00
Uwe Steinmann
e3d1cc172b add method to set name, comment, version, public flag of document files 2017-12-05 08:27:14 +01:00
Uwe Steinmann
795b6c52e2 add scripts for modifying attachments 2017-12-05 08:26:40 +01:00
Uwe Steinmann
ecda021289 start new version 5.1.5 2017-12-04 16:01:40 +01:00
Uwe Steinmann
36b23b2bbc pass parameters for previewer 2017-12-04 15:24:00 +01:00
Uwe Steinmann
bfcca8f83e show list of documents in selected category 2017-12-04 15:23:27 +01:00
Uwe Steinmann
822e6c13f2 add optional parameters to getDocumentsByCategory, new method countDocumentsByCategory 2017-12-04 15:22:48 +01:00
Uwe Steinmann
c21388fd72 place remove button in left column 2017-12-04 13:45:48 +01:00
Uwe Steinmann
334f24a02c move remove button below selection menu 2017-12-04 12:33:16 +01:00
Uwe Steinmann
d2baa6ec00 add action menu 2017-12-04 12:01:29 +01:00
Uwe Steinmann
b52ed03cf9 fix error msg if group id isn't passed 2017-12-04 12:00:53 +01:00
Uwe Steinmann
3e7f22fd69 remove some spaces in html output 2017-12-04 11:08:59 +01:00
Uwe Steinmann
552a74ba9f new version 1.0.8 2017-12-04 11:00:56 +01:00
Uwe Steinmann
2a08a3bbaf allow wildcard in mimetypes of converters 2017-12-04 11:00:04 +01:00
Uwe Steinmann
7bd625c8fb new version 1.2.6 2017-12-04 10:59:48 +01:00
Uwe Steinmann
76bc672f5c new method addConverter() 2017-12-04 10:59:07 +01:00
Uwe Steinmann
4c16edf988 new version 1.1.11 2017-12-04 10:58:42 +01:00
Uwe Steinmann
3c1cfe3a0d support wildcard in mimetypes of converters 2017-12-04 10:57:25 +01:00
Uwe Steinmann
92d01dcbd3 fix php error 2017-11-27 12:06:05 +01:00
Uwe Steinmann
c657dabcda Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-24 09:30:22 +01:00
Uwe Steinmann
4f3548d44a add changes for 5.1.5 2017-11-24 09:25:22 +01:00
Uwe Steinmann
2b758afc8b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-11-22 15:31:48 +01:00
Uwe Steinmann
a7ae793a25 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-11-22 15:31:34 +01:00
Uwe Steinmann
67ed00787f major update of slovak, various changes in other languages 2017-11-22 15:30:42 +01:00
Uwe Steinmann
68a6904f70 add converter for mp4 videos 2017-11-22 15:28:28 +01:00
Uwe Steinmann
6cf40f8312 add preview for videos 2017-11-22 15:28:09 +01:00
Uwe Steinmann
313054e1cb set pdf converters 2017-11-22 13:53:30 +01:00
Uwe Steinmann
54ae8b33aa set pdfconverters from settings 2017-11-22 13:53:06 +01:00
Uwe Steinmann
59be3c3598 start new version 1.2.5, add default converter for images 2017-11-22 13:52:24 +01:00
Uwe Steinmann
8e73d88e8e hasConverter() checks if cmd is actually set 2017-11-22 13:50:24 +01:00
Uwe Steinmann
26d8c08ce9 add converters for pdf output 2017-11-21 18:12:58 +01:00
Uwe Steinmann
1d21c18aa3 commands for creating previews can be set 2017-11-21 17:34:24 +01:00
Uwe Steinmann
37a3661698 fix some indenting of lines 2017-11-21 17:26:11 +01:00
Uwe Steinmann
1d8743fd7f handle 'from' propperly, even if it contains a time 2017-11-21 17:12:58 +01:00
Uwe Steinmann
ed5f5bd169 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 13:40:13 +01:00
Uwe Steinmann
545cdb4e32 backup dir can be set in configuration 2017-11-21 11:51:45 +01:00
Uwe Steinmann
78f4d62e36 optimized code to get various document lists 2017-11-21 11:51:12 +01:00
Uwe Steinmann
8bb3821a2f $accessop must be instanciated later 2017-11-21 11:29:49 +01:00
Uwe Steinmann
8af798fe86 views instead of temp. tables can be used 2017-11-21 11:28:49 +01:00
Uwe Steinmann
b29f7b1e9c add method getParent() 2017-11-21 11:28:18 +01:00
Uwe Steinmann
b6ce91c8ee fix validation return value 2017-11-21 11:27:17 +01:00
Uwe Steinmann
68a69c7531 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 10:35:43 +01:00
Uwe Steinmann
60d0a6cae4 remove duplicat call of $this->printDropFolderChooserJs() 2017-11-21 10:24:27 +01:00
Uwe Steinmann
d329de7036 some minor code reorganisation 2017-11-21 10:23:34 +01:00
Uwe Steinmann
53b0d98fa5 init index 2017-11-21 08:48:29 +01:00
Uwe Steinmann
909bfc4a30 remove old code, empty lines 2017-11-21 08:47:49 +01:00
Uwe Steinmann
c6e3aebc48 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 08:47:13 +01:00
Uwe Steinmann
0421b2f0ac add fold marks 2017-11-21 08:47:00 +01:00
Uwe Steinmann
51228b5a8f init index 2017-11-21 08:46:48 +01:00
Uwe Steinmann
64f7e9be10 call notification hooks before and after setting up email notification 2017-11-21 08:41:10 +01:00
Uwe Steinmann
ed6b678b5f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 08:36:21 +01:00
Uwe Steinmann
f5a06f8e69 remove empty line 2017-11-21 08:35:30 +01:00
Uwe Steinmann
cc6f64a1a3 add dir separator to various install directories 2017-11-21 08:34:38 +01:00
Uwe Steinmann
7520634c61 add addDirSep() 2017-11-21 08:34:19 +01:00
Uwe Steinmann
5543333291 move getUser() in file 2017-11-21 08:33:57 +01:00
Uwe Steinmann
4658db9c21 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-11-21 07:16:10 +01:00
Uwe Steinmann
f7224e445e ignore ext 2017-11-21 07:10:15 +01:00
Uwe Steinmann
5c77b3aa7d add replacement for empty.png 2017-11-21 07:09:55 +01:00
Uwe Steinmann
6e05806447 remove some tasks already done 2017-11-21 06:52:24 +01:00
Jörg Neugebauer
10896ca183 Merge branch 'seeddms-5.1.x' of https://git.code.sf.net/p/seeddms/code into seeddms-5.1.x-docblock 2017-11-08 14:09:31 +01:00
Jörg Neugebauer
fd5f341cb9 SeedDMS_Core 2017-11-08 13:54:49 +01:00
Uwe Steinmann
cc8161e353 fix php warning when login fails 2017-11-07 17:50:58 +01:00
Uwe Steinmann
4410868874 started new version 5.1.5 2017-11-07 06:43:25 +01:00
Uwe Steinmann
18c34ce29d Merge branch 'seeddms-5.1.x' 2017-11-02 08:53:59 +01:00
Uwe Steinmann
deb6c7d886 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-11-02 08:42:48 +01:00
Uwe Steinmann
6d29782a7f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-11-02 08:42:39 +01:00
Uwe Steinmann
ad5b4e35b1 some minor updates 2017-11-02 08:42:22 +01:00
Uwe Steinmann
04c83d0fff init $indexconf just in case the full text engine is turned off 2017-11-02 07:54:47 +01:00
Jörg Neugebauer
3f2e24f80d inc.ClassFolder.php 2017-10-28 14:28:12 +02:00
Uwe Steinmann
bae2baf3f5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-10-27 19:44:07 +02:00
Uwe Steinmann
d4c6dc8962 fix getting last sessions
group by didn't work anymore in new mysql versions
2017-10-27 19:42:56 +02:00
Uwe Steinmann
5895a6685a check access 2017-10-27 19:41:05 +02:00
Uwe Steinmann
36b51b64b1 add listExpiredOwner() 2017-10-27 16:48:18 +02:00
Uwe Steinmann
3d6dcbd181 take out duplicate getLatestContent() 2017-10-27 16:47:50 +02:00
Uwe Steinmann
68ccb13a72 add 'ExpiredOwner' to getDocumentList() 2017-10-27 16:47:09 +02:00
Uwe Steinmann
5149511aaa Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-10-27 15:01:18 +02:00
Uwe Steinmann
f12d735124 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-10-27 07:59:42 +02:00
Uwe Steinmann
7abefd6ec9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-10-27 07:59:31 +02:00
Uwe Steinmann
e03bbf112a various small updates 2017-10-27 07:59:12 +02:00
Uwe Steinmann
fcddf29f76 add entry for 5.0.14 2017-10-27 07:42:05 +02:00
Uwe Steinmann
c86bcd50ce Merge commit 'f3490fc6ced1af8d2c96b76c806d47c77553e4f1' into seeddms-5.0.x 2017-10-27 07:38:55 +02:00
Uwe Steinmann
43819b205e Merge commit '957482bc9b23949923f7ac4a3dbb8b8b54892603' into seeddms-5.0.x 2017-10-27 07:38:26 +02:00
Uwe Steinmann
d4b3540130 add some more preview commands 2017-10-27 07:22:11 +02:00
Uwe Steinmann
72b5fc7e8d pass context 'viewitem' to hook documentListItem 2017-10-26 07:57:19 +02:00
Uwe Steinmann
cd075c720f fix params for hook documentListItem 2017-10-26 07:54:16 +02:00
Uwe Steinmann
d4d79f1a84 add entry for 5.1.4 2017-10-26 07:35:48 +02:00
Uwe Steinmann
2892c1e2fb do not show page browser when all search hits are listed 2017-10-26 06:32:36 +02:00
Jörg Neugebauer
ab73fe5298 inc.ClassDMS.php 2017-10-24 14:00:56 +02:00
Jörg Neugebauer
e1fc45b69a inc.ClassDMS.php 2017-10-24 13:36:07 +02:00
Jörg Neugebauer
61382afc7b inc.ClassAttribute.php 2017-10-24 12:44:22 +02:00
Jörg Neugebauer
2ab5db0c6d inc.ClassObject.php 2017-10-24 12:12:38 +02:00
Jörg Neugebauer
b34b936b24 Einfügen DocBlock 2017-10-24 11:53:31 +02:00
Jörg Neugebauer
db678e08da Einfügen DocBlock 2017-10-24 11:10:41 +02:00
Uwe Steinmann
71a8118d5c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-10-21 14:38:09 +02:00
Uwe Steinmann
87f6b093ed Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-10-21 14:37:59 +02:00
Uwe Steinmann
593ea696cd add entry for 4.3.37 2017-10-21 14:37:37 +02:00
Uwe Steinmann
339c45d5c5 various updates 2017-10-21 14:36:54 +02:00
Uwe Steinmann
10c7f33d8e add hook addDocumentAttributes 2017-10-19 13:47:52 +02:00
Uwe Steinmann
51c3b90a58 http headers can be passed to htmlStartPage() 2017-10-19 13:47:25 +02:00
Uwe Steinmann
bd6d66858a add changes for 5.1.4 2017-10-18 06:50:29 +02:00
Uwe Steinmann
e31ce5d8c3 move code into controller 2017-10-18 06:50:15 +02:00
Uwe Steinmann
4889a8a6f2 minor change in comment 2017-10-16 09:07:04 +02:00
Uwe Steinmann
02b91a52cc execute extension code 2017-10-16 09:06:37 +02:00
Uwe Steinmann
91b16892db also check if last content exists 2017-10-16 09:05:45 +02:00
Uwe Steinmann
bd4b85d15e fix syntax error (Closes: #358) 2017-10-16 09:04:01 +02:00
Uwe Steinmann
578bb7c896 check if preRemove[Folder|Document] hook succeeds 2017-10-12 15:41:31 +02:00
Uwe Steinmann
9720703c37 get parameters from view right before used
allows to modify those parameters in preEditFolder hook
2017-10-12 15:40:38 +02:00
Uwe Steinmann
7563ebdbf7 do not pass name and comment to preAddDocument hook 2017-10-12 15:40:09 +02:00
Uwe Steinmann
f6aa3bfc94 move most of the code into the controller 2017-10-12 15:39:28 +02:00
Uwe Steinmann
0e9179a9e5 move most of the logic into the controller 2017-10-12 15:38:41 +02:00
Uwe Steinmann
262fa75c88 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-10-11 14:44:48 +02:00
Uwe Steinmann
d980e09ca0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-10-11 14:44:39 +02:00
Uwe Steinmann
5fc430f1ea new version 1.2.4 2017-10-11 14:41:45 +02:00
Uwe Steinmann
0be8766fce fix typo in converter 2017-10-11 14:40:14 +02:00
Uwe Steinmann
e0038f25d9 add more hooks before and after setting access rights and owner 2017-10-11 14:35:23 +02:00
Uwe Steinmann
adf227f183 don't use latest content anymore
the version is passed to the view
2017-10-11 14:34:46 +02:00
Uwe Steinmann
b24efc1fd3 add icon for files of type opus 2017-10-11 14:34:16 +02:00
Uwe Steinmann
6ad2ce4430 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-10-06 18:08:47 +02:00
Uwe Steinmann
f3ee2d495c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-10-06 18:08:35 +02:00
Uwe Steinmann
b1c4b63ace various updates 2017-10-06 18:08:13 +02:00
Uwe Steinmann
1fe00c1a02 add changes for 5.1.4 2017-10-06 18:06:34 +02:00
Uwe Steinmann
856d7a85af add menu item for expired documents 2017-10-06 18:06:18 +02:00
Uwe Steinmann
2e628d4620 add list of expired documents 2017-10-06 18:05:59 +02:00
Uwe Steinmann
0577a058dc fix title of page 2017-10-06 18:05:39 +02:00
Uwe Steinmann
44ed1bd931 add entries for 5.1.4 2017-10-06 18:00:57 +02:00
Uwe Steinmann
0a3d32785f new view for listing expired documents 2017-10-06 17:59:46 +02:00
Uwe Steinmann
5bf132b170 add virtual access mode for links and attachments 2017-10-06 17:58:46 +02:00
Uwe Steinmann
89eeb98d82 add new method getDocumentsExpired() 2017-10-06 17:58:13 +02:00
Uwe Steinmann
0b8b92076a remove linked files of a version if the version is deleted 2017-10-05 07:37:21 +02:00
Uwe Steinmann
dde468ca9e make strict check for selected options in a select menu
without strict checking an option with value=0 will be treated as if
no option was selected.
2017-09-28 20:48:29 +02:00
Uwe Steinmann
f3d4b86bae remove unused revisionDate in SeedDMS_Core_DocumentFile 2017-09-28 07:27:43 +02:00
Uwe Steinmann
22dce2fdf1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-28 07:26:49 +02:00
Uwe Steinmann
f1f439af8c add support for access restrictions on document content 2017-09-28 07:23:15 +02:00
Uwe Steinmann
031887de0a add var noReadForStatus and method getLoggedInUser() 2017-09-28 07:21:08 +02:00
Uwe Steinmann
c54e16c3b4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-27 18:42:54 +02:00
Uwe Steinmann
3912cbb577 list all rejected documents 2017-09-27 18:37:37 +02:00
Uwe Steinmann
d5f79f5f7c various small improvements back ported from 6.0.x 2017-09-27 18:36:59 +02:00
Uwe Steinmann
5b2da28edd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-27 07:02:38 +02:00
Uwe Steinmann
76a53703a2 set id=userfile for upload file field again
required for form validation. Using .btn-file as before is not
unique and validation fails if there is another input form field
2017-09-27 06:56:58 +02:00
Uwe Steinmann
2c1374bea5 take out echo 2017-09-27 06:20:48 +02:00
Uwe Steinmann
c9d01565ba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-20 09:24:00 +02:00
Uwe Steinmann
ca2c9c8f93 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-20 09:23:46 +02:00
Uwe Steinmann
0967c109d0 urlencode file name in printDropFolderChooserHtml() 2017-09-20 09:22:43 +02:00
Uwe Steinmann
3e2d6e3f74 add preview width for dropfolder lists 2017-09-20 09:20:56 +02:00
Uwe Steinmann
649ed02986 add entry for 4.3.37 2017-09-18 10:54:13 +02:00
Uwe Steinmann
450d4cc27d fix label in form 2017-09-18 10:54:05 +02:00
Uwe Steinmann
f666996f20 remove default icon if preview could not be created 2017-09-18 10:23:40 +02:00
Uwe Steinmann
a1ca5991d8 remove some empty lines 2017-09-18 10:23:26 +02:00
Uwe Steinmann
82ca6f8302 createPreview() returns false if command cannot be executed 2017-09-18 10:22:39 +02:00
Uwe Steinmann
8c776c8269 new version 1.2.3 2017-09-18 07:14:39 +02:00
Uwe Steinmann
626c65b0e4 createPreview() returns falls if converter programm fails 2017-09-18 07:14:09 +02:00
Uwe Steinmann
b4bcb94b6c intialize $index even if action != show 2017-09-11 08:30:35 +02:00
Uwe Steinmann
5f564e2b96 add entry for 5.0.14 2017-09-11 08:22:21 +02:00
Uwe Steinmann
bb3071bdae use cmd timeout when indexing document (Closes 344) 2017-09-11 08:21:28 +02:00
Uwe Steinmann
b5fad8ddec add entry for 5.1.4 2017-09-11 08:18:33 +02:00
Uwe Steinmann
ef6f263fc1 create indexer only if action is not set or 'show' (Closes #340) 2017-09-11 08:16:25 +02:00
Uwe Steinmann
d152d9f3af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-05 18:22:25 +02:00
Uwe Steinmann
4c5dc52fa0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-05 09:35:23 +02:00
Uwe Steinmann
4ba5db88e9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-05 09:32:03 +02:00
Uwe Steinmann
45d0c2618f start new version 4.3.37 2017-09-05 09:27:55 +02:00
Uwe Steinmann
b7014a6b21 Merge branch 'seeddms-5.1.x' 2017-09-05 09:02:05 +02:00
Uwe Steinmann
04346aa4b8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-09-05 06:30:17 +02:00
Uwe Steinmann
76f98e71d3 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-09-05 06:29:42 +02:00
Uwe Steinmann
c76eeec687 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-09-05 06:29:03 +02:00
Uwe Steinmann
64ed59acba few updates of phrases 2017-09-05 06:27:55 +02:00
Uwe Steinmann
3b06c5c8a1 better handling of deleted documents, doesn't show error anymore 2017-09-05 06:24:35 +02:00
Uwe Steinmann
a002ebe704 include settings before logInit 2017-09-01 17:58:14 +02:00
Uwe Steinmann
d73071b38e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 17:00:14 +02:00
Uwe Steinmann
97f7a843e7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-29 12:34:38 +02:00
Uwe Steinmann
2950afdca9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-29 12:34:19 +02:00
Uwe Steinmann
54c0acef42 fix 'send_login_data_body' 2017-08-29 12:34:04 +02:00
Uwe Steinmann
cdd6a494e2 get comment from post 2017-08-29 12:33:11 +02:00
Uwe Steinmann
f4ebf7c261 remove old alert msg 2017-08-29 12:32:57 +02:00
Uwe Steinmann
58bd26966d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 09:22:33 +02:00
Uwe Steinmann
3b427d8d64 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-29 09:22:06 +02:00
Uwe Steinmann
65807e9e04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-29 09:19:02 +02:00
Uwe Steinmann
5e59728979 more updates 2017-08-29 09:18:44 +02:00
Uwe Steinmann
79dd5a2f42 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 07:41:41 +02:00
Uwe Steinmann
f20ee22534 add changelog for 5.0.12 2017-08-29 07:35:40 +02:00
Uwe Steinmann
a9420cfe44 remove entry from 5.1.3 because it was fixed in 4.3.36 2017-08-29 07:23:05 +02:00
Uwe Steinmann
ad08b5af7e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-29 07:22:35 +02:00
Uwe Steinmann
a182a68001 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-29 07:22:20 +02:00
Uwe Steinmann
24939d27ff add entry from 4.3.36 2017-08-29 07:21:51 +02:00
Uwe Steinmann
3884bb7c76 replace button by span in fine-uploader 2017-08-29 07:20:48 +02:00
Uwe Steinmann
987b23269f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-29 06:25:15 +02:00
Uwe Steinmann
60e15d33bc replace button with span in fine-uploader template 2017-08-29 06:24:53 +02:00
Uwe Steinmann
f1b502b2f2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-29 06:21:53 +02:00
Uwe Steinmann
9a871561f8 add item for 5.1.3 2017-08-29 06:19:07 +02:00
Uwe Steinmann
aefbf6ab97 replace button by span in fine-uploader (Closes #339)
the button triggers a form upload in firefox
2017-08-29 06:13:16 +02:00
Uwe Steinmann
4b16d918e8 add item for 5.1.3 2017-08-28 13:47:18 +02:00
Uwe Steinmann
2e4ef97bff orig filename can be used instead of document name 2017-08-28 13:46:16 +02:00
Uwe Steinmann
33b20768ee add note for 5.1.3 2017-08-28 13:45:33 +02:00
Uwe Steinmann
14a10eaf22 add method getDocumentByOriginalFilename() 2017-08-28 13:44:42 +02:00
Uwe Steinmann
b3a41875b3 allow sending login data only if enableEmail is set 2017-08-24 08:39:58 +02:00
Uwe Steinmann
38f90b400d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-24 08:35:19 +02:00
Uwe Steinmann
31284c5688 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-24 08:18:44 +02:00
Uwe Steinmann
7cdef30468 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-24 08:18:34 +02:00
Uwe Steinmann
9b3bb0cb02 various updates, major update of korean 2017-08-24 08:18:06 +02:00
Uwe Steinmann
aecf1ea714 add entry for 4.3.36 2017-08-24 08:17:57 +02:00
Uwe Steinmann
1f47750093 add sending of login data to user 2017-08-24 08:15:48 +02:00
Uwe Steinmann
329aa59012 add command sendlogindata 2017-08-24 08:15:12 +02:00
Uwe Steinmann
27ca63742d fix copyright notice 2017-08-24 08:14:53 +02:00
Uwe Steinmann
94b79fcd09 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-23 13:47:18 +02:00
Uwe Steinmann
fa9e8d9d66 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-23 13:47:04 +02:00
Uwe Steinmann
99fe3a4ff7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-23 13:46:52 +02:00
Uwe Steinmann
6858b98558 do not redirect with host and port (Closes #336) 2017-08-23 13:46:07 +02:00
Uwe Steinmann
e67e830946 add links to remove process without a user/group 2017-08-22 18:01:23 +02:00
Uwe Steinmann
2de2fc00fc add removal of users/groups which has been deleted 2017-08-22 18:00:50 +02:00
Uwe Steinmann
81b153ccd5 add removal of receipts and revisions for users/group no longer available 2017-08-22 18:00:06 +02:00
Uwe Steinmann
716cbfa090 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-22 11:34:48 +02:00
Uwe Steinmann
3c657d74eb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 08:27:03 +02:00
Uwe Steinmann
52781473bc Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 08:26:17 +02:00
Uwe Steinmann
fbd868660d change order of include files for easier merging 2017-08-22 08:25:27 +02:00
Uwe Steinmann
e67c01d4e1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 08:24:43 +02:00
Uwe Steinmann
49b139c9d6 fix syntax error 2017-08-22 08:24:01 +02:00
Uwe Steinmann
353d385f81 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 08:23:43 +02:00
Uwe Steinmann
8671356af8 include LogInit 2017-08-22 07:49:29 +02:00
Uwe Steinmann
1c4944b166 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-22 07:18:32 +02:00
Uwe Steinmann
4042828da3 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 07:18:17 +02:00
Uwe Steinmann
16ad8ba808 add entry for 5.0.11 2017-08-22 07:17:44 +02:00
Uwe Steinmann
eba5645281 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-22 07:15:46 +02:00
Uwe Steinmann
e73e168809 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 07:15:35 +02:00
Uwe Steinmann
8687c90269 include LogInit 2017-08-22 07:15:09 +02:00
Uwe Steinmann
01fb6feeca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-22 06:24:59 +02:00
Uwe Steinmann
2e26504ae7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-22 06:22:28 +02:00
Uwe Steinmann
c68c8b5e52 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-22 06:22:16 +02:00
Uwe Steinmann
79869ff0cf minor fix when dropping a key 2017-08-22 06:22:05 +02:00
Uwe Steinmann
0b8666629b minor fix when dropping a key 2017-08-22 06:20:38 +02:00
Uwe Steinmann
c86525e383 add entry to 6.0.1 2017-08-21 13:44:32 +02:00
Uwe Steinmann
0c8daca856 fix wrong check for extings approval/review file 2017-08-21 13:43:36 +02:00
Uwe Steinmann
e53beb45f4 add comment in removeProcessWithoutUserGroup() 2017-08-03 21:48:55 +02:00
Uwe Steinmann
c5a67c2aeb initial version of removeProcessWithoutUserGroup() 2017-08-03 21:41:03 +02:00
Uwe Steinmann
0e6bd00f96 use view for exitError 2017-08-03 18:43:28 +02:00
Uwe Steinmann
7d0a18861b add note for 6.0.1 2017-08-03 12:43:25 +02:00
Uwe Steinmann
f181ca044d ReceiveOwner list does not contain old versions anymore 2017-08-03 12:42:56 +02:00
Uwe Steinmann
c2200c5a70 add entry for 4.3.36 2017-08-03 08:13:26 +02:00
Uwe Steinmann
f54ed82496 put '()' around last access 2017-08-03 08:12:13 +02:00
Uwe Steinmann
ccc6112714 fix columns of listProcessesWithoutUserGroup 2017-08-03 07:44:26 +02:00
Uwe Steinmann
7c363ff4ef init $processwithoutusergroup 2017-08-03 07:40:42 +02:00
Uwe Steinmann
4e55911213 fix syntax errors 2017-08-03 07:39:22 +02:00
Uwe Steinmann
52a9e37729 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-03 07:38:05 +02:00
Uwe Steinmann
3c2d6a4ee8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-03 07:32:13 +02:00
Uwe Steinmann
3e958d34cb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-03 07:32:01 +02:00
Uwe Steinmann
3a9f27fb29 fix link 2017-08-03 07:31:49 +02:00
Uwe Steinmann
7276df5482 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-03 07:29:10 +02:00
Uwe Steinmann
11810cd29b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-03 07:28:59 +02:00
Uwe Steinmann
cacb7962a5 link documents in list of process without user/group 2017-08-03 07:28:26 +02:00
Uwe Steinmann
11396f2644 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-03 07:19:53 +02:00
Uwe Steinmann
a9dd8842bf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-03 07:19:43 +02:00
Uwe Steinmann
e7a67b67e9 change column headers in processes without user/group 2017-08-03 07:19:13 +02:00
Uwe Steinmann
23860295d1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-03 07:18:14 +02:00
Uwe Steinmann
37335b8ca3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-03 07:18:02 +02:00
Uwe Steinmann
4c532dedea add phrase for process_without_user_group 2017-08-03 07:17:32 +02:00
Uwe Steinmann
6beb2c2785 new phrases, update of zh_CN 2017-08-03 07:13:37 +02:00
Uwe Steinmann
1886b160b9 add single checks for process without user/group 2017-08-03 07:12:46 +02:00
Uwe Steinmann
94a4844616 run check only if required
speeds up calling a single check
2017-08-03 07:12:03 +02:00
Uwe Steinmann
d82f8c44d1 add receipts and revisions in getProcessWithoutUserGroup() 2017-08-03 07:11:25 +02:00
Uwe Steinmann
e878f438fd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-02 18:03:44 +02:00
Uwe Steinmann
50e969452c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 17:41:04 +02:00
Uwe Steinmann
141895b80d quote names in sql statements of getProcessesWithoutUserGroup() 2017-08-02 17:40:27 +02:00
Uwe Steinmann
d0b9084ad6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 17:32:12 +02:00
Uwe Steinmann
711114310b list reviews/approvals which have lost their user/group 2017-08-02 17:31:39 +02:00
Uwe Steinmann
098f15202c add method getProcessWithoutUserGroup()
checks for reviews/approvals which have lost its user or group
2017-08-02 17:30:54 +02:00
Uwe Steinmann
658a666f15 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-02 16:05:42 +02:00
Uwe Steinmann
988f28c664 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 14:02:11 +02:00
Uwe Steinmann
9473d423a8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 14:02:01 +02:00
Uwe Steinmann
3406739f94 add entry for 4.3.36 2017-08-02 14:01:41 +02:00
Uwe Steinmann
0ba02cc2a8 use only svg icons 2017-08-02 14:01:00 +02:00
Uwe Steinmann
2d1b1b1a03 add svg icon for pdf files 2017-08-02 14:00:42 +02:00
Uwe Steinmann
ed1f74baca fix merge error 2017-08-02 12:15:13 +02:00
Uwe Steinmann
9e4b80e25b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-02 12:14:14 +02:00
Uwe Steinmann
5ec13f02af Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 10:57:20 +02:00
Uwe Steinmann
efbc30c0dd Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 10:57:10 +02:00
Uwe Steinmann
0dbf05334d add entry for 4.3.36 2017-08-02 10:56:46 +02:00
Uwe Steinmann
48e1bfa670 regard mandatory reviewers/approvers 2017-08-02 10:56:28 +02:00
Uwe Steinmann
c54faf8f90 regard mandatory reviewers/approvers
the owner of the document may not remove mandatory reviewers/approvers
anymore. Only admin may do that, it he/she is not the owner.
2017-08-02 10:54:40 +02:00
Uwe Steinmann
ea8a695551 maySetReviewersApprovers() checks if review/approval has been done already 2017-08-02 10:53:50 +02:00
Uwe Steinmann
13845065d4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-02 07:06:16 +02:00
Uwe Steinmann
ac184a030a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 07:05:57 +02:00
Uwe Steinmann
0c3355ed9d no extra check enableVersionModificaton
is done by maySetReviewersApprovers()
2017-08-02 07:04:46 +02:00
Uwe Steinmann
4aef48e5f7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-02 07:02:58 +02:00
Uwe Steinmann
b974ee0df2 add entry for 4.3.36 2017-08-02 06:49:01 +02:00
Uwe Steinmann
76508cb52b check with SeedDMS_AccessOperation for allowed operation 2017-08-02 06:47:48 +02:00
Uwe Steinmann
e0dcd86f5a add optional version number to mayEditOnline() 2017-08-02 06:46:44 +02:00
Uwe Steinmann
16461fef75 two column layout 2017-08-01 18:09:01 +02:00
Uwe Steinmann
9fe0a39321 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-01 11:33:35 +02:00
Uwe Steinmann
00a91b621c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-01 10:30:22 +02:00
Uwe Steinmann
5e640ad42b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-01 10:30:09 +02:00
Uwe Steinmann
11f67105bd minor updates 2017-08-01 10:29:50 +02:00
Uwe Steinmann
22406501dd add entry for 4.3.36 2017-08-01 10:24:02 +02:00
Uwe Steinmann
64e75e8064 correct rootDir if not set propperly, set contentDir below rootDir 2017-08-01 10:22:42 +02:00
Uwe Steinmann
1339c36d67 do not add dir separator to contentDir if it is empty 2017-08-01 10:22:10 +02:00
Uwe Steinmann
df193261b3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-01 09:11:20 +02:00
Uwe Steinmann
a86985a4a0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-08-01 09:08:55 +02:00
Uwe Steinmann
34b59ab4f6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-08-01 09:08:45 +02:00
Uwe Steinmann
3697ab0da1 new phrases 2017-08-01 09:08:31 +02:00
Uwe Steinmann
abfc3a248d list number of files in drop folder, don't show menu if no files available 2017-08-01 09:03:58 +02:00
Uwe Steinmann
ca479f29d9 add entry for 5.1.3 2017-08-01 08:50:13 +02:00
Uwe Steinmann
e9c6c09fa1 fix typo 2017-08-01 08:47:53 +02:00
Uwe Steinmann
52395af0ce add entry for 6.0.1 2017-08-01 08:46:34 +02:00
Uwe Steinmann
8f59babaad Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-08-01 08:37:31 +02:00
Uwe Steinmann
85cc7c017f send mails to reviewer and approver 2017-08-01 08:36:17 +02:00
Uwe Steinmann
e8b09b3f03 do not send notification to owner anymore
was sent when current user != owner
2017-08-01 08:04:46 +02:00
Uwe Steinmann
d16ec5d631 pass dropfolderfile to view 2017-08-01 07:58:27 +02:00
Uwe Steinmann
2958667600 pass folder id to DropFolderChooser::menuList 2017-08-01 07:58:05 +02:00
Uwe Steinmann
f35b9bf5c5 show preview image, link to out.AddDocument.php if folder is set 2017-08-01 07:57:16 +02:00
Uwe Steinmann
e1bd23b828 drop folder file can be passed by http request 2017-08-01 07:56:31 +02:00
Uwe Steinmann
ecc8cd9594 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-31 20:32:47 +02:00
Uwe Steinmann
b5c16a24c7 first check if $_GER[form] is set 2017-07-31 20:32:23 +02:00
Uwe Steinmann
05671428e1 file in drop folder can be shown in menu as item 2017-07-31 20:30:59 +02:00
Uwe Steinmann
887612ddf9 add entry for 6.0.1 2017-07-31 15:37:20 +02:00
Uwe Steinmann
547eb06725 show logs to owner of document 2017-07-31 15:37:05 +02:00
Uwe Steinmann
b5a7f41a8e show logs to owner of document 2017-07-31 15:36:34 +02:00
Uwe Steinmann
b0dfeca98b show progress of receptions also to owner of document, show numbers 2017-07-31 15:12:12 +02:00
Uwe Steinmann
3074e2f530 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:49:36 +02:00
Uwe Steinmann
a7c24043d4 add entry from 5.1.3 2017-07-31 14:49:16 +02:00
Uwe Steinmann
78e66b20d4 do not show quota info if turne off 2017-07-31 14:48:56 +02:00
Uwe Steinmann
b0013b9304 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:23:30 +02:00
Uwe Steinmann
5396829d7f take out echos 2017-07-31 14:23:16 +02:00
Uwe Steinmann
2de7d8931a set status[receipt] and status[revision] to empty array if not set 2017-07-31 14:22:12 +02:00
Uwe Steinmann
7b5412ff36 remove from process only if status[receipt], status[revision] is not set 2017-07-31 14:21:24 +02:00
Uwe Steinmann
596cb2afd6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 14:18:18 +02:00
Uwe Steinmann
2a4b8ffcfc remove from process only if status[review], status[approval] is not set 2017-07-31 14:17:41 +02:00
Uwe Steinmann
f307658290 do not remove from process when none is checked 2017-07-31 14:16:45 +02:00
Uwe Steinmann
cda9f99f9e show right values for receipts and revisions 2017-07-31 14:13:27 +02:00
Uwe Steinmann
07d760d7d8 fix remove from process for receipts and revisions 2017-07-31 14:13:02 +02:00
Uwe Steinmann
014b7ac201 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 13:22:28 +02:00
Uwe Steinmann
c6a69f399b separate removal of reviews and approvals 2017-07-31 13:21:56 +02:00
Uwe Steinmann
c32bff5074 separate removal of reviews and approval 2017-07-31 13:21:01 +02:00
Uwe Steinmann
4c60fbde5d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 12:52:53 +02:00
Uwe Steinmann
485a6f7651 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-31 12:52:44 +02:00
Uwe Steinmann
48dc573e80 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-31 12:52:34 +02:00
Uwe Steinmann
35d24d9062 new phrases 2017-07-31 12:52:20 +02:00
Uwe Steinmann
88585418f8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 12:43:05 +02:00
Uwe Steinmann
b79cd1e9c6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-31 12:42:50 +02:00
Uwe Steinmann
9cec7debe7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-31 12:42:36 +02:00
Uwe Steinmann
60fca04dda new phrases 2017-07-31 12:42:18 +02:00
Uwe Steinmann
acb6337503 remove receipts and revisions 2017-07-31 12:41:28 +02:00
Uwe Steinmann
114a8a3ac1 move code in remove() into __removeFromProcesses() 2017-07-31 11:54:24 +02:00
Uwe Steinmann
afefe1d66c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-31 11:49:43 +02:00
Uwe Steinmann
d53e17d746 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-31 11:37:04 +02:00
Uwe Steinmann
edb6874e4b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-31 11:36:49 +02:00
Uwe Steinmann
bdf27e260b new phrases 2017-07-31 11:36:32 +02:00
Uwe Steinmann
065e355cef new entry for 5.1.3 2017-07-31 11:30:23 +02:00
Uwe Steinmann
d16abca52f fix upload of attachments 2017-07-31 11:29:45 +02:00
Uwe Steinmann
eb734ae755 use bootstrap forms 2017-07-31 11:29:24 +02:00
Uwe Steinmann
2d2dd8f1bf docs, folders etc. can be transferred 2017-07-31 11:28:39 +02:00
Uwe Steinmann
ca58278f29 new files for transfering docs, folders, etc. to a new owner 2017-07-31 11:27:32 +02:00
Uwe Steinmann
36e2b29e8a add note for 5.1.3 2017-07-31 11:26:34 +02:00
Uwe Steinmann
58ddbca857 add new methods transferDocumentsFolders() transferEvents() 2017-07-31 11:25:33 +02:00
Uwe Steinmann
67f2d70ce4 fix uploading of attachments 2017-07-31 11:24:42 +02:00
Uwe Steinmann
baa4b3264b - add entry 5.1.3 2017-07-28 18:26:59 +02:00
Uwe Steinmann
a2802f124d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 18:25:49 +02:00
Uwe Steinmann
25a1392d5c list number of users the selected user is a mandatory reviewer/approver of 2017-07-28 18:23:56 +02:00
Uwe Steinmann
8513e5c2a8 add note for 5.1.3 2017-07-28 18:23:37 +02:00
Uwe Steinmann
a0600573dc add methods isMandatoryReviewerOf() and isMandatoryApproverOf() 2017-07-28 18:22:53 +02:00
Uwe Steinmann
e953d9dcbb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 15:12:00 +02:00
Uwe Steinmann
df0069024f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-28 14:58:34 +02:00
Uwe Steinmann
91e6f36f2b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-28 14:58:23 +02:00
Uwe Steinmann
52a8bec019 new phrases 2017-07-28 14:58:09 +02:00
Uwe Steinmann
d8ae673270 finish removal from process 2017-07-28 14:57:17 +02:00
Uwe Steinmann
d0ab0d0f9f add option parameter $states to __removeFromProcesses()
restricts removal to certain approval/review states
2017-07-28 14:56:18 +02:00
Uwe Steinmann
1ecb6236c0 add SeedDMS_Core_DMS::getDocumentList() for pending approvals and reviews 2017-07-28 12:39:08 +02:00
Uwe Steinmann
71705c548c add new function to remove user from all processes 2017-07-28 12:35:18 +02:00
Uwe Steinmann
dee74c96e6 add new action 'removefromprocesses' 2017-07-28 12:34:37 +02:00
Uwe Steinmann
4d178a225d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 11:24:09 +02:00
Uwe Steinmann
78f54e7155 add note for 5.1.3 2017-07-28 11:23:47 +02:00
Uwe Steinmann
7f76864f41 take out entry from 6.0.1 because feature was added in 5.1.3 2017-07-28 11:22:31 +02:00
Uwe Steinmann
6cebc644c2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 11:21:58 +02:00
Uwe Steinmann
096a119399 add icon to substitute button 2017-07-28 11:07:56 +02:00
Uwe Steinmann
1309377eb1 nicer layout
put all action buttons into one place, remove frame from selection box
2017-07-28 11:03:34 +02:00
Uwe Steinmann
2c41c57a13 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:32:10 +02:00
Uwe Steinmann
f4a18d5e92 new notes for 5.1.3 2017-07-28 10:31:12 +02:00
Uwe Steinmann
8b9875a771 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:30:31 +02:00
Uwe Steinmann
c0d514eb4f add entry for 5.1.3 2017-07-28 10:30:10 +02:00
Uwe Steinmann
cb17de44fc getNotifyList() returns only users which are not disabled 2017-07-28 10:28:57 +02:00
Uwe Steinmann
378e071232 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-28 10:25:54 +02:00
Uwe Steinmann
7576bbf298 show workflows involved only if advanced workflow is on 2017-07-28 10:24:32 +02:00
Uwe Steinmann
8419fd13ac Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-28 09:37:49 +02:00
Uwe Steinmann
cdf98f243f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-28 09:37:39 +02:00
Uwe Steinmann
29e3f8def4 new phrases and updates 2017-07-28 09:37:17 +02:00
Uwe Steinmann
9edbfd4a0f add note for 5.1.3 2017-07-28 09:36:28 +02:00
Uwe Steinmann
70b869fb24 show number of notifications, workflows and keyword categories 2017-07-28 09:35:59 +02:00
Uwe Steinmann
d55d266731 add new methods to SeedDMS_Core_User
removeFromProcesses(), getWorkflowsInvolved(), getKeywordCategories()
2017-07-28 09:35:12 +02:00
Uwe Steinmann
bfd8184648 notes for 6.0.1 2017-07-27 22:11:42 +02:00
Uwe Steinmann
e851c7967a list number of all open tasks in user info 2017-07-27 22:11:17 +02:00
Uwe Steinmann
29bc0c1fda getNotifyList() returns only users which are not disabled 2017-07-27 22:10:44 +02:00
Uwe Steinmann
268d844b43 fix some comments 2017-07-27 21:17:58 +02:00
Uwe Steinmann
ab141b84df show last access in online users only to admins 2017-07-27 21:17:31 +02:00
Uwe Steinmann
dd94898b19 import revisions 2017-07-27 21:17:11 +02:00
Uwe Steinmann
88d89c206d export revision date 2017-07-27 21:16:38 +02:00
Uwe Steinmann
1f701a84e4 group last access sessions by userid 2017-07-27 13:42:12 +02:00
Uwe Steinmann
ffc00a6beb add entry for 6.0.1 2017-07-27 13:27:37 +02:00
Uwe Steinmann
aabbb5c254 add notes for 6.0.1 2017-07-27 13:27:25 +02:00
Uwe Steinmann
9f2fd0e2ec check for int -1 and 1 instead of string "-1" and "1"
SeedDMS_Acl_Aro::getPermission() returns int anyway
2017-07-27 12:36:42 +02:00
Uwe Steinmann
05489891f7 getPermission() returns always an int 2017-07-27 12:36:20 +02:00
Uwe Steinmann
c953d02604 views instead of temp. tables can be used
This speeds up many sql statements for mysql and pgsql
2017-07-27 12:34:46 +02:00
Uwe Steinmann
f5333e7c8d fix field name in getDocumentList(), 'maxLogId' must be 'maxLogID'
otherwise the statement fails for pgsql
2017-07-27 12:32:27 +02:00
Uwe Steinmann
752f4e8760 take out order by in temp. tables 2017-07-26 12:14:56 +02:00
Uwe Steinmann
b5ae39836c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-26 07:56:05 +02:00
Uwe Steinmann
8b848cc05a set 'showtree' for view 2017-07-26 07:55:49 +02:00
Uwe Steinmann
a7660a5825 take out check for value in value set
This check is being done by the validation already
2017-07-26 07:50:36 +02:00
Uwe Steinmann
ee13f8d084 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-21 16:56:33 +02:00
Uwe Steinmann
6c6661f1eb add entries for 5.1.3 2017-07-21 16:56:16 +02:00
Uwe Steinmann
e5f917bdc1 fix output of validation errors, add link to search for attribute value 2017-07-21 16:54:49 +02:00
Uwe Steinmann
407ef2097d pass regex to getValidationText 2017-07-21 16:54:17 +02:00
Uwe Steinmann
29ec098798 correct entry for 6.0.1 2017-07-21 16:08:04 +02:00
Uwe Steinmann
62878f29e0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-21 16:07:43 +02:00
Uwe Steinmann
ab9f62aa3c add entry for 5.1.3 2017-07-21 16:07:23 +02:00
Uwe Steinmann
bec7fc2735 check access of reviewer, approver on document 2017-07-21 16:06:03 +02:00
Uwe Steinmann
0483e44ddc new note for 6.0.1 2017-07-21 14:43:02 +02:00
Uwe Steinmann
d954b4df1d getReverseSubstitutes() works with roles 2017-07-21 14:41:39 +02:00
Uwe Steinmann
66044f8b4a add entry for 6.0.1 2017-07-21 13:56:59 +02:00
Uwe Steinmann
6847e1b6db check if user has access and is not disabled іf reviewer, approver, etc.
also check if group has members if set as reviewer, approver, etc.
2017-07-21 13:52:57 +02:00
Uwe Steinmann
aa162b6601 add note for 6.0.1 2017-07-21 11:48:52 +02:00
Uwe Steinmann
26cb15fe21 verify status after setting revisors 2017-07-21 11:48:32 +02:00
Uwe Steinmann
37e03e2e9e SeedDMS_Core_Document::checkForDueRevisionWorkflow() also checks if there are any waiting or pending revisions at all 2017-07-21 11:48:01 +02:00
Uwe Steinmann
6aee48fc08 do not try to get orderby and orderdir from view, because it is not set 2017-07-20 18:22:58 +02:00
Uwe Steinmann
09dd448b40 set right message when removing revisor 2017-07-20 18:22:33 +02:00
Uwe Steinmann
a846bcf633 replace sql statement by function in SeedDMS_Core_Document 2017-07-20 18:21:24 +02:00
Uwe Steinmann
bbad479580 use define S_LOG_USER_REMOVED 2017-07-20 18:21:05 +02:00
Uwe Steinmann
7c01cadb2f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-20 17:05:25 +02:00
Uwe Steinmann
2fe4724bfd set $indexconf to null if fulltext is disabled 2017-07-20 17:04:26 +02:00
Uwe Steinmann
58a90d595f get setfilesize from view 2017-07-20 17:02:37 +02:00
Uwe Steinmann
cfc73b1183 check if user is disabled in list of receiver, revisors 2017-07-20 17:02:09 +02:00
Uwe Steinmann
28e84443d8 check if comment has been set already in list of receiption comments 2017-07-20 17:01:25 +02:00
Uwe Steinmann
c03566336a skip user if disabled 2017-07-20 17:00:41 +02:00
Uwe Steinmann
9e87300567 also check if user is disabled 2017-07-20 17:00:19 +02:00
Uwe Steinmann
7259c668c4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-20 15:09:39 +02:00
Uwe Steinmann
c44b7853b2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-20 15:09:26 +02:00
Uwe Steinmann
c0797cc896 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-20 15:09:12 +02:00
Uwe Steinmann
9c4aa5a173 add entry for 4.3.36 2017-07-20 15:08:55 +02:00
Uwe Steinmann
f95baff393 remove box around table, mark disabled user as red line 2017-07-20 15:07:52 +02:00
Uwe Steinmann
5d6a56d95c add missing engl. translations 2017-07-20 15:00:42 +02:00
Uwe Steinmann
49053d054a add entry for 4.3.36 2017-07-19 19:16:01 +02:00
Uwe Steinmann
61df93ba13 showtree() checks expandFolderTree (partially resolves #312) 2017-07-19 19:14:28 +02:00
Uwe Steinmann
986253c2e5 add entry for 4.3.36 2017-07-19 19:03:51 +02:00
Uwe Steinmann
78ba1c131b make sure contentDir ends with DIRECTORY_SEPERATOR (Closes #323) 2017-07-19 17:45:38 +02:00
Uwe Steinmann
6ee9288cb0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-19 17:24:33 +02:00
Uwe Steinmann
5475764630 add changelog for 5.1.3 2017-07-19 17:23:55 +02:00
Uwe Steinmann
80a514645c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-19 17:23:26 +02:00
Uwe Steinmann
98b25c3f04 add changes for 5.0.13 2017-07-19 17:22:05 +02:00
Uwe Steinmann
d97e2da49d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-19 17:21:41 +02:00
Uwe Steinmann
80ef51c0f3 add entry for 4.3.35 2017-07-19 17:20:42 +02:00
Uwe Steinmann
80c78ba25c remove empty lines at end of file 2017-07-19 17:18:25 +02:00
Uwe Steinmann
fdf14b2a1f Merge branch 'seeddms-5.1.x' 2017-07-19 08:30:53 +02:00
Uwe Steinmann
0b88f3b30b add script for checking for open tasks of each or individual users 2017-07-19 08:26:03 +02:00
Uwe Steinmann
7601e62504 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-18 13:38:36 +02:00
Uwe Steinmann
41363c403c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-18 13:38:25 +02:00
Uwe Steinmann
1c833433e8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-18 13:38:14 +02:00
Uwe Steinmann
b4b92a743f some minor updates 2017-07-18 13:37:58 +02:00
Uwe Steinmann
78e1ac7572 add filter for doc status 4 and 5 2017-07-18 13:37:09 +02:00
Uwe Steinmann
d879cc6114 group recepition comments in documentListRow() 2017-07-18 13:36:28 +02:00
Uwe Steinmann
00b4817bc7 add formatComment()
used to group comments entered for receiption of document
2017-07-18 13:35:35 +02:00
Uwe Steinmann
a5688a7c3b turn on new sql statements in getDocumentList() 2017-07-18 13:35:01 +02:00
Uwe Steinmann
5c882bdbb2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-17 18:00:09 +02:00
Uwe Steinmann
a8a939cb3d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-17 17:59:56 +02:00
Uwe Steinmann
9d3d91a037 move notes into 4.3.36 2017-07-17 17:59:36 +02:00
Uwe Steinmann
9ea079d580 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-17 17:58:46 +02:00
Uwe Steinmann
525a947a19 add entry for 4.3.36 2017-07-17 17:57:45 +02:00
Uwe Steinmann
de6564c7e9 fix sql statement for creating temp. tables ttreviewid and ttapproveid 2017-07-17 17:57:01 +02:00
Uwe Steinmann
3fd1dfe87a fix sql for creating temp table ttreviewid and ttapproveid 2017-07-17 17:52:19 +02:00
Uwe Steinmann
3213aa168f more efficient sql code in getDocumentList() 2017-07-17 17:51:38 +02:00
Uwe Steinmann
b855389965 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-13 18:08:56 +02:00
Uwe Steinmann
a0651239dd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-13 18:03:15 +02:00
Uwe Steinmann
b7a55bdb18 add 5.0.13 to releases, new version 5.1.3 2017-07-13 18:00:05 +02:00
Uwe Steinmann
e029e8e55a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-13 17:56:31 +02:00
Uwe Steinmann
afbb166505 add 4.3.36 to list of releases 2017-07-13 17:52:16 +02:00
Uwe Steinmann
d7f679428d add entry for 6.0.1 2017-07-13 14:58:47 +02:00
Uwe Steinmann
d6e10dddd6 pass $content to controller, not $latestContent
$latestContent and $content are different objects. If $latestContent
is passed to the controller, its status will be updated in the object
but $content has still the old status. Getting the status later on
from $content, still returns the old content.
2017-07-13 14:55:51 +02:00
Uwe Steinmann
6e37e1ded6 fix check for new content status 2017-07-13 14:11:04 +02:00
Uwe Steinmann
24e34184e8 set highlight and unhighligth functions in validato, remove old js code 2017-07-13 08:52:01 +02:00
Uwe Steinmann
a34d2d8855 set highlight and unhighligth functions in validator 2017-07-13 08:51:32 +02:00
Uwe Steinmann
7bc2b140b9 validate current password, set highlight and unhiglight functions
remove old js code
2017-07-13 08:50:39 +02:00
Uwe Steinmann
f1cfa81c39 set splash messages after succesful saving the data 2017-07-13 08:49:50 +02:00
Uwe Steinmann
b43200703b start new version 4.3.36 2017-07-11 18:12:31 +02:00
Uwe Steinmann
e79a0015f9 Merge tag '5.1.2' 2017-07-11 18:05:39 +02:00
Uwe Steinmann
8e3919ae09 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-11 11:23:08 +02:00
Uwe Steinmann
17b4142912 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-11 11:14:24 +02:00
Uwe Steinmann
b1e4572761 turn all hrefs to out.XxxxVvvv.php into ../out/out.XxxxVvvv.php 2017-07-11 11:12:54 +02:00
Uwe Steinmann
7f1766ba94 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 15:12:19 +02:00
Uwe Steinmann
0b6cb26481 fix notes for 5.1.2 and 5.0.12 2017-07-10 15:11:04 +02:00
Uwe Steinmann
25d609d894 add changelog for 5.0.12 2017-07-10 15:08:16 +02:00
Uwe Steinmann
efd8273901 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 15:06:33 +02:00
Uwe Steinmann
b0a9767bfb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-10 15:03:58 +02:00
Uwe Steinmann
aad36c0973 and changes for 5.0.12 2017-07-10 14:57:07 +02:00
Uwe Steinmann
18b7df494e Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 11:14:20 +02:00
Uwe Steinmann
72c637d57d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-07-10 11:14:09 +02:00
Uwe Steinmann
c812d61c4d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-07-10 11:13:57 +02:00
Uwe Steinmann
ab6665d64d add entry form 4.3.35 2017-07-10 11:13:38 +02:00
Uwe Steinmann
d4438dee36 various language updates 2017-07-10 11:12:20 +02:00
Uwe Steinmann
c26d13484f fix regex expression 2017-07-10 10:32:21 +02:00
Uwe Steinmann
99682a11d1 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-07-10 07:50:33 +02:00
Uwe Steinmann
410654cb19 add more entries for 6.0.1 2017-07-05 14:40:57 +02:00
Uwe Steinmann
bb4c6fe83b show if user has no access on document he/she has to receipt 2017-07-05 10:49:39 +02:00
Uwe Steinmann
310fa41bc2 return more entries in printProtocol() for receipt list 2017-07-05 10:48:56 +02:00
Uwe Steinmann
c6f7b03700 also check for access on document content 2017-07-05 10:48:24 +02:00
Uwe Steinmann
bdcf9d8e93 add notes for 6.0.1 2017-07-05 10:48:03 +02:00
Uwe Steinmann
1249d069c7 add note on deprecated $noReadForStatus 2017-07-05 10:47:23 +02:00
Uwe Steinmann
0e2b8df36b fix sql statement to create temp table ttrevisionid and ttreceiptid 2017-07-05 10:45:12 +02:00
Uwe Steinmann
1326f825d3 $dms->noReadForStatus no longer needed
SeedDMS_Core_DocumentContent::getAccessMode() retrieves the role based
access restrictions from the role of the given user
2017-07-05 10:43:14 +02:00
Uwe Steinmann
78cbe8ad5d fix typo 2017-06-29 16:42:06 +02:00
Uwe Steinmann
fd55920c52 fix error in preset button 2017-06-29 16:38:16 +02:00
Uwe Steinmann
258c3fae0b change field name of attributes to 'attributes_version'
makes much more sense because the attributes are version attributes.
2017-06-29 16:32:42 +02:00
Uwe Steinmann
2a38d713b8 get approval status before sending notification mails
the approval status was simply not known because part of the code
went into the controller
2017-06-29 15:34:32 +02:00
Uwe Steinmann
8531371f67 also take out ORDER BY in temp. tables for pgsql driver 2017-06-28 15:29:17 +02:00
Uwe Steinmann
1db5675990 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-06-28 15:27:50 +02:00
Uwe Steinmann
4a590ef8e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-06-28 15:11:29 +02:00
Uwe Steinmann
17c8163972 add note for 4.3.35 2017-06-28 15:00:07 +02:00
Uwe Steinmann
a2fc405eae do not sort some temp. tables anymore
it causes an error if sql_mode=only_full_group_by is set in mysql
2017-06-28 14:59:29 +02:00
Uwe Steinmann
8c0e832414 add note 2017-06-27 17:08:23 +02:00
Uwe Steinmann
2471aab8cc check for callback onAttributeValidate 2017-06-27 17:06:32 +02:00
Uwe Steinmann
7372ccfe11 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-26 10:26:17 +02:00
Uwe Steinmann
74a5517c4f skip some files from distribution 2017-06-26 10:25:55 +02:00
Uwe Steinmann
919f4cb39c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-26 10:20:48 +02:00
Uwe Steinmann
ae06028d20 add note 2017-06-24 07:16:54 +02:00
Uwe Steinmann
31ed9a729f remove old code 2017-06-24 07:16:13 +02:00
Uwe Steinmann
93380ab261 add hook on(Pre|Post)RemoveContent 2017-06-24 07:15:37 +02:00
Uwe Steinmann
500bade66a get name and comment from parameters after preUpdateDocument has been called 2017-06-23 12:58:36 +02:00
Uwe Steinmann
9927d76b9d data-base attribute can be added to <div class"ajax"> 2017-06-22 17:18:25 +02:00
Uwe Steinmann
23c53d112d use ViewOnline instead of Download for preview 2017-06-20 09:14:45 +02:00
Uwe Steinmann
d2da3004bb check for data-base in div-ajax 2017-06-20 09:13:56 +02:00
Uwe Steinmann
01cd47401c more documentation on return value of callHook 2017-06-20 09:13:24 +02:00
Uwe Steinmann
e7b0e7bdde Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-19 12:52:12 +02:00
Uwe Steinmann
ed531dc35d fix inclusion of file 2017-06-19 11:08:06 +02:00
Uwe Steinmann
977f28c30c fix merge errors 2017-06-14 16:26:01 +02:00
Uwe Steinmann
b59b6a0cfb pass initial status from settings to updateDocument 2017-06-14 14:04:38 +02:00
Uwe Steinmann
652e7a82af Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-06-13 14:48:55 +02:00
Uwe Steinmann
7d6fd23c6d check if return value of hook is != null 2017-06-13 14:47:16 +02:00
Uwe Steinmann
7a1c4b495c set error msg only if not already set 2017-06-13 14:47:04 +02:00
Uwe Steinmann
dc58e02d25 add hook for editing attribute, return value of hook can be an empty array 2017-06-09 15:13:49 +02:00
Uwe Steinmann
4b89d920cb check if returned array is not empty 2017-06-09 15:13:15 +02:00
Uwe Steinmann
9958e79315 add new action 'webrootjs' which returns some javascript with webroot path 2017-06-09 12:30:23 +02:00
Uwe Steinmann
778f94f0d1 use AddDocument controller when uploading a document
this will make sure all hooks are being called
2017-06-09 12:29:20 +02:00
Uwe Steinmann
d64a662aed get name and comment after preAddDocument hook, set generic err msg only if hook hasn't set one 2017-06-09 12:28:17 +02:00
Uwe Steinmann
883131d61e add method setErrorMsg() 2017-06-09 12:27:26 +02:00
Uwe Steinmann
58589bde70 use new seeddms_webroot 2017-05-17 09:22:37 +02:00
Uwe Steinmann
4eb3b5ed4d add new js file webrootjs which contains the http root 2017-05-17 09:22:05 +02:00
Uwe Steinmann
14d861dfda call various new hooks, add method to output button and wrap buttons in row 2017-05-17 09:21:26 +02:00
Uwe Steinmann
41f58c3ee4 rename editDocumentAttribute to addDocumentAttribute 2017-05-15 18:23:16 +02:00
Uwe Steinmann
98e7615c5b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-12 18:46:25 +02:00
Uwe Steinmann
9c678a90f3 add view for listing tasks 2017-05-12 18:21:42 +02:00
Uwe Steinmann
38902d1105 new item for 5.1.2 2017-05-12 18:10:57 +02:00
Uwe Steinmann
b406d31ea0 add menu tasks including checkbox in settings for enabling it 2017-05-12 18:09:53 +02:00
Uwe Steinmann
440c7032f0 add method getDocumentList(), limit number of duplicate contents to 1000 2017-05-12 18:08:56 +02:00
Uwe Steinmann
72aa0375b7 take out old method menuTask() 2017-05-12 14:19:10 +02:00
Uwe Steinmann
be80af1503 use showTextField() for conf. of extension 2017-05-12 13:26:20 +02:00
Uwe Steinmann
add8c5ae2e propperly set status in reject mail 2017-05-12 13:25:58 +02:00
Uwe Steinmann
092967004a Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-12 08:23:42 +02:00
Uwe Steinmann
ba44ee14a7 add note for 5.1.2 2017-05-12 08:17:45 +02:00
Uwe Steinmann
3c9c0b7e3a check if onPreRemove[Document|Folder] returns bool or null 2017-05-12 08:16:05 +02:00
Uwe Steinmann
19aa2b5e45 add __invoke() method 2017-05-12 08:15:26 +02:00
Uwe Steinmann
3de40aa6b1 fix doc of init(), some globals are not available 2017-05-12 08:14:24 +02:00
Uwe Steinmann
cb61fdacb3 add form key, fix uploading with fine-uploader 2017-05-04 13:49:45 +02:00
Uwe Steinmann
b64c737302 fix uploading from drop folder, when enable large file support is on 2017-05-04 13:49:01 +02:00
Uwe Steinmann
8e69893e89 move updating document into controller 2017-05-04 13:48:07 +02:00
Uwe Steinmann
0ddabba869 call hook addDocumentContentAttributes 2017-05-04 11:04:08 +02:00
Uwe Steinmann
944186b9d7 change label of version field to 'version' 2017-05-04 09:08:34 +02:00
Uwe Steinmann
af059d6554 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-05-03 14:10:03 +02:00
Uwe Steinmann
037429837d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-05-03 14:09:52 +02:00
Uwe Steinmann
9eeeedf22d new phrases and updates 2017-05-03 14:09:34 +02:00
Uwe Steinmann
9801f5e481 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-05-02 21:02:00 +02:00
Uwe Steinmann
97bab1ead8 check if $conf['help'] and $conf['size'] is set before using it 2017-05-02 21:00:36 +02:00
Uwe Steinmann
73389a7e57 set 'help' of extension configuration as title attr 2017-05-02 20:55:30 +02:00
Uwe Steinmann
53f646114a set from_address as return path if set 2017-05-02 20:52:40 +02:00
Uwe Steinmann
4e883444f2 fix check for value in value set 2017-05-02 18:33:07 +02:00
Uwe Steinmann
b60e5a9d97 fix check whether value is in value set 2017-05-02 18:31:23 +02:00
Uwe Steinmann
9ab19afe03 check return value of hook
no return value will be discarded, array and objects are put into an array, strings are concatened
2017-05-02 18:29:47 +02:00
Uwe Steinmann
7c7dfc1411 handle hooks with two arguments 2017-05-02 18:28:56 +02:00
Uwe Steinmann
07d77858f0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-05-02 17:18:32 +02:00
Uwe Steinmann
d3913318f5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-05-02 17:18:16 +02:00
Uwe Steinmann
2c19bb0e6f show role of users in user list 2017-05-02 17:17:52 +02:00
Uwe Steinmann
3cc572a1cd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-05-02 06:47:42 +02:00
Uwe Steinmann
adb7368acc do not set id in input field for file upload field
field can be duplicated and that makes the id no unique
2017-04-28 13:12:20 +02:00
Uwe Steinmann
2ddb45fa08 fix js for duplicating file upload field 2017-04-28 13:11:49 +02:00
Uwe Steinmann
b57e91e675 add warning for sqlite which cannot put table mods into transaction 2017-04-28 13:10:25 +02:00
Uwe Steinmann
cdbb70f3b9 take out method addAttachments() 2017-04-28 13:09:56 +02:00
Uwe Steinmann
5376a6ad75 add entry for 5.1.2 2017-04-27 17:58:46 +02:00
Uwe Steinmann
2533ef845b add new method getFileChooser() which is called by printFileChooser() 2017-04-27 17:21:52 +02:00
Uwe Steinmann
bd0064e5ab remove attachment upload 2017-04-27 17:21:24 +02:00
Uwe Steinmann
fe13c6cee1 move code into controller 2017-04-27 17:21:05 +02:00
Uwe Steinmann
73ecd55974 move code into controller 2017-04-27 17:20:33 +02:00
Uwe Steinmann
6ee6e3fde2 take out enableAttachmentUpload 2017-04-27 17:19:49 +02:00
Uwe Steinmann
19d13f5b30 make fine uploader and btn-file usable twice on a page 2017-04-27 06:52:50 +02:00
Uwe Steinmann
b1d5548853 also upload attachment if passed 2017-04-27 06:51:43 +02:00
Uwe Steinmann
a83b9ba395 check for enableMultiUpload and enableAttachmentUpload 2017-04-27 06:51:16 +02:00
Uwe Steinmann
d2fc9b534f add enableMultiUpload and enableAttachmentUpload 2017-04-27 06:50:12 +02:00
Uwe Steinmann
0994dfb667 add entry for 5.1.2 2017-04-24 16:49:01 +02:00
Uwe Steinmann
e9c0b679bc add changelog for 5.1.2 2017-04-24 16:48:38 +02:00
Uwe Steinmann
d55236f49d SeedDMS_Core_DMS::filterDocumentFiles() returns file if author of doc 2017-04-24 16:47:57 +02:00
Uwe Steinmann
ee88a9691c add examples for group and attributedefinition selection 2017-04-21 17:20:16 +02:00
Uwe Steinmann
f361fe4fdc add 'groups' and 'attributedefinition' as internal field types 2017-04-21 17:19:31 +02:00
Uwe Steinmann
ad7d4c08d0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-20 10:04:13 +02:00
Uwe Steinmann
dae6b2afde fix parameter of hooks 2017-04-20 10:03:53 +02:00
Uwe Steinmann
29d801cff9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-20 10:03:13 +02:00
Uwe Steinmann
5484c47ebd pass null as first parameter of hooks, will later be the controller 2017-04-20 10:01:15 +02:00
Uwe Steinmann
1a901f47f3 fix reges for mimetype 2017-04-20 09:59:23 +02:00
Uwe Steinmann
f33b70c0db fix regex for mimetypes 2017-04-20 09:58:46 +02:00
Uwe Steinmann
d08940f1ac add examples for more configuration values 2017-04-20 09:58:09 +02:00
Uwe Steinmann
87ead99f34 add 'select' as new type of configuration 2017-04-20 09:57:16 +02:00
Uwe Steinmann
b67339a9c7 pass document to hooks 2017-04-20 09:56:37 +02:00
Uwe Steinmann
d70713d29e fix calling hooks 2017-04-20 09:55:46 +02:00
Uwe Steinmann
44f6b2edc3 save configuration value of extension as comma separated values if array 2017-04-20 09:54:12 +02:00
Uwe Steinmann
82277900dd parameter __lang__ is used to set language if set 2017-04-20 09:52:50 +02:00
Uwe Steinmann
5fdf291cd2 use new select menu for expiration date 2017-04-18 13:30:13 +02:00
Uwe Steinmann
a04dac811e use new select menu for expiration date 2017-04-18 13:29:26 +02:00
Uwe Steinmann
c9bdac8d33 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-04-11 17:37:04 +02:00
Uwe Steinmann
468ec80db3 fix saving of enableSessionList 2017-04-11 17:36:40 +02:00
Uwe Steinmann
62a1d2d7ec do not include ClassAccessOperation 2017-04-11 17:35:17 +02:00
Uwe Steinmann
c1b6fbf11a remove duplicate method getUser() 2017-04-11 17:10:32 +02:00
Uwe Steinmann
a548710a55 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-04-11 17:08:59 +02:00
Uwe Steinmann
ce975fc86d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-04-11 10:21:47 +02:00
Uwe Steinmann
0b2d663c56 add empty notes in latest version 2017-04-11 10:21:23 +02:00
Uwe Steinmann
a65101feb7 fix syntax error 2017-04-11 10:19:36 +02:00
Uwe Steinmann
81926fe0b9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-11 10:13:15 +02:00
Uwe Steinmann
93adee468f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-04-11 10:13:02 +02:00
Uwe Steinmann
d4a1d1ff9b add changes for 4.3.35 2017-04-11 10:12:46 +02:00
Uwe Steinmann
71cc4da3a2 move css code into new css method of class.Timeline.php 2017-04-11 10:10:54 +02:00
Uwe Steinmann
0fd0af5854 check if method 'css' exists, run action if it does after all css filest 2017-04-11 10:10:04 +02:00
Uwe Steinmann
63a1202549 various updates and new phrases 2017-04-11 10:09:26 +02:00
Uwe Steinmann
d02de9a767 check if session list shall be shown 2017-04-11 08:34:52 +02:00
Uwe Steinmann
beac494587 set enablesessionlist 2017-04-11 08:34:32 +02:00
Uwe Steinmann
defc8330c8 set parameter enableSessionList 2017-04-11 08:34:03 +02:00
Uwe Steinmann
06db1ec603 session list can be turned on/off by settings 2017-04-11 08:33:33 +02:00
Uwe Steinmann
add623805a add entry for 5.1.2 2017-04-11 08:32:56 +02:00
Uwe Steinmann
9e054cd6cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-11 06:55:06 +02:00
Uwe Steinmann
86508e7910 add entries for 5.0.12 2017-04-11 06:54:19 +02:00
Uwe Steinmann
392564129a show foldername and parent folder path on separate lines 2017-04-11 06:51:17 +02:00
Uwe Steinmann
510067a714 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-04-11 06:42:27 +02:00
Uwe Steinmann
5429046a90 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-10 07:38:37 +02:00
Uwe Steinmann
f0871eaeba remove parameter from hook searchListHeader 2017-04-10 07:37:41 +02:00
Uwe Steinmann
2395fd9d15 add changes for 5.1.2 2017-04-05 22:09:47 +02:00
Uwe Steinmann
ca17bc0c8c pass null as first argument to all hooks (will later be the controller) 2017-04-05 22:08:25 +02:00
Uwe Steinmann
727f93eafa expiration date can be selected from list and entered by calendar 2017-04-05 22:00:54 +02:00
Uwe Steinmann
cb6dbd0c8d call hook 'approveDocument' after document has been approved or rejected 2017-04-05 21:59:45 +02:00
Uwe Steinmann
ebc4a29505 show origfilename of attachments only if not equal to name of attachment 2017-04-04 18:28:37 +02:00
Uwe Steinmann
28404ef9a6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-04-04 18:27:47 +02:00
Uwe Steinmann
621317def2 print folder of document in extra row below title of document 2017-04-04 10:20:55 +02:00
Uwe Steinmann
ffb4f3179d add changes for 6.0.1 2017-04-04 07:33:58 +02:00
Uwe Steinmann
dde99fa150 call hook 'rawcontent' when downloading search result with content 2017-04-04 07:12:13 +02:00
Uwe Steinmann
10b62bc7fb call hook 'rawcontent' 2017-04-04 07:11:51 +02:00
Uwe Steinmann
d7af33f579 raw content can be set for files added to archive
Setting the raw content will take the meta data from the document
content but use the file content as passed by the third optional
parameter of addItem()
2017-04-04 07:09:56 +02:00
Uwe Steinmann
dc0737c1db show session list only to admins 2017-03-24 15:56:33 +01:00
Uwe Steinmann
f61a5f2327 add list of active session in menu 2017-03-24 15:55:43 +01:00
Uwe Steinmann
3cd370cb2e add methods getLastAccessedSessions() and getUser() 2017-03-24 15:54:52 +01:00
Uwe Steinmann
3a615b6e06 optimize sql code to get locked documents 2017-03-24 13:29:00 +01:00
Uwe Steinmann
da5dc944e7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-24 09:18:11 +01:00
Uwe Steinmann
c22e7d66b6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-24 09:17:57 +01:00
Uwe Steinmann
156354ac76 pass '' as orderby to hook searchListHeader() 2017-03-24 09:17:24 +01:00
Uwe Steinmann
923df99443 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-24 08:29:28 +01:00
Uwe Steinmann
78d482e14e add entries for 5.1.2 2017-03-24 08:28:01 +01:00
Uwe Steinmann
ae3946b6a9 turn of spinner for ajax call to show clipboard in menu 2017-03-24 08:26:39 +01:00
Uwe Steinmann
da6958a936 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-24 08:24:39 +01:00
Uwe Steinmann
e584a7b1a5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-24 08:24:19 +01:00
Uwe Steinmann
fc90e71584 do not show spinner if data-no-spinner is set in '<div ..' 2017-03-24 08:22:52 +01:00
Uwe Steinmann
72c5bd237b Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-23 18:48:45 +01:00
Uwe Steinmann
6a7e23375c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-23 18:08:23 +01:00
Uwe Steinmann
a001d32854 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-23 17:43:39 +01:00
Uwe Steinmann
77aa03c318 add entry for 4.3.35 2017-03-23 17:29:22 +01:00
Uwe Steinmann
4265c965de log all sql statements into file if log file is given 2017-03-23 17:27:31 +01:00
Uwe Steinmann
46582a2be4 update last access time only once a minute 2017-03-23 17:25:54 +01:00
Uwe Steinmann
6bb6662de4 start new version 4.3.35 2017-03-23 15:39:18 +01:00
Uwe Steinmann
c18f09d344 start new version 6.0.1 2017-03-23 15:22:55 +01:00
Uwe Steinmann
470e946ec2 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-23 15:19:53 +01:00
Uwe Steinmann
a799e091fb drop tables which has been created temporarily
if they are not droped, there foreign key constraints are still
effective
2017-03-23 08:29:43 +01:00
Uwe Steinmann
050a2e60df remove some debug echos 2017-03-23 07:07:57 +01:00
Uwe Steinmann
509921d6d8 remove duplicate adding of new fields 2017-03-22 20:53:25 +01:00
Uwe Steinmann
fd6055d577 start new version 4.3.35 2017-03-21 11:36:36 +01:00
Uwe Steinmann
ca9b3cb245 no need to check for password, but check for ip, guest login and disabled accounts (Closes #250) 2017-03-21 11:35:39 +01:00
Uwe Steinmann
7e306054a7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-20 21:38:01 +01:00
Uwe Steinmann
0c4103ce34 Merge branch 'seeddms-5.0.x' 2017-03-20 15:46:04 +01:00
Uwe Steinmann
e670650403 add entry for 5.1.1 2017-03-20 15:10:40 +01:00
Uwe Steinmann
35aa8c5403 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-20 15:06:53 +01:00
Uwe Steinmann
3058a2e38f add entries for 5.0.11 2017-03-20 15:06:34 +01:00
Uwe Steinmann
15c5305e3d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-20 15:05:31 +01:00
Uwe Steinmann
298543871c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-20 14:59:51 +01:00
Uwe Steinmann
aba80e542d add more entrieѕ for 4.3.34 2017-03-20 14:47:34 +01:00
Uwe Steinmann
c01c59e2e5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-20 12:44:49 +01:00
Uwe Steinmann
6ee2de053e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-20 12:43:27 +01:00
Uwe Steinmann
3fba221ac3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-20 12:43:07 +01:00
Uwe Steinmann
126ee89a5e do not show message for max upload size if not needed 2017-03-20 12:42:29 +01:00
Uwe Steinmann
a65315c537 move all task output into own view 2017-03-20 12:41:21 +01:00
Uwe Steinmann
df27dcf878 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-20 11:54:55 +01:00
Uwe Steinmann
ea830a123e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-20 10:31:10 +01:00
Uwe Steinmann
63f1d327da Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-20 10:30:58 +01:00
Uwe Steinmann
b4636c1dd2 new translations 2017-03-20 10:30:43 +01:00
Uwe Steinmann
e6ac6eba55 add startBody() hook 2017-03-18 19:01:41 +01:00
Uwe Steinmann
ef2043b9bb skip container in documentListItem 2017-03-15 21:54:42 +01:00
Uwe Steinmann
8de70cacc0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 21:54:18 +01:00
Uwe Steinmann
514aa3ef0f call hook listHeader() 2017-03-15 21:53:42 +01:00
Uwe Steinmann
ca82a0df7b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 18:09:40 +01:00
Uwe Steinmann
fa3d540d2a add hook extraVersionActions for older versions 2017-03-15 18:09:11 +01:00
Uwe Steinmann
815cafb2b5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 18:02:42 +01:00
Uwe Steinmann
c708a038cf add hook extraVersionActions 2017-03-15 18:02:25 +01:00
Uwe Steinmann
8afaf3c748 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-15 16:46:04 +01:00
Uwe Steinmann
c823981bd9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-15 16:45:02 +01:00
Uwe Steinmann
f381743a0b add new phrases 2017-03-15 16:43:09 +01:00
Uwe Steinmann
e21a096957 ?? 2017-03-15 16:42:18 +01:00
Uwe Steinmann
0247da8591 set partitionsize and maxuploadsize 2017-03-15 16:42:03 +01:00
Uwe Steinmann
82d0bfde44 set preview with for document icons 2017-03-15 16:41:32 +01:00
Uwe Steinmann
6266fee9e7 change call for inserting fine uploader template and js code 2017-03-15 16:40:41 +01:00
Uwe Steinmann
8ebe59c399 hide elements 'dialog' 2017-03-15 16:39:31 +01:00
Uwe Steinmann
2e3b9f474b add maxUploadSize 2017-03-15 16:39:05 +01:00
Uwe Steinmann
9fad3765e3 replace png by svg icons and scale them to previewwidth 2017-03-15 16:13:09 +01:00
Uwe Steinmann
bb0c476a46 add svg replacements 2017-03-15 16:12:19 +01:00
Uwe Steinmann
caead74c9a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-14 06:53:08 +01:00
Uwe Steinmann
6af5de2f52 call hook folderListSeparator only if documents and folders exist 2017-03-14 06:52:37 +01:00
Uwe Steinmann
7dba8be1e3 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-14 06:39:04 +01:00
Uwe Steinmann
a79b43557f add hook folderListSeparator 2017-03-14 06:38:40 +01:00
Uwe Steinmann
c3f3fb0bfd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-13 17:48:32 +01:00
Uwe Steinmann
134718f711 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-13 17:48:23 +01:00
Uwe Steinmann
f62a793067 add more phrases for download links 2017-03-13 17:48:02 +01:00
Uwe Steinmann
5af8ab01c0 put documentListItem, menuClipboard and mainClipboard into own view 2017-03-10 20:09:08 +01:00
Uwe Steinmann
479ee94fd8 take out command 'view', is now covered by view classes 2017-03-10 20:08:32 +01:00
Uwe Steinmann
ae33edbcdc put documentListItem from Bootstrap base class in ViewDocument 2017-03-10 20:08:01 +01:00
Uwe Steinmann
141a55621b put function for printing clipboard into own class 2017-03-10 20:05:15 +01:00
Uwe Steinmann
8b2387deb5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-10 11:50:49 +01:00
Uwe Steinmann
9db7e132f3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-10 11:50:37 +01:00
Uwe Steinmann
73ab448bec fix typo in key 2017-03-10 11:50:21 +01:00
Uwe Steinmann
14abcac3be Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-10 11:48:23 +01:00
Uwe Steinmann
8c15a7f6f0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-10 11:47:40 +01:00
Uwe Steinmann
6baa429544 various updates 2017-03-10 11:47:25 +01:00
Uwe Steinmann
6defe3fc93 remove no ascii char in function name 2017-03-10 11:34:09 +01:00
Uwe Steinmann
15e0e56bb1 add method documentListItem() 2017-03-10 11:33:13 +01:00
Uwe Steinmann
023738812b call hook 'startPage' 2017-03-10 09:28:16 +01:00
Uwe Steinmann
d61e77cd35 recipient in toIndividual() can be a string 2017-03-10 09:27:50 +01:00
Uwe Steinmann
43b613c210 add method rewriteRevisionLog() 2017-03-09 11:33:09 +01:00
Uwe Steinmann
ee4215f89e rewriteReceiptLog() can handle none exiting users 2017-03-09 11:14:31 +01:00
Uwe Steinmann
0cfd663275 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 11:09:49 +01:00
Uwe Steinmann
2fca40953d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-09 11:09:34 +01:00
Uwe Steinmann
233111e818 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-09 11:09:23 +01:00
Uwe Steinmann
2e99b1ba38 rewrite...Log() can handle entries with none exiting users 2017-03-09 11:07:40 +01:00
Uwe Steinmann
9905a1ed75 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 10:22:58 +01:00
Uwe Steinmann
51942e2b54 fix typo in attribute name 2017-03-09 10:22:38 +01:00
Uwe Steinmann
d2bf22994d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 09:34:32 +01:00
Uwe Steinmann
cae24d3d22 fix syntax error 2017-03-09 09:34:16 +01:00
Uwe Steinmann
e70cadf5dd Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 07:58:07 +01:00
Uwe Steinmann
62e1a02ae7 use version and public field from document files 2017-03-09 07:57:39 +01:00
Uwe Steinmann
caf35ad868 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 07:40:39 +01:00
Uwe Steinmann
dea2327089 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-09 07:40:28 +01:00
Uwe Steinmann
21a3a51d11 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-09 07:40:16 +01:00
Uwe Steinmann
453c410722 issue warning instead of info if object already exists 2017-03-09 07:39:46 +01:00
Uwe Steinmann
3ac9bcafc7 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-09 07:16:24 +01:00
Uwe Steinmann
3b00db6058 add missing files to tblDocumentFiles 2017-03-09 07:15:27 +01:00
Uwe Steinmann
99f0503a65 use upper case for sql reservered words 2017-03-09 07:14:54 +01:00
Uwe Steinmann
d95943a365 enlarge interval for checkTask() and timeout of ajax call 2017-03-08 21:57:02 +01:00
Uwe Steinmann
3853f0010f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-08 13:17:29 +01:00
Uwe Steinmann
4c6ce8218a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-08 11:34:17 +01:00
Uwe Steinmann
a528a3ce57 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-08 11:33:05 +01:00
Uwe Steinmann
3aeb970fd8 add new phrase 'duplicates' 2017-03-08 11:30:44 +01:00
Uwe Steinmann
be2a1c7f2d add changes for 4.3.34 2017-03-08 11:13:50 +01:00
Uwe Steinmann
a65c7ddfc0 add link to duplicate document 2017-03-08 11:09:10 +01:00
Uwe Steinmann
711520234d retrieve complete document when checking for duplicates 2017-03-08 11:08:35 +01:00
Uwe Steinmann
3268603794 use utf8_basename() instead of basename() 2017-03-08 10:34:46 +01:00
Uwe Steinmann
05e60208a5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-08 08:23:02 +01:00
Uwe Steinmann
848644055a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-08 08:22:46 +01:00
Uwe Steinmann
26a32cfa62 new phraѕes and translations 2017-03-08 08:22:28 +01:00
Uwe Steinmann
1cb7ad8e4f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-06 13:49:01 +01:00
Uwe Steinmann
8af55380b0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-06 13:48:48 +01:00
Uwe Steinmann
d1829dfe29 fix import of object type of attribute definitions 2017-03-06 13:47:38 +01:00
Uwe Steinmann
e5326430cb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-06 11:42:56 +01:00
Uwe Steinmann
b675561d2f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-06 11:42:41 +01:00
Uwe Steinmann
1f751f3a86 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-06 11:42:28 +01:00
Uwe Steinmann
62eb18f6a3 set keywords to '' if not set in xml file 2017-03-06 11:37:18 +01:00
Uwe Steinmann
322bef00a2 include inc/inc.ClassAcl.php 2017-03-06 10:56:16 +01:00
Uwe Steinmann
858b9b4b38 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-06 10:54:16 +01:00
Uwe Steinmann
3741587d2a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-06 10:53:54 +01:00
Uwe Steinmann
f5b96b1d7a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-06 10:53:41 +01:00
Uwe Steinmann
fc7cd1c944 take out include on missing file 2017-03-06 10:53:20 +01:00
Uwe Steinmann
132f146a9f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-06 10:52:36 +01:00
Uwe Steinmann
4d2aec52fe Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-06 10:51:36 +01:00
Uwe Steinmann
cabe4371e7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-06 10:51:24 +01:00
Uwe Steinmann
1436d3d969 check if SEEDDMS_HOME is set 2017-03-06 10:50:51 +01:00
Uwe Steinmann
478b88b514 check for SEEDDMS_HOME, issue warning if user has been removed from process 2017-03-06 10:49:04 +01:00
Uwe Steinmann
6f1c4ea0a2 add entry for 4.3.34 2017-03-06 08:53:59 +01:00
Uwe Steinmann
d392ca727e show also number of reverse links in tab header 2017-03-06 08:53:36 +01:00
Uwe Steinmann
469270882c add receiptlog 2017-03-03 22:09:42 +01:00
Uwe Steinmann
b05a7f2ba5 add method rewriteReceiptLog() 2017-03-03 22:07:15 +01:00
Uwe Steinmann
5bdf7868d5 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-03 15:00:04 +01:00
Uwe Steinmann
89539bbcb8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-03 14:59:49 +01:00
Uwe Steinmann
c1c7c66df8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 14:59:36 +01:00
Uwe Steinmann
adf318abec wrap more fields with CData 2017-03-03 14:59:13 +01:00
Uwe Steinmann
df2d5f0407 wrapWithCData() attribute value set 2017-03-03 14:36:59 +01:00
Uwe Steinmann
390a653b94 do not show 'AddFile' link if access is not allowed 2017-03-03 14:10:03 +01:00
Uwe Steinmann
4fe435f450 fix error msg when access is not allowed 2017-03-03 14:09:25 +01:00
Uwe Steinmann
0a8261fdcb Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-03 12:08:05 +01:00
Uwe Steinmann
44bfc43c47 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-03 10:35:20 +01:00
Uwe Steinmann
7d252d691b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 10:35:09 +01:00
Uwe Steinmann
02e016d74c use utf8_basename() instead of basename() 2017-03-03 10:34:46 +01:00
Uwe Steinmann
29c5ae0f51 pass null for controller when calling hook preIndexDocument 2017-03-03 10:32:41 +01:00
Uwe Steinmann
012d4d9f8d Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-03-03 09:43:45 +01:00
Uwe Steinmann
b76448c3a4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-03 08:58:09 +01:00
Uwe Steinmann
84eb0d4b95 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 08:57:56 +01:00
Uwe Steinmann
b51540de20 add item for 4.3.34 2017-03-03 08:57:36 +01:00
Uwe Steinmann
2843913f08 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-03 08:55:43 +01:00
Uwe Steinmann
78e0f0e0b7 use utf8_basename() instead of basename() 2017-03-03 08:54:18 +01:00
Uwe Steinmann
d48ef8b6ba add utf8_basename() as replacement for basename()
This function can handle mutlibyte strings, even if locale is set
to 'C'
2017-03-03 08:53:26 +01:00
Uwe Steinmann
2d9f3f8494 call hook searchListHeader 2017-03-02 20:00:56 +01:00
Uwe Steinmann
83e888b9c9 more reasonable check for docs and folders 2017-03-02 20:00:14 +01:00
Uwe Steinmann
1c359cb701 pass context to hook documentListItem 2017-03-02 08:40:46 +01:00
Uwe Steinmann
7e59084b25 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-03-02 08:21:53 +01:00
Uwe Steinmann
defc6b1438 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-02 08:21:40 +01:00
Uwe Steinmann
9e1000506d add note for 1.2.2 2017-03-02 08:21:19 +01:00
Uwe Steinmann
e5ee075a2d allow 'xxx/*' and '*' as wild card mimetypes 2017-03-02 08:00:28 +01:00
Uwe Steinmann
5cbaf0e7a8 replace %m in converter cmd with mimetype 2017-03-02 07:59:49 +01:00
Uwe Steinmann
fbfa2a2132 allow '*' in mimetype for preview command 2017-03-02 07:17:42 +01:00
Uwe Steinmann
d563333f05 commands can be assigned to mimetype 'xxx/*' and '*' 2017-03-02 07:16:42 +01:00
Uwe Steinmann
787fb4777b new version 1.2.2 2017-03-02 07:16:26 +01:00
Uwe Steinmann
ebb0c71a3f allow '*' in mimetype 2017-03-02 06:58:02 +01:00
Uwe Steinmann
65529c68b8 add entry to 5.1.1 2017-03-01 17:18:29 +01:00
Uwe Steinmann
b1df3b460b update queue-bar after adding new tasks 2017-03-01 16:59:58 +01:00
Uwe Steinmann
42d5eacc0d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-01 16:18:49 +01:00
Uwe Steinmann
2cfc080382 better handling of timeout 2017-03-01 16:18:27 +01:00
Uwe Steinmann
35ca82af13 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-03-01 15:56:29 +01:00
Uwe Steinmann
fab21da3d8 new version, catch exception in execWithTimeout() 2017-03-01 15:56:12 +01:00
Uwe Steinmann
77eab44dc1 new version, catch exception in execWithTimeout() 2017-03-01 15:56:00 +01:00
Uwe Steinmann
602a02722b decrement items in queue after displaying bars 2017-03-01 15:49:38 +01:00
Uwe Steinmann
e9c029e8fc fix syntax error 2017-02-28 17:12:27 +01:00
Uwe Steinmann
6e9b840e45 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-28 17:06:58 +01:00
Uwe Steinmann
a46f41c74f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 09:57:30 +01:00
Uwe Steinmann
c15d1a49f2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 09:57:21 +01:00
Uwe Steinmann
112aab5a4c take out search param in search form of nav bar, no typeahead in fulltext mode 2017-02-28 09:56:41 +01:00
Uwe Steinmann
c32a2e7f53 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 09:19:11 +01:00
Uwe Steinmann
310ebf8708 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 09:19:01 +01:00
Uwe Steinmann
4cc7bfca20 make sql state more compatible across databases 2017-02-28 09:17:25 +01:00
Uwe Steinmann
5cf7611304 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 09:10:27 +01:00
Uwe Steinmann
c7fbcb80c8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 09:10:14 +01:00
Uwe Steinmann
b6d63b8705 make LIMIT in sql more database independent 2017-02-28 09:08:20 +01:00
Uwe Steinmann
3635b92edb fix sql for add user when pwdexpiration has a date 2017-02-28 08:00:45 +01:00
Uwe Steinmann
742d91cc68 add postgresql support 2017-02-28 07:39:39 +01:00
Uwe Steinmann
5bbce8ffee Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-28 07:31:26 +01:00
Uwe Steinmann
c73dc49a59 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 07:15:01 +01:00
Uwe Steinmann
9f042ad037 fix output of errors 2017-02-28 07:14:46 +01:00
Uwe Steinmann
0319621497 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-28 07:13:13 +01:00
Uwe Steinmann
5bca4770d1 start new version 5.0.11 2017-02-28 07:09:30 +01:00
Uwe Steinmann
35071d40bc fix check for existing tables for pgsql 2017-02-28 07:04:29 +01:00
Uwe Steinmann
c3fea8b8bf new version 4.3.34 2017-02-28 06:39:32 +01:00
Uwe Steinmann
eab6552788 start new version 5.1.1 2017-02-28 06:35:36 +01:00
Uwe Steinmann
ff3dd800e4 Merge branch 'seeddms-5.0.x' 2017-02-27 20:18:46 +01:00
Uwe Steinmann
f67483a9a7 use unsigned for version 2017-02-27 18:16:27 +01:00
Uwe Steinmann
fbf800d0ee use tinyint and smallint for public and version tblDocumentFiles 2017-02-27 18:13:17 +01:00
Uwe Steinmann
2acee8d335 change sequence of field in tblDocumentFiles 2017-02-27 18:12:43 +01:00
Uwe Steinmann
6b16ac5411 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-27 18:08:50 +01:00
Uwe Steinmann
72e45f3320 make 'default' to 'DEFAULT' 2017-02-27 18:07:30 +01:00
Uwe Steinmann
35594e23f9 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-27 18:04:04 +01:00
Uwe Steinmann
d36c982634 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-27 17:52:09 +01:00
Uwe Steinmann
1ff7367f8b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-27 17:46:41 +01:00
Uwe Steinmann
9550a60891 lots of minor formating and explicitly setting default values
makes it easier to compare a dump with the desired schema
2017-02-27 17:44:36 +01:00
Uwe Steinmann
aaa5b4ace3 remove spaces at end of line 2017-02-27 17:06:52 +01:00
Uwe Steinmann
f6f5a92c9b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-27 14:55:59 +01:00
Uwe Steinmann
716ab9edfd Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-27 14:55:46 +01:00
Uwe Steinmann
6c875a2d7a add entry for 4.3.33 2017-02-27 08:58:40 +01:00
Uwe Steinmann
d2c0148c7f add output of workflow log 2017-02-27 08:58:10 +01:00
Uwe Steinmann
fea676c1d4 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-24 19:07:23 +01:00
Uwe Steinmann
a4fdc3ad95 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 19:02:26 +01:00
Uwe Steinmann
accc6e40b9 get rid of old themes 2017-02-24 18:53:49 +01:00
Uwe Steinmann
1794a3a5a3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-24 14:16:11 +01:00
Uwe Steinmann
7a0d35e927 new translations and phrases 2017-02-24 14:15:11 +01:00
Uwe Steinmann
bff72711a9 use translated text 2017-02-24 14:14:16 +01:00
Uwe Steinmann
c6567b2f90 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 13:49:37 +01:00
Uwe Steinmann
b9a7f622d1 remove backticks in sql statement
for some strange reason a select `document` ... UNION select `document`
will result in a php array where '`document`' and not 'document' is
the key. This makes getTimeline() fail.
2017-02-24 13:46:58 +01:00
Uwe Steinmann
f27e330ee3 take out extra inc/inc.DBInit.php 2017-02-24 13:46:03 +01:00
Uwe Steinmann
521e923e99 add entry for 5.1.0 2017-02-24 12:39:04 +01:00
Uwe Steinmann
492a8e3ae4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 12:37:01 +01:00
Uwe Steinmann
6646b6d25c update changelog for 5.0.10 2017-02-24 12:36:31 +01:00
Uwe Steinmann
be40c980ba Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-24 12:15:27 +01:00
Uwe Steinmann
e85a9b83d7 pass null as first argument to preIndexDocument()
this will later be replaced by the controller
2017-02-24 12:14:22 +01:00
Uwe Steinmann
020f25052c index each document by calling ajax function 2017-02-24 12:13:51 +01:00
Uwe Steinmann
9802959e50 add command 'indexdocument' 2017-02-24 12:13:01 +01:00
Uwe Steinmann
d8e8e7edc8 take out op/op.UpdateDocument2.php 2017-02-23 09:03:56 +01:00
Uwe Steinmann
7f0c1dda9e add more hooks 2017-02-23 09:03:21 +01:00
Uwe Steinmann
811a8f14d2 add hook addDocument::preIndexDocument 2017-02-23 09:00:40 +01:00
Uwe Steinmann
cbd9b8fa83 add hooks updateDocument::(postUpdateDocument|preUpdateDocument|preIndexDocument) 2017-02-23 08:59:56 +01:00
Uwe Steinmann
31074ab8e7 fix calling hook after uploading document 2017-02-23 08:58:01 +01:00
Uwe Steinmann
10e94af144 not needed anymore for a long time 2017-02-23 07:55:25 +01:00
Uwe Steinmann
6b2deaea5b add script for retrieving a pdf file 2017-02-23 07:07:15 +01:00
Uwe Steinmann
c427cde4bb add documentation about available hooks 2017-02-23 07:03:03 +01:00
Uwe Steinmann
b9a4ebf06a add documentation on how to contribute translations 2017-02-23 07:00:32 +01:00
Uwe Steinmann
3b51ee7c3f mv README into doc dir 2017-02-23 06:56:59 +01:00
Uwe Steinmann
d51a0ad475 fix underline of header 2017-02-23 06:56:35 +01:00
Uwe Steinmann
8d7c8a0bdf Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-22 13:22:51 +01:00
Uwe Steinmann
7fd7d0c7e2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-22 13:22:39 +01:00
Uwe Steinmann
92a483ac8b include js in footer with absolute path 2017-02-22 13:22:08 +01:00
Uwe Steinmann
a711a9e6ee set 'absbaseprefix' in view which holds the current absolute url prefix
this is helpful in extension
2017-02-22 13:02:20 +01:00
Uwe Steinmann
5b3ff3e4df Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-22 12:33:20 +01:00
Uwe Steinmann
2ef1a5896f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-22 11:40:20 +01:00
Uwe Steinmann
473118b7bb new version 4.3.33 2017-02-22 11:31:59 +01:00
Uwe Steinmann
293091d13d fix includes 2017-02-22 09:44:47 +01:00
Uwe Steinmann
ce3c2d4f80 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-22 09:41:54 +01:00
Uwe Steinmann
706465a971 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-22 09:41:08 +01:00
Uwe Steinmann
06ce12e576 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-22 09:40:56 +01:00
Uwe Steinmann
e102f5d6bc include PHPExcel from vendor directory 2017-02-22 09:30:10 +01:00
Uwe Steinmann
32241d1403 include feedwriter from vendor 2017-02-22 09:22:06 +01:00
Uwe Steinmann
fcd8f1a53b include previewer, include slim from vendor dir 2017-02-22 09:08:52 +01:00
Uwe Steinmann
bd345fee35 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-21 17:42:00 +01:00
Uwe Steinmann
13f3a0f373 pass current user to constructor of Calendar class 2017-02-21 17:29:38 +01:00
Uwe Steinmann
1a74c45cae put all calendar operations into class 2017-02-21 17:26:16 +01:00
Uwe Steinmann
37fb2e2c47 pass access object to view, don't use mode anymore 2017-02-21 15:37:29 +01:00
Uwe Steinmann
7f28008d5d get and set secret of user 2017-02-21 08:16:22 +01:00
Uwe Steinmann
f6786406ef Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-21 07:31:33 +01:00
Uwe Steinmann
4a86288c66 add support for postgresql 2017-02-21 07:30:14 +01:00
Uwe Steinmann
6006dd3944 fix all sql errors 2017-02-21 07:23:02 +01:00
Uwe Steinmann
9aadb7f471 fix merge errors 2017-02-21 07:04:49 +01:00
Uwe Steinmann
4b1b702fc5 add update for postgresql 2017-02-21 06:54:53 +01:00
Uwe Steinmann
63920fdce8 set ENGINE for tblUserSubstitutes 2017-02-21 06:54:06 +01:00
Uwe Steinmann
08e9f14e9d fix merge error 2017-02-21 06:53:43 +01:00
Uwe Steinmann
6b8b099339 set propper version in tblVersion 2017-02-21 06:34:22 +01:00
Uwe Steinmann
b03fcc5b6a fix versions 2017-02-21 06:20:03 +01:00
Uwe Steinmann
7fc7ffd708 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-21 06:16:32 +01:00
Uwe Steinmann
c0bc5cde15 export version and public of document files 2017-02-20 21:34:40 +01:00
Uwe Steinmann
76e816d290 replace echo with logger 2017-02-20 21:24:53 +01:00
Uwe Steinmann
f440f7b0ab set initial version in database to 5.1.0 2017-02-20 20:10:19 +01:00
Uwe Steinmann
71892eba6c new version 5.1.0 2017-02-20 20:10:05 +01:00
Uwe Steinmann
864c56b54a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-20 18:05:34 +01:00
Uwe Steinmann
09ef3a86ba new version 5.0.10 2017-02-20 17:43:51 +01:00
Uwe Steinmann
fa5721c2cb Merge branch 'seeddms-6.0.x-postgres' into seeddms-6.0.x 2017-02-20 17:38:35 +01:00
Uwe Steinmann
4c794381e6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2017-02-20 17:34:43 +01:00
Uwe Steinmann
410b36870a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-20 17:22:26 +01:00
Uwe Steinmann
a6673fe908 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-20 17:21:24 +01:00
Uwe Steinmann
272b2c53e2 new version 5.0.10 2017-02-20 17:20:59 +01:00
Uwe Steinmann
283c51b193 print_r detailed error msg 2017-02-20 17:11:37 +01:00
Uwe Steinmann
d7403d3745 set sequence after insert 2017-02-20 17:11:37 +01:00
Uwe Steinmann
a761b0b417 set pwdexpiration to '' if it is '0000-00-00' 2017-02-20 17:11:37 +01:00
Uwe Steinmann
8988bc0098 make mimeType varchar(100) in tblDocumentContents and tblDocumentFiles 2017-02-20 17:11:37 +01:00
Uwe Steinmann
a18b3c6879 add sql statement for pgsql in TableList() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
bfbd845bab add sql code for creating temp tables ttreceiptid and ttrevisionid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
50919f40c1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
1a03adebbd add create of temp table ttstatid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
2c775b560f add creation of temp table ttcontentid 2017-02-20 17:11:37 +01:00
Uwe Steinmann
b1bd666386 update to 5.1.x 2017-02-20 17:11:37 +01:00
Uwe Steinmann
e0f7c16a10 add database layout for postgres 2017-02-20 17:11:37 +01:00
Uwe Steinmann
7467df155d fix getInsertID() for identifier in upper/lower case 2017-02-20 17:11:37 +01:00
Uwe Steinmann
cafdd457c8 pass tablename to getInsertID() 2017-02-20 17:11:37 +01:00
Uwe Steinmann
0239edd4ee adjust date function to postgresql 2017-02-20 17:11:37 +01:00
Uwe Steinmann
c55b595ae9 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-20 17:11:37 +01:00
Uwe Steinmann
e1fdfdbef6 set version to 6.0.0 2017-02-20 17:10:47 +01:00
Uwe Steinmann
97c967cc9a add new columns public and version to tblDocumentFiles 2017-02-20 15:49:57 +01:00
Uwe Steinmann
ef46f612cb add columns version and public to tblDocumentFiles 2017-02-20 15:41:44 +01:00
Uwe Steinmann
52deebbf6e Merge branch 'seeddms-5.0.x-attachment' into seeddms-5.1.x 2017-02-20 15:37:44 +01:00
Uwe Steinmann
007f7c7f2c check if version is set 2017-02-20 15:34:23 +01:00
Uwe Steinmann
675648ef20 add changeѕ to database tables 2017-02-20 15:33:15 +01:00
Uwe Steinmann
19f77a37c8 add missing changes which got lost during last rebase 2017-02-20 15:33:15 +01:00
Uwe Steinmann
606effb759 fix sql to retrieve attachments 2017-02-20 15:24:06 +01:00
Uwe Steinmann
32d484a924 remove mergeAccessList() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
9346fa6072 use new function filterDocumentFiles() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
75f21ddf02 add filterDocumentFiles() 2017-02-20 15:21:06 +01:00
Uwe Steinmann
6faef438b9 started version 5.1.0 2017-02-20 15:19:41 +01:00
Uwe Steinmann
2b154cc468 set pwdExpiration to null 2017-02-20 15:01:58 +01:00
Uwe Steinmann
8996c14a12 sync with innodb 2017-02-20 14:56:25 +01:00
Uwe Steinmann
3d97644dbf change order of operation to prevent 'table locked' error 2017-02-20 14:52:07 +01:00
Uwe Steinmann
24f63bb40d add notes on update 2017-02-20 14:51:43 +01:00
Uwe Steinmann
fad327a8ea Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-20 14:06:21 +01:00
Uwe Steinmann
67c7d83a72 use bootstrap theme 2017-02-20 14:06:04 +01:00
Uwe Steinmann
8665826211 update version 2017-02-20 12:57:54 +01:00
Uwe Steinmann
f3d00db04d add update script for sqlite3 2017-02-20 11:56:01 +01:00
Uwe Steinmann
ec94cdde55 use bigint for filesize 2017-02-20 11:55:26 +01:00
Uwe Steinmann
f24b627817 fix more dates and mimetypes 2017-02-20 11:55:09 +01:00
Uwe Steinmann
f3aea6f842 fix all datetime fields, enlarge mimeType fields 2017-02-20 11:51:59 +01:00
Uwe Steinmann
5f9894b7b4 add db changes for version 5.1.0 2017-02-20 09:12:19 +01:00
Uwe Steinmann
89b0861f9e move db changes back into version 5.1.0 2017-02-20 09:11:27 +01:00
Uwe Steinmann
455014b2c1 fix dir name 2017-02-20 09:05:19 +01:00
Uwe Steinmann
38740e3a8b move update dir to new version 2017-02-20 08:59:02 +01:00
Uwe Steinmann
534e93d7d9 new version 5.1.0 2017-02-20 08:55:29 +01:00
Uwe Steinmann
784505ce4c change version from 5.1.x to 6.0.x 2017-02-20 08:48:40 +01:00
Uwe Steinmann
d2afc51aad add item to 4.3.33 2017-02-18 07:57:17 +01:00
Uwe Steinmann
6f0d9e5d5d move folders/documents propperly checks for access rights (Closes #309) 2017-02-18 07:55:40 +01:00
Uwe Steinmann
5921b1e731 set default value for pwdExpiration when unsetting it 2017-02-18 07:38:26 +01:00
Uwe Steinmann
a5e984587d add getDriver() which returns the database driver 2017-02-18 07:37:45 +01:00
Uwe Steinmann
1b638d52ee remove calendar nav, add extra space to footer 2017-02-16 17:07:08 +01:00
Uwe Steinmann
ded86e7c0e turn off debugging 2017-02-16 15:41:04 +01:00
Uwe Steinmann
053da3bdaa make fields for mimetypes longer 2017-02-16 15:27:01 +01:00
Uwe Steinmann
96967aee5b increment sequences after inserting initial records 2017-02-16 15:27:01 +01:00
Uwe Steinmann
e320d4a376 add sql statement for pgsql in TableList() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
ff486fdcd9 fix sql error 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7c84cc1b52 set pwdexpiration to null if no date is set 2017-02-16 15:27:01 +01:00
Uwe Steinmann
90cca10460 set pwdExpiration to NULL instead of '0000-00-00 ...' 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0cf35641d1 add sql for creating temp tables ttreviewid and ttapproveid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
0053213856 pass $dms to getSearchFields() and cast id to text 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3da6d66ee1 add method castToText()
it takes a fieldname and returns it with a cast to 'text'
2017-02-16 15:27:01 +01:00
Uwe Steinmann
e020ebaf39 add create of temp table ttstatid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
20491cd8e3 add creation of temp table ttcontentid 2017-02-16 15:27:01 +01:00
Uwe Steinmann
7ebd92d53a add '"' arount sequence in getInsertID() 2017-02-16 15:27:01 +01:00
Uwe Steinmann
b7c32d8295 add database layout for postgres 2017-02-16 15:27:01 +01:00
Uwe Steinmann
3bfeba738f adjust date function to postgresql 2017-02-16 15:27:01 +01:00
Uwe Steinmann
307abdf493 pass tablename to getInsertID(), add pgsql as new db driver 2017-02-16 15:27:01 +01:00
Uwe Steinmann
502b5c5414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-16 15:26:46 +01:00
Uwe Steinmann
e65170ba97 add item for 4.3.33 2017-02-16 15:03:23 +01:00
Uwe Steinmann
9dfea210d6 new calendar based on fullcalendar 2017-02-16 15:02:46 +01:00
Uwe Steinmann
658d556c3d getTimeline() checks also for new attachments 2017-02-16 15:01:20 +01:00
Uwe Steinmann
63a405cb74 add parameter 'callback' to $('div.ajax') update 2017-02-16 14:59:49 +01:00
Uwe Steinmann
27255d1e67 add js for calendar 2017-02-16 14:58:44 +01:00
Uwe Steinmann
704fc28b34 comment, name must not be set, return json if requested 2017-02-16 14:54:55 +01:00
Uwe Steinmann
dd98d87d80 add new key rm_event, some updates 2017-02-16 14:43:28 +01:00
Uwe Steinmann
4443b80631 show events in year calendar, get rid of some div.well 2017-02-15 13:59:00 +01:00
Uwe Steinmann
fad908cbe0 add styles used in calendar 2017-02-15 13:55:30 +01:00
Uwe Steinmann
be16e7edce Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-15 08:24:23 +01:00
Uwe Steinmann
568e8a19e4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-15 08:24:08 +01:00
Uwe Steinmann
a16b58a9fa set workflow in addContent() after initial status has been set 2017-02-15 08:23:34 +01:00
Uwe Steinmann
4aaf7f78e8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 21:13:10 +01:00
Uwe Steinmann
0d99ffc04b add missing backticks 2017-02-14 21:12:50 +01:00
Uwe Steinmann
b310d3065d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 21:08:56 +01:00
Uwe Steinmann
6cb83bec25 add missing backticks 2017-02-14 21:08:43 +01:00
Uwe Steinmann
c1727652a8 make mimeType in tblDocumentContent and tblDocumentFiles varchar(100) 2017-02-14 17:59:20 +01:00
Uwe Steinmann
7dfbad5451 add missing backticks around identifier in sql statement 2017-02-14 16:59:52 +01:00
Uwe Steinmann
05cf0b83f4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 14:58:41 +01:00
Uwe Steinmann
83c498418b add field to group by, because it will be selected 2017-02-14 12:24:55 +01:00
Uwe Steinmann
c34ea0ed02 add another field to group by, because it shall be selected 2017-02-14 12:21:58 +01:00
Uwe Steinmann
823e57c4c2 take out order field as it is not needed 2017-02-14 12:13:03 +01:00
Uwe Steinmann
0bba1445c9 fix case of identifiers in sql statement 2017-02-14 12:07:23 +01:00
Uwe Steinmann
90982d5774 add missing backticks in sql statement 2017-02-14 12:00:08 +01:00
Uwe Steinmann
7f1dc2dfe1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 11:43:17 +01:00
Uwe Steinmann
e6e0611937 pwdexpiration can be 'never' or 'now' 2017-02-14 11:34:10 +01:00
Uwe Steinmann
fc3548cca7 set pwdexpiration to 'now' and 'never' 2017-02-14 11:24:41 +01:00
Uwe Steinmann
586dffe403 setPwdExpiration() accepts keywords 'now' and 'never' 2017-02-14 11:24:11 +01:00
Uwe Steinmann
e58f0888b5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-14 09:06:23 +01:00
Uwe Steinmann
f251e30f5a fix sql error 2017-02-14 08:38:57 +01:00
Uwe Steinmann
9c7605d40a add method getSearchFields() ind ClassDocument and use in search() 2017-02-14 08:29:03 +01:00
Uwe Steinmann
f976bf0e83 check if temp table ttcontentid exists in sql statement 2017-02-14 07:15:14 +01:00
Uwe Steinmann
d9aaad16d3 add missing backticks around identifier in sql statement 2017-02-14 06:29:23 +01:00
Uwe Steinmann
0a6034a92e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-14 06:23:49 +01:00
Uwe Steinmann
0fbc5cc289 do not use x,y syntax in limit clause 2017-02-14 06:22:36 +01:00
Uwe Steinmann
f0b710b266 change fullname to fullName 2017-02-13 20:21:22 +01:00
Uwe Steinmann
c785906ffb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:23:46 +01:00
Uwe Steinmann
28af59db73 remove double backticks in sql statement 2017-02-13 18:23:24 +01:00
Uwe Steinmann
27a323a38f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:20:49 +01:00
Uwe Steinmann
a4eac8affc remove double backticks in sql statement 2017-02-13 18:20:21 +01:00
Uwe Steinmann
602903de46 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 18:16:50 +01:00
Uwe Steinmann
572fabfd1a add missing backticks around identifier 2017-02-13 18:16:24 +01:00
Uwe Steinmann
e74a9a4295 add missing backticks around identifier 2017-02-13 17:32:22 +01:00
Uwe Steinmann
2b91fb06bc put backticks around identifier 2017-02-13 16:51:57 +01:00
Uwe Steinmann
89811361bb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:49:09 +01:00
Uwe Steinmann
38ea469b12 add missing backticks 2017-02-13 12:48:54 +01:00
Uwe Steinmann
42c050588b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:48:20 +01:00
Uwe Steinmann
a65f4d56b5 add missing backticks around identifiers in sql statements 2017-02-13 12:47:15 +01:00
Uwe Steinmann
f6aded2428 put backticks around identifiers in sql statements 2017-02-13 12:37:26 +01:00
Uwe Steinmann
7d82b73208 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-02-13 12:12:07 +01:00
Uwe Steinmann
6a3bf35739 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-12 08:07:45 +01:00
Uwe Steinmann
a3a80f0a6b put backticks around identifier in sql statements 2017-02-12 08:07:14 +01:00
Uwe Steinmann
eae27d0646 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-11 16:33:48 +01:00
Uwe Steinmann
290ab91fc7 use 'fullName' instead of 'fullname' 2017-02-11 16:32:09 +01:00
Uwe Steinmann
6559706b15 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-11 15:21:45 +01:00
Uwe Steinmann
aa90fdaaf9 include LogInit.php 2017-02-11 15:20:52 +01:00
Uwe Steinmann
0229d329e3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-10 08:07:17 +01:00
Uwe Steinmann
c74caf1d43 fix sql statement in setOwner() 2017-02-10 08:06:22 +01:00
Uwe Steinmann
6e41c58beb add backticks around identifier in sql statements 2017-02-10 08:04:19 +01:00
Uwe Steinmann
2f0cb09e31 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-09 17:49:21 +01:00
Uwe Steinmann
fd5b5034db add method rbt() 2017-02-09 16:45:58 +01:00
Uwe Steinmann
ba1d3c8c9b fix incluѕion of files 2017-02-08 16:38:04 +01:00
Uwe Steinmann
3efdea76c0 add '`' around table name 2017-02-08 16:22:49 +01:00
Uwe Steinmann
d5dc6b125d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-02-08 15:52:00 +01:00
Uwe Steinmann
72e7e2aa20 add missing '`', do not create empty category 2017-02-08 15:47:44 +01:00
Uwe Steinmann
3a411b8461 add missing '`', do not create empty category 2017-02-08 15:47:07 +01:00
Uwe Steinmann
341aa12a05 call new hook 'documentPreview' 2017-02-07 11:52:38 +01:00
Uwe Steinmann
51b0131617 add entry for 4.3.33 2017-02-03 12:22:46 +01:00
Uwe Steinmann
04a241111f remove imported folder if requested 2017-02-03 12:21:51 +01:00
Uwe Steinmann
8f781f5c3b add new key removeFolderFromDropFolder, some updates 2017-02-03 12:21:29 +01:00
Uwe Steinmann
8516d23684 add support for fine uploader 2017-01-31 17:27:53 +01:00
Uwe Steinmann
05e163a39d add support for fine uploader 2017-01-31 17:27:33 +01:00
Uwe Steinmann
ea85b65818 do not output anything if attachment file is missing
previously outputs an icon which didn't make sense at all
2017-01-31 17:25:22 +01:00
Uwe Steinmann
96d146657d new parameter for printFineUploaderJs(), take out old AddMulitDocument 2017-01-31 17:22:57 +01:00
Uwe Steinmann
1583e29053 remove old submit event 2017-01-31 17:21:52 +01:00
Uwe Steinmann
1483334fe2 set strictformcheck for view 2017-01-31 17:20:45 +01:00
Uwe Steinmann
9e073c7111 pass strictformcheck to view 2017-01-31 17:20:05 +01:00
Uwe Steinmann
3dd94a9eac do not check if file was uploaded, as this fails for fine uploader files 2017-01-31 17:19:12 +01:00
Uwe Steinmann
b500bb1207 start new version 4.3.33 2017-01-30 13:19:27 +01:00
Uwe Steinmann
196725042d add support for fine-uploader as a replacement for the old jumploader 2017-01-30 13:17:58 +01:00
Uwe Steinmann
7401330e81 do not set date to 0000:00:00 ... use NULL instead 2017-01-27 08:11:04 +01:00
Uwe Steinmann
211a3bc6bc Merge branch 'seeddms-5.0.x' 2017-01-26 15:51:47 +01:00
Uwe Steinmann
eb82f8cc19 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-26 14:44:47 +01:00
Uwe Steinmann
7a674b9162 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-26 14:44:33 +01:00
Uwe Steinmann
1314f27660 list access rights in popup box if more than 3 2017-01-26 14:44:07 +01:00
Uwe Steinmann
94cf017102 add entry to 5.1.2 2017-01-25 15:11:12 +01:00
Uwe Steinmann
efa316dbf8 propperly set defaultaccess 2017-01-25 15:09:51 +01:00
Uwe Steinmann
247f27fa54 add more notes to 5.1.2 2017-01-25 14:58:41 +01:00
Uwe Steinmann
a7ea074328 set formtoken in button to sustitute user 2017-01-25 14:53:23 +01:00
Uwe Steinmann
b90d1a6be5 pass comment to finishRevision() 2017-01-25 14:51:38 +01:00
Uwe Steinmann
0d5f7a607a finishRevision() puts document version in to 'waiting'
need to be able to start a new revision
2017-01-25 14:49:37 +01:00
Uwe Steinmann
c98ff36977 minor uncrucial corrections 2017-01-25 14:49:05 +01:00
Uwe Steinmann
b07cd2d442 fix getRevisionStatus()
it didn't always return the last entry of the revision log
2017-01-25 14:48:12 +01:00
Uwe Steinmann
40956e9501 paѕs owner to controller 2017-01-25 12:24:47 +01:00
Uwe Steinmann
f4648a7023 take out old function tree(), fix listing missing checksums 2017-01-25 11:56:01 +01:00
Uwe Steinmann
cf3dba89e0 add note to 5.1.2 2017-01-25 11:55:33 +01:00
Uwe Steinmann
ec4712b5bf limit sql statement in getDuplicateDocumentContent() to 1000 hits 2017-01-25 11:54:36 +01:00
Uwe Steinmann
99a83c0d97 set showtree in view 2017-01-25 10:43:43 +01:00
Uwe Steinmann
475239e1ba turn of sorting in lists 2017-01-25 10:43:21 +01:00
Uwe Steinmann
d200070c16 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-25 10:00:56 +01:00
Uwe Steinmann
7ea83493cf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-25 10:00:47 +01:00
Uwe Steinmann
cf65fe9605 add new keys 2017-01-25 10:00:23 +01:00
Uwe Steinmann
2077cd6bcb add items to 5.1.2 2017-01-25 09:56:52 +01:00
Uwe Steinmann
86530371f4 add changes to 5.1.2 2017-01-25 09:55:15 +01:00
Uwe Steinmann
69e1bb66ad list documents in revision/reception without access 2017-01-25 09:53:18 +01:00
Uwe Steinmann
761247fe0d add new methods getDocumentsInReception() and getDocumentsInRevision() 2017-01-25 09:52:48 +01:00
Uwe Steinmann
bbcff75b00 create temp table for document revisions 2017-01-25 09:52:16 +01:00
Uwe Steinmann
8c63cc607b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-24 14:23:48 +01:00
Uwe Steinmann
15d45dc493 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-24 14:23:36 +01:00
Uwe Steinmann
39b02a3b9b add new keys 2017-01-24 14:23:21 +01:00
Uwe Steinmann
6a43c85eb9 getUnlinkedDocumentContent, getNoFileSizeDocumentContent, getNoChecksumDocumentContent return only false if db query fails 2017-01-24 14:21:55 +01:00
Uwe Steinmann
b814b07e2a reorganize page like MyDocuments page 2017-01-24 14:20:43 +01:00
Uwe Steinmann
27247438f5 call new hook finishReviseDocument 2017-01-24 14:20:10 +01:00
Uwe Steinmann
c6d69bdb75 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-23 08:57:16 +01:00
Uwe Steinmann
c35913ee58 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-23 08:57:05 +01:00
Uwe Steinmann
09e7d66e76 new keys and various updates (especially sk_SK) 2017-01-23 08:56:32 +01:00
Uwe Steinmann
b1fa737b56 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-23 07:58:23 +01:00
Uwe Steinmann
eb15436597 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-23 07:58:09 +01:00
Uwe Steinmann
b05df3ce6b set cachedir as it is used in Bootstrap class 2017-01-23 07:57:40 +01:00
Uwe Steinmann
4108cf1696 add saving list of users and groupѕ 2017-01-23 07:53:01 +01:00
Uwe Steinmann
3c05f5f5cb save array in ext configuration as comma separated list 2017-01-23 07:52:19 +01:00
Uwe Steinmann
e280a6afa9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-20 15:02:27 +01:00
Uwe Steinmann
35e9dbb0fb set proper link to footer js 2017-01-20 14:58:39 +01:00
Uwe Steinmann
c1e38ec059 add note to 5.1.2 2017-01-20 14:30:26 +01:00
Uwe Steinmann
4191a8feb7 list protocol of receipts and revisions 2017-01-20 14:28:30 +01:00
Uwe Steinmann
db22c3f348 getReviewersStatus() and getReceiptStatus() only return last version
the return lists will no longer include a revision, receipt for version
of a document not being the last version
2017-01-20 14:26:55 +01:00
Uwe Steinmann
cd745eb518 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 21:24:01 +01:00
Uwe Steinmann
3911fa9dd9 add entries for 4.3.22 2017-01-18 21:22:07 +01:00
Uwe Steinmann
6d9798753b set default access and owner 2017-01-18 20:58:52 +01:00
Uwe Steinmann
13973dd276 set default access for doc when uploading 2017-01-18 20:58:28 +01:00
Uwe Steinmann
88c06c2f37 add defaultAccessDocs 2017-01-18 20:58:03 +01:00
Uwe Steinmann
034977db87 add keys settings_defaultAccessDocs and settings_defaultAccessDocs_desc 2017-01-18 19:57:17 +01:00
Uwe Steinmann
c63f994a5f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-18 15:13:18 +01:00
Uwe Steinmann
47db85c175 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 15:11:45 +01:00
Uwe Steinmann
39bebbdcf6 switch to new access restrictions 2017-01-18 15:08:25 +01:00
Uwe Steinmann
32d092f929 add note about closing ticket #300 2017-01-18 14:50:05 +01:00
Uwe Steinmann
25d0edb0d7 more entries for closed bugs in 4.3.32 2017-01-18 14:46:38 +01:00
Uwe Steinmann
62c997db19 add note for 4.3.32 2017-01-18 14:46:24 +01:00
Uwe Steinmann
8959a9e167 add searching for document id 2017-01-18 14:45:40 +01:00
Uwe Steinmann
b8a7917c12 add '-' to allowed char in mimetype 2017-01-18 14:23:16 +01:00
Uwe Steinmann
6513642efb change order of lists in section 'tasks'
has now same order like tasks in the header menu
2017-01-18 11:39:29 +01:00
Uwe Steinmann
825c4378a0 add latest version 5.1.2 which somehow got lost 2017-01-18 11:08:17 +01:00
Uwe Steinmann
16342981eb output progressbar only if receipts are available 2017-01-18 11:00:38 +01:00
Uwe Steinmann
17b72a9d0c add entry to 5.1.2 2017-01-18 08:46:43 +01:00
Uwe Steinmann
e6e14fb37a show comments of reception seperated by decline/aknowledge 2017-01-18 08:45:27 +01:00
Uwe Steinmann
f3b5af1c43 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-18 08:32:48 +01:00
Uwe Steinmann
de2cf19386 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 08:32:36 +01:00
Uwe Steinmann
98cf6c65df set more styles of popupbox 2017-01-18 08:32:02 +01:00
Uwe Steinmann
75d8413832 open popupbox even if title is an <i> tag 2017-01-18 08:31:34 +01:00
Uwe Steinmann
4baa37b2d9 use translated text for comments popupbox 2017-01-18 08:30:11 +01:00
Uwe Steinmann
d3c7ef3088 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-18 08:11:12 +01:00
Uwe Steinmann
c943c2d81b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-18 08:10:59 +01:00
Uwe Steinmann
b8d4d12f4e allow to place several popup boxes on a page 2017-01-18 08:10:21 +01:00
Uwe Steinmann
3dcf867634 add code to open and close popup box 2017-01-18 08:09:50 +01:00
Uwe Steinmann
ffcd0e8a4a add style for span.closepopupbox 2017-01-18 08:09:32 +01:00
Uwe Steinmann
b769ae3805 use popupbox to show comments of document reception 2017-01-17 20:40:42 +01:00
Uwe Steinmann
9a675bafb4 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-17 18:36:17 +01:00
Uwe Steinmann
c3553335fb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-17 18:36:02 +01:00
Uwe Steinmann
9506d25202 printPopupBox() can return html instead of printing it 2017-01-17 18:35:30 +01:00
Uwe Steinmann
1c281b98e8 replace table layout by form controll 2017-01-17 18:32:17 +01:00
Uwe Steinmann
5e93bea2fd show status of reception if document is owned by current user 2017-01-17 18:31:44 +01:00
Uwe Steinmann
14d2a7263b pass all parameters to hook documentListItem, remove old code 2017-01-17 18:31:06 +01:00
Uwe Steinmann
eefdfb676a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-17 17:43:55 +01:00
Uwe Steinmann
ed0e13ea0b hook can receive up to 4 parameters 2017-01-17 17:41:52 +01:00
Uwe Steinmann
600cd490a4 first check if document is accessible before calling hook documentListRow() 2017-01-17 17:31:44 +01:00
Uwe Steinmann
24624f6136 split printList() in printListHeader(), printListFooter() and printList() 2017-01-17 15:15:40 +01:00
Uwe Steinmann
56e7f567c7 enable turn off of updating document reception 2017-01-17 14:20:33 +01:00
Uwe Steinmann
3fee35fd3a fix typo 2017-01-17 13:54:26 +01:00
Uwe Steinmann
e0ac6e0349 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-17 13:52:08 +01:00
Uwe Steinmann
61fbbd6722 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-17 13:49:34 +01:00
Uwe Steinmann
4bd65d7b6d minor fix in entrie for 4.3.32 2017-01-17 13:48:54 +01:00
Uwe Steinmann
14ab2120f1 take out definition of apache_request_headers(), do use method if not available 2017-01-17 13:47:14 +01:00
Uwe Steinmann
158fd2147b add key 'documents_user_reception' 2017-01-17 13:46:07 +01:00
Uwe Steinmann
c12eed91b3 add items for 5.1.2 2017-01-17 13:45:16 +01:00
Uwe Steinmann
520a783407 add list listReceiveOwner(), group lists in sections 2017-01-17 13:44:57 +01:00
Uwe Steinmann
ba4a6558b4 add new document list ReceiveOwner, list docs with revision in AppRevOwner 2017-01-17 13:44:19 +01:00
Uwe Steinmann
e562ad14cd take out link to network drive
The URL doesn't contain the username anymore
2017-01-17 10:16:23 +01:00
Uwe Steinmann
9d2ed9dc97 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-17 08:59:05 +01:00
Uwe Steinmann
55e04cbc7a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-17 08:40:43 +01:00
Uwe Steinmann
31df30f447 new key 'link_to_version', some new translations 2017-01-17 08:40:15 +01:00
Uwe Steinmann
f6d3e9785f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-16 15:52:19 +01:00
Uwe Steinmann
c37910e473 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-16 15:12:16 +01:00
Uwe Steinmann
0fb95a5415 add entry for 4.3.32 2017-01-16 13:02:59 +01:00
Uwe Steinmann
20e57e8e76 check if enableUpdateRevApp is set 2017-01-16 13:02:15 +01:00
Uwe Steinmann
d31951748c pass 'target' or 'source' to filterDocumentLinks()
will check if access rights on linked documents are sufficient
2017-01-16 13:01:09 +01:00
Uwe Steinmann
905eddabce add new configuration enableUpdateRevApp 2017-01-16 13:00:22 +01:00
Uwe Steinmann
5339c53fa0 add methods mayUpdateReview() and mayUpdateApproval() 2017-01-16 12:59:41 +01:00
Uwe Steinmann
57498f84a1 add optional parameter to filterDocumentLinks() 2017-01-16 12:59:02 +01:00
Uwe Steinmann
0fd9c4d340 add settings_enableUpdateRevApp and settings_enableUpdateRevApp_desc 2017-01-16 12:57:48 +01:00
Uwe Steinmann
fdcc646c70 this has probably been added by accident 2017-01-13 08:55:40 +01:00
Uwe Steinmann
80ddb5dce2 fix creation of distribution 2017-01-13 08:44:21 +01:00
Uwe Steinmann
b34ae57d0e move drop-tables-innodb.sql into install 2017-01-13 08:43:40 +01:00
Uwe Steinmann
4a91b359c8 fix creating of distribution 2017-01-13 08:43:18 +01:00
Uwe Steinmann
fae3831e11 add note on where apache_request_headers() orig. comes from 2017-01-13 08:22:41 +01:00
Uwe Steinmann
8d55c139ff add new key list_access_rights 2017-01-13 08:22:30 +01:00
Uwe Steinmann
c09146796f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 21:06:54 +01:00
Uwe Steinmann
deceea4494 new version 5.0.9 2017-01-12 21:05:15 +01:00
Uwe Steinmann
b832ace635 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 18:22:21 +01:00
Uwe Steinmann
25f23544d2 fix order of releases 2017-01-12 18:19:45 +01:00
Uwe Steinmann
a1564db001 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-12 18:19:00 +01:00
Uwe Steinmann
662d6149b7 remove wrong entry in notes 2017-01-12 18:18:37 +01:00
Uwe Steinmann
d0662a6132 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-12 18:08:24 +01:00
Uwe Steinmann
950449ac04 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-12 18:03:01 +01:00
Uwe Steinmann
7e34053ece new version 4.3.32 2017-01-12 17:45:36 +01:00
Uwe Steinmann
97fe1e5d38 new version 4.3.32 2017-01-12 17:44:29 +01:00
Uwe Steinmann
2b58a74009 lots of entries for 4.3.32 2017-01-12 17:44:09 +01:00
Uwe Steinmann
a4c0fd4200 more entries for 4.3.32 2017-01-12 17:29:25 +01:00
Uwe Steinmann
fe2a875872 put access rights into popup box if more then 3 exists 2017-01-12 17:26:55 +01:00
Uwe Steinmann
be3fb089ad use new function printAccordion(), put attribute values into seperate accordions 2017-01-12 17:26:05 +01:00
Uwe Steinmann
06bba1aa9d add methods printPopupBox() and printAccordion() 2017-01-12 17:25:38 +01:00
Uwe Steinmann
99805e5c30 add code and style for simple popup box 2017-01-12 16:41:44 +01:00
Uwe Steinmann
0a02edfb04 replace language key 'version' by 'documentcontent' 2017-01-12 12:08:13 +01:00
Uwe Steinmann
4ef617f3d1 add new key documentcontent 2017-01-12 12:07:45 +01:00
Uwe Steinmann
7a7976827a add function apache_request_headers() in case it is missing
this allows to run the web dav server even on non apache environments
or fastcgi is used
2017-01-12 11:00:14 +01:00
Uwe Steinmann
ba621af162 update tasks in menu only if logged in 2017-01-11 18:17:52 +01:00
Uwe Steinmann
32da91d145 add item to 5.1.2 2017-01-11 18:08:16 +01:00
Uwe Steinmann
66e6cec446 add filter for status 'S_DRAFT' 2017-01-11 17:49:21 +01:00
Uwe Steinmann
7a721ee84f make all list sortable by fields in header 2017-01-10 21:25:45 +01:00
Uwe Steinmann
2d2ebdc887 add ordering to all list in getDocumentList() 2017-01-10 21:25:15 +01:00
Uwe Steinmann
229ae54234 order groups by name in getAccessList() 2017-01-10 17:53:52 +01:00
Uwe Steinmann
e80987de9a order groups by name getAccessList() 2017-01-10 17:51:46 +01:00
Uwe Steinmann
47f43a47ba fix validation of alternative file upload/import fields 2017-01-10 09:23:27 +01:00
Uwe Steinmann
95cdf17527 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-10 09:13:38 +01:00
Uwe Steinmann
01ddb635f1 fix js for clear folder in folder selector 2017-01-10 09:13:11 +01:00
Uwe Steinmann
01d883bd95 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-10 09:12:14 +01:00
Uwe Steinmann
6951fe2169 add 'remove' button to folder chooser 2017-01-10 09:11:11 +01:00
Uwe Steinmann
e49f675cfc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-10 08:48:18 +01:00
Uwe Steinmann
865ac3b424 set Content-Disposition even if file type not in list of online file types 2017-01-10 08:48:05 +01:00
Uwe Steinmann
05f1919e3c set Content-Disposition even if file type not in list of online file types 2017-01-10 08:45:21 +01:00
Uwe Steinmann
8375b66cbe Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-10 07:41:58 +01:00
Uwe Steinmann
ddfa76ae76 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-10 07:41:35 +01:00
Uwe Steinmann
cac47ee428 fix removal of file in drop folder chooser 2017-01-10 07:40:56 +01:00
Uwe Steinmann
ff48af1476 fix clearing filename in dropfolder chooser, add document.ready() 2017-01-10 07:37:45 +01:00
Uwe Steinmann
d659627959 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-10 07:08:18 +01:00
Uwe Steinmann
0d1b2625de set unique name for document chooser 2017-01-10 07:04:07 +01:00
Uwe Steinmann
b27b8ba7fd check access rights in controller, not before 2017-01-10 06:58:07 +01:00
Uwe Steinmann
5584cedce3 fix validation if just file from library is given 2017-01-10 06:36:45 +01:00
Uwe Steinmann
fae159a5f3 set name of file in zip file to 'docid'-'version'-'docname' (Closes #95) 2017-01-09 21:33:45 +01:00
Uwe Steinmann
95ebfe1657 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-09 21:13:42 +01:00
Uwe Steinmann
289e13b255 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-09 15:32:57 +01:00
Uwe Steinmann
23e3f8376d add new key 'command' 2017-01-09 12:58:09 +01:00
Uwe Steinmann
83f863ddaa add checkboxes for preview and js code 2017-01-09 10:57:35 +01:00
Uwe Steinmann
b78a730f82 add method footerjs() which deliveres a temp. js file 2017-01-09 10:57:07 +01:00
Uwe Steinmann
60dd7f8516 check if preview and/or js cache is to be cleared 2017-01-09 10:56:32 +01:00
Uwe Steinmann
31e2eaccb0 various updates, some keys changed 2017-01-09 10:55:54 +01:00
Uwe Steinmann
72535081d6 check for return value of mytasks api call
do nothing if data is null
2017-01-09 08:58:37 +01:00
Uwe Steinmann
ecf62be922 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-06 16:51:50 +01:00
Uwe Steinmann
f3b0af988a do not package js anymore 2017-01-06 07:26:09 +01:00
Uwe Steinmann
86c4f75c4e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-06 07:25:12 +01:00
Uwe Steinmann
fb0e581cb4 remove some files from dist before packaging 2017-01-06 07:24:44 +01:00
Uwe Steinmann
32b0275214 old jquery not needed anymore 2017-01-06 07:23:30 +01:00
Uwe Steinmann
321535c391 use new path of jquery.passwordstrength.js 2017-01-06 07:23:25 +01:00
Uwe Steinmann
cb1812a2f4 move js file into new directory 2017-01-06 07:23:20 +01:00
Uwe Steinmann
8ecd968812 add directory for password strenght 2017-01-06 07:23:14 +01:00
Uwe Steinmann
5e7eddcd86 remove some files from dist before packaging 2017-01-06 07:21:02 +01:00
Uwe Steinmann
37e81b29e8 old jquery not needed anymore 2017-01-06 07:20:25 +01:00
Uwe Steinmann
ae4e66c8b1 use new path of jquery.passwordstrength.js 2017-01-06 07:19:17 +01:00
Uwe Steinmann
93ecbfc7b1 move js file into new directory 2017-01-06 07:17:48 +01:00
Uwe Steinmann
0817223524 add directory for password strenght 2017-01-06 07:16:52 +01:00
Uwe Steinmann
ffad3120a6 ignore some files 2017-01-05 18:06:12 +01:00
Uwe Steinmann
fd2d343c71 add method getDocumentPreview(), fix setting some headers 2017-01-05 10:05:47 +01:00
Uwe Steinmann
fbb91c9c30 use form controls 2017-01-04 18:08:18 +01:00
Uwe Steinmann
9f0e5c4f3e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-04 17:54:07 +01:00
Uwe Steinmann
41e6b1a9f3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-04 17:53:57 +01:00
Uwe Steinmann
daa6b1dea1 use form controlls instead of table 2017-01-04 17:53:27 +01:00
Uwe Steinmann
b56cb9c018 take out surounding table 2017-01-04 17:53:01 +01:00
Uwe Steinmann
5c96154bde take out surounding table 2017-01-04 17:52:37 +01:00
Uwe Steinmann
b1deb8a718 remove table around tree
it just adds a little space around the tree
2017-01-04 17:30:56 +01:00
Uwe Steinmann
b5f8e9efcc readd [post|pre]PreviewDocument hooks 2017-01-04 17:23:59 +01:00
Uwe Steinmann
8b1b9fdb2a set $dms in preview() 2017-01-04 17:14:45 +01:00
Uwe Steinmann
7d8f4f54c0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2017-01-04 17:11:39 +01:00
Uwe Steinmann
95b28aed9f use div-control-group instead of table in forms 2017-01-04 07:58:24 +01:00
Uwe Steinmann
c40b34295c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-04 07:44:02 +01:00
Uwe Steinmann
2810de59a0 replace table by div-control-group in forms 2017-01-04 07:03:05 +01:00
Uwe Steinmann
f1326c4968 make field for attribute of type date wider 2017-01-04 07:02:30 +01:00
Uwe Steinmann
d529b2d4b2 fix syntax error (Closes #304) 2017-01-01 19:29:20 +01:00
Uwe Steinmann
a9a51adbb5 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2017-01-01 19:27:51 +01:00
Uwe Steinmann
70e947b6ff replace table by divs in form 2017-01-01 19:21:22 +01:00
Uwe Steinmann
1fb2af79b6 set autocomplete off for login and password 2017-01-01 19:20:19 +01:00
Uwe Steinmann
fae7e05dbc replace Hidden by hidden 2017-01-01 19:19:31 +01:00
Uwe Steinmann
1376b657e9 replace table by divs in form 2017-01-01 14:49:53 +01:00
Uwe Steinmann
38a1c524a0 replace table by div in form 2017-01-01 14:49:08 +01:00
Uwe Steinmann
b58f539e03 replace Hidden by hidden 2017-01-01 14:48:40 +01:00
Uwe Steinmann
c39849b9f8 replace table by divs in form 2017-01-01 14:48:16 +01:00
Uwe Steinmann
5796ccdf06 add exit() after calling header('Location: ..') 2017-01-01 14:47:20 +01:00
Uwe Steinmann
4709e98429 remove some white space 2017-01-01 14:46:57 +01:00
Uwe Steinmann
9e0ca7cb5f remove some white space 2017-01-01 14:46:25 +01:00
Uwe Steinmann
54f3232c52 check for controller in extension by absolute path 2016-12-29 17:36:27 +01:00
Uwe Steinmann
8d20d39a07 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-22 09:36:15 +01:00
Uwe Steinmann
3242714fda move document infos into own method 2016-12-22 09:31:46 +01:00
Uwe Steinmann
d47982a671 do not allow to edit content if file doesn't exist 2016-12-22 09:25:10 +01:00
Uwe Steinmann
db0021d65b pass content instead of document to preview hooks 2016-12-22 09:21:20 +01:00
Uwe Steinmann
259c7ffc3c add hooks for showing preview of document 2016-12-22 09:11:40 +01:00
Uwe Steinmann
bd67ea6abd set filetype when uploading file 2016-12-22 07:54:52 +01:00
Uwe Steinmann
cf597a4bed get $dms from view in preview() 2016-12-22 07:54:07 +01:00
Uwe Steinmann
c6d26ec3fa Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-12-15 06:42:15 +01:00
Uwe Steinmann
9319aabd3e start version 4.3.32 2016-12-12 18:17:44 +01:00
Uwe Steinmann
4147c29dd3 set availlanguages to empty array() if not set in configuration 2016-12-12 18:14:54 +01:00
Uwe Steinmann
7bf6ec003c Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-12 16:25:54 +01:00
Uwe Steinmann
6c7e634213 fix cleanup of new mimetype 2016-12-12 16:25:34 +01:00
Uwe Steinmann
e49c9e1c98 Merge branch 'seeddms-5.0.x' 2016-12-12 10:32:27 +01:00
Uwe Steinmann
13bab66b6f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-08 18:21:08 +01:00
Uwe Steinmann
25d12bc24c add entry for 4.3.31 2016-12-08 18:19:01 +01:00
Uwe Steinmann
dfc0db8bc5 no longer send notif. to owner 2016-12-08 18:14:54 +01:00
Uwe Steinmann
902565fee4 merge notif. list to prevent duplicates 2016-12-08 18:14:24 +01:00
Uwe Steinmann
3f6f0dd818 do not send extra notif. to owner, send notif. of src and target forlder 2016-12-08 18:13:12 +01:00
Uwe Steinmann
30d85e03fc remove old, already commented code 2016-12-08 18:12:25 +01:00
Uwe Steinmann
5937d98cb3 do not send notif. to old owner, send notif. if access rights are inherited again 2016-12-08 18:11:35 +01:00
Uwe Steinmann
70a1a20070 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-08 15:43:07 +01:00
Uwe Steinmann
50e920b63e take out themes blue, hc, clean from distribution 2016-12-08 15:41:18 +01:00
Uwe Steinmann
3ae469fd2b remove old notification code 2016-12-08 15:37:12 +01:00
Uwe Steinmann
5bdfb9b2e7 add placeholder for newmimetype and newcommand fields 2016-12-08 06:28:09 +01:00
Uwe Steinmann
edf32a9042 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-07 17:34:23 +01:00
Uwe Steinmann
af72e41cf3 check if mimetype has valid chars before saving new fulltext converter 2016-12-07 17:33:34 +01:00
Uwe Steinmann
d769ba37e6 save new mimetype and command in settings.xml 2016-12-07 17:24:20 +01:00
Uwe Steinmann
c5f3488af2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-07 16:48:30 +01:00
Uwe Steinmann
d2d731fc81 add entry for 4.3.31 2016-12-07 16:48:07 +01:00
Uwe Steinmann
6890a8b76b show workflow state if document is in workflow 2016-12-07 16:47:44 +01:00
Uwe Steinmann
a8e2fcd5d6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-07 15:38:27 +01:00
Uwe Steinmann
e5ab79b067 show workflow name and state instead of just 'in workflow' 2016-12-07 15:37:57 +01:00
Uwe Steinmann
e9e0de4d2a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-07 15:32:54 +01:00
Uwe Steinmann
ad91c8202b show workflow state instead of just 'in workflow'
also set title of surounding span to workflow name
2016-12-07 15:30:59 +01:00
Uwe Steinmann
105b453991 add entry for 4.3.31 2016-12-06 20:22:18 +01:00
Uwe Steinmann
1ea96a5db7 propperly check for filesize when indexing document 2016-12-06 20:21:14 +01:00
Uwe Steinmann
a8b7277759 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-06 18:06:19 +01:00
Uwe Steinmann
f30367126f add two new error msg 2016-12-06 18:02:01 +01:00
Uwe Steinmann
6aeb7d78be use better error msg when removing object failed 2016-12-06 18:00:53 +01:00
Uwe Steinmann
12d241fa68 use better error msg, use abstract class for full text search 2016-12-06 18:00:14 +01:00
Uwe Steinmann
5b459a187d make fileselect box work on pages with ajax
fileselect box in html code which was loaded by ajax didn't work
propperly. The selected file name wasn't shown.
2016-12-06 15:21:08 +01:00
Uwe Steinmann
b84cf0a1fc fix typo 2016-12-05 20:36:23 +01:00
Uwe Steinmann
45a3a0f0d2 various minor updates 2016-12-05 20:35:47 +01:00
Uwe Steinmann
b6fb4f7b54 add item to 4.3.31 2016-12-05 10:27:06 +01:00
Uwe Steinmann
2bd3733929 link checkbox to expiration date
will automatically uncheck box if date is changed
2016-12-05 10:25:41 +01:00
Uwe Steinmann
441cf946b2 remove unused variable $form 2016-12-05 10:25:17 +01:00
Uwe Steinmann
97ee39df99 replace last remaining call of sanitizeString() by preg_replace() 2016-12-05 10:24:36 +01:00
Uwe Steinmann
5397dbd58c uncheck checkbox below expire date if date is set 2016-12-05 10:24:03 +01:00
Uwe Steinmann
ce20c3fea9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-12-02 11:35:57 +01:00
Uwe Steinmann
48c4d45a5b new help file (Thanks Albert) 2016-12-01 16:00:43 +01:00
Uwe Steinmann
306786d9bd add entry for 4.3.31 2016-12-01 08:30:19 +01:00
Uwe Steinmann
6494eda4eb send request for approval mail only if no review is needed
previously the approver was invited to approve the document, even if
the review hasn't been done
2016-12-01 08:25:16 +01:00
Uwe Steinmann
bbf4caa8c8 fix take over of reviewer, approver
the javascript call to update the reviewer, approval selection was not
updated to select2
2016-12-01 08:23:52 +01:00
Uwe Steinmann
554a92c828 add link to configuration of extension 2016-11-28 08:33:01 +01:00
Uwe Steinmann
eb751e4195 add anchor for each extension config 2016-11-28 08:32:45 +01:00
Uwe Steinmann
5fa252ca08 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-24 11:45:03 +01:00
Uwe Steinmann
b830eb5c37 add some new phrases for future releases 2016-11-24 11:44:39 +01:00
Uwe Steinmann
e21e897468 use keywords for different searches for document reception 2016-11-22 17:58:59 +01:00
Uwe Steinmann
6cb5dec1a9 fix search for documents with reception acknowledgement 2016-11-22 17:58:28 +01:00
Uwe Steinmann
662d9d0d85 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-22 10:34:15 +01:00
Uwe Steinmann
a4bec45158 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-22 10:28:29 +01:00
Uwe Steinmann
2a2264186e add entry for 4.3.31 2016-11-22 09:23:55 +01:00
Uwe Steinmann
031839f560 lots of correction made by r3code 2016-11-22 09:23:35 +01:00
Uwe Steinmann
e85673cd5c take over return value from hook in callHook() if it is !== null 2016-11-22 09:21:12 +01:00
Uwe Steinmann
d70deddd2f check if hook returns null
in that case run the default operation
2016-11-22 09:20:12 +01:00
Uwe Steinmann
be160bdbea add closing option tags 2016-11-18 13:58:31 +01:00
Uwe Steinmann
a76207dcbd add closing option tag 2016-11-18 13:56:15 +01:00
Uwe Steinmann
9015c1ea08 run $('.pwd').passwordStrenght() after loading html 2016-11-18 13:55:46 +01:00
Uwe Steinmann
df937309ee add note for 4.3.31 2016-11-18 09:23:51 +01:00
Uwe Steinmann
6448935150 add check for cycles in workflow 2016-11-18 09:05:21 +01:00
Uwe Steinmann
9f5aa9c8be add more documentation
explain in comment why 'Done' is output when a workflow transition
can be executed but the trigger is already there.
2016-11-18 08:42:56 +01:00
Uwe Steinmann
f339a77227 add note on new method SeedDMS_Core_Workflow::checkForCycles() 2016-11-18 08:41:44 +01:00
Uwe Steinmann
b3657b039a rename check() to checkForCycles() 2016-11-18 08:40:49 +01:00
Uwe Steinmann
3459f18c72 add check for cycles in workflow 2016-11-18 08:38:46 +01:00
Uwe Steinmann
2c498613b6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-17 16:02:42 +01:00
Uwe Steinmann
4e92b9e0d3 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-17 16:02:27 +01:00
Uwe Steinmann
2601173695 add entry for 4.3.31 2016-11-17 16:01:07 +01:00
Uwe Steinmann
96d153a4f8 do not resetSu wіth any request 2016-11-17 16:00:08 +01:00
Uwe Steinmann
f0a6265b4a list of available languages can be set
this will reduce the languages in the language selector and also
shorten the time for loading all translations
2016-11-17 11:31:58 +01:00
Uwe Steinmann
0c4122b0f6 add new phrases for selection of languages, various minor updates 2016-11-17 11:31:18 +01:00
Uwe Steinmann
1db31df27c more changes in 4.3.31 2016-11-17 06:36:04 +01:00
Uwe Steinmann
80166278ba remove some left over php short tags 2016-11-16 21:56:48 +01:00
Uwe Steinmann
4e93bf4ca2 fix php tag 2016-11-16 17:03:27 +01:00
Uwe Steinmann
7db1703477 forget to create field secret when change table tblUsers 2016-11-16 11:39:13 +01:00
Uwe Steinmann
45e99fa372 add more converters for preview 2016-11-15 21:13:04 +01:00
Uwe Steinmann
a7cff8e309 new version 1.2.1 2016-11-15 21:08:26 +01:00
Uwe Steinmann
125697a287 setConverters() overrides existing converters 2016-11-15 21:08:03 +01:00
Uwe Steinmann
4bcf552f64 add some default converters 2016-11-15 20:39:35 +01:00
Uwe Steinmann
b4be067934 add note about closing #294 2016-11-15 18:11:13 +01:00
Uwe Steinmann
408592ee90 replace some php short tags (Closes: #294) 2016-11-15 18:10:22 +01:00
Uwe Steinmann
c5a67874cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:27:18 +01:00
Uwe Steinmann
046f33f2e1 validate() is less strict on multi value attributes
if the attribute has just one value the leading separator can be
omitted
2016-11-14 11:26:26 +01:00
Uwe Steinmann
a8f5892562 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-14 11:11:11 +01:00
Uwe Steinmann
7d7bff7b22 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-14 11:11:00 +01:00
Uwe Steinmann
38cdbe04d2 add notes 2016-11-14 11:07:03 +01:00
Uwe Steinmann
6a059c9a1b propperly check for multiple values 2016-11-14 11:06:38 +01:00
Uwe Steinmann
a1f6bd9a7d getAttributeValue() checks if value starts with seperator 2016-11-14 11:05:57 +01:00
Uwe Steinmann
530d75fdf0 getValueAsArray() checks if value starts with separator
new funtion parseValue()
2016-11-14 11:04:57 +01:00
Uwe Steinmann
718762d284 check for access on document in mytasks and view->menutasks (Ticket #88)
previously documents where listed, even if the user had no access
2016-11-14 08:38:12 +01:00
Uwe Steinmann
a560035482 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-11 16:30:23 +01:00
Uwe Steinmann
26f19b8654 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-11 16:28:35 +01:00
Uwe Steinmann
444ee2f8eb add new phrases 2016-11-11 16:25:30 +01:00
Uwe Steinmann
106f849e82 minor documentation fix 2016-11-11 16:20:10 +01:00
Uwe Steinmann
3ddd24c7cd add expired status to list of status without access 2016-11-11 16:19:42 +01:00
Uwe Steinmann
16ae36c6e0 encode subject of mail as utf-8 2016-11-11 12:27:55 +01:00
Uwe Steinmann
dae20dcd11 backport code for reading converters
now supports converters for preview and fulltext
2016-11-11 09:09:51 +01:00
Uwe Steinmann
87bbb6bf44 use orig file, set filename in utf-8 2016-11-09 19:54:53 +01:00
Uwe Steinmann
1df09242a0 don't show preview if ViewOnline isn't allowed, more access checks 2016-11-09 19:54:00 +01:00
Uwe Steinmann
ba338191cb new version 5.1.2 2016-11-08 14:06:37 +01:00
Uwe Steinmann
ca76b64ba8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-08 12:00:44 +01:00
Uwe Steinmann
2ed68b22d2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-08 11:39:02 +01:00
Uwe Steinmann
b3571c360b new version 4.3.31 2016-11-08 11:27:28 +01:00
Uwe Steinmann
943d8d262c make entries in search result dragable and dropable 2016-11-08 11:10:09 +01:00
Uwe Steinmann
c973a8c65b fix error in onAddClipboard()
used wrong variable name for event
2016-11-08 11:09:42 +01:00
Uwe Steinmann
7292bfe343 add missing files to package 2016-11-07 16:29:21 +01:00
Uwe Steinmann
379a3d728e show svg in preview 2016-11-07 16:28:58 +01:00
Uwe Steinmann
d5d7bbbb84 include pdf viewer 2016-11-07 14:58:11 +01:00
Uwe Steinmann
6f387b2125 include missing files 2016-11-07 10:10:41 +01:00
Uwe Steinmann
7c7c35cbf4 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-07 09:31:00 +01:00
Uwe Steinmann
91540ac6d9 set white background of preview images
if a document was converted from an office format to pdf and then to
png, the png has transparent areas on the borders of the page. This
makes the gray of the backgrond shine through, which looked quite ugly.
2016-11-07 09:29:01 +01:00
Uwe Steinmann
b5626c2cdf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-07 09:27:28 +01:00
Uwe Steinmann
6e1c759e3c add entries for 4.3.31 2016-11-07 09:27:08 +01:00
Uwe Steinmann
fbb198cd9f pass showFullPreview and convertToPdf to view 2016-11-07 09:26:19 +01:00
Uwe Steinmann
84f9fd89f0 show pdf preview 2016-11-07 09:25:55 +01:00
Uwe Steinmann
f960f69fc9 add new configuration for preview of pdf documents 2016-11-07 09:25:06 +01:00
Uwe Steinmann
f8f527a174 new phrases 2016-11-07 09:06:24 +01:00
Uwe Steinmann
86d5e7aede issue error msg if drop folder is not accessible 2016-11-07 08:54:56 +01:00
Uwe Steinmann
a5c6a0cd5b remove file from drop folder if requested by documentation 2016-11-07 08:53:49 +01:00
Uwe Steinmann
531b645a2d new version 1.2.0
addѕ previewer which converts documents to pdf instead of png
2016-11-07 08:52:46 +01:00
Uwe Steinmann
674de91419 add more documentation, add fold marks 2016-11-05 12:39:57 +01:00
Uwe Steinmann
5ee4253fe0 converters can be set by setConverters() 2016-11-05 12:36:01 +01:00
Uwe Steinmann
20f2d68e05 take out some old code 2016-11-05 12:28:25 +01:00
Uwe Steinmann
10a8b14eff take out search for reception 2016-11-04 20:28:22 +01:00
Uwe Steinmann
42bb8b4bf6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-04 15:43:00 +01:00
Uwe Steinmann
014f6dfbb9 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-04 15:42:45 +01:00
Uwe Steinmann
c485c272f5 turn .chzn-select-deselect into select2 box 2016-11-04 15:42:24 +01:00
Uwe Steinmann
d05962c58b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-04 08:32:29 +01:00
Uwe Steinmann
3a2dc21942 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-04 08:32:09 +01:00
Uwe Steinmann
76f6de08de use bootstrap tags for selection form 2016-11-04 08:31:43 +01:00
Uwe Steinmann
4e79899323 fix copy&paste error 2016-11-03 21:44:49 +01:00
Uwe Steinmann
86ba717c83 use bootstrap tags for selection form 2016-11-03 20:29:45 +01:00
Uwe Steinmann
44bc96835a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-03 20:25:04 +01:00
Uwe Steinmann
55746d2cdb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-03 20:24:52 +01:00
Uwe Steinmann
cb15b34749 use bootstrap tagging for selection form 2016-11-03 20:24:28 +01:00
Uwe Steinmann
c2446c48f5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-03 20:20:33 +01:00
Uwe Steinmann
52e82bb36a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-03 20:18:51 +01:00
Uwe Steinmann
3843c6f6ff add missing phrase, updates 2016-11-03 20:02:35 +01:00
Uwe Steinmann
e5016cf4f1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-11-03 19:46:07 +01:00
Uwe Steinmann
8e42193972 use common line for document information 2016-11-03 11:44:08 +01:00
Uwe Steinmann
f55f739f97 remove item from 4.3.31 as it was fixed in 5.0.8 2016-11-02 18:22:34 +01:00
Uwe Steinmann
7e3455b2ad Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-02 18:22:16 +01:00
Uwe Steinmann
7482b751e6 start new version 4.3.31 2016-11-02 18:20:15 +01:00
Uwe Steinmann
f1f970b0e0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-11-02 18:13:18 +01:00
Uwe Steinmann
e92dc2498b start new version 4.3.31 2016-11-02 18:07:30 +01:00
Uwe Steinmann
c2687ec74e show list of transtions where the state/action is used 2016-11-02 18:00:26 +01:00
Uwe Steinmann
495affcc88 use bootstrap tags for selection of workflow 2016-11-02 17:59:58 +01:00
Uwe Steinmann
c4a510f4d8 use bootstrap tagging for selection of group and user 2016-11-02 17:58:42 +01:00
Uwe Steinmann
6c3a9c6734 add method getTransitions() to class SeedDMS_Core_Workflow[Action|State] 2016-11-02 17:57:23 +01:00
Uwe Steinmann
209b27ece7 passing missing parameter to SeedDMS_AccessOperation() 2016-11-02 13:56:18 +01:00
Uwe Steinmann
0bb2848ddf start changelog for 5.0.8 2016-11-02 13:50:59 +01:00
Uwe Steinmann
f6db8de5bd do not use static class name 'SeedDMS_Core_Document'
rather use classname as saved in instance of dms
2016-11-02 13:40:54 +01:00
Uwe Steinmann
1d51b3ce13 fix inclusion of files 2016-11-02 13:40:31 +01:00
Uwe Steinmann
f36ffb1032 use select2 instead of choosen 2016-11-02 12:26:38 +01:00
Uwe Steinmann
13bed81418 include select2 code 2016-11-02 12:26:16 +01:00
Uwe Steinmann
966a566937 put fullname in data-subtitle of option tag 2016-11-02 12:25:47 +01:00
Uwe Steinmann
893e84d442 put objtype and type of attrdef into data-subtitle of option tag 2016-11-02 12:25:03 +01:00
Uwe Steinmann
7248c1a630 add replacement for chosen 2016-11-02 12:24:13 +01:00
Uwe Steinmann
f1f22d2a81 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-31 15:16:41 +01:00
Uwe Steinmann
77a77d12e6 new version 4.3.30 2016-10-31 15:05:39 +01:00
Uwe Steinmann
819602ee1a some new phrases in settings 2016-10-31 14:54:19 +01:00
Uwe Steinmann
316cb377da major update 2016-10-31 14:53:57 +01:00
Uwe Steinmann
758ce0a24d validate() returns early if error was found 2016-10-27 17:47:47 +02:00
Uwe Steinmann
e8ec31e293 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 17:07:34 +02:00
Uwe Steinmann
58bee377a0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-27 17:07:22 +02:00
Uwe Steinmann
682b5dafe7 do not check for enableOwnerRevApp anymore
a user who has been once added as a reviewer/approver may have become
the owner of the document later. Such a user may still be allowed
to review/approve. enableOwnerRevApp will only affect the list of
users when the reviewers/approvers are set.
2016-10-27 17:05:12 +02:00
Uwe Steinmann
408cd5a3eb fix fatal error when recipients were removed from list 2016-10-27 14:35:04 +02:00
Uwe Steinmann
f9d2d9dc48 make sure only users allowed to be a revcipient are saved 2016-10-27 14:28:54 +02:00
Uwe Steinmann
94dbc6b240 do not take enableOwnerRe[vApp|cipt] into account
if a user has been assigen as Reviewer/Approver/Revisor and became
the owner of the document in the mean timer or the configuration has
change he/she should still be able to do the review/approval/revision
2016-10-27 14:23:26 +02:00
Uwe Steinmann
2bc839918a take enableXxxxRevApp into account 2016-10-27 14:22:49 +02:00
Uwe Steinmann
ef4b6578cc check if setting revisor is allowed, pass enableXXXRevApp to view 2016-10-27 14:21:57 +02:00
Uwe Steinmann
9ac66febee add config paramter enableAdminReceipt
allows admins in list of possible recipients of documents
2016-10-27 14:11:18 +02:00
Uwe Steinmann
e10b6974ae add new config flag which allows doc reception by owner 2016-10-27 12:17:04 +02:00
Uwe Steinmann
ba5a73df45 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 11:19:45 +02:00
Uwe Steinmann
9deba3c960 use new attribute validation code 2016-10-27 10:58:34 +02:00
Uwe Steinmann
e526b94a74 check for min number of attribute values 2016-10-27 10:58:02 +02:00
Uwe Steinmann
6bf827f4a1 check for min number of attribute values 2016-10-27 10:56:56 +02:00
Uwe Steinmann
3659ffbde5 use new attribute validation code 2016-10-27 10:56:21 +02:00
Uwe Steinmann
b8fa88b674 check for min number of attribute values 2016-10-27 10:55:33 +02:00
Uwe Steinmann
cc387a1f52 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-27 09:39:08 +02:00
Uwe Steinmann
ad00b1cbe6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-27 09:21:50 +02:00
Uwe Steinmann
8ab2db8e68 add more error messages for attribute value validation 2016-10-27 09:21:13 +02:00
Uwe Steinmann
02d641786b use same attribute validation
based on SeedDMS_Core::AttributeDefinition->validate() and getAttributeValidationText()
2016-10-27 09:19:35 +02:00
Uwe Steinmann
44f89b9949 add function getAttributeValidationText() 2016-10-27 09:18:45 +02:00
Uwe Steinmann
0c1f318709 add note for 5.0.7 2016-10-27 09:18:01 +02:00
Uwe Steinmann
f616256509 set check for boolean and date values, set more validation errors 2016-10-27 09:17:14 +02:00
Uwe Steinmann
40f8cd0e21 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-27 07:09:43 +02:00
Uwe Steinmann
269db21067 use in_array() instead of array_search() 2016-10-27 07:09:15 +02:00
Uwe Steinmann
4647856c77 check if used values are in valueѕet 2016-10-27 07:04:32 +02:00
Uwe Steinmann
92b7f1fe41 get boolean value of showSingleSearchHit with getBoolValue() 2016-10-26 19:28:10 +02:00
Uwe Steinmann
04cb20a814 define and initialize $_ttreceiptid 2016-10-26 19:25:35 +02:00
Uwe Steinmann
d3c12a84fd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-25 10:02:09 +02:00
Uwe Steinmann
74c97ee466 add entry for 5.0.7 2016-10-25 10:01:51 +02:00
Uwe Steinmann
bf9e2fa0da Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-25 10:01:00 +02:00
Uwe Steinmann
bfd02591c8 make getConfigDir static 2016-10-25 09:56:49 +02:00
Uwe Steinmann
4d6d184944 set default value of attribute of type email 2016-10-25 08:03:18 +02:00
Uwe Steinmann
8b26681153 add attribute data-rule-email to seeddms attribute of type email 2016-10-25 07:58:28 +02:00
Uwe Steinmann
11162ee2c5 add check for valid email address 2016-10-25 07:55:27 +02:00
Uwe Steinmann
8cf4901a46 add preset button for attributes
takes over attribute value from previous version
2016-10-20 18:28:25 +02:00
Uwe Steinmann
894466b102 add code for taking over attribute value of previous version 2016-10-20 18:27:43 +02:00
Uwe Steinmann
8592554ad7 set showtree in view 2016-10-16 09:56:19 +02:00
Uwe Steinmann
622c6e134e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-16 08:29:58 +02:00
Uwe Steinmann
e69fb26dcc prepare for new version 4.3.30 2016-10-07 16:11:29 +02:00
Uwe Steinmann
754d256532 prepare for next version 5.0.7 2016-10-07 16:10:49 +02:00
Uwe Steinmann
e77bec4419 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-07 16:08:56 +02:00
Uwe Steinmann
0904130f0f new version 5.0.7 2016-10-07 16:08:00 +02:00
Uwe Steinmann
3ea94f4159 new version 4.3.30 2016-10-07 16:05:19 +02:00
Uwe Steinmann
eadd78cabf add entries for 4.3.30 2016-10-07 11:43:27 +02:00
Uwe Steinmann
93ccbcf86e reformat valueset if string is longer 30 chars
will put each value onto its one line. This is allowed since saving
the value set will trim each value
2016-10-07 11:39:33 +02:00
Uwe Steinmann
9bd1c111c8 clean up valueset in addAttributeDefintion()
will remove all spaces from each value in the valueset
2016-10-07 11:38:04 +02:00
Uwe Steinmann
e0880e8ebd add new method getValueSetSeparator() 2016-10-07 11:37:35 +02:00
Uwe Steinmann
bf2ebc561c start new version 5.1.2 2016-10-06 15:30:58 +02:00
Uwe Steinmann
3d1e6eede0 role has now id 3 instead of 0 2016-10-06 15:30:02 +02:00
Uwe Steinmann
2cc90ccbaf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-06 15:29:11 +02:00
Uwe Steinmann
1541fc26ec Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-06 15:27:52 +02:00
Uwe Steinmann
5658cbbe54 set initial role to '0' not '1' 2016-10-06 15:26:28 +02:00
Uwe Steinmann
96ca9bc75b use textarea for valueset if longer than 30 chars 2016-10-06 08:02:32 +02:00
Uwe Steinmann
f1bd74426e trim values in value set when retrieving it 2016-10-06 08:01:57 +02:00
Uwe Steinmann
3e505cabc9 log only some actions if they were successful 2016-10-05 16:32:48 +02:00
Uwe Steinmann
c670ca4639 fix typo 2016-10-05 16:23:22 +02:00
Uwe Steinmann
500bbb552b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-05 16:09:53 +02:00
Uwe Steinmann
aa62818e90 make sure $success has a value in validation method 2016-10-05 16:03:47 +02:00
Uwe Steinmann
489654c622 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-05 13:35:23 +02:00
Uwe Steinmann
e71f24f910 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-05 13:34:40 +02:00
Uwe Steinmann
097bba4591 add some missing phrases 2016-10-05 13:33:28 +02:00
Uwe Steinmann
bbc6376bcf fix setReceiptByGrp() 2016-10-05 12:39:16 +02:00
Uwe Steinmann
7597cb1c74 set recipient in notification mails 2016-10-05 12:17:20 +02:00
Uwe Steinmann
efc11d4236 do not show users in list of recipients if they were deleted
only admin will see them
2016-10-05 12:05:19 +02:00
Uwe Steinmann
35e6625601 fix calculation of already receipt documents 2016-10-05 11:16:26 +02:00
Uwe Steinmann
42de7bb0c9 fix html 2016-10-05 11:16:16 +02:00
Uwe Steinmann
f5dc479714 fix error in addIndReceipt 2016-10-05 11:15:50 +02:00
Uwe Steinmann
70db94f83c allow revision only for users allowed by settings, fix html 2016-10-05 11:15:06 +02:00
Uwe Steinmann
736b916286 allow all users to receipt a document 2016-10-05 11:14:47 +02:00
Uwe Steinmann
c1e434788d set showtree in documentListRow() 2016-10-05 10:22:35 +02:00
Uwe Steinmann
d41937735e remove method login(), update documentation 2016-10-05 09:14:03 +02:00
Uwe Steinmann
1c7bc39c80 fix typo, minor updates 2016-10-05 07:42:24 +02:00
Uwe Steinmann
7710f8e307 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-04 21:42:51 +02:00
Uwe Steinmann
8f851e1a3a search if only reception status is given 2016-10-04 21:28:53 +02:00
Uwe Steinmann
86cc5df53e start change log fro 5.0.7 2016-10-04 20:56:18 +02:00
Uwe Steinmann
9d1f3b867f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-04 20:55:33 +02:00
Uwe Steinmann
3d50543b66 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-04 20:48:51 +02:00
Uwe Steinmann
7292a06177 add phrase settings_showSingleSearchHit and settings_showSingleSearchHit_desc 2016-10-04 20:46:08 +02:00
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
b869c4253c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-10-04 16:36:00 +02:00
Uwe Steinmann
0777d67443 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-04 16:35:42 +02:00
Uwe Steinmann
074bc975f0 add changes for 4.3.30 2016-10-04 15:02:16 +02:00
Uwe Steinmann
1790e5f6e7 refresh folder tree after document/folder move, make drag&drop work in Edge
Closes #286 and #288
2016-10-04 15:01:10 +02:00
Uwe Steinmann
919543bf82 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-28 21:37:59 +02:00
Uwe Steinmann
e7c3189825 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-28 21:30:55 +02:00
Uwe Steinmann
dd2cda7d85 add missing phrases, some updates 2016-09-28 21:30:29 +02:00
Uwe Steinmann
94c3ba51d1 search for each status of reception 2016-09-28 21:29:36 +02:00
Uwe Steinmann
1989657c9a search for each status of reception 2016-09-28 21:29:16 +02:00
Uwe Steinmann
88d7f252b6 create temp table ttreceiptid 2016-09-28 21:28:51 +02:00
Uwe Steinmann
3e777f987d search for each reception status (no action, rejected, acknowledged) 2016-09-28 21:28:01 +02:00
Uwe Steinmann
9746c85ce5 add search paramter for documents with missing reception 2016-09-28 20:22:59 +02:00
Uwe Steinmann
7937f73031 pass $missingreception to view 2016-09-28 20:22:42 +02:00
Uwe Steinmann
be9f987342 search for documents with missing receptions 2016-09-28 20:22:16 +02:00
Uwe Steinmann
b8e3e2d092 add $norequire as optional parameter to printAttributeEditField()
needed for search for, where fields are not required
2016-09-28 20:20:38 +02:00
Uwe Steinmann
d251beb7c3 show divider only if menuitems and admin menu exists 2016-09-28 14:59:39 +02:00
Uwe Steinmann
20c3ddfd1e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-28 14:20:41 +02:00
Uwe Steinmann
5c09ff1b3b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-28 14:20:27 +02:00
Uwe Steinmann
4219559450 get doc list ReviewByMe and ApproveByMe instead of AppRevByMe 2016-09-28 14:09:03 +02:00
Uwe Steinmann
e932c3efd5 allow admins and owner as revisor and reciepent 2016-09-27 17:50:30 +02:00
Uwe Steinmann
583770dc04 add hooks 2016-09-27 17:31:35 +02:00
Uwe Steinmann
ce9bb05a0b add hooks 2016-09-27 17:31:21 +02:00
Uwe Steinmann
4b9fc722e1 started version 4.3.30 2016-09-26 17:54:42 +02:00
Uwe Steinmann
dd5bc7d10e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-26 17:48:18 +02:00
Uwe Steinmann
c97a300fd4 reenable empty form for new workflow 2016-09-26 17:47:48 +02:00
Uwe Steinmann
aa8e64ddd8 fix call of apigen 2016-09-23 12:47:02 +02:00
Uwe Steinmann
e3002fce0b Merge branch 'seeddms-5.0.x' 2016-09-23 09:07:18 +02:00
Uwe Steinmann
d3eefc41bc Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-22 18:24:32 +02:00
Uwe Steinmann
a28c9c6ab8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-22 18:22:46 +02:00
Uwe Steinmann
9fc3e93eaf add greek translation 2016-09-22 17:30:11 +02:00
Uwe Steinmann
a8f27ed0d5 prohibit access 2016-09-22 17:24:57 +02:00
Uwe Steinmann
c06347a8e9 some minor corrections in workflow action mail, added missing translations 2016-09-22 09:23:55 +02:00
Uwe Steinmann
df63e1bb7e insert acos and aros 2016-09-22 08:48:28 +02:00
Uwe Steinmann
159aa09636 dump acos, aros 2016-09-22 08:48:09 +02:00
Uwe Steinmann
19d4d84e58 set model in tblAcos because it may not be null 2016-09-22 08:47:20 +02:00
Uwe Steinmann
556626501c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-16 17:26:12 +02:00
Uwe Steinmann
e2dc18e536 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-16 17:25:59 +02:00
Uwe Steinmann
e6809d588e take out some old code 2016-09-16 17:23:43 +02:00
Uwe Steinmann
962d62205c take out some old code 2016-09-16 17:23:29 +02:00
Uwe Steinmann
839b5f72f6 fix import of transmittal items 2016-09-16 12:48:43 +02:00
Uwe Steinmann
5c558601c7 set same date fields to default null 2016-09-16 12:48:20 +02:00
Uwe Steinmann
10f01c0fc6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-16 11:29:06 +02:00
Uwe Steinmann
9fca3c0302 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-16 11:28:47 +02:00
Uwe Steinmann
c4fbcf6aba various new translations 2016-09-16 11:26:56 +02:00
Uwe Steinmann
491e5e8f23 import workflow log 2016-09-16 11:21:14 +02:00
Uwe Steinmann
409fd62f11 add id of workflow in worfklowlog 2016-09-16 11:20:55 +02:00
Uwe Steinmann
01b6de8428 add getWorkflow() 2016-09-16 11:20:32 +02:00
Uwe Steinmann
a79652e824 add note for 4.3.29 2016-09-16 11:19:40 +02:00
Uwe Steinmann
53a277bb2b add method rewriteWorkflowLog() 2016-09-16 11:18:47 +02:00
Uwe Steinmann
da616fd4ed take out print_r 2016-09-16 06:37:30 +02:00
Uwe Steinmann
7bb3726f5b Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-15 21:44:57 +02:00
Uwe Steinmann
5c93d83124 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-15 21:44:45 +02:00
Uwe Steinmann
6522c3d3e8 fix getting workflow states, more debug msg 2016-09-15 21:44:21 +02:00
Uwe Steinmann
42ac18d962 import roles 2016-09-15 21:40:38 +02:00
Uwe Steinmann
6ba36e2cae dump roles 2016-09-15 21:40:19 +02:00
Uwe Steinmann
86b1a562c1 set text fields to default null 2016-09-15 21:39:38 +02:00
Uwe Steinmann
40e97f7363 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-15 17:04:28 +02:00
Uwe Steinmann
77331709ec Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-15 14:08:23 +02:00
Uwe Steinmann
6e7be7c751 another note for 4.3.29 2016-09-15 14:04:00 +02:00
Uwe Steinmann
a5651d3ce6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-15 14:02:59 +02:00
Uwe Steinmann
7b065e7b05 lots of bug fixes 2016-09-15 14:01:01 +02:00
Uwe Steinmann
e55047fb58 lots of bug fixes 2016-09-15 14:00:42 +02:00
Uwe Steinmann
4ccdcac7df rewrite[Review|Approval]Log() copies file 2016-09-15 11:02:40 +02:00
Uwe Steinmann
74277d9e76 use logger, lots of bug fixes 2016-09-13 17:09:19 +02:00
Uwe Steinmann
19c80748e3 export workflow 2016-09-13 17:09:00 +02:00
Uwe Steinmann
7a7a3ffb66 import workflow 2016-09-08 15:20:13 +02:00
Uwe Steinmann
7bf843f6c0 add dumping workflows 2016-09-07 16:50:10 +02:00
Uwe Steinmann
bfb29633de fix calling php file 2016-09-07 16:49:52 +02:00
Uwe Steinmann
74d785623e add note 2016-09-07 16:49:28 +02:00
Uwe Steinmann
f2eac265f9 force reload of workflow transitions after adding new transition 2016-09-07 16:48:05 +02:00
Uwe Steinmann
e94778ee70 add entry to 4.3.29 2016-09-06 21:41:13 +02:00
Uwe Steinmann
1e4a07be94 use ldap authentication if turned on 2016-09-06 21:40:09 +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
167e21abf7 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-06 14:50:06 +02:00
Uwe Steinmann
8881ad1e74 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-06 14:49:22 +02:00
Uwe Steinmann
0977ed0a76 new version 4.3.29 2016-09-06 14:35:30 +02:00
Uwe Steinmann
ab2d9ddafb add entry to 4.3.29 (new language greek) 2016-09-06 14:33:49 +02:00
Uwe Steinmann
4fa68bcfaa add translation for el_GR 2016-09-06 14:32:31 +02:00
Uwe Steinmann
348b999da4 add greek as new language 2016-09-06 14:31:12 +02:00
Uwe Steinmann
93f3153903 fix entry for 5.1.1 2016-09-06 12:30:39 +02:00
Uwe Steinmann
2fee305eb2 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-06 11:51:39 +02:00
Uwe Steinmann
bf5ddaf9f7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-06 11:43:31 +02:00
Uwe Steinmann
a08965ebd5 add entry for 4.3.29 2016-09-06 11:34:46 +02:00
Uwe Steinmann
b2181441f3 new version 4.3.29 2016-09-06 11:34:29 +02:00
Uwe Steinmann
8fd19944a4 getAttributes() orders attributes by attr def name 2016-09-06 11:31:03 +02:00
Uwe Steinmann
813b265f6c Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-06 10:10:17 +02:00
Uwe Steinmann
f66da943d2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-06 09:41:09 +02:00
Uwe Steinmann
f6504c2aab set opacity for states not in current transition 2016-09-06 09:40:39 +02:00
Uwe Steinmann
b48e605b03 add phrase 'redraw' 2016-09-06 09:39:57 +02:00
Uwe Steinmann
42c20082eb Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-06 08:43:52 +02:00
Uwe Steinmann
10c89c9e5b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-06 08:24:38 +02:00
Uwe Steinmann
0a834f8824 new phrase 'workflow_save_layout' 2016-09-06 08:24:16 +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
1fb6305380 use translation for 'Save layout' 2016-09-06 07:49:16 +02:00
Uwe Steinmann
75ce06c128 check if workflow graph may be shown 2016-09-05 10:05:54 +02:00
Uwe Steinmann
f768ad63f0 pass accessobj to view 2016-09-05 10:05:37 +02:00
Uwe Steinmann
e272d26f30 add access check 2016-09-05 10:05:16 +02:00
Uwe Steinmann
a1ccc60729 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-05 08:57:18 +02:00
Uwe Steinmann
fac5f44f65 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-05 07:48:09 +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
22dbfc9a32 pass list of transitions to workflow graph 2016-09-04 20:15:05 +02:00
Uwe Steinmann
e3084bb63c take out option 'condense' for layout 2016-09-02 08:42:08 +02:00
Uwe Steinmann
3249a8f889 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-02 08:41:28 +02:00
Uwe Steinmann
ad969fbf35 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-02 08:38:49 +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
c86aa4a697 add new phrases for workflow manager 2016-09-02 08:35:19 +02:00
Uwe Steinmann
926087a448 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-09-01 22:25:56 +02:00
Uwe Steinmann
5b3a2ec570 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-09-01 22:25:16 +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
d43db44318 add styles for symbols in workflow graph 2016-09-01 20:59:52 +02:00
Uwe Steinmann
bf25274fc0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-31 16:13:31 +02:00
Uwe Steinmann
c825356430 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-31 16:09:59 +02:00
Uwe Steinmann
9e6c5d41cc add grid extension for cytoscape 2016-08-31 16:09:37 +02:00
Uwe Steinmann
89334c25d6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-31 15:43:31 +02:00
Uwe Steinmann
5462cd1378 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-31 15:42:21 +02:00
Uwe Steinmann
1d62a321a7 escape '"' in user/group names 2016-08-31 15:41:52 +02:00
Uwe Steinmann
bdee3da08e Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-31 15:39:03 +02:00
Uwe Steinmann
baf3859805 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-31 15:38:50 +02:00
Uwe Steinmann
7fd7a3b536 remove min-width for preview image 2016-08-31 15:28:04 +02:00
Uwe Steinmann
10dfc4d7b8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-31 15:26:52 +02:00
Uwe Steinmann
cda2d32852 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-31 15:23:55 +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
bdd0dd6582 add saving and reloading layout data 2016-08-31 11:54:51 +02:00
Uwe Steinmann
84a65f0f32 implemented saving of layout data for workflows 2016-08-31 11:54:15 +02:00
Uwe Steinmann
2418675822 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-31 10:35:14 +02:00
Uwe Steinmann
4f2298fd43 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-31 10:33:44 +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
d64747ddef add code for saving and redrawing layout 2016-08-31 10:11:46 +02:00
Uwe Steinmann
4d6ce5114a add operation for saving workflow layout (not ready yet) 2016-08-31 10:11:18 +02:00
Uwe Steinmann
9604a4548d add field layoutdata to tblWorkflows
will store the layout of a workflow for rendering a graph
2016-08-31 08:54:04 +02:00
Uwe Steinmann
c92a6fb413 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-31 08:46:30 +02:00
Uwe Steinmann
ebcbe9f775 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-31 08:46:16 +02:00
Uwe Steinmann
a32d00b744 add entry for 4.3.29 2016-08-31 08:45:54 +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
b646e4f9cf Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-30 13:36:09 +02:00
Uwe Steinmann
2a59f1e307 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-30 12:05:36 +02:00
Uwe Steinmann
ecf52f4cf2 add entry for 5.0.6 2016-08-30 12:04:40 +02:00
Uwe Steinmann
4d7323177d set quota when creating new user (Closes #285) 2016-08-30 12:03:30 +02:00
Uwe Steinmann
9502b28f08 add new entries for 4.3.29 2016-08-30 11:55:48 +02:00
Uwe Steinmann
0eeab160d7 new phrases for form validation 2016-08-30 11:53:50 +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
5003c54deb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-30 08:46:59 +02:00
Uwe Steinmann
e67ef718cc add jquery validation 2016-08-30 07:59:03 +02:00
Uwe Steinmann
1e691c2451 check early for guest login
even before any other authenitcation methods
2016-08-30 07:57:06 +02:00
Uwe Steinmann
62d0f249d2 remove guest user check 2016-08-30 07:56:50 +02:00
Uwe Steinmann
2a45854818 Merge tag '5.0.5' 2016-08-29 09:56:36 +02:00
Uwe Steinmann
96a4db05bf add more field validation 2016-08-29 09:44:49 +02:00
Uwe Steinmann
c8a689cf60 remove padding 2016-08-29 09:43:53 +02:00
Uwe Steinmann
a8fd2da7ea Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-25 17:10:01 +02:00
Uwe Steinmann
05a7a897f2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-24 11:17:17 +02:00
Uwe Steinmann
6ab08983bb new version 4.3.28 2016-08-24 10:20:53 +02:00
Uwe Steinmann
8da3f9160c add entries for 4.3.28 2016-08-24 10:19:53 +02:00
Uwe Steinmann
606b04bc55 new version 4.3.28 2016-08-24 10:19:41 +02:00
Uwe Steinmann
5215d0a230 search() searches in comment of document versions 2016-08-24 10:17:21 +02:00
Uwe Steinmann
be9ec1adfe various small corrections 2016-08-24 10:16:05 +02:00
Uwe Steinmann
6193fada8f major overhoul by rickr 2016-08-24 10:15:35 +02:00
Uwe Steinmann
58d8844353 add entry for 4.3.28 2016-08-22 18:15:37 +02:00
Uwe Steinmann
f470255423 add missing header von ContentType, set header for Cache-Control
this fixes bug #280
2016-08-22 18:13:57 +02:00
Uwe Steinmann
d4e6732eeb add entry for 5.1.1 2016-08-22 17:17:43 +02:00
Uwe Steinmann
169204173f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-22 17:16:41 +02:00
Uwe Steinmann
4e10b2e9cf added entries for 5.0.5 2016-08-22 17:16:08 +02:00
Uwe Steinmann
9a17a5c068 fix printFolderChooser()
the last optional parameter $formname wasn't take into account
2016-08-22 17:14:20 +02:00
Uwe Steinmann
8b9d4b98d5 set parameter $plain for exitError() in case of an ajax call 2016-08-22 17:03:29 +02:00
Uwe Steinmann
58e52856b2 remove removeitem(), get $timeout from view in items() 2016-08-22 17:02:56 +02:00
Uwe Steinmann
3fbfadeebd add optional parameter $plain to exitError()
if set, the resulting html will only be a html fragment to be embedded
in a page
2016-08-22 17:01:53 +02:00
Uwe Steinmann
34ce80eb3d do not redirect if session ended and it is an ajax call 2016-08-22 17:00:52 +02:00
Uwe Steinmann
c8121afed1 make transmittal,document,version unique in tblTransmittalItem 2016-08-22 06:30:38 +02:00
Uwe Steinmann
a2bde8fd6b access check for AddToTransmittal 2016-08-22 06:29:50 +02:00
Uwe Steinmann
2d199cae8d use ajax for loading parts of page 2016-08-22 06:28:29 +02:00
Uwe Steinmann
cf6f8b952d add access check for MyDocuments, MyAccount, MyTransmittals 2016-08-22 06:26:34 +02:00
Uwe Steinmann
3e45e8cb10 add actions '[update|remove]transmittalitem' 2016-08-22 06:25:17 +02:00
Uwe Steinmann
b6907c6bc2 pass accessop to 'view', remove '[update|remove]transmittalitem'
'[update|remove]transmittalitem' is now in op/op.TransmittalMgr.php
2016-08-22 06:23:22 +02:00
Uwe Steinmann
38e75cf422 don't need accessop in show_form() 2016-08-16 07:08:31 +02:00
Uwe Steinmann
879ecea1e5 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-12 18:22:02 +02:00
Uwe Steinmann
60af07ce51 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-12 18:21:21 +02:00
Uwe Steinmann
dd5394ea9e new phrases 2016-08-12 18:19:44 +02:00
Uwe Steinmann
3112078041 replace phrase when no review is needed 2016-08-12 18:16:19 +02:00
Uwe Steinmann
74f9a0209b add more access checks 2016-08-12 18:08:30 +02:00
Uwe Steinmann
224172f785 add access check 2016-08-12 15:57:47 +02:00
Uwe Steinmann
c56d026679 never needed 2016-08-12 15:01:10 +02:00
Uwe Steinmann
f2ffca8096 add role based access check 2016-08-12 15:00:12 +02:00
Uwe Steinmann
9a20306399 add access check for download of approval/review files 2016-08-12 14:59:46 +02:00
Uwe Steinmann
b90c9a379a major overhaul
do not show backup space required, if backup is stored in content
direcotry. Add various role based access checks.
2016-08-12 13:14:34 +02:00
Uwe Steinmann
bf7a63bf5a add more role based access checks 2016-08-12 12:43:21 +02:00
Uwe Steinmann
504cfe6d3e output a message if access to form() action was prohibited 2016-08-12 12:42:25 +02:00
Uwe Steinmann
4fa95bcd48 major overhaul, replace inProcess paramter by listtype
most list where not correct and the code was way to complicated
2016-08-12 12:41:07 +02:00
Uwe Steinmann
8126d6d3fe clean up parameters passed to getDocumentList() 2016-08-12 12:40:23 +02:00
Uwe Steinmann
d9d5c98c5f use documentListRow() for output 2016-08-11 22:57:53 +02:00
Uwe Steinmann
4266e426db add access check for download in documentListRow() 2016-08-11 22:56:56 +02:00
Uwe Steinmann
dc2edaca25 move more code into controller class 2016-08-11 22:56:12 +02:00
Uwe Steinmann
861776f9f0 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-11 16:42:00 +02:00
Uwe Steinmann
434c97e252 include Language.inc before Extension.inc 2016-08-11 16:41:19 +02:00
Uwe Steinmann
20f5bd6489 check for access on Download and ViewOnline 2016-08-11 13:25:27 +02:00
Uwe Steinmann
8916c83a8e check for access on op/op.Download.php in documentListRow() 2016-08-11 13:25:01 +02:00
Uwe Steinmann
17c9556337 remove left over from git merge conflict 2016-08-11 12:11:09 +02:00
Uwe Steinmann
e1716da485 do not use showtree in documentListRow() anymore 2016-08-11 12:06:53 +02:00
Uwe Steinmann
c4401a45df don't show any links to op/op.Download.php and op/op.ViewOnline.php if access is prohibited 2016-08-11 12:05:36 +02:00
Uwe Steinmann
2e19ad3dcb check for access 2016-08-11 12:05:26 +02:00
Uwe Steinmann
40b84b89bd Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-10 22:26:24 +02:00
Uwe Steinmann
bae5d4fbc0 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 22:26:06 +02:00
Uwe Steinmann
0cc0d0795e add link to timeline rss feed 2016-08-10 18:23:05 +02:00
Uwe Steinmann
368343ade6 add entry for 4.3.28 2016-08-10 18:21:27 +02:00
Uwe Steinmann
889c82652b add entry for 5.1.1 2016-08-10 18:20:39 +02:00
Uwe Steinmann
073bdf24bb add rss feed of timeline 2016-08-10 18:16:39 +02:00
Uwe Steinmann
eebb3e996d Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-10 17:53:12 +02:00
Uwe Steinmann
002684e840 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 17:49:56 +02:00
Uwe Steinmann
0802198e87 some more documentation of ldap settings 2016-08-10 17:48:23 +02:00
Uwe Steinmann
051cd2fc1d some more documentation of ldap settings 2016-08-10 17:48:03 +02:00
Uwe Steinmann
e1d09ac09f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 15:53:31 +02:00
Uwe Steinmann
f890b23ccc put authentication into its own class 2016-08-10 15:52:55 +02:00
Uwe Steinmann
f7783b578e add entry for 4.3.28 2016-08-10 08:49:31 +02:00
Uwe Steinmann
b3cbd5825c remove old comment 2016-08-10 08:49:24 +02:00
Uwe Steinmann
786ffb7523 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 08:46:15 +02:00
Uwe Steinmann
b8fd3b67f2 fix line indenting 2016-08-10 08:45:58 +02:00
Uwe Steinmann
79e7a2babe Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-10 08:38:33 +02:00
Uwe Steinmann
5d05057774 treat ldap auth like database auth
count login failures, check for guest user, etc.
2016-08-10 08:04:52 +02:00
Uwe Steinmann
62c3d07842 add entry for 4.3.28 2016-08-09 18:16:30 +02:00
Uwe Steinmann
1ae82da90e use new ajax command 'clearclipboard' 2016-08-09 18:15:20 +02:00
Uwe Steinmann
b9c4e1a775 add js for click on .ajax-click 2016-08-09 18:14:58 +02:00
Uwe Steinmann
b110549972 add command clearclipboard 2016-08-09 18:14:32 +02:00
Uwe Steinmann
739b6fb9a9 use documentListRow() in all lists 2016-08-09 17:16:04 +02:00
Uwe Steinmann
f397558f75 set proper default value for orderdir 2016-08-09 17:15:41 +02:00
Uwe Steinmann
31fd01cc71 pass timeout to view 2016-08-09 17:15:26 +02:00
Uwe Steinmann
eb2f3c7148 AppRevOwner list can ordered by passed parameter 2016-08-09 17:14:57 +02:00
Uwe Steinmann
71e0fd36ad take out links to different doc lists in mydocument menu
all lists are now on the start page of MyDocuments
2016-08-09 15:16:20 +02:00
Uwe Steinmann
a87ae68c24 put list of all documents onto page with all other doc lists 2016-08-09 15:15:47 +02:00
Uwe Steinmann
8165ee4776 remove opacity for badge 2016-08-09 15:15:00 +02:00
Uwe Steinmann
eef3b28270 getDocumentList() accepts parameter for direction of order 2016-08-09 15:14:17 +02:00
Uwe Steinmann
e8c15079eb replace ':' by '-' in dump file (Closes: #267)
because MS-Windows has problems with ':' in a file name
2016-08-09 14:05:52 +02:00
Uwe Steinmann
92f44a3bcf Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-09 13:44:15 +02:00
Uwe Steinmann
8e97845beb new phrases and updated translations 2016-08-09 13:27:34 +02:00
Uwe Steinmann
0eaf8c34f7 fix runtime error 2016-08-09 08:01:30 +02:00
Uwe Steinmann
148088f42a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-09 07:55:52 +02:00
Uwe Steinmann
ffab03a8b8 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-09 07:55:35 +02:00
Uwe Steinmann
7c3e1c0807 fix copyright in header 2016-08-09 07:53:15 +02:00
Uwe Steinmann
5980b9697c fix line endings 2016-08-09 07:36:05 +02:00
Uwe Steinmann
6303973618 fix copyright in header 2016-08-09 07:34:30 +02:00
Uwe Steinmann
974a5d4a80 add missing copyright and license 2016-08-09 07:08:27 +02:00
Uwe Steinmann
b54b28e1f2 fix runtime error, show splash message after execution 2016-08-09 07:08:00 +02:00
Uwe Steinmann
f647796dcd check if $data is set before using it 2016-08-09 06:51:43 +02:00
Uwe Steinmann
71e7d6f3e6 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-09 06:31:50 +02:00
Uwe Steinmann
e4d2d7e56c new version 5.0.5 2016-08-09 06:23:58 +02:00
Uwe Steinmann
e4d589e9a7 add missing containerEnd 2016-08-08 22:38:51 +02:00
Uwe Steinmann
43016dcbc1 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-08 20:31:01 +02:00
Uwe Steinmann
7f7bb2926d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-08 20:29:27 +02:00
Uwe Steinmann
d2e959e32e add command to set sql_mode as default by Ubuntu 16.04 (not active) 2016-08-08 20:28:35 +02:00
Uwe Steinmann
229b7e874f set pwdExpiration to 'keep' instead of ''
set '' as value for never
2016-08-08 20:21:30 +02:00
Uwe Steinmann
176fb7967b use getCurrentDatetime() instead of CURRENT_TIMESTAMP 2016-08-08 12:58:06 +02:00
Uwe Steinmann
dac9c7b37f check also for '' in pwdExpiration 2016-08-08 12:57:07 +02:00
Uwe Steinmann
83dcd9da7b do not use '0000-00-00 00:00:00' as date anymore
use NULL instead because '0000-00-00 00:00:00' in certain sql_modes
2016-08-08 12:49:59 +02:00
Uwe Steinmann
b3ec207213 do not set datetime to '0000-00-00 00:00:00' by default
depending in the sql mode in mysql this is is not allowed
2016-08-08 12:43:06 +02:00
Uwe Steinmann
bdb448e7e8 add entry for 4.3.28 2016-08-08 11:41:07 +02:00
Uwe Steinmann
5f1d38bba3 do not set TEXT field to default ''. Use NULL instead
mysql STRICT_TRANS_MODE does not allow it
2016-08-08 08:09:01 +02:00
Uwe Steinmann
284ee2bba1 set field of type 'text' to NULL instead of ''
mysql doesn't support setting '' in STRICT_TRANS_MODE
2016-08-08 08:03:38 +02:00
Uwe Steinmann
9f79586017 add entry for 5.1.1 2016-08-03 14:49:22 +02:00
Uwe Steinmann
0fb14d4c6a more similar look of documents list 2016-08-03 14:47:06 +02:00
Uwe Steinmann
624a96ddde Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-03 12:33:19 +02:00
Uwe Steinmann
df2b273d7a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-03 12:33:08 +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
03ff5dfc50 remove unneeded echo statement 2016-08-03 12:16:51 +02:00
Uwe Steinmann
138a6ce408 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-03 09:30:53 +02:00
Uwe Steinmann
b013553a3d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-03 09:24:10 +02:00
Uwe Steinmann
0fdc68e7f7 add entry for 4.3.28 (fix for #206) 2016-08-03 08:53:58 +02:00
Uwe Steinmann
06347ff212 check for HTTP_X_FORWARDED_FOR in add_log_line()
use it instead of REMOTE_ADDR
2016-08-03 08:53:14 +02:00
Uwe Steinmann
fdd369f8ec add entries for 4.3.28 2016-08-03 08:07:51 +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
97e288d054 fix typo 2016-08-02 17:21:27 +02:00
Uwe Steinmann
8cc7da6679 add new phrases for maxSizeForFullText config var 2016-08-02 17:19:06 +02:00
Uwe Steinmann
04d7fdf258 update full text engine
also index content if file size is less the a configured size
(Closes: #270)
2016-08-02 17:09:49 +02:00
Uwe Steinmann
8770aaecb3 add new paramter maxSizeForFullText 2016-08-02 17:08:54 +02:00
Uwe Steinmann
3c6bd6bf6f check for su by regular user, call service hooks 2016-08-02 13:37:04 +02:00
Uwe Steinmann
1cf7516cc3 add entry for 5.1.1 2016-08-02 11:52:14 +02:00
Uwe Steinmann
45fd0bf934 set timeout of mytasks ajax call to 1000ms 2016-08-02 11:49:52 +02:00
Uwe Steinmann
5adaf41288 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-08-02 11:34:17 +02:00
Uwe Steinmann
adf217dbf7 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-08-02 11:34:05 +02:00
Uwe Steinmann
fa4dddd403 add entry for 4.3.28 2016-08-02 11:33:46 +02:00
Uwe Steinmann
04c0b62b8c fix setting reviewer/approver for admins/owners 2016-08-02 11:33:21 +02:00
Uwe Steinmann
6097b7b9a9 add dummy note 2016-08-02 11:29:48 +02:00
Uwe Steinmann
f7e6a25a50 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-29 08:01:19 +02:00
Uwe Steinmann
213509f8ff Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-29 08:01:08 +02:00
Uwe Steinmann
d9ffaad688 new translations for attritbute groups 2016-07-29 08:00:43 +02:00
Uwe Steinmann
dd1310871f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-28 08:07:10 +02:00
Uwe Steinmann
727169d5ff Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-28 08:07:00 +02:00
Uwe Steinmann
398244ab68 add $_comment as protected var, add some more documentation 2016-07-28 08:05:40 +02:00
Uwe Steinmann
d5360b9342 add changelog for 5.1.0 and 5.1.1 2016-07-28 06:48:55 +02:00
Uwe Steinmann
13c3e15b4f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-27 21:10:42 +02:00
Uwe Steinmann
6bebd3df5e Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-27 21:10:31 +02:00
Uwe Steinmann
f6c9b35def add entry for 4.3.28 2016-07-27 21:08:26 +02:00
Uwe Steinmann
953ccc1eb0 add expiration date to list of documents 2016-07-27 21:08:15 +02:00
Uwe Steinmann
8410ca9273 add spinner when initially loading content by ajax call 2016-07-27 21:02:49 +02:00
Uwe Steinmann
76e8d25f87 add style for sidebar 2016-07-27 21:02:30 +02:00
Uwe Steinmann
0434caa89a add side menu for selecting list 2016-07-27 21:02:02 +02:00
Uwe Steinmann
d167c565ce include Utils.php earlier 2016-07-27 08:57:51 +02:00
Uwe Steinmann
506e63f8d6 add fold marks 2016-07-27 08:29:52 +02:00
Uwe Steinmann
8a50145932 should not be in branch 5.1.x 2016-07-27 08:00:58 +02:00
Uwe Steinmann
53296bb330 add database changes for 5.2.0 2016-07-26 18:46:47 +02:00
Uwe Steinmann
b717e0bafd set version to 5.1.0 2016-07-19 11:08:03 +02:00
Uwe Steinmann
5f76b170b5 add '' as secret to insert into tblUsers statement 2016-07-19 08:01:14 +02:00
Uwe Steinmann
e384966172 fix errors in sql statements 2016-07-19 08:00:54 +02:00
Uwe Steinmann
b49790f48a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-14 07:02:07 +02:00
Uwe Steinmann
11f6ddef13 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-14 07:01:55 +02:00
Uwe Steinmann
37b995d946 add phrases for 2-fact-auth, slovak, italien, polish updates 2016-07-14 07:00:45 +02:00
Uwe Steinmann
a964f20bdc fix migration sql statements
The changes still refer to the database used in mydms 1.7.2
2016-07-13 07:39:49 +02:00
Uwe Steinmann
9eb10d06b8 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-12 17:49:44 +02:00
Uwe Steinmann
fed863c26d Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-12 17:49:25 +02:00
Uwe Steinmann
f323d1cabf minor updates 2016-07-12 17:49:09 +02:00
Uwe Steinmann
65ec97c2ac show 2-fact-auth qrcode 2016-07-12 17:46:08 +02:00
Uwe Steinmann
4230df3c88 add input field for 2-fact-auth code 2016-07-12 17:44:56 +02:00
Uwe Steinmann
420586ea0a add out/out.Setup2Factor.php to menu 2016-07-12 17:43:51 +02:00
Uwe Steinmann
e68a7b82b3 pass enable2fact to view 2016-07-12 17:43:27 +02:00
Uwe Steinmann
b5b9a5eac3 check code from google authenticator 2016-07-12 17:42:39 +02:00
Uwe Steinmann
b8b1996fb4 redirekt to out/out.Setup2Auth.php if 2-fact-auth isn't setup
make sure user has not been substituted for setting up 2-fact-auth
or password change
2016-07-12 17:40:54 +02:00
Uwe Steinmann
2bc217b156 add files for 2 factor authentication 2016-07-12 17:39:10 +02:00
Uwe Steinmann
5e5951880f Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-06 22:27:34 +02:00
Uwe Steinmann
27fe80f9f6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-06 22:27:21 +02:00
Uwe Steinmann
8d1181e3a4 add new phrases for 2-factor auth 2016-07-06 22:26:57 +02:00
Uwe Steinmann
7f9f118fba add qrcode and secret for 2-factor auth 2016-07-06 22:26:23 +02:00
Uwe Steinmann
4d7f228a4c add field secret to tblUsers 2016-07-06 22:25:59 +02:00
Uwe Steinmann
825ef2898b add enable2FactorAuthentication 2016-07-06 22:25:43 +02:00
Uwe Steinmann
303a114178 add field 'secret' for secret of 2-factor auth 2016-07-06 22:24:50 +02:00
Uwe Steinmann
3922d1706a Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-06 13:35:31 +02:00
Uwe Steinmann
50772bd7a9 include missing files 2016-07-06 13:04:19 +02:00
Uwe Steinmann
d064d24903 include ../inc/inc.ClassAccessOperation.php 2016-07-06 13:00:30 +02:00
Uwe Steinmann
a8c8dbf535 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-07-06 12:57:13 +02:00
Uwe Steinmann
cb059d53eb Merge branch 'seeddms-5.0.x' 2016-07-06 12:52:35 +02:00
Uwe Steinmann
25c57db205 include missing inc/inc.Init.php 2016-07-06 11:28:56 +02:00
Uwe Steinmann
dd616fdf8f Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-06 11:12:54 +02:00
Uwe Steinmann
3a3a5c24ae some minor corrections 2016-07-06 10:31:10 +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
6578621a3c add phrase import_fs_warning 2016-07-06 10:28:55 +02:00
Uwe Steinmann
e4dce2f3fa completed for 4.3.27 2016-07-06 09:23:51 +02:00
Uwe Steinmann
ccbe4291c6 add phrase invalid_dropfolder_folder 2016-07-06 09:23:06 +02:00
Uwe Steinmann
ea5425a669 fix error message if the import object is not a folder but a file 2016-07-06 09:06:09 +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
54c295276b add note 2016-07-06 09:02:16 +02:00
Uwe Steinmann
4b0787147f check if cache dir exists before deleting it 2016-07-06 09:00:56 +02:00
Uwe Steinmann
58182119db add new key dropfolderdir_missing, add ro translation 2016-07-06 08:25:27 +02:00
Uwe Steinmann
e5f8144268 make all functions static 2016-07-05 17:31:25 +02:00
Uwe Steinmann
7dcee81c51 make all functions static 2016-07-05 17:29:58 +02:00
Uwe Steinmann
4196e11792 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-07-04 21:13:41 +02:00
Uwe Steinmann
9b21d8a509 new version 1.0.6 2016-07-04 20:52:33 +02:00
Uwe Steinmann
b6a0d5f60d add note 2016-07-04 20:52:17 +02:00
Uwe Steinmann
f6f9ad8c6d fix calculation of timeout 2016-07-04 20:51:40 +02:00
Uwe Steinmann
5bd85e50f6 fix calculation of timeout 2016-07-04 20:51:17 +02:00
Uwe Steinmann
d7898f972e new version 4.3.27 2016-07-04 09:17:35 +02:00
Uwe Steinmann
4bc20da017 add entry for 4.3.27 2016-07-04 09:15:55 +02:00
Uwe Steinmann
30a264a16a add note for 4.3.27 2016-07-04 09:14:46 +02:00
Uwe Steinmann
0afbcc73d8 fix some sql statements to work with mysql 5.7.5 (Closes: #273) 2016-07-04 09:11:50 +02:00
Sebastian Bartus-Kunz
f3490fc6ce Small fix. 2016-06-10 15:08:33 +02:00
Sebastian Bartus-Kunz
957482bc9b Added change password request. 2016-06-10 15:06:41 +02:00
Uwe Steinmann
ec2d983bb4 various updates 2016-06-09 20:31:25 +02:00
Uwe Steinmann
45538b32ff set 'orig_filename' get return value of getDocument() 2016-06-09 19:31:18 +02:00
Uwe Steinmann
97d471bce1 Merge branch 'seeddms-5.0.x' into develop 2016-05-30 20:45:00 +02:00
Uwe Steinmann
c472db2aad Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-30 20:44:49 +02:00
Uwe Steinmann
ba85d4d59c add some translations 2016-05-30 20:44:31 +02:00
Uwe Steinmann
1544912dbc fix access checking 2016-05-30 20:41:36 +02:00
Uwe Steinmann
21b053cd0d propperly get enableAcknowledgeWorkflow and enableRevisionWorkflow 2016-05-30 20:34:29 +02:00
Uwe Steinmann
50a837a05d check if $settings->_converters['preview'] is set 2016-05-30 20:34:14 +02:00
Uwe Steinmann
95b332586c add initial roles 2016-05-30 20:24:49 +02:00
Uwe Steinmann
86d775ff84 Merge branch 'develop' into seeddms-5.1.x 2016-05-30 19:30:57 +02:00
Uwe Steinmann
de793abb7b use SeedDMS_Core_Attribute->validate() 2016-05-30 19:26:19 +02:00
Uwe Steinmann
21c1d1b7b9 check for min values of attribute 2016-05-30 19:25:55 +02:00
Uwe Steinmann
4fe01ebbfd take out old code 2016-05-30 19:25:27 +02:00
Uwe Steinmann
a32a5c929a treat empty attribute value as no value in validate() 2016-05-30 19:24:43 +02:00
Uwe Steinmann
62695fba33 Merge branch 'develop' into seeddms-5.1.x 2016-05-30 11:21:00 +02:00
Uwe Steinmann
44dbf74c57 Merge branch 'seeddms-5.0.x' into develop 2016-05-30 11:20:47 +02:00
Uwe Steinmann
67474d1d88 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-30 11:16:52 +02:00
Uwe Steinmann
23a982d750 add entry for 4.3.27 2016-05-26 10:46:25 +02:00
Uwe Steinmann
4bfc47f063 check if minimum number of attribute values is set 2016-05-26 10:45:40 +02:00
Uwe Steinmann
ba786d52b9 add hidden field to attributes 2016-05-26 10:45:14 +02:00
Uwe Steinmann
d76d54ce96 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-24 08:00:48 +02:00
Uwe Steinmann
a64a961ea6 add entry for 4.3.27 2016-05-24 07:58:09 +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
6ab00875a9 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-05-23 14:05:44 +02:00
Uwe Steinmann
281ea0df9c fix inclusion of files 2016-05-23 14:05:26 +02:00
Uwe Steinmann
b7a6bb2201 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-05-23 13:59:16 +02:00
Uwe Steinmann
e7b307f6fd Merge branch 'seeddms-5.0.x' into develop 2016-05-23 13:59:09 +02:00
Uwe Steinmann
239b750223 include Utils.php early 2016-05-23 13:58:42 +02:00
Uwe Steinmann
9bbf1cc519 no need to include Utils.php 2016-05-23 13:57:51 +02:00
Uwe Steinmann
1b0a972cdd set notes for 5.1.1 2016-05-23 13:43:18 +02:00
Uwe Steinmann
3574bc884c add entry for 4.3.27 2016-05-23 13:17:09 +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
d159432181 Merge branch 'develop' into seeddms-5.1.x 2016-05-23 12:33:40 +02:00
Uwe Steinmann
20476876ac Merge branch 'seeddms-5.0.x' into develop 2016-05-23 12:32:18 +02:00
Uwe Steinmann
fe0e67b2ad Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-23 12:30:54 +02:00
Uwe Steinmann
563dd3d224 add some missing translations 2016-05-23 12:29:14 +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
f894ac441a add methods get[Folder|Document]Attributes 2016-05-17 10:18:41 +02:00
Uwe Steinmann
1c09327bc0 add preview function for audio files (not activated) 2016-05-09 08:21:21 +02:00
Uwe Steinmann
b9faf8e5eb new phrases and translation for catan 2016-05-04 13:09:56 +02:00
Uwe Steinmann
058acc313a fix mass import from file system 2016-05-04 13:09:13 +02:00
Uwe Steinmann
0501900a28 various improvements 2016-05-04 08:14:04 +02:00
Uwe Steinmann
ecf6c13fe4 make recurseRmdir() static 2016-05-03 08:36:06 +02:00
Uwe Steinmann
30a18f81c5 $strictformset isn't needed 2016-05-03 07:12:24 +02:00
Uwe Steinmann
6380e028fa Merge branch 'seeddms-5.0.x' into develop 2016-05-03 07:09:26 +02:00
Uwe Steinmann
6c509d3f8b Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-03 07:05:10 +02:00
Uwe Steinmann
1b8e0052e8 use contentHeading() instead of plain html 2016-05-03 07:03:47 +02:00
Uwe Steinmann
553a29bd29 remove some old code 2016-05-03 07:03:31 +02:00
Uwe Steinmann
9fb4dfaa9b start new version 5.0.4 2016-05-03 06:44:50 +02:00
Uwe Steinmann
38f02a149e Merge branch 'seeddms-5.0.x' into develop 2016-05-03 06:40:50 +02:00
Uwe Steinmann
129b725414 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-03 06:32:54 +02:00
Uwe Steinmann
11d6355547 fix typo 2016-05-02 10:08:39 +02:00
Uwe Steinmann
1640df6d4f do not claim that the default for maxDirID is 32670 2016-05-02 09:34:12 +02:00
Uwe Steinmann
979b15a8fa set $accessop from view 2016-05-02 07:47:29 +02:00
Uwe Steinmann
fa413d0336 no action if folder is droped on itself 2016-04-29 08:10:10 +02:00
Uwe Steinmann
ea14c50838 mark jqtree element on hover 2016-04-29 08:09:37 +02:00
Uwe Steinmann
8a4948085a Merge branch 'seeddms-5.0.x' into develop 2016-04-28 12:24:47 +02:00
Uwe Steinmann
eb3f20c78b add changes in 5.0.4 2016-04-28 12:07:07 +02:00
Uwe Steinmann
2fb96d94bf also check for dependencies on other extensions 2016-04-28 12:04:53 +02:00
Uwe Steinmann
4dbe07871c check for dependency on seeddms
disable extension if dependency not met
2016-04-28 12:04:09 +02:00
Uwe Steinmann
9af830c814 add note to 4.3.27 2016-04-28 10:43:35 +02:00
Uwe Steinmann
2fc6f6aa78 new version 1.1.9 2016-04-28 10:42:52 +02:00
Uwe Steinmann
b86132a45c pass variables to stream_select() 2016-04-28 10:42:13 +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
51ca23085a fix some html markup 2016-04-26 18:16:24 +02:00
Uwe Steinmann
99e52d68f4 check if version is accessible
don't use the latest version but the version that needs to be reviewed,
approved, revised, ...
2016-04-26 18:15:06 +02:00
Uwe Steinmann
6b2d4a4b75 set dms in view early, check for access on latest content 2016-04-26 18:14:38 +02:00
Uwe Steinmann
f87a3ce570 fix line indenting 2016-04-26 18:14:12 +02:00
Uwe Steinmann
ad95fdecd9 add comment the getAccessMode() doesn't work in any case 2016-04-26 18:12:36 +02:00
Uwe Steinmann
20920d9cec start changelog for 4.3.27 2016-04-26 13:47:42 +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
43633620e8 remove preview images, remove some old code 2016-04-26 12:15:56 +02:00
Uwe Steinmann
6f16d60647 add another callback which removes preview images of documents
also remove some old code
2016-04-26 12:14:59 +02:00
Uwe Steinmann
1a515c9dfd delete preview image, remove old code 2016-04-26 12:12:39 +02:00
Uwe Steinmann
97e28a8fef delete preview images 2016-04-26 12:12:13 +02:00
Uwe Steinmann
8ee518e69b new version 1.1.9 2016-04-26 12:08:35 +02:00
Uwe Steinmann
b2186874e6 lots of documentation, new methods
deleteDocumentPreviews() removeѕ all previews of a document,
finisch deletePreview()
2016-04-26 12:07:39 +02:00
Uwe Steinmann
127ae5c487 start new version 4.3.27 2016-04-26 12:07:17 +02:00
Uwe Steinmann
0b69ddb439 callbacks can have more than one user function 2016-04-26 12:06:41 +02:00
Uwe Steinmann
44bd7fda79 Merge branch 'seeddms-5.0.x' 2016-04-22 17:24:34 +02:00
Uwe Steinmann
135f9c06f6 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-22 16:49:11 +02:00
Uwe Steinmann
2ee76efedb new version 4.3.26 2016-04-22 16:46:56 +02:00
Uwe Steinmann
ae750340cb add changes for 4.3.26 2016-04-22 16:46:38 +02:00
Uwe Steinmann
4206c5ef59 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-22 16:40:29 +02:00
Uwe Steinmann
877f5c80ed output access rights even if inherited 2016-04-22 16:36:47 +02:00
Uwe Steinmann
39de3db510 add new phrases 2016-04-22 15:54:29 +02:00
Uwe Steinmann
6930202349 Merge branch 'develop' into seeddms-5.1.x 2016-04-22 12:59:04 +02:00
Uwe Steinmann
92ab26d547 call hook extraDownloadHeader 2016-04-22 12:58:28 +02:00
Uwe Steinmann
35d7a70ade header for additional columns can be set 2016-04-22 12:57:39 +02:00
Uwe Steinmann
b4e2224c3e Merge branch 'seeddms-5.0.x' into develop 2016-04-22 12:39:41 +02:00
Uwe Steinmann
10d5a2dca1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-22 12:39:27 +02:00
Uwe Steinmann
258b58efd2 trim various fields from post request 2016-04-22 12:39:04 +02:00
Uwe Steinmann
281c4baeb3 some reorganization of code 2016-04-22 12:30:02 +02:00
Uwe Steinmann
e97b94d393 Merge branch 'seeddms-5.0.x' into develop 2016-04-22 12:28:57 +02:00
Uwe Steinmann
cde225bb44 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-22 12:28:45 +02:00
Uwe Steinmann
00e45dd63a use setParam() instead of passing array to view 2016-04-22 12:28:19 +02:00
Uwe Steinmann
c6121ff201 do not issue an error if access on library folder is forbitten
just disable the upload from the library folder
2016-04-22 12:25:26 +02:00
Uwe Steinmann
8b3289aa8a remove contentContainerEnd() as there is no corresponding Start 2016-04-22 09:15:15 +02:00
Uwe Steinmann
1d01338e49 Merge branch 'develop' into seeddms-5.1.x 2016-04-22 09:06:01 +02:00
Uwe Steinmann
8a47cdd1da Merge branch 'seeddms-5.0.x' into develop 2016-04-22 08:31:57 +02:00
Uwe Steinmann
decbdb1dae minor html formating 2016-04-22 08:30:19 +02:00
Uwe Steinmann
0d3ff8a2d4 add access check for action 'form', no need to check for admin 2016-04-22 08:23:37 +02:00
Uwe Steinmann
7e3535ad1a add more access checks for actions 'info' and 'form' 2016-04-22 08:23:15 +02:00
Uwe Steinmann
088a146888 add more access checks, fixed html 2016-04-22 08:22:50 +02:00
Uwe Steinmann
bc6f641eb3 add more access checks for action 'info' and 'form' 2016-04-22 08:22:19 +02:00
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
e1926ed217 add more documentation 2016-04-22 08:21:18 +02:00
Uwe Steinmann
823e7bf76e better handling of access rights if advanced access rights are turn off
check_view_access() returns true for admins and false otherwise
2016-04-21 17:19:58 +02:00
Uwe Steinmann
cc685141e9 fix wrong variable name 2016-04-21 17:19:28 +02:00
Uwe Steinmann
b28153d8f9 Merge branch 'develop' into seeddms-5.1.x 2016-04-21 16:02:07 +02:00
Uwe Steinmann
d0ef7f4238 convert to bootstrap 2016-04-21 16:01:38 +02:00
Uwe Steinmann
35c8e57633 don't drop old table tblUsers, just rename it
dropping it, always issues an error 'database locked'
2016-04-21 16:00:46 +02:00
Uwe Steinmann
037646537b set version to 5.1.0, use btn instead of plain link 2016-04-21 16:00:16 +02:00
Uwe Steinmann
20c0abf69d add missing attribute 'target' to converters
this needs to be done when updating from 5.0.x to 5.1.x
2016-04-21 15:33:57 +02:00
Uwe Steinmann
358b0701a4 Merge branch 'develop' into seeddms-5.1.x 2016-04-21 14:22:55 +02:00
Uwe Steinmann
a18fd1d5c9 Merge branch 'seeddms-5.0.x' into develop 2016-04-21 14:22:47 +02:00
Uwe Steinmann
a287131154 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-21 14:22:37 +02:00
Uwe Steinmann
78344f2c77 use bootstrap and much nicer layout 2016-04-21 14:22:12 +02:00
Uwe Steinmann
24c7c0a076 Merge branch 'develop' into seeddms-5.1.x 2016-04-21 13:48:20 +02:00
Uwe Steinmann
531cfbea29 Merge branch 'seeddms-5.0.x' into develop 2016-04-21 13:48:03 +02:00
Uwe Steinmann
35b9181b33 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-21 13:46:29 +02:00
Uwe Steinmann
083f0bb192 add entry for 4.3.26 2016-04-21 13:46:11 +02:00
Uwe Steinmann
6893b26818 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-21 13:34:47 +02:00
Uwe Steinmann
a6cdb2015a notify groups and users of new document as well 2016-04-21 13:34:13 +02:00
Uwe Steinmann
aee1ff2fcb inform notifier of new document too 2016-04-21 13:32:37 +02:00
Uwe Steinmann
54ac2db57b add entry for 4.3.26 2016-04-20 20:03:21 +02:00
Uwe Steinmann
ac2be17814 set url for approval request email (Closes: #259) 2016-04-20 20:01:59 +02:00
Uwe Steinmann
c137d28da5 Merge branch 'seeddms-5.0.x' into develop 2016-04-20 18:12:37 +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
8a08cc3bff check_view_access() returns true if advanced access is turned off 2016-04-20 18:09:05 +02:00
Uwe Steinmann
ea4d3d782c add parameter to html_link() for turning access check off 2016-04-20 18:08:24 +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
099c9aeee4 include missing files 2016-04-20 15:49:23 +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
9999f6d57c include missing files, set accessobject for view 2016-04-20 15:45:53 +02:00
Uwe Steinmann
c14aaf02a6 Merge branch 'develop' into seeddms-5.1.x 2016-04-20 09:05:13 +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
5912354f09 set accessobject in view 2016-04-20 09:01:59 +02:00
Uwe Steinmann
4590a14de1 fix html_link(), link attributes can't be added 2016-04-20 09:01:20 +02:00
Uwe Steinmann
6ad8c5a10f Merge branch 'develop' into seeddms-5.1.x 2016-04-18 20:56:09 +02:00
Uwe Steinmann
8d8f3e51fb move excel export into view 2016-04-18 20:53:00 +02:00
Uwe Steinmann
8c77b0734c add hook to set extra columns, fix column counting if approval or review does not exists 2016-04-18 20:51:32 +02:00
Uwe Steinmann
2188babab8 move js from html into dynamic js file 2016-04-18 13:21:56 +02:00
Uwe Steinmann
4e2313d387 pass instance of Access Operation to view 2016-04-18 13:13:16 +02:00
Uwe Steinmann
4f70b6822b fix typo 2016-04-15 15:16:07 +02:00
Uwe Steinmann
9a44f8439e Merge branch 'develop' into seeddms-5.1.x 2016-04-15 13:22:33 +02:00
Uwe Steinmann
f8adb0cecf show previews were possible, pass accessobject to view 2016-04-15 13:20:56 +02:00
Uwe Steinmann
fcfce2d68d Merge branch 'develop' into seeddms-5.1.x 2016-04-13 18:43:25 +02:00
Uwe Steinmann
28dc4d32ad check access rights 2016-04-13 18:42:58 +02:00
Uwe Steinmann
b30aee4314 Merge branch 'develop' into seeddms-5.1.x 2016-04-13 18:32:27 +02:00
Uwe Steinmann
8723151361 check for access rights on controller actions 2016-04-13 18:31:42 +02:00
Uwe Steinmann
7e24402671 place code into controller 2016-04-13 18:31:28 +02:00
Uwe Steinmann
caf1501c89 add mehtod __invoke() 2016-04-13 18:30:54 +02:00
Uwe Steinmann
94682fb0ff copy code from check_view_access() to check_controller_access() 2016-04-13 18:29:58 +02:00
Uwe Steinmann
b80cb91d54 check if parameter of setNoAccess() is set before using it 2016-04-13 18:29:21 +02:00
Uwe Steinmann
76beca23c6 Merge branch 'seeddms-5.0.x' into develop 2016-04-13 10:55:38 +02:00
Uwe Steinmann
03a476709a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-13 10:55:27 +02:00
Uwe Steinmann
c21777d239 new phrases 2016-04-13 10:55:12 +02:00
Uwe Steinmann
e96e94d471 use translated strings 2016-04-13 10:54:12 +02:00
Uwe Steinmann
64470891ba set accessobject for view 2016-04-13 10:53:57 +02:00
Uwe Steinmann
a3e0f6eb7d fix inclusion of files 2016-04-13 08:56:51 +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
5efb44e3d5 new phrases 2016-04-13 08:52:50 +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
23e3011d82 use access check 2016-04-13 08:50:27 +02:00
Uwe Steinmann
4c15aa7c49 check_access() doesn't check for admin anymore
check_view_access() does it now
2016-04-13 08:49:32 +02:00
Uwe Steinmann
e22ca653ed check_view_access() returns true/false and also takes admin role into account 2016-04-13 08:48:23 +02:00
Uwe Steinmann
d2b2bd0226 check() returns true/false again 2016-04-13 08:47:33 +02:00
Uwe Steinmann
daa4066c04 show access restrictions for all role types except admin 2016-04-12 17:22:04 +02:00
Uwe Steinmann
2d79a0f143 make php7 compatible 2016-04-12 17:05:05 +02:00
Uwe Steinmann
a3644e86e7 fix syntax error 2016-04-12 17:04:13 +02:00
Uwe Steinmann
bb25509fd6 Merge branch 'develop' into seeddms-5.1.x 2016-04-12 15:30:41 +02:00
Uwe Steinmann
f7118a6ac3 fix notes of 1.1.8 2016-04-12 15:30:19 +02:00
Uwe Steinmann
1a35ef9cc3 Merge branch 'develop' into seeddms-5.1.x 2016-04-12 15:27:51 +02:00
Uwe Steinmann
ece56944d8 add new field noAccess in tblRoles 2016-04-12 12:23:57 +02:00
Uwe Steinmann
5bdc6fe3cc filter result by new access restrictions derived from status 2016-04-12 12:23:26 +02:00
Uwe Steinmann
795eb1e028 manage access restrictions 2016-04-12 12:23:04 +02:00
Uwe Steinmann
6278dd8df3 set access restrictions by role 2016-04-12 12:22:36 +02:00
Uwe Steinmann
0511d06d63 add field for access restrictions by document status 2016-04-12 12:21:55 +02:00
Uwe Steinmann
7a84ffee5e fix typo in description of extension 2016-04-12 09:17:35 +02:00
Uwe Steinmann
cdf78c0f4c Merge branch 'develop' into seeddms-5.1.x 2016-04-12 08:52:33 +02:00
Uwe Steinmann
41fa410010 Merge branch 'seeddms-5.0.x' into develop 2016-04-12 08:52:17 +02:00
Uwe Steinmann
561588b751 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-12 08:51:48 +02:00
Uwe Steinmann
ec36458709 add 'role_type' 2016-04-12 08:51:29 +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
3654906e9a set $dms->noReadForStatus (still commented out) 2016-04-12 07:56:53 +02:00
Uwe Steinmann
fb73b9c922 get $user from view in mainMenu() 2016-04-12 07:55:15 +02:00
Uwe Steinmann
be8be01ed5 check if getLatestContent() returns a version 2016-04-12 07:54:22 +02:00
Uwe Steinmann
130c894a35 check if version is accessible
all functions which return a document version (e.g. getLatestVersion())
will check if access has been restricted by setting
SeedDMS_Core_DMS::noReadForStatus
2016-04-12 07:46:37 +02:00
Uwe Steinmann
9786a51822 add variable noReadForStatus, method getLoggedInUser
setting noReadForStatus will allow to check if a version may
be accessible in its status
2016-04-12 07:44:48 +02:00
Uwe Steinmann
5224cbb9c6 Merge branch 'seeddms-5.0.x' into develop 2016-04-08 15:59:10 +02:00
Uwe Steinmann
0b51aad25a add changes for 5.0.3 2016-04-08 15:57:13 +02:00
Uwe Steinmann
94c3b635a6 use classname from $dms->_classnames for SeedDMS_Core_DocumentContent 2016-04-08 15:55:52 +02:00
Uwe Steinmann
0a87820f9a SeedDMS_Core_DocumentContent::getAccessMode() takes status into account 2016-04-08 15:10:43 +02:00
Uwe Steinmann
2caa65add6 replace phrase 'role' by 'type' 2016-04-08 12:54:25 +02:00
Uwe Steinmann
3a0d9526f7 Merge branch 'develop' into seeddms-5.1.x 2016-04-07 19:36:32 +02:00
Uwe Steinmann
cac1387d24 Merge branch 'seeddms-5.0.x' into develop 2016-04-07 19:36:23 +02:00
Uwe Steinmann
eee1e536b2 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-07 19:36:09 +02:00
Uwe Steinmann
94bf945133 add phrase for edit_version 2016-04-07 19:35:50 +02:00
Uwe Steinmann
e3bc75da15 check for $_POST["grpIndApprovers"] and $_POST["grpIndReviewers"] 2016-04-07 19:34:42 +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
8722b87727 Merge branch 'develop' into seeddms-5.1.x 2016-04-07 08:38:27 +02:00
Uwe Steinmann
c86616b971 Merge branch 'seeddms-5.0.x' into develop 2016-04-07 08:38:05 +02:00
Uwe Steinmann
0f1a0bece5 fix typo in hook function 2016-04-07 08:36:20 +02:00
Uwe Steinmann
8a0073c39a Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-07 08:33:41 +02:00
Uwe Steinmann
ef6bbecd1e add optional parameter to add_log_line() 2016-04-07 08:32:07 +02:00
Uwe Steinmann
c3ab200c87 use SEEDDMS_CONFIG_FILE if set 2016-04-07 08:31:40 +02:00
Uwe Steinmann
c2d8fb1508 remove empty line 2016-04-07 08:31:11 +02:00
Uwe Steinmann
df040190f1 pass $settings to view, set default theme to bootstrap 2016-04-07 08:30:47 +02:00
Uwe Steinmann
17fc1d7dd4 sync with 5.0.x 2016-04-07 08:30:25 +02:00
Uwe Steinmann
2c14ec295a various minor clean ups
remove old code, add scope of variables, add additional comments
2016-04-07 08:29:35 +02:00
Uwe Steinmann
7fa26ace57 add entry for 4.3.26 2016-04-05 17:03:33 +02:00
Uwe Steinmann
856245868b do not expect a return value from $indexer->delete() 2016-04-05 17:03:03 +02:00
Uwe Steinmann
3b800b702e new version 1.1.8 2016-04-05 15:17:48 +02:00
Uwe Steinmann
ecdbc03d6a stream_select may pass only variables by reference 2016-04-05 15:15:59 +02:00
Uwe Steinmann
552c3b4d98 Merge branch 'seeddms-5.0.x' into develop 2016-04-05 10:05:05 +02:00
Uwe Steinmann
9411c08cc1 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-05 10:02:43 +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
d59e7c1228 remove some duplicate code, do not use classname SeedDMS_Core_User 2016-04-05 09:41:32 +02:00
Uwe Steinmann
369411ec5b $settings is not needed 2016-04-04 16:41:09 +02:00
Uwe Steinmann
f4b6b9b6e1 do not pass $dms and $settings to (pre|post)AddService 2016-04-04 16:40:41 +02:00
Uwe Steinmann
5de44791ff fix name of preAddService 2016-04-04 16:17:41 +02:00
Uwe Steinmann
688244c87b Merge branch 'develop' into seeddms-5.1.x 2016-04-04 15:09:59 +02:00
Uwe Steinmann
ce905f3144 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-04-04 14:32:02 +02:00
Uwe Steinmann
b2b3975b70 Merge branch 'seeddms-5.0.x' into develop 2016-04-04 12:21:19 +02:00
Uwe Steinmann
47eeec8d06 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-04 09:01:51 +02:00
Uwe Steinmann
bc3450015a some code cleanup 2016-04-04 09:00:08 +02:00
Uwe Steinmann
2045060f78 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-04-04 08:59:28 +02:00
Uwe Steinmann
8ac274adf1 fix version numbering 2016-04-04 08:52:21 +02:00
Uwe Steinmann
0e9503cb0d remove some spaces 2016-04-04 08:51:05 +02:00
Uwe Steinmann
fb98eb948d fix line indenting 2016-04-04 08:49:50 +02:00
Uwe Steinmann
15a77406da add entry for 5.0.2 2016-04-04 08:47:04 +02:00
Uwe Steinmann
194c6c4fe8 fix ldap authentication 2016-04-04 08:46:03 +02:00
Uwe Steinmann
4114bd9557 add changes for 4.3.26 2016-04-04 07:40:46 +02:00
Uwe Steinmann
6793dbfb66 remove restrictions that only admins may delete documents 2016-04-04 07:40:25 +02:00
Uwe Steinmann
336b5f79d9 new version 4.3.26 2016-04-04 07:39:57 +02:00
Uwe Steinmann
ae14f25d58 add more callbacks 2016-04-04 07:39:39 +02:00
Uwe Steinmann
8139bebb6a add new tables Aros, Acos, ArosAcos to update script 2016-03-31 11:34:00 +02:00
Uwe Steinmann
263ec73451 Merge branch 'develop' into seeddms-5.1.x 2016-03-31 11:19:49 +02:00
Uwe Steinmann
7d50c6e69d Merge branch 'seeddms-5.0.x' into develop 2016-03-31 11:19:36 +02:00
Uwe Steinmann
8b04957820 Merge branch 'seeddms-5.0.x' into seeddms-5.1.x 2016-03-31 11:19:08 +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
da6af81ec9 set width of .chosen-container on search page 2016-03-30 14:06:27 +02:00
Uwe Steinmann
72b7bb3f59 fix sending test mail
add missing first parameter to SeedDMS_EmailNotify
2016-03-30 09:17:51 +02:00
Uwe Steinmann
ebb53440df remove some old code, mark code as deprecated 2016-03-29 08:32:32 +02:00
Uwe Steinmann
24f300e8d5 add changelog for 4.3.26 2016-03-29 08:14:31 +02:00
Uwe Steinmann
da21b07a15 start new version 1.0.5 2016-03-29 08:14:13 +02:00
Uwe Steinmann
2bef65d6ff start new version 1.1.7 2016-03-29 08:13:56 +02:00
Uwe Steinmann
634b9e86c4 start new version 1.1.8 2016-03-29 08:13:22 +02:00
Uwe Steinmann
ae1afe4c23 set micro sec. of stream_select() to 200000
reduces cpu load if timeout was set to 0
2016-03-29 08:12:20 +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
50490ce808 Merge branch 'seeddms-5.0.x' into develop 2016-03-24 15:48:53 +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
fe8e1d2b52 proper check of return value of setStatus() 2016-03-24 15:41:23 +01:00
Uwe Steinmann
f5db1b66cb setStatus will not fail if status is unchanged, finishRevision() will no longer set state waіting 2016-03-24 15:40:25 +01:00
Uwe Steinmann
50a39d439a revisors may not be set unless document is release or in revision 2016-03-23 17:56:34 +01:00
Uwe Steinmann
6deefda545 use $newdocstatus instead of $newStatus 2016-03-23 17:33:04 +01:00
Uwe Steinmann
3e05cfe24f fix call of SeedDMS_AccessOperation() 2016-03-23 16:54:25 +01:00
Uwe Steinmann
353be72dc9 pass $document to mayApprove() 2016-03-23 16:54:03 +01:00
Uwe Steinmann
50cfb869e2 pass $document to mayEditVersion() 2016-03-23 16:53:32 +01:00
Uwe Steinmann
a693233150 make mayEditVersion() work again 2016-03-23 16:53:01 +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
c947f92a73 check for guest based on role 2016-03-23 12:40:09 +01:00
Uwe Steinmann
8b1effc2f3 Merge branch 'seeddms-5.0.x' into develop 2016-03-23 12:36:47 +01:00
Uwe Steinmann
e72e7f3f15 Merge branch 'seeddms-5.0.x' into develop 2016-03-22 15:22:19 +01:00
Uwe Steinmann
3ed43f3f09 Merge branch 'seeddms-5.0.x' into develop 2016-03-21 08:34:20 +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
ba47fededd Merge branch 'seeddms-5.0.x' into develop 2016-03-21 06:43:17 +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
b8fc40f60f fix access check 2016-03-18 22:48:13 +01:00
Uwe Steinmann
d8e0ba840d fix syntax error 2016-03-18 22:47:51 +01:00
Uwe Steinmann
66da520835 add removal of transmittal 2016-03-18 22:47:28 +01:00
Uwe Steinmann
19793e41b9 add remove() 2016-03-18 22:47:15 +01:00
Uwe Steinmann
00ed4c5743 Merge branch 'seeddms-5.0.x' into develop 2016-03-18 17:13:27 +01:00
Uwe Steinmann
c3f9abea0e Merge branch 'seeddms-5.0.x' into develop 2016-03-18 17:05:58 +01:00
Uwe Steinmann
4dcd92b528 convert to new method of view invocation 2016-03-18 16:52:04 +01:00
Uwe Steinmann
601f32fc00 Merge branch 'seeddms-5.0.x' into develop 2016-03-18 16:40:46 +01:00
Uwe Steinmann
a7a9bc72a2 get $libraryfolder from view in js() 2016-03-18 16:38:36 +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
7bd77ba43e Merge branch 'seeddms-5.0.x' into develop 2016-03-15 08:50:32 +01:00
Uwe Steinmann
c5435e0a27 add acl check 2016-03-15 06:22:48 +01:00
Uwe Steinmann
3f6420a6d4 Merge branch 'seeddms-5.0.x' into develop 2016-03-14 18:20:03 +01:00
Uwe Steinmann
d317388d18 Merge branch 'seeddms-5.0.x' into develop 2016-03-09 08:10:15 +01:00
Uwe Steinmann
5139efd4d7 Merge branch 'develop' into seeddms-5.1.x 2016-03-09 06:46:55 +01:00
Uwe Steinmann
f859b48a57 Merge branch 'seeddms-5.0.x' into develop 2016-03-09 06:42:30 +01:00
Uwe Steinmann
4e32ce086e Merge branch 'develop' into seeddms-5.1.x 2016-03-08 10:46:34 +01:00
Uwe Steinmann
aca3db06c2 Merge branch 'seeddms-5.0.x' into develop 2016-03-08 10:46:16 +01:00
Uwe Steinmann
4bd2a9f766 Merge branch 'seeddms-5.0.x' into develop 2016-03-08 07:00:09 +01:00
Uwe Steinmann
51d0078e26 Merge branch 'seeddms-5.0.x' into develop 2016-03-07 08:16:40 +01:00
Uwe Steinmann
1578b12cf9 add access check (still commented out) 2016-03-04 16:02:59 +01:00
Uwe Steinmann
64c0b37726 add access check 2016-03-04 16:02:03 +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
1f9aa108a4 set parameter class 2016-03-04 15:45:28 +01:00
Uwe Steinmann
8e606dac8b order objects by alias 2016-03-04 15:45:10 +01:00
Uwe Steinmann
04eadaad67 add check_controller_access() 2016-03-04 15:44:11 +01:00
Uwe Steinmann
dcc3d9e74c take out debug output 2016-03-04 12:59:56 +01:00
Uwe Steinmann
4770608d8f include inc.ClassAccessOperation.php 2016-03-04 09:40:49 +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
e4bc8d2180 add advanced access check 2016-03-04 09:36:08 +01:00
Uwe Steinmann
a3df77e713 take out access check 2016-03-04 09:35:27 +01:00
Uwe Steinmann
0909d43bcf minor code cleanup 2016-03-04 09:34:47 +01:00
Uwe Steinmann
31017fee9d fix php error 2016-03-04 09:33:15 +01:00
Uwe Steinmann
6826e69795 add function for creating links, urls, and check access 2016-03-04 09:28:37 +01:00
Uwe Steinmann
bd3fbd5cf7 cache aro, first param of check_view_access() can be string, array, object 2016-03-04 09:27:29 +01:00
Uwe Steinmann
1fe2b3bdc2 some code clean up, change varialbe dms to _dms 2016-03-04 09:26:27 +01:00
Uwe Steinmann
f84c8eedd2 add parameter to turn off/on advanced acl 2016-03-04 09:25:18 +01:00
Uwe Steinmann
42e168a1fc pass object of role to constructor in getAllInstances() 2016-03-04 09:23:55 +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
8985748f8a use new instanciation of view 2016-03-03 07:37:26 +01:00
Uwe Steinmann
e089cc898c add button for adding missing aro 2016-03-03 07:08:42 +01:00
Uwe Steinmann
c987412482 set propper messages, add missing commands 2016-03-03 07:06:10 +01:00
Uwe Steinmann
bae1386c58 add phrases for new access control 2016-03-03 07:05:09 +01:00
Uwe Steinmann
839ae0b1df many improvements 2016-03-03 07:04:36 +01:00
Uwe Steinmann
e6966ae841 controller for setting permissions 2016-02-29 16:32:32 +01:00
Uwe Steinmann
8f7a84e495 complete acos and aros 2016-02-29 16:24:55 +01:00
Uwe Steinmann
a8d615071e minor style changes, set propper url to modify permissions 2016-02-29 14:07:44 +01:00
Uwe Steinmann
b19f306bbf add more methods 2016-02-29 14:07:20 +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
a213a6a0cd various new methods 2016-02-29 08:31:19 +01:00
Uwe Steinmann
920d850915 set format of date fields 2016-02-27 08:44:20 +01:00
Uwe Steinmann
2a727b6204 Merge branch 'develop' into seeddms-5.1.x 2016-02-26 09:22:49 +01:00
Uwe Steinmann
5f610c4049 Merge branch 'seeddms-5.0.x' into develop 2016-02-26 09:22:25 +01:00
Uwe Steinmann
8d1dc66c59 Merge branch 'develop' into seeddms-5.1.x 2016-02-26 09:08:32 +01:00
Uwe Steinmann
206983cffd Merge branch 'seeddms-5.0.x' into develop 2016-02-26 09:08:17 +01:00
Uwe Steinmann
21c7068341 Merge branch 'seeddms-5.0.x' into develop 2016-02-25 10:57:27 +01:00
Uwe Steinmann
b3426ec6eb Merge branch 'develop' into seeddms-5.1.x 2016-02-25 10:43:51 +01:00
Uwe Steinmann
7099dc6d73 set $openfilterdlg before accordion for export 2016-02-25 10:43:14 +01:00
Uwe Steinmann
3b18b4398c fix name of view parameter previewwidthdetail 2016-02-25 10:33:41 +01:00
Uwe Steinmann
72ce140895 fix creation of aro 2016-02-25 10:16:40 +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
Uwe Steinmann
2721a43dde Merge branch 'develop' into seeddms-5.1.x 2016-02-24 14:43:10 +01:00
Uwe Steinmann
724dfd45e6 Merge branch 'seeddms-5.0.x' into develop 2016-02-24 14:40:41 +01:00
Uwe Steinmann
e759b44d37 include inc.ClassAcl.php 2016-02-24 14:38:28 +01:00
Uwe Steinmann
fb95d8f5ed add class to handle access controll 2016-02-24 14:37:49 +01:00
Uwe Steinmann
3d76792239 add management of roles 2016-02-24 14:36:59 +01:00
Uwe Steinmann
49be0485c5 role is now an instance of SeedDMD_Core_Role 2016-02-24 14:35:37 +01:00
Uwe Steinmann
ee7180ccd3 role is now an object of class SeedDMD_Core_Role 2016-02-24 14:34:58 +01:00
Uwe Steinmann
4c3e45ee02 add tables and updates for roles 2016-02-24 14:34:30 +01:00
Uwe Steinmann
480aca1c80 add roles 2016-02-24 14:32:55 +01:00
Uwe Steinmann
f41210f2d7 new version 5.1.0 2016-02-22 14:18:42 +01:00
Uwe Steinmann
91db603a89 next version will be 5.1.0 2016-02-22 14:03:23 +01:00
Uwe Steinmann
7b251fb419 Merge branch 'seeddms-5.0.x' into develop 2016-02-22 11:49:08 +01:00
Uwe Steinmann
0e5e09dbbf fix logout if not admin 2016-02-19 08:21:22 +01:00
Uwe Steinmann
d4e28ec735 get timeout from view 2016-02-19 08:04:45 +01:00
Uwe Steinmann
aa836a8954 fix syntax error 2016-02-18 20:35:56 +01:00
Uwe Steinmann
bd7868cfc7 Merge branch 'seeddms-5.0.x' into develop 2016-02-18 20:35:11 +01:00
Uwe Steinmann
314906adf3 fix document chooser 2016-02-17 11:56:00 +01:00
Uwe Steinmann
067890345e Merge branch 'seeddms-5.0.x' into develop 2016-02-17 11:44:25 +01:00
Uwe Steinmann
3907431369 split printFolderChooser() for library folder into js and html part 2016-02-17 11:35:42 +01:00
Uwe Steinmann
179af06438 split printFolderChooser() for home folder into js and html 2016-02-17 11:35:01 +01:00
Uwe Steinmann
ee613233db add missing arguments to printDocumentChooser() 2016-02-17 11:12:19 +01:00
Uwe Steinmann
01c03f33f9 Merge branch 'seeddms-5.0.x' into develop 2016-02-16 12:19:26 +01:00
Uwe Steinmann
bc608eff07 Merge branch 'seeddms-5.0.x' into develop 2016-02-15 20:45:05 +01:00
Uwe Steinmann
6c7648b75a use getDocumentList() instead of plain sql 2016-02-10 13:34:25 +01:00
Uwe Steinmann
db8b5cc033 add 'WorkflowOwner' list to getDocumentList() 2016-02-10 13:33:56 +01:00
Uwe Steinmann
d62d6f5662 do not use sql but call getDocumentList() 2016-02-10 12:31:17 +01:00
Uwe Steinmann
14f600da35 add 'WorkflowByMe' list in getDocumentList() 2016-02-10 12:30:51 +01:00
Uwe Steinmann
2a5a2cd61d Merge branch 'seeddms-5.0.x' into develop 2016-02-10 11:49:15 +01:00
Uwe Steinmann
2da2f0af9a Merge branch 'seeddms-5.0.x' into develop 2016-02-08 13:24:40 +01:00
Uwe Steinmann
3b8d7a5271 Merge branch 'seeddms-5.0.x' into develop 2016-02-04 19:22:59 +01:00
Uwe Steinmann
ad41fd2571 fix calling checkTasks() 2016-01-19 10:10:38 +01:00
Uwe Steinmann
f71ea7eddc do not add js function checkTasks() to footer anymore 2016-01-19 10:10:15 +01:00
Uwe Steinmann
860f9b0854 Merge branch 'seeddms-5.0.x' into develop 2016-01-18 13:29:06 +01:00
Uwe Steinmann
3bd4605c1f Merge branch 'seeddms-5.0.x' into develop 2016-01-18 12:17:35 +01:00
Uwe Steinmann
5863d962ac Merge branch 'seeddms-5.0.x' into develop 2015-12-16 09:30:16 +01:00
Uwe Steinmann
569fa62737 fix link to receipt or revise a document 2015-12-10 10:30:50 +01:00
Uwe Steinmann
65a1ba9102 fix links in task menu 2015-12-10 09:24:46 +01:00
Uwe Steinmann
9e09e5db5a Merge branch 'seeddms-5.0.x' into develop 2015-12-10 07:57:20 +01:00
Uwe Steinmann
6b95229ff7 Merge branch 'seeddms-5.0.x' into develop 2015-12-09 21:54:02 +01:00
Uwe Steinmann
6ae70ce7f6 use constant S_LOG_USER_REMOVE 2015-12-08 18:19:33 +01:00
Uwe Steinmann
4a5d084ddd remove old sql code, use constant S_LOG_USER_REMOVED 2015-12-08 18:16:25 +01:00
Uwe Steinmann
502e9b6271 remove old sql code, use constant S_LOG_USER_REMOVED 2015-12-08 18:15:44 +01:00
Uwe Steinmann
ffc709c557 set individual recipients from group 2015-12-08 09:00:42 +01:00
Uwe Steinmann
52b64822c5 show name of volume for checkout 2015-12-08 09:00:04 +01:00
Uwe Steinmann
20e7b873a5 get classname of SeedDMS Document from dms instance
don't use hard coded SeedDMS_Core_Document anymore
2015-12-04 08:34:32 +01:00
Uwe Steinmann
7d88617964 individual approver/reviewer can be take from group 2015-12-04 08:00:50 +01:00
Uwe Steinmann
574cc53075 Merge branch 'seeddms-5.0.x' into develop 2015-12-03 15:24:41 +01:00
Uwe Steinmann
3e4e27f236 Merge branch 'seeddms-5.0.x' into develop 2015-12-03 15:10:34 +01:00
Uwe Steinmann
f7b2d5b6d6 use the checkout space of the logged in user not the substituted user 2015-12-01 18:06:41 +01:00
Uwe Steinmann
eee4e2f0eb add getUser() 2015-12-01 18:06:15 +01:00
Uwe Steinmann
0fc1806ca4 do not include ../inc/inc.ClassEmail.php 2015-12-01 09:23:41 +01:00
Uwe Steinmann
5351bd9596 create checkout filename from id, version and name 2015-11-30 20:47:19 +01:00
Uwe Steinmann
348d40ad22 show filename as saved in database table 2015-11-30 20:47:07 +01:00
Uwe Steinmann
10cbf3b3b3 add pptx to getMimeType() 2015-11-30 20:46:55 +01:00
Uwe Steinmann
1f77a749be Merge branch 'seeddms-5.0.x' into develop 2015-11-27 16:09:11 +01:00
Uwe Steinmann
3d0e970760 Merge branch 'seeddms-5.0.x' into develop 2015-11-23 21:58:21 +01:00
Uwe Steinmann
d04e65108d Merge branch 'seeddms-5.0.x' into develop 2015-11-19 08:00:10 +01:00
Uwe Steinmann
f33f7ab41a Merge branch 'seeddms-5.0.x' into develop 2015-11-16 21:58:04 +01:00
Uwe Steinmann
c22b22f49a Merge branch 'seeddms-5.0.x' into develop 2015-11-15 17:36:45 +01:00
Uwe Steinmann
19c195a357 Merge branch 'seeddms-5.0.x' into develop 2015-11-11 06:52:36 +01:00
Uwe Steinmann
ecf8f311d9 set propper Content-Type 2015-11-05 13:43:49 +01:00
Uwe Steinmann
14d79338de Merge branch 'seeddms-5.0.x' into develop 2015-10-30 16:16:24 +01:00
Uwe Steinmann
5dc4bf258b Merge branch 'seeddms-5.0.x' into develop 2015-10-30 13:26:01 +01:00
Uwe Steinmann
a30b3b9505 Merge branch 'seeddms-5.0.x' into develop 2015-10-30 13:09:25 +01:00
Uwe Steinmann
f78e02e7e8 Merge branch 'seeddms-5.0.x' into develop 2015-10-27 11:43:40 +01:00
Uwe Steinmann
50ef190ae7 Merge branch 'seeddms-5.0.x' into develop 2015-10-27 09:03:45 +01:00
Uwe Steinmann
031129a31c Merge branch 'seeddms-5.0.x' into develop 2015-10-20 18:21:47 +02:00
Uwe Steinmann
dc66a5959d use converters 2015-09-30 13:22:25 +02:00
Uwe Steinmann
7ba956d760 Merge branch 'seeddms-5.0.x' into develop 2015-09-30 12:10:39 +02:00
Uwe Steinmann
15bedc303e Merge branch 'seeddms-5.0.x' into develop 2015-09-28 14:54:03 +02:00
Uwe Steinmann
ddfea8f3cb Merge branch 'seeddms-5.0.x' into develop 2015-09-28 12:35:18 +02:00
Uwe Steinmann
fd92628c30 Merge branch 'seeddms-5.0.x' into develop 2015-09-23 18:11:17 +02:00
Uwe Steinmann
37f9771b97 Merge branch 'seeddms-5.0.x' into develop 2015-09-23 17:21:26 +02:00
Uwe Steinmann
42b5162ca4 Merge branch 'seeddms-5.0.x' into develop 2015-09-23 14:43:13 +02:00
Uwe Steinmann
b0edf297a2 Merge branch 'seeddms-5.0.x' into develop 2015-09-22 16:01:09 +02:00
Uwe Steinmann
e8b99cea70 replace all CURRENT_TIMESTAMP by $db->getCurrentTimestamp() 2015-09-22 09:01:18 +02:00
Uwe Steinmann
fcbb5f68fe Merge branch 'seeddms-5.0.x' into develop 2015-09-22 08:51:59 +02:00
Uwe Steinmann
6be0d179fc Merge branch 'seeddms-5.0.x' into develop 2015-09-21 16:58:25 +02:00
Uwe Steinmann
d54172d366 Merge branch 'seeddms-5.0.x' into develop 2015-09-18 08:00:06 +02:00
Uwe Steinmann
ab35650f0b check if settings->_libraryFolder is set before using it 2015-09-16 11:25:59 +02:00
Uwe Steinmann
850bb05481 add superfluous code 2015-09-16 11:10:11 +02:00
Uwe Steinmann
07053ca7e9 check for includecontent checkbox and pass it to url 2015-08-25 16:44:07 +02:00
Uwe Steinmann
022490e461 set propper content type for excel documents 2015-08-25 16:43:27 +02:00
Uwe Steinmann
397c5ee9d8 Merge branch 'seeddms-5.0.x' into develop 2015-08-25 14:58:49 +02:00
Uwe Steinmann
8c0377aa39 Merge branch 'seeddms-5.0.x' into develop 2015-08-21 11:10:23 +02:00
Uwe Steinmann
b7de0f61c7 Merge branch 'seeddms-5.0.x' into develop 2015-08-20 22:38:08 +02:00
Uwe Steinmann
e97de9c6df Merge branch 'seeddms-5.0.x' into develop 2015-08-19 20:16:40 +02:00
Uwe Steinmann
58413e5218 Merge branch 'seeddms-5.0.x' into develop 2015-08-19 09:24:20 +02:00
Uwe Steinmann
4c6eb18528 Merge branch 'seeddms-5.0.x' into develop 2015-08-19 06:09:20 +02:00
Uwe Steinmann
92c24739bf Merge branch 'seeddms-5.0.x' into develop 2015-08-18 16:22:23 +02:00
Uwe Steinmann
263d4b7caf fix input field name for new mimetype 2015-08-13 18:02:37 +02:00
Uwe Steinmann
9aa2637a71 user showTextField() 2015-08-13 18:00:48 +02:00
Uwe Steinmann
ad1d9f556f Merge branch 'seeddms-5.0.x' into develop 2015-08-13 17:56:15 +02:00
Uwe Steinmann
f53413006b Merge branch 'seeddms-5.0.x' into develop 2015-08-13 11:55:19 +02:00
Uwe Steinmann
de79e6c496 Merge branch 'seeddms-5.0.x' into develop 2015-08-13 09:53:53 +02:00
Uwe Steinmann
7e30ec4459 Merge branch 'seeddms-5.0.x' into develop 2015-08-13 08:18:57 +02:00
Uwe Steinmann
d8b42af4b1 Merge branch 'seeddms-5.0.x' into develop 2015-08-11 14:11:14 +02:00
Uwe Steinmann
aa49c5b0b1 Merge branch 'seeddms-5.0.x' into develop 2015-08-10 21:58:16 +02:00
Uwe Steinmann
1b0eb64698 Merge branch 'seeddms-5.0.x' into develop 2015-08-09 07:26:07 +02:00
Uwe Steinmann
3ef5dbd2ae use dumplog() from revisionlog and receiptlog 2015-08-09 07:24:42 +02:00
Uwe Steinmann
ec244587eb fix merge error 2015-08-09 07:19:53 +02:00
Uwe Steinmann
0ba67b2634 Merge branch 'seeddms-5.0.x' into develop 2015-08-09 07:19:27 +02:00
Uwe Steinmann
a20c6f23e2 Merge branch 'seeddms-5.0.x' into develop 2015-08-08 09:40:15 +02:00
Uwe Steinmann
1bc65c0eef add update script for 6.0.0 2015-08-07 20:09:45 +02:00
Uwe Steinmann
4c907dbf9e Merge branch 'seeddms-5.0.x' into develop 2015-08-07 20:08:29 +02:00
Uwe Steinmann
92f66f4b4a Merge branch 'seeddms-5.0.x' into develop 2015-08-07 13:37:30 +02:00
Uwe Steinmann
70e504ecef Merge branch 'seeddms-5.0.x' into develop 2015-08-07 13:20:10 +02:00
Uwe Steinmann
eeff55eb7d pass $dms to constructor of SeedDMS_AccessOperation 2015-08-07 13:15:13 +02:00
Uwe Steinmann
c4f7223293 Merge branch 'seeddms-5.0.x' into develop 2015-08-07 13:13:14 +02:00
Uwe Steinmann
e8456dec57 Merge branch 'seeddms-5.0.x' into develop 2015-08-07 07:51:15 +02:00
Uwe Steinmann
06c89b0cc5 add statistic for transmittals 2015-08-06 22:21:28 +02:00
Uwe Steinmann
cca8221f28 fix export of substitutes 2015-08-06 18:26:47 +02:00
Uwe Steinmann
c8d7bdca8b Merge branch 'seeddms-5.0.x' into develop 2015-08-06 18:22:24 +02:00
Uwe Steinmann
e1f8a1abbb export user substitutes 2015-08-06 17:55:42 +02:00
Uwe Steinmann
51a06c4ab6 Merge branch 'seeddms-5.0.x' into develop 2015-08-06 13:42:39 +02:00
Uwe Steinmann
16abca2913 Merge branch 'seeddms-5.0.x' into develop 2015-08-06 06:46:27 +02:00
Uwe Steinmann
6c74206544 add transmittals to $objmap 2015-08-06 06:25:06 +02:00
Uwe Steinmann
68a695d58c dump revision and receiption log 2015-08-06 06:24:37 +02:00
Uwe Steinmann
972b8972be Merge branch 'seeddms-5.0.x' into develop 2015-08-05 22:48:03 +02:00
Uwe Steinmann
ed32bcfb70 import transmittals 2015-08-05 22:46:30 +02:00
Uwe Steinmann
91086c594e export transmittals 2015-08-05 22:46:15 +02:00
Uwe Steinmann
215380b806 remove echo statement 2015-08-05 22:45:57 +02:00
Uwe Steinmann
170f70d005 Merge branch 'seeddms-5.0.x' into develop 2015-08-05 21:32:53 +02:00
Uwe Steinmann
55ccf3e987 Merge branch 'seeddms-5.0.x' into develop 2015-08-05 21:14:35 +02:00
Uwe Steinmann
0d4a2164f3 Merge branch 'seeddms-5.0.x' into develop 2015-08-05 18:20:43 +02:00
Uwe Steinmann
46bbf2234a tblDocumentCheckOuts is not created in version 5.0.x 2015-08-05 18:00:17 +02:00
Uwe Steinmann
3478d4e86c fix field name revisiondate in tblDocumentContent 2015-08-05 17:53:57 +02:00
Uwe Steinmann
c7f5f77925 sync with mysql statements, fix errors 2015-08-05 17:30:41 +02:00
Uwe Steinmann
8a3aebf3cc Merge branch 'seeddms-5.0.x' into develop 2015-08-05 17:02:13 +02:00
Uwe Steinmann
f1ed611aa9 Merge branch 'seeddms-5.0.x' into develop 2015-07-31 08:01:35 +02:00
Uwe Steinmann
7fcfe644da Merge branch 'seeddms-5.0.x' into develop 2015-07-30 21:08:50 +02:00
Uwe Steinmann
6c7ff86a09 Merge branch 'seeddms-5.0.x' into develop 2015-07-30 11:25:56 +02:00
Uwe Steinmann
3d4f64a4e6 dangling links not needed anymore 2015-07-28 15:20:35 +02:00
Uwe Steinmann
0c6515b4c7 Merge branch 'seeddms-5.0.x' into develop 2015-07-28 10:24:06 +02:00
Uwe Steinmann
de8726cccf Merge branch 'seeddms-5.0.x' into develop 2015-07-28 09:01:02 +02:00
Uwe Steinmann
0c48b342a5 dskspace() checks if directory could be opened 2015-07-28 07:50:37 +02:00
Uwe Steinmann
d653c516ea pass backup dir to view 2015-07-28 07:50:02 +02:00
Uwe Steinmann
30ccf4f8f6 use backup dir if set 2015-07-28 07:49:35 +02:00
Uwe Steinmann
c1b28071df addSepDir() doesn't add dir separator to empty string
also remove space from string
2015-07-28 07:32:29 +02:00
Uwe Steinmann
2bf7bd0a4e use backup dir if set 2015-07-28 07:30:24 +02:00
Uwe Steinmann
ff53a3e3e5 backup dir can be set 2015-07-28 07:29:08 +02:00
Uwe Steinmann
b520bfece0 add method addDirSep() 2015-07-28 07:28:34 +02:00
Uwe Steinmann
9a228017c1 take duplicate declaration of doNotCheckDBVersion 2015-07-28 06:45:43 +02:00
Uwe Steinmann
572927668a remove space in content type for excel sheet 2015-07-27 20:54:21 +02:00
Uwe Steinmann
5f8cc5f460 add class variable _doNotCheckDBVersion 2015-07-24 16:05:47 +02:00
Uwe Steinmann
43341c802f add keys settings_enableMenuTasks and settings_enableMenuTasks_desc 2015-07-22 09:19:55 +02:00
Uwe Steinmann
75fbf8d1f4 add keys settings_autoLoginUser and settings_autoLoginUser_desc 2015-07-22 09:13:06 +02:00
Uwe Steinmann
368ef8478c use view classes from extension only if enabled 2015-07-22 07:08:22 +02:00
Uwe Steinmann
8ed3264ae6 run hook folderNavigationMenu 2015-07-15 22:08:59 +02:00
Uwe Steinmann
a6d8ed829f add new parameter $base to htmlStartPage(), call hook for documentMenu propperly 2015-07-15 17:00:23 +02:00
Uwe Steinmann
4e9cadeca6 add new method getHookObjects() which returns all registered hook objects 2015-07-15 16:59:36 +02:00
Uwe Steinmann
ce79c8e8cd check for files relative to $settings->_rootDir instead of '../' 2015-07-15 16:58:53 +02:00
Uwe Steinmann
bd7a11f0b1 use configured classname in getInstance()
this will make sure that even getInstance in child classes defined
by an extension will return objects of the right class
2015-07-15 16:57:26 +02:00
Uwe Steinmann
889779113d first check if user is an object before using it 2015-07-14 21:35:53 +02:00
Uwe Steinmann
9604076555 printAttributeEditField() can be passed a default value
document menu can be extended by a hook
2015-07-14 21:27:41 +02:00
Uwe Steinmann
d09605c6b9 pass null to printAttributeEditField if attribute is not set 2015-07-14 21:26:40 +02:00
Uwe Steinmann
f187dff23a auto login user if not already logged in
the user won't have a session, but will be granted access for the
http request
2015-07-14 21:23:54 +02:00
Uwe Steinmann
a2179ca53e add new paramter autoLoginUser 2015-07-14 21:23:33 +02:00
Uwe Steinmann
d0760b2925 place comment in left column on previous versions tab 2015-07-14 10:08:04 +02:00
Uwe Steinmann
5a3dec7c2e some reorganization of docinfo tab
make some more room
2015-07-14 10:00:39 +02:00
Uwe Steinmann
e17bcc714a initialize all arrays for return value in menutasks 2015-07-10 10:51:56 +02:00
Uwe Steinmann
4f2392e492 set timeout for checkTask() function 2015-07-10 08:28:19 +02:00
Uwe Steinmann
a6541296a1 list documents to receipt and revise in menu task list 2015-07-09 18:29:34 +02:00
Uwe Steinmann
7a601a1cd0 checkTasks() also checks documents to receipt and revise 2015-07-09 18:29:08 +02:00
Uwe Steinmann
f25c090039 command mytasks also returns documents to receipt and revise 2015-07-09 18:28:08 +02:00
Uwe Steinmann
9bc675873d getDocumentList() returns only documents I haven't touched
The lists AppRevByMe, ReviseByMe and ReceiptByMe will only return
those documents in its initial review/approval/receipt/revision
status (0).
2015-07-09 18:25:55 +02:00
Uwe Steinmann
59fd3c7170 add missing space between tag attributes 2015-07-09 08:01:21 +02:00
Uwe Steinmann
4290e705cf add tasks to menu if configured 2015-07-09 07:59:54 +02:00
Uwe Steinmann
863d203133 add command 'mytasks' 2015-07-09 07:59:30 +02:00
Uwe Steinmann
f35573611d set param enablemenutasks for view 2015-07-09 07:59:02 +02:00
Uwe Steinmann
cd3a239482 add new config parameter enableMenuTasks 2015-07-09 07:58:34 +02:00
Uwe Steinmann
9682b02b8e define function which updates the tasks in the menu 2015-07-09 07:57:46 +02:00
Uwe Steinmann
bf95beb536 put tasks into submenus 2015-07-08 19:48:18 +02:00
Uwe Steinmann
ae288c83f2 add javascript for continuosily upating task list 2015-07-08 18:59:28 +02:00
Uwe Steinmann
a76e1de49e reorder lists 2015-07-08 18:59:14 +02:00
Uwe Steinmann
3583962085 new task menutask in op/op.Ajax.php which calls menuTask() 2015-07-08 18:58:38 +02:00
Uwe Steinmann
6b2f528624 getDocumentList(AppRev) returns only untouched documents 2015-07-08 18:57:53 +02:00
Uwe Steinmann
e4a568e6b9 various updates and new phrases 2015-07-08 18:53:07 +02:00
Uwe Steinmann
d146e04a13 some ul list for attributes of older versions 2015-07-08 15:37:37 +02:00
Uwe Steinmann
284f987783 build tbs_template extension 2015-07-08 15:36:05 +02:00
Uwe Steinmann
8e5daeb960 add item for 4.3.20 2015-07-08 07:26:26 +02:00
Uwe Steinmann
26982d1da0 show preview image in list 2015-07-08 07:26:16 +02:00
Uwe Steinmann
bab558cd5c add entry for 4.3.20
Conflicts:
	CHANGELOG
2015-07-08 06:55:27 +02:00
Uwe Steinmann
9ce168b4b6 list only documents to approve which have passed review
previously all documents that need to be approved some time were
listed. Even those documents which haven't passed review and cannot
be approved currently.
2015-07-08 06:54:45 +02:00
Uwe Steinmann
4ae913e307 make field for expired date larger 2015-07-06 22:18:11 +02:00
Uwe Steinmann
51cae12fab fix setting expire date (Closes: #225) 2015-07-06 22:18:06 +02:00
Uwe Steinmann
6b1124c23f pass folder object and not id to printDocumentChooser() 2015-07-06 16:09:25 +02:00
Uwe Steinmann
85174c6f45 create list of rejected documents 2015-07-03 20:52:55 +02:00
Uwe Steinmann
4ac3ea014c set heading to add_approval 2015-07-03 16:57:37 +02:00
Uwe Steinmann
f98aecaa59 add configuration parameter to turn of database version check 2015-06-30 07:53:36 +02:00
Uwe Steinmann
88739db6e7 check if SeedDMS_Core_DMS::inList() returns boolean false
inList() used to return true of false. It returns the index in the
array insteaf of true
2015-06-29 10:28:52 +02:00
Uwe Steinmann
f7d695c015 some initial code to recursively merge access list (not used yet) 2015-06-29 10:28:10 +02:00
Uwe Steinmann
3a531462d9 add static method mergeAccessLists() 2015-06-29 10:27:23 +02:00
Uwe Steinmann
ad1edc8281 actually use username from command line 2015-06-26 16:42:12 +02:00
Uwe Steinmann
5f46f97298 new option -c to force recreation of index 2015-06-26 16:22:35 +02:00
Uwe Steinmann
d070f6da85 use access operations to check if operation is allowed
before, this was some own code which did not same the same
check as maySetReviewerApprover()
2015-06-26 12:23:09 +02:00
Uwe Steinmann
401e995df6 removing a version will also remove all references
references in tblTransmittalItems, tblDocumentRevisions and
tblDocumentRecievers were not removed
2015-06-26 12:21:48 +02:00
Uwe Steinmann
370bef25ff some new keys
Conflicts:
	languages/de_DE/lang.inc
	languages/en_GB/lang.inc
2015-06-25 21:51:48 +02:00
Uwe Steinmann
2c63ab3caf add ukrainian 2015-06-25 21:51:17 +02:00
Uwe Steinmann
9841c571b6 new version 1.1.4 2015-06-25 19:54:44 +02:00
Uwe Steinmann
52559730d9 use new customizable preview converters 2015-06-25 19:52:02 +02:00
Uwe Steinmann
9269a74092 make preview converters customizalbe 2015-06-25 19:50:47 +02:00
Uwe Steinmann
5348905c23 check if content is still there when calculating size 2015-06-25 19:50:10 +02:00
Uwe Steinmann
6b816f4d44 better handling of converters, added converters for preview
commands can also be deleted
2015-06-24 21:25:53 +02:00
Uwe Steinmann
2feeb560d1 pass $settings->_initialDocumentStatus to addContent() 2015-06-24 21:25:24 +02:00
Uwe Steinmann
3c2980dfdf pass $settings->_initialDocumentStatus to checkIn() 2015-06-24 20:35:42 +02:00
Uwe Steinmann
871ed870cc add optional parameter $initstate to checkIn() 2015-06-24 20:34:40 +02:00
Uwe Steinmann
ac550a1ec1 ållow to set review/approver in status draft 2015-06-24 17:28:55 +02:00
Uwe Steinmann
7ed7ae01ca set width of column for preview image to width of preview 2015-06-24 17:28:17 +02:00
Uwe Steinmann
e158a873f5 add target apidoc 2015-06-24 12:41:55 +02:00
Uwe Steinmann
f78af97b4a check if library folder is readable, pass folder to view 2015-06-24 12:26:08 +02:00
Uwe Steinmann
7f2bb15d49 remove some superflous chars 2015-06-23 19:10:14 +02:00
Uwe Steinmann
6487db064a use same icons and output for version information
Conflicts:
	views/bootstrap/class.ViewDocument.php
2015-06-23 10:16:16 +02:00
Uwe Steinmann
fd55efb3b9 show review/approval protocol 2015-06-23 10:03:15 +02:00
Uwe Steinmann
88df1cee82 move printProtocol() into class.Bootstrap.php 2015-06-23 09:53:14 +02:00
Uwe Steinmann
7cc3a0cf86 put icon before link to change status 2015-06-23 08:01:55 +02:00
Uwe Steinmann
6fde8fe200 take out review and approval status
currently not needed
2015-06-23 08:01:52 +02:00
Uwe Steinmann
db3d563e3f do not use mimetype delivered by server if overrideMimeType is set 2015-06-23 07:47:03 +02:00
Uwe Steinmann
b95f7ed91a new parameter overrideMimeType 2015-06-23 07:47:00 +02:00
Uwe Steinmann
28c39791dc finfo returns only mimetype 2015-06-23 07:03:11 +02:00
Uwe Steinmann
905bc9c140 add optional parameter cleasAccessList()
will turn off removal of notification
2015-06-19 15:25:25 +02:00
Uwe Steinmann
9643c12429 log id and name of folder 2015-06-19 15:05:04 +02:00
Uwe Steinmann
75c8129185 add cleanNotifyList() which removes users/groups with read access
also adds an optional parameter $noclean to setDefaultAccess and
setInheritAccess which keeps the methods from cleaning up the
notifier list
2015-06-19 15:05:01 +02:00
Uwe Steinmann
ee8ad500ce setDefaultAccess() propperly removes notifier without read access 2015-06-19 12:55:57 +02:00
Uwe Steinmann
5a0a034be3 setDefaultAccess() cleanly removes als notifiers without read access
This failed because the first call of removeNotify() has invalidated
the list of notifiers
2015-06-19 12:54:49 +02:00
Uwe Steinmann
8ee6d74613 setDefaultAccess() cleanly removes als notifiers without read access
This failed because the first call of removeNotify() has invalidated
the list of notifiers
2015-06-19 12:54:43 +02:00
Uwe Steinmann
a0d0790a34 initialize return array 2015-06-18 17:36:47 +02:00
Uwe Steinmann
b96d75b97d check if expires and sequence is set 2015-06-18 17:32:24 +02:00
Uwe Steinmann
ab72bb9f8c check if keywords, name, comment was posted 2015-06-18 17:29:05 +02:00
Uwe Steinmann
e513731455 subfolders and documents can be order by date and direction can be set 2015-06-18 13:50:34 +02:00
Uwe Steinmann
3ed43b0a85 fix take over of reviewer/approver from previous version 2015-06-17 12:21:25 +02:00
Uwe Steinmann
42ce9fa21b add value to checkbox for exporting content 2015-06-17 11:32:46 +02:00
Uwe Steinmann
b981f87d38 add new phrases 2015-06-17 11:17:27 +02:00
Uwe Steinmann
dbf31053c9 put export button into arcodion 2015-06-17 08:35:10 +02:00
Uwe Steinmann
1a179c7dca check if includecontent is set
if not set only the excel file is delivered
2015-06-17 08:34:15 +02:00
Uwe Steinmann
5d5d954077 createToc() uses self::items, use counter for columns 2015-06-17 07:59:06 +02:00
Uwe Steinmann
5b03c3dcc3 show link to Indexer only if fulltext is enabled 2015-06-15 15:29:07 +02:00
Uwe Steinmann
9eb9114ece receipt protocol just contains last entry, propperly check for access on
receiping  a version
2015-06-15 14:15:04 +02:00
Uwe Steinmann
80a49262f4 propperly check for sufficient access rights 2015-06-15 14:14:31 +02:00
Uwe Steinmann
d12f9993dd add mayReceipt() 2015-06-15 14:13:38 +02:00
Uwe Steinmann
d8df113676 add class 'help' 2015-06-15 09:24:56 +02:00
Uwe Steinmann
e7ed3f7789 add optional parameter class to contentContainerStart() 2015-06-15 09:21:20 +02:00
Uwe Steinmann
67d10d10ae use access operation to check if document may be reviewed 2015-06-15 09:05:20 +02:00
Uwe Steinmann
03d8d6c247 mayApprove() checks if document is in review 2015-06-15 09:03:22 +02:00
Uwe Steinmann
15a708fbf2 use access operation to check if approval is allowed
Conflicts:
	op/op.ApproveDocument.php

Conflicts:
	op/op.ApproveDocument.php
2015-06-15 09:02:45 +02:00
Uwe Steinmann
ecafa39d1e mayApprove() checks if document is in review 2015-06-15 09:01:16 +02:00
Uwe Steinmann
da7c04d250 actually use uploaded file 2015-06-12 12:56:17 +02:00
Uwe Steinmann
34a7df9180 rename approveLogId to approveLogID
Conflicts:
	views/bootstrap/class.ViewDocument.php
2015-06-12 12:46:03 +02:00
Uwe Steinmann
42d822a48d output link to approval/review file 2015-06-12 11:23:44 +02:00
Uwe Steinmann
77794294b1 download review/approval files 2015-06-12 09:01:57 +02:00
Uwe Steinmann
b3c9cb2728 add function get_extension()
returns file extension by mimetype

Conflicts:
	inc/inc.Utils.php
2015-06-12 09:01:41 +02:00
Uwe Steinmann
fcddfb0162 allow to upload a file with each review/approval
Conflicts:
	op/op.ApproveDocument.php
	op/op.ReviewDocument.php
2015-06-11 21:37:41 +02:00
Uwe Steinmann
5bac2e9a4e manage file uploaded with review or approval 2015-06-11 21:32:45 +02:00
Uwe Steinmann
01ce03ca5c redirect relative to http_root 2015-06-11 14:10:12 +02:00
Uwe Steinmann
2fceade3a2 show docs in root folder of document chooser 2015-06-11 11:27:14 +02:00
Uwe Steinmann
5bc915f487 add directory for help files 2015-06-11 06:55:28 +02:00
Uwe Steinmann
0e8a385b6d allow context sensitive help files 2015-06-11 06:42:33 +02:00
Uwe Steinmann
2cd37d90b1 send end date to end of day 2015-06-10 19:14:28 +02:00
Uwe Steinmann
f2a7811f0c use SeedDMS_Core_DMS::getClassname() to check for propper class 2015-06-09 21:51:09 +02:00
Uwe Steinmann
4cc1704915 add table tblCachedAccess (not used) 2015-06-09 21:36:06 +02:00
Uwe Steinmann
6809645256 take out download of version info, take out next revision unless
document is released
2015-06-09 21:35:10 +02:00
Uwe Steinmann
0c053d410c put creation of excel file into its own method 2015-06-09 21:34:07 +02:00
Uwe Steinmann
6a7b9c8a65 mayRecipients() and mayRevision() return only true if document ist
released
2015-06-09 21:33:08 +02:00
Uwe Steinmann
394a23fa57 add download of documents 2015-06-09 21:31:13 +02:00
Uwe Steinmann
a178ab9bc0 add missing translations 2015-06-09 13:53:16 +02:00
Uwe Steinmann
d7f7a40f06 add phrases for initial document status and new document status 2015-06-09 13:50:00 +02:00
Uwe Steinmann
7791ae1b0d open the right tab when jumping to ViewDocument 2015-06-09 11:19:16 +02:00
Uwe Steinmann
82190c7d0e check for current tab 2015-06-09 09:00:22 +02:00
Uwe Steinmann
380ac2f1bd add currenttab to link when redirecting to out/out.ViewDocument.php 2015-06-09 08:59:25 +02:00
Uwe Steinmann
bd85c0c25a set missing parameter [url] in email notification 2015-06-09 07:16:34 +02:00
Uwe Steinmann
15bb6177d8 pass version to url checking for new versions 2015-06-09 07:03:03 +02:00
Uwe Steinmann
fb2e7dfe12 utf8_decode file name in zip file 2015-06-08 22:03:08 +02:00
Uwe Steinmann
20f28bb7df use /tmp for tempnam() 2015-06-08 22:00:27 +02:00
Uwe Steinmann
46dc4ea6e3 add code for downloading file into contoller 2015-06-08 21:59:56 +02:00
Uwe Steinmann
da0b3e71b3 approval can be added again 2015-06-08 21:58:17 +02:00
Uwe Steinmann
c2e2b1e9be take resultmode from view parameters 2015-06-08 09:10:34 +02:00
Uwe Steinmann
4b23765042 show button to approve document if status is null
was only shown if the status of the document was S_APP_DRAFT
2015-06-08 09:09:03 +02:00
Uwe Steinmann
f7c8d39b5d pass resultmode to view 2015-06-08 09:08:32 +02:00
Uwe Steinmann
94744862a5 create excel file with meta data for for files in zip archive 2015-06-08 09:06:59 +02:00
Uwe Steinmann
13a977f84f add export button if search returned documents 2015-06-02 17:29:33 +02:00
Uwe Steinmann
11bac92d2f if $_GE['export'] is set the search result will be downloaded as a
zipfile
2015-06-02 17:28:09 +02:00
Uwe Steinmann
a6085279c9 add class for downloading a bunch of document versions 2015-06-02 17:27:35 +02:00
Uwe Steinmann
dea874de02 set $_initialDocumentStatus to 2 instead of S_RELEASED
the constant S_RELEASED isn't know at that time
2015-06-02 17:26:41 +02:00
Uwe Steinmann
ec78639d94 do not hide review if workflow mode is traditional_only_approve
otherwise old documents which are still in review can't be reviewed
anymore
2015-06-02 10:18:37 +02:00
Uwe Steinmann
1123611371 rename mayOverwriteStatus() to mayOverrideStatus() 2015-06-02 10:04:35 +02:00
Uwe Steinmann
1bc5e6116c document status S_DRAFT can be set 2015-06-02 10:04:01 +02:00
Uwe Steinmann
5a29cde314 set initial document status 2015-06-02 10:03:34 +02:00
Uwe Steinmann
944b059abe set initial document status 2015-06-02 10:03:09 +02:00
Uwe Steinmann
d9d4d89a27 set initial document status 2015-06-02 10:02:46 +02:00
Uwe Steinmann
86f641c3b0 new status in getOverallStatusText() 2015-06-02 10:02:02 +02:00
Uwe Steinmann
3a99d005b1 new parameter initialstate for addDocument() 2015-06-02 10:01:08 +02:00
Uwe Steinmann
325b91933d new document status S_DRAFT, initial doc status can set 2015-06-02 10:00:15 +02:00
Uwe Steinmann
bd08e9b125 search for documents/folders only 2015-06-02 08:52:36 +02:00
Uwe Steinmann
9de1ff7cf4 add translations for search form 2015-06-02 08:52:03 +02:00
Uwe Steinmann
142af5c218 add several new phrases, some cleanup 2015-06-01 22:32:15 +02:00
Uwe Steinmann
596a577529 show link to revise document even if still in workflow 2015-06-01 17:35:25 +02:00
Uwe Steinmann
c460c9e674 pass content not document to hooks 2015-06-01 17:34:52 +02:00
Uwe Steinmann
312e619fa6 take out echo, remove $limit parameter from getStatus()
The $limit parameter has not been used and if if was used, the
method would have returned false in many cases because the number
records would have been > 1
2015-06-01 17:33:12 +02:00
Uwe Steinmann
45d3ebab3d place business login into controller class 2015-06-01 16:05:03 +02:00
Uwe Steinmann
34bd22f40e separate busines logic into controller 2015-06-01 14:01:56 +02:00
Uwe Steinmann
ed5a5bb069 fix typo in variable name 2015-06-01 14:01:23 +02:00
Uwe Steinmann
4e15fee3fb set url for notifaction mail 2015-06-01 14:01:02 +02:00
Uwe Steinmann
68e3045da2 make table condensed to save some space 2015-06-01 08:40:03 +02:00
Uwe Steinmann
87eb1e0dc9 turn off by default 2015-06-01 08:39:44 +02:00
Uwe Steinmann
175485284d take out old blue theme 2015-06-01 07:41:46 +02:00
Uwe Steinmann
c2e49aa2d7 take out old code 2015-06-01 07:40:02 +02:00
Uwe Steinmann
bcff843186 set comment in notification mail 2015-06-01 07:36:14 +02:00
Uwe Steinmann
5246c3a329 place code for updating document content into controller 2015-06-01 07:21:16 +02:00
Uwe Steinmann
19b9888d34 place business logic into controller 2015-06-01 07:16:21 +02:00
Uwe Steinmann
bcebca9c97 unset $this->_status in SeedDMS_Core_DocumentContent::setStatus() 2015-05-30 07:33:28 +02:00
Uwe Steinmann
570e0fa782 some code reorganisation 2015-05-30 07:32:36 +02:00
Uwe Steinmann
d5e9c7532a fix error in calling hook showDocumentContentAttribute, show if document was checked out 2015-05-29 20:48:27 +02:00
Uwe Steinmann
5c94655bd7 allow to show partial trees 2015-05-29 20:47:46 +02:00
Uwe Steinmann
c48030d54e add more parameter to printDocumentChooser() 2015-05-29 20:47:03 +02:00
Uwe Steinmann
13babfa3f9 add field for selecting a document from the library 2015-05-29 20:46:25 +02:00
Uwe Steinmann
ed1db45990 pass checkoutDir to view 2015-05-29 20:45:57 +02:00
Uwe Steinmann
4e6081bacc fix wrong access on $settings 2015-05-29 20:45:34 +02:00
Uwe Steinmann
062097a438 pass libraryfolder to view 2015-05-29 20:44:52 +02:00
Uwe Steinmann
220fa8a8fc split file into stub and controller 2015-05-29 20:44:16 +02:00
Uwe Steinmann
5b931afefb split AddDocument into stub and controller 2015-05-29 20:43:37 +02:00
Uwe Steinmann
6678928301 some spanish updates 2015-05-29 20:42:50 +02:00
Uwe Steinmann
b8d06babee add setting for library folder 2015-05-29 20:42:37 +02:00
Uwe Steinmann
38b7a7c660 callHook() returns null if no method was found 2015-05-29 20:41:52 +02:00
Uwe Steinmann
3bc72a46df do not include jquery-cookie/jquery.cookie.js
it's currently not needed and not available
2015-05-21 22:10:06 +02:00
Uwe Steinmann
e65c266831 add SeedDMS_Core_AddContentResultSet::setDMS(), fixed typo 2015-05-21 22:09:33 +02:00
Uwe Steinmann
5e846059f7 replace '/' by ', ' for better line break in header 2015-05-21 15:58:10 +02:00
Uwe Steinmann
f76536b0a4 set some new icons 2015-05-20 13:21:05 +02:00
Uwe Steinmann
536ead64ac allow to substitute user for regular users 2015-05-19 19:44:18 +02:00
Uwe Steinmann
6c1ac6f038 set width of .chzn-select-deselect to 95% 2015-05-19 19:43:57 +02:00
Uwe Steinmann
207f0b255f add method maySwitchToUser(), fix getReverseSubstitutes() 2015-05-19 19:42:29 +02:00
Uwe Steinmann
a80f4090af add filter for documents in revision 2015-05-19 19:41:40 +02:00
Uwe Steinmann
395f742bce various new phrases 2015-05-19 19:40:43 +02:00
Uwe Steinmann
20a695f571 minor html fixes 2015-05-19 13:26:10 +02:00
Uwe Steinmann
06c71cc332 add handling of substitutes 2015-05-19 08:06:24 +02:00
Uwe Steinmann
fedcdb1b99 add table for user substitutes and not yet implemented acls 2015-05-19 08:05:15 +02:00
Uwe Steinmann
d4652a614c add functions for handling substitutes 2015-05-19 08:03:12 +02:00
Uwe Steinmann
b374e8e962 fix output of message when item was deleted 2015-05-16 19:42:07 +02:00
Uwe Steinmann
277fe6d5ad lots of new phrases 2015-05-16 19:41:43 +02:00
Uwe Steinmann
54525d60ef make revsiondate default to NULL 2015-05-15 14:22:16 +02:00
Uwe Steinmann
ce572f82cb add option -u to set the user doing the upload (Bug #214) 2015-05-15 07:17:52 +02:00
Uwe Steinmann
eb7f3613ca add scripts for adding content to a transmittal 2015-05-13 18:43:28 +02:00
Uwe Steinmann
fe9229c8bc add link for addind content to transmittal 2015-05-13 18:42:03 +02:00
Uwe Steinmann
2d967f8741 replace # in table header 2015-05-13 18:41:27 +02:00
Uwe Steinmann
bdd75ecfee fix addContent() 2015-05-13 18:41:10 +02:00
Uwe Steinmann
37fe7925a4 add checking for duplicates 2015-05-13 17:37:53 +02:00
Uwe Steinmann
3aa22eccbd add icon from removing and updating transmittal item 2015-05-13 17:35:36 +02:00
Uwe Steinmann
6f3594d294 add cmd [remove|update]transmittalitem 2015-05-13 17:34:50 +02:00
Uwe Steinmann
d7232aa8cd fix key of phrase 2015-05-13 17:34:23 +02:00
Uwe Steinmann
359f030ddb make it work again with new language dirs 2015-05-13 17:32:44 +02:00
Uwe Steinmann
540b1ece0a add getSize(), updateContent() etc. 2015-05-13 17:32:10 +02:00
Uwe Steinmann
3efa77e78f add generic function for printing a workflow protocol 2015-05-12 19:14:25 +02:00
Uwe Steinmann
d446034193 nicer output of item list 2015-05-12 19:13:55 +02:00
Uwe Steinmann
20227a44a4 take out debug code 2015-05-12 19:13:34 +02:00
Uwe Steinmann
d538bde579 add more lists of documents 2015-05-12 19:13:08 +02:00
Uwe Steinmann
bc7407ad85 add transmittal mgr to user menu, some code cleanup 2015-05-12 19:12:22 +02:00
Uwe Steinmann
f083b6fd7a check for due revision workflow 2015-05-12 19:11:38 +02:00
Uwe Steinmann
4101a83639 better error checking 2015-05-12 19:11:17 +02:00
Uwe Steinmann
5296edb8d2 more updates and new phrases 2015-05-12 19:10:40 +02:00
Uwe Steinmann
6cfdea17b3 add function to return revision status 2015-05-12 19:10:02 +02:00
Uwe Steinmann
309be28256 add getUser() 2015-05-12 19:08:55 +02:00
Uwe Steinmann
448dc172d0 add functions to manage revising documents 2015-05-12 19:07:59 +02:00
Uwe Steinmann
a5d77d7cbb add more document lists 2015-05-12 19:07:26 +02:00
Uwe Steinmann
4c74bda247 add files to download content of transmittal 2015-05-12 19:06:23 +02:00
Uwe Steinmann
22c5470b9b add missing file to revise document 2015-05-12 19:05:47 +02:00
Uwe Steinmann
71da44c618 add missing files for revising documents 2015-05-12 19:05:02 +02:00
Uwe Steinmann
9859737668 fix typo in file 2015-05-11 09:32:10 +02:00
Uwe Steinmann
608a86d45c rename reviser to revisor, added revision workflow to document page 2015-05-11 09:30:13 +02:00
Uwe Steinmann
0fab2df676 many changes on revision workflow 2015-05-11 09:29:34 +02:00
Uwe Steinmann
7b41fa961c lots of key corrections 2015-05-11 09:29:00 +02:00
Uwe Steinmann
9955a0e07b rename tblDocumentRevisers to tblDocumentRevisors 2015-05-11 09:28:31 +02:00
Uwe Steinmann
cf2160993f correct wrong phrase if there are no group approvals/reviews 2015-05-08 08:32:47 +02:00
Uwe Steinmann
7d664ac105 correct wrong phrase if there are no group receipts 2015-05-08 08:30:35 +02:00
Uwe Steinmann
2ddd6aa468 various updates 2015-05-08 08:25:29 +02:00
Uwe Steinmann
ed0b1f28cb do not show items if no transmittal is selected 2015-05-08 08:23:33 +02:00
Uwe Steinmann
a6a335d481 add inc.ClassTransmittal.php 2015-05-08 07:55:07 +02:00
Uwe Steinmann
b2027eb2d7 pass on msg to setStatus() in verifyStatus() 2015-05-04 08:39:18 +02:00
Uwe Steinmann
af177f5249 include all needed files 2015-05-04 08:35:05 +02:00
Uwe Steinmann
6c35f106a4 add optional parameter $msg to
SeedDMS_Core_DocumentContent::verifyStatus()

set when method is called in removeWorkflow
2015-05-04 08:29:16 +02:00
Uwe Steinmann
9b643fa700 check for extension dir before reading contents 2015-05-04 07:15:00 +02:00
Uwe Steinmann
a5c27190c1 no need to pass document status to addWorkflowAction() 2015-05-04 07:02:51 +02:00
Uwe Steinmann
b872318350 output list of documents receipt by me 2015-05-04 06:12:30 +02:00
Uwe Steinmann
a16a57a1f9 new documentList for 'ReceiptByMe' 2015-05-04 06:11:35 +02:00
Uwe Steinmann
3d10f91026 use FILEINFO_MIME_TYPE instead of FILEINFO_MIME (Closes Bug #209) 2015-05-02 08:35:26 +02:00
Uwe Steinmann
fa43001824 use propper name of converters array in settings 2015-05-02 08:05:51 +02:00
Uwe Steinmann
f32dbe5ef8 escape html code before output 2015-04-30 14:05:28 +02:00
Uwe Steinmann
47d97e77d8 add files for transmittal management and receptions 2015-04-30 07:09:21 +02:00
Uwe Steinmann
eefc346312 include correct files in right direction 2015-04-29 20:08:10 +02:00
Uwe Steinmann
31ebf1807f various new phrases 2015-04-28 14:29:25 +02:00
Uwe Steinmann
b4e8c39158 add tab for document reception 2015-04-28 12:18:35 +02:00
Uwe Steinmann
2a1ce40a9c add functions getReceiptStatusText() and printReceiptStatusText() 2015-04-28 12:18:01 +02:00
Uwe Steinmann
2d5827a1b9 add notes for 4.3.17
Conflicts:
	CHANGELOG
2015-04-27 21:33:07 +02:00
Uwe Steinmann
c3d9efc691 fix calculated used disk space in percent 2015-04-27 21:29:35 +02:00
Uwe Steinmann
304e54f009 list only users in select box which are not hidden 2015-04-27 21:29:35 +02:00
Uwe Steinmann
4e682ecbe2 add more hooks for showing/editing attributes 2015-04-27 08:27:19 +02:00
Uwe Steinmann
877f937413 return value of hook will be passed on even if not a string 2015-04-27 08:26:51 +02:00
Uwe Steinmann
962e0f8523 include Core/inc.ClassTransmittal.php 2015-04-27 08:24:59 +02:00
Uwe Steinmann
01b55843d2 add class for handling transmittals 2015-04-27 08:24:26 +02:00
Uwe Steinmann
7338ddaadd fix typo in comment 2015-04-27 08:17:27 +02:00
Uwe Steinmann
d04786884b add tables for tranmittals 2015-04-27 08:16:50 +02:00
Uwe Steinmann
654d8ac75a add parameter $version to documentListRow()
in order to show a specific version
2015-04-25 20:49:47 +02:00
Uwe Steinmann
3d3025c2cd no need to create temp table ttstatid anymore 2015-04-25 20:49:13 +02:00
Uwe Steinmann
0b57325c04 fix take over of approvers/reviewers from previous version 2015-04-23 17:12:57 +02:00
Uwe Steinmann
91f7d8dfc3 show warning if document is checked out 2015-04-23 16:45:19 +02:00
Uwe Steinmann
5952d49711 add list of documents check out by me 2015-04-23 16:44:55 +02:00
Uwe Steinmann
0bac3deabb show message and hide form if document cannot be checked in 2015-04-23 16:44:16 +02:00
Uwe Steinmann
4b6eeba319 add list of documents checked out by me in getDocumentList() 2015-04-23 16:43:19 +02:00
Uwe Steinmann
c0ba8a6711 create checkout dir if required and allowed in the settings 2015-04-23 11:49:05 +02:00
Uwe Steinmann
8b065cf7ac propperly clean checked out file in possible cases
previously the checked out file was not remove from the checkout area
if it was unchanged and checked in
2015-04-23 11:48:01 +02:00
Uwe Steinmann
505763e0be use new SeedDMS_Core_DMS::getDocumentList() method 2015-04-23 11:26:25 +02:00
Uwe Steinmann
1afd3102ab fix parameter definition in comment 2015-04-23 11:26:00 +02:00
Uwe Steinmann
107f96e921 add method getDocumentList()
it returns a list of database records with all the information
currently needed on the MyDocuments page.
2015-04-23 11:24:42 +02:00
Uwe Steinmann
61294336b5 add missing files for listing of documents need to be watch at 2015-04-22 17:24:58 +02:00
Uwe Steinmann
08e768fc52 add missing files for document check out/іn 2015-04-22 17:23:54 +02:00
Uwe Steinmann
87b3c37cb0 use $_REQUEST instead of $_GET when getting currenttab 2015-04-22 17:22:30 +02:00
Uwe Steinmann
4f3c6ed090 add checkbox for creating checkout dir if it doesn't exists 2015-04-22 17:21:57 +02:00
Uwe Steinmann
d7d4ab6390 use classnames in SeedDMS_Core_DMS when instanciating, new method
getDocumentCheckOuts()
2015-04-22 17:20:57 +02:00
Uwe Steinmann
12b0eadc66 use classnames in SeedDMS_Core_DMS when instanciating users 2015-04-22 17:19:53 +02:00
Uwe Steinmann
5702708643 add link to out/out.ReceiptSummary.php in MyDocuments menu 2015-04-22 14:57:36 +02:00
Uwe Steinmann
1ab9fdb229 add field startdate to talbe tblDocumentRevisers 2015-04-22 14:57:07 +02:00
Uwe Steinmann
9c64566386 even more phrases 2015-04-22 13:46:33 +02:00
Uwe Steinmann
4a413cf72b add some more missing phrases 2015-04-22 13:42:05 +02:00
Uwe Steinmann
69e56a5087 various small updates 2015-04-22 13:38:23 +02:00
Uwe Steinmann
2d3277a7ea add link to out/out.SetRevisers.php 2015-04-22 11:42:20 +02:00
Uwe Steinmann
df75ae5c8c add method maySetReviser 2015-04-22 11:41:39 +02:00
Uwe Steinmann
0addaf56d3 add missing files for revision workflow and document reception 2015-04-22 10:33:49 +02:00
Uwe Steinmann
040839714d init datepicker for #revisionstartdate 2015-04-22 10:32:25 +02:00
Uwe Steinmann
ebdfc45b69 add tables for revision workflow 2015-04-22 10:31:56 +02:00
Uwe Steinmann
a590fec967 add revision workflow 2015-04-22 10:31:36 +02:00
Uwe Steinmann
68be1ad42e fix lots of error for managing receiveLog 2015-04-20 18:33:42 +02:00
Uwe Steinmann
ca9715c3bc various error fixes in sql statements for ReceiptLog 2015-04-20 18:32:56 +02:00
Uwe Steinmann
a3b6ed8fb3 add method getReceiptStatus 2015-04-20 18:32:11 +02:00
Uwe Steinmann
4bd0e3efe0 show link to out/out.SetRecipients.php if allowed 2015-04-20 13:46:59 +02:00
Uwe Steinmann
274c020148 add table for acknowledge workflow 2015-04-20 13:46:26 +02:00
Uwe Steinmann
387f67dad4 enable/disable Acknowledge and Revision workflow 2015-04-20 13:44:45 +02:00
Uwe Steinmann
ff9b3486c5 add maySetRecipients() 2015-04-20 13:44:13 +02:00
Uwe Steinmann
8824aa4624 add administration of recipients of documents 2015-04-20 13:43:40 +02:00
Uwe Steinmann
03bfa5f972 get read access list for document not folder 2015-04-20 13:42:38 +02:00
Uwe Steinmann
0e1571c6c8 check if version modification is allowed 2015-04-20 13:41:35 +02:00
Uwe Steinmann
4e5bf5912f set proper msg when approver was deleted or already assigned 2015-04-20 13:40:10 +02:00
Uwe Steinmann
90cbbe7d3c some new phrases 2015-04-17 20:13:34 +02:00
Uwe Steinmann
e00f440717 set checkout dir 2015-04-17 20:12:29 +02:00
Uwe Steinmann
696b5f0996 add checkout item to document menu 2015-04-17 20:11:51 +02:00
Uwe Steinmann
bcb34f1e51 set parameter checkoutdir in view 2015-04-17 20:11:09 +02:00
Uwe Steinmann
dc08f8df1b add configuration of checkout dir 2015-04-17 20:10:36 +02:00
Uwe Steinmann
a796c85e01 add validation of attributes 2015-04-17 20:09:20 +02:00
Uwe Steinmann
3dae5ec57a add all methods to handle document checkout and checkin 2015-04-17 20:08:06 +02:00
Uwe Steinmann
7bc0b8947f add sql statements to setOwner() for moving locks and checkouts
still commented out, but the idea is, that the user of a lock and checkout
of a document should also be changed if the document owner changes
2015-04-17 20:05:34 +02:00
Uwe Steinmann
2d7e511bb8 add table tblDocumentCheckOuts 2015-04-17 19:50:55 +02:00
1344 changed files with 207335 additions and 67600 deletions

8
.editorconfig Normal file
View File

@ -0,0 +1,8 @@
root = true
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
indent_style = tab
indent_size = 2

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.tar.gz
SeedDMS_*/*.tgz
ext/*
webapp/*

43
.htaccess Normal file
View File

@ -0,0 +1,43 @@
Options -Indexes
<IfModule mod_headers.c>
Header set Strict-Transport-Security: "max-age=15768000; includeSubDomains; preload"
Header set X-Content-Type-Options: "nosniff"
</IfModule>
RewriteEngine On
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#RewriteRule "^favicon\.ico$" "-" [L]
#RewriteRule "^(favicon\.ico)$" %{HTTP_HOST}/views/bootstrap/images/favicon.svg [L,NC]
RewriteRule "^(favicon\.ico)" /views/bootstrap/images/favicon.svg [L,NC]
# Store the current location in an environment variable CWD to use
# mod_rewrite in .htaccess files without knowing the RewriteBase
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ - [E=CWD:%2]
# Do not allow access on the other directories in www
RewriteRule "^utils/.*$" "" [F]
RewriteRule "^doc/.*$" "" [F]
# Anything below the following dirs will never be rewritten
RewriteRule "^pdfviewer/.*$" "-" [L]
RewriteRule "^views/.*/images.*$" "-" [L]
RewriteRule "^out/images.*$" "-" [L]
RewriteRule "^styles/.*$" "-" [L]
# Accessing a file in an extension is only possible in one
# of the directories op, out. res
# Added for old extensions which do not use routes
RewriteRule ^ext/[^/]+/icon.(?:png|svg)$ - [L]
RewriteCond %{REQUEST_URI} "ext/[^/]+/"
RewriteRule !^ext/[^/]+/.*(?:op|out|res|node_modules) - [F]
RewriteCond %{REQUEST_URI} "ext/[^/]+/res/.*$" [NC]
RewriteRule !^ext/[^/]+/res/.*\.(?:css|js|png|gif|svg|ico|html|woff|ttf) - [F]
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^ext/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^.*$ %{ENV:CWD}index.php [QSA,L]

1376
CHANGELOG

File diff suppressed because it is too large Load Diff

388
Gruntfile.js Normal file
View File

@ -0,0 +1,388 @@
module.exports = function (grunt) {
'use strict';
// if you set bootstrapDir to views/bootstrap/vendors then make sure
// bootbox is not installed, because version 5 of bootbox will not work
// with bootstrap 2
var bootstrapDir = 'views/bootstrap4/vendors',
tdkDir = 'views/tdk/vendors',
nodeDir = 'node_modules';
grunt.initConfig({
clean: {
vendors: [ bootstrapDir ]
},
copy: {
'bootstrap': {
files: [{
expand: true,
src: [
nodeDir + '/jquery/dist/*'
],
dest: bootstrapDir + '/jquery',
flatten: true
}, {
expand: true,
src: [
nodeDir + '/chartjs/chart.js',
nodeDir + '/chartjs/README.md',
nodeDir + '/chartjs/LICENSE'
],
dest: bootstrapDir + '/chartjs',
flatten: true
},{
expand: true,
src: [
nodeDir + '/cytoscape/dist/*',
nodeDir + '/cytoscape-grid-guide/cytoscape-grid-guide.js'
],
dest: bootstrapDir + '/cytoscape',
flatten: true
},{
expand: true,
src: [
nodeDir + '/jqtree/tree.jquery.js',
nodeDir + '/jqtree/jqtree.css'
],
dest: bootstrapDir + '/jqtree',
flatten: true
},{
expand: true,
src: [
nodeDir + '/noty/js/noty/jquery.noty.js'
],
dest: bootstrapDir + '/noty',
flatten: true
},{
expand: true,
src: [
nodeDir + '/noty/js/noty/themes/*'
],
dest: bootstrapDir + '/noty/themes',
flatten: true
},{
expand: true,
src: [
nodeDir + '/noty/js/noty/layouts/*'
],
dest: bootstrapDir + '/noty/layouts',
flatten: true
},{
expand: true,
src: [
nodeDir + '/select2/dist/js/*'
],
dest: bootstrapDir + '/select2/js',
flatten: true
},{
expand: true,
src: [
nodeDir + '/select2/dist/js/i18n/*'
],
dest: bootstrapDir + '/select2/js/i18n',
flatten: true
},{
expand: true,
src: [
nodeDir + '/select2/dist/css/*'
],
dest: bootstrapDir + '/select2/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/@ttskch/select2-bootstrap4-theme/dist/*'
],
dest: bootstrapDir + '/select2-bootstrap4-theme',
flatten: true
},{
expand: true,
src: [
nodeDir + '/vis-timeline/dist/*'
],
dest: bootstrapDir + '/vis-timeline',
flatten: true
},{
expand: true,
src: [
nodeDir + '/fine-uploader/jquery.fine-uploader/*'
],
dest: bootstrapDir + '/fine-uploader',
flatten: true
},{
expand: true,
src: [
nodeDir + '/jquery-validation/dist/*'
],
dest: bootstrapDir + '/jquery-validation',
flatten: true
},{
expand: true,
src: [
nodeDir + '/jquery-typeahead/dist/*'
],
dest: bootstrapDir + '/jquery-typeahead',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootbox/dist/*'
],
dest: bootstrapDir + '/bootbox',
flatten: true
},{
expand: true,
src: [
nodeDir + '/flot/source/jquery.canvaswrapper.js',
nodeDir + '/flot/source/jquery.colorhelpers.js',
nodeDir + '/flot/source/jquery.flot.*'
],
dest: bootstrapDir + '/flot',
flatten: true
},{
expand: true,
src: [
nodeDir + '/font-awesome/fonts/*'
],
dest: bootstrapDir + '/font-awesome/fonts',
flatten: true
},{
expand: true,
src: [
nodeDir + '/font-awesome/css/*'
],
dest: bootstrapDir + '/font-awesome/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/fullcalendar/LICENSE.txt',
nodeDir + '/fullcalendar/dist/*'
],
dest: bootstrapDir + '/fullcalendar',
flatten: true
},{
expand: true,
src: [
nodeDir + '/fullcalendar/dist/locale/*'
],
dest: bootstrapDir + '/fullcalendar/locale',
flatten: true
},{
expand: true,
src: [
nodeDir + '/moment/LICENSE.txt',
nodeDir + '/moment/min/*'
],
dest: bootstrapDir + '/moment',
flatten: true
},{
expand: true,
src: [
nodeDir + '/moment/dist/locale/*'
],
dest: bootstrapDir + '/moment/locale',
flatten: true
},{
expand: true,
src: [
nodeDir + '/popper.js/dist/umd/*'
],
dest: bootstrapDir + '/popper',
flatten: true
},{
expand: true,
src: [
nodeDir + '/perfect-scrollbar/dist/*'
],
dest: bootstrapDir + '/perfect-scrollbar',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootstrap/dist/js/bootstrap.min.js',
nodeDir + '/bootstrap/dist/css/bootstrap.min.css'
],
dest: bootstrapDir + '/bootstrap',
flatten: true
},{
expand: true,
src: [
nodeDir + '/spectrum-colorpicker2/dist/spectrum.min.js',
nodeDir + '/spectrum-colorpicker2/dist/spectrum.min.css'
],
dest: bootstrapDir + '/spectrum-colorpicker2',
flatten: true
},{
expand: true,
src: [
nodeDir + '/jquery-lazy/jquery.lazy.min.js',
nodeDir + '/jquery-lazy/jquery.lazy.plugins.js'
],
dest: bootstrapDir + '/jquery-lazy',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootstrap-datepicker/dist/js/*'
],
dest: bootstrapDir + '/bootstrap-datepicker/js',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootstrap-datepicker/dist/css/*'
],
dest: bootstrapDir + '/bootstrap-datepicker/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootstrap-datepicker/dist/locales/*'
],
dest: bootstrapDir + '/bootstrap-datepicker/locales',
flatten: true
}]
},
'tdk': {
files: [{
expand: true,
src: [
nodeDir + '/jquery/dist/*'
],
dest: tdkDir + '/jquery',
flatten: true
}, {
expand: true,
src: [
nodeDir + '/@coreui/coreui/dist/js/*'
],
dest: tdkDir + '/@coreui/coreui/js',
flatten: true
},{
expand: true,
src: [
nodeDir + '/@coreui/coreui/dist/css/*'
],
dest: tdkDir + '/@coreui/coreui/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/@coreui/icons/css/*'
],
dest: tdkDir + '/@coreui/icons/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/@coreui/icons/fonts/*'
],
dest: tdkDir + '/@coreui/icons/fonts',
flatten: true
},{
expand: true,
src: [
nodeDir + '/popper.js/dist/esm/*'
],
dest: tdkDir + '/popper.js',
flatten: true
},{
expand: true,
src: [
nodeDir + '/perfect-scrollbar/dist/*'
],
dest: tdkDir + '/perfect-scrollbar',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootstrap/dist/js/*'
],
dest: tdkDir + '/bootstrap/js',
flatten: true
},{
expand: true,
src: [
nodeDir + '/bootstrap/dist/css/*'
],
dest: tdkDir + '/bootstrap/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/font-awesome/fonts/*'
],
dest: tdkDir + '/font-awesome/fonts',
flatten: true
},{
expand: true,
src: [
nodeDir + '/font-awesome/css/*'
],
dest: tdkDir + '/font-awesome/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/pace-progressbar/index.js'
],
dest: tdkDir + '/pace-progressbar',
flatten: true
},{
expand: true,
src: [
nodeDir + '/pace-progressbar/themes/*'
],
dest: tdkDir + '/pace-progressbar/themes',
flatten: true
},{
expand: true,
src: [
nodeDir + '/pace-progressbar/templates/*'
],
dest: tdkDir + '/pace-progressbar/templates',
flatten: true
},{
expand: true,
src: [
nodeDir + '/flag-icon-css/css/*'
],
dest: tdkDir + '/flag-icon-css/css',
flatten: true
},{
expand: true,
src: [
nodeDir + '/simple-line-icons/dist/fonts/*'
],
dest: tdkDir + '/simple-line-icons/fonts',
flatten: true
},{
expand: true,
src: [
nodeDir + '/simple-line-icons/dist/styles/*'
],
dest: tdkDir + '/simple-line-icons/css',
flatten: true
}]
},
}
});
grunt.registerTask('createVendorDir', 'Creates the necessary vendor directory', function() {
// Create the bootstrapDir when it doesn't exists.
if (!grunt.file.isDir(bootstrapDir)) {
grunt.file.mkdir(bootstrapDir);
// Output a success message
grunt.log.oklns(grunt.template.process(
'Directory "<%= directory %>" was created successfully.',
{ data: { directory: bootstrapDir } }
));
}
});
grunt.registerTask('default', [ 'clean', 'createVendorDir', 'copy' ]);
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-copy');
};

View File

@ -1,20 +1,34 @@
VERSION=5.0.2
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc drop-tables-innodb.sql styles js TODO LICENSE Makefile webdav install restapi
# webapp
VERSION=$(shell php -r 'include("inc/inc.Version.php"); $$v=new SeedDMS_Version(); echo $$v->version();')
SRC=CHANGELOG inc conf utils index.php .htaccess languages op out controllers doc TODO LICENSE webdav install restapi pdfviewer
VIEWS ?= bootstrap bootstrap4
EXTENSIONS := \
dynamic_content.tar.gz\
login_action.tar.gz\
example.tar.gz
NODISTFILES=utils/importmail.php utils/seedddms-importmail utils/remote-email-upload utils/remote-upload utils/da-bv-reminder.php utils/seeddms-da-bv-reminder utils/relodge.php utils/seeddms-relodge .svn .gitignore
PHPDOC=~/Downloads/phpDocumentor-2.8.1/bin/phpdoc
PHPDOC=~/Downloads/phpDocumentor.phar
dist:
mkdir -p tmp/seeddms-$(VERSION)
cp -a $(SRC) tmp/seeddms-$(VERSION)
(cd tmp; tar --exclude=.svn -czvf ../seeddms-$(VERSION).tar.gz seeddms-$(VERSION))
mkdir -p tmp/seeddms-$(VERSION)/views
mkdir -p tmp/seeddms-$(VERSION)/styles
for view in $(VIEWS) ; do \
if [ -d "views/$$view" ] ; then \
cp -a views/$$view tmp/seeddms-$(VERSION)/views ; \
fi ; \
if [ -d "styles/$$view" ] ; then \
cp -a styles/$$view tmp/seeddms-$(VERSION)/styles ; \
fi ; \
done
(cd tmp/seeddms-$(VERSION); rm -rf $(NODISTFILES); mv conf conf.template)
(cd tmp; tar --exclude=.svn --exclude=.gitignore -czvf ../seeddms-$(VERSION).tar.gz seeddms-$(VERSION))
rm -rf tmp
quickstart:
php7.4 vendor/bin/phing -Dversion=$(VERSION) package
unittest:
vendor/bin/phing -Dversion=$(VERSION) phpunitfast
pear:
(cd SeedDMS_Core/; pear package)
(cd SeedDMS_Lucene/; pear package)
@ -33,21 +47,52 @@ webapp:
(cd tmp; tar --exclude=.svn -czvf ../seeddms-webapp-$(VERSION).tar.gz seeddms-webapp-$(VERSION))
rm -rf tmp
dynamic_content.tar.gz: ext/dynamic_content
tar czvf dynamic_content.tar.gz ext/dynamic_content
example.tar.gz: ext/example
tar czvf example.tar.gz ext/example
login_action.tar.gz: ext/login_action
tar czvf login_action.tar.gz ext/login_action
extensions: $(EXTENSIONS)
repository:
mkdir -p tmp/seeddms-repository-$(VERSION)
cp -a repository/www repository/utils repository/doc tmp/seeddms-repository-$(VERSION)
rm -f tmp/seeddms-repository/utils/update-repository.log
mkdir -p tmp/seeddms-repository-$(VERSION)/files
mkdir -p tmp/seeddms-repository-$(VERSION)/accounts
cp -a repository/files/.htaccess tmp/seeddms-repository-$(VERSION)/files
cp -a repository/accounts/.htaccess tmp/seeddms-repository-$(VERSION)/accounts
cp inc/inc.ClassExtensionMgr.php tmp/seeddms-repository-$(VERSION)/utils
(cd tmp; tar --exclude=.svn -czvf ../seeddms-repository-$(VERSION).tar.gz seeddms-repository-$(VERSION))
rm -rf tmp
doc:
$(PHPDOC) -d SeedDMS_Core --ignore 'getusers.php,getfoldertree.php,config.php,reverselookup.php' --force -t html
# Download apigen with
# composer create-project --no-dev apigen/apigen:^7.0@alpha tools/apigen
apidoc:
apigen generate -s SeedDMS_Core --exclude tests --skip-doc-prefix tests -d html
tools/apigen/bin/apigen SeedDMS_Core/Core --exclude "tests/*" --output html
.PHONY: webdav webapp
# Turn the package.xml file into CHANGELOG.md
#
# The idea is to form blocks of lines separated by an empty line.
# Echo block consists of the version number, release date und notes.
# This blocks are turned into single lines which are than sorted.
# Afterwards the single lines are turned back into blocks.
#
# It first uses sgrep to extract the version, date und notes. This is
# feed to sed to isolated the date and version and put them on separate
# lines. Each version
# forms a block of n lines with the first two being the version and date.
# All remaining lines are notes. Blocks are separated by an empty line.
# It's important to form blocks without ane empty lines because the following
# awk will create a single line from each block which can then be sorted
# (or simply reversed in order).
# Because the blocks are listed in the wrong order (last version first and
# previous version last, e.g. 5.1.29, 3.3.0, 3.3.1, ...., 5.1.27, 5.1.28) they
# need to be reversed in order. This is done by turning each block into line
# with the former new lines replaced by a '|'. So it's basically a '|' separated
# csv file which is then reversed in order by 'sort -r'. In order to separate
# blocks by a newline, each line of that output is appended by another
# line break. Result is put back
# into the original format by replacing all '|' by newline.
#
PKGFILE=SeedDMS_Core/package.xml
changelog:
@sgrep 'stag("DATE") .. etag("DATE") or ((stag("RELEASE") .. etag("RELEASE")) in (stag("VERSION") .. etag("VERSION"))) or inner(stag("NOTES") __ etag("NOTES"))' ${PKGFILE} | sed -e 's#^ *<date>\([-0-9]*\)</date><release>\([0-9.preRC]*\)</release>#\n\n\2 (\1)\n---------------------#' | awk -F'\n' -vRS='' -vOFS='|' '{$$1=$$1}1' | sort -V -r | sed 's/$$/\n/' | tr '|' '\n'
.PHONY: doc webdav webapp repository changelog

View File

@ -1,94 +0,0 @@
<?php
/**
* Implementation of a document in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @license GPL2
* @author Markus Westphal, Malcolm Cowe, Matteo Lucarelli,
* Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Matteo Lucarelli, 2010-2012 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* @uses SeedDMS_DatabaseAccess
*/
define('USE_PDO', 1);
if(defined('USE_PDO'))
require_once('Core/inc.DBAccessPDO.php');
else
require_once('Core/inc.DBAccess.php');
/**
* @uses SeedDMS_DMS
*/
require_once('Core/inc.ClassDMS.php');
/**
* @uses SeedDMS_Object
*/
require_once('Core/inc.ClassObject.php');
/**
* @uses SeedDMS_Folder
*/
require_once('Core/inc.ClassFolder.php');
/**
* @uses SeedDMS_Document
*/
require_once('Core/inc.ClassDocument.php');
/**
* @uses SeedDMS_Attribute
*/
require_once('Core/inc.ClassAttribute.php');
/**
* @uses SeedDMS_Group
*/
require_once('Core/inc.ClassGroup.php');
/**
* @uses SeedDMS_User
*/
require_once('Core/inc.ClassUser.php');
/**
* @uses SeedDMS_KeywordCategory
*/
require_once('Core/inc.ClassKeywords.php');
/**
* @uses SeedDMS_DocumentCategory
*/
require_once('Core/inc.ClassDocumentCategory.php');
/**
* @uses SeedDMS_Notification
*/
require_once('Core/inc.ClassNotification.php');
/**
* @uses SeedDMS_UserAccess
* @uses SeedDMS_GroupAccess
*/
require_once('Core/inc.ClassAccess.php');
/**
* @uses SeedDMS_Workflow
*/
require_once('Core/inc.ClassWorkflow.php');
/**
*/
require_once('Core/inc.AccessUtils.php');
/**
* @uses SeedDMS_File
*/
require_once('Core/inc.FileUtils.php');
?>

View File

@ -1,90 +0,0 @@
<?php
/**
* Some definitions for access control
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal,
* 2006-2008 Malcolm Cowe, 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Used to indicate that a search should return all
* results in the ACL table. See {@link SeedDMS_Core_Folder::getAccessList()}
*/
define("M_ANY", -1);
/**
* No rights at all
*/
define("M_NONE", 1);
/**
* Read access only
*/
define("M_READ", 2);
/**
* Read and write access only
*/
define("M_READWRITE", 3);
/**
* Unrestricted access
*/
define("M_ALL", 4);
define ("O_GTEQ", ">=");
define ("O_LTEQ", "<=");
define ("O_EQ", "=");
/**
* Folder notification
*/
define("T_FOLDER", 1); //TargetType = Folder
/**
* Document notification
*/
define("T_DOCUMENT", 2); // " = Document
/**
* Notify on all actions on the folder/document
*/
define("N_ALL", 0);
/**
* Notify when object has been deleted
*/
define("N_DELETE", 1);
/**
* Notify when object has been moved
*/
define("N_MOVE", 2);
/**
* Notify when object has been updated (no new version)
*/
define("N_UPDATE", 3);
/**
* Notify when document has new version
*/
define("N_NEW_VERSION", 4);
/**
* Notify when version of document was deleted
*/
define("N_DELETE_VERSION", 5);
/**
* Notify when version of document was deleted
*/
define("N_ADD_DOCUMENT", 6);
?>

View File

@ -1,76 +0,0 @@
<?php
/**
* Implementation of user and group access object
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a user access right.
* This class cannot be used to modify access rights.
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_UserAccess { /* {{{ */
var $_user;
var $_mode;
function __construct($user, $mode) {
$this->_user = $user;
$this->_mode = $mode;
}
function getUserID() { return $this->_user->getID(); }
function getMode() { return $this->_mode; }
function isAdmin() {
return ($this->_mode == SeedDMS_Core_User::role_admin);
}
function getUser() {
return $this->_user;
}
} /* }}} */
/**
* Class to represent a group access right.
* This class cannot be used to modify access rights.
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe, 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_GroupAccess { /* {{{ */
var $_group;
var $_mode;
function __construct($group, $mode) {
$this->_group = $group;
$this->_mode = $mode;
}
function getGroupID() { return $this->_group->getID(); }
function getMode() { return $this->_mode; }
function getGroup() {
return $this->_group;
}
} /* }}} */
?>

View File

@ -1,948 +0,0 @@
<?php
/**
* Implementation of the attribute object in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2012 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent an attribute in the document management system
*
* Attributes are key/value pairs which can be attachted to documents,
* folders and document content. The number of attributes is unlimited.
* Each attribute has a value and is related to an attribute definition,
* which holds the name and other information about the attribute.
*
* @see SeedDMS_Core_AttributeDefinition
*
* @category DMS
* @package SeedDMS_Core
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2012-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_Attribute { /* {{{ */
/**
* @var integer id of attribute
*
* @access protected
*/
protected $_id;
/**
* @var object SeedDMS_Core_Object folder, document or document content
* this attribute belongs to
*
* @access protected
*/
protected $_obj;
/**
* @var object SeedDMS_Core_AttributeDefinition definition of this attribute
*
* @access protected
*/
protected $_attrdef;
/**
* @var mixed value of this attribute
*
* @access protected
*/
protected $_value;
/**
* @var integer validation error
*
* @access protected
*/
protected $_validation_error;
/**
* @var object SeedDMS_Core_DMS reference to the dms instance this attribute belongs to
*
* @access protected
*/
protected $_dms;
/**
* Constructor
*
* @param integer $id internal id of attribute
* @param SeedDMS_Core_Object $obj object this attribute is attached to
* @param SeedDMS_Core_AttributeDefinition $attrdef reference to the attribute definition
* @param string $value value of the attribute
*/
function __construct($id, $obj, $attrdef, $value) { /* {{{ */
$this->_id = $id;
$this->_obj = $obj;
$this->_attrdef = $attrdef;
$this->_value = $value;
$this->_validation_error = 0;
$this->_dms = null;
} /* }}} */
/**
* Set reference to dms
*
* @param SeedDMS_Core_DMS $dms
*/
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
} /* }}} */
/**
* Get internal id of attribute
*
* @return integer id
*/
function getID() { return $this->_id; }
/**
* Return attribute value as stored in database
*
* This function will return the value of multi value attributes
* including the separator char.
*
* @return string the attribute value as it is stored in the database.
*/
function getValue() { return $this->_value; }
/**
* Return attribute values as an array
*
* This function returns the attribute value as an array. The array
* has one element for non multi value attributes and n elements for
* multi value attributes.
*
* @return array the attribute values
*/
function getValueAsArray() { /* {{{ */
if($this->_attrdef->getMultipleValues()) {
return explode($this->_value[0], substr($this->_value, 1));
} else {
return array($this->_value);
}
} /* }}} */
/**
* Set a value of an attribute
*
* The attribute is completely deleted if the value is an empty string
* or empty array. An array of values is only allowed if the attribute may
* have multiple values. If an array is passed and the attribute may
* have only a single value, then the first element of the array will
* be taken.
*
* @param string $values value as string or array to be set
* @return boolean true if operation was successfull, otherwise false
*/
function setValue($values) { /* {{{*/
$db = $this->_dms->getDB();
if($this->_attrdef->getMultipleValues()) {
/* Multiple values without a value set is not allowed */
if(!$valuesetstr = $this->_attrdef->getValueSet())
return false;
$valueset = $this->_attrdef->getValueSetAsArray();
if(is_array($values)) {
if($values) {
$error = false;
foreach($values as $v) {
if(!in_array($v, $valueset)) { $error = true; break; }
}
if($error)
return false;
$valuesetstr = $this->_attrdef->getValueSet();
$value = $valuesetstr[0].implode($valuesetstr[0], $values);
} else {
$value = '';
}
} else {
if($values) {
if($valuesetstr[0] != $values[0])
$values = explode($valuesetstr[0], $values);
else
$values = explode($valuesetstr[0], substr($values, 1));
$error = false;
foreach($values as $v) {
if(!in_array($v, $valueset)) { $error = true; break; }
}
if($error)
return false;
$value = $valuesetstr[0].implode($valuesetstr[0], $values);
} else {
$value = $values;
}
}
} else {
if(is_array($values)) {
if($values)
$value = $values[0];
else
$value = '';
} else {
$value = $values;
}
}
switch(get_class($this->_obj)) {
case $this->_dms->getClassname('document'):
if(trim($value) === '')
$queryStr = "DELETE FROM tblDocumentAttributes WHERE `document` = " . $this->_obj->getID() . " AND `attrdef` = " . $this->_attrdef->getId();
else
$queryStr = "UPDATE tblDocumentAttributes SET value = ".$db->qstr($value)." WHERE `document` = " . $this->_obj->getID() . " AND `attrdef` = " . $this->_attrdef->getId();
break;
case $this->_dms->getClassname('documentcontent'):
if(trim($value) === '')
$queryStr = "DELETE FROM tblDocumentContentAttributes WHERE `content` = " . $this->_obj->getID() . " AND `attrdef` = " . $this->_attrdef->getId();
else
$queryStr = "UPDATE tblDocumentContentAttributes SET value = ".$db->qstr($value)." WHERE `content` = " . $this->_obj->getID() . " AND `attrdef` = " . $this->_attrdef->getId();
break;
case $this->_dms->getClassname('folder'):
if(trim($value) === '')
$queryStr = "DELETE FROM tblFolderAttributes WHERE `folder` = " . $this->_obj->getID() . " AND `attrdef` = " . $this->_attrdef->getId();
else
$queryStr = "UPDATE tblFolderAttributes SET value = ".$db->qstr($value)." WHERE `folder` = " . $this->_obj->getID() . " AND `attrdef` = " . $this->_attrdef->getId();
break;
default:
return false;
}
if (!$db->getResult($queryStr))
return false;
$this->_value = $value;
return true;
} /* }}} */
/**
* Validate attribute value
*
* This function checks if the attribute values fits the attribute
* definition.
* If the validation fails the validation error will be set which
* can be requested by SeedDMS_Core_Attribute::getValidationError()
*
* @return boolean true if validation succeds, otherwise false
*/
function validate() { /* {{{ */
$attrdef = $this->_attrdef();
$result = $attrdef->validate($this->_value);
$this->_validation_error = $attrdef->getValidationError();
return $result;
} /* }}} */
/**
* Get validation error from last validation
*
* @return integer error code
*/
function getValidationError() { return $this->_validation_error; }
/**
* Get definition of attribute
*
* @return object attribute definition
*/
function getAttributeDefinition() { return $this->_attrdef; }
} /* }}} */
/**
* Class to represent an attribute definition in the document management system
*
* Attribute definitions specify the name, type, object type, minimum and
* maximum values and a value set. The object type determines the object
* an attribute may be attached to. If the object type is set to object_all
* the attribute can be used for documents, document content and folders.
*
* The type of an attribute specifies the skalar data type.
*
* Attributes for which multiple values are allowed must have the
* multiple flag set to true and specify a value set. A value set
* is a string consisting of n separated values. The separator is the
* first char of the value set. A possible value could be '|REV-A|REV-B'
* If multiple values are allowed, then minvalues and maxvalues may
* restrict the allowed number of values.
*
* @see SeedDMS_Core_Attribute
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2012 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_AttributeDefinition { /* {{{ */
/**
* @var integer id of attribute definition
*
* @access protected
*/
protected $_id;
/**
* @var string name of attribute definition
*
* @access protected
*/
protected $_name;
/**
* @var string object type of attribute definition. This can be one of
* type_int, type_float, type_string, type_boolean, type_url, or type_email.
*
* @access protected
*/
protected $_type;
/**
* @var string type of attribute definition. This can be one of objtype_all,
* objtype_folder, objtype_document, or objtype_documentcontent.
*
* @access protected
*/
protected $_objtype;
/**
* @var boolean whether an attribute can have multiple values
*
* @access protected
*/
protected $_multiple;
/**
* @var integer minimum values of an attribute
*
* @access protected
*/
protected $_minvalues;
/**
* @var integer maximum values of an attribute
*
* @access protected
*/
protected $_maxvalues;
/**
* @var string list of possible values of an attribute
*
* @access protected
*/
protected $_valueset;
/**
* @var string regular expression the value must match
*
* @access protected
*/
protected $_regex;
/**
* @var integer validation error
*
* @access protected
*/
protected $_validation_error;
/**
* @var object SeedDMS_Core_DMS reference to the dms instance this attribute definition belongs to
*
* @access protected
*/
protected $_dms;
/*
* Possible skalar data types of an attribute
*/
const type_int = '1';
const type_float = '2';
const type_string = '3';
const type_boolean = '4';
const type_url = '5';
const type_email = '6';
const type_date = '7';
/*
* The object type for which a attribute may be used
*/
const objtype_all = '0';
const objtype_folder = '1';
const objtype_document = '2';
const objtype_documentcontent = '3';
/**
* Constructor
*
* @param integer $id internal id of attribute definition
* @param string $name name of attribute
* @param integer $objtype type of object for which this attribute definition
* may be used.
* @param integer $type skalar type of attribute
* @param boolean $multiple set to true if multiple values are allowed
* @param integer $minvalues minimum number of values
* @param integer $maxvalues maximum number of values
* @param string $valueset separated list of allowed values, the first char
* is taken as the separator
*/
function __construct($id, $name, $objtype, $type, $multiple, $minvalues, $maxvalues, $valueset, $regex) { /* {{{ */
$this->_id = $id;
$this->_name = $name;
$this->_type = $type;
$this->_objtype = $objtype;
$this->_multiple = $multiple;
$this->_minvalues = $minvalues;
$this->_maxvalues = $maxvalues;
$this->_valueset = $valueset;
$this->_separator = '';
$this->_regex = $regex;
$this->_dms = null;
$this->_validation_error = 0;
} /* }}} */
/**
* Set reference to dms
*
* @param SeedDMS_Core_DMS $dms
*/
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
} /* }}} */
/**
* Get internal id of attribute definition
*
* @return integer id
*/
function getID() { return $this->_id; }
/**
* Get name of attribute definition
*
* @return string name
*/
function getName() { return $this->_name; }
function setName($name) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET name =".$db->qstr($name)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_name = $name;
return true;
} /* }}} */
/**
* Get object type of attribute definition
*
* This can be one of objtype_all,
* objtype_folder, objtype_document, or objtype_documentcontent.
*
* @return integer type
*/
function getObjType() { return $this->_objtype; }
/**
* Set object type of attribute definition
*
* This can be one of objtype_all,
* objtype_folder, objtype_document, or objtype_documentcontent.
*
* @param integer $objtype type
*/
function setObjType($objtype) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET objtype =".intval($objtype)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_objtype = $objtype;
return true;
} /* }}} */
/**
* Get type of attribute definition
*
* This can be one of type_int, type_float, type_string, type_boolean,
* type_url, type_email.
*
* @return integer type
*/
function getType() { return $this->_type; }
/**
* Set type of attribute definition
*
* This can be one of type_int, type_float, type_string, type_boolean,
* type_url, type_email.
*
* @param integer $type type
*/
function setType($type) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET type =".intval($type)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_type = $type;
return true;
} /* }}} */
/**
* Check if attribute definition allows multi values for attribute
*
* @return boolean true if attribute may have multiple values
*/
function getMultipleValues() { return $this->_multiple; }
/**
* Set if attribute definition allows multi values for attribute
*
* @param boolean $mv true if attribute may have multiple values, otherwise
* false
*/
function setMultipleValues($mv) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET multiple =".intval($mv)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_multiple = $mv;
return true;
} /* }}} */
/**
* Return minimum number of values for attributes
*
* Attributes with multiple values may be limited to a range
* of values. This functions returns the minimum number of values.
*
* @return integer minimum number of values
*/
function getMinValues() { return $this->_minvalues; }
function setMinValues($minvalues) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET minvalues =".intval($minvalues)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_minvalues = $minvalues;
return true;
} /* }}} */
/**
* Return maximum number of values for attributes
*
* Attributes with multiple values may be limited to a range
* of values. This functions returns the maximum number of values.
*
* @return integer maximum number of values
*/
function getMaxValues() { return $this->_maxvalues; }
function setMaxValues($maxvalues) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET maxvalues =".intval($maxvalues)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_maxvalues = $maxvalues;
return true;
} /* }}} */
/**
* Get the value set as saved in the database
*
* This is a string containing the list of valueѕ separated by a
* delimiter which also precedes the whole string, e.g. '|Yes|No'
*
* Use {@link SeedDMS_Core_AttributeDefinition::getValueSetAsArray()}
* for a list of values returned as an array.
*
* @return string value set
*/
function getValueSet() { /* {{{ */
return $this->_valueset;
} /* }}} */
/**
* Get the whole value set as an array
*
* @return array values of value set or false if the value set has
* less than 2 chars
*/
function getValueSetAsArray() { /* {{{ */
if(strlen($this->_valueset) > 1)
return explode($this->_valueset[0], substr($this->_valueset, 1));
else
return array();
} /* }}} */
/**
* Get the n'th value of a value set
*
* @param interger $index
* @return string n'th value of value set or false if the index is
* out of range or the value set has less than 2 chars
*/
function getValueSetValue($ind) { /* {{{ */
if(strlen($this->_valueset) > 1) {
$tmp = explode($this->_valueset[0], substr($this->_valueset, 1));
if(isset($tmp[$ind]))
return $tmp[$ind];
else
return false;
} else
return false;
} /* }}} */
/**
* Set the value set
*
* A value set is a list of values allowed for an attribute. The values
* are separated by a char which must also be the first char of the
* value set string.
*
* @param string $valueset
* @return boolean true if value set could be set, otherwise false
*/
function setValueSet($valueset) { /* {{{ */
/*
$tmp = array();
foreach($valueset as $value) {
$tmp[] = str_replace('"', '""', $value);
}
$valuesetstr = implode(",", $tmp);
*/
$valuesetstr = $valueset;
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET valueset =".$db->qstr($valuesetstr)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_valueset = $valueset;
$this->_separator = substr($valueset, 0, 1);
return true;
} /* }}} */
/**
* Get the regular expression as saved in the database
*
* @return string regular expression
*/
function getRegex() { /* {{{ */
return $this->_regex;
} /* }}} */
/**
* Set the regular expression
*
* A value of the attribute must match this regular expression.
*
* @param string $regex
* @return boolean true if regex could be set, otherwise false
*/
function setRegex($regex) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblAttributeDefinitions SET regex =".$db->qstr($regex)." WHERE id = " . $this->_id;
$res = $db->getResult($queryStr);
if (!$res)
return false;
$this->_regex = $regex;
return true;
} /* }}} */
/**
* Check if the attribute definition is used
*
* Checks all documents, folders and document content whether at least
* one of them referenceѕ this attribute definition
*
* @return boolean true if attribute definition is used, otherwise false
*/
function isUsed() { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "SELECT * FROM tblDocumentAttributes WHERE attrdef=".$this->_id;
$resArr = $db->getResultArray($queryStr);
if (is_array($resArr) && count($resArr) == 0) {
$queryStr = "SELECT * FROM tblFolderAttributes WHERE attrdef=".$this->_id;
$resArr = $db->getResultArray($queryStr);
if (is_array($resArr) && count($resArr) == 0) {
$queryStr = "SELECT * FROM tblDocumentContentAttributes WHERE attrdef=".$this->_id;
$resArr = $db->getResultArray($queryStr);
if (is_array($resArr) && count($resArr) == 0) {
return false;
}
}
}
return true;
} /* }}} */
/**
* Return a list of documents, folders, document contents where this
* attribute definition is used
*
* @param integer $limit return not more the n objects of each type
* @return boolean true if attribute definition is used, otherwise false
*/
function getStatistics($limit=0) { /* {{{ */
$db = $this->_dms->getDB();
$result = array('docs'=>array(), 'folders'=>array(), 'contents'=>array());
if($this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_all ||
$this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_document) {
$queryStr = "SELECT * FROM tblDocumentAttributes WHERE attrdef=".$this->_id;
if($limit)
$queryStr .= " limit ".(int) $limit;
$resArr = $db->getResultArray($queryStr);
if($resArr) {
foreach($resArr as $rec) {
if($doc = $this->_dms->getDocument($rec['document'])) {
$result['docs'][] = $doc;
}
}
}
$queryStr = "SELECT count(*) c, value FROM tblDocumentAttributes WHERE attrdef=".$this->_id." GROUP BY value ORDER BY c DESC";
$resArr = $db->getResultArray($queryStr);
if($resArr) {
$result['frequencies']['document'] = $resArr;
}
}
if($this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_all ||
$this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_folder) {
$queryStr = "SELECT * FROM tblFolderAttributes WHERE attrdef=".$this->_id;
if($limit)
$queryStr .= " limit ".(int) $limit;
$resArr = $db->getResultArray($queryStr);
if($resArr) {
foreach($resArr as $rec) {
if($folder = $this->_dms->getFolder($rec['folder'])) {
$result['folders'][] = $folder;
}
}
}
$queryStr = "SELECT count(*) c, value FROM tblFolderAttributes WHERE attrdef=".$this->_id." GROUP BY value ORDER BY c DESC";
$resArr = $db->getResultArray($queryStr);
if($resArr) {
$result['frequencies']['folder'] = $resArr;
}
}
if($this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_all ||
$this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_documentcontent) {
$queryStr = "SELECT * FROM tblDocumentContentAttributes WHERE attrdef=".$this->_id;
if($limit)
$queryStr .= " limit ".(int) $limit;
$resArr = $db->getResultArray($queryStr);
if($resArr) {
foreach($resArr as $rec) {
if($content = $this->_dms->getDocumentContent($rec['content'])) {
$result['contents'][] = $content;
}
}
}
$queryStr = "SELECT count(*) c, value FROM tblDocumentContentAttributes WHERE attrdef=".$this->_id." GROUP BY value ORDER BY c DESC";
$resArr = $db->getResultArray($queryStr);
if($resArr) {
$result['frequencies']['content'] = $resArr;
}
}
return $result;
} /* }}} */
/**
* Remove the attribute definition
* Removal is only executed when the definition is not used anymore.
*
* @return boolean true on success or false in case of an error
*/
function remove() { /* {{{ */
$db = $this->_dms->getDB();
if($this->isUsed())
return false;
// Delete user itself
$queryStr = "DELETE FROM tblAttributeDefinitions WHERE id = " . $this->_id;
if (!$db->getResult($queryStr)) return false;
return true;
} /* }}} */
/**
* Get all documents and folder by a given attribute value
*
* @param string $attrvalue value of attribute
* @param integer $limit limit number of documents/folders
* @return array array containing list of documents and folders
*/
public function getObjects($attrvalue, $limit) { /* {{{ */
$db = $this->_dms->getDB();
$result = array('docs'=>array(), 'folders'=>array(), 'contents'=>array());
if($this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_all ||
$this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_document) {
$queryStr = "SELECT * FROM tblDocumentAttributes WHERE attrdef=".$this->_id." AND value=".$db->qstr($attrvalue);
if($limit)
$queryStr .= " limit ".(int) $limit;
$resArr = $db->getResultArray($queryStr);
if($resArr) {
foreach($resArr as $rec) {
if($doc = $this->_dms->getDocument($rec['document'])) {
$result['docs'][] = $doc;
}
}
}
}
if($this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_all ||
$this->_objtype == SeedDMS_Core_AttributeDefinition::objtype_folder) {
$queryStr = "SELECT * FROM tblFolderAttributes WHERE attrdef=".$this->_id." AND value=".$db->qstr($attrvalue);
if($limit)
$queryStr .= " limit ".(int) $limit;
$resArr = $db->getResultArray($queryStr);
if($resArr) {
foreach($resArr as $rec) {
if($folder = $this->_dms->getFolder($rec['folder'])) {
$result['folders'][] = $folder;
}
}
}
}
return $result;
} /* }}} */
/**
* Validate value against attribute definition
*
* This function checks if the given value fits the attribute
* definition.
* If the validation fails the validation error will be set which
* can be requested by SeedDMS_Core_Attribute::getValidationError()
*
* @param string|array $attrvalue attribute value
* @return boolean true if validation succeds, otherwise false
*/
function validate($attrvalue) { /* {{{ */
if($this->getMultipleValues()) {
if(is_string($attrvalue))
$values = explode($attrvalue[0], substr($attrvalue, 1));
else
$values = $attrvalue;
} else {
$values = array($attrvalue);
}
$this->_validation_error = 0;
if($this->getMinValues() > count($values)) {
$this->_validation_error = 1;
return false;
}
if($this->getMaxValues() && $this->getMaxValues() < count($values)) {
$this->_validation_error = 2;
return false;
}
switch((string) $this->getType()) {
case self::type_int:
$success = true;
foreach($values as $value) {
$success &= preg_match('/^[0-9]*$/', $value) ? true : false;
}
break;
case self::type_float:
$success = true;
foreach($values as $value) {
$success &= is_numeric($value);
}
break;
case self::type_string:
$success = true;
if(trim($this->getRegex()) != '') {
foreach($values as $value) {
$success &= preg_match($this->getRegex(), $value) ? true : false;
}
}
if(!$success)
$this->_validation_error = 3;
break;
case self::type_boolean:
$success = true;
foreach($values as $value) {
$success &= preg_match('/^[01]$/', $value);
}
break;
case self::type_email:
$success = true;
foreach($values as $value) {
}
if(!$success)
$this->_validation_error = 5;
break;
case self::type_url:
$success = true;
foreach($values as $value) {
$success &= preg_match('/^http(s)?:\/\/[a-z0-9-]+(.[a-z0-9-]+)*(:[0-9]+)?(\/.*)?$/i', $value);
}
if(!$success)
$this->_validation_error = 4;
break;
}
/* Check if value is in value set */
if($valueset = $this->getValueSetAsArray()) {
foreach($values as $value) {
if(!in_array($value, $valueset)) {
$success = false;
$this->_validation_error = 10;
}
}
}
return $success;
} /* }}} */
/**
* Get validation error from last validation
*
* @return integer error code
*/
function getValidationError() { return $this->_validation_error; }
} /* }}} */
?>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,118 +0,0 @@
<?php
/**
* Implementation of document categories in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a document category in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C)2011 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_DocumentCategory {
/**
* @var integer $_id id of document category
* @access protected
*/
protected $_id;
/**
* @var string $_name name of category
* @access protected
*/
protected $_name;
/**
* @var object $_dms reference to dms this category belongs to
* @access protected
*/
protected $_dms;
function __construct($id, $name) { /* {{{ */
$this->_id = $id;
$this->_name = $name;
$this->_dms = null;
} /* }}} */
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
} /* }}} */
function getID() { return $this->_id; }
function getName() { return $this->_name; }
function setName($newName) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblCategory SET name = ".$db->qstr($newName)." WHERE id = ". $this->_id;
if (!$db->getResult($queryStr))
return false;
$this->_name = $newName;
return true;
} /* }}} */
function isUsed() { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "SELECT * FROM tblDocumentCategory WHERE categoryID=".$this->_id;
$resArr = $db->getResultArray($queryStr);
if (is_array($resArr) && count($resArr) == 0)
return false;
return true;
} /* }}} */
function getCategories() { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "SELECT * FROM tblCategory";
return $db->getResultArray($queryStr);
} /* }}} */
function addCategory($keywords) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "INSERT INTO tblCategory (category) VALUES (".$db->qstr($keywords).")";
return $db->getResult($queryStr);
} /* }}} */
function remove() { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "DELETE FROM tblCategory WHERE id = " . $this->_id;
if (!$db->getResult($queryStr))
return false;
return true;
} /* }}} */
function getDocumentsByCategory() { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "SELECT * FROM tblDocumentCategory where categoryID=".$this->_id;
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && !$resArr)
return false;
$documents = array();
foreach ($resArr as $row) {
array_push($documents, $this->_dms->getDocument($row["documentID"]));
}
return $documents;
} /* }}} */
}
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,441 +0,0 @@
<?php
/**
* Implementation of the group object in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a user group in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe, 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_Group {
/**
* The id of the user group
*
* @var integer
*/
protected $_id;
/**
* The name of the user group
*
* @var string
*/
protected $_name;
/**
* Back reference to DMS this user group belongs to
*
* @var object
*/
protected $_dms;
function __construct($id, $name, $comment) { /* {{{ */
$this->_id = $id;
$this->_name = $name;
$this->_comment = $comment;
$this->_dms = null;
} /* }}} */
/**
* Create an instance of a group object
*
* @param string|integer $id Id, name of group, depending
* on the 3rd parameter.
* @param object $dms instance of dms
* @param string $by search by group name if set to 'name'.
* Search by Id of group if left empty.
* @return object instance of class SeedDMS_Core_Group
*/
public static function getInstance($id, $dms, $by='') { /* {{{ */
$db = $dms->getDB();
switch($by) {
case 'name':
$queryStr = "SELECT * FROM `tblGroups` WHERE `name` = ".$db->qstr($id);
break;
default:
$queryStr = "SELECT * FROM `tblGroups` WHERE id = " . (int) $id;
}
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
else if (count($resArr) != 1) //wenn, dann wohl eher 0 als > 1 ;-)
return false;
$resArr = $resArr[0];
$group = new self($resArr["id"], $resArr["name"], $resArr["comment"]);
$group->setDMS($dms);
return $group;
} /* }}} */
public static function getAllInstances($orderby, $dms) { /* {{{ */
$db = $dms->getDB();
switch($orderby) {
default:
$queryStr = "SELECT * FROM tblGroups ORDER BY name";
}
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
$groups = array();
for ($i = 0; $i < count($resArr); $i++) {
$group = new self($resArr[$i]["id"], $resArr[$i]["name"], $resArr[$i]["comment"]);
$group->setDMS($dms);
$groups[$i] = $group;
}
return $groups;
} /* }}} */
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
} /* }}} */
function getID() { return $this->_id; }
function getName() { return $this->_name; }
function setName($newName) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblGroups SET name = ".$db->qstr($newName)." WHERE id = " . $this->_id;
if (!$db->getResult($queryStr))
return false;
$this->_name = $newName;
return true;
} /* }}} */
function getComment() { return $this->_comment; }
function setComment($newComment) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblGroups SET comment = ".$db->qstr($newComment)." WHERE id = " . $this->_id;
if (!$db->getResult($queryStr))
return false;
$this->_comment = $newComment;
return true;
} /* }}} */
function getUsers() { /* {{{ */
$db = $this->_dms->getDB();
if (!isset($this->_users)) {
$queryStr = "SELECT `tblUsers`.* FROM `tblUsers` ".
"LEFT JOIN `tblGroupMembers` ON `tblGroupMembers`.`userID`=`tblUsers`.`id` ".
"WHERE `tblGroupMembers`.`groupID` = '". $this->_id ."'";
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
$this->_users = array();
$classname = $this->_dms->getClassname('user');
foreach ($resArr as $row) {
$user = new $classname($row["id"], $row["login"], $row["pwd"], $row["fullName"], $row["email"], $row["language"], $row["theme"], $row["comment"], $row["role"], $row['hidden']);
array_push($this->_users, $user);
}
}
return $this->_users;
} /* }}} */
function getManagers() { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "SELECT `tblUsers`.* FROM `tblUsers` ".
"LEFT JOIN `tblGroupMembers` ON `tblGroupMembers`.`userID`=`tblUsers`.`id` ".
"WHERE `tblGroupMembers`.`groupID` = '". $this->_id ."' AND tblGroupMembers.manager = 1";
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
$managers = array();
$classname = $this->_dms->getClassname('user');
foreach ($resArr as $row) {
$user = new $classname($row["id"], $row["login"], $row["pwd"], $row["fullName"], $row["email"], $row["language"], $row["theme"], $row["comment"], $row["role"], $row['hidden']);
array_push($managers, $user);
}
return $managers;
} /* }}} */
function addUser($user,$asManager=false) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "INSERT INTO tblGroupMembers (groupID, userID, manager) VALUES (".$this->_id.", ".$user->getID(). ", " . ($asManager?"1":"0") ." )";
$res = $db->getResult($queryStr);
if (!$res) return false;
unset($this->_users);
return true;
} /* }}} */
function removeUser($user) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "DELETE FROM tblGroupMembers WHERE groupID = ".$this->_id." AND userID = ".$user->getID();
$res = $db->getResult($queryStr);
if (!$res) return false;
unset($this->_users);
return true;
} /* }}} */
// $asManager=false: verify if user is in group
// $asManager=true : verify if user is in group as manager
function isMember($user,$asManager=false) { /* {{{ */
if (isset($this->_users)&&!$asManager) {
foreach ($this->_users as $usr)
if ($usr->getID() == $user->getID())
return true;
return false;
}
$db = $this->_dms->getDB();
if ($asManager) $queryStr = "SELECT * FROM tblGroupMembers WHERE groupID = " . $this->_id . " AND userID = " . $user->getID() . " AND manager = 1";
else $queryStr = "SELECT * FROM tblGroupMembers WHERE groupID = " . $this->_id . " AND userID = " . $user->getID();
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false) return false;
if (count($resArr) != 1) return false;
return true;
} /* }}} */
function toggleManager($user) { /* {{{ */
$db = $this->_dms->getDB();
if (!$this->isMember($user)) return false;
if ($this->isMember($user,true)) $queryStr = "UPDATE tblGroupMembers SET manager = 0 WHERE groupID = ".$this->_id." AND userID = ".$user->getID();
else $queryStr = "UPDATE tblGroupMembers SET manager = 1 WHERE groupID = ".$this->_id." AND userID = ".$user->getID();
if (!$db->getResult($queryStr)) return false;
return true;
} /* }}} */
/**
* Delete user group
* This function deletes the user group and all it references, like access
* control lists, notifications, as a child of other groups, etc.
*
* @param object $user the user doing the removal (needed for entry in
* review log.
* @return boolean true on success or false in case of an error
*/
function remove($user) { /* {{{ */
$db = $this->_dms->getDB();
$db->startTransaction();
$queryStr = "DELETE FROM tblGroupMembers WHERE groupID = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblACLs WHERE groupID = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblNotify WHERE groupID = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblMandatoryReviewers WHERE reviewerGroupID = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblMandatoryApprovers WHERE approverGroupID = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblWorkflowTransitionGroups WHERE groupid = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblGroups WHERE id = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
// TODO : update document status if reviewer/approver has been deleted
$reviewStatus = $this->getReviewStatus();
foreach ($reviewStatus as $r) {
$queryStr = "INSERT INTO `tblDocumentReviewLog` (`reviewID`, `status`, `comment`, `date`, `userID`) ".
"VALUES ('". $r["reviewID"] ."', '-2', 'Review group removed from process', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
$res=$db->getResult($queryStr);
if(!$res) {
$db->rollbackTransaction();
return false;
}
}
$approvalStatus = $this->getApprovalStatus();
foreach ($approvalStatus as $a) {
$queryStr = "INSERT INTO `tblDocumentApproveLog` (`approveID`, `status`, `comment`, `date`, `userID`) ".
"VALUES ('". $a["approveID"] ."', '-2', 'Approval group removed from process', ".$db->getCurrentDatetime().", '". $user->getID() ."')";
$res=$db->getResult($queryStr);
if(!$res) {
$db->rollbackTransaction();
return false;
}
}
$db->commitTransaction();
return true;
} /* }}} */
function getReviewStatus($documentID=null, $version=null) { /* {{{ */
$db = $this->_dms->getDB();
if (!$db->createTemporaryTable("ttreviewid")) {
return false;
}
$status = array();
// See if the group is assigned as a reviewer.
$queryStr = "SELECT `tblDocumentReviewers`.*, `tblDocumentReviewLog`.`status`, ".
"`tblDocumentReviewLog`.`comment`, `tblDocumentReviewLog`.`date`, ".
"`tblDocumentReviewLog`.`userID` ".
"FROM `tblDocumentReviewers` ".
"LEFT JOIN `tblDocumentReviewLog` USING (`reviewID`) ".
"LEFT JOIN `ttreviewid` on `ttreviewid`.`maxLogID` = `tblDocumentReviewLog`.`reviewLogID` ".
"WHERE `ttreviewid`.`maxLogID`=`tblDocumentReviewLog`.`reviewLogID` ".
($documentID==null ? "" : "AND `tblDocumentReviewers`.`documentID` = '". (int) $documentID ."' ").
($version==null ? "" : "AND `tblDocumentReviewers`.`version` = '". (int) $version ."' ").
"AND `tblDocumentReviewers`.`type`='1' ".
"AND `tblDocumentReviewers`.`required`='". $this->_id ."' ";
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
if (count($resArr)>0) {
foreach ($resArr as $res)
$status[] = $res;
}
return $status;
} /* }}} */
function getApprovalStatus($documentID=null, $version=null) { /* {{{ */
$db = $this->_dms->getDB();
if (!$db->createTemporaryTable("ttapproveid")) {
return false;
}
$status = array();
// See if the group is assigned as an approver.
$queryStr = "SELECT `tblDocumentApprovers`.*, `tblDocumentApproveLog`.`status`, ".
"`tblDocumentApproveLog`.`comment`, `tblDocumentApproveLog`.`date`, ".
"`tblDocumentApproveLog`.`userID` ".
"FROM `tblDocumentApprovers` ".
"LEFT JOIN `tblDocumentApproveLog` USING (`approveID`) ".
"LEFT JOIN `ttapproveid` on `ttapproveid`.`maxLogID` = `tblDocumentApproveLog`.`approveLogID` ".
"WHERE `ttapproveid`.`maxLogID`=`tblDocumentApproveLog`.`approveLogID` ".
($documentID==null ? "" : "AND `tblDocumentApprovers`.`documentID` = '". (int) $documentID ."' ").
($version==null ? "" : "AND `tblDocumentApprovers`.`version` = '". (int) $version ."' ").
"AND `tblDocumentApprovers`.`type`='1' ".
"AND `tblDocumentApprovers`.`required`='". $this->_id ."' ";
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
if (count($resArr)>0) {
foreach ($resArr as $res)
$status[] = $res;
}
return $status;
} /* }}} */
/**
* Get a list of documents with a workflow
*
* @param int $documentID optional document id for which to retrieve the
* reviews
* @param int $version optional version of the document
* @return array list of all workflows
*/
function getWorkflowStatus($documentID=null, $version=null) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = 'select distinct d.*, c.groupid from tblWorkflowTransitions a left join tblWorkflows b on a.workflow=b.id left join tblWorkflowTransitionGroups c on a.id=c.transition left join tblWorkflowDocumentContent d on b.id=d.workflow where d.document is not null and a.state=d.state and c.groupid='.$this->_id;
if($documentID) {
$queryStr .= ' AND d.document='.(int) $documentID;
if($version)
$queryStr .= ' AND d.version='.(int) $version;
}
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)
return false;
$result = array();
if (count($resArr)>0) {
foreach ($resArr as $res) {
$result[] = $res;
}
}
return $result;
} /* }}} */
/**
* Get all notifications of group
*
* @param integer $type type of item (T_DOCUMENT or T_FOLDER)
* @return array array of notifications
*/
function getNotifications($type=0) { /* {{{ */
$db = $this->_dms->getDB();
$queryStr = "SELECT `tblNotify`.* FROM `tblNotify` ".
"WHERE `tblNotify`.`groupID` = ". $this->_id;
if($type) {
$queryStr .= " AND `tblNotify`.`targetType` = ". (int) $type;
}
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && !$resArr)
return false;
$notifications = array();
foreach ($resArr as $row) {
$not = new SeedDMS_Core_Notification($row["target"], $row["targetType"], $row["userID"], $row["groupID"]);
$not->setDMS($this);
array_push($notifications, $not);
}
return $notifications;
} /* }}} */
}
?>

View File

@ -1,143 +0,0 @@
<?php
/**
* Implementation of keyword categories in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a keyword category in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_KeywordCategory {
/**
* @var integer $_id id of keyword category
* @access protected
*/
protected $_id;
/**
* @var integer $_ownerID id of user who is the owner
* @access protected
*/
protected $_ownerID;
/**
* @var string $_name name of category
* @access protected
*/
protected $_name;
/**
* @var object $_dms reference to dms this category belongs to
* @access protected
*/
protected $_dms;
function __construct($id, $ownerID, $name) {
$this->_id = $id;
$this->_name = $name;
$this->_ownerID = $ownerID;
$this->_dms = null;
}
function setDMS($dms) {
$this->_dms = $dms;
}
function getID() { return $this->_id; }
function getName() { return $this->_name; }
function getOwner() {
if (!isset($this->_owner))
$this->_owner = $this->_dms->getUser($this->_ownerID);
return $this->_owner;
}
function setName($newName) {
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblKeywordCategories SET name = ".$db->qstr($newName)." WHERE id = ". $this->_id;
if (!$db->getResult($queryStr))
return false;
$this->_name = $newName;
return true;
}
function setOwner($user) {
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblKeywordCategories SET owner = " . $user->getID() . " WHERE id " . $this->_id;
if (!$db->getResult($queryStr))
return false;
$this->_ownerID = $user->getID();
$this->_owner = $user;
return true;
}
function getKeywordLists() {
$db = $this->_dms->getDB();
$queryStr = "SELECT * FROM tblKeywords WHERE category = " . $this->_id . " order by `keywords`";
return $db->getResultArray($queryStr);
}
function editKeywordList($listID, $keywords) {
$db = $this->_dms->getDB();
$queryStr = "UPDATE tblKeywords SET keywords = ".$db->qstr($keywords)." WHERE id = $listID";
return $db->getResult($queryStr);
}
function addKeywordList($keywords) {
$db = $this->_dms->getDB();
$queryStr = "INSERT INTO tblKeywords (category, keywords) VALUES (" . $this->_id . ", ".$db->qstr($keywords).")";
return $db->getResult($queryStr);
}
function removeKeywordList($listID) {
$db = $this->_dms->getDB();
$queryStr = "DELETE FROM tblKeywords WHERE id = $listID";
return $db->getResult($queryStr);
}
function remove() {
$db = $this->_dms->getDB();
$db->startTransaction();
$queryStr = "DELETE FROM tblKeywords WHERE category = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$queryStr = "DELETE FROM tblKeywordCategories WHERE id = " . $this->_id;
if (!$db->getResult($queryStr)) {
$db->rollbackTransaction();
return false;
}
$db->commitTransaction();
return true;
}
}
?>

View File

@ -1,116 +0,0 @@
<?php
/**
* Implementation of a notification object
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a notification
*
* @category DMS
* @package SeedDMS_Core
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_Notification { /* {{{ */
/**
* @var integer id of target (document or folder)
*
* @access protected
*/
protected $_target;
/**
* @var integer document or folder
*
* @access protected
*/
protected $_targettype;
/**
* @var integer id of user to notify
*
* @access protected
*/
protected $_userid;
/**
* @var integer id of group to notify
*
* @access protected
*/
protected $_groupid;
/**
* @var object reference to the dms instance this user belongs to
*
* @access protected
*/
protected $_dms;
/**
* Constructor
*
* @param integer $target id of document/folder this notification is
* attached to.
* @param integer $targettype 1 = target is document, 2 = target is a folder
* @param integer $userid id of user. The id is -1 if the notification is
* for a group.
* @param integer $groupid id of group. The id is -1 if the notification is
* for a user.
*/
function __construct($target, $targettype, $userid, $groupid) { /* {{{ */
$this->_target = $target;
$this->_targettype = $targettype;
$this->_userid = $userid;
$this->_groupid = $groupid;
} /* }}} */
/**
* Set instance of dms this object belongs to
*
* @param object $dms instance of dms
*/
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
} /* }}} */
/**
* Get id of target (document/object) this notification is attachted to
*
* @return integer id of target
*/
function getTarget() { return $this->_target; }
/**
* Get type of target
*
* @return integer type of target (1=document/2=object)
*/
function getTargetType() { return $this->_targettype; }
/**
* Get user for this notification
*
* @return integer id of user or -1 if this notification does not belong
* to a user
*/
function getUser() { return $this->_dms->getUser($this->_userid); }
/**
* Get group for this notification
*
* @return integer id of group or -1 if this notification does not belong
* to a group
*/
function getGroup() { return $this->_dms->getGroup($this->_groupid); }
} /* }}} */
?>

View File

@ -1,276 +0,0 @@
<?php
/**
* Implementation of an generic object in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @license GPL2
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2012 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a generic object in the document management system
*
* This is the base class for generic objects in SeedDMS.
*
* @category DMS
* @package SeedDMS_Core
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2012 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_Object { /* {{{ */
/**
* @var integer unique id of object
*/
protected $_id;
/**
* @var array list of attributes
*/
protected $_attributes;
/**
* @var object back reference to document management system
*/
public $_dms;
function __construct($id) { /* {{{ */
$this->_id = $id;
$this->_dms = null;
} /* }}} */
/*
* Set dms this object belongs to.
*
* Each object needs a reference to the dms it belongs to. It will be
* set when the object is created.
* The dms has a references to the currently logged in user
* and the database connection.
*
* @param object $dms reference to dms
*/
function setDMS($dms) { /* {{{ */
$this->_dms = $dms;
} /* }}} */
/*
* Return the internal id of the document
*
* @return integer id of document
*/
function getID() { return $this->_id; }
/**
* Returns all attributes set for the object
*
* @return array list of objects of class SeedDMS_Core_Attribute
*/
function getAttributes() { /* {{{ */
if (!$this->_attributes) {
$db = $this->_dms->getDB();
switch(get_class($this)) {
case $this->_dms->getClassname('document'):
$queryStr = "SELECT * FROM tblDocumentAttributes WHERE document = " . $this->_id." ORDER BY `id`";
break;
case $this->_dms->getClassname('documentcontent'):
$queryStr = "SELECT * FROM tblDocumentContentAttributes WHERE content = " . $this->_id." ORDER BY `id`";
break;
case $this->_dms->getClassname('folder'):
$queryStr = "SELECT * FROM tblFolderAttributes WHERE folder = " . $this->_id." ORDER BY `id`";
break;
default:
return false;
}
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && !$resArr) return false;
$this->_attributes = array();
foreach ($resArr as $row) {
$attrdef = $this->_dms->getAttributeDefinition($row['attrdef']);
$attr = new SeedDMS_Core_Attribute($row["id"], $this, $attrdef, $row["value"]);
$attr->setDMS($this->_dms);
$this->_attributes[$attrdef->getId()] = $attr;
}
}
return $this->_attributes;
} /* }}} */
/**
* Returns an attribute of the object for the given attribute definition
*
* @return array|string value of attritbute or false. The value is an array
* if the attribute is defined as multi value
*/
function getAttribute($attrdef) { /* {{{ */
if (!$this->_attributes) {
$this->getAttributes();
}
if (isset($this->_attributes[$attrdef->getId()])) {
return $this->_attributes[$attrdef->getId()];
} else {
return false;
}
} /* }}} */
/**
* Returns an attribute value of the object for the given attribute definition
*
* @return array|string value of attritbute or false. The value is an array
* if the attribute is defined as multi value
*/
function getAttributeValue($attrdef) { /* {{{ */
if (!$this->_attributes) {
$this->getAttributes();
}
if (isset($this->_attributes[$attrdef->getId()])) {
$value = $this->_attributes[$attrdef->getId()]->getValue();
if($attrdef->getMultipleValues()) {
$sep = substr($value, 0, 1);
return(explode($sep, substr($value, 1)));
} else {
return $value;
}
} else
return false;
} /* }}} */
/**
* Returns an attribute value of the object for the given attribute definition
*
* This is a short cut for getAttribute($attrdef)->getValueAsArray() but
* first checks if the object has an attribute for the given attribute
* definition.
*
* @return array value of attritbute or false. The value is always an array
* even if the attribute is not defined as multi value
*/
function getAttributeValueAsArray($attrdef) { /* {{{ */
if (!$this->_attributes) {
$this->getAttributes();
}
if (isset($this->_attributes[$attrdef->getId()])) {
return $this->_attributes[$attrdef->getId()]->getValueAsArray();
} else
return false;
} /* }}} */
/**
* Returns an attribute value of the object for the given attribute definition
*
* This is a short cut for getAttribute($attrdef)->getValueAsString() but
* first checks if the object has an attribute for the given attribute
* definition.
*
* @return string value of attritbute or false. The value is always a string
* even if the attribute is defined as multi value
*/
function getAttributeValueAsString($attrdef) { /* {{{ */
if (!$this->_attributes) {
$this->getAttributes();
}
if (isset($this->_attributes[$attrdef->getId()])) {
return $this->_attributes[$attrdef->getId()]->getValue();
} else
return false;
} /* }}} */
/**
* Set an attribute of the object for the given attribute definition
*
* @param object $attrdef definition of attribute
* @param array|sting $value value of attribute, for multiple values this
* must be an array
* @return boolean true if operation was successful, otherwise false
*/
function setAttributeValue($attrdef, $value) { /* {{{ */
$db = $this->_dms->getDB();
if (!$this->_attributes) {
$this->getAttributes();
}
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_boolean:
$value = ($value === true || $value != '' || $value == 1) ? 1 : 0;
break;
}
if($attrdef->getMultipleValues() && is_array($value)) {
$sep = substr($attrdef->getValueSet(), 0, 1);
$value = $sep.implode($sep, $value);
}
if(!isset($this->_attributes[$attrdef->getId()])) {
switch(get_class($this)) {
case $this->_dms->getClassname('document'):
$queryStr = "INSERT INTO tblDocumentAttributes (document, attrdef, value) VALUES (".$this->_id.", ".$attrdef->getId().", ".$db->qstr($value).")";
break;
case $this->_dms->getClassname('documentcontent'):
$queryStr = "INSERT INTO tblDocumentContentAttributes (content, attrdef, value) VALUES (".$this->_id.", ".$attrdef->getId().", ".$db->qstr($value).")";
break;
case $this->_dms->getClassname('folder'):
$queryStr = "INSERT INTO tblFolderAttributes (folder, attrdef, value) VALUES (".$this->_id.", ".$attrdef->getId().", ".$db->qstr($value).")";
break;
default:
return false;
}
$res = $db->getResult($queryStr);
if (!$res)
return false;
$attr = new SeedDMS_Core_Attribute($db->getInsertID(), $this, $attrdef, $value);
$attr->setDMS($this->_dms);
$this->_attributes[$attrdef->getId()] = $attr;
return true;
}
$this->_attributes[$attrdef->getId()]->setValue($value);
return true;
} /* }}} */
/**
* Remove an attribute of the object for the given attribute definition
*
* @return boolean true if operation was successful, otherwise false
*/
function removeAttribute($attrdef) { /* {{{ */
$db = $this->_dms->getDB();
if (!$this->_attributes) {
$this->getAttributes();
}
if(isset($this->_attributes[$attrdef->getId()])) {
switch(get_class($this)) {
case $this->_dms->getClassname('document'):
$queryStr = "DELETE FROM tblDocumentAttributes WHERE document=".$this->_id." AND attrdef=".$attrdef->getId();
break;
case $this->_dms->getClassname('documentcontent'):
$queryStr = "DELETE FROM tblDocumentContentAttributes WHERE content=".$this->_id." AND attrdef=".$attrdef->getId();
break;
case $this->_dms->getClassname('folder'):
$queryStr = "DELETE FROM tblFolderAttributes WHERE folder=".$this->_id." AND attrdef=".$attrdef->getId();
break;
default:
return false;
}
$res = $db->getResult($queryStr);
if (!$res)
return false;
unset($this->_attributes[$attrdef->getId()]);
}
return true;
} /* }}} */
} /* }}} */
?>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,314 +0,0 @@
<?php
/**
* Implementation of database access
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe,
* 2010 Matteo Lucarelli, 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Include the adodb database abstraction
*/
require_once "adodb/adodb.inc.php";
/**
* Class to represent the database access for the document management
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Matteo Lucarelli, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal, 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_DatabaseAccess {
var $_debug;
var $_driver;
var $_hostname;
var $_database;
var $_user;
var $_passw;
var $_conn;
var $_connected;
var $_ttreviewid;
var $_ttapproveid;
var $_ttstatid;
var $_ttcontentid;
var $_intransaction;
/*
Backup functions
*/
/**
* Return list of all database tables
*
* This function is used to retrieve a list of database tables for backup
*
* @return array list of table names
*/
function TableList() {
return $this->_conn->MetaTables("TABLES");
}
/**
* Constructor of SeedDMS_Core_DatabaseAccess
*
* Sets all database parameters but does not connect.
*
* @param string $driver the database type e.g. mysql, sqlite
* @param string $hostname host of database server
* @param string $user name of user having access to database
* @param string $passw password of user
* @param string $database name of database
*/
function __construct($driver, $hostname, $user, $passw, $database = false) {
$this->_driver = $driver;
$this->_hostname = $hostname;
$this->_database = $database;
$this->_user = $user;
$this->_passw = $passw;
$this->_connected = false;
$this->_intransaction = 0;
// $tt*****id is a hack to ensure that we do not try to create the
// temporary table twice during a single connection. Can be fixed by
// using Views (MySQL 5.0 onward) instead of temporary tables.
// CREATE ... IF NOT EXISTS cannot be used because it has the
// unpleasant side-effect of performing the insert again even if the
// table already exists.
//
// See createTemporaryTable() method for implementation.
$this->_ttreviewid = false;
$this->_ttapproveid = false;
$this->_ttstatid = false;
$this->_ttcontentid = false;
$this->_debug = false;
}
/**
* Connect to database
*
* @return boolean true if connection could be established, otherwise false
*/
function connect() { /* {{{ */
$this->_conn = ADONewConnection($this->_driver);
if ($this->_database)
$this->_conn->Connect($this->_hostname, $this->_user, $this->_passw, $this->_database);
else
$this->_conn->Connect($this->_hostname, $this->_user, $this->_passw);
if (!$this->_conn)
return false;
$this->_conn->SetFetchMode(ADODB_FETCH_ASSOC);
$this->_conn->Execute('SET NAMES utf8');
$this->_connected = true;
return true;
} /* }}} */
/**
* Make sure a database connection exisits
*
* This function checks for a database connection. If it does not exists
* it will reconnect.
*
* @return boolean true if connection is established, otherwise false
*/
function ensureConnected() { /* {{{ */
if (!$this->_connected) return $this->connect();
else return true;
} /* }}} */
/**
* Sanitize String used in database operations
*
* @param string text
* @return string sanitized string
*/
function qstr($text) { /* {{{ */
return $this->_conn->qstr($text);
} /* }}} */
/**
* Execute SQL query and return result
*
* Call this function only with sql query which return data records.
*
* @param string $queryStr sql query
* @return array/boolean data if query could be executed otherwise false
*/
function getResultArray($queryStr) { /* {{{ */
$resArr = array();
$res = $this->_conn->Execute($queryStr);
if (!$res) {
if($this->_debug)
echo "error: ".$queryStr."<br />";
return false;
}
$resArr = $res->GetArray();
$res->Close();
return $resArr;
} /* }}} */
/**
* Execute SQL query
*
* Call this function only with sql query which do not return data records.
*
* @param string $queryStr sql query
* @param boolean $silent not used anymore. This was used when this method
* still issued an error message
* @return boolean true if query could be executed otherwise false
*/
function getResult($queryStr, $silent=false) { /* {{{ */
$res = $this->_conn->Execute($queryStr);
if(!$res) {
if($this->_debug)
echo "error: ".$queryStr."<br />";
}
return $res;
} /* }}} */
/**
* Return the id of the last instert record
*
* @return integer id used in last autoincrement
*/
function getInsertID() { /* {{{ */
return $this->_conn->Insert_ID();
} /* }}} */
function startTransaction() { /* {{{ */
if(!$this->_intransaction) {
$this->_conn->BeginTrans();
}
$this->_intransaction++;
} /* }}} */
function rollbackTransaction() { /* {{{ */
if($this->_intransaction == 1) {
$this->_conn->RollbackTrans();
}
$this->_intransaction--;
} /* }}} */
function commitTransaction() { /* {{{ */
if($this->_intransaction == 1) {
$this->_conn->CommitTrans();
}
$this->_intransaction--;
} /* }}} */
function getErrorMsg() { /* {{{ */
return $this->_conn->ErrorMsg();
} /* }}} */
function getErrorNo() { /* {{{ */
return $this->_conn->ErrorNo();
} /* }}} */
/**
* Create various temporary tables to speed up and simplify sql queries
*/
function createTemporaryTable($tableName, $override=false) { /* {{{ */
if (!strcasecmp($tableName, "ttreviewid")) {
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttreviewid` (PRIMARY KEY (`reviewID`), INDEX (`maxLogID`)) ".
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
"FROM `tblDocumentReviewLog` ".
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
"ORDER BY `tblDocumentReviewLog`.`reviewLogID`";
if (!$this->_ttreviewid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttreviewid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttreviewid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttreviewid;
}
else if (!strcasecmp($tableName, "ttapproveid")) {
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttapproveid` (PRIMARY KEY (`approveID`), INDEX (`maxLogID`)) ".
"SELECT `tblDocumentApproveLog`.`approveID`, ".
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
"FROM `tblDocumentApproveLog` ".
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
"ORDER BY `tblDocumentApproveLog`.`approveLogID`";
if (!$this->_ttapproveid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttapproveid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttapproveid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttapproveid;
}
else if (!strcasecmp($tableName, "ttstatid")) {
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttstatid` (PRIMARY KEY (`statusID`), INDEX (`maxLogID`)) ".
"SELECT `tblDocumentStatusLog`.`statusID`, ".
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
"FROM `tblDocumentStatusLog` ".
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
"ORDER BY `tblDocumentStatusLog`.`statusLogID`";
if (!$this->_ttstatid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttstatid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttstatid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttstatid;
}
else if (!strcasecmp($tableName, "ttcontentid")) {
$queryStr = "CREATE TEMPORARY TABLE `ttcontentid` (PRIMARY KEY (`document`), INDEX (`maxVersion`)) ".
"SELECT `tblDocumentContent`.`document`, ".
"MAX(`tblDocumentContent`.`version`) AS `maxVersion` ".
"FROM `tblDocumentContent` ".
"GROUP BY `tblDocumentContent`.`document` ".
"ORDER BY `tblDocumentContent`.`document`";
if (!$this->_ttcontentid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttcontentid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttcontentid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttcontentid;
}
return false;
} /* }}} */
}
?>

View File

@ -1,493 +0,0 @@
<?php
/**
* Implementation of database access using PDO
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2012 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent the database access for the document management
* This class uses PDO for the actual database access.
*
* @category DMS
* @package SeedDMS_Core
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2012 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_DatabaseAccess {
/**
* @var boolean set to true for debug mode
*/
public $_debug;
/**
* @var string name of database driver (mysql or sqlite)
*/
protected $_driver;
/**
* @var string name of hostname
*/
protected $_hostname;
/**
* @var int port number of database
*/
protected $_port;
/**
* @var string name of database
*/
protected $_database;
/**
* @var string name of database user
*/
protected $_user;
/**
* @var string password of database user
*/
protected $_passw;
/**
* @var object internal database connection
*/
private $_conn;
/**
* @var boolean set to true if connection to database is established
*/
private $_connected;
/**
* @var boolean set to true if temp. table for tree view has been created
*/
private $_ttreviewid;
/**
* @var boolean set to true if temp. table for approvals has been created
*/
private $_ttapproveid;
/**
* @var boolean set to true if temp. table for doc status has been created
*/
private $_ttstatid;
/**
* @var boolean set to true if temp. table for doc content has been created
*/
private $_ttcontentid;
/**
* @var boolean set to true if in a database transaction
*/
private $_intransaction;
/**
* Return list of all database tables
*
* This function is used to retrieve a list of database tables for backup
*
* @return array list of table names
*/
function TableList() { /* {{{ */
switch($this->_driver) {
case 'mysql':
$sql = "select TABLE_NAME as name from information_schema.tables where TABLE_SCHEMA='".$this->_database."' and TABLE_TYPE='BASE TABLE'";
break;
case 'sqlite':
$sql = "select tbl_name as name from sqlite_master where type='table'";
break;
default:
return false;
}
$arr = $this->getResultArray($sql);
$res = array();
foreach($arr as $tmp)
$res[] = $tmp['name'];
return $res;
} /* }}} */
/**
* Constructor of SeedDMS_Core_DatabaseAccess
*
* Sets all database parameters but does not connect.
*
* @param string $driver the database type e.g. mysql, sqlite
* @param string $hostname host of database server
* @param string $user name of user having access to database
* @param string $passw password of user
* @param string $database name of database
*/
function __construct($driver, $hostname, $user, $passw, $database = false) { /* {{{ */
$this->_driver = $driver;
$tmp = explode(":", $hostname);
$this->_hostname = $tmp[0];
$this->_port = null;
if(!empty($tmp[1]))
$this->_port = $tmp[1];
$this->_database = $database;
$this->_user = $user;
$this->_passw = $passw;
$this->_connected = false;
// $tt*****id is a hack to ensure that we do not try to create the
// temporary table twice during a single connection. Can be fixed by
// using Views (MySQL 5.0 onward) instead of temporary tables.
// CREATE ... IF NOT EXISTS cannot be used because it has the
// unpleasant side-effect of performing the insert again even if the
// table already exists.
//
// See createTemporaryTable() method for implementation.
$this->_ttreviewid = false;
$this->_ttapproveid = false;
$this->_ttstatid = false;
$this->_ttcontentid = false;
$this->_debug = false;
} /* }}} */
/**
* Connect to database
*
* @return boolean true if connection could be established, otherwise false
*/
function connect() { /* {{{ */
switch($this->_driver) {
case 'mysql':
case 'mysqli':
case 'mysqlnd':
$dsn = $this->_driver.":dbname=".$this->_database.";host=".$this->_hostname;
if($this->_port)
$dsn .= ";port=".$this->_port;
break;
case 'sqlite':
$dsn = $this->_driver.":".$this->_database;
break;
}
$this->_conn = new PDO($dsn, $this->_user, $this->_passw);
if (!$this->_conn)
return false;
switch($this->_driver) {
case 'mysql':
$this->_conn->exec('SET NAMES utf8');
/* Turn this on if you want strict checking of default values, etc. */
// $this->_conn->exec("SET SESSION sql_mode = 'STRICT_TRANS_TABLES'");
break;
case 'sqlite':
$this->_conn->exec('PRAGMA foreign_keys = ON');
break;
}
$this->_connected = true;
return true;
} /* }}} */
/**
* Make sure a database connection exisits
*
* This function checks for a database connection. If it does not exists
* it will reconnect.
*
* @return boolean true if connection is established, otherwise false
*/
function ensureConnected() { /* {{{ */
if (!$this->_connected) return $this->connect();
else return true;
} /* }}} */
/**
* Sanitize String used in database operations
*
* @param string text
* @return string sanitized string
*/
function qstr($text) { /* {{{ */
return $this->_conn->quote($text);
} /* }}} */
/**
* Execute SQL query and return result
*
* Call this function only with sql query which return data records.
*
* @param string $queryStr sql query
* @return array/boolean data if query could be executed otherwise false
*/
function getResultArray($queryStr) { /* {{{ */
$resArr = array();
$res = $this->_conn->query($queryStr);
if ($res === false) {
if($this->_debug)
echo "error: ".$queryStr."<br />";
return false;
}
$resArr = $res->fetchAll(PDO::FETCH_ASSOC);
// $res->Close();
return $resArr;
} /* }}} */
/**
* Execute SQL query
*
* Call this function only with sql query which do not return data records.
*
* @param string $queryStr sql query
* @param boolean $silent not used anymore. This was used when this method
* still issued an error message
* @return boolean true if query could be executed otherwise false
*/
function getResult($queryStr, $silent=false) { /* {{{ */
$res = $this->_conn->exec($queryStr);
if($res === false) {
if($this->_debug)
echo "error: ".$queryStr."<br />";
return false;
} else
return true;
return $res;
} /* }}} */
function startTransaction() { /* {{{ */
if(!$this->_intransaction) {
$this->_conn->beginTransaction();
}
$this->_intransaction++;
} /* }}} */
function rollbackTransaction() { /* {{{ */
if($this->_intransaction == 1) {
$this->_conn->rollBack();
}
$this->_intransaction--;
} /* }}} */
function commitTransaction() { /* {{{ */
if($this->_intransaction == 1) {
$this->_conn->commit();
}
$this->_intransaction--;
} /* }}} */
/**
* Return the id of the last instert record
*
* @return integer id used in last autoincrement
*/
function getInsertID() { /* {{{ */
return $this->_conn->lastInsertId();
} /* }}} */
function getErrorMsg() { /* {{{ */
$info = $this->_conn->errorInfo();
return($info[2]);
} /* }}} */
function getErrorNo() { /* {{{ */
return $this->_conn->errorCode();
} /* }}} */
/**
* Create various temporary tables to speed up and simplify sql queries
*/
function createTemporaryTable($tableName, $override=false) { /* {{{ */
if (!strcasecmp($tableName, "ttreviewid")) {
switch($this->_driver) {
case 'sqlite':
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttreviewid` AS ".
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
"FROM `tblDocumentReviewLog` ".
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
"ORDER BY `tblDocumentReviewLog`.`reviewLogID`";
break;
default:
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttreviewid` (PRIMARY KEY (`reviewID`), INDEX (`maxLogID`)) ".
"SELECT `tblDocumentReviewLog`.`reviewID`, ".
"MAX(`tblDocumentReviewLog`.`reviewLogID`) AS `maxLogID` ".
"FROM `tblDocumentReviewLog` ".
"GROUP BY `tblDocumentReviewLog`.`reviewID` ".
"ORDER BY `tblDocumentReviewLog`.`reviewLogID`";
}
if (!$this->_ttreviewid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttreviewid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttreviewid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttreviewid;
}
else if (!strcasecmp($tableName, "ttapproveid")) {
switch($this->_driver) {
case 'sqlite':
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttapproveid` AS ".
"SELECT `tblDocumentApproveLog`.`approveID`, ".
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
"FROM `tblDocumentApproveLog` ".
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
"ORDER BY `tblDocumentApproveLog`.`approveLogID`";
break;
default:
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttapproveid` (PRIMARY KEY (`approveID`), INDEX (`maxLogID`)) ".
"SELECT `tblDocumentApproveLog`.`approveID`, ".
"MAX(`tblDocumentApproveLog`.`approveLogID`) AS `maxLogID` ".
"FROM `tblDocumentApproveLog` ".
"GROUP BY `tblDocumentApproveLog`.`approveID` ".
"ORDER BY `tblDocumentApproveLog`.`approveLogID`";
}
if (!$this->_ttapproveid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttapproveid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttapproveid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttapproveid;
}
else if (!strcasecmp($tableName, "ttstatid")) {
switch($this->_driver) {
case 'sqlite':
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttstatid` AS ".
"SELECT `tblDocumentStatusLog`.`statusID` AS `statusID`, ".
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
"FROM `tblDocumentStatusLog` ".
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
"ORDER BY `tblDocumentStatusLog`.`statusLogID`";
break;
default:
$queryStr = "CREATE TEMPORARY TABLE IF NOT EXISTS `ttstatid` (PRIMARY KEY (`statusID`), INDEX (`maxLogID`)) ".
"SELECT `tblDocumentStatusLog`.`statusID`, ".
"MAX(`tblDocumentStatusLog`.`statusLogID`) AS `maxLogID` ".
"FROM `tblDocumentStatusLog` ".
"GROUP BY `tblDocumentStatusLog`.`statusID` ".
"ORDER BY `tblDocumentStatusLog`.`statusLogID`";
}
if (!$this->_ttstatid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttstatid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttstatid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttstatid;
}
else if (!strcasecmp($tableName, "ttcontentid")) {
switch($this->_driver) {
case 'sqlite':
$queryStr = "CREATE TEMPORARY TABLE `ttcontentid` AS ".
"SELECT `tblDocumentContent`.`document` AS `document`, ".
"MAX(`tblDocumentContent`.`version`) AS `maxVersion` ".
"FROM `tblDocumentContent` ".
"GROUP BY `tblDocumentContent`.`document` ".
"ORDER BY `tblDocumentContent`.`document`";
break;
default:
$queryStr = "CREATE TEMPORARY TABLE `ttcontentid` (PRIMARY KEY (`document`), INDEX (`maxVersion`)) ".
"SELECT `tblDocumentContent`.`document`, ".
"MAX(`tblDocumentContent`.`version`) AS `maxVersion` ".
"FROM `tblDocumentContent` ".
"GROUP BY `tblDocumentContent`.`document` ".
"ORDER BY `tblDocumentContent`.`document`";
}
if (!$this->_ttcontentid) {
if (!$this->getResult($queryStr))
return false;
$this->_ttcontentid=true;
}
else {
if (is_bool($override) && $override) {
if (!$this->getResult("DELETE FROM `ttcontentid`"))
return false;
if (!$this->getResult($queryStr))
return false;
}
}
return $this->_ttcontentid;
}
return false;
} /* }}} */
/**
* Return sql statement for extracting the date part from a field
* containing a unix timestamp
*
* @param string $fieldname name of field containing the timestamp
* @return string sql code
*/
function getDateExtract($fieldname, $format='%Y-%m-%d') { /* {{{ */
switch($this->_driver) {
case 'mysql':
return "from_unixtime(`".$fieldname."`, ".$this->qstr($format).")";
break;
case 'sqlite':
return "strftime(".$this->qstr($format).", `".$fieldname."`, 'unixepoch')";
break;
}
return '';
} /* }}} */
/**
* Return sql statement for returning the current date and time
* in format Y-m-d H:i:s
*
* @return string sql code
*/
function getCurrentDatetime() { /* {{{ */
switch($this->_driver) {
case 'mysql':
return "CURRENT_TIMESTAMP";
break;
case 'sqlite':
return "datetime('now', 'localtime')";
break;
}
return '';
} /* }}} */
/**
* Return sql statement for returning the current timestamp
*
* @return string sql code
*/
function getCurrentTimestamp() { /* {{{ */
switch($this->_driver) {
case 'mysql':
return "UNIX_TIMESTAMP()";
break;
case 'sqlite':
return "strftime('%s', 'now')";
break;
}
return '';
} /* }}} */
}
?>

View File

@ -1,218 +0,0 @@
<?php
/**
* Implementation of various file system operations
*
* @category DMS
* @package SeedDMS_Core
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal,
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class to represent a user in the document management system
*
* @category DMS
* @package SeedDMS_Core
* @author Markus Westphal, Malcolm Cowe, Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2002-2005 Markus Westphal,
* 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli,
* 2010 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Core_File {
static function renameFile($old, $new) { /* {{{ */
return @rename($old, $new);
} /* }}} */
static function removeFile($file) { /* {{{ */
return @unlink($file);
} /* }}} */
static function copyFile($source, $target) { /* {{{ */
return @copy($source, $target);
} /* }}} */
static function moveFile($source, $target) { /* {{{ */
if (!@copyFile($source, $target))
return false;
return @removeFile($source);
} /* }}} */
static function fileSize($file) { /* {{{ */
if(!$a = fopen($file, 'r'))
return false;
fseek($a, 0, SEEK_END);
$filesize = ftell($a);
fclose($a);
return $filesize;
} /* }}} */
static function format_filesize($size, $sizes = array('Bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB')) { /* {{{ */
if ($size == 0) return('0 Bytes');
return (round($size/pow(1024, ($i = floor(log($size, 1024)))), 2) . ' ' . $sizes[$i]);
} /* }}} */
static function parse_filesize($str) { /* {{{ */
preg_replace('/\s\s+/', ' ', $str);
if(strtoupper(substr($str, -1)) == 'B') {
$value = (int) substr($str, 0, -2);
$unit = substr($str, -2, 1);
} else {
$value = (int) substr($str, 0, -1);
$unit = substr($str, -1);
}
switch(strtoupper($unit)) {
case 'G':
return $value * 1024 * 1024 * 1024;
break;
case 'M':
return $value * 1024 * 1024;
break;
case 'K':
return $value * 1024;
break;
default;
return $value;
break;
}
return false;
} /* }}} */
static function checksum($file) { /* {{{ */
return md5_file($file);
} /* }}} */
static function renameDir($old, $new) { /* {{{ */
return @rename($old, $new);
} /* }}} */
static function makeDir($path) { /* {{{ */
if( !is_dir( $path ) ){
$res=@mkdir( $path , 0777, true);
if (!$res) return false;
}
return true;
/* some old code
if (strncmp($path, DIRECTORY_SEPARATOR, 1) == 0) {
$mkfolder = DIRECTORY_SEPARATOR;
}
else {
$mkfolder = "";
}
$path = preg_split( "/[\\\\\/]/" , $path );
for( $i=0 ; isset( $path[$i] ) ; $i++ )
{
if(!strlen(trim($path[$i])))continue;
$mkfolder .= $path[$i];
if( !is_dir( $mkfolder ) ){
$res=@mkdir( "$mkfolder" , 0777);
if (!$res) return false;
}
$mkfolder .= DIRECTORY_SEPARATOR;
}
return true;
// patch from alekseynfor safe_mod or open_basedir
global $settings;
$path = substr_replace ($path, "/", 0, strlen($settings->_contentDir));
$mkfolder = $settings->_contentDir;
$path = preg_split( "/[\\\\\/]/" , $path );
for( $i=0 ; isset( $path[$i] ) ; $i++ )
{
if(!strlen(trim($path[$i])))continue;
$mkfolder .= $path[$i];
if( !is_dir( $mkfolder ) ){
$res= @mkdir( "$mkfolder" , 0777);
if (!$res) return false;
}
$mkfolder .= DIRECTORY_SEPARATOR;
}
return true;
*/
} /* }}} */
static function removeDir($path) { /* {{{ */
$handle = @opendir($path);
while ($entry = @readdir($handle) )
{
if ($entry == ".." || $entry == ".")
continue;
else if (is_dir($path . $entry))
{
if (!self::removeDir($path . $entry . "/"))
return false;
}
else
{
if (!@unlink($path . $entry))
return false;
}
}
@closedir($handle);
return @rmdir($path);
} /* }}} */
static function copyDir($sourcePath, $targetPath) { /* {{{ */
if (mkdir($targetPath, 0777)) {
$handle = @opendir($sourcePath);
while ($entry = @readdir($handle) ) {
if ($entry == ".." || $entry == ".")
continue;
else if (is_dir($sourcePath . $entry)) {
if (!self::copyDir($sourcePath . $entry . "/", $targetPath . $entry . "/"))
return false;
} else {
if (!@copy($sourcePath . $entry, $targetPath . $entry))
return false;
}
}
@closedir($handle);
}
else
return false;
return true;
} /* }}} */
static function moveDir($sourcePath, $targetPath) { /* {{{ */
if (!copyDir($sourcePath, $targetPath))
return false;
return removeDir($sourcePath);
} /* }}} */
// code by Kioob (php.net manual)
static function gzcompressfile($source,$level=false) { /* {{{ */
$dest=$source.'.gz';
$mode='wb'.$level;
$error=false;
if($fp_out=@gzopen($dest,$mode)) {
if($fp_in=@fopen($source,'rb')) {
while(!feof($fp_in))
@gzwrite($fp_out,fread($fp_in,1024*512));
@fclose($fp_in);
}
else $error=true;
@gzclose($fp_out);
}
else $error=true;
if($error) return false;
else return $dest;
} /* }}} */
}
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,10 +0,0 @@
<?php
$g_config['type'] = 'mysql';
$g_config['hostname'] = 'localhost';
$g_config['user'] = 'letodms';
$g_config['passwd'] = 'letodms';
$g_config['name'] = 'letodms';
$g_config['contentDir'] = '/tmp/content';
$g_config['contentOffsetDir'] = '/tmp/content';
?>

View File

@ -1,25 +0,0 @@
<?php
include("config.php");
include("SeedDMS/SeedDMS_Core.php");
$db = new SeedDMS_Core_DatabaseAccess($g_config['type'], $g_config['hostname'], $g_config['user'], $g_config['passwd'], $g_config['name']);
$db->connect() or die ("Could not connect to db-server \"" . $g_config['hostname'] . "\"");
$dms = new SeedDMS_Core_DMS($db, $g_config['contentDir'], $g_config['contentOffsetDir']);
function tree($folder, $indent='') {
echo $indent."D ".$folder->getName()."\n";
$subfolders = $folder->getSubFolders();
foreach($subfolders as $subfolder) {
tree($subfolder, $indent.' ');
}
$documents = $folder->getDocuments();
foreach($documents as $document) {
echo $indent." ".$document->getName()."\n";
}
}
$folder = $dms->getFolder(1);
tree($folder);
?>

View File

@ -1,14 +0,0 @@
<?php
include("config.php");
include("SeedDMS/SeedDMS_Core.php");
$db = new SeedDMS_Core_DatabaseAccess($g_config['type'], $g_config['hostname'], $g_config['user'], $g_config['passwd'], $g_config['name']);
$db->connect() or die ("Could not connect to db-server \"" . $g_config['hostname'] . "\"");
$dms = new SeedDMS_Core_DMS($db, $g_config['contentDir'], $g_config['contentOffsetDir']);
$users = $dms->getAllUsers();
foreach($users as $user)
echo $user->getId()." ".$user->getLogin()." ".$user->getFullname()."\n";
?>

View File

@ -1,44 +0,0 @@
<?php
include("config.php");
include("SeedDMS/SeedDMS_Core.php");
$db = new SeedDMS_Core_DatabaseAccess($g_config['type'], $g_config['hostname'], $g_config['user'], $g_config['passwd'], $g_config['name']);
$db->connect() or die ("Could not connect to db-server \"" . $g_config['hostname'] . "\"");
$dms = new SeedDMS_Core_DMS($db, $g_config['contentDir'], $g_config['contentOffsetDir']);
$path = '/Test 1/';
echo "Searching for folder or document with path '".$path."'\n";
$root = $dms->getRootFolder();
if($path[0] == '/') {
$path = substr($path, 1);
}
$patharr = explode('/', $path);
/* The last entry is always the document, though if the path ends in '/' the
* document name will be empty.
*/
$docname = array_pop($patharr);
$parentfolder = $root;
foreach($patharr as $pathseg) {
if($folder = $dms->getFolderByName($pathseg, $parentfolder)) {
$parentfolder = $folder;
}
}
if($folder) {
if($docname) {
if($document = $dms->getDocumentByName($docname, $folder)) {
echo "Given path is document '".$document->getName()."'\n";
} else {
echo "No object found\n";
}
} else {
echo "Given path is a folder '".$folder->getName()."'\n";
}
} else {
echo "No object found\n";
}
?>

View File

@ -1,44 +0,0 @@
<?php
// SeedDMS. Document Management System
// Copyright (C) 2011-2013 Uwe Steinmann
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
/**
* @uses Zend_Search_Lucene
*/
require_once('Zend/Search/Lucene.php');
/**
* @uses Zend_Search_Lucene_Analysis_TokenFilter_Stopwords
*/
require_once("Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php");
/**
* @uses SeedDMS_Lucene_Indexer
*/
require_once('Lucene/Indexer.php');
/**
* @uses SeedDMS_Lucene_Search
*/
require_once('Lucene/Search.php');
/**
* @uses SeedDMS_Lucene_IndexedDocument
*/
require_once('Lucene/IndexedDocument.php');
?>

View File

@ -1,146 +0,0 @@
<?php
/**
* Implementation of an indexed document
*
* @category DMS
* @package SeedDMS_Lucene
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing an indexed document.
*
* @category DMS
* @package SeedDMS_Lucene
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Lucene_IndexedDocument extends Zend_Search_Lucene_Document {
static function execWithTimeout($cmd, $timeout=2) { /* {{{ */
$descriptorspec = array(
0 => array("pipe", "r"),
1 => array("pipe", "w"),
2 => array("pipe", "w")
);
$pipes = array();
$timeout += time();
$process = proc_open($cmd, $descriptorspec, $pipes);
if (!is_resource($process)) {
throw new Exception("proc_open failed on: " . $cmd);
}
$output = '';
do {
$timeleft = $timeout - time();
$read = array($pipes[1]);
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, NULL);
if (!empty($read)) {
$output .= fread($pipes[1], 8192);
}
} while (!feof($pipes[1]) && $timeleft > 0);
if ($timeleft <= 0) {
proc_terminate($process);
throw new Exception("command timeout on: " . $cmd);
} else {
return $output;
}
} /* }}} */
/**
* Constructor. Creates our indexable document and adds all
* necessary fields to it using the passed in document
*/
public function __construct($dms, $document, $convcmd=null, $nocontent=false, $timeout=5) {
$_convcmd = array(
'application/pdf' => 'pdftotext -enc UTF-8 -nopgbrk %s - |sed -e \'s/ [a-zA-Z0-9.]\{1\} / /g\' -e \'s/[0-9.]//g\'',
'application/postscript' => 'ps2pdf14 %s - | pdftotext -enc UTF-8 -nopgbrk - - | sed -e \'s/ [a-zA-Z0-9.]\{1\} / /g\' -e \'s/[0-9.]//g\'',
'application/msword' => 'catdoc %s',
'application/vnd.ms-excel' => 'ssconvert -T Gnumeric_stf:stf_csv -S %s fd://1',
'audio/mp3' => "id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g'",
'audio/mpeg' => "id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g'",
'text/plain' => 'cat %s',
);
if($convcmd) {
$_convcmd = $convcmd;
}
$version = $document->getLatestContent();
$this->addField(Zend_Search_Lucene_Field::Keyword('document_id', $document->getID()));
if($version) {
$this->addField(Zend_Search_Lucene_Field::Keyword('mimetype', $version->getMimeType()));
$this->addField(Zend_Search_Lucene_Field::Keyword('origfilename', $version->getOriginalFileName(), 'utf-8'));
if(!$nocontent)
$this->addField(Zend_Search_Lucene_Field::UnIndexed('created', $version->getDate()));
if($attributes = $version->getAttributes()) {
foreach($attributes as $attribute) {
$attrdef = $attribute->getAttributeDefinition();
if($attrdef->getValueSet() != '')
$this->addField(Zend_Search_Lucene_Field::Keyword('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue(), 'utf-8'));
else
$this->addField(Zend_Search_Lucene_Field::Text('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue(), 'utf-8'));
}
}
}
$this->addField(Zend_Search_Lucene_Field::Text('title', $document->getName(), 'utf-8'));
if($categories = $document->getCategories()) {
$names = array();
foreach($categories as $cat) {
$names[] = $cat->getName();
}
$this->addField(Zend_Search_Lucene_Field::Text('category', implode(' ', $names), 'utf-8'));
}
if($attributes = $document->getAttributes()) {
foreach($attributes as $attribute) {
$attrdef = $attribute->getAttributeDefinition();
if($attrdef->getValueSet() != '')
$this->addField(Zend_Search_Lucene_Field::Keyword('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue(), 'utf-8'));
else
$this->addField(Zend_Search_Lucene_Field::Text('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue(), 'utf-8'));
}
}
$owner = $document->getOwner();
$this->addField(Zend_Search_Lucene_Field::Text('owner', $owner->getLogin(), 'utf-8'));
if($keywords = $document->getKeywords()) {
$this->addField(Zend_Search_Lucene_Field::Text('keywords', $keywords, 'utf-8'));
}
if($comment = $document->getComment()) {
$this->addField(Zend_Search_Lucene_Field::Text('comment', $comment, 'utf-8'));
}
if($version && !$nocontent) {
$path = $dms->contentDir . $version->getPath();
$content = '';
$fp = null;
$mimetype = $version->getMimeType();
if(isset($_convcmd[$mimetype])) {
$cmd = sprintf($_convcmd[$mimetype], $path);
$content = self::execWithTimeout($cmd, $timeout);
/*
$fp = popen($cmd, 'r');
if($fp) {
$content = '';
while(!feof($fp)) {
$content .= fread($fp, 2048);
}
pclose($fp);
}
*/
if($content) {
$this->addField(Zend_Search_Lucene_Field::UnStored('content', $content, 'utf-8'));
}
}
}
}
}
?>

View File

@ -1,63 +0,0 @@
<?php
/**
* Implementation of lucene index
*
* @category DMS
* @package SeedDMS_Lucene
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing a lucene index.
*
* @category DMS
* @package SeedDMS_Lucene
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Lucene_Indexer {
/**
* @var string $indexname name of lucene index
* @access protected
*/
protected $indexname;
static function open($luceneDir) { /* {{{ */
try {
$index = Zend_Search_Lucene::open($luceneDir);
return($index);
} catch (Exception $e) {
return null;
}
} /* }}} */
function create($luceneDir) { /* {{{ */
$index = Zend_Search_Lucene::create($luceneDir);
return($index);
} /* }}} */
/**
* Do some initialization
*
*/
function init($stopWordsFile='') { /* {{{ */
$analyzer = new Zend_Search_Lucene_Analysis_Analyzer_Common_Utf8_CaseInsensitive();
if($stopWordsFile && file_exists($stopWordsFile)) {
$stopWordsFilter = new Zend_Search_Lucene_Analysis_TokenFilter_StopWords();
$stopWordsFilter->loadFromFile($stopWordsFile);
$analyzer->addFilter($stopWordsFilter);
}
Zend_Search_Lucene_Analysis_Analyzer::setDefault($analyzer);
} /* }}} */
}
?>

View File

@ -1,98 +0,0 @@
<?php
/**
* Implementation of search in lucene index
*
* @category DMS
* @package SeedDMS_Lucene
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for searching in a lucene index.
*
* @category DMS
* @package SeedDMS_Lucene
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Lucene_Search {
/**
* @var object $index lucene index
* @access protected
*/
protected $index;
/**
* Create a new instance of the search
*
* @param object $index lucene index
* @return object instance of SeedDMS_Lucene_Search
*/
function __construct($index) { /* {{{ */
$this->index = $index;
$this->version = '@package_version@';
if($this->version[0] == '@')
$this->version = '3.0.0';
} /* }}} */
/**
* Get document from index
*
* @param object $index lucene index
* @return object instance of SeedDMS_Lucene_Document of false
*/
function getDocument($id) { /* {{{ */
$hits = $this->index->find('document_id:'.$id);
return $hits ? $hits[0] : false;
} /* }}} */
/**
* Search in index
*
* @param object $index lucene index
* @return object instance of SeedDMS_Lucene_Search
*/
function search($term, $owner, $status='', $categories=array(), $fields=array()) { /* {{{ */
$querystr = '';
if($fields) {
} else {
if($term)
$querystr .= trim($term);
}
if($owner) {
if($querystr)
$querystr .= ' && ';
$querystr .= 'owner:'.$owner;
}
if($categories) {
if($querystr)
$querystr .= ' && ';
$querystr .= '(category:"';
$querystr .= implode('" || category:"', $categories);
$querystr .= '")';
}
try {
$query = Zend_Search_Lucene_Search_QueryParser::parse($querystr);
try {
$hits = $this->index->find($query);
$recs = array();
foreach($hits as $hit) {
$recs[] = array('id'=>$hit->id, 'document_id'=>$hit->document_id);
}
return $recs;
} catch (Zend_Search_Lucene_Exception $e) {
return false;
}
} catch (Zend_Search_Lucene_Search_QueryParserException $e) {
return false;
}
} /* }}} */
}
?>

View File

@ -1,206 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.8.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>SeedDMS_Lucene</name>
<channel>pear.php.net</channel>
<summary>Fulltext search for SeedDMS</summary>
<description>SeedDMS is a web based document management system (DMS). This is
the fulltext search engine for it, based on Lucene.</description>
<lead>
<name>Uwe Steinmann</name>
<user>steinm</user>
<email>uwe@steinmann.cx</email>
<active>yes</active>
</lead>
<date>2016-02-01</date>
<time>09:14:07</time>
<version>
<release>1.1.7</release>
<api>1.1.7</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
add command for indexing postѕcript files
</notes>
<contents>
<dir baseinstalldir="SeedDMS" name="/">
<dir name="Lucene">
<file name="Indexer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Search.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="IndexedDocument.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Lucene -->
<dir name="tests">
</dir> <!-- /tests -->
<file name="Lucene.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
</php>
<pearinstaller>
<min>1.5.4</min>
</pearinstaller>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>0.0.1</release>
<api>0.0.1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<date>2009-04-27</date>
<license uri="http://opensource.org/licenses/bsd-license">BSD License</license>
<notes>
</notes>
</release>
<release>
<date>2011-11-06</date>
<time>08:05:38</time>
<version>
<release>1.0.1</release>
<api>1.0.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
- New Release
</notes>
</release>
<release>
<date>2012-11-06</date>
<time>08:05:38</time>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
use a configurable list of mime type converters, fixed indexing and searching
of special chars like german umlaute.
</notes>
</release>
<release>
<date>2012-12-03</date>
<time>10:31:23</time>
<version>
<release>1.1.1</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
catch exception if index is opened but not available
</notes>
</release>
<release>
<date>2013-06-17</date>
<time>10:31:23</time>
<version>
<release>1.1.2</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
parse query term and catch errors before using it
</notes>
</release>
<release>
<date>2013-06-27</date>
<time>15:12:50</time>
<version>
<release>1.1.3</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
explicitly set encoding to utf-8 when adding fields
do not check if deleting document from index fails, update it in any case
</notes>
</release>
<release>
<date>2013-08-13</date>
<time>21:56:55</time>
<version>
<release>1.1.4</release>
<api>1.1.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
class SeedDMS_Lucene_Search::search returns false if query is invalid instead of an empty result record
</notes>
</release>
<release>
<date>2014-07-30</date>
<time>09:00:34</time>
<version>
<release>1.1.5</release>
<api>1.1.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
field for original filename is treated as utf-8
declare SeeDMS_Lucene_Indexer::open() static
</notes>
</release>
<release>
<date>2015-08-05</date>
<time>21:13:13</time>
<version>
<release>1.1.6</release>
<api>1.1.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
run external commands with a timeout
</notes>
</release>
</changelog>
</package>

View File

@ -1,24 +0,0 @@
<?php
// SeedDMS. Document Management System
// Copyright (C) 2011-2013 Uwe Steinmann
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
/**
* @uses Preview/Previewer.php
*/
require_once('Preview/Previewer.php');
?>

View File

@ -1,327 +0,0 @@
<?php
/**
* Implementation of preview documents
*
* @category DMS
* @package SeedDMS_Preview
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing creation of preview images for documents.
*
* @category DMS
* @package SeedDMS_Preview
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Preview_Previewer {
/**
* @var string $cacheDir location in the file system where all the
* cached data like thumbnails are located. This should be an
* absolute path.
* @access public
*/
public $previewDir;
/**
* @var integer $width maximum width/height of resized image
* @access protected
*/
protected $width;
/**
* @var integer $timeout maximum time for execution of external commands
* @access protected
*/
protected $timeout;
function __construct($previewDir, $width=40, $timeout=5) {
if(!is_dir($previewDir)) {
if (!SeedDMS_Core_File::makeDir($previewDir)) {
$this->previewDir = '';
} else {
$this->previewDir = $previewDir;
}
} else {
$this->previewDir = $previewDir;
}
$this->width = intval($width);
$this->timeout = intval($timeout);
}
static function execWithTimeout($cmd, $timeout=5) { /* {{{ */
$descriptorspec = array(
0 => array("pipe", "r"),
1 => array("pipe", "w"),
2 => array("pipe", "w")
);
$pipes = array();
$timeout += time();
$process = proc_open($cmd, $descriptorspec, $pipes);
if (!is_resource($process)) {
throw new Exception("proc_open failed on: " . $cmd);
}
$output = '';
do {
$timeleft = $timeout - time();
$read = array($pipes[1]);
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, NULL);
if (!empty($read)) {
$output .= fread($pipes[1], 8192);
}
} while (!feof($pipes[1]) && $timeleft > 0);
if ($timeleft <= 0) {
proc_terminate($process);
throw new Exception("command timeout on: " . $cmd);
} else {
return $output;
}
} /* }}} */
/**
* Retrieve the physical filename of the preview image on disk
*
* @param object $object document content or document file
* @param integer $width width of preview image
* @return string file name of preview image
*/
protected function getFileName($object, $width) { /* }}} */
if(!$object)
return false;
$document = $object->getDocument();
$dir = $this->previewDir.'/'.$document->getDir();
switch(get_class($object)) {
case "SeedDMS_Core_DocumentContent":
$target = $dir.'p'.$object->getVersion().'-'.$width;
break;
case "SeedDMS_Core_DocumentFile":
$target = $dir.'f'.$object->getID().'-'.$width;
break;
default:
return false;
}
return $target;
} /* }}} */
/**
* Create a preview image for a given file
*
* @param string $infile name of input file including full path
* @param string $dir directory relative to $this->previewDir
* @param string $mimetype MimeType of input file
* @param integer $width width of generated preview image
* @return boolean true on success, false on failure
*/
public function createRawPreview($infile, $dir, $mimetype, $width=0, $target='') { /* {{{ */
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
if(!is_dir($this->previewDir.'/'.$dir)) {
if (!SeedDMS_Core_File::makeDir($this->previewDir.'/'.$dir)) {
return false;
}
}
if(!file_exists($infile))
return false;
if(!$target)
$target = $this->previewDir.$dir.md5($infile).'-'.$width;
if($target != '' && (!file_exists($target.'.png') || filectime($target.'.png') < filectime($infile))) {
$cmd = '';
switch($mimetype) {
case "image/png":
case "image/gif":
case "image/jpeg":
case "image/jpg":
case "image/svg+xml":
$cmd = 'convert -resize '.$width.'x '.$infile.' '.$target.'.png';
break;
case "application/pdf":
case "application/postscript":
$cmd = 'convert -density 100 -resize '.$width.'x '.$infile.'[0] '.$target.'.png';
break;
case "text/plain":
$cmd = 'convert -resize '.$width.'x '.$infile.'[0] '.$target.'.png';
break;
case "application/x-compressed-tar":
$cmd = 'tar tzvf '.$infile.' | convert -density 100 -resize '.$width.'x text:-[0] '.$target.'.png';
break;
}
if($cmd) {
//exec($cmd);
try {
self::execWithTimeout($cmd, $this->timeout);
} catch(Exception $e) {
}
}
return true;
}
return true;
} /* }}} */
public function createPreview($object, $width=0) { /* {{{ */
if(!$object)
return false;
if($width == 0)
$width = $this->width;
else
$width = intval($width);
$document = $object->getDocument();
$file = $document->_dms->contentDir.$object->getPath();
$target = $this->getFileName($object, $width);
return $this->createRawPreview($file, $document->getDir(), $object->getMimeType(), $width, $target);
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
$document = $object->getDocument();
$dir = $this->previewDir.'/'.$document->getDir();
if(!is_dir($dir)) {
if (!SeedDMS_Core_File::makeDir($dir)) {
return false;
}
}
$file = $document->_dms->contentDir.$object->getPath();
if(!file_exists($file))
return false;
$target = $this->getFileName($object, $width);
if($target !== false && (!file_exists($target.'.png') || filectime($target.'.png') < $object->getDate())) {
$cmd = '';
switch($object->getMimeType()) {
case "image/png":
case "image/gif":
case "image/jpeg":
case "image/jpg":
case "image/svg+xml":
$cmd = 'convert -resize '.$width.'x '.$file.' '.$target.'.png';
break;
case "application/pdf":
case "application/postscript":
$cmd = 'convert -density 100 -resize '.$width.'x '.$file.'[0] '.$target.'.png';
break;
case "text/plain":
$cmd = 'convert -resize '.$width.'x '.$file.'[0] '.$target.'.png';
break;
case "application/x-compressed-tar":
$cmd = 'tar tzvf '.$file.' | convert -density 100 -resize '.$width.'x text:-[0] '.$target.'.png';
break;
}
if($cmd) {
//exec($cmd);
try {
self::execWithTimeout($cmd, $this->timeout);
} catch(Exception $e) {
}
}
return true;
}
return true;
} /* }}} */
public function hasRawPreview($infile, $dir, $width=0) { /* {{{ */
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
$target = $this->previewDir.$dir.md5($infile).'-'.$width;
if($target !== false && file_exists($target.'.png') && filectime($target.'.png') >= filectime($infile)) {
return true;
}
return false;
} /* }}} */
public function hasPreview($object, $width=0) { /* {{{ */
if(!$object)
return false;
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
$target = $this->getFileName($object, $width);
if($target !== false && file_exists($target.'.png') && filectime($target.'.png') >= $object->getDate()) {
return true;
}
return false;
} /* }}} */
public function getRawPreview($infile, $dir, $width=0) { /* {{{ */
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
$target = $this->previewDir.$dir.md5($infile).'-'.$width;
if($target && file_exists($target.'.png')) {
readfile($target.'.png');
}
} /* }}} */
public function getPreview($object, $width=0) { /* {{{ */
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
$target = $this->getFileName($object, $width);
if($target && file_exists($target.'.png')) {
readfile($target.'.png');
}
} /* }}} */
public function getFilesize($object, $width=0) { /* {{{ */
if($width == 0)
$width = $this->width;
else
$width = intval($width);
$target = $this->getFileName($object, $width);
if($target && file_exists($target.'.png')) {
return(filesize($target.'.png'));
} else {
return false;
}
} /* }}} */
public function deletePreview($document, $object, $width=0) { /* {{{ */
if($width == 0)
$width = $this->width;
else
$width = intval($width);
if(!$this->previewDir)
return false;
$target = $this->getFileName($object, $width);
} /* }}} */
}
?>

View File

@ -1,168 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.8.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>SeedDMS_Preview</name>
<channel>pear.php.net</channel>
<summary>Create thumbnails from document content for SeedDMS</summary>
<description>SeedDMS is a web based document management system (DMS). These
are the classes to create preview images from the document content.</description>
<lead>
<name>Uwe Steinmann</name>
<user>steinm</user>
<email>uwe@steinmann.cx</email>
<active>yes</active>
</lead>
<date>2016-03-08</date>
<time>09:36:57</time>
<version>
<release>1.1.6</release>
<api>1.1.6</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
check if object passed to createPreview(), hasPreview() is not null
</notes>
<contents>
<dir baseinstalldir="SeedDMS" name="/">
<dir name="Preview">
<file name="Previewer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Lucene -->
<dir name="tests">
</dir> <!-- /tests -->
<file name="Preview.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
</php>
<pearinstaller>
<min>1.5.4</min>
</pearinstaller>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<date>2012-11-20</date>
<time>08:05:38</time>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
initial version
</notes>
</release>
<release>
<date>2013-04-29</date>
<time>19:34:07</time>
<version>
<release>1.1.0</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
preview image can also be created from a document file (SeedDMS_Core_DocumentFile)
</notes>
</release>
<release>
<date>2014-03-18</date>
<time>16:34:59</time>
<version>
<release>1.1.1</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
add converters for .tar.gz, .ps, .txt
</notes>
</release>
<release>
<date>2014-04-10</date>
<time>20:29:39</time>
<version>
<release>1.1.2</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
create fixed width image with proportional height
</notes>
</release>
<release>
<date>2015-02-13</date>
<time>20:29:39</time>
<version>
<release>1.1.3</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
preview images will also be recreated if the object this image belongs is of newer date than the image itself. This happens if versions are being deleted and than a new version is uploaded. Because the new version will get the version number of the old version, it will also take over the old preview image.Comparing the creation date of the image with the object detects this case.
</notes>
</release>
<release>
<date>2015-08-08</date>
<time>09:36:57</time>
<version>
<release>1.1.4</release>
<api>1.1.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
command for creating the preview will be called with a given timeout
</notes>
</release>
<release>
<date>2016-02-11</date>
<time>09:36:57</time>
<version>
<release>1.1.5</release>
<api>1.1.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
add method getFilesize()
timeout for external commands can be passed to contructor of SeedDMS_Preview_Previewer
</notes>
</release>
</changelog>
</package>

View File

@ -1,44 +0,0 @@
<?php
// SeedDMS. Document Management System
// Copyright (C) 2011-2015 Uwe Steinmann
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
/**
* @uses SeedDMS_SQLiteFTS_Indexer
*/
require_once('SQLiteFTS/Indexer.php');
/**
* @uses SeedDMS_SQLiteFTS_Search
*/
require_once('SQLiteFTS/Search.php');
/**
* @uses SeedDMS_SQLiteFTS_Term
*/
require_once('SQLiteFTS/Term.php');
/**
* @uses SeedDMS_SQLiteFTS_QueryHit
*/
require_once('SQLiteFTS/QueryHit.php');
/**
* @uses SeedDMS_SQLiteFTS_IndexedDocument
*/
require_once('SQLiteFTS/IndexedDocument.php');
?>

View File

@ -1,65 +0,0 @@
<?php
/**
* Implementation of a document
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing a document.
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_SQLiteFTS_Document {
/**
* @var integer $id id of document
* @access protected
*/
public $id;
/**
* @var array $fields fields
* @access protected
*/
protected $fields;
public function __get($key) { /* {{{ */
if(isset($this->fields[$key]))
return $this->fields[$key];
else
return false;
} /* }}} */
public function addField($key, $value) { /* {{{ */
if($key == 'document_id') {
$this->id = $this->fields[$key] = (int) $value;
} else {
if(isset($this->fields[$key]))
$this->fields[$key] .= ' '.$value;
else
$this->fields[$key] = $value;
}
} /* }}} */
public function getFieldValue($key) { /* {{{ */
if(isset($this->fields[$key]))
return $this->fields[$key];
else
return false;
} /* }}} */
}
?>

View File

@ -1,141 +0,0 @@
<?php
/**
* Implementation of an indexed document
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* @uses SeedDMS_SQLiteFTS_Document
*/
require_once('Document.php');
/**
* Class for managing an indexed document.
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_SQLiteFTS_IndexedDocument extends SeedDMS_SQLiteFTS_Document {
static function execWithTimeout($cmd, $timeout=2) { /* {{{ */
$descriptorspec = array(
0 => array("pipe", "r"),
1 => array("pipe", "w"),
2 => array("pipe", "w")
);
$pipes = array();
$timeout += time();
$process = proc_open($cmd, $descriptorspec, $pipes);
if (!is_resource($process)) {
throw new Exception("proc_open failed on: " . $cmd);
}
$output = '';
do {
$timeleft = $timeout - time();
$read = array($pipes[1]);
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, NULL);
if (!empty($read)) {
$output .= fread($pipes[1], 8192);
}
} while (!feof($pipes[1]) && $timeleft > 0);
if ($timeleft <= 0) {
proc_terminate($process);
throw new Exception("command timeout on: " . $cmd);
} else {
return $output;
}
} /* }}} */
/**
* Constructor. Creates our indexable document and adds all
* necessary fields to it using the passed in document
*/
public function __construct($dms, $document, $convcmd=null, $nocontent=false, $timeout=5) {
$_convcmd = array(
'application/pdf' => 'pdftotext -enc UTF-8 -nopgbrk %s - |sed -e \'s/ [a-zA-Z0-9.]\{1\} / /g\' -e \'s/[0-9.]//g\'',
'application/postscript' => 'ps2pdf14 %s - | pdftotext -enc UTF-8 -nopgbrk - - | sed -e \'s/ [a-zA-Z0-9.]\{1\} / /g\' -e \'s/[0-9.]//g\'',
'application/msword' => 'catdoc %s',
'application/vnd.ms-excel' => 'ssconvert -T Gnumeric_stf:stf_csv -S %s fd://1',
'audio/mp3' => "id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g'",
'audio/mpeg' => "id3 -l -R %s | egrep '(Title|Artist|Album)' | sed 's/^[^:]*: //g'",
'text/plain' => 'cat %s',
);
if($convcmd) {
$_convcmd = $convcmd;
}
$version = $document->getLatestContent();
$this->addField('document_id', $document->getID());
if($version) {
$this->addField('mimetype', $version->getMimeType());
$this->addField('origfilename', $version->getOriginalFileName());
if(!$nocontent)
$this->addField('created', $version->getDate(), 'unindexed');
if($attributes = $version->getAttributes()) {
foreach($attributes as $attribute) {
$attrdef = $attribute->getAttributeDefinition();
if($attrdef->getValueSet() != '')
$this->addField('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue());
else
$this->addField('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue());
}
}
}
$this->addField('title', $document->getName());
if($categories = $document->getCategories()) {
$names = array();
foreach($categories as $cat) {
$names[] = $cat->getName();
}
$this->addField('category', implode(' ', $names));
}
if($attributes = $document->getAttributes()) {
foreach($attributes as $attribute) {
$attrdef = $attribute->getAttributeDefinition();
if($attrdef->getValueSet() != '')
$this->addField('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue());
else
$this->addField('attr_'.str_replace(' ', '_', $attrdef->getName()), $attribute->getValue());
}
}
$owner = $document->getOwner();
$this->addField('owner', $owner->getLogin());
if($keywords = $document->getKeywords()) {
$this->addField('keywords', $keywords);
}
if($comment = $document->getComment()) {
$this->addField('comment', $comment);
}
if($version && !$nocontent) {
$path = $dms->contentDir . $version->getPath();
$content = '';
$fp = null;
$mimetype = $version->getMimeType();
if(isset($_convcmd[$mimetype])) {
$cmd = sprintf($_convcmd[$mimetype], $path);
$content = self::execWithTimeout($cmd, $timeout);
if($content) {
$this->addField('content', $content, 'unstored');
}
}
}
}
}
?>

View File

@ -1,260 +0,0 @@
<?php
/**
* Implementation of SQLiteFTS index
*
* @category DMS
* @package SeedDMS_Lucene
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing a SQLiteFTS index.
*
* @category DMS
* @package SeedDMS_Lucene
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_SQLiteFTS_Indexer {
/**
* @var object $index sqlite index
* @access protected
*/
protected $_conn;
/**
* Constructor
*
*/
function __construct($indexerDir) { /* {{{ */
$this->_conn = new PDO('sqlite:'.$indexerDir.'/index.db');
} /* }}} */
/**
* Open an existing index
*
* @param string $indexerDir directory on disk containing the index
*/
static function open($indexerDir) { /* {{{ */
if(file_exists($indexerDir.'/index.db')) {
return new SeedDMS_SQLiteFTS_Indexer($indexerDir);
} else
return self::create($indexerDir);
} /* }}} */
/**
* Create a new index
*
* @param string $indexerDir directory on disk containing the index
*/
static function create($indexerDir) { /* {{{ */
if(file_exists($indexerDir.'/index.db'))
unlink($indexerDir.'/index.db');
$index = new SeedDMS_SQLiteFTS_Indexer($indexerDir);
/* Make sure the sequence of fields is identical to the field list
* in SeedDMS_SQLiteFTS_Term
*/
$version = SQLite3::version();
if($version['versionNumber'] >= 3008000)
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(title, comment, keywords, category, mimetype, origfilename, owner, content, created, notindexed=created, matchinfo=fts3)';
else
$sql = 'CREATE VIRTUAL TABLE docs USING fts4(title, comment, keywords, category, mimetype, origfilename, owner, content, created, matchinfo=fts3)';
$res = $index->_conn->exec($sql);
if($res === false) {
return null;
}
$sql = 'CREATE VIRTUAL TABLE docs_terms USING fts4aux(docs);';
$res = $index->_conn->exec($sql);
if($res === false) {
return null;
}
return($index);
} /* }}} */
/**
* Do some initialization
*
*/
static function init($stopWordsFile='') { /* {{{ */
} /* }}} */
/**
* Add document to index
*
* @param object $doc indexed document of class
* SeedDMS_SQLiteFTS_IndexedDocument
* @return boolean false in case of an error, otherwise true
*/
function addDocument($doc) { /* {{{ */
if(!$this->_conn)
return false;
$sql = "INSERT INTO docs (docid, title, comment, keywords, category, owner, content, mimetype, origfilename, created) VALUES(".$doc->getFieldValue('document_id').", ".$this->_conn->quote($doc->getFieldValue('title')).", ".$this->_conn->quote($doc->getFieldValue('comment')).", ".$this->_conn->quote($doc->getFieldValue('keywords')).", ".$this->_conn->quote($doc->getFieldValue('category')).", ".$this->_conn->quote($doc->getFieldValue('owner')).", ".$this->_conn->quote($doc->getFieldValue('content')).", ".$this->_conn->quote($doc->getFieldValue('mimetype')).", ".$this->_conn->quote($doc->getFieldValue('origfilename')).", ".time().")";
$res = $this->_conn->exec($sql);
if($res === false) {
var_dump($this->_conn->errorInfo());
}
return $res;
} /* }}} */
/**
* Remove document from index
*
* @param object $doc indexed document of class
* SeedDMS_SQLiteFTS_IndexedDocument
* @return boolean false in case of an error, otherwise true
*/
public function delete($id) { /* {{{ */
if(!$this->_conn)
return false;
$sql = "DELETE FROM docs WHERE docid=".(int) $id;
$res = $this->_conn->exec($sql);
return $res;
} /* }}} */
/**
* Check if document was deleted
*
* Just for compatibility with lucene.
*
* @return boolean always false
*/
public function isDeleted($id) { /* {{{ */
return false;
} /* }}} */
/**
* Find documents in index
*
* @param object $doc indexed document of class
* SeedDMS_SQLiteFTS_IndexedDocument
* @return boolean false in case of an error, otherwise true
*/
public function find($query) { /* {{{ */
if(!$this->_conn)
return false;
$sql = "SELECT docid FROM docs WHERE docs MATCH ".$this->_conn->quote($query);
$res = $this->_conn->query($sql);
$hits = array();
if($res) {
foreach($res as $rec) {
$hit = new SeedDMS_SQLiteFTS_QueryHit($this);
$hit->id = $rec['docid'];
$hits[] = $hit;
}
}
return $hits;
} /* }}} */
/**
* Get a single document from index
*
* @param integer $id id of document
* @return boolean false in case of an error, otherwise true
*/
public function findById($id) { /* {{{ */
if(!$this->_conn)
return false;
$sql = "SELECT docid FROM docs WHERE docid=".(int) $id;
$res = $this->_conn->query($sql);
$hits = array();
if($res) {
while($rec = $res->fetch(PDO::FETCH_ASSOC)) {
$hit = new SeedDMS_SQLiteFTS_QueryHit($this);
$hit->id = $rec['docid'];
$hits[] = $hit;
}
}
return $hits;
} /* }}} */
/**
* Get a single document from index
*
* @param integer $id id of document
* @return boolean false in case of an error, otherwise true
*/
public function getDocument($id) { /* {{{ */
if(!$this->_conn)
return false;
$sql = "SELECT title, comment, owner, keywords, category, mimetype, origfilename, created FROM docs WHERE docid=".(int) $id;
$res = $this->_conn->query($sql);
$doc = false;
if($res) {
$rec = $res->fetch(PDO::FETCH_ASSOC);
$doc = new SeedDMS_SQLiteFTS_Document();
$doc->addField('title', $rec['title']);
$doc->addField('comment', $rec['comment']);
$doc->addField('keywords', $rec['keywords']);
$doc->addField('category', $rec['category']);
$doc->addField('mimetype', $rec['mimetype']);
$doc->addField('origfilename', $rec['origfilename']);
$doc->addField('owner', $rec['owner']);
$doc->addField('created', $rec['created']);
}
return $doc;
} /* }}} */
/**
* Return list of terms in index
*
* This function does nothing!
*/
public function terms() { /* {{{ */
if(!$this->_conn)
return false;
$sql = "SELECT term, col, occurrences FROM docs_terms WHERE col!='*' ORDER BY col";
$res = $this->_conn->query($sql);
$terms = array();
if($res) {
while($rec = $res->fetch(PDO::FETCH_ASSOC)) {
$term = new SeedDMS_SQLiteFTS_Term($rec['term'], $rec['col'], $rec['occurrences']);
$terms[] = $term;
}
}
return $terms;
} /* }}} */
/**
* Return list of documents in index
*
*/
public function count() { /* {{{ */
$sql = "SELECT count(*) c FROM docs";
$res = $this->_conn->query($sql);
if($res) {
$rec = $res->fetch(PDO::FETCH_ASSOC);
return $rec['c'];
}
return 0;
} /* }}} */
/**
* Commit changes
*
* This function does nothing!
*/
function commit() { /* {{{ */
} /* }}} */
/**
* Optimize index
*
* This function does nothing!
*/
function optimize() { /* {{{ */
} /* }}} */
}
?>

View File

@ -1,65 +0,0 @@
<?php
/**
* Implementation of a query hit
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing a query hit.
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_SQLiteFTS_QueryHit {
/**
* @var SeedDMS_SQliteFTS_Indexer $index
* @access protected
*/
protected $_index;
/**
* @var SeedDMS_SQliteFTS_Document $document
* @access protected
*/
protected $_document;
/**
* @var integer $id id of document
* @access public
*/
public $id;
/**
*
*/
public function __construct(SeedDMS_SQLiteFTS_Indexer $index) { /* {{{ */
$this->_index = $index;
} /* }}} */
/**
* Return the document associated with this hit
*
* @return SeedDMS_SQLiteFTS_Document
*/
public function getDocument() { /* {{{ */
if (!$this->_document instanceof SeedDMS_SQLiteFTS_Document) {
$this->_document = $this->_index->getDocument($this->id);
}
return $this->_document;
} /* }}} */
}
?>

View File

@ -1,96 +0,0 @@
<?php
/**
* Implementation of search in SQlite FTS index
*
* @category DMS
* @package SeedDMS_Lucene
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for searching in a SQlite FTS index.
*
* @category DMS
* @package SeedDMS_Lucene
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_SQliteFTS_Search {
/**
* @var object $index SQlite FTS index
* @access protected
*/
protected $index;
/**
* Create a new instance of the search
*
* @param object $index SQlite FTS index
* @return object instance of SeedDMS_SQliteFTS_Search
*/
function __construct($index) { /* {{{ */
$this->index = $index;
$this->version = '@package_version@';
if($this->version[0] == '@')
$this->version = '3.0.0';
} /* }}} */
/**
* Get hit from index
*
* @param object $index lucene index
* @return object instance of SeedDMS_Lucene_Document of false
*/
function getDocument($id) { /* {{{ */
$hits = $this->index->findById((int) $id);
return $hits ? $hits[0] : false;
} /* }}} */
/**
* Search in index
*
* @param object $index SQlite FTS index
* @return object instance of SeedDMS_Lucene_Search
*/
function search($term, $owner, $status='', $categories=array(), $fields=array()) { /* {{{ */
$querystr = '';
if($fields) {
} else {
if($term)
$querystr .= trim($term);
}
if($owner) {
if($querystr)
$querystr .= ' ';
//$querystr .= ' AND ';
$querystr .= 'owner:'.$owner;
//$querystr .= $owner;
}
if($categories) {
if($querystr)
$querystr .= ' ';
//$querystr .= ' AND ';
$querystr .= 'category:';
$querystr .= implode(' OR category:', $categories);
$querystr .= '';
}
try {
$hits = $this->index->find($querystr);
$recs = array();
foreach($hits as $hit) {
$recs[] = array('id'=>$hit->id, 'document_id'=>$hit->id);
}
return $recs;
} catch (Exception $e) {
return false;
}
} /* }}} */
}
?>

View File

@ -1,66 +0,0 @@
<?php
/**
* Implementation of a term
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010, Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class for managing a term.
*
* @category DMS
* @package SeedDMS_SQLiteFTS
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2011, Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_SQLiteFTS_Term {
/**
* @var string $text
* @access public
*/
public $text;
/**
* @var string $field
* @access public
*/
public $field;
/**
* @var integer $occurrence
* @access public
*/
public $_occurrence;
/**
*
*/
public function __construct($term, $col, $occurrence) { /* {{{ */
$this->text = $term;
$fields = array(
0 => 'title',
1 => 'comment',
2 => 'keywords',
3 => 'category',
4 => 'mimetype',
5 => 'origfilename',
6 => 'owner',
7 => 'content',
8 => 'created'
);
$this->field = $fields[$col];
$this->_occurrence = $occurrence;
} /* }}} */
}
?>

View File

@ -1,134 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.8.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>SeedDMS_SQLiteFTS</name>
<channel>pear.php.net</channel>
<summary>Fulltext search based on sqlite for SeedDMS</summary>
<description>SeedDMS is a web based document management system (DMS). This is
the fulltext search engine for it, based on SQLite FTS.</description>
<lead>
<name>Uwe Steinmann</name>
<user>steinm</user>
<email>uwe@steinmann.cx</email>
<active>yes</active>
</lead>
<date>2016-03-15</date>
<time>15:59:07</time>
<version>
<release>1.0.4</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
make it work with sqlite3 &lt; 3.8.0
</notes>
<contents>
<dir baseinstalldir="SeedDMS" name="/">
<dir name="SQLiteFTS">
<file name="Indexer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="IndexedDocument.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Document.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="QueryHit.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Search.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Term.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /SQLiteFTS -->
<dir name="tests">
</dir> <!-- /tests -->
<file name="SQLiteFTS.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
</php>
<pearinstaller>
<min>1.5.4</min>
</pearinstaller>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<date>2015-08-10</date>
<time>21:13:13</time>
<version>
<release>1.0.0</release>
<api>1.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
initial release
</notes>
</release>
<release>
<date>2015-11-16</date>
<time>09:07:07</time>
<version>
<release>1.0.1</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
add __get() to SQLiteFTS_Document because class.IndexInfo.php access class variable title which doesn't exists
</notes>
</release>
<release>
<date>2016-01-10</date>
<time>09:07:07</time>
<version>
<release>1.0.2</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
check if index exists before removing it when creating a new one
</notes>
</release>
<release>
<date>2016-02-01</date>
<time>09:15:01</time>
<version>
<release>1.0.3</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
<notes>
add command for indexing postѕcript files
</notes>
</release>
</changelog>
</package>

28
TODO
View File

@ -1,22 +1,14 @@
Show workflow steps after document has been released (keep workflow tab)
Show documents in calendar when they where uploaded.
Add attribute type 'date'
This list is hopelessly outdated, but some of the issues are
still worth to be implemented!
Update comment and date of a review/approval, if the same status is set
again. Currently setting the same status is turned of, because it didn't
have any effect, which is quite confusing if the user can do an operation
which has not the expected result.
Show number of documents that needs care (approval, review, any other action
in a workflog) next to Login/Logout-Menu.
Show message on doc info page if documents expects an action like review,
approval, etc.
Import and export of a workflow as xml.
Find a way to make the workflows adjustable when used for a document.
e.g. a workflow shall be used for a number of document but the users of
a transtion has to be altered for each document. This is basically reusing
@ -31,26 +23,13 @@ the session data. See op.Login.php and op.Logout.php
Allow to specify fine grained notification (e.g. deleting a document, folder)
Have access rights depending on document status. This will allow to
restrict access when a document is in a workflow or has been rejected.
There are still global variable in class SeedetoDMS_Bootstrap_Style
Settings::searchConfigFilePath() and Settings::getConfigDir() use different
approaches to get the configuration directory.
Show expiration status of documents in document list
Export/Import content as xml (even for subfolders)
Copy folders recursivly
Allow operations like delete, move, approve, etc. on a list of documents
Upload of multiple documents without an applet
Do not show documents which are not reviewed or approved or rejected
installation script:
- user simply unpack the tar.gz in a server folder and access that folder
- on startup if there are installation problems php automatically run the configuration script
@ -70,9 +49,6 @@ Sometimes in the DB are written messages strings in plain language whose
language depends on the current user and will never be translated.
This can be avoided using only coded messages
The mail language is translated using the current user language but should use
the receiver language (not easy).
In my Documents->all documents there should be two lists: one (the current) with
the user's document, and another with the user's updated document (that's because
one user could have updated a document not owned by himself)

216
build.xml Normal file
View File

@ -0,0 +1,216 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="seeddms" basedir="." default="main">
<property name="tmp" value="/tmp" />
<property name="package" value="${phing.project.name}" override="true" />
<property name="seeddmsurl" value="http://localhost/seeddms51x" />
<property name="builddir" value="${tmp}/build/${phing.project.name}" override="true" />
<property name="srcdir" value="${project.basedir}" override="true" />
<property name="datadir" value="" override="true" />
<property name="dbtype" value="sqlite" override="true" />
<property name="dbhost" value="" override="true" />
<property name="dbuser" value="" override="true" />
<property name="dbpass" value="" override="true" />
<property name="dbname" value="" override="true" />
<property name="version" value="-" />
<property name="shortversion" value="${version}" />
<propertyregex property="shortversion" subject="${version} kk" pattern="([56])\.([0-9]).*" replace="seeddms$1$2x" override="true"/>
<property name="majorversion" value="${version}" />
<propertyregex property="majorversion" subject="${version}" pattern="([56])\..*" replace="$1" override="true"/>
<property name="composer_version" value="2.8.5" />
<property name="composer_extra_params" value="" />
<property name="composer_env" value="" />
<property name="mink_driver" value="chrome" />
<property name="snooze_multiplier" value="1" />
<fileset id="distfiles" dir=".">
<include name="languages/**" />
<include name="op/**" />
<include name="out/**" />
<include name="inc/**" />
<include name="controllers/**" />
<include name="styles/**" />
<include name="views/bootstrap*/**" />
<include name="utils/**" />
<include name="doc/**" />
<include name="webdav/**" />
<include name="install/**" />
<include name="restapi/**" />
<include name="pdfviewer/**" />
<include name="index.php" />
<include name="CHANGELOG" />
<include name=".htaccess" />
<include name="LICENSE" />
</fileset>
<target name="main">
<echo>Hello</echo>
</target>
<!-- PHP CodeSniffer -->
<target name="phpcbf">
<exec command="${srcdir}/vendor/bin/phpcbf --standard=${srcdir}/phpcs.xml" escape="false" passthru="true" checkreturn="true" />
</target>
<target name="phpcs">
<exec command="${srcdir}/vendor/bin/phpcs --standard=${srcdir}/phpcs.xml --report=checkstyle &gt; ${builddir}/reports/checkstyle.xml" escape="false" />
</target>
<target name="phpcs-console">
<exec command="${srcdir}/vendor/bin/phpcs --standard=${srcdir}/phpcs.xml" escape="false" passthru="true" checkreturn="true" />
</target>
<target name="php-cs-fixer-dryrun">
<exec command="${srcdir}/vendor/bin/php-cs-fixer fix --dry-run -vvv --diff ${srcdir}/inc" passthru="true" escape="false" checkreturn="true" />
</target>
<!-- PHPUnit -->
<target name="phpunitfast" description="Run tests">
<exec dir="${srcdir}/SeedDMS_Core" command="XDEBUG_MODE=coverage SEEDDMS_CORE_SQL=../install/create_tables-sqlite3.sql ${srcdir}/vendor/bin/phpunit --bootstrap ${srcdir}/SeedDMS_Core/bootstrap-${majorversion}.php --coverage-html ${srcdir}/coverage/" passthru="true" checkreturn="true" />
<!-- exec dir="${srcdir}/tests" command="SEEDDMS_URL=${seeddmsurl} SEEDDMS_MINK_DRIVER=${mink_driver} SEEDDMS_SNOOZE_MULTIPLIER=${snooze_multiplier} ${srcdir}/vendor/bin/phpunit" passthru="true" checkreturn="true" / -->
</target>
<target name="composer" description="Install dependencies with Composer">
<if>
<equals arg1="${composer_version}" arg2="latest-2.x" />
<then>
<httpget url="https://getcomposer.org/composer-2.phar" sslVerifyPeer="false" dir="${srcdir}" filename="composer.phar" />
</then>
<else>
<if>
<not><available file="composer.phar" /></not>
<then>
<httpget url="https://getcomposer.org/download/${composer_version}/composer.phar" sslVerifyPeer="false" dir="${srcdir}" />
</then>
</if>
</else>
</if>
<echo message="Installing dependencies..." />
<exec command="${composer_env} php ${srcdir}/composer.phar install ${composer_extra_params}" passthru="true" checkreturn="true" />
</target>
<target name="dist" description="build SeedDMS tar archive">
<if>
<equals arg1="-" arg2="${version}" />
<then><fail msg="Pass version as property 'version'" /></then>
</if>
<echo msg="This is ${shortversion}" />
<delete file="./seeddms-${version}.tar.gz" failonerror="false" />
<tar destfile="./seeddms-${version}.tar.gz" prefix="seeddms-${version}" compression="gzip">
<fileset refid="distfiles" />
</tar>
</target>
<target name="package" description="build SeedDMS quickstart packages for distribution">
<if>
<equals arg1="-" arg2="${version}" />
<then><fail msg="Pass version as property 'version'" /></then>
</if>
<echo msg="This is ${shortversion}" />
<if>
<matches string="${version}" pattern="^6\.0\..*" />
<then><echo msg="This is version 6" /></then>
<else><echo msg="This is version 5" /></else>
</if>
<!-- make sure the work area is empty, then rebuild it -->
<delete dir="${builddir}/packages" includeemptydirs="true" failonerror="false" />
<mkdir dir="${builddir}/packages" />
<delete dir="${builddir}/export" includeemptydirs="true" failonerror="false" />
<mkdir dir="${builddir}/export/${shortversion}" />
<mkdir dir="${builddir}/export/${shortversion}/conf" />
<mkdir dir="${builddir}/export/${shortversion}/data" />
<mkdir dir="${builddir}/export/${shortversion}/data/1048576" />
<mkdir dir="${builddir}/export/${shortversion}/data/log" />
<mkdir dir="${builddir}/export/${shortversion}/data/cache" />
<exec command="echo 'Signature: 8a477f597d28d172789f06886806bc55' &gt; ${builddir}/export/${shortversion}/data/cache/CACHEDIR.TAG" />
<exec command="echo '# This file is a cache directory tag created by seeddms.' &gt;&gt; ${builddir}/export/${shortversion}/data/cache/CACHEDIR.TAG" />
<exec command="echo '# For information about cache directory tags, see: http://www.brynosaurus.com/cachedir/' &gt;&gt; ${builddir}/export/${shortversion}/data/cache/CACHEDIR.TAG" />
<mkdir dir="${builddir}/export/${shortversion}/data/backup" />
<mkdir dir="${builddir}/export/${shortversion}/data/lucene" />
<mkdir dir="${builddir}/export/${shortversion}/data/staging" />
<mkdir dir="${builddir}/export/${shortversion}/pear" />
<mkdir dir="${builddir}/export/${shortversion}/www" />
<mkdir dir="${builddir}/export/${shortversion}/www/ext" />
<mkdir dir="${builddir}/export/${shortversion}/seeddms-${version}" />
<copy file="${srcdir}/conf/settings.xml.template" tofile="${builddir}/export/${shortversion}/conf/settings.xml">
<filterchain>
<replaceregexp>
<regexp pattern="_DBC_DBTYPE_" replace="${dbtype}"/>
<regexp pattern="_DBC_DBSERVER_" replace="${dbhost}"/>
<regexp pattern="_DBC_DBNAME_" replace="${dbname}"/>
<regexp pattern="_DBC_DBUSER_" replace="${dbuser}"/>
<regexp pattern="_DBC_DBPASS_" replace="${dbpass}"/>
<regexp pattern="_SHORT_VERSION_" replace="${shortversion}"/>
</replaceregexp>
</filterchain>
</copy>
<copy file="${srcdir}/conf/.htaccess" tofile="${builddir}/export/${shortversion}/conf/.htaccess" />
<copy todir="${builddir}/export/${shortversion}/seeddms-${version}">
<fileset refid="distfiles" />
</copy>
<copy todir="${builddir}/export/${shortversion}/pear/vendor">
<fileset dir="${srcdir}/vendor" defaultexcludes="false" />
</copy>
<copy todir="${builddir}/export/${shortversion}/www/ext/example">
<fileset dir="${srcdir}/ext/example" defaultexcludes="false" />
</copy>
<!-- copy todir="${builddir}/export/${shortversion}/pear/SeedDMS">
<fileset dir="SeedDMS_Core">
<include name="Core/**" />
<include name="Core.php" />
</fileset>
<fileset dir="SeedDMS_Preview">
<include name="Preview/**" />
<include name="Preview.php" />
</fileset>
<fileset dir="SeedDMS_Lucene">
<include name="Lucene/**" />
<include name="Lucene.php" />
</fileset -->
<!-- fileset dir="SeedDMS_SQLiteFTS">
<include name="SQLiteFTS/**" />
<include name="SQLiteFTS.php" />
</fileset>
</copy -->
<!-- copy todir="${builddir}/export/${shortversion}/pear">
<fileset dir="../seeddms-ext/http_webdav_server">
<include name="HTTP/WebDAV/Server/**" />
<include name="HTTP/WebDAV/Server.php" />
</fileset>
</copy>
<copy todir="${builddir}/export/${shortversion}/pear/HTTP/WebDAV">
<fileset dir="../seeddms-ext/http_webdav_server">
<include name="Tools/**" />
</fileset>
</copy -->
<copy tofile="${builddir}/export/${shortversion}/pear/composer.json" file="composer-dist.json">
</copy>
<phingcall target="composer">
<property name="composer_extra_params" value="--working-dir=${builddir}/export/${shortversion}/pear/" />
<property name="composer_envv" value="COMPOSER=${srcdir}/composer-dist.json" />
</phingcall>
<exec command="cd ${builddir}/export/${shortversion} &amp;&amp; ln -s seeddms-${version} seeddms" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/op" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/out" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/inc" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/controllers" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/languages" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/views" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/restapi" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/styles" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/pdfviewer" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/install" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/webdav" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/index.php" />
<exec command="cd ${builddir}/export/${shortversion}/www &amp;&amp; ln -s ../seeddms/.htaccess" />
<exec command="cat ${srcdir}/install/create_tables-sqlite3.sql | sqlite3 ${builddir}/export/${shortversion}/data/content.db" />
<!-- build the standard tar.gz archive -->
<echo message="Building .tar.gz...." />
<exec command="cd ${builddir}/export ; tar czf ${builddir}/packages/seeddms-quickstart-${version}.tar.gz ${shortversion}" checkreturn="true" />
<echo message="Built in ${builddir}/packages/seeddms-quickstart-${version}.tar.gz" />
</target>
</project>

76
composer-dist.json Normal file
View File

@ -0,0 +1,76 @@
{
"config": {
"platform": {
"php": "8.2"
}
},
"require": {
"robthree/twofactorauth": "^1.5",
"slim/slim": "^4.0",
"guzzlehttp/psr7": "*",
"erusev/parsedown": "*",
"erusev/parsedown-extra": "*",
"mibe/feedwriter": "^1.1",
"phpoffice/phpspreadsheet": "*",
"sabre/xml": "*",
"sabre/dav": "^4.",
"pear/log": "*",
"pear/mail": "*",
"pear/mail_mime": "*",
"pear/net_smtp": "*",
"pear/auth_sasl": "*",
"pear/db": "*",
"dragonmantank/cron-expression": "^3.1",
"alecrabbit/php-console-colour": "*",
"dragonmantank/cron-expression": "^3",
"zf1/zend-search-lucene": "*",
"symfony/http-foundation": "^5.4",
"php-di/php-di": "^6.4",
"slim/psr7": "^1.7",
"seeddms/core": "dev-master",
"seeddms/lucene": "dev-master",
"seeddms/preview": "dev-master",
"seeddms/sqlitefts": "dev-master",
"seeddms/http_webdav_server": "dev-master"
},
"require-dev": {
"composer/composer": "dev-main"
},
"repositories": [
{
"type": "path",
"url": "/home/cvs/seeddms-ext/core",
"options": {
"symlink": false
}
},
{
"type": "path",
"url": "/home/cvs/seeddms-ext/lucene",
"options": {
"symlink": false
}
},
{
"type": "path",
"url": "/home/cvs/seeddms-ext/preview",
"options": {
"symlink": false
}
},
{
"type": "path",
"url": "/home/cvs/seeddms-ext/sqlitefts",
"options": {
"symlink": false
}
},
{
"type": "path",
"url": "/home/cvs/seeddms-ext/http_webdav_server",
"options": {
"symlink": false
}
}
]
}

View File

@ -1,6 +1,10 @@
# Make sure settings.xml can not be opened from outside!
#Redirect /conf/settings.xml /index.php
<Files ~ "^settings\.xml">
Order allow,deny
Deny from all
</Files>
# Deny all requests from Apache 2.4+.
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
# Deny all requests from Apache 2.0-2.2.
<IfModule !mod_authz_core.c>
Deny from all
</IfModule>

View File

@ -15,14 +15,15 @@
footNote = "SeedDMS free document management system - www.seeddms.org"
printDisclaimer = "true"
language = "en_GB"
theme = "bootstrap"
theme = "bootstrap4"
previewWidthList = "40"
previewWidthDetail = "100"
onePageMode="true"
/>
<!--
- strictFormCheck: Strict form checking. If set to true, then all fields in the form will be checked for a value. If set to false, then (most) comments and keyword fields become optional. Comments are always required when submitting a review or overriding document status.
- viewOnlineFileTypes: files with one of the following endings can be viewed online (USE ONLY LOWER CASE CHARACTERS)
- enableConverting: enable/disable converting of files XXX
- enableConverting: enable/disable converting of files (deprecated)
- enableEmail: enable/disable automatic email notification
- enableUsersView: enable/disable group and user view for all users
- enableFullSearch: false to don't use fulltext search
@ -34,12 +35,14 @@
- 2 to start with tree shown fully expanded
- stopWordsFile: path to stop word file for indexer
- sortUsersInList: how to sort users in lists ('fullname' or '' (default))
- enableDropUpload: XXX
- enableRecursiveCount: XXX
- maxRecursiveCount: XXX
- enableThemeSelector: XXX
- enableDropUpload: enable/disable uploading files by drag&drop
- enableRecursiveCount: enable/disable counting docs and folder recursively
- maxRecursiveCount: after this number of docs/folders precise counting will stop
- enableThemeSelector: enable/disable the theme selector on the login page
- fullSearchEngine: Either "lucene" or "sqlitefts"
- sortFoldersDefault: XXX
- sortFoldersDefault: how to sort forders by default. u=unsorted, s=sequence, n=name
- defaultDocPosition: Default position for a new document. 'start', 'end', or ''
- defaultFolderPosition: Default position for a new folder. 'start', 'end', or ''
-->
<edition
strictFormCheck = "false"
@ -54,12 +57,14 @@
enableLanguageSelector = "true"
stopWordsFile = ""
sortUsersInList = ""
enableDropUpload = "false"
enableDropUpload = "true"
enableRecursiveCount = "false"
maxRecursiveCount = "0"
enableThemeSelector = "false"
fullSearchEngine = "lucene"
enableThemeSelector = "true"
fullSearchEngine = "sqlitefts"
sortFoldersDefault = "u"
defaultDocPosition = "end"
defaultFolderPosition = "end"
/>
<!--
- enableCalendar: enable/disable calendar
@ -71,6 +76,9 @@
calendarDefaultView = "y"
firstDayOfWeek = "0"
/>
<webdav
enableWebdavReplaceDoc="true"
/>
</site>
<system>
<!--
@ -89,19 +97,22 @@
- partitionSize: size of chunk uploaded by jumploader
- dropFolderDir: where files for document upload are located
- cacheDir: where the preview images are saved
- backupDir: where the backups are saved
-->
<server
rootDir = ""
httpRoot = "/seeddms/"
httpRoot = "/_SHORT_VERSION_/"
contentDir = ""
stagingDir = ""
luceneDir = ""
logFileEnable = "true"
logFileRotation = "d"
enableLargeFileUpload = "true"
enableLargeFileUpload = "false"
partitionSize = "2000000"
dropFolderDir = ""
cacheDir = ""
backupDir = ""
logFileMaxLevel="6"
/>
<!--
- enableGuestLogin: If you want anybody to login as guest, set the following line to true
@ -110,16 +121,17 @@
- restricted: Restricted access: only allow users to log in if they have an entry in the local database (irrespective of successful authentication with LDAP).
- enableUserImage: enable users images
- disableSelfEdit: if true user cannot edit his own profile
- passwordStrength: XXX
- passwordStrengthAlgorithm: XXX
- passwordExpiration: XXX
- passwordHistory: XXX
- loginFailure: XXX
- autoLoginUser: XXX
- quota: XXX
- undelUserIds: XXX
- encryptionKey: XXX
- cookieLifetime: XXX
- disableChangePassword: if true user cannot change the password
- passwordStrength: minimum strength of password, set to 0 to disable
- passwordStrengthAlgorithm: algorithm used to calculate password strenght (simple or advanced)
- passwordExpiration: number of days after password expires
- passwordHistory: number of remembered passwords
- loginFailure: maximum allowed login failures before an account is disabled
- autoLoginUser: id of user used if auto login is turned on
- quota: maximum allowed space on disc for each user
- undelUserIds: ids of users which cannot be deleted
- encryptionKey: arbitrary string used for creating form tokens
- cookieLifetime: lifetime of cookie in seconds, set to 0 for session cookies
-->
<authentication
enableGuestLogin = "false"
@ -127,6 +139,7 @@
restricted = "true"
enableUserImage = "false"
disableSelfEdit = "false"
disableChangePassword = "false"
passwordStrength = "0"
passwordStrengthAlgorithm = "simple"
passwordExpiration = "0"
@ -145,8 +158,8 @@
- URIs are supported, e.g.: ldaps://ldap.host.com
- port: port of the authentification server
- baseDN: top level of the LDAP directory tree
- bindDN: XXX
- bindPw: XXX
- bindDN: use this dn for a first step bind, leave empty for annonymous bind
- bindPw: use this password for a first step bind
- filter: Additional filters which are to be checked
-->
<connector
@ -158,6 +171,7 @@
bindDN = ""
bindPw = ""
filter = ""
groupField = ""
/>
<!-- ***** CONNECTOR Microsoft Active Directory *****
- enable: enable/disable connector
@ -165,9 +179,10 @@
- host: hostname of the authentification server
- port: port of the authentification server
- baseDN: top level of the LDAP directory tree
- bindDN: use this dn for a first step bind, leave empty for annonymous bind
- bindPw: use this password for a first step bind
- filter: Additional filters which are to be checked
- accountDomainName: sample: example.com
- bindDN: XXX
- bindPw: XXX
-->
<connector
enable = "false"
@ -178,11 +193,12 @@
accountDomainName = "example.com"
bindDN = ""
bindPw = ""
filter = ""
groupField = ""
/>
</connectors>
</authentication>
<!--
- ADOdbPath: Path to adodb. This is the directory containing the adodb directory
- dbDriver: DB-Driver used by adodb (see adodb-readme)
- dbHostname: DB-Server
- dbDatabase: database where the tables for seeddms are stored (optional - see adodb-readme)
@ -191,7 +207,6 @@
- doNotCheckVersion: Whether or not to check the database schema for its correct version.
-->
<database
ADOdbPath = ""
dbDriver = "_DBC_DBTYPE_"
dbHostname = "_DBC_DBSERVER_"
dbDatabase = "_DBC_DBNAME_"
@ -203,8 +218,8 @@
- smtpServer: SMTP Server hostname
- smtpPort: SMTP Server port
- smtpSendFrom: Send from
- smtpUser: XXX
- smtpPassword: XXX
- smtpUser: user name used for authenticating against smtp server
- smtpPassword: password used for authenticating against smtp server
-->
<smtp
smtpServer = "localhost"
@ -218,13 +233,11 @@
<!--
-siteDefaultPage: Default page on login. Defaults to out/out.ViewFolder.php
- rootFolderID: ID of root-folder (mostly no need to change)
- titleDisplayHack: Workaround for page titles that go over more than 2 lines.
- showMissingTranslations: XXX
- showMissingTranslations: set true if missing translation shall be listed at end of page
-->
<display
siteDefaultPage = ""
rootFolderID = "1"
titleDisplayHack = "true"
showMissingTranslations = "false"
/>
<!--
@ -242,18 +255,20 @@
- enableVersionDeletion: allow to delete versions after approval
- enableVersionModification: allow to modify versions after approval
- enableDuplicateDocNames: allow duplicate names in a folder
- enableOwnerRevApp: XXX
- enableSelfRevApp: XXX
- presetExpirationDate: XXX
- overrideMimeType: XXX
- enableDuplicateSubFolderNames: allow duplicate names in a folder
- enableOwnerRevApp: allow owner of a document to review and approve
- enableSelfRevApp: allow the user current logged in to add herself as a reviewer or approver
- presetExpirationDate: set to time period if each document shall expire
- overrideMimeType: set to true if the mimetype of a document version is determined by the server
-->
<edition
enableAdminRevApp = "false"
versioningFileName = "versioning_info.txt"
workflowMode = "advanced"
workflowMode = "traditional"
enableVersionDeletion = "true"
enableVersionModification = "true"
enableDuplicateDocNames = "true"
enableDuplicateSubFolderNames = "true"
enableOwnerRevApp = "false"
enableSelfRevApp = "false"
presetExpirationDate = ""
@ -267,11 +282,11 @@
- directory ($_contentDir). This requires a base directory from which
- to begin. Usually leave this to the default setting, 1048576, but can
- be any number or string that does not already exist within $_contentDir.
- maxDirID: Maximum number of sub-directories per parent directory. Default: 32700.
- maxDirID: Maximum number of sub-directories per parent directory. Default: 0.
- updateNotifyTime: users are notified about document-changes that took place within the last "updateNotifyTime" seconds
- extraPath: XXX
- maxExecutionTime: XXX
- cmdTimeout: XXX
- extraPath: additional path which is added to php's include path
- maxExecutionTime: maximum script execution time, this cannot be larger than the value set in php.ini
- cmdTimeout: timeout in sec. for external commands
-->
<server
coreDir = ""
@ -281,18 +296,33 @@
updateNotifyTime = "86400"
extraPath = ""
maxExecutionTime = "30"
cmdTimeout = "1"
cmdTimeout = "10"
/>
<!--
- enableNotificationAppRev: XXX
- enableNotificationAppRev: set to true if reviewers and approvers shall be informed about a pending review/approval
- enableOwnerNotification: XXX
- enableNotificationWorkflow: XXX
- enableNotificationWorkflow: set to true if the users in the workflow shall be informed
-->
<notification
enableNotificationAppRev = "true"
enableOwnerNotification = "false"
enableNotificationWorkflow = "false"
/>
/>
<converters target="fulltext">
<converter mimeType="application/pdf">pdftotext -nopgbrk %s -</converter>
<converter mimeType="application/msword">catdoc %s</converter>
<converter mimeType="text/plain">cat %s</converter>
<converter mimeType="application/vnd.openxmlformats-officedocument.wordprocessingml.document">docx2txt %s -</converter>
</converters>
<converters target="preview">
<converter mimeType="image/png">convert -resize %wx '%f' '%o'</converter>
<converter mimeType="image/jpg">convert -resize %wx '%f' '%o'</converter>
<converter mimeType="image/gif">convert -resize %wx '%f' '%o'</converter>
</converters>
</advanced>
<extensions/>
<extensions>
<extension name="example" disable="true">
<parameter name="__disable__">1</parameter>
</extension>
</extensions>
</configuration>

View File

@ -0,0 +1,246 @@
<?php
/**
* Implementation of AddDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_AddDocument extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$fulltextservice = $this->params['fulltextservice'];
$folder = $this->params['folder'];
/* Call preAddDocument early, because it might need to modify some
* of the parameters.
*/
if(false === $this->callHook('preAddDocument')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preAddDocument_failed';
return null;
}
$name = $this->getParam('name');
$comment = $this->getParam('comment');
$documentsource = $this->params['documentsource'];
$expires = $this->getParam('expires');
$keywords = $this->getParam('keywords');
$cats = $this->getParam('categories');
$owner = $this->getParam('owner');
$userfiletmp = $this->getParam('userfiletmp');
$userfilename = $this->getParam('userfilename');
$filetype = $this->getParam('filetype');
$userfiletype = $this->getParam('userfiletype');
$sequence = $this->getParam('sequence');
$reviewers = $this->getParam('reviewers');
$approvers = $this->getParam('approvers');
$recipients = $this->getParam('recipients');
$reqversion = $this->getParam('reqversion');
$version_comment = $this->getParam('versioncomment');
$attributes = $this->getParam('attributes');
foreach($attributes as $attrdefid=>&$attribute) {
if($attrdef = $dms->getAttributeDefinition($attrdefid)) {
if(null === ($ret = $this->callHook('validateAttribute', $attrdef, $attribute))) {
if($attribute) {
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_date:
if(is_array($attribute))
$attribute = array_map(fn($value): string => date('Y-m-d', makeTsFromDate($value)), $attribute);
else
$attribute = date('Y-m-d', makeTsFromDate($attribute));
break;
case SeedDMS_Core_AttributeDefinition::type_folder:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getFolder((int) $value), $attribute);
else
$attribute = $dms->getFolder((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_document:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getDocument((int) $value), $attribute);
else
$attribute = $dms->getDocument((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_user:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getUser((int) $value), $attribute);
else
$attribute = $dms->getUser((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_group:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getGroup((int) $value), $attribute);
else
$attribute = $dms->getGroup((int) $attribute);
break;
}
if(!$attrdef->validate($attribute, null, true)) {
$this->errormsg = getAttributeValidationError($attrdef->getValidationError(), $attrdef->getName(), $attribute);
return false;
}
} elseif($attrdef->getMinValues() > 0) {
$this->errormsg = array("attr_min_values", array("attrname"=>$attrdef->getName()));
return false;
}
} else {
if($ret === false)
return false;
}
}
}
if($attributes_version = $this->getParam('attributesversion')) {
foreach($attributes_version as $attrdefid=>&$attribute) {
if($attrdef = $dms->getAttributeDefinition($attrdefid)) {
if(null === ($ret = $this->callHook('validateAttribute', $attrdef, $attribute))) {
if($attribute) {
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_date:
if(is_array($attribute))
$attribute = array_map(fn($value): string => date('Y-m-d', makeTsFromDate($value)), $attribute);
else
$attribute = date('Y-m-d', makeTsFromDate($attribute));
break;
case SeedDMS_Core_AttributeDefinition::type_folder:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getFolder((int) $value), $attribute);
else
$attribute = $dms->getFolder((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_document:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getDocument((int) $value), $attribute);
else
$attribute = $dms->getDocument((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_user:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getUser((int) $value), $attribute);
else
$attribute = $dms->getUser((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_group:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getGroup((int) $value), $attribute);
else
$attribute = $dms->getGroup((int) $attribute);
break;
}
if(!$attrdef->validate($attribute, null, true)) {
$this->errormsg = getAttributeValidationError($attrdef->getValidationError(), $attrdef->getName(), $attribute);
return false;
}
} elseif($attrdef->getMinValues() > 0) {
$this->errormsg = array("attr_min_values", array("attrname"=>$attrdef->getName()));
return false;
}
} else {
if($ret === false)
return false;
}
}
}
}
$workflow = $this->getParam('workflow');
$notificationgroups = $this->getParam('notificationgroups');
$notificationusers = $this->getParam('notificationusers');
$initialdocumentstatus = $this->getParam('initialdocumentstatus');
$maxsizeforfulltext = $this->getParam('maxsizeforfulltext');
$defaultaccessdocs = $this->getParam('defaultaccessdocs');
$document = $this->callHook('addDocument');
if($document === null) {
$filesize = SeedDMS_Core_File::fileSize($userfiletmp);
$res = $folder->addDocument($name, $comment, $expires, $owner, $keywords,
$cats, $userfiletmp, utf8_basename($userfilename),
$filetype, $userfiletype, $sequence,
$reviewers, $approvers, $reqversion,
$version_comment, $attributes, $attributes_version, $workflow, $initialdocumentstatus);
if (is_bool($res) && !$res) {
$this->errormsg = "error_occured";
return false;
}
$document = $res[0];
/* Set access as specified in settings. */
if($defaultaccessdocs) {
if($defaultaccessdocs > 0 && $defaultaccessdocs < 4) {
$document->setInheritAccess(0, true);
$document->setDefaultAccess($defaultaccessdocs, true);
}
}
$lc = $document->getLatestContent();
if($recipients) {
if($recipients['i']) {
foreach($recipients['i'] as $uid) {
if($u = $dms->getUser($uid)) {
$res = $lc->addIndRecipient($u, $user);
}
}
}
if($recipients['g']) {
foreach($recipients['g'] as $gid) {
if($g = $dms->getGroup($gid)) {
$res = $lc->addGrpRecipient($g, $user);
}
}
}
}
/* Add a default notification for the owner of the document */
if($settings->_enableOwnerNotification) {
$res = $document->addNotify($owner->getID(), true);
}
/* Check if additional notification shall be added */
foreach($notificationusers as $notuser) {
if($document->getAccessMode($notuser) >= M_READ)
$res = $document->addNotify($notuser->getID(), true);
}
foreach($notificationgroups as $notgroup) {
if($document->getGroupAccessMode($notgroup) >= M_READ)
$res = $document->addNotify($notgroup->getID(), false);
}
} elseif($document === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_addDocument_failed';
return false;
}
if($fulltextservice && ($index = $fulltextservice->Indexer()) && $document) {
$idoc = $fulltextservice->IndexedDocument($document);
if(false !== $this->callHook('preIndexDocument', $document, $idoc)) {
$index->addDocument($idoc);
$index->commit();
}
}
if(false === $this->callHook('postAddDocument', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postAddDocument_failed';
return false;
}
return $document;
} /* }}} */
}

View File

@ -0,0 +1,136 @@
<?php
/**
* Implementation of AddSubFolder controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_AddSubFolder extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$fulltextservice = $this->params['fulltextservice'];
$folder = $this->params['folder'];
/* Call preAddSubFolder early, because it might need to modify some
* of the parameters.
*/
if(false === $this->callHook('preAddSubFolder')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preAddSubFolder_failed';
return false;
}
$name = $this->getParam('name');
$comment = $this->getParam('comment');
$sequence = $this->getParam('sequence');
$attributes = $this->getParam('attributes');
foreach($attributes as $attrdefid=>&$attribute) {
if($attrdef = $dms->getAttributeDefinition($attrdefid)) {
if(null === ($ret = $this->callHook('validateAttribute', $attrdef, $attribute))) {
if($attribute) {
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_date:
if(is_array($attribute))
$attribute = array_map(fn($value): string => date('Y-m-d', makeTsFromDate($value)), $attribute);
else
$attribute = date('Y-m-d', makeTsFromDate($attribute));
break;
case SeedDMS_Core_AttributeDefinition::type_folder:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getFolder((int) $value), $attribute);
else
$attribute = $dms->getFolder((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_document:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getDocument((int) $value), $attribute);
else
$attribute = $dms->getDocument((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_user:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getUser((int) $value), $attribute);
else
$attribute = $dms->getUser((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_group:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getGroup((int) $value), $attribute);
else
$attribute = $dms->getGroup((int) $attribute);
break;
}
if(!$attrdef->validate($attribute, null, true)) {
$this->errormsg = getAttributeValidationError($attrdef->getValidationError(), $attrdef->getName(), $attribute);
return false;
}
} elseif($attrdef->getMinValues() > 0) {
$this->errormsg = array("attr_min_values", array("attrname"=>$attrdef->getName()));
return false;
}
} else {
if($ret === false)
return false;
}
}
}
$notificationgroups = $this->getParam('notificationgroups');
$notificationusers = $this->getParam('notificationusers');
$subFolder = $this->callHook('addSubFolder');
if($subFolder === null) {
$subFolder = $folder->addSubFolder($name, $comment, $user, $sequence, $attributes);
if (!is_object($subFolder)) {
$this->errormsg = "error_occured";
return false;
}
/* Check if additional notification shall be added */
foreach($notificationusers as $notuser) {
if($subFolder->getAccessMode($user) >= M_READ)
$res = $subFolder->addNotify($notuser->getID(), true);
}
foreach($notificationgroups as $notgroup) {
if($subFolder->getGroupAccessMode($notgroup) >= M_READ)
$res = $subFolder->addNotify($notgroup->getID(), false);
}
} elseif($subFolder === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_addFolder_failed';
return false;
}
if($fulltextservice && ($index = $fulltextservice->Indexer()) && $subFolder) {
$idoc = $fulltextservice->IndexedDocument($subFolder);
if(false !== $this->callHook('preIndexFolder', $subFolder, $idoc)) {
$index->addDocument($idoc);
$index->commit();
}
}
if(false === $this->callHook('postAddSubFolder', $subFolder)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postAddSubFoder_failed';
return false;
}
return $subFolder;
} /* }}} */
}

View File

@ -0,0 +1,115 @@
<?php
/**
* Implementation of ApproveDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2023 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for approving a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2023 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_ApproveDocument extends SeedDMS_Controller_Common {
public $oldstatus;
public $newstatus;
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$content = $this->params['content'];
$approvaltype = $this->params['type'];
$approvalstatus = $this->params['status'];
$approvalcomment = $this->params['comment'];
$approvalfile = $this->params['file'];
$approvalgroup = $this->params['group'];
$overallStatus = $content->getStatus();
$this->oldstatus = $overallStatus['status'];
$this->newstatus = $this->oldstatus;
if(!$this->callHook('preApproveDocument', $content)) {
}
$result = $this->callHook('approveDocument', $content);
if($result === null) {
if ($approvaltype == "ind") {
$approvalLogID = $content->setApprovalByInd($user, $user, $approvalstatus, $approvalcomment, $approvalfile);
} elseif ($approvaltype == "grp") {
$approvalLogID = $content->setApprovalByGrp($approvalgroup, $user, $approvalstatus, $approvalcomment, $approvalfile);
} else {
$this->errormsg = "approval_wrong_type";
return false;
}
if($approvalLogID === false || 0 > $approvalLogID) {
$this->errormsg = "approval_update_failed";
return false;
}
}
$result = $this->callHook('approveUpdateDocumentStatus', $content);
if($result === null) {
if($approvalstatus == -1) {
$this->newstatus = S_REJECTED;
if($content->setStatus(S_REJECTED, $approvalcomment, $user)) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['approveDocument'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['approveDocument'] as $hookObj) {
if (method_exists($hookObj, 'postApproveDocument')) {
$hookObj->postApproveDocument(null, $content, S_REJECTED);
}
}
}
}
} else {
$docApprovalStatus = $content->getApprovalStatus();
if (is_bool($docApprovalStatus) && !$docApprovalStatus) {
$this->errormsg = "cannot_retrieve_approval_snapshot";
return false;
}
$approvalCT = 0;
$approvalTotal = 0;
foreach ($docApprovalStatus as $drstat) {
if ($drstat["status"] == 1) {
$approvalCT++;
}
if ($drstat["status"] != -2) {
$approvalTotal++;
}
}
// If all approvals have been received and there are no rejections, retrieve a
// count of the approvals required for this document.
if ($approvalCT == $approvalTotal) {
// Change the status to released.
$this->newstatus=S_RELEASED;
if($content->setStatus($this->newstatus, getMLText("automatic_status_update"), $user)) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['approveDocument'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['approveDocument'] as $hookObj) {
if (method_exists($hookObj, 'postApproveDocument')) {
$hookObj->postApproveDocument(null, $content, S_RELEASED);
}
}
}
}
}
}
}
if(!$this->callHook('postApproveDocument', $content)) {
}
return true;
} /* }}} */
}

View File

@ -0,0 +1,95 @@
<?php
/**
* Implementation of Attribute Definition manager controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for attribute definition manager
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_AttributeMgr extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
} /* }}} */
public function addattrdef() { /* {{{ */
$dms = $this->params['dms'];
$name = $this->params['name'];
$type = $this->params['type'];
$objtype = $this->params['objtype'];
$multiple = $this->params['multiple'];
$minvalues = $this->params['minvalues'];
$maxvalues = $this->params['maxvalues'];
$valueset = $this->params['valueset'];
$regex = $this->params['regex'];
return($dms->addAttributeDefinition($name, $objtype, $type, $multiple, $minvalues, $maxvalues, $valueset, $regex));
} /* }}} */
public function removeattrdef() { /* {{{ */
$attrdef = $this->params['attrdef'];
return $attrdef->remove();
} /* }}} */
public function editattrdef() { /* {{{ */
$dms = $this->params['dms'];
$name = $this->params['name'];
$attrdef = $this->params['attrdef'];
$type = $this->params['type'];
$objtype = $this->params['objtype'];
$multiple = $this->params['multiple'];
$minvalues = $this->params['minvalues'];
$maxvalues = $this->params['maxvalues'];
$valueset = $this->params['valueset'];
$regex = $this->params['regex'];
if (!$attrdef->setName($name)) {
return false;
}
if (!$attrdef->setType($type)) {
return false;
}
if (!$attrdef->setObjType($objtype)) {
return false;
}
if (!$attrdef->setMultipleValues($multiple)) {
return false;
}
if (!$attrdef->setMinValues($minvalues)) {
return false;
}
if (!$attrdef->setMaxValues($maxvalues)) {
return false;
}
if (!$attrdef->setValueSet($valueset)) {
return false;
}
if (!$attrdef->setRegex($regex)) {
$this->errormsg = 'attrdef_invalid_regex';
return false;
}
return true;
} /* }}} */
public function removeattrvalue() { /* {{{ */
$attrdef = $this->params['attrdef'];
$attrval = $this->params['attrval'];
//$attrdef->getObjects($attrval);
return $attrdef->removeValue($attrval);
} /* }}} */
}

View File

@ -0,0 +1,114 @@
<?php
/**
* Implementation of CheckInDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2024 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2024 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_CheckInDocument extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$name = $this->getParam('name');
$comment = $this->getParam('comment');
/* Call preCheckInDocument early, because it might need to modify some
* of the parameters.
*/
if(false === $this->callHook('preCheckInDocument', $this->params['document'])) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preCheckInDocument_failed';
return null;
}
$comment = $this->getParam('comment');
$dms = $this->params['dms'];
$user = $this->params['user'];
$document = $this->params['document'];
$settings = $this->params['settings'];
$fulltextservice = $this->params['fulltextservice'];
$folder = $this->params['folder'];
$userfiletmp = $this->getParam('userfiletmp');
$userfilename = $this->getParam('userfilename');
$filetype = $this->getParam('filetype');
$userfiletype = $this->getParam('userfiletype');
$reviewers = $this->getParam('reviewers');
$approvers = $this->getParam('approvers');
$recipients = $this->getParam('recipients');
$reqversion = $this->getParam('reqversion');
$comment = $this->getParam('comment');
$attributes = $this->getParam('attributes');
$workflow = $this->getParam('workflow');
$maxsizeforfulltext = $this->getParam('maxsizeforfulltext');
$initialdocumentstatus = $this->getParam('initialdocumentstatus');
$content = $this->callHook('checkinDocument');
if($content === null) {
if($contentResult=$document->checkIn($comment, $user, $reviewers, $approvers, $version=0, $attributes, $workflow, $initialdocumentstatus)) {
if ($this->hasParam('expires')) {
if($document->setExpires($this->getParam('expires'))) {
} else {
}
}
if(!empty($recipients['i'])) {
foreach($recipients['i'] as $uid) {
if($u = $dms->getUser($uid)) {
$res = $contentResult->getContent()->addIndRecipient($u, $user);
}
}
}
if(!empty($recipients['g'])) {
foreach($recipients['g'] as $gid) {
if($g = $dms->getGroup($gid)) {
$res = $contentResult->getContent()->addGrpRecipient($g, $user);
}
}
}
$content = $contentResult->getContent();
} else {
$this->errormsg = 'error_checkin_document';
$result = false;
}
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_checkinDocument_failed';
return false;
}
if($fulltextservice && ($index = $fulltextservice->Indexer()) && $content) {
$idoc = $fulltextservice->IndexedDocument($document);
if(false !== $this->callHook('preIndexDocument', $document, $idoc)) {
$lucenesearch = $fulltextservice->Search();
if($hit = $lucenesearch->getDocument((int) $document->getId())) {
$index->delete($hit->id);
}
$index->addDocument($idoc);
$index->commit();
}
}
if(false === $this->callHook('postCheckInDocument', $document, $content)) {
}
return $content;
} /* }}} */
}

View File

@ -0,0 +1,61 @@
<?php
/**
* Implementation of ClearCache controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for clearing the cache
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_ClearCache extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$post = $this->params['post'];
$ret = '';
if(!empty($post['previewpng'])) {
$cmd = 'rm -rf '.addDirSep($settings->_cacheDir).'png'.DIRECTORY_SEPARATOR.'[1-9]*';
system($cmd, $ret);
}
if(!empty($post['previewpdf'])) {
$cmd = 'rm -rf '.addDirSep($settings->_cacheDir).'pdf'.DIRECTORY_SEPARATOR.'[1-9]*';
system($cmd, $ret);
}
if(!empty($post['previewtxt'])) {
$cmd = 'rm -rf '.addDirSep($settings->_cacheDir).'txt'.DIRECTORY_SEPARATOR.'[1-9]*';
system($cmd, $ret);
}
if(!empty($post['js'])) {
/* system('rm ...') does not work anymore if the number of files is too large */
array_map('unlink', array_filter((array) glob(addDirSep($settings->_cacheDir).'js'.DIRECTORY_SEPARATOR.'*')));
}
if(false === $this->callHook('clear', $post)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_clear_failed';
return false;
}
return true;
}
}

108
controllers/class.Cron.php Normal file
View File

@ -0,0 +1,108 @@
<?php
/**
* Implementation of Cron controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2020 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for the regular cron job
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2020 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_Cron extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$logger = $this->params['logger'];
$mode = $this->params['mode'];
$seltask = $this->params['task'];
$db = $dms->getDb();
$scheduler = new SeedDMS_Scheduler($db);
$tasks = $scheduler->getTasks();
$jsonarr = [];
foreach($tasks as $task) {
if($seltask && $seltask != $task->getExtension()."::".$task->getTask())
continue;
if(isset($GLOBALS['SEEDDMS_SCHEDULER']['tasks'][$task->getExtension()]) && is_object($taskobj = resolveTask($GLOBALS['SEEDDMS_SCHEDULER']['tasks'][$task->getExtension()][$task->getTask()]))) {
$arr = array(
'extension'=>$task->getExtension(),
'name'=>$task->getTask(),
'mode'=>$mode,
'disabled' => (bool) $task->getDisabled(),
'isdue' => $task->isDue(),
);
switch($mode) {
case "run":
case "dryrun":
if(method_exists($taskobj, 'execute')) {
if(!$task->getDisabled() && $task->isDue()) {
if($mode == 'run') {
/* Schedule the next run right away to prevent a second execution
* of the task when the cron job of the scheduler is called before
* the last run was finished. The task itself can still be scheduled
* to fast, but this is up to the admin of seeddms.
*/
$task->updateLastNextRun();
if($taskobj->execute($task)) {
add_log_line("Execution of task ".$task->getExtension()."::".$task->getTask()." successful.");
$arr['success'] = true;
} else {
add_log_line("Execution of task ".$task->getExtension()."::".$task->getTask()." failed, task has been disabled.", PEAR_LOG_ERR);
$arr['success'] = false;
$task->setDisabled(1);
}
} elseif($mode == 'dryrun') {
$arr['success'] = true;
}
}
}
break;
case "check":
$arr['error'] = false;
if(!method_exists($taskobj, 'execute')) {
$arr['error'] = true;
$arr['messages'][] = 'Missing method execute()';
}
if(get_parent_class($taskobj) != 'SeedDMS_SchedulerTaskBase') {
$arr['error'] = true;
$arr['error'][] = "Wrong parent class";
}
break;
case "list":
default:
header("Content-Type: application/json");
$arr['nextrun']=$task->getNextRun();
$arr['frequency']=$task->getFrequency();
$arr['params']=array();
if($params = $task->getParameter()) {
foreach($params as $key=>$value) {
$p = $taskobj->getAdditionalParamByName($key);
$arr['params'][$key] = ($p['type'] == 'password') ? '*******' : $value;
}
}
break;
}
$jsonarr[] = $arr;
}
}
echo json_encode($jsonarr);
return true;
} /* }}} */
}

View File

@ -0,0 +1,209 @@
<?php
/**
* Implementation of DocumentAccess controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2017 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for editing a folder
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2017 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_DocumentAccess extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
$action = $this->params['action'];
return null;
}
// Change owner -----------------------------------------------------------
public function setowner() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
if(false === $this->callHook('preSetOwner', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preSetOwner_failed';
return null;
}
$newowner = $this->params['newowner'];
$oldowner = $document->getOwner();
if($document->setOwner($newowner)) {
if(false === $this->callHook('postSetOwner', $document, $oldowner)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postSetOwner_failed';
return null;
}
}
return true;
}
public function notinherit() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
if(false === $this->callHook('preSetNotInherit', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preSetNotInherit_failed';
return null;
}
/* Get default access before access is not longer inherited. This
* will return the default access from the parent folder.
*/
$defAccess = $document->getDefaultAccess();
if(!$document->setInheritAccess(false)) {
return false;
}
if(!$document->setDefaultAccess($defAccess)) {
return false;
}
//copy ACL of parent folder
$mode = $this->params['mode'];
if ($mode == "copy") {
$accessList = $folder->getAccessList();
foreach ($accessList["users"] as $userAccess)
$document->addAccess($userAccess->getMode(), $userAccess->getUserID(), true);
foreach ($accessList["groups"] as $groupAccess)
$document->addAccess($groupAccess->getMode(), $groupAccess->getGroupID(), false);
}
if(false === $this->callHook('postSetNotInherit', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postSetNotInherit_failed';
return null;
}
return true;
}
public function inherit() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
if(false === $this->callHook('preSetInherit', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preSetInherit_failed';
return null;
}
if(!$document->clearAccessList() || !$document->setInheritAccess(true)) {
return false;
}
if(false === $this->callHook('postSetInherit', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postSetInherit_failed';
return null;
}
return true;
}
public function setdefault() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
if(false === $this->callHook('preSetDefault', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preSetDefault_failed';
return null;
}
$mode = $this->params['mode'];
if(!$document->setDefaultAccess($mode)) {
return false;
}
if(false === $this->callHook('postSetDefault', $document)) {
if(empty($this->errormsg))
$this->errormsg = 'hook_postSetDefault_failed';
return null;
}
return true;
}
public function editaccess() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
$mode = $this->params['mode'];
$userid = $this->params['userid'];
$groupid = $this->params['groupid'];
if ($userid) {
$document->changeAccess($mode, $userid, true);
}
elseif ($groupid) {
$document->changeAccess($mode, $groupid, false);
}
return true;
}
public function delaccess() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
$userid = $this->params['userid'];
$groupid = $this->params['groupid'];
if ($userid) {
$document->removeAccess($userid, true);
}
elseif ($groupid) {
$document->removeAccess($groupid, false);
}
return true;
}
public function addaccess() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$folder = $this->params['folder'];
$document = $this->params['document'];
$settings = $this->params['settings'];
$mode = $this->params['mode'];
$userid = $this->params['userid'];
$groupid = $this->params['groupid'];
if ($userid && $userid != -1) {
$document->addAccess($mode, $userid, true);
}
elseif ($groupid && $groupid != -1) {
$document->addAccess($mode, $groupid, false);
}
return true;
}
}

View File

@ -22,27 +22,192 @@
*/
class SeedDMS_Controller_Download extends SeedDMS_Controller_Common {
public function run() {
public function version() { /* {{{ */
$dms = $this->params['dms'];
$version = $this->params['version'];
$document = $this->params['document'];
if($version < 1) {
$content = $this->callHook('documentLatestContent', $document);
if($content === null)
$content = $document->getLatestContent();
} else {
$content = $this->callHook('documentContent', $document, $version);
if($content === null)
$content = $document->getContentByVersion($version);
}
if (!is_object($content)) {
$this->errormsg = 'invalid_version';
return false;
}
/* set params['content'] for compatiblity with older extensions which
* expect the content in the controller
*/
$this->params['content'] = $content;
if(null === $this->callHook('version')) {
if(file_exists($dms->contentDir . $content->getPath())) {
header("Content-Transfer-Encoding: binary");
$efilename = rawurlencode($content->getOriginalFileName());
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
header("Content-Type: " . $content->getMimeType());
header("Cache-Control: must-revalidate");
header("ETag: ".$content->getChecksum());
sendFile($dms->contentDir . $content->getPath());
}
}
return true;
} /* }}} */
public function file() { /* {{{ */
$dms = $this->params['dms'];
$file = $this->params['file'];
if(null === $this->callHook('file')) {
if(file_exists($dms->contentDir . $file->getPath())) {
header("Content-Transfer-Encoding: binary");
header("Content-Disposition: attachment; filename=\"" . $file->getOriginalFileName() . "\"");
header("Content-Type: " . $file->getMimeType());
header("Cache-Control: must-revalidate");
sendFile($dms->contentDir . $file->getPath());
}
}
return true;
} /* }}} */
public function archive() { /* {{{ */
$dms = $this->params['dms'];
$filename = $this->params['file'];
$basedir = $this->params['basedir'];
if(null === $this->callHook('archive')) {
if(file_exists($basedir . $filename)) {
header('Content-Description: File Transfer');
header("Content-Type: application/zip");
header("Content-Transfer-Encoding: binary");
$efilename = rawurlencode($filename);
header("Content-Disposition: attachment; filename=\"" .$efilename . "\"; filename*=UTF-8''".$efilename);
header("Cache-Control: public");
sendFile($basedir .$filename );
}
}
return true;
} /* }}} */
public function log() { /* {{{ */
$dms = $this->params['dms'];
$filename = $this->params['file'];
$basedir = $this->params['basedir'];
if(null === $this->callHook('log')) {
if(file_exists($basedir . $filename)) {
header("Content-Type: text/plain; name=\"" . $filename . "\"");
header("Content-Transfer-Encoding: binary");
$efilename = rawurlencode($filename);
header("Content-Disposition: attachment; filename=\"" .$efilename . "\"; filename*=UTF-8''".$efilename);
header("Cache-Control: must-revalidate");
sendFile($basedir.$filename);
}
}
return true;
} /* }}} */
public function sqldump() { /* {{{ */
$dms = $this->params['dms'];
$filename = $this->params['file'];
$basedir = $this->params['basedir'];
if(null === $this->callHook('sqldump')) {
if(file_exists($basedir . $filename)) {
header("Content-Type: application/zip");
header("Content-Transfer-Encoding: binary");
$efilename = rawurlencode($filename);
header("Content-Disposition: attachment; filename=\"" .$efilename . "\"; filename*=UTF-8''".$efilename);
header("Cache-Control: must-revalidate");
sendFile($basedir.$filename);
}
}
return true;
} /* }}} */
public function approval() { /* {{{ */
$dms = $this->params['dms'];
$document = $this->params['document'];
$logid = $this->params['approvelogid'];
$filename = $dms->contentDir . $document->getDir().'a'.$logid;
if (!file_exists($filename) ) {
$this->error = 1;
return false;
}
if(null === $this->callHook('approval')) {
$finfo = finfo_open(FILEINFO_MIME_TYPE);
$mimetype = finfo_file($finfo, $filename);
header("Content-Type: ".$mimetype);
header("Content-Transfer-Encoding: binary");
header("Content-Disposition: attachment; filename=\"approval-" . $document->getID()."-".(int) $_GET['approvelogid'] . get_extension($mimetype) . "\"");
header("Cache-Control: must-revalidate");
sendFile($filename);
}
return true;
} /* }}} */
public function review() { /* {{{ */
$dms = $this->params['dms'];
$document = $this->params['document'];
$logid = $this->params['reviewlogid'];
$filename = $dms->contentDir . $document->getDir().'r'.$logid;
if (!file_exists($filename) ) {
$this->error = 1;
return false;
}
if(null === $this->callHook('review')) {
$finfo = finfo_open(FILEINFO_MIME_TYPE);
$mimetype = finfo_file($finfo, $filename);
header("Content-Type: ".$mimetype);
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . filesize($filename ));
header("Content-Disposition: attachment; filename=\"review-" . $document->getID()."-".(int) $_GET['reviewlogid'] . get_extension($mimetype) . "\"");
header("Cache-Control: must-revalidate");
sendFile($filename);
}
return true;
} /* }}} */
public function run() { /* {{{ */
$dms = $this->params['dms'];
$type = $this->params['type'];
$content = $this->params['content'];
switch($type) {
case "version":
if(!$this->callHook('version')) {
if(file_exists($dms->contentDir . $content->getPath())) {
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . filesize($dms->contentDir . $content->getPath() ));
$efilename = rawurlencode($content->getOriginalFileName());
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
header("Content-Type: " . $content->getMimeType());
header("Cache-Control: must-revalidate");
readfile($dms->contentDir . $content->getPath());
}
}
return $this->version();
break;
case "file":
return $this->file();
break;
case "archive":
return $this->archive();
break;
case "log":
return $this->log();
break;
case "sqldump":
return $this->sqldump();
break;
case "approval":
return $this->approval();
break;
case "review":
return $this->review();
break;
}
}
} /* }}} */
}

View File

@ -0,0 +1,220 @@
<?php
/**
* Implementation of EditDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for editing a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_EditDocument extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$fulltextservice = $this->params['fulltextservice'];
$document = $this->params['document'];
$name = $this->params['name'];
if(false === $this->callHook('preEditDocument')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preEditDocument_failed';
return null;
}
$result = $this->callHook('editDocument', $document);
if($result === null) {
$name = $this->params['name'];
$oldname = $document->getName();
if($oldname != $name)
if(!$document->setName($name))
return false;
$comment = $this->params['comment'];
if(($oldcomment = $document->getComment()) != $comment)
if(!$document->setComment($comment))
return false;
$expires = $this->params['expires'];
$oldexpires = $document->getExpires();
if ($expires != $oldexpires) {
if(false === $this->callHook('preSetExpires', $document, $expires)) {
}
if(!$document->setExpires($expires)) {
return false;
}
$document->verifyLastestContentExpriry();
if(false === $this->callHook('postSetExpires', $document, $expires)) {
}
}
$keywords = $this->params['keywords'];
$oldkeywords = $document->getKeywords();
if ($oldkeywords != $keywords) {
if(false === $this->callHook('preSetKeywords', $document, $keywords, $oldkeywords)) {
}
if(!$document->setKeywords($keywords)) {
return false;
}
if(false === $this->callHook('postSetKeywords', $document, $keywords, $oldkeywords)) {
}
}
$categories = $this->params['categories'];
$oldcategories = $document->getCategories();
if($categories) {
$categoriesarr = array();
foreach($categories as $catid) {
if($cat = $dms->getDocumentCategory($catid)) {
$categoriesarr[] = $cat;
}
}
$oldcatsids = array();
foreach($oldcategories as $oldcategory)
$oldcatsids[] = $oldcategory->getID();
if (count($categoriesarr) != count($oldcategories) ||
array_diff($categories, $oldcatsids)) {
if(false === $this->callHook('preSetCategories', $document, $categoriesarr, $oldcategories)) {
}
if(!$document->setCategories($categoriesarr)) {
return false;
}
if(false === $this->callHook('postSetCategories', $document, $categoriesarr, $oldcategories)) {
}
}
} elseif($oldcategories) {
if(false === $this->callHook('preSetCategories', $document, array(), $oldcategories)) {
}
if(!$document->setCategories(array())) {
return false;
}
if(false === $this->callHook('postSetCategories', $document, array(), $oldcategories)) {
}
}
$attributes = $this->params['attributes'];
$oldattributes = $document->getAttributes();
if($attributes) {
foreach($attributes as $attrdefid=>$attribute) {
if($attrdef = $dms->getAttributeDefinition($attrdefid)) {
if(null === ($ret = $this->callHook('validateAttribute', $attrdef, $attribute))) {
if($attribute) {
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_date:
if(is_array($attribute))
$attribute = array_map(fn($value): string => date('Y-m-d', makeTsFromDate($value)), $attribute);
else
$attribute = date('Y-m-d', makeTsFromDate($attribute));
break;
case SeedDMS_Core_AttributeDefinition::type_folder:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getFolder((int) $value), $attribute);
else
$attribute = $dms->getFolder((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_document:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getDocument((int) $value), $attribute);
else
$attribute = $dms->getDocument((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_user:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getUser((int) $value), $attribute);
else
$attribute = $dms->getUser((int) $attribute);
break;
case SeedDMS_Core_AttributeDefinition::type_group:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getGroup((int) $value), $attribute);
else
$attribute = $dms->getGroup((int) $attribute);
break;
}
if(!$attrdef->validate($attribute, $document, false)) {
$this->errormsg = getAttributeValidationError($attrdef->getValidationError(), $attrdef->getName(), $attribute);
return false;
}
if(!isset($oldattributes[$attrdefid]) || $attribute != $oldattributes[$attrdefid]->getValue()) {
if(!$document->setAttributeValue($dms->getAttributeDefinition($attrdefid), $attribute))
return false;
}
} elseif($attrdef->getMinValues() > 0) {
$this->errormsg = array("attr_min_values", array("attrname"=>$attrdef->getName()));
} elseif(isset($oldattributes[$attrdefid])) {
if(!$document->removeAttribute($dms->getAttributeDefinition($attrdefid)))
return false;
}
} else {
if($ret === false)
return false;
}
}
}
}
foreach($oldattributes as $attrdefid=>$oldattribute) {
if(!isset($attributes[$attrdefid])) {
if(!$document->removeAttribute($dms->getAttributeDefinition($attrdefid)))
return false;
}
}
$sequence = $this->params['sequence'];
if(strcasecmp($sequence, "keep")) {
if($document->setSequence($sequence)) {
} else {
return false;
}
}
/* There are various hooks in inc/inc.FulltextInit.php which will take
* care of reindexing it. They just delete the indexing date which is
* faster then indexing the folder completely
*
if($fulltextservice && ($index = $fulltextservice->Indexer()) && $document) {
$idoc = $fulltextservice->IndexedDocument($document);
if(false !== $this->callHook('preIndexDocument', $document, $idoc)) {
$lucenesearch = $fulltextservice->Search();
if($hit = $lucenesearch->getDocument((int) $document->getId())) {
$index->delete($hit->id);
}
$index->addDocument($idoc);
$index->commit();
}
}
*/
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_editDocument_failed';
return false;
}
if(false === $this->callHook('postEditDocument')) {
}
return true;
}
}

View File

@ -0,0 +1,68 @@
<?php
/**
* Implementation of EditDocumentFile controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for editing a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_EditDocumentFile extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$document = $this->params['document'];
$file = $this->params['file'];
if(false === $this->callHook('preEditDocumentFile')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preEditDocumentFile_failed';
return null;
}
$result = $this->callHook('editDocumentFile', $document);
if($result === null) {
$name = $this->params['name'];
$oldname = $file->getName();
if($oldname != $name)
if(!$file->setName($name))
return false;
$comment = $this->params['comment'];
if(($oldcomment = $file->getComment()) != $comment)
if(!$file->setComment($comment))
return false;
$version = $this->params["version"];
$oldversion = $file->getVersion();
if ($oldversion != $version)
if(!$file->setVersion($version))
return false;
$public = $this->params["public"];
$file->setPublic($public == 'true' ? 1 : 0);
if(!$this->callHook('postEditDocumentFile')) {
}
} else
return $result;
return true;
}
}

View File

@ -26,82 +26,86 @@ class SeedDMS_Controller_EditFolder extends SeedDMS_Controller_Common {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$fulltextservice = $this->params['fulltextservice'];
$folder = $this->params['folder'];
$name = $this->params['name'];
$comment = $this->params['comment'];
$sequence = $this->params['sequence'];
$attributes = $this->params['attributes'];
/* Get the document id and name before removing the document */
$foldername = $folder->getName();
$folderid = $folder->getID();
if(!$this->callHook('preEditFolder')) {
if(false === $this->callHook('preEditFolder')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preEditFolder_failed';
return null;
}
$result = $this->callHook('editFolder', $folder);
if($result === null) {
$name = $this->params['name'];
if(($oldname = $folder->getName()) != $name)
if(!$folder->setName($name))
return false;
$comment = $this->params['comment'];
if(($oldcomment = $folder->getComment()) != $comment)
if(!$folder->setComment($comment))
return false;
$attributes = $this->params['attributes'];
$oldattributes = $folder->getAttributes();
if($attributes) {
foreach($attributes as $attrdefid=>$attribute) {
$attrdef = $dms->getAttributeDefinition($attrdefid);
if($attribute) {
if(!$attrdef->validate($attribute)) {
$this->error = $attrdef->getValidationError();
switch($attrdef->getValidationError()) {
case 5:
$this->errormsg = getMLText("attr_malformed_email", array("attrname"=>$attrdef->getName(), "value"=>$attribute));
if($attrdef = $dms->getAttributeDefinition($attrdefid)) {
if(null === ($ret = $this->callHook('validateAttribute', $attrdef, $attribute))) {
if($attribute) {
switch($attrdef->getType()) {
case SeedDMS_Core_AttributeDefinition::type_date:
if(is_array($attribute))
$attribute = array_map(fn($value): string => date('Y-m-d', makeTsFromDate($value)), $attribute);
else
$attribute = date('Y-m-d', makeTsFromDate($attribute));
break;
case 4:
$this->errormsg = getMLText("attr_malformed_url", array("attrname"=>$attrdef->getName(), "value"=>$attribute));
case SeedDMS_Core_AttributeDefinition::type_folder:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getFolder((int) $value), $attribute);
else
$attribute = $dms->getFolder((int) $attribute);
break;
case 3:
$this->errormsg = getMLText("attr_no_regex_match", array("attrname"=>$attrdef->getName(), "value"=>$attribute, "regex"=>$attrdef->getRegex()));
case SeedDMS_Core_AttributeDefinition::type_document:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getDocument((int) $value), $attribute);
else
$attribute = $dms->getDocument((int) $attribute);
break;
case 2:
$this->errormsg = getMLText("attr_max_values", array("attrname"=>$attrdef->getName()));
case SeedDMS_Core_AttributeDefinition::type_user:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getUser((int) $value), $attribute);
else
$attribute = $dms->getUser((int) $attribute);
break;
case 1:
$this->errormsg = getMLText("attr_min_values", array("attrname"=>$attrdef->getName()));
case SeedDMS_Core_AttributeDefinition::type_group:
if(is_array($attribute))
$attribute = array_map(fn($value): object => $dms->getGroup((int) $value), $attribute);
else
$attribute = $dms->getGroup((int) $attribute);
break;
default:
$this->errormsg = getMLText("error_occured");
}
return false;
}
/*
if($attrdef->getRegex()) {
if(!preg_match($attrdef->getRegex(), $attribute)) {
$this->error = 1;
if(!$attrdef->validate($attribute, $folder, false)) {
$this->errormsg = getAttributeValidationText($attrdef->getValidationError(), $attrdef->getName(), $attribute);
return false;
}
}
if(is_array($attribute)) {
if($attrdef->getMinValues() > count($attribute)) {
$this->error = 2;
return false;
if(!isset($oldattributes[$attrdefid]) || $attribute != $oldattributes[$attrdefid]->getValue()) {
if(!$folder->setAttributeValue($dms->getAttributeDefinition($attrdefid), $attribute))
return false;
}
if($attrdef->getMaxValues() && $attrdef->getMaxValues() < count($attribute)) {
$this->error = 3;
} elseif($attrdef->getMinValues() > 0) {
$this->errormsg = getMLText("attr_min_values", array("attrname"=>$attrdef->getName()));
return false;
}
}
*/
if(!isset($oldattributes[$attrdefid]) || $attribute != $oldattributes[$attrdefid]->getValue()) {
if(!$folder->setAttributeValue($dms->getAttributeDefinition($attrdefid), $attribute))
} elseif(isset($oldattributes[$attrdefid])) {
if(!$folder->removeAttribute($dms->getAttributeDefinition($attrdefid)))
return false;
}
} else {
if($ret === false)
return false;
}
} elseif(isset($oldattributes[$attrdefid])) {
if(!$folder->removeAttribute($dms->getAttributeDefinition($attrdefid)))
return false;
}
}
}
@ -112,6 +116,7 @@ class SeedDMS_Controller_EditFolder extends SeedDMS_Controller_Common {
}
}
$sequence = $this->params['sequence'];
if(strcasecmp($sequence, "keep")) {
if($folder->setSequence($sequence)) {
} else {
@ -119,11 +124,31 @@ class SeedDMS_Controller_EditFolder extends SeedDMS_Controller_Common {
}
}
if(!$this->callHook('postEditFolder')) {
/* There are various hooks in inc/inc.FulltextInit.php which will take
* care of reindexing it. They just delete the indexing date which is
* faster then indexing the folder completely
*
if($fulltextservice && ($index = $fulltextservice->Indexer()) && $folder) {
$idoc = $fulltextservice->IndexedDocument($folder);
if(false !== $this->callHook('preIndexFolder', $folder, $idoc)) {
$lucenesearch = $fulltextservice->Search();
if($hit = $lucenesearch->getFolder((int) $folder->getId())) {
$index->delete($hit->id);
}
$index->addDocument($idoc);
$index->commit();
}
}
*/
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_editFolder_failed';
return false;
}
} else
return $result;
if(false === $this->callHook('postEditFolder')) {
}
return true;
}

View File

@ -0,0 +1,98 @@
<?php
/**
* Implementation of EmptyFolder controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_EmptyFolder extends SeedDMS_Controller_Common {
/* Register a callback which removes each document/folder from the fulltext index
* The callback must return null otherwise the removal will be canceled.
*/
static function removeFromIndex($arr, $object) { /* {{{ */
$fulltextservice = $arr[0];
$lucenesearch = $fulltextservice->Search();
$hit = null;
if($object->isType('document'))
$hit = $lucenesearch->getDocument($object->getID());
elseif($object->isType('folder'))
$hit = $lucenesearch->getFolder($object->getID());
if($hit) {
$index = $fulltextservice->Indexer();
$index->delete($hit->id);
$index->commit();
}
return null;
} /* }}} */
static function removePreviews($arr, $document) { /* {{{ */
$previewer = $arr[0];
$previewer->deleteDocumentPreviews($document);
return null;
} /* }}} */
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$folder = $this->params['folder'];
$fulltextservice = $this->params['fulltextservice'];
/* Get the folder id and name before removing the folder */
$foldername = $folder->getName();
$folderid = $folder->getID();
if(false === $this->callHook('preEmptyFolder')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preEmptyFolder_failed';
return false;
}
$result = $this->callHook('emptyFolder', $folder);
if($result === null) {
if($fulltextservice && ($index = $fulltextservice->Indexer())) {
/* Register a callback which is called by SeedDMS_Core when a folder
* or document is removed. The second parameter passed to this callback
* is the document or folder to be removed.
*/
$dms->addCallback('onPreRemoveDocument', 'SeedDMS_Controller_EmptyFolder::removeFromIndex', array($fulltextservice));
$dms->addCallback('onPreRemoveFolder', 'SeedDMS_Controller_EmptyFolder::removeFromIndex', array($fulltextservice));
}
/* Register another callback which removes the preview images of the document */
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir);
$dms->addCallback('onPreRemoveDocument', 'SeedDMS_Controller_EmptyFolder::removePreviews', array($previewer));
if (!$folder->emptyFolder()) {
$this->errormsg = 'error_occured';
return false;
}
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_emptyFolder_failed';
return false;
}
if(false === $this->callHook('postEmptyFolder')) {
}
return true;
} /* }}} */
}

View File

@ -0,0 +1,97 @@
<?php
/**
* Implementation of ExtensionMgr controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2018 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for managing extensions
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2018 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_ExtensionMgr extends SeedDMS_Controller_Common {
public function refresh() { /* {{{ */
$dms = $this->params['dms'];
$extmgr = $this->params['extmgr'];
$extmgr->createExtensionConf();
return true;
} /* }}} */
public function download() { /* {{{ */
$dms = $this->params['dms'];
$settings = $this->params['settings'];
$extmgr = $this->params['extmgr'];
$extname = $this->params['extname'];
$filename = $extmgr->createArchive($extname, $extmgr->getExtensionConfiguration()[$extname]['version']);
if(null === $this->callHook('download')) {
if(file_exists($filename)) {
header("Content-Transfer-Encoding: binary");
header("Content-Disposition: attachment; filename=\"" . utf8_basename($filename) . "\"; filename*=UTF-8''".utf8_basename($filename));
header("Content-Type: application/zip");
header("Cache-Control: must-revalidate");
sendFile($filename);
}
}
return true;
} /* }}} */
public function upload() { /* {{{ */
$dms = $this->params['dms'];
$extmgr = $this->params['extmgr'];
$file = $this->params['file'];
if($extmgr->updateExtension($file)) {
$extmgr->createExtensionConf();
} else {
$this->setErrorMsg($extmgr->getErrorMsg());
return false;
}
return true;
} /* }}} */
public function getlist() { /* {{{ */
$dms = $this->params['dms'];
$extmgr = $this->params['extmgr'];
$forceupdate = $this->params['forceupdate'];
$version = $this->params['version'];
if(!$extmgr->updateExtensionList($version, $forceupdate)) {
$this->errormsg = $extmgr->getErrorMsg();
return false;
}
return true;
} /* }}} */
public function toggle() { /* {{{ */
$dms = $this->params['dms'];
$settings = $this->params['settings'];
$extmgr = $this->params['extmgr'];
$extname = $this->params['extname'];
if($settings->extensionIsDisabled($extname))
$settings->enableExtension($extname);
else
$settings->disableExtension($extname);
$settings->save();
return true;
} /* }}} */
}

View File

@ -21,14 +21,256 @@
* @version Release: @package_version@
*/
class SeedDMS_Controller_Login extends SeedDMS_Controller_Common {
/**
* @var array $user set if user could be logged in
* @access protected
*/
static protected $user;
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
public function getUser() { /* {{{ */
return self::$user;
} /* }}} */
public function _finalize($user) { /* {{{ */
$settings = $this->params['settings'];
$session = $this->params['session'];
$sesstheme = $this->params['sesstheme'];
$source = isset($this->params['source']) ? $this->params['source'] : '';
$lang = $this->params['lang'];
if($this->callHook('postLogin')) {
self::$user = $user;
/* Check for other restrictions which prevent the user from login, though
* the authentication was successfull.
* Checking for a guest login the second time, makes only sense if there are
* more guest users and the login was done with a password and a user name
* unequal to 'guest'.
*/
$userid = $user->getID();
if (($userid == $settings->_guestID) && (!$settings->_enableGuestLogin)) {
$this->setErrorMsg("guest_login_disabled");
return false;
}
}
// Check if account is disabled
if($user->isDisabled()) {
$this->setErrorMsg("login_disabled_text");
return false;
}
// control admin IP address if required
if ($user->isAdmin() && ($_SERVER['REMOTE_ADDR'] != $settings->_adminIP ) && ( $settings->_adminIP != "") ){
$this->setErrorMsg("invalid_user_id");
return false;
}
if($settings->_enable2FactorAuthentication) {
if($user->getSecret()) {
$tfa = new \RobThree\Auth\TwoFactorAuth('SeedDMS');
if($tfa->verifyCode($user->getSecret(), $_POST['twofactauth']) !== true) {
$this->setErrorMsg("login_error_text");
return false;
}
}
}
/* Run any additional checks which may prevent login */
if(false === $this->callHook('restrictLogin', $user)) {
if(empty($this->errormsg))
$this->setErrorMsg("login_restrictions_apply");
return false;
}
/* Clear login failures if login was successful */
$user->clearLoginFailures();
/* Setting the theme and language and all the cookie handling is
* only done when authentication was requested from a weg page.
*/
if($source == 'web') {
// Capture the user's language and theme settings.
if ($lang) {
$user->setLanguage($lang);
} else {
$lang = $user->getLanguage();
if (strlen($lang)==0) {
$lang = $settings->_language;
$user->setLanguage($lang);
}
}
if ($sesstheme) {
$user->setTheme($sesstheme);
}
else {
$sesstheme = $user->getTheme();
/* Override the theme if the user doesn't have one or the default theme
* shall override it.
*/
if (strlen($sesstheme)==0 || !empty($settings->_overrideTheme)) {
$sesstheme = $settings->_theme;
// $user->setTheme($sesstheme);
}
}
// Delete all sessions that are more than 1 week or the configured
// cookie lifetime old. Probably not the most
// reliable place to put this check -- move to inc.Authentication.php?
if($settings->_cookieLifetime)
$lifetime = intval($settings->_cookieLifetime);
else
$lifetime = 7*86400;
if(!$session->deleteByTime($lifetime)) {
$this->setErrorMsg("error_occured");
return false;
}
if (isset($_COOKIE["mydms_session"])) {
/* This part will never be reached unless the session cookie is kept,
* but op.Logout.php deletes it. Keeping a session could be a good idea
* for retaining the clipboard data, but the user id in the session should
* be set to 0 which is not possible due to foreign key constraints.
* So for now op.Logout.php will delete the cookie as always
*/
/* Load session */
$dms_session = $_COOKIE["mydms_session"];
if(!$resArr = $session->load($dms_session)) {
/* Turn off http only cookies if jumploader is enabled */
setcookie("mydms_session", $dms_session, time()-3600, $settings->_httpRoot, null, false, true); //delete cookie
header("Location: " . $settings->_httpRoot . "out/out.Login.php?referuri=".$referuri);
exit;
} else {
$session->updateAccess($dms_session);
$session->setUser($userid);
}
} else {
// Create new session in database
if(!$id = $session->create(array('userid'=>$userid, 'theme'=>$sesstheme, 'lang'=>$lang))) {
$this->setErrorMsg("error_occured");
return false;
}
// Set the session cookie.
if($settings->_cookieLifetime)
$lifetime = time() + intval($settings->_cookieLifetime);
else
$lifetime = 0;
setcookie("mydms_session", $id, $lifetime, $settings->_httpRoot, null, false, true);
}
}
if($this->callHook('postLogin', $user)) {
}
return true;
} /* }}} */
public function run() { /* {{{ */
$dms = $this->params['dms'];
$settings = $this->params['settings'];
$session = $this->params['session'];
$authenticator = $this->params['authenticator'];
$source = isset($this->params['source']) ? $this->params['source'] : '';
$sesstheme = $this->getParam('sesstheme');
$referuri = $this->getParam('referuri');
$lang = $this->getParam('lang');
$login = $this->params['login'];
$pwd = $this->params['pwd'];
self::$user = null;
/* The preLogin hook may set self::$user which will prevent any further
* authentication process.
*/
if($this->callHook('preLogin')) {
}
$user = self::$user;
/* The password may only be empty if the guest user tries to log in.
* There is just one guest account with id $settings->_guestID which
* is allowed to log in without a password. All other guest accounts
* are treated like regular logins
*/
if(!$user && $settings->_enableGuestLogin && (int) $settings->_guestID) {
$guestUser = $dms->getUser((int) $settings->_guestID);
if($guestUser) {
if(($login != $guestUser->getLogin())) {
if ((!isset($pwd) || strlen($pwd)==0)) {
$this->setErrorMsg("login_error_text");
return false;
}
} else {
$user = $guestUser;
}
}
}
/* Run any additional authentication method. The hook must return a
* valid user, if the authentication succeeded. If it fails, it must
* return false and if the hook doesn't care at all, if must return null.
*/
if(!$user) {
$user = $this->callHook('authenticate', $source);
if(false === $user) {
if(empty($this->errormsg))
$this->setErrorMsg("authentication_failed");
return false;
}
}
/* Deprecated: Run any additional authentication implemented in a hook */
if(!is_object($user) && isset($GLOBALS['SEEDDMS_HOOKS']['authentication'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['authentication'] as $authObj) {
if(!$user && method_exists($authObj, 'authenticate')) {
$user = $authObj->authenticate($dms, $settings, $login, $pwd);
if(false === $user) {
if(empty($this->errormsg))
$this->setErrorMsg("authentication_failed");
return false;
}
}
}
}
if(!is_object($user))
$user = $authenticator->authenticate($login, $pwd);
if(0) {
/* Authenticate against LDAP server {{{ */
if (!is_object($user) && isset($settings->_ldapHost) && strlen($settings->_ldapHost)>0) {
require_once("../inc/inc.ClassLdapAuthentication.php");
$authobj = new SeedDMS_LdapAuthentication($dms, $settings);
$user = $authobj->authenticate($login, $pwd);
if(!$user) {
add_log_line('Authentication against LDAP failed for user '.$login);
}
} /* }}} */
/* Authenticate against SeedDMS database {{{ */
if(!is_object($user)) {
require_once("../inc/inc.ClassDbAuthentication.php");
$authobj = new SeedDMS_DbAuthentication($dms, $settings);
$user = $authobj->authenticate($login, $pwd);
} /* }}} */
}
/* If the user is still not authenticated, then exit with an error */
if(!is_object($user)) {
/* if counting of login failures is turned on, then increment its value */
if($settings->_loginFailure) {
$user = $dms->getUserByLogin($login);
if($user) {
$failures = $user->addLoginFailure();
if($failures >= $settings->_loginFailure)
$user->setDisabled(true);
}
}
$this->callHook('loginFailed');
$this->setErrorMsg("login_error_text");
return false;
}
return self::_finalize($user);
} /* }}} */
}

View File

@ -0,0 +1,78 @@
<?php
/**
* Implementation of PdfPreview controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for previewing a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_PdfPreview extends SeedDMS_Controller_Common {
public function run() {
global $theme;
$dms = $this->params['dms'];
$type = $this->params['type'];
$settings = $this->params['settings'];
$conversionmgr = $this->params['conversionmgr'];
switch($type) {
case "version":
$version = $this->params['version'];
$document = $this->params['document'];
if($version < 1) {
$content = $this->callHook('documentLatestContent', $document);
if($content === null)
$content = $document->getLatestContent();
} else {
$content = $this->callHook('documentContent', $document, $version);
if($content === null)
$content = $document->getContentByVersion($version);
}
if (!is_object($content)) {
$this->errormsg = 'invalid_version';
return false;
}
/* set params['content'] for compatiblity with older extensions which
* expect the content in the controller
*/
$this->params['content'] = $content;
if(null === $this->callHook('version')) {
$previewer = new SeedDMS_Preview_PdfPreviewer($settings->_cacheDir, $settings->_cmdTimeout);
if($conversionmgr)
$previewer->setConversionMgr($conversionmgr);
else
$previewer->setConverters(isset($settings->_converters['pdf']) ? $settings->_converters['pdf'] : array());
$previewer->setXsendfile($settings->_enableXsendfile);
if(!$previewer->hasPreview($content)) {
add_log_line("");
if(!$previewer->createPreview($content)) {
add_log_line("", PEAR_LOG_ERR);
}
}
if(!$previewer->hasPreview($content)) {
header('Content-Type: application/pdf');
readfile('../views/'.$theme.'/images/empty.pdf');
exit;
}
header('Content-Type: application/pdf');
$previewer->getPreview($content);
}
break;
}
return true;
}
}

View File

@ -0,0 +1,114 @@
<?php
/**
* Implementation of Preview controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for previewing a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_Preview extends SeedDMS_Controller_Common {
public function version() { /* {{{ */
$dms = $this->params['dms'];
$settings = $this->params['settings'];
$conversionmgr = $this->params['conversionmgr'];
$version = $this->params['version'];
$document = $this->params['document'];
$width = $this->params['width'];
if($version < 1) {
$content = $this->callHook('documentLatestContent', $document);
if($content === null)
$content = $document->getLatestContent();
} else {
$content = $this->callHook('documentContent', $document, $version);
if($content === null)
$content = $document->getContentByVersion($version);
}
if (!is_object($content)) {
$this->errormsg = 'invalid_version';
return false;
}
/* set params['content'] for compatiblity with older extensions which
* expect the content in the controller
*/
$this->params['content'] = $content;
if(null === $this->callHook('version')) {
if($width)
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir, $width, $settings->_cmdTimeout);
else
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir);
if($conversionmgr)
$previewer->setConversionMgr($conversionmgr);
else
$previewer->setConverters($settings->_converters['preview']);
$previewer->setXsendfile($settings->_enableXsendfile);
if(!$previewer->hasPreview($content)) {
add_log_line("");
if(!$previewer->createPreview($content)) {
add_log_line("", PEAR_LOG_ERR);
}
}
if(!$previewer->hasPreview($content)) {
return false;
}
header('Content-Type: image/png');
$previewer->getPreview($content);
return true;
}
} /* }}} */
public function file() { /* {{{ */
$dms = $this->params['dms'];
$settings = $this->params['settings'];
$conversionmgr = $this->params['conversionmgr'];
$object = $this->params['object'];
$document = $this->params['document'];
$width = $this->params['width'];
if (!is_object($object)) {
$this->errormsg = 'invalid_version';
return false;
}
if(null === $this->callHook('file')) {
if($width)
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir, $width, $settings->_cmdTimeout);
else
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir);
if($conversionmgr)
$previewer->setConversionMgr($conversionmgr);
else
$previewer->setConverters($settings->_converters['preview']);
$previewer->setXsendfile($settings->_enableXsendfile);
if(!$previewer->hasPreview($object)) {
add_log_line("");
if(!$previewer->createPreview($object)) {
add_log_line("", PEAR_LOG_ERR);
}
}
if(!$previewer->hasPreview($object)) {
return false;
}
header('Content-Type: image/png');
$previewer->getPreview($object);
return true;
}
} /* }}} */
}

View File

@ -0,0 +1,67 @@
<?php
/**
* Implementation of ReceiptDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_ReceiptDocument extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$document = $this->params['document'];
$content = $this->params['content'];
$receiptstatus = $this->params['receiptstatus'];
$receipttype = $this->params['receipttype'];
$group = $this->params['group'];
$comment = $this->params['comment'];
/* Get the document id and name before removing the document */
$docname = $document->getName();
$documentid = $document->getID();
if(!$this->callHook('preReceiptDocument', $content)) {
}
$result = $this->callHook('receiptDocument', $content);
if($result === null) {
if ($receipttype == "ind") {
if(0 > $content->setReceiptByInd($user, $user, $receiptstatus, $comment)) {
$this->error = 1;
$this->errormsg = "receipt_update_failed";
return false;
}
} elseif ($receipttype == "grp") {
if(0 > $content->setReceiptByGrp($group, $user, $receiptstatus, $comment)) {
$this->error = 1;
$this->errormsg = "receipt_update_failed";
return false;
}
}
}
if(!$this->callHook('postReceiptDocument', $content)) {
}
return true;
}
}

View File

@ -27,8 +27,7 @@ class SeedDMS_Controller_RemoveDocument extends SeedDMS_Controller_Common {
$user = $this->params['user'];
$settings = $this->params['settings'];
$document = $this->params['document'];
$index = $this->params['index'];
$indexconf = $this->params['indexconf'];
$fulltextservice = $this->params['fulltextservice'];
$folder = $document->getFolder();
@ -36,27 +35,39 @@ class SeedDMS_Controller_RemoveDocument extends SeedDMS_Controller_Common {
$docname = $document->getName();
$documentid = $document->getID();
if(!$this->callHook('preRemoveDocument')) {
if(false === $this->callHook('preRemoveDocument')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preRemoveDocument_failed';
return false;
}
$result = $this->callHook('removeDocument', $document);
if($result === null) {
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir);
$previewer->deleteDocumentPreviews($document);
if (!$document->remove()) {
if($dms->lasterror)
$this->errormsg = $dms->lasterror;
else
$this->errormsg = "error_occured";
return false;
} else {
if(!$this->callHook('postRemoveDocument')) {
}
/* Remove the document from the fulltext index */
if($index) {
$lucenesearch = new $indexconf['Search']($index);
if($hit = $lucenesearch->getDocument($documentid)) {
$index->delete($hit->id);
$index->commit();
}
}
}
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_removeDocument_failed';
return false;
}
/* Remove the document from the fulltext index */
if($fulltextservice && ($index = $fulltextservice->Indexer())) {
$lucenesearch = $fulltextservice->Search();
if($hit = $lucenesearch->getDocument($documentid)) {
$index->delete($hit->id);
$index->commit();
}
}
if(false === $this->callHook('postRemoveDocument')) {
}
return true;

View File

@ -22,50 +22,77 @@
*/
class SeedDMS_Controller_RemoveFolder extends SeedDMS_Controller_Common {
public function run() {
/* Register a callback which removes each document/folder from the fulltext index
* The callback must return null otherwise the removal will be canceled.
*/
static function removeFromIndex($arr, $object) { /* {{{ */
$fulltextservice = $arr[0];
$lucenesearch = $fulltextservice->Search();
$hit = null;
if($object->isType('document'))
$hit = $lucenesearch->getDocument($object->getID());
elseif($object->isType('folder'))
$hit = $lucenesearch->getFolder($object->getID());
if($hit) {
$index = $fulltextservice->Indexer();
$index->delete($hit->id);
$index->commit();
}
return null;
} /* }}} */
static function removePreviews($arr, $document) { /* {{{ */
$previewer = $arr[0];
$previewer->deleteDocumentPreviews($document);
return null;
} /* }}} */
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$folder = $this->params['folder'];
$index = $this->params['index'];
$indexconf = $this->params['indexconf'];
$fulltextservice = $this->params['fulltextservice'];
/* Get the document id and name before removing the document */
/* Get the folder id and name before removing the folder */
$foldername = $folder->getName();
$folderid = $folder->getID();
if(!$this->callHook('preRemoveFolder')) {
if(false === $this->callHook('preRemoveFolder')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preRemoveFolder_failed';
return false;
}
$result = $this->callHook('removeFolder', $folder);
if($result === null) {
/* Register a callback which removes each document from the fulltext index
* The callback must return true other the removal will be canceled.
*/
function removeFromIndex($arr, $document) {
$index = $arr[0];
$indexconf = $arr[1];
$lucenesearch = new $indexconf['Search']($index);
if($hit = $lucenesearch->getDocument($document->getID())) {
$index->delete($hit->id);
$index->commit();
}
return true;
if($fulltextservice && ($index = $fulltextservice->Indexer())) {
/* Register a callback which is called by SeedDMS_Core when a folder
* or document is removed. The second parameter passed to this callback
* is the document or folder to be removed.
*/
$dms->addCallback('onPreRemoveDocument', 'SeedDMS_Controller_RemoveFolder::removeFromIndex', array($fulltextservice));
$dms->addCallback('onPreRemoveFolder', 'SeedDMS_Controller_RemoveFolder::removeFromIndex', array($fulltextservice));
}
if($index)
$dms->setCallback('onPreRemoveDocument', 'removeFromIndex', array($index, $indexconf));
/* Register another callback which removes the preview images of the document */
$previewer = new SeedDMS_Preview_Previewer($settings->_cacheDir);
$dms->addCallback('onPreRemoveDocument', 'SeedDMS_Controller_RemoveFolder::removePreviews', array($previewer));
if (!$folder->remove()) {
$this->errormsg = 'error_occured';
return false;
} else {
if(!$this->callHook('postRemoveFolder')) {
}
}
} else
return $result;
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_removeFolder_failed';
return false;
}
if(false === $this->callHook('postRemoveFolder')) {
}
return true;
}
} /* }}} */
}

View File

@ -0,0 +1,131 @@
<?php
/**
* Implementation of ReviewDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2023 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for reviewing a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2023 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_ReviewDocument extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$content = $this->params['content'];
$reviewtype = $this->params['type'];
$reviewstatus = $this->params['status'];
$reviewcomment = $this->params['comment'];
$reviewfile = $this->params['file'];
$reviewgroup = $this->params['group'];
$overallStatus = $content->getStatus();
$this->oldstatus = $overallStatus['status'];
$this->newstatus = $this->oldstatus;
if(!$this->callHook('preReviewDocument', $content)) {
}
$result = $this->callHook('reviewDocument', $content);
if($result === null) {
if ($reviewtype == "ind") {
$reviewLogID = $content->setReviewByInd($user, $user, $reviewstatus, $reviewcomment, $reviewfile);
} elseif($reviewtype == "grp") {
$reviewLogID = $content->setReviewByGrp($reviewgroup, $user, $reviewstatus, $reviewcomment, $reviewfile);
} else {
$this->errormsg = "review_wrong_type";
return false;
}
if($reviewLogID === false || 0 > $reviewLogID) {
$this->errormsg = "review_update_failed";
return false;
}
}
$result = $this->callHook('reviewUpdateDocumentStatus', $content);
if($result === null) {
if($reviewstatus == -1) {
$this->newstatus = S_REJECTED;
if($content->setStatus(S_REJECTED, $reviewcomment, $user)) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['reviewDocument'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['reviewDocument'] as $hookObj) {
if (method_exists($hookObj, 'postReviewDocument')) {
$hookObj->postReviewDocument(null, $content, S_REJECTED);
}
}
}
}
} else {
$docReviewStatus = $content->getReviewStatus();
if (is_bool($docReviewStatus) && !$docReviewStatus) {
$this->errormsg = "cannot_retrieve_review_snapshot";
return false;
}
$reviewCT = 0;
$reviewTotal = 0;
foreach ($docReviewStatus as $drstat) {
if ($drstat["status"] == 1) {
$reviewCT++;
}
if ($drstat["status"] != -2) {
$reviewTotal++;
}
}
// If all reviews have been received and there are no rejections, retrieve a
// count of the approvals required for this document.
if ($reviewCT == $reviewTotal) {
$docApprovalStatus = $content->getApprovalStatus();
if (is_bool($docApprovalStatus) && !$docApprovalStatus) {
$this->errormsg = "cannot_retrieve_approval_snapshot";
return false;
}
$approvalCT = 0;
$approvalTotal = 0;
foreach($docApprovalStatus as $dastat) {
if($dastat["status"] == 1) {
$approvalCT++;
}
if($dastat["status"] != -2) {
$approvalTotal++;
}
}
// If the approvals received is less than the approvals total, then
// change status to pending approval.
if($approvalCT < $approvalTotal) {
$this->newstatus = S_DRAFT_APP;
} else {
// Otherwise, change the status to released.
$this->newstatus = S_RELEASED;
}
if($content->setStatus($this->newstatus, getMLText("automatic_status_update"), $user)) {
if(isset($GLOBALS['SEEDDMS_HOOKS']['reviewDocument'])) {
foreach($GLOBALS['SEEDDMS_HOOKS']['reviewDocument'] as $hookObj) {
if (method_exists($hookObj, 'postReviewDocument')) {
$hookObj->postReviewDocument(null, $content, $this->newstatus);
}
}
}
}
}
}
}
if(!$this->callHook('postReviewDocument', $content)) {
}
return true;
} /* }}} */
}

View File

@ -0,0 +1,143 @@
<?php
/**
* Implementation of ReviseDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_ReviseDocument extends SeedDMS_Controller_Common {
public $oldstatus;
public $newstatus;
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$document = $this->params['document'];
$content = $this->params['content'];
$revisionstatus = $this->params['revisionstatus'];
$revisiontype = $this->params['revisiontype'];
$group = $this->params['group'];
$comment = $this->params['comment'];
$overallStatus = $content->getStatus();
$this->oldstatus = $overallStatus['status'];
$this->newstatus = $this->oldstatus;
/* if set to true, a single reject will reject the doc. If set to false
* all revisions will be collected first and afterwards the doc is rejected
* if one has rejected it. So in the very end the doc is rejected, but
* doc remainѕ in S_IN_REVISION until all have revised the doc
*/
$onevotereject = $this->params['onevotereject'];
/* Get the document id and name before removing the document */
$docname = $document->getName();
$documentid = $document->getID();
if(!$this->callHook('preReviseDocument', $content)) {
}
$result = $this->callHook('reviseDocument', $content);
if($result === null) {
if ($revisiontype == "ind") {
if(0 > $content->setRevision($user, $user, $revisionstatus, $comment)) {
$this->error = 1;
$this->errormsg = "revision_update_failed";
return false;
}
} elseif ($revisiontype == "grp") {
if(0 > $content->setRevision($group, $user, $revisionstatus, $comment)) {
$this->error = 1;
$this->errormsg = $ll."revision_update_failed";
return false;
}
}
}
/* Check to see if the overall status for the document version needs to be
* updated.
*/
$result = $this->callHook('reviseUpdateDocumentStatus', $content);
if($result === null) {
if ($onevotereject && $revisionstatus == -1){
$this->newstatus = S_NEEDS_CORRECTION;
if(!$content->setStatus(S_NEEDS_CORRECTION,$comment,$user)) {
$this->error = 1;
$this->errormsg = "revision_update_failed";
return false;
}
} else {
$docRevisionStatus = $content->getRevisionStatus();
if (is_bool($docRevisionStatus) && !$docRevisionStatus) {
$this->error = 1;
$this->errormsg = "cannot_retrieve_revision_snapshot";
return false;
}
$revisionok = 0;
$revisionnotok = 0;
$revisionTotal = 0;
foreach ($docRevisionStatus as $drstat) {
if ($drstat["status"] == 1) {
$revisionok++;
}
if ($drstat["status"] == -1) {
$revisionnotok++;
}
if ($drstat["status"] != -2) {
$revisionTotal++;
}
}
// If all revisions have been done and there are no rejections,
// then release the document. If all revisions have been done but some
// of them were rejections then documents needs correction.
// Otherwise put it back into revision workflow
if ($revisionok == $revisionTotal) {
$this->newstatus=S_RELEASED;
if ($content->finishRevision($user, $this->newstatus, 'Finished revision workflow', getMLText("automatic_status_update"))) {
if(!$this->callHook('finishReviseDocument', $content)) {
}
}
} elseif (($revisionok + $revisionnotok) == $revisionTotal) {
$this->newstatus=S_NEEDS_CORRECTION;
// if ($content->finishRevision($user, $this->newstatus, 'Finished revision workflow', getMLText("automatic_status_update"))) {
if(!$content->setStatus($this->newstatus,$comment,$user)) {
$this->error = 1;
$this->errormsg = "revision_update_failed";
return false;
}
} else {
$this->newstatus=S_IN_REVISION;
if(!$content->setStatus($this->newstatus,$comment,$user)) {
$this->error = 1;
$this->errormsg = "revision_update_failed";
return false;
}
}
}
}
if(!$this->callHook('postReviseDocument', $content)) {
}
return true;
}
}

View File

@ -0,0 +1,56 @@
<?php
/**
* Implementation of Role manager controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for role manager
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_RoleMgr extends SeedDMS_Controller_Common {
public function run() {
}
public function addrole() {
$dms = $this->params['dms'];
$name = $this->params['name'];
$role = $this->params['role'];
return($dms->addRole($name, $role));
}
public function removerole() {
$roleobj = $this->params['roleobj'];
return $roleobj->remove();
}
public function editrole() {
$dms = $this->params['dms'];
$name = $this->params['name'];
$role = $this->params['role'];
$roleobj = $this->params['roleobj'];
$noaccess = $this->params['noaccess'];
if ($roleobj->getName() != $name)
$roleobj->setName($name);
if ($roleobj->getRole() != $role)
$roleobj->setRole($role);
$roleobj->setNoAccess($noaccess);
return true;
}
}

View File

@ -0,0 +1,53 @@
<?php
/**
* Implementation of TransferDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2017 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2017 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_TransferDocument extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$document = $this->params['document'];
$newuser = $this->params['newuser'];
$folder = $document->getFolder();
if(false === $this->callHook('preTransferDocument')) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preTransferDocument_failed';
return null;
}
$result = $this->callHook('transferDocument', $document);
if($result === null) {
if (!$document->transferToUser($newuser)) {
return false;
} else {
if(false === $this->callHook('postTransferDocument')) {
}
}
}
return true;
}
}

View File

@ -0,0 +1,68 @@
<?php
/**
* Implementation of Transmittal Download controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a transmittal
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_TransmittalDownload extends SeedDMS_Controller_Common {
public function run() {
$dms = $this->params['dms'];
$user = $this->params['user'];
$transmittal = $this->params['transmittal'];
$items = $transmittal->getItems();
if($items) {
include("../inc/inc.ClassDownloadMgr.php");
$downmgr = new SeedDMS_Download_Mgr();
if($extraheader = $this->callHook('extraDownloadHeader'))
$downmgr->addHeader($extraheader);
foreach($items as $item) {
$content = $item->getContent();
$document = $content->getDocument();
if ($document->getAccessMode($user) >= M_READ) {
$extracols = $this->callHook('extraDownloadColumns', $document);
$filename = $this->callHook('filenameDownloadItem', $content);
if($rawcontent = $this->callHook('rawcontent', $content)) {
$downmgr->addItem($content, $extracols, $rawcontent, $filename);
} else
$downmgr->addItem($content, $extracols, null, $filename);
}
}
$filename = tempnam(sys_get_temp_dir(), 'transmittal-download-');
if($filename) {
if($downmgr->createArchive($filename)) {
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . filesize($filename));
header("Content-Disposition: attachment; filename=\"export-" .date('Y-m-d') . ".zip\"");
header("Content-Type: application/zip");
header("Cache-Control: must-revalidate");
readfile($filename);
} else {
}
unlink($filename);
}
exit;
}
}
}

View File

@ -0,0 +1,114 @@
<?php
/**
* Implementation of UpdateDocument controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for downloading a document
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_UpdateDocument extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$name = $this->getParam('name');
$comment = $this->getParam('comment');
/* Call preUpdateDocument early, because it might need to modify some
* of the parameters.
*/
if(false === $this->callHook('preUpdateDocument', $this->params['document'])) {
if(empty($this->errormsg))
$this->errormsg = 'hook_preUpdateDocument_failed';
return null;
}
$comment = $this->getParam('comment');
$dms = $this->params['dms'];
$user = $this->params['user'];
$document = $this->params['document'];
$settings = $this->params['settings'];
$fulltextservice = $this->params['fulltextservice'];
$folder = $this->params['folder'];
$userfiletmp = $this->getParam('userfiletmp');
$userfilename = $this->getParam('userfilename');
$filetype = $this->getParam('filetype');
$userfiletype = $this->getParam('userfiletype');
$reviewers = $this->getParam('reviewers');
$approvers = $this->getParam('approvers');
$recipients = $this->getParam('recipients');
$reqversion = $this->getParam('reqversion');
$comment = $this->getParam('comment');
$attributes = $this->getParam('attributes');
$workflow = $this->getParam('workflow');
$maxsizeforfulltext = $this->getParam('maxsizeforfulltext');
$initialdocumentstatus = $this->getParam('initialdocumentstatus');
$content = $this->callHook('updateDocument');
if($content === null) {
$filesize = SeedDMS_Core_File::fileSize($userfiletmp);
if($contentResult=$document->addContent($comment, $user, $userfiletmp, utf8_basename($userfilename), $filetype, $userfiletype, $reviewers, $approvers, 0, $attributes, $workflow, $initialdocumentstatus)) {
if ($this->hasParam('expires')) {
if($document->setExpires($this->getParam('expires'))) {
} else {
}
}
if(!empty($recipients['i'])) {
foreach($recipients['i'] as $uid) {
if($u = $dms->getUser($uid)) {
$res = $contentResult->getContent()->addIndRecipient($u, $user);
}
}
}
if(!empty($recipients['g'])) {
foreach($recipients['g'] as $gid) {
if($g = $dms->getGroup($gid)) {
$res = $contentResult->getContent()->addGrpRecipient($g, $user);
}
}
}
$content = $contentResult->getContent();
} else {
$this->errormsg = 'error_update_document';
$result = false;
}
} elseif($result === false) {
if(empty($this->errormsg))
$this->errormsg = 'hook_updateDocument_failed';
return false;
}
if($fulltextservice && ($index = $fulltextservice->Indexer()) && $content) {
$idoc = $fulltextservice->IndexedDocument($document);
if(false !== $this->callHook('preIndexDocument', $document, $idoc)) {
$lucenesearch = $fulltextservice->Search();
if($hit = $lucenesearch->getDocument((int) $document->getId())) {
$index->delete($hit->id);
}
$index->addDocument($idoc);
$index->commit();
}
}
if(false === $this->callHook('postUpdateDocument', $document, $content)) {
}
return $content;
} /* }}} */
}

View File

@ -0,0 +1,61 @@
<?php
/**
* Implementation of UserListCsv controller
*
* @category DMS
* @package SeedDMS
* @license GPL 2
* @version @version@
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
/**
* Class which does the busines logic for export a list of all users as csv
*
* @category DMS
* @package SeedDMS
* @author Uwe Steinmann <uwe@steinmann.cx>
* @copyright Copyright (C) 2010-2013 Uwe Steinmann
* @version Release: @package_version@
*/
class SeedDMS_Controller_UserListCsv extends SeedDMS_Controller_Common {
public function run() { /* {{{ */
$dms = $this->params['dms'];
$user = $this->params['user'];
$settings = $this->params['settings'];
$group = $this->params['group'];
if($group) {
$allUsers = $group->getUsers();
} else {
$allUsers = $dms->getAllUsers($settings->_sortUsersInList);
}
$m = 0;
foreach($allUsers as $u) {
$m = max($m, count($u->getGroups()));
}
$fp = fopen("php://temp/maxmemory", 'r+');
$header = array('login', 'passenc', 'name', 'email', 'comment', 'role', 'quota', 'homefolder', 'hidden', 'disabled');
for($i=1; $i<=$m; $i++)
$header[] = 'group_'.$i;
fputcsv($fp, $header, ';');
foreach($allUsers as $u) {
$data = array($u->getLogin(), $u->getPwd(), $u->getFullName(), $u->getEmail(), $u->getComment(), $u->isAdmin() ? 'admin' : ($u->isGuest() ? 'guest' : 'user'), $u->getQuota(), $u->getHomeFolder() ? $u->getHomeFolder() : '', $u->isHidden() ? '1' : 0, $u->isDisabled() ? '1' : '0');
foreach($u->getGroups() as $g)
$data[] = $g->getName();
fputcsv($fp, $data, ';');
}
$efilename = 'userlist-'.date('Ymd-His').'.csv';
header("Content-Type: text/csv");
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
// header("Content-Length: " . filesize($name));
fseek($fp, 0);
fpassthru($fp);
fclose($fp);
return true;
} /* }}} */
}

View File

@ -26,25 +26,46 @@ class SeedDMS_Controller_ViewOnline extends SeedDMS_Controller_Common {
$dms = $this->params['dms'];
$settings = $this->params['settings'];
$type = $this->params['type'];
$content = $this->params['content'];
$document = $content->getDocument();
switch($type) {
case "version":
if(!$this->callHook('version')) {
header("Content-Type: " . $content->getMimeType());
if (!isset($settings->_viewOnlineFileTypes) || !is_array($settings->_viewOnlineFileTypes) || !in_array(strtolower($content->getFileType()), $settings->_viewOnlineFileTypes)) {
header("Content-Disposition: filename=\"" . $document->getName().$content->getFileType()) . "\"";
}
header("Content-Length: " . filesize($dms->contentDir . $content->getPath()));
header("Expires: 0");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
$version = $this->params['version'];
$document = $this->params['document'];
if($version < 1) {
$content = $this->callHook('documentLatestContent', $document);
if($content === null)
$content = $document->getLatestContent();
} else {
$content = $this->callHook('documentContent', $document, $version);
if($content === null)
$content = $document->getContentByVersion($version);
}
if (!is_object($content)) {
$this->errormsg = 'invalid_version';
return false;
}
/* set params['content'] for compatiblity with older extensions which
* expect the content in the controller
*/
$this->params['content'] = $content;
if(null === $this->callHook('version')) {
if(file_exists($dms->contentDir . $content->getPath())) {
header("Content-Type: " . $content->getMimeType());
$efilename = rawurlencode($content->getOriginalFileName());
if (!isset($settings->_viewOnlineFileTypes) || !is_array($settings->_viewOnlineFileTypes) || !in_array(strtolower($content->getFileType()), $settings->_viewOnlineFileTypes)) {
header("Content-Disposition: attachment; filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
} else {
header("Content-Disposition: filename=\"" . $efilename . "\"; filename*=UTF-8''".$efilename);
}
header("Cache-Control: must-revalidate");
header("ETag: ".$content->getChecksum());
ob_clean();
readfile($dms->contentDir . $content->getPath());
sendFile($dms->contentDir.$content->getPath());
}
}
break;
}
return true;
}
}

View File

@ -1,3 +1,3 @@
#!/bin/sh
# This command retrieves the strings that need to be translated
sgrep -o "%r\n" '"getMLText(\"" __ "\""' */*.php|sort|uniq -c
sgrep -o "%r\n" '"getMLText(\"" __ "\""' */*.php views/bootstrap/*.php |sort|uniq -c

View File

@ -1,7 +1,7 @@
<?php
/* Determine all languages keys used in the php files */
$output = array();
if(exec('sgrep -o "%r\n" \'"tMLText(\"" __ "\""\' */*.php|sort|uniq -c', &$output)) {
if(exec('sgrep -o "%r\n" \'"tMLText(\"" __ "\""\' */*.php views/bootstrap/*.php|sort|uniq -c', $output)) {
$allkeys = array();
foreach($output as $line) {
$data = explode(' ', trim($line));
@ -9,8 +9,9 @@ if(exec('sgrep -o "%r\n" \'"tMLText(\"" __ "\""\' */*.php|sort|uniq -c', &$outpu
}
}
$languages = array('ar_EG', 'bg_BG', 'ca_ES', 'cs_CZ', 'de_DE', 'en_GB', 'es_ES', 'fr_FR', 'hu_HU', 'it_IT', 'nl_NL', 'pl_PL', 'pt_BR', 'ro_RO', 'ru_RU', 'sk_SK', 'sv_SE', 'tr_TR', 'zh_CN', 'zh_TW');
/* Reading languages */
foreach(array('English', 'German', 'Italian', 'Slovak', 'Czech') as $lang) {
foreach($languages as $lang) {
include('languages/'.$lang.'/lang.inc');
ksort($text);
$langarr[$lang] = $text;
@ -20,7 +21,7 @@ foreach(array('English', 'German', 'Italian', 'Slovak', 'Czech') as $lang) {
echo "List of missing keys\n";
echo "-----------------------------\n";
foreach(array_keys($allkeys) as $key) {
foreach(array('English', 'German', 'Italian', 'Slovak', 'Czech') as $lang) {
foreach($languages as $lang) {
if(!isset($langarr[$lang][$key])) {
echo "Missing key '".$key."' in language ".$lang."\n";
}
@ -31,7 +32,7 @@ echo "\n";
/* Check for phrases not used anymore */
echo "List of superflous keys\n";
echo "-----------------------------\n";
foreach(array('English', 'German', 'Italian', 'Slovak', 'Czech') as $lang) {
foreach($languages as $lang) {
$n = 0;
foreach($langarr[$lang] as $key=>$value) {
if(!isset($allkeys[$key])) {
@ -45,8 +46,8 @@ foreach(array('English', 'German', 'Italian', 'Slovak', 'Czech') as $lang) {
exit;
$fpout = fopen('php://stdout', 'w');
foreach(array_keys($langarr['English']) as $key) {
$data = array($key, $langarr['English'][$key], $langarr['German'][$key]);
foreach(array_keys($langarr['en_GB']) as $key) {
$data = array($key, $langarr['en_GB'][$key], $langarr['de_DE'][$key]);
fputcsv($fpout, $data);
}
?>

206
doc/README.Converters Normal file
View File

@ -0,0 +1,206 @@
Commands for converting documents
----------------------------------
This file contains commands for converting different document types
into
* text (for fulltext search)
* png (for preview images)
* pdf (for pdf documents)
Such conversions may not necessarily output an excact equivalent of
the input file, but outputs a suitable representation, e.g.
converting an mp3 file into text may output the metadata or even the
lyrics of the song. Converting it into a preview image may result
in a picture of the album cover.
Please note, that when ever a command outputs anything to stderr,
this will considered as a failure of the command. Most command line
programs have a parameter (.e.g. `-q`) to suppress such an output.
If you run php-fpm you may encounter problems with charsets based on
UTF-8. Programms like `catdoc` read LANG from the environment to
set the correct encoding of the output. php-fpm often clears the
environment and programms like `catdoc` will not longer output any
UTF-8 chars. In such a case you may want to set `clear_env=no` in
php-fpm's configuration. On Debian this is done in the file
`/etc/php/<php version>/fpm/pool.d/www.conf`. Search for `clear_env`.
Conversion to text for fulltext search
=======================================
text/plain
text/csv
application/csv
cat '%s'
application/pdf
pdftotext -q -nopgbrk %s - | sed -e 's/ [a-zA-Z0-9.]\{1\} / /g' -e 's/[0-9.]//g'
If pdftotext takes too long on large document you may want to pass parameter
-l to specify the last page to be converted. -q is for suppressing error/warnings
send to stderr
mutool draw -F txt -q -N -o - %s
application/vnd.openxmlformats-officedocument.wordprocessingml.document
docx2txt '%s' -
application/msword
catdoc %s
application/vnd.oasis.opendocument.text
odt2txt %s
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
xlsx2csv -d tab %s
application/vnd.ms-excel
xls2csv -d tab %s
text/html
html2text %s
Many office formats
unoconv -d document -f txt --stdout '%s'
Apache Tika is another option for creating plain text from various document
types. Just use curl to send the document to your tika server and get the
plain text in return.
curl -s -T '%s' http://localhost:9998/tika --header 'Accept: text/plain'
Conversion to pdf for pdf preview
==================================
text/plain
text/csv
application/csv
application/vnd.oasis.opendocument.text
application/msword
application/vnd.wordperfect
text/rtf
unoconv -d document -f pdf --stdout -v '%f' > '%o'
image/png
image/jpg
image/jpeg
convert -density 300 '%f' 'pdf:%o'
image/svg+xml
cairosvg -f pdf -o '%o' '%f'
application/vnd.ms-powerpoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
application/vnd.oasis.opendocument.presentation
unoconv -d presentation -f pdf --stdout -v '%f' > '%o'
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.oasis.opendocument.spreadsheet
unoconv -d spreadsheet -f pdf --stdout -v '%f' > '%o'
message/rfc822
java -jar emailconverter-2.5.3-all.jar '%f' -o '%o'
The emailconverter can be obtained from https://github.com/nickrussler/email-to-pdf-converter
It requires wkhtmltopdf which is part of debian.
text/plain
iconv -c -f utf-8 -t latin1 '%f' | a2ps -1 -q -a1 -R -B -o - - | ps2pdf - -
The parameter `-q` is important because a2ps sends some statistical
data to stderr, which makes SeedDMS believe the command has failed.
application/x-xopp
xournalpp -p "%o" "%f"
Converting from application/x-xopp to pdf only works if the xopp file
does not use a pdf document as a background, because this pdf is not
stored in the xopp fіle.
Conversion to png for preview images
=====================================
If you have problems running convert on PDF documents then read this page
https://askubuntu.com/questions/1081895/trouble-with-batch-conversion-of-png-to-pdf-using-convert
It basically instructs you to comment out the line
<policy domain="coder" rights="none" pattern="PDF" />
in /etc/ImageMagick-6/policy.xml
convert determines the format of the converted image from the extension of
the output filename. SeedDMS usually sets a propper extension when running
the command, but nevertheless it is good practice to explicitly set the output
format by prefixing the output filename with 'png:'. This is of course always
needed if the output goes to stdout.
image/jpg
image/jpeg
image/png
convert -resize %wx '%f' 'png:%o'
image/svg+xml
cairosvg -f png --output-width %w -o '%o' '%f'
text/plain
convert -density 100 -resize %wx 'text:%f[0]' 'png:%o'
application/pdf
gs -dBATCH -dNOPAUSE -sDEVICE=png16m -dPDFFitPage -r72x72 -sOutputFile=- -dFirstPage=1 -dLastPage=1 -q '%f' | convert -resize %wx png:- '%o'
convert -density 100 -resize %wx '%f[0]' 'png:%o'
mutool draw -F png -w %w -q -N -o '%o' '%f' 1
pdftocairo '%f' -png -singlefile -scale-to-x %w -scale-to-y -1 - > '%o'
pdftocairo needs to output to stdout because the output file name passed
to pdftocairo will be suffixed with png
application/postscript
convert -density 100 -resize %wx '%f[0]' 'png:%o'
text/plain
iconv -c -f utf-8 -t latin1 '%f' | a2ps -1 -q -a1 -R -B -o - - | gs -dBATCH -dNOPAUSE -sDEVICE=png16m -dFirstPage=1 -dLastPage=1 -dPDFFitPage -r72x72 -sOutputFile=- -q - | convert -resize %wx png:- 'png:%o'
On Linux systems you will have to set the desired value in /etc/papersize for a2ps
e.g. a4, or letter. Unfortunately, a2ps cannot process utf-8 encoded files. That's
why the input needs to be recoded with iconv or recode.
application/msword
application/vnd.oasis.opendocument.spreadsheet
application/vnd.oasis.opendocument.text
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
application/vnd.ms-excel
application/vnd.openxmlformats-officedocument.wordprocessingml.document
text/rtf
application/vnd.ms-powerpoint
text/csv
application/csv
application/vnd.wordperfect
unoconv -d document -e PageRange=1 -f pdf --stdout -v '%f' | gs -dBATCH -dNOPAUSE -sDEVICE=pngalpha -dPDFFitPage -r72x72 -sOutputFile=- -dFirstPage=1 -dLastPage=1 -q - | convert -resize %wx png:- 'png:%o'
video/webm
video/mp4
This will take 12th frame of a video and converts into a png. It requires
ffmpeg to be installed.
convert -resize %wx "%f[12]" "png:%o"
You may as well use ffmpeg right away
ffmpeg -i "%f" -ss 00:00:02 -frames:v 1 -loglevel quiet -vf scale=%w:-1 -f apng "%o"
audio/mpeg
sox "%f" -n spectrogram -x 600 -Y 550 -r -l -o - | convert -resize %wx png:- "png:%o"
application/x-xopp
xournalpp -i "%o" --export-png-width=%w "%f"
Converting from application/x-xopp to png only works if the xopp file
does not use a pdf document as a background, because this pdf is not
stored in the xopp fіle.

95
doc/README.Dist-Layout Normal file
View File

@ -0,0 +1,95 @@
Layout of installation
=======================
SeedDMS allows various kinds of installations with very individual layouts
on disc. The proposed layout till version 5.1.6 was as the following:
seeddms51x ---+--- data
|
+--- pear
|
+--- seeddms-5.1.x
|
+--- www -> seeddms-5.1.x
'data' contains all document files, the sqlite database (if used), the full text
data, the log files, and the cached preview images.
'pear' contains all PEAR packages including the four SeedDMS packages SeedDMS_Core,
SeedDMS_Lucene, SeedDMS_Preview, SeedDMS_SQLiteFTS.
'seeddms-5.1.x' are the sources of seeddms and 'www' being a link on it.
This layout has disadvantages when updating the source of seeddms, because
the directories 'conf' and 'ext' had to be moved from 'seeddms-5.1.x' to
'seeddms-5.1.(x+1)'. 'conf' was also visible over the web unless it was
protected by an .htaccess file. The .htaccess file has been shipped, but it
is far better to keep senѕitive data out of the document root in the first
place.
The new layout mostly retains that structure but uses more soft links to place
the local data outside of 'seeddms-5.1.x' which makes updating a lot easier
and moves the configuration out of the document root.
As MS Windows does not support soft links, this change will only apply to Linux/Unix
systems. MS Windows users just skip all the soft links and set seeddms-5.1.x
as the document root. The new layout is the following:
seeddms51x ---+--- data --+-- log
| |
| +-- cache
| |
| +-- 1048576
| |
| +-- ...
|
+--- pear
|
+--- conf
|
+--- seeddms-5.1.x
|
+--- seeddms -> seeddms-5.1.x
|
+--- www --+-- inc -> ../seeddms/inc
|
+-- op -> ../seeddms/op
|
+-- out -> ../seeddms/out
|
+-- views -> ../seeddms/views
|
+-- controllers -> ../seeddms/controllers
|
+-- styles -> ../seeddms/styles
|
+-- languages -> ../seeddms/languages
|
+-- webdav -> ../seeddms/webdav
|
+-- restapi -> ../seeddms/restapi
|
+-- pdfviewer -> ../seeddms/pdfviewer
|
+-- index.php -> ../seeddms/index.php
|
+-- ext
In order to convert to this layout you need to do the following in the seeddms51x
directory (replace the 'x' in '5.1.x' with the correct number):
ln -s seeddms-5.1.x seeddms
mv www/conf .
mv seeddms-5.1.x/ext www
cd www
rm inc op out views controllers styles languages webdav restapi pdfviewer index.php
ln -s ../seeddms/inc
ln -s ../seeddms/op
ln -s ../seeddms/out
ln -s ../seeddms/views
ln -s ../seeddms/controllers
ln -s ../seeddms/styles
ln -s ../seeddms/languages
ln -s ../seeddms/webdav
ln -s ../seeddms/restapi
ln -s ../seeddms/pdfviewer
ln -s ../seeddms/index.php

View File

@ -1,5 +1,5 @@
Extensions in SeedDMS
====================
=====================
Since verson 5.0.0 SeedDMS can be extended by extensions. Extensions
can hook up functions into certain operations, e.g.

18
doc/README.Fail2ban Normal file
View File

@ -0,0 +1,18 @@
Adding authentication failure check for fail2ban
=================================================
You will have to use 5.1.10 for this to work.
Add a filter /etc/fail2ban/filter.d/seeddms.conf with the content
[Definition]
failregex = \[error\] -- \(<HOST>\) op.Login login failed
then configure a new jail in /etc/fail2ban/jail.d/seeddms.conf
[seeddms]
enabled = yes
port = http,https
filter = seeddms
logpath = /home/www-data/seeddms-demo/data/log/*.log

216
doc/README.Hooks Normal file
View File

@ -0,0 +1,216 @@
Hooks
======
Attention: the api for hooks isn't stable yet!
Hooks in SeedDMS are user definied methods which are being called by
the application. The SeedDMS Core also has hooks which are being
called from the core itself. They are not subject of this document.
The SeedDMS application distinguishes between
* view hooks and
* controller hooks
view hooks usually return some html output which is send to the browser
and either replaces the default output or adds additional information.
A view hooks which returns null will be considered as not being called
at all. If the hook is expected to return something, it must be either
a string or an array of strings.
controller hooks implement additional functions which either replace
existing functions or add new ones. If such a hook returns null then
this is treated as if the hook was not called. If the hook returns
false it will prevent other hooks implementing the same function from
being called. All other return values will not stop other hooks from
being called. A controller hook may set the error msg of the calling
controller.
Currently available controller hooks
------------------------------------
AddDocument::preAddDocument
Called before a new document will be added
If the hook returns false the document will not be added and the error msg
set by the hook will be issued. This hook is called before the parameters
are fetch from the controller. Therefore it is possible to modify them
in this hook.
AddDocument::addDocument
Called when the new document is to be added
This hook can be used to replace the code for adding a document. In
that case it must return a document or false. If
the hook does not return null, the original code for adding the
document will be skipped.
AddDocument::postAddDocument
Called after a new document has been added
This hook will be called after a document was added, both by the
original code and within the hook addDocument. The hook is not called
if adding the document failed. The document will be passed to the hook.
The return value of this hook should always be null.
AddDocument::preIndexDocument
Called before a new document will be indexed
This hook will be called after the document was added and before
the hook postAddDocument. The parameters passed
are the document and the indexed document. Returning false will prevent
the document from being indexed.
EditDocument::editDocumentAttribute
Called for each custom document attribute
This hook will be called for each custom attribute to ouput the form entry.
The parameters passed are the document and the attribute definition.
Returning an empty array will prevent the attribute from being show.
Returning an array with two elements will pass those element to the formField
method. A returned string will be output as is.
EditDocument::addDocumentAttributes
Called after all custom document attributes has been output
This hook will be called right after the document attributes have been shown.
The return value is either an array with two elements or a string.
The string will be output as is, the array will be passed to the method formField.
UpdateDocument::preUpdateDocument
Called before a new document will be updated
If the hook returns false the document will not be updated and the error msg
set by the hook will be issued. This hook is called before the parameters
are fetch from the controller. Therefore it is possible to modify them
in this hook.
UpdateDocument::updateDocument
Called when the document is to be updated
This hook can be used to replace the code for updating a document. In
that case it must return a document content or false. If
the hook returns null, the original code for adding the
document will be executed.
UpdateDocument::postUpdateDocument
Called after a new document has been updated
This hook will be called after a document was updated, both by the
original code and within the hook addDocument.
The document and content will be passed to the hook.
The return value of this hook should always be null.
UpdateDocument::preIndexDocument
Called before an updated document will be indexed
This hook will be called after the document was updated and before
the hook postUpdateDocument. The parameters passed
are the document and the indexed document. Returning false will prevent
the document from being indexed.
RemoveDocument::preRemoveDocument
Called before a document will be removed
If the hook returns false the document will not be removed and the error msg
set by the hook will be issued.
RemoveDocument::removeDocument
Called when the document is to be removed
If the hook returns null the
regular document removal will happen.
RemoveDocument::postRemoveDocument
Called after a document was removed
This hook will be called after a document was removed, both by the
original code and within the hook removeDocument. It will not be
called if removing the document failed.
The return value of this hook should always be null.
RemoveFolder::preRemoveFolder
Called before a folder will be removed
If the hook returns false the folder will not be removed and the error msg
set by the hook will be issued.
RemoveFolder::removeFolder
Called for removing the folder.
If the hook returns null the regular folder removal will happen.
Keep in mind, that the hook function must also update the
full text index.
RemoveFolder::postRemoveFolder
Called after a document was removed
This hook will be called after a folder was removed, both by the
original code and within the hook removeFolder. It will not be
called if removing the folder failed.
The return value of this hook should always be null.
EditFolder::preEditFolder
Called before a folder will be updated
If the hook returns false the folder will not be updated and the error msg
set by the hook will be issued. This hook is called before the parameters
are fetch from the controller. Therefore it is possible to modify them
in this hook.
EditFolder::EditFolder
Called when the folder is to be updated
This hook can be used to replace the code for updating a folder. If
the hook returns null, the original code for adding the
document will be executed.
EditFolder::postEditFolder
Called after a folder was updated
This hook will be called after a folder was updated, both by the
original code and within the hook removeFolder. It will not be
called if updating the folder failed.
The return value of this hook should always be null.
TransferDocument::preTransferDocument
TransferDocument::transferDocument
TransferDocument::postTransferDocument
ViewOnline::version
Called when a document is downloaded for online view
Download::version
Called when a document is downloaded for saving on disk
Login::preLogin
Called before a user is logged in
Login::authenticate
Called before any other authentication is done
If this hooks returns a user, no other authentication will be done.
If it returns false, the login fails as well.
Login::restrictLogin
Called right before the user is considered to be logged in
This hook can contain a last check which keeps the user from being
logged in. Return false to stop login. The authenticated user is
passed to the hook.
Login::postLogin
Called after user in fully logged in
The logged in user is passed to the hook.
Login::loginFailed
Called if authentication failed
Logout::postLogout
Called after user is logged out
IndexDocument::preIndexDocument
Currently available view hooks
------------------------------------

View File

@ -1,76 +1,271 @@
SeedDMS Installation Instructions
==================================
NOTE FOR VERSION 4.0.0
======================
Since version 4.0.0 of SeedDMS installation has been simplified.
ADOdb is no longer needed because the database access is done by
PDO.
IMPORTANT NOTE ABOUT TRANSLATIONS
=================================
As you can see SeedDMS provides a lot of languages but we are not professional
translators and therefore rely on user contributions.
If your language is not present in the login panel:
- copy the language/English/ folder and rename it appropriately for your
language
- open the file `languages/your_lang/lang.inc` and translate it
- open the help file `languages/your_lang/help.htm` and translate it too
If you see some wrong or not translated messages:
- open the file `languages/your_lang/lang.inc`
- search the wrong messages and translate them
if you have some "error getting text":
- search the string in the english file `languages/english/lang.inc`
- copy to your language file `languages/your_lang/lang.inc`
- translate it
If there is no help in your language:
- Copy the English help `english/help.htm` file to your language folder
- translate it
If you apply any changes to the language files please send them to the
SeedDMS developers <info@seeddms.org>.
http://www.iana.org/assignments/language-subtag-registry has a list of
all language and country codes.
REQUIREMENTS
============
SeedDMS is a web-based application written in PHP. It uses the MySQL RDBMS
or sqlite3 to manage the documents that were uploaded into the application.
SeedDMS is a web-based application written in PHP. It uses MySQL,
SQLite3 or PostgreSQL to manage the documents that were uploaded into
the application. Be aware that PostgreSQL is not very well tested.
Make sure you have PHP 5.3 and MySQL 5 or higher installed. SeedDMS
will work with PHP running in CGI-mode as well as running as module under
apache. If you want to give your users the opportunity of uploading passport
photos you have to enable the gd-library (but the rest of SeedDMS will
work without gd, too).
Make sure you have PHP >= 8.2 and MySQL 5 or higher installed. SeedDMS
will work with PHP running in CGI-mode as well as running as a module under
apache.
Here is a detailed list of requirements:
1. A web server with at least php 5.3
2. A mysql database, unless you use sqlite
3. The php installation must have support for `pdo_mysql` or `pdo_sqlite`,
`php_gd2`, `php_mbstring`
4. Various command line programms to convert files into text for indexing
pdftotext, catdoc, xls2csv or scconvert, cat, id3 (optional, only needed
1. A web server with at least php 8.2
2. A mysql database, unless you use SQLite
3. The php installation must have support for `pdo_mysql`, `pdo_pgsql` or `pdo_sqlite`,
`php_gd2`, `php_mbstring`, `php_xml`
4. Depending on the configuration the extensions `php_ldap`, `php_mycrypt`,
`php_gmp`, `php_libsodium`, `php_imagick` must be installed
5. Various command line programms to convert files into text for indexing
pdftotext, catdoc, xls2csv or scconvert, cat, id3 (all optional, only needed
for fulltext search)
5. ImageMagic (the convert program) is needed for creating preview images
6. The Zend Framework (version 1) (optional, only needed for fulltext search)
7. The pear Log package
8. The pear HTTP_WebDAV_Server package (optional, only need for webdav)
9. SLIM RestApi
10. FeedWriter from https://github.com/mibe/FeedWriter
6. ImageMagic (the convert program) is needed for creating preview images
7. A bunch of packages from Packagist which all ship with the seeddms-quickstart
archive
It is highly recommended to use the quickstart archive
(seeddms-quickstart-x.y.z.tar.gz) because it includes all software packages
(excluding those listed above in item 1. to 6.) for running SeedDMS. Hence,
you still need a working web server with PHP and in addition a mysql or
PostgreSQL database unless you intend to use SQLite.
QUICKSTART
===========
The fastes way to get SeedDMS running is by unpacking the archive
`seeddms-quickstart-x.y.z.tar.gz` on your webserver.
Let's assume you use seeddms-quickstart-5.1.x.tar.gz.
It will create a new directory `seeddms51x` containing everything you
need to run SeedDMS with SQLite3. Even if you intend to use mysql in the
long run it is advisable to first set up SeedDMS with SQLite3 and than
just switch the database.
Setting up the web server
--------------------------
First of all you will need to set up your web server. Here, we will only focus
on apache running on Debian/GNU Linux.
Either let the document root of your web server point to the directory `www`
below `seeddms51x`
DocumentRoot /var/www/seeddms51x/www
or add an alias. For apache this could be like
Alias /seeddms51x /<some directory>/seeddms51x/www
or even
Alias /mydms /<some directory>/seeddms51x/www
Do not set the DocumentRoot or Alias to
the `seeddms51x` directory, because this will allow anybody to access
your `data` and `conf` directory if it is not secured by a .htaccess file.
This is a major security risk.
Make sure that the subdirectory `seeddms51x/data` and the configuration file
`seeddms51/conf/settings.xml` is writeable by your web server. All other
directories can be just readable by your web server, though it is advisable
to even protect them from writing.
Adjusting the configuration of SeedDMS
---------------------------------------
In the next step you need to adjust the configuration file in
`seeddms51x/conf/settings.xml`. Open the file in your favorite text editor
and search for `/home/wwww-data`. Replace that part in any path found with your
base directory where you placed seeddms51x (e.g. /var/www/html/seeddms51x).
Alternatively, you can open the installer with a browser at
http://your-domain/install (if the document root points to
`seeddms51x/www`) or http://your-domain/seeddms51x/install/ (if you have
set an alias like described above).
It will first ask to unlock the installer by creating a file
`ENABLE_INSTALL_TOOL` in the diretory `seeddms51x/conf/`. Change all paths by
replacing `/home/www-data` with your base directory where you put seeddms51x.
Set httpRoot to `/` (if the document root points to `seeddms51x/www`) or
`/seeddms51x` (if you have set an alias `seeddms51x` like described above).
Once your configuration is done,
save it, remove the file `ENABLE_INSTALL_TOOL` and point your browser to
http://your-domain/ or http://your-domain/seeddms51x.
SECURITY CONSIDERATIONS
=======================
You should always access your SeedDMS installation through
a secured https connection, unless you precisly know what you are doing.
SeedDMS ships an `.htaccess` file which already has some common security
http headers set. In order for them to apply you need to activate the
headers module. On Debian/GNU Linux this can be done with
```
a2enmod headers
```
Protect directories with data or configuration
---------------------------------------------
A crucial point when setting up SeedDMS is the propper placement of the
data directory. Do not place it below your document root of your web server!
If you do so, there is a potential way that
attackers can easily access your documents with a regular web browser.
If you cannot place the data directory outside of document root, then either
restrict access to it with an appropriate `.htaccess` file like the following.
The SeedDMS quickstart archive already includes this `.htaccess` file.
```
# line below if for Apache 2.4
<ifModule mod_authz_core.c>
Require all denied
</ifModule>
# line below if for Apache 2.2
<ifModule !mod_authz_core.c>
deny from all
Satisfy All
</ifModule>
# section for Apache 2.2 and 2.4
<ifModule mod_autoindex.c>
IndexIgnore *
</ifModule>
```
Alternatively or in addition you can change
the `contentOffsetDir` in `settings.xml` to something random, but ensure it
is still a valid directory name. If you change contentOffsetDir, then
do not forget to move `data/1048576` to `data/<your random name>`.
Also turn off directory listings in your apache configuration for the
`data` directory.
BEFORE YOU START
Securing the configuration file
---------------------------------
The configuration can be fully controlled by any administrator of SeedDMS. This
can be crucial for those configuration options where external commands are
being configured, e.g. for the full text engine or creating preview images.
As a hoster you may not want this configuration options being set by a SeedDMS
administrator. For now you need to make the configuration file `settings.xml`
unwritable for the web server. In that case the SeedDMS administrator can
still see the configuration but will not be able to change it.
Since version 5.1.23 and 6.0.16 of SeedDMS there is some preliminary way to
hide parts of the configuration which makes them unchangeable for the
SeedDMS administrator.
Setting a new encryption key
------------------------------
Though this is not related to setting up the web server environment, it is
important to recreated the encryption key in SeedDMS once SeedDMS is running.
Just open the settings in the admin tools and empty the currently set
encryption key on the tab 'System'. Save the settings and check the key again.
It should be a new one. Save the settings again. The encryption key is
mainly used for creating tokens in HTML forms to prevent CSRF attacks.
UPGRADING FROM A PREVIOUS VERSION OF SEEDDMS
=============================================
As SeedDMS is a smooth continuation of LetoDMS there is no difference
in updating from LetoDMS or SeedDMS.
You have basically two choices to update SeedDMS:
- you install a fresh version of SeedDMS and copy over your data and configuration
- you replace the software in your current installation with a new version
The first option is less interuptive but requires to be able to set up a second
temporary SeedDMS installation, which may not be possible, e.g. because of storage
limitations. It can be the only option if you change servers.
The first update procedure is only needed if the version changes on the minor
or major version number. Changes in the subminor version number will never
include database changes and consequently it is sufficient to use the existing
data directory and database with the new version. Choose the second update
option in this case.
In both cases make sure to have a backup of your data directory, configuration
and database.
Fresh installation and take over of data
-----------------------------------------
The first update option is to set up a new instance of SeedDMS and once
that is running take over the data from your current (old) instance.
1. just do a fresh installation somewhere on your web server and make sure it
works. It is fine to use
SQLite for it, even if your final installation uses MySQL.
2. replace the data directory in your new installation with the data directory
from your current installation. Depending on the size of that directory (and
whether the new installation is on a new server or the old server) you
may either copy, move or place a symbolic link. The content of the data directory
will not be changed during the update. Its even perfectly save to
browse through your documents and download them after finishing the
update. The data directory will not be modified until you actually modify
documents.
3. copy over the configuration `settings.xml` into your new installation. This will
effectively make your new installation use the data from your old installation,
because all paths are still pointing to the old installation.
4. if you use mysql you could as well make a copy of the database to make sure
your current database remains unchanged.
5. modify the `settings.xml` to fit the environment of the new installation.
This will mostly be the
httpRoot, the paths to the installation directory and possibly the database
connection.
6. create a file `ENABLE_INSTALL_TOOL` in the `conf` directory and point
your browser at http://hostname/seeddms/install
The install tool will detect the version of your current SeedDMS installation
and run the required database updates.
If you update just within the last version number (e.g. from 5.1.6 to 5.1.9),
this step
will not be required because such a subminor version update will never
contain database updates.
Upgrading your current installation
-----------------------------------
Instead of setting up a new installation, you may as well replace the php files
in your current installation with new versions from the quickstart archive.
1. get the SeedDMS quickstart archive `seeddms-quickstart-x.y.z.tar.gz` and
unpack it somewhere on your disc.
2. copy the directory `seeddms-x.y.z` from the unpacked archive into your
current installation and make the link `seeddms` point to this new directory.
3. copy the directory `pear` from the unpacked archive into your current
installation, replacing the existing directory. Make a backup of `pear` before
the replacement if you want to ensure to be able to go back to your old version.
4. you may compare your `conf/settings.xml` file with the shipped version
`conf/settings.xml.template` for new parameters. If you don't do it, the next
time you save the configuration the default values will be used.
5. create a file `ENABLE_INSTALL_TOOL` in the `conf` directory and point
your browser at http://hostname/seeddms/install
The install tool will detect the version of your current SeedDMS installation
and run the required database updates.
If you update just within the last version number (e.g. from 5.1.6 to 5.1.9),
this step
will not be required because such a subminor version update will never
contain database updates.
THE LONG STORY
================
This section is mostly outdated but may still contain some valueable
information for those trying to understand the installation process.
If you intend to run a single instance of SeedDMS, you are most likely
better off by using the quickstart archive as described above. This
section is mostly for users who wants to know more about the internals
of SeedDMS or do packaging for a software distribution, which already
ships some of the additional software SeedDMS requires.
SeedDMS has changed its installation process with version 3.0.0. This gives
you many more options in how to install SeedDMS. First of all, SeedDMS was
split into a core package (`SeedDMS_Core-<version>.tar.gz`) and the web
@ -104,7 +299,7 @@ on your web server.
-------------------
A common source of problems in the past have been the additional software
packages needed by SeedDMS. Those are the PEAR packages `Log` and
packages needed by SeedDMS. Those are the PEAR packages `Log`, `Mail` and
`HTTP_WebDAV_Server` as well as the `Zend_Framework`.
If you have full access to the server running a Linux distribution it is
recommended to install those with your package manager if they are provided
@ -150,12 +345,12 @@ http://localhost/seeddms/
* Point you web browser towards http://hostname/seeddms/install/
* Follow the instructions on the page and create a file `ENABLE_INSTALL_TOOL`
in the conf directory.
in the `conf` directory.
* Create a data directory with the thre sub directories staging, cache
and lucene.
Make sure the data directory is either *not* below your document root
or is protected with a .htaccess file against web access. The data directory
or is protected with a .htaccess file against web access. The data directory
needs to be writable by the web server.
* Clicking on 'Start installation' will show a form with all necessary
@ -176,9 +371,9 @@ full text search engine support, you will also need to unpack
* Unpack all the files in a public web server folder. If you're working on
a host machine your provider will tell you where to upload the files.
If possible, do not unpack the pear packages `SeedDMS_Core-<version>.tgz`,
`SeedDMS_Preview-<version>.tgz` and
`SeedDMS_Preview-<version>.tgz` and
`SeedDMS_Lucene-<version>.tgz` below the document root of your web server.
Choose a temporary folder, as the files will be moved in a second.
Choose a temporary folder, as the files will be moved in a second.
Create a directory e.g. `pear` in the same directory where you unpacked
seeddms and create a sub directory SeedDMS. Move the content except for the
@ -200,33 +395,36 @@ full text search engine support, you will also need to unpack
Since they are pear packages they can also be installed with
> pear install SeedDMS_Core-<version>.tgz
> pear install SeedDMS_Lucene-<version>.tgz
> pear install SeedDMS_Preview-<version>.tgz
> pear install SeedDMS_Core-<version>.tgz
> pear install SeedDMS_Lucene-<version>.tgz
> pear install SeedDMS_Preview-<version>.tgz
* The PEAR package Log is also needed. It can be downloaded from
http://pear.php.net/package/Log. Either install it as a pear package
or place it under your new directory 'pear'
* The PEAR packages Log and Mail are also needed. They can be downloaded from
http://pear.php.net/package/Log and http://pear.php.net/package/Mail.
Either install it as a pear package
or place it under your new directory 'pear'
> pear
> Log
> Log.php
> Log
> Log.php
> Mail
> Mail.php
* The package HTTP_WebDAV_Server is also needed. It can be downloaded from
http://pear.php.net/package/HTTP_WebDAV_Server. Either install it as a
pear package or place it under your new directory 'pear'
pear package or place it under your new directory 'pear'
> pear
> HTTP
> WebDAV
> Server
> Server.php
> WebDAV
> Server
> Server.php
If you run PHP in CGI mode, you also need to place a .htaccess file
in the webdav directory with the following content.
in the webdav directory with the following content.
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
RewriteEngine on
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
* Create a data folder somewhere on your web server including the subdirectories
staging, cache and lucene and make sure they are writable by your web server,
@ -237,48 +435,29 @@ or should be protected by a .htaccess file. The folder containing the
configuration (settings.xml) must be protected by an .htaccess file like the
following.
> <Files ~ "^settings\.xml">
> Order allow,deny
> Deny from all
> </Files>
> <Files ~ "^settings\.xml">
> Order allow,deny
> Deny from all
> </Files>
If you install SeedDMS for the first time continue with the database setup.
* Create a new database on your web server
e.g. for mysql:
create database seeddms;
create database seeddms;
* Create a new user for the database with all permissions on the new database
e.g. for mysql:
grant all privileges on seeddms.* to seeddms@localhost identified by 'secret';
(replace 'secret' with you own password)
grant all privileges on seeddms.* to seeddms@localhost identified by 'secret';
(replace 'secret' with you own password)
* Optionally import `create_tables-innodb.sql` in the new database
e.g. for mysql:
> cat create_tables-innodb.sql | mysql -useeddms -p seeddms
> cat create_tables-innodb.sql | mysql -useeddms -p seeddms
This step can also be done by the install tool.
* create a file `ENABLE_INSTALL_TOOL` in the conf directory and point
* create a file `ENABLE_INSTALL_TOOL` in the `conf` directory and point
your browser at http://hostname/seeddms/install
NOTE: UPDATING FROM A PREVIOUS VERSION OR SEEDDMS
As SeedDMS is a smooth continuation of LetoDMS there is no difference
in updating from LetoDMS or SeedDMS
- make a backup archive of your installation folder
- make a backup archive of your data folder
- dump your current database
- extract the SeedDMS archive to your web server
- edit the conf/settings.xml file to match your previuos settings
(you can even replace the file with your own one eventualy adding by hand
the missing new parameters)
- create a file `ENABLE_INSTALL_TOOL` in the conf directory and point
your browser at http://hostname/seeddms/install
The install tool will detect the version of your current SeedDMS installation
and run the required database updates.
3. Email Notification
---------------------
@ -376,21 +555,47 @@ settings in conf/settings.xml or run the installation tool.
Point your web browser towards the index.php file in your new instance.
NOTE FOR VERSION 4.0.0
======================
Since version 4.0.0 of SeedDMS installation has been simplified.
ADOdb is no longer needed because the database access is done by
PDO.
IMPORTANT NOTE ABOUT TRANSLATIONS
=================================
As you can see SeedDMS provides a lot of languages but we are not professional
translators and therefore rely on user contributions.
If your language is not present in the login panel:
- copy the language/English/ folder and rename it appropriately for your
language
- open the file `languages/your_lang/lang.inc` and translate it
- open the help file `languages/your_lang/help.htm` and translate it too
If you see some wrong or not translated messages:
- open the file `languages/your_lang/lang.inc`
- search the wrong messages and translate them
if you have some "error getting text":
- search the string in the english file `languages/english/lang.inc`
- copy to your language file `languages/your_lang/lang.inc`
- translate it
If there is no help in your language:
- Copy the English help `english/help.htm` file to your language folder
- translate it
If you apply any changes to the language files please send them to the
SeedDMS developers <info@seeddms.org>.
http://www.iana.org/assignments/language-subtag-registry has a list of
all language and country codes.
LICENSING
=========
SeedDMS is licensed unter GPLv2
Jumploader is licensed as stated by the author on th web site
<http://jumploader.com/>
-- Taken from web site of jumploader ---
You may use this software for free, however, you should not:
- Decompile binaries.
- Alter or replace class and/or resource files.
- Redistribute this software under different name or authority.
If you would like a customized version, I can do this for a fee. Don't hesitate to contact me with questions or comments.
Uwe Steinmann <info@seeddms.org>

66
doc/README.Ldap Normal file
View File

@ -0,0 +1,66 @@
Ldap configuration
===================
The configuration for authentication against an ldap server needs to be done
in the `settings.xml` file using a text editor. It cannot be edited from within the
web gui.
SeedDMS supports ldap authentication using an Active Directory (AD) or a
regular ldap server, e.g. openldap
The location of the ldap server is specified in two parameters: `host` and
`port`. `host` can be either a plain hostname or an ldap URI, including the
protocol, the host and optionally the port, e.g. ldap://localhost:389. In case
of an URI the port in the configuration must remain empty.
The authentication itself is a two step process which differs, depending on how
to bind to the server. If the configuration sets 'bindDN' and 'bindPW', those
values will be used for a initial non anonymous bind to the ldap server
otherwise an anonymous bind is executed.
After the initial bind, a ldap search for either 'uid=<username>' (ldap) or
'sAMAccountName=<username>' (AD) below basedn is done. The purpose of this
search is to retrieve a working bindDN which is then used to actually
authenticate the user. In case of an anonymous first bind the search will
likely fail and the bindDN for the second bind will be either
'uid=<username>,<basedn>' (ldap) or '<username>@<accountDomainName>' (AD). If
the search succeeds the bindDN will be taken from the user's data in the ldap
server. This bindDN will be used for a second bind using the users password.
If the second bind succeeds the user could be successfully authenticated.
The data from the ldap server can be used to create an account in SeedDMS
if the user trying to login does not exist yet, but was able to authenticate.
This will only be done if 'authentication->restricted' in the configuration
is set to false. In that case the common name (cn) and email address is taken
from ldap. An already existing account in SeedDMS will be updated with data from
ldap.
Since version 5.1.35 and 6.0.28 the field name of the email address in ldap
can be set with the attribute `mailField`. If it is not set it defaults to `mail`.
Since version 5.1.34 and 6.0.27 the groups of a user stored in the ldap directory
can be synchronised with the groups in SeedDMS. The ldap field storing
the groups can be configured with the attribute `mailField`. This will add
new groups in SeedDMS and aѕsign them to the user.
Examples
---------
Anonymous bind to openldap on localhost, port 389
- type = "ldap"
- baseDN = "ou=users,dc=mycompany,dc=de"
- host = "ldap://localhost"
During authentication as user 'admin' the following steps are executed
1. connect to ldap server at localhost:389
2. do an anonymous bind
3. search for 'uid=admin' below basedn
4.1. if search succeeds use the dn from the user
4.2. if search fails use 'uid=admin,<basedn>' as dn
5. do a non anonymous bind with dn and password entered by user
6. if step 5. succeeds the use is authenticated
If bindDN and bindPW are specified in the configuration, the second step
will be a non anonymous bind.

29
doc/README.Mail Normal file
View File

@ -0,0 +1,29 @@
Mail configuration
===================
SeedDMS uses email to
* notify users about changes of documents and folders
* send instructions during the password forgotten process
Configuring email in SeedDMS is simple on systems running a
local mail server, because this is the default in SeedDMS and
no additional configuration is needed. On Linux you should
consider running a local mail server, which relais the mails
to your outgoing mail server. If you cannot run a local mail
server, you can still configure SeedDMS to use an outgoing
SMTP server. Below are some examples on how to configure
SeedDMS for different hosters.
1&1
---------
smtp server: ssl://smtp.1und1.de
smtp port: 465
Gmail
---------
smtp server: ssl://smtp.gmail.com
smtp port: 465
note: since June, 2022 you will no longer be able to turn on 'Less secure app access' in your google account. Instead you need to turn on 2-Step Verification first and than
create an App Password (https://support.google.com/accounts/answer/185833)

View File

@ -3,7 +3,17 @@ Notifications
Most changes made to documents or folders in SeedDMS can be monitored
by the users. Notifications are send by email if a user or group
has subscribed it.
has subscribed to it. Setting up email is often troublesome, if you
are not running SeedDMS on a Linux server with a running mail server.
In that case you do not have to fill out any of the email settings
except for the From address ('Send from' on the 'System' tab of the
configuration). Mail is send by PHP's mail() function. If the SMTP
host in the configuration is filled out, SeedDMS will use the PEAR
Mail package for delivering mail to the configured server. If you
also fill out the SMTP user, authentication with the SMTP server
will also be done. Some servers like smtp.gmail.com may still complain
about an invalid authentification. You should then check in your
google account if less secure apps are allowed.
The following notifications are send to all users and groups having
registered a notification for the event:
@ -96,6 +106,11 @@ op/op.ReviewDocument.php
* document was reviewed
subscribers of the document
op/op.SetReviewersApprovers.php
* Reviewers/approvers were added/deleted
subscribers of the document
uploader of version
op/op.RewindWorkflow.php
* Workflow was rewind to beginning
subscribers of the document
@ -108,7 +123,31 @@ op/op.TriggerWorkflow.php
* Workflow transition was triggered
subscribers of the document
op/op.UpdateDocument2.php
op/op.UpdateDocument.php
* document was updated
subscribers of the document
op/op.ReceiptDocument.php
* document was received
subscribers of the document
op/op.ReviseDocument.php
* document was revised
subscribers of the document
op/op.SetRevisors.php
* Revisors were added/deleted
subscribers of the document
uploader of version
revisor
op/op.ReceiptDocument.php
* document was receipt
subscribers of the document
op/op.SetRecipients.php
* Recipients were added/deleted
subscribers of the document
uploader of version
recipient

55
doc/README.Restapi.md Normal file
View File

@ -0,0 +1,55 @@
# How to access the Rest API
Below are various examples on how to access the Rest API. Some of them
start by calling the `login` endpoint which creates a cookie based
session which is stored in a local file named `cookies.txt`.
The authentication is done with the user `admin`. You may use any other
user as well.
You may as well pass `-H Authorization: <api key>` instead of `-b cookies.txt`
to `curl` after setting the api key in the configuration of your SeedDMS.
Of course, in that case you will not need the initial call of the `login`
endpoint.
The examples often use the `jq` programm for formating the returned
json data.
## Initial test
The `echo` endpoint does not require any authentication.
```
#!/bin/sh
BASEURL="https://your-domain/"
curl --silent -X GET ${BASEURL}restapi/index.php/echo/test | jq '.'
```
## Getting list of users
```
#!/bin/sh
BASEURL="https://your-domain/"
curl --silent -F "user=admin" -F "pass=admin" -b cookies.txt -c cookies.txt ${BASEURL}restapi/index.php/login | jq
curl --silent -b cookies.txt -X GET "${BASEURL}restapi/index.php/users" | jq '.'
```
## Getting meta data of a folder
```
#!/bin/sh
BASEURL="https://your-domain/"
curl --silent -H "Authorization: <api key>" -X GET "${BASEURL}restapi/index.php/folder/1" | jq '.'
```
## Notes
Make sure to encode the data properly when using restapi functions which uses
put. If you use curl with PHP, then encode the data as the following
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));

26
doc/README.Scheduler.md Normal file
View File

@ -0,0 +1,26 @@
Scheduler
==========
The scheduler in SeedDMS manages frequently run tasks. It is very similar
to regular unix cron jobs. A task in SeedDMS is an instanciation of a task
class which itself is defined by an extension or SeedDMS itself.
SeedDMS has some predefined classes e.g. core::expireddocs.
In order for tasks to be runnalbe, a user `cli_scheduler` must exists in
SeedDMS.
All tasks are executed by a single cronjob in the directory `utils`
> */5 * * * * /home/www-data/seeddms60x/seeddms/utils/seeddms-schedulercli --mode=run
Please keep in mind, that the php interpreter used for the cronjob may be
different from the php interpreter used für the web application. Hence, two
different php.ini files might be used. php and the php extensions may differ as
well. This can cause some extensions to be disabled and consequently some task
classes are not defined.
`utils/seeddms-schedulercli` can also be run on the command line. If you
do that, run it with the same system user used for the web server. On Debian
this is www-data. Hence run it like
sudo -u www-data utils/seeddms-schedulercli --mode=list

23
doc/README.Swagger Normal file
View File

@ -0,0 +1,23 @@
Swagger
========
Swagger is used to describe a rest api. SeedDMS ships a swagger.yaml file
in the restapi directory. You can load this file into a swagger editor, e.g.
http://petstore.swagger.io/ or http://editor.swagger.io/
You may as well set up your own swagger-ui installation as described at
https://medium.com/@tatianaensslin/how-to-add-swagger-ui-to-php-server-code-f1610c01dc03
Your apache needs to have the module `header` enabled, because some HTTP headers
are set when the file `swagger.yaml` is accessed by the editor.
Currently, the swagger.yaml shipped with SeedDMS uses still swagger 2.0
If you are using php-fpm you will have to ensure that files with
extension .yaml are allowed to be parsed. Extend the
`security.limit_extensions` in the pool configuration by `.yaml`. Also
check the contents of the file `.htaccess` in directory `restapi`. It
by default sets the handler for php to `application/x-httpd-php` which
uses the apache module of php. If you would like to use php-fpm
instead, then set it to
SetHandler "proxy:unix:/var/run/php/php8.2-fpm.sock|fcgi://localhost/"

View File

@ -1,14 +1,16 @@
*********************************************
How to set up SeedDMS Preview on Synology NAS
How to set up a Synology NAS to run SeedDMS
*********************************************
**This guide has been updated and tested to work on Synology DSM 6.0. It should as well work with older DMS versions, however some steps or paths may be different.**
Introduction
############
SeedDMS provides a function creating a preview of each document which is displayed on the document page.
SeedDMS is a feature rich and lightweight document management system. Unfortunately, some of the tools which are part of many Linux distros, have not been made available by
Synology and therefore require additional steps to bring them to your Synology.
Synology stations do not support the creation of the previews by default due to a missing Ghostscript implementation. Therefore
loading of a document page can use a lot of time because SeedDMS tries to create the missing preview images each time the document
page is being loaded.
This guide covers the installation of the required tools to have all features of SeedDMS available. It does not cover the installation of 3rd party programs (like OPKG). It
does not cover the installation of SeedDMS as well, please refer to the separate README.Install.md file.
Prerequisites
#############
@ -20,7 +22,7 @@ In order to complete the steps outlined below, you must be able to carry out the
To complete the installation, the following prerequisites on your Synology must be met:
* IPKG or OPKG (OPKG preferred) installed
* Pear Package SeedDMS_Preview already installed
* PEAR installed from the Synology Package Center
Installation and configuration
##############################
@ -31,8 +33,8 @@ must be done on the terminal.
Install Ghostscript
***************************
The first step is to install Ghostscript to make ImageMagick capable of converting PDF files to images. Use IPKG or OPKG to complete this
step.
The first step is to install Ghostscript to make ImageMagick capable of converting PDF files to images which are then used for previews.
Use IPKG or OPKG to complete this step.
Make Ghostscript available to PHP
*****************************************
@ -42,21 +44,10 @@ use phpinfo and find **_SERVER["PATH"]**. If you can't find /opt inside, PHP can
update the paths or just make a symlink.
To create the symlink, cd to /usr/bin and type *ln -s /opt/bin/gs gs*. Verify the created symlink.
Fix Ghostscript package bug
****************************************
Unfortunately the version delivered by OPKG has a bug, making Ghostscript failing to work properly. The bug requries fixing at the time
of the writing are the following:
* Resource path pointing to a wrong version (9.10 instead of 9.16)
First, fix the resource path. Go to /opt/bin and find **gs** in there. Open the file with VI. Change the GS_LIB path from */opt/share/ghostscript/9.10/Resource*
to */opt/share/ghostscript/9.16/Resource*. This will now allow Ghostscript to find it's files in the proper path.
Fix ImageMagick
********************
Not only Ghostscript is affected by bugs, the default configuration files are missing. Unfortunately some work is required here as well.
Not only Ghostscript is affected by bugs, the default configuration files for ImageMagick are missing. Unfortunately some work is required here as well.
To check where ImageMagick looks for it's files, invoke the command *convert -debug configure logo: null:*. You will see some paths shown, these
are the paths where ImageMagic tries to locate it's configuration files. The first path shown will point to */usr/share/ImageMagick-6* followed by the
@ -99,11 +90,74 @@ If you want to test Ghostcript as well, invoke the follwing command:
This command should go through without any errors and as well output a png file.
If the tests above are successful, you are ready to use SeedDMS Preview. Go to your SeedDMS Installation and open a folder. For the first test you
may take a folder with less files in it. Be patient while the previews are generated. You may check the process using *top* on the terminal.
If the tests above are successful, you are ready to use SeedDMS Preview.
At the end your document page should show the previews like shown below:
Install PEAR packages
*********************
.. figure:: preview.png
:alt: Document previews
:scale: 75%
This step is similar to the installation on other Linux distros. Once you installed PEAR from the Package Center you can call it from the command line.
The following packages are required by SeedDMS:
* Auth_SASL
* HTTP_WebDAV_Server
* Log
* Mail
* Net_SMTP
Install these packages, then go to the next step.
Install additional packages
***************************
SeedDMS uses other small tools (for example the Slim Framework) to add some additional functionality. At the moment (Version 5.0.x) the list contains the following
tools:
* FeedWriter
* Slim
* parsedown
Copy the tools to a folder on your Synology. Using the console, copy the tools to **/volume1/@appstore/PEAR**.
Copy the whole folders as they are and do not change the structure. As the PEAR directory is already within
the PHP include path, no further configuration is required to get them working.
Fulltext Index
***************
If you do not intend to use the fulltext index, please skip this section and continue with the readme file to
install SeedDMS.
To create the fulltext index, SeedDMS needs to be able to convert the documents to text files to read the terms
out. Pdftotext is already available by default, so we just need to take care of the Microsoft Office formats.
For this guide, the following two tools have been selected:
docx2txt available from http://docx2txt.sourceforge.net/
xlsx2csv available from http://github.com/dilshod/xlsx2csv
Copy both files to your Synology.
**docx2txt**
This program runs without any kind of installation. Create a folder on your Synology and extract the contents of the archive.
In SeedDMS you can now configure the setting for Word documents to the path where you extracted the files in the step before. Point
to the docx2txt.sh file and you are done.
To make the configuration more simple you can add a symlink in **/usr/bin**. This will allow you to call docx2txt from any location of your Synology.
The symlink must point to docx2txt.sh to get it working. In SeedDMS you can now just configure docx2txt followed by any additional commands.
**xlsx2csv**
This one must be installed to get it working. The installation script is written in Python, so you need to get Python installed on your Synology.
As the version available from Synology does not properly work (you can't install PIP) it is strongly recommended to use OPKG or IPKG to install Python.
Install Python and PIP. Once completed, point to the directory where you copied xlsx2csv. Unpack the archive, then execute the installer (pip install xlsx2csv).
Once completed, xlsx2csv is available and can be configured within SeedDMS.
Complete the installation
*************************
Now you are ready to install SeedDMS and configure the database. Follow the README file to install SeedDMS.

42
doc/README.Translation Normal file
View File

@ -0,0 +1,42 @@
Help translating SeedDMS
===========================
SeedDMS has got many translations over the years and it is a major
task to keep them all updated. If you would like to give a helping
hand, then this will be much appreciated. There are various ways
to contribute translations.
1. The demo version of SeedDMS at https://demo.seeddms.org will list
all missing translations in a formular on the bottom of the page
while using the software. You can easily provide a missing translation
by filling out the form and submitting it. The translation will not
instantly be used, but is taken over into the official version of
SeedDMS once in a while. This method does not allow to submit corrected
translations of existing phrases.
2. Fixing translations is only possible by modifying one of the language
files in `lanuages/xx_XX/lang.inc`. These files are php files containing
one large array named `$text`. Any modification will be visible right away
in your SeedDMS installation. If you intend to pass your modifications to
the developers of SeedDMS, than keep your changes seperate from the
original translation. A good way is to put your changes into a new
file, e.g. `lang-local.inc` containing an array named `$text_local` and
merge that array with the original translation array. Just put at the
end of `lanuages/xx_XX/lang.inc` the follwing code:
include('lang-local.inc');
array_merge($text, $text_local);
Also create the file `lang-local.inc` with the content
<?php
$text_local = array(
'xxx' => 'yyy',
);
?>
Once you are ready with your local modifications and you think those are
good enough for the public version of SeedDMS, then please mail them to
info@seeddms.org

View File

@ -1,5 +1,5 @@
WebDAV
-----------------------------------------------
========
SeedDMS has support for WebDAV which allows to easily add, delete,
move, copy and modify documents. All operating systems have support
@ -13,41 +13,121 @@ and its content, while a file system knows just files.
In SeedDMS a document is uniquely identified
by its document id and not neccessarily by its name. A filesystem
requires a unique paths for each file. Two identical files in the
same folder are not possible. SeedDMS can handle identifcally named
same folder are not possible. SeedDMS can handle identically named
documents in one folder. In order to prevent any problems arising from
this, you should always disallow identical document names in the
settings. By definition a file in WebDAV is mapped on the latest
version of a document in SeedDMS. There is no way to access previous
versions of a document via WebDAV. Whenever you modify a file,
versions of a document via WebDAV. Whenever you modify a file and
upload it with the web gui,
a new version will be created. Unfortunately, this has some very
nasty side effects when you often save a file, because any save
operation will create a new version. This is because the WebDAV
server replaces the content of document instead of creating a new
version if a document is saved again.
nasty side effects when you edit a document version via WebDAV and
often save it, because any save
operation will create a new version. This is why the WebDAV
server has a configuration option which allows to either replace
the content of document or creating a new
version if a document is saved.
Various programms have differnt strategies to save files to disk and
Configuring davfs2
-------------------
On Linux it is quite simple to mount the SeedDMS WebDAV server with
davfs2. Just place a line like the following in your /etc/fstab
http://seeddms.your-domain.com/webdav/index.php /media/webdav davfs noauto,user,rw,uid=1000,gid=1000
and mount it as root with
mount /media/webdav davfs
You may as well want to configure davfs2 in /etc/davfs2/davfs2.conf by setting
[/media/webdav]
use_locks 0
gui_optimize 1
and possibly add your login data to /etc/davfs2/secrets
/media/webdav admin secret
Making applications work with WebDAV
-------------------------------------
Various programms have differnt strategies to save files to disc and
prevent data lost under all circumstances. Those strategies often don't
work very well an a WebDAV-Server. The following will list some of those
strategies.
VIM
=========================
### VIM
vim does a lot more than just reading and writing the file you want
to edit. It creates swap and backup files for data recovery if vim crashes
or is being kill unexpectivly. On a low bandwidth connection this can
or is being killed unexpectively. On a low bandwidth connection this can
slow down the editing. For that reason you should either not create the
swap file at all or create it outside the WebDAV server. A second problem
arises from how vim modifіes the file you are editing. Before a file
is saved a backup is created and the new content is written into a new
file with the name of the original file. On a file system you
won't see a difference between the file before and after saveing, though
is actually a new one. In SeedDMS you won't notice a difference either
if just looking at the document name. It's still the same, but the
is saved a backup is created by renaming the file to the same name with a
'~' at the end and writing the file content into a new
file with the name of the original file. Afterwards vim deletes the backup
file. On a regular file system you
won't see a difference between the file before and after saving, though
it is actually a new one. In SeedDMS you won't notice a difference either
by just looking at the document name. It's still the same, but the
document id has changed. So saving a document will delete the
old document and create a new one instead of creating a new version of
the old document. If you don't want this behaviour, then tell vim
to not create the backup. Creating the backup file in a directory
outside of WebDAV doesn't help in this case.
to not create the backup file. You can do that by either passing additional
parameters to vim
vi "+set nobackup" "+set nowritebackup" -n test.txt
or by setting them in your .vimrc
set nobackup
set nowritebackup
set noswapfile
If you want to restrict the settings to the directory where the dms
is mounted by webdav, e.g. /media/webdav, you can set an auto command
in .vimrc
autocmd BufNewFile,BufRead /media/webdav/* set nobackup nowritebackup noswapfile
Creating the backup file in a directory outside of WebDAV doesn't help in
this case, because it still does the file renaming which is turned off by
'nowritebackup'.
### cdaver
cadaver is a webdav client similar to classical command line based ftp clients.
It can be used to browse through the folders, downloads and uploads files, and
also for removing and moving folders and documents (called resources in webdav terminilogy).
It's also capable of setting and getting properties of folders and documents.
If webdav access isn't working, this client is probably the best for testing.
Just run
cadaver https://<your-domain>/<your-basedir>/webdav/index.php
It will ask for the user name and password. Once you are logged in just
type `help` for a list of commands.
SeedDMS stores a lot more properties not covered by the webdav standard.
Those have its own namespace called 'SeedDMS:'. Just type
propget <resource>
with `resource` being either the name of a folder or document. You will
get a list of all properties stored for this resource. Setting a property
requires to set the namespace first
set namespace SeedDMS:
Afterwards, you may set a property, e.g. the comment, with
propset <resource> comment 'Just a comment'
or even delete a property
propdel <resource> comment
vi "+set nobackup" "+set nobackuwrite" -n test.txt

42
doc/README.cron Normal file
View File

@ -0,0 +1,42 @@
Running the scheduler
======================
Since version 6 of SeedDMS a scheduler is implemented which runs
scheduled tasks. Such tasks must be implemented in an extension
and can be scheduled by the administrator within the user interface.
In order to check frequently for tasks ready to run, a system cron job
must be installed. On Linux this can be done by adding the following line
to the crontab
*/5 * * * * /var/www/seeddms60x/seeddms/utils/seeddms-schedulercli --mode=run
(Of course you need to change the path to `seeddms-schedulercli`)
This will install a cronjob running every 5 minutes. `seeddms-schedulercli` will check
for tasks ready to run and execute them in that case. You can decrease the time between
two calls of the cronjob, but keep in mind that seeddms tasks may take longer and
are being started again before the previous task has been ended.
If the configuration file of SeedDMS is not found, its path can be passed
on the command, though this should not be needed in a regular installation
obeying the directory structure of the quickstart archive.
*/5 * * * * /var/www/seeddms60x/seeddms/utils/seeddms-schedulercli --config /var/www/seeddms60x/seeddms/conf/settings.xml --mode=run
For testing purposes it may be usefull to run `seeddms-schedulercli` in list mode.
seeddms-schedulercli --mode=list
This will just list all tasks and its scheduled exection time. Tasks ready to run,
because its scheduled execution time is already in the past will be marked with
a `*`. Tasks which are disabled will be marked with a `-`.
Executing `seeddms-schedulercli` in `dryrun` mode will behave just like in `run` mode
but instead of running the task it will just issue a line.
Instead of running utils/seeddms-schedulercli you may as well access
op/op.Cron.php which also runs all scheduled tasks. On Linux you do this
by setting up a cronjob like
*/5 * * * * wget -q -O - "http://<your domain>/op/op.Cron.php"

16
doc/README.npm Normal file
View File

@ -0,0 +1,16 @@
Installation of external js packages
-------------------------------------
All javascript was located in styles/bootstrap until SeedDMS 5.1.18 and 6.0.11.
Since 5.1.19 and 6.0.12 most of it has moved into the view at views/boostrap/vendors
and is no longer placed in git but must be installed by npm and grunt.
Run
`npm install`
and afterwards
`grunt`
to download the js packages and copy them into the new location.

59
doc/README.ocr Normal file
View File

@ -0,0 +1,59 @@
OCR
====
SeedDMS itself has no support for optical character recognition (OCR)
because it does not care about the content of file. Though, external
OCR software can be used to convert an image into text and index it
by the full text search engine.
The following script can be use to convert a scanned image into pdf
with a text layer added. The script actually takes this file to
ran it through pdftotext. It was published in the seeddms forum
https://sourceforge.net/p/seeddms/discussion/general/thread/4ec5973d/
#!/bin/bash
inputpdf=$1
temp_folder=/tmp/seedinput/$(date +"%Y_%m_%d_%H%M%S")/
lockfile=/tmp/seed
protokolldatei=./tesser_syslog
cores=2
mkdir -p $lockfile
while [ -e "$lockfile"/"`basename $0`" ];
do
sleep 5
done
if ( set -o noclobber; echo "locked" > "$lockfile"/"`basename $0`"); then
trap 'rm -f "$lockfile"/"`basename $0`"; echo $(date) " Lockdatei wird geloescht: " $lockfile"/"`basename $0` Aufrufparameter: $* >> $protokolldatei ;rm -r $temp_folder; exit $?' INT TERM KILL EXIT
#das Datum mit dem Scriptnamen in die Protokolldatei schreiben
echo $(date) " Lockdatei erstellt: " $lockfile"/"`basename $0` >> $protokolldatei
else
#Script beenden falls Lockdatei nicht erstellt werden konnte
echo $(date) " Programm wird beendet, Lockdatei konnte nicht erstellt werden: $lockfile"/"`basename $0` Aufrufparameter: $* " >> $protokolldatei
exit 1
fi
mkdir -p $temp_folder
$(pdftotext -raw $1 - 1> $temp_folder''tmp.txt )
pdf_contents=`cat $temp_folder''tmp.txt`
pdf_contents=`echo "$pdf_contents" | tr -dc '[:print:]'`
if [ -z "$pdf_contents" ]; then
convert -density 300 -quality 95 $inputpdf +adjoin $temp_folder''image%03d.jpg
find $temp_folder -name '*.jpg'| parallel --gnu -j $cores tesseract -l deu --psm 6 {} {} pdf
num=`find $temp_folder -name '*.pdf'| wc -l`
if [ "$num" -gt "1" ]; then
pdfunite $temp_folder*.pdf $temp_folder''tmp.pdf
else
mv $temp_folder*.pdf $temp_folder''tmp.pdf
fi
pdftotext $temp_folder''tmp.pdf $temp_folder''tmp.txt
mv $temp_folder''tmp.pdf $1
fi
cat $temp_folder''tmp.txt

Some files were not shown because too many files have changed in this diff Show More