Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 46 of 237  Not logged in ELOG logo
icon5.gif   Conditional attribute activation, posted by Devrim Esenturk on Fri Jul 21 15:24:33 2017 
I have a stock database running latest elog version on windows. I am reserving some products which not been sent to customer mistakenly and using value
"reserved" for it. But I need another attribute for comment reason of reserving but this attribute must be activated when reserved value selected.
Is this possible? I didn't see any option for this at admin guide.
    icon2.gif   Re: Conditional attribute activation, posted by Andreas Luedeke on Mon Jul 24 14:33:51 2017 
Yes, this is possible by using "Conditional Attributes". Have a look at the ELOG syntax help: https://midas.psi.ch/elog/config.html#conditional

To hide attributes on edit, you can use "Show Attributes Edit =  ..." for the conditions; and you
only list the comment reason for the case where the value of the other attribute has the value "reserved".
icon5.gif   Password Protect Delete, posted by Michael Cianci on Thu Jul 20 18:38:20 2017 
We don't use a password file but would like to password protect (Admin only) the DELETE function in the MENU     Thank You
    icon2.gif   Re: Password Protect Delete, posted by Andreas Luedeke on Fri Jul 21 08:54:03 2017 
You can allow guests to create entries, but only registered users (Admins) to delete (or edit) entries:

Menu commands = List, New, Edit, Reply, Delete, Find, Config, Logout,
Help
icon5.gif   Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Fri Jul 14 19:26:06 2017 
Our configuration sends out e-mail notifications based on a hierarchy of attributes, and works fine with WEB submissions, but not with client utility
submissions (no notifications are sent; the log doesn't show it even trying to send any: 14-Jul-2017 18:36:01 [rubinp@nn.nn.nn.nn] {Notebook}
NEW entry #0) .  Since notification is the default (suppression requires -x), I presume there is something wrong with the way we're going about
    icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 08:50:16 2017 
Yes, parentheses in field content might be difficult to pass from a shell command. You did not even mention which Linux shell you are using and you did
not show the actual elog command. Maybe you want to add that information?




Phil
       icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Wed Jul 19 08:59:52 2017 
Thank you for responding.

I thought I provided the command at the end of the note:

/usr/local/bin/elog -h host -p port -l Notebook -u user passwd -a Author="Author" -a Type=Type -a Category=Category -a Subject="subject"
          icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 10:14:44 2017 
If that is your command then it is obvious why no email is send:

you do set "Type=Type", but only for "Type=Problem(s)" and "Category=TDAQ" you would send an email.

Instead of writing "-h host" you should as well define the actual hostname, like "-h midas.psi.ch", likewise for all other
             icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Phil Rubin on Wed Jul 19 10:25:08 2017 
I didn't realize you required every detail of the command, since the entry is being logged, but here is an example (only the user information is
blanked out):

/usr/local/bin/elog -h vmna62s1 -p 8080 -l NA62Logbook -u xxxx xxxx -a Author=Rubin -a Type=Problem\(s\) -a Category=Elog -a Subject="Client
                icon2.gif   Re: Email Notification (Not) Initiated by elog Client Utility, posted by Andreas Luedeke on Wed Jul 19 13:37:33 2017 
Okay, I can confirm that this does not work. It is likely related to the disclaimer in the ELOG documentation (https://midas.psi.ch/elog/config.html#conditional)

Conditional attributes are usually only used for change items in the entry form.

I guess that the "Email" command never worked with conditional attributes. I use the "Email" command and conditional attributes
icon5.gif   Weird behaviour of category filter, posted by Daniel Sajdyk on Fri Jul 14 13:18:30 2017 Category-Software_and_Subcategory-Antywirus.pngSubcategory-Antivirus.png
Hello.

Today I noticed that when I use category filter in the top, right of Elog I got different results, that depends on that if I select Category
and Subcategory or just Subcategory option.
    icon2.gif   Re: Weird behaviour of category filter, posted by Andreas Luedeke on Wed Jul 19 08:58:51 2017 
Hi Daniel,

I agree: it should. And it does in my case; it works perfectly fine for my logbooks. Maybe you should have a closer look for special characters
in you configuration? Otherwise I don't know why it does not work for you.
icon5.gif   Virus in latest elog?, posted by Daniel Sajdyk on Fri Jul 14 13:11:48 2017 elog.png
Hello.

Today I wanted to download latest elog version, and got information from Eset Endpoint Antyvirus, that downloaded file has trojan horse "Generic.GQWFFXB".

It this false positive alarm?
    icon2.gif   Re: Virus in latest elog?, posted by Stefan Ritt on Fri Jul 14 16:58:48 2017 
Hi Daniel,

you're the first one reporting about this virus. We have different virus checkers here at our lab and none of them triggered. So I guess
it is a false alarm.
icon5.gif   Server dropping SSL connection while uploading large files, posted by Erkcan Ozcan on Sat Jun 10 07:05:24 2017 
Hi,

I am having trouble with uploading large (>0.5MB) files to elog. We click on upload and in a couple of seconds, the webbrowser complains that
the server has dropped the connection.
    icon2.gif   Re: Server dropping SSL connection while uploading large files, posted by Erkcan Ozcan on Wed Jun 28 19:37:10 2017 
Hi,

Could someone at least suggest how I could debug this problem myself? If I know where to start, perhaps I can fix it myself and contribute to
the software.
       icon2.gif   Re: Server dropping SSL connection while uploading large files, posted by Andreas Warburton on Wed Jun 28 22:20:38 2017 
Hi Erkcan,

I observed similar behaviours when attempting to do SSL uploads and mirroring over a WAN (see some of my recent posts).  Having not received
any responses/help, and no time to try debugging the source myself, I've changed the way I use ELOG such that my attachment uploads are always local
       icon2.gif   Re: Server dropping SSL connection while uploading large files, posted by Stefan Ritt on Thu Jun 29 08:36:03 2017 
One possibility is to run elog in non-SSL mode and put an Apache server in front of it. The Apache server can then do the SSL communication, and forward
all requests to elog in plain text (non-SSL). This has been proven to work with large attachments, actually that's the way I use it.

I didn't find time to debug the SSL problem. If anybody is interested in doing so, the relevant code is in function server_loop() around
icon13.gif   my elogd crashes when editing the configuration, posted by Niklas Hoglund on Tue Jun 20 14:32:29 2017 WindowsCrashFiles.zip
Hi, 
my elogd crashes sometimes when I click on the "Change config" button. What info should I collect more than below/attached?
icon5.gif   Is it possible to generate a table of contents based on h1/h2/h3 HTML tags?, posted by Niklas Hoglund on Mon Jun 19 07:48:49 2017 
Is it possible to generate a table of contents based on h1/h2/h3 HTML tags?

Example:


toc()

< h1>test
< h2>test1
< h1>test2
< h2>test3
< h1>test4
    icon2.gif   Re: Is it possible to generate a table of contents based on h1/h2/h3 HTML tags?, posted by Stefan Ritt on Mon Jun 19 08:33:07 2017 
This is not possible.

Stefan




Niklas
ELOG V3.1.5-3fb85fa6