Commit Graph

5417 Commits

Author SHA1 Message Date
auouymous 80629f91d7 Fix msgstr errors in Norwegian Bokmål translation.
Fixes #1399.
2022-09-19 18:47:58 -06:00
auouymous 83d99af8ab Make releasetest failures actually generate errors. 2022-09-19 18:47:52 -06:00
auouymous 2659333380 Fix the format_time() function to display times greater than 24 hours.
Using datetime converts the seconds value into date and time components.
A value of 86400 generates a 00:00 time on the 2nd of January 1970.

The new code properly increments the hour field to 24 and beyond instead
of wrapping around to zero.
2022-09-17 19:29:24 -06:00
auouymous b8bbcfa088 Don't use idle_add() for progress dialogs that don't need it.
The dialog is created inside the function and can be destroyed there as
well. This prevents the idle_add from being blocked forever by a
timeout_add, and the dialog never closing.

Fixes #1311.
2022-09-17 00:46:57 -06:00
auouymous fe83a92286 Remove redundant timeout removal when creating progress dialog.
It is somehow possible for source_id to be zero, causing a
g_source_remove assertion warning.
2022-09-16 05:28:14 -06:00
auouymous 5c01b6b036 Fix crash on older versions of python.
Older versions of python do not treat None as False. This causes
set_sensitive() to crash when None is returned from can_pause().

Fixes #1394.
2022-09-12 14:16:31 -06:00
auouymous eb2ceba7a9 Remove download directory when unsubscribing in gpo. 2022-09-08 16:57:19 -06:00
Teemu Ikonen 643d15971c Add appdata.xml for the adaptive version 2022-09-08 11:56:16 +03:00
Eric Le Lay 518a975b87
Merge pull request #1390 from tpikonen/master
Update appdata.xml from the flatpak package
2022-09-07 22:12:42 +02:00
Teemu Ikonen 7562c5a188 appdata: Add missing release dates since version 3.10.0 2022-09-06 19:40:21 +03:00
Teemu Ikonen 2b679d9af9 appdata: Merge appdata.xml from flathub 2022-09-06 19:36:41 +03:00
Teemu Ikonen ce02cf6810 util.sanitize_filename_ext: Return an empty ext, if sanitized_ext is empty
Prevents file names with two periods before the extension.
2022-09-03 15:09:57 +03:00
Teemu Ikonen c1981801c1 Don't try to download media files with youtube-dl extension 2022-09-03 13:44:40 +03:00
auouymous e510b1e059
Merge pull request #1381 from gpodder/revert-1347-ytdl-no-audio-video-files
Revert "Don't try to download media files with youtube-dl extension"
2022-09-02 15:07:42 -07:00
auouymous b9c356f44b Set "New episodes available" tooltip for episodes with html descriptions.
Episodes with an html description did not have a tooltip because the
description field is always empty for them. The new _text_description
field is computed at runtime and should be used for any code wanting a
text description.

