| Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
fix test cases
|
|
|
|
|
|
- wrap-defaults middleware should be placed outside of
wrap-json-response, otherwise Content-Type would be in correct
- remove unused static resources
|
|
|
|
- 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
|
|
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.
|
|
- 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.
|
|
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
|
|
- 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
|
|
frontend uses /api/send instead of configurable /endpoint
|
|
|
|
|
|
|
|
add docstrings
format code
|