Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 71 of 238  Not logged in ELOG logo
icon5.gif   Timstamp button in ckedit inserts an incorrect string ( elogd 3.1.0-2), posted by David Wallis on Thu May 28 17:28:20 2015 
I just updated to the latest official release (V3.1.0-2411f95)
and have this problem:

The Time Stamp button pastes the logbook name when "Time format" is not specified in elogd.cfg, and when it is set to "%m/%d/%Y
    icon2.gif   ELOG Forum: drafts cannot be deleted, posted by Andreas Luedeke on Fri May 29 09:46:11 2015 
I wanted to reply to the post "Three problems..." and then changed my mind. 
But since this logbook does not allow to delete entries (not even my own) I was neither able to remove the draft
nor the final entry.
       icon2.gif   ELOG Forum: drafts cannot be deleted, posted by Stefan Ritt on Tue Jun 9 17:09:22 2015 
> Another strange thing: the draft got submitted when I hit the "Back" button after reopening it.

Well, this is a problem indeed. When edit entries now, drafts gets saved regularly, overwriting your original entry. This is a limitation of the elog database,
          icon2.gif   ELOG Forum: drafts cannot be deleted, posted by Andreas Luedeke on Wed Jun 10 10:43:02 2015 
> > Another strange thing: the draft got submitted when I hit the "Back" button after reopening it.

> Well, this is a problem indeed. When edit entries now, drafts gets saved regularly, overwriting your original entry. 
             icon2.gif   ELOG Forum: drafts cannot be deleted, posted by Stefan Ritt on Wed Jun 10 10:55:00 2015 
> I think it would be nice to have three options:
> - "Submit": making the draft entry a "real" entry, with an ID
> - "Abort": keeping the entry as a draft entry as it currently is (or was 10 sec ago)
    icon2.gif   Re: Timstamp button in ckedit inserts an incorrect string ( elogd 3.1.0-2), posted by David Wallis on Thu Jun 4 18:12:43 2015 
Additional info:

"Time format = %Y" results in "2015" being pasted into the edit window when I hit the "time stamp" button.
       icon2.gif   Re: ckeditor "Insert Timestamp" bug (was: Three problems with elogd 3.1.0-2), posted by Andreas Luedeke on Fri Jun 5 19:08:17 2015 
I can confirm that there is currently a problem with the ckeditor "Insert Timestamp" button.

It apparently calls javascript
code in ckeditor/plugins/timestamp/plugin.js

to catch a string from the URL "../../?cmd=gettimedate"

(I think this
is one too many "../", but anyway). if you try this for the Forum:

https://midas.psi.ch/elogs/Forum/?cmd=gettimedate

it
          icon2.gif   Re: ckeditor "Insert Timestamp" bug (was: Three problems with elogd 3.1.0-2), posted by David Wallis on Fri Jun 5 23:02:06 2015 
Andreas,

I too was able to track the problem down to the "gettimedate" function in elogd.c. It looks like the code is using a variable named
"str" for several different purposes. I haven't had a chance to do any testing, but my suspsicion is that the size of the dynamically allocated
             icon2.gif   Re: ckeditor "Insert Timestamp" bug (was: Three problems with elogd 3.1.0-2), posted by Stefan Ritt on Mon Jun 8 12:02:30 2015 
Indeed the "str" variable at the gettimedate function had the wrong string size, so that all date strings got truncated at 8 characters. That's
what you've seen. Also the ../../?cmd=gettimedate was wrong and it
should be ./?cmd=gettimedate. I committed the fix to GIT so it will be
icon5.gif   subject line bug on resumit elog entries as new?, posted by Jacky Li on Fri May 29 22:32:20 2015 
Hi,

I updated an old elog entry and resubmit it as new by checking the box resubmit as new.   Does the subject line should said it is a "New
ELOG entry" instead of "Updated ELOG entry"?  Thank you.
    icon2.gif   Re: subject line bug on resumit elog entries as new?, posted by Stefan Ritt on Tue Jun 9 12:51:07 2015 
