Re: How to access PSI Elog data from other web clients , posted by Andreas Luedeke on Thu Oct 21 00:42:42 2021
|
There is a python API to access ELOG via HTTP: https://github.com/paulscherrerinstitute/py_elog
Lin Wang wrote: |
We want to develop separate mobile web pages for the web applications deployed at CSNS accelerator, including the PSI Elog.
In Elog, is there RESTful API or HTTP/JSON or HTTP/XML interface for other web clients to access?
Or is there any workaround?
|
|
Re: How to increase TEXT_SIZE to address entry text limit, posted by Simon Däster on Wed Dec 16 12:41:42 2020
|
Hi Illam
You actually have to change the source code of elog and then recompile. Download the code from https://bitbucket.org/ritt/elog/src/master/, change the value of the variable TEXT_SIZE in the file src/elogd.h
Default ist #define TEXT_SIZE 250000
Illam Pakkirisamy wrote: |
Hi,
I'm trying to increase the entry text constraint but not sure how to do this. Couldn't find it in the documentation or may be I missed it. Appreciate your help.
Thanks.
Illam

|
|
How to increase TEXT_SIZE to address entry text limit, posted by Illam Pakkirisamy on Thu Dec 3 19:11:38 2020
|
Hi,
I'm trying to increase the entry text constraint but not sure how to do this. Couldn't find it in the documentation or may be I missed it. Appreciate your help.
Thanks.
Illam

|
ELOG Null Pointer Dereference Denial-of-Service Vulnerability, posted by Stefan Ritt on Wed Feb 12 13:19:31 2020
|
An ELOG vulnerability has been reported, thanks to Asif Akbar of Trend Micro Security Researchworking with Trend Micro's Zero Day Initiative:
https://www.zerodayinitiative.com/advisories/ZDI-20-252/
The issue has been fixed in the current release 3.1.4-033e292 and in the RPM http://elog.psi.ch/elog/download/RPMS/elog-latest.x86_64.rpm
Best,
Stefan
|
Re: How to selectively use Top/Bottom Text JavaScript., posted by John on Wed Dec 4 20:39:41 2019
|
Wow thanks again Stefan for your kind and prompt responses!!
John
Stefan Ritt wrote: |
In JS, you have access to the browser URL via window.location. So you can write conditional code depending on the actual elog command.
Stefan
John wrote: |
I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to. AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).
Thanx,
John
|
|
|
Re: How to selectively use Top/Bottom Text JavaScript., posted by Stefan Ritt on Wed Dec 4 10:15:56 2019
|
In JS, you have access to the browser URL via window.location. So you can write conditional code depending on the actual elog command.
Stefan
John wrote: |
I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to. AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).
Thanx,
John
|
|
How to selectively use Top/Bottom Text JavaScript., posted by John on Wed Dec 4 03:06:50 2019
|
I think I know what the answer(s) will be already.. that I will need to address this in JS. I don't want each screen to run/show the same code, other than the ones I want to. AND I do not want to have to create a custom form for each 'menu option' to achieve this (if possible).
Thanx,
John |
Example scripts how to migrate or combine logbooks, posted by Roger Kalt on Mon Nov 18 16:58:21 2019 
|
Attached the shell scripts using awk and sed how I have migrated two separated logbooks into one single and how I re-adjusted certain attributes. |