software/mumi.git
6 months agoxapian: Collapse results for merged issues.
Ricardo Wurmus [Thu, 14 May 2020 07:28:15 +0000 (09:28 +0200)] 
xapian: Collapse results for merged issues.

6 months agomessage: date: Always return a date object.
Ricardo Wurmus [Thu, 14 May 2020 06:18:48 +0000 (08:18 +0200)] 
message: date: Always return a date object.

6 months agomessages: Remove fetch-bug.
Ricardo Wurmus [Thu, 14 May 2020 06:05:16 +0000 (08:05 +0200)] 
messages: Remove fetch-bug.

6 months agoview/utils: Do not swallow spaces after URLs.
Ricardo Wurmus [Wed, 13 May 2020 12:26:40 +0000 (14:26 +0200)] 
view/utils: Do not swallow spaces after URLs.

6 months agoTODO: Add list of broken issues.
Ricardo Wurmus [Wed, 13 May 2020 11:59:27 +0000 (13:59 +0200)] 
TODO: Add list of broken issues.

6 months agoAllow download of raw message.
Ricardo Wurmus [Wed, 13 May 2020 11:20:51 +0000 (13:20 +0200)] 
Allow download of raw message.

6 months agoview/html: Document severities and tags.
Ricardo Wurmus [Wed, 13 May 2020 10:19:34 +0000 (12:19 +0200)] 
view/html: Document severities and tags.

6 months agoUse fibers again.
Ricardo Wurmus [Sun, 10 May 2020 10:00:56 +0000 (12:00 +0200)] 
Use fibers again.

6 months agoRevert "Do not use fibers web server."
Ricardo Wurmus [Sun, 10 May 2020 09:28:03 +0000 (11:28 +0200)] 
Revert "Do not use fibers web server."

This reverts commit d6dc4510d35695ccdc4e1d43a4705f90bb09784d.

6 months agoRevert "configure: Don't ask for fibers."
Ricardo Wurmus [Sun, 10 May 2020 09:26:08 +0000 (11:26 +0200)] 
Revert "configure: Don't ask for fibers."

This reverts commit f5e114a19193bd9587c92b4dcc29d790135fa130.

6 months agoTODO: Add task.
Ricardo Wurmus [Wed, 13 May 2020 10:10:46 +0000 (12:10 +0200)] 
TODO: Add task.

6 months agoview/html: issue-page: Filter empty messages for all users.
Ricardo Wurmus [Wed, 13 May 2020 10:09:28 +0000 (12:09 +0200)] 
view/html: issue-page: Filter empty messages for all users.

6 months agoview/html: Remove superfluous lambda.
Ricardo Wurmus [Wed, 13 May 2020 10:07:39 +0000 (12:07 +0200)] 
view/html: Remove superfluous lambda.

6 months agoview/html: Split tags and make badges clickable.
Ricardo Wurmus [Wed, 13 May 2020 10:04:52 +0000 (12:04 +0200)] 
view/html: Split tags and make badges clickable.

6 months agoview/utils: Do not display video attachments.
Ricardo Wurmus [Wed, 13 May 2020 09:58:46 +0000 (11:58 +0200)] 
view/utils: Do not display video attachments.

6 months agoTODO: Remove obsolete tasks.
Ricardo Wurmus [Wed, 13 May 2020 09:56:21 +0000 (11:56 +0200)] 
TODO: Remove obsolete tasks.

6 months agoGoodbye, SQLite!
Ricardo Wurmus [Wed, 13 May 2020 09:55:50 +0000 (11:55 +0200)] 
Goodbye, SQLite!

6 months agomessages: Remove unused wishlist-bugs.
Ricardo Wurmus [Wed, 13 May 2020 09:55:00 +0000 (11:55 +0200)] 
messages: Remove unused wishlist-bugs.

6 months agomessages: Simplify search-bugs.
Ricardo Wurmus [Wed, 13 May 2020 09:53:08 +0000 (11:53 +0200)] 
messages: Simplify search-bugs.

