Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 179 of 238  Not logged in ELOG logo
icon1.gif   Makefile patch for OS X 10.4, posted by Alexandre Gauthier on Fri Mar 3 16:48:01 2006 makefile-osx-tiger.patch
Hello,

I had trouble compiling elog on Mac OS X 10.4, and so, I hacked the makefile around...

I had to remove the -lutil flag that was passed to ld, for some reason. My guess is that it is not needed anymore with OS X 10.4... Also, the current install section of the makefile crapped out when using /usr/bin/install, I had to use install from gnu fileutils, which I installed through fink, which took precedence in my path... (/sw/bin/install), since bsd fileutil doesn't like the -D option.

For some reason, the paths to "install" in the makefile are either defined by the $(INSTALL) variable, or called directly. This seems not to be very consistent... In any case, I just changed it to use "install", no matter where it was in my path.

I'm currently hacking up something more elegant soon enough...

Also, I noticed that the binary produced was inconsistent and sluggish with the default wild CFLAGs, so I brought them back to something a bit more casual for Darwin. I used -Os because that's what Apple uses to build most OS X software. I also use -Os in my blackdog builds (which is an embedded PowerPC device) since space and memory *does* matters.

Well, here's the patch. I doubt it will be useful to anyone except for those who have gnu fileutils installed through fink, in their paths, and find themselves unable to build elog on OS X.
icon5.gif   list view mode remembert - Bug?, posted by Holger Mundhahs on Mon Feb 27 10:33:43 2006 
As default http://<hostname>/<LOGBOOK> shows the Summary View.
Clicking in "Full" changes the URL to http://<hostname>/<LOGBOOK>/?mode=full.
But now the URL http://<hostname>/<LOGBOOK> show the Full view as default.
I think the URL without ?mode=... should show every time the same result,
regardless the view used before. Or maybe I can configure, which view I want to
see if I use the URL w/o ?mode=... The option to hide/show attachments is affected too.

Example:
Default view mode = 0 | 1 | 2 | 3
0 = remember last used (default)
1 = Summary
2 = Full
3 = Threaded


Default attachment mode = 0 | 1 | 2
0 = remember last used (default)
1 = Hide attachment
2 = Show Attachment
    icon2.gif   Re: list view mode remembert - Bug?, posted by Stefan Ritt on Wed Mar 1 07:55:42 2006 
> As default http://<hostname>/<LOGBOOK> shows the Summary View.
> Clicking in "Full" changes the URL to http://<hostname>/<LOGBOOK>/?mode=full.
> But now the URL http://<hostname>/<LOGBOOK> show the Full view as default.
> I think the URL without ?mode=... should show every time the same result,
> regardless the view used before. Or maybe I can configure, which view I want to
> see if I use the URL w/o ?mode=... The option to hide/show attachments is affected too.

Sure, that's a feature :D

It was requested by several people that the view mode is stored in a cookie. So if you switch modes, it should be
persistent. If I now add additional default flags, people will have hard time to understand what this is all
about, since there might then be conflicting settings between the flags and the cookies. So for what exact purpose
do you want what you requested? Why does it bother you that you have to click "Summary" again to get the summary
view? Of course you can delete the local cookies and get the default behaviour (they are named [b]elmode[/b] and
[b]elattach[/b]), but that might be a bit cumbersome. 
       icon3.gif   [SOLVED] Re: list view mode remembert - Bug?, posted by Holger Mundhahs on Wed Mar 1 12:27:36 2006 
> > As default http://<hostname>/<LOGBOOK> shows the Summary View.
> > Clicking in "Full" changes the URL to http://<hostname>/<LOGBOOK>/?mode=full.
> > But now the URL http://<hostname>/<LOGBOOK> show the Full view as default.
> > I think the URL without ?mode=... should show every time the same result,
> > regardless the view used before. Or maybe I can configure, which view I want to
> > see if I use the URL w/o ?mode=... The option to hide/show attachments is affected too.
> 
> Sure, that's a feature :D
> 
> It was requested by several people that the view mode is stored in a cookie. So if you switch modes, it should be
> persistent. If I now add additional default flags, people will have hard time to understand what this is all
> about, since there might then be conflicting settings between the flags and the cookies. So for what exact purpose
> do you want what you requested? Why does it bother you that you have to click "Summary" again to get the summary
> view? Of course you can delete the local cookies and get the default behaviour (they are named [b]elmode[/b] and
> [b]elattach[/b]), but that might be a bit cumbersome. 

