ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69726
|
Tue Jan 30 13:10:38 2024 |
| Alexey Khudyakov | khudyakov@sepulcarium.org | Bug report | Linux | ELOG V3.1.5 | Re: http status 200 returned for "file not found" |
> "file not found" should return http code 404. elogd returns code 200 together
> with a page containing text "404 not found". This pollutes the browser cache
> with wrong content (in this case, we are trying to load a css file, and the browser
> is trying to use text "404 not found" as if it were a css. bad. file not found
> should return http code 404. K.O.
Yes. That's quite a problem when interacting with ELOG programmatically. Only way to
find whether response succeeded or failed with 404 is to parse response body
When file is not found send_file_direct calls show_html_header which in turn calls
show_http_header which sets HTTP code 200 unconditionally. It's reasonably easy to
patch around. |
69741
|
Fri Feb 23 14:59:29 2024 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | ELOG V3.1.5 | Re: http status 200 returned for "file not found" |
> > "file not found" should return http code 404. elogd returns code 200 together
> > with a page containing text "404 not found". This pollutes the browser cache
> > with wrong content (in this case, we are trying to load a css file, and the browser
> > is trying to use text "404 not found" as if it were a css. bad. file not found
> > should return http code 404. K.O.
>
> Yes. That's quite a problem when interacting with ELOG programmatically. Only way to
> find whether response succeeded or failed with 404 is to parse response body
>
> When file is not found send_file_direct calls show_html_header which in turn calls
> show_http_header which sets HTTP code 200 unconditionally. It's reasonably easy to
> patch around.
I fixed the code to properly return "404 Not Found" in case a non-existing file is requested.
Stefan |
65940
|
Thu Jul 31 17:22:23 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | All | 2.7.3-2058 | Re: html code in reply window |
Tom Plancon wrote: |
Hello,
Recently upgraded to 2.7.3 and I'm seeing html code filling up the reply window. Before I would just see [quote] and [/quote] around the original entry. Did I miss something in the upgrade? Thanks!
|
Probably you did not install the FCKeditor. Just try a reply to this message, and you will see the many formatting icons on top of the page coming from that HTML editor. Without the editor, you will only see the plain HTML. You can switch back however to the old behavior by selecting the ELCode encoding. You can make this permanent with the "Default encoding =0" option. |
2327
|
Sat Oct 6 17:15:59 2007 |
| Arno Teunisse | A.teeling3@chello.nl | Question | Windows | | Re: how to use the find calendar |
Arno Teunisse wrote: | Hello
In the find page you use a calendar popup from which the user can click on a date and the date boxes are filled in with the correct date. Can I use that calendar also? If so, can you show me an example of it's usage.
I found it , Sorry for the question, ( RTFM ) Read The Fucking Manual )
|
|
2239
|
Fri Jun 1 08:43:23 2007 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | V2.6.5-186 | Re: how to supress checkboxes of all logbooks at registration? |
Mark Bergman wrote: | Is there a way to suppress the listing of all logbooks on the New User Registration page? We've got 100 logbooks (one for each server, cluster node, or major software package). The long list makes it difficult for users to find the bottom of the registration page, and no user needs to subscribe for automatic e-mail notification for every logbook.
|
No, this is currently not possible. But I wonder why you have so many logbooks. Instead of having an individual logbook for every server, you could have the server name as an attribute of a single logbook:
Attributes = Author, ..., Server
Options Server = server1, server2, ...
Quick filter = Server
...
Using the quick filter, you can select the subset of logbook entries belonging to one server very easily. In general it will make your life much easier if you have less logbooks.
- Stefan |
65790
|
Thu Mar 27 06:18:05 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | V2.7.2-204 | Re: how to sort entry |
jee wrote: |
hi:
I have a problem with elog, if there are many entrys, and i want to find some useful entries which i preseted before ,like entries with , how can i configure the command ?
so i can find what i want with
please give me a help ,thx a lot!
|
Very simple: Click on "Find", select the icon, and click on "Search". Like if you do this for this Forum, it will produce an URL like:
https://midas.psi.ch/elogs/Forum/?Icon=icon14.gif |
65793
|
Thu Mar 27 09:05:05 2008 |
| jee | jeepenin@hotmail.com | Question | Linux | V2.7.2-204 | Re: how to sort entry |
Stefan Ritt wrote: |
jee wrote: |
hi:
I have a problem with elog, if there are many entrys, and i want to find some useful entries which i preseted before ,like entries with , how can i configure the command ?
so i can find what i want with
please give me a help ,thx a lot!
|
Very simple: Click on "Find", select the icon, and click on "Search". Like if you do this for this Forum, it will produce an URL like:
https://midas.psi.ch/elogs/Forum/?Icon=icon14.gif
|
i mean , is there a button that when i push it , then it only shows valuable enties which i preset before, the button may add in the "List | New | Edit | Reply | Duplicate | Find | Config | Logout | Help"
is that possible? pls show the command.
thank you for reply me! |
65794
|
Thu Mar 27 09:10:46 2008 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Linux | V2.7.2-204 | Re: how to sort entry |
jee wrote: |
i mean , is there a button that when i push it , then it only shows valuable enties which i preset before, the button may add in the "List | New | Edit | Reply | Duplicate | Find | Config | Logout | Help"
is that possible? pls show the command.
thank you for reply me!
|
No, there is no button for that. |