Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 376 of 808  Not logged in ELOG logo
IDdown Date Icon Author Author Email Category OS ELOG Version Subject
  66802   Mon May 3 23:12:55 2010 Reply Ruslanrusslan@cern.chQuestionWindows2.7.8 Re: background color and font

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.

 

  66801   Sun May 2 17:43:06 2010 Question John Rouillardrouilj+elog@cs.umb.eduBug reportLinux | Other2.7.8elogd -C failing to sync password file with "Received invalid response from elogd server" message
Hello:

I am running release 2.7.8 of elog. I am using the cloning/syncing features
to maintain a backup/slave and at some point it stopped cloning the password
file.

Operating systems/software:

   master: ubuntu 10.4 using locally compiled elog 2.7.8-2278
   slave: solaris 10 using locally compile elog 2.7.8 without SSL support

A sample run (hostname edited - available by private email if needed) is:

  $../elogd -C http://host.example.org:8080/ 
  Overwrite local "elogd.cfg"? [y]/n:  y

  Remote configuration successfully received.

  Option "Mirror server = http://host.example.org:8080/" added to config file.
  Option "URL = xxx" has been outcommented from config file.

  Retrieve remote password files? [y]/n:  y
  Received invalid response from elogd server at http://host.example.org:8080/Discussion/

Running with -v doesn't produce any useful diagnostics as to what the invalid response is.

Trussing the process (again with host name editing) shows:

send(3, 0xFFBEE890, 93, 0)                      = 93
   G E T   / D i s c u s s i o n / ? c m d = G e t P w d F i l e  
   H T T P / 1 . 0\r\n C o n n e c t i o n :   C l o s e\r\n H o s
   t :   h o s t . e x a m p l e . o r g : 8 0 8 0\r\n\r\n
poll(0xFFBEC070, 1, 30000)                      = 1
recv(3, 0x011057B0, 251000, 0)                  = 119
   H T T P / 1 . 1   4 0 4   N o t   F o u n d\r\n S e r v e r :  
   E L O G   H T T P   2 . 7 . 8 - 2 2 7 8\r\n C o n t e n t - T y
   p e :   t e x t / h t m l ; c h a r s e t = I S O - 8 8 5 9 - 1
  \r\n C o n n e c t i o n :   C l o s e\r\n\r\n

If logged in as myself I go to http://host.example.org:8080/Discussion/?cmd=GetPwdFile
I do get the data so this looks like a password/authentication issue.

I have added Mirror user = rouilj to elogd.cfg, and it is present in the cloned elogd.cfg
but still no joy. I also copied the passwd file to the clone and made sure that it was being
successfully found and opened during the clone operation.

So where do I go from here in trying to troubleshoot the problem?

-- rouilj
  66800   Sat May 1 18:02:30 2010 Reply Anthony Palladinoap4ax@virginia.eduQuestionLinux | Windows2.7.5Re: Problems with SSL and Synchronization

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.

  66799   Wed Apr 28 16:34:17 2010 Reply Niklasniklas@hoglund.pp.seQuestionLinux2.77Re: Logout, authentication failure causes "redir"

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)... =)

  66798   Wed Apr 28 11:09:47 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.77Re: Logout, authentication failure causes "redir"

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? 

  66797   Wed Apr 28 10:38:51 2010 Question Niklasniklas@hoglund.pp.seQuestionLinux2.77Logout, authentication failure causes "redir"

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?

 

 

  66796   Fri Apr 23 08:33:53 2010 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.7.7Re: Recursively open a new attribute of the same type

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. 

  66795   Fri Apr 23 08:32:10 2010 Reply Diogo Alvesdiogomiguelalves@gmail.comQuestionLinux2.7.7Re: Recursively open a new attribute of the same type

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.

ELOG V3.1.5-3fb85fa6