ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67028
|
Fri Mar 18 11:07:50 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.9.0 | Re: Cleaning up attachments |
Louis de Leseleuc wrote: |
I noticed a behavior that might be irritating.
After attaching/uploading files to an entry and before submitting it, one might press 'Back' or close the browser window.
This in effect cancels the entry and sends into oblivion. HOWEVER the attachments and their thumbnail files remain on the server forever.
Would there be a way to either delete attachments after some time if they don't show up in an entry? Or some other magic trick with the browser? My logbook directories are already full of orphan files that I need to seek and destroy.
Also, any thoughts on automatically cleaning up a logbook directory when the damage is done?
Louis
|
Well, this is not so easy. When you leave the browser (via 'Back' or just by closing), it has no way to communicate with the elog server. I could put in some JavaScript, but if people switch off JavaScript there is no way. On the other hand it might be simple to write just a little shell script, which goes through all files on the server and checks if the file name occurs in some elog entry. This can probably be done with some combination of "find" and "grep", but I'm not a shell script expert. |
67030
|
Mon Mar 21 08:53:48 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | Windows | 2.90 | Re: http://midas.psi.ch/elog/download/windows/ doesn't have the latest 2.90 release |
> It looks like the newest windows release of elog at
> http://midas.psi.ch/elog/download/windows/ is 2.81.
>
> elog281-1.exe 23-Dec-2010 11:42 3.1M
> elog-latest.exe 23-Dec-2010 11:42 3.1M
>
> Can you post the 2.90 release.
>
> Thanks.
>
> -- rouilj
Yepp, done. I somehow overlooked it.
- Stefan |
67037
|
Fri Apr 1 09:17:20 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | 2.9.0-2402 | Re: Why the password file can have several same username? |
Ma Qiumei wrote: |
I don't know the reason why eLog can have the same username.
And what should I do to prevent these things happen?
|
Thanks for reporting that bug. It has been fixed in SVN revision 2404. |
67038
|
Fri Apr 1 10:45:17 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2191 | Re: Creating a form or table |
Terry Shuck wrote: |
Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS!
|
The HTML editor contains a table editor such as this:
Just click on the menu with the little table icon  |
67039
|
Fri Apr 1 10:54:29 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | 2.9.0 | Re: Mail are no longer sent from the logged in user in 2.9.0 |
Olivier Callot wrote: |
We upgraded to Elog 2.9.0-2402 and since then mails sent by Elog when posting an item are from the default account, not from the logged in user's mail address.
The configuration is, for the mail part :
Default Email From = Olivier.Callot@cern.ch
Use Email Subject = ELOG Computing Operations - $Subject ($Site - $System - $Production number)
Thanks for telling me which flag/option I have to set to restore the proper mail 'From:' field.
|
Thanks for reporting this bug. I have fixed it in SVN revision 2407. |
67041
|
Fri Apr 1 16:13:44 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Comment | Linux | 2.9.0-2402 | Re: Authentication error message |
soren poulsen wrote: |
It is very good to have Kerberos authentication available. It is just the error message which is a bit cryptic.
If you enter your Kerberos password once, and later fail to authenticate with a wrong password, you get:
Kerberos error:
Decrypt integrity check failed.
Please check your Kerberos configuration
That is not really urgent!
Soren
|
Can you tell me how to reproduce this? If I do it here, I just get back to the login page:

Maybe it has to do with your specific Kerberos implementation? What server are you using?
|
67043
|
Fri Apr 8 15:31:50 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2191 | Re: Creating a form or table |
Terry Shuck wrote: |
Andreas Luedeke wrote: |
Terry Shuck wrote: |
Is there a way to open a form or table when clicking on New rather than going to a text field? Thanks, TS!
|
Hi Terry,
it is not exactly clear to me what you want.
You can define many different types of attributes to an entry.
Like this logbook has "Icon", "Author", "Author Email", "Category", ...
That automatically creates a form for the input.
Or you can have some pre-filled text in the text area, like a pre-defined table.
E.g. with the following line:
Preset Text = input-form.html
Every new entry will now contain the content of the file input-form.html
which could be some table or list, ...
|
Thank you very much for your replies Stefan and Andreas!
I've played with the Preset Text = input-form.html however when I open a new form it just has text in there stating "input-form.html. I feel like I'm missing a way for the Configuration to find my html file.
I feel like I am close but I'm missing one piece of data. Here is what I'd like to have, when I click "New" I'd like this table to be automatically inserted in the body.
Time |
Town/Location |
Shift Change Description |
CRM 701 |
Author |
Receipt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks again, Terry
|
If you see only the file name it means that elogd cannot find the file, it's probably in the wrong directory. Have you put it into the "logbooks" directory? Like c:\Program Files\ELOG\logbooks\ ? |
67048
|
Fri Apr 15 08:37:21 2011 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | All | 2.9.0 | Re: Self Register = 3 doesn't work any longer |
Olivier Callot wrote: |
With the recent Elog 2.9.0 rev 2412 the Self Register = 3 option doesn't work as expected: The user is immediately allowed to login. This is not what this option was doing, which is to wait for an approval by the administrator. Can this behaviour be restored, or should I change the value of the Self Register flag? Thanks
|
Are you sure about that (maybe used an older revision of elogd where this indeed was a problem?). The current V2.9.0-2412 gives me this:

If I then log in as the admin user, I see the configuration of the new user, but the account is not activated:

So the user cannot log in. The config file is:
[global]
port = 8080
password file = passwd
smtp host = mail.psi.ch
Self register = 3
Admin user = stefan
[demo1]
Attributes = Project, Category
Can you double check?
|