-
-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
assets: add noVNC v1.3.0 minus docs and tests
Using v1.3.0 since this is the last version that does not require HTTPS. re #6
- Loading branch information
Showing
156 changed files
with
27,596 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/xtscancodes.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"extends": "eslint:recommended", | ||
"rules": { | ||
// Unsafe or confusing stuff that we forbid | ||
|
||
"no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": true }], | ||
"no-constant-condition": ["error", { "checkLoops": false }], | ||
"no-var": "error", | ||
"no-useless-constructor": "error", | ||
"object-shorthand": ["error", "methods", { "avoidQuotes": true }], | ||
"prefer-arrow-callback": "error", | ||
"arrow-body-style": ["error", "as-needed", { "requireReturnForObjectLiteral": false } ], | ||
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }], | ||
"arrow-spacing": ["error"], | ||
"no-confusing-arrow": ["error", { "allowParens": true }], | ||
|
||
// Enforced coding style | ||
|
||
"brace-style": ["error", "1tbs", { "allowSingleLine": true }], | ||
"indent": ["error", 4, { "SwitchCase": 1, | ||
"FunctionDeclaration": { "parameters": "first" }, | ||
"CallExpression": { "arguments": "first" }, | ||
"ArrayExpression": "first", | ||
"ObjectExpression": "first", | ||
"ignoreComments": true }], | ||
"comma-spacing": ["error"], | ||
"comma-style": ["error"], | ||
"curly": ["error", "multi-line"], | ||
"func-call-spacing": ["error"], | ||
"func-names": ["error"], | ||
"func-style": ["error", "declaration", { "allowArrowFunctions": true }], | ||
"key-spacing": ["error"], | ||
"keyword-spacing": ["error"], | ||
"no-trailing-spaces": ["error"], | ||
"semi": ["error"], | ||
"space-before-blocks": ["error"], | ||
"space-before-function-paren": ["error", { "anonymous": "always", | ||
"named": "never", | ||
"asyncArrow": "always" }], | ||
"switch-colon-spacing": ["error"], | ||
"camelcase": ["error", { allow: ["^XK_", "^XF86XK_"] }], | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
app/src/main/assets/novnc/.github/ISSUE_TEMPLATE/bug_report.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Client (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser: [e.g. chrome, safari] | ||
- Browser version: [e.g. 22] | ||
|
||
**Server (please complete the following information):** | ||
- noVNC version: [e.g. 1.0.0 or git commit id] | ||
- VNC server: [e.g. QEMU, TigerVNC] | ||
- WebSocket proxy: [e.g. websockify] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Question or discussion | ||
url: https://groups.google.com/forum/?fromgroups#!forum/novnc | ||
about: Ask a question or start a discussion |
17 changes: 17 additions & 0 deletions
17
app/src/main/assets/novnc/.github/ISSUE_TEMPLATE/feature_request.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
pull_request: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
# Needs to be explicitly specified for auth to work | ||
registry-url: 'https://registry.npmjs.org' | ||
- run: npm install | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: npm | ||
path: lib | ||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
if: ${{ github.event_name == 'release' && !github.event.release.prerelease }} | ||
- run: npm publish --access public --tag beta | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
if: ${{ github.event_name == 'release' && github.event.release.prerelease }} | ||
snap: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
VERSION=$(grep '"version"' package.json | cut -d '"' -f 4) | ||
echo $VERSION | ||
sed -i "s/@VERSION@/$VERSION/g" snap/snapcraft.yaml | ||
- uses: snapcore/action-build@v1 | ||
id: snapcraft | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: snap | ||
path: ${{ steps.snapcraft.outputs.snap }} | ||
- uses: snapcore/action-publish@v1 | ||
with: | ||
store_login: ${{ secrets.SNAPCRAFT_LOGIN }} | ||
snap: ${{ steps.snapcraft.outputs.snap }} | ||
release: stable | ||
if: ${{ github.event_name == 'release' && !github.event.release.prerelease }} | ||
- uses: snapcore/action-publish@v1 | ||
with: | ||
store_login: ${{ secrets.SNAPCRAFT_LOGIN }} | ||
snap: ${{ steps.snapcraft.outputs.snap }} | ||
release: beta | ||
if: ${{ github.event_name == 'release' && github.event.release.prerelease }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
eslint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- run: npm install | ||
- run: npm run lint | ||
html: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- run: npm install | ||
- run: git ls-tree --name-only -r HEAD | grep -E "[.](html|css)$" | xargs ./utils/validate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Test | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
browser: | ||
- ChromeHeadless | ||
- FirefoxHeadless | ||
include: | ||
- os: macos-latest | ||
browser: Safari | ||
- os: windows-latest | ||
browser: EdgeHeadless | ||
fail-fast: false | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- run: npm install | ||
- run: npm run test | ||
env: | ||
TEST_BROWSER_NAME: ${{ matrix.browser }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
*.pyc | ||
*.o | ||
tests/data_*.js | ||
utils/rebind.so | ||
utils/websockify | ||
/node_modules | ||
/build | ||
/lib | ||
recordings | ||
*.swp | ||
*~ | ||
noVNC-*.tgz |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
maintainers: | ||
- Joel Martin (@kanaka) | ||
- Solly Ross (@directxman12) | ||
- Samuel Mannehed for Cendio AB (@samhed) | ||
- Pierre Ossman for Cendio AB (@CendioOssman) | ||
maintainersEmeritus: | ||
- @astrand | ||
contributors: | ||
# There are a bunch of people that should be here. | ||
# If you want to be on this list, feel free send a PR | ||
# to add yourself. | ||
- jalf <[email protected]> | ||
- NTT corp. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
noVNC is Copyright (C) 2019 The noVNC Authors | ||
(./AUTHORS) | ||
|
||
The noVNC core library files are licensed under the MPL 2.0 (Mozilla | ||
Public License 2.0). The noVNC core library is composed of the | ||
Javascript code necessary for full noVNC operation. This includes (but | ||
is not limited to): | ||
|
||
core/**/*.js | ||
app/*.js | ||
test/playback.js | ||
|
||
The HTML, CSS, font and images files that included with the noVNC | ||
source distibution (or repository) are not considered part of the | ||
noVNC core library and are licensed under more permissive licenses. | ||
The intent is to allow easy integration of noVNC into existing web | ||
sites and web applications. | ||
|
||
The HTML, CSS, font and image files are licensed as follows: | ||
|
||
*.html : 2-Clause BSD license | ||
|
||
app/styles/*.css : 2-Clause BSD license | ||
|
||
app/styles/Orbitron* : SIL Open Font License 1.1 | ||
(Copyright 2009 Matt McInerney) | ||
|
||
app/images/ : Creative Commons Attribution-ShareAlike | ||
http://creativecommons.org/licenses/by-sa/3.0/ | ||
|
||
Some portions of noVNC are copyright to their individual authors. | ||
Please refer to the individual source files and/or to the noVNC commit | ||
history: https://github.com/novnc/noVNC/commits/master | ||
|
||
The are several files and projects that have been incorporated into | ||
the noVNC core library. Here is a list of those files and the original | ||
licenses (all MPL 2.0 compatible): | ||
|
||
core/base64.js : MPL 2.0 | ||
|
||
core/des.js : Various BSD style licenses | ||
|
||
vendor/pako/ : MIT | ||
|
||
Any other files not mentioned above are typically marked with | ||
a copyright/license header at the top of the file. The default noVNC | ||
license is MPL-2.0. | ||
|
||
The following license texts are included: | ||
|
||
docs/LICENSE.MPL-2.0 | ||
docs/LICENSE.OFL-1.1 | ||
docs/LICENSE.BSD-3-Clause (New BSD) | ||
docs/LICENSE.BSD-2-Clause (Simplified BSD / FreeBSD) | ||
vendor/pako/LICENSE (MIT) | ||
|
||
Or alternatively the license texts may be found here: | ||
|
||
http://www.mozilla.org/MPL/2.0/ | ||
http://scripts.sil.org/OFL | ||
http://en.wikipedia.org/wiki/BSD_licenses | ||
https://opensource.org/licenses/MIT |
Oops, something went wrong.