I fixed both issues, now resubmitting an entry or submitting a new entry both yields "New LEOG entry".




Jacky
Li wrote:



Hi,
       icon2.gif   Re: subject line bug on resumit elog entries as new?, posted by David Pilgram on Tue Jun 9 16:17:06 2015 
Hi Stefan,

I see that you've updated the elog running this forum today, 5 versions after you reported fixing the "A new elog entry has been entered"
and "An old elog entry has been updated" issue.  But the emails coming out are still all of the "An old elog entry...", rather
          icon2.gif   Re: subject line bug on resumit elog entries as new?, posted by Stefan Ritt on Tue Jun 9 16:46:48 2015 
Any better now?




David
Pilgram wrote:



Hi Stefan,
             icon2.gif   Re: subject line bug on resumit elog entries as new?, posted by David Pilgram on Tue Jun 9 16:51:55 2015 
Hi Stefan,

The email sent from here had he expected (correct) message "A new ELOG entry..."

Thanks, David.
                icon2.gif   Re: subject line bug on resumit elog entries as new?, posted by Jacky Li on Tue Jun 9 22:31:59 2015 
Hi,

I compiled the 3.1.0-2 source rpm from the download area.  Unless there is a minor release, I think the problem is still there.  Thank
you.
                   icon2.gif   Re: subject line bug on resumit elog entries as new?, posted by Stefan Ritt on Wed Jun 10 08:13:50 2015 bitbucket.png
Making a new release takes me about an hour (compile under Windows, Linux, Mac OSX), so I don't do it for each little change. If you want to follow
the development closely, I recommend that you learn to compile elog from the GIT repository. It's pretty easy: a git
pull, followed by a make and 
Entry   Problem with a draft message, posted by David Pilgram on Tue Jun 9 17:17:11 2015 
Hi Stefan,

I had started to write a completely different bug report, but then realised I had not checked a detail.  I had written about one sentence. 
So I decided to abort the message, and hit the "back" button.  Only I found that this had created a new entry in the elog listings. 
    icon2.gif   Re: Problem with a draft message, posted by David Pilgram on Tue Jun 9 17:21:25 2015 
Just to comment that I submitted the entry below by pressing the "Back" button!




David
Pilgram wrote:



Hi Stefan,
       icon2.gif   Re: Problem with a draft message, posted by David Pilgram on Tue Jun 9 17:23:27 2015 
Just to comment that the expected emails that one would have expected with the last two entries have either
been held up or simply have not been generated and sent - both the preceeding entries were submitted by using the "Back" button, this
time I'll use the "Submit" button, which should generate a email.
          icon2.gif   Re: Problem with a draft message, posted by Stefan Ritt on Tue Jun 9 19:35:28 2015 
Just read what I wrote at elog:67983




David
Pilgram wrote:



Just to comment that the expected emails that one would have expected
             icon2.gif   Re: Problem with a draft message, posted by David Pilgram on Tue Jun 9 20:26:00 2015 
I missed or don't remember that post.  My vote is replace "Back" with "Delete" - or "Abort"




Stefan
Ritt wrote:



Just read what I wrote at elog:67983
icon3.gif   logout to external page, posted by Christof Hanke on Wed May 6 11:00:14 2015 logout_to_page.patch
Hi Stefan,

I am happy to see that you include the webserver authentication.
So I can now login at some other page and then access elog.
    icon2.gif   Re: logout to external page, posted by Stefan Ritt on Tue Jun 9 16:09:39 2015 
I implemented it, but actually called it Logout to URL = <URL>




Christof
Hanke wrote:



Hi Stefan,
       icon2.gif   Re: logout to external page, posted by Christof Hanke on Tue Jun 9 16:58:28 2015 
Yes, I saw it on bitbucket, also all the commits. Thanks!




Stefan
Ritt wrote:



