Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 115 of 238  Not logged in ELOG logo
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.

icon5.gif   Logout, authentication failure causes "redir", posted by Niklas on Wed Apr 28 10:38:51 2010 

When someone logout from my Elog, or the person does not have access to a logbook (due to "Login user  =") the person gets a blank webpage with "redir" typed in the upper left corner.

I guess it should redir to some webpage? How can I get it to actually do that? Am I missing something in elogd.cfg?

 

 

    icon2.gif   Re: Logout, authentication failure causes "redir", posted by Stefan Ritt on Wed Apr 28 11:09:47 2010 

Niklas wrote:

When someone logout from my Elog, or the person does not have access to a logbook (due to "Login user  =") the person gets a blank webpage with "redir" typed in the upper left corner.

I guess it should redir to some webpage? How can I get it to actually do that? Am I missing something in elogd.cfg?

Have you tried the URL = ... statement? 

       icon2.gif   Re: Logout, authentication failure causes "redir", posted by Niklas on Wed Apr 28 16:34:17 2010 

Stefan Ritt wrote:

Niklas wrote:

When someone logout from my Elog, or the person does not have access to a logbook (due to "Login user  =") the person gets a blank webpage with "redir" typed in the upper left corner.

I guess it should redir to some webpage? How can I get it to actually do that? Am I missing something in elogd.cfg?

Have you tried the URL = ... statement? 

If a user that is not in "Login User =" tries to enter it would be nicer to have a "Access denied", instead of getting the first page again (user just keeps on trying and gets upset)... =)

icon5.gif   Recursively open a new attribute of the same type, posted by Diogo Alves on Thu Apr 22 09:51:07 2010 

Hi,

I have a logbook which, among other things, contains these attributes:

Options Ingredient = Egg, Oil

Options Quantity = 2, 0.1L

Now, I would like to, every time I select an ingredient and respective quantity, that another Ingredient and Quantity field opens up for me to procede addind them.

I've searched in the documentation and found nothing related to this. Maybe I missed it. Is it possible to do this?

Also, is there a way to display 2 attributes in the same row? Messing with CSS is probably the only answer ... correct?

 

Thank you very much,

Diogo

 

    icon2.gif   Re: Recursively open a new attribute of the same type, posted by Stefan Ritt on Thu Apr 22 12:29:05 2010 

Diogo Alves wrote:

Hi,

I have a logbook which, among other things, contains these attributes:

Options Ingredient = Egg, Oil

Options Quantity = 2, 0.1L

Now, I would like to, every time I select an ingredient and respective quantity, that another Ingredient and Quantity field opens up for me to procede addind them.

I've searched in the documentation and found nothing related to this. Maybe I missed it. Is it possible to do this?

Also, is there a way to display 2 attributes in the same row? Messing with CSS is probably the only answer ... correct?

Recursive attributes are not possible. All you can do is to define a certain number (like Ingredient1, Ingredient2, Ingredient3) and use Conditional Attributes to show them using the "Show Attributes Edit = ..." option.

To display two attributes in the same row, use 

Format <attribute> = 1

for the second attribute.

       icon2.gif   Re: Recursively open a new attribute of the same type, posted by Diogo Alves on Fri Apr 23 08:32:10 2010 

Stefan Ritt wrote:

Diogo Alves wrote:

Hi,

I have a logbook which, among other things, contains these attributes:

Options Ingredient = Egg, Oil

Options Quantity = 2, 0.1L

Now, I would like to, every time I select an ingredient and respective quantity, that another Ingredient and Quantity field opens up for me to procede addind them.

I've searched in the documentation and found nothing related to this. Maybe I missed it. Is it possible to do this?

Also, is there a way to display 2 attributes in the same row? Messing with CSS is probably the only answer ... correct?

Recursive attributes are not possible. All you can do is to define a certain number (like Ingredient1, Ingredient2, Ingredient3) and use Conditional Attributes to show them using the "Show Attributes Edit = ..." option.

To display two attributes in the same row, use 

Format <attribute> = 1

for the second attribute.

 

 Ok, thank you for your answer.

 

I guess my next question is whether it is possible to have, for example, 2 attributes:

Options Ingredient1 = 

Options Ingredient2 = 

Extendable options = Ingredients1, Ingredients2

sharing the exact same possible list of values.

 

