API Reference bonfire v0.3.5-classic-beta.10

modules

Modules

ActivityPub API

An ActivityPub Actor type and functions for dealing with actors.

Contract for ActivityPub module adapters

Handles fetching AS2 objects from remote instances.

Module for building and performing HTTP requests.

Specifies connection options for HTTP requests

Helper functions for building HTTP requests

Instances context.

Generates RSA keys for HTTP message signatures

Filter activities depending on their origin instance

Misc functions used for federation

Serves and fetches data (mainly actor URI) necessary for federation when only the username and host is known.

The entrypoint for defining your web interface, such as controllers, views, channels and so on.

Endpoints for serving objects and collections, so the ActivityPub API can be used to read information from the server.

Conveniences for translating and building error messages.

Standard error view

Defines the contract used by federation implementations to publish messages to their peers.

This module normalises outgoing data to conform with AS2/AP specs and handles incoming objects and activities

A handful of (mostly) arrow macros with superpowers.

The Json scalar type allows arbitrary JSON values to be passed in and out. Requires { :jason, "~> 1.1" } package: https://github.com/michalmuskala/jason

Information about this page's relation to a larger result set

GraphQL Plug to add current user to the context

Helpful functions for preparing to query or test Absinthe applications.

Encapsulates the flow for resolving a field in the absence of multiple parents.

Encapsulates the flow for resolving a field for potentially multiple parents.

Encapsulates the flow of resolving a page in the presence of a single parent. We also currently use this as a stopgap while we finish implementing some things, trading speed for correctness.

Encapsulates the flow of resolving a page in the presence of a single parent. We also currently use this as a stopgap while we finish implementing some things, trading speed for correctness.

Encapsulates the flow of resolving a page in the absence of parents.

Root GraphQL Schema. Only active if the Bonfire.API.GraphQL extension is present.

acls represent fully populated access control rules that can be reused

a grant applies to a subject

Helpers for writing common queries. In particular, access control.

A marker that identifies special context-dependent semantics to the system.

Reads fixtures in configuration and creates a default boundaries setup for a user

properties

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-1

Properties

  • object :any
  • with_icon :boolean, default: false
  • my_block :any
  • class :css_class
  • label :string, default: nil
  • scope :any
  • block_type :any

properties-2

Properties

  • object :any, default: nil
  • peered :any, default: nil

properties-3

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-4

Properties

  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • thread_mode :atom, default: nil
  • showing_within :any, default: nil
  • create_object_type :atom, default: nil

properties-5

Properties

  • to_boundaries :list, default: []
  • activity_type_or_reply :any

properties-6

Properties

  • create_object_type :atom, default: nil
  • to_boundaries :list, default: nil
  • to_boundaries_ids :list, default: []
  • to_circles :list, default: []
  • showing_within :any, default: nil
  • show_select_recipients :boolean, default: false
  • open_boundaries :boolean, default: false
  • hide_breakdown :boolean, default: false
  • setting_boundaries :boolean, default: false
  • click_override :boolean, default: false

properties-7

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-8

Properties

  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • thread_mode :atom, default: nil

properties-9

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-10

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-11

Properties

  • members :list
  • count :integer, default: nil
  • size :integer, default: 12

properties-12

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-13

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-14

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-15

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-16

Properties

  • event_target :any, default: nil
  • setting_boundaries :boolean, default: false
  • label :string, default: nil
  • parent_back :any, default: nil
  • scope :atom, default: nil

properties-17

Properties

  • event_target :any
  • setting_boundaries :boolean, default: false
  • label :string, default: nil
  • parent_back :any, default: nil
  • scope :atom, default: nil

properties-18

Properties

  • create_object_type :atom, default: nil
  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • showing_within :any, default: nil
  • show_select_recipients :boolean, default: false
  • open_boundaries :boolean, default: false
  • boundaries_modal_id :string, default: :sidebar_composer

properties-19

Properties

  • selected_tab :string
  • id :string, default: nil

