ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
609
|
Thu Jul 15 22:01:55 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | Windows | 2.5.3. | Re: Request: limit size of attachments |
> Is it possible to add a flag in the configuration file, to specify the
> maximum size of an attachment?
I implemented a "max content length = xxx" flag, which defaults to 10MB. If an
attachment is larger, an error gets displayed. The problem is that elogd can
only send the error message to the browser *after* it received the whole
request, so it has to "drain" the 240 MB first, which could take quite some
time on a slow connection.
Alternatively, I can cut the connection to the browser immediately, since the
HTTP header contains the content length after the first ~500 bytes, but in
that case the browser only shows a message box "Document contains no data"
which gives the user noe clue of what's wrong.
Anyhow the biggest problem of elog in high stress environments is that it's
single threaded. So if someone issues a search in a large logbook, it could
take some time, in which elog cannot respond to other requests. Maybe I will
find time in the future to make elog multithreaded, but certainly not in the
near future. |
608
|
Thu Jul 15 21:21:50 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.5.3 | Re: Question on how "Format <attribute> = " works |
> Ok, I think I see now. I was assuming it applied to the entry form as well.
Well, good idea. I implemented that. Have a look at this forum (just hit reply to this
entry) and you'll see it. I'm not completely happy with it (at least on small 1024x768
screens), but it's configurable anyhow. New version under CVS. |
607
|
Thu Jul 15 10:01:03 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.5.3 | Re: Wishlist: TOOLTIP for ATTRIBUTES |
Ok, I added the option
Tooltip <attribute> = ...
I apply the HTML "title" tag to the whole table row, so the tooltip appears on the
whole line, not only the attribute name. I guess this is much more intuitive. Give
it a try. New version under CVS and available as a snapshot. |
606
|
Thu Jul 15 09:44:08 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | All | 2.5.3 | Re: Possible Formatting bug: Summary view |
> A temporary fix for this is to set summary lines = 0
Right, that's the only way. I would call this "permanent fix" (;-) |
605
|
Wed Jul 14 22:59:05 2004 |
| Steve Jones | steve.jones@freescale.com | Question | All | 2.5.3 | Re: Question on how "Format <attribute> = " works |
> Just have a look at elog:571 which should answer your question. Also look at
> elog:Config+Examples/4 which is the configuration of this Forum (which as you can
> see has all attributes in a single line, even using different fonts).
Ok, I think I see now. I was assuming it applied to the entry form as well.
Thanks! |
604
|
Wed Jul 14 22:54:43 2004 |
| Steve Jones | steve.jones@freescale.com | Request | All | 2.5.3 | Re: Wishlist: TOOLTIP for ATTRIBUTES |
> > Using the COMMENT feature to add guidance to an ATTRIBUTE works great, but
> > is it possible to add a TOOLTIP <ATTRIBUTE> = so as to save screen space?
>
> Where should the tooltip appear? In the entry form or when an entry is
> displayed, or even in the tabular listing? I can put a title arround the
> attribut names such as
>
> <div title="Please enter some subject here">Subject:</div>
>
> which gets interpreted by most browsers as a tooltip. However it's not
> apparent to the user that leaving the cursor on top of "Subject" opens a
> tooltip, especially since the cursor is displayed as the text cursor (vertical
> bar), not as an arrow over the attribute. Do you have a link to a public web
> page which uses tooltips?
>
> > For a complex entry form it is desireable to try and have everything in a
> > single window and this, I think, would help.
>
> Aiming for running elog on you PDA? Let me know if you succeed...
In the Entry form I am thinking, as this is when most people need some help.
Perhaps the user could be clued in with a "Mouse-over each attribute for Help"
COMMENT at the top.
As for the PDA, no, it's just that some people around here get confused if they
have to scroll down. Not a big thing . . . ;-> Hmmm, PDA . . . |
603
|
Wed Jul 14 22:52:18 2004 |
| Steve Jones | steve.jones@freescale.com | Bug report | All | 2.5.3 | Possible Formatting bug: Summary view |
I've run into a situation where the SUMMARY view of a logbook will extend
beyond the righthand border, thus requiring the user to scroll right. This
does not occur in FULL or THREAD mode. Long lines in the TEXT attribute
appear to be "pushing" the display too far to the right. Limiting the
number of displayed summary lines works unless the first line is too long.
A temporary fix for this is to set summary lines = 0 |
602
|
Wed Jul 14 22:21:55 2004 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.5.3 | Re: Wishlist: TOOLTIP for ATTRIBUTES |
> Using the COMMENT feature to add guidance to an ATTRIBUTE works great, but
> is it possible to add a TOOLTIP <ATTRIBUTE> = so as to save screen space?
Where should the tooltip appear? In the entry form or when an entry is
displayed, or even in the tabular listing? I can put a title arround the
attribut names such as
<div title="Please enter some subject here">Subject:</div>
which gets interpreted by most browsers as a tooltip. However it's not
apparent to the user that leaving the cursor on top of "Subject" opens a
tooltip, especially since the cursor is displayed as the text cursor (vertical
bar), not as an arrow over the attribute. Do you have a link to a public web
page which uses tooltips?
> For a complex entry form it is desireable to try and have everything in a
> single window and this, I think, would help.
Aiming for running elog on you PDA? Let me know if you succeed... |