ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69166
|
Wed Jul 1 09:08:17 2020 |
| Lahreche Abdelmadjid | abdelmadjid.lahreche@yahoo.com | Question | Windows | 2006 | Re: change Cell Style | I would like to change the backround cilor of a cell and not sheet.
also don't use color, but system of point (to print it in monochome printer)
Andreas Luedeke wrote: |
You should edit the CSS style file: /usr/local/elog/themes/default/elog.css
Just change all fields "background-color:" to your desired color; e.g. "#FFFFFF" for white.
Lahreche Abdelmadjid wrote: |
Hi All,
I hope to change the Cell Style backround color into background point.
because my color printer don't work.
can some one give me the code to do that.
Regards.
|
|
|
66526
|
Fri Sep 4 08:33:16 2009 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.7.7-2246 | Re: chain.crt | > Like many educational institutions we get "educational certificates" that are chain certificates..
>
> With apache the full certificate chain is working as expected..
>
> For elog I copied the appropriate files to server.crt and server.key
>
> Netscape 3 is happy with that setup, Internet Explorer and Opera are mentioning the open certificate chain.
>
> When I tried to copy the file known as SSLCACertificateFile in Apache to chain.crt elogd does not longer work
and
>
> openssl s_client -showcerts -connect <myserver>:<elogd_port>
>
> only shows:
>
> CONNECTED(00000003)
> 25523:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:562:
To be honest I'm not an expert on SSL. I just use following code inside ELOG to initialize the SSL connection:
SSL_CTX *init_ssl(void)
{
char str[256];
SSL_METHOD *meth;
SSL_CTX *ctx;
SSL_library_init();
SSL_load_error_strings();
meth = SSLv23_method();
ctx = SSL_CTX_new(meth);
strlcpy(str, resource_dir, sizeof(str));
strlcat(str, "ssl/server.crt", sizeof(str));
if (!file_exist(str)) {
eprintf("Cerificate file \"%s\" not found, aborting\n", str);
return NULL;
}
if (SSL_CTX_use_certificate_file(ctx, str, SSL_FILETYPE_PEM) < 0)
return NULL;
strlcpy(str, resource_dir, sizeof(str));
strlcat(str, "ssl/server.key", sizeof(str));
if (!file_exist(str)) {
eprintf("Key file \"%s\" not found, aborting\n", str);
return NULL;
}
if (SSL_CTX_use_PrivateKey_file(ctx, str, SSL_FILETYPE_PEM) < 0)
return NULL;
if (SSL_CTX_check_private_key(ctx) < 0)
return NULL;
strlcpy(str, resource_dir, sizeof(str));
strlcat(str, "ssl/chain.crt", sizeof(str));
if (file_exist(str))
SSL_CTX_use_certificate_chain_file(ctx, str);
return ctx;
}
Maybe I need something different for chain certificates, but I don't know. I just copied these calls from the
example which comes with the libssl library which I'm using. Maybe somebody has an idea how this could be
improved. Actually looking at the code I see that the 'chain.crt' file is used. If you send me your files
privately I could try them and see if I get a specific error code from the SSL library. |
66556
|
Wed Oct 7 07:56:52 2009 |
| Gerhard Schneider | gs@ilsb.tuwien.ac.at | Question | Linux | 2.7.7-2246 | Re: chain.crt | > Like many educational institutions we get "educational certificates" that are chain certificates..
>
> only shows:
>
> CONNECTED(00000003)
> 25523:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:562:
>
> What do I do wrong?
>
After reading the OpenSSL Documentation:
The certificates must be in PEM format and must be sorted starting with the subject's certificate (actual client or
server certificate), followed by intermediate CA certificates if applicable, and ending at the highest level (root) CA.
The chain.crt has to be of the following format:
HOST CERTIFICATE
INTERMEDIATE CERTIFICATE
ROOT CERTIFICATE
Then it is working w/o problems
GS |
66811
|
Fri May 7 08:09:16 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Windows | V2.7.8-229 | Re: cell style bug? |
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. |
66812
|
Fri May 7 15:35:12 2010 |
| ch huet | huet@arronax-nantes.fr | Bug report | Windows | V2.7.8-229 | Re: cell style bug? |
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 |
68334
|
Tue Jun 14 14:33:40 2016 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 3.1.1 | Re: cannot use "use email heading" | The setting
Use Email Heading
is only used for plain text encoding of email messages. The default is HTML encoding, which has its own heading which cannot be changed. If you want the different heading, use
Email encoding = 1
and you get it.
/Stefan
utomoadji wisnubroto wrote: |
Hello,
i have config file elogd.cfg like below:
[Tom Yaht]
Theme = default
;Comment and Tittle
Comment = LogBook
Page title = Tom LogBook
List page title = Tom LogBook
;admin and user settings
admin user = tom
login user = tom, soc
login expiration = 2
Restrict edit time = 8
Attributes = Controllers, Event Date/Time, Site, Engineers, Type, Category, Subsystems, Subject, Distribution-Mail, EMail to
Moptions Distribution-Mail = Controllers, Engineers, Consultant Team, Manager
;Email settings
Email Distribution-Mail "Controllers" = ble@xxx.com, cor@xxx.com, nor@xxx.com
Email Distribution-Mail "Engineers" = blo@xxx.com, sur@xxx.com, ars@xxx.com
Email Distribution-Mail "Consultant Team" = bli@xxx.com, zam@xxx.com
Email Distribution-Mail "Manager" = bos@xxx.com
Email all = $EMail to
Use Email Subject = Tom Logbook - $Subject
Use Email Heading = New Tom Logbook entry
Use Email Heading edit = Tom Logbook has been updated
The Subject successfully displayed as i expected , but the email heading still use default heading "A new ELOG entry has been submitted" , while i want to changeit to be "New Tom Logbook entry" as i mention in Use Email Heading above.
Could anybody help me.
Thank you
|
|
68338
|
Wed Jun 15 02:42:53 2016 |
| utomoadji wisnubroto | utomoadji_w@yahoo.com.sg | Question | Windows | 3.1.1 | Re: cannot use "use email heading" | Hi Stefan,
Thanks for your reply, i got it now.
Thank you
Stefan Ritt wrote: |
The setting
Use Email Heading
is only used for plain text encoding of email messages. The default is HTML encoding, which has its own heading which cannot be changed. If you want the different heading, use
Email encoding = 1
and you get it.
/Stefan
utomoadji wisnubroto wrote: |
Hello,
i have config file elogd.cfg like below:
[Tom Yaht]
Theme = default
;Comment and Tittle
Comment = LogBook
Page title = Tom LogBook
List page title = Tom LogBook
;admin and user settings
admin user = tom
login user = tom, soc
login expiration = 2
Restrict edit time = 8
Attributes = Controllers, Event Date/Time, Site, Engineers, Type, Category, Subsystems, Subject, Distribution-Mail, EMail to
Moptions Distribution-Mail = Controllers, Engineers, Consultant Team, Manager
;Email settings
Email Distribution-Mail "Controllers" = ble@xxx.com, cor@xxx.com, nor@xxx.com
Email Distribution-Mail "Engineers" = blo@xxx.com, sur@xxx.com, ars@xxx.com
Email Distribution-Mail "Consultant Team" = bli@xxx.com, zam@xxx.com
Email Distribution-Mail "Manager" = bos@xxx.com
Email all = $EMail to
Use Email Subject = Tom Logbook - $Subject
Use Email Heading = New Tom Logbook entry
Use Email Heading edit = Tom Logbook has been updated
The Subject successfully displayed as i expected , but the email heading still use default heading "A new ELOG entry has been submitted" , while i want to changeit to be "New Tom Logbook entry" as i mention in Use Email Heading above.
Could anybody help me.
Thank you
|
|
|
66833
|
Tue Jun 1 13:17:18 2010 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Mac OSX | 2.7.8 | Re: cannot start elog |
harley wrote: |
I have v2.7.7 of elog running on a OSX system running 10.6 I configured and installed about a year ago. It's a wonderful thing to have.
I acquired another system running 10.6 to dedicate to the elog app. I downloaded 2.7.8 and performed the following steps:
extract tarball in the desired directory
run
tar -xzvf elog-x.x.x.tar
switch to the new elog-x.x.x directory edit Makefile and elogd.cfg files as needed
to create executables
run
make
to create directories & files
run
make install
When I try to execute elog as a daemon:
elogd -c ~vulcanstaff/ELOG-Workspace/elog/elogd.cfg -D
I get the following message:
-bash: elogd: command not found
I'm not understanding why elogd cannot be found. The same message occurs when I try to test the installation with elogd -p 8080 from the sbin directory where elogd is installed.
I'm using the same Makefile and elogd.cfg files that work on the old system. My elogd and elogd.cfg files appear to be in the correct directories indicated in the Makefile:
#############################################################
#
# Directories for installation, modify if needed
#
ifndef PREFIX
PREFIX = ~vulcanstaff/ELOG-Workspace
endif
ifndef MANDIR
MANDIR = $(ROOT)$(PREFIX)/man
endif
ELOGDIR = $(ROOT)$(PREFIX)/elog
DESTDIR = $(ROOT)$(PREFIX)/bin
SDESTDIR = $(ROOT)$(PREFIX)/sbin
RCDIR = $(ROOT)$(PREFIX)/etc/rc.d/init.d
# flag for SSL support
USE_SSL = 1
# flag for crypt() support
USE_CRYPT =
#############################################################
Again, this works on the old system. Perhaps I've looked at it for too long, but I can't figure out what's going on. Assistance is greatly appreciated.
-harley
|
Some Linux systems don't have the current directory (".") in the search path, so you have to start it with
./elogd -c ....
or explicitly with
/usr/sbin/elogd -c ...
|
|