| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Let's try to keep as much as possible of the translation handling in a
single place for clarity.
|
|
|
|
|
|
|
|
| |
We should not be listing this in LINGUAS as that gives the impression
that English has en explicit translation. Instead, it is a special case
that the code needs to be explicitly aware of.
This reverts 9a06058 in favour of a more robust fix.
|
| |
|
|
|
|
|
|
| |
Let's not punish systems that implement overlay scrollbars in a
functional way. The only current example is Firefox on Windows 11 and on
Linux.
|
|
|
|
|
| |
So that UI can reflect if it is currently possible to drag the viewport
or not.
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of having an outer "box", we can use an outline on the button
itself to create this "platform". Since the outline isn't part of the
size of the element, it will appear wider than before, when compared to
the logo. To counteract that we remove the left and right padding from
the logo to make the entire noVNC_connect_dlg more narrow.
We also had to slightly adjust the :active style since we don't want the
entire "platform" to move when the button is clicked.
|
|
|
|
|
|
|
|
|
|
|
| |
This commit removes our dependency on the class "noVNC_touch" which was
set by Javascript. Instead, we can use the CSS media query
"any-pointer: coarse", which means that any pointing device that isn't
accurate is available. In practice this seems to basically be equal to
that a touch screen is available.
This change lets us simplify the selectors in many cases as well, which
is a nice bonus.
|
|
|
|
|
|
|
|
|
|
| |
It is a button, let the HTML element reflect that. And instead of
having the outer div being clickable, lets only make the inner one
work like a button. Because of that, this commit renames the outer div
to "connect_box" instead of "connect_button".
Note that we remove the disabled :hover-effect for touch on this button.
It doesn't make much difference since this button is one of a kind.
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the user has "followed" the hint by dragging the handle to the
other side, the control bar will switch to that side. Once this has
happened, we will now hide the hint until the user starts over by
dragging the handle again.
This change was added to make the hint feel more like a "hint" and less
like a permanent GUI element. It isn't as persistent and intrusive now.
Note that we don't want the act of hiding the hint to result in a
transition animation here.
|
|\ |
|
| | |
|
|/
|
|
|
|
| |
This button fills no real purpose. It's easy to mark everything and
delete with either "Ctrl + A -> Delete" or, on touch devices, "long
press -> mark everything -> Delete".
|
|
|
| |
Currently novnc will only retry once (assuming the server is unavailable) and then stop (as the detail from is unclean, usually "failed to connect"). Minor change will continue to reconnect every reconnect_delay seconds until either reconnected or user intervention cancels the attempt.
|
|
|
|
|
|
| |
Most (all?) new APIs will require a "secure context", which generally
means served over TLS. We can expect crashes because of missing
functions if this requirement isn't fulfilled, so try to warn the user.
|
|
|
|
|
| |
It should be closed at this point just like all other dialogs and
panels.
|
| |
|
| |
|
| |
|
|
|
|
| |
These are for browsers no longer supported anyway.
|
|
|
|
|
| |
We no longer need to support Internet Explorer so we can use a more
proper API here.
|
|
|
|
|
|
|
|
| |
Add several single and multitouch gestures to simulate various mouse
actions that would otherwise be impossible to perform.
This replaces the old system where you could select which mouse button
a single touch would generate.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This was done a bit arbitrarily before which could easily miss things,
end up in the wrong state and not trigger animations correctly.
This reverts commit c12e5b2b544aff6f662c7f61f82ce40d132e14df and fixes
things in a different way.
|
|
|
|
| |
Fixes github issue #1382.
|
| |
|
|
|
|
| |
Fixes github issue #1369
|
|
|
|
|
|
|
| |
Closing the toolbar would make the focus remain on the toolbar and
not in the session. The only way to switch focus was to click in the
session. This commit will automatically switch back focus to the session
after closing the toolbar.
|
| |
|
|
|
|
|
| |
The clipboard side bar button serves no purpose if user uses 'View Only'
mode, this commit hides this button in those instances.
|
| |
|
|
|
|
|
|
|
|
| |
As a rule, instead of hard-coding a behavior on specific platforms we
should do dynamic detection.
This commit moves away from always hiding scrollbars on Android and iOS
and instead detects the rendered width of scrollbars in the browser.
|
|
|
|
|
| |
Internet Explorer doesn't have this method. Use the safer indexOf()
instead.
|
|
|
|
|
| |
Some VNC authentication schemes use usernames, our UI should support
these.
|
|
|
|
| |
Removes unnecessary variable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When showing a new status popup we want to set a timer for how long to
show it. In cases where we show many statuses in a fast succession we
need to remove any running timeouts when showing a new one.
There are exceptions when new statuses won't be shown, and thats if a
more severe status is already showing, i.e and error or a warning.
Warnings can still have timeouts. There was a bug that occured when we
tried to show a normal status while a warning was showing. The bug
caused the warning status timeout to be removed even if the normal
status was never shown. We should only remove running timeouts if we're
actually going to show a new status.
|
|
|
|
|
|
| |
If using the extra keys always gives focus to the screen then an
on-screen keyboard would be closed. When using on-screen keyboards we
instead want to give focus to our virtual keyboard input element.
|
|
|
|
|
|
|
|
|
| |
A regression from 2afda54 and friends was that you couldn't use the
extra keys and then directly use the keyboard, you would have to click
in the session first.
This commit restores the correct behavior and also adds a visual queue
to the fact that the screen got the focus by fading the controlbar.
|
| |
|
|
|
|
|
|
|
|
|
| |
Toggling the enabled state is a remnant from an earlier version
of the code where we could determine if the the session is actually
clipped, and not just that the setting is enabled.
Right now we only change things based on the setting, so let's
completely hide the button when clipping is disabled.
|
| |
|
| |
|
|
|
|
|
|
| |
It is not relevant for the connection stage so it should not have
been a constructor argument to begin with. Ship with a warning for
a release before we remove it.
|
|
|
|
|
| |
Our lint tests expect this when an arrow functino has a body with
curly braces.
|
| |
|
| |
|
|
|
| |
This reverts commit 19cdc15aa314760446866a1bcc2db99a80479683.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| | |
Small improvements
|
| | |
|