removed: chat feature

changed: dependencies
This commit is contained in:
quenousimporte 2023-05-02 15:43:44 +02:00
parent 7a83d5a0c3
commit f3a94f5552
6 changed files with 45 additions and 36562 deletions

View File

@ -2,26 +2,25 @@
<html> <html>
<head> <head>
<title>notes</title> <title>notes</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="https://fonts.cdnfonts.com/css/inconsolata-2">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://fonts.cdnfonts.com/css/inconsolata-2">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Droid+Serif" /> <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Droid+Serif" />
<link rel='stylesheet' href='//cdn.jsdelivr.net/npm/hack-font@3.3.0/build/web/hack-subset.css'> <link rel='stylesheet' href='//cdn.jsdelivr.net/npm/hack-font@3.3.0/build/web/hack-subset.css'>
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Josefin+Sans" /> <link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Josefin+Sans" />
<link rel="stylesheet" type="text/css" media="screen" href="https://cdn.conversejs.org/10.1.2/dist/converse.min.css">
<script src="libsignal-protocol.js"></script>
<script src="https://cdn.conversejs.org/10.1.2/dist/converse.min.js" charset="utf-8"></script>
</head> </head>
<body onload="init()" onkeydown="mainkeydownhandler()" onresize="resize()"> <body onload="init()" onkeydown="mainkeydownhandler()" onresize="resize()">
<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/2.1.0/showdown.min.js" integrity="sha512-LhccdVNGe2QMEfI3x4DVV3ckMRe36TfydKss6mJpdHjNFiV07dFpS2xzeZedptKZrwxfICJpez09iNioiSZ3hA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script src="libs/showdown.min.js"></script>
<script src="libs/vis-network.min.js"></script>
<script src="main.js"></script> <script src="main.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vis/4.21.0/vis-network.min.js" integrity="sha512-GE9mKnPrTn2DY5AZuIC9yE6K4FF8T+9lsO7jwHn+RW9rEjnHzF/in0oGwlPzRwjhQ+oJiawmtfvleX+l6h5/cA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<div id="networkpage" hidden> <div id="networkpage" hidden>
<div id="network"></div> <div id="network"></div>
</div> </div>

3
libs/showdown.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
libs/showdown.min.js.map Normal file

File diff suppressed because one or more lines are too long

30
libs/vis-network.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11
main.js
View File

@ -15,8 +15,7 @@ var defaultsettings =
tagautocomplete: false, tagautocomplete: false,
titleinaccentcolor: false, titleinaccentcolor: false,
enablenetwork: false, enablenetwork: false,
titlebydefault: false, titlebydefault: false
chat: false
}; };
//builtin //builtin
@ -1235,14 +1234,6 @@ function init()
md.focus(); md.focus();
} }
} }
if (settings.chat)
{
converse.initialize({
bosh_service_url: 'https://conversejs.org/http-bind/',
show_controlbox_by_default: true
});
}
} }
function togglepassword() function togglepassword()