Commit graph

20 commits

Author SHA1 Message Date
f7d6f23b78 fix: add missing migration for project header visibility fields
Fixes P0 production error where projects failed to load due to missing
database columns. The schema was updated in commit 12d2ba1 to add three
Boolean fields (showFeaturedImageInHeader, showBackgroundColorInHeader,
showLogoInHeader) but no migration was created.

This migration adds the missing columns to the Project table with their
proper defaults (all true), resolving the "column does not exist" error
in production.
2025-11-23 06:05:42 -08:00
e6392da856 fix: remove dev.db from git and configure Railway properly 2025-11-23 03:33:59 -08:00
12d2ba1667 feat: add branding preview with visibility toggles
Add live preview to branding form showing featured image, background color, and logo. Add database fields and toggles to control visibility of each element in project headers.
2025-11-03 23:03:13 -08:00
4f46b0e666 feat: add video upload support with ffmpeg processing
- Add video MIME types support (WebM, MP4, OGG, MOV, AVI)
- Increase upload size limit to 100MB for videos
- Add ffmpeg integration for local video processing
- Generate video thumbnails at 50% duration
- Extract video metadata (duration, codecs, bitrate)
- Add database fields for video metadata
- Support video uploads in both local and Cloudinary storage
- Maintain aspect ratio for video thumbnails (1920px max width)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-23 03:13:36 -04:00
38b62168e9 feat(database): redesign album system with content support and geolocation
- Add album content field for rich text/structured content
- Add geolocation support for albums with position and zoom level
- Remove direct photo-album relationship in favor of MediaAlbum join table
- Support many-to-many relationships between media and albums
- Add Album relation to Universe model for better organization

This enables albums to have rich content beyond just photos and supports
geographic data for location-based albums.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24 01:10:54 +01:00
dab7fdf3ac feat: add color extraction and analysis for media
- Add dominantColor, colors, and aspectRatio fields to Media model
- Integrate Cloudinary color extraction during upload
- Add smart color selection algorithm to pick aesthetically pleasing dominant colors
- Extract and store color palette information
- Include color data in photo API responses

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-19 01:58:52 +01:00
6b44c1b7d0 Simplify photos architecture 2025-06-13 06:55:21 -04:00
610a421207 Better single photo view 2025-06-13 03:47:52 -04:00
d44bcbb80e Fix some console errors 2025-06-11 22:19:07 -07:00
c6ce13a530 Simplify posts
We had a lot of unnecessary complexity here due to post types that never ended up getting used.

We also made the post slug field reactive and bound to the title field.

We also fixed filters on the Universe admin page so we can filter by unpublished posts too (WIP)

We also fixed the hover state of BackButton
2025-06-11 00:53:54 -07:00
3d993d76ed Remove old post types to reduce confusion 2025-06-11 00:06:44 -07:00
ddea953321 Remove excerpt from seeds 2025-06-02 15:43:58 -07:00
8e746097b3 Merge branch 'universe/posts' of github.com:jedmund/jedmund-svelte into universe/posts
# Conflicts:
#	package.json
2025-06-02 15:34:40 -07:00
4a82426dd5 Get rid of explicit excerpt on Post 2025-06-02 13:03:03 -07:00
78443e2bdd Prettier + build errors 2025-06-02 08:41:03 -07:00
0d90981de0 Fix Edit Post and Album list 2025-06-02 04:32:32 -07:00
2f504abb57 big update 2025-06-01 23:48:10 -07:00
c7b4f57ab0 tbh i dont know whats going on anymore 2025-05-31 02:08:26 -07:00
4fde0e6148 New project + Edit project working
* Can fill out metadata
* Uploads SVGs for logos
* Editor works and persists/loads data
2025-05-29 20:19:01 -07:00
80d54aaaf0 Admin WIP
Projects and Posts sorta work, need design help
2025-05-27 16:57:51 -07:00