Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 191 of 236  Not logged in ELOG logo
icon4.gif   Response is very slow with beta3, posted by PJ Meyer on Thu Jul 28 04:27:30 2005 
I finally got 2.60 Beta3 running on my server (explicit statements in cfg for most of the defaults)

Now I'm seeing a veerrry slooooow response time - over 3 minutes to open a logbook vs 10 sec in 2.54
    icon2.gif   Re: Response is very slow with beta3, posted by Emiliano Gabrielli on Wed Aug 3 13:01:17 2005 
[quote="PJ Meyer"]I finally got 2.60 Beta3 running on my server (explicit statements in cfg for most of the defaults)

Now I'm seeing a veerrry slooooow response time - over 3 minutes to open a logbook vs 10 sec in 2.54
       icon2.gif   Re: Response is very slow with beta3, posted by Stefan Ritt on Wed Aug 3 22:44:43 2005 
[quote="Emiliano Gabrielli"]for every image elog has to serve one can see something similar to the above ... lot of time lost in selects.. then a lot of
data (serving an image I suppose), then a lot of time in select again and again ... untill everything is sent, in a couple of minutes or more ;-(
          icon2.gif   Re: Response is very slow with beta3, posted by Emiliano Gabrielli on Thu Aug 4 11:19:53 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]for every image elog has to serve one can see something similar to the above ... lot of time lost in selects..
