Commit Graph

91 Commits

Author SHA1 Message Date
Edridge D'Souza b2d3439faa Added an extra sort option for 'gilded'
Implemented 'gilded' sort both in the banner bar (by pushing the '6' key), and in the prompt (by entering '/subreddit/gilded')
2018-07-16 16:22:19 -04:00
Joe MacDonald 3fd389c5c2 pager: Add RTV_PAGER to support a reddit-specific setting
Reddit submissions and comments are styled with Markdown.  If you have a
Markdown-aware pager/viewer on your system it is convenient to be able to
use it rather than the default 'less'/'more'/etc. one used for everything
else on the system.  Support a high-priority environment variable that
will be consulted prior to checking $PAGER and/or defaulting to 'less'.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-07-03 15:14:20 -04:00
Michael Lazar 100515769c PyLint and PEP8 formatting 2018-04-02 18:28:21 -04:00
Michael Lazar 47e5414be0 Fixing error handling for the inbox command 2018-01-21 19:38:35 -05:00
Michael Lazar 447ccdb2f3 When attempting to open an invalid subreddit with -s, fallback to the default frontpage 2018-01-20 00:04:13 -05:00
Michael Lazar fe29017d44 Lots of tests 2017-09-20 22:32:58 -04:00
Michael Lazar d8213f2271 Switching to more vim-inspired theme attributes 2017-09-19 02:10:37 -04:00
Michael Lazar b941dc22af Merge branch 'master' into themes 2017-09-14 14:44:00 -04:00
Michael Lazar 031b58b3b4 Refactoring and adding tests 2017-09-13 23:35:40 -04:00
Michael Lazar 5e82811918 Re-naming 2017-09-13 02:16:17 -04:00
Michael Lazar 5c283867da Adding a custom ratelimit handler 2017-09-12 23:32:30 -04:00
Michael Lazar fb2ede8df7 Adding theme list and enabling F2 / F3 2017-09-12 01:48:03 -04:00
Michael Lazar 9af4b8c709 Refactoring the monochrome stuff 2017-09-11 00:30:18 -04:00
Michael Lazar 982861560a Cherry picking backwards-compatible changes from the themes branch 2017-09-08 01:10:32 -04:00
Michael Lazar 7b074e0c05 Merge branch 'master' into themes 2017-09-07 22:31:43 -04:00
Michael Lazar 5499aadffb Adding patch for webbrowser on macOS 2017-09-06 00:22:05 -04:00
Michael Lazar 0703a578ba Trying to update $BROWSER 2017-08-30 01:00:28 -04:00
Michael Lazar 32c33bc80d Adding $VISUAL check 2017-08-03 00:28:59 -04:00
Michael Lazar 558672f4d9 Adding python version to the log 2017-08-02 23:35:55 -04:00
Michael Lazar 862d0e756d Working on theme support 2017-07-10 17:58:48 -04:00
Michael Lazar a98a075bd8 Catch the exception if curses cant be imported 2017-06-07 22:59:44 -04:00
Michael Lazar 604cd0d4b4 Added a try-catch for invalid locales on osx 2017-04-18 21:02:58 -07:00
Michael Lazar 13e9fd9b10 A couple of pylint changes 2017-03-28 23:18:13 -07:00
Michael Lazar aa4a4d706c Error message wording 2017-03-28 23:01:51 -07:00
Michael Lazar 92a221305c Added logging, fixed tests 2017-03-28 22:50:51 -07:00
Michael Lazar 6b1eab1a97 Bundling praw v3 with rtv 2017-03-28 21:33:10 -07:00
Michael Lazar 628bf37c6f Added check for unset locale. 2016-09-11 23:05:54 -07:00
Michael Lazar 416ab3743d added _page suffix to page files. 2016-08-16 20:21:35 -07:00
Michael Lazar dd0d0db764 Making real progress this time. 2016-08-08 23:05:06 -07:00
Michael Lazar d5f114a4d8 Expand URLs. 2016-08-07 21:56:19 -07:00
Michael Lazar d78f7bcc70 pylint skip for undefined name ResourceWarning. 2016-07-27 00:14:07 -07:00
Michael Lazar 663d6ee5b9 Merge remote-tracking branch 'origin/master' into custom_commands2 2016-07-26 23:06:37 -07:00
Michael Lazar 357ee4feed Ignore ResourceWarnings. #263. 2016-07-26 22:31:00 -07:00
Michael Lazar b174135404 Added --copy-mailcap command 2016-07-25 23:05:47 -07:00
Michael Lazar 789551b62d Merge branch 'master' into custom_commands2 2016-07-15 17:10:05 -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 cd9617b0d8 Pass config object to terminal. 2016-07-08 20:48:42 -07:00
Michael Lazar a2f51dfc2e pylint. 2016-06-23 23:14:58 -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 047adb1936 Flush sys.stdout after writing the title. #221. 2016-06-14 00:26:49 -07:00
Michael Lazar b72b7965c1 Add monochrome option, chmod 664 when copying config. 2016-04-12 15:56:09 -07:00
Michael Lazar a0da5fc6ca Improved config error reporting. 2016-02-10 00:35:51 -08:00
Michael Lazar 0de3033414 Updated bindings in __main__. 2016-02-09 23:08:44 -08:00
Michael Lazar 181507d9bb Almost functional. 2016-02-09 02:56:55 -08:00
Michael Lazar ff29429601 Replace np links with www to fix 403 forbidden error. 2016-02-04 15:33:50 -08:00
Michael Lazar 49e2d1aa4f Config now loads default values from a file alongside the source. 2015-12-14 23:37:23 -08:00
Michael Lazar 6fa431aec9 Added better descriptions to loader messages. 2015-12-07 00:47:59 -08:00
Michael Lazar ea05235ddc Fixed crash when opening links from the command line. 2015-12-03 16:26:55 -08:00
Michael Lazar 5a0932f6d3 PEP8 fixes. 2015-12-03 00:20:20 -08:00