From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 363951F42D for ; Tue, 27 Mar 2018 11:11:33 +0000 (UTC) From: "Eric Wong (Contractor, The Linux Foundation)" To: meta@public-inbox.org Subject: [PATCH 00/11] duplicate support in UI + tests Date: Tue, 27 Mar 2018 11:11:21 +0000 Message-Id: <20180327111132.20681-1-e@80x24.org> List-Id: Threading messages sharing the same Message-ID requires using our "preferred" Message-ID. For the Atom feed and new.html, this requires some effort to fake SearchMsg results for v1 where Xapian was optional, but should allow us to handle corner cases where legit messages share a Message-ID. I'm not sure if messages with the same Message-ID should be rendered as relatives, or if they should only be grouped together in the same rootset (as if their "Subject:" matches) but not rendered as ancestors. Eric Wong (Contractor, The Linux Foundation) (11): import: consolidate mid prepend logic, here www: $MESSAGE_ID/raw endpoint supports "duplicates" search: reopen DB if each_smsg_by_mid fails t/psgi_v2: minimal test for Atom feed and t.mbox.gz feed: fix new.html for v2 view: permalink (per-message) view shows multiple messages searchidx: warn about vivifying multiple ghosts v2writable: warn on unseen deleted files www: get rid of unnecessary 'inbox' name reference searchview: remove unnecessary imports from MID module view: depend on SearchMsg for Message-ID MANIFEST | 1 + lib/PublicInbox/Feed.pm | 98 +++++++++------------ lib/PublicInbox/Import.pm | 31 +++++-- lib/PublicInbox/Inbox.pm | 9 ++ lib/PublicInbox/Mbox.pm | 65 ++++++++++++-- lib/PublicInbox/Search.pm | 6 ++ lib/PublicInbox/SearchIdx.pm | 4 + lib/PublicInbox/SearchMsg.pm | 13 ++- lib/PublicInbox/SearchView.pm | 16 ++-- lib/PublicInbox/V2Writable.pm | 15 +++- lib/PublicInbox/View.pm | 180 +++++++++++++++++++++++++++------------ lib/PublicInbox/WWW.pm | 10 +-- lib/PublicInbox/WwwAtomStream.pm | 9 +- t/psgi_v2.t | 172 +++++++++++++++++++++++++++++++++++++ 14 files changed, 474 insertions(+), 155 deletions(-) create mode 100644 t/psgi_v2.t -- EW