Commit Graph

680 Commits

Author SHA1 Message Date
Michael Lazar
738a46e6dd Added tests for mime parsers. 2016-07-21 00:25:55 -07:00
Michael Lazar
40732fb90c Refactored and added documentation. 2016-07-15 18:33:07 -07:00
Michael Lazar
789551b62d Merge branch 'master' into custom_commands2 2016-07-15 17:10:05 -07:00
Michael Lazar
91393876da Merge pull request #247 from michael-lazar/x_display_title
Don't set title when no DISPLAY
2016-07-15 17:08:14 -07:00
Michael Lazar
a1a26aa308 Fixed test. 2016-07-15 16:30:22 -07:00
Michael Lazar
797ea5d072 Only set title if DISPLAY is set, change os x behavior to check DISPLAY. 2016-07-15 16:22:54 -07:00
Michael Lazar
d058020859 Improving error handling. 2016-07-15 01:10:28 -07:00
Michael Lazar
5ad040596c Added handler for gfycat videos. 2016-07-14 23:38:01 -07:00
Michael Lazar
43fb2a0378 Added terminal mode, fixed mime handler for gifv 2016-07-13 01:19:16 -07:00
Michael Lazar
131e64273a CHANGELOG wording. 2016-07-11 22:08:28 -07:00
Michael Lazar
c5777d7864 Upping version. 2016-07-11 18:33:07 -07:00
Michael Lazar
cfb0583541 Added docstrings for urlview. 2016-07-11 18:11:53 -07:00
Michael Lazar
a51e453660 Tweaked regex. 2016-07-11 18:03:59 -07:00
Michael Lazar
47b9835ccc Tweaked regex. 2016-07-11 18:02:30 -07:00
Michael Lazar
2ebc9552c8 Added support for imgur albums. 2016-07-11 17:58:14 -07:00
Michael Lazar
265c4446e6 Added mailcap_fix dependency. 2016-07-11 01:20:00 -07:00
Michael Lazar
1d8c555c27 Fighting with mailcap 2016-07-08 23:51:42 -07:00
Michael Lazar
06ac572b20 Added mime_handlers file. 2016-07-08 20:57:33 -07:00
Michael Lazar
1f6ced1f74 Fixed tests. 2016-07-08 20:55:04 -07:00
Michael Lazar
cd9617b0d8 Pass config object to terminal. 2016-07-08 20:48:42 -07:00
Michael Lazar
e30d53c49e Merge pull request #243 from michael-lazar/handle_xpost_better
Handle xpost better
2016-07-08 00:37:55 -07:00
Michael Lazar
d26097e398 xposts should now work for subreddits. 2016-07-08 00:33:34 -07:00
Michael Lazar
fa28b8fa7d in progress 2016-07-07 18:12:43 -07:00
Michael Lazar
81294b5a46 Merge pull request #242 from michael-lazar/me_header
Changed /r/me to "My Submissions" in page header, added test.
2016-07-07 17:48:52 -07:00
Michael Lazar
42d342f175 Changed /r/me to "My Submissions" in page header, added test. 2016-07-07 17:44:35 -07:00
Michael Lazar
dacbe11e4b Merge branch 'msmith491-urlview' 2016-07-06 18:14:46 -07:00
Michael Lazar
be22d6575b Minor wording tweaks. 2016-07-06 18:14:31 -07:00
Michael Lazar
2283db39d4 Merge branch 'urlview' of https://github.com/msmith491/rtv into msmith491-urlview 2016-07-06 18:13:33 -07:00
Matt Smith
749ad11171 Added urlview keybinding
1.  A shortcut of 'b' was used as the default binding for passing
comment body text to urlview (this is similar to the default of C-b in
the 'mutt' text email client)
2.  The `comment_urlview` SubmissionController function was added to
recieve the SUBMISSION_OPEN_IN_URLVIEWER keypress request.
3.  The `open_urlview` terminal function was added to handle the urlview
request.  It passes the comment body data to urlview via a Popen
process.
4.  A test case was added to ensure this new code path is executed
5.  Small formatting changes, mostly line length
2016-07-05 20:52:31 -07:00
Michael Lazar
e883d756f8 Merge pull request #237 from woorst/master
Set terminal title to reflect current page
2016-07-05 17:40:26 -07:00
woorst
b489cafa0b shorten lengthy terminal titles 2016-07-01 02:02:27 -05:00
woorst
aa27647f59 Set terminal title to reflect current page 2016-06-30 09:38:12 -05:00
Michael Lazar
fb837bafc7 Merge pull request #231 from michael-lazar/exception_file_save
Exception file save
2016-06-23 23:29:04 -07:00
Michael Lazar
5f64a3e005 typo in log messages. 2016-06-23 23:25:56 -07:00
Michael Lazar
c5db35fe82 Delete file before opening newly created post. 2016-06-23 23:23:02 -07:00
Michael Lazar
a2f51dfc2e pylint. 2016-06-23 23:14:58 -07:00
Michael Lazar
8529b4a313 Fixed another test. 2016-06-23 23:08:30 -07:00
Michael Lazar
a5a42fc5da Fixed some error messages 2016-06-23 23:06:41 -07:00
Michael Lazar
a2a0001943 Added log message on session start. 2016-06-23 22:52:54 -07:00
Michael Lazar
d81c981dbf Updated tests. Updated log format. 2016-06-23 22:50:12 -07:00
Michael Lazar
33257ac3d1 Added logic, still need to test. 2016-06-23 18:30:58 -07:00
Michael Lazar
b64ee6fa94 Merge pull request #230 from michael-lazar/slash_subreddit
Check for empty subreddit name.
2016-06-14 01:09:02 -07:00
Michael Lazar
ab86b5d875 Fixed test. 2016-06-14 01:05:20 -07:00
Michael Lazar
3bbd327b7e Merge pull request #229 from michael-lazar/flush_title
Flush sys.stdout after writing the title.
2016-06-14 01:00:25 -07:00
Michael Lazar
81e618b40b Check for empty subreddit name. 2016-06-14 00:59:18 -07:00
Michael Lazar
047adb1936 Flush sys.stdout after writing the title. #221. 2016-06-14 00:26:49 -07:00
Michael Lazar
e8568c3fd6 Update praw to 3.5.0 2016-06-14 00:22:20 -07:00
Michael Lazar
c634711854 Upping version 2016-06-14 00:09:49 -07:00
Michael Lazar
1f1beec4d3 Merge pull request #217 from michael-lazar/cursor-tracking
Cursor tracking
2016-04-21 01:15:44 -07:00
Michael Lazar
a21fcc1e06 Fixed tests. 2016-04-21 01:02:43 -07:00