NGU-Web/server/src/routes
Zaldimmar f99010252f Third audit: security fixes and server-side scalability
Security:
- docx unzip reads each part once (a repeated entry was a zip bomb)
- request files must be named for their type (no PDF named .html)
- team roster hidden when its organization is unpublished
- /people?ids= hides draft organizations, takes 200 ids
- v_events takes the first published host and reads event_hosts
  directly (migration 059, plus an index on person_awards.event_id)
- group accounts refused while access groups are off; group sync
  can't undo a superadmin's disable
- 64 KB body limit on login, feedback and csp-report
- Drive pick-up races no longer 500; random upload boundary

Scalability:
- /events filters by scope, host, status and type on the server;
  Home no longer prefetches every event
- /organizations leaves out bodies and leadership; the map's group
  panel fetches its own
- admin lists page with Show more and a real count
- content request record search and the newsletter's post list
  ask the server

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 18:29:26 -05:00
..
admin-entities.js Tidy the structure the audit found 2026-09-29 03:02:21 -05:00
admin.js Let the image picker take photos sent with requests 2026-09-30 00:11:01 -05:00
auth.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
blog.js Page editors: Retreats, Community, Resources, Organization and History built from sections 2026-10-01 00:15:30 -05:00
clips.js Write the site in US English 2026-09-30 13:24:11 -05:00
content.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
directory.js Call local chapters groups, everywhere 2026-09-30 13:19:51 -05:00
feedback.js Write the site in US English 2026-09-30 13:24:11 -05:00
files.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
history.js Call local chapters groups, everywhere 2026-09-30 13:19:51 -05:00
home.js Write the site in US English 2026-09-30 13:24:11 -05:00
import.js Add a Request form, with files in Google Drive and email notices 2026-09-29 15:54:00 -05:00
media.js Let the image picker take photos sent with requests 2026-09-30 00:11:01 -05:00
pages.js Cleanup of old-data fixes; an editor for the Organization page 2026-09-30 23:37:35 -05:00
panel.js Let Google Workspace groups grant admin access 2026-09-29 17:44:04 -05:00
people.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
requests.js Third audit: security fixes and server-side scalability 2026-10-01 18:29:26 -05:00
sitePages.js Page editors: Retreats, Community, Resources, Organization and History built from sections 2026-10-01 00:15:30 -05:00