Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 47 of 238  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon5.gif   pre defined Find as Home page, posted by Paraic Fahey on Fri Mar 24 15:36:55 2017 
This command makes the Homepage a FIND page: Start page = ?cmd=Find

My question is: can we pre-populate some of the search fields and execute the search so that the homepage becomes the SEARCH RESULTS
    icon2.gif   Re: pre defined Find as Home page, posted by Andreas Luedeke on Thu Apr 6 11:01:30 2017 
It's very simple, no need for the find command. E.g.: Start page = ?Author=luedeke&Category=Question&mode=summary

in this forum would do https://midas.psi.ch/elogs/Forum/?Author=luedeke&Category=Question&mode=summary




Paraic
icon5.gif   Elog stopped working, posted by John Becker on Wed Mar 29 14:48:40 2017 
Dear all,

 

I have elog version 3.12-bd75964 installed on an Ubuntu OS. We started working with it yesterday and today I was informed that the users could
    icon2.gif   Re: Elog stopped working, posted by David Pilgram on Wed Mar 29 15:11:22 2017 
I don't know if you can get elog to generate a log file - check the documentation, I don't bother.  But I do have some experience with this
matter.

There are two related circumstances I know of that can arise which will cause elog to crash.
    icon2.gif   Re: Elog stopped working, posted by Andreas Luedeke on Thu Mar 30 09:14:13 2017 
I have a crontab set-up for root:

crontab -e

* * * * *       if ! ps -C elogd >/dev/null;then /sbin/service elogd restart;fi
icon5.gif   Issue with zero-length mail attachments, posted by Andrew Daviel on Sat Mar 18 02:10:33 2017 
We have elog-2.7.5-1.i386 on SL 5

If I create an elog entry using the web interface, and include an inline image,  email is sent with a zero-length named attachment - the
MIME header is present, but no content.
    icon2.gif   Re: Issue with zero-length mail attachments, posted by Andrew Daviel on Mon Mar 20 22:44:27 2017 
 




Andrew
Daviel wrote:



We have elog-2.7.5-1.i386 on SL 5
icon7.gif   Possible misuse of email headers Message-Id and In-Reply-To, posted by fbretel on Wed Feb 8 16:38:15 2017 
Hi,

As mentionned before, we happen to fail to receive email messages related to updates on
elog entries at our site. My understanding is that the SMTP header Message-Id MUST be unique for each email message. Whereas all elogd email
    icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by Stefan Ritt on Wed Feb 8 18:16:30 2017 
A pull request would be highy appreciated, because you can then test it thoroughly on your side. Adding a random number to the message id is simple.
"Reply-to" indeed does not make sense since elog cannot receive emails. Most sites use a generic "noreply@<domain>" to indicate
to the user that a reply does not make sense. I guess the "Reply-to" does not have to be unique, right?
       icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by fbretel on Wed Mar 15 16:04:13 2017 
Pull-request posted. Cheers.
          icon2.gif   Re: Possible misuse of email headers Message-Id and In-Reply-To, posted by Stefan Ritt on Wed Mar 15 16:42:35 2017 
Pull-request merged.




fbretel
wrote:



Pull-request posted.
icon5.gif   Is it possible change content of the notifying mail content (attachements...) ?, posted by Christine Quicot on Tue Feb 7 18:45:08 2017 
Hello all,

I would like to configure the email that is sent to notify users, when an entry is submitted:

- Is it possible to attach to the mail the files attached to the entry ?
    icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Stefan Ritt on Tue Feb 7 18:54:00 2017 
Please look in the manual under "Email Format" and "Use Email Subject".




Christine
Quicot wrote:



Hello all,
       icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Christine Quicot on Wed Feb 8 09:34:39 2017 
Hello,

I'm sorry but that's a part of the manual I've read many times, and I'm not interested in changing the subject of the email,
but only body and attachements.
          icon2.gif   Re: Is it possible change content of the notifying mail content (attachements...) ?, posted by Stefan Ritt on Wed Feb 8 13:09:58 2017 
I'm sorry but you are only half right. The mail contenct cannot be changed. But if your email notifications are sent as HTML, they contain a 1:1
copy of the elog entry, which does not make sense to change. For the attachment to be attached to the email, you need the flags of "Email Format".
The default there is 63, which means that elog attachments ARE sent as mail attachments.
icon6.gif   calculate diff of 2 date(s), posted by Alex Kühnel on Wed Sep 28 18:48:04 2016 
hi

I have an elogsystem for documenting emergency services. I have a starttime and an endtime. Is it possible to calculate the diff between the
2 timestamps and convert it to minutes?
    icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:21:44 2016 
I found the solution in the forum :-)

subst Einsatzzeit = $shell(/usr/local/elog/diff.sh \"$Einsatzbeginn\" \"$Einsatzende\")

and diff.sh is
       icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:25:08 2016 
is ist possible that subst only works for the initial create of a logbook entry? when I change/edit one of the parameter "Einsatzbegin"
or "Einsatzende" the "Einsatzzeit" is not changed.

regards
          icon2.gif   Re: calculate diff of 2 date(s), posted by Stefan Ritt on Fri Sep 30 12:33:38 2016 
There is the "subst on edit = ..." option you should use in addition.

Stefan




Alex
             icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Mon Oct 3 10:01:53 2016 
thx!




Stefan
Ritt wrote:



There is the "subst on edit = ..." option you should use in
icon5.gif   How can change the justification of a column?, posted by fabio vitale on Mon Jan 30 17:52:20 2017 
It is possible to change the justification for a column/attribute in the list mode (left-aligned, centered, right-aligned)?

Right now Elog treats each colum of a list as centered,

 
    icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Mon Jan 30 17:58:11 2017 
You can do that chaning the CSS of the underlying theme. But you need some experience with CSS.




fabio
vitale wrote:



It is possible to change the justification for a column/attribute
       icon2.gif   Re: How can change the justification of a column?, posted by fabio vitale on Mon Jan 30 18:30:30 2017 
I need to set text-align:left but only for an attribute in the List mode, For example, say that FirstName column must be left justified in list view.
What is the name of the cell content in the default elog.css?




Stefan
          icon2.gif   Re: How can change the justification of a column?, posted by Andreas Luedeke on Tue Jan 31 08:42:54 2017 
You might tell your browser to show you the source code of an ELOG page in list mode. There you'll find the class name you're looking for.

Cheers, Andreas




fabio
          icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Tue Jan 31 09:20:07 2017 
The CSS class for the list display table "listframe". If you want the second column to be left-aligned, you put following into elog.css:

.listframe td:nth-child(2) {
   text-align:left;
             icon2.gif   Re: How can change the justification of a column?, posted by fabio vitale on Tue Jan 31 18:10:29 2017 
Thank you Stefan: it worked!

Now I am wondering if there is some syntax to force this behaviour at the attribute level in elog.cfg, without the need to modify the css, I
mean simply based on the attribute name (not its content). The syntax Style <attribute> <value> = <style>
                icon2.gif   Re: How can change the justification of a column?, posted by Stefan Ritt on Tue Jan 31 21:38:44 2017 
This is currently not possible.

/Stefan




fabio
icon1.gif   Empty mxml directory in commit a6e5962, posted by Christine Quicot on Tue Jan 31 17:49:16 2017 
Hello,

I wonder if it's normal that in the sources files, new created mxml directory is empty.

In commit # a6e5962 4 files are deleted but not moved:
    icon2.gif   Re: Empty mxml directory in commit a6e5962, posted by Stefan Ritt on Tue Jan 31 21:29:05 2017 
The mxml package has been converted into a submodule in the git repository. At http://midas.psi.ch/elog/download.html you see that you need a "--recursive"
flag to clone it. If you have already checked out the sources, you need a

git submodule update --init --recursive
ELOG V3.1.5-3fb85fa6