Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |
Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |
Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |
Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |
Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |
Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:15:33 2005
|
Hi again!
I have one question concerning the logbook configuration. Normally, clicking on "List" takes me to the first page of the list view. Is it possible to configure the logbook so that "List" takes me to the last page instead?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 12:16:38 2005
|
Yoshio Imai wrote: | Is it possible to configure the logbook so that "List" takes me to the last page instead? |
Reverse sort = 1 |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 12:39:44 2005
|
Stefan Ritt wrote: |
Reverse sort = 1 |
Thanks for the quick reply. Unfortunately, this is not exactly what we need. We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this?
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:05:26 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
Start page = 0?cmd=last
Well, I guess this is not what you want either, correct? You would like to see the listing page with ~20 entries. The first one you can access easily via "<logbook>/page1", but the number of the last page varies over time. I would have to add a new functionality like "<lobook>/page_last", which automatically gets converted into the correct page number. I will put this on my wishlist. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:12:46 2005
|
Thanks!
For the moment, I could satisfy the users by setting the start page to the "All" view, but if it can be implemented in a future version, this would come very handy.
Yoshio |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 13:14:19 2005
|
Yoshio Imai wrote: | We would like to see the entries in normal order, but the last of the pages as "start page". Is it possible to configure this? |
What about
Start page = last10
This shows always the last 10 entries. If you want to see more, you can click on the new menu entry "Last 20 entries" etc. |
Re: Display last page by default, posted by Yoshio Imai on Fri Oct 28 13:24:27 2005
|
Stefan Ritt wrote: |
What about
Start page = last10
|
In principle this would be a good starting point, however, we would like to use the "Previous" and "Next" page selectors to browse (and these don't appear when using the "lastNN" statement for the start page). |
Re: Display last page by default, posted by Stefan Ritt on Fri Oct 28 20:36:55 2005
|
Ok, I implemented the last page display per default in revision 1538. If "reverse sort = 0" the last page is shown and if "reverse sort = 1" the first page is shown by default. This way one always sees the page with the latest entries. I hope this accomodates everybody. If not, please complain and I could make it a switch (yet another option ). |
Re: Display last page by default, posted by Yoshio Imai on Mon Oct 31 01:39:52 2005
|
I have installed the new version, and it works just fine. It is also MUCH faster than my intermediate solution.
Quote: |
For the moment, I could satisfy the users by setting the start page to the "All" view
|
Thanks for the work! |
wrong server HTTP status code when login failed, posted by Chris Körner on Thu Oct 21 14:57:14 2021
|
Hi,
I am trying to access elog through a python client (https://github.com/paulscherrerinstitute/py_elog) and found a strage strange behavior which may be related server side problem. The python script generates get/post messages via the python requests library. This works fine so far and I can view and post messages. However, if a wrong user/password is provided, the server still returns HTTP status code "200 OK", although login failed. Instead, it should return something like "401 Unauthorized". This behavior later causes problems since the python client thinks login was successful. After experimenting around I think this could be caused by a server side misconfiguration. Any ideas?
I am not sure if this imformation is important: We use LDAP as user/password provider for elog. |
Re: wrong server HTTP status code when login failed, posted by Chris Körner on Thu Oct 21 15:19:16 2021
|
Seems like I've discovered another bug here related to umlauts in my name. :D
I was submitting this post and forgot to put an icon. Elog seems to have saved a copy of my message, which I could not edit since my username does not match the bugged name saved for this message.
Chris Körner wrote: |
Hi,
I am trying to access elog through a python client (https://github.com/paulscherrerinstitute/py_elog) and found a strage strange behavior which may be related server side problem. The python script generates get/post messages via the python requests library. This works fine so far and I can view and post messages. However, if a wrong user/password is provided, the server still returns HTTP status code "200 OK", although login failed. Instead, it should return something like "401 Unauthorized". This behavior later causes problems since the python client thinks login was successful. After experimenting around I think this could be caused by a server side misconfiguration. Any ideas?
I am not sure if this imformation is important: We use LDAP as user/password provider for elog.
|
|
wrong server HTTP status code when login failed, posted by Chris Körner on Thu Oct 21 15:17:52 2021
|
Hi,
I am trying to access elog through a python client (https://github.com/paulscherrerinstitute/py_elog) and found a strage strange behavior which may be related server side problem. The python script generates get/post messages via the python requests library. This works fine so far and I can view and post messages. However, if a wrong user/password is provided, the server still returns HTTP status code "200 OK", although login failed. Instead, it should return something like "401 Unauthorized". This behavior later causes problems since the python client thinks login was successful. After experimenting around I think this could be caused by a server side misconfiguration. Any ideas?
I am not sure if this imformation is important: We use LDAP as user/password provider for elog. |