Thank you for your explanation. My situation was, that I've played around with "Mode commands = 0". In normal case I 
use the Summary view, but on one logbook I've changed it to Full before, and after setting the parameter I can't 
revert it to Summary. But now I know how it works and can use it like intended.

Regards
Holger 
icon5.gif   How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Wed Feb 22 16:27:39 2006 DetailView2.jpgEditView2.jpgListView2.jpg
Hello @all,

because I've got a very quick response on my 1st question regarding
"Change attributes" here is anonther one:
I've defined 2 attributes with "Change attribute" / "List Change attribute" (see configuration).
Because this values are build on other attributes I want to hide these attributes in 
NEW / EDIT mode. How is this possible?

Regards
Holger
---
CONFIGURATION:
Comment = DEMO
Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP, RIB http, ELOGs http
Change RIB http = <a href="https://$RIB Hostname/" target="_new">RIB-Board</a>
List Change RIB http = <a href="https://$RIB Hostname/" target="_new">RIB-Board</a>

Change ELOGs http = <a href="http://elogs/$Hostname/">ELOG</a>
List Change ELOGs http = <a href="http://elogs/$Hostname/">ELOG</a>

Preset Admin = DEMO
Locked Attributes = Admin, RIB http, ELOGs http
Fixed Attributes Edit = RIB http, ELOGs http
Display search = ID, Date, Admin, Hostname, RIB http, ELOGs http
List Display = ID, Date, Admin, Hostname, RIB http, ELOGs http
Link Display = ID
    icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Wed Feb 22 20:36:53 2006 
> because I've got a very quick response on my 1st question regarding
> "Change attributes" here is anonther one:

Don't stress it too much ;-)

> I've defined 2 attributes with "Change attribute" / "List Change attribute" (see configuration).
> Because this values are build on other attributes I want to hide these attributes in 
> NEW / EDIT mode. How is this possible?

Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP

hides the attributes in the New/edit mode, but unfortunately also in the detailed view.
       icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Thu Feb 23 08:44:25 2006 
Hello Mr. Ritt,

I've changed the category to "Request" because I think it would be practical
if I can hide the attributes which are build on values of other attributes with
"Change".

Regards
Holger Mundhahs

> > because I've got a very quick response on my 1st question regarding
> > "Change attributes" here is anonther one:
> 
> Don't stress it too much ;-)
> 
> > I've defined 2 attributes with "Change attribute" / "List Change attribute" (see configuration).
> > Because this values are build on other attributes I want to hide these attributes in 
> > NEW / EDIT mode. How is this possible?
> 
> Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP
> 
> hides the attributes in the New/edit mode, but unfortunately also in the detailed view.
          icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Thu Feb 23 09:19:27 2006 
> I've changed the category to "Request" because I think it would be practical
> if I can hide the attributes which are build on values of other attributes with
> "Change".

Have you tried

Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP

???

Does it bother you if then the attributes are also hidden in the detailed view?
             icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Holger Mundhahs on Thu Feb 23 09:45:54 2006 
No, I havn't tried it, because it's the only way where I can see ALL attributes, and
I belief, that it works to hide the attributes on all views.

Here an Example:

I have 5 attributes where I can enter values, and 5 addtitional attributes build on them.
I can't see all of them in list view, so the only way to see/use them is the detailed view.
But because there is no value to insert/change these attributes should be hidden in NEW/EDIT mode.
As an workaround I LOCK/FIX these attributes so I can't insert values, but there are now many empty lines.
So if you can implement this functionality it would be great, but if not it's not so bad, 
I can "live" with it ;)

Regards
Holger

