Skip to content

TasksPending 0.6.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 17:53
· 68 commits to master since this release
v0.6.0

TasksPending is now a native Linux window. The web page and the terminal dashboard are gone, and so are the macOS and aarch64 builds: the release is Linux x86_64, GTK4 and libadwaita.

Features

  • tasks-pending opens the dashboard as a GTK4 window: the big clock and the weather beside it, the controls, the groups of stacks with their cards, the Now row, the snooze menu, the pin, and the Sources, Settings and Snoozed dialogs, with the same palette as the page had, dark unless the system asks for light. The keyboard reaches the board's links and buttons. Clicks, keys and scrolling count as looking, at most once a minute. The window reads the daemon at http://127.0.0.1:61000 (--daemon for another address) and, when none answers within two seconds, runs the sources itself on a private loopback port and says so; --no-daemon does that on purpose. Opening the app again focuses the window that is open, without starting anything. Its choices (board filter, collapsed stacks, hidden items, auto-refresh) are kept in $XDG_STATE_HOME/tasks-pending/app-view.json.
  • tasks-pending sandbox opens the window over simulated cards; --screenshot <file> pictures it and closes, which is how the README picture is made.
  • tasks-pending setup creates config.toml and env from the examples when missing, refreshes the launcher caches it finds and starts or restarts the user service, waiting until the daemon answers, as this release, where the unit says it listens; --no-start only writes the files, and without systemd or a user manager it writes them and leaves the daemon to you. It refuses to run as root. The installers end with it.
  • tasks-pending upgrade reads the latest release, downloads its bundle and checksum over https, verifies it, runs the new executable once, swaps it under ~/.local/lib/tasks-pending and restarts the daemon, putting the previous release back, and running its installer again, if that does not finish; --check only reports, --version (or TASKS_PENDING_VERSION) installs that release when it is newer, an older one only with --allow-downgrade, and TASKS_PENDING_REPOSITORY or TASKS_PENDING_RELEASE_BASE_URL (https only) point at another location, as for the installer. Once a day the daemon looks at the latest release (by the wall clock, so a suspend counts, and a clock set back puts it off by a day at most), an hour later again when a look fails (GET /api/v1/version; TASKS_PENDING_NO_VERSION_CHECK set to anything but a blank value turns it off) and the window shows vX.Y.Z available next to its version.
  • The public installer unpacks the release under ~/.local/lib/tasks-pending and links ~/.local/bin/tasks-pending, so upgrades swap the directory; it refuses archives with members that would write outside it, links or absolute paths, refuses to run as root, replaces only a directory that holds a release (never an install prefix), checks that the new executable runs before replacing the current one, and keeps the previous release until the new one is set up. On Arch, and on distributions built on it (ID_LIKE=arch), it installs the package, letting pacman ask when a terminal is there, and retires an earlier install under ~/.local (the 0.5.0 bundle, or make install) whose user service would otherwise keep the old daemon running; config, tokens and drop-ins stay, and a drop-in that ran the old executable runs the package's. Run as root, it installs the package and leaves tasks-pending setup to the user. Every release asset, the installer included, has a .sha256 published beside it, which proves a download arrived whole.
  • The package and the installers ship a desktop entry (io.github.brunoomariano.TasksPending) and the icon (the bundle's under ~/.local/share, wherever TASKS_PENDING_BIN_DIR puts the link), so TasksPending is in the app launcher and omarchy-launch-or-focus TasksPending focuses it.
  • make deploy builds a release, installs it under ~/.local, restarts the daemon and checks that it answers.

Changed

  • The daemon no longer serves a page: GET / is one line naming the app. The Omarchy web app launcher (make webapp) and --static-dir are gone.
  • The Arch package depends on gtk4 and libadwaita.
  • The user service runs with NoNewPrivileges=yes and reads its tokens from $XDG_CONFIG_HOME/tasks-pending/env (%E), where setup creates the file, at the path systemd resolved for the unit rather than under the shell's XDG_CONFIG_HOME; the config goes under the user manager's.
  • A window reads a source status or card severity that a newer daemon added as degraded or info, instead of failing to read the dashboard.
  • make ci-check also checks CHANGELOG.md (## Unreleased only at the top, then one section per version, newest first), and CI runs shellcheck at --severity=info.

Removed

  • The web page (Vite and TypeScript), the TUI (tasks-pending tui), the macOS and aarch64 Linux bundles, and the launchd service. On macOS, 0.5.0 remains the last version.

Install

  • Install or update in one command (Linux x86_64; on Arch it installs the package):

    curl --proto '=https' --tlsv1.2 -fsSL https://github.com/brunoomariano/TasksPending/releases/latest/download/tasks-pending-install.sh | sh
  • The installer checks every download against its published checksum, installs the release with its desktop entry and user service (the package, on Arch), then runs tasks-pending setup: the config files and the daemon.

  • Already installed? tasks-pending upgrade fetches this release the same way.

  • Then follow docs/install.md to configure sources and tokens.

Checksums

269bfc6a038c92a57680d9febd9b81d4b2569e76cebc7549cdd184a4033bc0d6  tasks-pending-0.6.0-x86_64-unknown-linux-gnu.tar.gz
269bfc6a038c92a57680d9febd9b81d4b2569e76cebc7549cdd184a4033bc0d6  tasks-pending-x86_64-unknown-linux-gnu.tar.gz
8787e44d6a2867f1d8dd3c033f37c0c9733b05619b610dee9f2c29384f105bc0  tasks-pending-bin-0.6.0-1-x86_64.pkg.tar.zst
8787e44d6a2867f1d8dd3c033f37c0c9733b05619b610dee9f2c29384f105bc0  tasks-pending-bin-x86_64.pkg.tar.zst
9d2ecfd3bf50f337e09c0ea5f73bb2eab152e91bebbe992b5882ebdfcd751dbf  tasks-pending-install.sh