]>
git.proxmox.com Git - mirror_novnc.git/log
Pierre Ossman [Fri, 23 Aug 2019 11:57:30 +0000 (13:57 +0200)]
Make sure showDotCursor can be modified before connecting
The cursor object is only attached to our canvas whilst connecting,
so we need to make sure we don't try to update anything when were
not connected or we'll get a crash.
Tim Edwards [Thu, 25 Jul 2019 20:22:48 +0000 (06:22 +1000)]
Added a Snap package for noVNC (#1231)
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.
Samuel Mannehed [Tue, 23 Jul 2019 14:12:22 +0000 (16:12 +0200)]
Add missing parentheses for arrow func arg
Our lint tests expect this when an arrow functino has a body with
curly braces.
Samuel Mannehed [Tue, 23 Jul 2019 14:07:17 +0000 (16:07 +0200)]
Add documentation for the option showDotCursor
This is not only a property, it's also a parameter to the constructor.
Samuel Mannehed [Tue, 23 Jul 2019 13:40:57 +0000 (15:40 +0200)]
Remove the default value of wsProtocols
Using the 'binary' protocol by default is very non-standard.
Samuel Mannehed [Tue, 23 Jul 2019 13:24:10 +0000 (15:24 +0200)]
Merge pull request #1262 from shiramax/sub_protocols
Add support in websocket sub-protocols
Shira Maximov [Wed, 17 Jul 2019 07:25:05 +0000 (10:25 +0300)]
Add support in websocket sub-protocols
Samuel Mannehed [Tue, 23 Jul 2019 09:51:09 +0000 (11:51 +0200)]
Merge pull request #1265 from juanjoDiaz/add_version_number_to_UI_2
Add version number to UI
Juanjo Diaz [Fri, 19 Jul 2019 11:21:40 +0000 (14:21 +0300)]
Add version number to UI
Samuel Mannehed [Mon, 15 Jul 2019 12:05:24 +0000 (14:05 +0200)]
Update link to websock.js API
Samuel Mannehed [Sun, 14 Jul 2019 21:31:10 +0000 (23:31 +0200)]
Merge pull request #1259 from lyarwood/launch.sh
launch.sh: Check for a local websockify directory
Lee Yarwood [Tue, 9 Jul 2019 11:12:43 +0000 (12:12 +0100)]
launch.sh: Check for a local websockify directory
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.
Pierre Ossman [Thu, 13 Jun 2019 11:59:35 +0000 (13:59 +0200)]
Merge branch 'add-japanese-translation' of https://github.com/nnn1590/noVNC
Pierre Ossman [Thu, 13 Jun 2019 11:51:56 +0000 (13:51 +0200)]
Add support for separate key file in launch script
nnn1590 [Tue, 11 Jun 2019 19:30:56 +0000 (04:30 +0900)]
Add Japanese translation
Samuel Mannehed [Sat, 25 May 2019 00:51:38 +0000 (02:51 +0200)]
Revert "Fullscreen from iframe (#1236)" (#1247)
This reverts commit
19cdc15aa314760446866a1bcc2db99a80479683 .
Pierre Ossman [Fri, 24 May 2019 11:06:26 +0000 (13:06 +0200)]
Remove server pixel format warnings
These are harmless and really only for debugging. So remove them
as they tend to trick people in to thinking something is wrong.
We already print the entire server pixel format earlier anyway in
case we need the details.
Ján Jockusch [Mon, 13 May 2019 13:06:32 +0000 (15:06 +0200)]
Fullscreen from iframe (#1236)
* First attempt to make the fullscreen button work inside an iframe.
* Cleaner distinction between document element and document.
* Scoping corrections. Auto-detect correct iframe.
* Added comments to the relevant sections.
* IE issue fixed.
* Same source issue solved. fullscreenToggle now checks if it is permitted to inspect other iframes.
Pierre Ossman [Mon, 15 Apr 2019 13:45:21 +0000 (15:45 +0200)]
Don't do cleanup on deploy
Travis wipes out node_modules otherwise, which we need for the prepare
stages of the deployment to npm.
Samuel Mannehed [Tue, 9 Apr 2019 14:29:53 +0000 (16:29 +0200)]
noVNC 1.1.0
Samuel Mannehed [Tue, 9 Apr 2019 14:22:16 +0000 (16:22 +0200)]
Update generated JS files for translations
Samuel Mannehed [Tue, 9 Apr 2019 14:21:35 +0000 (16:21 +0200)]
Update Dutch translations
Co-authored-by: Arend Lapere <arend.lapere@gmail.com>
Samuel Mannehed [Tue, 9 Apr 2019 14:21:19 +0000 (16:21 +0200)]
Update Swedish translations
Samuel Mannehed [Tue, 2 Apr 2019 14:45:51 +0000 (16:45 +0200)]
Allow autoscale() with zero height or width
Commit
6e7e6f9 stopped the function from running if width or height was
zero, this commit reverts that change. This commit also makes the
resulting canvas 0x0 if autoscale is called with zero. By adding this
special case we can avoid division by zero in the calculations.
Pierre Ossman [Tue, 2 Apr 2019 12:22:34 +0000 (14:22 +0200)]
Get rid of self-closing tags
This is a remnant of XHTML and not used in standard HTML. Get rid
of them so that no-one mistakes our files for being XHTML compatible.
Pierre Ossman [Tue, 26 Mar 2019 14:21:31 +0000 (15:21 +0100)]
Fix up errors and warnings in vnc_playback.html
Remove the styling, as it isn't really needed, and fix some minor
things that the w3c validator complains about.
Pierre Ossman [Tue, 26 Mar 2019 08:42:22 +0000 (09:42 +0100)]
Validate HTML and CSS in Travis
Samuel Mannehed [Thu, 21 Mar 2019 12:57:16 +0000 (13:57 +0100)]
Add translations as a feature
Samuel Mannehed [Thu, 14 Mar 2019 13:44:10 +0000 (14:44 +0100)]
Merge pull request #1218 from samhed/htmlformat
Some formatting fixes for HTML files
Samuel Mannehed [Thu, 14 Mar 2019 13:17:04 +0000 (14:17 +0100)]
Remove trailing whitespace
Samuel Mannehed [Wed, 13 Mar 2019 15:51:42 +0000 (16:51 +0100)]
Consistently end self closing tags with />
Even though this isn't strictly required by the standard its nice to be
consistent.
Samuel Mannehed [Wed, 13 Mar 2019 13:36:23 +0000 (14:36 +0100)]
Remove invalid HTML attributes from textarea
Samuel Mannehed [Wed, 13 Mar 2019 13:33:42 +0000 (14:33 +0100)]
img elements must have alt attributes
Samuel Mannehed [Wed, 13 Mar 2019 13:31:17 +0000 (14:31 +0100)]
Fix invalid input type 'input'
Samuel Mannehed [Wed, 13 Mar 2019 13:25:08 +0000 (14:25 +0100)]
Input type image is not allowed to have values
Samuel Mannehed [Thu, 14 Mar 2019 13:11:52 +0000 (14:11 +0100)]
Remove unnecessary type attributes
Samuel Mannehed [Wed, 13 Mar 2019 13:20:12 +0000 (14:20 +0100)]
Remove X-UA-Compatible meta tag
It's only required if we wanted support IE8, IE9 or older. We require at
least IE11 at the moment.
Samuel Mannehed [Wed, 13 Mar 2019 13:19:51 +0000 (14:19 +0100)]
Add default language
Samuel Mannehed [Fri, 8 Mar 2019 15:30:43 +0000 (16:30 +0100)]
Add check for bad values for Display.autoscale()
Samuel Mannehed [Mon, 4 Mar 2019 08:32:11 +0000 (09:32 +0100)]
Merge pull request #1204 from juanjoDiaz/small_improvements
Small improvements
Juanjo Diaz [Sun, 17 Feb 2019 12:12:28 +0000 (14:12 +0200)]
Remove callbacks from UI in favour of promises
Juanjo Diaz [Wed, 27 Feb 2019 08:14:50 +0000 (10:14 +0200)]
Replace unnecessary function supportsCursorURIs by a constant variable
Juanjo Diaz [Wed, 27 Feb 2019 08:13:50 +0000 (10:13 +0200)]
Move support check from display to browser
Dmitriy Shweew [Wed, 27 Feb 2019 00:24:22 +0000 (04:24 +0400)]
Add Russian translation (#1211)
By Dmitriy Shweew (shweew)
Juanjo Diaz [Sat, 16 Feb 2019 22:25:33 +0000 (00:25 +0200)]
Convert DES into a class
Juanjo Diaz [Sat, 16 Feb 2019 21:36:16 +0000 (23:36 +0200)]
Use default argument for base64
Juanjo Diaz [Sat, 16 Feb 2019 21:34:13 +0000 (23:34 +0200)]
Remove unnecessary context from eventtarget
Juanjo Diaz [Sat, 16 Feb 2019 21:33:49 +0000 (23:33 +0200)]
Remove unnecessary constructor parameter from Cursor
Juanjo Diaz [Sat, 16 Feb 2019 21:31:58 +0000 (23:31 +0200)]
Remove intermediate variable from mouse
Pierre Ossman [Fri, 15 Feb 2019 12:14:36 +0000 (13:14 +0100)]
Remove error handling in clientCutText()
It is not necessary as Websock.flush() is guaranteed to succeed and
give us some space. It also remove the call to _fail(), which was
invalid at this place as clientCutText() is not a method on RFB.
Pierre Ossman [Fri, 15 Feb 2019 12:01:28 +0000 (13:01 +0100)]
Throw correct Error object
We've already defined the name Error as a logging function, so we
need to be more explicit when we want to refer to the exception
class.
Pierre Ossman [Fri, 15 Feb 2019 09:40:49 +0000 (10:40 +0100)]
Merge branch 'slowdata' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 15 Feb 2019 09:26:27 +0000 (10:26 +0100)]
Send data one byte at a time in tests
This makes sure we don't have code assuming that everything is
neatly packaged in a single WebSocket message.
Pierre Ossman [Fri, 15 Feb 2019 09:25:50 +0000 (10:25 +0100)]
Clean up RFB._rfb_auth_schema assignment
Pierre Ossman [Fri, 15 Feb 2019 09:24:41 +0000 (10:24 +0100)]
Fix security failure reason handling of slow data
Things would break if the security result and security reason did
not arrive in the same WebSocket message.
Pierre Ossman [Fri, 15 Feb 2019 09:23:32 +0000 (10:23 +0100)]
Fix version handshake to handle slow data
Pierre Ossman [Fri, 15 Feb 2019 09:22:27 +0000 (10:22 +0100)]
Use arrow function to avoid bind
Pierre Ossman [Thu, 14 Feb 2019 15:57:26 +0000 (16:57 +0100)]
Consume data properly in Hextile decoder
We accidentally removed the code updating the data index in
8a189a6 ,
resulting in the decoder newer consuming any data. So the data would
be parsed as the next rect, causing weird errors.
Samuel Mannehed [Mon, 21 Jan 2019 12:39:31 +0000 (13:39 +0100)]
Merge pull request #1190 from saucelabs/screen_background
Make the screen background customizable
Mykola Mokhnach [Fri, 18 Jan 2019 18:36:23 +0000 (19:36 +0100)]
Make the screen background cutomizable
Pierre Ossman [Wed, 16 Jan 2019 10:08:45 +0000 (11:08 +0100)]
Fix naming of Korean translation file
Pierre Ossman [Wed, 16 Jan 2019 10:07:56 +0000 (11:07 +0100)]
Update translation template file
Pierre Ossman [Wed, 16 Jan 2019 10:07:31 +0000 (11:07 +0100)]
Fix copyright tag in translations
Baw_Appie [Mon, 14 Jan 2019 12:12:40 +0000 (21:12 +0900)]
Add Korean translation
Samuel Mannehed [Mon, 14 Jan 2019 21:29:47 +0000 (22:29 +0100)]
Merge pull request #1182 from novnc/scrollbarsfortouch
Enable scrollbars for all touch devices aside from Android and iOS
Pierre Ossman [Fri, 11 Jan 2019 12:42:31 +0000 (13:42 +0100)]
Merge branch 'npm' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 11 Jan 2019 11:37:18 +0000 (12:37 +0100)]
Revert 'prepare' to 'prepublish'
Travis uses a so ancient version of npm that it doesn't support
'prepare', so we have to continue using 'prepublish' for now.
Pierre Ossman [Thu, 20 Dec 2018 15:08:36 +0000 (16:08 +0100)]
Change to Ossman's NPM authentication
Solly's doesn't seem to work anymore, so switch to mine.
Pierre Ossman [Thu, 13 Dec 2018 12:34:49 +0000 (13:34 +0100)]
Avoid extra environment for Travis deploy stage
These are not needed, so keep things more clear by skipping them.
Pierre Ossman [Thu, 13 Dec 2018 09:44:52 +0000 (10:44 +0100)]
List main entry point for our NPM config
Pierre Ossman [Thu, 13 Dec 2018 09:43:34 +0000 (10:43 +0100)]
Explicitly list what we want in our NPM package
Switch over to explicitly listing what we want to include, rather
than listing what we don't want to include. There is too much risk
of getting random junk from your working copy otherwise. This should
also hopefully complain if something is missing.
Samuel Mannehed [Wed, 9 Jan 2019 12:20:29 +0000 (13:20 +0100)]
Only disable scrollbars on Android and iOS
Previously scrollbars were disabled on all touch devices. This meant
that they were disabled on Windows when touch was detected. Windows does
in fact have useful scrollbars even in touch mode. Fixes Issue #1172
Samuel Mannehed [Wed, 9 Jan 2019 12:08:01 +0000 (13:08 +0100)]
Move UI.isSafari into core/util/browser.js
This is where the rest of these kinds of functions are.
Samuel Mannehed [Wed, 9 Jan 2019 12:05:25 +0000 (13:05 +0100)]
Reorder browser and platform info functions
Platform info functions grouped together and browser info functions
grouped together.
Samuel Mannehed [Wed, 9 Jan 2019 09:41:32 +0000 (10:41 +0100)]
Merge pull request #1179 from ssebs/super-key-feature
Super key feature
Sebastian Safari [Fri, 21 Dec 2018 17:33:26 +0000 (09:33 -0800)]
Add Windows Key Feature
Pierre Ossman [Tue, 8 Jan 2019 11:26:17 +0000 (12:26 +0100)]
Merge branch 'user_getters_and_setters_in_websock' of https://github.com/juanjoDiaz/noVNC
Pierre Ossman [Tue, 8 Jan 2019 11:25:42 +0000 (12:25 +0100)]
Use CustomEvent for playback events
Stop abusing Event as that doesn't work everwhere.
Pierre Ossman [Tue, 8 Jan 2019 11:25:01 +0000 (12:25 +0100)]
Avoid using String.prototype.startsWith()
IE doesn't support it.
Pierre Ossman [Tue, 8 Jan 2019 10:05:05 +0000 (11:05 +0100)]
Pre-convert recordings for playback
Convert the recordings ahead of time instead of during the playback.
That way we aren't messing up the profiling with time spent converting
data, rather than processing it.
Juanjo Diaz [Sat, 8 Dec 2018 15:32:00 +0000 (17:32 +0200)]
Extract rQshift to common function
Juanjo Diaz [Sat, 8 Dec 2018 15:31:20 +0000 (17:31 +0200)]
Add getters/setter to websock
Samuel Mannehed [Mon, 26 Nov 2018 18:09:44 +0000 (19:09 +0100)]
Merge pull request #1165 from juanjoDiaz/throw_errors_instead_of_strings
Throw Error instead of String
Samuel Mannehed [Mon, 26 Nov 2018 17:42:10 +0000 (18:42 +0100)]
Merge pull request #1166 from juanjoDiaz/simplify_EventTargetMixin
Simplify EventTargetMixin
Samuel Mannehed [Mon, 26 Nov 2018 17:36:10 +0000 (18:36 +0100)]
Merge pull request #1168 from juanjoDiaz/use_new_error
Use `new` when constructing errors
Juanjo Diaz [Sat, 24 Nov 2018 18:18:24 +0000 (20:18 +0200)]
Simplify EventTargetMixin
Juanjo Diaz [Sat, 24 Nov 2018 19:44:11 +0000 (21:44 +0200)]
Use `new` when constructing errors
Juanjo Diaz [Sat, 24 Nov 2018 17:47:57 +0000 (19:47 +0200)]
Throw Error instead of String
Samuel Mannehed [Thu, 1 Nov 2018 10:22:19 +0000 (11:22 +0100)]
Dont reset touch mouse button state for view-only
Fixes bug introduced in
61f93180c8cbdc6259d0b083b51f169053f66f8c .
Samuel Mannehed [Thu, 1 Nov 2018 10:04:03 +0000 (11:04 +0100)]
Fix chinese translation of "Connect"
Thanks to Lyon Hu (@chnhyg) for finding the issue.
Petr [Fri, 19 Oct 2018 11:01:39 +0000 (13:01 +0200)]
Czech translation
Solly Ross [Tue, 9 Oct 2018 10:15:35 +0000 (06:15 -0400)]
Change copyright header (#1138)
* 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.
Pierre Ossman [Tue, 18 Sep 2018 09:35:48 +0000 (11:35 +0200)]
Add tests for Cursor encoding
Pierre Ossman [Tue, 18 Sep 2018 09:06:13 +0000 (11:06 +0200)]
Fix cursor encoding handling from earlier merge
Old code snuck in when merging the split of decoders to separate
classes. Restore the proper handling of cursors.
Pierre Ossman [Mon, 17 Sep 2018 11:50:59 +0000 (13:50 +0200)]
Merge branch 'style' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Mon, 17 Sep 2018 11:47:12 +0000 (13:47 +0200)]
Merge branch 'decoders' of https://github.com/CendioOssman/noVNC
Samuel Mannehed [Sun, 16 Sep 2018 09:20:34 +0000 (11:20 +0200)]
Merge pull request #1119 from patrakov/master
Show dot when there otherwise would be no visible cursor
Alexander E. Patrakov [Sat, 11 Aug 2018 19:17:16 +0000 (03:17 +0800)]
Show dot when there is no visible cursor
Disabled by default.
Alexander E. Patrakov [Sat, 11 Aug 2018 17:43:38 +0000 (01:43 +0800)]
Moved the "pixels + mask -> RGBA" logic to rfb.js
As requested by Pierre Ossman - he needs this for supporting other
cursor extensions.
Pierre Ossman [Thu, 6 Sep 2018 15:36:48 +0000 (17:36 +0200)]
Enforce switch colon spacing