Changeset 5a6e6b9


Ignore:
Timestamp:
Sep 23, 2002, 3:10:05 PM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
601a9e0
Parents:
bde7714
Message:
Turned off beeping for hitting the top or bottom of the list of
  messages
Made daemon.webzephyr a special case for smartstrip
Added 'out' as a default filter for outgoing messages
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rbde7714 r5a6e6b9  
    2222          update .zephyr.subs by default.  If either is given the '-t'
    2323          (for "temporary") option the .zephyr.subs will not be updated
     24        Turned off beeping for hitting the top or bottom of the list of
     25          messages
     26        Made daemon.webzephyr a special case for smartstrip
     27        Added 'out' as a default filter for outgoing messages
    2428       
    25291.2.3
  • functions.c

    rbde7714 r5a6e6b9  
    247247                         skip_deleted?" non-deleted":"",
    248248                         filter?" in ":"", filter?filter:"");
    249     if (!skip_deleted) owl_function_beep();
     249    /* if (!skip_deleted) owl_function_beep(); */
    250250  }
    251251
     
    295295                         skip_deleted?" non-deleted":"",
    296296                         filter?" in ":"", filter?filter:"");
    297     if (!skip_deleted) owl_function_beep();
     297    /* if (!skip_deleted) owl_function_beep(); */
    298298  }
    299299
  • owl.c

    r65fc0900 r5a6e6b9  
    157157  f=malloc(sizeof(owl_filter));
    158158  owl_filter_init_fromstring(f, "reply-lockout", "class ^noc or class ^mail$");
     159  owl_list_append_element(owl_global_get_filterlist(&g), f);
     160
     161  f=malloc(sizeof(owl_filter));
     162  owl_filter_init_fromstring(f, "out", "direction ^out$");
    159163  owl_list_append_element(owl_global_get_filterlist(&g), f);
    160164
  • util.c

    rf9c43ae r5a6e6b9  
    425425
    426426char *smartstripped_user(char *in) {
    427   /* strip out the instance from a zsender's principal.
    428    * Preserves the realm if present.
    429    * the caller must free the return */
     427  /* strip out the instance from a zsender's principal.  Preserves the
     428   * realm if present.  daemon.webzephyr is a special case.  The
     429   * caller must free the return */
    430430
    431431  char *ptr, *realm, *out;
     
    436436  ptr=strchr(in, '.');
    437437  if (!strchr(in, '/') && !ptr) {
     438    /* no '/' and no '.' */
    438439    return(out);
    439440  }
    440441  if (ptr && strchr(in, '@') && (ptr > strchr(in, '@'))) {
     442    /* There's a '.' but it's in the realm */
    441443    return(out);
    442444  }
     445  if (!strncasecmp(in, "daemon.webzephyr", strlen("daemon.webzephyr"))) {
     446    return(out);
     447  }
     448
    443449
    444450  /* remove the realm from ptr, but hold on to it */
Note: See TracChangeset for help on using the changeset viewer.