attvar.pl |
authenticate.pl -- Authentication access for SWISH |
| authentication_hook/3 | Is called from the /pengine/create request to establish the logged in user. |  |
| authenticate/2 | Establish the identity behind the HTTP Request. |  |
| user_property/2 | True when Identity has Property. |  |
avatar.pl -- Avatar management |
bootstrap.pl -- Bootstrap form generator |
| bt_button/6 | |  |
| bt_form/4 | Emit a Bootstrap form from Contents. |  |
| name_label/2 | Determine a label from a name by upcasing the first character and replacing all underscores by spaces. |  |
chat.pl -- The SWISH collaboration backbone |
chatstore.pl -- Store chat messages |
config.pl -- Make HTTP locations known to JSON code |
| config/2 | Define a name/value pair that will end up in the SWISH config object (see web/js/config.js). |  |
| login/2 | If a login item with 'data-server'(+Server) is clicked, the HTTP handler with id login is called. |  |
| login_item/2 | This hook is called to find all possible login options. |  |
| source_alias/2 | Multifile hook that defines properties of file_search_path/2 aliases wrt. |  |
| swish_config/2 | Define a name/value pair that will end up in the SWISH config object (see web/js/config.js). |  |
| swish_config_hash/2 | True if Hash is the SHA1 of the SWISH config. |  |
| swish_reply_config/2 | Emit a configuration object to the client if the client requests for '.../swish_config.json', regardless of the path prefix. |  |
| user_info/3 | Each login facility must provide this hook. |  |
content_filter.pl -- Ban list content filter |
cron.pl -- Schedule HTTP server maintenance tasks |
dashboard.pl -- Provide non-programmer query execution |
| parameters/1 | Fill query parameters. |  |
data_source.pl -- Cached data access |
download.pl -- Provide a button for downloading data |
| download_button/2 | Emit a button in the SWISH output window for downloading Data. |  |
examples.pl -- Serve example files |
| provides/1 | Make examples available through swish_provides/1. |  |
flags.pl |
form.pl -- Form handling utilities |
| validate_field/4 | True when Value is a valid value for Field from Dict according to Options. |  |
| validate_form/2 | Run validate_field/4 on all specified fields, combining the error message. |  |
gitty.pl -- Single-file GIT like version system |
gitty_driver_bdb.pl -- Gitty BDB driver |
gitty_driver_files.pl -- Gitty plain files driver |
help.pl -- SWISH help system |
highlight.pl -- Highlight token server |
| xref_open_source/2 | Open a source. |  |
| config/2 | Provides the object config.swish.style, a JSON object that maps style properties of user-defined extensions of library(prolog_colour). |  |
| css/3 | Multifile hook to define additional style to apply in a specific context. |  |
| current_highlight_state/2 | Return info on the current highlighter. |  |
| server_tokens/1 | These predicates help debugging the server side. |  |
| show_mirror/1 | These predicates help debugging the server side. |  |
| style/3 | Declare that we map StyleIn as generated by library(prolog_colour) into a token of type SWISHType, providing additional context information based on Attributes. |  |
| token_info/3 | Generate HTML, providing details about Token. |  |
html_output.pl -- SWISH HTML Output |
| html/1 | Insert HTML into the output. |  |
| html/3 | Sandbox respecting version of html_write:html//1. |  |
| safe_raw_html/1 | Helper for variables in html(\List). |  |
http_version.pl -- Serve version details over HTTP |
include.pl -- Support :- include(File) from SWISH |
jquery.pl -- Call jQuery on the SWISH interface |
| jquery/2 | Run a jQuery query in the SWISH interface. |  |
| jquery/3 | Run a jQuery query in the SWISH interface. |  |
logging.pl -- Add SWISH query execution to the HTTP log file |
| create_log_dir/0 | Create the directory for holding the log files. |  |
| create_log_dir/1 | Create the directory for holding the log files. |  |
markdown.pl -- SWISH Notebook markdown support |
| file/4 | Hook that deals with linking other notebooks using the following markdown syntax:. |  |
md_eval.pl -- Provide evaluable markdown |
| swish_provides/1 | True when Term describes a provided feature of the current SWISH instances. |  |
messages.pl |
noble_avatar.pl -- Noble Avatar generator |
oauth2.pl -- Oauth2 based login |
page.pl -- Provide the SWISH application as Prolog HTML component |
| logo/3 | Hook to include the top-left logos. | |
| pengine_logo/3 | Emit an <a> element that provides a link to Pengines and SWISH on this server. |  |
| swish_content/3 | Generate the SWISH editor, Prolog output area and query editor. |  |
| swish_logo/3 | Emit an <a> element that provides a link to Pengines and SWISH on this server. |  |
| swish_navbar/3 | Generate the swish navigation bar. |  |
| swish_page/3 | Generate the entire SWISH default page. |  |
| swish_reply/2 | HTTP handler to reply the default SWISH page. |  |
| swish_resources/2 | Include SWISH CSS and JavaScript. |  |
patch.pl -- Run patch program |
paths.pl -- Setup SWISH search paths |
pep.pl -- SWISH PEP (Policy Enforcement Point) |
| not_sandboxed/2 | Called by Pengines to see whether User may call non-sandboxed operations in Application. |  |
| approve/3 | This hook is called by approve/2 and deny/2 before the default rules. | |
| approve/2 | |  |
| authorized/2 | Verify that Action is authorized. |  |
| deny/2 | |  |
| ws_authorized/2 | True when WSUser is allowed to perform action. |  |
procps.pl -- Get process statistics from Linux /proc |
| procps_stat/1 | Get data from the stat file of the current process, the process identified by PID or the Prolog thread identified by Thread. |  |
| procps_stat/2 | Get data from the stat file of the current process, the process identified by PID or the Prolog thread identified by Thread. |  |
| procps_status/1 | Get the data from /proc/self/status as a Prolog dict. |  |
| procps_status/2 | Get the data from /proc/self/status as a Prolog dict. |  |
| procps_thread_stat/2 | Get data from the stat file of the current process, the process identified by PID or the Prolog thread identified by Thread. |  |
profiles.pl |
projection.pl -- Define the projection |
r_swish.pl |
| r_console/2 | Relay Rserve captured output to SWISH using writeln. |  |
| r_console_property/1 | Relay the size of the console. |  |
| r_display_images/1 | Relay received images to the SWISH console using pengine_output/1. |  |
| r_download/0 | Provide download buttons for all created files. |  |
| r_download/1 | Provide a download button for the indicates file. |  |
render.pl -- SWISH term-rendering support |
| current_renderer/2 | True when renderer Name is declared with Comment. |  |
| register_renderer/2 | Register a module as SWISH rendering component. |  |
| use_rendering/1 | Register an answer renderer. |  |
| use_rendering/2 | Register an answer renderer with options. |  |
search.pl -- SWISH search from the navigation bar |
| match/3 | True if Line matches Query, respecting Options. |  |
| search_box/3 | Render a Bootstrap search box. |  |
| typeahead/4 | Find typeahead suggestions for a specific search category (Type). |  |
session.pl -- Setup SWISH sessions |
storage.pl -- Store files on behalve of web clients |
swish_chr.pl -- Make CHR available in SWISH |
swish_csv.pl -- Support CSV output from a Pengines server |
swish_debug.pl -- Print debug messages and test assertions |
swish_diagnostics.pl |
swish_redis.pl -- Redis stream connection |
| redis_consumer/1 | True when Consumer is the name of this redis node. |  |
| reinit_redis/0 | Stop and start the redis thread. |  |
| swish_cluster/1 | True when Pairs is a list Consumer-URL of peer SWISH servers in this cluster. |  |
template_hint.pl -- Generate template hints for CondeMirror |
| config/2 | Provides the object config.swish.templates, a JSON object that provides the templates for hinting in CodeMirror. |  |
| predicate_template/2 | |  |
| visible_predicate/3 | True when PI is a plain predicate indicator for a predicate that can be called in Module. |  |
| visible_predicate_templates/3 | True when Templates is a JSON dict holding autocompletion templates for Module. |  |
trace.pl --  |
| prepare_goal/3 | Handle the breakpoints(List) option to set breakpoints prior to execution of the query. |  |
| open_source/2 | Open SWISH non-file sources. |  |
| $swish wrapper/2 | Wrap a SWISH goal in '$swish wrapper'. |  |
| post_context/3 | Multifile hooks to extract additional information from the Pengine, either just before Goal is started or after an answer was produced. |  |
| pre_context/3 | Multifile hooks to extract additional information from the Pengine, either just before Goal is started or after an answer was produced. |  |
version.pl -- Manage software versions |
| check_prolog_version/1 | Validate the program is running under Prolog version Required or newer. |  |
| git_module_property/2 | Property is a property of the named git-component. |  |
| prolog_version_atom/1 | Atom describes the current Prolog version. |  |
| register_git_module/2 | Register the directory from which the Prolog file was loaded as a GIT component about which to report version information. |  |
web.pl -- Serve /plugin |