| mastodon_extract_urls |
extracts http(s) urls from the html content of a mastodon status |
| mastodon_format_date |
formats a date in the expected mastodon format (ISO 8601 UTC) |
| mastodon_id_lt |
compares two mastodon snowflake ids and returns TRUE if a < b. ids exceed 32-bit integers so they are compared with bit64. |
| mastodon_instance_of |
returns the domain of the mastodon instance a network collects from |
| mastodon_is_present |
tells if an optional mastodon object is actually present. the API serialises absent objects as " (and not as 'null'), which jsonlite turns into an empty list: 'is.null()' is therefore NOT enough to test for absence ('status$quote', 'status$reblog', 'status$card', 'status$poll', 'status$in_reply_to_id'... are all " on a plain status). |
| mastodon_min_id |
returns the smallest of a list/vector of mastodon snowflake ids |
| mastodon_parse_date |
parse a date as provided by mastodon into a date_time object |
| mastodon_parse_quoted |
extracts the quoted / embedded texts of a mastodon status, in the same spirit as bluesky_parse_quoted(): everything that carries text around the status itself is collected and concatenated into a single 'quoted_text' used downstream for keyword matching. |
| mastodon_parse_response |
parses the response of the mastodon search API into the standardised episomer format. For more details see the vignette. |
| mastodon_rate_limited_check |
function to check if there has been a rate limit error returned by the mastodon API |
| mastodon_rerun_after_rate_limit |
function to extract the number of seconds to wait after a rate limit has been reached |
| missing_search_jobs |
Registers the fs_monitor for the current process or exits |
| save_config |
Save the configuration changes |
| search_loop |
Runs the search loop |
| search_loop_worker |
Runs the search loop |
| search_posts |
perform full text search on posts collected with episomer |
| search_topic |
performs a search following the given plan, query and topic. |
| search_touch |
updates the modificatin date of a flag file indicating that messages have been sent to the embedded database. |
| setup |
Run the setup of episomer |
| setup_can_run |
Episomer can run |
| setup_config |
Load episomer application settings |
| sm_add_instance |
Add an instance of a federated social media |
| sm_api_get_token |
Get social media token |
| sm_api_get_token_bluesky |
Get social media token |
| sm_api_get_token_mastodon |
Get social media token |
| sm_api_got_rows_bluesky |
Receive the results provided by a request and return a logical value indicating whether the request returned results. |
| sm_api_got_rows_mastodon |
Receive the results provided by a request and return a logical value indicating whether the request returned results. |
| sm_api_has_credentials |
Whether the credentials needed to authenticate on a social media are configured |
| sm_api_has_credentials_bluesky |
Whether the credentials needed to authenticate on Bluesky are configured |
| sm_api_has_credentials_mastodon |
Whether the credentials needed to authenticate on this Mastodon instance are configured |
| sm_api_search |
Search posts for a given query and produce standardised results |
| sm_api_search_bluesky |
Search posts for a given query and produce standardised results |
| sm_api_search_mastodon |
Search posts for a given query and produce standardised results |
| sm_api_set_auth |
Save credentials for a social media provider and store them securely |
| sm_api_set_auth_bluesky |
Save bluesky credentials (login and password) and store them securely |
| sm_api_set_auth_mastodon |
Save mastodon credentials and store them securely |
| sm_api_translate_query |
Translate a parsed query to the social media query format |
| sm_api_translate_query_bluesky |
Translate a parsed query to the social media query format |
| sm_api_translate_query_mastodon |
Translate a parsed query to the social media query format |
| sm_api_update_plan_after_request |
Takes a plan after a request has been performed and the standardised results provided as returned by the function sm_api_search_xxx it should return a plan with necessary information updated so next request will continue paginating as expected to obtain targeted messages |
| sm_api_update_plan_after_request_bluesky |
Takes a plan after a request has been performed and the standardised results provided as returned by the function sm_api_search_xxx it should return a plan with necessary information updated so next request will continue paginating as expected to obtain targeted messages |
| sm_api_update_plan_after_request_mastodon |
Takes a plan after a request has been performed and the standardised results provided as returned by the function sm_api_search_xxx it should return a plan with necessary information updated so next request will continue paginating as expected to obtain targeted messages |
| sm_family |
returns the code family of a network, i.e. the suffix of the sm_* functions implementing it |
| sm_instance |
returns the instance domain a network collects from, or NULL when the network is not federated |
| sm_is_federated |
whether a social media family is federated, i.e. made of independent instances each collected as a network of its own |
| sm_is_federated_bluesky |
Whether this social media is made of independent instances |
| sm_is_federated_mastodon |
Whether this social media is made of independent instances |
| sm_plan_first_attributes |
returns a list with the custom social media plan attributes with the default values for a first plan in a topic. |
| sm_plan_first_attributes_bluesky |
returns a list with the custom social media plan attributes with the default values for a first plan in a topic. |
| sm_plan_first_attributes_mastodon |
returns a list with the custom social media plan attributes with the default values for a first plan in a topic. |
| sm_plan_format |
prepare a plan for serialisation by transforming attributes with non standard serialisation types e.g. dates to string on the format expected by the parse functions |
| sm_plan_format_bluesky |
prepare a plan for serialisation by transforming attributes with non standard serialisation types e.g. dates to string on the format expected by the parse functions |
| sm_plan_format_mastodon |
prepare a plan for serialisation by transforming attributes with non standard serialisation types e.g. dates to string on the format expected by the parse functions |
| sm_plan_get_progress |
calculates and returns the estimated progress of a plan using custom attributes |
| sm_plan_get_progress_bluesky |
calculates and returns the estimated progress of a plan using custom attributes |
| sm_plan_get_progress_mastodon |
calculates and returns the estimated progress of a plan using custom attributes |
| sm_plan_next_attributes |
returns a list with the custom social media plan attributes with the values for the plan to be run after the plans provided as parameter |
| sm_plan_next_attributes_bluesky |
returns a list with the custom social media plan attributes with the values for the plan to be run after the plans provided as parameter |
| sm_plan_next_attributes_mastodon |
returns a list with the custom social media plan attributes with the values for the plan to be run after the plans provided as parameter |
| sm_plan_next_search_info |
Return a message to log what the next query is going to be for the current plan |
| sm_plan_parse_attributes |
parse custom attributes for a plan in this specific social media and returns them as a named list with attributes in the proper type |
| sm_plan_parse_attributes_bluesky |
parse custom attributes for a plan in this specific social media and returns them as a named list with attributes in the proper type |
| sm_plan_parse_attributes_mastodon |
parse custom attributes for a plan in this specific social media and returns them as a named list with attributes in the proper type |
| sm_plan_search_info_bluesky |
Return a message to log what the next query is going to be for the current plan |
| sm_plan_search_info_mastodon |
Return a message to log what the next query is going to be for the current plan |
| sm_remove_instance |
Stop collecting from an instance of a federated social media |
| sm_secret_name |
returns the name of a secret belonging to a network |
| start_all_runner_tasks |
Registers the fs_monitor for the current process or exits |
| stop_all_runner_tasks |
Registers the fs_monitor for the current process or exits |
| stop_detect_runner_task |
Registers the fs_monitor for the current process or exits |
| stop_fs_runner_task |
Registers the fs_monitor for the current process or exits |
| stop_search_runner_task |
Registers the fs_monitor for the current process or exits |