jvoisin
31ac62f410
Don't compute reading-time when unused
...
If the user doesn't display reading times, there is no need to compute them.
This should speed things up a bit, since `whatlanggo.Detect` is abysmally slow.
2024-02-29 19:14:17 -08:00
Frédéric Guillot
eae4cb1417
Add feed option to disable HTTP/2 to avoid fingerprinting
2024-02-24 22:30:26 -08:00
Frédéric Guillot
420a3d4d95
Remove Golint
...
- Golint is deprecated
- Use staticcheck and golangci-lint instead
2024-02-24 21:17:56 -08:00
Thomas J Faughnan Jr
7a03291442
Fix default User-Agent regression
...
The recent HTTP client refactor in 14e25ab9fe
introduced a bug in which the global default User-Agent is no longer
used for requests. Unless a per-feed User-Agent exists, the Go standard
library's default User-Agent is used, which looks something like
"Go-http-client/1.1". To fix this, make RequestBuilder.WithUserAgent
take an additional argument, the default User-Agent, which will be used
if there is no per-feed User-Agent (i.e. it is an empty string).
Fixes #2188
Fixes #2189
2023-11-18 20:57:47 +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
4cc99881d8
Refactor Batch Builder and prevent accidental and excessive refreshes from the web ui
2023-10-20 16:07:18 -07:00
Frédéric Guillot
cc44d14722
Avoid excessive manual polling with default scheduler
2023-10-16 21:41:18 -07:00
Frédéric Guillot
52cf236699
Add /v1/version endpoint
2023-10-08 15:53:24 -07:00
Frédéric Guillot
e4285c2cba
Add API endpoint to update entry title and content
2023-10-06 23:27:19 -07:00
Frédéric Guillot
2002d60fbe
Add new API endpoint /icons/{iconID}
2023-10-06 13:52:33 -07:00
Frédéric Guillot
5774323f2e
Add API endpoint to flush history
2023-10-05 22:19:08 -07:00
Frédéric Guillot
1350f84ea4
Make the feed category optional for API clients who don't support categories
2023-10-05 21:47:04 -07:00
Frédéric Guillot
6dd090a848
Add enclosures to /v1/entries API endpoint
2023-10-05 21:39:29 -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
f98fc1e03a
Add command line argument to export user feeds
2023-09-27 21:45:23 -07:00
Frédéric Guillot
c0e954f19d
Implement structured logging using log/slog package
2023-09-24 22:37:33 -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