NNN1590
6751cc1236
Update Japanese translation
2023-03-21 13:15:26 +09:00
Pierre Ossman
9985950bfa
Upgrade to latest websockify in snap package
2023-01-26 10:45:26 +01:00
Pierre Ossman
a0e6e7b1d8
Merge branch 'crypto-cleanup-fallback' of https://github.com/pdlan/noVNC
2023-01-20 16:52:32 +01:00
Pierre Ossman
90455eef06
noVNC 1.4.0
2023-01-20 13:58:48 +01:00
Pierre Ossman
51677f5c70
Update json files for new translations
2023-01-20 13:57:20 +01:00
Pierre Ossman
823e7cfca3
Update Swedish translation
2023-01-20 13:56:16 +01:00
pdlan
f974b73137
Cleanup for the cryptographic algorithms that are not supported by SubtleCrypto
2023-01-20 05:54:00 -05:00
Samuel Mannehed
5b7d2a622e
Fix positioning of checkbox checkmark
...
Changing the ::after element to be displayed as 'block' lets it be
positioned using relative. This means we can remove the confusing
"position: relative" from the checkbox.
2023-01-02 14:46:33 +01:00
Pierre Ossman
3553a451d8
Remove redundant meta charset
...
UTF-8 is the default for HTML5 pages anyway.
2022-12-29 13:26:41 +01:00
Pierre Ossman
b76358e9bf
noVNC 1.4.0 beta
2022-12-27 15:39:52 +01:00
Pierre Ossman
5f689f9bc8
Update translation template file
2022-12-27 15:39:11 +01:00
Pierre Ossman
022fc8c374
Improve whitespace handling in translations
...
The HTML source will include line breaks and indentation that is only
for source formatting, and will not be displayed.
2022-12-27 15:39:11 +01:00
Pierre Ossman
367bfd2962
Use JavaScript highlighting for Synax sections
...
Follows what MDN does, and makes things a bit easier to read.
2022-12-27 15:03:32 +01:00
Pierre Ossman
934e3de356
Follow current MDN for syntax examples
...
The now avoid brackets for optional arguments, so let's try to have the
same style.
2022-12-27 15:00:39 +01:00
Pierre Ossman
74fe694cc4
Fix toBlob() documentation
...
These are copy-and-paste errors from the toDataURL() section.
2022-12-27 15:00:13 +01:00
Pierre Ossman
ce534b85c1
Fix indentation of toBlob()/toImage() docs
...
It isn't considered a code block if it isn't indented properly.
2022-12-27 14:58:16 +01:00
Pierre Ossman
caf0ecc99b
Consistent naming of RFB arguments
...
Make sure we call the arguments the same everywhere. Follow-up to commit
44d384b
.
2022-12-27 14:55:06 +01:00
Pierre Ossman
ceadcd6e83
Use reference style links in API docs
...
Makes everything a bit more readable.
2022-12-27 14:04:37 +01:00
Pierre Ossman
e16b3b8620
Update feature list
...
Make sure everything is in sync with the current state of things.
2022-12-27 14:04:20 +01:00
Pierre Ossman
d4197932d6
Update copyright year to 2022
2022-12-27 14:03:16 +01:00
Pierre Ossman
7e7e3ac07d
List Joel and Solly as previous members
...
They are no longer active in the project, so list them under a different
section in relevant documents.
2022-12-27 14:02:44 +01:00
Pierre Ossman
1ff2ecd9f0
Merge branch 'ffscroll' of https://github.com/CendioOssman/noVNC
2022-12-27 13:13:48 +01:00
Pierre Ossman
5de478d6e7
Restrict forced panning to known bad platforms
...
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.
2022-12-27 12:50:57 +01:00
Pierre Ossman
12a7c6f0de
Check for Android using userAgent
...
Modern Android systems seem to report "Linux" for navigator.platform, so
we can no longer rely on that.
2022-12-27 12:50:57 +01:00
Pierre Ossman
a187821e4f
Add OS checks for Android and ChromeOS
2022-12-27 12:50:57 +01:00
Pierre Ossman
8fb30fb9dc
Add unit tests for OS detection
2022-12-27 12:50:57 +01:00
Pierre Ossman
ee5e3c5fa3
Refine browser detection
...
Try to follow the principle outlined by Mozilla when detecting browsers
and engines.
2022-12-27 12:50:57 +01:00
Pierre Ossman
4a34ee4b1e
Remove navigator check from browser tests
...
This is a fundamental object that should always be present.
2022-12-27 12:50:57 +01:00
Pierre Ossman
88a36370a9
Add unit tests for browser detection
2022-12-27 12:50:57 +01:00
Pierre Ossman
28c9670427
Remove test code for old Chrome
...
We don't care about ancient versions of Chrome anyway, so let's keep
things simple.
2022-12-27 12:50:57 +01:00
Pierre Ossman
262a90b0e0
Consistently use "first" indentation
...
We already enforced this for most things, so let's fix up the last few
variants as well.
2022-12-27 12:50:57 +01:00
Pierre Ossman
7f4a9eebc8
Export clipping state externally
...
So that UI can reflect if it is currently possible to drag the viewport
or not.
2022-12-27 12:50:57 +01:00
Pierre Ossman
f172633715
Sort API alphabetically
...
So it is easier to find things as the API grows.
2022-12-27 12:20:40 +01:00
Pierre Ossman
e6fce71d6a
Merge branch 'add-mslogonii' of https://github.com/pdlan/noVNC
2022-12-23 14:43:06 +01:00
Samuel Mannehed
820b39c7d3
Reinstate outer div of noVNC_connect_button
...
There were two issues with removing the outer div of the connect button.
Firstly, rounded outlines don't work in WebKit browsers like Safari or
Epiphany (https://bugs.webkit.org/show_bug.cgi?id=20807 ) and this makes
the outline look completely square.
Secondly the code became too complex.
This reverts most of commit 05baf14256
.
2022-12-23 13:44:58 +01:00
Samuel Mannehed
bd2d3a58b0
Change element type of noVNC_logo
...
This is text, a <p> is better suited.
2022-12-23 13:44:58 +01:00
Samuel Mannehed
2b449b208e
Get rid of WebKit's button top margin
...
It conflicts with our :active styling since it changes margin-top.
2022-12-23 13:44:57 +01:00
Samuel Mannehed
30f230b74c
Merge pull request #1732 from novnc/favicons
...
Favicon cleanups and fixes
2022-12-23 10:22:12 +01:00
Samuel Mannehed
6e1d842850
Use an ICO file for favicons
...
The browsers have been choosing very poorly and have a lot of bugs when
it comes to favicons. Using an ICO makes many browsers choose better in
most cases. Most large websites use ICO files.
The icons in the ICO file needs to be ordered largest to the smallest
icon, and due to a Chrome bug we are limited to 8 icons. This
unfortunately means we couldn't fit one of the Android sizes. The 72x72
icon was removed since testing showed that it was used the least.
2022-12-23 09:05:12 +01:00
Samuel Mannehed
139f087187
Explicitly specify icon size instead of density
...
Instead of calculating a density that we hope results in the correct
size, we can specify what size we want. This is more robust and easier
to understand. This also allows us to simplify the Makefile quite a bit.
Note that Fedora's packaging of ImageMagick has a bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=2140018
2022-12-23 09:05:12 +01:00
Samuel Mannehed
416e21151b
Create specific apple-touch-icons
...
These icons shouldn't have any transparancy. Instead, we remove the
rounded corners and let iOS handle that.
2022-12-23 09:05:12 +01:00
Samuel Mannehed
9e9d5ef17d
Simplify names of favicons
...
All of the icons are square, only providing the size in one direction is
enough. This change lets us avoid some unnecessary complexity in the
Makefile.
2022-12-22 16:50:11 +01:00
Samuel Mannehed
c8d37ae8bd
Provide up to date set of apple-touch-icons
...
Apple requires a different set of icons now-a-days. This change involves
removing the 76x76 icon and adding icons with the following sizes;
40, 58, 80, 87, 167 and 180.
2022-12-22 13:15:25 +01:00
Samuel Mannehed
079889a13a
Stop including apple-touch-icons as regular icons
...
These icons are used differently and don't belong in the list of regular
browser icons.
2022-12-22 13:04:03 +01:00
Samuel Mannehed
9649b8ee25
Remove duplicate 48 icon from Android sizes
...
This size is already specified under BROWSER_SIZES.
2022-12-22 13:04:03 +01:00
Samuel Mannehed
034fd376ac
Simplify icon variables by removing the filename
...
The filename is the same for all of these, lets break out that part to
simplify things.
2022-12-22 11:29:10 +01:00
Samuel Mannehed
99a9c03f3c
Rename browser icon variable to reflect use
...
The other variables in the Makefile are named according to how the icons
are used, lets do the same for the variable for the browser icons.
2022-12-22 11:13:20 +01:00
Samuel Mannehed
ec45911456
Don't show virtual keyboard button in webkit
...
Webkit browsers don't support Media Queries 4, which means we have to
use a slightly convoluted syntax when writing "@media not...". Otherwise
the "(any-pointer: coarse)" part evaluates as the device part of the
query.
2022-12-22 10:22:34 +01:00
Dinglan Peng
b776e1495e
Add MSLogonII security type
2022-12-21 15:52:31 -05:00
Samuel Mannehed
4fb2d6c497
Add FIXME for virtual keyboard button on touch
...
The way we decide whether to show the keyboard button or not is not
ideal, let's add a FIXME for that.
2022-12-15 14:33:12 +01:00