summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Set only GUILE_LOAD_PATH when running tests.HEADmasterArun Isaac2023-03-301-2/+1
| | | | | | | | Somehow, the stubs in tests/client.scm do not work when compiled modules are found. This could be a guile bug. * Makefile.am (SCM_LOG_DRIVER): Do not use pre-inst-env. Set only the load path.
* client: Support sending email to issues.Arun Isaac2023-03-304-1/+235
| | | | | | | | | | | | | * mumi/client.scm: Import (rnrs io ports), (srfi srfi-71), (srfi srfi-171), (ice-9 match), (ice-9 popen), (web client), (web response) and (email email). (issue-number-of-message, call-with-input-pipe, git-send-email): New functions. (send-email): New public function. * scripts/mumi.in (show-mumi-usage): Document send-email subcommand. (main): Add send-email subcommand. * tests/client.scm: New file. * Makefile.am (SCM_TESTS): Add tests/client.scm.
* client: Support checking in to a specific issue.Arun Isaac2023-03-302-1/+67
| | | | | | | | | | * mumi/client.scm: Import (srfi srfi-26). (current-issue-file, current-issue-number): New functions. (print-current-issue, set-current-issue!, clear-current-issue!): New public functions. * scripts/mumi.in (show-mumi-usage): Document current and new subcommands. (main): Add current and new subcommands.
* client: Add CLI client to search for issues.Arun Isaac2023-03-303-1/+116
| | | | | | | | * mumi/client.scm: New file. * scripts/mumi.in: Import (mumi client). (show-mumi-usage): Document search subcommand. (main): Add search subcommand. * Makefile.am (SOURCES): Add mumi/client.scm.
* debbugs: Do not check for MIME encoded words in subject.Arun Isaac2023-01-021-6/+7
| | | | | | | | guile-email transparently handles MIME encoded words. We do not have to check for them. * mumi/debbugs.scm (bug-status): Do not check for MIME encoded words in subject.
* xapian: Do not treat names as boolean prefix.0.0.5Ricardo Wurmus2023-01-021-5/+5
| | | | | | | | This is a follow-up to commit dd22dcbf49045dfecf83ae84a3e703e2c4d7df31. When author/owner/submitters are treated as booleans we cannot search for partial names.
* tests: Ignore search result order.Ricardo Wurmus2023-01-021-6/+10
|
* Bump version.Ricardo Wurmus2023-01-011-1/+1
|
* js: Do not finish token on space when inside a prefixed phrase.Ricardo Wurmus2023-01-011-1/+1
|
* js: Simplify query tokenizer.Ricardo Wurmus2023-01-011-41/+1
|
* js: Tokenize pasted text.Ricardo Wurmus2023-01-011-0/+7
|
* js: Move tokenizer code to function.Ricardo Wurmus2023-01-011-11/+17
|
* js: Move constants out of function context.Ricardo Wurmus2023-01-011-64/+64
|
* css: Let search field expand vertically when needed.Ricardo Wurmus2023-01-011-1/+0
|
* debbugs: Fix processing of bug subject.Ricardo Wurmus2023-01-011-7/+3
| | | | | | | Fixes <https://issues.guix.gnu.org/49115>. * mumi/debbugs.scm (bug-status): Use parse-email-headers to decode bug subject.
* js: Don't append a trailing space to query.Ricardo Wurmus2023-01-011-3/+1
|
* js: Ensure that input element is visible.Ricardo Wurmus2023-01-011-0/+1
| | | | Even when using the browser's back button after submission.
* Move lines.js into mumi.js.Ricardo Wurmus2022-12-313-15/+16
|
* Only act on clicks to the left of the line.Ricardo Wurmus2022-12-312-3/+3
| | | | Ignore clicks on the line itself.
* xapian: Preserve order of search results.Arun Isaac2022-12-312-19/+15
| | | | | | | | | Xapian orders search results by relevance. Preserve this order. * mumi/xapian.scm (search): Reverse search results after consing to preserve the original order. * mumi/messages.scm (status-with-cache): Do not sort bugs by their bug number. Preserve the order of bugs passed to this function.
* cache: Specify that cache! returns the cached value.Arun Isaac2022-12-311-1/+2
| | | | | * mumi/cache.scm (cache!): Specify in the docstring that cache! returns the cached value.
* messages: Offload limiting search results to xapian.Arun Isaac2022-12-311-4/+2
| | | | | * mumi/messages.scm (search-bugs): Offload limiting search results to max to xapian.
* messages: Remove unused set intersection feature in search-bugs.Arun Isaac2022-12-311-11/+7
| | | | | * mumi/messages.scm (search-bugs): Remove unused set intersection feature.
* xapian: Do not override the default OR implicit query operator.Arun Isaac2022-12-311-1/+0
| | | | | | | | | An implicit AND operator is overly restrictive. It was only necessary because prefixes that should have been indexed as boolean prefixes were not. * mumi/xapian.scm (parse-query*): Do not override the default OR implicit query operator.
* xapian: Declare some prefixes as boolean.Arun Isaac2022-12-311-9/+13
| | | | | | | | | | Some prefixes will only ever be used to filter the rest of the query and not for matching approximately using relevance weighting schemes. Such prefixes should be indexed as boolean prefixes. * mumi/xapian.scm (parse-query*): Support boolean prefixes. (search): Declare author, msgid, owner, severity, status, submitter and tag as boolean prefixes.
* xapian: Index several terms as boolean and without positions.Arun Isaac2022-12-311-14/+51
| | | | | | | * mumi/xapian.scm (index-files): Index bug number, submitter, authors, owner, severity, tags, status, file and msgids as boolean terms. Index bug number, severity, tags, status, file and msgids without position information.
* Add JavaScript to recognize and style query tokens.Ricardo Wurmus2022-12-315-24/+1774
|
* TODO: Remove item for dark mode.Ricardo Wurmus2022-12-291-4/+0
|
* html: Add indefinite article "an" in email sending message.jgart2022-12-251-3/+3
|
* debbugs: Swap first two lines of raw emails.Ricardo Wurmus2022-12-241-27/+27
| | | | Fixes <https://issues.guix.gnu.org/41906>.
* Truncate very long message parts.Ricardo Wurmus2022-12-242-4/+27
|
* Don't show large attachments that fail to report their size.Ricardo Wurmus2022-12-241-1/+2
| | | | Fixes <https://issues.guix.gnu.org/48160>.
* Fix table sort of dates.Ricardo Wurmus2022-12-242-7/+22
| | | | Fixes <https://issues.guix.gnu.org/47739>.
* html: Prevent invalid </input> tags from being generated.Ricardo Wurmus2022-12-241-2/+2
|
* html: Do not repeat build-uri for QA URI.Ricardo Wurmus2022-12-241-11/+8
|
* html: Add missing alt text to status badge.Ricardo Wurmus2022-12-241-1/+2
|
* html: URI-encode the mailto subject.Ricardo Wurmus2022-12-241-2/+2
|
* Accept "plain" query for issue URLs to disable processing of lines.Ricardo Wurmus2022-12-245-11/+28
| | | | This is useful for text browsers and for unusually large issues.
* Bump version.0.0.4Ricardo Wurmus2022-12-241-1/+1
|
* Distribute images and JavaScript.Ricardo Wurmus2022-12-241-1/+2
|
* css: Remove background blur from headers.Ricardo Wurmus2022-12-242-3/+1
|
* css: Remove unnecessary subtle transparency.Ricardo Wurmus2022-12-241-5/+5
|
* Activate theme switcher as soon as the body tag exists.Ricardo Wurmus2022-12-242-11/+9
|
* Reduce page weight by simplifying line number anchors.Ricardo Wurmus2022-12-244-40/+49
| | | | | | | | For large issues with many lines the DOM becomes littered with anchors that slow down rendering significantly. Dropping the anchor tags cuts the page size in half and speeds up rendering. We can still address lines by their identifiers, but to act on clicks we need a little bit of JavaScript.
* css: Add theme switcher scss sources.0.0.3Ricardo Wurmus2022-12-213-2/+73
|
* Bump version.Ricardo Wurmus2022-12-211-1/+1
|
* css: Remove broken (and invisible) CSS.Ricardo Wurmus2022-12-211-25/+0
|
* css: Adjust sidebar.Ricardo Wurmus2022-12-211-3/+3
|
* css: Use more variable colors.Ricardo Wurmus2022-12-211-10/+11
|
* css: Change dark theme colors for diff add/remove.Ricardo Wurmus2022-12-211-4/+14
|