Thanks agin.

          icon2.gif   Re: Recursively open a new attribute of the same type, posted by Stefan Ritt on Fri Apr 23 08:33:53 2010 

Diogo Alves wrote:

I guess my next question is whether it is possible to have, for example, 2 attributes:

Options Ingredient1 = 

Options Ingredient2 = 

Extendable options = Ingredients1, Ingredients2

sharing the exact same possible list of values.

If you add via an option to one Ingredient, you have to add it to the other as well. There is no automatic way to do that. 

icon5.gif   How to control table width in listing , posted by Rex Tayloe on Thu Apr 22 20:02:46 2010 

Greetings,

In table list mode, I would like to control how much width is given to "subject" column (my attribute).   Can't find any method to control in config file.  Problem is that the subject is often quite long and jammed into a small width, when the text is often empty and has more width than needed.

Thanks,

RT

 

icon3.gif   Can other pages hide behind elog user authentication?, posted by Jason St. John on Sat Apr 17 01:06:58 2010 

Hello,

The elog security suits me just fine: the content is not available unless users have logged in, and as administrator I have complete control over who that is and what their privileges are. I can easily share somewhat sensitive notes, plots, and findings without making them completely open to the world. 

I have a project which generates html pages, which I'm also not really supposed to make public to the world.  I'd rather not resort to attaching them to elog entries.

Could the elog security be extended to control access to other files I put on the server? 

Thanks,

-jmsj

    icon2.gif   Re: Can other pages hide behind elog user authentication?, posted by Stefan Ritt on Mon Apr 19 08:55:19 2010 

Jason St. John wrote:

Hello,

The elog security suits me just fine: the content is not available unless users have logged in, and as administrator I have complete control over who that is and what their privileges are. I can easily share somewhat sensitive notes, plots, and findings without making them completely open to the world. 

I have a project which generates html pages, which I'm also not really supposed to make public to the world.  I'd rather not resort to attaching them to elog entries.

Could the elog security be extended to control access to other files I put on the server? 

Thanks,

-jmsj

If you don't want  to make elog attachments, don't use elog at all. Just use a simple web server like Apache. Most web servers have some mean to protect certain web pages with passwords etc.

icon1.gif   Active Directory authentication, posted by Alan Grant on Mon Mar 29 06:05:08 2010 

Found a thread from 2004 ("External authentication") asking about the possibility of tying that in with ELog and answer was "Not yet". With time past, any chance this is now possible? I didn't see any more info on that since. 

I'd like to explore using AD to set up/manage groups for ELog authentication. Alternatively, is there currently another way with ELog to manage groups?

Regards.

    icon2.gif   Re: Active Directory authentication, posted by Stefan Ritt on Thu Apr 15 13:16:25 2010 

Alan Grant wrote:

Found a thread from 2004 ("External authentication") asking about the possibility of tying that in with ELog and answer was "Not yet". With time past, any chance this is now possible? I didn't see any more info on that since. 

I'd like to explore using AD to set up/manage groups for ELog authentication. Alternatively, is there currently another way with ELog to manage groups?

Regards.

External authentication is still on the list. But I'm not sure what is the best way: LDAP, PAM, Kerberos. Should work under windows and linux. Unfortunately I won't have time in the next few months to implement that, but it stays high on my todo list. 

icon5.gif   "No SMTP host defined in [global] section of configuration file" error, posted by Pedro Gil de Araújo Gordo on Wed Apr 14 12:55:38 2010 

Hi

When I upload a message with a attachment (and also without an attachment) I get this message:

"No SMTP host defined in [global] section of configuration file"

However the file and the text have been uploaded. So why does it gives me this message, and how do I work this out?

Best Regards

Tirwit

    icon2.gif   Re: "No SMTP host defined in [global] section of configuration file" error, posted by Stefan Ritt on Wed Apr 14 13:03:37 2010 

Pedro Gil de Araújo Gordo wrote:

Hi

When I upload a message with a attachment (and also without an attachment) I get this message:

"No SMTP host defined in [global] section of configuration file"

However the file and the text have been uploaded. So why does it gives me this message, and how do I work this out?

Best Regards

Tirwit

This error comes if you have configured email notifications, and no SMTP host defined in the configuration file. Elog has to contact your SMTP server to send any email. Read the email notification paragraph in the documentation. 

ELOG V3.1.5-3fb85fa6