lib

Prolog files

attvar.plShow source
authenticate.pl  -- Authentication access for SWISHShow source
avatar.pl  -- Avatar managementShow source
bootstrap.pl  -- Bootstrap form generatorShow source
chat.pl  -- The SWISH collaboration backboneShow source
chatstore.pl  -- Store chat messagesShow source
config.pl  -- Make HTTP locations known to JSON codeShow source
config/2Define a name/value pair that will end up in the SWISH config object (see web/js/config.js).Source
login/2If a login item with 'data-server'(+Server) is clicked, the HTTP handler with id login is called.Source
login_item/2This hook is called to find all possible login options.Source
source_alias/2Multifile hook that defines properties of file_search_path/2 aliases wrt.Source
swish_config/2Define a name/value pair that will end up in the SWISH config object (see web/js/config.js).Source
swish_config_hash/2True if Hash is the SHA1 of the SWISH config.Source
swish_reply_config/2Emit a configuration object to the client if the client requests for '.../swish_config.json', regardless of the path prefix.Source
user_info/3Each login facility must provide this hook.Source
content_filter.pl  -- Ban list content filterShow source
dashboard.pl  -- Provide non-programmer query executionShow source
examples.pl  -- Serve example filesShow source
flags.plShow source
form.pl  -- Form handling utilitiesShow source
validate_field/4True when Value is a valid value for Field from Dict according to Options.Source
validate_form/2Run validate_field/4 on all specified fields, combining the error message.Source
gitty.pl  -- Single-file GIT like version systemShow source
gitty_driver_bdb.pl  -- Gitty BDB driverShow source
gitty_driver_files.pl  -- Gitty plain files driverShow source
help.pl  -- SWISH help systemShow source
highlight.pl  -- Highlight token serverShow source
html_output.pl  -- SWISH HTML OutputShow source
include.pl  -- Support :- include(File) from SWISHShow source
jquery.pl  -- Call jQuery on the SWISH interfaceShow source
markdown.pl  -- SWISH Notebook markdown supportShow source
md_eval.pl  -- Provide evaluable markdownShow source
messages.plShow source
noble_avatar.pl  -- Noble Avatar generatorShow source
page.pl  -- Provide the SWISH application as Prolog HTML componentShow source
logo/3Hook to include the top-left logos.
pengine_logo/3Emit an <a> element that provides a link to Pengines and SWISH on this server.Source
swish_content/3Generate the SWISH editor, Prolog output area and query editor.Source
swish_logo/3Emit an <a> element that provides a link to Pengines and SWISH on this server.Source
swish_navbar/3Generate the swish navigation bar.Source
swish_page/3Generate the entire SWISH default page.Source
swish_reply/2HTTP handler to reply the default SWISH page.Source
swish_reply_resource/1Serve /swish/Resource files.Source
swish_resources/2Include SWISH CSS and JavaScript.Source
patch.pl  -- Run patch programShow source
paths.pl  -- Setup SWISH search pathsShow source
pep.pl  -- SWISH PEP (Policy Enforcement Point)Show source
procps.pl  -- Get process statistics from Linux /procShow source
procps_stat/1Get data from the stat file of the current process, the process identified by PID or the Prolog thread identified by Thread.Source
procps_stat/2Get data from the stat file of the current process, the process identified by PID or the Prolog thread identified by Thread.Source
procps_status/1Get the data from /proc/self/status as a Prolog dict.Source
procps_status/2Get the data from /proc/self/status as a Prolog dict.Source
procps_thread_stat/2Get data from the stat file of the current process, the process identified by PID or the Prolog thread identified by Thread.Source
profiles.plShow source
projection.pl  -- Define the projectionShow source
render.pl  -- SWISH term-rendering supportShow source
search.pl  -- SWISH search from the navigation barShow source
session.pl  -- Setup SWISH sessionsShow source
storage.pl  -- Store files on behalve of web clientsShow source
swish_chr.pl  -- Make CHR available in SWISHShow source
swish_csv.pl  -- Support CSV output from a Pengines serverShow source
swish_debug.pl  -- Print debug messages and test assertionsShow source
swish_diagnostics.plShow source
swish_redis.pl  -- Redis stream connectionShow source
template_hint.pl  -- Generate template hints for CondeMirrorShow source
trace.pl  -- Show source
version.pl  -- Manage software versionsShow source
web.pl  -- Serve /pluginShow source