Commit Graph

122 Commits

Author SHA1 Message Date
Uwe Steinmann
a0661536b3 move attribute validation into controller and call hook 2019-12-13 15:00:04 +01:00
Uwe Steinmann
c3ab464890 use new function getBaseUrl() 2019-11-28 10:01:59 +01:00
Uwe Steinmann
b540f4a1b7 fix uploaded documents from drop folder 2019-06-28 08:43:37 +02:00
Uwe Steinmann
3d638b47a8 check if attribute definition exists 2019-02-11 14:08:57 +01:00
Uwe Steinmann
166168e769 make sure list of notified users is unique (Closes #415) 2018-10-02 18:18:24 +02:00
Uwe Steinmann
45615be207 pass context to getAccessMode() 2018-07-12 22:36:44 +02: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
7c867932c7 add configuration allowReviewerOnly 2018-02-26 08:09:10 +01:00
Uwe Steinmann
fe13c6cee1 move code into controller 2017-04-27 17:21:05 +02:00
Uwe Steinmann
b1d5548853 also upload attachment if passed 2017-04-27 06:51:43 +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
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
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
811a8f14d2 add hook addDocument::preIndexDocument 2017-02-23 09:00:40 +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
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
196725042d add support for fine-uploader as a replacement for the old jumploader 2017-01-30 13:17:58 +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
6d9798753b set default access and owner 2017-01-18 20:58:52 +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
902565fee4 merge notif. list to prevent duplicates 2016-12-08 18:14:24 +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
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
3659ffbde5 use new attribute validation code 2016-10-27 10:56:21 +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
1541fc26ec Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-10-06 15:27:52 +02:00
Uwe Steinmann
c670ca4639 fix typo 2016-10-05 16:23:22 +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
6303973618 fix copyright in header 2016-08-09 07:34:30 +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
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
67474d1d88 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-05-30 11:16:52 +02:00
Uwe Steinmann
4bfc47f063 check if minimum number of attribute values is set 2016-05-26 10:45:40 +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
6ba8013d40 add option to unlink file in drop folder once uploaded 2016-05-23 13:15:50 +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
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
0f1a0bece5 fix typo in hook function 2016-04-07 08:36:20 +02:00
Uwe Steinmann
51f80c0930 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2016-01-27 17:23:22 +01:00
Uwe Steinmann
a68954725e get mandatory workflow from $_POST[workflows] 2016-01-27 16:19:35 +01:00
Uwe Steinmann
250400a9cb Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-11-25 17:01:52 +01:00
Uwe Steinmann
eda80242ea some reorganization of email notification 2015-11-25 16:49:09 +01:00
Uwe Steinmann
ac09780cad Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-11-11 06:27:58 +01:00
Uwe Steinmann
0cb6d2df5a send appropriate mail to reviewer/approver
not just the 'new document' mail
2015-11-09 18:49:58 +01:00
Uwe Steinmann
50e0d2a885 Merge branch 'seeddms-4.3.x' into seeddms-5.0.x 2015-10-30 08:41:40 +01:00
Uwe Steinmann
15b1414d6e set format in date field to yyyy-mm-dd 2015-10-30 08:02:57 +01:00