| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
This space that was added here was added to the parsed value of the
query variable. This broke any comparisons with the value, for example
"myvar=true" resulted in a value of "true ".
This was broken by f796b05e42cfac7044cca9603e59f258605228f3
The commit also adds unit tests for webutil.getConfigVar() that will
detect problems like this in the future.
|
|
|
|
|
|
|
| |
Passing parameters as part of the fragment could be considered
benifical from a security or privacy standpoint when compared to query
string parameters. The URL fragment parameters are not sent to the
server.
|
|
|
|
| |
These are for browsers no longer supported anyway.
|
|
|
|
|
|
|
| |
We no longer support Internet Explorer so we can now require that
browsers support modules.
Some conversion to commonjs still remains for nodejs.
|
|
|
|
|
| |
Chrome Frame has been retired we so we can remove it from this
compatability tag.
|
|
|
| |
It's still required since without this IE's default setting for "Display intranet web pages in compatibility mode" will cause errors.
|
|
|
|
|
| |
Lower layers can consider null to be a valid value, when we'd rather
they treat the value as not set.
|
|
|
|
|
| |
An empty password is techincally legal, and now supported by the
RFB core, so we cannot use that as a placeholder for "no password".
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Even though this isn't strictly required by the standard its nice to be
consistent.
|
| |
|
|
|
|
|
| |
It's only required if we wanted support IE8, IE9 or older. We require at
least IE11 at the moment.
|
| |
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
Makes it clearer where the remote screen will be created.
|
| |
|
|
|
|
|
|
| |
In order to have better control of the layout and to make the code
easier to follow. Using input type button or buttons will imply a lot of
built in styling that differs from browser to browser.
|
|
|
|
| |
It's not password-masked, but it allows for a lot simpler code.
|
| |
|
|
|
|
| |
Give them obvious names to make the code easier to understand.
|
|
|
|
|
| |
The rest of noVNC has been converted already. This allows us to remove
the extra scope that was created for the VNC connection.
|
|
|
|
|
|
|
|
|
|
| |
The only remaining use we had of WebUtil was getConfigVar(). Let's get
rid of that dependency and use our own, query-string-only and richly
commented version of that function. It's easier for people to get an
overview of vnc_lite if it's all in one file.
This commit removes support for the fragment, parameters can only be
passed using the query string from now on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is supposed to be a simple example, it shouldn't have this many
options. This commit removes the following options:
* logging - the default level 'warn' is good enough
* title - a weird thing to set from the query string anyway
* token - not used by most setups
* encrypt - looking at the URL is good enough
* repeaterID - not used by most setups
* shared - uncommon setting
* resize - not supported by most servers
Note that the removal of 'encrypt' allows us to remove logic for
establishing a default port. The default port for wss is 443 and for ws
it's 80 anyway.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Unused code, variables and unnecessary styles. The host/port check
would only have an effect if someone explicitly set them as empty in
the query string. The different colors of the status bar are not
necessary, nor is the styling of the background.
|
|
|
|
| |
Easier to get an overview if it's all in one file.
|
|
|
|
| |
Icons aren't required and we want to get rid of the 'app/' dependency.
|
|
|
|
| |
vnc_lite.html doesn't have touch support anyway
|
|
|
|
|
| |
The vnc_lite example is intended to be minimal and these buttons are
only useful in special cases.
|
|
|
|
|
|
| |
This reverts commit 22000b93d5aa3d12823e7440533e8eb25739e9c0. The
'desktopname' and the 'connect' events are dispatched by us in RFB and
are thus serial.
|
|
|
|
|
| |
We can't guarantee that the desktopName event has been fired before the
connect event.
|
|
|
|
|
| |
Firebug is discontinued and it's features are included in browser
development tools now a days.
|
| |
|
|
|
|
| |
and any other function that is passed around and it's not a top level function
|
|
|
|
|
|
|
|
|
|
| |
Firefox currently has a bug where it prefers the SVG icon over a
more exact size. This results in a poorly rendered, downscaled icon.
So disable the SVG icon until this has been fixed.
Firefox bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1419039
|
| |
|
|
|
|
|
| |
Makes the API simpler and makes it easier for other frontends to
get this functionality.
|
|\
| |
| | |
Abstract information from RFB to the UI
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| | |
This interface was a band aid for poor design. The two cases where it
was used was replaced by logging.
|
|/
|
|
|
| |
Things were renamed to the more generic "power" instead of "xvp",
but a few references were overlooked in the merge.
|
|\ |
|
| | |
|
| | |
|