aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-02-12 17:40:45 -0800
committerzotlabs <mike@macgirvin.com>2017-02-12 17:40:45 -0800
commit7c72886b1b00aea2b53233c0299e9f35b45dc34d (patch)
tree7b58ac7e99c312126d7ecb56d82462d866ec9748 /doc
parent2a525922929d5d9d54fd898e6f1658f0b959e667 (diff)
parentf62b2fc114ff479e3b0bd524b90efc799b5403e6 (diff)
downloadvolse-hubzilla-7c72886b1b00aea2b53233c0299e9f35b45dc34d.tar.gz
volse-hubzilla-7c72886b1b00aea2b53233c0299e9f35b45dc34d.tar.bz2
volse-hubzilla-7c72886b1b00aea2b53233c0299e9f35b45dc34d.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'doc')
-rw-r--r--doc/about/about_hubzilla.bb2
-rw-r--r--doc/toc.html13
2 files changed, 11 insertions, 4 deletions
diff --git a/doc/about/about_hubzilla.bb b/doc/about/about_hubzilla.bb
index 3327e0b50..e9485ffa6 100644
--- a/doc/about/about_hubzilla.bb
+++ b/doc/about/about_hubzilla.bb
@@ -32,7 +32,7 @@ The $Projectname software stack is a relatively standard webserver application w
[*= nomadic identity] The ability to authenticate and easily migrate an identity across independent hubs and web domains. Nomadic identity provides true ownership of an online identity, because the identities of the channels controlled by an account on a hub are not tied to the hub itself. A hub is more like a "host" for channels. With Hubzilla, you don't have an "account" on a server like you do on typical websites; you own an identity that you can take with you across the grid by using clones.
-[*= [url=[baseurl]/help/developer/api_zot]Zot[/url]] The novel JSON-based protocol for implementing secure decentralised communications and services. It differs from many other communication protocols by building communications on top of a decentralised identity and authentication framework. The authentication component is similar to OpenID conceptually but is insulated from DNS-based identities. Where possible remote authentication is silent and invisible. This provides a mechanism for internet-scale distributed access control which is unobtrusive.
+[*= [url=[baseurl]/help/developer/zot_protocol]Zot[/url]] The novel JSON-based protocol for implementing secure decentralised communications and services. It differs from many other communication protocols by building communications on top of a decentralised identity and authentication framework. The authentication component is similar to OpenID conceptually but is insulated from DNS-based identities. Where possible remote authentication is silent and invisible. This provides a mechanism for internet-scale distributed access control which is unobtrusive.
[/dl]
[h3]Features[/h3]
diff --git a/doc/toc.html b/doc/toc.html
index 4c52c5e74..851f356e6 100644
--- a/doc/toc.html
+++ b/doc/toc.html
@@ -74,7 +74,7 @@
$(".panel-collapse.in").find('a').each(function(){
var url = document.createElement('a');
url.href = window.location;
- var pageName = url.href.split('/').pop().split('#').shift();
+ var pageName = url.href.split('/').pop().split('#').shift().split('?').shift();
var linkName = $(this).attr('href').split('/').pop();
if(pageName === linkName) {
var tocUl = $(this).closest('li').append('<ul>').find('ul');
@@ -116,8 +116,15 @@
// When the page loads, it does not scroll to the section specified in the URL because it
// has not been constructed yet by the script. This will reload the URL
- if (typeof(location.href.split('#')[1]) !== 'undefined') {
- location.replace(location.href)
+ if (typeof(location.href.split('#')[1]) !== 'undefined') {
+ var p = document.createElement('a');
+ p.href = location.href;
+ var portstr = '';
+ if(p.port !== '') {
+ portstr = ':'+ p.port;
+ }
+ var newref = p.protocol + '//'+ p.hostname + portstr + p.pathname + p.hash.split('?').shift();
+ location.replace(newref)
}
});
</script>