Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 332 of 807  Not logged in ELOG logo
    icon2.gif   Re: Path disclosure on unfound file, posted by Stefan Ritt on Fri Feb 19 09:59:04 2021 
I made a new RPM: https://elog.psi.ch/elog/download/RPMS/elog-3.1.4-3.el7.x86_64.rpm




Gabriel
Lopez wrote:



Hello, This is coming up as a high vulnerability in our scans. Are
    icon2.gif   Re: Request: make $text available for "subst", posted by Stefan Ritt on Mon Mar 22 15:10:12 2021 
$text is the full body text and can go over many lines. Since attributes are restricted to single lines, it's not possible to substitute them with
the body text.

Stefan
    icon2.gif   Re: automatically obtain entry ID from search, posted by Stefan Ritt on Wed Mar 24 10:01:34 2021 
You would have to do that on the scrip level. Use "curl" to search a logbook. Like following URL would search for all entries in this forum
where you are the authoer, then return the entries in CSV format:

https://elog.psi.ch/elogs/Forum/?mode=CSV1&Author=k%F6rner
    icon2.gif   Re: Request: make $text available for "subst", posted by Stefan Ritt on Wed Mar 24 10:06:26 2021 
Sure, attributes can be shown multi-line, but they cannot be stored in the elog internal database. The database is a very old design and only allows
for single line attributes. Just look at a YYMMDDa.log file and you will see that. I would have to change the database format to somethign more advanced
like XML, but that would take me a couple of weeks or months.
    icon2.gif   Re: Pre-fill Attribute with last entry, posted by Stefan Ritt on Wed Mar 24 16:25:36 2021 
Nope, there is no way to acces the last value of an attribute. Sorry.

Stefan




Dominic
    icon2.gif   Re: Pre-fill Attribute with last entry, posted by Stefan Ritt on Wed Mar 24 19:45:41 2021 
That would actually be my recommendation. There is a "execute new" which you can call when submitting a new entry.

Stefan




Dominic
    icon2.gif   Re: auto pre-fill fields issue, posted by Stefan Ritt on Fri Apr 9 17:54:42 2021 
You need user-level access control, using 

Password file = ...

Stefan
    icon2.gif   Re: auto pre-fill fields issue, posted by Stefan Ritt on Mon Apr 12 13:57:18 2021 
"Subst xxx" replaces after you submit an entry, while "Preset xxx" replaces before you create an
entry. I believe you want the second one.

Stefan
ELOG V3.1.5-3fb85fa6