We no longer need to separate between terms and filter sets.

6 months agodebbugs: Handle empty subjects.
Ricardo Wurmus [Wed, 13 May 2020 09:26:28 +0000 (11:26 +0200)] 
debbugs: Handle empty subjects.

6 months agodebbugs: Fix argument order.
Ricardo Wurmus [Wed, 13 May 2020 09:26:07 +0000 (11:26 +0200)] 
debbugs: Fix argument order.

6 months agoxapian: Include owner, severity, tag, and status in Xapian db.
Ricardo Wurmus [Wed, 13 May 2020 09:05:49 +0000 (11:05 +0200)] 
xapian: Include owner, severity, tag, and status in Xapian db.

6 months agoview/utils: Mark up URLs.
Ricardo Wurmus [Wed, 13 May 2020 06:16:43 +0000 (08:16 +0200)] 
view/utils: Mark up URLs.

6 months agoview/utils: Hide "cut here" lines.
Ricardo Wurmus [Wed, 13 May 2020 06:16:30 +0000 (08:16 +0200)] 
view/utils: Hide "cut here" lines.

6 months agoview/html: Bump CSS.
Ricardo Wurmus [Tue, 12 May 2020 21:07:50 +0000 (23:07 +0200)] 
view/html: Bump CSS.

6 months agomessages: Do not use define-public.
Ricardo Wurmus [Tue, 12 May 2020 21:07:18 +0000 (23:07 +0200)] 
messages: Do not use define-public.

6 months agocss: Move sidebar up and let it scroll when needed.
Ricardo Wurmus [Tue, 12 May 2020 19:27:39 +0000 (21:27 +0200)] 
css: Move sidebar up and let it scroll when needed.

6 months agoview/html: Show tag in issue list.
Ricardo Wurmus [Tue, 12 May 2020 19:27:18 +0000 (21:27 +0200)] 
view/html: Show tag in issue list.

6 months agotests: Add missing test data.
Ricardo Wurmus [Tue, 12 May 2020 12:03:59 +0000 (14:03 +0200)] 
tests: Add missing test data.

6 months agoguix: Build with Guile 3.0.
Ricardo Wurmus [Tue, 12 May 2020 10:26:31 +0000 (12:26 +0200)] 
guix: Build with Guile 3.0.

6 months agomessages: closing?: Be more careful.
Ricardo Wurmus [Tue, 12 May 2020 11:22:20 +0000 (13:22 +0200)] 
messages: closing?: Be more careful.

6 months agoview/html: Use time->string on messages.
Ricardo Wurmus [Tue, 12 May 2020 11:21:15 +0000 (13:21 +0200)] 
view/html: Use time->string on messages.

6 months agoview/utils: Add time->string.
Ricardo Wurmus [Tue, 12 May 2020 11:20:52 +0000 (13:20 +0200)] 
view/utils: Add time->string.

6 months agoGoodbye, Guile-Debbugs! 0.0.1
Ricardo Wurmus [Sun, 10 May 2020 15:23:32 +0000 (17:23 +0200)] 
Goodbye, Guile-Debbugs!

6 months agoconfig: Remove 'debbugs key.
Ricardo Wurmus [Sun, 10 May 2020 15:23:05 +0000 (17:23 +0200)] 
config: Remove 'debbugs key.

6 months agoBump version.
Ricardo Wurmus [Sun, 10 May 2020 15:22:22 +0000 (17:22 +0200)] 
Bump version.

6 months agotests/xapian: Add phrase search test.
Ricardo Wurmus [Sun, 10 May 2020 15:22:10 +0000 (17:22 +0200)] 
tests/xapian: Add phrase search test.

6 months agomessages: Pass submitter query term down to Xapian.
Ricardo Wurmus [Sun, 10 May 2020 15:21:42 +0000 (17:21 +0200)] 
messages: Pass submitter query term down to Xapian.