I implemented it, but actually called it 
icon1.gif   Documentation of the webserver authentication, posted by Christof Hanke on Wed May 6 12:31:04 2015 webserver_auth_doc.patch
Hi Stefan,

here is a draft of how you could describe the webserver authentication in your docs.

T/Christof
    icon2.gif   Re: Documentation of the webserver authentication, posted by Stefan Ritt on Tue Jun 9 16:57:06 2015 
Also this made it now to the docs. Thanks.




Christof
Hanke wrote:



Hi Stefan,
icon4.gif   parse a correctly the username in save_user_config when using Webserver authentication, posted by Christof Hanke on Wed May 6 15:13:11 2015 parse_http_user_correctly.patch
Hi Stefan,

 

When we use Webserver authentication, we have the correct username already in the variable http_user.
    icon2.gif   Re: parse a correctly the username in save_user_config when using Webserver authentication, posted by Stefan Ritt on Tue Jun 9 15:44:49 2015 
Hi Christof,

thanks for the patch, I merged it into the current HEAD.

/Stefan
icon3.gif   Attribute not updated, posted by Francois Cloutier on Wed May 13 14:58:46 2015 
Good day,

I'm populating 2 fields based on the Option set in a third one.
    icon2.gif   Re: Attribute not updated, posted by Francois Cloutier on Wed May 13 15:19:55 2015 
I also tried with :
{1, 53} Preset #Parution = 1
{2, 54} Preset #Parution = 2
    icon2.gif   Re: Attribute not updated, posted by Andreas Luedeke on Thu May 14 02:02:45 2015 
Hi Francois,
as far as I know there is a limit on the number of conditions you can use (See elog:67303).
I guess you did hit that limit.
       icon2.gif   Re: Attribute not updated, posted by Francois Cloutier on Thu May 14 02:27:58 2015 
> Hi Francois,
> as far as I know there is a limit on the number of conditions you can use (See elog:67303).
> I guess you did hit that limit.
          icon6.gif   Re: Attribute not updated, posted by Andreas Luedeke on Thu May 14 04:59:03 2015 
 
> Seriously, I really hope It could make it... Could you try it on your side ?
             icon2.gif   Re: Attribute not updated, posted by Francois Cloutier on Thu May 14 05:08:06 2015 
>  
> > Seriously, I really hope It could make it... Could you try it on your side ?
                icon2.gif   Re: Attribute not updated, posted by Midas User on Tue Jun 9 15:28:53 2015 
> I saw in the doc that an attribute cant be bigger than 100 char. but I couldn't figure the maximum size for options...  I'm wondering if the issue comes
from the browser not refreshing correctly or if its elog..
icon1.gif   edit somebody else's draft, posted by Konstantin Olchanski on Wed May 20 01:54:55 2015 
this elog offers me to edit a draft message, then yells at me "only some other user can edit this draft!!!".
methinks I should only be offered to edit draft messages that I own or I can edit. K.O.
    icon2.gif   Re: edit somebody else's draft, posted by David Pilgram on Wed May 20 22:12:49 2015 
> this elog offers me to edit a draft message, then yells at me "only some other user can edit this draft!!!".
> methinks I should only be offered to edit draft messages that I own or I can edit. K.O.
I find it odd that I can see someone elses draft, but never one that I am in the middle of composing (using a
       icon2.gif   Re: edit somebody else's draft, posted by Stefan Ritt on Fri May 22 13:50:31 2015 
> > this elog offers me to edit a draft message, then yells at me "only some other user can edit this draft!!!".
> > methinks I should only be offered to edit draft messages that I own or I can edit. K.O.
> I find it odd that I can see someone elses draft, but never one that I am in the middle of composing (using a
    icon2.gif   Re: edit somebody else's draft, posted by Midas User on Tue Jun 9 15:22:03 2015 
> this elog offers me to edit a draft message, then yells at me "only some other user can edit this draft!!!".
> methinks I should only be offered to edit draft messages that I own or I can edit. K.O.
ELOG V3.1.5-3fb85fa6