mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Merge branch 'master' of https://github.com/JSuenram/MeshCentral
This commit is contained in:
		
						commit
						dbb7e69cd0
					
				
					 9 changed files with 155 additions and 14 deletions
				
			
		
							
								
								
									
										24
									
								
								.github/workflows/deploy-docs.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.github/workflows/deploy-docs.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,24 @@
 | 
			
		|||
name: Deploy Docs
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
    paths:
 | 
			
		||||
      - docs/**
 | 
			
		||||
 | 
			
		||||
defaults:
 | 
			
		||||
  run:
 | 
			
		||||
    working-directory: docs
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  deploy:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-python@v2
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: 3.x
 | 
			
		||||
      - run: pip install --upgrade pip
 | 
			
		||||
      - run: pip install --upgrade setuptools wheel
 | 
			
		||||
      - run: pip install mkdocs mkdocs-material pymdown-extensions
 | 
			
		||||
      - run: mkdocs gh-deploy --force
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								docs/docs/images/back.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/docs/images/back.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 269 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								docs/docs/images/favicon-303x303.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/docs/images/favicon-303x303.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 110 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								docs/docs/images/favicon.ico
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								docs/docs/images/favicon.ico
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 3.6 KiB  | 
| 
						 | 
				
			
			@ -1,10 +0,0 @@
 | 
			
		|||
site_name: "MeshCentral2 Documentation"
 | 
			
		||||
nav:
 | 
			
		||||
  - Home: index.md
 | 
			
		||||
site_description: "A remote monitoring and management tool"
 | 
			
		||||
site_author: " Ylianst"
 | 
			
		||||
site_url: "https://git.meshcentral.com/"
 | 
			
		||||
 | 
			
		||||
# Repository
 | 
			
		||||
repo_name: "Ylianst/MeshCentral"
 | 
			
		||||
repo_url: "https://github.com/Ylianst/MeshCentral"
 | 
			
		||||
							
								
								
									
										63
									
								
								docs/docs/stylesheets/extra.css
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										63
									
								
								docs/docs/stylesheets/extra.css
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,63 @@
 | 
			
		|||
.md-header {
 | 
			
		||||
    background-color: #0b3e81 !important;
 | 
			
		||||
    color: white !important;
 | 
			
		||||
}
 | 
			
		||||
.md-search__input {
 | 
			
		||||
    background-color: white !important;
 | 
			
		||||
}
 | 
			
		||||
.md-search__icon[for=__search]{
 | 
			
		||||
    color: initial;
 | 
			
		||||
}
 | 
			
		||||
.md-container {
 | 
			
		||||
    background-color: #0b3e81;
 | 
			
		||||
}
 | 
			
		||||
.md-footer-meta__inner {
 | 
			
		||||
    background-color: #0b3e81;
 | 
			
		||||
}
 | 
			
		||||
.md-grid {
 | 
			
		||||
}
 | 
			
		||||
.md-nav__item .md-nav__link--active {
 | 
			
		||||
    color: white;
 | 
			
		||||
}
 | 
			
		||||
.md-nav__link {
 | 
			
		||||
    color: white;
 | 
			
		||||
}
 | 
			
		||||
.md-nav__link[data-md-state=blur] {
 | 
			
		||||
    color: white;
 | 
			
		||||
}
 | 
			
		||||
.md-typeset a {
 | 
			
		||||
    color: whitesmoke;
 | 
			
		||||
    text-decoration: underline;
 | 
			
		||||
    text-shadow: 4px 4px 8px black;
 | 
			
		||||
}
 | 
			
		||||
.md-typeset h1 {
 | 
			
		||||
    color: white;
 | 
			
		||||
    text-shadow: 4px 4px 8px black;
 | 
			
		||||
}
 | 
			
		||||
.md-typeset h2 {
 | 
			
		||||
    color: white;
 | 
			
		||||
    text-shadow: 4px 4px 8px black;
 | 
			
		||||
}
 | 
			
		||||
.md-typeset h3 {
 | 
			
		||||
    color: white;
 | 
			
		||||
    text-shadow: 4px 4px 8px black;
 | 
			
		||||
}
 | 
			
		||||
.md-typeset h4 {
 | 
			
		||||
    color: white;
 | 
			
		||||
    text-shadow: 4px 4px 8px black;
 | 
			
		||||
}
 | 
			
		||||
.md-typeset h5 {
 | 
			
		||||
    color: white;
 | 
			
		||||
    text-shadow: 4px 4px 8px black;
 | 
			
		||||
}
 | 
			
		||||
.md-main {
 | 
			
		||||
    color: white !important;
 | 
			
		||||
    background-color: #113962;
 | 
			
		||||
    background: linear-gradient(to bottom, #104893 0%,#113962 100%);
 | 
			
		||||
}
 | 
			
		||||
a:link {
 | 
			
		||||
    color: #c8c8c8;
 | 
			
		||||
}
 | 
			
		||||
.html {
 | 
			
		||||
    background-color: #0b3e81;
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										54
									
								
								docs/mkdocs.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										54
									
								
								docs/mkdocs.yml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,54 @@
 | 
			
		|||
site_name: "MeshCentral2 Documentation"
 | 
			
		||||
nav:
 | 
			
		||||
  - Home: index.md
 | 
			
		||||
site_description: "A remote monitoring and management tool"
 | 
			
		||||
site_author: " Ylianst"
 | 
			
		||||
site_url: "https://git.meshcentral.com/"
 | 
			
		||||
 | 
			
		||||
# Repository
 | 
			
		||||
repo_name: "Ylianst/MeshCentral"
 | 
			
		||||
repo_url: "https://github.com/Ylianst/MeshCentral"
 | 
			
		||||
edit_uri: ""
 | 
			
		||||
 | 
			
		||||
theme:
 | 
			
		||||
  name: "material"
 | 
			
		||||
  logo: "images/favicon.ico"
 | 
			
		||||
  favicon: "images/favicon.ico"
 | 
			
		||||
  language: "en"
 | 
			
		||||
  palette:
 | 
			
		||||
    primary: "white"
 | 
			
		||||
    accent: "indigo"
 | 
			
		||||
  features:
 | 
			
		||||
extra_css:
 | 
			
		||||
  - stylesheets/extra.css
 | 
			
		||||
 | 
			
		||||
markdown_extensions:
 | 
			
		||||
  - pymdownx.keys
 | 
			
		||||
  - pymdownx.inlinehilite
 | 
			
		||||
  - pymdownx.arithmatex:
 | 
			
		||||
      generic: true
 | 
			
		||||
  - pymdownx.betterem:
 | 
			
		||||
      smart_enable: all
 | 
			
		||||
  - pymdownx.caret
 | 
			
		||||
  - admonition
 | 
			
		||||
  - pymdownx.details
 | 
			
		||||
  - pymdownx.highlight
 | 
			
		||||
  - pymdownx.inlinehilite
 | 
			
		||||
  - pymdownx.keys
 | 
			
		||||
  - pymdownx.mark
 | 
			
		||||
  - pymdownx.smartsymbols
 | 
			
		||||
  - pymdownx.highlight
 | 
			
		||||
  - pymdownx.inlinehilite
 | 
			
		||||
  - pymdownx.keys
 | 
			
		||||
  - pymdownx.mark
 | 
			
		||||
  - pymdownx.smartsymbols
 | 
			
		||||
  - codehilite:
 | 
			
		||||
      guess_lang: false
 | 
			
		||||
  - toc:
 | 
			
		||||
      permalink: true
 | 
			
		||||
  - pymdownx.emoji:
 | 
			
		||||
      emoji_index: !!python/name:materialx.emoji.twemoji
 | 
			
		||||
      emoji_generator: !!python/name:materialx.emoji.to_svg
 | 
			
		||||
  - pymdownx.superfences
 | 
			
		||||
  - pymdownx.tabbed:
 | 
			
		||||
      alternate_style: true
 | 
			
		||||
| 
						 | 
				
			
			@ -30301,7 +30301,7 @@
 | 
			
		|||
      "ja": "入力",
 | 
			
		||||
      "ko": "입력",
 | 
			
		||||
      "nl": "Invoer",
 | 
			
		||||
      "pl": "Wprowadzanie",
 | 
			
		||||
      "pl": "Sterowanie",
 | 
			
		||||
      "pt": "Entrada",
 | 
			
		||||
      "pt-br": "Entrada",
 | 
			
		||||
      "ru": "Ввод",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -50,6 +50,9 @@
 | 
			
		|||
        <div id="cxevents" class="cmtext" onclick="cmaction(5,event)">Events</div>
 | 
			
		||||
        <div id="cxdetails" class="cmtext" onclick="cmaction(6,event)">Details</div>
 | 
			
		||||
        <div id="cxconsole" class="cmtext" onclick="cmaction(7,event)">Console</div>
 | 
			
		||||
        <div id="cxwebrdp" class="cmtext" onclick="cmaction(11,event)">Web-RDP</div>
 | 
			
		||||
        <div id="cxwebvnc" class="cmtext" onclick="cmaction(12,event)">Web-VNC</div>
 | 
			
		||||
        <div id="cxwebssh" class="cmtext" onclick="cmaction(13,event)">Web-SSH</div>
 | 
			
		||||
        <div id="cxplugins" class="cmtext" onclick="cmaction(8,event)" style="display:none">Plugins</div>
 | 
			
		||||
        <hr id="cxmgroupsplit" />
 | 
			
		||||
        <div id="cxstar" class="cmtext" onclick="cmaction(10,event)" style="display:none">Toggle Star</div>
 | 
			
		||||
| 
						 | 
				
			
			@ -5749,12 +5752,16 @@
 | 
			
		|||
                    var terminalAccess = ((rights == 0xFFFFFFFF) || ((rights & 512) == 0));
 | 
			
		||||
                    var fileAccess = ((rights == 0xFFFFFFFF) || ((rights & 1024) == 0));
 | 
			
		||||
 | 
			
		||||
                    QV('cxdesktop', (node.mtype != 4) && ((node.mtype == 1) || (node.agent == null) || (node.agent.caps == null) || ((node.agent.caps & 1) != 0) || (node.intelamt && (node.intelamt.state == 2))) && ((rights & 8) || (rights & 256)) && desktopAccess);
 | 
			
		||||
                    QV('cxterminal', (node.mtype != 4) && ((node.mtype == 1) || (node.agent == null) || (node.agent.caps == null) || ((node.agent.caps & 2) != 0) || (node.intelamt && (node.intelamt.state == 2))) && (rights & 8) && terminalAccess);
 | 
			
		||||
                    QV('cxdesktop', ((node.conn & 1) != 0) && (node.mtype != 4) && ((node.mtype == 1) || (node.agent == null) || (node.agent.caps == null) || ((node.agent.caps & 1) != 0) || (node.intelamt && (node.intelamt.state == 2))) && ((rights & 8) || (rights & 256)) && desktopAccess);
 | 
			
		||||
                    QV('cxterminal', ((node.conn & 1) != 0) && (node.mtype != 4) && ((node.mtype == 1) || (node.agent == null) || (node.agent.caps == null) || ((node.agent.caps & 2) != 0) || (node.intelamt && (node.intelamt.state == 2))) && (rights & 8) && terminalAccess);
 | 
			
		||||
                    QV('cxfiles', (node.mtype != 4) && ((node.mtype == 2) && ((node.agent == null) || (node.agent.caps == null) || ((node.agent.caps & 4) != 0))) && (rights & 8) && fileAccess);
 | 
			
		||||
                    QV('cxevents', (node.intelamt != null) && ((node.intelamt.state == 2) || (node.conn & 2)) && (rights & 8));
 | 
			
		||||
                    QV('cxdetails', node.mtype < 3);
 | 
			
		||||
                    QV('cxwebrdp', ((((node.conn & 1) != 0) || (node.mtype == 3)) && (node.agent) && ((rights & 8) != 0) && ((features & 0x20000000) == 0)));
 | 
			
		||||
                    QV('cxwebvnc', ((((node.conn & 1) != 0) || (node.mtype == 3)) && (node.agent) && ((rights & 8) != 0) && ((features & 0x40000000) == 0)));
 | 
			
		||||
                    QV('cxwebssh', ((features2 & 0x200) && (((node.conn & 1) != 0) || (node.mtype == 3)) && (node.agent) && ((rights & 8) != 0)));
 | 
			
		||||
                    QV('cxconsole', (consoleRights && (node.mtype == 2) && ((node.agent == null) || (node.agent.caps == null) || ((node.agent.caps & 8) != 0))) && (rights & 8));
 | 
			
		||||
 | 
			
		||||
                    QV('cxmgroupsplit', true);
 | 
			
		||||
                    QV('cxstar', true);
 | 
			
		||||
                    break;
 | 
			
		||||
| 
						 | 
				
			
			@ -5780,7 +5787,7 @@
 | 
			
		|||
            element.style.display = 'block';
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        function cmaction(action,event) {
 | 
			
		||||
        function cmaction(action, event) {
 | 
			
		||||
            var nodeid;
 | 
			
		||||
            if (Q('viewselect').value == 1) {
 | 
			
		||||
                nodeid = contextelement.children[0].children[0].children[1].children[0].attributes.onclick.value;
 | 
			
		||||
| 
						 | 
				
			
			@ -5819,6 +5826,9 @@
 | 
			
		|||
                updateDeviceViewDevice(nodeid);
 | 
			
		||||
                if (Q('DevFilterSelect').value == 3) { mainUpdate(1); }
 | 
			
		||||
            }
 | 
			
		||||
            else if (action == 11) { p10mstsc(nodeid); } // Web-RDP
 | 
			
		||||
            else if (action == 12) { p10rfb(nodeid); } // Web-VNC
 | 
			
		||||
            else if (action == 13) { p10ssh(nodeid); } // Web-SSH
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        function cmmeshaction(action) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue