Frédéric Guillot
6cc8d8abf1
fix(googlereader): /items/contents
should accept short form item IDs
2025-05-03 21:48:41 -07:00
Frédéric Guillot
50395f13ca
feat(googlereader): add mark-all-as-read
endpoint
2025-05-03 18:38:54 -07:00
Frédéric Guillot
e8c3435bb9
fix(googlereader): return a 400 instead of 500 for invalid edit requests
2025-05-02 18:15:00 -07:00
Frédéric Guillot
63f0a17388
fix(googlereader): avoid panic for inexisting feed or category
2025-05-02 17:42:25 -07:00
Frédéric Guillot
d33e305af9
fix(api): hide_globally
categories field should be a boolean
2025-04-21 19:43:25 -07:00
Frédéric Guillot
ef22e95f8b
feat: implement proxy URL per feed
2025-04-06 21:05:19 -07:00
Frédéric Guillot
535fd050b7
feat: add proxy rotation functionality
2025-04-06 14:59:00 -07:00
Frédéric Guillot
e643effefa
feat: combine feed icon handlers to use only externalIconID
2025-03-28 14:29:19 -07:00
Frédéric Guillot
c531be8780
fix: update Content-Security-Policy to use 'sandbox' directive
2025-03-28 13:06:59 -07:00
Josiah Campbell
df8bc742fb
feat(googlereader): add feed icon field, endpoint
...
Adds an endpoint to the Google Reader integration to serve
feed icon URLs.
2025-03-25 20:55:16 -07:00
Frédéric Guillot
381f03b56a
fix(greader): return enclosures in streamItemContentsHandler
response
2025-02-22 20:11:41 -08:00
Pontus Jensen Karlsson
810b351772
feat: add API routes /v1/enclosures/{enclosureID}
2024-08-18 11:53:19 -07:00
Frédéric Guillot
d048d59d39
fix: use BASE_URL instead of r.Host
to generate absolute media proxy URL
2024-07-29 16:04:31 -07:00
Frédéric Guillot
5ce3f24838
googelreader: set CrawlTimeMsec at the correct precision
...
Fixes #2669
Fixes #2670
2024-05-29 21:54:02 -07:00
Frédéric Guillot
c2311e316c
Rename PROXY_* options to MEDIA_PROXY_*
2024-03-20 21:28:28 -07:00
Frédéric Guillot
a15cdb1655
Fix regression in AbsoluteProxifyURL()
...
Regression introduced in commit 66b8483791
PR #2499
2024-03-18 20:48:20 -07:00
Frédéric Guillot
b1e73fafdf
Enable go-critic linter and fix various issues detected
2024-03-17 13:52:34 -07:00
jvoisin
1f5c8ce353
Don't mix up capacity and length
...
- `make([]a, b)` create a slice of `b` elements `a`
- `make([]a, b, c)` create a slice of `0` elements `a`, but reserve space for `c` of them
When using `append` on the former, it will result on a slice with `b` leading
elements, which is unlikely to be what we want. This commit replaces the two
instances where this happens with the latter construct.
2024-02-28 19:57:30 -08:00
Frédéric Guillot
9d1b1e19d4
Google Reader: Do not return a 500 error when no items is returned
2024-02-25 21:17:49 -08:00
Frédéric Guillot
1af1bc3460
Google Reader API: Allow rename and move feed at the same time
...
Fixes #2191
2023-12-01 17:50:01 -08:00
Frédéric Guillot
1bd5d57884
user/{userID}/state/com.google/read
is missing in categories
section for read entries
2023-11-09 12:50:42 +01:00
Frédéric Guillot
aa3dc574a7
Google Reader API: Take ExcludeTargets into consideration in Feed stream handler
2023-11-08 17:31:05 +01:00
Frédéric Guillot
eeaab72a9f
Refactor feed discovery and avoid an extra HTTP request if the url provided is the feed
2023-10-22 18:05:37 -07:00
Frédéric Guillot
14e25ab9fe
Refactor HTTP Client and LocalizedError packages
2023-10-22 13:09:30 -07:00
Ryan Stafford
120aabfbce
Add RSS-Bridge integration
2023-10-22 11:10:56 -07:00
Frédéric Guillot
fccc25f7a3
Add changed_after and changed_before options to /v1/entries endpoint
2023-10-05 21:28:25 -07:00
Frédéric Guillot
c0e954f19d
Implement structured logging using log/slog package
2023-09-24 22:37:33 -07:00
Cp Dong
fa1148915e
Fix Pocket integration redirect URL and Google Reader API HREF.
2023-08-31 20:37:29 -07:00
Frédéric Guillot
e5d9f2f5a0
Rename internal url package to avoid overlap with net/url
2023-08-13 19:57:04 -07:00
Frédéric Guillot
168a870c02
Move internal packages to an internal folder
...
For reference: https://go.dev/doc/go1.4#internalpackages
2023-08-10 20:29:34 -07:00