More updates to the articles about ports

This commit is contained in:
alexandervnuchkov 2019-07-26 18:44:43 +03:00
parent 5c1e74dbc5
commit 3a663d01ec
9 changed files with 83 additions and 67 deletions

View File

@ -0,0 +1,2 @@
<%@ Control Language="C#" %>
<p>Hover the mouse cursor over the table row containing the port number to see its description.</p>

View File

@ -1,2 +1,2 @@
<%@ Control Language="C#" %>
<div class="notehelp">Please note that you only need to open the above ports if you have the necessary service installed and use it, as they are required for the correct work of the services listed in the table. If you disabled and do not plan to use certain services, consider closing the corresponding ports.</div>
<div class="notehelp">Please note that you only need to open the above ports if you have the necessary service installed and use it, as they are required for the correct work of the services listed in the table. If you disabled and do not plan to use certain services, consider closing the corresponding ports. If you changed the default port to another one, make sure you close the default port and open the one you set.</div>

View File

@ -1,6 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/Ports/HoverText/HoverText.ascx" />
<table class="table_portslist common_ports">
<thead>
<tr>

View File

@ -1,6 +1,7 @@
<%@ Control Language="C#" %>
<%@ Register Namespace="TeamLab.Controls" Assembly="__Code" TagPrefix="cc" %>
<cc:LocalizeContent runat="Server" ControlName="~/Controls/Help/Server/Common/Ports/HoverText/HoverText.ascx" />
<table class="table_portslist common_ports">
<thead>
<tr>

View File

@ -1,6 +1,6 @@
<%@ Control Language="C#" %>
<script id="ports-template-list-item" type="text/template">
<tr class="tdwttp" title="{{table_description}}" id="portnumber_{{table_port}}">
<tr class="tdwttp" title="<b>{{table_port}}:{{table_service}}</b> &ndash; {{table_description}}" id="portnumber_{{table_port}}">
<td class="table_port">{{table_port}}</td>
<td class="table_service">{{table_service}}</td>
<!--<td class="table_description">{{table_description}}</td>-->

View File

@ -176,14 +176,14 @@ if(pageTopDivID === 'totalVideoList'){
})
}
if(pageTopDivID === 'communityServerPorts'){
buildPortTable(communityServerPortList);
buildPortTable(communityServerPortList, "community");
tooltip(".tdwttp","tooltip");
}
if(pageTopDivID === 'documentServerPorts'){
buildPortTable(documentServerPortList);
buildPortTable(documentServerPortList, "document");
tooltip(".tdwttp","tooltip");
}
if(pageTopDivID === 'mailServerPorts'){
buildPortTable(mailServerPortList);
buildPortTable(mailServerPortList, "mail");
tooltip(".tdwttp","tooltip");
}

View File

@ -1,3 +1,3 @@
var communityServerPortList = [25,80,110,143,443,465,587,993,995,995,3306,5222,5232,6379,9001,9300,9800,9865,9866,9871,9882,9883,9888,9899];
var communityServerPortList = [25,80,110,143,443,465,587,993,995,999,3306,5222,5232,6379,9001,9300,9800,9865,9866,9871,9882,9883,9888,9899];
var documentServerPortList = [80,443,5432,5672,6379,8000,8080];
var mailServerPortList = [25,143,587,3306,8081];
var mailServerPortList = [25,143,587,3306,8081,4190];

View File

