>Do I need to restart assp first?

normaly not - but to be sure that the module is reloaded - yes.

Thomas





Von:    James Brown <[email protected]>
An:     ASSP development mailing list <[email protected]>, 
Datum:  21.04.2014 09:55
Betreff:        Re: [Assp-test] 'Resend' button not working on iOS block 
reports



Thanks Thomas.

I changed it to:

sub modify {
    my $bl = shift;

    my %toReplace = (       # define what is to be replaced
#                     &makeRe('powered by ASSP') =>  'Powered by Synergy',
#                     &makeRe("request ASSP on $main::myName to resend") 
=>  'Request Synergy Spam Filtering to resend',
);

    while (my ($k,$v) = each %toReplace) {
        $bl =~ s/$k/$v=\n/g;
    }

# uncommend the following two lines to remove the 'toggle view' button 
from all BlockReports
#    $bl =~ s/\<script type[^f]+function changeview[^\/]+\/script\>//gios; 
# removes the java script
#    $bl =~ s/\<input type\=\"button\" name=\"toggle\"[^>]+\>//gios; # 
removes the toggle button

$bl =~ s/=3D/=/goi;
    return $bl;
}


It didn't change anything. Do I need to restart assp first?

James.

On 21 Apr 2014, at 4:54 pm, Thomas Eckardt <[email protected]> 
wrote:

> James, your mail client does not decode the MIME transfer 'quoted 
> printable' encoding  (the '=3D').
> 
> There are two decodings to do for the client. 
> 
> 1. the MIME transfer decoding + MIME charset decoding
> 2. the decoding of the HTML charset
> 
> how ever, the first part is not done for the block report.
> 
> as a quick fix you can change the modify.pm like this:
> 
> sub modify {
>    my $bl = shift;
> ......
>    return $bl;
> }
> 
> to
> 
> sub modify {
>    my $bl = shift;
> ......
>    $bl =~ s/=3D/=/goi;
>    return $bl;
> }
> 
> 
> it may happen, that those modified reports are not correctly shown on 
> other devices than APPLE.
> 
> Thomas
> 
> 
> 
> 
> Von:    James Brown <[email protected]>
> An:     ASSP development mailing list <[email protected]>, 

> Datum:  19.04.2014 06:20
> Betreff:        Re: [Assp-test] 'Resend' button not working on iOS block 

> reports
> 
> 
> 
> 
> On 18 Apr 2014, at 1:10 am, Thomas Eckardt <[email protected]> 
> wrote:
> 
>> There is a module 'lib/BlockReports/modify.pm'. This module is called 
> for 
>> every BlockReport: 
>> 
>> input: the original BlockReport content
>> output: the modified BlockReport content
>> 
>> You should use it to modify the link to the needs of iOS - I hope there 

> is 
>> a working function in it.
>> 
>> The resend link is nothing else than a HTML link to 'mailto:' - which 
>> works in every mail client I know (I don't use Apple - why should I, if 

> it 
>> does'nt work!).
>> 
>> If you found a way to open a 'new-mail' window with submitted address, 
>> subject and body - let me know.
>> 
>> Thomas
> 
> Thanks Thomas.
> 
> Had a look at BlockReport/modify.pm - beyond my level I'm afraid.
> 
> I don't think I can attach a screenshot to an email sent to the list, 
but 
> on iOS the Block Report has: 3D"powered at the top, after the 'Toggle 
> View' button and two equals signs.
> 
> The actual resend buttons are displayed like this:
> 
> 3D"request
> Resend
> 
> Hope that helps.
> 
> I can also see:
> 
> <= /centre>
> 
> after ASSP-Block-Report for the last 1 day(s) on host hostname
> 
> and there is no @SSP logo
> 
> Thanks,
> 
> James.
> 
------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and 
their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test
> 
> 
> 
> 
> DISCLAIMER:
> *******************************************************
> This email and any files transmitted with it may be confidential, 
legally 
> privileged and protected in law and are intended solely for the use of 
the 
> 
> individual to whom it is addressed.
> This email was multiple times scanned for viruses. There should be no 
> known virus in this email!
> *******************************************************
> 
> 
> 
------------------------------------------------------------------------------
> Start Your Social Network Today - Download eXo Platform
> Build your Enterprise Intranet with eXo Platform Software
> Java Based Open Source Intranet - Social, Extensible, Cloud Ready
> Get Started Now And Turn Your Intranet Into A Collaboration Platform
> 
http://p.sf.net/sfu/ExoPlatform_______________________________________________

> Assp-test mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/assp-test


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test




DISCLAIMER:
*******************************************************
This email and any files transmitted with it may be confidential, legally 
privileged and protected in law and are intended solely for the use of the 

individual to whom it is addressed.
This email was multiple times scanned for viruses. There should be no 
known virus in this email!
*******************************************************


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to