Commit Graph

152 Commits

Author SHA1 Message Date
Tobin
e3db8d4ee4 properly strip subreddit name and post submission 2015-04-01 13:20:18 -05:00
Tobin
19aea61d4e typo 2015-04-01 13:07:14 -05:00
Tobin
5c68a008c9 Basic framework to post submission, doesn't actually submit it yet 2015-04-01 13:06:17 -05:00
Tobin
ac98f564a3 fixed some janky things that autopep8 did 2015-03-31 09:38:20 -05:00
Tobin
16ab77fc2c ran autopep8 2015-03-31 00:20:44 -05:00
Tobin
e31997d392 more unused imports 2015-03-30 23:48:43 -05:00
Tobin
5d72126fa5 clear input queue when moving cursor 2015-03-30 23:37:50 -05:00
Tobin
9a4a0b59ea missing show_help import 2015-03-30 23:19:23 -05:00
Tobin
3ad9a0c9f4 remove unused sys import 2015-03-30 23:16:59 -05:00
Tobin
69a346abe8 missing import statement 2015-03-30 18:36:01 -05:00
Tobin
c2bf9a88ed updated docs for enter key binding 2015-03-30 17:26:19 -05:00
Tobin
bd38e6a28e added character value for enter because curses.KEY_ENTER is buggy 2015-03-30 17:23:38 -05:00
Tobin
6fcabe36e3 implemented controllers for key input 2015-03-30 17:18:29 -05:00
Tobin
346ba424f2 added base controller for command decorators 2015-03-30 16:58:01 -05:00
Michael Lazar
45c041054e Upping version. 2015-03-30 08:47:08 -07:00
Michael Lazar
b320627ac0 Upping version. 2015-03-30 01:03:29 -07:00
Michael Lazar
68f30b2e07 Fixed crash on invalid subreddit. 2015-03-30 01:02:49 -07:00
Michael Lazar
70e834698a Upping version. 2015-03-29 20:36:42 -07:00
Michael Lazar
ddcf17c13f doc wording. 2015-03-29 19:40:48 -07:00
Michael Lazar
69cd387f00 refresh_content() now properly resets the navigator's callback. 2015-03-29 18:55:22 -07:00
Michael Lazar
ca43eac3fc Added error handling for editor. 2015-03-29 18:09:33 -07:00
Michael Lazar
d145536ee7 Merge branch 'master' of https://github.com/michael-lazar/rtv 2015-03-29 16:57:49 -07:00
Michael Lazar
e2b0a27468 Fix for gedit. 2015-03-29 16:57:10 -07:00
Michael Lazar
f831e1650a Merge branch 'comment-help' of https://github.com/yskmt/rtv into yskmt-comment-help
Conflicts:
	rtv/curses_helpers.py
2015-03-28 00:08:59 -07:00
Michael Lazar
14a0258632 Removed trailing empty lines from comment message. 2015-03-27 23:53:30 -07:00
Michael Lazar
2406b10f38 Handle unexpected config keys without crashing. 2015-03-27 23:32:45 -07:00
Michael Lazar
c64ec55453 Tweaked comment wording. 2015-03-27 23:24:49 -07:00
Michael Lazar
9ddce7fd35 Moved editor to a helper function. 2015-03-27 23:21:26 -07:00
noah morrison
32fd689544 Use comments instead of a cutoff line.
As per request of michael
2015-03-24 19:42:52 -04:00
noah morrison
98c820fe4f Use subprocess instead of os.system.
os.system wasn't working on Ubuntu?

I like the syntax of Popen better anyways.
2015-03-23 22:42:21 -04:00
noah morrison
bcc76ff21a Some minor code cleanup. 2015-03-23 22:39:20 -04:00
noah morrison
c00a9fee3d Use NamedTemporaryFile instead of mkstemp.
Also fixed EDITOR not being defined causing a crash.
2015-03-23 22:31:58 -04:00
noah morrison
08c78c54ec Add instructions to the comment file. 2015-03-23 18:59:08 -04:00
noah morrison
96a9b34a26 Initial switch to using $EDITOR 2015-03-23 16:05:24 -04:00
noah morrison
15aba8b0eb Fix EscapeInterrupt not being defined. 2015-03-23 16:02:53 -04:00
Thomas Kajder
571e1e82c5 Pressing '?' crashed the client as 'docs' was not found in show_help() in curses_helpers.py. Changing docs.HELP.split('\n') to HELP.split('\n') shows help appropriately. 2015-03-22 21:23:34 -06:00
Michael Lazar
5a2d814abb Fixed a few missed function renames, 2015-03-22 19:58:35 -07:00
Michael Lazar
688289f00c Fixed a few imports and docs. 2015-03-20 02:25:23 -07:00
Michael Lazar
7d9c8ad0d4 Major refactor, package cleanup. Untested. 2015-03-20 02:12:01 -07:00
ysakamoto
60dfc85855 help on comment function added 2015-03-19 10:48:45 -05:00
Michael Lazar
9ecf7e10bc Addressed add_comment() issues brought up in #38. 2015-03-18 22:24:17 -07:00
Michael Lazar
d1cee10936 Merge branch 'yskmt-post-comment-reply'
Conflicts:
	rtv/submission.py
2015-03-18 22:20:09 -07:00
Michael Lazar
52c7c0730d Comments are now forced to sort by "hot" in all cases. 2015-03-18 00:46:36 -07:00
Michael Lazar
fd9cbd8841 Fixed bug where folding a comment would crash the page. 2015-03-15 23:26:30 -07:00
ysakamoto
da851ec048 add_comment function added
add_comment function added

comment posting implemented

delay added after successful comment posting

cursor added for commenting

reply functionality added

comment box expanded

bug fixed: you can only comment on 'Comment' type

bug fixed: you can only comment on 'Comment' or 'Submission' type
2015-03-15 02:43:50 -05:00
Michael Lazar
f61303eae1 Added exception handling for voting if the user isnt logged in. 2015-03-14 01:05:11 -07:00
Michael Lazar
eba9238adc Semi-major refactor, added upvotes/downvotes. 2015-03-14 00:19:16 -07:00
Michael Lazar
9ba161cdba Formatting, added exception catch for bad subreddit name. 2015-03-12 21:58:38 -07:00
Michael Lazar
747d11af61 Merge branch 'master' into unicode_investigation
Conflicts:
	rtv/content.py
	rtv/main.py
	rtv/submission.py
	rtv/subreddit.py
2015-03-12 21:29:17 -07:00
Michael Lazar
37bf80409a Tweaked link flair formatting. 2015-03-12 20:09:57 -07:00