@ -1,4 +1,4 @@
function buildPortTable(serverName) {
function buildPortTable(serverName, serverID) {
if(typeof portListLocale != 'undefined') {
portList = _.merge(portList,portListLocale);
}
@ -29,7 +29,7 @@
}
for(var key in curServObj){
var inOutValue = [];
for(var i = 0; i < curServObj[key]["inOut"].length; i++){
for(var i = 0; i < curServObj[key][serverID].length; i++){
if(typeof curServObj[key]["note"] != 'undefined' && curServObj[key]["note"]["to"] == i){
for(var y = 0; y < noteSigned.length; y++) {
if (noteSigned[y][0] == curServObj[key]["note"]["mark"]) {
@ -39,7 +39,7 @@
} else {
var curNote = "";
}
if (curServObj[key]["inOut"][i] == 0) {
if (curServObj[key][serverID][i] == 0) {
inOutValue.push("<span class=\"no\"></span>" + curNote);
} else {
inOutValue.push("<span class=\"yes\"></span>" + curNote);

View File

@ -1,28 +1,32 @@
var portList = {
25: {
"service": "SMTP",
"description": "The default port used for outgoing mail messages via insecure transfer protocol",
"inOut": [0,0,1]
"description": "the default port for the Simple Mail Transfer Protocol, used to transfer email messages from source to destination between mail servers and used by end users to send email to a mail system",
"community": [0,0,1],
"mail": [0,1,0]
},
80: {
"service": "HTTP",
"description": "The default port for hypertext transfer protocol (HTTP), must be open for the browser to be able to get the information from the server if the HTTP connection is used instead of HTTPS",
"inOut": [0,1,0]
"description": "the default port for the Hypertext Transfer Protocol, must be open for the client browser to be able to interact with the server if the server is set to operate via HTTP instead of HTTPS",
"community": [0,1,0],
"document": [0,1,0]
},
110: {
"service": "POP3",
"description": "",
"inOut": [0,0,1]
"description": "the default port for the Post Office Protocol, which is one of the main protocols used to retrieve email messages from the server, downloading them to the client",
"community": [0,0,1]
},
143: {
"service": "IMAP",
"description": "",
"inOut": [0,0,1]
"description": "the default port for the Internet Message Access Protocol, which is used to retrieve email messages from the server without the need to download them to the client",
"community": [0,0,1],
"mail": [0,1,0]
},
443: {
"service": "HTTPS",
"description": "The default port for secure hypertext transfer protocol (HTTPS), must be open for the browser to be able to get the information from the server if the HTTPS connection is used instead of HTTP",
"inOut": [0,1,0],
"description": "the default port for the Hypertext Transfer Protocol over SSL/TLS, must be open for the client browser to be able to interact with the server if the server is set to operate via HTTPS instead of HTTP",
"community": [0,1,0],
"document": [0,1,0],
"note": {
"to": 1,
"mark": "1"
@ -30,33 +34,35 @@
},
465: {
"service": "SMTPS",
"description": "The default port used for outgoing mail messages via secure (STARTTLS) transfer protocol",
"inOut": [0,0,1]
"description": "the default port for the Simple Mail Transfer Protocol Secure, used to transfer email messages from source to destination between the mail servers and used by end users to send email to a mail system via secure (STARTTLS) connection using SSL/TLS",
"community": [0,0,1]
},
587: {
"service": "MSA",
"description": "",
"inOut": [0,1,0]
"description": "the default port for the Message Submission Agent, used to receive email messages from mail user agents; it is necessary for receiving the incoming email messages and/or for the correct work of notifications",
"community": [0,0,1],
"mail": [0,1,0]
},
993: {
"service": "IMAPS",
"description": "",
"inOut": [0,0,1]
"description": "the default port for the Internet Message Access Protocol over SSL, which is used to retrieve email messages from the server without the need to download them to the client; the difference from the usual IMAP is that it uses the secure SSL connection",
"community": [0,0,1]
},
995: {
"service": "POP3S",
"description": "",
"inOut": [0,0,1]
"description": "the default port for the Post Office Protocol over SSL/TLS, which is one of the main protocols used to retrieve email messages from the server, downloading them to the client; the difference from the usual POP3 is that it uses the secure SSL/TLS connection",
"community": [0,0,1]
},
995: {
999: {
"service": "ASC.UrlShortener",
"description": "Служба сокращения ссылкок документов ASC.UrlShortener",
"inOut": [1,0,0]
"description": "the default port for the ASC.UrlShortener service used to shorten the document links when sharing them with the people outside the portal",
"community": [1,0,0]
},
3306: {
"service": "MySQL",
"description": "",
"inOut": [1,0,0],
"description": "the default port used to connect to the MySQL relational database management system server",
"community": [1,0,0],
"mail": [1,0,0],
"note": {
"to": 0,
"mark": "2"
@ -64,18 +70,19 @@
},
5222: {
"service": "Talk",
"description": "",
"inOut": [1,1,0]
"description": "the default port for the Jabber instant messenging software client-to-server connection and communication, used by Talk on the portals",
"community": [1,1,0]
},
5232: {
"service": "Radicale",
"description": "Служба синхронизации событий календаря/адресной книги пользователя Radicale (CalDav/CardDav)",
"inOut": [1,0,0]
"description": "the default port for the Radicale CalDav/CardDav calendar and address book synchronization server",
"community": [1,0,0]
},
6379: {
"service": "Redis",
"description": "",
"inOut": [1,0,0],
"description": "the default port for the Redis distributed in-memory data structure store, used as a database, cache and message broker",
"community": [1,0,0],
"document": [1,0,0],
"note": {
"to": 0,
"mark": "2"
@ -83,58 +90,58 @@
},
9001: {
"service": "DocService",
"description": "",
"inOut": [1,0,0]
"description": "the default port used to connect to the document editing service",
"community": [1,0,0]
},
9300: {
"service": "ElasticSearch",
"description": "",
"inOut": [1,0,0]
"description": "the default communication port for the Elasticsearch used on the portals",
"community": [1,0,0]
},
9800: {
"service": "ASC.Thumbnails",
"description": "Служба создания миниатюр закладок ASC.Thumbnails",
"inOut": [1,0,0]
"description": "the default port for the ASC.Thumbnails service used to create bookmark thumbnails",
"community": [1,0,0]
},
9865: {
"service": "Jabber",
"description": "",
"inOut": [1,0,0]
"description": "the default port used by the portal jabber service for it to be able to send notifications",
"community": [1,0,0]
},
9866: {
"service": "Search",
"description": "ужба поиска по содержимому портала/документов (как прокси к ElasticSearch)",
"inOut": [1,0,0]
"description": "the default for the search service used to search by portal or document contents (as a proxy to the Elasticsearch)",
"community": [1,0,0]
},
9871: {
"service": "Notify",
"description": "",
"inOut": [1,0,0]
"description": "the default port used by the portal notification service",
"community": [1,0,0]
},
9882: {
"service": "Backup",
"description": "",
"inOut": [1,0,0]
"description": "the default port used by the portal backup service",
"community": [1,0,0]
},
9883: {
"service": "Migration",
"description": "ужба миграции файлового хранилища",
"inOut": [1,0,0]
"description": "the default port used by the portal file storage migration service",
"community": [1,0,0]
},
9888: {
"service": "ReverseJabber",
"description": "",
"inOut": [1,0,0]
"community": [1,0,0]
},
9899: {
"service": "ASC.Socket.IO",
"description": "",
"inOut": [1,0,0]
"community": [1,0,0]
},
5432: {
"service": "PostgreSQL",
"description": "",
"inOut": [1,0,0],
"description": "the default port used to connect to the PostgreSQL object-relational database management system server",
"document": [1,0,0],
"note": {
"to": 0,
"mark": "2"
@ -142,8 +149,8 @@
},
5672: {
"service": "RabbitMQ",
"description": "",
"inOut": [1,0,0],
"description": "the default port used for the correct work of the RabbitMQ message brokers",
"document": [1,0,0],
"note": {
"to": 0,
"mark": "2"
@ -151,17 +158,22 @@
},
8000: {
"service": "DocService",
"description": "",
"inOut": [1,0,0]
"description": "the default port used ",
"document": [1,0,0]
},
8080: {
"service": "Spellchecker",
"description": "",
"inOut": [1,0,0]
"description": "the default port used for the correct work of the document spellckecker service",
"document": [1,0,0]
},
8081: {
"service": "Mail Server API",
"description": "",
"inOut": [1,0,0]
"description": "the default port used to connect to the Mail Server API required for the Mail Server correct work",
"mail": [1,0,0]
},
4190: {
"service": "ManageSieve",
"description": "the default port used for the ManageSieve service which is necessary for the email filtering correct work",
"mail": [1,0,0]
}
}