Commit Graph

101 Commits

Author SHA1 Message Date
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 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 42d342f175 Changed /r/me to "My Submissions" in page header, added test. 2016-07-07 17:44:35 -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 33257ac3d1 Added logic, still need to test. 2016-06-23 18:30:58 -07:00
Michael Lazar 9e89dab0b3 Show (not enough space to display) for single comments that are too large. 2016-04-20 00:21:17 -07:00
Michael Lazar 7a2c6ef039 Fixed edge case when expanding bottom item the content is cut off. 2016-04-15 23:13:05 -07:00
Michael Lazar 47af24cc6e Fixed a few typos. 2016-04-15 18:22:55 -07:00
Michael Lazar e69c59baa8 Work in progress. 2016-04-14 18:40:28 -07:00
Michael Lazar 26d1f0efcb Added top height, still needs to be refactored + tested. 2016-04-14 00:52:12 -07:00
Michael Lazar 68b198d7da Added brackets to help page. 2016-03-03 22:03:06 -08:00
Michael Lazar 5fda5a7999 Linter fixes. Added ctrl-d and ctrl-u for pagedown/pageup. 2016-02-10 01:02:37 -08:00
Michael Lazar a0da5fc6ca Improved config error reporting. 2016-02-10 00:35:51 -08:00
Michael Lazar c5bf97efcc Working on tests. 2016-02-09 18:32:25 -08:00
Michael Lazar 181507d9bb Almost functional. 2016-02-09 02:56:55 -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 dd17a1016f Working on banner. 2015-12-08 02:02:04 -08:00
Michael Lazar cefdfb3290 Tweaked exception wording. 2015-12-08 01:09:56 -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 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
Gustavo Zambonin 63ef032a4e page.py: inbox won't be checked if not logged in. #163 2015-10-16 21:50:40 -03:00
Gustavo Zambonin 0cfa7bd2a8 page.py: quit without prompt restored
docs.py: reflect change on docs
2015-10-16 15:46:15 -03:00
Gustavo Zambonin 91c384d36b code width is now consistent
unused imports removed
2015-10-15 16:58:17 -03:00
Michael Lazar c4bd8aa3c3 Minor style changes. 2015-10-14 23:37:16 -07:00
Gustavo Zambonin 2358eed46e page.py: exit prompt added
logout prompt now works as intended
2015-10-14 00:39:47 -03:00
Michael Lazar 2e3e99b717 Removed unused import. 2015-09-20 23:14:49 -07:00
Michael Lazar 6cc744bf91 Tweaking a few things oauth things. 2015-09-20 19:54:41 -07:00
Théo Piboubès b643ce9559 Complete logout 2015-09-04 18:23:10 +02:00
Théo Piboubès f6546aaf75 Let PRAW manage authentication 2015-09-01 22:32:56 +02:00
Théo Piboubès efed781fa1 Refactoring and making rtv OAuth-compliant 2015-08-17 00:36:18 +02:00
Michael Lazar d2e8c9c04c Took the opportunity to clean up a few things and fix some old "order" errors. 2015-08-10 00:00:10 -07:00
Konstantin Bakulin 802ba669c1 Delete unused variables 2015-07-07 21:34:35 +03:00
Michael Lazar 9c75061d4f Fixed broken downvote, for real this time. 2015-06-11 23:13:31 -07:00
Lawrence Vanderpool 3c83d388cc moved inbox call outside of if/else 2015-06-11 09:31:56 -04:00
Lawrence Vanderpool abef7b4045 added the ability to check for unread messages with the 'i' key 2015-06-10 11:04:01 -04:00
Lawrence Vanderpool 764684eb53 PEP8'd helpers, history, page.py 2015-06-08 06:46:27 -04:00
michael-lazar 3b964a7721 Update page.py
Fixed crash on downvote
2015-06-02 16:26:53 -07:00
Michael Lazar c232e1f64a Added page up / page down keys. 2015-05-16 18:56:42 -07:00
Michael Lazar 1b6fed2ec3 Fixed webbrowser behavior for terminal browsers. 2015-05-14 21:51:54 -07:00
Michael Lazar bf2d464081 Switched unicode to be the default mode. 2015-05-12 23:42:31 -07:00
Michael Lazar a23561e8f5 Merge branch 'master' into unicode_kitchen
Conflicts:
	rtv/subreddit.py
2015-05-12 23:11:38 -07:00
Michael Lazar b375fb71e7 Fixed cursor out of bounds error with window resize. 2015-05-12 01:47:03 -07:00
Michael Lazar d548e65166 Added kitchen functions for chopping unicode text. 2015-05-02 17:23:22 -07:00
Michael Lazar 02e9e5e399 Implemented add_line wrapper to fix unicode bugs with curses.addnstr. 2015-05-02 16:23:02 -07:00
Michael Lazar 49a9147ca6 In progress. 2015-04-29 22:31:24 -07:00
Michael Lazar b573afeb2b Merge branch 'yskmt-page-updown' 2015-04-26 13:33:35 -07:00
Michael Lazar 44aa0154cb Merge branch 'page-updown' of https://github.com/yskmt/rtv into yskmt-page-updown
Conflicts:
	rtv/page.py
2015-04-26 13:31:01 -07:00