Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 70 of 238  Not logged in ELOG logo
icon5.gif   Limited access to an attribute, posted by Michael Cianci on Mon Jun 15 19:38:58 2015 

Is there a way to limit access to an attribute "Reviewed by" to only supervisors?

Thank you for your help

Mike

    icon2.gif   Re: Limited access to an attribute, posted by Stefan Ritt on Mon Jun 15 22:00:40 2015 

No.

Michael Cianci wrote:

Is there a way to limit access to an attribute "Reviewed by" to only supervisors?

Thank you for your help

Mike

 

Entry   Limited access to an attribute, posted by Michael Cianci on Mon Jun 15 19:33:39 2015 

Is there a way to limit access to an attribute "Reviewed by" to only supervisors?

Thank you for your help

Mike

icon5.gif   "Preset on reply" not work?, posted by Daniel Sajdyk on Sun Jun 14 21:30:14 2015 

Hi all :)

I try to setup my first lobgook, and have some problem. 

I want that Author was preset by $long_name, and it can't change its name. That works correct. I also want, when other user click Reply, that he will be author of reply, but Author windows goes emtpy... No Author, or Reply User in that field. Is it correct?

Do you have any suggestions? 

Here is part of config I use:

; preset author and email
Preset Author = $long_name
Preset Author Email = $user_email

; these attributes cannot be changed
Locked Attributes = Author

; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email
Preset on reply Author = $long_name

 

Regards

Daniel.

    icon2.gif   Re: "Preset on reply" not work?, posted by Stefan Ritt on Mon Jun 15 08:33:50 2015 

You have "Remove on reply" together with "Preset on reply Author". Since the first is executed later, you first preset the author name, then remove it again. Just discard the "Remove on reply" and you are fine.

Daniel Sajdyk wrote:

Hi all :)

I try to setup my first lobgook, and have some problem. 

I want that Author was preset by $long_name, and it can't change its name. That works correct. I also want, when other user click Reply, that he will be author of reply, but Author windows goes emtpy... No Author, or Reply User in that field. Is it correct?

Do you have any suggestions? 

Here is part of config I use:

; preset author and email
Preset Author = $long_name
Preset Author Email = $user_email

; these attributes cannot be changed
Locked Attributes = Author

; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email
Preset on reply Author = $long_name

 

Regards

Daniel.

 

       icon2.gif   Re: "Preset on reply" not work?, posted by Daniel Sajdyk on Mon Jun 15 09:16:00 2015 

Ok. Now it works :) Thank you :) I'm translating Elog into Polish. When I finish, can I send it to you?

Regards Daniel. 

Stefan Ritt wrote:

You have "Remove on reply" together with "Preset on reply Author". Since the first is executed later, you first preset the author name, then remove it again. Just discard the "Remove on reply" and you are fine.

Daniel Sajdyk wrote:

Hi all :)

I try to setup my first lobgook, and have some problem. 

I want that Author was preset by $long_name, and it can't change its name. That works correct. I also want, when other user click Reply, that he will be author of reply, but Author windows goes emtpy... No Author, or Reply User in that field. Is it correct?

Do you have any suggestions? 

Here is part of config I use:

; preset author and email
Preset Author = $long_name
Preset Author Email = $user_email

; these attributes cannot be changed
Locked Attributes = Author

; options for reply
Subst on reply subject = Re: $Configuration Name
Remove on reply = Author, Author Email
Preset on reply Author = $long_name

 

Regards

Daniel.

 

 

icon4.gif   Drag-and-drop not working in elog 3.1.0, posted by David Wallis on Fri Jun 5 23:08:43 2015 

Drag and drop for attachments dosn't work on either Chrome 37.0.2062.94 (64-bit) or FIrefox 31.5.3 (both on Linux). D&D works on the midas.psi.ch demo page.

On my logbooks, the "drop attachements here" area does not have a dashed line border.

I don't see anything in the elogd.conf file that pertains to this feature.

    icon2.gif   Re: Drag-and-drop not working in elog 3.1.0, posted by Andreas Luedeke on Sat Jun 6 13:38:15 2015 
As you've pointed out, for the very same browsers D&D works with the Forum, and that is ELOG 3.1.0.
Hence I can only conclude that it is neither a browser, nor an ELOG issue, but a problem of your local installation. Maybe you try with a fresh and clean installation first? What Linux are you using, by the way?
Or you've picked by bad luck a 3.1.0 version where D&D did really not work. But I cannot tell, since you did not specify the git revision in the ELOG version (it is possible now ;-)
Cheers
Andreas
David Wallis wrote:

