Commit Graph

141 Commits

Author SHA1 Message Date
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
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
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
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
Théo Piboubès
f19b96948f OAuth authentication 2015-08-16 05:45:14 +02:00
Michael Lazar
ac939b5f96 Switched back to putting the subreddit name first on the submission page. 2015-08-12 10:12:53 -07:00
Michael Lazar
97c1708c88 Merge branch 'master' of https://github.com/TheoPib/rtv into TheoPib-master 2015-08-12 09:53:24 -07:00
Théo Piboubès
691986abd4 Refactoring the way a selected sub is opened 2015-08-12 14:39:49 +02:00
michael-lazar
68c7d6e4ba Merge pull request #132 from obosob/patch-1
Don't forget to add selfposts and x-posts to history
2015-08-10 10:05:22 -07:00
obosob
0879dc3c57 Update subreddit.py 2015-08-10 13:05:11 +01:00
michael-lazar
7f0c91d9d2 Merge pull request #129 from obosob/pr_misc
Just a couple of little things
2015-08-10 01:46:54 -07:00
obosob
62f01ca0d1 Don't forget to add selfposts and x-posts to history
Links for selfposts and x-posts don't go purple after my last PR (#126). This'll fix it.
2015-08-10 09:19:52 +01:00
Michael Lazar
93e2d8739c Merge branch 'master' of https://github.com/michael-lazar/rtv
Conflicts:
	rtv/content.py
2015-08-10 00:04:23 -07: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
Théo Piboubès
0da69a1935 Ability to open highlighted subreddit and go back 2015-08-10 00:33:48 +02:00
Théo Piboubès
0274823b7e Safe call is useless here + some refactoring 2015-08-09 23:32:17 +02:00
Théo Piboubès
be7cd1a071 Cleaner subscriptions draw_item() implementation 2015-08-09 21:07:04 +02: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
Obosob
42d40cf6fc Make selfpost/x-post logic easier to follow 2015-07-31 09:18:52 +01:00
Obosob
f4ea094e93 address Brobin's comments on #126 2015-07-30 16:46:47 +01:00
Obosob
f45fdd331a Just fixed a little thing that was bugging me 2015-07-30 09:10:21 +01:00
Obosob
68d5d99f57 Handle internal reddit links internally, including x-posts 2015-07-30 09:01:20 +01:00
Brobin
4278d32a00 opens selfposts internally instead of in the browser 2015-07-28 17:03:15 -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
0bc97348fe PEP8'd content.py and subreddit.py 2015-06-08 06:43:15 -04:00
Michael Lazar
2a935922bf Upping version, updated readme, changed post keybind. 2015-05-28 20:54:04 -07:00
Michael Lazar
c419a3fd23 Accidentally disabled the unicode vote symbols. 2015-05-13 00:24:49 -07:00