properties-20

Properties

  • selected_tab :string
  • id :string, default: nil

properties-21

Properties

  • selected_tab :string
  • id :string, default: nil

GraphQL tag/category queries

properties-23

Properties

  • category :map
  • top_level_category :string, default: nil
  • crumbs_class :css_class, default: nil
  • main_class :css_class, default: nil

properties-24

Properties

  • category :map
  • top_level_category :string, default: nil

properties-25

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-26

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-28

Properties

  • category :map, required: true
  • object_boundary :any, default: nil

properties-29

Properties

  • category :map
  • subcategories :list, default: nil

properties-30

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-31

Properties

  • category :any, default: nil
  • object :any, default: nil
  • context_id :any, default: nil
  • textarea_class :css_class, default: nil
  • textarea_container_class :css_class
  • to_boundaries :list, default: nil
  • open_boundaries :boolean, default: false

slots

Slots

  • header

properties-33

Properties

  • category :map, required: false
  • subcategories :list, default: nil

properties-34

Properties

  • widget_title :string, default: nil
  • subcategories :list, default: []
  • category :list, default: []

A library of common utils and helpers used across Bonfire extensions

Loads instance Settings from DB into Elixir's Config

A Global cache of known config modules to be queried by associated schema, or vice versa.

A Global cache of known context modules to be queried by associated schema, or vice versa.

Missing functions from Enum

A Global cache of known extension modules to be queried by associated schema, or vice versa.

Module for building and performing HTTP requests.

Specifies connection options for HTTP requests

Helper functions for building HTTP requests

Various helpers for localisation

Provides the core functions to retrieve and manage the CLDR data that supports formatting and localisation.

Parses HTTP Accept-Language header values as defined in rfc2616.

Backend module that provides functions to define new locales and display human-readable locale names for presentation purposes.

Implements cardinal plural rules for numbers.

Implements ordinal plural rules for numbers.

Implements plural rules for ranges

Default Gettext module It is recommended to use the more convenient macros in Bonfire.Common.Localise.Gettext.Helpers instead.

A module providing Internationalization with a gettext-based API.

Defines a plural forms module for Gettext that uses CLDR plural rules https://cldr.unicode.org/index/cldr-spec/plural-rules

A Global cache of known nav modules to be queried by associated schema, or vice versa.

Properly query some data using the appropriate module depending on its schema.

Ecto Repo and related common functions

Preload helpers for Ecto Repo

Helper functions for changesets

Open the console without starting the app: iex -S mix run --no-start or just imix run --no-start

This utility allows to get the same effect of using fcwatch | mix test --stale --listen-on-stdin to watch for code changes and run stale tests, but with more control and without the starting time penalty.

A Global cache of known widget modules to be queried by associated schema, or vice versa.

A Global cache of known accesses to be queried by their (Pointer) IDs or name strings.

Conceptually, a complete list of all permissions for everybody. In practice, it's a partial specification, and anything not explicitly granted is assumed to be denied.

An account is an identity for authentication purposes. An account has one or more credentials with which it may identify.

A mixin for an account ID, indicating ownership

A mixin that stores a second factor secret to authenticate an account.

A recursive view of all entities taken care of by their root entities.

The entity responsible for something. In practice, it means that something is deleted when its caretaker is deleted.

A username mixin that denies reuse of the same or similar usernames even when the username has been deleted.

A Mixin that provides a password for local login.

A mixin that stores settings (of the instance, account, user, etc) as an Erlang Term (typically a map or keyword list) encoded to binary.

A persona. A person (account) may have more than one user, but this is not exposed publicly (except to local instance administrators), so it is as if they are different people.

A mixin for shared user personas (which multiple accounts can use)

A multimixin for an activity/object appearing in a feed.

Track seen/unseen (similar to read/unread, but only indicates that it was displayed in a feed or other listing for the user, not that they actually read it) status of things (usually an Activity)

