ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67894
|
Mon May 11 22:42:44 2015 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | 310.3 | Re: 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 |
| Jimmy Bria | jimmy.bria@gmail.com | Question | Windows | 310.3 | Re: 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 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 310.3 | Re: 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 |
| Richard Stamper | richard.stamper@stfc.ac.uk | Info | Windows | 3.x.y | Compiling 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 |
| Jean Pierre Vandecandelaere | JeanPierre.Vandecandelaere@vdab.be | Question | Windows | 3.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 |
| Max | oprolletjes+elog@gmail.com | Question | Windows | 3.4.1 | Author 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 |
| Stefano Lacaprara | stefano.lacaprara@pd.infn.it | Question | Windows | 3.4.1 | Re: 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 |
| Max | oprolletjes+elog@gmail.com | Question | Windows | 3.4.1 | Re: 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?
|
|
|