then a lot of data (serving an image I suppose), then a lot of time in select again and again ... untill everything is sent, in a couple of minutes or
more ;-(
icon1.gif   Summary page, posted by Dinesh Bapat on Mon Jul 25 10:14:27 2005 
Hi,

This might be a stupid question. 
    icon2.gif   Re: Summary page, posted by Stefan Ritt on Mon Jul 25 10:24:23 2005 
[quote="Dinesh Bapat"]But "Summary" page of my e-log continues to display additional column "Text". Kindly advise how to hide this last column.[/quote]

[FONT=courier]Summary lines = 0[/FONT]
       icon14.gif   Re: Summary page, posted by Dinesh Bapat on Mon Aug 1 06:14:41 2005 

Thank you very much.
icon5.gif   attribute of type "datetime" sorted incorrectly, posted by Kees Bol on Wed Jul 27 16:46:44 2005 scrap.PNG
In order to enter different logdates we created the attribute 'Logdate' as follows:

...
    icon2.gif   Re: attribute of type "datetime" sorted incorrectly, posted by Stefan Ritt on Wed Jul 27 21:22:47 2005 datesort.jpg
[quote="Kees Bol"]What goes wrong here?[/quote]

The wrong sorting is a mystery to me. I redid what you have, and entered exactly the same entries, and got following:
       icon2.gif   Re: attribute of type "datetime" sorted incorrectly, posted by Kees Bol on Thu Jul 28 09:46:40 2005 
[quote="Stefan Ritt"][quote="Kees Bol"]What goes wrong here?[/quote]

The wrong sorting is a mystery to me. I redid what you have, and entered exactly the same entries, and got following:
icon1.gif   hide attributes when view the logbook, posted by Juliana Peng on Wed Jul 20 19:49:21 2005 
Hi Stefan,

Thanks for the great work. We have been using elog for a year as inventory management. 
    icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Wed Jul 20 23:24:59 2005 
[quote="Juliana Peng"]but it seems only effective when adding the new entry. All the attributes will show in logbook. Is there a way to hide some of the
attributes? It would be good to let each user to choose what to see what not to see, create their own view. Can you put it on your to-do list or wishlist?[/quote]
       icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Fri Jul 22 17:21:15 2005 
[quote="Stefan Ritt"][quote="Juliana Peng"]but it seems only effective when adding the new entry. All the attributes will show in logbook. Is there a way
to hide some of the attributes? It would be good to let each user to choose what to see what not to see, create their own view. Can you put it on your
to-do list or wishlist?[/quote]
          icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Fri Jul 22 17:54:41 2005 
[quote="Juliana Peng"][quote="Stefan Ritt"][quote="Juliana Peng"]but it seems only effective when adding the new entry. All the attributes will show in
logbook. Is there a way to hide some of the attributes? It would be good to let each user to choose what to see what not to see, create their own view.
Can you put it on your to-do list or wishlist?[/quote]
             icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Fri Jul 22 22:45:37 2005 d1.gifd2.gif
[quote="Juliana Peng"]Thanks so much. But the new feature seems not working.[/quote]

Are you sure you got the latest CVS version and recompiled correctly?
                icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Mon Jul 25 22:32:10 2005 
[quote="Stefan Ritt"][quote="Juliana Peng"]Thanks so much. But the new feature seems not working.[/quote]

Are you sure you got the latest CVS version and recompiled correctly?
                   icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Tue Jul 26 09:38:07 2005 
[quote="Juliana Peng"]I downloaded Revision 1.717, replaced the source code with the new elogd.c, then run " dpkg-buildpackage -uc -b"
(debian linux) to build the package. Now after i add a new entry, once I select it I got 
"Attachment #1 of entry #0 not found" error[/quote]
                icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Tue Jul 26 16:44:41 2005 Screenshot.jpg
[quote="Stefan Ritt"][quote="Juliana Peng"]Thanks so much. But the new feature seems not working.[/quote]

Are you sure you got the latest CVS version and recompiled correctly?
                   icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Tue Jul 26 16:50:59 2005 
[quote="Juliana Peng"]Thanks. But what I want is to hide the unwanted attributes at summary view, not just hide them when I click on entry.[/quote]

No you can't do that.
                      icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Tue Jul 26 17:28:31 2005 
[quote="Stefan Ritt"][quote="Juliana Peng"]Thanks. But what I want is to hide the unwanted attributes at summary view, not just hide them when I click on
entry.[/quote]
                         icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Tue Jul 26 20:35:45 2005 
[quote="Juliana Peng"]I may have all the attributes in logbook to keep a full record of all the machine. But for daily use, some of the attibutes we are
not using so often. Too many attributes will make the window so big that can not be hold in one screen which is the reason why I want to hide some of them.
Of course the hidden attributes have data, but those data are rarely used so we'd rather hide them. 
                            icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Tue Jul 26 22:05:24 2005 
[quote="Stefan Ritt"]

Use "list display = <attribute list>" to specify which attributes to show in the listing page. RTFM.[/quote]
                               icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Wed Jul 27 09:07:17 2005 
[quote="Juliana Peng"]But is there a way to control to hide or view the attributes? so that we don't need to change the elog.conf file each time.

For example, add a menu "expend" in "Find menu commands", we can click to view all the attributes or just view the attributes defined in "List Display"
                                  icon2.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Wed Jul 27 15:49:16 2005 
[quote="Stefan Ritt"]
In that case I would suggest two separate logbooks, for for SunOS and one for others. This way you can manage two separate sets of attributes.[/quote]
                                     icon2.gif   Re: hide attributes when view the logbook, posted by Stefan Ritt on Wed Jul 27 15:56:53 2005 
[quote="Juliana Peng"]We don't want separate logbooks, sorry for the misleading. I was trying to put two request together.[/quote]

I understood you correctly. What I was trying to say is that what you currently request possible with the current version and will not be implemented soon.
                                        icon7.gif   Re: hide attributes when view the logbook, posted by Juliana Peng on Wed Jul 27 16:31:33 2005 
[quote="Stefan Ritt"]
I understood you correctly. What I was trying to say is that what you currently request possible with the current version and will not be implemented soon.
But you can partly obtain what you want by having two logbooks. Make one logbook which has fewer attributes, and which will receive all SunOS entries.
icon5.gif   Restrict Top Groups to logged-in users?, posted by Chris Green on Tue Jul 26 17:57:36 2005 
Hi,

I'd like to be able to prevent non-logged-in users from seeing what logbooks exist in a top group. Currently it seems that one is only required to log
    icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Stefan Ritt on Tue Jul 26 20:32:02 2005 
[quote="Chris Green"]I'd like to be able to prevent non-logged-in users from seeing what logbooks exist in a top group. Currently it seems that one is only
required to log in once one has chosen a logbook. Is this possible?[/quote]
       icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Chris Green on Tue Jul 26 20:51:10 2005 
[quote="Stefan Ritt"][quote="Chris Green"]I'd like to be able to prevent non-logged-in users from seeing what logbooks exist in a top group. Currently it
seems that one is only required to log in once one has chosen a logbook. Is this possible?[/quote]
          icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Stefan Ritt on Tue Jul 26 21:11:31 2005 
[quote="Chris Green"]I already had the "password file = <file>" in the [global <top group>] section but I was still able to see the logbooks in that section.
Moving the password line to [global] and / or setting Show Top Groups = 0 helped. Am I doing something wrong?[/quote]
             icon2.gif   Re: Restrict Top Groups to logged-in users?, posted by Chris Green on Tue Jul 26 21:54:39 2005 
[quote="Stefan Ritt"]
If you move the "password file = <file>" entry around, you can get fooled by stored cookies. So after each modification, make sure to delete all cookies
in your browser.[/quote]
icon5.gif   New and reply pages don't use Page Title, posted by Chris Green on Tue Jul 26 17:41:10 2005 
Is this intentional, or can it be changed? I'd like every page associated with a particular logbook to use that logbook's page title as at least part of
its own.
    icon2.gif   Re: New and reply pages don't use Page Title, posted by Stefan Ritt on Tue Jul 26 20:23:33 2005 
[quote="Chris Green"]I'd like every page associated with a particular logbook to use that logbook's page title as at least part of its own.[/quote]

On the list page, you can use "summary page title = <title>". Since this option is misleading, I renamed it to "List page title = <title>". Then I added
       icon2.gif   Re: New and reply pages don't use Page Title, posted by Chris Green on Tue Jul 26 21:05:26 2005 
[quote="Stefan Ritt"]So if you have time and fun doing it, you could restructure the documentation page into some separate pages, to give people a better
overview. Please send the modified pages back to me and I will include them on the web site.[/quote]
I'll try to put this together in the next week or two. Thanks for all your help,
icon1.gif   Can't set Author attribute properly in reply?, posted by Chris Green on Mon Jul 25 23:39:16 2005 
Hi,

I have two problems:
    icon1.gif   Re: Can't set Author attribute properly in reply?, posted by Emiliano Gabrielli on Tue Jul 26 10:00:34 2005 
[quote="Chris Green"]Hi,

I have two problems:
    icon1.gif   Re: Can't set Author attribute properly in reply?, posted by Stefan Ritt on Tue Jul 26 10:02:58 2005 
[quote="Chris Green"]1) With the configuration below, I can't set the Author attribute to be the author of the reply. As written, it gives the Author field
as blank. If the Remove on Reply line is removed, it is set to the parent's author. What am I doing wrong?[/quote]
       icon1.gif   Re: Can't set Author attribute properly in reply?, posted by Emiliano Gabrielli on Tue Jul 26 10:49:12 2005 
