Commit Graph

634 Commits

Author SHA1 Message Date
Michael Lazar
c24c4669a4 Fixed tests. 2015-12-09 01:41:37 -08:00
Michael Lazar
329bfae1ec Added unit tests for banner. 2015-12-09 01:34:55 -08:00
Michael Lazar
9de6056b04 Run a second pass on escaped html characters. 2015-12-09 01:23:22 -08: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
9d2a6af826 Fixed prompt sometimes not clearing. 2015-12-08 00:28:55 -08:00
Michael Lazar
8820ecdafe Added a few more loaders. 2015-12-07 16:36:18 -08:00
Michael Lazar
0d93108335 Merge branch 'master' into loader_exceptions 2015-12-07 15:55:24 -08:00
Michael Lazar
7fb180973f Added loader to subscription refresh. 2015-12-07 15:54:49 -08:00
Michael Lazar
3a117f42af WOrking on revamping the loader exceptions again. 2015-12-07 01:12:09 -08:00
Michael Lazar
6fa431aec9 Added better descriptions to loader messages. 2015-12-07 00:47:59 -08:00
Michael Lazar
b62437146a Fixed version number. 2015-12-06 23:46:24 -08:00
Michael Lazar
556875624b Getting ready for the next release. 2015-12-06 23:11:04 -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
83b5187317 Pylint fixes. 2015-12-04 18:24:59 -08:00
Michael Lazar
15c6daed2a Fixed browser test. 2015-12-03 23:55:32 -08:00
Michael Lazar
761bd7d6a2 Fixed behavior for opening x-posts. #173 2015-12-03 23:16:25 -08:00
Michael Lazar
6f0773df31 Fixed os.terminate() error when the process has already finished. 2015-12-03 22:16:29 -08:00
Michael Lazar
2fa5adc7ce Merge branch 'browser_osx' 2015-12-03 22:05:25 -08:00
Michael Lazar
3e5572ea25 Fixed a few edge cases. 2015-12-03 22:04:59 -08:00
Michael Lazar
92fe3c584f Missed a guilded name change. 2015-12-03 21:46:54 -08:00
Michael Lazar
5244dfc2d0 Merge branch 'master' into browser_osx
Conflicts:
	rtv/objects.py
2015-12-03 21:18:40 -08:00
Michael Lazar
7ebcfb9cca Updated loader tests. 2015-12-03 20:55:37 -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
34167ac084 Removing reliance on DISPLAY, making open_browser more robust. 2015-12-03 02:05:39 -08:00
Michael Lazar
49ecfcec95 Merge branch 'master' of https://github.com/michael-lazar/rtv 2015-12-03 00:20:38 -08:00
Michael Lazar
5a0932f6d3 PEP8 fixes. 2015-12-03 00:20:20 -08:00
Michael Lazar
e1ba46c07f Linked to gitter chat room 2015-12-02 23:39:43 -08:00
Michael Lazar
78d4f76d21 Updated badges 2015-12-02 23:26:14 -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
b91bb86e36 Merge pull request #167 from marc-queiroz/master
After update to version 1.6.1 Exception UnicodeEncodeError closes the application
2015-10-26 12:34:10 -07: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
1ae97262de Upping version. 2015-10-20 01:42:37 -07:00
Michael Lazar
e950f99e81 Updated README faq, added requirements.txt. 2015-10-20 01:24:58 -07:00
Michael Lazar
9842e187b8 Merge branch 'master' of https://github.com/shaggytwodope/rtv into shaggytwodope-master 2015-10-19 23:45:12 -07:00
Michael Lazar
7e146149ef Added extras_require section for futures. #165 2015-10-19 23:40:51 -07:00
John ShaggyTwoDope Jenkins
9aa90c3e9a tiny typo fix 2015-10-17 19:31:44 -07:00
John ShaggyTwoDope Jenkins
6037887d81 pip3 info in read 2015-10-17 00:07:54 -07:00
Michael Lazar
71a39980b0 Merge pull request #162 from zambonin/master
Force quit and subscription page fixes. #156 #161 #163
2015-10-16 17:58:38 -07: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
f7d6b9c299 README: formatting changes 2015-10-16 21:45:10 -03:00
Gustavo Zambonin
34f2b67d4e README: reflect force quit change 2015-10-16 21:44:15 -03:00
Gustavo Zambonin
998748e1f1 subscription.py: do not sort by hot/new/etc. (#161) 2015-10-16 15:47:36 -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
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
Michael Lazar
10b4b56476 Merge pull request #158 from zambonin/master
New screenshot and code width
2015-10-15 17:11:00 -07:00