Commit Graph

142 Commits

Author SHA1 Message Date
David Foucher
513272f339 Merge remote-tracking branch 'upstream/master' 2016-03-15 00:25:34 +01: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
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
805875519e Implement save/unsave post + saved list display 2016-01-17 13:09:48 +01: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
ysakamoto
6025fc24c4 _move_page separated
redraw in the direction of page up/down
2015-04-21 18:59:21 -05:00
Michael Lazar
b6be2b48ea Bugfix for SafeCaller. 2015-04-15 19:37:25 -07:00
Michael Lazar
206ee329c0 Merge branch 'page-updown' of https://github.com/yskmt/rtv into yskmt-page-updown
Conflicts:
	rtv/page.py
2015-04-15 19:12:49 -07:00
Michael Lazar
3f04347886 Hopefully made safe_call() more pythonic. 2015-04-13 01:01:18 -07:00
ysakamoto
f31242dfbd key change. m: pageup, n: pagedown 2015-04-12 18:06:20 -05:00
ysakamoto
294f54d9af fixed cursor position going over the number of windows 2015-04-12 18:03:16 -05:00
Michael Lazar
fa63247f5f Fixed edit(). 2015-04-11 22:07:30 -07:00
Michael Lazar
4461782c67 Fixed a few edit/delete edge cases, consolidated error handling. 2015-04-11 21:52:46 -07:00
ysakamoto
0fae751d44 submission mode behavior change 2015-04-11 17:58:12 -05:00