Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 665 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  1225   Tue Jul 5 11:32:34 2005 Reply Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.6.0beta2Re: [BUG] show only new entries

Stefan Ritt wrote:

Emiliano Gabrielli wrote:
Just tested the rev 1.686 .. now the link is displayed, but following the "Show only last" link the "attach=1" setting in the URL I use is removed, not being able to have inline attachment in full view. They are displayed again when turning back to "Show all entries"


I tried to fix this in the current CVS. Can you give it a try?


the following patch has to be applied over the one of you to complete it Smile
diff -u -r1.691 elogd.c
--- src/elogd.c 4 Jul 2005 21:12:58 -0000       1.691
+++ src/elogd.c 5 Jul 2005 09:29:57 -0000
@@ -16728,7 +16728,7 @@

    /*---- apply last login cut ----*/

-   if (isparam("new_entries") && isparam("unm"))
+   if (isparam("new_entries") && atoi(getparam("new_entries")) == 1 && isparam("unm"))
       get_user_line(lbs, getparam("unm"), NULL, NULL, NULL, NULL, &ltime_start);

    /*---- assemble message list ----*/
  1226   Tue Jul 5 11:51:14 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAll2.6.0beta2Re: [BUG] show only new entries

Emiliano Gabrielli wrote:
the following patch has to be applied over the one of you to complete it Smile


Ok, done.
  1227   Tue Jul 5 22:35:52 2005 Reply Stefan Rittstefan.ritt@psi.chBug reportAllcvsRe: [BUG] attach=1 and inline imgs

Emiliano Gabrielli wrote:
There is a little difference in the way elog treats attachment's display in list and single message view...
It has to be, but some beaviours can be seen as bugs:

  • this is a real bug (see attachment).. if a file is referred inside the text (as shown in elcode docs) it is correctly not shown when in single message view, but it remains visible both inline and as attachment in the full list view
  • it would be nice for the user having, as in the single message view, the possibility of show or hide a single or all the attachements of a single message ..


I removed attachment displays for all views if the image is referenced inline. A potential problem is that it might confuse people. During submission (and later during editing), they see an attachment at the bottom, but the link at the botton is not visible in normal display. If they want to extract an inline image into a file, they have to know that there is a "Save image as..." in their browser. So let's see how many people complain.
  1229   Wed Jul 6 16:02:30 2005 Idea Tim Iskandertim.iskander@criticallink.comRequestAll2.5.8Request: can the comment for a log book be put in the status bar on hover
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.

___ yea Smile

___ nea Frown

/Tim
  1232   Thu Jul 7 04:47:09 2005 Idea Gary Claysonimppster@gmail.comRequestAll2.5.8Re: Request: can the comment for a log book be put in the status bar on hover

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.

___ yea Smile

___ nea Frown

/Tim


I wonder if there is any way to use the javascript 'window.status' method to accomplish this. It would be a nice addition when there are many logbooks.
Gary ;->
  1239   Thu Jul 7 21:48:31 2005 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.5.8Re: Request: can the comment for a log book be put in the status bar on hover

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.


_X_ yea Smile

___ nea Frown


I added a tooltip to the logbook showing the comment field. The status bar is a bit difficult since it requires Javascript and is not supported by all browsers. But I hope the tooltip is good enough. The modification is in CVS, you can try it at the forum.

- Stefan
  1242   Fri Jul 8 10:52:36 2005 Entry Emiliano GabrielliAlberT@SuperAlberT.itBug reportAll2.6beta2Subst on Reply
the "subst on reply" parameter seems to correctly work only on the first reply..
since the second reply has the author locked to the one having replyed the first time.

Here is my config:
; preset author and email
Preset Author                 = $short_name
Preset Author Email           = $user_email
Subst on reply Author         = $short_name
Subst on reply Author Email   = $user_email
Subst on reply subject        = Re: $subject

; these attributes cannot be changed
Locked Attributes             = Author, Author Email
Fixed Attributes Reply        = Subject

My poor man solution is for now to allow everyone to change the author (unlock the field ..)
  1243   Fri Jul 8 13:32:56 2005 Smile Tim Iskandertim.iskander@criticallink.comRequestAll2.5.8Re: Request: can the comment for a log book be put in the status bar on hover

Stefan Ritt wrote:

Tim Iskander wrote:
We have several logbooks running here with somewhat cryptic names. The comment field for the
logbook describes its intent well enough, so the thought was that the comment could show up in the
status bar (or tooltip) when you hover over the logbook name in the tabs at the top of the page.


_X_ yea Smile

___ nea Frown


I added a tooltip to the logbook showing the comment field. The status bar is a bit difficult since it requires Javascript and is not supported by all browsers. But I hope the tooltip is good enough. The modification is in CVS, you can try it at the forum.

- Stefan


I like it!
thanks...
/Tim
ELOG V3.1.5-3fb85fa6