rtv-1.27.0+dfsg.orig/ 0000755 0001750 0001750 00000000000 13475071320 013624 5 ustar noahfx noahfx rtv-1.27.0+dfsg.orig/.github/ 0000755 0001750 0001750 00000000000 13475071320 015164 5 ustar noahfx noahfx rtv-1.27.0+dfsg.orig/.github/ISSUE_TEMPLATE/ 0000755 0001750 0001750 00000000000 13475071320 017347 5 ustar noahfx noahfx rtv-1.27.0+dfsg.orig/.github/ISSUE_TEMPLATE/feature_request.md 0000644 0001750 0001750 00000001134 13475071320 023073 0 ustar noahfx noahfx ---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: new feature
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
rtv-1.27.0+dfsg.orig/.github/ISSUE_TEMPLATE/bug_report.md 0000644 0001750 0001750 00000001030 13475071320 022033 0 ustar noahfx noahfx ---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug**
A clear description of what the bug is and how to reproduce it.
**Describe your environment**
- If a stack trace was displayed on the command line, paste the entire output here.
- Otherwise, run ``$rtv --debug-info`` and paste the entire output here.
- Include any other information that might be relevant to the issue (For example, your operating system, your terminal emulator, how you installed rtv, etc.)
rtv-1.27.0+dfsg.orig/MANIFEST.in 0000644 0001750 0001750 00000000232 13475071320 015357 0 ustar noahfx noahfx include version.py
include CHANGELOG.rst
include AUTHORS.rst
include README.md
include LICENSE
include rtv.1
include rtv/templates/*
include rtv/themes/*
rtv-1.27.0+dfsg.orig/README.md 0000644 0001750 0001750 00000020744 13475071320 015112 0 ustar noahfx noahfx
Reddit Terminal Viewer (RTV)
A text-based interface (TUI) to view and interact with Reddit from your terminal.
This project is no longer being maintained, see here.
## Table of Contents
* [Demo](#demo)
* [Installation](#installation)
* [Usage](#usage)
* [Settings](#settings)
* [Themes](#themes)
* [FAQ](#faq)
* [Contributing](#contributing)
* [License](#license)
## Demo
You can use *telnet* or *ssh* to try out a lite version of RTV directly in your terminal, without needing to install it:
- ``$ telnet redditbox.us``
- ``$ ssh redditbox.us``
*[redditbox.us](https://redditbox.us/) is an independent project by Alex Jarmoszuk*
## Installation
### PyPI package
RTV is available on [PyPI](https://pypi.python.org/pypi/rtv/) and can be installed with pip:
```bash
$ pip install rtv
```
### Native packages
See [Repology](https://repology.org/metapackage/rtv/packages) for an up-to-date list of supported distro packages:
```bash
# macOS
$ brew install rtv
# Arch
$ pacman -S rtv
# Nix
$ nix-env -i rtv
# Debian
$ apt install rtv
# FreeBSD
$ pkg install rtv
```
### From source
```bash
$ git clone https://github.com/michael-lazar/rtv.git
$ cd rtv
$ python setup.py install
```
### Windows
RTV is not supported on Windows, due to a lack of resources and interest. Sorry!
## Usage
To run the program, type:
```bash
$ rtv --help
```
### Controls
Move the cursor using either the arrow keys or *Vim* style movement:
- Press ▲ and ▼ to scroll through submissions
- Press ▶ to view the selected submission and ◀ to return
- Press space-bar to expand/collapse comments
- Press u to login (this requires a web browser for [OAuth](https://github.com/reddit-archive/reddit/wiki/oauth2))
- Press ? to open the help screen
Press / to open the navigation prompt, where you can type things like:
- ``/front``
- ``/r/commandprompt+linuxmasterrace``
- ``/r/programming/controversial``
- ``/u/me``
- ``/u/multi-mod/m/art``
- ``/domain/github.com``
See [CONTROLS](CONTROLS.md) for the full list of commands.
## Settings
### Configuration File
Configuration files are stored in the ``{HOME}/.config/rtv/`` directory.
Check out [rtv.cfg](rtv/templates/rtv.cfg) for the full list of configurable options. You can clone this file into your home directory by running:
```bash
$ rtv --copy-config
```
### Viewing Media Links
You can use [mailcap](https://en.wikipedia.org/wiki/Media_type#Mailcap) to configure how RTV will open different types of links.
A mailcap file allows you to associate different MIME media types, like ``image/jpeg`` or ``video/mp4``, with shell commands. This feature is disabled by default because it takes a few extra steps to configure. To get started, copy the default mailcap template to your home directory.
```bash
$ rtv --copy-mailcap
```
This template contains examples for common MIME types that work with popular reddit websites like *imgur*, *youtube*, and *gfycat*. Open the mailcap template and follow the [instructions](rtv/templates/mailcap) listed inside.
Once you've setup your mailcap file, enable it by launching rtv with the ``rtv --enable-media`` flag (or set it in your **rtv.cfg**)
### Environment Variables
The default programs that RTV interacts with can be configured through environment variables:
$RTV_EDITOR |
A program used to compose text submissions and comments, e.g. vim, emacs, gedit
If not specified, will fallback to $VISUAL and $EDITOR in that order. |
$RTV_BROWSER |
A program used to open links to external websites, e.g. firefox, google-chrome, w3m, lynx
If not specified, will fallback to $BROWSER, or your system's default browser. |
$RTV_URLVIEWER |
A tool used to extract hyperlinks from blocks of text, e.g. urlview, urlscan
If not specified, will fallback to urlview if it is installed. |
### Clipboard
RTV supports copying submission links to the OS clipboard. On macOS this is supported out of the box.
On Linux systems you will need to install either [xsel](http://www.vergenet.net/~conrad/software/xsel/) or [xclip](https://sourceforge.net/projects/xclip/).
## Themes
Themes can be used to customize the look and feel of RTV
Solarized Dark
|
Solarized Light
|
Papercolor
|
Molokai
|
You can list all installed themes with the ``--list-themes`` command, and select one with ``--theme``. You can save your choice permanently in your [rtv.cfg](rtv/templates/rtv.cfg) file. You can also use the F2 & F3 keys inside of RTV to cycle through all available themes.
For instructions on writing and installing your own themes, see [THEMES.md](THEMES.md).
## FAQ
Why am I getting an error during installation/when launching rtv?
> If your distro ships with an older version of python 2.7 or python-requests,
> you may experience SSL errors or other package incompatibilities. The
> easiest way to fix this is to install rtv using python 3. If you
> don't already have pip3, see http://stackoverflow.com/a/6587528 for setup
> instructions. Then do
>
> ```bash
> $ sudo pip uninstall rtv
> $ sudo pip3 install -U rtv
> ```
Why do I see garbled text like M-b~@M-" or ^@?
> This type of text usually shows up when python is unable to render
> unicode properly.
>
> 1. Try starting RTV in ascii-only mode with ``rtv --ascii``
> 2. Make sure that the terminal/font that you're using supports unicode
> 3. Try [setting the LOCALE to utf-8](https://perlgeek.de/en/article/set-up-a-clean-utf8-environment)
> 4. Your python may have been built against the wrong curses library,
> see [here](stackoverflow.com/questions/19373027) and
> [here](https://bugs.python.org/issue4787) for more information
How do I run the code directly from the repository?
> This project is structured to be run as a python *module*. This means that
> you need to launch it using python's ``-m`` flag. See the example below, which
> assumes that you have cloned the repository into the directory **~/rtv_project**.
>
> ```bash
> $ cd ~/rtv_project
> $ python3 -m rtv
> ```
## Contributing
All feedback and suggestions are welcome, just post an issue!
Before writing any code, please read the [Contributor Guidelines](CONTRIBUTING.rst).
## License
This project is distributed under the [MIT](LICENSE) license.
rtv-1.27.0+dfsg.orig/setup.cfg 0000644 0001750 0001750 00000000025 13475071320 015442 0 ustar noahfx noahfx [wheel]
universal = 1 rtv-1.27.0+dfsg.orig/rtv.1 0000644 0001750 0001750 00000005210 13475071320 014517 0 ustar noahfx noahfx .TH "RTV" "1" "June 03, 2019" "Version 1.27.0" "Usage and Commands"
.SH NAME
RTV - Reddit Terminal Viewer
.SH SYNOPSIS
rtv [URL] [\-s SUBREDDIT]
.SH DESCRIPTION
RTV (Reddit Terminal Viewer) is a terminal interface to view and interact with reddit.
.SH OPTIONS
.TP
\fBURL\fR
[optional] Full URL of a submission to open
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-s SUBREDDIT\fR
Name of the subreddit that will be loaded on start
.TP
\fB\-\-log FILE\fR
Log HTTP requests to the given file
.TP
\fB\-\-config FILE\fR
Load configuration settings from the given file
.TP
\fB\-\-ascii\fR
Enable ascii\-only mode
.TP
\fB\-\-monochrome\fR
Disable color
.TP
\fB\-\-theme FILE\fR
Color theme to use, see \-\-list\-themes for valid options
.TP
\fB\-\-list\-themes\fR
List all of the available color themes
.TP
\fB\-\-non\-persistent\fR
Forget the authenticated user when the program exits
.TP
\fB\-\-no\-autologin\fR
Do not authenticate automatically on startup
.TP
\fB\-\-clear\-auth\fR
Remove any saved user data before launching
.TP
\fB\-\-copy\-config\fR
Copy the default configuration to {HOME}/.config/rtv/rtv.cfg
.TP
\fB\-\-copy\-mailcap\fR
Copy an example mailcap configuration to {HOME}/.mailcap
.TP
\fB\-\-enable\-media\fR
Open external links using programs defined in the mailcap config
.TP
\fB\-V\fR, \fB\-\-version\fR
show program's version number and exit
.TP
\fB\-\-no\-flash\fR
Disable screen flashing
.TP
\fB\-\-debug\-info\fR
Show system and environment information and exit
.SH CONTROLS
Move the cursor using the arrow keys or vim style movement.
.br
Press \fBup\fR and \fBdown\fR to scroll through submissions.
.br
Press \fBright\fR to view the selected submission and \fBleft\fR to return.
.br
Press \fB?\fR to open the help screen.
.SH FILES
.TP
.BR $XDG_CONFIG_HOME/rtv/rtv.cfg
The configuration file can be used to customize default program settings.
.TP
.BR $XDG_DATA_HOME/rtv/refresh-token
After you login to reddit, your most recent OAuth refresh token will be stored
for future sessions.
.TP
.BR $XDG_DATA_HOME/rtv/history.log
This file stores URLs that have been recently opened in order to
visually highlight them as "seen".
.SH ENVIRONMENT
.TP
.BR RTV_EDITOR
Text editor to use when editing comments and submissions. Will fallback to
\fI$EDITOR\fR.
.TP
.BR RTV_URLVIEWER
Url viewer to use to extract links from comments. Requires a compatible
program to be installed.
.TP
.BR RTV_BROWSER
Web browser to use when opening links. Will fallback to \fI$BROWSER\fR.
.SH AUTHOR
Michael Lazar (2017).
.SH BUGS
Report bugs to \fIhttps://github.com/michael-lazar/rtv/issues\fR
.SH LICENSE
The MIT License (MIT)
rtv-1.27.0+dfsg.orig/setup.py 0000644 0001750 0001750 00000005010 13475071320 015332 0 ustar noahfx noahfx import sys
import codecs
import setuptools
from version import __version__ as version
install_requires = [
'beautifulsoup4',
'decorator',
'kitchen',
'requests >=2.4.0', # https://github.com/michael-lazar/rtv/issues/325
'six',
]
tests_require = [
'coveralls',
'pytest>=3.1.0', # Pinned for the ``pytest.param`` method
'coverage',
'mock',
'pylint',
'vcrpy',
]
extras_require = {
'test': tests_require
}
# https://hynek.me/articles/conditional-python-dependencies/
if int(setuptools.__version__.split(".", 1)[0]) < 18:
assert "bdist_wheel" not in sys.argv
if sys.version_info[0:2] < (3, 6):
install_requires.append("mailcap-fix")
else:
# Building the bdist_wheel with conditional environment dependencies
# requires setuptools version > 18. For older setuptools versions this
# will raise an error.
extras_require.update({":python_version<'3.6'": ["mailcap-fix"]})
def long_description():
with codecs.open('README.md', encoding='utf8') as f:
return f.read()
setuptools.setup(
name='rtv',
version=version,
description='A simple terminal viewer for Reddit (Reddit Terminal Viewer)',
long_description=long_description(),
long_description_content_type='text/markdown',
url='https://github.com/michael-lazar/rtv',
author='Michael Lazar',
author_email='lazar.michael22@gmail.com',
license='MIT',
keywords='reddit terminal praw curses',
packages=[
'rtv',
'rtv.packages',
'rtv.packages.praw'
],
package_data={
'rtv': ['templates/*', 'themes/*'],
'rtv.packages.praw': ['praw.ini']
},
data_files=[("share/man/man1", ["rtv.1"])],
install_requires=install_requires,
tests_require=tests_require,
extras_require=extras_require,
entry_points={'console_scripts': ['rtv=rtv.__main__:main']},
classifiers=[
'Intended Audience :: End Users/Desktop',
'Environment :: Console :: Curses',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Terminals',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',
],
)
rtv-1.27.0+dfsg.orig/.travis.yml 0000644 0001750 0001750 00000001042 13475071320 015732 0 ustar noahfx noahfx language: python
matrix:
fast_finish: true
allow_failures:
- python: nightly
include:
- python: 2.7
dist: trusty
- python: 3.4
dist: trusty
- python: 3.5
dist: trusty
- python: 3.6
dist: trusty
- python: 3.7
dist: xenial
sudo: true
- python: nightly
dist: trusty
before_install:
- pip install --upgrade pip
install:
- pip install .[test]
- pip install .
script:
- pylint --rcfile .pylintrc -E rtv/
- coverage run -m py.test -v
after_success:
- coveralls
rtv-1.27.0+dfsg.orig/CHANGELOG.rst 0000644 0001750 0001750 00000057740 13475071320 015662 0 ustar noahfx noahfx =============
RTV Changelog
=============
.. _1.27.0: http://github.com/michael-lazar/rtv/releases/tag/v1.27.0
.. _1.26.0: http://github.com/michael-lazar/rtv/releases/tag/v1.26.0
.. _1.25.1: http://github.com/michael-lazar/rtv/releases/tag/v1.25.1
.. _1.25.0: http://github.com/michael-lazar/rtv/releases/tag/v1.25.0
.. _1.24.0: http://github.com/michael-lazar/rtv/releases/tag/v1.24.0
.. _1.23.0: http://github.com/michael-lazar/rtv/releases/tag/v1.23.0
.. _1.22.1: http://github.com/michael-lazar/rtv/releases/tag/v1.22.1
.. _1.22.0: http://github.com/michael-lazar/rtv/releases/tag/v1.22.0
.. _1.21.0: http://github.com/michael-lazar/rtv/releases/tag/v1.21.0
.. _1.20.0: http://github.com/michael-lazar/rtv/releases/tag/v1.20.0
.. _1.19.0: http://github.com/michael-lazar/rtv/releases/tag/v1.19.0
.. _1.18.0: http://github.com/michael-lazar/rtv/releases/tag/v1.18.0
.. _1.17.1: http://github.com/michael-lazar/rtv/releases/tag/v1.17.1
.. _1.17.0: http://github.com/michael-lazar/rtv/releases/tag/v1.17.0
.. _1.16.0: http://github.com/michael-lazar/rtv/releases/tag/v1.16.0
.. _1.15.1: http://github.com/michael-lazar/rtv/releases/tag/v1.15.1
.. _1.15.0: http://github.com/michael-lazar/rtv/releases/tag/v1.15.0
.. _1.14.1: http://github.com/michael-lazar/rtv/releases/tag/v1.14.1
.. _1.13.0: http://github.com/michael-lazar/rtv/releases/tag/v1.13.0
.. _1.12.1: http://github.com/michael-lazar/rtv/releases/tag/v1.12.1
.. _1.12.0: http://github.com/michael-lazar/rtv/releases/tag/v1.12.0
.. _1.11.0: http://github.com/michael-lazar/rtv/releases/tag/v1.11.0
.. _1.10.0: http://github.com/michael-lazar/rtv/releases/tag/v1.10.0
.. _1.9.1: http://github.com/michael-lazar/rtv/releases/tag/v1.9.1
.. _1.9.0: http://github.com/michael-lazar/rtv/releases/tag/v1.9.0
.. _1.8.1: http://github.com/michael-lazar/rtv/releases/tag/v1.8.1
.. _1.8.0: http://github.com/michael-lazar/rtv/releases/tag/v1.8.0
.. _1.7.0: http://github.com/michael-lazar/rtv/releases/tag/v1.7.0
.. _1.6.1: http://github.com/michael-lazar/rtv/releases/tag/v1.6.1
.. _1.6: http://github.com/michael-lazar/rtv/releases/tag/v1.6
.. _1.5: http://github.com/michael-lazar/rtv/releases/tag/v1.5
.. _1.4.2: http://github.com/michael-lazar/rtv/releases/tag/v1.4.2
.. _1.4.1: http://github.com/michael-lazar/rtv/releases/tag/v1.4.1
.. _1.4: http://github.com/michael-lazar/rtv/releases/tag/v1.4
.. _1.3: http://github.com/michael-lazar/rtv/releases/tag/v1.3
.. _1.2.2: http://github.com/michael-lazar/rtv/releases/tag/v1.2.2
.. _1.2.1: http://github.com/michael-lazar/rtv/releases/tag/v1.2.1
.. _1.2: http://github.com/michael-lazar/rtv/releases/tag/v1.2
--------------------
1.27.0_ (2019-06-02)
--------------------
This is the final release of RTV. See here for more information:
https://github.com/michael-lazar/rtv/issues/696
Features
* Added a configuration option to toggle whether to open web browser links in a
new tab or a new window.
Documentation
* Improved the mailcap example for the ``feh`` command.
* Fixed the the descriptions for the ``j`` & ``k`` keys (they were swapped).
--------------------
1.26.0_ (2019-03-03)
--------------------
Features
* Added a brand new inbox page for viewing private messages and comment replies.
The inbox is accessible with the ``i`` key. Supported actions include viewing
message chains and replying to messages, marking messages as read/unread, and
opening the context of a comment.
* Added the ability to compose new private messages with the ``C`` key.
* Updated the inline help ``?`` document to contain a more comprehensive list
of commands.
* Opening a link from the command line is now faster at startup because the
default subreddit will not be loaded beforehand.
* Added a new ``--debug-info`` command to display useful system information.
Bugfixes
* Fixed opening comments with the prompt ``/`` from the subscription window.
* The subscription and multireddit ``s``/``S`` keys now work from all pages.
* Relative time strings are now correctly pluralized.
* Fixed an unclosed file handler when opening the web browser.
* Fixed the application not starting if the user has an empty front page.
Configuration Changes
* Renamed the following keybindings to better represent their usage:
* ``SORT_HOT`` -> ``SORT_1``
* ``SORT_TOP`` -> ``SORT_2``
* ``SORT_RISING`` -> ``SORT_3``
* ``SORT_NEW`` -> ``SORT_4``
* ``SORT_CONTROVERSIAL`` -> ``SORT_5``
* ``SORT_GILDED`` -> ``SORT_6``
* ``SUBREDDIT_OPEN_SUBSCRIPTIONS`` -> ``SUBSCRIPTIONS``
* ``SUBREDDIT_OPEN_MULTIREDDITS`` -> ``MULTIREDDITS``
* Added new keybindings to support the inbox page:
* ``SORT_7``
* ``PRIVATE_MESSAGE``
* ``INBOX_VIEW_CONTEXT``
* ``INBOX_OPEN_SUBMISSION``
* ``INBOX_REPLY``
* ``INBOX_MARK_READ``
* ``INBOX_EXIT``
* Added new theme elements to support the inbox page:
*
*
*
*
*
*
*
--------------------
1.25.1_ (2019-02-13)
--------------------
Bugfixes
* Fixed a bug that was causing newlines to be stripped when posting comments
and submissions.
--------------------
1.25.0_ (2019-02-03)
--------------------
Features
* You can now open HTML links that are embedded inside of comments and
submissions by pressing the ``ENTER`` key and selecting a link from the list.
This also works when copying links to the clipboard using ``Y``.
* Added the ``--no-autologin`` command line argument to disable automatically
logging in at startup.
* Added the ``max_pager_cols`` configuration option to limit the text width
when sending text to the system ``PAGER``.
* Additional filtering options have been added when viewing user pages.
* The gilded flair now displays the number of times a submission has been
gilded.
* Submissions/comments now display the time that they were most recently edited.
Bugfixes
* Fixed the MIME parser for gfycat, and gfycat videos are now downloaded as mp4.
* Fixed formatting when composing posts with leading whitespace.
* Fixed crash when attempting to display a long terminal title.
Documentation
* RTV has been moved to the Arch Community Repository and installation
instructions for Arch have been updated accordingly.
--------------------
1.24.0_ (2018-08-12)
--------------------
Features
* Python 3.7 is now officially supported.
* Lines that start with the hash symbol (#) are no longer ignored when
composing posts in your editor. This allows # to be used with Reddit's
markdown parser to denote headers.
* Added a new *dark colorblind* theme.
* Added support for the ``$RTV_PAGER`` environment variable, which can be
used to set a unique PAGER for rtv.
* Added the ability to sort submissions by **guilded**.
Bugfixes
* Fixed a crash when setting the ``$BROWSER`` with python 3.7.
* Improved the error message when attempting to vote on an archived post.
* Cleaned up several outdated MIME parsers. Removed the vidme, twitch,
oddshot, and imgtc parsers. Fixed the liveleak and reddit video parsers.
--------------------
1.23.0_ (2018-06-24)
--------------------
Features
* Submissions can now be marked as *[hidden]* using the ``space`` key. Hidden
submissions will be removed from the feed when the page is reloaded.
* New MIME parsers have been added for vimeo.com and streamja.com.
* Added support for opening links with **qutebrowser**.
Bugfixes
* Fixed unhandled OAuth server log messages being dumped to stdout.
* Fixed the application crashing when performing rate-limited requests.
* Fixed crash when displaying posts that contain null byte characters.
Documentation
* Added README badge for *saythanks.io*.
* Updated the mailcap template to support *v.redd.it* links.
--------------------
1.22.1_ (2018-03-11)
--------------------
I forgot to check in a commit before publishing the 1.22.0 release (whoops!)
Bugfixes
* Updated the ``__version__.py`` file to report the current version.
* Added the missing v1.22.0 entry to the CHANGELOG.
--------------------
1.22.0_ (2018-03-07)
--------------------
Features
* Added the ``--no-flash`` option to disable terminal flashing.
Bugfixes
* Fixed automatically exiting on launch when trying to open an invalid
subreddit with the ``-s`` flag.
* Fixed error handling for HTTP request timeouts when checking for new
messages in the inbox.
* Fixed a typo in the sample theme config.
Documentation
* Added the FreeBSD package to the README.
--------------------
1.21.0_ (2017-12-30)
--------------------
Features
* Full support for customizable themes has been added. For more information,
see the new section on themes in the README, and the ``THEMES.md`` file.
Bugfixes
* Fixed incorrect URL strings being sent to the **opera** web browser.
* Fixed timeout messages for the **surf** and **vimb** web browsers.
* Switched to using ``XDG_DATA_HOME`` to store the rtv browser history and
credentials file.
--------------------
1.20.0_ (2017-12-05)
--------------------
Features
* Text piped to the ``$PAGER`` will now wrap on word / sentence breaks.
* New MIME parsers have been added for liveleak.com and worldstarhiphop.com.
Bugfixes
* Fixed a regression where text from the web browser's stdout/stderr was
being sent to the terminal window.
* Fixed crashing on startup when the terminal doesn't support colors.
* Fixed broken text formatting when running inside of emacs ``term``.
Codebase
* Dropped support for python 3.3 because it's no longer supported upstream
by **pytest**. The application will still install through pip but will no
longer be tested.
* Added a text logo to the README.
--------------------
1.19.0_ (2017-10-24)
--------------------
Features
* Greatly improved loading times by using smarter rate limiting and page caching.
* The logout prompt is now visible as a popup notification.
* New MIME parsers have been added for gifs.com, giphy.com, imgtc.com,
imgflip.com, livememe.com, makeameme.org and flickr.com
* Improved mailcap examples for parsing video links with mpv.
Bugfixes
* Patched a backwards-incompatible Reddit API change with the comment
permalink now being returned in the response JSON.
* Fixed crashing when a comment contained exotic unicode characters like emojis.
* Removed the option to select custom sorting ranges for controversial and
top comments.
* Fixed MIME parsing for single image Imgur galleries.
Codebase
* Preliminary refactoring for the upcoming theme support.
* Created some utility scripts for project maintenance.
* Created a release checklist document.
* Updated the README gif images and document layout.
--------------------
1.18.0_ (2017-09-06)
--------------------
Features
* The ``rtv -l`` flag has been deprecated and replaced with a positional
argument, in order to match the syntax of other command line web browsers.
* NSFW content is now filtered according to the user's reddit profile
settings.
* ``$RTV_BROWSER`` has been added as a way to set the preferred web browser.
* Sorting options for **relevance** and **comments** are now displayed on
the search results page.
* An **[S]** badge is now displayed next to the submission author.
* The gfycat MIME parser has been expanded to support more URLs.
* New MIME parsers have been added for oddshot.tv, clips.twitch.tv,
clippituser.tv, and Reddit's beta hosted videos.
Bugfixes
* Users can now use the prompt to navigate to "/comments/..." pages from
inside of a submission.
* Users can now navigate to multireddits using the "/u/me/" prefix.
* Fixed the ``$BROWSER`` behavior on macOS to support the **chrome**,
**firefox**, **safari**, and **default** keywords.
Codebase
* Travis CI tests have been moved to the trusty environment.
* Added more detailed logging of the environment and settings at startup.
--------------------
1.17.1_ (2017-08-06)
--------------------
Bugfixes
* ``J``/``K`` commands are now restricted to the submission page.
--------------------
1.17.0_ (2017-08-03)
--------------------
Features
* Added the ``J`` command to jump to the next sibling comment.
* Added the ``K`` command to jump to the parent comment.
* Search results can now be sorted, and the title bar has been updated
to display the current search query.
* Imgur URLs are now resolved via the Imgur API.
This enables the loading of large albums with over 10 images.
An ``imgur_client_id`` option has been added to the RTV configuration.
* A MIME parser has been added for www.liveleak.com.
* RTV now respects the ``$VISUAL`` environment variable.
Bugfixes
* Fixed a screen refresh bug on urxvt terminals.
* New key bindings will now attempt to fallback to their default key if not
defined in the user's configuration file.
Documentation
* Added additional mailcap examples for framebuffer videos and iTerm2.
* Python version information is now captured in the log at startup.
--------------------
1.16.0_ (2017-06-08)
--------------------
Features
* Added the ability to copy links to the OS clipboad with ``y`` and ``Y``.
* Both submissions and comments can now be viewed on **/user/** pages.
* A MIME parser has been added for www.streamable.com.
* A MIME parser has been added for www.vidme.com.
* Submission URLs can now be opened while viewing the comments page.
Bugfixes
* More graceful handling for the invalid LOCALE error on MacOS.
* A fatal error is now raised when trying to run on Windows without curses.
* Fixed an error when trying to view saved comments.
* Invalid refresh-tokens are now automatically deleted.
* Users who are signed up for Reddit's beta profiles can now launch RTV.
--------------------
1.15.1_ (2017-04-09)
--------------------
Codebase
* Removed the mailcap-fix dependency for python versions >= 3.6.0.
* Enabled installing test dependencies with ``pip install rtv[test]``.
--------------------
1.15.0_ (2017-03-30)
--------------------
Features
* Added the ability to open comment threads using the submission's
permalink. E.g. **/comments/30rwj2**
Bugfixes
* Updated ``requests`` requirement to fix a bug in version 2.3.0.
* Fixed an edge case where comment trees were unfolding out of order.
Codebase
* Removed dependency on the PyPI ``praw`` package. A version of PRAW 3
is now bundled with rtv. This should make installation easier because
users are no longer required to maintain a legacy version of praw in
their python dependencies.
* Removed ``update-checker`` dependency.
--------------------
1.14.1_ (2017-01-12)
--------------------
Features
* The order-by option menu now triggers after a single '2' or '5' keystroke
instead of needing to double press.
Bugfixes
* Mailcap now handles multi-part shell commands correctly, e.g. "emacs -nw"
* OS X no longer relies on $DISPLAY to check if there is a display available.
* Added error handling for terminals that don't support hiding the cursor.
* Fixed a bug on tmux that prevented scrolling when $TERM was set to
"xterm-256color" instead of screen.
Documentation
* Added section to FAQ about garbled characters output by curses.
--------------------
1.13.0_ (2016-10-17)
--------------------
Features
* Pressing `2` or `5` twice now opens a menu to select the time frame.
* Added the `hide_username` config option.
* Added the `max_comment_cols` config option.
Bugfixes
* Fixed the terminal title from displaying b'' in py3.
* Flipped j and k in the documentation.
* Fixed bug when selecting post order for the front page.
* Added more descriptive error messages for invalid subreddits.
--------------------
1.12.1_ (2016-09-27)
--------------------
Bugfixes
* Fixed security vulnerability where malicious URLs could inject python code.
* No longer hangs when using mpv on long videos.
* Now falls back to ascii mode when the system locale is not utf-8.
--------------------
1.12.0_ (2016-08-25)
--------------------
Features
* Added a help banner with common key bindings.
* Added `gg` and `G` bindings to jump to the top and bottom the the page.
* Updated help screen now opens with the system PAGER.
* The `/` prompt now works from inside of submissions.
* Added an Instagram parser to extract images and videos from urls.
Bugixes
* Shortened reddit links (https://redd.it/) will now work with ``-s``.
Codebase
* Removed the Tornado dependency from the project.
* Added a requirements.txt file.
* Fixed a bunch of tests where cassettes were not being generated.
* Added compatability for pytest-xdist.
--------------------
1.11.0_ (2016-08-02)
--------------------
Features
* Added the ability to open image and video urls with the user's mailcap file.
* New ``--enable-media`` and ``copy-mailcap`` commands to support mailcap.
* New command `w` to save submissions and comments.
* New command `p` to toggle between the front page and the last visited subreddit.
* New command `S` to view subscribed multireddits.
* Extended ``/`` prompt to work with users, multireddits, and domains.
* New page ``/u/saved`` to view saved submissions.
* You can now specify the sort period by appending **-(period)**,
E.g. **/r/python/top-week**.
Bugfixes
* Terminal title is now only set when $DISPLAY is present.
* Urlview now works on the submission as well as comments.
* Fixed text encoding when using urlview.
* Removed `futures` dependency from the python 3 wheel.
* Unhandled resource warnings on exit are now ignored.
Documentation
* Various README updates.
* Updated asciinema demo video.
* Added script to update the AUTHORS.rst file.
--------------------
1.10.0_ (2016-07-11)
--------------------
Features
* New command, `b` extracts urls from comments using urlviewer.
* Comment files will no longer be destroyed if RTV encounters an error while posting.
* The terminal title now displays the subreddit name/url.
Bugfixes
* Fixed crash when entering empty or invalid subreddit name.
* Fixed crash when opening x-posts linked to subreddits.
* Fixed a bug where the terminal title wasn't getting set.
* **/r/me** is now displayed as *My Submissions* in the header.
-------------------
1.9.1_ (2016-06-13)
-------------------
Features
* Better support for */r/random*.
* Added a ``monochrome`` config setting to disable all color.
* Improved cursor positioning when expanding/hiding comments.
* Show ``(not enough space)`` when comments are too large.
Bugfixes
* Fixed permissions when copying the config file.
* Fixed bug where submission indicies were duplicated when paging.
* Specify praw v3.4.0 to avoid installing praw 4.
Documentation
* Added section to the readme on Arch Linux installation.
* Updated a few argument descriptions.
* Added a proper ascii logo.
-------------------
1.9.0_ (2016-04-05)
-------------------
Features
* You can now open long posts/comments with the $PAGER by pressing `l`.
* Changed a couple of visual separators.
Documentation
* Added testing instructions to the FAQ.
-------------------
1.8.1_ (2016-03-01)
-------------------
Features
* All keys are now rebindable through the config.
* New bindings - ctrl-d and ctrl-u for page up / page down.
* Added tag for stickied posts and comments.
* Added bullet between timestamp and comment count.
Bugfixes
* Links starting with np.reddit.com no longer return `Forbidden`.
Documentation
* Updated README.
-------------------
1.8.0_ (2015-12-20)
-------------------
Features
* A banner on the top of the page now displays the selected page sort order.
* Hidden scores now show up as "- pts".
* Oauth settings are now accesible through the config file.
* New argument `--config` specifies the config file to use.
* New argument `--copy-config` generates a default config file.
Documentation
* Added a keyboard reference from keyboardlayouteditor.com
* Added a link to an asciinema demo video
-------------------
1.7.0_ (2015-12-08)
-------------------
**Note**
This version comes with a large change in the internal structure of the project,
but does not break backwards compatibility. This includes adding a new test
suite that will hopefully improve the stability of future releases.
Continuous Integration additions
* Travis-CI https://travis-ci.org/michael-lazar/rtv
* Coveralls https://coveralls.io/github/michael-lazar/rtv
* Gitter (chat) https://gitter.im/michael-lazar/rtv
* Added a tox config for local testing
* Added a pylint config for static code and style analysis
* The project now uses VCR.py to record HTTP interactions for testing.
Features
* Added a wider utilization of the loading screen for functions that make
reddit API calls.
* In-progress loading screens can now be cancelled by pressing the `Esc` key.
Bugfixes
* OSX users should now be able to login using OAuth.
* Comments now return the correct nested level when loading "More Comments".
* Several unicode fixes, the project is now much more consistent in the way
that unicode is handled.
* Several undocumented bug fixes as a result of the code restructure.
-------------------
1.6.1_ (2015-10-19)
-------------------
Bugfixes
* Fixed authentication checking for */r/me*.
* Added force quit option with the `Q` key.
* Removed option to sort subscriptions.
* Fixed crash with pressing `i` when not logged in.
* Removed futures requirement from the python 3 distribution.
Documentation
* Updated screenshot in README.
* Added section to the FAQ on installation.
-----------------
1.6_ (2015-10-14)
-----------------
Features
* Switched all authentication to OAuth.
* Can now list the version with `rtv --version`.
* Added a man page.
* Added confirmation prompt when quitting.
* Submissions now display the index in front of their title.
Bugfixes
* Streamlined error logging.
Documentation
* Added missing docs for the `i` key.
* New documentation for OAuth.
* New FAQ section.
-----------------
1.5_ (2015-08-26)
-----------------
Features
* New page to view and open subscribed subreddits with `s`.
* Sorting method can now be toggled with the `1` - `5` keys.
* Links to x-posts are now opened inside of RTV.
Bugfixes
* Added */r/* to subreddit names in the subreddit view.
-------------------
1.4.2_ (2015-08-01)
-------------------
Features
* Pressing the `o` key now opens selfposts directly inside of rtv.
Bugfixes
* Fixed invalid subreddits from throwing unexpected errors.
-------------------
1.4.1_ (2015-07-11)
-------------------
Features
* Added the ability to check for unread messages with the `i` key.
* Upped required PRAW version to 3.
Bugfixes
* Fixed crash caused by downvoting.
* Missing flairs now display properly.
* Fixed ResourceWarning on Python 3.2+.
-----------------
1.4_ (2015-05-16)
-----------------
Features
* Unicode support has been vastly improved and is now turned on by default.
Ascii only mode can be toggled with the `--ascii` command line flag.
* Added pageup and pagedown with the `m` and `n` keys.
* Support for terminal based webbrowsers such as links and w3m.
* Browsing history is now persistent and stored in `$XDG_CACHE_HOME`.
Bugfixes
* Several improvements for handling unicode.
* Fixed crash caused by resizing the window and exiting a submission.
-----------------
1.3_ (2015-04-22)
-----------------
Features
* Added edit `e` and delete `d` for comments and submissions.
* Added *nsfw* tags.
Bugfixes
* Upvote/downvote icon now displays in the submission selfpost.
* Loading large *MoreComment* blocks no longer hangs the program.
* Improved logging and error handling with praw interactions.
-------------------
1.2.2_ (2015-04-07)
-------------------
Bugfixes
* Fixed default subreddit not being set.
Documentation
* Added changelog and contributor links to the README.
-------------------
1.2.1_ (2015-04-06)
-------------------
Bugfixes
* Fixed crashing on invalid subreddit names
-----------------
1.2_ (2015-04-06)
-----------------
Features
* Added user login / logout with the `u` key.
* Added subreddit searching with the `f` key.
* Added submission posting with the `p` key.
* Added viewing of user submissions with `/r/me`.
* Program title now displays in the terminal window.
* Gold symbols now display on guilded comments and posts.
* Moved default config location to XDG_CONFIG_HOME.
Bugfixes
* Improved error handling for submission / comment posts.
* Fixed handling of unicode flairs.
* Improved displaying of the help message and selfposts on small terminal windows.
* The author's name now correctly highlights in submissions
* Corrected user agent formatting.
* Various minor bugfixes.
------------------
1.1.1 (2015-03-30)
------------------
* Post comments using your text editor.
rtv-1.27.0+dfsg.orig/AUTHORS.rst 0000644 0001750 0001750 00000005430 13475071320 015505 0 ustar noahfx noahfx ================
RTV Contributors
================
Thanks to the following people for their contributions to this project.
* `Michael Lazar `_
* `Tobin Brown `_
* `woorst `_
* `Théo Piboubès `_
* `Yusuke Sakamoto `_
* `Johnathan Jenkins `_
* `tyjak `_
* `Edridge D'Souza `_
* `Josue Ortega `_
* `mekhami `_
* `Nemanja Nedeljković `_
* `obosob `_
* `codesoap `_
* `Toby Hughes `_
* `Noah Morrison `_
* `Mardigon Toler `_
* `5225225 `_
* `Shawn Hind `_
* `Antoine Nguyen `_
* `JuanPablo `_
* `Pablo Arias `_
* `Robert Greener `_
* `mac1202 `_
* `Iqbal Singh `_
* `Lorenz Leitner `_
* `Markus Pettersson `_
* `Reshef Elisha `_
* `Ryan Reno `_
* `Sam Tebbs `_
* `Justin Partain `_
* `afloofloo `_
* `0xflotus `_
* `Caleb Perkins `_
* `Charles Saracco `_
* `Corey McCandless `_
* `Crestwave `_
* `Danilo G. Baio `_
* `Donovan Glover `_
* `Fabio Alessandro Locati `_
* `Gabriel Le Breton `_
* `Hans Roman `_
* `micronn `_
* `Ivan Klishch `_
* `Joe MacDonald `_
* `Marc Abramowitz `_
* `Matt `_
* `Matthew Smith `_
* `Michael Kwon `_
* `Michael Wei `_
* `Ram-Z `_
* `Vivek Anand `_
* `Wieland Hoffmann `_
* `Adam Talsma `_
* `geheimnisse `_
* `Alexander Terry `_
* `peterpans01 `_ rtv-1.27.0+dfsg.orig/version.py 0000777 0001750 0001750 00000000000 13475071320 021326 2rtv/__version__.py ustar noahfx noahfx rtv-1.27.0+dfsg.orig/resources/ 0000755 0001750 0001750 00000000000 13475071320 015636 5 ustar noahfx noahfx rtv-1.27.0+dfsg.orig/resources/theme_solarized_dark.png 0000644 0001750 0001750 00000237143 13475071320 022535 0 ustar noahfx noahfx PNG
IHDR =%n pHYs
iCCPPhotoshop ICC profile xڭgTSy{o: -!RBok(tB)(ؕ""cd,
:XX{ξs~9/ u#QMBJIMc ( `dW.
: pӞ#-_@b ' nT lB !KIMN C0= Ș?!K>L @ ++P PQI rx r v u?3CT