Commit graph

165 commits

Author SHA1 Message Date
Zaldimmar
2df908f7c4 Backdrop: four parallax layers, laid out per page, tones per top-level section
Sixteen circles in four layers, big and slow at the back to small
and quicker at the front, each rising by its share of the page's
scroll (none at the page's own speed); how far is measured from the
page's height, so the back layer visibly moves on a long page. Each
path gets its own seeded arrangement. The tone moves on only when a
new top-level section arrives, and eases over 2.4s. Dark shades are
chosen so text passes 4.5:1 however many circles overlap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:28:55 -05:00
Zaldimmar
e5c14dffa3 Timeline on a brown branch with leaf-colored decade tags; solid featured entries; admin home in two alternating colors
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:26:38 -05:00
Zaldimmar
a397f3eac0 Overhaul fixes: raised cards, balanced people rows, solid map, small button radius
- Cards sit on a raised surface (white, or a touch of tint in dark
  mode) with a shadow: featured cards, the connect block, people
  tiles. tint-soft is a faint teal again, not green.
- Buttons: a small plain radius everywhere; no superellipse.
- Video stills use YouTube's 16:9 frame (the 4:3 one cropped as a
  fallback), have small rounded corners, and show a round, centered
  play button on hover or focus (always on touch screens).
- People tiles: rows balanced between 2 and 10 across, never ending
  on a lone tile where it can be helped.
- Map tiles and region tags are solid, dimmed by color, not opacity.
- Admin: white (surface) background, header and footer as wide as
  the content.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 16:24:36 -05:00
Zaldimmar
582c65077d Version v1.10.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:40:51 -05:00
Zaldimmar
f37c093dc0 Overhaul fixes: vertical parallax backdrop, bracket notices, list-framed people tiles
- Backdrop: two slow circles fixed to the window drift up as the
  page scrolls (a scroll-driven animation), three sit down the page
  and travel with their sections; tones still change per section.
- Notices are two corner brackets, no box or fill.
- People tiles: the frame is the list's, and details open right
  under the tile, closing on Escape or a click elsewhere.
- Featured cards and the connect section: 4px rules; video frames
  inset from the card edge.
- Calendar weekday row is a solid bar; History decade numerals are
  tags on the rail instead of a white box.
- Region and partner buttons say Request; the region list's group
  count is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:40:04 -05:00
