sketching out a submenu format, and testing it by making a new feels
reviewing option. if the user is publishing, review feels now includes
the option to modify publishing settings for individual entries (which
is a function yet to be written.)
maybe i'll remember to document this to make a guide for adding new
submenus.
moved a whole bunch of functions around for better code clarity. it's
3am and i can't sleep, so i vaguely expect to have to revert this in the
morning.
now there's an annotation in the __version__ for beta; added a check on
program start to see if the user is switching between beta and stable,
and switches accordingly.
patching updates should still work as usual.
made the feels browser generalized so that you can now plug in anyone
with a ttbp. neighbor view now allows you to pick a ttbp to browse.
also cleaned up some code with more docs, better function names.
in the live feels feed, timestamp now indicates what deflection from UTC
the time reads. this is based on the local time zone set for the user
who caused the live feed to update.
holy crap! here i am, about a decade and a half after my first Formal
Instruction in programming, and i suddenly understand code
documentation. part of this is that sometimes i stare at functions
forgetting why they're there, or start writing a function with the
distinct feeling that i'm typing code i've already typed before, and
realize that maybe there's a better way.
so i skimmed code from other people that i've used in my own repos, and
lifted the general gist of their commenting style while doing things
that feel right to me. i still don't know exactly how i like things, but
i'm learning. this is the best way i learn things.
then. then! i learned that i can just pydoc any of my modules and pydoc
will generate literally the same thing that i read when i pydoc other
module! what. WHAT. this is amazing. i feel like a real person. i
understand where those docs come from now, and how to make them myself.
i'm learning so much.
why does this feel so amazing.
all of this is in a commit message that i'm going to fire off into the
sun but i just need to put this out there because this feels important.
patcher now asks user to set new publish option on load. publish and
unpublish correctly links or unlinks file from user's public_html.
also, ~tightened up the graphics a little~
now checks for user version; if it doesn't match current version, apply
patches.
current patch reconfigures user directories, moving files out of
public_html and setting up a symlink from user's "publish dir" to
.ttbp/www instead. also moves style.css into .ttbp/config and symlinks
to www/style.css in preparation for style selector.
first, breaking out all the setup optiosn into smaller functions for
better readability. adding an option to set blog to be published or not,
and checks this before printing public feels list.