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
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
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
Gustavo Zambonin
91c384d36b
code width is now consistent
...
unused imports removed
2015-10-15 16:58:17 -03:00
Michael Lazar
7786c03d9d
Updated tornado to point to the correct template path.
2015-10-15 02:14:22 -07:00
Michael Lazar
77a6c71119
Moved templates inside of the package to enable setuptools distribution via package_data.
2015-10-15 01:44:33 -07:00
Michael Lazar
98551c2f35
upping version
2015-10-14 23:48:10 -07: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
2358eed46e
page.py: exit prompt added
...
logout prompt now works as intended
2015-10-14 00:39:47 -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
1e3abc17d8
Fixed typo in AGENT string formatting.
2015-09-29 00:43:34 -07:00
Michael Lazar
ba71453b7c
Finished template for manpage, added --version flag.
2015-09-27 18:19:00 -07:00
Michael Lazar
dfc5ddef1a
Intermediate commit.
2015-09-27 16:23:34 -07:00
Michael Lazar
2e3e99b717
Removed unused import.
2015-09-20 23:14:49 -07:00
Michael Lazar
4287ec1749
Added missing function to __all__.
2015-09-20 23:08:46 -07:00
Michael Lazar
8b80e4e622
Fixed config file parsing.
2015-09-20 23:05:20 -07:00
Michael Lazar
f0411fb1d3
Spelling.
2015-09-20 23:01:59 -07:00
Michael Lazar
44c4eeca62
Updated README, added "persistant" option to config and command line.
2015-09-20 22:56:24 -07:00
Michael Lazar
6cc744bf91
Tweaking a few things oauth things.
2015-09-20 19:54:41 -07:00
Théo Piboubès
4bb44eb6de
Merge branch 'oauth2'
2015-09-06 02:45:55 +02:00
Théo Piboubès
a84ac2f61e
Stop IOLoop when callback page reached with GUI browser
2015-09-05 16:36:12 +02:00
Théo Piboubès
e90dcc6e5c
Start HTTP server only once
2015-09-05 16:29:31 +02:00
Théo Piboubès
8e6758a389
Open terminal web browser asynchronously
2015-09-05 16:25:34 +02:00
Théo Piboubès
2951cc9f30
Merge branch 'oauth2'
2015-09-04 20:28:01 +02:00
Théo Piboubès
67fc9c569c
Merge branch 'master' of git://github.com/michael-lazar/rtv
2015-09-04 20:25:46 +02:00
Théo Piboubès
0134e157d0
Listen on port only when web server is needed
2015-09-04 20:09:58 +02:00
Théo Piboubès
1f0ca4d592
Update README.rst and docs
2015-09-04 18:39:22 +02:00
Théo Piboubès
b643ce9559
Complete logout
2015-09-04 18:23:10 +02:00
Théo Piboubès
eaed514208
OAuth flow terminal web browser support
2015-09-04 18:22:01 +02:00
Théo Piboubès
6933b35240
Avoid infinite loop if server crashes
2015-09-04 18:18:31 +02:00
Théo Piboubès
f6546aaf75
Let PRAW manage authentication
2015-09-01 22:32:56 +02:00
Théo Piboubès
314d2dbf26
OAuth config file improvements
2015-08-31 20:37:02 +02:00
Théo Piboubès
d24c81bce6
External OAuth configuration file
2015-08-28 21:13:57 +02:00
Théo Piboubès
d2822ccf85
Make OAuth compatible with Python 2
2015-08-28 20:28:58 +02:00
Johnathan Jenkins
ccadcfe891
add undocumented function to display new messages.
2015-08-28 10:05:09 -07:00
Johnathan Jenkins
210eba35fc
add undocumented function to display new messages.
2015-08-27 13:07:14 -07:00
Michael Lazar
b6bffd660b
Upping version.
2015-08-27 00:08:16 -07:00
Théo Piboubès
a2fa9c5ea3
Fix ResourceWarnings
2015-08-20 14:39:45 +02:00