| Summary: | Option to render (and/or otherwise make available) details about the picture of the day (potd) wallpaper | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeplasma-addons | Reporter: | William Kendrick <nbs> |
| Component: | Picture of the Day | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | charlyghislain, kde, nate, qydwhotmail |
| Priority: | NOR | ||
| Version First Reported In: | 5.18.5 | ||
| Target Milestone: | --- | ||
| Platform: | Kubuntu | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kdeplasma-addons/commit/697943a00dca6eba1a07c6c167145568ae9e93fa | Version Fixed/Implemented In: | 5.25 |
| Sentry Crash Report: | |||
|
Description
William Kendrick
2020-06-13 18:43:28 UTC
Once parsed by the providers, a plasma widget to display the caption would be awesome. I'd like this feature very much. I frequently open bing.com manually to find out the details (location/background) of a particular wallpaper that looks amazing. Also, sometimes the wallpaper of a particular day is not attractive. An additional cool option would be to be able to load wallpapers from previous days, say using navigation arrows or a date picker on a widget, that'll allow the users to manually load historical wallpapers from an arbitrary day (provided the source supports accessing previous wallpapers, of course). I have finished adding title, author and the download URL for the Bing provider. However it seems impossible to show the information in the config dialog using the current code. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/106 A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/834 A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/114 Git commit 9d0bac2055a51feff05213dae5be028866b2e57d by Fushan Wen.
Committed on 14/02/2022 at 01:43.
Pushed by fusionfuture into branch 'master'.
dataengines/potd: Move image to PotdProviderData
PotdProviderData is used to store wallpaper data. The design is to keep
binary compatibility.
M +1 -1 dataengines/potd/HowToAddProvider.txt
M +1 -6 dataengines/potd/apodprovider.cpp
M +0 -13 dataengines/potd/apodprovider.h
M +1 -6 dataengines/potd/bingprovider.cpp
M +0 -13 dataengines/potd/bingprovider.h
M +1 -6 dataengines/potd/cachedprovider.cpp
M +0 -9 dataengines/potd/cachedprovider.h
M +1 -6 dataengines/potd/epodprovider.cpp
M +0 -13 dataengines/potd/epodprovider.h
M +1 -6 dataengines/potd/flickrprovider.cpp
M +0 -10 dataengines/potd/flickrprovider.h
M +1 -6 dataengines/potd/natgeoprovider.cpp
M +0 -11 dataengines/potd/natgeoprovider.h
M +1 -6 dataengines/potd/noaaprovider.cpp
M +0 -13 dataengines/potd/noaaprovider.h
M +24 -0 dataengines/potd/potdprovider.cpp
M +14 -2 dataengines/potd/potdprovider.h
M +1 -6 dataengines/potd/simonstalenhagprovider.cpp
M +0 -13 dataengines/potd/simonstalenhagprovider.h
M +1 -6 dataengines/potd/unsplashprovider.cpp
M +0 -13 dataengines/potd/unsplashprovider.h
M +1 -6 dataengines/potd/wcpotdprovider.cpp
M +0 -13 dataengines/potd/wcpotdprovider.h
M +2 -7 templates/plasmapotdprovider/src/%{APPNAMELC}.cpp
M +0 -8 templates/plasmapotdprovider/src/%{APPNAMELC}.h
https://invent.kde.org/plasma/kdeplasma-addons/commit/9d0bac2055a51feff05213dae5be028866b2e57d
Git commit d68fb6f8365eee18eebb6e48822cffd195e32a94 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Add title, author, remoteUrl and infoUrl in PotdProvider They are required for getting the information of an image from the provider. M +20 -0 wallpapers/potd/plugins/potdprovider.cpp M +37 -0 wallpapers/potd/plugins/potdprovider.h https://invent.kde.org/plasma/kdeplasma-addons/commit/d68fb6f8365eee18eebb6e48822cffd195e32a94 Git commit b5f8a25ea67550d4d987898b753aa7fec4635556 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. wallpapers/potd: Implement save action in the backend To perform copy jobs. M +2 -0 wallpapers/potd/plugins/CMakeLists.txt M +1 -0 wallpapers/potd/plugins/potdplugin.cpp M +83 -0 wallpapers/potd/plugins/potdprovidermodel.cpp M +41 -0 wallpapers/potd/plugins/potdprovidermodel.h https://invent.kde.org/plasma/kdeplasma-addons/commit/b5f8a25ea67550d4d987898b753aa7fec4635556 Git commit 246557302d357d5a45e167268cdc0fd3de65ef0b by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Add more roles Expose more data in PotdProviderModel. M +64 -0 wallpapers/potd/plugins/potdprovidermodel.cpp M +22 -0 wallpapers/potd/plugins/potdprovidermodel.h https://invent.kde.org/plasma/kdeplasma-addons/commit/246557302d357d5a45e167268cdc0fd3de65ef0b Git commit 697943a00dca6eba1a07c6c167145568ae9e93fa by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. wallpapers/potd: Show wallpaper information in the config dialog In the wallpaper config dialog, the preview, the title and the author of today's picture will be shown. FIXED-IN: 5.25 A +37 -0 wallpapers/potd/package/contents/ui/ActionContextMenu.qml [License: LGPL(v2.0+)] A +45 -0 wallpapers/potd/package/contents/ui/SelectableLabel.qml [License: GPL(3+eV) GPL(v3.0) GPL(v2.0)] A +244 -0 wallpapers/potd/package/contents/ui/WallpaperDelegate.qml [License: GPL(v2.0+)] A +65 -0 wallpapers/potd/package/contents/ui/WallpaperPreview.qml [License: GPL(v2.0+)] M +86 -5 wallpapers/potd/package/contents/ui/config.qml M +19 -17 wallpapers/potd/package/contents/ui/main.qml https://invent.kde.org/plasma/kdeplasma-addons/commit/697943a00dca6eba1a07c6c167145568ae9e93fa Git commit fdf340dfefe0cdb6f5e68d11eb29f49e6a4a6d57 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Add `loading` to indicate the loading status M +35 -6 wallpapers/potd/plugins/potdprovidermodel.cpp M +5 -0 wallpapers/potd/plugins/potdprovidermodel.h https://invent.kde.org/plasma/kdeplasma-addons/commit/fdf340dfefe0cdb6f5e68d11eb29f49e6a4a6d57 Git commit bfef3f82611ac1428400eae80cee83536339c2be by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. wallpapers/potd: Use singleton to share data between QML files After dataengine is gone, a singleton is required to share data. M +13 -0 wallpapers/potd/plugins/potdplugin.cpp M +14 -21 wallpapers/potd/plugins/potdprovidermodel.cpp M +4 -2 wallpapers/potd/plugins/potdprovidermodel.h https://invent.kde.org/plasma/kdeplasma-addons/commit/bfef3f82611ac1428400eae80cee83536339c2be Git commit e1bf9e0d432deae9c8f712c80239037b79eb7efd by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Save wallpaper information to json file M +19 -0 wallpapers/potd/plugins/cachedprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/e1bf9e0d432deae9c8f712c80239037b79eb7efd Git commit ed11e1bb9f607a71512eee73ba79ef460b62a5ab by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title and remoteUrl in SimonStalenhagProvider Parse the title from the json data, and set the remote URL. M +13 -2 wallpapers/potd/plugins/simonstalenhagprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/ed11e1bb9f607a71512eee73ba79ef460b62a5ab Git commit 6bff81fb6bf590f78c12b37f89f8bb613aff59c6 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, author, infoUrl and remoteUrl in NatGeoProvider Parse the title, the author and the info URL from the HTML source, and set the remote URL. M +41 -5 wallpapers/potd/plugins/natgeoprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/6bff81fb6bf590f78c12b37f89f8bb613aff59c6 Git commit e8272963b156ed9beda24f014cc4ce631cfee77a by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, author, infoUrl and remoteUrl in EpodProvider Parse the title, the author and the infoUrl from the HTML source, and set the remote URL. M +36 -4 wallpapers/potd/plugins/epodprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/e8272963b156ed9beda24f014cc4ce631cfee77a Git commit 357b4ae50d22044579caeebfc59b1e229bb984ca by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, infoUrl and remoteUrl in WcpotdProvider Parse the title and info URL from the json data, and set the remote URL. M +35 -11 wallpapers/potd/plugins/wcpotdprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/357b4ae50d22044579caeebfc59b1e229bb984ca Git commit 84525a920b21be8d3823f71e410463d95bcc8726 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, author, infoUrl and remoteUrl in ApodProvider Parse the title and the author from the HTML source, and set the info URL and the remote URL. M +26 -6 wallpapers/potd/plugins/apodprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/84525a920b21be8d3823f71e410463d95bcc8726 Git commit df64a7159439bd8f7f83cacafabdbacd6794bc66 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Load wallpaper information in LoadImageThread We save the information to a json file, and we need to read the information from the json file. M +35 -5 wallpapers/potd/plugins/cachedprovider.cpp M +2 -2 wallpapers/potd/plugins/cachedprovider.h https://invent.kde.org/plasma/kdeplasma-addons/commit/df64a7159439bd8f7f83cacafabdbacd6794bc66 Git commit 945ee71c75d91bb6f13648b5cffb4a4954757f46 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, author, infoUrl and remoteUrl in BingProvider Parse the title and the copyright text from the json data, and set the info URL and the remote URL. M +25 -2 wallpapers/potd/plugins/bingprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/945ee71c75d91bb6f13648b5cffb4a4954757f46 Git commit b0ae7ffc59cb8e1c63c3f2026a7ae5c3c9c6a347 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, author, infoUrl and remoteUrl in FlickrProvider Parse the title from XML, the author from the XML data, and set the info URL and the remote URL. M +60 -4 wallpapers/potd/plugins/flickrprovider.cpp M +12 -1 wallpapers/potd/plugins/flickrprovider.h https://invent.kde.org/plasma/kdeplasma-addons/commit/b0ae7ffc59cb8e1c63c3f2026a7ae5c3c9c6a347 Git commit eac8ca8aafc18267af815c4685a65f95750afea6 by Nate Graham, on behalf of Fushan Wen. Committed on 29/03/2022 at 20:40. Pushed by ngraham into branch 'master'. dataengines/potd: Parse title, infoUrl and remoteUrl in NOAAProvider Parse the title and the info URL from the HTML source, and set the remote URL. M +20 -8 wallpapers/potd/plugins/noaaprovider.cpp https://invent.kde.org/plasma/kdeplasma-addons/commit/eac8ca8aafc18267af815c4685a65f95750afea6 Thanks so much! |