Commit Graph

81 Commits (aebdd51d08fa306fe3bb4f17b9e546d720dcef8a)

Author SHA1 Message Date
endorphant aebdd51d08 fixing publishing issue with updating from <0.8.6
previously, symlinks were not being created correctly; this commit
should address that.
2016-06-09 21:18:34 -04:00
endorphant 116be618a0 doing some repo cleanup 2016-06-03 04:16:12 -04:00
endorphant 9d34f87836 cleanup pass
fixing readme typo, switching live link to https, making feels
publishing re-render after reviewing feels.
2016-06-02 03:46:19 -04:00
endorphant b5babed1fc more WHITESPACE TIGHTENING 2016-05-31 23:08:14 -04:00
endorphant 84700451c7 display cleanup, readme update
TIGHTENING UP SOME GRAPHICS

also catching blank message for feedback

and updating the docs

and adding date printing to redraw/banner
2016-05-31 22:42:03 -04:00
endorphant b144a1a7d9 review menu and editor select cleanup
stubbing nopub handler; cleaning up editor select handler
2016-05-31 18:27:07 -04:00
endorphant 9541a7c3ae adding extended feels review options
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.
2016-05-31 15:31:02 -04:00
endorphant 758a10a123 added pub/nopub listing in view feels 2016-05-31 15:08:54 -04:00
endorphant 0fe5b9553a breaking out nopub into its own function 2016-05-31 15:03:34 -04:00
endorphant d1d4b2cc8f correcting a couple minor patch utility issues 2016-05-31 14:55:45 -04:00
endorphant 9e3cca2b97 incrementing stable to 0.9.1
-adding graffiti wall to stable
-flopping over a bunch of core changes from beta
2016-05-31 03:20:15 -04:00
endorphant 328c6a498a adding beta banner 2016-05-27 14:18:37 -04:00
endorphant e1bd23d257 graffiti wall testing
added graffiti wall to beta. cleaned up beta checking, including new
beta banner. added rainbow text to util.
2016-05-27 14:08:45 -04:00
endorphant 53466c8a5f code tweaks
making setting passing optional for core.load() as part of transition
mode between beta and stable.

fixed redraw for feedback menu.
2016-05-27 03:31:46 -04:00
endorphant 3a08bcb116 code cleanup
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.
2016-05-27 03:21:11 -04:00
endorphant 82cbcd535c adding build switching utility
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.
2016-05-26 23:59:04 -04:00
endorphant 946f73290b modifying www feed timestamp
changed the timezone display to look neater
2016-05-23 16:00:51 -04:00
endorphant 098d5a0bd2 updating changelog 2016-05-22 22:52:48 -04:00
endorphant 3782a1c4c7 merging 0.9.0 updates to live
so many docstrings to copy oh god
2016-05-22 22:42:31 -04:00
endorphant d3d839f910 increment beta to 0.9.0
mostly documentation updates
2016-05-22 22:30:59 -04:00
endorphant d300c19a2c adding neighbor feels browsing
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.
2016-05-22 22:14:16 -04:00
endorphant 03cffe3e30 whitespace adjustment
better alignment for neighbor view printing for users not publishing
2016-05-22 20:52:27 -04:00
endorphant 5f1b0e04dd adding in-program documentation browser
it just opens up the readme file in links.
2016-05-22 01:49:38 -04:00
endorphant ce6f34ed2c adding more docs 2016-05-22 01:12:47 -04:00
endorphant 8041ece179 timezone display
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.
2016-05-22 00:53:21 -04:00
endorphant f98513a079 code cleanup
adding more code comments, cleaning up deprecated code, improving
general readability
2016-05-22 00:45:04 -04:00
endorphant dccb1570d8 more documentation updates
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.
2016-05-21 23:36:21 -04:00
endorphant 1827d8467f big documentation pass 2016-05-21 22:18:25 -04:00
endorphant 22676344c9 incrementing to 0.8.7
fixed bug in patching utility that caused publishing setting to not be
saved.
2016-05-20 11:06:42 -04:00
endorphant 82172e4a29 documentation
styling main ttbp info page, which now also references the readme.MD
file and has a snazzier live feed view.
2016-05-20 00:32:50 -04:00
endorphant cd63c6f09a started nopub feature
core file loading now checks files against a list of nopubs, stored in
.ttbp/config/nopub
2016-05-20 00:06:21 -04:00
endorphant ed071ebb67 incrementing to v 0.8.6
adding a warning in publish directory selection about overwriting old
files.
2016-05-19 23:35:34 -04:00
endorphant d94f3d2830 adding publish setting to patcher
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~
2016-05-19 23:19:02 -04:00
endorphant 2a406d7958 added patching utility
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.
2016-05-16 21:42:32 -04:00
endorphant 6013daad11 fixed directory blanking snag 2016-05-16 01:02:06 -04:00
endorphant ae067e4053 fixed changing publish directory
changing publish directory now correctly blanks old file and sets up new
direcotry, including copying over style.css and regenerating html
entries.
2016-05-16 00:49:36 -04:00
endorphant 1ff8fe39cd feed publishing tweak
changing feed publishing to report absolute instead of relative
timestamp
2016-05-15 18:22:18 -04:00
endorphant fecb5b9907 working on private blogging
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.
2016-05-15 18:15:53 -04:00
endorphant 7a30ca4a5b removing redundant counter 2016-05-15 02:43:39 -04:00
endorphant 7c1e28e919 added www feels directory
whenever someone completes writing or editing a new entry, post to the
global feels directory at ttbp/index.html
2016-05-15 02:36:42 -04:00
endorphant 4aa185a9cf moved month printing to chatter
really, time.strftime should probably be used for this, but i got stuck
on lowercase month names for consistency and would rather use my
internal dict than lowercase the strftime return.
2016-05-15 02:04:02 -04:00
endorphant 1842901ce6 minor text fixes 2016-05-15 01:55:18 -04:00
endorphant 23ed372d64 incremented to v0.8.0
added markdown parsing for entries
2016-05-15 01:19:44 -04:00
endorphant 36e1102720 increment to 0.7.5
added beta option, which includes rainbow menus
2016-05-15 00:37:43 -04:00
endorphant b04d1a4378 cleaning up a couple of print strings 2016-05-15 00:22:05 -04:00
endorphant 8825debf96 color and code cleanup
added color generation to banner!

converting more static text to here docs.
2016-05-15 00:19:05 -04:00
endorphant cbbdb1e8b7 mail and code cleanup
_ttbp.py is now the working copy i'm using, so i don't bust the live
program.

i brought over the id code generator that i use in txtminebot to
generate random id tags for feedback subject lines. the feedback
mechanism now uses sendmail instead of writing to disk.

i also started to clean up some of the larger text blocks by using here
documents.
2016-05-14 23:44:03 -04:00
endorphant a82c25840e incremented to version 0.7
added filename validator
2016-05-11 00:10:04 -04:00
endorphant 30426ab016 cleaned up ^c and ^d exits by adding in a loop for main menu loading.
added a credits page.
2016-05-10 23:54:44 -04:00
endorphant ed2a14b846 tweaked neighbor view to show last update time instead of feels count 2016-05-10 12:14:53 -04:00