ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
67976
|
Tue Jun 9 15:44:49 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug fix | All | 3.1.0 | Re: parse a correctly the username in save_user_config when using Webserver authentication |
Hi Christof,
thanks for the patch, I merged it into the current HEAD.
/Stefan
Christof Hanke wrote: |
Hi Stefan,
When we use Webserver authentication, we have the correct username already in the variable http_user.
The old way of copying this http_user to "user" is wrong since we don't use the size of http_user.
Instead, just encode the http_user variable directly.
See attached patch against git HEAD.
Christof
|
|
67977
|
Tue Jun 9 16:09:39 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 3.1.0 | Re: logout to external page |
I implemented it, but actually called it Logout to URL = <URL>
Christof Hanke wrote: |
Hi Stefan,
I am happy to see that you include the webserver authentication.
So I can now login at some other page and then access elog.
However, I would also need some means of logging out some where else.
For this I propose a new Configuration option "Logout to page" which redirects to another page if set and "Logout to main" is 0.
See the attached patch (against git HEAD)
Does this make sense to you ?
Christof
PS: Many thanks for the autosave mode, I already used it ;-)
|
|
67981
|
Tue Jun 9 16:57:06 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Comment | All | 3.1.0 | Re: Documentation of the webserver authentication |
Also this made it now to the docs. Thanks.
Christof Hanke wrote: |
Hi Stefan,
here is a draft of how you could describe the webserver authentication in your docs.
T/Christof
|
|
67982
|
Tue Jun 9 16:58:28 2015 |
| Christof Hanke | hanke@rzg.mpg.de | Request | All | 3.1.0 | Re: logout to external page |
Yes, I saw it on bitbucket, also all the commits. Thanks!
Stefan Ritt wrote: |
I implemented it, but actually called it Logout to URL = <URL>
Christof Hanke wrote: |
Hi Stefan,
I am happy to see that you include the webserver authentication.
So I can now login at some other page and then access elog.
However, I would also need some means of logging out some where else.
For this I propose a new Configuration option "Logout to page" which redirects to another page if set and "Logout to main" is 0.
See the attached patch (against git HEAD)
Does this make sense to you ?
Christof
PS: Many thanks for the autosave mode, I already used it ;-)
|
|
|
67997
|
Wed Jun 10 11:52:47 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 3.1 | Re: Formatting multiple datetime entries |
Edmund Hertle wrote: | Hey
in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.
Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?
Example:Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
|
Ok, implemented in the current version. |
67999
|
Wed Jun 10 12:48:41 2015 |
| Neal Grafton | neal.grafton@stfc.ac.uk | Question | All | 3.1 | Re: Formatting multiple datetime entries |
Stefan Ritt wrote: |
Edmund Hertle wrote: | Hey
in one of my measurement logbooks I'm using two datetime entries (for start and end time of a measurement). The entries are created automatically by the measurement script.
Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format = %H:%M:%S
For better visual appearance I would like to only display the time on the two additional datetime fields but keep the full date and time on the standard date field. Using the "Time format" option will influence all three at once.
Is there an option to do something like the time format for individual attributes (similar to the syntax of adding comments etc)?
Example:Attributes = Time Start, Time End
Type Time Start = datetime
Type Time End = datetime
Time format Time Start = %H:%M:%S
Time format Time End = %H:%M:%S
|
Ok, implemented in the current version. |
I can use that....
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End? |
68000
|
Wed Jun 10 12:52:48 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 3.1 | Re: Formatting multiple datetime entries |
Neal Grafton wrote: |
Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End? |
Nope. The only way to do that is to use a scrip on the server (see elog:67876 for example), or use JavaScript. With "Top Text = <file>" you can "sneak in" some JavaScript code which massages the DOM tree and computes everything you want.
/Stefan |
68001
|
Wed Jun 10 12:56:58 2015 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 3.1 | Re: Formatting multiple datetime entries |
Neal Grafton wrote: | Also, is there a way of automatically displaying the difference in Hrs mins between Time start and Time End? |
I guess you want to do some more complex calculations, like adding the running times, etc. This goes beyond the scope of elog. You can however export elog entries as a CSV file and import it in a spreadsheet program and do there all calculations you want.
/Stefan |