6 months agomessages: Use tokenize from (mumi xapian).
Ricardo Wurmus [Sun, 10 May 2020 15:21:28 +0000 (17:21 +0200)] 
messages: Use tokenize from (mumi xapian).

6 months agomessages: Update comment.
Ricardo Wurmus [Sun, 10 May 2020 15:21:08 +0000 (17:21 +0200)] 
messages: Update comment.

6 months agodebbugs: Default to "normal" severity.
Ricardo Wurmus [Sun, 10 May 2020 15:12:41 +0000 (17:12 +0200)] 
debbugs: Default to "normal" severity.

6 months agotests: Add search tests.
Ricardo Wurmus [Sun, 10 May 2020 14:51:28 +0000 (16:51 +0200)] 
tests: Add search tests.

6 months agotests/xapian: Use test-utils.
Ricardo Wurmus [Sun, 10 May 2020 14:50:59 +0000 (16:50 +0200)] 
tests/xapian: Use test-utils.

6 months agoAdd test-utils.
Ricardo Wurmus [Sun, 10 May 2020 14:50:28 +0000 (16:50 +0200)] 
Add test-utils.

6 months agocontroller: Don't generate signing key when evaluating the file.
Ricardo Wurmus [Sun, 10 May 2020 14:22:12 +0000 (16:22 +0200)] 
controller: Don't generate signing key when evaluating the file.

6 months agoRemove (debbugs cache).
Ricardo Wurmus [Sun, 10 May 2020 14:12:45 +0000 (16:12 +0200)] 
Remove (debbugs cache).

6 months agoReplace invocation of remote get-status operation with bug-status.
Ricardo Wurmus [Sun, 10 May 2020 14:09:26 +0000 (16:09 +0200)] 
Replace invocation of remote get-status operation with bug-status.

6 months agoReplace (debbugs bug) with (mumi debbugs).
Ricardo Wurmus [Sun, 10 May 2020 14:09:04 +0000 (16:09 +0200)] 
Replace (debbugs bug) with (mumi debbugs).

6 months agodebbugs: Add bug-status.
Ricardo Wurmus [Sun, 10 May 2020 14:07:01 +0000 (16:07 +0200)] 
debbugs: Add bug-status.

* mumi/debbugs.scm (<bug-status>): New record type.
(qp-pattern): New variable.
(bug-status, bug-status?, bug-num, bug-archived, bug-blockedby,
bug-blocks, bug-date, bug-done, bug-mergedwith, bug-originator,
bug-owner, bug-severity, bug-subject, bug-tags): New procedures.

6 months agoRemove obsolete comment.
Ricardo Wurmus [Sun, 10 May 2020 12:23:53 +0000 (14:23 +0200)] 
Remove obsolete comment.

6 months agotests/debbugs: Add test for active bug's summary file.
Ricardo Wurmus [Sun, 10 May 2020 11:36:57 +0000 (13:36 +0200)] 
tests/debbugs: Add test for active bug's summary file.

