Commit Graph

33 Commits

Author SHA1 Message Date
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
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
43fb2a0378 Added terminal mode, fixed mime handler for gifv 2016-07-13 01:19:16 -07:00
Michael Lazar
cfb0583541 Added docstrings for urlview. 2016-07-11 18:11:53 -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
cd9617b0d8 Pass config object to terminal. 2016-07-08 20:48:42 -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
5f64a3e005 typo in log messages. 2016-06-23 23:25:56 -07:00
Michael Lazar
a2f51dfc2e pylint. 2016-06-23 23:14:58 -07:00
Michael Lazar
a5a42fc5da Fixed some error messages 2016-06-23 23:06:41 -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
601ed9160f Tweaked seperators. 2016-04-05 23:19:43 -07:00
Michael Lazar
ffbd6c1dfd Working on adding pager. 2016-03-03 18:28:14 -08:00
5225225
5fd3c751ca Add separator between timestamp and comment count 2016-01-10 10:51:22 +00:00
5225225
6bd4773576 Change neutral vote to right arrow 2016-01-10 09:57:23 +00:00
5225225
e7c910e8fc Add coloured tag for sticky comments. 2016-01-07 23:24:06 +00:00
Michael Lazar
c24c4669a4 Fixed tests. 2015-12-09 01:41:37 -08:00
Michael Lazar
9de6056b04 Run a second pass on escaped html characters. 2015-12-09 01:23:22 -08:00
Michael Lazar
52dfbe786c Removed banner for subscriptions and cleaned up a bunch of unnecessary screen refreshes. 2015-12-08 18:22:13 -08:00
Michael Lazar
cefdfb3290 Tweaked exception wording. 2015-12-08 01:09:56 -08:00
Michael Lazar
9d2a6af826 Fixed prompt sometimes not clearing. 2015-12-08 00:28:55 -08:00
Michael Lazar
6fa431aec9 Added better descriptions to loader messages. 2015-12-07 00:47:59 -08:00
Michael Lazar
8fd8dc549e More pylint fixes, added pylint to the build process. 2015-12-05 01:51:05 -08:00
Michael Lazar
6f0773df31 Fixed os.terminate() error when the process has already finished. 2015-12-03 22:16:29 -08:00
Michael Lazar
3e5572ea25 Fixed a few edge cases. 2015-12-03 22:04:59 -08:00
Michael Lazar
34167ac084 Removing reliance on DISPLAY, making open_browser more robust. 2015-12-03 02:05:39 -08:00
Michael Lazar
5a0932f6d3 PEP8 fixes. 2015-12-03 00:20:20 -08:00
Michael Lazar
a7b789bfd9 Squashed commit of the following:
Updated the supported python versions list.
    Fixed regression in displaying xposts. #173.
    Fixing a few style things.
    Added a more robust test for the tornado handler.
    Trying without pytest-cov
    Updated travis for coverage.
    Remove python 3.2 support because no unicode literals, following what praw supports.
    "Side effect is not iterable."
    Added requirements for travis.
    Renamed travis file correctly.
    Adding test configurations, got tox working.
    Adding vcr cassettes to the repo.
    Renamed requirements files.
    Split up tests and cleaned up test names.
    Tests done, still one failure.
    Treat cassettes as binary to prevent bad merging.
    Fixed a few broken tests.
    Added a timeout to notifications.
    Prepping subreddit page.
    Finished submission page tests.
    Working on submission tests.
    Fixed vcr matching on urls with params, started submission tests.
    Log cleanup.
    Still trying to fix a broken test.
    -Fixed a few pytest bugs and tweaked logging.
    Still working on subscription tests.
    Finished page tests, on to subscription page.
    Finished content tests and starting page tests.
    Added the test refresh-token file to gitignore.
    Moved functional test file out of the repository.
    Continuing work on subreddit content tests.
    Tests now match module names, cassettes are split into individual tests for faster loading.
    Linter fixes.
    Cleanup.
    Added support for nested loaders.
    Added pytest options, starting subreddit content tests.
    Back on track with loader, continuing content tests.
    Finishing submission content tests and discovered snag with loader exception handling.
    VCR up and running, continuing to implement content tests.
    Playing around with vcr.py
    Moved helper functions into terminal and new objects.py
    Fixed a few broken tests.
    Working on navigator tests.
    Reorganizing some things.
    Mocked webbrowser._tryorder for terminal test.
    Completed oauth tests.
    Progress on the oauth tests.
    Working on adding fake tornado request.
    Starting on OAuth tool tests.
    Finished curses helpers tests.
    Still working on curses helpers tests.
    Almost finished with tests on curses helpers.
    Adding tests and working on mocking stdscr.
    Starting to add tests for curses functions.
    Merge branch 'future_work' of https://github.com/michael-lazar/rtv into future_work
    Refactoring controller, still in progress.
    Renamed auth handler.
    Rename CursesHelper to CursesBase.
    Added temporary file with a possible template for func testing.
    Mixup between basename and dirname.
    Merge branch 'future_work' of https://github.com/michael-lazar/rtv into future_work
    py3 compatability for mock.
    Beginning to refactor the curses session.
    Started adding tests, improved unicode handling in the config.
    Cleanup, fixed a few typos.
    Major refactor, almost done!.
    Started a config class.
    Merge branch 'master' into future_work
    The editor now handles unicode characters in all situations.
    Fixed a few typos from previous commits.
    __main__.py formatting.
    Cleaned up history logic and moved to the config file.
2015-12-02 22:37:50 -08:00