Bonfire.Epics helpers for working with Ecto

An Act that enters a transaction unless it senses that it would be futile.

A placeholder marker used by Begin to identify when to commit the transaction.

An act that marks a changeset or struct for deletion

An act that performs queued up work in a transaction.

properties-35

Properties

  • field_name :string, default: "html_body"
  • placeholder :string, default: ""
  • content :string, default: ""
  • smart_input_text :string, default: ""
  • insert_text :string, default: ""
  • textarea_class :css_class, default: nil
  • thread_mode :any, default: nil
  • showing_within :any, default: nil

Module for publishing ActivityPub activities.

Adapter functions delegated from the ActivityPub Library

Filter activities depending on their origin instance, actor, or other criteria

A Global cache of known federation modules to be queried by activity and/or object type.

This module contains general functions for handling files, and also an Ecto schema which is a multimixin for storing one or more media attached to a Pointable object.

Uploader for larger images, for example, a profile page banner.

Extension to Waffle.Definition, adding support for checking against media types parsed through magic bytes instead of file extensions, which can be modified by the user.

Uploader for larger images, for example, a profile page banner.

properties-36

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

Runs at compile-time to include dynamic strings (like verb names and object types) in localisation string extraction.

Functions for checking the validity of email addresses and domains

Loads instance Settings from DB into Elixir's Config

Handles matching of needs & offers

properties-37

Properties

  • search :string, default: nil
  • search_limit :integer, default: nil
  • search_placeholder :string, default: nil
  • search_more :any, default: nil
  • show_more_link :boolean, default: true
  • num_hits :integer, default: nil
  • hits :list, default: []

properties-38

Properties

  • page :any, default: nil
  • search :string, default: nil
  • search_limit :integer, default: nil
  • search_placeholder :string, default: nil
  • search_more :any, default: nil
  • show_more_link :boolean, default: true
  • num_hits :integer, default: nil
  • hits :list, default: []

properties-39

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

A way to have data seeds that work similarly to migrations.

An Act that translates a post or changeset into some jobs for the AP publish worker. Handles creation, update and delete

An act that deals with maintaining a Caretaker record for a changeset.

An act that deals with maintaining a Created record for a changeset.

NOT USED - Finds a list of appropriate feeds into which to post.

Saves uploaded files as attachments to the post.

An act that enqueues publish/update/delete requests to meilisearch via an oban job queue.

Delete something + specified associations with a changeset

Creates a changeset for publishing a post

Fetch and save metadata of URLs

Track seen/unseen (similar to read/unread, but only indicates that it was displayed in a feed or other listing for the user, not that they actually read it) status of things (usually Activities)

GraphQL tag/category queries

Alternative approach to tagging, using JS to directly use Meili's API, rather than passing through Elixir

properties-40

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-41

Properties

  • widget_title :string, default: nil

A library of common utils and helpers used across Bonfire extensions

properties-42

Properties

  • nav_items :list, default: []
  • sidebar_widgets :list, default: []
  • page :string, default: nil
  • selected_tab :any, default: nil

properties-43

Properties

  • user :any, default: nil
  • src :any, default: nil
  • viewing_main_object :boolean, default: false
  • comment :boolean, default: false
  • size :any, default: nil
  • class :any, default: nil
  • avatar_fallback :string, default: avatar_fallback()

properties-44

Properties

  • scope :atom, default: nil

properties-45

Properties

  • showing_within :any, default: nil

properties-46

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-47

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-49

Properties

  • locale :any
  • live_handler :string

properties-50

Properties

  • label :string, default: nil
  • key :string, default: "instance_theme"
  • theme :string
  • themes :list

properties-51

Properties

  • theme :string
  • theme_light :string

properties-52

Properties

  • class :css_class, default: "btn btn-sm btn-ghost btn-square"

properties-53

Properties

  • feedback_title :string
  • feedback_message :string

Conveniences for translating and building error messages.

properties-54

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-55

