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, |
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 |
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 |
Executing a shell command using elogd Windows service, posted by Frank Baptista on Sun Nov 24 20:29:24 2019
|
Greetings!
We've been successfully running nearly a dozen separate logbooks on independent
laptops -- all of them are running elogd as a Windows service. This works well, since I've also set up auto recovery options in the event that the |
Re: Executing a shell command using elogd Windows service, posted by Frank Baptista on Sun Nov 24 21:10:28 2019
|
Sorry -- I somehow selected the wrong OS in my original message. Asleep at the wheel again.
Frank Baptista wrote:
Greetings! |
Re: Executing a shell command using elogd Windows service, posted by Stefan Ritt on Mon Nov 25 16:32:07 2019
|
Wow, having these color signal lamps really looke like a cute solution, made me laugh.
No, there is no other way than the Execute new thing. I have
given up long time ago to use Windows services, because they are very hard to debug and very limited. So at our site everything runs under Linux. |
Re: Executing a shell command using elogd Windows service, posted by Frank Baptista on Sat Nov 30 15:46:16 2019
|
Well, there I was, eating Thanksgiving dinner, when suddenly, it hit me (no, not indigestion). I can write a simple program that parses out
the latest "Status" from the most recent logbook file -- a relatively easy task, since it's a text file. This solution avoids
having to execute a shell command at all. GOOOOOOAAAAAAL!!! |
Trouble on Catalina, posted by John S. Haggerty on Fri Nov 22 02:55:50 2019
|
I decided to rebuild elog 3.1.4 in Catalina (MacOS 10.15.1), XCode 11.2.1. As in previous builds, I needed to add to the Makefile pointers to openssl:
CFLAGS += -I/usr/local/opt/openssl/include
LIBS += -L/usr/local/opt/openssl/lib |
Re: Trouble on Catalina, posted by Stefan Ritt on Mon Nov 25 16:25:21 2019
|
The Makefile is kind of obsolete, I switched to CMake. So the Makefiel is mostly there as backup. To compile elog, do
elog$ mkdir build; cd build
elog/build$ cmake .. |
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. |
Subdirectories in logbooks, posted by pavel on Sat Nov 9 22:44:23 2019
|
Hello, Is there any way to organize logbooks in some kind of tree with sublogbooks or just have a subdirectories in a logbook directory on the filesystem
(treat it as a sublogbook if its name is different from 4 digits of year and pin above all the entries in a list) to structure entires a bit?
|
Re: Subdirectories in logbooks, posted by Stefan Ritt on Mon Nov 11 13:09:35 2019
|
Just use groups as written in the manual: https://elog.psi.ch/elog/config.html#groups
Stefan
pavel |
Hide logbook tab when not authorized, posted by Stefano Bonaldo on Tue Aug 22 18:29:02 2017
|
Hello, I read carefully the manual, but I didn't find a way to hide the logbooks in the logbook bar and in the initial logbook selection for
which the user does not have the access. So, if a user1 does not have the access to a specific logbook, user1 is not able to see that logbook in the
bar and neither in the initial logbook selection. How can I do this without using the top groups? |
Re: Hide logbook tab when not authorized, posted by Andreas Luedeke on Wed Aug 23 11:36:22 2017
|
Hi Stefano,
I think your assessment is correct: it is not possible to hide a logbook based on your read/write privileges.
And I'm not
even sure that this would make much sense: at least you need to be able to get to the login page of the logbook.
But if you don't have |
Re: Hide logbook tab when not authorized, posted by Stefano Bonaldo on Wed Aug 23 20:09:39 2017
|
Hi Andreas,
many thanks for your answer. I partially agree with you, because sometimes "for privacy" of my working group I don't want that
other users (external users) know the existance of the other logbooks. |
Re: Hide logbook tab when not authorized, posted by Andreas Luedeke on Thu Aug 24 11:08:43 2017
|
Well, Stefan would need to answer that. But if you are good with C-programming, you might implement it yourself?
There is a way to implement it; but it makes your installation a lot more complicated: you can have two ELOG servers. The first has all logbooks
but requires authentification to read any. The second has only the public logbooks, and they are mirrored from the first. |
Re: Hide logbook tab when not authorized, posted by Stefan Ritt on Thu Aug 24 11:46:30 2017
|
Hi Stefano,
that's what top groups were made for. So make a top group for yourself, and nobody will be able to see them without having the proper URL.
Hiding logbooks from the logbook selection page is not possible since when people bring up that page, they are not yet logged in, so elog does not know |
Re: Hide logbook tab when not authorized, posted by marijn lucas on Thu Oct 24 16:38:27 2019
|
*** edit ***
I solved my problem by removing the guest options from the logbooks ('Guest menu commands' and 'Guest List Menu commands'), this
forbids any unauthorised user to see the content of the concerned logbooks. This is what I needed. |
Edit of multiple posts, posted by Finn Junker on Fri Oct 11 14:16:58 2019 
|
Hello Elog Forum
There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish
translation "igangværende" and "afsluttet", see the attached pictures. |
Re: Edit of multiple posts, posted by Andreas Luedeke on Tue Oct 15 10:37:29 2019
|
I use editing of multiple entries frequently and it works fine for me.
To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it
still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix. |
Re: Edit of multiple posts, posted by Finn Junker on Thu Oct 17 14:57:25 2019
|
Hello Andreas
OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked
Attributes = Bruger". |
Re: Edit of multiple posts, posted by Andreas Luedeke on Fri Oct 18 08:50:27 2019
|
Hi Finn,
I don't know if this was intended, but at least I know a possible solution: with the command
"Show
Attributes Edit = "
you can limit the attribute list shown in the edit form to those that are not |
Re: Edit of multiple posts, posted by Finn Junker on Fri Oct 18 09:40:54 2019
|
Hello Andreas
Show Attributes Edit = xxx, limits the attributes shown when editing but when you submit you get the error
Error: Attribute Bruger not supplied. |
Re: Edit of multiple posts, posted by Andreas Luedeke on Fri Oct 18 23:22:50 2019
|
I'm sorry, apparently my tip was not clear: you should use "Show Attributes Edit = " to NOT SHOW any of your locked attributes.
It
is just a guess: if the attribute is not shown in your edit form, it will not complain about it when you submit the form.
Did you try that?
Cheers,
Andreas
Finn |
Re: Edit of multiple posts, posted by Finn Junker on Mon Oct 21 10:46:43 2019
|
Hello Andres
Or maybe my reply was unclear :-), but i did use the "Show Attributes Edit" the way you meant to not show attribute BRUGER
and when i do that i get: |
Re: Edit of multiple posts, posted by Finn Junker on Tue Oct 22 12:47:06 2019
|
Trial and error - it seems like this combination does the trick:
Locked Attributes = Author
Fixed Attributes Edit = Author |
How to get Elog server to produce web server log files in Linux., posted by John on Wed Oct 16 09:45:41 2019
|
Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and
others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who
is accessing my Elog from the web, and I hope there is a way. |
Re: How to get Elog server to produce web server log files in Linux., posted by Stefan Ritt on Wed Oct 16 09:48:56 2019
|
Have you tried
Logfile = ...
Logging level = 3 |
Re: How to get Elog server to produce web server log files in Linux., posted by John on Wed Oct 16 10:19:42 2019
|
Thanx soo much Stefan.. I feel so stupid for not looking at the admin guide more :( But you how us nerds are-- read the manul last!
John :)
Stefan |
Re: How to get Elog server to produce web server log files in Linux., posted by John on Thu Oct 17 21:29:25 2019
|
Hi again everyone; a Sebastian suggested I use a reverse proxy to complete my need to have logs show up when someone 'lands' on my first entry
page. I see that Elog will only start recording logs when someone has actually started to do some work.. like login, read a post, etc... but NOT when they
first enter the login page or 'listings' pages. I have tried fowarding from my router (both lighty and Apache) but so for no good. I will also |
Re: How to get Elog server to produce web server log files in Linux., posted by Sebastian Schenk on Mon Oct 21 13:41:08 2019
|
Hi,
that Sebastian would be me. I replied to the first entry, as it was a draft (site reloaded incorretly...) and now I can't see the post anywhere.
But this is off topic. |
Re: How to get Elog server to produce web server log files in Linux., posted by John on Mon Oct 21 19:31:17 2019
|
Thank you soo much Sebastian once again for helping me!! This is something that will help me very much in the future with other situations similiar!
John :)
Sebastian |