ACL notifications
acl_context_authenticated acl_is_allowed acl_is_allowed_prop acl_is_owner acl_logoff acl_logon acl_mqtt acl_user_groups
Authentication notifications
auth_checked auth_confirm auth_confirm_done auth_client_logon_user auth_client_switch_user auth_logon auth_logoff auth_options_update auth_postcheck…
Dispatch notifications
content_types_dispatch dispatch dispatch_host dispatch_rewrite page_url url_abs url_rewrite
Edge notifications
edge_delete edge_insert edge_update
E-mail notifications
email_add_handler email_bounced email_dkim_options email_drop_handler email_ensure_handler email_failed email_is_blocked email_received email_send_encoded…
Import/export notifications
import_csv_definition import_resource export_resource_content_disposition export_resource_content_type export_resource_data export_resource_encode…
Media notifications
media_identify_extension media_identify_file media_import media_import_medium media_preview_options media_import_props media_replace_file media_stillimage…
Pivot notifications
pivot_fields pivot_rsc_data pivot_update custom_pivot
Resource notifications
rsc_delete rsc_get rsc_import_fetch rsc_insert rsc_merge rsc_pivot_done rsc_query_item rsc_update rsc_update_done rsc_upload
Survey notifications
survey_get_handlers survey_is_allowed_results_download survey_is_submit survey_submit
User notifications
identity_password_match identity_verification identity_verified logon_options logon_ready_page logon_submit set_user_language request_context session_context…
Other notifications
action_event_type activity activity_send admin_edit_blocks admin_menu admin_rscform category_hierarchy_save comment_insert cors_headers debug debug_stream…

Validators Reference Installation requirements

All Notifications

postback_event

Message sent by a user-agent on a postback event. Encapsulates the encoded postback and any additional data. This is…

postback_notify

Handle a javascript notification from the postback handler. The message is the the request, trigger the id of the…

request_context

Refresh the context or request process for the given request or action Called for every request that is not anonymous…

resource_headers

Let all modules add resource specific response headers to the request. The accumulator is the list of headers to be set.

rsc_delete

Resource will be deleted. This notification is part of the delete transaction, it’s purpose is to clean up associated…

rsc_get

Resource is read, opportunity to add computed fields Used in a foldr with the read properties as accumulator.

rsc_import_fetch

Fetch the data for an import of a resource. Returns data in the format used by m_rsc_export and m_rsc_import.

rsc_insert

Foldr for an resource insert, these are the initial properties and will overrule the properties in the insert request.

rsc_merge

Map to signal merging two resources. Move any information from the loser to the winner. The loser will be deleted.

rsc_pivot_done

Signal that a resource pivot has been done.

rsc_query_item

Send a notification that the resource ‘id’ is added to the query query_id.

rsc_update

An updated resource is about to be persisted. Observe this notification to change the resource properties before they…

rsc_update_done

An updated resource has just been persisted. Observe this notification to execute follow-up actions for a resource…

rsc_upload

Upload and replace the resource with the given data. The data is in the given format. Return {ok, Id} or {error

sanitize_element

Sanitize an HTML element.

sanitize_embed_url

Sanitize an embed url. The hostpart is of the format: <<"youtube.com/v...">> .

scomp_script_render

Add extra javascript with the {% script %} tag. (map) Used to let modules inject extra javascript depending on the…

search_query

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

security_headers

Check and possibly modify the http response security headers All headers are in lowercase.

service_authorize

Request API logon

session_context

Refresh the context or request process for the given request or action Called for every request that is not anonymous…

set_user_language

Set the language of the context to a user’s prefered language

signup

Request a signup of a new or existing user. Arguments are similar to #signup_url{} Returns {ok, UserId} or {error

signup_check

signup_check Check if the signup can be handled, a fold over all modules. Fold argument/result is {ok, Props

signup_confirm

Signal that a user has been confirmed. (map, result is ignored)

signup_confirm_redirect

Fetch the page a user is redirected to after signing up with a confirmed identity

signup_done

Signal that a user has been signed up (map, result is ignored)

signup_failed_url

Signup failed, give the error page URL. Return {ok, Url} or undefined. Reason is returned by the signup handler for the…

signup_url

Handle a signup of a user, return the follow on page for after the signup. Return {ok, Url} ‘props’ is a map with…

ssl_options

Request the SSL certificates for this site. The server_name property contains the hostname used by the client. (first…

survey_get_handlers

Fetch list of handlers for survey submits.

survey_is_allowed_results_download

Check if the current user is allowed to download a survey.

survey_is_submit

Check if a question is a submitting question.

survey_submit

A survey has been filled in and submitted.

tkvstore_delete

Delete a value from the typed key/value store

tkvstore_get

Get a value from the typed key/value store

tkvstore_put

Put a value into the typed key/value store

url_abs

Make a generated URL absolute, optionally called after url_rewrite by z_dispatcher

url_fetch_options

Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.

url_rewrite

Rewrite a URL after it has been generated using the z_dispatcher

user_context

Set #context fields depending on the user and/or the preferences of the user.

user_is_enabled

Check if a user is enabled. Enabled users are allowed to log in. Return true , false or undefined . If undefined is…

validate_query_args

Called just before validation of all query arguments by z_validation. This is the moment to filter any illegal…