yet storing large amounts of data on computers without a
public IP behind a home Internet connection.
+* DHT (distributed hash table) for mapping Message-IDs to various
+ archive locations to avoid SPOF.
+
* optional Cache::FastMmap support so production deployments won't
need Varnish (Varnish doesn't protect NNTP, either)
for coderepos
* configurable diff output for solver-generated blobs
+
+ * fix search for messages with multiple Subject:/To:/From:/Date:
+ headers (some wacky examples out there...)
}
}
-sub delete_articles {
- my ($self, $nums) = @_;
- my $dbh = $self->connect;
- $self->delete_by_num($_) foreach @$nums;
-}
-
# returns number of removed messages
# $oid may be undef to match only on $mid
sub remove_oid {
$nr;
}
+ sub num_mid0_for_oid {
+ my ($self, $oid, $mid) = @_;
+ my ($num, $mid0);
+ $self->begin_lazy;
+ each_by_mid($self, $mid, ['ddd'], sub {
+ my ($smsg) = @_;
+ my $blob = $smsg->{blob};
+ return 1 if (!defined($blob) || $blob ne $oid); # continue;
+ ($num, $mid0) = ($smsg->{num}, $smsg->{mid});
+ 0; # done
+ });
+ ($num, $mid0);
+ }
+
sub create_tables {
my ($dbh) = @_;