Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 589 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Categorydown OS ELOG Version Subject
  305   Wed Apr 23 08:46:14 2003 Reply Stefan Rittstefan.ritt@psi.chBug report  Re: problem with 20+ attachments
> I've been using elog for several months now, and one thing that's always
> seemed odd to me are the things like max number of attachments and max
> attachment size are defined right in the source code, and not in the config
> file.  It would seem that it would be simple to be able to define stuff like
> that in the config file (and have defaults in case they weren't specified),
> which would fix a lot of the recompiling problems - just edit the config 
file
> and restart elog.  Not that recompiling elog is difficult, it just seems 
like
> recompiling for such a simple setting is overkill...
> 
> Anyway, just curious.  Is there a technical reason this is not done?

The max attachment size I was able to not only make configurable, but to make 
dynamically. So if there is a very large attachment, the size is dynamically 
extended as long as there is RAM. The max number of attachments is not easy 
to change, since it's used internally as an array size, which has to be 
determined at compile time. Making this dynamically would require a major 
rework, which of course could be done, but it might be that there are more 
urgent requests.
  322   Wed May 7 16:04:45 2003 Warning Heiko Scheith.scheit@mpi-hd.mpg.deBug report  missing '.' in emails
missing '.' in emails
-----------------------

A dot '.' at the beginning of a line is not transmitted via email.
It is stored in the entry properly though.

Test:
./There is a dot just before '/There...'

Greetings, Heiko

Well it seems here it is working fine...

.
  323   Wed May 7 16:12:37 2003 Reply Stefan Rittstefan.ritt@psi.chBug report  Re: missing '.' in emails
> 
> missing '.' in emails
> -----------------------
> 
> A dot '.' at the beginning of a line is not transmitted via email.
> It is stored in the entry properly though.
> 
> Test:
> ./There is a dot just before '/There...'
> 
> Greetings, Heiko

Here is what I got as email:

Test:
./There is a dot just before '/There...'

So I guess you mean ONLY a dot at the beginning of the line. In the email 
SMTP protocol, at lonely dot at the beginning of the line means "end of 
message" and the mail server stops by that. I checked my mail program and 
found out that it converts a single dot into two dots at the beginning of the 
line. I have to implement this in elgod.c. Thanks for pointing out this 
problem.
  327   Wed May 7 21:09:32 2003 Idea Stefan Rittstefan.ritt@psi.chBug report  Re: missing '.' in emails
> I checked my mail program and 
> found out that it converts a single dot into two dots at the beginning 
> of the line. I have to implement this in elgod.c.

I implemented that (->CVS): a <CR><LF>.<CR><LF> is replaced by 
<CR><LF>..<CR><LF> in email notifications. Now I don't know if all browsers 
under all OS's send a <CR><LF> on line break. If some don't, please let me 
know.
  345   Mon May 19 19:14:35 2003 Warning Fred Hooperfhooper@sushisoft.comBug report  Possible Bug: 2.3.7 : Welcome Title = < img src=""> not working

Just upgraded (using rpms) elogd from 2.3.5 
I am running on RH 7.3

I noticed that my custom start page did not display the Welcome title icon.
It worked fine in prior elogs.

Here's the syntax of the config file:

Welcome Title = <img src="thumb.gif"><p><font size=4 color=white>Elog</font>
Resource dir = /usr/local/elog/


"thumb.gif" is located in /usr/local/elog, and is readable by all.
I also tried the full file name in src= 
<img src="/usr/local/elog/thumb.gif">  - same result.

any hints?
  347   Tue May 20 14:23:56 2003 Reply Stefan Rittstefan.ritt@psi.chBug report  Re: Possible Bug: 2.3.7 : Welcome Title = < img src=
> I noticed that my custom start page did not display the Welcome title icon.
> It worked fine in prior elogs.
> 
> any hints?

Indeed there is a bug, it has to do that some icons wnt into the themes 
directory and are served now from there. So the bug will fixed in the next 
version (the fix is already avaliable from CVS). As a temporary workaround 
you just move your image to the themese/default/ directory and it should 
work.

An absolute path like /usr/local/... does not work, because this would open 
a security hole (someone could access any picture on your computer just by 
requesting an absolute path in the URL), so I removed that option from the 
software and the documentation.
  348   Tue May 20 19:09:26 2003 Reply Fred Hooperfhooper@sushisoft.comBug report  Re: Possible Bug: 2.3.7 : Welcome Title = < img src=
> > I noticed that my custom start page did not display the Welcome title icon.
> > It worked fine in prior elogs.
> > 
> > any hints?
> 
> Indeed there is a bug, it has to do that some icons wnt into the themes 
> directory and are served now from there. So the bug will fixed in the next 
> version (the fix is already avaliable from CVS). As a temporary workaround 
> you just move your image to the themese/default/ directory and it should 
> work.
> 
> An absolute path like /usr/local/... does not work, because this would open 
> a security hole (someone could access any picture on your computer just by 
> requesting an absolute path in the URL), so I removed that option from the 
> software and the documentation.

I did the work-around (moving icon to theme/default) and it worked. Thanks.

Now if you just port elog over to an apache and mysql enviroment, it would be
perfect! 
  349   Tue May 20 22:16:47 2003 Reply Stefan Rittstefan.ritt@psi.chBug report  Re: Possible Bug: 2.3.7 : Welcome Title = < img src=
> Now if you just port elog over to an apache and mysql enviroment, it would 
> be perfect! 

ELOG runs under apache, as described in the installation documentation, so 
half-perfect...
ELOG V3.1.5-3fb85fa6