summaryrefslogtreecommitdiff
path: root/utils
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'busybox' of https://github.com/nggit/noVNCPierre Ossman2022-11-071-1/+1
|\
| * Fix unrecognized option "p" in busybox psnggit2022-11-071-1/+1
| |
* | expose --file-only option to disable dir listingManoj Ghosh2022-10-201-2/+5
|/
* add support for for enabling authenticationnickcFRU2022-08-231-1/+14
|
* Rename use_require.js to convert.jsSamuel Mannehed2021-12-011-0/+0
| | | | | This script only has one purpose now, let the name reflect that. It converts to CommonJS for NPM.
* Follow API changes in commander 7.0.0+Pierre Ossman2021-09-281-2/+4
| | | | Options now have to be exlicitly requested.
* add Man page and rename launch.sh to novnc_proxy.Jan Zerebecki2021-06-252-1/+1
| | | | Co-Authored-By: Adam Young <ayoung@redhat.com>
* Merge branch 'noie' of https://github.com/CendioOssman/noVNCPierre Ossman2020-12-072-263/+19
|\
| * Remove legacy conversion of modulesPierre Ossman2020-10-152-263/+19
| | | | | | | | | | | | | | We no longer support Internet Explorer so we can now require that browsers support modules. Some conversion to commonjs still remains for nodejs.
* | Merge branches 'logs' and 'timeout' of https://github.com/jcpunk/noVNCPierre Ossman2020-11-101-1/+12
|\ \
| * | Make timeouts/heartbeats easy to setupPat Riehecky2020-11-091-1/+13
| |/
* | Permit setting syslog on websockifyPat Riehecky2020-10-291-1/+5
|/
* Move snap specific script to snap directoryPierre Ossman2020-06-261-29/+0
|
* Standardize on camelCase in utilsSamuel Mannehed2020-05-313-136/+136
|
* Remove unused python scriptsSamuel Mannehed2020-01-022-246/+0
|
* Don't use arrow functions in legacy loaderPierre Ossman2019-11-121-1/+1
| | | | | The browsers that need the legacy code do not support such fancy modern things.
* Load support scripts firstPierre Ossman2019-11-121-1/+3
| | | | | E.g. SystemJS requires the Promise polyfill, so make sure all our support files are loaded first.
* Upgrade to latest babelPierre Ossman2019-11-122-11/+7
| | | | | | | There has been a lot of renaming and restructuring in babel, so we need to modify our code to handle the latest version. We also need to adjust the way we build our babel worker as babel itself no longer runs in older browsers such as Internet Explorer.
* Always include Promise polyfill for legacy browsersPierre Ossman2019-11-112-16/+25
| | | | | | It is now used by our general code and not just by the conversion routines, so we need to make sure it is always included for the old browsers.
* Clean up handling of untransformed filesPierre Ossman2019-11-111-5/+9
| | | | | | This control flow is difficult enough as it is to follow. Move the handling of the untransformed files to a separate block to make it slightly easier to understand.
* Remove redundant "no copy" checkPierre Ossman2019-11-111-2/+0
| | | | | We also check this list as a filter to walkDir(), so no need for the extra check here.
* Use proper backticks for generating legacy script tagsPierre Ossman2019-11-111-1/+1
|
* Use "nomodule" instead of manual checkPierre Ossman2019-09-241-20/+4
| | | | | | | | | Very few browsers are left in the wild that supports modules but not "nomodule", so let's simplify our handling a bit. Safari 10 supports modules but not 'nomodule', this means that this particular version of Safari will be broken. Due to this we have to bump up the required Safari version to 11.
* Added a Snap package for noVNC (#1231)Tim Edwards2019-07-252-2/+34
| | | | | Creating an Ubuntu Snap package to make noVNC easier to deploy. Checks for the websockify binary in both the PATH (using which) and in the location where the Snap package places the binary. This is necessary for noVNC to be usable in a Snap. It doesn't affect the original functionality of git cloning websockify if it's not found in PATH or the Snap location.
* launch.sh: Check for a local websockify directoryLee Yarwood2019-07-091-1/+1
| | | | | | | | | | Previously launch.sh would check both for the existence of a local websockify file and /websockify/run file. This initial check should really be for a local websockify directory as in packaged environments a file could very well be the actual executable leading to launch.sh incorrectly attempting to use a local version of websockify.
* Add support for separate key file in launch scriptPierre Ossman2019-06-131-2/+13
|
* Validate HTML and CSS in TravisPierre Ossman2019-03-261-0/+45
|
* Change copyright header (#1138)Solly Ross2018-10-094-6/+4
| | | | | | * Change copyright header This updates the copyright header to say "The noVNC Authors". People who previously had copyright listings are now under the AUTHORS file.
* Enforce space after function namePierre Ossman2018-09-061-1/+1
|
* Enforce space before code blockPierre Ossman2018-09-061-2/+2
|
* Enforce explicit semi-colonsPierre Ossman2018-09-062-7/+7
|
* Enforce no trailing whitespacePierre Ossman2018-09-061-2/+2
|
* Enforce keyword spacingPierre Ossman2018-09-061-1/+1
|
* Enforce function namesPierre Ossman2018-09-062-2/+2
|
* Enforce indentationPierre Ossman2018-09-063-167/+167
|
* Add a record flag to launch.shbug/fix-test-playbackSolly Ross2018-07-301-1/+5
| | | | Add the `--record` flag to launch.js, for easy recording when testing.
* Use fat arrow functions `const foo = () => { ... };` for callbacksJuanjo Diaz2018-07-123-31/+26
| | | | and any other function that is passed around and it's not a top level function
* Fixes #1075Henry Vindin2018-07-011-5/+8
| | | | | | Rather than trying to pick a utility, we should be able to just use bash to check if a port is available or not. We can probably assume bash is available due to the shebang declaring it.
* Prefer const/let over varJuanjo Diaz2018-05-243-65/+65
|
* Add transpilation for IE11 and skip linux testsJuanjo Diaz2018-05-241-0/+1
|
* Add eslint and fix reported issuesJuanjo Diaz2018-05-244-10/+19
|
* Only use converted modules as legacy fallback for appPierre Ossman2018-02-282-28/+92
| | | | | | Several of the major browsers now natively support modules, so we only need the converted modules to handle older browsers. Make sure it's only used when necessary.
* Don't include icons Makefile when packagingPierre Ossman2018-01-051-0/+1
|
* Remove intermediate files when bundlingPierre Ossman2018-01-052-1/+27
|
* Convert use_require.js to use promisesPierre Ossman2018-01-052-51/+117
| | | | | We had some race conditions between the callbacks that could cause failures. Order everything properly using promises.
* [infra] fix vendor import paths on built filesSolly Ross2017-10-031-6/+6
| | | | | | | | | | | | | | | | A previous commit started (quasi-correctly) rewriting vendor import paths on built files. The gist of it was correct, but it incorrectly rewrote paths in vendor itself. The babel plugin in use operated on canonical absolute paths. This mean that it saw no difference between the import `../vendor/pako/lib/utils/foo` and `../utils/foo`, where the later was actually in the `vendor/pako/lib/bar` directory. This rewrote imports in files in the vendor directory itself. However, since those files were *already* in the correct relative location, the new import was incorrect by a degree of `..`. Now, we only rewrite vendor paths on things in the `core` directory.
* [infra] option to clean on use_require.jsSolly Ross2017-10-031-0/+9
| | | | | | | This adds an option to `utils/use_require.js` which cleans the lib and build directories before regenerating them. This will enable us to make sure we always have a fresh copy of the lib dir before publishing.
* Adjust import of vendor/ modules in NPM packagePierre Ossman2017-07-041-0/+7
| | | | | We move the files in core/ up one directory level so we need to adjust the imports from vendor libraries.
* Properly use babel optsPierre Ossman2017-07-041-1/+1
| | | | | We prepared an options object for babel, but didn't include it properly in the final call to babel.
* Merge branch 'keyboard' of https://github.com/CendioOssman/noVNCPierre Ossman2017-05-042-103/+128
|\