lib

Prolog files

attvar.plShow source
get_attr/2Get the attribute on the current module.Source
put_attr/2Put an attribute on the current module.Source
authenticate.pl  -- Authentication access for SWISHShow source
authentication_hook/3Is called from the /pengine/create request to establish the logged in user.Source
authenticate/2Establish the identity behind the HTTP Request.Source
user_property/2True when Identity has Property.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
content_filter.pl  -- Ban list content filterShow source
dashboard.pl  -- Provide non-programmer query executionShow source
parameters/1Fill query parameters.Source
examples.pl  -- Serve example filesShow source
provides/1Make examples available through swish_provides/1.Source
flags.plShow source
form.pl  -- Form handling utilitiesShow 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
attach_pack/2Load the index of Pack into memory.Source
delete_head/2Delete Head from Store.Source
delete_object/2Delete an existing object.Source
fsck_pack/1Validate the integrity of the pack file File.Source
gitty_close/1Close resources associated with a store.Source
gitty_file/4True when File entry in the gitty store and Head is the HEAD revision.Source
gitty_fsck/1Validate all packs associated with Store.Source
gitty_hash/2True when Hash is an object in the store.Source
gitty_object_file/3True when Path is the file at which the object with Hash is stored.Source
gitty_open/2Driver specific initialization.Source
gitty_rescan/1Update our view of the shared storage for all stores matching Store.Source
gitty_update_head/5Update the head of a gitty store for Name.Source
load_object/5Load the given object.Source
load_object_from_pack/4True when Hash is in a pack and can be loaded.Source
load_plain_commit/3Load the commit data as a dict.Source
pack_objects/6Pack the given objects and pack files into a new pack.Source
repack_objects/2Repack objects of Store for reduced disk usage and enhanced performance.Source
set_head/3Set the head of the given File to Hash.Source
store_object/4Store the actual object.Source
unpack_pack/2Turn a pack back into a plain object files.Source
unpack_packs/1Unpack all packs.Source
help.pl  -- SWISH help systemShow source
highlight.pl  -- Highlight token serverShow source
html_output.pl  -- SWISH HTML OutputShow source
html/1Insert HTML into the output.Source
html/3Sandbox respecting version of html_write:html//1.Source
safe_raw_html/1Helper for variables in html(\List).Source
include.pl  -- Support :- include(File) from SWISHShow source
jquery.pl  -- Call jQuery on the SWISH interfaceShow source
jquery/2Run a jQuery query in the SWISH interface.Source
jquery/3Run a jQuery query in the SWISH interface.Source
markdown.pl  -- SWISH Notebook markdown supportShow source
file/4Hook that deals with linking other notebooks using the following markdown syntax:.Source
md_eval.pl  -- Provide evaluable markdownShow source
messages.plShow source
noble_avatar.pl  -- Noble Avatar generatorShow source
create_avatar/2(Re-)create avatar with basename PNG.Source
existing_noble_avatar/2True when Image is the image file of a previously generated avatar of Gender.Source
noble_avatar/2True when File is the image file name for a generated avatar of Gender.Source
noble_avatar/3True when File is the image file name for a generated avatar of Gender.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
not_sandboxed/2Called by Pengines to see whether User may call non-sandboxed operations in Application.Source
approve/3This hook is called by approve/2 and deny/2 before the default rules.
approve/2Source
authorized/2Verify that Action is authorized.Source
deny/2Source
ws_authorized/2True when WSUser is allowed to perform action.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
projection/1Specify the result variables.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
write_result/3Hook into library(pengines) that makes pengines support CSV output.Source
swish_debug.pl  -- Print debug messages and test assertionsShow source
debug/1Add/remove a topic from being printed.Source
list_debug_topics/0List currently known topics for debug/3 and their setting.Source
list_debug_topics/1List currently known topics for debug/3 and their setting.Source
nodebug/1Add/remove a topic from being printed.Source
swish_debug/3Format a message if debug topic is enabled.Source
swish_debugging/1Examine debug topics.Source
swish_diagnostics.plShow source
swish_redis.pl  -- Redis stream connectionShow source
redis_consumer/1True when Consumer is the name of this redis node.Source
reinit_redis/0Stop and start the redis thread.Source
swish_cluster/1True when Pairs is a list Consumer-URL of peer SWISH servers in this cluster.Source
template_hint.pl  -- Generate template hints for CondeMirrorShow source
config/2Provides the object config.swish.templates, a JSON object that provides the templates for hinting in CodeMirror.Source
predicate_template/2Source
visible_predicate/3True when PI is a plain predicate indicator for a predicate that can be called in Module.Source
visible_predicate_templates/3True when Templates is a JSON dict holding autocompletion templates for Module.Source
trace.pl  -- Show source
version.pl  -- Manage software versionsShow source
web.pl  -- Serve /pluginShow source