plugin

Prolog files

elastic.pl  -- Core Elastic search interfaceShow source
es_add/4Add a document to the index Index.Source
es_create_index/2Create or delete an index.Source
es_delete_index/1Create or delete an index.Source
es_get/2Low level access to the Elastic HTTP service.Source
es_post/2Low level access to the Elastic HTTP service.Source
es_post/3Low level access to the Elastic HTTP service.Source
es_put/2Low level access to the Elastic HTTP service.Source
es_search/3Search using Query, returning a list of Prolog dicts that express the result.Source
email.pl  -- Email plugin for SWISHShow source
dear/3Address user with the given ProfileID.Source
email_action_link/6Generate a link in an HTML mail page that, when clicked, executes Action and if successful replies to the request using Reply.Source
email_cleanup_db/0Strip the email confirmation queue from outdated messages.Source
profile_name/3Emit the name associated with Profile as unstyled HTML.Source
public_url/4True when URL is a link to handler To with Query.Source
signature/2Emit footer.Source
smtp_send_html/3Send an HTML mail to To using HTML content Content.Source
es_swish.pl  -- SWISH integration of Elastic SearchShow source
es_add/2Add files to the index iven an offset and limit.Source
es_add_file/1Add a file to the swish index.Source
es_add_since/1Update entries that have been added or modified less than Time seconds ago.Source
es_create_index/0Create an Elastic Search index to represent commits.Source
es_query/2Run a query against the Elastic database.Source
typeahead/4Search for typeahead of the top-right search box.Source
search_sources_hook/2Run full text and/or metadata search over the stored files.Source
hdt.pl  -- Access RDF through HDTsShow source
login.pl  -- SWISH login supportShow source
li_login_button/3Hook called from page.pl to include the login buttons.Source
current_user_info/2If there is a logged in user, Info is a dict with information about this user.Source
login_button/3Add a login/logout button.Source
login_continue_button/2The login page is opened either inside an iframe inside a SWISH modal dialog or inside a browser popup window.Source
reply_logged_in/1Reply with an HTML document that the login succeeded.Source
reply_logged_in_page/1Reply with an HTML document that the login succeeded.Source
reply_logged_out/1Perform pluggable logout.Source
notify.pl  -- SWISH notificationsShow source
follow/3Assert that DocID is being followed by ProfileID using Flags.Source
notify/2Action has been executed on DocID.Source
profile.pl  -- User profile configurationShow source
reply_logged_in/1Hook logins from federated identity provides.Source
reply_logged_out/1Perform a logout, removing the link to the session.Source
user_profile/2Provide the profile for the current user.Source
typeahead/4Find users based on their profile.Source