ActivityPub.Utils (Bonfire v1.0.0-social-rc.2.3)
View SourceMisc functions used for federation
Summary
Functions
Checks if any of the given labels exist in any of the given collections. Supports both single values and lists for labels and collections.
Format according to RFC 1123, which is the standard for HTTP dates. Example: Mon, 15 Apr 2025 14:30:15 GMT
Takes a string and returns true if it is a valid UUID (Universally Unique Identifier)
conditionally update a map
Handles multiple cases where the input value is of a different type (atom, list, tuple, etc.) and returns a string representation of it.
Determines if an object or an activity is public.
Takes a map or keyword list, and returns a map with any atom keys converted to string keys. It can optionally do so recursively.
Functions
Checks if any of the given labels exist in any of the given collections. Supports both single values and lists for labels and collections.
Format according to RFC 1123, which is the standard for HTTP dates. Example: Mon, 15 Apr 2025 14:30:15 GMT
Takes a string and returns true if it is a valid UUID (Universally Unique Identifier)
conditionally update a map
Handles multiple cases where the input value is of a different type (atom, list, tuple, etc.) and returns a string representation of it.
Determines if an object or an activity is public.
Takes a map or keyword list, and returns a map with any atom keys converted to string keys. It can optionally do so recursively.