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

2016-08-24 Thread Ping My Box

Hello,
The https service at whimsy.apache.org (whimsy.apache.org (https)) has been 
reported as down by our monitoring system:

Component:  response
Error code: Socket timeout after 60 seconds
Debug output:
--
[Thu Aug 25 04:21:27 2016]: Initialising socket
[Thu Aug 25 04:21:27 2016]: Looking up hostname whimsy.apache.org...
[Thu Aug 25 04:21:27 2016]: Connecting to 207.244.88.137:443
[Thu Aug 25 04:21:28 2016]: Connected, sending HTTPS payload.
[Thu Aug 25 04:21:28 2016]: Reading response header from server
[Thu Aug 25 04:22:28 2016]: Caught exception: Socket timeout after 60 seconds

--

With regards,
Ping My Box - https://www.pingmybox.com/


Tracking LDAP changes using SVN/Git?

2016-08-24 Thread sebb
AIUI, the LDAP servers don't provide any useful history of changes.

So the only way to record changes is to record snapshots and detect
differences between them.

At the moment Whimsy creates snapshots every 15mins or so, and logs
the diffs in an e-mail.

However it's not particularly easy to work out which LDAP group is
involved unless the addition happens to be near the start or end of a
group which then appears in the diff output.

One solution would be to compare the JSON trees and log the diffs with
more context.
However it would still be tricky to reconstruct a specific snapshot.

So I'm wondering whether it would make sense to store the snapshots in
an SVN or Git repo?
This would automatically keep track of changes, and one could use the
SCM tools to show the diff in context.

Thoughts?


Re: Secretary Assistant: Stop non-documents from being downloaded

2016-08-24 Thread Sam Ruby
On Wed, Aug 24, 2016 at 10:23 AM, Craig Russell
 wrote:
> This is a great start.
>
> How do I keep the dangerous content selected in the work list so I can remove 
> it with the Classification buttons?

Add 'danger' here:
https://github.com/apache/whimsy/blob/8b0ba13281e484991a0566c6f25dd06a964c2f6b/www/secretary/workbench/file.cgi#L438

> Thanks,
>
> Craig

P.S.  I recall seeing membership applications come in as jpg or the
like.  There may be times when you want to process these files.

>> On Aug 24, 2016, at 4:54 AM, Sam Ruby  wrote:
>>
>> On Tue, Aug 23, 2016 at 7:57 PM, Sam Ruby  wrote:
>>> Search for parent.frames[1].location.href in
>>> https://github.com/apache/whimsy/blob/master/www/secretary/workbench/worklist.js
>>
>> I've roughed in the change:
>>
>> https://github.com/apache/whimsy/commit/e259c111b9d4ea2a0b70ba9fed8ef1dc438aa089
>>
>> Tweak to taste.
>>
>> - Sam Ruby
>>
>>> On Aug 23, 2016 7:39 PM, "Craig Russell"  wrote:

 Hi,

 I’d like to continue to select documents from the Work List and display
 them in the viewport, but only .txt files, .pdf files, and directories.

 I can’t see where the code is that governs selecting a document opens the
 document in the viewport. Wherever that is, I’d like to have the document
 selected so it can be removed, but not downloaded into the viewport. The
 effect of selecting a non-document file is that the browser downloads it to
 my computer, which I want to avoid.

 Any help?

 Thanks,

 Craig

 Craig L Russell
 Architect
 craig.russ...@oracle.com
 P.S. A good JDO? O, Gasp!





>>>
>
> Craig L Russell
> Architect
> craig.russ...@oracle.com
> P.S. A good JDO? O, Gasp!
>
>
>
>
>


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

2016-08-24 Thread Ping My Box

Hello,
The https service at whimsy.apache.org (whimsy.apache.org (https)) seems to be 
back in working order again.

With regards,
Ping My Box - https://www.pingmybox.com/


Re: Secretary Assistant: Stop non-documents from being downloaded

2016-08-24 Thread Sam Ruby
On Tue, Aug 23, 2016 at 7:57 PM, Sam Ruby  wrote:
> Search for parent.frames[1].location.href in
> https://github.com/apache/whimsy/blob/master/www/secretary/workbench/worklist.js

I've roughed in the change:

https://github.com/apache/whimsy/commit/e259c111b9d4ea2a0b70ba9fed8ef1dc438aa089

Tweak to taste.

- Sam Ruby

> On Aug 23, 2016 7:39 PM, "Craig Russell"  wrote:
>>
>> Hi,
>>
>> I’d like to continue to select documents from the Work List and display
>> them in the viewport, but only .txt files, .pdf files, and directories.
>>
>> I can’t see where the code is that governs selecting a document opens the
>> document in the viewport. Wherever that is, I’d like to have the document
>> selected so it can be removed, but not downloaded into the viewport. The
>> effect of selecting a non-document file is that the browser downloads it to
>> my computer, which I want to avoid.
>>
>> Any help?
>>
>> Thanks,
>>
>> Craig
>>
>> Craig L Russell
>> Architect
>> craig.russ...@oracle.com
>> P.S. A good JDO? O, Gasp!
>>
>>
>>
>>
>>
>