Properties

  • data :list, default: []
  • feature_extensions :list, default: []
  • ui :list, default: []
  • schemas :list, default: []
  • ecosystem_libs :list, default: []
  • other_deps :list, default: []
  • get_link :any
  • settings_section_title :string, default: "Bonfire extensions"
  • selected_tab :string
  • ading_tab :string

properties-56

Properties

  • text :string, default: nil - Pre-fill the feedback form with some text
  • class :css_class, default: "w-full mt-2 normal-case btn btn-sm btn-info btn-wide" - Classes to style the link/button

properties-57

Properties

  • object :any
  • label :string, default: nil
  • my_flag :any, default: nil

properties-58

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-59

Properties

  • page_title :string, default: nil
  • page :string, default: nil

properties-60

Properties

  • create_object_type :atom, default: nil
  • preloaded_recipients :list, default: nil
  • to_boundaries :list, default: nil
  • to_circles :list, default: []
  • showing_within :any, default: nil
  • show_select_recipients :boolean, default: false
  • open_boundaries :boolean, default: false
  • thread_mode :atom, default: nil
  • page :any, default: nil
  • reply_to_id :string, default: nil
  • context_id :string, default: nil
  • boundaries_modal_id :string, default: :sidebar_composer

properties-61

Properties

  • reply_to_id :string, default: nil
  • context_id :string, default: nil
  • create_object_type :atom, default: nil
  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • showing_within :any, default: nil
  • uploads :any, default: nil
  • uploaded_files :list, default: []
  • thread_mode :atom, default: nil
  • page :any, default: nil

A simple Surface stateless component that sets default assigns needed for every view (eg. used in nav) and then shows some global components and the @inner_content

properties-62

Properties

  • src :string
  • class :string
  • alt :string
  • opts :list

properties-63

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-64

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

Special LiveView used for a helper function which allows loading LiveComponents directly in regular non-live Phoenix views: live_render_component(@conn, MyLiveComponent)

Like a plug, but for a liveview

properties-65

Properties

  • live_handler :string
  • page_info :map
  • target :any
  • context :any

properties-66

Properties

  • live_handler :string
  • page_info :map
  • target :any
  • context :any

properties-67

Properties

  • page_title :string, default: nil
  • page :string, default: nil
  • page_header_drawer :boolean, default: false
  • page_header_aside :any, default: nil
  • custom_page_header :any, default: nil
  • hide_smart_input :boolean, default: false
  • showing_within :any, default: nil
  • reply_to_id :string, default: nil
  • without_sidebar :boolean, default: false
  • context_id :string, default: nil, required: false
  • create_object_type :atom, default: nil
  • thread_mode :atom, default: nil
  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • smart_input_as :atom, default: nil
  • smart_input_prompt :string, required: false
  • smart_input_text :string, required: false
  • sidebar_widgets :list, default: []
  • selected_tab :any, default: nil
  • nav_items :list, default: []

properties-68

Properties

  • with_name :boolean, default: false
  • container_class :css_class, default: "flex items-center gap-2"
  • image_class :css_class, default: "w-8 h-8 bg-center bg-no-repeat bg-contain"
  • name_class :css_class, default: "text-lg font-bold text-base-content"

properties-69

Properties

  • smart_input_prompt :string, required: false

properties-70

Properties

  • page :string, default: ""

properties-71

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-72

Properties

  • form_input_name :string, default: nil
  • label :string, default: nil
  • pick_event :string, default: nil
  • remove_event :string, default: nil
  • selected_options :any, default: nil
  • preloaded_options :any, default: nil
  • context_id :string, default: nil
  • event_target :any, default: nil
  • class :css_class, default: nil

properties-73

Properties

  • page :string
  • without_sidebar :boolean, default: false

properties-74

Properties

  • items :list, required: true
  • sidebar_widgets :list, default: []
  • page :any, default: nil
  • selected_tab :any, default: nil

properties-75

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-76