Drag and drop for attachments dosn't work on either Chrome 37.0.2062.94 (64-bit) or FIrefox 31.5.3 (both on Linux). D&D works on the midas.psi.ch demo page.

On my logbooks, the "drop attachements here" area does not have a dashed line border.

I don't see anything in the elogd.conf file that pertains to this feature.

 

       icon2.gif   Re: Drag-and-drop not working in elog 3.1.0, posted by David Wallis on Wed Jun 10 17:45:21 2015 

Andreas,

I am running the latest version of the elogd source RPM that I could find - ELOG V3.1.0-2411f95 on Red Hat Enterprise Linux Server release 6.6 (Santiago), with kernel level 2.6.32-504.16.2.el6.x86_64. I can try grabbing the latest source code from Git and try building that. There are a couple other fixes I'd like to apply anyway. Thanks!

 

Andreas Luedeke wrote:
As you've pointed out, for the very same browsers D&D works with the Forum, and that is ELOG 3.1.0.
Hence I can only conclude that it is neither a browser, nor an ELOG issue, but a problem of your local installation. Maybe you try with a fresh and clean installation first? What Linux are you using, by the way?
Or you've picked by bad luck a 3.1.0 version where D&D did really not work. But I cannot tell, since you did not specify the git revision in the ELOG version (it is possible now ;-)
Cheers
Andreas
David Wallis wrote:

Drag and drop for attachments dosn't work on either Chrome 37.0.2062.94 (64-bit) or FIrefox 31.5.3 (both on Linux). D&D works on the midas.psi.ch demo page.

On my logbooks, the "drop attachements here" area does not have a dashed line border.

I don't see anything in the elogd.conf file that pertains to this feature.

 

 

          icon2.gif   Re: Drag-and-drop not working in elog 3.1.0, posted by Andreas Luedeke on Thu Jun 11 08:48:21 2015 
Dear David,
what I meant with a "fresh and clean installation" is, that you do not install elog on the production system over the existing elog, but instead on another Linux box.
One possible problem could be that you have a modified CSS (or some other file), which is not overwritten by the ELOG installation. That file could break the D & D functionality.
My advise would be, to do an ELOG test installation and try D & D on the demo logbook of that installation. If that works, then you'll need to find out which of your local files is the culprit.
In any case, I would advise to grap the latest source from the development branch in Git and build from that: there had been many bugfixes since April.
Kind Regards
Andreas
 
PS: Stefan, V3.1.0-2411f95 is from April and you've spend a lot of work on ELOG since then. Maybe you could merge the development branch and release the 3.1.1 as an RPM? Thanks!
 
David Wallis wrote:

Andreas,

I am running the latest version of the elogd source RPM that I could find - ELOG V3.1.0-2411f95 on Red Hat Enterprise Linux Server release 6.6 (Santiago), with kernel level 2.6.32-504.16.2.el6.x86_64. I can try grabbing the latest source code from Git and try building that. There are a couple other fixes I'd like to apply anyway. Thanks!

 

Andreas Luedeke wrote:
As you've pointed out, for the very same browsers D&D works with the Forum, and that is ELOG 3.1.0.
Hence I can only conclude that it is neither a browser, nor an ELOG issue, but a problem of your local installation. Maybe you try with a fresh and clean installation first? What Linux are you using, by the way?
Or you've picked by bad luck a 3.1.0 version where D&D did really not work. But I cannot tell, since you did not specify the git revision in the ELOG version (it is possible now ;-)
Cheers
Andreas
David Wallis wrote:

Drag and drop for attachments dosn't work on either Chrome 37.0.2062.94 (64-bit) or FIrefox 31.5.3 (both on Linux). D&D works on the midas.psi.ch demo page.

On my logbooks, the "drop attachements here" area does not have a dashed line border.

I don't see anything in the elogd.conf file that pertains to this feature.

 

 

 

             icon2.gif   Re: Drag-and-drop not working in elog 3.1.0, posted by Stefan Ritt on Thu Jun 11 09:09:03 2015 

Sure, I just wanted to get feedback from you regarding the draft functionality. As it looks now people are happy, so I will do a 3.1.1.

Andreas Luedeke wrote:
 
PS: Stefan, V3.1.0-2411f95 is from April and you've spend a lot of work on ELOG since then. Maybe you could merge the development branch and release the 3.1.1 as an RPM? Thanks!
 

 

icon1.gif   Different timezone settings for each elog, posted by gary holman on Wed Jun 10 17:30:34 2015 

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

    icon2.gif   Re: Different timezone settings for each elog, posted by Stefan Ritt on Wed Jun 10 18:13:50 2015 

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

       icon2.gif   Re: Different timezone settings for each elog, posted by gary holman on Wed Jun 10 20:37:48 2015 

Thanks Stefan,  It looks like the group had actually contacted you directly as well (sorry for the redundant work!).  Thanks for the help, the great application and your time.

 

Stefan Ritt wrote:

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

 

          icon2.gif   Re: Different timezone settings for each elog, posted by gary holman on Wed Jun 10 22:02:33 2015 

Still no luck changing the TZ for a single elog service.  I completed the following:

* I added a new user/group - central-tz-user (id 1010)
* changed user TZ to central, su as user and confirmed CDT via 'date'
* changed elogd.cfg usr and grp to central-tz-user
* changed elog directory recursively to central-tz-user ownership
* restarted the elog instance and confirmed via 'ps aux' that 1010 is running elog process
* When I go to elog and add new entry, server time (PDT) is shown. 

Am I missing a step here possibly?

 

gary holman wrote:

Thanks Stefan,  It looks like the group had actually contacted you directly as well (sorry for the redundant work!).  Thanks for the help, the great application and your time.

 

Stefan Ritt wrote:

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

 

 

             icon2.gif   Re: Different timezone settings for each elog, posted by gary holman on Thu Jun 11 01:32:26 2015 

Okay, I missed the obvious...

sudo -u central-tz-user (start elog)

gary holman wrote:

Still no luck changing the TZ for a single elog service.  I completed the following:

* I added a new user/group - central-tz-user (id 1010)
* changed user TZ to central, su as user and confirmed CDT via 'date'
* changed elogd.cfg usr and grp to central-tz-user
* changed elog directory recursively to central-tz-user ownership
* restarted the elog instance and confirmed via 'ps aux' that 1010 is running elog process
* When I go to elog and add new entry, server time (PDT) is shown. 

Am I missing a step here possibly?

 

gary holman wrote:

Thanks Stefan,  It looks like the group had actually contacted you directly as well (sorry for the redundant work!).  Thanks for the help, the great application and your time.

 

Stefan Ritt wrote:

The elog server grabs the local timezone from the underlying OS. Under Linux, you can change the timezone using the TZ environment variable. See here: http://www.cyberciti.biz/faq/howto-linux-set-time-zone-per-user-basis/

If you need different time zones on the same server, you have to create two accounts and run two instances of elogd on these accounts.

 

gary holman wrote:

I have multiple elogs running on a server.  Is it possible to set one elog to a different timezone?  For example, I run an elog for a group in Washington state, and another elog for a collaboration group in Germany.  I would like to set each elog to their respective timezone. 

thanks,

 

Gary

 

 

 

 

icon5.gif   Is ELOG sending out cookies?, posted by David Pilgram on Wed Jun 10 14:25:16 2015 

On my linux box, every time I select a thread, or start a new entry etc, I see that one or many cookies are sent.

On a terminal, I get the message

Received unknown cookie "CalciumDisplayParams"


Now I do have a perl script called Calcium, (Calendar viewed through the browser) but it's definately not running now, not in any browser window, and in any case why should an action of ELOG trigger this?  I realise it may be due to an idiocyncratic set up of this box.  But in normal operation, I doubt the user would see these cookies being received.

    icon2.gif   Re: Is ELOG sending out cookies?, posted by Stefan Ritt on Wed Jun 10 15:35:14 2015 

Cookies are sent from your browser. ELOG has no influence on what the browser sends where. Probably you run your calender at the same machine where ELOG is running, so all the cookies your calender app stores in your browser are sent to ELOG as well. ELOG just complains about something it does not know, but otherwise this message can be simply ignored. Of course you can delete your cookies in your browser, but after the next call to your calendar app they will show up again.

David Pilgram wrote:

On my linux box, every time I select a thread, or start a new entry etc, I see that one or many cookies are sent.

On a terminal, I get the message

Received unknown cookie "CalciumDisplayParams"


Now I do have a perl script called Calcium, (Calendar viewed through the browser) but it's definately not running now, not in any browser window, and in any case why should an action of ELOG trigger this?  I realise it may be due to an idiocyncratic set up of this box.  But in normal operation, I doubt the user would see these cookies being received.

 

       icon2.gif   Re: Is ELOG sending out cookies?, posted by David Pilgram on Wed Jun 10 15:48:57 2015 