[quote="Stefan Ritt"][quote="Chris Green"]1) With the configuration below, I can't set the Author attribute to be the author of the reply. As written, it
gives the Author field as blank. If the Remove on Reply line is removed, it is set to the parent's author. What am I doing wrong?[/quote]
          icon2.gif   Re: Can't set Author attribute properly in reply?, posted by Stefan Ritt on Tue Jul 26 10:51:12 2005 
[quote="Emiliano Gabrielli"]Substitute is the only way I have to be assure it is as I want ...[/quote]

No, that's not true. A
             icon2.gif   Re: Can't set Author attribute properly in reply?, posted by Emiliano Gabrielli on Tue Jul 26 10:55:03 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]Substitute is the only way I have to be assure it is as I want ...[/quote]

No, that's not true. A
                icon2.gif   Re: Can't set Author attribute properly in reply?, posted by Stefan Ritt on Tue Jul 26 10:59:45 2005 
[quote="Emiliano Gabrielli"]The following code will assure that, if the HTML generated by elog would be modified by hand by a malicious user the server
can still preset the author field with the right $long_name? [/quote]
                   icon2.gif   Re: Can't set Author attribute properly in reply?, posted by Emiliano Gabrielli on Tue Jul 26 12:02:35 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]The following code will assure that, if the HTML generated by elog would be modified by hand by a malicious
user the server can still preset the author field with the right $long_name? [/quote]
    icon7.gif   Re: Can't set Author attribute properly in reply?, posted by Chris Green on Tue Jul 26 17:32:59 2005 
Thanks for this, gents.

Chris.
icon5.gif   <img> in Display Attribute, posted by Emiliano Gabrielli on Fri Jul 8 19:08:30 2005 
My goal is to be able to do the following :

[B][CODE]Display Category = $category <img src="icons/$category.png" border="0">[/CODE][/B]
    icon2.gif   Re: <img> in Display Attribute, posted by Stefan Ritt on Fri Jul 8 22:18:01 2005 
[quote="Emiliano Gabrielli"]My goal is to be able to do the following :

[B][CODE]Display Category              = $category <img src="icons/$category.png" border="0">[/CODE][/B]
       icon2.gif   Re: <img> in Display Attribute, posted by Emiliano Gabrielli on Sat Jul 9 16:06:58 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]My goal is to be able to do the following :

[B][CODE]Display Category              = $category <img src="icons/$category.png" border="0">[/CODE][/B]
          icon2.gif   Re: < img > in Display Attribute, posted by Stefan Ritt on Mon Jul 11 13:13:27 2005 
[quote="Emiliano Gabrielli"]Still a problem .. sorry:

[CODE]
             icon2.gif   Re: < img > in Display Attribute, posted by Emiliano Gabrielli on Mon Jul 11 14:30:11 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]Still a problem .. sorry:

[CODE]
                icon2.gif   Re: < img > in Display Attribute, posted by Emiliano Gabrielli on Fri Jul 15 17:28:33 2005 
