Commit Graph

67 Commits

Author SHA1 Message Date
Michael Lazar
9b9b995f87 Merge branch 'master' of https://github.com/michael-lazar/rtv 2015-04-16 19:17:40 -07:00
Brobin
9edbd9317f added nsfw tags 2015-04-16 10:34:49 -05:00
Michael Lazar
3f04347886 Hopefully made safe_call() more pythonic. 2015-04-13 01:01:18 -07:00
Michael Lazar
fa63247f5f Fixed edit(). 2015-04-11 22:07:30 -07:00
Michael Lazar
4461782c67 Fixed a few edit/delete edge cases, consolidated error handling. 2015-04-11 21:52:46 -07:00
Michael Lazar
ecc623d27e Fixed submission post error handling. 2015-04-06 09:42:06 -07:00
Michael Lazar
ea1230d30c Added logging and error handling for posts and comments. 2015-04-05 18:29:12 -07:00
Michael Lazar
9ee21fe1ce Docstring wordings, refactored /r/me handling, updated README. 2015-04-05 17:11:25 -07:00
michael-lazar
77915ad672 Merge pull request #74 from Brobin/user_profile_page
added user profile page for logged in users
2015-04-05 12:30:06 -07:00
Tobin
c69728bea0 remove username attribute and use reddit.user.name 2015-04-04 17:16:27 -05:00
Tobin
b0124560be moved gold symbol on submission view to match subreddit view 2015-04-04 00:00:16 -05:00
Tobin
69c3f1c357 added gold symbol to submissions 2015-04-03 23:43:14 -05:00
Tobin
a14049afcf added viewing user's submissions with ; key or /r/me 2015-04-03 17:13:43 -05:00
Tobin
dcdfd643cc added gold symbol next to gilded comments 2015-04-03 00:43:28 -05:00
Michael Lazar
a603593381 #67, Fixed unicode bug on python2. 2015-04-02 20:52:39 -07:00
Michael Lazar
ca41b77d83 Submission selfpost now partially displays if not enough space. 2015-04-01 19:49:14 -07: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
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
Michael Lazar
69cd387f00 refresh_content() now properly resets the navigator's callback. 2015-03-29 18:55:22 -07:00
Michael Lazar
e2b0a27468 Fix for gedit. 2015-03-29 16:57:10 -07:00
Michael Lazar
14a0258632 Removed trailing empty lines from comment message. 2015-03-27 23:53:30 -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
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
eba9238adc Semi-major refactor, added upvotes/downvotes. 2015-03-14 00:19:16 -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
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
a6300b494a Open webbrowser in subprocess to redirect stdout. 2015-03-09 20:47:07 -07:00
Michael Lazar
b0053643f7 Added username to banner if logged in. 2015-03-09 00:11:09 -07:00
Michael Lazar
e7d285bd13 Aliged key definitions between submission and subreddit. 2015-03-08 21:35:07 -07:00
ysakamoto
09ed21b75c display_help function added 2015-03-06 14:51:05 -06:00
ysakamoto
455f742a27 Redraw after the help message box is gone. 2015-03-06 03:54:49 -06:00
ysakamoto
b5d2852708 help message command added 2015-03-06 03:45:26 -06:00