summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Adjust error message on index failure.Ricardo Wurmus2020-03-121-2/+2
| | | | * scripts/mumi.in (mu-index): Don't use undeclared variable COMMAND.
* scripts: Index mails before initialization.Ricardo Wurmus2020-03-121-0/+1
|
* bugs: Use inexact queries for names.Ricardo Wurmus2020-03-121-2/+4
| | | | | * mumi/bugs.scm (bugs-by-submitter, bugs-by-owner): Use LIKE to compare argument.
* messages: Implement search with mu.Ricardo Wurmus2020-03-122-128/+55
| | | | | | | | | | * 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.
* messages: recent-bugs: Convert bug id to number.Ricardo Wurmus2020-03-121-1/+2
| | | | * mumi/messages.scm (recent-bugs): Convert bug id field to number.
* messages: bugs-by-severity: Use local database.Ricardo Wurmus2020-03-121-6/+5
| | | | | * mumi/messages.scm (bugs-by-severity): Use local database instead of contacting Debbugs.
* messages: easy-bugs: Use local database.Ricardo Wurmus2020-03-121-4/+2
| | | | * mumi/messages.scm (easy-bugs): Implement using bugs-by-tag.
* scripts: Add worker option to refresh database.Ricardo Wurmus2020-03-121-24/+36
| | | | | * scripts/mumi.in: Update the mu index and the Sqlite database when the "--worker" option is provided.
* mumi: Add bugs.Ricardo Wurmus2020-03-123-0/+256
| | | | | | | * mumi/bugs.scm: New file. * etc/schema.sql: New file. * Makefile.am (SOURCES): Add mumi/bugs.scm. (dist_pkgdata_DATA): Add etc/schema.sql.
* configure: Check for presence of Guile-Sqlite3.Ricardo Wurmus2020-03-121-0/+5
|
* config: Add pkg-dir and db-dir.Ricardo Wurmus2020-03-121-0/+19
| | | | * mumi/config.scm.in (%config): Add fields for pkg-dir and db-dir.
* guix: Use guile-sqlite3.Ricardo Wurmus2020-03-121-0/+1
|
* messages: Close port after downloading mail.Ricardo Wurmus2020-03-121-2/+3
| | | | * mumi/messages.scm (download-message): Close port when done downloading.
* messages: Speed up recent-bugs by using mumimu.Ricardo Wurmus2020-03-111-24/+5
| | | | | * mumi/messages.scm (recent-bugs): Don't use the Debbugs search-est action; collect messages from the mumimu database instead.
* scripts: Initialize mumimu mail directory.Ricardo Wurmus2020-03-111-0/+2
| | | | * scripts/mumi.in: Initialize configured mail directory.
* guix: Simplify by using existing Guix packages.Ricardo Wurmus2020-03-111-111/+7
| | | | | * guix.scm (guile-email-devel, guile-debbugs-devel, mumimu): Remove variables.
* configure: Check for Guile 3.0 first.Ricardo Wurmus2020-02-291-2/+2
|
* Makefile: Distribute all assets.Ricardo Wurmus2020-02-291-3/+11
|
* configure: Don't ask for fibers.Ricardo Wurmus2020-02-291-4/+4
|
* controller: Match method symbols.Ricardo Wurmus2020-02-291-10/+10
| | | | * mumi/web/controller.scm (controller): Match method symbols.
* server: Remove unnecessary indirection.Ricardo Wurmus2020-02-291-10/+6
| | | | | | * mumi/web/server.scm (run-controller): Remove. (handler): Call controller directly. (start-mumi-web-server): Remove lambda around handler.
* guix: guile-email-devel: Update to 0.2.1-4.641168f.Ricardo Wurmus2019-12-051-3/+3
| | | | * guix.scm (guile-email-devel): Update to 0.2.1-4.641168f.
* Do not use fibers web server.Ricardo Wurmus2019-12-011-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some reason this no longer works and breaks XML parsing: In mumi/messages.scm: 185:16 19 (patch-messages 37444) In /gnu/store/71pv9hv73vn1zl1jmx7w8jwrpfn2nx0v-profile/share/guile/site/2.2/debbugs/soap.scm: 163:19 18 (soap-invoke* #<procedure %gnu args> #<procedure get-b�> �) 157:7 17 (soap-invoke _ _ . _) In sxml/simple.scm: 143:4 16 (xml->sxml _ #:namespaces _ #:declare-namespaces? _ # _ �) 143:4 15 (loop #<input: string 7f3944511e70> () #f _) 143:4 14 (loop #<input: string 7f3944511e70> () #f _) 143:4 13 (loop #<input: string 7f3944511e70> () #f _) 143:4 12 (loop #<input: string 7f3944511e70> () #f _) 143:4 11 (loop #<input: string 7f3944511e70> () #f _) 143:4 10 (loop #<input: string 7f3944511e70> () #f _) In sxml/upstream/SSAX.scm: 1896:21 9 (_ #<input: string 7f3944511e70> #f #<procedure 7f394e�> �) In sxml/ssax/input-parse.scm: 103:21 8 (next-token _ (#\< #\& #\return) _ _) In ice-9/suspendable-ports.scm: 683:15 7 (read-delimited _ _ _) 184:27 6 (fill-input #<input: string 7f3944511e70> _ _) 72:4 5 (read-bytes #<input: string 7f3944511e70> #vu8(50 89 �) �) In unknown file: 4 (port-read #<input: string 7f3944511e70> #vu8(50 89 # �) �) In web/response.scm: 254:22 3 (read! #vu8(50 89 84 99 119 77 50 89 120 78 87 81 53 �) �) In ice-9/suspendable-ports.scm: 284:18 2 (get-bytevector-n! #<input-output: string 7f3944511ee0> �) 72:4 1 (read-bytes #<input-output: string 7f3944511ee0> # 663 #) In unknown file: 0 (port-read #<input-output: string 7f3944511ee0> # 663 361) In procedure custom_binary_input_port_read: Value out of range: 1024
* guix: Use latest version of guile-email.Ricardo Wurmus2019-12-011-3/+3
| | | | | * guix.scm (guile-email-devel): Update to commit 121073cb725aef9baecaac0cfb6cf3f5a287c4e7.
* mumi: Add /easy route to show easy bugs.Ricardo Wurmus2019-09-202-0/+11
| | | | | * mumi/messages.scm (easy-bugs): New procedure. * mumi/web/controller.scm (controller): Handle /easy route.
* guix: Update guile-email-devel.Ricardo Wurmus2019-07-281-3/+3
|
* guix: Update mumimu.Ricardo Wurmus2019-07-241-2/+2
| | | | * guix.scm (mumimu): Update to latest commit.
* guix: Use mumimu instead of mu.Ricardo Wurmus2019-07-233-3/+57
| | | | | | * guix.scm (mumimu): New variable. * configure.ac: Check for mumimu. * mumi/config.scm.in (%config): Update placeholder for mu-executable.
* guix: Use development version of guile-email.Ricardo Wurmus2019-07-211-2/+23
| | | | | * guix.scm (guile-email-devel): New variable. (guile-debbugs-devel)[propagated-inputs]: Use it.
* messages: patch-messages: Use download-message.Ricardo Wurmus2019-07-211-4/+18
| | | | * mumi/messages.scm (patch-messages): Rewrite to use download-message.
* scripts: Regularly index the mail directory.Ricardo Wurmus2019-07-214-1/+22
| | | | | | | * configure.ac: Detect mu. * guix.scm: Add "mu" to the environment. * mumi/config.scm.in (%config)[mu-executable]: Add it. * scripts/mumi.in: Spawn "mu index" regularly.
* scripts: Add support for "--fetch" option.Ricardo Wurmus2019-07-212-9/+43
| | | | | | | * scripts/mumi.in (%options): Recognize "fetch" option. (%default-options): Set default for "fetch". * mumi/config.scm.in (%config): Remove extraneous quotes from "lists" and "packages".
* messages: Add download-message.Ricardo Wurmus2019-07-212-0/+38
| | | | | * mumi/config.scm.in (%config): Add mail-dir. * mumi/messages.scm (download-message): New procedure.
* Remove unused module import.Ricardo Wurmus2019-07-211-1/+0
| | | | * mumi/messages.scm: Do not import (debbugs rfc822).
* guix: Update guile-debbugs.Ricardo Wurmus2019-07-211-2/+29
| | | | * guix.scm (guile-debbugs-devel): New variable.
* config: Use %gnu instance function.Ricardo Wurmus2019-07-211-2/+3
| | | | * mumi/config.scm.in (%config): Use %gnu function instead of URL string.
* Update styles.Ricardo Wurmus2019-07-117-5519/+7707
| | | | | | | | | | | | | | | | | * assets/css/bootstrap.css: Replace with Bootstrap 4.1.1. * assets/css/screen.scm: Remove obsolete rules. * assets/img/logo.png: Use same logo as on ci.guix.gnu.org. * assets/js/mumi.js (loadSnippet): Replace outer HTML. * mumi/config.scm.in (%config): Add submission-bug-email-address. * mumi/web/view/html.scm (layout, search-form, header, index, issue-page): Adjust CSS classes. (index): Mention submission-bug-email-address; merge tables of recent/priority bugs. (issue-page): Use DL/DD/DT instead of UL for issue stats. (list-of-bugs): Return only table rows. (priority-bugs): Same. (list-of-matching-bugs): Adjust by adding table and table header. * mumi/web/controller.scm (controller): Adjust use of PRIORITY-BUGS.
* view: Handle bugs without subjects gracefully.Ricardo Wurmus2019-05-152-10/+11
| | | | | | * mumi/messages.scm (subject): Always return a string. * mumi/web/view/html.scm (bug-subject*): New procedure. (issue-page, list-of-bugs): Use it.
* html: Fix URL in footer.Ricardo Wurmus2019-02-051-1/+1
|
* html: Add footer.Ricardo Wurmus2019-02-052-1/+21
| | | | | * mumi/web/view/html.scm (layout): Add footer. * assets/css/screen.css (footer): Add new rule.
* html: Show block info.Ricardo Wurmus2019-02-042-2/+34
| | | | | | * mumi/web/view/html.scm (issue-page): Handle blocks and blockedby fields. * assets/css/screen.css: Add styles for blockedby and blocks lists.
* html: Handle type quirk of "mergedwith" field.Ricardo Wurmus2019-02-041-1/+9
| | | | | | * mumi/web/view/html.scm (issue-page): Deal with confusing type of "mergedwith" field, which may be a string representing a list or a proper number.
* html: Show related bugs that were merged.Ricardo Wurmus2019-02-042-1/+16
| | | | | * mumi/web/view/html.scm (issue-page): Process "mergedwith" field. * assets/css/screen.css: Add rules for ul.merged.
* controller: Load expensive lists via JavaScriptRicardo Wurmus2019-02-015-10/+55
| | | | | | | | | | * mumi/web/controller.scm (controller): Add routes for rendering snippets. * mumi/web/view/html.scm (list-of-bugs): Export; add severity class. (priority-bugs): New procedure. (index): Add sections for priority bugs. * assets/js/mumi.js: New file. * assets/css/screen.css: Color serious and important bugs.
* messages: Add bugs-by-severity.Ricardo Wurmus2019-02-011-0/+11
| | | | * mumi/messages.scm (bugs-by-severity): New procedure.
* messages: Use status-with-cache.Ricardo Wurmus2019-02-011-2/+2
| | | | * mumi/messages.scm (search-bugs, recent-bugs): Use status-with-cache.
* messages: Add status-with-cache.Ricardo Wurmus2019-02-011-1/+15
| | | | * mumi/messages.scm (status-with-cache): New procedure.
* guix: Add missing module reference.Ricardo Wurmus2019-02-011-0/+1
|
* view: Treat image attachments as binaries.Ricardo Wurmus2019-01-281-1/+2
| | | | | * mumi/web/view/utils.scm (display-message-body): Handle attachments of type "image" like any other binary attachment.
* view: Handle bytevector mime parts.Ricardo Wurmus2019-01-281-3/+12
| | | | | * mumi/web/view/utils.scm (display-message-body): Handle mime entities with a bytevector part.