Fixes #1350.
2022-08-30 21:04:56 -06:00
Eric Le Lay f5a8e54660 mac-ci: try known working setuptools version 2022-08-30 20:46:23 +02:00
Teemu Ikonen abca020c30 Set adaptive release 3.11.0+1 version and date 2022-08-30 10:15:59 +03:00
auouymous de390ff711
Revert "Don't try to download media files with youtube-dl extension" 2022-08-29 17:33:53 -07:00
auouymous 2c0e70ca5f Log which program the youtube-dl extension is using. 2022-08-29 18:30:57 -06:00
auouymous defcc6f5f4 Display 'Queueing' on dialog instead of 'Queued' when queueing downloads. 2022-08-29 05:09:04 -06:00
auouymous 86cad043c2 Fail CircleCI run if release_on_mac.sh fails. 2022-08-29 04:02:46 -06:00
auouymous b231243430 Fail if mac build has pip errors. 2022-08-29 03:26:18 -06:00
auouymous 871fb2bcd4 Remove unused 'others' variable. 2022-08-29 03:23:52 -06:00
auouymous ec663e1795 Update osx-bundle to 22.8.27. 2022-08-28 00:15:31 -06:00
auouymous 60b3ba6093 Unwrap argument list when calling IdleTimeout function.
This prevented update_downloads_list() from cleaning up the download
list when finished, due to can_call_cleanup being set to ().
2022-08-27 04:50:48 -06:00
auouymous 26c0f8dad8
Merge pull request #1368 from auouymous/progress-dialogs
Progress dialogs
2022-08-26 03:24:55 -07:00
auouymous 839c85a43e
Merge pull request #1367 from auouymous/idle-timeout
Add util.IdleTimeout class to reduce lag when updating progress tab.
2022-08-26 00:07:09 -07:00
Eric Le Lay 098438bb85
Merge pull request #1356 from auouymous/dont-place-hidden-windows
Reset window position if completely off-screen.
2022-08-25 18:45:50 +02:00
Teemu Ikonen 294b047901 Fix 'Invalid episode at path 0' messages on channel change 2022-08-24 11:54:34 +03:00
Teemu Ikonen 209ef01aa5 adaptive/gpodder.ui: Set 'relief' to none in back buttons 2022-08-24 11:54:26 +03:00
Teemu Ikonen c89268fd4b adaptive/menus.ui: Remove 'Refresh image' from channels context menu 2022-08-24 11:54:26 +03:00
Teemu Ikonen 8fd6c5eba6 Add a subtitle with statistics to header bar 2022-08-24 11:54:26 +03:00
Teemu Ikonen da268d4fe2 preferences: Show flap on 'edge-overshot' from top 2022-08-24 11:54:26 +03:00
Teemu Ikonen a071a1472b preferences: Reorganize flap code 2022-08-24 11:54:26 +03:00
Teemu Ikonen 3d678927f2 Show a header (pulley) menu on channel list 'edge-overshot' 2022-08-24 11:54:26 +03:00
Teemu Ikonen b6ac9776d8 Navigate back from shownotes with 'edge-overshot' signal 2022-08-24 11:54:26 +03:00
Teemu Ikonen f5f607d309 Fix setting cover image from local file 2022-08-24 11:54:26 +03:00
Teemu Ikonen 21797b80a4 channel editor: Add buttons next to cover, feed URL, etc.
Remove the cover image context menu and add buttons next to various
items in the channel editor:

 * Cover image: Pop-up a menu to change or refresh the cover image
 * Feed URL: Copy the URL to clipboard
 * Download folder: Open the download folder
2022-08-24 11:54:26 +03:00
Teemu Ikonen df3a093462 Navigate back from episodes with 'edge-overshot' signal
But only do so if on mobile. Compensates for lack of swipes in
TreeViews.
2022-08-24 11:54:26 +03:00
Teemu Ikonen b685022a8c Add function is_on_mobile_screen(window) 2022-08-24 11:54:26 +03:00
Teemu Ikonen 9231e16995 Revert "preferences: Add a hack to maximize on mobile screen"
This reverts commit 6105ec55e4.
2022-08-24 11:54:26 +03:00
Teemu Ikonen a21ed49b67 adaptive/gpodder.ui: Progress window GtkDialog -> GtkWindow 2022-08-24 11:54:26 +03:00
Teemu Ikonen dfc0ebc18d Remove set_transient_for() calls to fix Phosh non-maximization 2022-08-24 11:54:26 +03:00
Teemu Ikonen 2e57489f32 Fix Phosh non-maximization on channel editor 2022-08-24 11:54:26 +03:00
Teemu Ikonen 8e6b88cf7e adaptive/gpodderpodcastdirectory.ui: Get changes from master 2022-08-24 11:54:26 +03:00
Teemu Ikonen f60f0a44d0 Remove adaptive/gpodderpreferences.ui 2022-08-24 11:54:26 +03:00
Teemu Ikonen 525ec32802 adaptive/episodeselector.py: Fix Stream button 2022-08-24 11:54:26 +03:00
Teemu Ikonen f533ed395a Replace SimpleMessageArea with GtkInfoBar when resuming
Remove unused SimpleMessageArea code.
2022-08-24 11:54:26 +03:00
Teemu Ikonen 4f360e62f6 Remove download actions from app.py 2022-08-24 11:54:26 +03:00
Teemu Ikonen d7f2943a70 main.py: Fix whitespace 2022-08-24 11:54:26 +03:00