]>
git.proxmox.com Git - mirror_novnc.git/log
Pierre Ossman [Thu, 14 Dec 2017 11:59:25 +0000 (12:59 +0100)]
Add test for 16x16 tiles
We have a special cache and therefore special code paths that need
to be tested when rendering 16x16 tiles.
Pierre Ossman [Thu, 14 Dec 2017 11:58:57 +0000 (12:58 +0100)]
Simpler reporting when display output size mismatches
Pierre Ossman [Thu, 14 Dec 2017 11:50:38 +0000 (12:50 +0100)]
Merge branch 'master' of https://github.com/josiah2009/noVNC
Samuel Mannehed [Thu, 14 Dec 2017 11:16:45 +0000 (12:16 +0100)]
Only connect if we don't have an rfb object
Each connection creates a new RFB object. Fixes #978.
Samuel Mannehed [Thu, 14 Dec 2017 11:15:56 +0000 (12:15 +0100)]
Throw away the reference to RFB on disconnect
Samuel Mannehed [Tue, 12 Dec 2017 17:25:20 +0000 (18:25 +0100)]
Fix disconnect crash when screen doesn't exist
The function removeChild throws an exception when the element specified
doesn't exist. This can happen when opening the websocket throws an
exception during connect. Fixes issue #979
Samuel Mannehed [Tue, 12 Dec 2017 15:14:43 +0000 (16:14 +0100)]
Make error more specific at connection failure
The UI does after all have enough information to determine if the
disconnection event was received before or after we were connected. If
we were never connected at all, we should adapt the error message to
reflect this.
Pierre Ossman [Tue, 12 Dec 2017 11:41:30 +0000 (12:41 +0100)]
Merge branch 'docs' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 8 Dec 2017 15:25:41 +0000 (16:25 +0100)]
Add documentation for integrating noVNC
Pierre Ossman [Fri, 8 Dec 2017 15:25:14 +0000 (16:25 +0100)]
Password prompt now comes after connect
Pierre Ossman [Fri, 8 Dec 2017 15:24:35 +0000 (16:24 +0100)]
Don't mention websockify like it's included
We split it off to its own thing some time ago, so let's refer to
it that way.
Pierre Ossman [Mon, 11 Dec 2017 15:48:54 +0000 (16:48 +0100)]
Merge branch 'resize' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Fri, 8 Dec 2017 15:23:56 +0000 (16:23 +0100)]
Make browser requirements more vague
We have trouble keeping track of things, so state something closer
to reality.
Pierre Ossman [Fri, 8 Dec 2017 15:14:38 +0000 (16:14 +0100)]
Update licensing information
The first page now points to the more complete licensing document,
and some no longer used licenses have been removed.
Pierre Ossman [Fri, 8 Dec 2017 15:14:05 +0000 (16:14 +0100)]
Update feature list
It wasn't reflecting the current state of things correctly.
Pierre Ossman [Fri, 8 Dec 2017 15:12:43 +0000 (16:12 +0100)]
Improve references to contributing to noVNC
Pierre Ossman [Fri, 8 Dec 2017 15:12:19 +0000 (16:12 +0100)]
Avoid linking to individual wiki pages
It gets crowded and the wiki might have changed since this document
was updated. Keep a general link to the wiki instead.
Pierre Ossman [Fri, 8 Dec 2017 15:07:51 +0000 (16:07 +0100)]
Direct questions to the forum rather than the tracker
Pierre Ossman [Fri, 8 Dec 2017 15:06:50 +0000 (16:06 +0100)]
Clarify that noVNC is both an app and a lib
Pierre Ossman [Fri, 8 Dec 2017 13:45:32 +0000 (14:45 +0100)]
Remove contributing guidelines
We already have better guidelines in the wiki, and it is better
kept relevant there than included with releases.
Pierre Ossman [Fri, 8 Dec 2017 09:34:45 +0000 (10:34 +0100)]
Merge branch 'german' of https://github.com/flumm/noVNC
Pierre Ossman [Fri, 24 Nov 2017 14:39:26 +0000 (15:39 +0100)]
Add scale ability to vnc_lite.html
Pierre Ossman [Fri, 24 Nov 2017 14:25:23 +0000 (15:25 +0100)]
Move resize handling in to RFB object
Makes the API simpler and makes it easier for other frontends to
get this functionality.
Pierre Ossman [Thu, 30 Nov 2017 15:11:23 +0000 (16:11 +0100)]
Don't send pointer event on end of drag
We should only send an event to the server if we didn't actually
end up dragging the viewport.
Pierre Ossman [Wed, 29 Nov 2017 15:37:35 +0000 (16:37 +0100)]
Forced cleanup of RFB objects in tests
We need to make sure RFB objects are properly disposed or they
might have event listeners and other stuff hanging around that can
influence subsequent tests.
Josiah White [Thu, 30 Nov 2017 08:17:02 +0000 (03:17 -0500)]
Initalize cached 16x16 tile.
Pierre Ossman [Fri, 24 Nov 2017 12:10:35 +0000 (13:10 +0100)]
Remove noisy websock debug logging
It generates too many log lines that it drowns out everything else.
Dominik Csapak [Fri, 24 Nov 2017 07:26:37 +0000 (08:26 +0100)]
update german translations
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Pierre Ossman [Thu, 23 Nov 2017 14:22:50 +0000 (15:22 +0100)]
Merge branch 'master' of https://github.com/mariuszjamro/noVNC
Pierre Ossman [Thu, 23 Nov 2017 14:22:26 +0000 (15:22 +0100)]
Merge branch 'greek' of https://github.com/kosmasgiannis/noVNC
Mariusz Jamro [Tue, 21 Nov 2017 18:56:43 +0000 (19:56 +0100)]
Update polish translations to match recent code changes
Pierre Ossman [Mon, 20 Nov 2017 14:21:59 +0000 (15:21 +0100)]
Don't log WebSocket close by default
This is an expected event so it shouldn't be logged by default.
Giannis Kosmas [Fri, 17 Nov 2017 19:51:41 +0000 (21:51 +0200)]
Greek translations revised
Samuel Mannehed [Fri, 17 Nov 2017 18:24:26 +0000 (19:24 +0100)]
Update browser requirements
Samuel Mannehed [Fri, 17 Nov 2017 10:01:11 +0000 (11:01 +0100)]
Merge pull request #950 from samhed/disconnectapi
Abstract information from RFB to the UI
Samuel Mannehed [Mon, 13 Nov 2017 11:12:41 +0000 (12:12 +0100)]
Move localization.js to app
Since it is no longer used in core. Also splits localization tests into
a separate file.
Samuel Mannehed [Sat, 11 Nov 2017 01:31:19 +0000 (02:31 +0100)]
Move UI.cancelReconnect() to related functions
Samuel Mannehed [Sat, 11 Nov 2017 00:59:13 +0000 (01:59 +0100)]
Dont overwrite more severe visible statuses
And only show the first error. This means that if UI.showStatus() is
called for a new error while one error is already showing, the new
error will not be shown. However, if a warning was showing and a new
error comes up, the warning will be overwritten.
Samuel Mannehed [Sat, 11 Nov 2017 00:48:47 +0000 (01:48 +0100)]
Abstract RFB errors to avoid sending strings
The API allowed strings to be passed from the RFB module to the
application using the disconnect reason. This caused problems since
the application didn't have control over translations for these
strings.
Most of the information being passed using this string was very
technical and not helpful to the end user. One exception to this was
the security result information regarding for example authentication
failures. The protocol allows the VNC server to pass a string
directly to the user in the security result.
So the disconnect reason is replaced by a boolean saying if the
disconnection was clean or not. And for the security result information
from the server, a new event has been added.
Samuel Mannehed [Fri, 10 Nov 2017 11:52:39 +0000 (12:52 +0100)]
Replace updatestate event with connect
Instead of exposing all the internal connection states, the RFB module
will now only send events on connect and on disconnect. This makes it
simpler for the application and gets rid of the double events that were
being sent on disconnect (previously updatestate and disconnect).
Pierre Ossman [Tue, 14 Nov 2017 08:11:28 +0000 (09:11 +0100)]
Fix old xvpbuttons references
Things were renamed to the more generic "power" instead of "xvp",
but a few references were overlooked in the merge.
Pierre Ossman [Sat, 11 Nov 2017 15:44:53 +0000 (16:44 +0100)]
Fix old focus on click references
The property was renamed when mergin the public API changes, but
a few references were overlooked.
Samuel Mannehed [Thu, 9 Nov 2017 09:14:18 +0000 (10:14 +0100)]
Don't translate log messages
Samuel Mannehed [Thu, 9 Nov 2017 09:12:44 +0000 (10:12 +0100)]
Translate user visible text
And make the log message a bit more detailed
Samuel Mannehed [Sun, 5 Nov 2017 20:47:06 +0000 (21:47 +0100)]
Remove RFB.notification()
This interface was a band aid for poor design. The two cases where it
was used was replaced by logging.
Samuel Mannehed [Sun, 5 Nov 2017 20:40:47 +0000 (21:40 +0100)]
Add missing semicolons
Pierre Ossman [Fri, 10 Nov 2017 13:19:05 +0000 (14:19 +0100)]
Merge branch 'api' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Mon, 30 Oct 2017 16:16:03 +0000 (17:16 +0100)]
Prevent password form submission early
Otherwise it might reload the page if we run in to some kind of
error.
Pierre Ossman [Fri, 27 Oct 2017 11:22:36 +0000 (13:22 +0200)]
Use standard EventTarget interface for events
Pierre Ossman [Fri, 27 Oct 2017 07:30:47 +0000 (09:30 +0200)]
Remove unused options argument in onnotification event handler
Pierre Ossman [Fri, 20 Oct 2017 14:46:36 +0000 (16:46 +0200)]
Integrate connect() in to constructor
An RFB object represents a single connection so it doesn't make
sense to have one without it trying to connect right away. Matches
the behaviour of other APIs, e.g. WebSocket.
Pierre Ossman [Fri, 20 Oct 2017 14:43:34 +0000 (16:43 +0200)]
Clean up beforeEach() code in RFB tests
There was a lot of redundancy that could be removed.
Pierre Ossman [Fri, 20 Oct 2017 14:31:49 +0000 (16:31 +0200)]
Remove redundant setup of fake timer handling
We already set this up globally, so no need for these extra ones.
Pierre Ossman [Fri, 20 Oct 2017 11:26:49 +0000 (13:26 +0200)]
Remove disconnectTimeout property
Callers should not need to modify this timeout.
Pierre Ossman [Fri, 20 Oct 2017 11:23:03 +0000 (13:23 +0200)]
Remove "downscale only" mode
The normal scaling mode should be sufficient for most use cases, so
let's keep the interface simple.
Pierre Ossman [Fri, 20 Oct 2017 11:19:21 +0000 (13:19 +0200)]
Remove local cursor setting
We have no reason to disable this except for touch devices, which
we can handle without having a setting for it.
Pierre Ossman [Fri, 20 Oct 2017 11:12:30 +0000 (13:12 +0200)]
Improve naming for viewport properties
Pierre Ossman [Fri, 20 Oct 2017 11:03:50 +0000 (13:03 +0200)]
Change clippingDisplay() to a property
It fits much better as a property given that it only tells what the
current state of things are.
Pierre Ossman [Fri, 20 Oct 2017 10:57:34 +0000 (12:57 +0200)]
Remove some unused return values
Pierre Ossman [Mon, 16 Oct 2017 12:47:03 +0000 (14:47 +0200)]
Follow MDN style in API documentation
Pierre Ossman [Sat, 14 Oct 2017 13:39:56 +0000 (15:39 +0200)]
Use standard JavaScript properties
Use normal properties with JavaScript setters and getters instead of
our homegrown stuff.
This also changes the properties to follow normal naming conventions.
Pierre Ossman [Sat, 14 Oct 2017 14:49:07 +0000 (16:49 +0200)]
Move cursor URI check to RFB object
Keeps the Display object simpler, and avoids having to abuse a
property to transfer the information.
Pierre Ossman [Sat, 14 Oct 2017 14:44:40 +0000 (16:44 +0200)]
Remove non-JavaScript render code
It wasn't used anyway so simplify things.
Pierre Ossman [Sat, 14 Oct 2017 14:12:05 +0000 (16:12 +0200)]
Remove render_mode property
It can only have a single value these days, so it is no longer
useful.
Pierre Ossman [Sat, 14 Oct 2017 11:06:03 +0000 (13:06 +0200)]
Change some attributes to arguments
Some attributes are better suited as arguments, primarily because they
are associated with a specific method and cannot be changed later.
Pierre Ossman [Sat, 14 Oct 2017 11:25:10 +0000 (13:25 +0200)]
Allow omitting configuration for properties
Pierre Ossman [Sat, 14 Oct 2017 11:02:40 +0000 (13:02 +0200)]
Always include ID marker in repeater protocol
This makes sure we're always following the protocol, and the caller
doesn't have to care about the details.
Pierre Ossman [Sat, 14 Oct 2017 10:58:25 +0000 (12:58 +0200)]
Fix duplicate beforeEach() hook
Pierre Ossman [Sat, 14 Oct 2017 10:45:56 +0000 (12:45 +0200)]
Remove wsProtocols setting
It isn't in use anymore since we deprecated support for Base64 mode.
Pierre Ossman [Sat, 14 Oct 2017 10:02:02 +0000 (12:02 +0200)]
Switch to URL for connect()
This is more in line with how other JavaScript APIs work.
Pierre Ossman [Sat, 14 Oct 2017 10:00:19 +0000 (12:00 +0200)]
Avoid code duplication in RFB test preparation
Pierre Ossman [Sat, 14 Oct 2017 09:24:16 +0000 (11:24 +0200)]
Tidy up variable initialisation
Sort things by category, and organise everything in the same place.
We don't support reuse of RFB objects so we can safely init everything
in the constructor.
Pierre Ossman [Fri, 13 Oct 2017 12:45:44 +0000 (14:45 +0200)]
Remove onFBU* callbacks
They are internal mechanisms that callers should be isolated from.
Pierre Ossman [Fri, 13 Oct 2017 12:40:25 +0000 (14:40 +0200)]
Add resize as a capability
Makes the API more transparent than piggybacking on completion
of the first framebuffer update.
Pierre Ossman [Fri, 13 Oct 2017 12:25:26 +0000 (14:25 +0200)]
Make power API generic
Decouple it from XVP and make it a generic API.
Pierre Ossman [Fri, 13 Oct 2017 11:57:19 +0000 (13:57 +0200)]
Add proper protocol encoder for XVP messages
Pierre Ossman [Fri, 13 Oct 2017 11:50:49 +0000 (13:50 +0200)]
Allow other credentials than just password
Makes the XVP authentication mechanism more general.
Samuel Mannehed [Sat, 4 Nov 2017 10:50:50 +0000 (11:50 +0100)]
Merge pull request #947 from samhed/lite_center
Properly center things in vnc_lite.html
Pierre Ossman [Thu, 2 Nov 2017 14:30:36 +0000 (15:30 +0100)]
Improved focus handling on touch input field
The previous method of retaining focus didn't work reliably when
the RFB object tried to move the focus to the canvas. Add a setting
to control "focus on click" behaviour instead of letting them try
to fight it out.
Samuel Mannehed [Wed, 1 Nov 2017 07:40:11 +0000 (08:40 +0100)]
Center canvas vertically as well in vnc_lite
Fixes issue #881.
Samuel Mannehed [Wed, 1 Nov 2017 07:39:50 +0000 (08:39 +0100)]
Add small padding to buttons in vnc_lite
Samuel Mannehed [Tue, 31 Oct 2017 17:51:33 +0000 (18:51 +0100)]
Properly center status message in vnc_lite
This gets rid of the table and uses a flexbox instead.
Samuel Mannehed [Tue, 31 Oct 2017 17:50:34 +0000 (18:50 +0100)]
Add missing semicolon
Samuel Mannehed [Tue, 31 Oct 2017 15:37:12 +0000 (16:37 +0100)]
Move styling from vnc_lite.html to css
This clears up some conflicting style attributes as well. HTML
inline-styling is prioritized above css styling.
Samuel Mannehed [Tue, 31 Oct 2017 15:16:29 +0000 (16:16 +0100)]
Remove unnecessary css rules for lite
Samuel Mannehed [Tue, 31 Oct 2017 15:06:57 +0000 (16:06 +0100)]
Get rid of unnecessary noVNC_container in lite
If we want to keep vnc_lite simple, we shouldn't have unnecessary
elements. All aspects of the container could be moved up a step in the
hierarchy.
Samuel Mannehed [Mon, 30 Oct 2017 14:31:56 +0000 (15:31 +0100)]
Use more subtle colors for warn and error in lite
The clear red and yellow colors used before does not match well with the
rest of noVNC's color scheme.
Samuel Mannehed [Mon, 30 Oct 2017 14:29:19 +0000 (15:29 +0100)]
Remove prefixed versions of linear-gradient
Other parts of noVNC have significantly higher requirements than this.
All supported browsers will be able to handle the real linear-gradient.
Pierre Ossman [Fri, 13 Oct 2017 11:07:39 +0000 (13:07 +0200)]
Hide keyboard object from RFB callers
Pierre Ossman [Fri, 13 Oct 2017 11:07:17 +0000 (13:07 +0200)]
Hide mouse object from RFB callers
Pierre Ossman [Fri, 13 Oct 2017 10:46:47 +0000 (12:46 +0200)]
Hide display object from RFB callers
Pierre Ossman [Fri, 13 Oct 2017 10:18:45 +0000 (12:18 +0200)]
Split out internal API
We only commit to maintaining the API of the RFB object, not the
other modules.
Samuel Mannehed [Tue, 24 Oct 2017 20:21:42 +0000 (22:21 +0200)]
Update link to API specification
Pierre Ossman [Wed, 18 Oct 2017 15:01:34 +0000 (17:01 +0200)]
Let RFB object make sure canvas can have focus
Let's set up things properly ourselves instead of forcing everyone
to create their canvas element just like we want it.
Pierre Ossman [Wed, 18 Oct 2017 14:09:48 +0000 (16:09 +0200)]
Remove package-lock.json
We're an upstream component project so we prefer to keep ourselves
up to date with the latest version of our dependencies. Downstream
packagers will have to do the version locking if they feel it is
necessary.
Pierre Ossman [Wed, 18 Oct 2017 13:51:43 +0000 (15:51 +0200)]
Remove 'focusContainer' attribute from API documentation
It was removed from the code in the previous merge.
Pierre Ossman [Wed, 18 Oct 2017 13:13:19 +0000 (15:13 +0200)]
Remove 'focused' attributes from API documentation
They were removed from the code in the previous merge.
Pierre Ossman [Wed, 18 Oct 2017 13:12:46 +0000 (15:12 +0200)]
Merge branch 'focus' of https://github.com/CendioOssman/noVNC
Pierre Ossman [Wed, 18 Oct 2017 13:04:45 +0000 (15:04 +0200)]
Don't let the hidden input field be a tab stop
It's very confusing if you tab between elements and all of a sudden
something hidden gets focus.
Pierre Ossman [Mon, 16 Oct 2017 14:19:49 +0000 (16:19 +0200)]
Restore handling of key events for virtual keyboard
We broke handling of keydown/keyup when we moved the focus to the
canvas, as events from our input element would then no longer be
caught when they bubbled up to the document object (where we
previously caught events).
Restore the previous behaviour in a cleaner manner by creating a
second Keyboard object to handle this extra input variant.