Open-source document signature platform. Not affiliated with DocuSign.
TypeScript
Merge pull request #158 from MattJackson/upstream-feat/teams
Kevin Rosec731aa10c4aa
diff --cc CHANGELOG.mdindex d2e50bf,1002dd1..e16ffb6--- a/CHANGELOG.md+++ b/CHANGELOG.md@@@ -31,66 -23,21 +31,77 @@@ entrythey read. The hosted service keeps the standard text (PR #193 by@carefulcomputer).-This needs one migration, `20261119130000_consent_disclosure.sql`, which adds-the `app_settings.consent_disclosure` column. Until it has run, the setting-reads as empty and signers see the standard text.+### Security++- Single sign-on counts an email address as verified only when the identity+ provider says so (`email_verified` set to true, or Microsoft Entra's+ `xms_edov`). Before, a provider that left the claim out was trusted.+- In Part 11 mode, an administrator's identity confirmation now holds the+ name and email address that were confirmed, and it counts only while the+ account still has both. Changing either one needs a new confirmation+ before the person can sign. Sending refuses a signer name that does not+ match the confirmed name, signatures are made in the confirmed name, and+ each signature checks again.+- Restoring a backup ends the sessions, sign-in codes, emailed signing codes,+ signing links and open signing-provider sessions it brought back, so a+ restore cannot bring an ended session or link back to life. Download links+ keep working. Restoring an older backup also fills in the rows that later+ migrations backfill.+- A certificate seals the audit trail as it stands while the envelope is+ held, so an event recorded at the same moment cannot be left out.+- Wrong access codes are counted per signer and code over a week, across+ every link and address: after 10, the signer has to wait or ask the sender+ for a new code. Tries sent at the same moment cannot slip past the count.+- Public signing and download links are limited to 1,000 requests per+ address every 10 minutes, and the text-fit check is limited per link.+- Off Vercel, the visitor's address is read from the end of+ `X-Forwarded-For`, where the last trusted proxy put it, so a visitor+ cannot choose the address that rate limits count against.+- A PDF with more than 1,000 pages is refused at upload.+- Sending refuses a dropdown whose box is too small to show its choices+ readably, so the signer is never handed one they cannot read.+- Failed sign-ins to addresses that have no account are recorded in the+ site audit trail, up to 20 an hour per address.++### Upgrading++If you use Part 11 mode, people whose confirmation came before this release+keep it: the migration records their current name and address as the+confirmed ones. From then on, a change to either needs an administrator to+confirm the person again.++This release changes the database, in three migrations:++- `20261119130000_consent_disclosure.sql` adds the+ `app_settings.consent_disclosure` column. Until it has run, the setting+ reads as empty and signers see the standard text.+- `20261120100000_identity_verified_snapshot.sql` adds+ `identity_verified_name` and `identity_verified_email` to the `user` table+ and fills them for people already confirmed.+- `20261120110000_repair_edited_migrations.sql` adds columns that a database+ which ran an early copy of three 0.5 and 0.7 migrations lacks (a preview+ deployment sharing the production database, for one). On a database that+ ran the final copies it changes nothing.++On Vercel the production build applies the migrations. On other hosts, run+`npm run db:migrate` as on every deploy.++Thank you to @carefulcomputer, who built the editable consent disclosure in+#193: the setting, the version that follows the text, and the care to keep+the hosted service on the standard words. It gave this release its headline+feature, and the E-SIGN notice was added on top of their work.+ ### Teams++ - Teams. An administrator makes teams in Settings and puts people on them.+ People on a team see the envelopes their teammates have sent, read-only,+ in a "My team" view on the dashboard, and can download their audit trail+ and, once finished, the signed PDF and certificate. Drafts stay private,+ and only the sender changes an envelope. Team changes and teammates'+ downloads are recorded in the site audit trail. See+ [docs/teams.md](docs/teams.md). This changes the database+ (`20261121100000_teams.sql`).+## [0.7.0] - 2026-11-20A sender can now send one template to many people at once from a CSV. Two