miniflux/internal/integration
Ztec 4498ba10e8 Fix: Integration with Pinboard: Preserve Existing Bookmarks
The Issue:
When saving an entry that is already bookmarked on Pinboard,
Miniflux was overriding all existing data on Pinboard. This action
removed any extended content or, worse, changed the private settings
to public, making previously private bookmarks publicly available.

The Fix:
Now, upon saving an entry as a bookmark, I first fetch it. If it
already exists, I apply the necessary modifications (adding tags and any state)
that Miniflux would have normally done, then add it again. This way, no
data is lost in the process. Pinboard has a stable API, so I don't anticipate
any new fields being added soon.

I manually tested the integration by hitting the save button in the following situations:
- Entry URL does not exist on Pinboard:
  - Bookmark is properly added on Pinboard with tags and "to read" status according to Miniflux settings.
- Entry URL already exists on Pinboard:
  - Existing data remains unchanged.
  - Tags from Miniflux settings are properly added to the bookmark.
  - "To read" status is set to yes when the option is checked in Miniflux. Nothing is changed otherwise.
2024-06-28 20:27:52 -07:00
..
apprise Fix Apprise logic to handle feed service URLs 2023-09-30 15:32:23 -07:00
espial Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
instapaper Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
linkace feat: add linkace service integration 2024-01-25 18:04:14 -08:00
linkding Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
linkwarden Add Linkwarden integration 2024-02-11 17:12:37 -08:00
matrixbot chore: fix function name in comment 2024-04-10 19:36:30 -07:00
notion Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
nunuxkeeper Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
omnivore Remove github.com/google/uuid 2024-02-26 18:31:12 -08:00
pinboard Fix: Integration with Pinboard: Preserve Existing Bookmarks 2024-06-28 20:27:52 -07:00
pocket Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
raindrop integration/raindrop: initial draft implementation 2024-05-02 16:23:00 -07:00
readeck Add Readeck integration 2024-02-21 19:57:34 -08:00
readwise Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
rssbridge integration: fix rssbrige import 2024-03-24 12:42:29 -07:00
shaarli Fix and simplify shaarli's integration 2024-03-13 21:34:57 -07:00
shiori Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
telegrambot Telegram: add feed name to message 2024-06-21 14:23:30 -07:00
wallabag Use stdlib HTTP client for third-party integrations 2023-08-14 21:49:02 -07:00
webhook integration/webhook: add category title to request body 2024-03-29 16:37:05 -07:00
integration.go integration/raindrop: initial draft implementation 2024-05-02 16:23:00 -07:00