Commit Graph

150 Commits (e545dff22cd01635e96ae9793292ddd2dfbf7c13)

Author SHA1 Message Date
endorphant 56419f2f43 there was a major bug that caused users who opted not to publish to
crash during version checking. the version checker was trying to update
files associated with published blogs, and crashing due to trying to
read null paths.

this fix checks to see if the user has opted to publish *before* running
those updates.
2016-09-07 22:05:38 -04:00
hvincent 9e372b4160 Merge pull request #2 from Sanqui/master
Fix lists when encountering inacessible entries
2016-08-31 16:17:54 -04:00
sanqui 1a823c3e3d Fix lists when encountering inacessible entries 2016-08-31 18:36:37 +00:00
endorphant e0f2f64d02 fixing publish dir bug, again
threw in a str cast so the program won't crash when the publish dir
settting ends up as null. I SHOULD REALLY FIGURE OUT WHY THAT KEEPS
HAPPENING but i'm so sleepy
2016-06-14 22:39:03 -04:00
endorphant 72d0bdf208 license change
switching over to mit license.
2016-06-14 21:51:49 -04:00
endorphant d33bdbfab1 adding environment validator and nopub clearer
on startup, ttbp checks to see if the environment is valid, and prompts
user to run setup again if not. also, nopub files are now removed from
html if they were generated.
2016-06-09 22:42:08 -04:00
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 6dd3cad6a6 updating changelog 2016-06-02 03:48:28 -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 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