Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 11:06:46 2015
|
Good Afternoon
Im trying to automatically post an entry using information saved in a text file. I have followed the example in the users guide but i always
seem to get a error message saying transmission failed. Lets say for instance I have a user named John and his password is Blue and he wants to log into |
Re: Logging entries from the command line, posted by Stefan Ritt on Mon Oct 26 11:18:57 2015
|
Run the elog command with an additional -v flag (verbose output), and you will see what the elogd server return. It's
HTML, but you should be able to see some error message.
kenzo |
Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 11:24:46 2015
|
Hi Stephan
The error message I get is "Error: Command Submit not allowed". I dont know if this might be an issue but it says Response Recieved:
HTTP/1.1 404 Not Found in the first line of the servers response |
Re: Logging entries from the command line, posted by Stefan Ritt on Mon Oct 26 11:32:08 2015
|
This indicates that the username/password is not correct. Can you log in to that logbook in your browser with the username "John" and password
"Blue"?
kenzo |
Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 12:17:40 2015
|
Yes I can it works perfectly from the browser.
Stefan
Ritt wrote:
This indicates that the username/password is not correct. Can you log |
Re: Logging entries from the command line, posted by kenzo Abrahams on Mon Oct 26 12:26:03 2015
|
Hi Stephan I got it to work for some reason elog was complaining that my encoding of the message wasnt allowed. I allowed the lognook to allow ELcode
and it works perfectly.
Thank you for the help. |
How does one create a html template for an entry, posted by kenzo Abrahams on Thu Oct 15 12:32:19 2015
|
Good Day
I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries |
Re: How does one create a html template for an entry, posted by Stefan Ritt on Thu Oct 15 14:34:36 2015
|
> Good Day
>
> I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the entries |
Re: How does one create a html template for an entry, posted by kenzo Abrahams on Mon Oct 26 11:16:54 2015
|
> > Good Day
> >
> > I am new to elog and have a question. This is best explain with an example. If I have two logbooks named "home" and "work" and I would like all the |
Columns numeric input are added/computed, posted by Dawang on Fri Oct 23 03:36:18 2015
|
Hi Stefan,
Good day. I'm thinking if this wishlist is already available in elog. The values in columns we're added or computed according to formula
set in a single separate column. |
Re: Columns numeric input are added/computed, posted by Stefan Ritt on Fri Oct 23 08:29:33 2015
|
No, formulas are not yet implemented. For such things I would use Google Spreadsheets in meantime.
Stefan
Dawang |
Show attachments = 0, posted by Eric Quintero on Wed Aug 12 23:44:16 2015
|
I have "Show attachments = 0" set in [global], but attachments are shown in the "Full" view. Is this the intended behavior?
Looking at individual entries correctly hides the attachments.
We use inline images often, so when an attachement is shown at the bottom of a post it is effectively a duplicate, which clutters things |
Re: Show attachments = 0, posted by Stefan Ritt on Thu Aug 13 08:41:57 2015
|
That's strange. If you use HTML or ELCode encoding, attachments are automatically hidden if they are used inline. So no "Show
attachments = 0" necessary! I just tried that with the demo logbook and here is how it looks:
|
Re: Show attachments = 0, posted by Eric Quintero on Mon Aug 31 17:14:08 2015
|
The automatic hiding behavior is what I'm after, and I've discovered that it is only a problem for PDF attachments.
I have reproduced this on the demo logbook on git revision f828049.
I've taken a look at the source you mentioned, but as far as I can tell, it is just looking for the opening of the img tag in the |
Re: Show attachments = 0, posted by Eric Quintero on Fri Oct 16 00:24:50 2015
|
Hm, looking through the source, there are many many places where PDF files are treated differently than strictly image filetypes (PNG, etc.). This makes
sense in the context of multi-page documents.
Still, I like using PDFs for vector plots... I suppose I should also confess to the following modification I've made to my ELOG for treating |
inline jpg to png, posted by Jacky Li on Sun Oct 4 20:29:01 2015
|
Hi,
We have a user who posted a lot of inline jpg. The elog system converted those to png and thus cause the size of the elog to expand about
~4x of the original size. It is caused the problem of entry size too large for email notifications. Is there a way to turn off the conversion |
Re: inline jpg to png, posted by Stefan Ritt on Tue Oct 13 09:47:18 2015
|
You can turn off thumbnail creation with
Thumbnail size = 0
as written in the documentation. The PNG files are "thumbnails" (= smaller versions of large pictures). Mostly people put large images |
How can I host elog in a web server, posted by Dawang on Thu Oct 8 06:36:34 2015
|
How can I host elog in a web server. I need sample config file on [global] segment to show config on how it can be host. Please need your help. Thanks |
Re: How can I host elog in a web server, posted by Andreas Luedeke on Thu Oct 8 11:27:55 2015
|
I am honestly not sure if I understand the question. You can run ELOG behind an Apache Webserver. Look for example at https://midas.psi.ch/elog/adminguide.html#secure
Dawang
wrote:
How can I host elog in a web server. I need sample config file on [global] |
"not a valid Win32 application" error on versions 3.x.x, posted by Jean Pierre Vandecandelaere on Thu Oct 1 15:09:17 2015
|
Hello,
we have been using elog 2.7.1 as a logbook to signal problems and so on in our Engine Room Simulator for a couple of months now. Since this is
exactly what we're looking for, I've installed the latest release in our sailing simulator as well. On this occasion I thought about updating the |
Syntax for conditional list display, posted by Terry L on Tue Sep 15 18:04:35 2015
|
Good Morning,
I would like to limit the ability to edit certain attributes in an ELOG logbook, depending on the user who is logged in. I.e. if "guest"
or a standard "login user" is logged in, I only want to allow the user to edit "attribute1" & "attribute2" of say, 5 |
Re: Syntax for conditional list display, posted by Edmund Hertle on Mon Sep 21 17:08:44 2015
|
Hey Terry,
I don't think this is possible, since in general you cannot define config settings in a way that it would only affect specific users. For
example, you also cannot have different themes for different users (as stated here: https://midas.psi.ch/elogs/Forum/68112 ) |
Re: Syntax for conditional list display, posted by Terry L on Tue Sep 29 17:15:07 2015
|
Hi Eddy,
Thank you for your response. I had a feeling that was the case, but I had high hopes! :) The reason I would like this feature is
because I am trying to use ELOG as a software anomaly tracking log, where any user can create an ELOG and fill out "category", "computer" |
Re: Syntax for conditional list display, posted by Andreas Luedeke on Wed Sep 30 09:28:39 2015
|
Hi Terry,
if you really want to do it, you can find a way to make it work. But it is not straight forward and not what ELOG is made for.
Here some ideas how it could work:
ELOG allows you to have different commands for different users. You could allow "New"
and "Edit" for normal users, but "Reply" only for administrators.
You can use "Subst on reply <attribute> |
Re: Syntax for conditional list display, posted by Andreas Luedeke on Thu Oct 1 12:01:11 2015
|
Oups: there is a flaw in this approach! You can only get different commands for Anonymous and Login Users. You cannot select different command for Admin
users: they will just have the "Config" command automatically.
You could allow anonymous users to make new entries and restrict login to administrators. But that is certainly not what you want, so forget |