Properties

  • page_title :string, default: nil - Title to show in header. Only used if no default slot is set
  • page_header_drawer :boolean, default: false

slots-1

Slots

  • default
  • left_action
  • breadcrumbs
  • right_action

properties-77

Properties

  • profile :any
  • character :any
  • class :css_class
  • show_controls :list, default: [:follow]

slots-2

Slots

  • default, required: false

properties-78

Properties

  • selected_tab :string, default: nil
  • path_prefix :string, required: true
  • tabs :list, required: true

properties-79

Properties

  • preloaded_recipients :list, default: nil
  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • showing_within :any, default: nil

properties-80

Properties

  • smart_input_prompt :string, required: false
  • smart_input_component :atom, default: nil
  • create_object_type :atom, default: nil
  • smart_input_as :atom, default: nil

properties-81

Properties

  • reply_to_id :string, default: nil
  • context_id :string, default: nil, required: false
  • create_object_type :atom, default: nil
  • smart_input_component :atom, default: nil
  • smart_input_as :atom, default: nil
  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • smart_input_prompt :string, required: false
  • smart_input_text :string, required: false
  • showing_within :any, default: nil
  • with_rich_editor :boolean, default: true, required: false
  • activity :any, default: nil
  • hide_smart_input :boolean, default: false
  • object :any, default: nil
  • activity_inception :any, default: nil
  • title_open :boolean, default: nil
  • title_prompt :string, default: nil
  • preloaded_recipients :list, default: nil
  • show_select_recipients :boolean, default: false
  • thread_mode :atom, default: nil
  • page :any, default: nil
  • without_sidebar :string, default: nil

properties-82

Properties

  • smart_input_prompt :string, required: false
  • smart_input_component :atom, default: nil
  • create_object_type :atom, default: nil

properties-83

Properties

  • smart_input_prompt :string, required: false

properties-84

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-85

Properties

  • scope :atom, default: nil

Static-site generator which can take a list of URLs served by the current Phoenix server and output static HTML for them

properties-86

Properties

  • uploads :any, default: nil
  • thread_mode :atom, default: nil
  • uploaded_files :list, default: []

properties-87

Properties

  • widget_title :string, default: nil
  • class :css_class, default: "relative w-full mx-auto rounded-xl bg-base-100"

slots-3

Slots

  • action - A call to action, usually redirect to the specific page
  • default, required: true - The main content of the widget

properties-88

Properties

  • display_banner :boolean, default: true - Show a large instance or app icon?

properties-89

Properties

  • links :any, default: []
  • widget_title :string, default: nil

properties-90

Properties

  • widget :any, required: true
  • data :any, default: []
  • page :string, default: nil
  • selected_tab :any, default: nil

properties-91

Properties

  • text :string, default: nil
  • widget_title :string, default: nil
  • banner_image :any, default: nil
  • info :map, default: nil

properties-92

Properties

  • field_name :string, default: "post[post_content][html_body]", required: false
  • create_object_type :atom, default: nil
  • smart_input_prompt :string, default: ""
  • smart_input_text :string, default: "", required: false
  • showing_within :string, default: nil
  • with_rich_editor :boolean, default: true, required: false
  • insert_text :string, default: nil
  • thread_mode :atom, default: nil
  • textarea_class :css_class, default: nil
  • boundaries_modal_id :string, default: :sidebar_composer

properties-93

Properties

  • filters :any, default: %{}
  • search :string, default: nil
  • selected_tab :string, default: "All"

properties-94

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-95

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-96

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-97

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-98

Properties

  • form :any
  • error :any

properties-99

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-100

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-101

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-102

Properties

  • form :any
  • error :any

properties-103

Properties

  • user :map
  • follows_me :boolean, default: false
  • selected_tab :string
  • showing_within :any, default: :profile

properties-104

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-105

Properties

  • canonical_url :string, required: true
  • name :string, required: true
  • interaction_type :string, default: "follow"

slots-4

Slots

  • header

