aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2017-02-11 20:52:17 -0500
committerAndrew Manning <tamanning@zoho.com>2017-02-11 20:52:17 -0500
commit1cd1328b0c03996532ccbe452ff293654ed1d68a (patch)
treec712926183d294518f3c1e18e8abacbc42cbe9fe
parent8ff9ad76365eced6dd466c491148381dae677a6c (diff)
parent1ba1c5b44ec08820fcc134aaffb977a51dca67df (diff)
downloadvolse-hubzilla-1cd1328b0c03996532ccbe452ff293654ed1d68a.tar.gz
volse-hubzilla-1cd1328b0c03996532ccbe452ff293654ed1d68a.tar.bz2
volse-hubzilla-1cd1328b0c03996532ccbe452ff293654ed1d68a.zip
Merge remote-tracking branch 'upstream/dev' into webimport
-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>