Commit Graph

32 Commits

Author SHA1 Message Date
auouymous 353a4cc8b6 Add EQL adjectives 'failed' and 'paused'.
Allowing all failed downloads to be filtered with `(failed)`, all paused
episodes with `(paused)`, and all downloading episodes, excluding paused
episodes with `(downloading and not paused)`.
2023-03-04 19:26:36 -07:00
auouymous eb02ddd9d5 Add 'url', 'link' and 'filename' EQL nouns. 2023-01-25 16:30:47 -07:00
auouymous 0fe74c18d2 Generate HTML episode description only when needed.
PR #1094 generated an HTML description for any episode that lacked one.
That however increased the database size (almost double in worst case)
because it was storing both text and html versions of each description.
This fixes that by storing the episode thumbnail URL in the database and
generating the HTML description only when shownotes are drawn.

The text description is now cleared for episodes with an HTML
description. This further reduces database size for feeds that provide
both. It also fixes an issue for feeds that provide different text and
HTML descriptions, because the short description would show the text
description and shownotes would show the HTML description. And EQL only
searched the text descriptions, which might not match what the user sees
in the shownotes.
2022-06-19 11:56:12 -06: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
auouymous 8ca56d043f add EQL functions to match text in title and/or description 2020-05-08 06:19:50 -06:00
Eric Le Lay 53f230eda3 fix 'remaining' in EQL
python 3 refactoring removed needed parenthesis
2020-04-14 16:35:14 +02:00
MarkusHackspacher 82f41f4c21 sorting imports
with isort -y -rc
see #393
2018-07-24 11:08:10 +02:00
Eric Le Lay fa5a289396 finish fixing E226 2018-04-15 18:59:20 +02:00
MarkusHackspacher a90fa0b521 fix W391 blank line at end of file 2018-02-11 21:51:40 +01:00
MarkusHackspacher 0c18a43d13 fix E302 and E303, only blank line change 2018-02-11 00:22:00 +01:00
Eric Le Lay 4ed043822e add pytest config to run doctest
requires:
 - pytest minimock
 - virtualenv --system-site-packages for gi
2018-02-06 16:05:13 +01:00
Thomas Perl 98ec45a712 Update copyright years (2018) 2018-01-28 19:39:53 +01:00
Thomas Perl 7b46a0ee72 Update copyright years (2017) 2017-12-16 13:54:59 +01: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
Thomas Perl 5a7c30b359 Port to Python 3 2016-11-21 23:13:46 +01:00
Thomas Perl 36eefc8a30 Update copyright years (2016) 2016-01-15 15:22:52 +01:00
Thomas Perl aa72634950 Update copyright years (2015) 2015-05-24 19:33:39 +02:00
Thomas Perl 5d05a694f2 gpodder.query: Also search in episode descriptions 2014-10-23 09:59:13 +02:00
Thomas Perl 553e35f219 Update copyright years (2014) 2014-02-27 21:55:13 +01:00
Thomas Perl bda982be02 Update copyright years for 2013 2013-03-05 16:38:48 +01:00
Thomas Perl 0ed4082024 EQL: Add support for 'age' noun
This is the "episode age in days", i.e. the
amount of days since the episode has been
downloaded (or the downloaded file modified).
2012-02-05 13:30:48 +01:00
Thomas Perl 515c4de70a Merge gpodder.query fixes from Harmattan branch
Add new "downloading" query term to check if an
episode is currently being downloaded.
2012-01-19 11:56:09 +01:00
Thomas Perl 5205a4b71d Update copyright years (add 2012) 2012-01-09 21:19:24 +01:00
Thomas Perl 3ead36e592 EQL: Allow querying of description/shownotes (bug 1171) 2011-04-04 19:05:13 +02:00
Thomas Perl 4376057001 Update copyright years 2011-04-01 18:59:53 +02:00
Thomas Perl 199874ca35 Refactor is_locked -> archive in PodcastEpisode 2011-02-26 16:48:48 +01:00
Thomas Perl ea02c40e08 Refactor is_played -> not is_new in PodcastEpisode 2011-02-26 16:32:34 +01:00
Thomas Perl 442f175157 Fix a bug in the UserEQL function (None value) 2011-02-11 16:27:57 +01:00
Thomas Perl 6924210ab8 Pre-compile EQL expressions for episode filtering 2011-02-01 20:01:35 +01:00
Thomas Perl 292c82ab00 Database schema cleanup / upgrade 2010-12-20 14:35:46 +01:00
Thomas Perl 41054b620a String change: "Keep episode" -> "Archive" 2010-12-20 00:18:22 +01:00
Thomas Perl fa9f1b3747 Initial Episode Query Language (EQL) draft
With EQL, users can write sophisticated queries against
episode lists to filter them down to what they want.
2010-12-19 23:46:17 +01:00