aboutsummaryrefslogtreecommitdiff
path: root/internal/api (follow)
AgeCommit message (Collapse)AuthorFilesLines
2024-10-17feat(api): rename integrations status endpointGravatar Frédéric Guillot 2-2/+2
2024-10-17feat(api): add endpoint for user integration statusGravatar AiraNadih 3-0/+46
2024-10-05feat: add new settings option to allow external fontsGravatar Frédéric Guillot 1-0/+53
2024-10-05feat(client): add `custom_js` field to Go API clientGravatar Frédéric Guillot 1-0/+29
2024-10-04feat: update feed icon during force refreshGravatar Frédéric Guillot 1-1/+1
2024-08-18fix: `store.GetEnclosure()` should return `nil` if no rows are returnedGravatar Frédéric Guillot 3-18/+21
2024-08-18feat: add API routes `/v1/enclosures/{enclosureID}`Gravatar Pontus Jensen Karlsson 4-15/+196
2024-08-12fix: Honor hide_globally when creating a new feed through the apiGravatar Pontus Jensen Karlsson 1-0/+10
TestGetGlobalEntriesEndpoint was failing because CreateFeed ignored HideGlobally, this fixes that.
2024-08-12feat: API: Allow filtering entries on globally_hiddenGravatar Pontus Jensen Karlsson 2-0/+57
Currently there's no way through the API to mimic the Unread page of the client. This is now possible by filtering on globally_visible=true and status=unread.
2024-07-29fix: use BASE_URL instead of `r.Host` to generate absolute media proxy URLGravatar Frédéric Guillot 1-3/+3
2024-07-04Remove carriage returns to sanitizer strings from windowsGravatar Krish Mamtora 1-0/+5
2024-07-02Add global block and keep filtersGravatar privatmamtora 1-0/+9
2024-04-01api tests: use intSize-agnostic random integersGravatar Thomas J Faughnan Jr 1-2/+1
rand.Intn(math.MaxInt64) causes tests to fail on 32-bit architectures. Use the simpler rand.Int() instead, which still provides plenty of room for generating pseudo-random test usernames.
2024-03-20Rename PROXY_* options to MEDIA_PROXY_*Gravatar Frédéric Guillot 1-6/+6
2024-03-16Rewrite API integration tests without build tagsGravatar Frédéric Guillot 1-0/+2322
2024-03-15Display an error message on edit feed page when the feed URL is not uniqueGravatar Frédéric Guillot 1-1/+1
2024-02-29Don't compute reading-time when unusedGravatar jvoisin 1-1/+3
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-24Add feed option to disable HTTP/2 to avoid fingerprintingGravatar Frédéric Guillot 1-0/+1
2024-02-24Remove GolintGravatar Frédéric Guillot 1-4/+4
- Golint is deprecated - Use staticcheck and golangci-lint instead
2023-11-18Fix default User-Agent regressionGravatar Thomas J Faughnan Jr 1-1/+1
The recent HTTP client refactor in 14e25ab9fe09b9951b38e56af2bdff7a0737b280 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-10-22Refactor feed discovery and avoid an extra HTTP request if the url provided ↵Gravatar Frédéric Guillot 1-7/+12
is the feed
2023-10-22Refactor HTTP Client and LocalizedError packagesGravatar Frédéric Guillot 2-10/+11
2023-10-22Add RSS-Bridge integrationGravatar Ryan Stafford 1-0/+8
2023-10-20Refactor Batch Builder and prevent accidental and excessive refreshes from ↵Gravatar Frédéric Guillot 2-2/+18
the web ui
2023-10-16Avoid excessive manual polling with default schedulerGravatar Frédéric Guillot 2-6/+17
2023-10-08Add /v1/version endpointGravatar Frédéric Guillot 2-0/+26
2023-10-06Add API endpoint to update entry title and contentGravatar Frédéric Guillot 2-1/+55
2023-10-06Add new API endpoint /icons/{iconID}Gravatar Frédéric Guillot 2-2/+24
2023-10-05Add API endpoint to flush historyGravatar Frédéric Guillot 2-0/+7
2023-10-05Make the feed category optional for API clients who don't support categoriesGravatar Frédéric Guillot 1-0/+10
2023-10-05Add enclosures to /v1/entries API endpointGravatar Frédéric Guillot 1-0/+1
2023-10-05Add changed_after and changed_before options to /v1/entries endpointGravatar Frédéric Guillot 1-14/+24
2023-09-27Add command line argument to export user feedsGravatar Frédéric Guillot 1-2/+2
2023-09-24Implement structured logging using log/slog packageGravatar Frédéric Guillot 1-11/+46
2023-08-13Rename internal url package to avoid overlap with net/urlGravatar Frédéric Guillot 1-2/+2
2023-08-10Move internal packages to an internal folderGravatar Frédéric Guillot 10-0/+1228
For reference: https://go.dev/doc/go1.4#internalpackages