Removed Sentry completely

This commit is contained in:
djmaze 2020-07-15 14:45:11 +02:00
parent 0b0747b8dc
commit 2af8626514
4 changed files with 16 additions and 17 deletions

View file

@ -30,19 +30,27 @@ Copyright (c) 2019 Rainloop Team
## Modifications
This fork has modifications for:
This fork has the following changes:
* Privacy/GDPR friendly (no: Social, Gravatar, Facebook, Google, Twitter, DropBox, OwnCloud, X-Mailer)
* Admin uses password_hash/password_verify
* No POP3 and OAuth
* No ChangePassword
* No BackwardCapability (class \RainLoop\Account)
* Auth failed attempts written to syslog
* ES2015 (removed polyfills and Modernizr)
* PHP 7.3+ required
* PHP mbstring extension required
* PHP replaced pclZip with ZipArchive
* PHP yaml extension else use the old Spyc
* Removed BackwardCapability (class \RainLoop\Account)
* Removed ChangePassword (plugins won't work)
* Removed JS nanoscroll, jquery-scrollstop, jquery-mousewheel, matchmedia-polyfill
* Removed OAuth support
* Removed POP3 support
* Removed background video support
* Removed Sentry (Application Monitoring and Error Tracking Software)
* Replaced gulp-uglify with gulp-terser
* CRLF => LF line endings
* Use gulp-terser instead of gulp-uglify
* ES2015 (without polyfills)
* No JS nanoscroll, jquery-scrollstop, jquery-mousewheel, matchmedia-polyfill
* Auth failed attempts written to syslog
### PHP73 branch
There's a branch with only the PHP 7.3 changes at
https://github.com/the-djmaze/rainloop-webmail/tree/php73

View file

@ -272,8 +272,6 @@ Disabling this option is not recommended.'),
'time_offset' => array('0'),
'session_filter' => array(''),
'sentry_dsn' => array(''),
'filename' => array('log-{date:Y-m-d}.txt',
'Log filename.
For security reasons, some characters are removed from filename.

View file

@ -246,13 +246,8 @@ class Service
$sAppleTouchLink = $sFaviconUrl ? '' : $this->staticPath('apple-touch-icon.png');
$sContentSecurityPolicy = $this->oActions->Config()->Get('security', 'content_security_policy', '');
$sSentryDsn = false; // $this->oActions->Config()->Get('logs', 'sentry_dsn', '');
$aTemplateParameters = array(
'{{BaseAppHeadScriptLink}}' => $sSentryDsn ?
'<script type="text/javascript" data-cfasync="false" src="https://browser.sentry-cdn.com/5.4.3/bundle.min.js" crossorigin="anonymous"></script>' : '',
'{{BaseAppBodyScript}}' => $sSentryDsn ?
'<script type="text/javascript" data-cfasync="false">window && window.Sentry && window.Sentry.init({dsn:\''.$sSentryDsn.'\',ignoreErrors:[\'Document not active\']});</script>' : '',
'{{BaseAppFaviconPngLinkTag}}' => $sFaviconPngLink ? '<link type="image/png" rel="shortcut icon" href="'.$sFaviconPngLink.'" />' : '',
'{{BaseAppFaviconTouchLinkTag}}' => $sAppleTouchLink ? '<link type="image/png" rel="apple-touch-icon" href="'.$sAppleTouchLink.'" />' : '',
'{{BaseAppMainCssLink}}' => $this->staticPath('css/app'.($bAppCssDebug ? '' : '.min').'.css'),

View file

@ -13,7 +13,6 @@
<meta name="AppBootData" content='{{RainloopBootData}}' id="app-boot-data" />
{{BaseContentSecurityPolicy}}
<title></title>
{{BaseAppHeadScriptLink}}
{{BaseAppFaviconPngLinkTag}}
{{BaseAppFaviconTouchLinkTag}}
<link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}" />
@ -24,7 +23,6 @@
<body class="thm-body">
<div id="rl-app"></div>
<div id="rl-check"></div>
{{BaseAppBodyScript}}
<script type="text/javascript" data-cfasync="false" src="{{BaseAppBootScriptLink}}"></script>
</body>