Commit Graph

86 Commits

Author SHA1 Message Date
Brobin
eabfb6ad88 implemented hsitory logging accross sessions witha history.log file
remove unnecessary variable

return an empty set if the file doesn't exist

xrange is range in python3
2015-04-28 10:29:08 -05:00
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
3e6b7c98d5 Added error checking, still need to test. 2015-04-10 18:22:57 -07:00
Brobin
68ae4570dc fixed submission file to have default content 2015-04-07 22:14:35 -05: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
cd6047b5a9 Merge remote-tracking branch 'origin/master' into cleanup 2015-04-05 12:30:48 -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
4b326cf218 goodbye username 2015-04-04 17:23:25 -05:00
Tobin
c69728bea0 remove username attribute and use reddit.user.name 2015-04-04 17:16:27 -05:00
Michael Lazar
6c5c155311 Cleaned up SubmissionContent.from_name() 2015-04-04 14:12:25 -07:00
Tobin
3253535273 reddittor -> redditor :octocat: 2015-04-04 15:18:50 -05:00
Tobin
2f8dcabbef removed keybinding for profile sub, now just /r/me 2015-04-04 15:09:57 -05:00
Tobin
a6fda5f9ab fix merge conflicts 2015-04-03 23:47:14 -05:00
Tobin
69c3f1c357 added gold symbol to submissions 2015-04-03 23:43:14 -05:00
Tobin
a2b64a3983 catch request exception 2015-04-03 17:14:28 -05:00
Tobin
a14049afcf added viewing user's submissions with ; key or /r/me 2015-04-03 17:13:43 -05:00
michael-lazar
4017c8655f Merge pull request #58 from Brobin/post_submission
Added posting a Submission (text post)
2015-04-02 23:22:26 -07:00
Michael Lazar
a603593381 #67, Fixed unicode bug on python2. 2015-04-02 20:52:39 -07:00
Tobin
49977151d1 Make sure the post has content, show dialog if not 2015-04-01 21:26:12 -05:00
Tobin
26d4d247b0 fix subreddit name when user tries to post to /new etc. 2015-04-01 16:27:42 -05:00
Tobin
feffe83e06 Disallow posting to /r/all, /r/front. Use subreddit instead of name 2015-04-01 15:07:57 -05:00
Tobin
e3db8d4ee4 properly strip subreddit name and post submission 2015-04-01 13:20:18 -05:00
Tobin
5c68a008c9 Basic framework to post submission, doesn't actually submit it yet 2015-04-01 13:06:17 -05:00
Tobin
31526483fd catch IndexError when the search returns no results 2015-03-31 13:52:09 -05:00
Tobin
a1fdd2a93a move cursor to top after search, prompt_input method 2015-03-31 13:24:33 -05: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
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
3ad9a0c9f4 remove unused sys import 2015-03-30 23:16:59 -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
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
52c7c0730d Comments are now forced to sort by "hot" in all cases. 2015-03-18 00:46:36 -07: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
37bf80409a Tweaked link flair formatting. 2015-03-12 20:09:57 -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