Commit Graph

130 Commits

Author SHA1 Message Date
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
0bd8fbdd10 Search works for logged in user's submissions 2016-07-18 14:49:53 -05:00
woorst
2add59b0d6 subreddit name parsing code more readable 2016-07-18 14:49:53 -05:00
woorst
be51dc30e1 Make search work for different types of reddit pages 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
a72f0b937b Apply time period only to appropriatly sorted multireddits 2016-07-18 14:49:53 -05:00
woorst
a8836e1a64 Change default multireddit sort to 'hot' 2016-07-18 14:49:53 -05:00
woorst
a6daa6537c More robust checking for valid subreddit name; Can browse public multireddits now 2016-07-18 14:49:53 -05:00
woorst
8fd4950f5b Remove use of python 3 specific tuple unpacking 2016-07-18 14:49:53 -05:00
user
a2d2c2edf8 Feature: view user pages and domain listings 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
81e618b40b Check for empty subreddit name. 2016-06-14 00:59:18 -07:00
Michael Lazar
aa065c6e29 Merge branch 'master' into cursor-tracking
Conflicts:
	rtv/content.py
2016-04-19 23:49:37 -07:00
Michael Lazar
e0550a5eab Fix bug where submission indicies were duplicated when paging. #209 2016-04-19 23:38:38 -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
6c130001b1 Fixed bug where submission indicies were duplicated when paging. 2016-04-15 17:47:45 -07:00
Michael Lazar
8fc93911c6 Better support for random subreddit. 2016-04-08 01:32:20 -07:00
Michael Lazar
ff29429601 Replace np links with www to fix 403 forbidden error. 2016-02-04 15:33:50 -08:00
5225225
7b95ee240e Add stickied tag for stickied posts. 2016-01-09 08:56:58 +00:00
5225225
e7c910e8fc Add coloured tag for sticky comments. 2016-01-07 23:24:06 +00:00
Michael Lazar
2650472c77 Fixed typo. 2015-12-09 21:58:32 -08:00
Michael Lazar
76d2b8dde9 Added support for hidden scores. 2015-12-09 18:30:44 -08:00
Michael Lazar
6fa431aec9 Added better descriptions to loader messages. 2015-12-07 00:47:59 -08:00
Michael Lazar
dc56d2524e Fixed flatten_comments behavior when loading additional comments. 2015-12-06 22:03:03 -08:00
Michael Lazar
8fd8dc549e More pylint fixes, added pylint to the build process. 2015-12-05 01:51:05 -08:00
Michael Lazar
9c6d3ab542 Generalized exception handling to handle strange errors like captchas. 2015-12-03 18:15:53 -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
Marc Antonio Queiroz
466af862b3 After update to version 1.6.1 a Unicode error start to happen.
Any SUBREDDIT with special characters like u'\xe3' are trigging an error at line 141, data['flair'] = '[{}]'.format(data['flair'].strip()) .
The solution was to add u'[{}]' to the string.
The original error message: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 7: ordinal not in range(128) .
2015-10-26 14:48:19 -02:00
Michael Lazar
a37884ca7a Merge branch 'master' of https://github.com/michael-lazar/rtv 2015-10-16 11:40:43 -07:00
Michael Lazar
972fc4ad9a /r/me now checks for an oauth session instead of an old-style login. #160. 2015-10-16 11:39:53 -07: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
Michael Lazar
497c7741b3 Merge branch 'master' of https://github.com/zambonin/rtv into zambonin-master 2015-10-14 23:27:55 -07:00
Michael Lazar
2980097d7c Cleaned up exception logging. 2015-10-14 23:25:50 -07:00
Michael Lazar
d52f574746 Post count is now displayed before each submission's title. #154. 2015-10-14 18:06:30 -07:00
Gustavo Zambonin
b7f3f8db4b content.py: more standardization 2015-10-14 19:32:17 -03:00
Gustavo Zambonin
c2065e00b5 content.py: correct subreddit on xpost info 2015-10-14 19:12:02 -03:00
Gustavo Zambonin
21d5c7acca content.py: empty flair case fixed
x-post and self post are now consistent
2015-10-14 18:54:21 -03:00
Gustavo Zambonin
11a322a9c3 content.py: name of the subreddit shown on selfpost 'url'
all flairs now have brackets
2015-10-14 00:37:51 -03:00
John ShaggyTwoDope Jenkins
e2fdb22f27 typos 2015-10-13 13:27:17 -07: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
2c7a0ed4ba Wrap subreddit title instead of name 2015-08-12 15:27:55 +02:00
Théo Piboubès
691986abd4 Refactoring the way a selected sub is opened 2015-08-12 14:39:49 +02: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
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