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
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
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
Michael Lazar
7db8c2f3b8
Set ascii to the default encoding.
2015-03-12 19:05:58 -07:00
Michael Lazar
17a1c27a2c
Implemented unicode sandwich.
2015-03-12 19:02:22 -07:00
Michael Lazar
d4943052d4
Merge branch 'master' of https://github.com/shanhind/rtv into shanhind-master
2015-03-12 15:15:14 -07:00
Shawn Hind
34dfa53b9f
Fixed suggested changes for pull request, changed colour of flairs to
...
yellow for more visibility on submission page
2015-03-12 17:42:26 -04:00
Shawn Hind
a4d531b4e7
Added functionality for flairs #28
2015-03-11 16:54:18 -04:00
Michael Lazar
47ad49a189
Fix for unicode pull request #33
2015-03-10 22:20:05 -07:00
michael-lazar
59bca6a30c
Merge pull request #33 from ragreener1/master
...
Fixed issue #23
2015-03-10 15:47:24 -07:00
Robert Greener
abadbd7037
Removed copy of __main__.py, changed flag from -a to --force-ascii
2015-03-10 17:51:34 +00:00
Michael Lazar
c0560db71f
Added comment for debugging.
2015-03-09 23:24:07 -07:00
Michael Lazar
a6300b494a
Open webbrowser in subprocess to redirect stdout.
2015-03-09 20:47:07 -07:00
Michael Lazar
04f3a5b7b6
Cleaned up import.
2015-03-09 01:28:43 -07:00
Michael Lazar
b0f8c398ce
/r/front now displayed as "Front Page".
2015-03-09 00:18:03 -07:00
Michael Lazar
b0053643f7
Added username to banner if logged in.
2015-03-09 00:11:09 -07:00
Michael Lazar
820e30b6a6
Removed getpass to let the praw library take care of it.
2015-03-08 23:43:55 -07:00
Michael Lazar
7c5ff238d4
Dropping webbrowser hack until a better implementation is found.
2015-03-08 23:42:22 -07:00
Michael Lazar
f1fc9e1d4c
Viewed links now change to purple.
2015-03-08 22:20:36 -07:00
Michael Lazar
e7d285bd13
Aliged key definitions between submission and subreddit.
2015-03-08 21:35:07 -07:00
Robert Greener
6e88f33986
removed unused variable
2015-03-08 21:55:46 +00:00
Robert Greener
d6620dbdbe
Added -a for force_ascii, utf-8 by default
2015-03-08 21:47:49 +00:00
Michael Lazar
bc9e36f7af
Added __version__, corrected relative imports.
2015-03-08 01:22:59 -08:00
Michael Lazar
256151fa1b
Added multireddits to readme.
2015-03-07 23:42:08 -08:00
Michael Lazar
b992645906
Merge branch 'multireddit'
2015-03-07 23:05:21 -08:00
Michael Lazar
b6f5b7e759
Fixed bug with overlapping loaders.
2015-03-07 23:04:18 -08:00
michael-lazar
6d67097f8c
Merge pull request #31 from peterpans01/master
...
fix error when open subreddit in Windows 7
2015-03-07 21:38:14 -08:00
Michael Lazar
7064f4ee21
Added support for multireddits.
2015-03-07 21:09:02 -08:00
Michael Lazar
ee290a7b0b
Merge branch 'master' of https://github.com/michael-lazar/rtv
2015-03-07 14:03:37 -08:00
Michael Lazar
27157f400e
Fixed help message crashing on small terminals.
2015-03-07 14:03:15 -08:00
peterpans01
af86a3ad67
fix error when open subreddit
2015-03-07 22:20:13 +07:00
michael-lazar
27e90b1ca1
Merge pull request #30 from shanhind/master
...
Fix bug with login where invalid password throws unhandeled exception in
2015-03-06 12:52:04 -08:00
ysakamoto
09ed21b75c
display_help function added
2015-03-06 14:51:05 -06:00
ysakamoto
3808c65060
display_message simplified
2015-03-06 14:35:53 -06:00
Shawn Hind
3379a99e0d
Fixed formatting of error message to be in line with others
2015-03-06 15:15:44 -05:00