New ELOG entry, posted by Willem Koster on Fri Nov 1 13:39:41 2002
|
When I make a new entry I get an email with
subject: New ELOG entry
But when I or someone else changes an entry I also get an email with a
subject: New ELOG entry
I would prefer to see "Changed" , "Edited", or "Updated". This is beyond my
programming capabilities so I enter this request. |
Re: New ELOG entry, posted by Stefan Ritt on Mon Nov 4 15:08:11 2002
|
> When I make a new entry I get an email with
>
> subject: New ELOG entry
>
> But when I or someone else changes an entry I also get an email with a
>
> subject: New ELOG entry
>
> I would prefer to see "Changed" , "Edited", or "Updated". This is beyond my
> programming capabilities so I enter this request.
I have implemented this feature in V2.2.2. |
wrapping of text in edit field, posted by Willem Koster on Fri Nov 1 13:33:01 2002
|
I noticed a long url got hard-wrapped when I entered a long one, I patched
the source code. I don't know if this was done intentionally, otherwise you
might want to change this also.
diff elogd.c elogd.c.org
4468c4468
< rsprintf("<textarea rows=20 cols=%d wrap=soft name=Text>", width);
---
> rsprintf("<textarea rows=20 cols=%d wrap=hard name=Text>", width);
BTW, why is the editor window 20 rows by 76 columns ?
(20 is fixed in the source code, but 76 is the width-variable that is set
hard to:
/* set textarea width */
width = 76;
Now I don't like both parameters. 20 is too long for my display (1024x768)
and 76 is too short. Something dynamically would be cool, but a parameter
somewhere in a config file would also be acceptable. (just a thought, makes
it easier to upgrade) |
Re: wrapping of text in edit field, posted by Stefan Ritt on Mon Nov 4 14:55:10 2002
|
> I noticed a long url got hard-wrapped when I entered a long one, I patched
> the source code. I don't know if this was done intentionally, otherwise you
> might want to change this also.
>
> diff elogd.c elogd.c.org
> 4468c4468
> < rsprintf("<textarea rows=20 cols=%d wrap=soft name=Text>", width);
> ---
> > rsprintf("<textarea rows=20 cols=%d wrap=hard name=Text>", width);
If the wrap=soft is used, users tend to enter very long lines (without
hitting return in between). If this line then gets displayed, it can be very
wide and the user has to horizontally scroll the browser window. What I can
do is in the display (not the entry) to concatenate URLs which are separated
only by a CR/LF. But you then have some cases where you have an URL to the
end of the line, then some other text starting on the next line, which then
get concatenated falsely (unless you use some clever code which scans
for ".html" or "xxx/xxx" or something like that.
> Now I don't like both parameters. 20 is too long for my display (1024x768)
> and 76 is too short. Something dynamically would be cool, but a parameter
> somewhere in a config file would also be acceptable. (just a thought, makes
> it easier to upgrade)
You always had the option "Message width = xx" to change the width on the
text box, and I added in V 2.2.2 the parameter "Message height = xx" where
you can change the 20 to something else. |
how do you specify user name/passwd for the outbound smpt server, posted by eric wooten on Thu Oct 31 10:42:02 2002
|
if you have a site that requires authentication to the smtp server, how do
you specify this info in elog???
thanks,
eric |
Re: how do you specify user name/passwd for the outbound smpt server, posted by Stefan Ritt on Mon Nov 4 14:00:24 2002
|
> if you have a site that requires authentication to the smtp server, how do
> you specify this info in elog???
>
> thanks,
> eric
This is not implemented right now. Unfortunately, I don't hve an smtp server
here which requires authentication, so I cannot develop this. If anyone has a
server from which I have *remote* access from here (pc810.psi.ch), I will put
this additional authentication in. |
Increase attachment file size for elog command line client, posted by Kevin Ellwood on Fri Sep 27 19:17:58 2002
|
Hi,
I am having trouble modifying the elog client to allow larger attachment. I
have elogd configure for attchment sizes of 10Meg and I would like the
option to be able to use the elog client. Can anyone give me key points as
to how to go about doing this? I have tried but I must be missing something.
Also, as a suggestion, it might make sense to add a MAX_ATTACHMENT_SIZE def
in a common header file.
Thanks
Kevin |
Re: Increase attachment file size for elog command line client, posted by Stefan Ritt on Mon Oct 14 10:28:48 2002
|
> Hi,
>
> I am having trouble modifying the elog client to allow larger
attachment. I
> have elogd configure for attchment sizes of 10Meg and I would like the
> option to be able to use the elog client. Can anyone give me key points
as
> to how to go about doing this? I have tried but I must be missing
something.
>
> Also, as a suggestion, it might make sense to add a MAX_ATTACHMENT_SIZE
def
> in a common header file.
>
> Thanks
> Kevin
I modified the elog program such that the attachment buffer is dynamically
allocated which means that it works with any size. Please find the updated
version at
http://midas.psi.ch/cgi-bin/cvsweb/~checkout~/elog/elog.c?rev=1.10
Note that for attachments larger than ~2MB, one hase to increase the
WEB_BUFFER_SIZE in elogd.c.
- Stefan |
New elogd.cfg for this site, posted by Stefan Ritt on Tue Sep 24 17:24:46 2002
|
Since the way ELOG works has changed in version 2.2.0 (show message list as
default view), the configuration file elgod.cfg for this site became
slightly simpler. The usual "Start page = ?cmd=Search" is not necessary any
more due to the changed default view. The commands displaying the last x or
last x days of messages are still working, but depreciated, since the "Show
last xxx" facility takes care of that. The default menu commands have been
change which reflect the modified default view. The single elog page now
has a "back" link instead the find result page.
Here is the updated version:
======= cut here ========
[global]
logbook tabs = 1
SMTP host = mailsend.psi.ch
URL = http://midas.psi.ch/elogdemo/
user = midas
group = midas
Logout to main = 1
[Linux]
Theme = default
Comment = General linux Tips & Tricks
Data dir = /usr/local/elogdemo/logbooks/Linux
Attributes = Author, Type, Icon, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed,
Configuration, Tips & Tricks, Info, Other
IOptions Icon = icon1.gif, icon3.gif, icon4.gif, icon5.gif, icon6.gif,
icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Options Category = General, Hardware, Software, Network, Applications,
Shell, Account, Packages, Daemons, Other
Required Attributes = Author
Subst Author = $author
Summary on default = 1
Summary lines = 0
Email all = stefan.ritt@psi.ch
Email message body = 1
[Database]
Theme = default
Comment = Demo of database-like elog
Data dir = /usr/local/elogdemo/logbooks/database
Attributes = Type, Operating system, Location, Status, Comment
Required Attributes = Type, Operating system, Location, Status
Options Type = PC, Router, Bridge
Options Operating system = Linux, Windows NT, Windows 2000, Windows XP,
Windows ME, Embedded
Options Location = Building1, Building2, Building3
Options Status = working, defect, in repair
Show text = 0
Display search = #, Type, Location, Status
Summary lines = 0
Number Attachments = 0
Suppress default = 2
Entries per page = 10
[Forum]
; general options
Password file = /usr/local/elogdemo/logbooks/forum/passwd
Admin user = stefan
Self register = 2
Theme = default
Comment = Discussion forum about ELOG
Data dir = /usr/local/elogdemo/logbooks/forum
Display mode = threaded
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Login, Help
Number Attachments = 1
Message comment = <img src=icons/icon6.gif> Please enter only serious
messages here, for testing use the <b>Linux</b> Logbook:
Filtered browsing = 0
Entries per page = 8
Reverse sort = 1
Restrict edit = 1
; Attributes
Attributes = Icon, Author, Author Email, Category, Subject
Options Category = Info, Bug report, Bug fix, Question, Request, Comment,
Other
IOptions Icon = icon1.gif, icon2.gif, icon3.gif, icon4.gif, icon5.gif,
icon6.gif, icon7.gif, icon8.gif, icon12.gif, icon13.gif, icon14.gif
Required Attributes = Author, Author Email, Subject, Icon
Subst on reply subject = Re: $subject
Thread display = $subject, posted by $author on $Entry date
Thread icon = Icon
Remove on reply = Author, Author Email
Date format = %B %d, %Y
Preset Author = $long_name
Preset Author Email = $user_email
Locked Attributes = Author
; Email notification
Email message body = 1
Display Email recipients = 0 |
weird date bug, posted by tony summerfelt on Tue Sep 17 17:23:35 2002
|
i have a forum with one message. the forums is displayed with the search mode set to threaded.
the list shows this:
posted by tony summerfelt on Tuesday, September 17/2002 -- 11:19 AM
but the entry date on the message is:
Sunday, September 01/2002 -- 01:47 AM
the 'posted by' shows the current date/time everytime i look at the message. |
Re: weird date bug, posted by Stefan Ritt on Tue Sep 24 17:05:43 2002
|
> i have a forum with one message. the forums is displayed with the search
mode set to threaded.
>
> the list shows this:
>
> posted by tony summerfelt on Tuesday, September 17/2002 -- 11:19 AM
>
> but the entry date on the message is:
>
> Sunday, September 01/2002 -- 01:47 AM
>
> the 'posted by' shows the current date/time everytime i look at the message.
I vaguely remember there was once a problem with that date. So can you please
try again with a recent version of ELOG? |
Re: weird date bug, posted by tony summerfelt on Tue Sep 24 17:24:38 2002
|
> I vaguely remember there was once a problem with that date. So can you please
> try again with a recent version of ELOG?
i just entered a new message and it's doing the same thing...
the version showing at the bottom of the listing is v2.1.2 (even though i updated to 2.1.3) |
Icons for sorted entries, posted by Stefan Siegel on Wed Sep 11 18:44:51 2002
|
Hi,
when do a search and then sorting the outcome of the search via clicking on
an attribute (to sort it in descending or vice versa order) there should an
icon be displayed (up.gif or down.gif). But the icons could not be found due
to a wrong path to the gif files:
/elog/config//themes/default/up.gif
Be aware of the two slashes!! Should only be one.
Best regards,
Stefan |
Re: Icons for sorted entries, posted by Stefan Ritt on Tue Sep 24 17:03:29 2002
|
> when do a search and then sorting the outcome of the search via clicking on
> an attribute (to sort it in descending or vice versa order) there should an
> icon be displayed (up.gif or down.gif). But the icons could not be found
due
> to a wrong path to the gif files:
>
> /elog/config//themes/default/up.gif
>
> Be aware of the two slashes!! Should only be one.
Weired, the icon is displayed in the search page just as "up.gif", and the
elogd server should get this from the current themes/default/ directory. Try
http://midas.psi.ch/elogdemo/Forum/up.gif . So where do you get your two
slashes from? |
Error with not existing user name, posted by Stefan Siegel on Wed Sep 11 18:37:27 2002
|
Hi,
Elogd v. 2.1.2:
When trying to acces a password protected Log (global password file) with a
non existing username one gets the response : cannot open file : <pw
filename>
Better would be a message like: wrong user or password!
Regards,
Stefan |
Re: Error with not existing user name, posted by Stefan Ritt on Tue Sep 24 16:59:11 2002
|
> Elogd v. 2.1.2:
>
> When trying to acces a password protected Log (global password file) with a
> non existing username one gets the response : cannot open file : <pw
> filename>
>
> Better would be a message like: wrong user or password!
Has been fixed in 2.2.0 |
|