Samuel Mannehed
61f93180c8
Show/hide mouse button selector in updateViewOnly
...
Before this commit, the mouse button selector was hidden when the user
clicked it in view only..
2018-01-12 01:45:26 +01:00
Samuel Mannehed
f3763a010c
Update interface on view only toggle
...
Instead of waiting for updateVisualState() to be called in order for the
interface to update, we can call it directly in updateViewOnly(). This
is a better placement logically as well. Another upside of this is that
we can call updateVisualState() earlier on connect, that allows for the
"connecting"-throbber to be shown quicker.
2018-01-12 01:45:15 +01:00
Samuel Mannehed
b3c0d570bb
Merge pull request #996 from PeterDaveHelloKitchen/zh-tw-translation
...
Add Chinese (Traditional) translation
2018-01-11 23:51:39 +01:00
Samuel Mannehed
3729976a28
Process input type submit for translations
...
Fixes #997
2018-01-11 01:10:59 +01:00
Solly Ross
ce6d388c6e
Merge pull request #991 from PeterDaveHelloKitchen/README.md-Table-of-Contents
...
Add README.md "Table of Contents" for readability
2018-01-10 13:27:32 -05:00
Solly Ross
ef8805cfa2
Merge pull request #998 from novnc/bug/ie11-tests-slice
...
Fix slice usage in display tests on IE11
2018-01-10 12:48:16 -05:00
Solly Ross
af4deba893
Fix slice usage in display tests on IE11
...
IE11 doesn't support the `slice` method on ArrayBufferViews, so
we have to use the old `Array.prototype.slice.call` trick in the
tests instead.
2018-01-10 11:08:21 -05:00
Peter Dave Hello
03d829f170
Add Chinese (Traditional) translation
2018-01-10 00:59:27 +08:00
Peter Dave Hello
eba7f0648f
Add README.md "Table of Contents" for readability
2018-01-09 21:52:21 +08:00
Deni42
37c609359a
Fix view_only setting with autoconnect ( #985 )
...
updateVisualState() and updateViewOnly() requires an initiated UI.rfb reference, the calls in connect() was made too early.
2018-01-05 12:05:17 +01:00
Pierre Ossman
1f9d0cb12f
Add test for 16x16 tiles
...
We have a special cache and therefore special code paths that need
to be tested when rendering 16x16 tiles.
2017-12-14 12:59:25 +01:00
Pierre Ossman
0880353ba9
Simpler reporting when display output size mismatches
2017-12-14 12:58:57 +01:00
Pierre Ossman
72abf78487
Merge branch 'master' of https://github.com/josiah2009/noVNC
2017-12-14 12:50:38 +01:00
Samuel Mannehed
a4822c3a86
Only connect if we don't have an rfb object
...
Each connection creates a new RFB object. Fixes #978 .
2017-12-14 12:16:45 +01:00
Samuel Mannehed
75e1161434
Throw away the reference to RFB on disconnect
2017-12-14 12:15:56 +01:00
Samuel Mannehed
b245ec7038
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
2017-12-12 18:25:20 +01:00
Samuel Mannehed
7f1049c0ee
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.
2017-12-12 16:14:43 +01:00
Pierre Ossman
edb3ea4f88
Merge branch 'docs' of https://github.com/CendioOssman/noVNC
2017-12-12 12:41:30 +01:00
Pierre Ossman
91e811f7af
Add documentation for integrating noVNC
2017-12-12 08:12:20 +01:00
Pierre Ossman
84f1f7c847
Password prompt now comes after connect
2017-12-12 08:12:20 +01:00
Pierre Ossman
62bfc48759
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.
2017-12-12 08:12:20 +01:00
Pierre Ossman
4f4f62261a
Merge branch 'resize' of https://github.com/CendioOssman/noVNC
2017-12-11 16:48:54 +01:00
Pierre Ossman
1bc11d7df5
Make browser requirements more vague
...
We have trouble keeping track of things, so state something closer
to reality.
2017-12-08 16:23:56 +01:00
Pierre Ossman
addf16c619
Update licensing information
...
The first page now points to the more complete licensing document,
and some no longer used licenses have been removed.
2017-12-08 16:23:12 +01:00
Pierre Ossman
36edae6d87
Update feature list
...
It wasn't reflecting the current state of things correctly.
2017-12-08 16:14:05 +01:00
Pierre Ossman
b84e6052eb
Improve references to contributing to noVNC
2017-12-08 16:12:43 +01:00
Pierre Ossman
7c9a7dcad8
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.
2017-12-08 16:12:19 +01:00
Pierre Ossman
45a2717d70
Direct questions to the forum rather than the tracker
2017-12-08 16:07:51 +01:00
Pierre Ossman
b2ac253b28
Clarify that noVNC is both an app and a lib
2017-12-08 16:06:50 +01:00
Pierre Ossman
ac4b1de1d3
Remove contributing guidelines
...
We already have better guidelines in the wiki, and it is better
kept relevant there than included with releases.
2017-12-08 14:45:32 +01:00
Pierre Ossman
d15dd55e7b
Merge branch 'german' of https://github.com/flumm/noVNC
2017-12-08 10:34:45 +01:00
Pierre Ossman
bd2ce0ca89
Add scale ability to vnc_lite.html
2017-12-06 11:29:57 +01:00
Pierre Ossman
9b84f51685
Move resize handling in to RFB object
...
Makes the API simpler and makes it easier for other frontends to
get this functionality.
2017-12-06 11:29:57 +01:00
Pierre Ossman
898cd32c07
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.
2017-11-30 16:15:42 +01:00
Pierre Ossman
bb25d3d6c5
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.
2017-11-30 16:15:38 +01:00
Josiah White
baf822d3de
Initalize cached 16x16 tile.
2017-11-30 03:17:02 -05:00
Pierre Ossman
7f39868158
Remove noisy websock debug logging
...
It generates too many log lines that it drowns out everything else.
2017-11-24 13:10:35 +01:00
Dominik Csapak
110a52c57d
update german translations
...
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-11-24 08:26:37 +01:00
Pierre Ossman
2efa8a5a7c
Merge branch 'master' of https://github.com/mariuszjamro/noVNC
2017-11-23 15:22:50 +01:00
Pierre Ossman
4d62072eca
Merge branch 'greek' of https://github.com/kosmasgiannis/noVNC
2017-11-23 15:22:26 +01:00
Mariusz Jamro
ceea51fa16
Update polish translations to match recent code changes
2017-11-21 19:56:43 +01:00
Pierre Ossman
ddcb60c3b3
Don't log WebSocket close by default
...
This is an expected event so it shouldn't be logged by default.
2017-11-20 15:21:59 +01:00
Giannis Kosmas
44db9c92e8
Greek translations revised
2017-11-17 21:51:41 +02:00
Samuel Mannehed
440524f9ce
Update browser requirements
2017-11-17 19:24:26 +01:00
Samuel Mannehed
db46e36eb9
Merge pull request #950 from samhed/disconnectapi
...
Abstract information from RFB to the UI
2017-11-17 11:01:11 +01:00
Samuel Mannehed
7279364c9a
Move localization.js to app
...
Since it is no longer used in core. Also splits localization tests into
a separate file.
2017-11-14 15:36:12 +01:00
Samuel Mannehed
689580381c
Move UI.cancelReconnect() to related functions
2017-11-14 15:36:12 +01:00
Samuel Mannehed
d623a029d6
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.
2017-11-14 15:36:12 +01:00
Samuel Mannehed
d472f3f19e
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.
2017-11-14 15:36:12 +01:00
Samuel Mannehed
ee5cae9fee
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).
2017-11-14 14:10:36 +01:00