Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 213 of 801  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  1658   Mon Feb 6 17:15:11 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionOther2.6.1Re: sort after find

Willem Koster wrote:
Obviously I would like to be able to sort the result of a find-query.


That worked some time ago, but did not work currently. So I fixed that in the current SVN version.
  1659   Tue Feb 7 12:58:10 2006 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.6.1-1637Re: Numbered lists get closed by </ul>

T. Ribbrock wrote:
I just ran into the following problem (and was able to reproduce it in the "demo" logbook on this site):

  • Create a new entry
  • Create a numbered list:
    [LIST=1]
    [*] 1st entry
    [*] 2nd entry
    [/LIST]
    
  • In the resulting HTML code, the closing statement of that list translates to </ul> instead of </ol>, causing the list to remain open and all following text to be intented by the list indentation. This gets worse when several such lists are used in one document. I'll include an example below.

Numbered list follows:

  1. one
  2. two
  3. three

This text is indented, as the list was not closed properly.

  1. four
  2. five
  3. six

And now we have double indention...


I can't see any double indention there...

But seriously Wink I fixed that problem and updated this elog server already. It's in SVN revison 1653. The code now correctly chooses the proper </ul> or </ol>. What will not work however are nested lists, like an ordered list inside an unordere list, but that's anyhow very uncommon.
  1662   Wed Feb 8 11:56:02 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.6.1-1Re: Problem with MOptions

Ulrich Trüssel wrote:
After upgrading to 2.6.1-1 (actually donwgraded in case of this problem to 2.6.0) i was not longer able to selct more than one MOptions selection in my ELOGs. Only the first slected selection was acepted by ELOG. Ex:

MOptions Test = Aa, Bb, Cc, Dd, Ee, Ff, Gg

Selecting: Bb, Cc, Gg

Submitting the entry form, autoreturn to the overview of the even made entry, only Bb was taken.

Any Idea what's happen? Did I miss something changing in 2.6.1-1 or may this be a bug? Thanks for ideas?

Would loke to upgreade to 2.6.1. in case of the new forms for long MOptions, but need to selct more than one!


That should work in 2.6.1-2 now.
  1663   Wed Feb 8 15:29:03 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: email problems

Chris Warner wrote:
Error sending Email via "xxx.xxx.xxx.xx": Syntax error, parameters in command "MAIL FROM: christopher_warner@xxx.gov SIZE=1985" unrecognized or missing


There are two possible reasons:

1) The email address "christopher_warner@xxx.gov" is invalid. Some SMTP server immediately complain about invalid email addresses and refuse to send any mail then. In that case just supply an existing email address or remove that test account.

2) The SMTP server does not like the "SIZE=xxx" option. This comes from a single line in elogd.c:

snprintf(str, strsize - 1, "MAIL FROM: %s SIZE=%d\r\n", from, strlen(text));

you could just go there and remove the " SIZE=%d", so that the line looks like:

snprintf(str, strsize - 1, "MAIL FROM: %s\r\n", from);
to see if that makes any difference.
  1669   Thu Feb 9 09:04:05 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.6.1-1622Re: menu commands - user list does not match config list

Alan Stone wrote:
I am attempting to configure the Elog for use at the CMS Remote Operations Center
at Fermilab. I included the following option:

Menu commands = List, New, Reply, Duplicate, Find, Last day, Config, Admin, Login, Logout, Help

but the available list (after restarting the elog daemon) gives me:

CMS ROC Logbook, Page 1 of 1 Logged in as "Alan Stone" ELOG Home
New | Find | Select | CSV Import | Config | Logout | Help

Did I miss a step in the syntax instructions?


Yap. There are two menus, one for the listing page which contains only line per entry, and one for the individual entry page. You changed the one for the individual entry page, which you will see when you slick on any entry. To change the listing page manu, do a List Menu commands = ...
  1670   Thu Feb 9 09:09:30 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: email problems

Chris Warner wrote:
The email address id correct. I am using an Elog Binary. I don't have the source code.


Ok, so I removed the SIZE=xxx parameter, which is not strictly necessary anyhow I believe. So wait for the next release, and you can try.
  1671   Thu Feb 9 09:12:44 2006 Reply Stefan Rittstefan.ritt@psi.chQuestionAll2.6.1Re: Work on PAM Support?

Steve Jones wrote:
Has anyone been seriously looking into building in PAM support in eLog? I ask because I have started reading the developer papers from Sun and looking at sample code.


Not really. I have two big issues higher on my list: XML database format and multithreaded HTTP server. From having a quick look to PAM, I was not sure how easy this would be to implement. If it's not too difficult, it could move higher in the priority list.
  1675   Fri Feb 10 11:41:38 2006 Reply Stefan Rittstefan.ritt@psi.chInfo  Re: Posting without logging in!

Dimitris wrote:
Hi all! This is an HTTP POST request submitted from the command line using curl, and providing no authentication information. If I can post as myself using this command, then shouldn't something be done about this?


Yes indeed. I fixed that in SVN revision 1655. I upgraded this server so you can try again if it works.
ELOG V3.1.5-3fb85fa6