Hi Stefan,

Thanks for the explanation.  I realised it was just an error message of no real import, but it can get irritating at times.

Stefan Ritt wrote:

Cookies are sent from your browser. ELOG has no influence on what the browser sends where. Probably you run your calender at the same machine where ELOG is running, so all the cookies your calender app stores in your browser are sent to ELOG as well. ELOG just complains about something it does not know, but otherwise this message can be simply ignored. Of course you can delete your cookies in your browser, but after the next call to your calendar app they will show up again.

David Pilgram wrote:

On my linux box, every time I select a thread, or start a new entry etc, I see that one or many cookies are sent.

On a terminal, I get the message

Received unknown cookie "CalciumDisplayParams"


Now I do have a perl script called Calcium, (Calendar viewed through the browser) but it's definately not running now, not in any browser window, and in any case why should an action of ELOG trigger this?  I realise it may be due to an idiocyncratic set up of this box.  But in normal operation, I doubt the user would see these cookies being received.

 

 

icon5.gif   Formatting multiple datetime entries, posted by Edmund Hertle on Wed May 27 14:22:11 2015 
Hey

in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End

Type Time Start = datetime
Type Time End = datetime

Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.

Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?

Example:
Attributes = Time Start, Time End

Type Time Start = datetime
Type Time End = datetime

Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
    icon2.gif   Re: Formatting multiple datetime entries, posted by Stefan Ritt on Wed Jun 10 11:52:47 2015 

Edmund Hertle wrote:
Hey

in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End

Type Time Start = datetime
Type Time End = datetime

Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.

Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?

Example:
Attributes = Time Start, Time End

Type Time Start = datetime
Type Time End = datetime

Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S


Ok, implemented in the current version.
       icon2.gif   Re: Formatting multiple datetime entries, posted by Neal Grafton on Wed Jun 10 12:48:41 2015 

Stefan Ritt wrote:

Edmund Hertle wrote:
Hey

in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End

Type Time Start = datetime
Type Time End = datetime

Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.

Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?

Example:
Attributes = Time Start, Time End

Type Time Start = datetime
Type Time End = datetime

Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S


Ok, implemented in the current version.


I can use that....
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End?
          icon2.gif   Re: Formatting multiple datetime entries, posted by Stefan Ritt on Wed Jun 10 12:52:48 2015 

Neal Grafton wrote:

Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End?


Nope. The only way to do that is to use a scrip on the server (see elog:67876 for example), or use JavaScript. With "Top Text = <file>" you can "sneak in" some JavaScript code which massages the DOM tree and computes everything you want.

/Stefan
          icon2.gif   Re: Formatting multiple datetime entries, posted by Stefan Ritt on Wed Jun 10 12:56:58 2015 

Neal Grafton wrote:
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End?


I guess you want to do some more complex calculations, like adding the running times, etc. This goes beyond the scope of elog. You can however export elog entries as a CSV file and import it in a spreadsheet program and do there all calculations you want.

/Stefan
             icon2.gif   Re: Formatting multiple datetime entries, posted by Neal Grafton on Wed Jun 10 13:00:07 2015 

Stefan Ritt wrote:

Neal Grafton wrote:
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End?


I guess you want to do some more complex calculations, like adding the running times, etc. This goes beyond the scope of elog. You can however export elog entries as a CSV file and import it in a spreadsheet program and do there all calculations you want.

/Stefan


Thanks Stefan



Neal
icon1.gif   elconv deletes everything, posted by Konstantin Olchanski on Wed May 20 01:49:37 2015 
Converting from elog 2.9.something to new elog 3.1.0 elogd refuses to start, instructs running elconv in one logbook.

When I do so, elconv converts a existing mhttpd-style elog entries to the new format (the corresponding new-format entries already exist)
and deletes everything else - this is very bad.

So there are 2 bugs:
- elogd should not tell us to run elconv when both old-style and corresponding new-style elog entries exist
- elconv should not delete all existing new-style elog entries.

I confirm that elconv *does* delete all new-style elog entries - with strace, I see it issue "unlink" on every elog entry.

What a disaster!

K.O.
    icon2.gif   Re: elconv deletes everything, posted by Stefan Ritt on Wed Jun 10 11:39:23 2015 
> - elogd should not tell us to run elconv when both old-style and corresponding new-style elog entries exist

I removed that check completely. The old format was used up to 2002, so I expect that all users have upgraded in meantime.

Stefan
ELOG V3.1.5-3fb85fa6