Commit Graph

166 Commits

Author SHA1 Message Date
Michael Lazar 0f0845b346 Remove unnecessary refresh_content() calls. 2016-08-08 09:47:35 -07:00
Michael Lazar 66854522ff No longer leave submission/subscription page when entering an invalid subreddit. 2016-08-05 23:06:15 -07:00
Michael Lazar 6328407c32 Got the prompt working from submissions / subscriptions. 2016-08-05 17:56:36 -07:00
Michael Lazar 0a03083e6b Minor formatting changes. 2016-07-31 19:55:06 -07:00
David Foucher d141182333 Merge remote-tracking branch 'upstream/master' 2016-07-30 12:52:37 +02:00
Michael Lazar 349ea94afd Pylint 2016-07-26 01:20:27 -07:00
David Foucher 94dc86f915 Merge remote-tracking branch 'upstream/master'
Refactoring
2016-07-24 01:27:11 +02:00
Michael Lazar ecbde59207 Merge remote-tracking branch 'origin/master' into custom_commands2
Conflicts:
	rtv/exceptions.py
2016-07-22 23:46:16 -07:00
Michael Lazar b95c4448af Merge remote-tracking branch 'origin/master' into woorst-more_listings
Conflicts:
	rtv/rtv.cfg
	tests/test_subreddit.py
2016-07-21 14:21:34 -07:00
Michael Lazar 9cfa44c726 Minor style changes. 2016-07-20 21:28:24 -07:00
Michael Lazar c7f1d0e0c9 Changed the keybind name. 2016-07-20 17:23:29 -07:00
Michael Lazar 230580e2ea Added more tests. 2016-07-20 17:02:57 -07:00
mardiqwop 1dbcf22742 Added tests for subreddit.py's new show_frontpage. Refactored getters and setters. 2016-07-20 16:02:34 -04:00
mardiqwop 9280929703 Added a new keybind (defaults to q) that toggles between the Frontpage and your most recently viewed subreddit. 2016-07-20 14:36:21 -04:00
Michael Lazar 1174514632 Streamlining 2016-07-19 01:58:03 -07:00
Michael Lazar 6094b45029 Missed some changes. 2016-07-19 01:11:06 -07:00
Michael Lazar 61ae63438f Reverted rename to simplify diff. 2016-07-19 01:09:31 -07:00
woorst bfba1c7ad2 ListRedditsContent.from_user method replaced with from_func; updated tests accordingly 2016-07-18 14:52:05 -05:00
woorst 92d16ad15f Generalize SubscriptionPage to handle lists of reddits 2016-07-18 14:49:53 -05:00
woorst 31cc3fa0e9 Can browse through list of subscribed multireddits 2016-07-18 14:49:53 -05:00
woorst 10268f0fa0 Change prompt text 2016-07-18 14:49:53 -05:00
David Foucher 1b2c595808 sync with 1.10.0 2016-07-17 13:11:17 +02:00
Michael Lazar 1d8c555c27 Fighting with mailcap 2016-07-08 23:51:42 -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 c5db35fe82 Delete file before opening newly created post. 2016-06-23 23:23:02 -07:00
Michael Lazar a5a42fc5da Fixed some error messages 2016-06-23 23:06:41 -07:00
Michael Lazar 33257ac3d1 Added logic, still need to test. 2016-06-23 18:30:58 -07:00
David Foucher 513272f339 Merge remote-tracking branch 'upstream/master' 2016-03-15 00:25:34 +01: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
David Foucher 74c2008226 Merge with @alexk307 added comments save support
Added comments save support
Centralized save
Keep 'w' as key to save post/comment
2016-01-21 01:37:17 +01:00
David Foucher b943154174 Merge remote-tracking branch 'feature/master' 2016-01-21 00:30:37 +01:00
Alex Kahan 6b3ad77ac8 First stab at processing and displaying saves 2016-01-19 20:24:29 -05:00
David Foucher 805875519e Implement save/unsave post + saved list display 2016-01-17 13:09:48 +01:00
5225225 5fd3c751ca Add separator between timestamp and comment count 2016-01-10 10:51:22 +00:00
5225225 7b95ee240e Add stickied tag for stickied posts. 2016-01-09 08:56:58 +00: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 761bd7d6a2 Fixed behavior for opening x-posts. #173 2015-12-03 23:16:25 -08:00
Michael Lazar 9c6d3ab542 Generalized exception handling to handle strange errors like captchas. 2015-12-03 18:15:53 -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
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 91c384d36b code width is now consistent
unused imports removed
2015-10-15 16:58:17 -03: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