summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-05-12refactor(processor): do not depend on config directlyeltrac
2026-05-12fix(handler): missing config argument passed to receivereltrac
2026-05-12refactor(receiver): do not depend on config directlyeltrac
2026-05-09refactor(config): feed/handler.clj no longer depend on config.cljeltrac
2026-05-09refactor(storage): now only core.clj dependon storage.cljeltrac
2026-05-09refactor(retriever): no longer depend on storage directlyeltrac
2026-05-09fix/refact(feed): return proper message when domain is not foundeltrac
Also partition the code nicely; Changed feed title and description. Probably a bad commit with all these changes. Should have separated them. :(
2026-05-09refactor(feed): plug in storage instead of depending on iteltrac
2026-05-09fix(retriever): respond 500 when page string exists but is emptyeltrac
2026-05-09refactor: improve readability of response functionseltrac
2026-05-09refactor: improve retriever/respond-webmention-json DRYnesseltrac
2026-05-09style: format retriever.cljeltrac
2026-05-09refactor: separate partition rules with responseeltrac
Use a separate `(partition-pages)` function and pass its output as an argument to `(respond-webmention-json-list)`, instead of implementing partitioning inside that response function. Also, when list if empty. Should respond 400 instead of 404 since the route is "found", only something wrong with the request.
2026-05-09fix(retreiver): respond 500 when page is not providedeltrac
2026-05-09style: format all source codeeltrac
2026-05-09feat(API): response pagingeltrac
2026-05-08fix(processor, verifier): not deleting wm when url respond with HTTP erroreltrac
Content-Type checks are somehow written in process-webmention function, when it should be in verify-mention function, which causes weepinbell not deleting Webmention when one of target and source is not found (or any other HTTP status code that is not 2**)
2026-05-07style(lsp-warning): rename unused 'args' to '_'eltrac
2026-05-06refactor(processor): separate verification from processor logiceltrac
2026-05-06fix(processor): make process-webmention publiceltrac
you can't test it if it's private
2026-05-06fix(processor): cannot use <! outside of go-loopeltrac
2026-05-06refactor(processor): a thin wrapper of process-webmentioneltrac
process-webmention used to start a go-loop directly. this commit separates go-loop from processing logic, core.clj now calls to processor/start, the wrapper function.
2026-05-06refactor(processor): remove storage dependency in processoreltrac
2026-05-06refactor(processor): make storage plug-in through callback funceltrac
2026-05-03fix(receiver): allow missimg opts argumenteltrac
2026-05-03refactor(receiver): allow changing domain allow-list with argseltrac
2026-05-03refactor(receiver): (verify-request) returns only msg string, not entire ↵eltrac
response HTTP-layer reponse should be handled by receive function (which acts as a controller that does HTTP things), verify-request function should only focus on error detection. Code within a function should be within the same layer of abstraction.
2026-05-03refactor(receiver): move validator functions from utils to receivereltrac
receiver.clj is the only component that uses and logically relies on these functions, so they should be its private functions in the first place
2026-05-02refactor: decouple handler.clj and webmention queueeltrac
a new component 'channel.clj' is created to manage `wmc` (Webmention channel). It's a dirty technical detail that should only be called in core.clj and handler.clj, business rules should not interact with it directly.
2026-05-02refactor: remove unused wrapperseltrac
2026-04-29fix: missing Content-Type and remove chesireeltrac
2026-04-29fix: missing Content-Type in json responseeltrac
2026-04-29refactor: eliminate respond-json, use ring-json middlewareeltrac
2026-04-22refactor: DRY callbacks constructoreltrac
2026-04-22refactor: simple DI using callbackseltrac
2026-04-20fix: /api/mentions returns nulleltrac
2026-04-20feat: add more webhookseltrac
on-create, on-update and on-delete
2026-04-13refactor: simplify webmention list query routes with macroeltrac
2026-04-13feat: add typing support for by-url routeseltrac
new route /api/likes/?url= new route /api/reposts/?url= new route /api/replies/?url=
2026-04-13feat: list webmentions by microformats typeeltrac
new route /api/likes/:domain new route /api/reposts/:domain new route /api/replies/:domain
2026-04-08remove: cancel route /api/mentions/:domain/:patheltrac
also refactor `by-url` since the remove `by-domain-path` was used by it
2026-04-08perf: do not show :microformats and :extra when emptyeltrac
2026-04-08fix: only parse specific type of MF data (h-entry and h-card)eltrac
2026-04-08feat!(API): flatten microformats data in JSON responseeltrac
2026-04-08remove:! cancle /api/mentions/alleltrac
2026-04-08feat: add microformats wrappereltrac
and rename microformats.clj -> microformats_parser.clj
2026-03-28fix: make sure it's valid url before trying to trigger webhookeltrac
2026-03-23fix(wrapper): missing data conversioneltrac
2026-03-23docs: fix microformats/parse docstringeltrac
2026-03-23refactor(deps): replace digest with cljc-md5eltrac