Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 20 of 238  Not logged in ELOG logo
icon5.gif   Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005 
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure
the logbook so that "List" takes me to the last page instead?
    icon2.gif   Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005 
[quote="Yoshio Imai"]Is it possible to configure the logbook so that "List" takes me to the last page instead?[/quote]

Reverse sort = 1
       icon2.gif   Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005 
[quote="Stefan Ritt"]
Reverse sort = 1[/quote]
          icon2.gif   Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005 
[quote="Yoshio Imai"]We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?[/quote]

Start page = 0?cmd=last
             icon14.gif   Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005 
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come
very handy.
             icon2.gif   Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005 
[quote="Yoshio Imai"]We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?[/quote]

What about
                icon2.gif   Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005 
[quote="Stefan Ritt"]
What about
Start page = last10
                   icon2.gif   Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005 
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page
is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could
make it a switch (yet another option ;( ).
                      icon14.gif   Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005 
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
[quote]
For the moment, I could satisfy the users by setting the start page to the "All" view
Entry   wrong server HTTP status code when login failed, posted by Chris Körner on Thu Oct 21 14:57:14 2021 
Hi,

I am trying to access elog through a python client (https://github.com/paulscherrerinstitute/py_elog) and found a strage strange behavior which
may be related server side problem. The python script generates get/post messages via the python requests library. This works fine so far and I can view
    icon2.gif   Re: wrong server HTTP status code when login failed, posted by Chris Körner on Thu Oct 21 15:19:16 2021 
Seems like I've discovered another bug here related to umlauts in my name. :D 

I was submitting this post and forgot to put an icon. Elog seems to have saved a copy of my message, which I could not edit since my username
does not match the bugged name saved for this message.
icon5.gif   wrong server HTTP status code when login failed, posted by Chris Körner on Thu Oct 21 15:17:52 2021 
Hi,

I am trying to access elog through a python client (https://github.com/paulscherrerinstitute/py_elog) and found a strage strange behavior which
may be related server side problem. The python script generates get/post messages via the python requests library. This works fine so far and I can view
icon3.gif   How about string constants in config files?, posted by Andreas Luedeke on Thu Oct 21 11:15:20 2021 
My config files are often large and use some shell scripting. In these shell scripting part I interact with files and execute scripts in specific folder.
It would be nice to have the ability to define for example a file path once and reuse it in different parts of the config file. It would help to
make config files cleaner. For example:
icon4.gif   Redirect in Execute new needs space after ">", posted by Andreas Luedeke on Thu Oct 21 11:00:46 2021 
EDIT: forget the tip below. Instead just call script files: inline scripting in the ELOG config shows very strange behavior. Doing the same in external
scripts works reliable.

 
icon5.gif   How to access PSI Elog data from other web clients , posted by Lin Wang on Wed Oct 13 02:38:34 2021 
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?
    icon2.gif   Re: How to access PSI Elog data from other web clients , posted by Stefan Ritt on Wed Oct 13 08:17:23 2021 
When elog has been developed, REST did not yet exist. The closest you can get is the RSS API. Just try https://elog.psi.ch/elogs/Forum/elog.rdf
and you see the result for this forum. To write to elog, you can use teh HTTP/HTML interface and mimic a browser. See for example elog:69209

Stefan
    icon2.gif   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
icon5.gif   Reverse proxy of Elog using Docker and Nginx?, posted by Andrew Wade on Mon Aug 13 21:09:30 2018 
I've been trying to configured a Synology NAS to run my personal elog with a reverse proxy to the outside world.  The best way seems to be running
Elog in a Docker instance and then running a separate connected Docker running a nginx-proxy (in this case jwilder/nginx-proxy).
This second container manages the certificates to letsencrypt and mapping URL requests to relevant containers so that connection is secured properly.  
    icon2.gif   Re: Reverse proxy of Elog using Docker and Nginx?, posted by Stefan Ritt on Tue Aug 14 06:04:53 2018 
Have you tried the "URL = ..." statement? This determines you elog redirects if you log in. If you reach elog through a proxy, the URL is a
different one that if you access it directly. In your case the proxy URL might be necessary.

Stefan
       icon2.gif   Re: Reverse proxy of Elog using Docker and Nginx?, posted by Andrew Wade on Fri Aug 17 22:07:41 2018 
Yes, I tried setting the URL parameter to the url used by the proxy.  It goes to the correct address but that landing is the login page.

Andrew




Stefan
          icon2.gif   Re: Reverse proxy of Elog using Docker and Nginx?, posted by Stefan Ritt on Mon Aug 20 12:42:24 2018 
Actually this forum works through an Apache reverse proxy with authentication and it works, so I suspect that the problem has to do with jwilder/nginx-proxy.
Since we don't have this here, all I can propose is that you do debugging yourself. Run elogd with the -v flag so that you see all requests coming
from the user through the proxy. Compare the requests through Apache and Nginx to see if any argumets are stripped or mangled. Upon successful login, elog
             icon2.gif   Re: Reverse proxy of Elog using Docker and Nginx?, posted by Andrew Wade on Tue Aug 28 23:38:55 2018 
It does indeed seem to be a cookie stripping issue.  I just need to figure out how to get Nginx to forward these properly.

Thanks for the help.




Stefan
                icon2.gif   Re: Reverse proxy of Elog using Docker and Nginx?, posted by Bolko Beutner on Wed Sep 15 13:52:59 2021 
I have the same problem -- did you find a solution in using the nginx revese proxy with user login?




Andrew
Wade wrote:



It does indeed seem to be a cookie stripping issue.  I just need
icon5.gif   How to lock a specific entry?, posted by Manoel Couder on Tue Sep 14 17:48:52 2021 
Hi All,

I am using elog to track technical changes in an experiment but also to log what experimentalist are doing during an experiment. For the latter,
I would like to be able to lock those entries from being further edited after the expertiment if finished. Is there a way to do that?
    icon2.gif   Re: How to lock a specific entry?, posted by Stefan Ritt on Tue Sep 14 18:18:03 2021 
You can either lock all entries or none. So I would propose you set up two logbooks, one for technical changes which is not locked and one for what experimentalists
are doing which is locked. Locking can be done a certain time after an entry has been made (like 1h, 1d, 1 month etc.). Or you simply make the logbook
read-only.
ELOG V3.1.5-3fb85fa6