summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test v2testSamuel Mannehed2021-10-221-1/+1
|
* noVNC 1.3.0v1.3.0Samuel Mannehed2021-10-221-1/+1
|
* Remove inactive maintainers from package.jsonSamuel Mannehed2021-10-221-2/+0
|
* Update json files for new translationsSamuel Mannehed2021-10-223-27/+98
|
* Stop chained builds of .po and .json filesSamuel Mannehed2021-10-221-4/+5
| | | | | | | | The way we work with these translation files means that we only care about one step at a time, we don't want to update the .po files when building the 'update-js' target. Also, always force rebuilds of the .po and .json files.
* Follow API changes in commander 7.0.0+Pierre Ossman2021-09-281-2/+4
| | | | Options now have to be exlicitly requested.
* Merge pull request #1582 from CendioOssman/preloadSamuel Mannehed2021-09-241-0/+5
|\ | | | | Preload status bar images
| * Preload status bar imagesPierre Ossman2021-09-241-0/+5
|/ | | | | | | These are used via CSS, which means the browser doesn't load them until an element actually gets those CSS rules. There can be some delay to this loading which causes visual glitches. By preloading we can make sure those images are cached and ready when the status bar appears.
* Fix typos in Russian translationNia Remez2021-09-091-2/+2
|
* Fix snapcraft publish stepSamuel Mannehed2021-09-091-2/+2
| | | | A typo caused it to use the incorrect path
* Update Russian translationNia Remez2021-09-091-105/+101
|
* noVNC 1.3.0 betav1.3.0-betaSamuel Mannehed2021-09-081-1/+1
|
* Fix parsing of query string variablesSamuel Mannehed2021-09-083-2/+44
| | | | | | | | | | | 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.
* Merge pull request #1365 from baleeds/feature/detect-parent-resizeSamuel Mannehed2021-09-033-17/+31
|\ | | | | feature: Detect parent resize
| * Increase browser version requirementsSamuel Mannehed2021-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Now that we use ResizeObserver we know that we require more modern browsers. The most notable ones here are Firefox and Safari. With regards to Firefox, while the desktop version has had support since 69, the Android app requires 79. At the time of writing the current ESR of Firefox is 78, but the concept of ESR doesn't seem to exist for Android. The Safari 13 requirement means we no longer support for example iPhone 5S or the 4th generation of the iPad. These are devices from 2013~2014.
| * Modify unit tests to work with ResizeObserverSamuel Mannehed2021-09-031-10/+22
| |
| * Replace window.onresize with ResizeObserverBenjamin Leeds2021-09-011-6/+8
|/ | | | | Fixes an issue where if the screen div resizes for a reason other than window resize, the canvas wouldn't redraw.
* Merge pull request #1573 from yatru/security-privacy-url-patchSamuel Mannehed2021-09-012-3/+19
|\ | | | | Security privacy to url parameters
| * Add support for URL fragment parametersyatru2021-09-012-3/+19
|/ | | | | | | 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.
* Update Swedish translationSamuel Mannehed2021-08-271-74/+74
|
* Remove duplicate translation string from es.poSamuel Mannehed2021-08-271-4/+0
|
* Update the translation template file for v1.3.0Samuel Mannehed2021-08-271-72/+72
|
* Update playback test to use new APIPierre Ossman2021-07-221-17/+23
| | | | | | Hooking in to the underlying WebSocket after it has been created no longer works, so clean things up and use the new method of passing an existing object to the RFB constructor.
* Merge pull request #1449 from JanZerebecki/manpageSamuel Mannehed2021-06-306-8/+45
|\ | | | | add Man page for launch.sh and rename to novnc_proxy
| * add Man page and rename launch.sh to novnc_proxy.Jan Zerebecki2021-06-256-8/+45
|/ | | | Co-Authored-By: Adam Young <ayoung@redhat.com>
* feat: add French localization stringsJose (Ito) Matsuda2021-05-063-2/+301
|
* Merge pull request #1545 from ascillato/patch-2Samuel Mannehed2021-04-251-12/+17
|\ | | | | Update Spanish Translation
| * Update Spanish TranslationAdrian Scillato2021-04-231-12/+17
|/ | | | | | Update Spanish Translation. Added missing translations. Fixed some typos. Also, some changes were made to use a more formal and international spanish.
* Initiate connection from RFB constructorPierre Ossman2021-04-182-51/+17
| | | | | | | | | | | | | We need to do this in order to safely attach to existing WebSocket objects. There may be message events already pending so we must set up our event handlers before returning. This means we will now throw errors instead of generating "disconnect" events on problems as the caller no longer has the opportunity to set up event handlers. This might have been the correct approach from the start as it mimics how e.g. the WebSocket constructor works.
* Don't fake open events in WebsockPierre Ossman2021-04-184-21/+20
| | | | | | | | | | | We don't know if the caller is prepared to receive those events right now as normally they would get them on a fresh new stack later. We also can't delay delivery since then we might deliver the event after any pending "message" events. Better to push the problem one layer up to the caller, which now needs to be more aware of the state of the WebSocket object it is trying to use.
* Refuse to use already closed WebSocket objectsPierre Ossman2021-04-182-0/+15
| | | | We can't do anything useful with them anyway.
* Provide readyState for Websock objectsPierre Ossman2021-04-182-6/+114
| | | | | It mainly reports the state of the underlying object in consistent manner.
* Move Websock event handlers to own methodsPierre Ossman2021-04-181-50/+56
| | | | Avoid cluttering up the RFB constructor.
* Add unit tests for connect/attach errorsPierre Ossman2021-04-181-0/+25
|
* Add unit tests for passing WebSocket objectsPierre Ossman2021-04-182-1/+32
|
* Stop explicitly testing connection statesPierre Ossman2021-04-181-176/+60
| | | | | These are internal and we should be testing the externally observable behaviour.
* Revert "Fixed a race condition when attaching to an existing socket"Pierre Ossman2021-04-162-16/+2
| | | | | | This reverts commit ef27628c6dff6120b0ed0d4728cc6e8a32b7be53. By bypassing setTimeout() it creates other race conditions so this is not the proper fix for the issue.
* Merge pull request #1537 from TimSBSquare/bugfix/existing-channel-race-conditionSamuel Mannehed2021-03-302-2/+16
|\ | | | | Fixed a race condition when attaching to an existing socket
| * Fixed a race condition when attaching to an existing socketTim Stableford2021-03-302-2/+16
|/ | | | | | | | | | | | | This is an error that presents itself with RTCDataChannel's, I suspect this could not happen with a pre-existing WebSocket. If the remote connection creates a data channel then the local (VNC) side gets a channel created callback. It may also be the case that in that very same tick the socket is also opened and buffered data received. This meant that (in my tests) about 1/3 of the time noVNC would fail to respond to the initial message from the server because it was received and subsequently not handled during that initial tick. Also made the documentation reflect this new behaviour and document the existing behaviour.
* Add Portuguese (Brazil) translationLiddack2021-03-164-2/+373
|
* Add VeNCrypt Plain authentication testslhchavez2021-03-132-2/+98
| | | | | This change adds tests for the VeNCrypt Plain authentication. In doing that, this also fixes a typo that was introduced in a recent change.
* Merge branch 'homogenize-credentials-testing' of ↵Pierre Ossman2021-03-111-2/+2
|\ | | | | | | https://github.com/lhchavez/noVNC
| * Normalize the credentials presence checklhchavez2021-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | 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.
* | Merge branch 'feature/support-existing-rtcdatachannel-or-websocket-squashed' ↵Pierre Ossman2021-03-115-36/+99
|\ \ | |/ |/| | | of https://github.com/TimSBSquare/noVNC
| * Added support for RTCDataChannelTim Stableford2021-03-045-36/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Allow longer passwords in Plain authenticationlhchavez2021-03-031-3/+12
|/ | | | | | Some people have longer passwords than 256 characters (hooray for password managers!). Server implementations also allow longer passwords: TigerVNC allows up to 1024 characters.
* Change phrasing for discussion group linkPierre Ossman2021-01-151-2/+2
| | | | | It's listed with the issue templates, so make sure it follows the same style in phrasing.
* Add link to discussion group from issuesPierre Ossman2021-01-151-0/+4
| | | | | So that people can easily find it and not file bug reports for things that are just questions.
* Hide link to create blank issuesPierre Ossman2021-01-151-0/+1
| | | | | We want users to use the templates so we don't miss any relevant information.
* Update Japanese translationNNN15902021-01-152-105/+125
|