Re: configure/disable crashreporter ?

2017-04-26 Thread Oliver Brinzing

Hi Thorsten

>Yep, that is currently hard-coded to

thanks for checking, i added an enhancement:

add an option to configure crashreporter
https://bugs.documentfoundation.org/show_bug.cgi?id=107471

Regards
Oliver

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: configure/disable crashreporter ?

2017-04-25 Thread Thorsten Behrens
Oliver Brinzing wrote:
> [...] but i cannot find a setting to disable the crashreport
> service
>
Yep, that is currently hard-coded to
http://crashreport.libreoffice.org/submit/ - you can of course rebuild
libreoffice without FEATURE_BREAKPAD.

A brute force way would be to remove the service name
com.sun.star.comp.svx.CrashReportUI from
program/services/services.rdb, but looking at the code in app.cxx, that
would then probably not even survive bootstrapping, due to an early
exception. Then again, that leaves helpdesk personnel with the option
to collect the dump file. ;)

Cheers,

-- Thorsten


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


configure/disable crashreporter ?

2017-04-25 Thread Oliver Brinzing

Hi,

in our enterprise environment client computers are not connected to the 
internet.
so we started to remove all internet related elements, e.g. "MoreDictionaries" 
via
"org.openoffice.Office.Commands/Execute/Disable" or REMOVE=gm_o_Onlineupdate
from msi install.

but i cannot find a setting to disable the crashreport service.
relevant source code seems to be:

app.cxx:
#if HAVE_FEATURE_BREAKPAD
void handleCrashReport()
{
static const char SERVICENAME_CRASHREPORT[] = 
"com.sun.star.comp.svx.CrashReportUI";

css::uno::Reference< css::uno::XComponentContext > xContext = 
::comphelper::getProcessComponentContext();


Reference< css::frame::XSynchronousDispatch > xRecoveryUI(

xContext->getServiceManager()->createInstanceWithContext(SERVICENAME_CRASHREPORT,
 xContext),
css::uno::UNO_QUERY_THROW);

Reference< css::util::XURLTransformer > xURLParser =

css::util::URLTransformer::create(::comphelper::getProcessComponentContext());

css::util::URL aURL;
css::uno::Any aRet = xRecoveryUI->dispatchWithReturnValue(aURL, css::uno::Sequence< 
css::beans::PropertyValue >());

bool bRet = false;
aRet >>= bRet;
}

Any hints how to disable it?
or os it possible to install a local custom webservice?
ihttps://mmohrhard.wordpress.com/2016/06/19/crash-reporting-for-libreoffice/

Regards
Oliver
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice