Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 114 of 238  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon1.gif   attachment filename bug & Makefile issue, posted by A. Martin on Sat May 15 06:01:40 2010 file.txt
If I upload the file "000000_000000_file.txt", elog will chop the filename to "file.txt."  Also, this effects
the file's displayed "Uploaded" time.  It shows the file as being uploaded on: "Tue Nov 30 00:00:00 1999"

Note the attachment to this post.

----

Makefile has the line:

# flag for SSL support
USE_SSL    = 1

However setting USE_SSL = 0 does not prevent the openssl libraries from being used.  Same issue with USE_CRYPT.
 You have to comment them out.

Lines 76-85 of Makefile should be replaced with this:

ifdef USE_SSL
ifneq ($(USE_SSL), 0)
CFLAGS += -DHAVE_SSL
LIBS += -lssl
endif
endif

ifdef USE_CRYPT
ifneq ($(USE_CRYPT), 0)
CFLAGS += -DHAVE_CRYPT
LIBS += -lcrypt
endif
endif

Thanks,
amartin
    icon2.gif   Re: attachment filename bug & Makefile issue, posted by Stefan Ritt on Tue May 18 16:40:15 2010 
> If I upload the file "000000_000000_file.txt", elog will chop the filename to "file.txt."  Also, this effects
> the file's displayed "Uploaded" time.  It shows the file as being uploaded on: "Tue Nov 30 00:00:00 1999"

Arghh! Why did you choose such a filename? This is the ELOG internal file format, which is YYMMDD_HHMMSS_name.ext. 
For internal reasons (mainly for synchronization) the system checks every file name, and if it contains 6 numbers 
followed by a "_" followed by 6 other numbers it thinks it's a valid date/time and uses that. Your time is however 
0.0.0000, that's why it gets converted to some date in 1999. Do you absolutely need this functionality? While I can 
easily remove the interpretation of the date, it would break the synchronization functionality and I would have to 
find some other method to pass the file date/time, which would be quite some work. So if it's not too important for 
you, I would like to keep it as it is.

> Makefile has the line:
> 
> # flag for SSL support
> USE_SSL    = 1
> 
> However setting USE_SSL = 0 does not prevent the openssl libraries from being used.  Same issue with USE_CRYPT.
>  You have to comment them out.
> 
> Lines 76-85 of Makefile should be replaced with this:
> 
> ifdef USE_SSL
> ifneq ($(USE_SSL), 0)
> CFLAGS += -DHAVE_SSL
> LIBS += -lssl
> endif
> endif
> 
> ifdef USE_CRYPT
> ifneq ($(USE_CRYPT), 0)
> CFLAGS += -DHAVE_CRYPT
> LIBS += -lcrypt
> endif
> endif

The original idea was that one outcomments the whole line, like

#USE_SSL = 1

which always worked, but I agree that your solution is more general, so I changed the official Makefile. Thanks for 
that.
       icon2.gif   Re: attachment filename bug & Makefile issue, posted by A. Martin on Thu May 20 04:33:07 2010 


> > If I upload the file "000000_000000_file.txt", elog will chop the filename to "file.txt."  Also, this effects
> > the file's displayed "Uploaded" time.  It shows the file as being uploaded on: "Tue Nov 30 00:00:00 1999"
> 
> Arghh! Why did you choose such a filename? This is the ELOG internal file format, which is YYMMDD_HHMMSS_name.ext. 
> For internal reasons (mainly for synchronization) the system checks every file name, and if it contains 6 numbers 
> followed by a "_" followed by 6 other numbers it thinks it's a valid date/time and uses that. Your time is however 
> 0.0.0000, that's why it gets converted to some date in 1999. Do you absolutely need this functionality? While I can 
> easily remove the interpretation of the date, it would break the synchronization functionality and I would have to 
> find some other method to pass the file date/time, which would be quite some work. So if it's not too important for 
> you, I would like to keep it as it is.
> 

Thank you for your response.  

I can certainly use another filename, but I'm curious why elog doesn't convert the filename "000000_000000_file.txt" to
"YYMMDD_HHMMSS_000000_000000_file.txt" when it gets uploaded.  All other files are automatically prepended with this
string.  Manually renaming the file and then editing the elog entry via text editor seems to fix the file.

thanks,
amartin
icon5.gif   Required Attributes, posted by Eric Krise on Fri May 14 16:53:54 2010 

Is there a way to require a certain attribute on reply, but not on an original entry?  In some cases info. for these fields only exists on reply.

    icon2.gif   Re: Required Attributes, posted by Stefan Ritt on Fri May 14 17:03:36 2010 

Eric Krise wrote:

Is there a way to require a certain attribute on reply, but not on an original entry?  In some cases info. for these fields only exists on reply.

No. There is only "Preset on reply ..." and "Remove on reply...". You could for example require that attribute, preset it for new entries with some dummy value, and remove that value with "Remove on reply...". Maybe that works. 

icon5.gif   Entry merging, posted by Eric Krise on Thu May 13 13:31:53 2010 

Is there a way to merge existing entries from several logbooks into a single logbook? 

    icon2.gif   Re: Entry merging, posted by Stefan Ritt on Fri May 14 08:57:07 2010 

Eric Krise wrote:

Is there a way to merge existing entries from several logbooks into a single logbook? 

Only manually: Add "Move to" to you set of commands via "Menu commands = ...", then select one or more entries, and move them to your target logbook.  

       icon2.gif   Re: Entry merging, posted by Eric Krise on Fri May 14 16:50:53 2010 

Stefan Ritt wrote:

Eric Krise wrote:

Is there a way to merge existing entries from several logbooks into a single logbook? 

Only manually: Add "Move to" to you set of commands via "Menu commands = ...", then select one or more entries, and move them to your target logbook.  

 Got it! Thanks...

icon5.gif   HTML email format displays plain text if email client is offline, posted by Jim Covert on Tue May 11 19:14:37 2010 

My elog server is hosted behind a firewall and I use a VPN client to connect to the network on which it is hosted.  When I'm logged into the VPN emails from elog display fine, but when I'm not connected to the VPN emails display in plain text because the email client is unable to load "default.css" since it's behind a firewall.

Is there a way to include the style information in the HTML email rather than in a separate file that's hosted on the elog server? 

    icon2.gif   Re: HTML email format displays plain text if email client is offline, posted by Stefan Ritt on Wed May 12 16:30:45 2010 

Jim Covert wrote:

My elog server is hosted behind a firewall and I use a VPN client to connect to the network on which it is hosted.  When I'm logged into the VPN emails from elog display fine, but when I'm not connected to the VPN emails display in plain text because the email client is unable to load "default.css" since it's behind a firewall.

Is there a way to include the style information in the HTML email rather than in a separate file that's hosted on the elog server? 

That's a good idea. I will consider that for a future version. 

icon5.gif   cell style bug?, posted by ch huet on Thu May 6 17:40:47 2010 

hello

i've tried to change the color of a cell with "cell style"

it doesn't works

by removiving "cell" in the line ,just to get "style" the color of all cell of the row change (so it works for that...)

regards

    icon2.gif   Re: cell style bug?, posted by Stefan Ritt on Fri May 7 08:09:16 2010 

ch huet wrote:

hello

i've tried to change the color of a cell with "cell style"

it doesn't works

by removiving "cell" in the line ,just to get "style" the color of all cell of the row change (so it works for that...)

regards

As written here: https://midas.psi.ch/elogs/Forum/66807 you need to upgrade to version 2.7.8-5 of ELOG to get this functionality. 

       icon2.gif   Re: cell style bug?, posted by ch huet on Fri May 7 15:35:12 2010 

Stefan Ritt wrote:

ch huet wrote:

hello

i've tried to change the color of a cell with "cell style"

it doesn't works

by removiving "cell" in the line ,just to get "style" the color of all cell of the row change (so it works for that...)

regards

As written here: https://midas.psi.ch/elogs/Forum/66807 you need to upgrade to version 2.7.8-5 of ELOG to get this functionality. 

 You're right my verssion was the previous one

icon5.gif   default font size in editor window, posted by Sara Vanini on Wed May 5 13:43:41 2010 

Hi,

is it possible to have as DEFAULT the font Size larger ?

Thanks

Sara

    icon2.gif   Re: default font size in editor window, posted by Stefan Ritt on Wed May 5 13:46:40 2010 

Sara Vanini wrote:

Hi,

is it possible to have as DEFAULT the font Size larger ?

Thanks

Sara

This is controlled by the FCKEditor  which is just a plug-in to ELOG. Maybe you find some information on their website: http://ckeditor.com/

icon5.gif   background color and font, posted by siva kumar on Sun Apr 4 11:26:19 2010 current.jpglooking_for.jpg

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

    icon2.gif   Re: background color and font, posted by Stefan Ritt on Thu Apr 15 13:32:35 2010 

siva kumar wrote:

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

I have added a new option for you:

Cell Style <attribute> <value> = ...

which does exactly that. The new version is 2.7.8-5 is ready for download. 

       icon2.gif   Re: background color and font, posted by siva kumar on Sun Apr 18 11:54:38 2010 

Stefan Ritt wrote:

siva kumar wrote:

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

I have added a new option for you:

Cell Style <attribute> <value> = ...

which does exactly that. The new version is 2.7.8-5 is ready for download. 

 Dear Stefan,

I really appreciate you doing this for me. i downloaded the latest version and configured as you said. its working very well. Actually this is what i am exactly looking for. Thank you very much

i would like to ask you about one more issue.

is it possible to deduct a numeric attribute from another numeric attrubute

let me explain clearly. suppose i have two attribute, both having a numeric value which is submitted by the user.

i would like to get its difference of these two attribute in an another attribute

please let me know its possible or not

once again i would like to appreciate you for making this wonderful application and helping me to resolve the issue

Best Regards

siva

 

          icon2.gif   Re: background color and font, posted by Stefan Ritt on Mon Apr 19 08:49:49 2010 

siva kumar wrote:

I really appreciate you doing this for me. i downloaded the latest version and configured as you said. its working very well. Actually this is what i am exactly looking for. Thank you very much

i would like to ask you about one more issue.

is it possible to deduct a numeric attribute from another numeric attrubute

let me explain clearly. suppose i have two attribute, both having a numeric value which is submitted by the user.

i would like to get its difference of these two attribute in an another attribute

please let me know its possible or not

once again i would like to appreciate you for making this wonderful application and helping me to resolve the issue

You can do this is JavaScript. Just have a look here:

https://midas.psi.ch/elogs/Contributions/30 

       icon2.gif   Re: background color and font, posted by Ruslan on Mon May 3 23:12:55 2010 

Stefan Ritt wrote:

siva kumar wrote:

Stefan,

i recently download the elog server for windows and configured. its working with me fine

i would like to configure my elog server for to display a different color when am giving a specific "value" for a attribute "Status".

from the documentation i found to use the

Style Status Fixed = background-color:green

but with this configuration, the entire raw will be with red color or the specified color. i am looking only for that specific box (Status column) to be with specific color.

my configuration is as follows

Attributes = Author, Type, Category,  Subject, Location, Problem Description, Status

Options Status = Fixed, Under Process, Not Fixed

Style Status Fixed  = background-color:green

Style Status Not Fixed  = background-color:red

Style Status Under Process  = background-color:yellow

Am attaching two images, one is current display and next one is what i am looking for

am not sure about will it possible or not.  please guide me. if it possible with javascript please tell me how i can include a external javascript for this pupose.

Thanks in advance

siva

I have added a new option for you:

Cell Style <attribute> <value> = ...

which does exactly that. The new version is 2.7.8-5 is ready for download. 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan.

 

          icon2.gif   Re: background color and font, posted by Stefan Ritt on Tue May 4 09:22:19 2010 

Ruslan wrote:

 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan. 

This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. 

             icon2.gif   Re: background color and font, posted by Ruslan on Tue May 4 09:40:40 2010 

Stefan Ritt wrote:

Ruslan wrote:

 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan. 

This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. 

 Thanks a lot Stefan.

             icon2.gif   Re: background color and font, posted by Ruslan on Tue May 4 10:48:06 2010 

Stefan Ritt wrote:

Ruslan wrote:

 

Hello Stefan,

I can not find 2.7.8-5 tar file. Could you please point where it is?

Thanks,

Ruslan. 

This is an intermediate (-5) release. Usually I do not build the tar files, since linux users can always grab the source code via SVN and built it themselves. I just make the for the Windows users since most of the do not have a C compiler. Exceptionally I made a 2.7.8-5.tar file for you, which you can obtain from the download area. 

The problem is still there in 2.7.8-5. The following line 'Cell Style Status Done = background-color:green' does not do anything whereas 'Style Status Done = background-color:green' highlights the whole row. Is that fixed?

Thanks,

Ruslan.

                icon2.gif   Re: background color and font, posted by Stefan Ritt on Tue May 4 11:43:22 2010 

Ruslan wrote:

 

The problem is still there in 2.7.8-5. The following line 'Cell Style Status Done = background-color:green' does not do anything whereas 'Style Status Done = background-color:green' highlights the whole row. Is that fixed?

Thanks,

Ruslan.