Zaldimmar
8ca3b54b31 Version v1.10.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 15:32:22 -05:00
Zaldimmar
dd33ee2da0 Document the palette, square corners, notices and the page backdrop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:55:21 -05:00
Zaldimmar
239c3fa293 Admin home: a palette color per group of cards
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:54:39 -05:00
Zaldimmar
d5428297a4 Timeline years as leaves, green now and turning autumn going back; notices instead of dashed boxes
A year's leaf eases from green to gold to autumn between this year
and 2000 (leafColor in color.ts); every year before 2000 is fully
turned. Empty-section and form notes use one notice style, a flat
tinted panel with a solid left bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:53:50 -05:00
Zaldimmar
592e07f614 People tiles: square photos, a frame, even heights, palette initials
Captions are a fixed two lines of name and two of title; what
doesn't fit ends in an ellipsis and gives the tile the down arrow,
whose details show it in full.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:50:59 -05:00
Zaldimmar
5dbb203519 Featured cards and the connect section as one ruled block; Give beside the footer logo
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:48:48 -05:00
Zaldimmar
6fc19d7ee3 One palette backdrop behind every page; flat hero, split hero buttons
PageBackdrop draws flat, overlapping palette circles behind the
public site and eases them to a new tone as each section reaches
the middle of the window, so sections no longer paint their own
bands (PageShell's background field is gone). The hero's brand
backdrop is a flat teal with the dove, its two buttons one cell cut
by a slash, and the countdown straddles the hero and the band
below. No glows: the drifting blobs, rings, live-dot pulse and the
stats band's blurred circle are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:46:48 -05:00
Zaldimmar
3dfc31fd85 Set titles and headings in Poppins Bold, subheadings regular
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:41:26 -05:00
Zaldimmar
d81f7bd856 Adopt the new palette; square corners, superellipse buttons
The theme defaults (light and dark) come from the 16-color grid,
kept as PALETTE in src/lib/color.ts; every text pair passes the
admin's 4.5:1 check. Nothing is rounded any more except buttons,
which share one btn utility (Poppins Bold, a superellipse corner
where the browser has corner-shape) and true dots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 14:40:39 -05:00
ecdcd4ec37 Merge pull request 'Groups instead of chapters, US spelling, wider admin home (v1.9.15-groups)' (#17) from groups-and-us-spelling into main 2026-09-30 19:28:05 +01:00
Zaldimmar
0f2fb2ccb3 Version v1.9.15-groups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 13:27:45 -05:00
Zaldimmar
2ad65cdc15 Write the site in US English
color, center, canceled, labeled, recognize and the rest, in UI
text, help text, comments, docs and names (ColorInput, QrCenter).
Migration 053 renames the two Site settings color CHECKs, whose
names are the messages the admin shows. Kept: events.status's
stored value 'cancelled' (shown as canceled), aria-labelledby,
schema.org's EventCancelled, and old migrations as they ran.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 13:24:11 -05:00
Zaldimmar
38aff34c97 Call local chapters groups, everywhere
The organization kind is 'group', its side table is groups, pages
live at /groups/<id> and the Community page's section is #groups.
Migration 052 converts existing databases: the kind and the tables
whose CHECKs name chapters are rebuilt, the front page count and
request category follow, and the site's own /chapters/ and
#chapters links in records are rewritten. Request files now go in
Requests/Groups on the shared drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 13:19:51 -05:00
Zaldimmar
175a18976d Widen the admin home so its cards run three across
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 13:12:55 -05:00
c76df021a8 Merge pull request 'Request details, Drive folders, image folders, clip tool to Drive (v1.9.12 to v1.9.14-content-display)' (#16) from content-display into main 2026-09-30 19:05:25 +01:00
Zaldimmar
a4c09c9643 Version v1.9.14-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 00:16:49 -05:00
Zaldimmar
06a0e07a79 Let a downloaded video be saved whole, before or without cutting
Save to library and Save to Drive on a finished download, not only on
clips. The download stays on the server to cut clips from either way;
a clip's library save still clears its working file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 00:14:26 -05:00
Zaldimmar
6ccbc03b52 Let the image picker take photos sent with requests
A From requests tab in every image picker lists photos from the
Request form (they live in Drive), the request being edited from
first. Picking one copies it into the media library, in the field's
folder, once per file, and the field gets that copy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 00:11:01 -05:00
Zaldimmar
110b655d5e Mark the message (and a request's name) as required on the forms
The send button waits for 10 characters of message; the field now says
Required, and a note under it counts down what's still needed. The
request form's name field is marked too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 00:09:22 -05:00
Zaldimmar
f983ecf26c Version v1.9.13-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 23:56:26 -05:00
Zaldimmar
42d1536ee6 Let the clip tool save a clip to a Drive folder
Save to Drive, beside Save to library, puts a finished clip in a folder
under Media (Videos or Audio chosen first to match it) as a Files
entry, shared by link, so pages can link to it (migration 051). The
clip streams from disk through a resumable upload, so a long one
isn't read into memory. A clip can be in both the library and Drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 23:29:28 -05:00
Zaldimmar
e1542d8d87 Manage request files: mark missing ones, remove them, list them all
Forms → Content requests and a new Tools → Media → Requests tab (by
type folder, each linked to its request) mark a file Drive no longer
has under Requests as Missing from Drive. Remove (admins and up)
trashes a file and takes it off its request. Drive is asked at most
every 30 seconds, and folder lookups now cache every level walked.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 23:25:58 -05:00
Zaldimmar
9ff1cd6e99 Make link cards smaller, up to three in a row
One grid whatever the count, so a lone card takes a column rather than
the width. Also the Blog Posts request folder's name, as it is in Drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 23:21:48 -05:00
Zaldimmar
a98aea6bca Version v1.9.12-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 22:50:55 -05:00
Zaldimmar
7f05076a86 Add Drive folders: per request type, and managed from the Media page
Request files go in Requests/<type> (Chapters, Events...). Media →
Files shows a tab per folder under Media, up to three deep, and can
make, rename (files follow) and delete empty folders, move a file with
its Folder dropdown, and upload into the folder showing; Choose a file
has the same tabs. A folder made, or a file moved, in Drive by hand is
followed on the next look (migration 050 records each file's folder).

Deletes now move to Drive's trash: a shared drive's Content manager,
the service account's role, can't delete outright, so request and file
deletes would have failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 22:34:27 -05:00
Zaldimmar
9854da965e Keep uploaded images in folders by what they're for
logos/ for logo and icon fields, thumbnails/ for previews the site
saves (link previews, Drive first pages), images/ for everything else;
each small copy beside its image. Images from before folders are
sorted once at boot by their uses, and every record naming them is
rewritten in one transaction after the files move.

The Media page and image pickers get a tab per folder; a picker opens
on its field's folder and uploads there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 22:29:22 -05:00
Zaldimmar
4b249c9e52 Let a content request carry the record's details, and open its editor
The Request form asks each type for its main details (a chapter's
city, meeting time, website and email; an event's dates, venue and
registration link...), stored as one JSON column (migration 049). The
server only checks the shape; the fields are src/data/requestTypes.ts.

Forms → Content requests shows them, and for a new record opens the
New editor filled in (URL ID from the name, links and a description
paragraph added); for an update, picks the record (closest name
first) and opens it with each requested value beside the current one
to use or skip. Nothing is saved until Save.

Also centres the image and file pickers, which Tailwind's reset had
pinned to the top left.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 22:21:33 -05:00
Zaldimmar
7876e060e7 List a person's blog posts on their page
A Blog posts section, the same cards as the Community blog, for the
published and listed posts they're an author of.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 22:15:18 -05:00
f797e2c509 Merge pull request 'Content display, requests and Google Workspace (v1.9.5 to v1.9.11-content-display)' (#15) from content-display into main 2026-09-30 02:34:52 +01:00
Zaldimmar
1473f4d081 Version v1.9.11-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 20:02:35 -05:00
Zaldimmar
706abf6a03 Replace the last glyph icons with Phosphor
The editor's insert, duplicate and remove buttons, the image
library's close button and audio tile, the schedule's fold-out caret,
the admin menu's caret, the history timeline's caret and gap marker,
and the QR page's copied tick.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 19:43:48 -05:00
Zaldimmar
5292eda4a6 Version v1.9.10-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 19:35:46 -05:00
Zaldimmar
b504c24fb0 Keep page files in the shared drive's Media folder, not Blog
The folder isn't only for blog posts. A Blog folder made before this
can be renamed to Media in Drive; its files keep working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 19:33:19 -05:00
Zaldimmar
6191322fea Pick up files added to the Blog folder in Drive, and name nginx errors
Opening Tools → Media → Files (or a Choose a file picker) now looks in
the shared drive's Blog folder, at most every 30 seconds, and adds
anything put there in Drive itself: shared as anyone with the link,
previewed, Google Docs, Sheets and Slides included, folders and
shortcuts left out. A file Drive won't share is named in a note and
tried again every ten minutes.

A reply that isn't the API's (nginx's own error page) now says what it
was: a 413 names nginx's upload limit, a 502 the service, a 504 the
timeout, instead of "Server did not return JSON".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 19:14:40 -05:00
Zaldimmar
5f13273e69 Version v1.9.9-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 18:43:38 -05:00
Zaldimmar
934598f954 Add a file library in Google Drive for pages to link to
Tools → Media → Files uploads PDF, Office (.docx, .xlsx, .pptx), MP3,
M4A and zip files, up to 50 MB, to the shared drive's Blog folder and
shares each as anyone with the link can view (migration 048). A file's
name and contents must agree.

Content block links get "Choose a file" (paragraph, button and image
links, list and link items, link cards). A link card also takes the
file's name and Drive's picture of its first page, fetched after
upload and saved into the image library; cards to Drive say "Google
Drive". Deleting a file says first what still links to it.

Setup and the nginx block: docs/google-drive-and-mail.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 18:37:15 -05:00
Zaldimmar
36c9226bd9 Version v1.9.8-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:54:33 -05:00
Zaldimmar
80877a4659 Let Google Workspace groups grant admin access
Site settings → Access names a group for each of admin, editor and
viewer (migration 047). Someone in one who signs in with Google gets a
Google-only account with their highest group's role, and the role
follows the groups: at every sign-in, hourly while signed in, and on
Panel → Google groups → Re-sync now. Out of every group, the account
is disabled and signed out until they're back in one.

Group accounts' roles are locked in the Panel; a superadmin's Disable
sticks. Superadmins and admin-cli accounts are never changed. If
Google can't be asked, sign-ins are refused but the hourly check
leaves accounts alone. Panel → Check their groups tests an email.

Lookups use the service account through the Directory API as
GOOGLE_DIRECTORY_AS. Setup: docs/google-sign-in.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:44:04 -05:00
Zaldimmar
d7835dd5d4 Version v1.9.7-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:19:58 -05:00
Zaldimmar
8fd3a9b15b Add a test notice button to Site settings
Panel → Site settings → Notices → Send a test notice emails the
addresses in the box now and shows where it came from, or Google's
reason for refusing, so the Gmail setup can be checked without the
journal. Superadmins only (POST /api/admin/panel/test-notice).

The docs now say the sender must be a Workspace user: a group can't
be acted as through delegation, though it can receive notices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 17:18:43 -05:00
Zaldimmar
c63478a72a Version v1.9.6-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:59:19 -05:00
Zaldimmar
0f6a796021 Keep Drive files in named folders of one shared drive
GOOGLE_SHARED_DRIVE (the shared drive's bare id) replaces
GOOGLE_DRIVE_FOLDER. driveUpload takes a folder path, found by name in
the shared drive or made the first time, so each use gets its own
folder: "Requests" for the Request form now, others later. The docs
say plainly that the setting is the id only, not the address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 16:53:40 -05:00
Zaldimmar
e7743829be Version v1.9.5-content-display
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:57:35 -05:00
Zaldimmar
dc53af238f Add a Request form, with files in Google Drive and email notices
One form at /request for blog posts, events, and new or updated
chapters, regions (updates only), partners, teams, awards and people.
?type= opens it on one; buttons on the Community sections, blog posts,
Retreats and the front page calendar do. Files (.docx, PDF, JPEG, PNG)
go to a Google Drive folder through a service account.

Requests are feedback rows of type 'content' (migration 046), in a
third Forms queue: files download from Drive, a .docx can become a
draft blog post, and deleting a request deletes its files. New content
and data requests email the addresses in Site settings through Gmail.

Setup: docs/google-drive-and-mail.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:54:00 -05:00
Zaldimmar
0e582c236b Move link cards into their own migration
044 had already run with only the table type, so a database that ran
it would never see the edited CHECK, and boot would refuse the cards
type. 044 is back as it was; 045 rebuilds content_blocks to allow
cards.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 15:53:58 -05:00