Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 690 of 807  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
    icon2.gif   Re: Sharing logbooks among "Top Groups", posted by Andreas Luedeke on Mon Aug 21 08:51:09 2017 
Hi Satyajit,

I think you've just answered your own question. There is no magic switch - as far as I know - that would change that
behaviour.

Probably there are ways to achieve your desired behaviour (using mirror servers and synchronising the logbooks) but that would require
a large effort and would make your installation a lot more complicated.
icon5.gif   Problems with german_UTF8 language, posted by Andreas Luedeke on Mon Aug 21 11:22:09 2017 elog_lang_bug.pngelog_lang_config_bug.png
Hi Stefan,

since recently (a few weeks) ELOG confuses the language translations.

Individual language strings are translated into garbage;
most other strings are fine.

Currently I see the string "please select" translated into "ressed" (see attached picture),
icon3.gif   Bug with Drafts and Language German, posted by Andreas Luedeke on Mon Aug 21 11:45:06 2017 elog_lang_pending_draft_bug.png
Hi Stefan,

when one creates a new entry, and a draft entry exists for the logbook, then a menu appears (see attachment).

If one select "Neuen
Eintrag anlegen" then it should ignore the draft and create a new entry.

This feat is done by adding a "&ignore=1" to
    icon2.gif   Re: Bug with Drafts and Language German, posted by Andreas Luedeke on Mon Aug 21 12:16:05 2017 
I've quickly checked: there are a couple more commands in the source code that are not language encoded. I guess some of them needs correction.

> egrep -n "cmd=[A-Za-z]" elogd.c
10293:   rsprintf("    r.open('GET', '?jcmd=Unlock&edit_id=%d', true);\n", message_id);
icon5.gif   CSS reference in Email for private logbooks, posted by Andreas Luedeke on Mon Aug 21 14:27:50 2017 
We operate ELOG in an intranet. Many logbooks do send out emails; several use HTML content formatting.

If I watch HTML formatted emails
from the intranet, then everything is fine.

If I try to read them from home, my email client hangs when it tries to read the CSS file from
out intranet (URL: https://elog-gfa.psi.ch/SLS/elog.css).

Is there a way to set a URL for the email CSS?

Then I could simply
    icon2.gif   Re: Hide logbook tab when not authorized, posted by Andreas Luedeke on Wed Aug 23 11:36:22 2017 
Hi Stefano,

I think your assessment is correct: it is not possible to hide a logbook based on your read/write privileges.

And I'm not
even sure that this would make much sense: at least you need to be able to get to the login page of the logbook.

But if you don't have
    icon2.gif   Re: Problems with german_UTF8 language, posted by Andreas Luedeke on Wed Aug 23 15:11:32 2017 
Just an update: I've re-compiled, reinstalled and restarted elogd for other reasons and now the corrupted strings are all gone. Everthing looks fine
now.

But I never worry when a problem goes away before I could understand it: I'm confident that I will have plenty of time later, when the problem
    icon2.gif   Re: Hide logbook tab when not authorized, posted by Andreas Luedeke on Thu Aug 24 11:08:43 2017 
Well, Stefan would need to answer that. But if you are good with C-programming, you might implement it yourself?

There is a way to implement it; but it makes your installation a lot more complicated: you can have two ELOG servers. The first has all logbooks
but requires authentification to read any. The second has only the public logbooks, and they are mirrored from the first.
ELOG V3.1.5-3fb85fa6