ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1302
|
Sat Jul 23 15:46:06 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Comment | All | | Re: A new ELOG user wants to register on "127.0.0.1" | Ok, I kind of misunderstood the "-n" parameter. It is the interface to listen to, which is not necessarily the host name as seen from outside. I changed that in the following way:
- if the URL option is present, the host name is taken from there
- if the URL option is not present, elog calls gethostname()/gethostbyname() to retrieve the local host name
the host name which comes from these two possibilities is used internally in all cases where it's needed, like email notifications. |
1305
|
Sat Jul 23 18:23:57 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | Re: <img> in Display Attribute |
Emiliano Gabrielli wrote: | I'd like to be able to do what I explained in elog:1289 ... |
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! |
1306
|
Sat Jul 23 18:30:57 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | All | | Re: <img> in Display Attribute |
Emiliano Gabrielli wrote: | if one uses ROptions instead of a simple Options the text displaied is "plain{1}" (with the "{1}" not stripped out!!) |
Ok, fixed. |
1308
|
Mon Jul 25 10:24:23 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | | | Re: Summary page |
Dinesh Bapat wrote: | But "Summary" page of my e-log continues to display additional column "Text". Kindly advise how to hide this last column. |
Summary lines = 0
Dinesh Bapat wrote: | Also, is it possible to assign % width for each of these columns (ID, Author, Type, When, Subject) |
Yes, via the Cascading Style Sheets, but only for the single display page. First put a
Format Author = 0, author_name, author_value
then put into your default.css following sections:
.author_name {
width:10%;
text-align:right;
font-size:14pt;
background-color:#AAAAFF;
border:1px solid #0000FF;
border-top:1px solid white;
border-left:1px solid white;
padding:3px;
}
.author_value {
width:10%;
font-size:14pt;
border:1px solid #308000;
border-top:1px solid white;
border-left:1px solid white;
background-color:#BBCCBB;
padding:3px;
}
Here you can then play with the width, font-size etc. I use this for example for the large subject dispaly in this forum.
On the list display however, the column width is determined by the browser, which tries to optimally arrange the colums for best readability. |
1312
|
Mon Jul 25 20:20:18 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.5.? | Re: Date in CSV and XML in UNIX time |
PJ Meyer wrote: |
Stefan Ritt wrote: |
PJ Meyer wrote: | So what can be done to make all the dates look like dates? |
Simply upgrade to 2.6.0beta where this problem has been solved. |
I did upgrade to "2.60-beta2" of the Windows binaries - June 16th date stamps on Elog.exe and Elogd.exe.
I'm still getting dates that are in "Unix time"
Anything else? |
I just tried again myself. Put following into elgod.cfg:
[demo]
Attributes = Author, Category, Arrival
Type Arrival = Date
type in one entry, did a XML extract, and got
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
<ENTRY>
<MID>1</MID>
<DATE>Fri Jul 22 22:50:34 2005</DATE>
<Author>sr</Author>
<Category>Problem</Category>
<Arrival>7/25/2005</Arrival>
<TEXT></TEXT>
</ENTRY>
</ELOG_LIST>
where the date looks ok. So what do you do differently? |
1313
|
Mon Jul 25 20:25:26 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.6.0b | Re: Literal comma in elogd.conf entries where "," is an item separator? |
Chris Green wrote: | Could you tell me if there is a way to escape characters in elogd.conf? Particularly, I want to have a drop-down "Keyword" attribute where one of the options is "Spelling, grammar and typos.". This invariably gets split into "Spelling" and "grammar and typos". I've tried "\,", ",,", "%," and "%27", to no avail. |
Just put it in quotations, like
Options Keyword = "Spelling, grammar and typos", Other
that will do the job. |
1314
|
Mon Jul 25 21:29:52 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | | Re: <img> in Display Attribute |
Emiliano Gabrielli wrote: | donno if a "List Display <Attribute>" could be *the* solution ... |
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>" to "Change <attribute>" and added "List change <attribute>", just to be different from "List display". In principle "List display =" and "List display <attibute> =" can be distinguished by elog, but it could be confusing to have the same option for two different things. The downside is that everybody using "Display <attribute>=" has to change this to "Change <attribute>=". |
1319
|
Tue Jul 26 09:25:40 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.5.? | Re: Date in CSV and XML in UNIX time |
PJ Meyer wrote: | Q: could it be the spaces in Attribute name????
Or the differences between Linux and Windows ports? |
I tried following elogd.cfg:
[global]
port = 8080
[demo]
Attributes = System, Requestor, Title, Priority, Date Needed, Type, Also Notify, Subsystem, Status, Work Order, Assigned To, Team Lead, Percent Complete, Estimated Hrs, Actual Hrs, Date Added, Expected Delivery, Date Completed, Notifications, Completed
Options Priority = A-Emergency{p1}, B-Critical{p2}, C-High{p3}, D-Medium{p4}, E-Low{p5}
Preset Priority = D-Medium
Type Date Needed = Date
and got
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- ELOGD Version 2.6.0-beta2 export.xml -->
<ELOG_LIST>
<ENTRY>
<MID>2</MID>
<DATE>Tue Jul 26 09:10:33 2005</DATE>
<System>s</System>
<Requestor>r</Requestor>
<Title>t</Title>
<Priority>D-Medium</Priority>
<Date_Needed>07/26/05</Date_Needed>
<Type></Type>
<Also_Notify></Also_Notify>
<Subsystem></Subsystem>
<Status></Status>
<Work_Order></Work_Order>
<Assigned_To></Assigned_To>
<Team_Lead></Team_Lead>
<Percent_Complete></Percent_Complete>
<Estimated_Hrs></Estimated_Hrs>
<Actual_Hrs></Actual_Hrs>
<Date_Added></Date_Added>
<Expected_Delivery></Expected_Delivery>
<Date_Completed></Date_Completed>
<Notifications></Notifications>
<Completed></Completed>
<TEXT></TEXT>
</ENTRY>
</ELOG_LIST>
So I have the blank in the attribute, and I tried it both under windows and linux. I looked again at the code, and am pretty sure you run an old version. So I made a 2.6.0beta3 windows binaries, with which you could try it again. |
|