mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Removed Sentry completely
This commit is contained in:
parent
0b0747b8dc
commit
2af8626514
4 changed files with 16 additions and 17 deletions
24
README.md
24
README.md
|
|
@ -30,19 +30,27 @@ Copyright (c) 2019 Rainloop Team
|
||||||
|
|
||||||
## Modifications
|
## 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)
|
* Privacy/GDPR friendly (no: Social, Gravatar, Facebook, Google, Twitter, DropBox, OwnCloud, X-Mailer)
|
||||||
* Admin uses password_hash/password_verify
|
* Admin uses password_hash/password_verify
|
||||||
* No POP3 and OAuth
|
* Auth failed attempts written to syslog
|
||||||
* No ChangePassword
|
* ES2015 (removed polyfills and Modernizr)
|
||||||
* No BackwardCapability (class \RainLoop\Account)
|
|
||||||
* PHP 7.3+ required
|
* PHP 7.3+ required
|
||||||
* PHP mbstring extension required
|
* PHP mbstring extension required
|
||||||
* PHP replaced pclZip with ZipArchive
|
* PHP replaced pclZip with ZipArchive
|
||||||
* PHP yaml extension else use the old Spyc
|
* 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
|
* CRLF => LF line endings
|
||||||
* Use gulp-terser instead of gulp-uglify
|
|
||||||
* ES2015 (without polyfills)
|
### PHP73 branch
|
||||||
* No JS nanoscroll, jquery-scrollstop, jquery-mousewheel, matchmedia-polyfill
|
|
||||||
* Auth failed attempts written to syslog
|
There's a branch with only the PHP 7.3 changes at
|
||||||
|
https://github.com/the-djmaze/rainloop-webmail/tree/php73
|
||||||
|
|
|
||||||
|
|
@ -272,8 +272,6 @@ Disabling this option is not recommended.'),
|
||||||
'time_offset' => array('0'),
|
'time_offset' => array('0'),
|
||||||
'session_filter' => array(''),
|
'session_filter' => array(''),
|
||||||
|
|
||||||
'sentry_dsn' => array(''),
|
|
||||||
|
|
||||||
'filename' => array('log-{date:Y-m-d}.txt',
|
'filename' => array('log-{date:Y-m-d}.txt',
|
||||||
'Log filename.
|
'Log filename.
|
||||||
For security reasons, some characters are removed from filename.
|
For security reasons, some characters are removed from filename.
|
||||||
|
|
|
||||||
|
|
@ -246,13 +246,8 @@ class Service
|
||||||
$sAppleTouchLink = $sFaviconUrl ? '' : $this->staticPath('apple-touch-icon.png');
|
$sAppleTouchLink = $sFaviconUrl ? '' : $this->staticPath('apple-touch-icon.png');
|
||||||
|
|
||||||
$sContentSecurityPolicy = $this->oActions->Config()->Get('security', 'content_security_policy', '');
|
$sContentSecurityPolicy = $this->oActions->Config()->Get('security', 'content_security_policy', '');
|
||||||
$sSentryDsn = false; // $this->oActions->Config()->Get('logs', 'sentry_dsn', '');
|
|
||||||
|
|
||||||
$aTemplateParameters = array(
|
$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.'" />' : '',
|
'{{BaseAppFaviconPngLinkTag}}' => $sFaviconPngLink ? '<link type="image/png" rel="shortcut icon" href="'.$sFaviconPngLink.'" />' : '',
|
||||||
'{{BaseAppFaviconTouchLinkTag}}' => $sAppleTouchLink ? '<link type="image/png" rel="apple-touch-icon" href="'.$sAppleTouchLink.'" />' : '',
|
'{{BaseAppFaviconTouchLinkTag}}' => $sAppleTouchLink ? '<link type="image/png" rel="apple-touch-icon" href="'.$sAppleTouchLink.'" />' : '',
|
||||||
'{{BaseAppMainCssLink}}' => $this->staticPath('css/app'.($bAppCssDebug ? '' : '.min').'.css'),
|
'{{BaseAppMainCssLink}}' => $this->staticPath('css/app'.($bAppCssDebug ? '' : '.min').'.css'),
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
<meta name="AppBootData" content='{{RainloopBootData}}' id="app-boot-data" />
|
<meta name="AppBootData" content='{{RainloopBootData}}' id="app-boot-data" />
|
||||||
{{BaseContentSecurityPolicy}}
|
{{BaseContentSecurityPolicy}}
|
||||||
<title></title>
|
<title></title>
|
||||||
{{BaseAppHeadScriptLink}}
|
|
||||||
{{BaseAppFaviconPngLinkTag}}
|
{{BaseAppFaviconPngLinkTag}}
|
||||||
{{BaseAppFaviconTouchLinkTag}}
|
{{BaseAppFaviconTouchLinkTag}}
|
||||||
<link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}" />
|
<link type="text/css" rel="stylesheet" href="{{BaseAppMainCssLink}}" />
|
||||||
|
|
@ -24,7 +23,6 @@
|
||||||
<body class="thm-body">
|
<body class="thm-body">
|
||||||
<div id="rl-app"></div>
|
<div id="rl-app"></div>
|
||||||
<div id="rl-check"></div>
|
<div id="rl-check"></div>
|
||||||
{{BaseAppBodyScript}}
|
|
||||||
<script type="text/javascript" data-cfasync="false" src="{{BaseAppBootScriptLink}}"></script>
|
<script type="text/javascript" data-cfasync="false" src="{{BaseAppBootScriptLink}}"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue