aboutsummaryrefslogtreecommitdiff
path: root/static
Commit message (Collapse)AuthorAgeFilesLines
* fix: use commas in the viewport meta contentv1.3.5Christian Cleberg2026-07-151-1/+1
| | | | | | The viewport directives were separated with a semicolon, which browsers reject: "';' is not a valid key-value pair separator". Drop the duplicated trailing user-scalable directive that the semicolon introduced.
* fix: attribute fork in copyright and replace upstream matrix linkChristian Cleberg2026-07-151-2/+2
| | | | | | | | | The copyright on /about and in the CLI help credited only lost+skunk and linked to their matrix account. Credit this fork alongside the original, as the X11 license requires retaining the upstream notice, and point the attribution at the upstream repo rather than the stale matrix link. Replace the upstream matrix room link with this fork's issue tracker.
* fix: document exported API, fix naming, and harden Downloadv1.3.3Christian Cleberg2026-07-153-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The remaining golangci-lint findings. These land together because the Url -> URL rename spans util.go, parsers.go and wrapper.go, and splitting it would leave an intermediate commit that does not compile. Download() carried the most serious bug here: try() only prints an error, it does not return, so a failed request fell through to resp.Body.Close() on a nil resp and panicked. Every failure path now returns the zero Downloaded, and callers check Status. ReturnHTTPError guards against the resulting status 0, which would otherwise panic WriteHeader. Requests carry a context with a timeout (noctx), and a download-proxy now routes through ProxiedTransport so it keeps the DA throttle and timeouts. Also: - doc comments on all 48 exported symbols (revive's exported rule, with checkPrivateReceivers, since most of app is exported methods on the unexported skunkyart type), plus package docs in new doc.go files so both the embed and non-embed builds are covered. - ST1003 naming: UrlBuilder -> URLBuilder, id_search -> idSearch, cache_config -> cacheConfig, TXT_RAW -> TxtRaw, mediaUrl -> mediaURL. - explicit json tags on structs that are unmarshaled (musttag); the hyphenated keys already had tags, the rest relied on case-insensitive fallback. Behaviour is unchanged. - modernization: range-over-int, WaitGroup.Go, stale +build lines, interface{} -> any, strings.Builder over string concatenation in a loop.
* fix: remove russian language throughoutChristian Cleberg2026-07-151-1/+1
|
* fix: point source links and instance fetch at this forkChristian Cleberg2026-07-142-2/+2
| | | | | | | | | | | | | | | Upstream references still pointed at git.macaw.me, which is unmaintained and whose instances.json is a dead link. Repoint them at this repo: - RefreshInstances now fetches instances.json from raw.githubusercontent - source/version links in index.htm, about.htm, and CLI help use the GitHub releases tag URL - SETUP.md/SETUP-RU.md language switch links were Gitea-absolute paths that 404 on GitHub; make them relative - --add-instance message says 'main' branch, matching this repo The fork attribution in README.md is left as-is: it credits upstream rather than pointing at the source.
* Add da.opnxng.com + lost-skunk.cc is now in Finlandlost+skunk2025-04-0712-0/+0
|
* Переключатель кеша в озу, небольшие ↵lost+skunk2025-02-222-10/+22
| | | | улучшения ксс, фикс нсфв, фикс максимального размера кеша
* New domain and acknowledgement to vlnstlost+skunk2025-01-041-2/+2
|
* ыlost+skunk2024-11-151-2/+2
|
* v1.3.2v1.3.2lost+skunk2024-09-234-17/+82
|
* Два API-эндпоинтаlost+skunk2024-09-031-2/+2
|
* instance list updatelost+skunk2024-09-021-4/+4
|
* user favouriteslost+skunk2024-08-142-8/+20
|
* темплейты в бинарнике и улучшенная ↵lost+skunk2024-08-1312-0/+631
система кеша