Commit Graph

247 Commits

Author SHA1 Message Date
Matt McClaskey 1753425874
Pointer lock api (#29)
Add pointer lock and relative cursor position support. Game mode enables both pointer lock and relative cursor positions.
2022-05-03 10:37:22 -04:00
Matt McClaskey 6c708d8254
Feature/kasm 2445 clipboard ids (#28)
Adds IDs to clipboard operations for use in DLP, logging, and general attribution.
2022-04-05 08:56:54 -04:00
Matt McClaskey 385a1f99b4
Feature/kasm 2335 ime support 2 (#27)
IME support, refactored keyboard input
2022-03-25 15:03:19 -04:00
Matt McClaskey df9c9d0d96
Bugfix/kasm 2242 clipboard sync (#26)
* KASM-2242 clipboard behavior correction

* remove clipboard length check

Co-authored-by: matt <matt@kasmweb.com>
2022-01-31 09:39:19 -05:00
mmcclaskey ad1fc1f06d
KASM-2152 fps added to stats (#25)
Co-authored-by: matt <matt@kasmweb.com>
2022-01-11 15:31:39 -05:00
Mariusz Marciniak c20db143a0 KASM-2108 Update Kasm<->noVNC communication for mobile related features 2021-11-15 13:53:58 +00:00
Mariusz Marciniak a8a3651898 KASM-2001 Add keyboard controls panel 2021-11-08 21:22:39 +00:00
mmcclaskey 2faf2049c2
Bugfix/kasm 2053 video quality (#19)
* KASM-2053 Fixes previous issues where there was no difference between medium and high
* Expands quality settings to adjust more rendering settings
* Adds an extreme quality setting and custom
* Adds the quality setting to the noVNC control panel, was previously only exposed in the backend for integration with Kasm Workspaces
* Switching quality settings no longer requires reconnecting.
2021-11-08 12:57:24 -05:00
mmcclaskey e11e76e2c7
Feature/kasm 2041 mobile scaling (#20)
* KASM-2041 auto scale high res mobile - Browsers typically set a scale ratio for high resolution screens, so everything isn't tiny. This mostly works well, but results in a super low resolution for the remote display. This feature detects low resolutions where the browser is doing scaling and adjusts the scale backwards to reach a more reasonable resolution. This typically only happens on modern phones.
2021-11-08 12:55:37 -05:00
Mariusz Marciniak 66c5812b4e KASM-2034 Unlock mobile audio playing on first mobile touch event 2021-11-03 12:27:01 +00:00
matt a36f941493 fix Edge 18 and under clipboard 2021-10-15 19:34:01 +00:00
matt 37c41c60f6 Fixes for older Chrome browsers 2021-10-14 17:33:03 +00:00
matt 0bd7bf8b3e rebase from master 2021-10-12 18:36:43 +00:00
matt f8fde81dfb WIP: cleanup code 2021-10-12 14:11:26 +00:00
matt f3418af9b7 WIP: fix recieving large binary cliipboard 2021-10-08 15:08:12 +00:00
Mariusz Marciniak d20e5d78fa KASM-1968 Add support for CMD+click on MacOs 2021-10-07 12:05:45 +02:00
Mariusz Marciniak 66cc16a894 KASM-1980 Add support for CMD right + key shortcuts on MacOs 2021-10-07 12:04:33 +02:00
Mariusz Marciniak fff810d45a KASM-1871 Add smooth scrolling by sending scroll delta directly 2021-10-07 11:58:46 +02:00
Mariusz Marciniak 09707e9820 KASM-1882 Improved pinch&zoom responsiveness 2021-10-07 11:58:46 +02:00
Mariusz Marciniak f509f5231a KASM-1890 Add MacOS shortcut translation 2021-10-07 11:58:46 +02:00
matt 8842f372b8 WIP, firefox support 2021-10-01 19:02:51 +00:00
matt c533d18ac7 Merge branch 'master' into chromeclip 2021-10-01 09:03:09 +00:00
matt e7c601efc0 clipboard WIP 2021-10-01 09:03:03 +00:00
matt 34bfdddab5 KASM-1947 binary clipboard WIP 2021-09-23 08:39:37 +00:00
matt 141f91fde5 KASM-1947 WIP 2021-09-21 09:38:34 +00:00
matt 3c477925f3 KASM-1947 send png WIP 2021-09-17 13:47:11 +00:00
matt f165845c2d KASM-1947 binary clipboard WIP 2021-09-16 19:16:49 +00:00
Lauri Kasanen effc0eee02 Initial binary clipboard support 2021-09-16 15:32:26 +03:00
matt a0907e9390 KASM-1834 added new anti-aliasing feature 2021-09-12 17:53:03 +00:00
matt 4c8e8ef1e1 KASM-1834 disable anti-aliasing when screen ratio is 1:1 2021-09-10 17:31:44 +00:00
Mariusz Marciniak ace35fa652 KASM-1882 MacOs pinch and zoom 2021-08-31 10:39:47 +02:00
Mariusz Marciniak 8453916f9c KASM-1881 Add MacOs cmd+wheel zoom support 2021-08-30 21:28:13 +02:00
mmcclaskey 519a40213b
Merge pull request #6 from kasmtech/apistats
Apistats
2021-08-05 11:01:03 -04:00
matt 30326f7c11 KASM-1834 expose quality settings 2021-08-02 17:13:01 +00:00
matt d7d748e05a fixed time tracking 2021-07-30 17:07:44 +00:00
Lauri Kasanen f9f5b01cc2 Initial frame stat tracking 2021-07-27 15:28:02 +03:00
Kasm c02aca5c13
restoring behavior of KasmVNC 2021-04-22 08:37:43 -04:00
Kasm 94c67f501f
Remove istouch variable 2021-04-21 20:04:25 -04:00
matt 1a823c85d9 various bug fixes 2021-04-11 18:33:30 +00:00
matt be658061e8 Fixes 2021-03-30 16:40:32 -04:00
matt f1d7df548a KasmVNC changes merged manually 2021-03-30 15:03:34 -04:00
lhchavez f9a8c4ccd5 Add VeNCrypt Plain authentication tests
This change adds tests for the VeNCrypt Plain authentication. In doing
that, this also fixes a typo that was introduced in a recent change.
2021-03-13 05:40:38 -08:00
Pierre Ossman 9ca337d3a8 Merge branch 'homogenize-credentials-testing' of https://github.com/lhchavez/noVNC 2021-03-11 16:47:35 +01:00
Pierre Ossman 4c96d4b7bd Merge branch 'feature/support-existing-rtcdatachannel-or-websocket-squashed' of https://github.com/TimSBSquare/noVNC 2021-03-11 16:30:22 +01:00
lhchavez 0c55c64757 Normalize the credentials presence check
Most places that check for the presence / absence of credentials compare
them against `undefined`, except the one for Plain authentication.

This change makes the very last place to use the same pattern (instead
of checking for falsiness) for consistency. Additionally, there are ways
to configure PAM to accept empty passwords, so it's possible for a user
to legitimately send an empty string as password.
2021-03-11 06:42:11 -08:00
Tim Stableford 44d384b99c Added support for RTCDataChannel
This work is originally by Ryan Castner <castner.rr@gmail.com> and
submitted as a PR here https://github.com/novnc/noVNC/pull/1362

Architecturally it is much the same except it doesn't rename a lot
of variables to make this more reviewable. It also avoids unrelated
changes such as replacing .onclose with an event listener, which
caused numerous test failures.

It also adds in ppoffice's fix to initialise the buffers.

Like the original author I don't have enough time available to
refactor this project to the new style event listeners.

Review cleanup for RTCDataChannel support (see below)

* More descriptive error when url or channel not set.
* Moved websocket property check to WebSock.
  This had unintended consequences in the tests that required some
  fixup. Mostly due to some tests not always passing FakeWebsocket.
  FakeWebsocket also needs to set the listeners to null to be compatible
  with what is in thw browser and expected by the property check code.
  The property check code now also takes into account class prototypes
  for test compatibility.
* Removed unreachable code.
* Reverted comment.
* Cleanup raw channel reference in rfb on websock close.
* Use readyState to check whether a socket is open rather than assuming.
* Updated RFB constructor documentation

Removed an unused boolean passed to attach
2021-03-04 18:55:06 +00:00
lhchavez 18593154d3 Allow longer passwords in Plain authentication
Some people have longer passwords than 256 characters (hooray for
password managers!). Server implementations also allow longer passwords:
TigerVNC allows up to 1024 characters.
2021-03-03 17:34:02 -08:00
Pierre Ossman 6a4c411976 Remove createEvent() fallbacks
We can now rely on proper constructors for our events.
2020-12-07 10:10:53 +01:00
Pierre Ossman 5b5b747494 Remove many small, obsolete, old browser hacks
These are for browsers no longer supported anyway.
2020-12-07 10:10:53 +01:00
Pierre Ossman 0630352e19 Merge branch 'rgbx' of https://github.com/CendioOssman/noVNC 2020-09-04 13:40:23 +02:00