pics.git
22 months agoAllow clicking through to full quality images master
Jacob Casper [Sun, 26 Jun 2022 21:17:18 +0000 (16:17 -0500)]
Allow clicking through to full quality images

22 months agoAdd more optional metadata to RSS feed
Jacob Casper [Sun, 26 Jun 2022 21:06:02 +0000 (16:06 -0500)]
Add more optional metadata to RSS feed

22 months agoAdd enclosure element to RSS feed
Jacob Casper [Sun, 26 Jun 2022 20:31:06 +0000 (15:31 -0500)]
Add enclosure element to RSS feed

This should allow the client to download the full quality image when
fetching items if supported. The length attribute is _technically_ a lie
but it's B64 encoded so it should be greater than the actual bytes
transferred if anything, and considered a worst case.

22 months agoRender pictures at a canonical URL
Jacob Casper [Sun, 26 Jun 2022 20:20:30 +0000 (15:20 -0500)]
Render pictures at a canonical URL

Spit out the full quality images when requested at their exact URL. This
allows use as a img src element or canonical url for the RSS enclosure
element to download.

22 months agoClean up routing code
Jacob Casper [Sun, 26 Jun 2022 20:19:27 +0000 (15:19 -0500)]
Clean up routing code

This will help with passing context along to inner pages that need to
route based on their own request path context without needing to
recalculate it in every route.

22 months agoImplement routing
Jacob Casper [Sun, 26 Jun 2022 19:29:29 +0000 (14:29 -0500)]
Implement routing

I want to have kind of a rest-like `/pic/{id}` structure, and so finally
outgrew filesystem hierarchy based routing and needed to implement it in
the app.

22 months agoMake RSS feed
Jacob Casper [Sat, 25 Jun 2022 22:26:26 +0000 (17:26 -0500)]
Make RSS feed

RSS feed template, generator, and wiring. Needs to be displayed
prominently on the index and automated.

2 years agoAdd styling
Jacob Casper [Sat, 9 Apr 2022 21:17:44 +0000 (16:17 -0500)]
Add styling

2 years agoDisplay posts, not pics
Jacob Casper [Sat, 9 Apr 2022 21:17:08 +0000 (16:17 -0500)]
Display posts, not pics

Now that we have posts, pics, and comments, rework content display to be
focused on whole posts.

2 years agoRework EXIF stripping/orientation
Jacob Casper [Sat, 9 Apr 2022 21:15:53 +0000 (16:15 -0500)]
Rework EXIF stripping/orientation

This makes sure we reorient images with orientation info from iOS before
we strip them.

2 years agoStart tracking comments
Jacob Casper [Sat, 9 Apr 2022 21:15:32 +0000 (16:15 -0500)]
Start tracking comments

2 years agoFix default comment
Jacob Casper [Sat, 9 Apr 2022 21:15:04 +0000 (16:15 -0500)]
Fix default comment

It was intended to be a placeholder

2 years agoAdd "error handling"TM
Jacob Casper [Sat, 9 Apr 2022 21:14:16 +0000 (16:14 -0500)]
Add "error handling"TM

don't actually handle anything but at least set a header and display
something for me. I kept hitting php_ini_maxfilesize errors.

2 years agoInitial commit
Jacob Casper [Fri, 8 Apr 2022 21:38:29 +0000 (16:38 -0500)]
Initial commit