Use X-Forwarded-User as preset in author field, posted by Stefano Lacaprara on Tue May 16 10:21:18 2017
|
Hi,
I have an elog server which uses apache/ldap for authentication.
I would like to have the username used for ldap to be set automatically as author field in the elog.
|
Re: Use X-Forwarded-User as preset in author field, posted by Christof Hanke on Wed May 17 08:42:17 2017
|
> Hi,
> I have an elog server which uses apache/ldap for authentication.
> I would like to have the username used for ldap to be set automatically as author field in the elog.
|
Re: Use X-Forwarded-User as preset in author field, posted by Stefano Lacaprara on Thu May 18 09:39:16 2017
|
> I use an older version of elog, but
>
> Preset Author = $short_name <$long_name>
|
Re: Use X-Forwarded-User as preset in author field, posted by Christof Hanke on Thu May 18 10:37:16 2017
|
> > I use an older version of elog, but
> >
> > Preset Author = $short_name <$long_name>
|
Re: Use X-Forwarded-User as preset in author field, posted by Christof Hanke on Thu May 18 10:51:05 2017
|
> > > I use an older version of elog, but
> > >
> > > Preset Author = $short_name <$long_name>
|
[solved] Re: Use X-Forwarded-User as preset in author field, posted by Stefano Lacaprara on Thu May 18 16:55:42 2017
|
>
> Sorry, I just double-checked, this userdatabase, I was talking about is the Password-file...
|
Limiting search data, posted by Alan Grant on Thu Apr 27 22:21:03 2017
|
I'm aware there is the "Show Last Default" setting for the Find page but is there (or can there PLEASE be) a similar setting for the Period
filter on the List page? Our users routinely use the Quick Filters instead and it bogs down the system because we have lots of logbooks. Many thanks. |
Re: Limiting search data, posted by Stefan Ritt on Fri Apr 28 08:15:56 2017
|
I don't get your point. If you go on the list page of this forum, you see -- all entries -- in the period quick filter, but you only see one page
of entries, which is rather quick. This can be changed wiht "Entries per page", which defaults to 20. Do you have a different set-up?
Alan |
Re: Limiting search data, posted by Andreas Luedeke on Fri Apr 28 11:59:30 2017
|
I think I understand the question (although I have no answer):
When someone uses the "Find" page search, then there is an option to limit the search to e.g. the last year. If you search for a non
existing string, it'll only search entries from the past year. |
Re: Limiting search data, posted by Stefan Ritt on Fri Apr 28 12:33:55 2017
|
Ok, got it. Will put it on the to-do list.
Andreas
Luedeke wrote:
I think I understand the question (although I have no answer): |
Elog crashes with null Username, posted by Alan Grant on Sun Dec 18 08:51:47 2016
|
I haven't found any reporterd issues in the forum similar yet, but it appears there is a bug in Elog when logging into logbooks. If I leave Username
and Password null and click Submit the daemon crashes. We've been having this problem off and on and after some verbose logging level 3 I was drawn
to these recurring lines in the log: |
Re: Elog crashes with null Username, posted by Stefan Ritt on Mon Dec 19 12:28:47 2016
|
Ups. This bug must have lingered there since the beginning of time. Funny that nobody noticed in the last ten years or so. I have fixed it in the current
git revision.
Alan |
Re: Elog crashes with null Username, posted by Alan Grant on Mon Dec 19 19:42:05 2016
|
Thanks for the speedy fix.
FYI, our other Elog instances which are running ealrier versions do not exhibit this problem, as I confirmed that entering null
ID/password returns "Invalid Username or password" as expected. This may be why it wasn't mentioned by anyone else before. Maybe something |
Re: Elog crashes with null Username, posted by Xuan Wu on Fri Apr 21 02:21:59 2017
|
We also meet this issue occasionally, so how can we get rid of this?
Stefan
Ritt wrote:
Ups. This bug must have lingered there since the beginning of time. |
Re: Elog crashes with null Username, posted by Alan Grant on Fri Apr 21 05:27:35 2017
|
Are you using the current git revision Xuan?
Xuan Wu wrote:
We also meet this issue occasionally, |
Re: Elog crashes with null Username, posted by Xuan Wu on Fri Apr 21 08:19:05 2017
|
No, We are using the released version 3.1.2
How to use the current git revision or is it a long time to wait for the next release?
Alan |
Re: Elog crashes with null Username, posted by Stefan Ritt on Fri Apr 21 10:57:07 2017
|
I made a new release for you 3.1.3
Xuan
Wu wrote:
No, We are using the released version 3.1.2 |
Re: Elog crashes with null Username, posted by Xuan Wu on Fri Apr 21 12:18:57 2017
|
Awesome!It's appreciated. Many Thanks!
Stefan
Ritt wrote:
I made a new release for you 3.1.3 |
Full anonymous access, posted by K on Thu Apr 20 12:45:11 2017
|
How can i configure eLog to be used completely anonymous without the need to log in?
I tried menu and guest menu settings without luck. I do not use password files. With earlier versions this was easy to set up...
|
Re: Full anonymous access, posted by Stefan Ritt on Thu Apr 20 12:59:24 2017
|
Sure. Just remove "Password file = ..." and any guest menu.
Stefan
K |
Re: Full anonymous access, posted by K on Thu Apr 20 13:35:53 2017
|
Does not work.
Clean install (debian 8 x64, with aptitude), only thing i've changed in the config is "URL"-parameter (global section) and
redirection with Apache. No luck. Edit or delete gives an error "Error: Command "Delete" not allowed", "New" |
Re: Full anonymous access, posted by Stefan Ritt on Thu Apr 20 13:45:42 2017
|
Version 2.9.2 is hopelessly outdated. Please upgrade to the current version on bitbucket. You also might have to delete any cookie in the browser sent
to the elog server.
K |
Re: Full anonymous access, posted by K on Thu Apr 20 13:48:43 2017
|
OK, i will try that. Thanks.
Stefan
Ritt wrote:
Version 2.9.2 is hopelessly outdated. Please upgrade to the current |
rename menu commands , posted by Francois Cloutier on Tue Apr 11 17:24:48 2017
|
Hi !
I do have an setup were I would like to rename the menu command but keeping their fonction. Namely, I would like to rename the "copy to"
button to "Duplicate" since thats the option I would like to put in place ( Copy to = Same logbook only). |
Re: rename menu commands , posted by David Pilgram on Tue Apr 11 18:05:15 2017
|
Hi,
First up, the Copy command is supposed to be used to copy to another log book, as it says in the documentation, not a duplicate entry in the
same logbook. I've tried doing a copy into the same logbook, it appears to work (although I don't know about every circumstance, I just did |
Re: rename menu commands , posted by Andreas Luedeke on Tue Apr 11 22:44:40 2017
|
Hm, maybe my question is silly, but why don't you just use the "Duplicate" command instead of renaming and misusing "Copy to"??
Here is the relevant excerpt from the documentation (https://midas.psi.ch/elog/config.html#general):
Menu commands = <list> |
Re: rename menu commands , posted by Francois Cloutier on Wed Apr 12 13:52:34 2017
|
Somehow, I've missed to see that option :)
Thanks :)
Andreas |
Re: rename menu commands , posted by David Pilgram on Wed Apr 12 14:00:58 2017
|
So did I [thankful there is no shame face icon].
Francois
Cloutier wrote:
Somehow, I've missed to see that option :) |
command line and apache+ldap authentication, posted by Stefano Lacaprara on Thu Apr 6 17:36:46 2017
|
Hi,
we are running an elogd (with SSL) server on a machine and using apache as a proxy.
|
Re: command line and apache+ldap authentication, posted by Stefan Ritt on Fri Apr 7 12:16:24 2017
|
Hi, the elog command line client does not know anything about Apache authentication, therefore the authentication with the elog username/password fails.
As an alternative to the command line client you can use the "curl" utility (available under Linux). This tools has the "-u" flag,
which works with Apache. The tricky thing is now to "emulate" your browser submitting an entry. You can do |
Elog not see image magick, posted by Daniel Sajdyk on Wed Nov 30 14:32:00 2016
|
Hello.
I finally try add ImageMagick to ELOG.
I downloaded latest version (ImageMagick-7.0.3-Q16) and installed it. Everything looks ok, but when I start Elog service it says that "ImageMagick |
Re: Elog not see image magick, posted by Stefan Ritt on Wed Nov 30 14:53:41 2016
|
The detection in elogd works by executing the command "convert" and check if the program executes. If you start elogd as a service, the program
might see another path variable. Maybe reboot Windows or start the service in the environment of a real user instead of system, where it might miss your
modified "path". |
Re: Elog not see image magick, posted by Daniel Sajdyk on Tue Dec 6 13:48:48 2016
|
Ok. It take me a while, but I reinstalled ImageMagick with marked option "convert". Now, when I start elog, it can see ImageMagick, but
screenshots attached to elog entries are still in original sizes. And, I don't see buttons for rotating, resizing images.
I look into elog cfg options, but only what I found is Thumbnail size which, it looks, don't work. |
Re: Elog not see image magick, posted by christian on Mon Mar 27 11:11:31 2017
|
Hi,
Maybe the post is outdated already, but I want to share my experience anyway. I faced the same problem as Daniel: The most recent ImageMagick
package was not detected by elogd even though it was installed. I could trace back the problem to the following issue: |
Re: Elog not see image magick, posted by christian on Mon Mar 27 12:42:07 2017
|
Update:
While the image scaling via ImageMagick works when running elog manually it doesn't when running elog as a service. The service
is hosted in the same user environment that allows image scaling with elog started manually. What else could go wrong? |
Re: Elog not see image magick, posted by Stefan Ritt on Wed Apr 5 13:16:34 2017
|
Must be your PATH environment variable. You have usually different paths when running interactively or as a service. Try to change the path seen by services,
or put the ImageMagick executable in the same directory as elogd.
Stefan |
Re: Elog not see image magick, posted by christian on Fri Apr 7 09:58:33 2017
|
This I do not fully understand: To my understanding the PATH environment variable (includes the ImageMagick path) is a system variable
and should be accessable from any account and should be valid under any conditions. Am I wrong? Additionally, I tried adding the system
Path variable to the user specific variables for that user that runs the service (Path = %Path%) in the system settings. Finally, I tried copying the imdisplay.exe |
Re: Elog not see image magick, posted by Stefan Ritt on Fri Apr 7 10:22:03 2017
|
I don't undersand myself fully how services see the environment. Like if they see the PATH at all. In some occations it helped to run the service
not under the SYSTEM account, but under the (admin) account of a real user.
Stefan |
Re: Elog not see image magick, posted by Stefan Ritt on Fri Apr 7 10:24:31 2017
|
Ah sorry. I recall now: Under Windows, calling subprocesses from a service does not work at all. After a couple of days of work I was not able to get
this running. If somebody has some idea, I'm happy to try it. So most people use the elogd daemon in the background only under Linux.
Stefan |
Re: Elog not see image magick, posted by christian on Fri Apr 7 11:46:09 2017
|
Ok, this explains why it doesn't work.
Thank you for the support anyway. ELOG is a great piece of software.
Christian |
pre defined Find as Home page, posted by Paraic Fahey on Fri Mar 24 15:36:55 2017
|
This command makes the Homepage a FIND page: Start page = ?cmd=Find
My question is: can we pre-populate some of the search fields and execute the search so that the homepage becomes the SEARCH RESULTS |
Re: pre defined Find as Home page, posted by Andreas Luedeke on Thu Apr 6 11:01:30 2017
|
It's very simple, no need for the find command. E.g.: Start page = ?Author=luedeke&Category=Question&mode=summary
in this forum would do https://midas.psi.ch/elogs/Forum/?Author=luedeke&Category=Question&mode=summary
Paraic |