Re: elog keeps recreating preview .png files?, posted by Stefan Ritt on Fri Aug 6 12:55:08 2010
|
Kontantin Olchanski wrote: |
Hi, I rsync an elog database from CERN to TRIUMF every few months and I notice that rsync keeps copying preview files (xxx.png.png, xxx.gif.png, etc) from very old entries. I guess that elogd creates these files from scratch each time they are needed, overwriting any previously existing preview files. This creates extra rsync network traffic and rsync takes longer to complete. Is there any way to avoid this? K.O.
|
Actually the thumbnail files are only created if they are not there. This is done in the function crate_thumbnail():
i = get_thumb_name(file_name, str, sizeof(str), 0);
if (i)
return i;
So if these files are recreated always, something must be wrong there. Or you sysadmin runs a cron job which deletes them every evening  |
how to change char encode for Text column, posted by phichitpon on Thu Aug 19 08:36:11 2010
|
hello
how to change char encode for Text column. my language is thai and use tis-620 for encode. thankyou |
honor "user" field in the Apache SSL request object or environment variables in SSL process groups?, posted by Owen LaGarde on Wed Aug 25 02:49:44 2010
|
Will elog defer user identification and authorization to the ssl engine of a *local* Apache proxy? I'd like to try elog in a site that requires the service port positively authenticate and identify users via smartcard certificate ID. Per SOP they have Apache+mod_ssl setting SSLUserName=SSL_CLIENT_S_DN_CN which sets both the SSL request object's "user" field and the REMOTE_USER environment var relative to the mod_ssl's session's process group leader. Users auth with Apache's mod_ssl as a single-signon replacement for web apps which have traditional native, internal user accounts/passwords, but those passwords are subsumed by the Apache/smartcard/mod_ssl setup. The web apps define internal accounts matching the users' cert IDs but do not allow any management of the [unused] passwords. Can elog do this? |
how to convert Common Era (C.E.) into Buddhist Era , posted by phichitpon on Wed Aug 25 09:18:39 2010
|
how to convert Common Era (C.E.) into Buddhist Era such as C.E. 2010 to B.E. 2553 (2553=2010+543) .thank you |
Re: Error Message in "Demo of database-like elog", posted by Robert Heine on Thu Aug 26 11:27:08 2010
|
Stefan Ritt wrote: |
mike cianci wrote: |
I attempted to remove the text editor (like you did in "Demo of database-like elog") using "Show text = 0".
In both your Demo and my logbook when you hit "New" - Explorer generates the folowing error message
Error: The Textarea with id or name set to "text" was not found.
Is there a solution or do we just live with it.
Thanks, Mike
|
Thanks for reporting that bug. I fixed it in SVN revision 2188, and the fix will be contained in the next release.
|
I am getting the same message in the current version (V2.8.0-2312), if the "Preset text" text body contains the equal sign '='. Then this message pops up and the HTML-editor dosn't show its menu bars, with the elog- or plain text editor this does not happen. It happens as well with firefox as with internet explorer.
best regards
Robert |
How to make Subst run?, posted by Robert Heine on Thu Aug 26 15:37:20 2010
|
Dear colleagues,
I tried to get an Subst <attrib> = $shell(<command>) to work and put this into a Preset text line, like e.g.:
Attributes = subject, ...
Options <name> = test{1}, ...
Subst myvar = $shell(dir)
{1} Preset subject = Test
{1} Preset text = $myvar
Which results in an ELOG-entry having printed "$myvar" in its body instead of the expected substitution. Changing the Subst command to: "Subst myvar = $host" or even to "Subst myvar = Test" also resulted in printing just the string "$myvar" into the submitted Elog-entry. - What am I doing wrong?
Best whishes
Robert |
SQL Database, posted by lance on Thu Sep 2 10:30:14 2010
|
We have been running elog for a few years now and its solid. The only thing is we are getting to 140k entries over a few books and its starting to slow down whist searching. My questions is can we go to an SQL type database rather than a flat file? Is it worth it? Is anyone running this type of configuration? |
Searching Logbooks, posted by David Pilgram on Thu Sep 2 12:40:03 2010
|
Hi Stefan,
I'm starting to get a similar problem to Lance's ("SQL Database"). Searching is beginning to take time.
In searching, I either can search one logbook (still relatively quick), or all of them.
I have my logbooks in groups, and often I know which group I want to search, and it would make the searching
much quicker were the search confined to just that group. I don't think I've missed anything in the
documentation on this matter.
If not a change to the elog program, is there another way of (say) arranging the logbooks that will achieve this? |