properties-106

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-107

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-108

Properties

  • selected_tab :string
  • id :string, default: nil

properties-109

Properties

  • selected_tab :string
  • id :string, default: nil

properties-110

Properties

  • selected_tab :string
  • id :string, default: nil

properties-112

Properties

  • label :string, default: nil
  • scope :atom, default: nil

properties-114

Properties

  • uploads :any
  • selected_tab :string

properties-115

Properties

  • selected_tab :string
  • uploads :any

properties-119

Properties

  • form :any
  • error :any
  • invite :any
  • auth_second_factor_secret :any, default: nil

properties-120

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-121

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-122

Properties

  • current_account_users :any
  • go :any

properties-123

Properties

  • user :map
  • path_prefix :string, default: "/@"
  • go :string, default: nil

properties-124

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-125

Properties

  • widget_title :string, default: nil

properties-126

Properties

  • user :any, default: nil
  • widget_title :string, default: nil

properties-127

Properties

  • users :any, default: []
  • widget_title :string, default: nil

properties-128

Properties

  • activity :map
  • object :any
  • object_type :any
  • verb :string
  • permalink :string
  • thread_id :string
  • object_type_readable :any
  • showing_within :any
  • hide_reply :boolean
  • viewing_main_object :boolean
  • flagged :any
  • thread_mode :any
  • object_boundary :any, default: nil

properties-131

Properties

  • object :any
  • object_type :any, default: nil
  • verb :any, default: nil
  • activity :any, default: nil
  • verb_display :string, default: nil
  • permalink :string, default: nil
  • date_ago :string, default: nil
  • showing_within :any, default: nil

properties-132

Properties

  • object :any
  • verb_display :string
  • date_ago :any
  • viewing_main_object :boolean
  • permalink :string
  • showing_within :string, default: :feed
  • object_type :any
  • object_boundary :any, default: nil

properties-136

Properties

  • object :any, required: true

properties-137

Properties

  • object :map, required: true

properties-138

Properties

  • activity :map
  • object :any
  • object_type :any
  • verb :string
  • permalink :string
  • object_type_readable :any
  • showing_within :any
  • hide_reply :boolean
  • viewing_main_object :boolean
  • flagged :any
  • participants :list
  • object_boundary :any, default: nil

properties-139

Properties

  • media :list, default: []
  • showing_within :any, default: nil
  • label :string, default: nil

properties-140

Properties

  • activity :any
  • object :any
  • object_type :any
  • verb :string
  • object_type_readable :any
  • flagged :any
  • showing_within :any, default: :feed

slots-5

Slots

  • extra_items, required: false
  • admin_items, required: false

properties-141

Properties

  • object :any
  • activity :any
  • viewing_main_object :boolean
  • permalink :string
  • date_ago :string
  • showing_within :string
  • activity_inception :any, default: nil

properties-143

Properties

  • object :any, required: true
  • showing_within :any
  • process_url :string

properties-144

Properties

  • object :any, required: true
  • showing_within :any

properties-145

Properties

  • object :any, default: nil
  • provider :any, default: nil
  • receiver :any, default: nil
  • primary_accountable :any, default: nil
  • date_ago :any, default: nil
  • permalink :string, default: nil
  • object_boundary :any, default: nil

properties-146

Properties

  • object :any
  • verb_display :string
  • date_ago :any
  • permalink :string
  • object_type :any
  • object_boundary :any, default: nil

properties-147

Properties

  • object_id :string, required: true
  • activity_id :string
  • permalink :string
  • reply_to_text :any
  • replied :any
  • boost_count :any
  • showing_within :any
  • hide_reply :any
  • thread_mode :any
  • object_boundary :any, default: nil

properties-148

Properties

  • activity :map, default: nil
  • object :any, default: nil
  • profile :map, default: nil
  • character :map, default: nil
  • date_ago :any, default: nil
  • permalink :string, default: nil
  • verb_display :string, default: nil
  • showing_within :any, default: :feed
  • object_type :any, default: nil
  • object_boundary :any, default: nil
  • activity_inception :any, default: nil
  • viewing_main_object :boolean, default: false

