ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66089
|
Tue Dec 2 01:10:39 2008 |
| weiluo | lwsy711@gmail.com | Question | Linux | | How to attach screen shot in elog |
I want to know if there were some way to insert a screen shot directly into the log book instead of going through the "save-attach" procedure. i.e. add some plug in button to do this under Linux?
Or, can I just make a plain log file "xxxx.log" and put it into the directory? Will that work?
Thanks |
66088
|
Thu Nov 27 11:47:34 2008 |
| T. Ribbrock | emgaron+elog@ribbrock.org | Info | Linux | 2.7.5 | Re: Installation problems |
> 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 ;-)
I finally got round to do so. I've also included the changes suggested by Yoshio Imai (reload functionality).
Hopefully, it is useful for someone... |
66087
|
Thu Nov 27 11:36:53 2008 |
| T. Ribbrock | emgaron+elog@ribbrock.org | Bug report | Linux | 2.7.5-2130 | Re: Select -> Edit wipes dates |
Stefan Ritt wrote: |
This problem has been fixed in revision 2.7.5-2143. Please upgrade.
|
Yup, this works now - thanks a mil! |
66086
|
Thu Nov 27 10:29:19 2008 |
| Niklas | niklas@hoglund.pp.se | Bug report | Linux | 2.7.5 2142 | Re: Elogd crashes with: *** stack smashing detected *** |
Stefan Ritt wrote: |
Niklas wrote: |
Stefan,
perhaps there should be something like the bold text below in elogd.c:
int process_http_request(const char *request, int i_conn)^M
...
/* extract cookies */^M
if ((p = strstr(request, "Cookie:")) != NULL) {^M
p += 6;^M
do {^M
p++;^M
while (*p && *p == ' ')^M
p++;^M
strlcpy(str, p, sizeof(str));^M
for (i = 0; i < (int) strlen(str); i++)^M
if (str[i] == '=' || str[i] == ';')^M
break;^M
if (str[i] == '=') {^M
str[i] = 0;^M
p += i + 1;^M
for (i = 0; *p && *p != ';' && *p != '\r' && *p != '\n' && i < (int) sizeof(cookie); i++)
cookie[i] = *p++;
...
|
Wow, where did you get that long cookie from? Certainly not from elogd. You must run elogd under Apache, and have some other service next to it on your server which distributes this long cookies, that's why other people did not experience this problem yet. I appreciate your fix. It's alwasy nice to see users not only complain about things, but try to fix them. Your fix is almost correct, you need a
i<(int) sizeof(cookie)-1
since there is the trailing zero for terminating the cookie string. I applied your fix to SVN revision #2146.
|
I the cookie is used for single-sign-on for multiple sites within company.com. So the cookie is issued for "company.com" i.e. all websites gets it even elog.company.com:8080..
I mostly fibble little bit in perl (dont need to bother with trailing zeros there ).
BR, Niklas
|
66085
|
Thu Nov 27 08:21:40 2008 |
| mike cianci | mike2.cianci@comcast.net | Question | | | Re: Sort Attributes |
mike cianci wrote: |
I am tring to sort the attribute, subject, but it sorts with Z on top and A on the bottom. Is there anyway to reverse sort?
|
Sorry, to bother you. Solved my own problem " Reverse sort = 0" |
66084
|
Thu Nov 27 07:02:51 2008 |
| mike cianci | mike2.cianci@comcast.net | Question | | | Sort Attributes |
I am tring to sort the attribute, subject, but it sorts with Z on top and A on the bottom. Is there anyway to reverse sort? |
66083
|
Wed Nov 26 18:01:21 2008 |
| William De La Vega | billdlv81@yahoo.com | Question | Windows | | Re: Export of entries |
Stefan Ritt wrote: |
William De La Vega wrote: |
I would like to export several entries out of a logbook I have with a specific subject.
I need to send these entries to someone who does not have elog nor can they install it.
Is there a way to do this?
Thanks,
Bill
|
Yes. Go to the "find" page, select your subject, check "CSV", "XML" or "RAW" and click on search.
|
Thanks for the information, looks like the csv options don't export the actual entry. I'll have to play with the other formats they look like html. |
66082
|
Wed Nov 26 12:49:08 2008 |
| Steve Williamson | StephenWilliamson@Barnsley.gov.uk | Bug report | Linux | 2.7.5 | Re: Special characters in attribute names |
Stefan Ritt wrote: |
Thanks to your detailed description I could reproduce and fix the problem. Please download SVN revision #2144 and give it a try.
|
Tested SVN v 2147 and all looks OK
thanks
Steve |