Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 193 of 807  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  2130   Tue Feb 13 17:25:11 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows Re: Various attributes and columns “list”

bob wrote:
Re Hi,
Is it possible to put various (and choose them) the attributes in the SAME columns of the “list” ??


I don't understand what you mean.
  2131   Tue Feb 13 17:48:05 2007 Reply bobbobgrang@yahoo.frQuestionLinux | Windows Re: Various attributes and columns “list”

Stefan Ritt wrote:

bob wrote:
Re Hi,
Is it possible to put various (and choose them) the attributes in the SAME columns of the “list” ??


I don't understand what you mean.


Ok,
in the summary,
we can look at each line with its adapted attributes.
I would like the same line which informs several attributes without modifer List display = ID, Date...
Is this possible?
while hoping to be understood Wink
Bob
  2132   Tue Feb 13 19:25:47 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows Re: Various attributes and columns “list”

bob wrote:
in the summary,
we can look at each line with its adapted attributes.
I would like the same line which informs several attributes without modifer List display = ID, Date...
Is this possible?


No.
  2133   Wed Feb 14 09:22:01 2007 Reply bobbobgrang@yahoo.frQuestionLinux | Windows Re: Various attributes and columns “list”

Stefan Ritt wrote:

bob wrote:
in the summary,
we can look at each line with its adapted attributes.
I would like the same line which informs several attributes without modifer List display = ID, Date...
Is this possible?


No.


Ok,
Thanks
Frown
  2136   Fri Feb 16 16:45:33 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3-1762Re: Setting From: for registration/password e-mails

Ben Waugh wrote:
We had a problem, as mentioned in the documentation, with "new password" e-mails being rejected because the default From: address is invalid, so we changed this using "Use Email From".

According to the documentation, "By default, 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 Use Email From is used for the "From:" field."

However, when an address is specified in "Use Email From" we find that all e-mail notifications, even those sent automatically when a logged-in user submits a log entry, are sent from this address.

How can we set a valid address for use for "change of password" or registration e-mails, but still use the appropriate user's e-mail address for log entries?


Right. The logic in the program and the documentation disagreed. The program uses the "Use Email From" address always if it's there, while the documentation gives preference to the user's email address. I change that in the program so that it agrees with the documentation. The modification is in SVN revision 1789 and will be contained in the upcoming next release.
  2137   Fri Feb 16 17:01:45 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | WindowsV2.6.3-177Re: About Extendable

bob wrote:
Hi,

I have a problem and I do not understand why

my config is

"
{tdl} Show Attributes = De, He, Auteur, Ten, TDL
{tdl} Options TDL = de, fr, gt
{tdl} Extendable Options = TDL
"

I play with {tdl}, i add TDL (toto),

and after that, i open my config:

"{tdl} Show Attributes = De, He, Auteur, Ten, TDL
{tdl} Options TDL = de, fr, gt, toto, toto
{tdl} Extendable Options = TDL
"
And my preview is wrong !!

why 2 * toto thus?

thanks a lot

Bob


I tried it myself and did not get two "toto"'s. Maybe you hit "Submit" twice or so? One thing I would recommend however is not to name an attribute "TDL" and a condition {tdl} the same. And also make sure you have the newest version of elog. I remember there was once a problem with the "Preview" button adding extended attributes more than once.
  2138   Fri Feb 16 17:14:53 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.3-1762Re: Setting From: for registration/password e-mails

Stefan Ritt wrote:
Right. The logic in the program and the documentation disagreed. The program uses the "Use Email From" address always if it's there, while the documentation gives preference to the user's email address. I change that in the program so that it agrees with the documentation. The modification is in SVN revision 1789 and will be contained in the upcoming next release.


Actually I had to change it once more. Some installations do want to have always a pre-defined email address, such as this forum, which uses noreply@psi.ch. So I added a new option Default Email From. The precedence is now in decreasing order

  • Use Email from
  • user's email address
  • Default Email from

So only when a user is not logged in, the Default Email from setting is used if present.
  2139   Fri Feb 16 17:19:30 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | WindowsV2.6.3-177Re: Required and {}

bob wrote:
generally, can one handle "Required" and "{}" or "{ , }", ...


For simple configuration files, that should work. If I have for example:
Attributes = Author, Type, Category, Subject
Options Type = Routine{r}, Software Installation{s}, Problem Fixed{p}, Configuration, Other

{r} Required Attributes = Author

Then the attributes "Author" is only required if "Type" equals "Routine".
ELOG V3.1.5-3fb85fa6