Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 146 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  67894   Mon May 11 22:42:44 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows310.3Re: Preloading Options or Moptions from a text file or CSV
> > > Title says all :)
> > > 
> > > Is it possible to preload Options or Moptions from a text file or CSV instead of being load from the elogd.conf ?
> > > 
> 
> So basically, I have a list of 5-10 workers. I'll have to choose one for each entry I make into the logbook. But these workers will change from time to time 
> (students) and I don't want the staff to manipulate the config file manually..("Extendable options" is not an option as I will get to many "Darth Vader" entry for 
> sure..)
> 
> I asked if I could populate that option box from another logbook attribute and Andreas told me only possible via external scripts. 
> https://midas.psi.ch/elogs/Forum/67877

Hi Francois. 
if those worker lists do change rather infrequently, then I would have an idea how to do it:

You could have an application that updates the Options or MOptions lists in the elogd.cfg file at midnight, 
and in case they actually did change the application restarts the elogd process afterwards.

I use such a mechanism to update my user list from our companies LDAP service every second Monday of a month at midnight.
This avoids misspelled user names or wrong email addresses and takes care that all employees (~2000) can log-in to our ELOG.
The passwords are handled anyway by kerberos authentication.

But I admit that it would be a cool feature to have "includes" in the configuration file for dynamic data sources. 
Shell scripts of course are useless for "Option" definitions: they would only be executed at start-up anyway,
and that can be accomplished as well by the above mentioned automatic changes to the config file.

Kind Regards
Andreas
  68295   Fri Apr 1 18:45:01 2016 Reply Jimmy Briajimmy.bria@gmail.comQuestionWindows310.3Re: Preloading Options or Moptions from a text file or CSV
> Title says all :)
> 
> Is it possible to preload Options or Moptions from a text file or CSV instead of being load from the elogd.conf ?
> 
> Thanks :)

Francois,

Did you ever get an answer or figure out how to preload Options from a CSV?

Thanks,
Jimmy
  68300   Mon Apr 4 13:59:42 2016 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows310.3Re: Preloading Options or Moptions from a text file or CSV
> Did you ever get an answer or figure out how to preload Options from a CSV?


Only what is posted here in this thread.

Stefan
  68097   Wed Aug 19 17:08:56 2015 Question Richard Stamperrichard.stamper@stfc.ac.ukInfoWindows3.x.yCompiling for Windows

I am interested in using LDAP authentication for elogd on Windows for which it looks like I need to compile from source, enabling LDAP in the make file.

Does anyone have advice on build environments for Windows in which they have had success making elog?  Free ones preferably, such as Cygwin. 

  Draft   Thu Oct 1 15:09:17 2015 Question Jean Pierre VandecandelaereJeanPierre.Vandecandelaere@vdab.beQuestionWindows3.x.x"not a valid Win32 application" error on versions 3.x.x

Hello,

we have been using elog 2.7.1 as a logbook to signal problems and so on in our Engine Room Simulator for a couple of months now. Since this is exactly what we're looking for, I've installed the latest release in our sailing simulator as well. On this occasion I thought about updating the logbook in our engine room simulator as well. Unfortunately I cannot do that, because I get the error "elogd.exe is not a valid Win32 application" with every version of elog higher than 2.9.2 (so every version 3.x.x). The difference between our two simulators is that the elog package for the sailing simulator is installed on a Windows Vista machine, while the version for the engine room simulator is installed on a Windows 2003 Server.

Question: can I get/find/compile the latest version as a Win32 application and if yes: how or where?

Thanks,

Jean Pierre

  69031   Thu Oct 10 11:50:06 2019 Entry Maxoprolletjes+elog@gmail.comQuestionWindows3.4.1Author name in reply to entry is from original poster

My elog has this config for the author:

Option Author = Filled In Automatically
Preset Author = $Long_name
Locked Attributes = Author

This works as intended: when you submit a new entry, the author name is filled in automatically and cannot be changed.

However, when Alice wants to post a reply to an entry the Bruce has made, the preset author name does not say Alice, it says Bruce. I haven't been able to find out how to change this (other than make the author name editable). Even when Author isn't configured as as locked attribute, it still displays the original author's name.

How can I get this to work like I want/need to?

  69032   Thu Oct 10 11:58:14 2019 Reply Stefano Lacaprarastefano.lacaprara@pd.infn.itQuestionWindows3.4.1Re: Author name in reply to entry is from original poster

This should do the trick

Preset on reply Author = $long_name

Best, Stefano

Max wrote:

My elog has this config for the author:

Option Author = Filled In Automatically
Preset Author = $Long_name
Locked Attributes = Author

This works as intended: when you submit a new entry, the author name is filled in automatically and cannot be changed.

However, when Alice wants to post a reply to an entry the Bruce has made, the preset author name does not say Alice, it says Bruce. I haven't been able to find out how to change this (other than make the author name editable). Even when Author isn't configured as as locked attribute, it still displays the original author's name.

How can I get this to work like I want/need to?

 

  69033   Thu Oct 10 12:01:10 2019 Reply Maxoprolletjes+elog@gmail.comQuestionWindows3.4.1Re: Author name in reply to entry is from original poster

Brilliant in all its simplicity! Many thanks!

Stefano Lacaprara wrote:

This should do the trick

Preset on reply Author = $long_name

Best, Stefano

Max wrote:

My elog has this config for the author:

Option Author = Filled In Automatically
Preset Author = $Long_name
Locked Attributes = Author

This works as intended: when you submit a new entry, the author name is filled in automatically and cannot be changed.

However, when Alice wants to post a reply to an entry the Bruce has made, the preset author name does not say Alice, it says Bruce. I haven't been able to find out how to change this (other than make the author name editable). Even when Author isn't configured as as locked attribute, it still displays the original author's name.

How can I get this to work like I want/need to?

 

 

ELOG V3.1.5-3fb85fa6