properties-149

Properties

  • activity :map
  • object :any
  • verb :string
  • verb_display :string
  • showing_within :any
  • object_boundary :any, default: nil

properties-150

Properties

  • object_type_readable :any, default: nil

properties-151

Properties

  • object_id :string
  • permalink :string
  • replied :any

properties-152

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-154

Properties

  • comment :map
  • activity :map, default: %{}
  • object :any, default: %{}
  • thread_object :any
  • thread_level :any
  • child_replies :any
  • thread_id :any
  • feed_id :any, default: nil
  • sub_replies_count :integer, default: 0
  • url :string
  • thread_mode :any
  • showing_within :any, default: :thread
  • page :any, default: "thread"
  • create_object_type :atom, default: nil

properties-155

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-156

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-157

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-158

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-159

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-160

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-161

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-162

Properties

  • activity :map
  • object :any
  • object_type :any
  • verb :string
  • permalink :string
  • showing_within :any
  • hide_reply :boolean
  • viewing_main_object :boolean
  • object_type_readable :any
  • flagged :any

properties-163

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-164

Properties

  • page :string, required: true

properties-165

Properties

  • feed_id :string, required: true

properties-167

Properties

  • threads :any, default: nil
  • thread_id :string, default: nil
  • tab_id :string, default: nil
  • context :any, default: nil
  • showing_within :string, default: nil
  • users :list

properties-168

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-169

Properties

  • page_title :string, default: nil
  • participants :any, default: []
  • thread_id :string, default: nil
  • activity :any, default: %{}
  • showing_within :any, default: nil

properties-170

Properties

  • object_id :string, default: nil
  • post_id :string, default: nil
  • object :any, default: nil
  • page :string, default: nil
  • page_title :string, default: nil
  • show_reply_input :boolean, default: false
  • search_placeholder :string, default: nil
  • create_object_type :atom, default: nil
  • to_boundaries :list, default: nil
  • to_circles :list, default: []
  • smart_input_prompt :string, default: nil
  • smart_input_text :string, default: nil
  • reply_to_id :string, default: nil
  • thread_id :string, default: nil
  • feed_id :any, default: nil
  • activity :any, default: nil
  • showing_within :any, default: :thread
  • url :string, default: nil
  • thread_mode :any, default: nil
  • reverse_order :any, default: nil
  • participants :any, default: []
  • textarea_class :css_class, default: nil
  • replied_activity_class :css_class, default: nil
  • replies :any, default: nil
  • threaded_replies :any, default: nil
  • page_info :any, default: nil

properties-171

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-172

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-173

Properties

  • page_title :string, required: true
  • page :string, required: true
  • selected_tab :string, default: "boosts"
  • smart_input :boolean, required: true
  • smart_input_prompt :string
  • smart_input_text :string
  • search_placeholder :string
  • feed_title :string
  • user :map
  • feed :list
  • page_info :any
  • follows_me :boolean, default: false
  • loading :boolean, default: false

slots-6

Slots

  • header

properties-174

Properties

  • user :map
  • selected_tab :string
  • feed :list
  • page_info :any

properties-175

Properties

  • page_title :string, required: true
  • page :string, required: true
  • selected_tab :string, default: "posts"
  • smart_input :boolean, required: true
  • smart_input_prompt :string
  • smart_input_text :string
  • search_placeholder :string
  • feed_title :string
  • user :map
  • feed :list
  • page_info :any
  • follows_me :boolean, default: false
  • loading :boolean, default: false

slots-7

Slots

  • header

properties-176

Properties

  • page_title :string, required: true
  • page :string, required: true
  • selected_tab :string, default: "timeline"
  • smart_input :boolean, required: true
  • smart_input_prompt :string
  • smart_input_text :string
  • search_placeholder :string
  • feed_title :string
  • user :map
  • feed :list
  • page_info :any
  • follows_me :boolean, default: false
  • loading :boolean, default: false

