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
Théo Piboubès
2baecbdf58
Removing unneeded imports
2015-08-10 00:56:09 +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
Théo Piboubès
0113f81705
Split subreddit name and title on two lines
2015-08-09 19:48:12 +02:00
Théo Piboubès
57d3f10caa
No need for this much space
2015-08-09 19:33:22 +02:00
Théo Piboubès
af969d1a49
Subscriptions page foundations
2015-08-09 19:25:29 +02:00
ysakamoto
b6c6933883
remove unncesseary order specification from submission url
2015-08-07 03:44:32 -05:00
ysakamoto
84dc58f94d
added IndexError catch to repress non-exsiting sorting method error
2015-08-07 03:44:01 -05: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
aeff01ad00
Escape regex . (dot), they need to be literal
2015-07-30 20:45:23 +00:00
Obosob
f4ea094e93
address Brobin's comments on #126
2015-07-30 16:46:47 +01:00
Obosob
763174fea6
always force https urls
2015-07-30 12:49:25 +01:00
Obosob
a916820866
squashed a teensy bug
2015-07-30 11:43:13 +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
Michael Lazar
b913990d80
Updated subreddit exception handling for PRAW 3.
2015-07-15 13:15:38 -07:00
Lawrence Vanderpool
0bc97348fe
PEP8'd content.py and subreddit.py
2015-06-08 06:43:15 -04:00
Michael Lazar
71e464d03f
Opening comments now uses the comment permalink.
2015-05-16 18:05:48 -07:00
Michael Lazar
f8b8c33270
Better handling of missing content attributes.
2015-05-12 01:25:58 -07:00
Michael Lazar
49a9147ca6
In progress.
2015-04-29 22:31:24 -07:00
Michael Lazar
7d48890f43
Upped mac indent level from 4 to 8.
2015-04-17 20:39:59 -07:00
Michael Lazar
5146244c26
Temporary fix.
2015-04-16 18:15:59 -07:00
Brobin
9edbd9317f
added nsfw tags
2015-04-16 10:34:49 -05:00
Michael Lazar
aa91c18a25
Fixed typo from refactor.
2015-04-05 21:34:46 -07:00
Michael Lazar
ea1230d30c
Added logging and error handling for posts and comments.
2015-04-05 18:29:12 -07:00
Michael Lazar
9ee21fe1ce
Docstring wordings, refactored /r/me handling, updated README.
2015-04-05 17:11:25 -07:00
Michael Lazar
cd6047b5a9
Merge remote-tracking branch 'origin/master' into cleanup
2015-04-05 12:30:48 -07:00
michael-lazar
77915ad672
Merge pull request #74 from Brobin/user_profile_page
...
added user profile page for logged in users
2015-04-05 12:30:06 -07:00
Tobin
4b326cf218
goodbye username
2015-04-04 17:23:25 -05:00