Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 133 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66172   Mon Jan 26 19:48:42 2009 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.7.4Re: restrict a field to upper or lower case

 

lisa giaime wrote:

Is it possiblet to restrict a field so that when a new record is added, whatever the user types is automatically converted to lower case?

 

No, this is not possible. 

  68191   Tue Nov 17 08:33:15 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux3.1.0Re: resending information confirmation box after refresh interval

Start with the demo example configuration, add one line after the other from your config, and figure out which is the offending statement in your config, then post a minimal configuration here which triggers the problem.

Ken Ludington wrote:

After submitting a new post, if the page is left completely alone,, it will after a few minutes prompt that the page needs to resend information.

This is the same prompt you'd get if you attempt to refresh a page that had session variables passsed to it. Example is attached.

Is there something in my config that could cause this?   This is a fresh install of the latest verison however my elogd.cfg file has been migrated throuh many installs over many versions, so it's very possible this is something following along.

thanks.

 

  1751   Mon Mar 6 13:50:07 2006 Reply Stefan Rittstefan.ritt@psi.chRequestAll2.6.1-1668Re: require smileys to have whitespace on either side?

Glenn Horton-Smith wrote:
It would be nice if elog would only interpret something as a smiley if it is surrounded by whitespace. It can be particularly annoying that an 8 followed by a right paren becomes a "cool" smiley -- e.g., a parenthetical reference to event eighteen (18) becomes mangled... [That was "18" inside the parens.]

Is there already a way to solve this issue (other than always previewing your entries and adding spaces before parans)? Is the feature hard to implement?


Interpreting smileys only if they are surrounded by whitespace does not solve the problem completely. It will solve it for (1\8), but not if you have (1, \8) (1, 9) in your text. So it's not a good solution. If you have problems with simleys, I would post my text in plain mode, or surround your numbers with [code]...[/code] tags. If you write

[code](1\8)[/code]

then it will look like
(18)

which should be fine.
  905   Mon Feb 7 10:00:42 2005 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux Re: repository of elog configuration files
> Is there a repository of elog configuration files for newbies to lookup and
> learn ? I have seen the 'contributions' elog - useful as it is ... it is not
> much. I would appreciate if someone can point out such a site where people
> have contributed their elog configuration files.

Have a look at the elog:Config+Examples. The configuration of this Forum for
example is there, covering most of the available options.

- Stefan
  1926   Wed Sep 6 12:02:52 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlBug reportLinux2.6.2-1706Re: reply option in elog client not working
Today I found, I have the same problem with editing the log (with the -e option)
  1927   Thu Sep 7 08:01:37 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlBug reportLinux2.6.2-1706Re: reply option in elog client not working
I have made patch witch solves the problem partialy.

If there are not no attachments this patch works.... (But since I have attachments I'll have to dig in deeper in the code.

Attached you will find the diff.
Attachment 1: elog.c.diff
Index: src/elog.c
===================================================================
--- src/elog.c	(revision 1714)
+++ src/elog.c	(working copy)
@@ -351,8 +351,11 @@
    strcpy(request, "GET /");
    if (subdir[0])
       sprintf(request + strlen(request), "%s/%d?cmd=download", subdir, message_id);
-   if (experiment[0])
-      sprintf(request + strlen(request), "%s/%d?cmd=download", experiment, message_id);
+   if (experiment[0]) {
+      strcpy(str,experiment);
+      url_encode(str, sizeof(str));
+      sprintf(request + strlen(request), "%s/%d?cmd=download", str, message_id);
+	}
    strcat(request, " HTTP/1.0\r\n");
 
    sprintf(request + strlen(request), "User-Agent: ELOG\r\n");
  1928   Thu Sep 7 17:17:17 2006 Reply Gerald Ebberinkg.h.p.ebberink@nclr.nlBug reportLinux2.6.2-1714Re: reply option in elog client not working

Gerald Ebberink wrote:
I have made patch witch solves the problem partialy.

If there are not no attachments this patch works.... (But since I have attachments I'll have to dig in deeper in the code.

Attached you will find the diff.

Now I am digging deeper, and I have a question:

In the function retrive_elog near line 427 a start is made with putting the attributes in an array.
As far as I can see there is no exception for the Attachment attribute. Where this attribute can be very large (e.g. many files attached) and overrun to the boundary variable (in the function submit_elog function). At least that is where I find end of my attachment string.

Could Mr. Ritt please shine some light on this, becouse I
  68599   Tue Apr 11 18:05:15 2017 Reply David PilgramDavid.Pilgram@epost.org.ukQuestionWindows3.1.2-7933898Re: rename menu commands

Hi,

First up, the Copy command is supposed to be used to copy to another log book, as it says in the documentation, not a duplicate entry in the same logbook.  I've tried doing a copy into the same logbook, it appears to work (although I don't know about every circumstance, I just did a quick and dirty test).  Use at your own risk!  Don't use Preserve ID feature is one caution I would raise immediately.

As for renaming the command, I'd suggest defining a new language, "lenglish" or whatever, make all the files necessary as per any normal language; in the eloglang.lenglish file would be

New = New

Edit = Modify

---

Copy to = Duplicate

and so on.  I chose to call my eloglang "lenglish" as duplicate, modify etc as used in the example here derive from Latin, but other commands would still be English.

 

When specified in the config file (just like the languages that "come with the box") that should give you the alternative names for the commands.

David.

Francois Cloutier wrote:

Hi !

I do have an setup were I would like to rename the menu command but keeping their fonction. Namely, I would like to rename the "copy to" button to "Duplicate" since thats the option I would like to put in place ( Copy to = Same logbook only).

I tried to do so with css but it is not possible since the button doesn't have a specific id... Would you have another solution ? 

Thanks for your help !

 

ELOG V3.1.5-3fb85fa6