RECOVERY: whimsy.apache.org (whimsy.apache.org (https)) is back up!

2017-05-10 Thread Ping My Box
Hi there! The service at whimsy.apache.org (whimsy.apache.org (https)) seems to be back in working order. With regards, Ping My Box - https://www.pingmybox.com/

ALERT: whimsy.apache.org (whimsy.apache.org (https)) is DOWN!

2017-05-10 Thread Ping My Box
Hi there! The service at whimsy.apache.org (whimsy.apache.org (https)) appears to be down from multiple locations around the world. The exact error is: Error component: response Error code: Internal Server Error or equivalent bad message received: HTTP/1.1 400 svn Bills ["svn: E175002: Unexpec

Secmail feature request

2017-05-10 Thread Craig Russell
If an icla comes in, and the generated name user-name.pdf already exists, a warning is raised. Warning: documents/iclas/craig-russell.pdf already exists (proceed anyway) (cancel) This is almost good. It prevents filing a new icla where the icla already exists. [The (cancel) button doesn't work

Re: Bug in Secmail

2017-05-10 Thread Sam Ruby
Hint: both Message and Attachement classes have a method by that name. :-) - Sam Ruby On Wed, May 10, 2017 at 8:51 PM, Craig Russell wrote: > Part of my confusion is this: > > in iclas.json.rb: > > # create/add file(s) > if @signature.to_s.empty? or not @selected.end_with? '.pdf' > messag

Re: Bug in Secmail

2017-05-10 Thread Craig Russell
Part of my confusion is this: in iclas.json.rb: # create/add file(s) if @signature.to_s.empty? or not @selected.end_with? '.pdf' message.write_svn("#{dir}/iclas", @filename, @selected, @signature) else message.write_svn("#{dir}/iclas", @filename, @selected => 'icla.pdf', @signature =

Re: Bug in Secmail

2017-05-10 Thread Sam Ruby
OK, I believe that there were two bugs here: https://github.com/apache/whimsy/commit/786413d74a2515f91916225d929705b7b5c08811 Should deploy automatically within 30 minutes. - Sam Ruby On Wed, May 10, 2017 at 8:35 PM, Craig Russell wrote: > The expected behavior: > > If the attached file ends

Re: Bug in Secmail

2017-05-10 Thread Craig Russell
The expected behavior: If the attached file ends in .PDF treat it as pdf. The code that displays the file in the view panel does this correctly. If the attached file ends in .PDF, write out the file as user-name.pdf not user-name.PDF. The content type analysis should also treat PDF as pdf. So

RECOVERY: whimsy.apache.org (whimsy.apache.org (https)) is back up!

2017-05-10 Thread Ping My Box
Hi there! The service at whimsy.apache.org (whimsy.apache.org (https)) seems to be back in working order. With regards, Ping My Box - https://www.pingmybox.com/

Re: Bug in Secmail

2017-05-10 Thread Craig Russell
I suspect that the bug is somewhere in icla.json.rb where the selected file name ends with PDF not pdf. # create/add file(s) if @signature.to_s.empty? or not @selected.end_with? '.pdf' message.write_svn("#{dir}/iclas", @filename, @selected, @signature) else message.write_s

ALERT: whimsy.apache.org (whimsy.apache.org (https)) is DOWN!

2017-05-10 Thread Ping My Box
Hi there! The service at whimsy.apache.org (whimsy.apache.org (https)) appears to be down from multiple locations around the world. The exact error is: Error component: response Error code: Socket timeout after 60 seconds Debug output: [Thu May 11 00:00:17 2017]: Initialising socket [Thu May 11

Re: Bug in Secmail

2017-05-10 Thread Sam Ruby
What's the desired behavior? The code that extracts the attachment uses the file name as is: https://github.com/apache/whimsy/blob/master/www/secretary/workbench/models/attachment.rb#L69 The code that issues the commands does downcase the extension: https://github.com/apache/whimsy/blob/master/

Bug in Secmail

2017-05-10 Thread Craig Russell
This happens when submitter capitalizes PDF. The file that is created incorrectly ends in .PDF but the svn command ends in pdf. • $ svn checkout --depth empty https://svn.apache.org/repos/private/documents/iclas /tmp/d20170510-4903-qckx05/iclas Checked out revision 76572. $ svn statu