Commit graph

261 commits

Author SHA1 Message Date
MarkusHackspacher
43e2fbfed6 fix E111 indentation is not a multiple of four
E111 to E119 are solved, to check this is E11 im setup.cfg.
2018-03-01 22:25:02 +01:00
MarkusHackspacher
0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
MarkusHackspacher
955499fcd1 fix E305 expected 2 blank lines after class or function definition 2018-02-10 11:11:20 +01:00
Eric Le Lay
60d458f3cc use specified encoding when reading extension metadata
fixes #351
2018-02-06 16:13:21 +01:00
Eric Le Lay
11569ca31d more pycodestyle checks
see #393 for discussion
2018-02-06 15:19:08 +01:00
MarkusHackspacher
fcbaee227c Fix W291 trailing whitespace 2018-02-01 07:59:22 +01:00
MarkusHackspacher
c1c841c08c Fix W293 blank line contains whitespace 2018-01-30 14:04:28 +01:00
Thomas Perl
98ec45a712 Update copyright years (2018) 2018-01-28 19:39:53 +01:00
Eric Le Lay
4cbf62372d fix #361: podcast folders are not sanitized 2017-12-31 11:55:46 +01:00
Thomas Perl
66a354d9d1 Merge branch 'gtk3' 2017-12-29 16:09:04 +01:00
Thomas Perl
7b46a0ee72 Update copyright years (2017) 2017-12-16 13:54:59 +01:00
Thomas Perl
17112ee247 Update copyright years (2017) 2017-12-16 13:52:51 +01:00
Eric Le Lay
fe67fa048b get latest gPodder version from github 2017-11-27 22:09:32 +01:00
Adam Voss
e10caaf5de Attempted compromise for is_html RegEx 2017-04-18 10:16:57 -05:00
Eric Le Lay
4ab407007e schema v7: update description and description_html fields
1. initialize description_html when description used to contain HTML
 2. strip HTML tags from description
 3. reset last updated from feed to force fetch description/description_html
2017-04-18 10:16:52 -05:00
Adam Voss
eda8706260 Attempted compromise for is_html RegEx 2017-04-18 09:45:38 -05:00
Eric Le Lay
01e0655943 schema v7: update description and description_html fields
1. initialize description_html when description used to contain HTML
 2. strip HTML tags from description
 3. reset last updated from feed to force fetch description/description_html
2017-04-17 19:19:28 +02:00
Adam Voss
a6208617df Merge Merge pull request #242 from vossad01/soundcloud-default-https
Use https urls for SoundCloud requests
2017-03-25 23:10:09 -05:00
Adam Voss
4163d5a45a Merge Merge pull request #200 from mexicarne/master
Fix detection of wireless interfaces in FreeBSD
2017-03-25 19:35:00 -05:00
Adam Voss
ef915dd3b6 Use https urls for SoundCloud requests 2017-03-19 09:30:06 -05:00
Adam Voss
d2a9d58524 Changes since Python3 does floating point division
This was done based on a manual search for the '/' character.  No efforts were made to try to run all affected code paths.
2017-02-14 08:53:47 -06:00
Ruslan Makhmatkhanov
b67247dc23 Fix detection of wireless interfaces in FreeBSD
At least in FreeBSD status of wireless interface is show as

status: associated

not

status: active

So unix_get_active_interfaces() routine fails here. Add 'associated' to regex
to fix up things.
2016-12-29 21:02:24 +03:00
Adam Voss
bfcf1c5e1a Fixes some exceptions related to bytes vs str handling 2016-12-07 12:40:12 -06:00
Eric Le Lay
592146cd76 urlopen().read() must be converted to string
when it's searched by re, etc.
FIXME: still work to do to validate some uses are ok
2016-11-26 15:28:15 +01:00
Thomas Perl
de69c4b770 Remove unused parameter in util.sanitize_filename() 2016-11-21 23:42:14 +01:00
Thomas Perl
dd9ca2a386 Remove util.sanitize_encoding() 2016-11-21 23:40:05 +01:00
Thomas Perl
8802b546ba Remove debug print 2016-11-21 23:34:23 +01:00
Thomas Perl
58d1da9f71 Update unit tests, doctests and makefiles 2016-11-21 23:32:50 +01:00
Thomas Perl
e020448e14 More Python 3 fixes (Soundcloud, util) 2016-11-21 23:19:20 +01:00
Thomas Perl
5a7c30b359 Port to Python 3 2016-11-21 23:13:46 +01:00
Thomas Perl
2f5029f151 Merge branch 'master' into gtk3 2016-11-20 14:59:11 +01:00
Thomas Perl
746b7590bf Allow Python buffer objects through util.convert_bytes() 2016-11-20 11:50:05 +01:00
Thomas Perl
ef216d8694 Merge branch 'podcastparser' into gtk3-podcastparser 2016-11-18 14:48:56 +01:00
Thomas Perl
4189cf48fb Port from feedparser to podcastparser 2016-11-18 14:47:15 +01:00
Thomas Perl
9b8dbdc3a6 New try to do a minimal Gtk+3 port 2016-09-25 14:31:58 +02:00
Thomas Perl
826864daaa Fix class naming 2016-08-21 22:59:33 +02:00
Mathias Rav
81cbe1fba7 Move the code that uses html5lib under the html5lib guard 2016-08-11 09:53:36 +02:00
Mathias Rav
a6f284331d Refactor, remove diffing code and extract_hyperlinked_text_{1,2} 2016-08-11 09:51:56 +02:00
Mathias Rav
6f2db07d76 Try importing html5lib and log a warning if it fails 2016-08-11 09:51:56 +02:00
Thomas Perl
334eaff8e3 Remove error message when html5lib not available 2016-08-08 20:10:35 +02:00
Mathias Rav
6a9a47a7b7 Fix NameError in ImportError handling 2016-08-08 20:04:14 +02:00
Mathias Rav
9cc600208f Handle HTML entities using name2codepoint 2016-08-08 20:00:28 +02:00
Mathias Rav
33af39d69d extract_hyperlinked_text: Compare the two algorithms and output their difference 2016-08-08 19:51:29 +02:00
Mathias Rav
f74b20113b Implement extract_hyperlinked_text_2 2016-08-08 19:51:15 +02:00
Mathias Rav
87ce8447e3 Refactor, renaming extract_hyperlinked_text -> extract_hyperlinked_text_1 2016-08-08 19:50:51 +02:00
Mathias Rav
c7ab9f6f70 Use html5lib to find hyperlinks in the HTML of the podcast show notes 2016-08-07 12:24:03 +02:00
Thomas Perl
28075c09dd Remove QML UI 2016-02-03 19:54:33 +01:00
Thomas Perl
36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl
169102de09 Device sync: Only fail if we can determine free disk space (bug 2052) 2015-12-16 09:33:21 +01:00
Thomas Perl
aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00