the very usefull thing my request will enable is the following:

[CODE]
                   icon2.gif   Re: < img > in Display Attribute, posted by Stefan Ritt on Wed Jul 20 23:30:45 2005 
[quote="Emiliano Gabrielli"]the very usefull thing my request will enable is the following:

[CODE]
                      icon2.gif   Re: < img > in Display Attribute, posted by Emiliano Gabrielli on Thu Jul 21 09:31:35 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]the very usefull thing my request will enable is the following:

[CODE]
                icon2.gif   Re: < img > in Display Attribute, posted by Stefan Ritt on Sat Jul 16 12:30:33 2005 
[quote="Emiliano Gabrielli"]IMHO the solution may be in allowing html code only in the cfg, not in the value of the field..
i.e., elog has to first allow html in the cfg attribute and then replace every $attribute with their values... this values as to be translated in html
entities in order to solve the problem
                   icon2.gif   Re: < img > in Display Attribute, posted by Emiliano Gabrielli on Mon Jul 18 10:09:06 2005 
[quote="Stefan Ritt"] I added an escape character. If you write <b> or \[b], then it gets interpreted. If you write \<b> or \\[b] with the "\" in front
of the tag, it does not get interpreted, thus the '\' works like an escape character. I edited your old entry with the <img> in the subject, and as you
see it is now not interpreted.
          icon2.gif   Re: <img> in Display Attribute, posted by Stefan Ritt on Wed Jul 20 23:32:46 2005 
[quote="Emiliano Gabrielli"]when I try to use this featur on a conditional attr it is ignored .. If I remove the {1} it is obviously showed .. but also
when no $level is defined (taht is infact not what should be)...
             icon2.gif   Re: <img> in Display Attribute, posted by Emiliano Gabrielli on Thu Jul 21 12:54:32 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]when I try to use this featur on a conditional attr it is ignored .. If I remove the {1} it is obviously
showed .. but also when no $level is defined (taht is infact not what should be)...
                icon2.gif   Re: <img> in Display Attribute, posted by Stefan Ritt on Fri Jul 22 23:14:23 2005 
[quote="Emiliano Gabrielli"]- only "Author" and "subject" is displayed (text too of course) ;( [/quote]

That was a bug. I fixed it in CVS.
                   icon2.gif   Re: <img> in Display Attribute, posted by Emiliano Gabrielli on Sat Jul 23 16:16:10 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]- only "Author" and "subject" is displayed (text too of course) ;( [/quote]

That was a bug. I fixed it in CVS.
                      icon2.gif   Re: <img> in Display Attribute, posted by Stefan Ritt on Sat Jul 23 18:23:57 2005 
[quote="Emiliano Gabrielli"]I'd like to be able to do what I explained in elog:1289  ...[/quote]

Ok, got it. So I implemented conditional display in the list mode. If that works for you, it was the last wish fulfilled before Christmas! ;)
                         icon2.gif   Re: <img> in Display Attribute, posted by Emiliano Gabrielli on Mon Jul 25 13:29:23 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]I'd like to be able to do what I explained in elog:1289  ...[/quote]

Ok, got it. So I implemented conditional display in the list mode. If that works for you, it was the last wish fulfilled before Christmas! ;)[/quote]
                            icon2.gif   Re: <img> in Display Attribute, posted by Stefan Ritt on Mon Jul 25 21:29:52 2005 
[quote="Emiliano Gabrielli"]donno if a "List Display <Attribute>" could be *the* solution ... [/quote]

That's a good idea. Unfortunately, "List Display" is already used to specify which attributes to display in list mode. So I changed "Display <attibute>"
                               icon2.gif   Re: <img> in Display Attribute, posted by Emiliano Gabrielli on Tue Jul 26 10:45:14 2005 
[quote="Stefan Ritt"][quote="Emiliano Gabrielli"]donno if a "List Display <Attribute>" could be *the* solution ... [/quote]

That's a good idea. Unfortunately, "List Display" is already used to specify which attributes to display in list mode. So I changed "Display <attibute>"
                   icon2.gif   Re: <img> in Display Attribute, posted by Emiliano Gabrielli on Sat Jul 23 16:45:28 2005 
[quote="Stefan Ritt"]
BTW: Conditional attributes now also work for email notifications, so you can do for example:
                      icon2.gif   Re: <img> in Display Attribute, posted by Stefan Ritt on Sat Jul 23 18:30:57 2005 
[quote="Emiliano Gabrielli"]if one uses ROptions instead of a simple Options the text displaied is "plain{1}" (with the "{1}" not stripped out!!)[/quote]

Ok, fixed.
ELOG V3.1.5-3fb85fa6