Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 248 of 808  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  65637   Fri Oct 26 11:44:36 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.5-1844Re: Email notification: "Use Email From = " always set to admin

Alan Stone wrote:

My current syntax is:

; Email notification
Suppress Email to users = 0
Omit Email To = 1
Use Email Subject = $system: $subject
#Use Email From = Author Email
Email Report General = hn-cms-dataopslog@cern.ch, cms-dataops@fnal.gov


I had to comment out the 'Use Email From' option because all forwarded
entries to the CMS HyperNews or Fermilab ListServer appeared to originate
from me (alstone@fnal.gov), even though other users were logged in and
saving the entries to the logbook. After commenting out this line, the
entries were properly credited when forwarded, although the

There are two admins defined in the [global] section, and "alstone" is
not the first name in the "Admin user" list.

Is this a bug, or have I used this option incorrectly?
Alan


Documentation says:

If Use Email From is present, it is always used. If not, the email address of the currently logged in user is used for the "From:" field. If no user is logged in, or the current user has not specified a email address in the password database, the setting of the option Default Email From is used for the "From:" field. Only if this option is not specified, a generic address ELOG@<hostname> is used, which might be rejected by the SMTP server however.

So if you write
Use Email From = me@some.where

then of course all emails have "me@some.where" in the From: field. If you want the email of the people logged in, you either remove this option (since it's the default anyhow), or you write explicitly
Use Email From = $user_email
  65638   Fri Oct 26 14:00:48 2007 Idea Stefan Rittstefan.ritt@psi.chInfoAll2.7.0New ELOG version with HTML Editor

I'm pleased to announce the release of ELOG version 2.7.0 which contains the HTML editor FCKeditor. This allows the formatting of ELOG entries just as one is used from a word processor. I tried to make all functionality working as one is used from the ELCode system (like replies quote the original text in a yellow text box), but I'm not sure if I covered everything. So if you experience problems with the new editor, please report it and I will try to fix it. Anyhow it is always possible to switch back to the old ELCode encoding.

One warning for site administrators: Since it is possible to enter HTML code directly into a web page, one risks a XSS vulnerability. If someone knows how to protect the FCKeditor against submission of JavaScript, please let me know and I will add it. If this is an issue, you can turn off HTML encoding completely for public ELOG sites with allowed encoding = 3 in elogd.cfg.

Finally I would like to give credits to An Thai who proposed this editor.

 

  65643   Mon Nov 5 14:06:41 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Konrad Klimaszewski wrote:
Until there is some fix in the way elog comunicates with mailer (if it is possible that is) could we have an option to suppress sending attachments in email notification?


There is such an option:
Email format = 47

This tells elog to send email notifications without attachments. Anyhow I would not recommend to send big attachments as emails, since most email systems won't allow you that. Since the attachments are base64 encoded, the encoding can also take quite a long time.
  65645   Mon Nov 5 14:20:27 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Konrad Klimaszewski wrote:
Great Smile. I missed this one while digging through documentation.
Maybe you could consider setting as default:
Email format = 111


Well, then people will come up and ask: I can see some attachment name in my email, but the attachment is missing, what can I do?. So they would not find the configuration option as you did not, and complain here. You never can make everybody happy Frown

An alternative approach however would be to limit the attachment size. If above 1 MB for example, do not send it. Then make this a flexible parameter (maybe someone wants 2 MB). I will think about that.
  65647   Mon Nov 5 15:05:33 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Konrad Klimaszewski wrote:
I don't know put it in the FAQ or something (under: "Why my posts with large attachments are submitted so slowly" Wink).


http://midas.psi.ch/elog/faq.html#18


Konrad Klimaszewski wrote:
Thanks for implementing ELCode for tables - love them Big grin


Have you tried tables in HTML form? Even better! Just switch the encoding from ELCode to HTML (starting from version 2.7.0).
  65649   Tue Nov 13 11:04:58 2007 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.7.0Re: Quick Filter including Subtext applied overzealously?

Richard Stamper wrote:

When there are two or more Quick Filters available, and one of them is on the Subtext attribute, once one of the other filters has its value changed the null text for the Subtext selection criterion (namely, "-- Text  --") is used as a genuine selection criterion, thus typically preventing any entries from matching. 

This is for v2.7.0-1961 with both Mozilla 2.0.0.9 and IE 6 on Windows XP Professional SP2, and I think has appeared with this release.  You can demonstrate the behaviour on this forum: 

  • Go to http://midas.psi.ch/elogs/Forum/
  • Quick filter on dates in the "Last Month" and nothing is listed.  The URL is now http://midas.psi.ch/elogs/Forum/?last=31&Subtext=--+Text+--
  • Set the date filter back to "-- All Entries --" and the spurious subtext filter remains; the URL is now http://midas.psi.ch/elogs/Forum/?Subtext=--+Text+--
  • Delete the "-- Text --" value in the filter box and everything reappears; the URL is back to http://midas.psi.ch/elogs/Forum/

Thanks for reporting this. I fixed it in revision 1964. You can test it in this forum.

  65652   Mon Nov 19 14:25:48 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.0Re: Quick filter - Subtext

An Thai wrote:

The default subtext "-- Text --" for quick filter is included when another attribute is selected. So that the searched category always shows 0 entrie

I cannot find this problem on your demo forum, but it is happening on my server.

My config:

Quick filter = Author, Category, SubText

 Result: Please see the screenshot attached.

It's fixed already, that's why you cannot see it on the demo server. So just download elog270-2.exe and install it.

  65655   Thu Nov 22 14:16:51 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1Re: large attachment seems to hang elogd?

Jacky Li wrote:
I put in the option:

Email Format = 111

Attachment still comes in to the notification instead of the link. I am using elog-2.7.0-1. Any ideas?


You will see the attachment name in the notification (see below), but the actual attachment is not contained in the email, thus making it very small.
ELOG V3.1.5-3fb85fa6