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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user