2570 Commits

Author SHA1 Message Date
c1ae430976 Add docker-compose.yml 2025-10-07 10:04:12 +00:00
Pierre Ossman
44b7489e73 Merge branch 'switch-to-es-module-publish-and-use-exports' of github.com:elikoga/noVNC 2025-09-15 15:47:58 +02:00
Eli Kogan-Wang
fe29dc6509 Convert NPM bundle to ES-Module format 2025-09-15 15:37:37 +02:00
Eli Kogan-Wang
6cf02042de Remove deprecated "directories" entry 2025-09-15 15:35:18 +02:00
Pierre Ossman
356eab4f4d Scan all buffered data looking for JPEG end
This is much more efficient than looking at two bytes at a time.
2025-09-10 10:21:29 +02:00
Pierre Ossman
d5b18a84ab Expose length of buffered WebSocket data
Some encodings don't know how much data they need, rather they must
probe the data stream until they find an end marker. Expose how much
data is buffered in order to make this search efficient.
2025-09-10 10:20:20 +02:00
Pierre Ossman
23b7219a5d Drop Image data once rendered
Helps the browser to free up the memory right away, rather than waiting
until some later cleanup process. At least Firefox can start consuming
gigabytes of memory without this.
2025-09-10 09:58:09 +02:00
Alexander Zeijlon
8ebd9ddef9 Fix broken Chai import
Chai v6.0.0 introduced a breaking change where file imports now need to
point at 'chai/index.js'. See the corresponding release note.
2025-09-08 16:47:31 +02:00
Alexander Zeijlon
d49d2b366a Use Croatian translations 2025-09-05 10:31:54 +02:00
Milo Ivir
e4def7f715 Add Croatian translation 2025-08-25 18:36:38 +02:00
Alexander Zeijlon
4cb5aa45ae Merge branch 'obsolete-showDotCursor-rfb-option' of github.com:ThinLinc-Zeijlon/noVNC 2025-05-07 12:32:11 +02:00
Alexander Zeijlon
243d7fdd5f Disable setting showDotCursor in RFB constructor
This has been deprecated for around six years now. Let's remove the
deprecation warning and disable setting showDotCursor via the options
parameter.
2025-05-07 09:20:34 +02:00
Pierre Ossman
88749fc0f9 Document new JSON settings files
This mechanism was added in 438e5b3, but we forgot to document it.
2025-04-28 09:59:37 +02:00
Pierre Ossman
a22857c99c Document new behaviour of host/port/encrypt/path
This changed in 96c76f7, but we forgot to adjust the documentation for
the parameters.
2025-04-28 09:55:49 +02:00
Alexander Zeijlon
d7a37730e6 Merge branch 'master' of github.com:Leostruka/noVNC 2025-04-15 12:29:07 +02:00
leandro ostruka
6f9edb1d4a Fix typo in Portuguese translation for "Show extra keys" 2025-04-12 11:36:30 -03:00
Liao Peiyuan
980a49e5c5 Fix typo in error-handler.js 2025-04-10 12:29:19 -07:00
Pierre Ossman
8edb3d282e Close VideoFrame after H.264 detection
Otherwise browser will complain when it is garbage collected.
2025-04-08 15:42:20 +02:00
Pierre Ossman
154653523c Only include valid translations in .json files
Fuzzy translations might be incorrect, and obsolete translations aren't
used anywhere.
2025-03-25 09:02:39 +01:00
Samuel Mannehed
6010c9da04 Update comment reference missed in previous commit
Should have been part of f0a39cd357
2025-03-24 22:33:09 +01:00
Samuel Mannehed
f0a39cd357 Fix appearance of extra key buttons
Since the extra keys panel is quite narrow in width, a max-width style
resulted in the buttons almost disappearing. That rule was only intended
for elements inside the settings panel.

Broken by commit 14f9ea5880.

Another minor error that is also fixed by this commit is that the
clipboard textarea no longer incorrectly gets a left margin of 6px.

