lib

Prolog files

attvar.plShow source
authenticate.pl  -- Authentication access for SWISHShow source
avatar.pl  -- Avatar managementShow source
random_avatar/1Generate a random avatar image url.Source
release_avatar/1Release the avatar to the pool of free avatars.Source
valid_gravatar/1True if URL is a real gravatar.Source
bootstrap.pl  -- Bootstrap form generatorShow source
chat.pl  -- The SWISH collaboration backboneShow source
broadcast_bell/3Adds a bell to indicate central chat messages.Source
chat_about/2Distribute a chat message about DocID.Source
chat_broadcast/1Send Message to all known SWISH clients.Source
chat_broadcast/2Send Message to all known SWISH clients.Source
chat_to_profile/2Send a HTML notification to users logged in using ProfileID.Source
notifications/3The chat element is added to the navbar and managed by web/js/chat.js.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
eval_content/3Evaluate the content of Text.Source
dashboard.pl  -- Provide non-programmer query executionShow source
data_source.pl  -- Cached data accessShow source
goal_expansion/2Translate a Dict where the tag is the identifier of a data source and the keys are columns pf this source into a goal on the data.Source
data materialized/3Called by a data plugin to indicate that loading the data has finished.Source
data_dump/3Table is a list of rows in the indicated range.Source
data_flush/1Drop the data associated with hash.Source
data_property/2True when Property is a known property about the data source Id.Source
data_record/2True when Record is a dict representing a row in the dataset identified by Id.Source
data_row/2True when Row is a term Id(Arg, ...), where the first row contains the column names.Source
data_row/4True when Row is a term Id(Arg, ...), where the first row contains the column names.Source
data_source/2Create a data source Id from the source definition Source.Source
record/2True when Record is a dict representing a row in the dataset identified by Id.Source
download.pl  -- Provide a button for downloading dataShow source
examples.pl  -- Serve example filesShow 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
http_version.pl  -- Serve version details over HTTPShow 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
logging.pl  -- Add SWISH query execution to the HTTP log fileShow 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
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
oauth2.pl  -- Oauth2 based loginShow source
page.pl  -- Provide the SWISH application as Prolog HTML componentShow source
patch.pl  -- Run patch programShow source
patch/4Patch the string Orig using Diff.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
profiles.plShow source
projection.pl  -- Define the projectionShow source
projection/1Specify the result variables.Source
r_swish.plShow source
r_console/2Relay Rserve captured output to SWISH using writeln.Source
r_console_property/1Relay the size of the console.Source
r_display_images/1Relay received images to the SWISH console using pengine_output/1.Source
r_download/0Provide download buttons for all created files.Source
r_download/1Provide a download button for the indicates file.Source
render.pl  -- SWISH term-rendering supportShow source
current_renderer/2True when renderer Name is declared with Comment.Source
register_renderer/2Register a module as SWISH rendering component.Source
use_rendering/1Register an answer renderer.Source
use_rendering/2Register an answer renderer with options.Source
search.pl  -- SWISH search from the navigation barShow source
match/3True if Line matches Query, respecting Options.Source
search_box/3Render a Bootstrap search box.Source
typeahead/4Find typeahead suggestions for a specific search category (Type).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
swish_diagnostics.plShow source
swish_redis.pl  -- Redis stream connectionShow 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
tutorial.plShow source
version.pl  -- Manage software versionsShow source
check_prolog_version/1Validate the program is running under Prolog version Required or newer.Source
git_module_property/2Property is a property of the named git-component.Source
prolog_version_atom/1Atom describes the current Prolog version.Source
register_git_module/2Register the directory from which the Prolog file was loaded as a GIT component about which to report version information.Source
web.pl  -- Serve /pluginShow source