Skip to content

Releases

0.99.40

Choose a tag to compare

@jodab jodab released this 26 Oct 23:29
Immutable release. Only release title and notes can be modified.
v0.99.40
7df0948

Fixed

  • Fix a test case that could open a browser window when running in
    a CI environment. The test now simulates the
    captcha challenge without actually opening a
    browser.

0.99.39

Choose a tag to compare

@jodab jodab released this 26 Oct 23:00
Immutable release. Only release title and notes can be modified.
v0.99.39
ad91787

Added

  • nejomibot --example-config prints every setting, described, as the
    installed version has them, to start a config.toml from: the package
    from PyPI now has the example too, which only the image had. nejomibot --version and --help work as well. The README's "Without a container"
    says how to run the bot from the package.

0.99.38

Choose a tag to compare

@jodab jodab released this 26 Oct 22:39
Immutable release. Only release title and notes can be modified.
v0.99.38
0986af8

Changed

  • /status shows memory and swap alike, as used of total, as free and
    htop do, and both together on a line of their own: Memory 383.5/905.0MB used, Swap 41.9/452.0MB used, Total 425.4MB/1.3GB used. It showed the memory available, and the swap used.
  • An image built as a version of its own (--build-arg VERSION=...), such
    as a local build's 0.99.37+g3fa91a0, reports that version in /status,
    its notices and the health pings, not only in its label.

0.99.37

Choose a tag to compare

@jodab jodab released this 26 Oct 22:15
Immutable release. Only release title and notes can be modified.
v0.99.37
3fa91a0

Added

  • nejomibot is on PyPI: uv tool install nejomibot installs the bot and
    its tools without a container, and uvx --from nejomibot nejomibot-account --url HOST:PORT runs the account tool on any machine
    that reaches signal-cli-rest-api. It needs Python 3.15, which uv fetches.
    Each file has an attestation that the release workflow signed. The image
    remains the main way to run the bot.
  • nejomibot-help outside the image lists the bot and its tools, and where
    the settings are.

Changed

  • The bot uses signalbot's own phonenumbers package, in place of
    phonenumberslite: the image is 43 MB larger, 258 MB for amd64, and needs
    no more memory.
  • The picture /selfpromote posts is logo.png, made from
    .github/logo.svg; both were social-preview before.

0.99.36

Choose a tag to compare

@jodab jodab released this 26 Oct 21:50
Immutable release. Only release title and notes can be modified.
v0.99.36
8dfdb42

Added

  • SECURITY.md: how to report a vulnerability privately, and how to verify
    a release's images and tag.
  • The release workflow can publish the package on PyPI too, by trusted
    publishing, with signed attestations, once the repository's variable
    PYPI_PUBLISH is true.

Changed

  • The README is under a fifth of its length, written for administrators,
    with a banner, and is also the image's page on Docker Hub: DOCKERHUB.md
    is gone. It shows how to run the bot from a checkout, without a
    container. The comments in config.example.toml are shorter too.
  • The social preview picture, which /selfpromote posts, has the USS
    Enterprise-D in place of the planet, and a Pac-Man more like Yoda.
  • The wheel holds the translations compiled, in place of their .po
    files, as the image always had. The package's metadata asks for
    signalbot's phonenumbers, which uv still swaps for phonenumberslite.

0.99.35

Choose a tag to compare

@jodab jodab released this 26 Oct 20:45
v0.99.35
ef98c00

Added

  • A chat with a group or a person, in the terminal, as the bot:
    podman exec -it nejomibot nejomibot-chat --to 1 posts each line you
    type to chat 1 of /chats, as /msg does, or runs its command there, as
    /run does, if it starts with one, and shows what is sent there as it
    arrives, above the line you're typing, after the latest ten messages.
    Ctrl-D ends it. --recent and --follow take --to too, for those
    chats' messages alone. See "A chat with a group or a person" in the
    README.

Changed

  • nejomibot-chat --to in a terminal, with no message and no files, is
    that chat; it asked for one message before, as it still does with files.
  • /selfpromote is short: the bot's name, and links to its source code on
    GitHub and its image on Docker Hub, under its picture.

0.99.34

Choose a tag to compare

@jodab jodab released this 26 Oct 17:05
v0.99.34
c8be1b5

