Pete's Log: More log updates

Entry #2069, (Meta)
(posted when I was 43 years old.)

Spent some more quality time hacking Pete's Log code. I think these days the familiar just tends to be comfortable.

I made navigation a little more friendly to those not logged in. Since I am using private entries with much more frequency lately, I figured I could reduce the frequency of "Unavailable Entry" messages. So now instead of showing the last entry, the home page shows the last entry the user has access to. Similarly, the first/prev/rand/next/last navigation buttons now also skip entries the user doesn't have access to.

Did a bunch more refactoring of the odd corners of the code that hadn't been updated to use parameterized database queries yet. That feels nice. Other backend work also includes making date handling more consistent. There's still a ways to go. The joys of twenty year old code.

I now can also finally add time zones via the web interface, something I've wished I had on three different occasions. So now I need to travel to a time zone I haven't posted from before and write something about it. Some day...

The biggest (and perhaps silliest) addition is I integrated ski day tracking into the log. Granted I have tracked only a small percentage of all my skiing, but this lets me feel a little more like I've filled the 19-month gap starting in mid-2013 since the 2013-2014 ski season gives me 70 ski day entries. I've decided against letting ski days fill in the gaps in the statistics (that would feel like cheating) but they do show up in On This Day and I tagged the people I skied with. Now I'm wondering if I can reconstruct any other past ski days.

This work also gets me closer to the goal of maybe eventually integrating my saved Facebook data into Pete's Log, I think it would work similarly—only be integrated into On This Day and tagged people. Perhaps also with more privacy restrictions. We shall see... lots more to do...