Commit Graph

768 Commits

Author SHA1 Message Date
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
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
167c8a41e3 allow 4 arguments passed to hook 2019-12-13 14:27:58 +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
f453cac8d2 add method for zipping files instead of using zip command 2019-12-10 15:59:53 +01:00
Uwe Steinmann
5fdae931b1 use getBaseUrl() 2019-11-28 10:22:47 +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
33b0691b0b allow mimetype to specify documents which can be edited online 2019-11-21 10:51:17 +01:00
Uwe Steinmann
154c3c2118 set 'onepage' in factory 2019-11-20 19:22:23 +01:00
Uwe Steinmann
84550836c8 started new version 5.1.14 2019-11-20 17:17:51 +01:00
Uwe Steinmann
3c26142744 onePageMode can be turned on/off 2019-10-28 12:06:41 +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
459883748e remove left overs from last installation, check if renaming succeeded 2019-10-11 16:29:53 +02:00
Uwe Steinmann
31697278d1 check for hook attached to parent class in hasHook() 2019-10-01 14:06:00 +02:00
Uwe Steinmann
d12b41a958 use new method SeedDMS_Core_Document::isType() 2019-09-06 14:54:11 +02:00
Uwe Steinmann
4767bf69d0 new version 5.1.13 2019-08-08 09:37:33 +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
e79e9de1cf add new class SeedDMS_CSRF for creating time base tokens (currently not used) 2019-07-12 16:40:38 +02:00
Uwe Steinmann
b1a895fb27 new config options for disallowing duplicate subfolder names 2019-07-01 10:50:40 +02:00
Uwe Steinmann
3d9e752694 new optional parameter $attachments for toIndividual() 2019-07-01 09:56:19 +02:00
Uwe Steinmann
c17bd81148 replace placeholders in email header and footer 2019-06-28 10:46:20 +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
f8841e670e start new version 5.1.11 2019-05-02 16:56:00 +02:00
Uwe Steinmann
bcfde858d8 new parameter xsendfile 2019-01-18 13:08:21 +01:00
Uwe Steinmann
869a82d4a8 better handling of return values of hooks 2019-01-17 18:30:10 +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
c3ca1cb1f9 save result of last hook into class variable 2019-01-11 15:07:20 +01:00
Uwe Steinmann
73e1df3ad8 make it work with slim notfound handler 2019-01-09 09:19:46 +01:00
Uwe Steinmann
e490c1a0f2 check if loading the settings.xml succeeded 2018-11-27 12:17:51 +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
ee7b09d3fb include autoloader for pkginst 2018-11-23 21:01:55 +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
53a742b082 start new version 5.1.10 2018-11-16 08:16:45 +01:00
Uwe Steinmann
bc0a9d87a6 set date field as requested in #334 2018-11-12 11:02:21 +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
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
9db82f71c2 better error handling if repository doesn't deliver an extension list 2018-11-07 20:52:52 +01:00
Uwe Steinmann
e465502811 pass $user to ErrorDlg view 2018-10-11 11:30:15 +02:00
Uwe Steinmann
1375b4bf42 add hook for sending mail (Closes #419) 2018-10-02 22:27:07 +02:00
Uwe Steinmann
9d1a17fe87 start new version 5.1.9 2018-07-03 06:45:20 +02:00
Uwe Steinmann
3eebc6bc28 run passed parameter 'action' through htmlspecialchars() before output 2018-06-27 18:56:01 +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
9db601e610 add methods arrayToString() and stringToArray() 2018-04-19 13:41:50 +02:00
Uwe Steinmann
c225350fa7 add methods majorVersion(), minorVersion() and subminorVersion() 2018-04-12 17:18:18 +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
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
97d08ef1b4 call parent class in class.Bootstrap.php, move imgpath in parent 2018-04-06 08:31:11 +02:00
Uwe Steinmann
2413da8c0b start new version 5.1.8 2018-04-05 17:28:00 +02:00
Uwe Steinmann
798a4b99b3 new version 5.1.7 2018-04-05 16:30:06 +02:00
Uwe Steinmann
e728fcca84 set default for $defaulttext of printMLText() to null 2018-04-04 17:47:32 +02:00
Uwe Steinmann
0a6e04b644 add method getExtensionListByName(), some more documentation 2018-03-23 10:09:27 +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
4a83c561f1 check if $EXT_CONF is set 2018-03-21 15:25:03 +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
db3990b8b7 make repository for extensions configurable 2018-03-14 18:43:01 +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
0a3d3ea382 checkExtension() can also check with the configuration array 2018-03-14 11:20:55 +01:00
Uwe Steinmann
4b9b7a9bcf remove old code for upgrading from ancient config file 2018-03-14 10:15:11 +01:00
Uwe Steinmann
b17c79127a store log file in contentDir/log/ 2018-03-14 07:59:10 +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
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
261c65033d set socket_options, do not check ssl peer name and certificate 2018-03-09 10:23:44 +01:00
Uwe Steinmann
963c30956a add configuration allowReviewerOnly 2018-02-26 08:08:57 +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
987025331d set default position of new documents/folders (Closes #381) 2018-02-07 08:43:46 +01:00
Uwe Steinmann
beb29ca34e propperly check if user exists in database (Closes #388) 2018-01-24 09:18:24 +01:00
Uwe Steinmann
ccb56e827c add function sendFile() 2018-01-18 08:48:32 +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
5ee7110597 started new version 5.1.6 2018-01-03 09:29:34 +01:00
Uwe Steinmann
2ab62605b0 use microtime for session id 2017-12-30 12:41:07 +01:00
Uwe Steinmann
dec3b44123 add configuration for number of entries on viewfolder page 2017-12-14 09:39:05 +01:00
Uwe Steinmann
545cdb4e32 backup dir can be set in configuration 2017-11-21 11:51:45 +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
4410868874 started new version 5.1.5 2017-11-07 06:43:25 +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
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
3e2d6e3f74 add preview width for dropfolder lists 2017-09-20 09:20:56 +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
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
ea8a695551 maySetReviewersApprovers() checks if review/approval has been done already 2017-08-02 10:53:50 +02:00