Eric Le Lay
831186b0c7
fix overlooked stream.text in conversion to util.response_text
2020-07-23 22:33:15 +02:00
Eric Le Lay
7c551ee6aa
gpodder escapist_videos doesn't work with escapist magazine v2
2020-07-18 15:13:43 +02:00
Eric Le Lay
12912bed3e
fix naive access to response.text
...
bytes for xml, utf-8 fallback for html, known encoding if available
2020-07-18 15:04:04 +02:00
Eric Le Lay
d59bba5b6d
fix invalid encoding used to parse feeds
...
eg. http://podcast.hr-online.de/hrinfo_wissenswert/podcast.xml
2020-07-14 18:45:38 +02:00
Eric Le Lay
48d851d292
rework feedcore.Fetcher interface to allow reusing it in custom channel parsers
2020-07-14 18:43:44 +02:00
Eric Le Lay
1c806ed959
gtk: make error dialog message copyable
2020-07-12 17:52:38 +02:00
Eric Le Lay
8d3e65bb4a
add 'Show Password' checkbox to password prompt
2020-07-12 17:07:42 +02:00
Eric Le Lay
39675723b4
escape download task error message before using it as markup
2020-07-12 17:07:42 +02:00
Eric Le Lay
6188efc24e
use requests for download
2020-07-12 17:07:42 +02:00
Eric Le Lay
d88a9097b5
set requests timeout
2020-07-12 17:06:34 +02:00
Eric Le Lay
d40bc49e0e
move download's get_header_param() to util, to use in soundcloud plugin
2020-07-12 17:06:34 +02:00
Eric Le Lay
a56651ad79
fix linter warning
2020-07-12 17:06:34 +02:00
Eric Le Lay
3babb86c70
use requests package for util.urlopen
...
now a requests.Response is returned instead of the file-like object from urllib.
Fixed all usages of util.urlopen: it simplifies getting json, text encoding detection.
In particular feedcore (responsible for fetching feeds) is simplified.
This is a first pass and could benefit from better usage of the requests api
(Sessions for instance, to keep connection pools)
TODO: download.py
2020-07-11 17:42:28 +02:00
Eric Le Lay
9fd26f2f96
remove python2 import check
2020-07-10 16:49:14 +02:00
Eric Le Lay
c71c8fb834
prepare 3.10.16 release
2020-06-21 16:15:58 +02:00
Eric Le Lay
3a9f7312fc
fix #815 Ctrl-q does not quit
...
Couldn't find a way to get this info from the Gio.MenuModel from Gtk.Builder,
so I reparse the menus.ui file
2020-06-14 16:01:32 +02:00
Eric Le Lay
2371212bfd
Merge pull request #803 from auouymous/better-indicate-optional-imports
...
better indicate optional imports (gpod and eyed3.mp3)
2020-06-09 20:54:43 +02:00
auouymous
d8320aa204
add podcast and section EQL variables for use with SsRr functions
...
(s('...', podcast))
(s('...', section))
2020-06-08 21:17:30 -06:00
Eric Le Lay
cbb5104185
Merge pull request #791 from gpodder/gnome3-header-bar-csd
...
Gtk UI: Add support for GtkHeaderBar / GNOME3 CSDs
2020-05-14 21:39:35 +02:00
auouymous
a955f7257a
Move optional import errors to time of use to avoid spamming all users
...
with sync-only warnings. And better indicate why the modules are needed.
2020-05-13 01:30:48 -06:00
Eric Le Lay
b18fa6674d
fix linter warnings
2020-05-13 08:36:22 +02:00
Eric Le Lay
233d4adf48
remove dark-theme detection
2020-05-10 16:56:19 +02:00
Eric Le Lay
5340667b82
use TextView foreground, background, link colors
2020-05-10 16:55:47 +02:00
Eric Le Lay
0e04659d30
fix state unused in dray get_xx_color functions
2020-05-10 16:53:36 +02:00
Eric Le Lay
241aa360a9
smaller episode shownotes font size
2020-05-09 16:31:02 +02:00
Eric Le Lay
834367e25c
use the label's colors; can't get the link color
...
but it returns the same color as the foreground, which is not bad
2020-05-09 16:30:53 +02:00
Eric Le Lay
0e7ba56643
don't use blue hyperlinks on dark themes
2020-05-08 20:10:42 +02:00
Eric Le Lay
c2f94e8a12
no headerbar if GTK_CSD=0 in environment
2020-05-08 19:38:53 +02:00
Eric Le Lay
80b3d92458
Merge pull request #802 from auouymous/quiet-flag
...
add quiet flag to eliminate warnings from console
2020-05-08 15:49:21 +02:00
Eric Le Lay
e7e1f97e3d
Merge pull request #804 from auouymous/add-eql-query-functions
...
add EQL functions to match text in title and/or description
2020-05-08 15:48:43 +02:00
auouymous
8ca56d043f
add EQL functions to match text in title and/or description
2020-05-08 06:19:50 -06:00
Eric Le Lay
e0cde8a277
Merge pull request #798 from auouymous/dont-clear-custom-youtube-formats
...
don't clear custom youtube formats
2020-05-08 10:55:02 +02:00
auouymous
c844fcc29e
add quiet flag to eliminate warnings from console
2020-05-07 04:04:18 -06:00
auouymous
3da287791d
don't clear custom youtube formats
2020-05-04 23:55:36 -06:00
auouymous
d45ee08b31
simplify youtube formats with += operator
2020-05-04 20:47:43 -06:00
Thomas Perl
41f18da268
Gtk UI: Move headerbar initialization to window code
2020-04-30 08:57:42 +02:00
Thomas Perl
6f6bf1c01f
Gtk UI: Improve header bar / app menu logic
2020-04-29 19:34:18 +02:00
Thomas Perl
7da29005fc
Gtk UI: Take XDG_CURRENT_DESKTOP into account for GNOME3-style UI
2020-04-29 19:34:18 +02:00
Thomas Perl
0148a07a6a
Gtk UI: Add support for GtkHeaderBar / GNOME3 CSDs
2020-04-29 19:34:18 +02:00
Thomas Perl
a5df089398
Gtk UI: Force-resize icons in player list
2020-04-27 18:24:27 +02:00
auouymous
af93037dc1
refactor youtube formats and add settings for more resolutions
2020-04-24 06:26:00 -06:00
Eric Le Lay
e14703f39d
Merge pull request #773 from gpodder/fix-685-search
...
Fix #685 more discoverable search
2020-04-16 14:55:11 +02:00
Eric Le Lay
9541e27987
prepare 3.10.15 release
2020-04-15 09:49:42 +02:00
Eric Le Lay
6ea0996e1d
prepare 3.10.14 release
2020-04-14 16:56:40 +02:00
Eric Le Lay
0567076c28
fix linter warning
2020-04-14 16:38:52 +02:00
Eric Le Lay
c3bcf93dc8
option to always show search fields
2020-04-14 16:38:52 +02:00
Eric Le Lay
00d9ca36f0
searchtree: add class doc
2020-04-14 16:38:52 +02:00
Eric Le Lay
e8fd2e081f
factor search box code
...
I don't know how to make it a real component, but at least
behaviour is identical.
2020-04-14 16:38:52 +02:00
Eric Le Lay
ff8582d6dd
add menu items to trigger podcast/episode search
2020-04-14 16:36:26 +02:00
Eric Le Lay
53f230eda3
fix 'remaining' in EQL
...
python 3 refactoring removed needed parenthesis
2020-04-14 16:35:14 +02:00