Commit Graph

229 Commits (198bde8ed385da8aeccb0dc5b5c3e18a6a2084f4)

Author SHA1 Message Date
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 68b8f5b6ab directory reorg 2016-05-22 01:52:29 -04:00
endorphant a4a0b1cefa Merge branch 'master' of https://github.com/modgethanc/ttbp 2016-05-22 01:50:12 -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
hvincent 6140eef1e3 adding screenshots
so people can see what it looks like!!!!
2016-05-22 01:36:11 -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 d566154349 Merge branch 'master' of https://github.com/modgethanc/ttbp 2016-05-21 21:40:05 -04:00
endorphant 02aa584f60 documentation updates 2016-05-21 21:39:56 -04:00
hvincent 17bf0e1933 adding GNU GPL license 2016-05-21 01:43:50 -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 e2bde9a42a more docs updating 2016-05-15 03:11:51 -04:00
endorphant 7a44cffc30 updating docs 2016-05-15 03:09:15 -04:00
endorphant 844bd86050 editing docs 2016-05-15 02:53:50 -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
endorphant 92e2f3731e made a cooler banner, and added things to changelog TDL 2016-05-10 11:51:42 -04:00
endorphant cfd6a42683 neighbor view sorts by most recently updated blog
added input capture from feels recording page, so if user starts typing before opening text editor, progress is saved.
working on improving exits and ^c/^d catching
2016-05-08 22:59:48 -04:00
endorphant 3491cc7843 fixing more eject bugs 2016-05-04 20:22:14 -04:00
endorphant e8607aa42d fixed ejecting from settings panel 2016-05-04 20:10:33 -04:00
endorphant 8ae32eb4bb timestamp tweaks, adding tdl 2016-05-04 20:07:42 -04:00