github dkorecko/Ticky v2.0.0

one hour ago

Hey everyone, it's been a while, and this one is big enough to be called 2.0! 🎉

It brings a completely new look, an API, a board activity page with a burndown chart and a lot more. It also fixes a number of security issues, so everyone on 1.15.3 or earlier should upgrade. Since it's a major version, there are a few changes to your setup, so please read the upgrade steps below before pulling it.

⚠️ Upgrading to 2.0

Ticky now keeps uploaded files outside the web root and no longer runs as root inside its container. If you use :latest, you will get 2.0 automatically, and Ticky won't start until you do the steps below. It tells you what's wrong in its logs (docker logs ticky-app), so nothing gets lost.

Before pulling 2.0, stop Ticky and, in your project folder (Linux shown; on Docker Desktop, skip sudo and chown):

  1. Copy the uploaded files to their new folder:

    sudo mkdir -p data/app/uploads
    sudo cp -a data/app/uploaded/. data/app/uploads/
  2. Give them to the user Ticky now runs as:

    sudo chown -R 1654:1654 data/app/uploads
  3. In docker-compose.yaml, change the volume ./data/app/uploaded:/app/wwwroot/uploaded to ./data/app/uploads:/app/data/uploads.

Then start Ticky as usual. Once your avatars and attachments show up, you can delete the old data/app/uploaded folder. The same steps are in the README.

A few more things to know:

  • The database is updated on its own, as always. One of the changes removes the old automatic ordering setting from columns, which 1.x still needs, so back up your database (data/mysql) first if you want to be able to go back.
  • You'll be signed out once, since the sign-in cookie got a new name (so it doesn't clash with other apps on the same host).
  • Behind an HTTPS reverse proxy, Ticky now trusts its X-Forwarded-Proto header so the sign-in cookie is marked Secure. Sign in once over HTTPS to get it. It can be turned off with ASPNETCORE_FORWARDEDHEADERS_ENABLED=false.
  • New optional setting: API_RATE_LIMIT (API requests per user per minute, 600 by default, 0 for no limit).

🔒 Security

This release fixes a medium-severity access control issue (GHSA-6r5j-6gcv-wrgv): any signed-in user could attach files to any card and download any attachment, without being a member of its board. Thanks to @carfeii for reporting it responsibly.

After that report I went through all of Ticky with a full security review, and this release also fixes everything it found that affects 1.15.3:

  • Attachments could be opened by anyone with their link, even when signed out, and an uploaded .html attachment or avatar ran as a page on your Ticky domain. Uploads are now only served to people who can open the card, as downloads, and only safe image avatars are shown directly.
  • A password reset code could be used for a different account than the one it was sent to.
  • A card from a board you can't open could be read and edited through a link to your own board.
  • Sign-ups were still possible while DISABLE_USER_SIGNUPS was on.
  • The board export included password hashes and other account secrets.
  • Text from cards, labels and other places could run as code in the activity history and in e-mails.
  • Admin rights are now checked on the server again before every board, project and column change, and live updates only go to people who can open the board.
  • Accounts are locked for a while after repeated failed sign-ins, the forgotten-password page answers the same for every address, and sign-ups are rate limited.

Everyone on 1.15.3 or earlier should upgrade.

Highlights

  • 🎨 A completely new look, designed by @KatkaKoreckova! New pages, dialogs, pills and a new favicon, and on phones dialogs now open as a bottom sheet.
  • 🔌 An API: scripts and AI agents can now do everything you can do in the app, with read-only or read-and-write tokens from Settings → API tokens. Every instance has its reference at /api/docs and a short guide for agents at /api/agent-guide.md. Thanks @cordelllawrence for getting it started!
  • 📈 Board activity page with a filter and a burndown chart. Activity history is now stored as data, so it can be translated later and the old entries were converted automatically. Thanks @Cletus-Mccoy for the idea and the first version!
  • 🧑‍💻 Your work on the home page: the cards due soon or assigned to you, and any running timer.
  • ⚡ Quick actions in the card menu: assign yourself and start or stop the timer, with the running timer shown on the card.
  • 📐 Card sizes (compact, default or large, each user picks their own), a wider card dialog with the properties next to the description on big screens, and columns that stretch to use the screen.
  • 🆕 Set priority, assignees, labels and deadline right when creating a card.
  • 💬 Comments keep their line breaks, long ones fold, and you can attach files to comments.
  • 📦 Export and import projects, as templates (boards, columns and labels) or full backups (with cards, comments, attachments, time records, history and members), also to another Ticky.
  • 🖼️ Image preview when editing a card, ⏱️ time breakdown in the stats sidebar and 🏷️ excluding labels in the card filter.
  • 👤 Reworked user editing: admins and users change name, e-mail and password separately, and an admin no longer resets the password on every save.
  • 🔄 A reconnect dialog when the connection drops, a proper not found page, and everything now runs on .NET 10.
  • 📝 Updated docs with new pictures, the updated feature list and the upgrade steps.
  • 🐛 Dragging cards is smoother (no more lag or jumps when dragging again right after a drop), and a lot of other bug fixes.

Thanks for using Ticky, and come say hi on the Discord!