Fixes #1946.
2025-03-24 22:30:17 +01:00
Alexander Zeijlon
a8dfd6a3ea noVNC 1.6.0 v1.6.0 2025-03-12 20:25:30 +01:00
Alexander Zeijlon
3947b4ca84 Update generated json files for new translations 2025-03-12 20:16:15 +01:00
Harold Horsman
09440da5c1 Update Dutch translation 2025-03-12 17:35:59 +01:00
Martine & Philippe
6002d57a88 Update French translation 2025-03-12 17:35:54 +01:00
Alexander Zeijlon
59b674d374 Merge branch 'fix-sub-url-query' 2025-03-12 14:54:07 +01:00
Alexander Zeijlon
045a0ba158 Let browser handle parsing of URLs before relaying
We don't want to assign a path directly to url.pathname that contains a
search query, since this causes '?' at the beginning of the query to be
URL-encoded to '%3F'. Instead use URL() to parse the path for us.
2025-03-12 14:30:29 +01:00
Alexander Zeijlon
b25675e052 Upgrade to websockify 0.13.0 in snap package 2025-02-28 14:42:52 +01:00
Alexander Zeijlon
b45f35c6d7 noVNC 1.6.0 beta 2025-02-14 11:23:23 +01:00
Alexander Zeijlon
c3b8cbd3d2 Update README.md with H.264 encoding support 2025-02-14 11:23:23 +01:00
Alexander Zeijlon
09fc4f7fb9 Update Swedish translations 2025-02-14 10:42:16 +01:00
Alexander Zeijlon
e8030a9fb1 Update translation template file 2025-02-14 10:16:08 +01:00
Zeijlon (ThinLinc Team)
d5315ebb8b Merge pull request #1934 from tianzedavid/master
chore: fix some typos
2025-02-14 10:05:47 +01:00
tianzedavid
7ee7922766 chore: fix some typos
Signed-off-by: tianzedavid <cuitianze@aliyun.com>
2025-02-13 01:00:46 +08:00
Pierre Ossman
bb797dcb2a Merge branch 'resize' of https://github.com/CendioOssman/noVNC 2025-02-06 14:26:25 +01:00
Pierre Ossman
0b5e968e14 Better resize rate limiting
Be more aggressive with resizing, limiting it to once ever 100 ms
instead of after a 500 ms idle period. This gives a more responsive user
experience.
2025-02-05 16:59:22 +01:00
Pierre Ossman
c82178348a Include SetDesktopSize responses in tests
There might be subtle changes in behaviour, so we should mimic what a
real server does.
2025-02-05 16:53:12 +01:00
Pierre Ossman
70446bf742 Make resizeSession setting test more realistic
We shouldn't expect a resize request to be sent if the container didn't
change size first.
2025-02-05 16:53:12 +01:00
Pierre Ossman
bbbef2d9fa Add helper for ExtendedDesktopSize in tests 2025-02-05 16:53:12 +01:00
Samuel Mannehed (ThinLinc team)
4e410a0619 Use less technical phrasing in README 2025-02-04 16:14:31 +01:00
Alexander Zeijlon
b9f172dcdb Update README.md with ExtendedMouseButtons feature 2025-01-28 11:01:53 +01:00
Alexander Zeijlon
9f727b7db8 Merge branch 'ui_refresh' 2025-01-28 09:42:00 +01:00
Samuel Mannehed
24835bdda4 Make the background of expanded settings lighter
A very slight change to the background color, to make the contrast
better with the light-grey input elements.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
237a34dfb3 Add exceptions for CSS validator false positives
Some new CSS incorrectly give errors from validator.w3.org. Issues were
opened in that repo, so hopefully we can remove these exceptions soon.

I searched for alternative validators, but couldn't find a different one
that had a simple API like this one.

In order to reliably detect & handle these exceptions we unfortunately
need to make the validator output parsing quite a bit more complicated.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
14f9ea5880 Fix settings panel layout on small screens
Both labels and inputs protruded outside the panel on for example a
phone in portrait mode. This commit fixes that by allowing wrapping and
setting a max-width.

Since the --input-xpadding variable is now used in two different CSS
files, it was moved to constants.css.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
6db9dbcf90 Tweak design of noVNC connect button
Make the color contrast with the background and the button more rounded.
The goal is to make the button stand out.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
b5675bb5f6 Fix spacing between elements in dialogs
Dialogs have had text inputs and buttons cramped together without space
between, this fixes that.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
4ab4286b25 Make text in panel headings bold
Makes the heading pop a bit more in the new airier layout.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
88009230b6 Only color the left part of the range track
Makes it easier to envision the value is selected.
2025-01-23 15:51:11 +01:00
Samuel Mannehed
abe3c7bce9 Make range slider thumbs circular
Fits better with the new slightly rounded and spacious style. The track
was made slightly thicker to ensure proper centering of the new thumb.
2025-01-23 15:40:52 +01:00