Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 296 of 807  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  66666   Mon Jan 11 10:41:25 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.7.8Re: Any way to paste clipboard into entry?
> Is there any way to directly paste an image from a Windows clipboard into an elog entry page?  It's obvious
> for uploading a file, but many of my users say that they never make a file, they just want to paste in an image
> already onscreen.

This is a limitation of the FCKEditor used inside ELOG, and actually of the whole browser concept under Windows. 
There are some extensions to Firefox which let your paste an image as an attachment, but none for doing this right 
into the text body. For some discussion about this have a look at

http://forums.developer.mindtouch.com/showthread.php?t=188

for example.
  66667   Mon Jan 11 16:44:23 2010 Reply Erik Iversoneiverson@ornl.govQuestionAll2.7.8Re: Any way to paste clipboard into entry?
> > Is there any way to directly paste an image from a Windows clipboard into an elog entry page?  It's obvious
> > for uploading a file, but many of my users say that they never make a file, they just want to paste in an image
> > already onscreen.
> 
> This is a limitation of the FCKEditor used inside ELOG, and actually of the whole browser concept under Windows. 
> There are some extensions to Firefox which let your paste an image as an attachment, but none for doing this right 
> into the text body. For some discussion about this have a look at
> 
> http://forums.developer.mindtouch.com/showthread.php?t=188
> 
> for example.

Hmmm.  Well, does that mean that it is easier under Linux?  I have to confess I couldn't figure that out either.  But
I'd be delighted to have Yet Another Reason to tell the users that "it works under Linux, maybe you should switch...."  
  66668   Mon Jan 11 16:46:39 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.7.8Re: Any way to paste clipboard into entry?
> > > Is there any way to directly paste an image from a Windows clipboard into an elog entry page?  It's obvious
> > > for uploading a file, but many of my users say that they never make a file, they just want to paste in an image
> > > already onscreen.
> > 
> > This is a limitation of the FCKEditor used inside ELOG, and actually of the whole browser concept under Windows. 
> > There are some extensions to Firefox which let your paste an image as an attachment, but none for doing this right 
> > into the text body. For some discussion about this have a look at
> > 
> > http://forums.developer.mindtouch.com/showthread.php?t=188
> > 
> > for example.
> 
> Hmmm.  Well, does that mean that it is easier under Linux?  I have to confess I couldn't figure that out either.  But
> I'd be delighted to have Yet Another Reason to tell the users that "it works under Linux, maybe you should switch...."  

I'm not sure, but I doubt that it would work under Linux. It's a general security issue: If your browser has free access to 
your clipboard, then what happens if you for example copy-and-paste a password in some application, then forget your password 
in the clipboard, then you surf to a malicious website, and a script on that site grabs your clipboard contents? This would 
be a severe security hole on ANY operating system.
  66669   Mon Jan 11 17:10:31 2010 Reply David PilgramDavid.Pilgram@epost.org.ukQuestionLinux2.7.8Re: Any way to paste clipboard into entry?
> > > > Is there any way to directly paste an image from a Windows clipboard into an elog entry page?  It's obvious
> > > > for uploading a file, but many of my users say that they never make a file, they just want to paste in an image
> > > > already onscreen.
> > > 
> > > This is a limitation of the FCKEditor used inside ELOG, and actually of the whole browser concept under Windows. 
> > > There are some extensions to Firefox which let your paste an image as an attachment, but none for doing this right 
> > > into the text body. For some discussion about this have a look at
> > > 
> > > http://forums.developer.mindtouch.com/showthread.php?t=188
> > > 
> > > for example.
> > 
> > Hmmm.  Well, does that mean that it is easier under Linux?  I have to confess I couldn't figure that out either.  But
> > I'd be delighted to have Yet Another Reason to tell the users that "it works under Linux, maybe you should switch...."  
> 
> I'm not sure, but I doubt that it would work under Linux. It's a general security issue: If your browser has free access to 
> your clipboard, then what happens if you for example copy-and-paste a password in some application, then forget your password 
> in the clipboard, then you surf to a malicious website, and a script on that site grabs your clipboard contents? This would 
> be a severe security hole on ANY operating system.

Hi there,

