Repository navigation
bffc 7 get recurring event endpoint - #240
Closed
jxuistrying wants to merge 53 commits into
Closed
jxuistrying wants to merge 53 commits into
jxuistrying wants to merge 53 commits into
Conversation
Create database
…endpoint bffc-14 Added GET sites endpoint
Returns all images and videos for a single site in one paginated response, newest first, with an optional ?type=image|video filter. - Extend Image/Video entities with title, description, uploadedAt (+ migration and updated seed data) - New media module: controller, service, DTOs mirroring the sites pattern - uploadedBy derived from the site steward; URLs are unsigned S3 URLs - ParseUUIDPipe -> 400 for malformed ids, NotFoundException -> 404 - Unit tests for both-types, single-type, empty, each filter, 400, 404 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace deriving uploadedBy from the site steward with a real per-item uploaded_by foreign key on the images and videos tables, so each media item reports who actually uploaded it. - Add uploaded_by FK (nullable, -> users) to Image/Video entities - Extend the migration with the column + FK constraint on both tables - Seed media with varied uploaders to show per-item attribution - Service loads images.uploadedBy / videos.uploadedBy and maps the name - Update unit tests accordingly Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The uploaded_by columns/FKs were added by editing 1789710910807, which was already applied in existing databases, so migration:run skipped it and the columns were never created (entity expected a column that didn't exist). Revert 1789710910807 to its applied form and add uploaded_by in a new 1789710910808 migration so it runs on databases that already have 807. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
bffc-6 GET /announcement_id/{site_id}: List announcements published for a given site
…e-id #21 - Add GET /media/:siteId endpoint
bffc-2 GET /adminEvent: List staff endpoint
Add createUser, addUserToGroup, removeUserFromGroup, disableUser and enableUser, plus CreateCognitoUserDto and role-to-group mapping. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hema bffc-15 Update Database Schema
Resolve seed.ts conflict and adapt the new admin events endpoint to the startTime/endTime columns; drop the volunteer opportunity seed since that entity was removed on this branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bles bffc-17 Update Database Tables
25 - Add Cognito admin user management functions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ℹ️ Issue
Closes #7
📝 Description
✔️ Verification
used swagger api to test endpoint


🏕️ (Optional) Future Work / Notes
none