Browse by topic

Discover Documentation

Explore related documentation through its most useful keyword groups.

1435 items

Grouped by Architecture

All Documentation

Models

m_payment_paypal_api

Create, capture and synchronize PayPal Orders and verify webhook events.

Models

m_paysub

Access local payment and subscription records, membership state and provider customer portals. Database records generally use binary map keys. Template paths…

Models

m_paysub_search

Provide geographic filter choices and subscription searches for Paysub.

Models

mqtt_ticket

A ticketing system for out of band MQTT posts via HTTP.

Models

m_secure_message

Relay messages, resolve signed links and queue callbacks for mod_secure_message . Message records are returned as atom-keyed property lists; relay requests and…

Tags

msgctxt

Set a template's default gettext message context:

Models

m_sso_openidc

Expose OpenID Connect provider configuration and public provider choices to templates, and supply provider storage and logon lookup functions to Erlang.

Models

m_translate_argos

Translate plain text and HTML with Argos Translate and manage its language packages through a shared local Python worker.

Models

m_translate_deepl

Translates lists of texts using the DeepL API and exposes whether an API key has been configured.

Models

m_wikiconcept

Look up imported Wikidata/OpenAlex concepts, search their names and connect them to keyword resources. Concept rows are binary-keyed maps, with properties from…

Validators

name_unique

A validator to check whether a resource’s name is unique:

Filters

ne_day

Tests if two dates are not equal.

Filters

next_in

Return the next page in a menu or collection: {{ id|next_in:container_id }} .

Filters

normalize_email

Normalize an email address, used in the identity management.

Tags

now

Show the current date and time.

Filters

nthtail

Fetch the nth tail of a list.

Models

oauth2

Model for OAuth2 app/client/token administration and user token listings.

Models

oauth2_consumer

Model for OAuth2 consumer configuration and token access, including consumer lists and per-consumer token retrieval.

Models

oauth2_service

Model for OAuth2 service flow helpers, including redirect URL generation and oauth redirect processing.

Notifications

observe_acl_collab_groups_modify/3

Modify the list of collaboration groups of a user. Called internally by the ACL modules when fetching the list of collaboration groups a user is member of.

Notifications

observe_acl_is_allowed/2

Check if a user is authorized to perform an operation on a an object (some resource or module). Observe this notification to do complex or more fine-grained…

Notifications

observe_acl_user_groups_modify/3

Modify the list of user groups of a user. Called internally by the ACL modules when fetching the list of user groups a user is member of.

Notifications

observe_action_event_type/2

Render the javascript for a custom action event type. The custom event type must be a tuple, for example: {% wire type={live id=myid} action={...} %}</code>…

Notifications

observe_activity/2

An activity in Zotonic. When this is handled as a notification then return a list of patterns matching this activity. These patterns are then used to find…

Notifications

observe_activity_send/2

Push a list of activities via a ‘channel’ (eg ‘email’) to a recipient. The activities are a list of #activity{} records.

Notifications

observe_auth_checked/2

Notify after logon of user with username, communicates valid or invalid password

Notifications

observe_auth_identity_types/3

Return the list of identity types that allow somebody to logon and become an active user of the system. Defaults to [ username_pw ]. In the future more types…

Notifications

observe_auth_logoff/3

User is about to log off. Modify (if needed) the logoff request context.

Notifications

observe_auth_logon/3

User logs on. Add user-related properties to the logon request context.

Notifications

observe_auth_reset/2

First to check for password reset forms, return undefined, ok, or {error, Reason}.

Notifications

observe_comment_insert/2

Notification to signal an inserted comment. ‘comment_id’ is the id of the inserted comment, ‘id’ is the id of the resource commented on.

Notifications

observe_content_types_dispatch/3

Get available content types and their dispatch rules Example: {{<<”text”>>, <<”html”>>, []}, page} A special dispatch rule is ‘page_url’, which refers to the…

Notifications

observe_custom_pivot/2

Add custom pivot fields to a resource’s search index (map) Result is a single tuple or list of tuples {pivotname, props} , where “pivotname” is the pivot…

Notifications

observe_debug/2

Push some information to the debug page in the user-agent. Will be displayed with io_lib:format(“~p: p n”, [What, Arg]), be careful with escaping information!

Notifications

observe_development_make/2

Runs the development make process and reloads newly compiled BEAM files after a manual request.

Notifications

observe_development_reload/2

Reloads templates, modules, translations, and other indexed development files after a manual request.

Notifications

observe_dispatch/2

Final try for dispatch, try to match the request. Called when the site is known, but no match is found for the path

Notifications

observe_dispatch_host/2

Try to find the site for the request Called when the request Host doesn’t match any active site.

Notifications

observe_dropbox_file/2

Handle a new file received in the ‘files/dropbox’ folder of a site. Unhandled files are deleted after an hour. If the handler returns ‘ok’ then the file is…

Notifications

observe_edge_delete/2

An edge has been deleted Note that the Context for this notification does not have the user who deleted the edge.

Notifications

observe_edge_insert/2

An edge has been inserted. Note that the Context for this notification does not have the user who created the edge.

Notifications

observe_edge_update/2

An edge has been updated. Note that the Context for this notification does not have the user who updated the edge.

Notifications

observe_email_bounced/2

Bounced e-mail notification. The recipient is the e-mail that is bouncing. When the the message_nr is unknown the it is set to ‘undefined’. This can happen if…

Notifications

observe_email_drop_handler/2

Drop an e-mail handler for a user/resource id. (notify). The notification, user and resource should be the same as when the handler was registered.

Notifications

observe_email_failed/2

Notify that we could NOT send an e-mail (there might be a bounce later...) The Context is the depickled z_email:send/2 context.

Notifications

observe_email_is_recipient_ok/2

Check if an email address is safe to send email to. The email address is not blocked and is not marked as bouncing.

Notifications

observe_email_sent/2

Notify that we sent an e-mail (there might be a bounce later...) The Context is the depickled z_email:send/2 context.

Notifications

observe_email_status/2

Email status notification, sent when the validity of an email recipient changes

Notifications

observe_export_resource_data/2

mod_export - fetch a row for the export, can return a list of rows, a binary, and optionally a continuation state. Where Values is [ term() ], i.e. a list of…

Notifications

observe_filestore/2

Resolve managed file storage operations. Records are defined in zotonic_file.hrl .

Notifications

observe_filewatcher/2

Broadcast some file changed, used for livereload by mod_development

Notifications

observe_identity_verification/2

Request to send a verification to the user. Return ok or an error. Handled by mod_signup to send out verification emails. Identity may be undefined, or is an…