How to insert new entry between two entries., posted by Daniel Roldan on Mon Nov 3 15:28:41 2014
|
I would like to put between two entries a new entry.
My Users forgot to put a entry, and now they would like to put a new entry between olders entries.
For Example:
We have 10 entries order by Id:
300
301
302
...
They want to put between the entry 300 and 301 a new entry.
Is possible to do this feature?
Thanks! |
Re: How to insert new entry between two entries., posted by David Pilgram on Mon Nov 3 17:14:44 2014
|
Daniel Roldan wrote: |
I would like to put between two entries a new entry.
My Users forgot to put a entry, and now they would like to put a new entry between olders entries.
For Example:
We have 10 entries order by Id:
300
301
302
...
They want to put between the entry 300 and 301 a new entry.
Is possible to do this feature?
Thanks!
|
There is nothing within elog itself to insert entry 310 between 300 and 301. If you allow branching in your logbook. make a second reply to entry 300, and add in the missing details. That entry will always be there as a reply to 300, but not obviously between 300 and 301.
From this point, any way to improve matters will require editing of the log files (default location /usr/local/elog/logbooks). I should warn that editing these files can cause problems, including elog to crash, and spotting your error can take a lot of effort. I speak from experience. I suggest that you have a look at a few entries, the layout of the entries etc first, and if you're still up for it I'll give a quick spin on how to improve the tidyness of how your entires look with 310 inserted between 300 and 301.
I should add what I would write only applies for certain for linux users, as it is my OS of choice. |
Re: How to insert new entry between two entries., posted by Andreas Luedeke on Tue Nov 4 14:51:20 2014
|
Daniel Roldan wrote: |
I would like to put between two entries a new entry.
My Users forgot to put a entry, and now they would like to put a new entry between olders entries.
For Example: We have 10 entries order by Id:
300
301
302
...
They want to put between the entry 300 and 301 a new entry.
Is possible to do this feature?
Thanks!
|
You are using the entry ID to sort your entries: there is no good way to insert a new entry ID, like 300.5
But you could sort your entries by other means, that allows you to insert entries later between existing entries.
I use for example a "when" attribute of type datetime. Here's an excerpt from the relevant part of my config file:
Attributes = ..., when
Start page = ?rsort=when
Type when = datetime
Preset when = $date
This sorts automatically all your entries according to the "when" attribute. "when" will be preset to the creation date, but you can change it if the entry belongs to the past between two other entries.
If you don't create entries every second, then you'll always find a date to add entries between two old entries.
Be aware that you should only add new Attributes only at the end of the list, otherwise old entries without the attribute may appear mixed up.
Regards
Andreas
⇄
English (auto-detected) » English
|
POODLE vulnerability, posted by Stefan Ritt on Fri Oct 24 12:51:00 2014
|
IMPORTANT SECURITY ANNOUNCEMENT
Recently the POODLE vulnerability has been announced: http://en.wikipedia.org/wiki/POODLE
ELOG is prone to this vulnerability if it runs directly the SSL protocol and can be accessed from the internet. If ELOG runs behind an Apache proxy, and the Apache server has been correctly configured (disabled the SSLv23 protocols), ELOG is safe as well.
To fix this vulnerability, ELOG needs to be recompiled after the attached patch has been applied. This prohibits ELOG to fallback to the insecure SSLv2 & v3 protocols and only use the safe TLSv1 protocol.
If you do not know how to recompile ELOG, please do not run ELOG directly accessible from the internet until the next binary release has been published.
/Stefan Ritt |
Network Questions, posted by Hal Proctor on Wed Oct 22 19:52:58 2014
|
Our network team is doing some upgrades and would like the following questions answered if possible.
1: Is the application able to communicate with a Domain controller running Windows Server 2012 R2?
And....
2: Is the application able to function in a Windows 2008 R2 domain and forest functional level?
Thanks for your help,
Hal |
Re: Network Questions, posted by Stefan Ritt on Wed Oct 22 19:55:53 2014
|
Hal Proctor wrote: |
Our network team is doing some upgrades and would like the following questions answered if possible. 1: Is the application able to communicate with a Domain controller running Windows Server 2012 R2? And.... 2: Is the application able to function in a Windows 2008 R2 domain and forest functional level? Thanks for your help, Hal |
ELOG contains Kerberos authentication at a basic level. If I'm not mistaken, the Windows Domain controller is based on Kerberos. I do not have any 2008 or 2012 domain controller, so I cannot test, but it's worth giving it a try.
/Stefan |
Sort by date prior to 2002, posted by Chris Jennings on Tue Sep 16 17:59:27 2014
|
I have an attribute formatted as a date (but not labeled as date) and is sorted as second priority. The sort works fine until I enter a date older than Jan 1st 2002. When I do this it is sorted as the latest. Is this a bug or simply not designed to use dates this old?
Thanks in advance,
Chris |
Re: Sort by date prior to 2002, posted by Chris Jennings on Tue Sep 16 18:05:41 2014
|
Chris Jennings wrote: |
I have an attribute formatted as a date (but not labeled as date) and is sorted as second priority. The sort works fine until I enter a date older than Jan 1st 2002. When I do this it is sorted as the latest. Is this a bug or simply not designed to use dates this old?
Thanks in advance,
Chris
|
Sorry, my mistake. The cutoff date is anything before September 9th 2001 does not sort. |
Re: Sort by date prior to 2002, posted by Andreas Luedeke on Wed Sep 17 17:45:18 2014
|
Chris Jennings wrote: |
Chris Jennings wrote: |
I have an attribute formatted as a date (but not labeled as date) and is sorted as second priority. The sort works fine until I enter a date older than Jan 1st 2002. When I do this it is sorted as the latest. Is this a bug or simply not designed to use dates this old?
Thanks in advance,
Chris
|
Sorry, my mistake. The cutoff date is anything before September 9th 2001 does not sort.
|
I think I remember that this has been discussed earlier: it is a little bug in elogd.
You can see where it comes from if you type in the little command 'date -d "9-Sep-2001 3:46:40" +%s'
Converted to "seconds of the epoche" (seconds since 1970-01-01 00:00:00 UTC) the date "9-Sep-2001 3:46:40" has one digit more than "9-Sep-2001 3:46:39".
Since elog makes a string comparison, suddenly 1'000'000'000 is less than 999'999'999; therefore the wrong sorting.
Workaround: you can modify your old entries and add a leading zero to all entries where your specific date field starts with a '9'.
Stefan: you should fix it at least well before 20-Nov-2286 18:46:40, when the same bug strikes again!  |
Re: Sort by date prior to 2002, posted by Stefan Ritt on Mon Sep 22 14:39:10 2014
|
Andreas Luedeke wrote: |
Chris Jennings wrote: |
Chris Jennings wrote: |
I have an attribute formatted as a date (but not labeled as date) and is sorted as second priority. The sort works fine until I enter a date older than Jan 1st 2002. When I do this it is sorted as the latest. Is this a bug or simply not designed to use dates this old?
Thanks in advance,
Chris
|
Sorry, my mistake. The cutoff date is anything before September 9th 2001 does not sort.
|
I think I remember that this has been discussed earlier: it is a little bug in elogd.
You can see where it comes from if you type in the little command 'date -d "9-Sep-2001 3:46:40" +%s'
Converted to "seconds of the epoche" (seconds since 1970-01-01 00:00:00 UTC) the date "9-Sep-2001 3:46:40" has one digit more than "9-Sep-2001 3:46:39".
Since elog makes a string comparison, suddenly 1'000'000'000 is less than 999'999'999; therefore the wrong sorting.
Workaround: you can modify your old entries and add a leading zero to all entries where your specific date field starts with a '9'.
Stefan: you should fix it at least well before 20-Nov-2286 18:46:40, when the same bug strikes again! 
|
Ok, well before 2286 approaches I fixed that bug and committed it to the GIT repository (master branch).
/Stefan |
default font style, posted by Sara Vanini on Mon Sep 8 14:51:35 2014
|
Hi,
is it possibile to set a default font style: format, font, size, color, etc? how?
Thanks a lot
Sara
|
Re: default font style, posted by Stefan Ritt on Tue Sep 9 10:12:37 2014
|
Sara Vanini wrote: |
Hi,
is it possibile to set a default font style: format, font, size, color, etc? how?
Thanks a lot
Sara
|
You look here: http://midas.psi.ch/elog/config.html#themes |
Re: default font style, posted by Sara Vanini on Tue Sep 9 15:42:53 2014
|
Thanks! but I'm lost in the themes/default/default.css file.... which is the entry I have to edit for the style of the body text (Format "Normal") of the elog pages?
Sara
|
Re: default font style, posted by Stefan Ritt on Tue Sep 9 15:50:25 2014
|
Sara Vanini wrote: |
Thanks! but I'm lost in the themes/default/default.css file.... which is the entry I have to edit for the style of the body text (Format "Normal") of the elog pages?
Sara
|
Just change the body { } entry in the CSS file. Here is a good tutorial: http://www.w3schools.com/css/css_syntax.asp |
, posted by on Thu Mar 23 22:14:14 152
|
|
Preset Text, posted by mike cianci on Fri Aug 22 23:10:28 2014
|
I have stripped my config file down to one command: "Preset text = \\ssoelog\elog\templates\test2.txt"
If I type the path "\\ssoelog\elog\templates\test2.txt" into my browser I see the contents of the file, which is the word "YES"
But when I open a "New" page in ELOG the command returns: " \\ssoelog\elog\templates\test2.txt"
Could it have anything to do with the fact that I am using Version 2.7.5 |
Re: Preset Text, posted by Andreas Luedeke on Sun Aug 24 15:06:37 2014
|
Well, I only know that the following config file works fine for me on Linux:
⇄
English (auto-detected) » English
[test]
Attributes = xx
Preset text = /tmp/xx
with the file /tmp/xx containing "test: ignore". When opening a new entry, then the text "test: ignore" is written in the editors text area.
I'm using Version 2.9.2
My suggestion: download the latest Windows Version and try again. |
Elog and Certs, posted by Chuck Brost on Fri Aug 1 22:46:09 2014
|
Elog V2.9.1-2435 if it matters.
It is time again to install the certs for SSL in Elog, and the standard openssl command line does not seem to produce the files that I need in order to get it working on my system.
I copied the file to my trusty linux server and ran the command "openssl pkcs12 -in cert.p12 -clcerts -out cert.pem " as I did last time, last time I got a nice little .crt and .key file.. this time.. no such luck.. I can get by with the guys just hitting the continue and go past the expired cert notice for a bit.. but if I cannot fix it reasonably soon.. well, it won't be pretty for me.. <grin>
Any ideas that anyone can give will be appreciated.. this is a bit outside my usual duties around here.. |
Re: Elog and Certs, posted by Andreas Luedeke on Sat Aug 2 06:59:22 2014
|
Chuck Brost wrote: |
Elog V2.9.1-2435 if it matters.
It is time again to install the certs for SSL in Elog, and the standard openssl command line does not seem to produce the files that I need in order to get it working on my system.
I copied the file to my trusty linux server and ran the command "openssl pkcs12 -in cert.p12 -clcerts -out cert.pem " as I did last time, last time I got a nice little .crt and .key file.. this time.. no such luck.. I can get by with the guys just hitting the continue and go past the expired cert notice for a bit.. but if I cannot fix it reasonably soon.. well, it won't be pretty for me.. <grin>
Any ideas that anyone can give will be appreciated.. this is a bit outside my usual duties around here..
|
I'm not an expert in this field, but I think openssl is not meant to create a certificate for you, it is meant to create a certificate request form (CSR) and then you buy the certificate with that form from a vendor. Once you have the certificate then you just need to copy it to the right place for ELOG (or Apache) to use it, you don't need openssl for that.
⇄
English (auto-detected) » English
You can have a look at: http://www.rackspace.com/knowledge_center/article/generate-a-csr-with-openssl
Good luck!
PS: This is of course an openssl question: another forum could may be more helpful? |
Re: Elog and Certs, posted by Chuck Brost on Mon Aug 11 22:21:43 2014
|
Andreas Luedeke wrote: |
Chuck Brost wrote: |
Elog V2.9.1-2435 if it matters.
It is time again to install the certs for SSL in Elog, and the standard openssl command line does not seem to produce the files that I need in order to get it working on my system.
I copied the file to my trusty linux server and ran the command "openssl pkcs12 -in cert.p12 -clcerts -out cert.pem " as I did last time, last time I got a nice little .crt and .key file.. this time.. no such luck.. I can get by with the guys just hitting the continue and go past the expired cert notice for a bit.. but if I cannot fix it reasonably soon.. well, it won't be pretty for me.. <grin>
Any ideas that anyone can give will be appreciated.. this is a bit outside my usual duties around here..
|
I'm not an expert in this field, but I think openssl is not meant to create a certificate for you, it is meant to create a certificate request form (CSR) and then you buy the certificate with that form from a vendor. Once you have the certificate then you just need to copy it to the right place for ELOG (or Apache) to use it, you don't need openssl for that.
⇄
English (auto-detected) » English
You can have a look at: http://www.rackspace.com/knowledge_center/article/generate-a-csr-with-openssl
Good luck!
PS: This is of course an openssl question: another forum could may be more helpful?
|
for what it is worth, if anyone else is doing this.. try
openssl pkcs12 -in file.pkx -nodes -out file.pem
I have what I need and all is well! |