summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-05-11style: reformat tests and remove redudant parentheses around deftesteltrac
2026-05-09fix(test/handler): RSS feed with empty items were meant to respond 404eltrac
add a new test case that expects 404 when domain is allowed but webmentions are not found. modify previous test case that expects 404 to one that expects 200 when domain is allowed and webmentions are found.
2026-05-09refactor(config): feed/handler.clj no longer depend on config.cljeltrac
2026-05-09test(handler): test most of routes availabilityeltrac
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-09docs: update roadmapeltrac
2026-05-08docs: fix syntaxeltrac
Markdown is broken standards...
2026-05-08docs: update roadmapeltrac
2026-05-08fix(test): edge cases were always passing because target is not valideltrac
Test cases were using fake URL https://alice.blog/... as targets and newly refactored verify-mention function make HEAD requests to target URL to verify Content-Type. If request fails, verify-mention also returns false. This new behavior makes the old test always pass since all we're checking is if it returns a falsy value. The fix replaced alice.blog fake URL with a localhost URL that actually exists.
2026-05-08fix(test): tests fail due to non-exisiting target URLeltrac
In verifier_test, fake target links were used because weepinbell did not make actual requests to target links until recent changes to verifier/verify-mention. Now target links must be valid URL because we need to determine it's Content-Type during verification. So the previous test cases need modifying.
2026-05-08refactor(test): move with-webmention macro to test_utility.cljeltrac
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-08perf(test/processor): shorten deref timeout durationeltrac
2026-05-08test(processor): test updating and deleting exisiting webmentionseltrac
2026-05-07refactor(test/processor): DRYness with macroeltrac
2026-05-07test(processor): add failure test caseseltrac
2026-05-07test(processor): add processor test with new-webmention testeltrac
2026-05-07style(lsp-warning): rename unused 'args' to '_'eltrac
2026-05-07fix(test/verifier): wrong nseltrac
2026-05-07refactor(test): rename processor_test to verifier_testeltrac
verification functions were moved from processor.clj to verifier.clj
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-04test(processor): edge caseseltrac
2026-05-04refactor(test/processor): I'm too weak to play with macroseltrac
2026-05-04test(processor): happy paths test for webmention verificationeltrac
2026-05-04style: reformat utils_test.cljeltrac
2026-05-03fix(CI): triggering too many unintended CI runseltrac
The `-` should not be there because it makes an `OR` condition, instead of an `AND` condition. This should decrease CI runs substancially. Sorry codeberg, for previous unnecessary runs!
2026-05-03style: missing name for webhook-testeltrac
2026-05-03text(receiver): in-queue test for receivereltrac
2026-05-03style(test/receiver): comments and formateltrac
2026-05-03fix(test/receiver): happy paths assertions faileltrac
Tried to match response body but got way too complicated. Only asserts status code (201) and test cases now work fine.
2026-05-03fix(test/receiver): missing doall after defining test caseseltrac
2026-05-03test(receiver): unit tests for receiver error handlingeltrac
2026-05-03fix(receiver): allow missimg opts argumenteltrac
2026-05-03refactor(receiver): allow changing domain allow-list with argseltrac