Skip to content

PNLCS 1.35.0

Latest

Choose a tag to compare

@Panelica Panelica released this 02 Dec 18:47
· 71 commits to main since this release

A feature release of twenty-four reviewed pull requests.

The first module that carries out an add-on by itself. A dedicated IPv4 address can be sold as an add-on: the Panelica module reserves a free address on the panel, assigns it, verifies the panel agrees, and takes it back when the add-on is cancelled (#523).

Product Feed. A bundled add-on, inactive until you switch it on, serving GET /feed/products.json so a website built elsewhere can print the prices the order form actually charges. Throttled, cached, CORS origins listed by you, and no -1 prices (#538).

A stored card per service. One service renewed on one card and another on a second, chosen by the customer or by staff. The renewal run keeps services with different cards on separate invoices (#540).

One receipt for a paid proforma, with the VAT invoice attached, instead of two mails. Off by default (#539).

A gateway display name the operator chooses, used at checkout and on the invoice; empty keeps the translated name (issue #522). getproducts?visible=1 returns only the products the store shows (issue #525). A proforma can be deleted when nothing has happened to it yet (#526).

The first part of a module platform: declarative configuration, encrypted credentials, generic server and product forms, a retry contract, an atomic queue lease, and module:check / module:migration-status / module:migrate-config. No built-in module is moved onto it yet, so every module keeps its current path (#546).

Fixes worth naming

  • A Standard (auto) statement import no longer stores a second copy of a transfer already read from the bank's e-mail, which is how one payment reached an invoice twice (#528).
  • The payment reference the transfer instructions print is matched, so a customer who copies it exactly as asked gets an automatic match (#527).
  • Rejecting one candidate invoice keeps the transfer in the queue instead of taking it out (#531).
  • A mailbox server address is validated before it reaches IMAP: host/novalidate-cert could turn certificate validation off for a mailbox whose own setting said it was on (#536).
  • A module switch now asks for the permission of that module type's own page (#544).

Two behaviours deliberately stop

  • A registrar switched off on Configuration → Registrars is no longer asked about availability and is no longer sent a paid domain; the domain waits for staff with a notification (#534, #541).
  • A domain lookup no longer falls back to DomainNameAPI when no default registrar is set, which is what the order path already did (#542).

Database changes

Three additive migrations, each with a working down(): services.pay_method_id, the new module_credentials table, and locked_until / locked_by / error_code on module_queue.

For module authors

Seven new interfaces describe a module to the platform, and a module may now state retryable, retry_after and error_code in its result. A module that does none of this behaves exactly as it does today. See docs/developer/modules-platform.md.

Nothing in this release had time on the beta channel. The full entry, including the views a theme may override, is in CHANGELOG.md.