> > I've changed the category to "Request" because I think it would be practical
> > if I can hide the attributes which are build on values of other attributes with
> > "Change".
> 
> Have you tried
> 
> Show Attributes = Admin, Hostname, IP-Adresse, Funktion, RIB Hostname, RIB IP
> 
> ???
> 
> Does it bother you if then the attributes are also hidden in the detailed view?
                icon2.gif   Re: How to setup Change attributes in detail view/edit mode ?, posted by Stefan Ritt on Wed Mar 1 10:30:51 2006 
I implemented a "Hide attributes = ..." option, with which you can do what you requested, but unfortunately I'm
sitting here in Siberia and have only limited internet access, so I can only submit the modification next weekend.

- Stefan
icon5.gif   MOptions problem ?, posted by Alex H on Wed Feb 22 11:05:15 2006 elog_problem1.gifelog_problem2.gifelog_problem3.gifelog.cfg
Hi Stephan,
I have a unknown bug and need help Smile!

First, please take a look to attached screenshot
On the "elog problem1.gif" and "elog problem2.gif" there aren't any problem.
The entry "Mairie STO" appears correct but when I try to edit the "Equipment" field, the list/combo shows improper data.
I obtain "- please select -" instead of "RT0004"
What's the problem ?
Thanks a lot.
    icon4.gif   Re: MOptions problem ?, posted by Alex H on Mon Feb 27 11:16:56 2006 
[quote="Alex H"]Hi Stephan,
I have a unknown bug and need help :)!

First, please take a look to attached screenshot
On the "elog problem1.gif" and "elog problem2.gif" there aren't any problem.
The entry "Mairie STO" appears correct but when I try to edit the "Equipment" field, the list/combo shows 
improper data.
I obtain "- please select -" instead of "RT0004"
What's the problem ?
Thanks a lot.[/quote]

UP! No idea :'( ?
       icon5.gif   Re: MOptions problem ?, posted by Holger Mundhahs on Mon Feb 27 13:26:31 2006 
Hello Alex,

can you please provide the following information:
- Which ELOG version do you use?
- From which logbook are the screenshots? (I assume it's Liste - right?)

I've tested your configuration with version V2.6.1-1663, and in my case it works.
I use your attribute block in GLOBAL section and the following logbook:

[DEMO]
Comment = TEST
Attributes = Admin, Client, Equipment
Extendable options = Client, Equipment

Regards
Holger

> [quote="Alex H"]Hi Stephan,
> I have a unknown bug and need help :)!
> 
> First, please take a look to attached screenshot
> On the "elog problem1.gif" and "elog problem2.gif" there aren't any problem.
> The entry "Mairie STO" appears correct but when I try to edit the "Equipment" field, the list/combo shows 
> improper data.
> I obtain "- please select -" instead of "RT0004"
> What's the problem ?
> Thanks a lot.[/quote]
> 
> UP! No idea :'( ?
          icon2.gif   Re: MOptions problem ?, posted by Alex H on Tue Feb 28 09:56:55 2006 
Hi Holger,

> Which ELOG version do you use?
I'am using the version V2.6.1-1653 of Elog 

> From which logbook are the screenshots? (I assume it's Liste - right?)
Right :)!

I've just seen that Stefan has build a V2.6.1-1663 version of ELOG.
I try to install this new version and gave you answer as soon as possible :)!
             icon2.gif   Re: MOptions problem ?, posted by Alex H on Tue Feb 28 11:26:22 2006 
> Hi Holger,
> 
> > Which ELOG version do you use?
> I'am using the version V2.6.1-1653 of Elog 
> 
> > From which logbook are the screenshots? (I assume it's Liste - right?)
> Right :)!
> 
> I've just seen that Stefan has build a V2.6.1-1663 version of ELOG.
> I try to install this new version and gave you answer as soon as possible :)!

Now I'am using the Elog V2.6.1-1668 and same probleme.
I think it's a data problem. I have edited my logbooks\Liste\050302a.log with an Hexadecimal editor and found one 
carruage return juste before the 
                icon6.gif   [SOLVED] Re: MOptions problem ?, posted by Alex H on Tue Feb 28 12:08:42 2006 gotcha.gif
