Commit Graph

166 Commits

Author SHA1 Message Date
Michael Lazar
b501667d7f Merge branch 'master' of https://github.com/michael-lazar/rtv 2015-04-02 10:00:15 -07:00
Michael Lazar
2141fe6e31 Cleaned up user login. 2015-04-02 09:59:23 -07:00
ysakamoto
c7a760791a prompt to log out/in when logged in/out 2015-04-02 02:11:03 -05:00
ysakamoto
59b657de37 check username/password before real login 2015-04-01 21:56:25 -05:00
Michael Lazar
ca41b77d83 Submission selfpost now partially displays if not enough space. 2015-04-01 19:49:14 -07:00
ysakamoto
8c56211d94 login with '+' key 2015-04-01 19:35:25 -05:00
michael-lazar
578dbd0a03 Merge pull request #60 from Brobin/master
fixed bug for author highlighting in comments
2015-04-01 15:32:27 -07:00
Tobin
dd1aa1bd4f fixed bug for author highlighting in comments 2015-04-01 17:06:56 -05:00
Michael Lazar
0bd6c88022 Merge branch 'search_subreddit' of https://github.com/Brobin/rtv into Brobin-search_subreddit 2015-03-31 20:25:08 -07:00
Tobin
37c43559df updated help and docs for search command 2015-03-31 14:02:25 -05:00
Tobin
31526483fd catch IndexError when the search returns no results 2015-03-31 13:52:09 -05:00
Tobin
2a7525debd fixed for searching of front page 2015-03-31 13:45:57 -05:00
Tobin
a1fdd2a93a move cursor to top after search, prompt_input method 2015-03-31 13:24:33 -05:00
michael-lazar
e9783ac184 Merge pull request #53 from Brobin/master
Fixed style to conform with PEP8
2015-03-31 09:44:14 -07:00
Tobin
f9265fd33b catch error when there are no results 2015-03-31 10:49:56 -05:00
Tobin
26aab7a2cd implemented subreddit search. search for posts 2015-03-31 10:47:15 -05:00
a-tal
bdce9cb4b5 requests raises an error when the useragent starts with \n 2015-03-31 07:58:48 -07: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