Commit Graph

97 Commits

Author SHA1 Message Date
Michael Lazar
ffbd6c1dfd Working on adding pager. 2016-03-03 18:28:14 -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
5225225
e7c910e8fc Add coloured tag for sticky comments. 2016-01-07 23:24:06 +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
92fe3c584f Missed a guilded name change. 2015-12-03 21:46:54 -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
Michael Lazar
6cc744bf91 Tweaking a few things oauth things. 2015-09-20 19:54:41 -07: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
ysakamoto
023dc6e0dd Number keys to refresh the submission/comments and sort by:
1: hot, 2: top, 3: rising, 4: new, 5: controversial
2015-08-06 02:40:55 -05:00
michael-lazar
7c70c5ce59 Merge pull request #116 from kbakulin/fix-none-flair
Don't show flair when it's None
2015-07-07 12:16:06 -07:00
Konstantin Bakulin
31fa125251 Don't show flair when it's None 2015-07-07 21:43:44 +03:00
Konstantin Bakulin
802ba669c1 Delete unused variables 2015-07-07 21:34:35 +03:00
Lawrence Vanderpool
c233364693 PEP8'd submission.py 2015-06-08 06:41:51 -04:00
Michael Lazar
2a935922bf Upping version, updated readme, changed post keybind. 2015-05-28 20:54:04 -07:00
Michael Lazar
71e464d03f Opening comments now uses the comment permalink. 2015-05-16 18:05:48 -07:00
Michael Lazar
1b6fed2ec3 Fixed webbrowser behavior for terminal browsers. 2015-05-14 21:51:54 -07:00
Michael Lazar
c419a3fd23 Accidentally disabled the unicode vote symbols. 2015-05-13 00:24:49 -07:00
Michael Lazar
3fb3f58975 Minor bugfixes. 2015-05-02 17:34:53 -07:00
Michael Lazar
f0ec9ba712 Refactored vote arrow logic. 2015-05-02 16:37:25 -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
9b0ff5a8c8 Merge pull request #92 from Brobin/master
added upvote/downvote to submission view
2015-04-17 23:08:56 -07:00
Brobin
bdd55d3da2 copy-pasta mistake. remove created 2015-04-17 21:10:46 -05:00
Brobin
0bdb207fe6 added upvote/downvote to submission view 2015-04-16 23:23:59 -05:00
Michael Lazar
9b9b995f87 Merge branch 'master' of https://github.com/michael-lazar/rtv 2015-04-16 19:17:40 -07:00
Brobin
9edbd9317f added nsfw tags 2015-04-16 10:34:49 -05:00
Michael Lazar
3f04347886 Hopefully made safe_call() more pythonic. 2015-04-13 01:01:18 -07: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
Michael Lazar
ecc623d27e Fixed submission post error handling. 2015-04-06 09:42:06 -07:00
Michael Lazar
ea1230d30c Added logging and error handling for posts and comments. 2015-04-05 18:29:12 -07:00
Michael Lazar
9ee21fe1ce Docstring wordings, refactored /r/me handling, updated README. 2015-04-05 17:11:25 -07:00
michael-lazar
77915ad672 Merge pull request #74 from Brobin/user_profile_page
added user profile page for logged in users
2015-04-05 12:30:06 -07:00
Tobin
c69728bea0 remove username attribute and use reddit.user.name 2015-04-04 17:16:27 -05:00
Tobin
b0124560be moved gold symbol on submission view to match subreddit view 2015-04-04 00:00:16 -05:00
Tobin
69c3f1c357 added gold symbol to submissions 2015-04-03 23:43:14 -05:00
Tobin
a14049afcf added viewing user's submissions with ; key or /r/me 2015-04-03 17:13:43 -05:00
Tobin
dcdfd643cc added gold symbol next to gilded comments 2015-04-03 00:43:28 -05:00
Michael Lazar
a603593381 #67, Fixed unicode bug on python2. 2015-04-02 20:52:39 -07:00
Michael Lazar
ca41b77d83 Submission selfpost now partially displays if not enough space. 2015-04-01 19:49:14 -07:00
Tobin
16ab77fc2c ran autopep8 2015-03-31 00:20:44 -05:00
Tobin
e31997d392 more unused imports 2015-03-30 23:48:43 -05:00
Tobin
bd38e6a28e added character value for enter because curses.KEY_ENTER is buggy 2015-03-30 17:23:38 -05:00
Tobin
6fcabe36e3 implemented controllers for key input 2015-03-30 17:18:29 -05:00