What's Changed

  • feat: Time breakdown in stats sidebar by @dkorecko in #174
  • docs: Update readme time tracking by @dkorecko in 3c1827c
  • @dependabot[bot] made their first contribution in #175
  • build(deps): bump tar from 7.5.3 to 7.5.6 in /Ticky.Web in the npm_and_yarn group across 1 directory by @dependabot[bot] in #176
  • build(deps): bump tar from 7.5.6 to 7.5.7 in /Ticky.Web in the npm_and_yarn group across 1 directory by @dependabot[bot] in #177
  • fix: avoid JS interop errors during board teardown by @dkorecko in #182
  • build(deps): bump tar from 7.5.7 to 7.5.9 in /Ticky.Web in the npm_and_yarn group across 1 directory by @dependabot[bot] in #178
  • build(deps): bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #184
  • fix: Improve label colors validations by @dkorecko in #183
  • feat: Custom cookie names to avoid collisions with other apps on the same host by @dkorecko in 7f10a43
  • fix: Real-time updates after cookie name change by @dkorecko in b87f523
  • feat: Exclude labels in the card filter by @dkorecko in 7cbd572
  • fix: Connection closed issues by @dkorecko in f8b4d7c
  • feat: Image preview when editing card by @dkorecko in #186
  • style: Remove the padding around attachment previews in the card dialog by @dkorecko in 05e9274
  • @KatkaKoreckova made their first contribution in #187
  • style: New favicon, home page tweaks and updated README pictures by @dkorecko in 7ab6a24
  • fix: Button widths by @dkorecko in 82c9517
  • style: Paddings on the home page and layout by @dkorecko in d62bf6b
  • chore: Remove old logo files by @dkorecko in 190956f
  • feat: .NET 10, small fixes and the new card animation is back by @dkorecko in e452eb8
  • feat: .NET 10 improvements, reconnect dialog and a not found page by @dkorecko in 0ad0769
  • docs: AI statement by @dkorecko in 2ad0b50
  • fix: Blank page in the Docker image after the .NET 10 update (missing blazor.web.js) by @dkorecko in 3f8e638
  • fix: Check card access for attachment uploads, keep only safe file extensions and stop serving attachments directly by @dkorecko in 58002b3
  • feat: Card menu quick actions, wider card modal, stretching columns by @dkorecko in 8b50af8
  • style: Improve pills look and consistency by @dkorecko in 0edab57
  • feat: Your work pane and fix deadline color by @dkorecko in 8d7831b
  • feat: Typed activity history, board activity page and burndown chart by @dkorecko and @Cletus-Mccoy in b375c9c (based on #180)
  • fix: Assignee changes in converted activity history by @dkorecko in 58baec6
  • feat: Rework user editing by @dkorecko in eaab92c
  • fix: open action modals as a bottom sheet on phones by @dkorecko in #191
  • fix: Require board admin for board settings by @dkorecko in 2e303e9
  • style: Card paddings by @dkorecko in 76a08eb
  • style: Let descriptions breathe more on ultrawides by @dkorecko in e59c5d0
  • feat: Card sizing by @dkorecko in e656c5c
  • fix: Use the board admin rule on the home page by @dkorecko in 6b34b88
  • fix: Check card access for attachment downloads by @dkorecko in 9fdcf1d
  • @cordelllawrence made their first contribution in #192
  • fix: lock accounts after repeated failed sign-ins by @dkorecko in #199
  • fix: check card access when opening and editing cards by @dkorecko in #196
  • fix: keep account secrets out of the board export by @dkorecko in #194
  • fix: re-check admin rights on the server for board, project and column changes by @dkorecko in #203
  • fix: only send detailed circuit errors to the browser in Development by @dkorecko in #206
  • fix: only relay board changes for boards the sender can open by @dkorecko in #201
  • fix: HTML-encode card text in reminder and deadline e-mails by @dkorecko in #202
  • fix: require an antiforgery token for attachment uploads by @dkorecko in #209
  • fix: make API tokens follow the state of their account by @dkorecko in #205
  • fix: mark the sign-in cookie Secure behind the TLS proxy by @dkorecko in #204
  • fix: tie reset and confirmation codes to their account, expire them and limit guesses by @dkorecko in #197
  • fix: honour the sign-up switch on the server and block unfinished sign-ups by @dkorecko in #195
  • fix: keep a card's repeat target column on the card's own board by @dkorecko in #198
  • fix: same forgot-password answer for every address, rate limit sign-ups by @dkorecko in #207
  • fix: update vulnerable transitive packages by @dkorecko in #208
  • fix: stop double-encoding text in reminder e-mails by @dkorecko in #210
  • fix: Compact, evenly inset hover boxes for card, board and project options by @dkorecko in 4cdefb2
  • feat(api): cover everything the web UI does, through shared services by @dkorecko in #211
  • feat: a guide to the API for AI agents by @dkorecko in #212
  • feat: keep line breaks in comments and fold long ones by @dkorecko in #213
  • feat: attach files to comments by @dkorecko in #214
  • fix: Loading the same board twice at once no longer crashes the page by @dkorecko in 1f12296
  • feat: set priority, assignees, labels and deadline when creating a card by @dkorecko in #215
  • feat: export and import projects as templates or full backups by @dkorecko in #216
  • fix: dragging a card again right after dropping it no longer lags or jumps by @dkorecko in #217
  • test: End quick drags in a new column, so a failed last save is noticed by @dkorecko in e3505dc
  • feat!: run as non-root, keep uploads outside the web root, drop OrderRule by @dkorecko in #218
  • docs: retake the README pictures and update the feature list for 2.0 by @dkorecko in #219

New Contributors

Full Changelog: v1.15.3...v2.0.0

Don't miss a new Ticky release

NewReleases is sending notifications on new releases.