Commit Graph

71 Commits

Author SHA1 Message Date
Sam Becker
b8c01492b8
Store optimized assets for all photos (#304)
* Begin storing optimized photo files

* Increase optimized image size to 1080

* Refactor photo/storage modules

* Refine storage file naming api

* Simplify photo storage api

* Finalize photo storage api

* Start storing/serving optimized photos

* Finalize optimized photo asset generation

* Temporarily allow static optimization on PREVIEW branches

* Restore static optimization as production-only

* Remove og image inline-flex class

* Tweak convert upload signature

* Refactor optimized file storage

* Display optimized files when they exist in photo form

* Create small disclosure component

* Report photo storage files more accurately

* Sort optimized files

* Generate optimized storage files when updating/syncing photos

* Include source bucket when copying files with MinIO

* Make deleting files more resilient
2025-09-06 23:20:20 -05:00
Sam Becker
1a72a84497 Bump deps 2025-09-01 21:03:25 -05:00
Sam Becker
200f73a5ca Warm redis store once per client session 2025-08-28 09:20:10 -05:00
Sam Becker
f7de56a7b9 Refine storage config 2025-08-27 20:46:57 -05:00
Christopher Jeffrey
363354d797
feat: add minio support (#297) 2025-08-27 19:20:56 -05:00
Sam Becker
25b8d65030
Break up photo form into sections (#298) 2025-08-26 20:36:51 -05:00
Sam Becker
0d02306ba0 Migrate to dedicated indent style line plugin 2025-08-08 23:29:00 -05:00
Sam Becker
8727fc18ac Refactor image response url checks 2025-08-05 10:03:53 -05:00
Sam Becker
59f5c74269
Chromatic sorting (#284)
* Test color palette extraction

* Fix import

* Add hex <> oklch conversions

* Add 'hue' storage to photos

* Consolidate color modules

* Add chromatic config, track missing color data

* Bump deps

* Fix lens text test

* Finalize color storage

* Refactor color imports

* Hide form color data when disabled

* Store all average oklch color components

* Finalize color-config language

* Optimize photo syncing for color data

* Only update color data when syncing if possible

* Build out all color sorts

* Debug image colors

* Improve color debugging

* Improve color logging

* Simplify color sorting

* Bump deps

* Fix color sync logic

* Switch to sort params: ascending, descending

* Fix commandk sort menu

* Update tr-tr sorting language

* Add color capture to all photo extractions

* Add color visualization to photo form

* Standardize photo update language

* Create global debug color update function

* Improve color data capture logging

* Update maximum function duration for admin photos

* Add note to remove maxDuration

* Use AI to generate sorting color

* Conditionally use AI to analyze colors

* Manage AI color analysis batched requests

* Fix color reporting in admin photo table

* Only update color where AI fields are missing

* Temporarily upgrade admin/photos timeout

* Fix pro-based max duration

* Standardize color sorting foundations

* Update color sorting language

* Refactor color calculations

* Restore max duration time

* Update color-based sort menu labels

* Finalize color documentation

* Clean up color test actions

* Round color sort values before submitting to db

* Consolidate color server actions
2025-08-03 19:31:02 -05:00
Sam Becker
6c73b14b85 Make queries resilient to unconfigured installations 2025-07-19 15:36:42 -05:00
Sam Becker
646f32e642
Rich sort controls (#283)
* Generalize app switcher menus

* Organize sort module

* Build configuration for nav sort control

* Refine sort menu styles

* Upgrade next.js

* Reset custom sort when clicking grid/full a second time

* Light up sort button when overridden
2025-07-15 22:43:36 -05:00
Sam Becker
4f9da5d13d Support OpenAI-compatible providers 2025-05-22 09:33:40 -05:00
Sam Becker
eabdbf1329
Make Supabase postgres urls more resilient (#257)
* Bump deps

* Remove redundant postgres ssl query param

* Tweak postgres code

* Refactor postgres url formatting

* Change postgres url imports
2025-05-22 01:07:04 -05:00
Sam Becker
b3dba5f676 Increase AI rate limit window for batch requests 2025-04-20 11:48:50 -05:00
Sam Becker
26a8dd2d0a addRandomSuffix now default in vercel-blob 2025-04-12 00:49:10 -05:00
Sam Becker
b6a5a0c5da Improve pixel lens formatting 2025-04-04 22:13:10 -05:00
Sam Becker
7dd07aac6e Shrink client bundle 2025-04-04 18:09:47 -05:00
Sam Becker
47a53a2398 Support iPhone lenses without makes 2025-04-04 08:57:55 -05:00
Sam Becker
51a614d97f Finalize non-fuji film icon treatment 2025-04-01 23:43:29 -05:00
Sam Becker
f9db50e41a Generalize film type and labeling strategy 2025-04-01 21:08:36 -05:00
Sam Becker
087a5e223c Finalize film dropdown icon 2025-04-01 20:43:11 -05:00
Sam Becker
16c58facc9 Always show all film simulations for fujis 2025-03-31 09:13:13 -05:00
Sam Becker
0dfc12d06e Standardize film types/arguments 2025-03-30 00:51:14 -05:00
Sam Becker
e062e6fb6a Merge branch 'main' into universal-films 2025-03-29 22:59:17 -05:00
Sam Becker
c5d23ab037 Guard against empty lens strings 2025-03-29 22:59:02 -05:00
Sam Becker
763cc4de14 Rename core film types 2025-03-29 22:58:04 -05:00
Sam Becker
ce9e384375 Add iPhone mini support 2025-03-29 22:19:42 -05:00
Sam Becker
88ef90fb38 Categorize pixels lenses without makes 2025-03-29 12:06:12 -05:00
Sam Becker
b1bbd8935a Loosen Pixel lens regex 2025-03-28 23:51:04 -05:00
Sam Becker
075f104367 Offer abbreviated formatting for Pixel lenses 2025-03-28 23:45:57 -05:00
Sam Becker
8075a49a7b Add lens specs for all X-era iPhones 2025-03-25 11:30:49 -05:00
Sam Becker
d6fe11f2e2 Fix camera test 2025-03-21 18:51:47 -05:00
Devin Tyler Cunningham
ecc8d7f2ca
fix: sony model name does not include 'sony' 2025-03-21 08:40:03 -07:00
Sam Becker
8ab0e68c00 Refine sony formatting 2025-03-20 23:38:12 -05:00
Sam Becker
bc0216f832 Account of screen modifier 'A' in sony models 2025-03-20 23:01:48 -05:00
Sam Becker
7ab259a09e Apply special formatting to A/FX Sony cameras 2025-03-20 21:28:58 -05:00
Sam Becker
7e207ed95b Improve iPhone lens compatibility 2025-03-17 08:37:57 -05:00
Sam Becker
3e0f2202d3 Refine storage file size reporting 2025-03-15 11:33:59 -05:00
Sam Becker
2b9d12d43d Change upload size reporting on R2 2025-03-15 11:19:31 -05:00
Sam Becker
53d8b07594 Change upload size reporting on AWS 2025-03-15 11:13:09 -05:00
Sam Becker
fd89e2b48a Streamline nextimageurl signatures 2025-03-14 22:54:27 -05:00
Sam Becker
1ff7404f6e Make upload list friendlier 2025-03-14 22:10:26 -05:00
Sam Becker
3c4f72dba4 Add film simulation to recipe og images 2025-03-10 23:23:17 -05:00
Sam Becker
0565eb93a5 Use user-defined quality in OG images to reduce cardinality 2025-03-02 12:37:23 -06:00
Sam Becker
b2d5747cb7 Capture kelvin temperatures in recipes 2025-03-02 09:43:45 -06:00
Sam Becker
1aadcfa193 Reenable github api caching 2025-02-26 23:10:58 -06:00
Sam Becker
2a0e898ba6 Eagerly load admin nav with client-side cookie strategy 2025-02-26 19:45:18 -06:00
Sam Becker
34667efedf Adjust DR schema, refine recipe behavior 2025-02-23 19:18:55 -06:00
Sam Becker
bd733a285a Refine and debug recipe layout 2025-02-22 18:53:24 -06:00
Sam Becker
8c50496b74 Address toast error 2025-02-20 23:28:32 -06:00