Skip to content

TavoloFlow 2.0.0

Latest

Choose a tag to compare

@lorenzoyang lorenzoyang released this 24 Nov 19:37
· 1 commit to main since this release

TavoloFlow 2.0 adds online ordering alongside QR table ordering: customers order from the
restaurant's own link for pickup or delivery, and staff accept each order before it reaches the
kitchen. It also brings lock-screen notifications, sale prices and coupons, orders taken by staff and
monthly subscription billing.

An online delivery: the customer orders, staff accept it, kitchen, pass and bill

Highlights

Online ordering

The online menu, delivery checkout with a coupon and the order status page

  • A link per restaurant (/r/{slug}, with its QR code) shows the same three-language menu,
    photos and options as the table QR menu. The platform administrator turns QR dine-in and online
    ordering on separately for each restaurant.
  • Pickup as soon as possible or, when the owner enables it, scheduled pickup for today and
    tomorrow or up to 7 days ahead. A reservation reaches the kitchen at its preparation time, and staff
    can cancel it before then, with an optional reason the customer sees.
  • Delivery by the restaurant's own staff: up to five fee bands by road distance, an optional
    minimum order and a free-delivery threshold per band. With a Geoapify key, checkout calculates the
    fee for the customer's address. Otherwise customers see the price list, and staff choose the band
    when they accept.
  • Checkout on its own page, followed by an order status page. Customers pay at pickup or on
    delivery; the app never handles money.
  • Staff accept or reject each order within ten minutes, choosing the estimated time. A banner
    rings on every staff page while orders wait. Owners close online orders on the bills page and can
    correct a delivery fee before closing.
  • Opening hours with up to two slots a day, a pause until the end of the slot or of the day, and
    a limit of 20 waiting orders.
  • Abuse protection: per-IP limits, one waiting order per browser and five per IP, and Cloudflare
    Turnstile verification, on by default in production.
  • A privacy page for customers. Contact details older than 30 days are deleted by the
    restaurant's next online order.

Choosing a pickup date and time, and the confirmed reservation

Menu and ordering

  • Sale prices: every menu shows the regular price struck through beside the sale price.
  • Coupon codes for online orders: a percentage off the dishes, with an optional last day.
  • Ordering: owners set the order of categories and dishes, and the guest menu gains a category
    directory.
  • Option groups can be copied from an existing group, and a set menu's options can be created from
    several dishes at once.
  • Orders taken by staff: staff can order for a table from the Floor, even while QR ordering is
    paused, and bills show which orders staff placed.

Notifications and administration

  • Lock-screen notifications of new online orders on staff devices, through Web Push.
  • The administrator area installs as a PWA and receives renewal reminders.
  • Monthly subscription billing: a default monthly fee, periods of one or more months, notices
    that owners acknowledge on Home, and reminders checked every 30 minutes.
  • Redesigned platform pages, a separate page for creating restaurants and refreshed colour themes.

Deployment

  • Everyday releases take two commands: deploy/upload-release.sh builds and uploads the
    package from your computer, and upgrade.sh on the server lists the pending migrations, asks for
    confirmation and installs. See the releasing guide.

Upgrading from 1.x

Read Releasing a new version
in the self-hosting guide before installing. This release applies 20 migrations. Take a backup,
install while the restaurant is closed and reload staff devices afterwards.

  • VAPID_PRIVATE_KEY is required in the server's .env (64 hex characters, from
    openssl rand -hex 32). Keep the same key in later releases: a new key makes every device turn
    notifications on again. See First release with push notifications.
  • Turnstile is on by default in production. Add TURNSTILE_SITE_KEY and
    TURNSTILE_SECRET_KEY, or set TURNSTILE_ENABLED=false deliberately. See
    First upgrade to a version with Turnstile.
    The installer checks both settings before it stops the running API.
  • GEOAPIFY_API_KEY is optional. Without it, delivery uses the price list.
  • Subscription periods are reset. The MonthlyRestaurantSubscriptions migration deletes the
    annual periods and default annual fees; register them again as monthly periods. See
    First upgrade with monthly subscriptions.
  • No rollback to 1.x with --schema-compatible. Some columns are renamed, so 1.x cannot run on
    the new schema. To go back, restore the backup taken before the upgrade.
  • upgrade.sh arrives with this release. The first time, run the copy inside the uploaded
    package, as the releasing guide
    explains; from the next release on, bash /opt/tavoloflow/upgrade.sh is enough.

The demo images are rebuilt for this tag, so docker compose -f demo/compose.yaml up -d starts 2.0.

Full changelog: v1.1.0...v2.0.0