Skip to content

tippr v0.20.0

Choose a tag to compare

@github-actions github-actions released this 24 Oct 03:42

✨ Features and improvements

  • Upgrades are much quicker: about 1½ minutes of downtime instead of 6½ on a test install. A release's installer
    tarball already holds its built Cython modules, translations and static files, but upgrades threw them away and
    built them again; now each build is fingerprinted (scripts/build-fingerprint: its inputs' contents, not file
    dates) and skipped while its inputs are unchanged, by the release or by an earlier run. The translations a release
    carries become a git checkout in place instead of being moved aside and cloned again (which also stops an
    i18n.old-<date> folder being left on each update), r2 is reinstalled only when its packaging or Cython modules
    change, and RabbitMQ restarts only when its settings do.
  • Every install runs the Python packages the release was tested with: the installer installs
    install/requirements.txt (moved from docker/), the pinned list the Docker image uses, in one go, instead of
    about 40 packages in groups at whatever versions were newest that day (and baseplate and formenergy-observability
    from their branches' tips). TIPPR_BASEPLATE_PIP_URL and TIPPR_FORMENERGY_OBSERVABILITY_PIP_URL still install
    another on top, but are empty by default. The old psycopg2-binary is replaced by the pinned psycopg2.
  • An account's status, from its /admin/users page: its staff permission (none, employee, sponsor or admin: the
    same employees list as /admin/config, with its checks, so no one removes their own admin permission), and whether
    it's one of the site's own accounts (a test account, a bot). The system user, AutoModerator and feed bots count as
    the site's own by themselves. The status column on /admin/users shows sponsors and employees too, and labels the
    site's own accounts, which don't take an Early Member place.
  • The consent banner asks about "optional analytics cookies" instead of naming Google Analytics; the privacy
    policy it links to says what they are. "Optional" makes clear that declining doesn't turn off the cookies the site
    needs. The preference says the same.
  • A clearer "Translating" help page (/help/translate): how to fix a translation as numbered steps, the file to
    edit on its own line, links to Poedit and Lokalize, and what to put in an issue as a list. The trophies help page
    lists Early Member among the awards the site gives.
  • Updates say the site is down for "a few minutes" (on /admin/servers and in the updater) instead of 5–10.

🐞 Bug fixes

  • /admin/servers showed the event collector queues in red with no processor, as if stopped. They're for an
    analytics event collector service, and without one (events_collector_url) the site queues nothing there and runs
    no processor for them on purpose: they now say "off (no event collector)".
  • The trophy case was unreadable in the dark theme: award names were always black (and descriptions dark grey);
    they follow the theme's text colors now.
  • The admin mode page on a remembered computer looked unfinished: "forget this computer" was a grey button with
    its explanation wrapping beside it, and the heading still asked for a one-time code. It's now a link under the
    main button with the explanation below it, and the heading asks for the password only.
  • Docker: a container could fail to start alongside the others ("No such file or directory:
    /config/docker.update.tmp"): every container writes the shared config in /config as it starts, through one
    temporary file name, so one could rename it away while another was still writing it. Each now uses a temporary
    file of its own, created private.

Downloads

  • Docker: docker pull techidiotsllc/tippr:0.20.0, or unpack tippr-0.20.0-compose.tar.gz, copy
    .env.example to .env, fill it in and run docker compose up -d (docker/README.md).
  • Proxmox: tippr-0.20.0-proxmox-amd64.tar.zst is an LXC template with the whole site installed;
    create a container with the site's domain as its hostname and start it (docs/PROXMOX.md).
  • Installer (Ubuntu 24.04): unpack tippr-0.20.0-installer.tar.gz into /home/tippr/src and
    run sudo TIPPR_USER=tippr TIPPR_DOMAIN=example.com ./install-tippr.sh in tippr/; it doesn't need
    to clone anything (docs/INSTALL_tippr.md).

SHA256SUMS lists the files' checksums.