Updating

  • signal-account.sh is now nejomibot-account, with the same commands,
    options and questions: podman exec -it nejomibot nejomibot-account setup, or with Compose, docker compose exec nejomibot nejomibot-account setup. Whatever ran signal-account.sh needs the new name. Outside a
    container, it runs from a checkout of the repository with uv run nejomibot-account, where signal-account.sh needed bash, curl and jq.
  • nejomibot-help.sh is now nejomibot-help, and help too.

Added

  • /selfpromote, for admins: the bot itself, in a few serious words in
    the chat's language, under its social preview picture: what it does, how
    it runs, and links to its source code on GitHub and its image on Docker
    Hub. It comes to you, to forward; /run 1 /selfpromote posts it to chat
    1.
  • Commands can also start with !, as in !photo, just as they can with
    . and /, and so can aliases, shortcuts and the names of specials.
    command_prefix = "!" has the bot show them that way.
  • help shows the guide to the tools in the bot's container, in a shell
    there or as podman exec nejomibot help.

Changed

  • The tools in the image are Python, as the bot is, and need no shell:
    nejomibot-account, which draws the QR code for linking itself, and
    nejomibot-help. The image no longer has curl, jq and qrencode, which
    only signal-account.sh used, and is 13 MB smaller: 215 MB for amd64.
  • The guide that a shell in the container starts with lists
    nejomibot-account and help, and where the settings, the data and the
    photos are.
  • The bot's log and the admins' notices name nejomibot-account where they
    named signal-account.sh.
  • The social preview picture, which GitHub shows for the repository and
    /selfpromote posts, is new.

0.99.33

Choose a tag to compare

@jodab jodab released this 26 Oct 12:45
v0.99.33
520097c

Added

  • Formatting in nejomibot-chat: marks around words, such as **bold**,
    *italic*, ~strikethrough~, `monospace` and ||spoiler||, give
    them Signal's text styles, as Signal's formatting menu does, so
    /special add and /msg keep them. A mark styles only where it opens at
    the start of a word and closes at the end of one, so 2*3 and ~5 min
    stay as typed, and a \ before a mark keeps it too, as in
    \*WAKE UP\*. See "Formatting" in the README's "The bot from a
    terminal".

Changed

  • /msg keeps the formatting of its text, such as bold set with Signal's
    formatting menu; it posted plain text before. Formatting that the bot
    can't pass on, as where bold and italic meet inside a word, gets the
    same answer as in /special add, and nothing is posted.

0.99.32

Choose a tag to compare

@jodab jodab released this 26 Oct 11:39
v0.99.32
b960273

Added

  • nejomibot-chat, in the image: the bot from a terminal, as the first
    admin in the configuration uses it in a direct chat, such as
    podman exec -it nejomibot nejomibot-chat for a chat, or
    podman exec nejomibot nejomibot-chat /status for one command. The
    answers come to the terminal, and the rest happens as in Signal: /msg
    and /run post to their chats, and the numbers in lists are that
    admin's. A message can come from standard input, and files can be
    attached with -a, from standard input too: one, or several in a tar
    archive, up to 25 MB together. /msg posts them, with or without a text,
    --to 1,2 is short for /msg 1,2, and /avatar takes a picture
    attached this way. --recent lists the latest messages the bot has
    received, in every chat, --follow shows them as they come, --json
    prints everything as JSON, and --save DIR saves the files in it. Only
    the bot's own user and root can use it. See the README's new section
    "The bot from a terminal".
  • The bot keeps the 100 latest messages it receives, in every chat, in
    memory only, for nejomibot-chat --recent and --follow. /incoming
    lists only direct messages from people other than the admins, as before.
  • The setting received_attachments, off by default: when it's on,
    nejomibot-chat also lists the files in the messages the bot received,
    and saves them with --save. They stay with signal-cli, which keeps them
    only with JSON_RPC_IGNORE_ATTACHMENTS=false, and the bot keeps no copy
    of its own, so the setting costs no memory.

0.99.31

Choose a tag to compare

@jodab jodab released this 25 Oct 21:21
v0.99.31
0239749

Changed

  • Linking the bot to a phone with Signal, as a linked device, is a
    supported alternative to registering a number for it: the README's new
    section "Linking to a phone" describes how, and what it means for the
    bot. signal-account.sh no longer asks for confirmation before it links:
    it notes the drawbacks, then shows the QR code. After linking, setup
    skips the registration lock PIN, which only the phone can set.
  • The setup guides no longer have you solve a captcha before you register
    the bot's number: Signal doesn't always require one, and
    signal-account.sh asks for one only when Signal does, as it did before.