summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* fix(api): harden random-art retry loopChristian Cleberg2026-07-141-7/+15
| | | | | | | | | | | | | | | Three bugs in Random(): - The retry loop was unbounded. Only the NSFW path incremented attempt, so a run of DeviantArt errors span forever, hammering the API and risking an egress-IP ban. - string(rand.Intn(999)) converts a rune, not a number: string(65) is "A", not "65". Searches were querying garbage. Use strconv.Itoa. - rand.Intn panics on 0, so an empty result set crashed the handler. Skip empty results. The exhausted-retries error now fires when the loop ends rather than falling through to index an empty slice.
* deps: migrate to github.com/zerolabsco/devianter v0.3.1Christian Cleberg2026-07-145-10/+10
| | | | | | | | | | Repoint the import path from git.macaw.me/skunky/devianter, replacing a placeholder v0.0.0 require that had no go.sum entry and did not resolve. v0.3.1 reorders the last two return values of PerformSearch, Group.Get and Group.Gallery from (..., error, Error) to (..., Error, error); adapt the call sites. The two types differ, so the compiler enforces this.
* build: fix build on darwinChristian Cleberg2026-07-142-2/+17
| | | | | | macOS names the stat ctime field Ctimespec rather than Ctim, so stat.go failed to compile on a Mac. Split the darwin case into its own file and exclude darwin from the generic variant. Deploys are unaffected.
* Add da.opnxng.com + lost-skunk.cc is now in Finlandlost+skunk2025-04-0710-0/+0
|
* ыlost+skunk2025-02-231-1/+1
|
* Переключатель кеша в озу, небольшие ↵lost+skunk2025-02-224-38/+66
| | | | улучшения ксс, фикс нсфв, фикс максимального размера кеша
* офрцвагргшlost+skunk2024-11-151-2/+0
|
* ыlost+skunk2024-11-153-6/+8
|
* v1.3.2v1.3.2lost+skunk2024-09-236-88/+101
|
* отображение ошибокlost+skunk2024-09-047-28/+69
|
* фикс небольшого обосрамсаlost+skunk2024-09-031-1/+2
|
* Два API-эндпоинтаlost+skunk2024-09-036-43/+105
|
* instance list updatelost+skunk2024-09-026-24/+72
|
* user favouriteslost+skunk2024-08-143-112/+125
|
* темплейты в бинарнике и улучшенная ↵lost+skunk2024-08-139-171/+283
| | | | система кеша
* instances.test.json -> instances.jsonv1.3.1lost+skunk2024-08-011-1/+1
|
* v1.3lost+skunk2024-08-015-106/+237
|
* Подготовка к релизу v1.3.1lost+skunk2024-07-305-171/+227
|
* Исправление некоторых обосрамсовv1.3lost+skunk2024-07-133-13/+11
|
* Сервис для опенрцlost+skunk2024-07-131-1/+6
|
* v1.3lost+skunk2024-07-135-551/+617
|
* Улучшение парсинга ↵lost+skunk2024-07-091-38/+60
| | | | описания/комментариев в формате JSON
* Поиск по группамlost+skunk2024-07-092-26/+78
|
* небольшие улучшения парсинга ↵lost+skunk2024-07-082-10/+114
| | | | описания/комментариев
* Небольшие изменения в гуе + (возможно) ↵lost+skunk2024-07-081-8/+21
| | | | устранённый баг с комментами
* Реки и копирование темплейтов в озуlost+skunk2024-07-063-34/+60
|
* Реализация конфигаlost+skunk2024-07-064-132/+315
|
* временная реализация RSSlost+skunk2024-07-053-30/+89
|
* Галерея, папки и группыlost+skunk2024-07-043-42/+121
|
* попытка реализовать галерею. так сыро ↵lost+skunk2024-06-303-267/+303
| | | | потому что мне скоро уезжать
* крымские наработкиlost+skunk2024-06-273-2/+161
|
* панель навигации, ответы и ежедневные артыlost+skunk2024-06-142-10/+117
|
* альфа: работают только посты и поискlost+skunk2024-06-133-0/+321