Then it must be a typo in your elogd.cfg, or you forgot to restart the server. At the bottom of the elog page you must see ELOG V2.7.8-2294 like on this page. For the Demo logbook (accessible via "Demo" on the top left corner of this page, you can see how it works (Type=Routine gets green).

                   icon2.gif   Re: background color and font, posted by Ruslan on Tue May 4 12:32:28 2010 

Stefan Ritt wrote:

Ruslan wrote:

 

The problem is still there in 2.7.8-5. The following line 'Cell Style Status Done = background-color:green' does not do anything whereas 'Style Status Done = background-color:green' highlights the whole row. Is that fixed?

Thanks,

Ruslan.

Then it must be a typo in your elogd.cfg, or you forgot to restart the server. At the bottom of the elog page you must see ELOG V2.7.8-2294 like on this page. For the Demo logbook (accessible via "Demo" on the top left corner of this page, you can see how it works (Type=Routine gets green).

 Right, I should have restarted the server. Thanks! Everything looks perfect now!

icon5.gif   Problems with SSL and Synchronization, posted by Mark Langkau on Tue Dec 30 21:13:02 2008 

I installed ELOG on a Linux server (CentOS 5.2) and a WinXP laptop.

- If I set both servers to non-SSL, I can synchronize with no problems.

- If I set both servers to use SSL, synchronization fails with "Error code: ssl_error_rx_record_too_long" 

- If I set one to ssl and the other non-ssl, synchronization fails with "Remote server is not an ELOG server"

Is anyone synchronizing or mirroring two ELOG servers with SSL? When either or both servers are set to use SSL, I can use either site. but I can't synchronize.

 

Thanks


    icon2.gif   Re: Problems with SSL and Synchronization, posted by Stefan Ritt on Wed Dec 31 11:31:49 2008 

 

Mark Langkau wrote:

I installed ELOG on a Linux server (CentOS 5.2) and a WinXP laptop.

- If I set both servers to non-SSL, I can synchronize with no problems.

- If I set both servers to use SSL, synchronization fails with "Error code: ssl_error_rx_record_too_long" 

- If I set one to ssl and the other non-ssl, synchronization fails with "Remote server is not an ELOG server"

Is anyone synchronizing or mirroring two ELOG servers with SSL? When either or both servers are set to use SSL, I can use either site. but I can't synchronize.

 

Synchronization with SSL does not yet work. I have to find some time to implement it. Since you are already the second one mentioning this, it slipped higher on my to-do list  

       icon2.gif   Re: Problems with SSL and Synchronization, posted by Brett Viren on Mon Mar 23 22:29:20 2009 
> Synchronization with SSL does not yet work. I have to find some time to implement it. Since you are already the second one mentioning this, it slipped higher on my to-do list

Please make this 3. We (Daya Bay experiment) are just starting to set up Elog and will really want this feature!

Thanks.
-Brett.
          icon2.gif   Re: Problems with SSL and Synchronization, posted by Brett Viren on Thu Mar 26 21:34:24 2009 

Brett Viren wrote:


Please make this 3. We (Daya Bay experiment) are just starting to set up Elog and will really want this feature!


I came up with a work-around for the lack of support for mirroring and SSL. You can put Elog behind an Apache proxy. Apache can serve through SSL for normal user access. The Elog server can "hosts allow" localhost and any mirrors and deny all others.

This still leaves the mirroring account subject to sniffing, which could be bad if mirrors are allowed to change content on the master, but it will greatly minimize the potential exposure of passwords. This could even be removed by only allowing localhost and mirroring over SSH tunnels.

-Brett.
       icon2.gif   Re: Problems with SSL and Synchronization, posted by Diogo Alves on Mon Nov 9 09:32:19 2009 

Stefan Ritt wrote:

 

Mark Langkau wrote:

I installed ELOG on a Linux server (CentOS 5.2) and a WinXP laptop.

- If I set both servers to non-SSL, I can synchronize with no problems.

- If I set both servers to use SSL, synchronization fails with "Error code: ssl_error_rx_record_too_long" 

- If I set one to ssl and the other non-ssl, synchronization fails with "Remote server is not an ELOG server"

Is anyone synchronizing or mirroring two ELOG servers with SSL? When either or both servers are set to use SSL, I can use either site. but I can't synchronize.

 

Synchronization with SSL does not yet work. I have to find some time to implement it. Since you are already the second one mentioning this, it slipped higher on my to-do list  

 Count me also in for the to-do list climbing :-D

       icon2.gif   Re: Problems with SSL and Synchronization, posted by Anthony Palladino on Sat May 1 18:02:30 2010 

Stefan Ritt wrote:

 

Mark Langkau wrote:

I installed ELOG on a Linux server (CentOS 5.2) and a WinXP laptop.

- If I set both servers to non-SSL, I can synchronize with no problems.

- If I set both servers to use SSL, synchronization fails with "Error code: ssl_error_rx_record_too_long" 

- If I set one to ssl and the other non-ssl, synchronization fails with "Remote server is not an ELOG server"

Is anyone synchronizing or mirroring two ELOG servers with SSL? When either or both servers are set to use SSL, I can use either site. but I can't synchronize.

 

Synchronization with SSL does not yet work. I have to find some time to implement it. Since you are already the second one mentioning this, it slipped higher on my to-do list  

 

 

Hi Stefan, we would also like to see synchronization with SSL working. Hopefully now this task can slip even higher on your to-do list.   It is a real pain to get to the elog from outside PSI, when elogd is running inside PSI (which it must be when working as an online logbook with MIDAS). We would very much ike to mirror it on a server outside PSI.

ELOG V3.1.5-3fb85fa6