Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 453 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  65995   Mon Oct 13 10:37:27 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.7.5-2130Re: Author field read only in new posts

 

Brassmann wrote:

Hi,

how can i make the author field read only on new postings? It should take the value from $long_name after login and without login there is no way to make new postings.

This is a part of my elogd.cfg


[global]
.......

Logfile = elogd.log
Logging level = 3
Login expiration = 24
Password file = ./passwd ....... [Informations] .......
Logout to main = 1
Logbook tabs = 1
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Select, Login, Help
Preset Author = $long_name
Attributes = Author, Subject
Required Attributes = Author, Subject ........

Thanks Brassmann

 

 All you need is an addition

Locked Attributes = Author


  65996   Mon Oct 13 10:43:28 2008 Reply Brassmanninfo@flash-networx.deQuestionLinux2.7.5-2130Re: Author field read only in new posts

Stefan Ritt wrote:

 

Brassmann wrote:

Hi,

how can i make the author field read only on new postings? It should take the value from $long_name after login and without login there is no way to make new postings.

This is a part of my elogd.cfg


[global]
.......

Logfile = elogd.log
Logging level = 3
Login expiration = 24
Password file = ./passwd ....... [Informations] .......
Logout to main = 1
Logbook tabs = 1
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Select, Login, Help
Preset Author = $long_name
Attributes = Author, Subject
Required Attributes = Author, Subject ........

Thanks Brassmann

 

 All you need is an addition

Locked Attributes = Author


 Thanks, works fine.

Regards Brassmann

  65997   Mon Oct 13 10:43:30 2008 Reply Brassmanninfo@flash-networx.deQuestionLinux2.7.5-2130Re: Author field read only in new posts

Stefan Ritt wrote:

 

Brassmann wrote:

Hi,

how can i make the author field read only on new postings? It should take the value from $long_name after login and without login there is no way to make new postings.

This is a part of my elogd.cfg


[global]
.......

Logfile = elogd.log
Logging level = 3
Login expiration = 24
Password file = ./passwd ....... [Informations] .......
Logout to main = 1
Logbook tabs = 1
Guest menu commands = Back, Find, Login, Help
Guest find menu commands = Find, Select, Login, Help
Preset Author = $long_name
Attributes = Author, Subject
Required Attributes = Author, Subject ........

Thanks Brassmann

 

 All you need is an addition

Locked Attributes = Author


 Thanks, works fine.

Regards Brassmann

  65998   Mon Oct 13 11:42:07 2008 Entry Carsten ElftmannCarsten.Elftmann@BkiTech.deQuestionWindows2.7.5-2130Error Message in HTML or Java Script alert
Hello,
 
I have there a problem with the error message at required attributes.
 
I have two logbooks with identical settings,
in one the errror message appears as Javascript Alert,
in the other one as html-page, and after using the back button the entered text disapear.
Same I have in this forum.
 
I restart the Server, and tested it in one Firefox session.
 
Any idea?
 
Thanks
  Carsten
  66000   Mon Oct 13 15:24:29 2008 Warning T. Ribbrockemgaron+elog@ribbrock.orgBug reportLinux2.7.5-2130Options selections wipes locked date entry

I have two logbooks running, one for current accounts and one for non-active ones. The idea is to move an entry from one logbook to the other once an account becomes non-active. Both logbooks share some attributes (e.g. the name of the account, its creation date, ...), but both also have some uniqe attributes.

While I was playing with this set-up, I ran into a problem:

  1. Move an existing entry from current to non-active.
    • "Type" and "Status" have options. "Created" and "Archived" are in date format.
    • "Created" and "Type" are supposed to be locked in non-active. This works.
    • "Archived" and "Status" are empty, as they do not exist in current. This also works.
    • Depending on the "Type", only certain of the additional attributes are shown on edit. This works as well.
    • I would also like "Status" to have some influence on how certain other attributes are preset and/or shown. This is where the problem starts...
  2. Edit the entry in current.
    • As expected, "Created" and "Type" are shown as locked.
    • As soon as I change the selector for "State", the whole edit mask is redrawn - and the date shown in "Created" is deleted.

I've been experimenting with this quite a while and as far as can see the following applies:

  • Only date format attributes are affected
  • Only locked attributes seem to be deleted completely
  • If I have a date attribute that is not locked and I set it partially in the edit mask (e.g. only select the month or enter a year), it is also deleted
  • If I have a date attribute that is not locked and I set it completely in the edit mask (i.e. day, month and year), it is not deleted

During the experiments I came up with a stripped down version of the non-active logbook configuration, which does show the bug. It only contains Type, Created, Status, Archived. To make an entry to experiment, you'll have to comment out the "Locked attributes" line, make a new entry (with "Created" date), the uncomment that line.

I hope my description isn't too confusing - please don't hesitate to ask if anything is unclear. I'd be much obliged if you saw a chance to fix this at some point...

Best regards,

Thomas