Yop,
I think I found the solution! I was in fact a conditions conflict!
See the attached picture for easiest comprehension.
My list box type's conditions (FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4}, VPN2{5}, CLIVPN-PROC{6}) conflict with my Equipment's conditions. It seems that the condition ID must be unique across the whole elogd.cfg.
So I have replaced my "Options Type = FWL1{1}, FWL2{2}, FWL4{3}, VPN1{4}, VPN2{5}, CLIVPN-PROC{6}"
by : "Options Type = FWL1{101}, FWL2{102}, FWL4{103}, VPN1{104}, VPN2{105}, CLIVPN-PROC"
and it works well Smile!
                   icon2.gif   [SOLVED] Re: MOptions problem ?, posted by Stefan Ritt on Wed Mar 1 07:48:11 2006 

Alex H wrote:
It seems that the condition ID must be unique across the whole elogd.cfg.


Right. Here is a quote from the Manual:


ELOG Manual wrote:
The only requiremnt is that conditions are unique, meaning that a condition in one option list cannot be used in another list.


So just read the manual Wink
icon5.gif   Forgot password, posted by Hagelstein, Kay on Mon Feb 27 08:43:22 2006 elogd.cfg
Hi,

the "Forgot password?" option doesn’t work with the Group option.

The elog Version is ELOG V2.6.1-1668

Regards
Kay
icon5.gif   Protect Selection page, posted by Hagelstein, Kay on Thu Feb 23 15:07:53 2006 elogd.cfg
Hi,

I have a problem with the Option “Protect Selection page = 1” it doesn’t word in my Configuration. Is This a bug or a Problem with the Configuration?

Regards
Kay
    icon2.gif   Re: Protect Selection page, posted by Stefan Ritt on Thu Feb 23 15:50:20 2006 

Hagelstein, Kay wrote:
I have a problem with the Option “Protect Selection page = 1” it doesn’t word in my Configuration. Is This a bug or a Problem with the Configuration?


Thanks for reporting this. I could reproduce the prolem thanks to the config file you supplied. I fixed the problem and made a new release 2.6.1-3.
       icon14.gif   Re: Protect Selection page, posted by Hagelstein, Kay on Thu Feb 23 16:36:42 2006 

Stefan Ritt wrote:

Hagelstein, Kay wrote:
I have a problem with the Option “Protect Selection page = 1” it doesn’t word in my Configuration. Is This a bug or a Problem with the Configuration?


Thanks for reporting this. I could reproduce the prolem thanks to the config file you supplied. I fixed the problem and made a new release 2.6.1-3.


It works now fine.

Thanks & Regards
Kay
icon5.gif   Comment <attr>/Tooltip <attr> not shown in detail view, posted by Holger Mundhahs on Thu Feb 23 12:06:44 2006 
I've defined a comment or a tooltip for an attribute.
But the text is only shown in NEW/EDIT/REPLY mode, not in detail view.
Is this a bug or how can I enable the text (especially Comment) in
this view?
    icon2.gif   Re: Comment <attr>/Tooltip <attr> not shown in detail view, posted by Stefan Ritt on Thu Feb 23 15:20:40 2006 

Holger Mundhahs wrote:
I've defined a comment or a tooltip for an attribute.
But the text is only shown in NEW/EDIT/REPLY mode, not in detail view.
Is this a bug or how can I enable the text (especially Comment) in
this view?


I added the tooltip display for the list and detail view. The code will be contained in the next release.
icon5.gif   How to build own/customized selection page?, posted by Holger Mundhahs on Wed Feb 22 19:04:19 2006 
Hello @all,

with "Selection page = ..." I can link to an self defined selection page for the systems.
As I understand it must be an static page, or how is it possible to define the content based
on the available logbooks or groups?

Regards
Holger
    icon2.gif   Re: How to build own/customized selection page?, posted by Stefan Ritt on Wed Feb 22 20:00:19 2006 

Holger Mundhahs wrote:
Hello @all,

with "Selection page = ..." I can link to an self defined selection page for the systems.
As I understand it must be an static page, or how is it possible to define the content based
on the available logbooks or groups?

Regards
Holger


Yes it must be a static page.
ELOG V3.1.5-3fb85fa6