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!
>
>
>
>
>


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!
>>
>>
>>
>>
>>
>


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

2016-08-23 Thread Sam Ruby
Search for parent.frames[1].location.href in
https://github.com/apache/whimsy/blob/master/www/secretary/workbench/worklist.js

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!
>
>
>
>
>
>


Secretary Assistant: Stop non-documents from being downloaded

2016-08-23 Thread Craig Russell
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!