Compare commits
3 Commits
f912e81ee6
...
d036c7e704
Author | SHA1 | Date | |
---|---|---|---|
d036c7e704 | |||
3aa1c826bd | |||
760995568e |
@ -28,7 +28,13 @@ class CompressedString implements CastsAttributes
|
||||
? stream_get_contents($value)
|
||||
: $value;
|
||||
|
||||
return $value ? zstd_uncompress(base64_decode($value)) : '';
|
||||
// If we get an error decompressing, it might not be zstd (or its already been done)
|
||||
try {
|
||||
return $value ? zstd_uncompress(base64_decode($value)) : '';
|
||||
|
||||
} catch (\ErrorException $e) {
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -116,8 +116,12 @@ class MessageProcess implements ShouldQueue
|
||||
$o->cost = $this->msg->cost;
|
||||
$o->msgid = $this->msg->msgid;
|
||||
|
||||
$o->tagline = $this->msg->tagline;
|
||||
$o->tearline = $this->msg->tearline;
|
||||
$o->origin = $this->msg->origin;
|
||||
|
||||
$o->subject = $this->msg->subject;
|
||||
$o->msg = $this->msg->message;
|
||||
$o->msg = $this->msg->message_src."\r";
|
||||
|
||||
foreach ($this->msg->via as $v)
|
||||
$o->msg .= sprintf("\01Via %s\r",$v);
|
||||
@ -372,6 +376,10 @@ class MessageProcess implements ShouldQueue
|
||||
$o->msgid = $this->msg->msgid;
|
||||
$o->replyid = $this->msg->replyid;
|
||||
|
||||
$o->tagline = $this->msg->tagline;
|
||||
$o->tearline = $this->msg->tearline;
|
||||
$o->origin = $this->msg->origin;
|
||||
|
||||
$o->msg = $this->msg->message_src."\r";
|
||||
$o->msg_src = $this->msg->message_src;
|
||||
$o->msg_crc = md5($this->msg->message);
|
||||
|
5
public/css/fixes.css
vendored
5
public/css/fixes.css
vendored
@ -133,4 +133,9 @@ h1>small.success:after {
|
||||
.titledbox {
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* Enable smaller text in h1, but not tiny as used at the float-end */
|
||||
h1 > small:not(.float-end) {
|
||||
font-size: 50% !important;
|
||||
}
|
@ -6,7 +6,7 @@
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h1>Echomail [{{ $o->msgid ?: '-' }}] <small class="float-end">#{{ $o->id }}</small></h1>
|
||||
<h1>Echomail <small>[{{ $o->msgid ?: '-' }}]</small> <small class="float-end">#{{ $o->id }}</small></h1>
|
||||
|
||||
@include('widgets.message',['msg'=>$o])
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h1>Netmail [{{ $o->msgid ?: '-' }}] <small class="float-end">#{{ $o->id }}</small></h1>
|
||||
<h1>Netmail <small>[{{ $o->msgid ?: '-' }}]</small> <small class="float-end">#{{ $o->id }}</small></h1>
|
||||
|
||||
@include('widgets.message',['msg'=>$o])
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user