]> git.elephly.net Git - software/mumi.git/commit
messages: Implement search with mu.
authorRicardo Wurmus <rekado@elephly.net>
Thu, 12 Mar 2020 11:08:22 +0000 (12:08 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Thu, 12 Mar 2020 11:08:22 +0000 (12:08 +0100)
commit380eb969042d004ffeffe42479e249f2412ec3ca
tree7ed69c591c0dcfcffacf5c130f821ec33ee5acc9
parent53cc7b44381f1af08eff9313fbfaee120dae90ab
messages: Implement search with mu.

* mumi/messages.scm (search-bugs): Use mu to find messages according
to the query, then filter by message sets from the local database.
(ago, date-term->epoch-seconds): Remove procedures.
(punctuation?): New procedure.
(process-query): Remove handling of attributes; replace filters with
sets; build up mu query and use local database for bug sets.
* mumi/web/controller.scm (controller): Adjust call of search-bugs.
mumi/messages.scm
mumi/web/controller.scm