Commit Graph

60 Commits

Author SHA1 Message Date
Sam Becker
1a592aca26 Stop categorizing database as Vercel 2025-09-21 09:48:04 -05:00
Sam Becker
1e66815a3d
Albums (#315)
* Make /db top-level module

* Create Album type

* Pin pnpm version

* Generalize query modules

* Finalize album postgres data type

* Remove temp albums prop

* Create basic album primitives

* Fix temporary album bugs

* Add albums to sidebar

* Disambiguate string date utilities

* Localize album language

* Add album join option to core photo queries

* Tweak album icon placement

* Add album photo detail page

* Refine Album data model

* Display album subhead when available

* Generate album og images

* Finalize album share modal

* Add albums to sitemap

* Statically pre-render albums

* Display tags on albums

* Add albums to cmd-k menu

* Handle album tag overflow

* Stop truncating album subheads

* Create core admin album views

* Make albums editable

* Create/edit albums on photo save, add delete album
2025-09-16 21:47:22 -05:00
Sam Becker
38c085da59 Tweak prefixed redis creds 2025-09-12 22:13:18 -05:00
Sam Becker
f07f8e44b9 Make Redis connection resilient to more configurations 2025-09-12 21:45:11 -05:00
Sam Becker
0de8087fb4 Flag deprecated environment variables 2025-09-11 21:14:06 -05:00
Sam Becker
9e8242828c Add recommended keys for legacy env vars 2025-09-11 09:37:03 -05:00
Sam Becker
7c9ce0d26c
Expand social networks (#308)
* Create utility for managing env var-based key lists

* Add expanded social content

* Finalize content for social networks additions

* Add social network config to README
2025-09-10 23:22:26 -05:00
Sam Becker
1a72a84497 Bump deps 2025-09-01 21:03:25 -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
Simon
ba7af69592
Fix html lang (#291) 2025-08-14 16:50:40 +02: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
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
b7cb6715b7
Speed up category hovers (#279)
* Extract out ShareHover components
* Refactor hover/category state
* Rename photo query options types
* Restore category count slice of app state
* Streamline entity hover headers
* Standardize swr keys
* Suppress hover counts to years
* Refine entity hover design
* Make image hovers opt out
2025-07-04 12:19:45 -05:00
Sam Becker
d7fbc8bd68
Configurable photo sort order (#277)
* Introduce configurable photo sort order

* Fix recents image pre-rendering

* Refine sort order config

* Store sort order in client state

* Add core views to support sort

* Separate sort and priority preferences

* Consolidate imports, add lint rule

* Refine photo sorting documentation

* Update README sort text

* Finalize sort config
2025-06-29 21:05:13 -05:00
Sam Becker
b3972a6032
Date-based photo sets (#276)
* Add 'recents' and 'years' categories

* Add recents and years visibility config

* Add fundamental recent/year queries

* Display initial date-based data in sidebar

* Adjust recents data type

* Remove date rage from sidebar footer

* Reformat recents/years in sidebar

* Organize years in grid

* Rename date -> year

* Add year-based views

* Split sidebar years into rows

* Add years to cmdk menu

* Localize 'years'

* Create /recents views

* Enable recents share modals

* Fix recents og image

* Statically optimize /recents image

* Don't statically optimize /recents page

* Update i18n

* Add recents to cmdk

* Suppress spinner for year badges

* Refactor sidebar height calculation

* Add recents to sitemap
2025-06-28 11:48:48 -05:00
Sam Becker
21d465c1ec Offer config for showing only tags with multiple photos 2025-06-25 09:29:05 -05:00
Sam Becker
4b341348e5 Reorder config sections 2025-06-25 08:36:16 -05:00
Sam Becker
e1af77d40c
OG image hovers (#268)
* Create og tooltip component

* Refactor og image handling

* Introduce category hover configuration

* Add og hovers to all categories

* Move category labels to client

* Disable og tooltips in headers

* Prevent og tooltips on accessory/loader hovers
2025-06-19 18:19:59 -05:00
Sam Becker
4dc9149931 Remove public api endpoint 2025-06-12 18:54:50 -05:00
Tadej Novak
559f61fa68
Add public feed configuration 2025-06-08 13:42:25 +02:00
Sam Becker
34e6fdb6c2 Refine site meta observability 2025-06-03 18:30:25 -05:00
Sam Becker
a063d0d29b Add meta content to admin config page 2025-06-03 09:35:51 -05:00
Sam Becker
d0fdbf4e04 Fix en-us labels 2025-05-27 17:49:45 -05:00
Sam Becker
bc7fc198c0 Adjust html lang attribute, standard i18n capitalization 2025-05-24 16:18:19 -05:00
Sam Becker
2888fd9318 Clarify photo matte color config 2025-05-23 17:15:54 -05:00
Sam Becker
87915875c7 Add OpenAI base url override to app config 2025-05-22 09:38:56 -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
526ba1a43b Lazy load language data 2025-05-12 09:10:28 -05:00
Sam Becker
878edc713d Switch to template i18n strategy 2025-05-11 17:16:12 -05:00
Sam Becker
6ab7b2089f Standardize locale language 2025-05-10 16:47:25 -05:00
Sam Becker
47fac5c8d6 Actually remove top-level await 2025-05-10 11:25:17 -05:00
Sam Becker
24a2877d82 Integrate basic I18N text 2025-05-10 00:22:17 -05:00
Sam Becker
f0a90172f5 Create core I18N types + content 2025-05-06 22:15:31 -07:00
Sam Becker
db5717ce1d Add configuration for keyboard shortcut tooltips 2025-04-27 16:18:26 -05:00
Sam Becker
56aaf14c7c Adjust BASE_URL logic 2025-04-22 09:42:54 -05:00
Sam Becker
d4d63cf5d1 Introduce short share urls 2025-04-22 09:38:08 -05:00
Sam Becker
34bc5855ec Rename domain env var: NEXT_PUBLIC_DOMAIN 2025-04-22 09:19:05 -05:00
Sam Becker
bcbba9b08f Resume suppressing sql debug logs when building 2025-04-06 15:29:02 -05:00
Sam Becker
4eacce7456 Cache photo meta queries 2025-04-06 15:00:24 -05:00
Sam Becker
2ce07492ed Cache global category queries 2025-04-06 14:48:30 -05:00
Sam Becker
7dd07aac6e Shrink client bundle 2025-04-04 18:09:47 -05:00
Sam Becker
0dfc12d06e Standardize film types/arguments 2025-03-30 00:51:14 -05:00
Sam Becker
69ec607e37 Show category counts on hover 2025-03-29 15:44:53 -05:00
Sam Becker
813658a3d4 Offer matte background color configuration 2025-03-29 13:00:24 -05:00
Sam Becker
7f734659a3 Refactor meta content, accept explicit nav title 2025-03-25 19:53:00 -05:00
Sam Becker
70a2cb3c37 Add configuration for nav site title 2025-03-25 14:14:00 -05:00
Sam Becker
5c8dbcc64b Document sidebar collapse configuration 2025-03-23 17:20:29 -05:00
Sam Becker
6c967b9970 Collapse sidebar based on configuration 2025-03-23 11:46:29 -05:00