Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 697 of 807  Not logged in ELOG logo
    icon2.gif   Re: Any way to paste clipboard into entry?, posted by Erik Iverson on Mon Jan 11 16:44:23 2010 
> > 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...."  
    icon2.gif   Re: Any way to paste clipboard into entry?, posted by Stefan Ritt on Mon Jan 11 16:46:39 2010 
> > > 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.
icon5.gif   Single Button Entry, posted by Geoff Ellis on Tue Feb 16 04:17:24 2010 

For our application we have a lot of very common events we would like to log.  It would be preferable that for certain events/entries we could setup a single button / quick entry method.  Is there away to accomplish this?

    icon2.gif   Re: Single Button Entry, posted by Yoshio Imai on Thu Feb 18 18:50:57 2010 

Geoff Ellis wrote:

For our application we have a lot of very common events we would like to log.  It would be preferable that for certain events/entries we could setup a single button / quick entry method.  Is there away to accomplish this?

You could write a script/program that calls the ELOG client with the necessary attributes to submit the entry (see the user's guide).

    icon2.gif   Re: Single Button Entry, posted by Capt. Ben Smith on Sun Feb 28 07:25:10 2010 

Geoff Ellis wrote:

For our application we have a lot of very common events we would like to log.  It would be preferable that for certain events/entries we could setup a single button / quick entry method.  Is there away to accomplish this?

 This would be of value for me as well. I'm trying to develop a event log for a research ship. Thanks. -ben

    icon2.gif   Re: Single Button Entry, posted by Stefan Ritt on Wed Mar 3 14:29:08 2010 

Capt. Ben Smith wrote:

Geoff Ellis wrote:

For our application we have a lot of very common events we would like to log.  It would be preferable that for certain events/entries we could setup a single button / quick entry method.  Is there away to accomplish this?

 This would be of value for me as well. I'm trying to develop a event log for a research ship. Thanks. -ben

There are several ways:

1) Use conditional attributes (see https://midas.psi.ch/elog/config.html#conditional). If you have several standard entries, put the into the option list of a "type" attribute. Then depending on that value, you can pre-populate other attributes/options. This is then not a single-button solution, but a single-click plus one selection from a drop-down list solution which should be pretty close.

2) You can make a bookmark in your browser. Take the URL of the logbook, add "?cmd=New" and then for each attribute you can select a preset value using "&p<attribute>=<value>". So for example on the demo logbook you can use

https://midas.psi.ch/elogs/Linux+Demo/?cmd=New&ptype=Routine&pcategory=General&pauthor=Ellis 

which opens the new entry dialog, and pre-set values for Type, Category and Author. Then you can make several bookmarks for different standard entries.

- Stefan

icon6.gif   Attach multiple (many!) files at one time, posted by Eric Feng on Sun Mar 21 19:03:52 2010 

Hi,

Is it possible to attach multiple files at one time?  Right now I have to attach each individually, click submit, then confirm, then re-select the next file...

This is a pain if one is attaching many files as I often want to do.  It would be nice to be able to select groups of files together using Ctrl and/or Shift, and even to attach a whole directory recursively.

I looked through previous threads but did not find this question asked there.

Thanks,

Eric

    icon2.gif   Re: Attach multiple (many!) files at one time, posted by Stefan Ritt on Mon Mar 22 08:58:47 2010 

Eric Feng wrote:

Hi,

Is it possible to attach multiple files at one time?  Right now I have to attach each individually, click submit, then confirm, then re-select the next file...

This is a pain if one is attaching many files as I often want to do.  It would be nice to be able to select groups of files together using Ctrl and/or Shift, and even to attach a whole directory recursively.

I looked through previous threads but did not find this question asked there.

Thanks,

Eric

This is a well known problem, but unfortunately it's a limitation of HTML and how web browsers work. If it would be easy to attach whole directories to HTML forms, it would be too easy to steal important files from your computer. So the HTML designers decided that each file hast to be confirmed manually, and that's why you have to click so often. There is no way ELOG could bypass this scheme. 

ELOG V3.1.5-3fb85fa6