ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66051
|
Mon Nov 17 11:06:29 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | | 2.7.3-2109 | Re: Show/Hide links are displayed but don't work if Show attachments = 0 |
Dennis Seitz wrote: |
If I add this statement to a logbook config file:
Show attachments = 0
When viewing and individual entry, attached images are not displayed, which is as intended, but the links Show/Hide and Show All/Hide All are still displayed although they do nothing when clicked except switch between Show and Hide. Clicking on an image opens it in a separate window.
Could you make show/hide and show/hide all work? This way, by default the images are not displayed, but the default could be overridden on a case by case basis as desired, and the images displayed inline in the same window with the entry.
|
Very good idea! I changed that in ELOG V2.7.5-2139. The fix will be contained in the next release. |
66052
|
Mon Nov 17 11:10:24 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | | | Re: thumbnails in list and entry views? |
Dennis Seitz wrote: |
Sorry for the delayed reply.
Ideally I'd like a config setting so that by default all graphics are presented at a fixed thumbnail size, so the users don't have to edit the image size every time they add one. Clicking on the thumbnail would open the image full size.
This would by default streamline loading and scanning through pages with many large images, whether in Full view of an entire logbook, or when viewing individual entries.
|
Have you tried Thumbnail size = xxx in your config file? |
66053
|
Mon Nov 17 11:20:28 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.7.5-2135 | Re: elog client can set arbitrary values to locked attributes |
David Potterveld wrote: |
When submitting entries via the elog client, I find that I can set arbitrary values for attributes that are supposedly "preset" and "locked".
As an example, I have in my elogd.cfg file:
[global]
...
Group Operations = Accelerator
Top group ATLAS = Operations
...
[global ATLAS]
Attributes = Experiment, Author, Author Email, Category, Subject
Required Attributes = Category, Subject
Options Category = Routine entry, Shift summary, Problem, Fix, Question, Info, Other
Extendable Options = Category
Preset Experiment =
Preset Author = $long_name
Preset Author Email = $user_email
Locked Attributes = Experiment, Author, Author Email
...
[Accelerator]
Attributes = Author, Author Email, Category, Subject
Options Category = Routine entry, Shift summary, Problem, Fix, Question, Info, Other
...
This works as intended with a web client (firefox). The Author and Author Email attributes are preset and unchangeable.
However, if I use the elog client, as in:
elog -v -h my.apache-proxy.server -d elog -l Accelerator -p 443 -s -u johndoe xxxxx -a Category=LN -a Subject=Test -a Author=IDoNotExist -n 1 -m entry.txt
(johndoe is an existing user)
The entry is created with "IDoNotExist" as the Author name, instead of the correct name for the user johndoe,
and the Author Email attribute is blank.
Is there a way to enforce preset and locked attributes in the elogd server? (As a client could connect
with any arbitrary software, not just elog.)
|
Indeed "preset" and "locked" attributes are not obeyed if entries are submitted via the elog tool. The is because if you use a browser, the input form is created by elogd. If you use a locked attribute, the input filed for that attribute is not shown for example. If you use the elog tool, it directly submits an entry not knowing anything about the input form. To make this work, elog would first have to request the input form, then interprete all the HTML, figure out if an attribute is locked or not, then display an error if you try to submit that attribute. Since parsing of HTML is not implemented in elog, this is currently not possible.
Originally I thought that this is not such a problem. Mostly elog is used to produce some automatic entries, where the authorship is of minor interest. But I guess you are afraid that one use could submit an entry under another user's name, right? Well, I hoped that in scientific collaborations nobody is that evil ;-)
Well, I will try to do something here in order to fix this. Will come back to you. |
66054
|
Mon Nov 17 11:39:03 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.7.5-2135 | Re: elog client can set arbitrary values to locked attributes | Actually I found a way around. The "Subst xxx" is evaluated after you submit an entry, so it also works for the elog tool. So all you need in your config file is:
Subst Author = $long_name
and it will do the job. |
66055
|
Mon Nov 17 11:42:46 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Info | Linux | 2.7.5 | Re: Installation problems | > I'm actually using elog on Debian and have been rolling my own ".deb" for a while now (starting with the old
Debian
> Maybe you could add the Debian /etc/init.d/elog script to the "contrib"
> directory, with a suitable note in the README or something like that? That script has not changed in a long
time and
> is still functional - and doing so would make it easier for people who would like to install elog on a Debian
(or
> Debian-based, e.g. Ubuntu) system. I'll attach the script.
The problem is not putting this into the "conrib" area, but supporting it. Since I don't have a Debian system,
may I suggest that you put it yourself into the elog:Contributions/ logbook. If people then get problems in the
future, they can contact you directly ;-) |
66056
|
Mon Nov 17 12:07:18 2008 |
| Steve Williamson | StephenWilliamson@Barnsley.gov.uk | Request | Linux | 2.7.5 | Re: Sorting Museremail |
Stefan Ritt wrote: |
Steve Williamson wrote: |
Hi
I've just upgraded to 2.7.5 mainly because I wanted to have Museremail sorted. We use this to list contacts on an RFC form and it's much easier to find the ones you want when they are in a predictable sequence. As an extension to this it would be great if they could be sorted by the last part of their real name - typical user, give him a sweetie and he wants jam on it!
cheers
Steve
|
That's a bit hard since different groups enter their names differently. While for a human it's easy to figure out what the family name is (usually), this must not be true for a computer. So I would propose that you enter the real names in the sequence family name, given name like
Ritt, Stefan
Doe, John
then sorting will work as you like.
|
Good point! However, the current sorting appears to be done on email address rather than name. Having the option to sort on name, where we are in control of the format so could structure it accordingly, would be great.
regards
Steve
|
66057
|
Mon Nov 17 12:20:17 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Linux | 2.7.5 | Re: Sorting Museremail |
Steve Williamson wrote: |
Stefan Ritt wrote: |
Steve Williamson wrote: |
Hi
I've just upgraded to 2.7.5 mainly because I wanted to have Museremail sorted. We use this to list contacts on an RFC form and it's much easier to find the ones you want when they are in a predictable sequence. As an extension to this it would be great if they could be sorted by the last part of their real name - typical user, give him a sweetie and he wants jam on it!
cheers
Steve
|
That's a bit hard since different groups enter their names differently. While for a human it's easy to figure out what the family name is (usually), this must not be true for a computer. So I would propose that you enter the real names in the sequence family name, given name like
Ritt, Stefan
Doe, John
then sorting will work as you like.
|
Good point! However, the current sorting appears to be done on email address rather than name. Having the option to sort on name, where we are in control of the format so could structure it accordingly, would be great.
regards
Steve
|
Can you give me an example on how names an email addresses look in your case? If the email address has no fix relation to the real name, I personally find it much harder to find an email address on a Muserlist, since the real name is not shown there. I guess what you really want is a display of the email addres in the form
real name <email address>
then sort by real name. Right? |
66058
|
Mon Nov 17 13:03:19 2008 |
| Steve Williamson | StephenWilliamson@Barnsley.gov.uk | Request | Linux | 2.7.5 | Re: Sorting Museremail |
Stefan Ritt wrote: |
Steve Williamson wrote: |
Stefan Ritt wrote: |
Steve Williamson wrote: |
Hi
I've just upgraded to 2.7.5 mainly because I wanted to have Museremail sorted. We use this to list contacts on an RFC form and it's much easier to find the ones you want when they are in a predictable sequence. As an extension to this it would be great if they could be sorted by the last part of their real name - typical user, give him a sweetie and he wants jam on it!
cheers
Steve
|
That's a bit hard since different groups enter their names differently. While for a human it's easy to figure out what the family name is (usually), this must not be true for a computer. So I would propose that you enter the real names in the sequence family name, given name like
Ritt, Stefan
Doe, John
then sorting will work as you like.
|
Good point! However, the current sorting appears to be done on email address rather than name. Having the option to sort on name, where we are in control of the format so could structure it accordingly, would be great.
regards
Steve
|
Can you give me an example on how names an email addresses look in your case? If the email address has no fix relation to the real name, I personally find it much harder to find an email address on a Muserlist, since the real name is not shown there. I guess what you really want is a display of the email addres in the form
real name <email address>
then sort by real name. Right?
|
We currently have 24 users set up which, using a normal font size, takes 6 lines to display Museremail. Having realname+emailaddress would double the space - a bit much for us but may suit other users.
You ask about how our email addresses look. These are very simple, e.g. John Smith's email address would be "JohnSmith@mycompany.co.uk". The are some exceptions, e.g. one or two people have a middle initial,or have a department name as a suffix and some people have abbreviated names because that is how they are known, so John's brother Joseph, known as Joe, might be JoeSoap@mycompany.co.uk and one or two users have a different domain. So the ordering looks a bit odd sometimes, e.g.:
* StanleySmith@mycompany.co.uk * StellaEvans@mycompany.co.uk * StephenJones@mycompany.co.uk * StephenSmith@myothercompany.co.uk
* SterlingGold@mycompany.co.uk * SteuartEvans@mycompany.co.uk * SteveSmythe@mycompany.co.uk * SylviaJones@mycompany.co.uk ...
where Steve Smythe has shifted down the ranks because of the abbreviation.
However, the main reason for the request was that the I was so pleased with the ordering introduced in 2.7.5 but, as it is more normal for me to look down a list of names ordered by last-name/first-name than the other way about, I thought it worth asking if there was any way to do this sensibly. I appreciate that it isn't simple and what suits me may well not suit others - so thanks for taking time to consider the possibilities. I guess the only real solution is to define users differently, e.g. by structuring the name data into first name(s) and last name (not a global solution but would suit most of western europe and the USA at least!) but that is bound to have lots of impacts both on the application and on existing setups - so not really feasible, and probably not worth the disruption.
regards
Steve
|
|