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
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
data_source.pl  -- Cached data accessShow 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
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
data_diff/3Diff two data strings line-by-line.Source
delete_head/2Delete Head from the administration.Source
delete_object/2Delete an existing object.Source
fsck_object/2Test the integrity of object Hash in Store.Source
gitty_close/1Close access to the Store.Source
gitty_commit/3True if Meta holds the commit data of NameOrHash.Source
gitty_create/5Create a new object Name from Data and meta information.Source
gitty_data/4Get the data in object Name and its meta-data.Source
gitty_diff/4True if Dict representeds the changes in Hash1 to FileOrHash2.Source
gitty_driver/2Get the current gitty driver.Source
gitty_file/3True when Hash is an entry in the gitty Store and Head is the HEAD revision.Source
gitty_file/4True when Hash is an entry in the gitty Store and Head is the HEAD revision.Source
gitty_fsck/1Check the integrity of store.Source
gitty_hash/2True when Hash is an object in the store.Source
gitty_history/4History is a dict holding a key history with a list of dicts representating the history of Name in Store.Source
gitty_load/4Low level objects store.Source
gitty_open/2Open a gitty store according to Options.Source
gitty_plain_commit/3Load the commit object with Hash.Source
gitty_reserved_meta/1True when Key is a gitty reserved key for the commit meta-data.Source
gitty_save/4Low level objects store.Source
gitty_update/5Update document Name using Data and the given meta information.Source
is_gitty_hash/1True if Term is a possible gitty (SHA1) hash.Source
set_head/3Register Head as the Head hash for File, removing possible old head.Source
udiff_string/2True when String is the string representation of UDiff.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
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
swish_provides/1True when Term describes a provided feature of the current SWISH instances.Source
messages.plShow source
noble_avatar.pl  -- Noble Avatar generatorShow source
oauth2.pl  -- Oauth2 based loginShow source
login/3Multifile hook to realise the actual login.Source
oauth2_claim/2True when Claim is the claim made in TokenInfo.Source
oauth2_login/2HTTP handler to login using oauth2.Source
oauth2_reply/2HTTP handler for the redirect we get back from the oauth2 server.Source
oauth2_user_info/3Given the token details obtained in oauth2_reply/2, get extended information about the user from the identity provider.Source
oauth2_validate_access_token/3Validates the AccessToken with Unity (implicit or hybrid flow).Source
server_attribute/3Multifile hook that defines available oauth2 servers.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
procps.pl  -- Get process statistics from Linux /procShow source
profiles.plShow source
projection.pl  -- Define the projectionShow source
r_swish.plShow 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
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
pengine_stale_module/1True if M seems to be a pengine module with no associated pengine.Source
pengine_stale_module/2True if M seems to be a pengine module with no associated pengine.Source
redis_consumer_status/2True when Status is a dict describing the current status for Consumer.Source
stale_pengine/1True if Pengine is a Pengine who's thread died.Source
start_swish_stat_collector/0Start collecting statistical performance information for the running SWISH server.Source
swish_cluster_member/2Source
swish_died_thread/2True if Id is a thread that died with Status and has not (yet) been joined.Source
swish_save_stats/1Save statistcs to File or the default file.Source
swish_statistics/1True if State is a statistics about SWISH.Source
swish_stats/2Get the collected statistics for the given Period.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
trace.pl  -- Show source
tutorial.plShow source
version.pl  -- Manage software versionsShow source
web.pl  -- Serve /pluginShow source