In a linux installation straight out of the box, I can cut-and-paste text from the mailer program (a stand-alone one called
XCmail), from an xterm or similar into elog with no trouble.  I've not tried an image, I just attach them as I use plain encoding.
 Don't know how it would work if it were on a properly secure linux box.
  66670   Tue Jan 12 09:12:28 2010 Reply Stefan Rittstefan.ritt@psi.chRequestWindows2.7.8-2280Re: Collapse to Last and Quick Filter
> Hello,
>    I feel that the filter result could be confusing and unexpected when "COLLAPSE TO LAST" is enabled: you 
> filter the first entry but you show the last one. What is filtered doesn't correspond with what is shown (look 
> the attached example). 
> 
> I suggest to implement an option to let the user decide which entry (first or last) should be retrieved for 
> filtering (a tentative patch is attached).
> 
> Thank you 
> 
>     Gabriele
> 
> P.S. A similar behaviour occurs when you sort the logbook: it could appear as not sorted because you sort the 
> first entry but the last one is shown.

You are absolutely right. When doing filtering, entries shown or not shown have not much to do with the filter. 
Rather than messing around with first and last entries, I decided to break apart threads completely when doing 
filtering, so the entries are treated as individual entries, just like what you do when filtering in summary mode. 
This gives then consistent filtering results. The modification is done in revision 2282.
  66671   Tue Jan 12 12:31:20 2010 Reply Stefan Rittstefan.ritt@psi.chBug reportLinuxrev2280Re: Problem with CRYPT+SSL and elog command line entries

I Aaron Couture wrote:

I have attached a possible patch--basically pirated from elogd.c  Because strlcpy needed for the crypt cares about size, do_crypt needed the size, which had not been a concern for base64_encode in elog.c   As a result, base64_encode changed slightly as well.  I think the implementation places a limit of 32 characters on passwords, which seemed to already be the limit in elogd.c  The elog.c limit appeared to be 80 characters.  I tested both SSL and SSL+CRYPT for commandline elog entries with both a logbook specific write password as well as username/password combo in a password file.

Great! Thanks a lot for your patch. I appreciate if people not only come up with problems, but have already the solution. I committed your patch to the distribution, so it will be included in the next version.

- Stefan

  66673   Wed Jan 13 10:42:04 2010 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.7.8Re: email message id

george papalexis wrote:

We noticed some elog email messages were not showing up in our inboxes at random.  What we believe is happening is when a elog entry is created it is assigned a message id that the mail servers will use.  If a message is edited that same message id is used and some mail servers involved will ignore the duplicate message id.  We have also noticed when a elog entry is deleted the next entry created will assume the deleted entry message id and just like above the email will be ignored since it has a duplicate message id. 

The message ID is part of the "user data" of the email, not of the standard email header. So the mail servers "do not know" about the message ID, which make it strange that double messages are filtered. Nobody else reported this problem before. Maybe is it related to your SPAM filter? Can you check if the double entries are classified as SPAM in your case? 

  66674   Wed Jan 13 10:51:24 2010 Reply David PilgramDavid.Pilgram@epost.org.ukBug reportWindows2.7.8Re: email message id

Stefan Ritt wrote:

george papalexis wrote:

We noticed some elog email messages were not showing up in our inboxes at random.  What we believe is happening is when a elog entry is created it is assigned a message id that the mail servers will use.  If a message is edited that same message id is used and some mail servers involved will ignore the duplicate message id.  We have also noticed when a elog entry is deleted the next entry created will assume the deleted entry message id and just like above the email will be ignored since it has a duplicate message id. 

The message ID is part of the "user data" of the email, not of the standard email header. So the mail servers "do not know" about the message ID, which make it strange that double messages are filtered. Nobody else reported this problem before. Maybe is it related to your SPAM filter? Can you check if the double entries are classified as SPAM in your case? 

 Hi Stefan,

I seem to recall this behaviour on this forum.  I was writing an entry, and due to mis-typing, submitted the entry before I had finished.  So I edited it, but there was only the one email sent.  I thought that this was how the thing was supposed to work.  To try it now, I am going to submit this, then edit the entry a little further, and we can all see if one or two emails are generated.

ELOG V3.1.5-3fb85fa6