slots-8

Slots

  • header
  • widget

properties-177

Properties

  • scope :atom, default: nil
  • key :any
  • label :string, default: nil
  • force_checked :boolean, default: false
  • force_unchecked :boolean, default: false
  • disabled :boolean, default: false

properties-178

Properties

  • title :string
  • scope :atom, default: nil

properties-179

Properties

  • threads :any
  • context :any, default: nil
  • thread_id :string

properties-181

Properties

  • page :string, required: true

properties-182

Properties

  • page :string, required: true

properties-183

Properties

  • id :string, required: true - The id of the live component (required by LiveView for stateful components).

properties-185

Properties

  • widget_title :string, default: nil

properties-186

Properties

  • widget_title :string, default: nil

properties-187

Properties

  • widget_title :string, default: nil
  • page :string, default: nil

properties-188

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-189

Properties

  • reply_to_id :string, default: nil
  • context_id :string, default: nil
  • create_object_type :atom, default: nil
  • to_boundaries :list, default: []
  • to_circles :list, default: []
  • smart_input_prompt :string, default: nil
  • smart_input_text :string, required: false
  • showing_within :string, default: nil
  • with_rich_editor :boolean, default: true, required: false
  • insert_text :string, default: nil
  • preloaded_recipients :any, default: nil
  • uploads :any, default: nil
  • thread_mode :atom, default: nil
  • uploaded_files :list, default: nil
  • title_prompt :string, default: nil
  • show_select_recipients :boolean, default: false
  • open_boundaries :boolean, default: false
  • boundaries_modal_id :string, default: :sidebar_composer
  • textarea_container_class :css_class
  • textarea_container_class_alpine :string
  • textarea_class :css_class
  • replied_activity_class :css_class

The main instance home page, mainly for guests visiting the instance

Module with named helpers generated from Bonfire.Web.Router.

query_filter brings convenience and shortens the boilterplate of ecto queries

Runs ecto migrations automatically on startup (add this to your app's supervision tree)

Helper functions for changesets

A custom Ecto type for handling the serialization of arbitrary data types stored as binary data in the database. Requires the underlying DB field to be a binary.

Log slow Ecto queries

Provides functions for sanitising input on Ecto.Changeset string fields.

Configuration-driven Ecto Schemata.

properties-190

Properties

  • iconify :string, required: false
  • solid :string, required: false
  • outline :string, required: false
  • class :css_class, default: "w-4 h-4"

Defines a paginator.

Defines a page.

Defines page page_info.

A context for working with Pointers, a sort of global foreign key scheme.

Helpers for writing Pointer-aware migrations.

If a Pointer represents an object, mixins represent data about the object. Mixins collate optional additional information about an object. Different types of object will typically make use of different mixins. You can see these as aspects of the data if you like.

We could not find the requested object

Sets up an Ecto Schema for a Pointable table.

A Pointer is any object that can be referenced by its id.

A securely randomly generated UUID keyed table. Not pointable.

One Table to rule them all. A record of a table participating in the pointers abstraction - mandatory if participating.

A Global cache of Tables to be queried by their (Pointer) IDs, table names or Ecto Schema module names.

An Ecto type for ULID strings.

Has a ULID primary key but is not pointable.

Sets up an Ecto Schema for a Virtual Pointable

properties-191

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-192

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

properties-193

Properties

  • id :string, required: true - Both the DOM ID and the ID to uniquely identify a LiveView. An :id is automatically generated when rendering root LiveViews but it is a required option when rendering a child LiveView.

Helpers to make random generator functions more useful in tests

mix-tasks

Mix Tasks

Creates an account in the database, automatically activated

Compiles dependencies.

Extracts translations by recompiling the Elixir source code.

Generates secrets and prints to the terminal.

Creates an account in the database, automatically activated