Attachment 1: elog-bug-test-config-20081013.txt
; General settings
Menu commands = List, New, Edit, Duplicate, Delete, Reply, Select, Move to, Download, Find, Logout, Help, Config
List Menu commands = New, Select, Find, Logout, Help, Config
Date Format = %d/%m/%Y

; Attributes
Attributes = Type, Created, Status, Archived
Locked attributes = Type, Created
List Display = Edit, Type, Created, Status, Archived

; Attribute Types
Type Created = date
Type Archived = date

; Options & Tooltips
Options Type = Type1{10}, Type2{11}
Options Status = Status1{a}, Status2{b}

; Conditionals
{10}Show Attributes Edit = Type, Created, Status, Archived
{11}Show Attributes Edit = Type, Created, Status
  66002   Tue Oct 14 10:29:34 2008 Question T. Ribbrockemgaron+elog@ribbrock.orgQuestionLinux2.7.5-2130"Style" based on two MOptions - possible?

We have a logbook in which we use two "Status" attributes, both of which are MOptions. What we want to do is have the corresponding line of the list change its colour depending on the combination of those attributes. I have done so successfully using "Style" for a single Options or MOptions or even two Options (using conditionals and a third attribute), but up until now I have no luck with two MOptions. Conditionals do not seem to work with MOptions (the manual only mentions Options and when I tried anyway, it did not work... ) and multiple "Style" statements also do not seem to work. I've tried the following:

MOptions StatusA = Status-A-red, Status-A-orange, Status-A
MOptions StatusB = Status-B-red, Status-B-orange, Status-B

Style StatusA Status-A-red = background-color:red
Style StatusA Status-A-red | Status-A-orange = background-color:red
Style StatusA Status-A-red | Status-A = background-color:red
Style StatusA Status-A-red | Status-A-orange | Status-A = background-color:red
Style StatusA Status-A-orange = background-color:orange
Style StatusA Status-A-orange | Status-A = background-color:orange
Style StatusB Status-B-red = background-color:red
Style StatusB Status-B-red | Status-B-orange = background-color:red
Style StatusB Status-B-red | Status-B = background-color:red
Style StatusB Status-B-red | Status-B-orange | Status-B = background-color:red
Style StatusB Status-B-orange = background-color:orange
Style StatusB Status-B-orange | Status-B = background-color:orange

As far as I can see, the "Style" statement for StatusB only gets evaluated if none of the statements for StatusA matches (i.e. StatusA = Status-A). What I would want to achieve is that any "red" condition in either StatusA or StatusB takes precedence over "orange" and "none" and that "orange" takes precedence over "none".

Is there any solution for this problem short of merging both status attributes into one (which would be very unwieldy, especially, as StatusB is not used at all in some cases)? Any suggestions are most welcome!

Thanks in advance,

Thomas

  66007   Fri Oct 17 20:40:39 2008 Question Barendb.vandevrande@amtc2.comQuestionWindows2.7.5-2130Standard login Screen - bottom text

Hi Stefan.

I have been "playing" around with this great tool and found an interesting "issue" ...

I use multiple logbooks and have both "Protect Selection page = 1" and "Expand Selection Page = 1".

When I open my elog, I get a Standard Login Screen with the Standard Bottom Text "ELOG V2.7.5-2130" which will link to your this website.

When I "Logout" and "Login" again from the Logbook page, I get another Login Screen with my own "Bottom text login" which will link to my own elog page.

How can I apply my own Bottom Text to the Standard Login Screen ?

Thanks & Regards, Barend
 

  66008   Mon Oct 20 15:32:19 2008 Question T. Ribbrockemgaron+elog@ribbrock.orgQuestionAll2.7.5-2130(How) can I hide columns in List view?

Originally, all information about our machines was stored in a spreadsheet with one sheet for the hardware of the machines and one for the software. By now, I've sucessfully moved the software part to an elog logbook and am now looking at transferring the hardware part as well.

As both lists are machine-name based, one of the options would be to merge both lists, as this would place all machine-related info into one logbook. The downside of this is that I get so many columns in list view that the result is quite unwieldy. Hence, I would like to hide some columns - ideally creating a "hardware view" and a "software view".

From the documentation, the only option I could find that seemed suitable was "List conditions". Unfortunately, I do not quite understand from the manual how this is supposed to work, so I'm quite possibly doing something wrong. I've tried this:

; General settings
List conditions = 1

; Attributes
Attributes = Type, Created, StatusA, StatusB, Archived

; Options & Tooltips
Options Type = Type1{10}, Type2{11}

; Conditionals
{10}List display = Edit, Type, Created, Status
{11}List display = Edit, Type, Created, StatusA, StatusB, Archived

but no matter how I set "Type", it does not seem to have any effect on the List display. One thing I don't understand for example is how does elog decide in List view which entry sets the condition? If all entries are set to the same value (in this example e.g. "Type1")? The first entry? Or am I missing something altogether?

Also, if there are alternative ways how I could accomplish my goal, I'd also be most grateful for suggestions.

Thanks in advance,

Thomas

ELOG V3.1.5-3fb85fa6