Tim Edwards
735650e165
noVNC needs network to function, removed unneeded commented-out lines
2019-04-20 08:52:24 +02:00
Tim Edwards
5dd192e6e6
Got websockify path logic correct
2019-04-20 08:16:48 +02:00
Tim Edwards
524504ee80
Another attempt
2019-04-20 08:09:28 +02:00
Tim Edwards
100082cb7d
Another attempt
2019-04-20 07:55:40 +02:00
Tim Edwards
e1eafeec65
Another attempt to get websockify directory right
2019-04-20 07:46:28 +02:00
Tim Edwards
4cbdf994a3
Cleaned up and working, using websockify from the Ubuntu apt repo
2019-04-20 06:34:53 +02:00
Tim Edwards
2db25e43b9
Temporary changes to use 'my' modified version of novncC
2019-04-20 05:43:26 +02:00
Tim Edwards
4a2d108c30
Changed path back to /snap/bin/websockify for Snap-installed websockify
2019-04-20 05:42:40 +02:00
Tim Edwards
d23317da5d
Check 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 clon'ing websockify if it's not found in PATH or the Snap location
2019-04-20 01:50:39 +02:00
Tim Edwards
9f46732090
Creating an Ubuntu Snap package to make noVNC easier to deploy. Note: the Snap is still a work in progress
2019-04-20 01:45:49 +02:00
Pierre Ossman
2b2b6073dd
Don't do cleanup on deploy
...
Travis wipes out node_modules otherwise, which we need for the prepare
stages of the deployment to npm.
2019-04-15 16:11:01 +02:00
Samuel Mannehed
9fe2fd04d4
noVNC 1.1.0
2019-04-09 16:29:53 +02:00
Samuel Mannehed
3ba5cefef2
Update generated JS files for translations
2019-04-09 16:22:16 +02:00
Samuel Mannehed
e94e83c6c8
Update Dutch translations
...
Co-authored-by: Arend Lapere <arend.lapere@gmail.com>
2019-04-09 16:21:35 +02:00
Samuel Mannehed
d6804167ef
Update Swedish translations
2019-04-09 16:21:19 +02:00
Samuel Mannehed
a136b4b078
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.
2019-04-02 16:51:18 +02:00
Pierre Ossman
2aa3b5bc79
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.
2019-04-02 14:22:34 +02:00
Pierre Ossman
dcc41bde61
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.
2019-03-26 15:21:31 +01:00
Pierre Ossman
a98a223e13
Validate HTML and CSS in Travis
2019-03-26 15:19:11 +01:00
Samuel Mannehed
f5d76dd5bb
Add translations as a feature
2019-03-21 13:57:16 +01:00
Samuel Mannehed
effd53838c
Merge pull request #1218 from samhed/htmlformat
...
Some formatting fixes for HTML files
2019-03-14 14:44:10 +01:00
Samuel Mannehed
94e6f8c2fa
Remove trailing whitespace
2019-03-14 14:17:04 +01:00
Samuel Mannehed
2500f65d01
Consistently end self closing tags with />
...
Even though this isn't strictly required by the standard its nice to be
consistent.
2019-03-14 14:16:40 +01:00
Samuel Mannehed
26a9c1c14d
Remove invalid HTML attributes from textarea
2019-03-14 14:13:27 +01:00
Samuel Mannehed
fe8d784bce
img elements must have alt attributes
2019-03-14 14:13:27 +01:00
Samuel Mannehed
5a76000848
Fix invalid input type 'input'
2019-03-14 14:13:27 +01:00
Samuel Mannehed
892c3330cf
Input type image is not allowed to have values
2019-03-14 14:13:27 +01:00
Samuel Mannehed
45c644a68d
Remove unnecessary type attributes
2019-03-14 14:13:27 +01:00
Samuel Mannehed
daff988e17
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.
2019-03-14 14:13:27 +01:00
Samuel Mannehed
80c52ba7cb
Add default language
2019-03-14 14:13:27 +01:00
Samuel Mannehed
6e7e6f9c9e
Add check for bad values for Display.autoscale()
2019-03-08 16:30:43 +01:00
Samuel Mannehed
9a823732a0
Merge pull request #1204 from juanjoDiaz/small_improvements
...
Small improvements
2019-03-04 09:32:11 +01:00
Juanjo Diaz
1c9b904d1a
Remove callbacks from UI in favour of promises
2019-02-27 10:18:59 +02:00
Juanjo Diaz
41ddb35458
Replace unnecessary function supportsCursorURIs by a constant variable
2019-02-27 10:14:50 +02:00
Juanjo Diaz
44f4c5545f
Move support check from display to browser
2019-02-27 10:13:50 +02:00
Dmitriy Shweew
d917ccdaf7
Add Russian translation ( #1211 )
...
By Dmitriy Shweew (shweew)
2019-02-27 01:24:22 +01:00
Juanjo Diaz
0505214cd9
Convert DES into a class
2019-02-26 23:53:43 +02:00
Juanjo Diaz
9d2c9d1a75
Use default argument for base64
2019-02-26 23:52:47 +02:00
Juanjo Diaz
667f3cc20e
Remove unnecessary context from eventtarget
2019-02-26 23:51:45 +02:00
Juanjo Diaz
fe5974a740
Remove unnecessary constructor parameter from Cursor
2019-02-26 23:51:33 +02:00
Juanjo Diaz
9255e0fb47
Remove intermediate variable from mouse
2019-02-16 23:31:58 +02:00
Pierre Ossman
b00a608af7
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.
2019-02-15 13:14:36 +01:00
Pierre Ossman
47c66517ae
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.
2019-02-15 13:01:28 +01:00
Pierre Ossman
9e03a98182
Merge branch 'slowdata' of https://github.com/CendioOssman/noVNC
2019-02-15 10:40:49 +01:00
Pierre Ossman
70e6795829
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.
2019-02-15 10:26:27 +01:00
Pierre Ossman
c02b18f06f
Clean up RFB._rfb_auth_schema assignment
2019-02-15 10:25:50 +01:00
Pierre Ossman
3bb15d4aa0
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.
2019-02-15 10:24:41 +01:00
Pierre Ossman
c13df5ae67
Fix version handshake to handle slow data
2019-02-15 10:23:32 +01:00
Pierre Ossman
b8ff5d1bde
Use arrow function to avoid bind
2019-02-15 10:22:27 +01:00
Pierre Ossman
17eea9574d
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.
2019-02-14 16:57:26 +01:00