* tests/debbugs.scm ("bug-id->summary-file: return active summary
file"): New test.
* tests/data/spool/db-h/99/33299.{report,status,summary}: New files.

6 months agodebbugs: Add bug-id->summary-file.
Ricardo Wurmus [Sun, 10 May 2020 11:25:56 +0000 (13:25 +0200)] 
debbugs: Add bug-id->summary-file.

* mumi/debbugs.scm (bug-id->summary-file): New procedure.
* tests/debbugs.scm: New file.
* tests/data/spool/archive/95/26095.{report,status,summary}: New
files.
* Makefile.am (SCM_TESTS): Add tests/debbugs.scm.
(EXTRA_DIST): Include test data.

6 months agobugs: update-bug-database!: Do not use get-bugs.
Ricardo Wurmus [Sun, 10 May 2020 10:45:24 +0000 (12:45 +0200)] 
bugs: update-bug-database!: Do not use get-bugs.

* mumi/bugs.scm (update-bug-database!): Use extract-bug-numbers
instead of connecting to Debbugs.

6 months agoscripts: Do not use soap-invoke*.
Ricardo Wurmus [Sun, 10 May 2020 10:10:53 +0000 (12:10 +0200)] 
scripts: Do not use soap-invoke*.

* scripts/mumi.in (update-state!): Use extract-bug-numbers instead of
connecting to the Debbugs SOAP service.

6 months agoview/html: Update CSS timestamp.
Ricardo Wurmus [Sun, 10 May 2020 10:02:52 +0000 (12:02 +0200)] 
view/html: Update CSS timestamp.

6 months agodebbugs: Cache result of extract-bug-numbers.
Ricardo Wurmus [Sun, 10 May 2020 09:24:40 +0000 (11:24 +0200)] 
debbugs: Cache result of extract-bug-numbers.

6 months agoDisplay list of forgotten issues.
Ricardo Wurmus [Sun, 10 May 2020 09:23:16 +0000 (11:23 +0200)] 
Display list of forgotten issues.

* mumi/messages.scm (forgotten-issues): New procedure.
* mumi/web/controller.scm (controller): Handle /forgotten URL.
* mumi/web/view/html.scm (list-of-forgotten-issues): New procedure.
(index): Show top 10 forgotten issues.

6 months agodebbugs: Add forgotten-bug-numbers.
Ricardo Wurmus [Sun, 10 May 2020 09:16:51 +0000 (11:16 +0200)] 
debbugs: Add forgotten-bug-numbers.

6 months agodebbugs: Express extract-bug-numbers in terms of filter-index.
Ricardo Wurmus [Sun, 10 May 2020 08:25:41 +0000 (10:25 +0200)] 
debbugs: Express extract-bug-numbers in terms of filter-index.

* mumi/debbugs.scm (extract-bug-numbers): Rewrite in terms of
filter-index.

6 months agodebbugs: Add filter-index.
Ricardo Wurmus [Sun, 10 May 2020 08:25:23 +0000 (10:25 +0200)] 
debbugs: Add filter-index.

* mumi/debbugs.scm (filter-index): New procedure.

6 months agocontroller: Add missing procedure import.
Ricardo Wurmus [Sun, 10 May 2020 08:14:49 +0000 (10:14 +0200)] 
controller: Add missing procedure import.

This is a follow-up to commit e064812ac964bbe4f522df6a684273132ec107a2.

6 months agocontroller: Set email subject to bug subject.
Ricardo Wurmus [Sun, 10 May 2020 06:53:50 +0000 (08:53 +0200)] 
controller: Set email subject to bug subject.

6 months agoview/html: Mention alternative way of commenting.
Ricardo Wurmus [Sun, 10 May 2020 06:45:58 +0000 (08:45 +0200)] 
view/html: Mention alternative way of commenting.

6 months agoview/html: Do not allow commenting on archived issues.
Ricardo Wurmus [Sun, 10 May 2020 06:38:01 +0000 (08:38 +0200)] 
view/html: Do not allow commenting on archived issues.

6 months agoIgnore local Debbugs data.
Ricardo Wurmus [Sun, 10 May 2020 06:30:46 +0000 (08:30 +0200)] 
Ignore local Debbugs data.

6 months agoxapian: Allow boolean search without capitalization, allow wildcards.
Ricardo Wurmus [Sun, 10 May 2020 06:30:09 +0000 (08:30 +0200)] 
xapian: Allow boolean search without capitalization, allow wildcards.

6 months agomessages: Keep hyphens and quotes when preprocessing query string.
Ricardo Wurmus [Sun, 10 May 2020 06:29:40 +0000 (08:29 +0200)] 
messages: Keep hyphens and quotes when preprocessing query string.

6 months agoxapian: Add phrase-aware tokenizer.
Ricardo Wurmus [Sun, 10 May 2020 06:28:38 +0000 (08:28 +0200)] 
xapian: Add phrase-aware tokenizer.

* mumi/xapian.scm (tokenize): New procedure.
(search): Use it instead of string-tokenize.
* tests/xapian.scm: Test it.

6 months agoxapian: Join terms with AND by default.
Ricardo Wurmus [Sat, 9 May 2020 22:52:24 +0000 (00:52 +0200)] 
xapian: Join terms with AND by default.

* mumi/xapian.scm (parse-query*): Set default operation to AND.

6 months agocss: Add a bit of space between the file icon and the attachment name.
Ricardo Wurmus [Sat, 9 May 2020 14:45:34 +0000 (16:45 +0200)] 
css: Add a bit of space between the file icon and the attachment name.

6 months agocss: Don't let the sidebar cover the search hints.
Ricardo Wurmus [Sat, 9 May 2020 14:45:17 +0000 (16:45 +0200)] 
css: Don't let the sidebar cover the search hints.

6 months agohtml: Add a sidebar to quickly jump to messages.
Ricardo Wurmus [Thu, 7 May 2020 13:23:22 +0000 (15:23 +0200)] 
html: Add a sidebar to quickly jump to messages.

6 months agoview/utils: Remove obsolete module import.
Ricardo Wurmus [Thu, 7 May 2020 12:58:37 +0000 (14:58 +0200)] 
view/utils: Remove obsolete module import.

6 months agoRevert "debbugs: Simplify mbox processing."
Ricardo Wurmus [Thu, 7 May 2020 12:50:53 +0000 (14:50 +0200)] 
Revert "debbugs: Simplify mbox processing."

This reverts commit e0dc3c668ff23c2a5abd580ef9cee5d6414123cc.

6 months agocss: Merge code and screen CSS files.
Ricardo Wurmus [Thu, 7 May 2020 12:48:53 +0000 (14:48 +0200)] 
css: Merge code and screen CSS files.

6 months agocss: Fix font color in search hints.
Ricardo Wurmus [Thu, 7 May 2020 12:45:45 +0000 (14:45 +0200)] 
css: Fix font color in search hints.

6 months agodebbugs: Simplify mbox processing.
Ricardo Wurmus [Thu, 7 May 2020 12:10:02 +0000 (14:10 +0200)] 
debbugs: Simplify mbox processing.

* mumi/debbugs.scm (read-emails-from-bug-log): Use mbox->emails
instead of dropping lines haphazardly.

6 months agoview: Generate blocks of lines and style the blocks.
Ricardo Wurmus [Thu, 7 May 2020 12:03:55 +0000 (14:03 +0200)] 
view: Generate blocks of lines and style the blocks.

This allows us to toggle the display of lines that belong together.

* mumi/web/view/utils.scm (<block>): New record type.
(add-block-line!): New procedure.
(process): Take the list of blocks as an argument; return the new
blocks and the next context.
(prettify): Render blocks with classes derived from the block type.
* assets/css/screen.css: Adjust.

6 months agoview: Define comment-box.
Ricardo Wurmus [Wed, 6 May 2020 09:05:53 +0000 (11:05 +0200)] 
view: Define comment-box.

6 months agoview: Define issue details.
Ricardo Wurmus [Wed, 6 May 2020 09:02:59 +0000 (11:02 +0200)] 
view: Define issue details.

6 months agoview: Reduce size of h1 heading on issue pages.
Ricardo Wurmus [Wed, 6 May 2020 09:00:07 +0000 (11:00 +0200)] 
view: Reduce size of h1 heading on issue pages.

6 months agoview: Make navigation sticky and hide title on narrow screens.
Ricardo Wurmus [Tue, 5 May 2020 20:47:20 +0000 (22:47 +0200)] 
view: Make navigation sticky and hide title on narrow screens.

6 months agoview: Show issue title in fixed top bar.
Ricardo Wurmus [Tue, 5 May 2020 13:18:35 +0000 (15:18 +0200)] 
view: Show issue title in fixed top bar.

6 months agocss: Shrink h1 font size on smaller screens.
Ricardo Wurmus [Tue, 5 May 2020 13:02:19 +0000 (15:02 +0200)] 
css: Shrink h1 font size on smaller screens.

6 months agoview: Hide details by default.
Ricardo Wurmus [Tue, 5 May 2020 13:02:03 +0000 (15:02 +0200)] 
view: Hide details by default.

7 months agoview/html: Move script tag into body and remove type.
Ricardo Wurmus [Fri, 1 May 2020 21:14:01 +0000 (23:14 +0200)] 
view/html: Move script tag into body and remove type.

* mumi/web/view/html.scm (layout): Move script tag into body and
remove unnecessary type attribute.

7 months agoview/html: Declare language on HTML tag, not in a meta tag.
Ricardo Wurmus [Fri, 1 May 2020 21:12:47 +0000 (23:12 +0200)] 
view/html: Declare language on HTML tag, not in a meta tag.

* mumi/web/view/html.scm (layout): Add "lang" attribute to HTML tag;
remove Content-Language meta tag.

7 months agohtml: Generate only short issue URLs.
Ricardo Wurmus [Thu, 23 Apr 2020 05:45:45 +0000 (07:45 +0200)] 
html: Generate only short issue URLs.

7 months agodebbugs: Ignore duplicate mails.
Ricardo Wurmus [Thu, 23 Apr 2020 05:44:20 +0000 (07:44 +0200)] 
debbugs: Ignore duplicate mails.

Debbugs records mails that are received via different addresses more
than once, so we only add them if the message id is new.

7 months agocss: Reduce message margin and padding.
Ricardo Wurmus [Thu, 23 Apr 2020 05:43:46 +0000 (07:43 +0200)] 
css: Reduce message margin and padding.

7 months agoutils: Simplify prettify.
Ricardo Wurmus [Wed, 22 Apr 2020 22:26:14 +0000 (00:26 +0200)] 
utils: Simplify prettify.

7 months agohtml: Add search hints.
Ricardo Wurmus [Wed, 22 Apr 2020 22:09:42 +0000 (00:09 +0200)] 
html: Add search hints.

7 months agoview/utils: Hide HTML message parts.
Ricardo Wurmus [Wed, 22 Apr 2020 17:39:39 +0000 (19:39 +0200)] 
view/utils: Hide HTML message parts.

7 months agobuild-aux: Add test driver.
Ricardo Wurmus [Wed, 22 Apr 2020 17:18:13 +0000 (19:18 +0200)] 
build-aux: Add test driver.

7 months agomumi: Rename patch-messages to issue-messages.
Ricardo Wurmus [Wed, 22 Apr 2020 17:04:49 +0000 (19:04 +0200)] 
mumi: Rename patch-messages to issue-messages.

7 months agoAdd link to more recent issues.
Ricardo Wurmus [Wed, 22 Apr 2020 16:29:41 +0000 (18:29 +0200)] 
Add link to more recent issues.

7 months agoview: Add list-of-recent-issues.
Ricardo Wurmus [Wed, 22 Apr 2020 16:29:25 +0000 (18:29 +0200)] 
view: Add list-of-recent-issues.

7 months agohtml: Replace "patch" with "issue".
Ricardo Wurmus [Wed, 22 Apr 2020 16:12:02 +0000 (18:12 +0200)] 
html: Replace "patch" with "issue".

7 months agoscripts: Reduce update interval.
Ricardo Wurmus [Wed, 22 Apr 2020 16:10:30 +0000 (18:10 +0200)] 
scripts: Reduce update interval.

7 months agoscripts: Do full index every 10 cycles.
Ricardo Wurmus [Wed, 22 Apr 2020 16:10:18 +0000 (18:10 +0200)] 
scripts: Do full index every 10 cycles.