summaryrefslogtreecommitdiff
path: root/src/weepinbell/webserver
AgeCommit message (Collapse)Author
11 daysall: use JF2 as a single source of truth, compile ↵eltrac
microformats/JSON-LD/<meta> to JF2 (#80) closes #75 This is a large squash commit. For details, see https://codeberg.org/eltrac/weepinbell/pulls/80
2026-10-24retriever: fix not parsing numeric string to number before paging #79eltrac
2026-10-18receiver: use http response utilities to replace response mapseltrac
fix test cases
2026-10-13retriever: no reducing empty microformatseltrac
2026-10-13retriever: fix mftype inferring not working with multi valueseltrac
2026-10-13handler: fix JSON response missing proper Content-Typeeltrac
- wrap-defaults middleware should be placed outside of wrap-json-response, otherwise Content-Type would be in correct - remove unused static resources
2026-10-13style: cljfmt everythingeltrac
2026-10-13retriever, test: refactor retriever; accurate MF type matchingeltrac
- microformats type inferring is more accurate - before: check if microformats h-entry has a type key (:like-of, :in-reply-to...) - now: check if such key's value equals to target URL, so it makes sure this like/reply/repost/rsvp is sent to this target - use ring.util.http-response to simplify response - `?mftype=` filter no longer depends on microformats reduction - retriever.clj is overall cleaner
2026-10-11retriever: fix mftype filter not working because type mismatcheltrac
microformats type in original response body (not converted to string by middleware) is a keyword, not a string. comparing a keyword to a string is always false.
2026-10-10retriever: improve page partitioner robustnesseltrac
- fix page partitioning function not handling Long as a valid page number - better error handling when partitioning API page frames this is a temporary fix. retriever needs refactoring.
2026-10-10receiver: should not call normalize if source/target is nileltrac
if source or target is nil, it would not return an error message but will throw an uncaught exception java.lang.NullPointerException: Cannot invoke "String.length()" because "this.input" is null this is fixed by nil-guarding normalize function call
2026-10-10edn_storage, handler, core: decouple stroage conformity responsibilityeltrac
- handler and core no longer care if storage is a valid vtable - use-store assert storage is valid before it was returned - AssertionError should be spotted while testing
2026-10-08handler, fe: add /api/send as an alias of /endpointeltrac
frontend uses /api/send instead of configurable /endpoint
2026-10-08fe: backend should be frontend-agnosticeltrac
2026-10-07handler: add /api/count #48eltrac
2026-10-07handler: pluggable services in API routes/handlerseltrac
2026-10-07processor, webserver: move two main subsystems to own dir and make facadeseltrac
add docstrings format code