Phase 14, parts 5 and 6: seats, and moving down to Free

Seats: inviting past the seats paid for offers the owner to add one
(Stripe prorates it); admins are told to ask the owner; Free has two.
Moving down: past the plan's seats, the owner and one other (the owner's
pick, or the first to join) edit and the rest read; storage is measured
hourly, and past the plan's, photo uploads and the SEO crawl stop.
Nothing is deleted. TEST.md section 18.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-25 13:34:22 -07:00
co-authored by Claude Opus 5.5
parent aa0408fb14
commit 6d3eb18b5e
16 changed files with 573 additions and 6 deletions
+4
View File
@@ -37,6 +37,10 @@ func (s *Server) accountPhoto(w http.ResponseWriter, r *http.Request) {
}
key := ""
if r.URL.Query().Get("remove") == "" {
if err := s.storageFull(); err != nil {
fail(sentence(err.Error()) + ".")
return
}
r.Body = http.MaxBytesReader(w, r.Body, maxPhoto+64<<10)
f, _, err := r.FormFile("photo")
if err != nil {