Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
785 commits
Select commit Hold shift + click to select a range
0dd9678
Harmonise extended clipboard tests
CendioOssman May 13, 2023
775ccaa
Handle immediate responses in RSA-AES authentication
CendioOssman May 14, 2023
9b115a4
Send ArrayBuffer, not Uint8Array in tests
CendioOssman May 15, 2023
da75689
Fix data for empty RRE rect test
CendioOssman May 15, 2023
3ef57d1
Fix security to authentication state test
CendioOssman May 16, 2023
cd231e5
Don't overwrite methods with spies
CendioOssman May 16, 2023
c7c2932
Remove commented out Tight test case
CendioOssman May 16, 2023
29a5062
Avoid touching internals in Tight auth tests
CendioOssman May 16, 2023
0679c8a
Test credentials using normal API
CendioOssman May 16, 2023
79f0991
Split Plain authentication tests to own section
CendioOssman May 16, 2023
71bb6f0
Fix Plain authentication test checks
CendioOssman May 16, 2023
0ee0e96
Fix ARD authentication test to send real data
CendioOssman May 16, 2023
458405e
Merge RSA-AES tests in to RFB tests
CendioOssman May 14, 2023
afbb1da
Remove custom RSA-AES event
CendioOssman May 16, 2023
42bc251
Make RSA-AES tests more asynchronous
CendioOssman May 19, 2023
549ccc7
Split RSA-AES test data
CendioOssman May 17, 2023
13fa6b5
Fix last rect test
CendioOssman May 22, 2023
0c80c68
Avoid hooking in to RFB._fail for tests
CendioOssman May 22, 2023
336ec86
Remove internal monitoring from Plain tests
CendioOssman May 23, 2023
e07ca6a
Fix Websock send tests
CendioOssman May 28, 2023
9c7576a
Remove bad Websock mock in tests
CendioOssman May 29, 2023
9e02f4d
Return a copy of the data from FakeWebSocket
CendioOssman May 29, 2023
8ae789d
Add missing tests for message encodings
CendioOssman May 30, 2023
d33f5ce
Make extended clipboard tests independent
CendioOssman May 30, 2023
eb0ad82
Check that decoders consume all data
CendioOssman Jun 3, 2023
e8ad466
Merge branch 'testsfix' of github.com:CendioOssman/noVNC
CendioOssman Jun 4, 2023
87143b3
Reduce kept state in JPEG decoder
CendioOssman May 15, 2023
ae9b042
Change rQslice() to rQpeekBytes()
CendioOssman May 11, 2023
fb3c8f6
Switch Display.flush() to use a promise
CendioOssman May 11, 2023
0180bc8
Stop direct access to socket buffer
CendioOssman May 11, 2023
55ffe8f
Stop exposing Websock queue length
CendioOssman May 14, 2023
e01dd27
Remove Websock implicit read length
CendioOssman May 14, 2023
aaa4eb8
Use proper socket helpers for FBU header
CendioOssman Jun 4, 2023
d0203a5
Always return copy of data from socket
CendioOssman May 16, 2023
0ccc679
Return unsigned values from rQshift32()
CendioOssman Jun 4, 2023
12d2e78
Properly decode ExtendedDesktopSize fields
CendioOssman Jun 4, 2023
45cedea
Don't send SetDesktopSize too early
CendioOssman Jun 4, 2023
2a7db6f
Make ExtendedDesktopSize tests more realistic
CendioOssman Jun 4, 2023
b298bf9
Don't split large WebSocket data in tests
CendioOssman Jun 4, 2023
b146de6
Avoid internal variables in recv queue tests
CendioOssman Jun 4, 2023
3fc0cb0
Remove Base64 WebSocket remnants
CendioOssman May 15, 2023
7356d4e
Move WebSocket queue index reset to receive
CendioOssman May 21, 2023
f8b65f9
Add Websock send queue helpers
CendioOssman May 28, 2023
ccef89f
Implicitly flush Websock if needed
CendioOssman May 30, 2023
ca6527c
Merge branch 'websock' of https://github.com/CendioOssman/noVNC
CendioOssman Jun 30, 2023
a30f609
Don't crash if we can't use localStorage
samhed Nov 2, 2022
295004c
Merge pull request #1710 from novnc/localStorage
samhed Jul 18, 2023
01bb36d
Use proper argument to deflateInit()
CendioOssman Aug 29, 2023
b40a45a
Remove unused argument to inflateInit()
CendioOssman Aug 29, 2023
e81602d
Fix zlib level change in clipboard tests
CendioOssman Aug 29, 2023
72f6810
Correctly handle "none" auth on old servers
CendioOssman Sep 7, 2023
370f21b
Correctly handle legacy security rejections
CendioOssman Sep 7, 2023
bf12c24
Fix bad indentation
CendioOssman Sep 7, 2023
a0b7c0d
Add QEMU Led Pseudo encoding support
otthou Jul 26, 2023
85a4652
Merge branch 'qemu_ledstate_pseudo_encoding' of https://github.com/ot…
CendioOssman Sep 29, 2023
f117402
Add the possibility to listen on a specific host
afbjorklund Oct 11, 2023
a792b7f
Document default port applies to all interfaces
afbjorklund Oct 14, 2023
5ebc297
Remove comment about websockify command arguments
afbjorklund Oct 14, 2023
7d2dad0
Merge branch 'listen-host' of https://github.com/afbjorklund/noVNC
CendioOssman Oct 27, 2023
9ac632d
Handle immediate connection errors
CendioOssman Dec 5, 2023
829725b
Handle relative paths in novnc_proxy
CendioOssman Dec 5, 2023
796e924
Remove unused npm dependencies
CendioOssman Jan 10, 2024
d3aaf4d
Upgrade base snap to Ubuntu 22.04
CendioOssman Jan 10, 2024
b35cf6d
Don't include ES6 module versions in npm package
CendioOssman Jan 17, 2024
fca48df
Increase test timeout for Chrome on Windows
CendioOssman Jan 19, 2024
ab2fd41
Handle broken Oculus browser keyboard events
CendioOssman Jan 23, 2024
48c8e41
Fix key event debug output
CendioOssman Jan 23, 2024
bd32922
Avoid exception when cursor was removed from DOM already
sbungartz Jan 31, 2024
e75938b
Make non-HTTPS message more harsh
samhed Feb 2, 2024
60643fe
Update github actions to latest versions
CendioOssman Feb 5, 2024
cd92772
Fix import of "commander"
CendioOssman Feb 5, 2024
65e9ecd
Merge branch 'actions' of github.com:CendioOssman/noVNC
CendioOssman Feb 5, 2024
786aba6
Merge pull request #1834 from sbungartz/avoid-exception-when-disconne…
samhed Feb 22, 2024
9a1b1f0
Clipboard: handle multiple CR+LF
Mar 25, 2024
92c8a91
Update zh_CN.po (#1851)
SuperHuangXu Apr 24, 2024
9d293f1
Updated el.po
kosmasgiannis Apr 24, 2024
c998c72
Merge pull request #1853 from kosmasgiannis/gr20240424
samhed Apr 26, 2024
8d1b665
Migrate deprecated eslint config to to new format
samhed Apr 22, 2024
10ee10c
Cleanup "no-console" eslint rules
samhed Apr 30, 2024
c187b2e
Implement gradient filter of tight decoder, fixing issue #1767
mentha May 2, 2024
d80e3bf
Add unit tests for Tight gradient filter
CendioOssman May 16, 2024
fc11b9d
Remove Twitter links
CendioOssman Jun 3, 2024
f28e9da
Update translation template file
CendioOssman Jun 3, 2024
68e09ee
Upgrade to websockify 0.12.0 in snap package
CendioOssman Jun 3, 2024
aead0b2
noVNC 1.5.0 beta
CendioOssman Jun 3, 2024
fb1817c
Remove Chrome timeout workaround
CendioOssman Jun 13, 2024
1a62eb7
Don't include missing translation in .js
CendioOssman Jun 18, 2024
7f364a1
Update Swedish translation
CendioOssman Jun 18, 2024
aaadec4
Update json files for new translations
CendioOssman Jun 18, 2024
7fcf9dc
noVNC 1.5.0
CendioOssman Jun 18, 2024
1230a4c
Use theme-color to color address bar in browsers
samhed Jul 22, 2024
6c07136
Interrupt AltGr sequence detection on focus lost, fixes #1880
leedagee Jul 31, 2024
bc31e4e
Stop creating sinon sandbox early
CendioOssman Aug 5, 2024
1b2fe33
Manually load sinon and chai
CendioOssman Aug 5, 2024
a020ef0
Merge branch 'altgr-seq-interrupt' of https://github.com/leedagee/noVNC
CendioOssman Aug 5, 2024
06f14a5
Add test for AltGr abort on blur
CendioOssman Aug 5, 2024
074fa1a
Let browser construct URL string for us
CendioOssman Aug 8, 2024
96c76f7
Allow relative WebSocket URLs
CendioOssman Aug 8, 2024
9334c68
Handle all settings via UI.getSetting()
CendioOssman Jun 26, 2020
c6606a5
Merge UI startup in to a single routine
CendioOssman Jun 26, 2020
84897fd
Handle disabling settings without label
CendioOssman Jun 26, 2020
c6c8e5e
Add Zlib encoding
markpeek Aug 15, 2024
d106b7a
Add H.264 decoder
any1 Jun 29, 2024
bbb6a5b
Fix host and port via query string
CendioOssman Aug 19, 2024
c1bba97
Add unit tests for H.264 decoder
any1 Aug 11, 2024
a446551
Fix sQpushBytes sending the beginning of the array multiple times
Bobini1 Aug 23, 2024
ffb4c0b
Let fake WebSocket handle large sends
CendioOssman Aug 29, 2024
50e4685
Fix tests for large WebSocket sends
CendioOssman Aug 29, 2024
047531e
Merge branch 'webcodec-h264' of https://github.com/any1/noVNC
CendioOssman Aug 29, 2024
438e5b3
Make it easier for downstream to modify settings
CendioOssman Jun 26, 2020
28d4020
Load settings from web server
CendioOssman Aug 8, 2024
ed1fef4
Merge branch 'ui_init' of github.com:CendioOssman/noVNC
CendioOssman Oct 9, 2024
88a5a59
Fix typos in Russian translation
dim5x Nov 2, 2024
43326eb
Fix handling of VideoDecoder.isConfigSupported()
CendioOssman Nov 20, 2024
89e0591
Use common H.264 check in tests
CendioOssman Nov 20, 2024
69750c7
Raise JavaScript version requirement
CendioOssman Nov 21, 2024
3677afe
Do a real H.264 test decode to determine support
CendioOssman Nov 21, 2024
a89dfd6
Handle exceptions from VideoDecoder.flush()
CendioOssman Nov 21, 2024
2463ccd
Detect broken Firefox H.264 decoder
CendioOssman Nov 21, 2024
90a6c7b
Update zh_CN.po
wxtewx Nov 23, 2024
7f5b51a
Consistently use "sentence case" style
CendioOssman Nov 27, 2024
7335bb4
Also adjust to "sentence case" in translations
CendioOssman Nov 27, 2024
52ddb20
Merge branch 'master' of https://github.com/wxtewx/noVNC
CendioOssman Nov 27, 2024
52392ec
Update Japanese translation
nnn1590 Dec 14, 2024
3e2e04b
Replace node-getopt with commander for args
CendioOssman Dec 17, 2024
673cb34
Replace po2json with pofile
CendioOssman Dec 17, 2024
e6e03a2
Fix resizes back to initial remote session size
samhed Dec 27, 2024
3193f80
Comment different resize functions in rfb.js
samhed Dec 27, 2024
4bbed1d
Standardize on 4 space-indentation in CSS files
samhed Jan 11, 2025
bf245da
Increase padding of buttons and inputs
samhed Jan 11, 2025
72cac2e
Add margin between label and input in noVNC_panel
samhed Jan 11, 2025
7603ced
Create CSS variables for common noVNC-colors
samhed Jan 11, 2025
7a4d1a8
Move mouse event help functions to broader scope
CendioHalim Jan 9, 2025
de9d688
Add unit test for wheel + buttons pressed
CendioHalim Jan 10, 2025
db22ec6
Split button click with dragging test
CendioHalim Jan 9, 2025
c3934e0
Move mouse move flushing to separate function
CendioHalim Jan 14, 2025
dce8ab3
Dispatch mouse events in dragging unit tests
CendioHalim Jan 9, 2025
31d6a77
Check for correct button events in dragging tests
CendioHalim Jan 10, 2025
ea057d0
Move gesture event help functions to broader scope
CendioHalim Jan 10, 2025
f9eb476
Add tests for dragging with gestures
CendioHalim Jan 14, 2025
b9230cf
Use MouseEvent.buttons for button state tracking
CendioHalim Nov 29, 2024
d1548c1
Don't send mouse events when dragging viewport
CendioHalim Jan 13, 2025
6383fa6
Flush mouseMove when initiating viewport dragging
CendioHalim Jan 14, 2025
9cdbd28
Merge branch 'mouse-buttonstate-remove' of https://github.com/CendioH…
CendioOssman Jan 14, 2025
e8602f2
Move sendFbuMsg() to broader scope
CendioHalim Jan 14, 2025
e081d14
Add support for forward and back mouse buttons
CendioHalim Jan 9, 2025
c7bd247
Merge branch 'extra-mouse-buttons' of https://github.com/CendioHalim/…
CendioOssman Jan 15, 2025
83a5e9e
Also test Ctrl+AltGr, as that is what browsers use
CendioOssman Jan 15, 2025
4f284c2
Remove bold styling tags in vnc.html
CendioZeijlon Jan 17, 2025
ca270ef
Standardize on 6px or 12px border-radius
samhed Jan 11, 2025
e9b48ae
Get rid of gradients on buttons and inputs
samhed Jan 12, 2025
3f29c9d
Differentiate buttons from text inputs
samhed Jan 12, 2025
e1208b0
Redesign select dropdown arrow
samhed Jan 12, 2025
633b4c2
Redesign checkboxes and radiobuttons
samhed Jan 12, 2025
7fdcc66
Add indeterminate styling to checkboxes and radios
samhed Jan 12, 2025
017888c
Rework how buttons react to :hover and :active
samhed Jan 12, 2025
33a2548
Make buttons flat by removing borders
samhed Jan 12, 2025
30d46a0
Fix :disabled styling of file-selector-button
samhed Jan 12, 2025
ee08032
Put specific :disabled rules with its element
samhed Jan 12, 2025
e092f06
Move general :disabled rules to common top section
samhed Jan 12, 2025
d819985
Support 'disabled' attribute on labels
samhed Jan 12, 2025
1c45fd8
Capitalize CSS section headings
samhed Jan 12, 2025
91cd920
Keep CSS for different input elements together
samhed Jan 12, 2025
f0ec3d6
Avoid 2 borders when focus-visible on text inputs
samhed Jan 12, 2025
deb76f9
Add some sane default CSS for textareas
samhed Jan 12, 2025
28e1717
Remove number picker's increase/decrease buttons
samhed Jan 12, 2025
a2352b9
Standardize on ellipsis-type text-overflow
samhed Jan 12, 2025
7b58cb9
Add minimum width to buttons
samhed Jan 12, 2025
54e7681
Pointer cursor on buttons & grab on sliders
samhed Jan 12, 2025
2bc5057
Add styling for color pickers
samhed Jan 12, 2025
331ad34
Make interface airier by increasing line-height
samhed Jan 12, 2025
24f99e5
Add styling for toggle switches
samhed Jan 13, 2025
6c1e7bc
Utilize toggle switch in settings
samhed Jan 13, 2025
3a5dd22
Add styling for checked options in select boxes
samhed Jan 13, 2025
20611b6
Add styling for multi-select lists
samhed Jan 13, 2025
abe3c7b
Make range slider thumbs circular
samhed Jan 13, 2025
8800923
Only color the left part of the range track
samhed Jan 13, 2025
4ab4286
Make text in panel headings bold
samhed Jan 13, 2025
b5675bb
Fix spacing between elements in dialogs
samhed Jan 13, 2025
6db9dbc
Tweak design of noVNC connect button
samhed Jan 14, 2025
14f9ea5
Fix settings panel layout on small screens
samhed Jan 16, 2025
237a34d
Add exceptions for CSS validator false positives
samhed Jan 23, 2025
24835bd
Make the background of expanded settings lighter
samhed Jan 23, 2025
9f727b7
Merge branch 'ui_refresh'
CendioZeijlon Jan 28, 2025
b9f172d
Update README.md with ExtendedMouseButtons feature
CendioZeijlon Jan 28, 2025
4e410a0
Use less technical phrasing in README
samhed Feb 4, 2025
bbbef2d
Add helper for ExtendedDesktopSize in tests
CendioOssman Feb 5, 2025
70446bf
Make resizeSession setting test more realistic
CendioOssman Feb 5, 2025
c821783
Include SetDesktopSize responses in tests
CendioOssman Feb 5, 2025
0b5e968
Better resize rate limiting
CendioOssman Feb 5, 2025
bb797dc
Merge branch 'resize' of https://github.com/CendioOssman/noVNC
CendioOssman Feb 6, 2025
7ee7922
chore: fix some typos
tianzedavid Feb 12, 2025
d5315eb
Merge pull request #1934 from tianzedavid/master
CendioZeijlon Feb 14, 2025
e8030a9
Update translation template file
CendioZeijlon Feb 14, 2025
09fc4f7
Update Swedish translations
CendioZeijlon Feb 14, 2025
c3b8cbd
Update README.md with H.264 encoding support
CendioZeijlon Feb 14, 2025
b45f35c
noVNC 1.6.0 beta
CendioZeijlon Feb 14, 2025
b25675e
Upgrade to websockify 0.13.0 in snap package
CendioZeijlon Feb 28, 2025
045a0ba
Let browser handle parsing of URLs before relaying
CendioZeijlon Mar 10, 2025
59b674d
Merge branch 'fix-sub-url-query'
CendioZeijlon Mar 12, 2025
6002d57
Update French translation
voilier-martineke Feb 17, 2025
09440da
Update Dutch translation
haroldh Mar 3, 2025
3947b4c
Update generated json files for new translations
CendioZeijlon Mar 12, 2025
a8dfd6a
noVNC 1.6.0
CendioZeijlon Mar 12, 2025
f0a39cd
Fix appearance of extra key buttons
samhed Mar 24, 2025
6010c9d
Update comment reference missed in previous commit
samhed Mar 24, 2025
1546535
Only include valid translations in .json files
CendioOssman Mar 13, 2025
8edb3d2
Close VideoFrame after H.264 detection
CendioOssman Apr 8, 2025
980a49e
Fix typo in error-handler.js
liaopeiyuan Apr 10, 2025
6f9edb1
Fix typo in Portuguese translation for "Show extra keys"
Leostruka Apr 12, 2025
d7a3773
Merge branch 'master' of github.com:Leostruka/noVNC
CendioZeijlon Apr 15, 2025
a22857c
Document new behaviour of host/port/encrypt/path
CendioOssman Apr 28, 2025
88749fc
Document new JSON settings files
CendioOssman Apr 28, 2025
243d7fd
Disable setting showDotCursor in RFB constructor
CendioZeijlon May 7, 2025
4cb5aa4
Merge branch 'obsolete-showDotCursor-rfb-option' of github.com:ThinLi…
CendioZeijlon May 7, 2025
e4def7f
Add Croatian translation
milotype Aug 25, 2025
d49d2b3
Use Croatian translations
CendioZeijlon Sep 5, 2025
8ebd9dd
Fix broken Chai import
CendioZeijlon Sep 8, 2025
23b7219
Drop Image data once rendered
CendioOssman Sep 10, 2025
d5b18a8
Expose length of buffered WebSocket data
CendioOssman Sep 3, 2025
356eab4
Scan all buffered data looking for JPEG end
CendioOssman Sep 3, 2025
6cf0204
Remove deprecated "directories" entry
elikoga May 6, 2025
fe29dc6
Convert NPM bundle to ES-Module format
elikoga May 6, 2025
44b7489
Merge branch 'switch-to-es-module-publish-and-use-exports' of github.…
CendioOssman Sep 15, 2025
cf6fe10
Add Hungarian translation
Oct 8, 2025
eaf5b70
Remove obsolete checks in novnc_proxy
CendioZeijlon Oct 20, 2025
71d0bfa
Use bash's type command to find websockify
CendioZeijlon Oct 20, 2025
f5a4eed
Add permissions-exclusive async clipboard
Jun 10, 2025
d9b45d3
Disable clipboard button with async clipboard
Sep 12, 2025
3d5698c
Add async clipboard module to internal API docs
Jun 11, 2025
fb7e891
Merge branch 'clipboard-async' of https://github.com/tobfah/noVNC
CendioZeijlon Oct 22, 2025
91d1210
Merge branch 'master' of https://github.com/Deni42/noVNC
CendioZeijlon Oct 30, 2025
63c2c14
Display warning prompt before closing tab
Oct 27, 2025
9d77c80
Update translation template file
CendioZeijlon Oct 31, 2025
c2d8973
Update Swedish translation
CendioZeijlon Oct 31, 2025
b29cc64
Allow publishing to npmjs.com with OIDC
CendioZeijlon Nov 3, 2025
99865e5
Stop using access tokens when publishing to npmjs
CendioZeijlon Nov 3, 2025
e03a54e
Publish with latest npm version
CendioZeijlon Nov 3, 2025
d3d69a8
Use Node version 24 when publishing to npmjs
CendioZeijlon Nov 3, 2025
fb97e0f
Remove showDotCursor from docs/API.md
CendioZeijlon Nov 4, 2025
d44f7e0
Remove show_dot from docs/EMBEDDING.md
CendioZeijlon Nov 4, 2025
b6136b5
Translate to Ukrainian
nykula Nov 22, 2025
8341fdf
Add wakelock support
tsukasa-au Sep 12, 2025
077c54f
Add error state for wakelock testing.
tsukasa-au Sep 12, 2025
f4f2f8d
Expose WakeLockManager state transitions for tests
tsukasa-au Sep 12, 2025
988e9da
Add tests for the wakelock feature.
tsukasa-au Sep 12, 2025
ef32570
Fix comment typo in display.js
MantriHimaVamshi-AidenAI Jan 5, 2026
40cc574
Merge pull request #1984 from tsukasa-au/add-wakelock-support
samhed Jan 10, 2026
d1a1244
Merge pull request #2029 from nykula/nykula-patch-1
samhed Jan 10, 2026
6d0a974
Merge pull request #2035 from MantriHimaVamshi-AidenAI/patch-1
samhed Jan 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

48 changes: 0 additions & 48 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ about: Create a report to help us improve
**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
**To reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
Expand Down
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Question or discussion
url: https://groups.google.com/forum/?fromgroups#!forum/novnc
about: Ask a question or start a discussion
97 changes: 97 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Publish

on:
push:
pull_request:
release:
types: [published]

jobs:
npm:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- run: |
GITREV=$(git rev-parse --short HEAD)
echo $GITREV
sed -i "s/^\(.*\"version\".*\)\"\([^\"]\+\)\"\(.*\)\$/\1\"\2-g$GITREV\"\3/" package.json
if: github.event_name != 'release'
- uses: actions/setup-node@v4
with:
# Node 24 is needed to get npm > 11.5.1, which is a requirement for
# OIDC auth.
node-version: 24
# Needs to be explicitly specified for auth to work
registry-url: 'https://registry.npmjs.org'
- run: npm install
- uses: actions/upload-artifact@v4
with:
name: npm
path: lib
- run: npm publish --access public
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'release' &&
!github.event.release.prerelease
- run: npm publish --access public --tag beta
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'release' &&
github.event.release.prerelease
- run: npm publish --access public --tag dev
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'push' &&
github.event.ref == 'refs/heads/master'
snap:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
GITREV=$(git rev-parse --short HEAD)
echo $GITREV
sed -i "s/^\(.*\"version\".*\)\"\([^\"]\+\)\"\(.*\)\$/\1\"\2-g$GITREV\"\3/" package.json
if: github.event_name != 'release'
- run: |
VERSION=$(grep '"version"' package.json | cut -d '"' -f 4)
echo $VERSION
sed -i "s/^version:.*/version: '$VERSION'/" snap/snapcraft.yaml
- uses: snapcore/action-build@v1
id: snapcraft
- uses: actions/upload-artifact@v4
with:
name: snap
path: ${{ steps.snapcraft.outputs.snap }}
- uses: snapcore/action-publish@v1
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: stable
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'release' &&
!github.event.release.prerelease
- uses: snapcore/action-publish@v1
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: beta
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'release' &&
github.event.release.prerelease
- uses: snapcore/action-publish@v1
with:
snap: ${{ steps.snapcraft.outputs.snap }}
release: edge
env:
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_LOGIN }}
if: |
github.repository == 'novnc/noVNC' &&
github.event_name == 'push' &&
github.event.ref == 'refs/heads/master'
19 changes: 19 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Lint

on: [push, pull_request]

jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: npm run lint
html:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: git ls-tree --name-only -r HEAD | grep -E "[.](html|css)$" | xargs ./utils/validate
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test

on: [push, pull_request]

jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
- windows-latest
browser:
- ChromeHeadless
- FirefoxHeadless
include:
- os: macos-latest
browser: Safari
- os: windows-latest
browser: EdgeHeadless
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: npm run test
env:
TEST_BROWSER_NAME: ${{ matrix.browser }}
15 changes: 15 additions & 0 deletions .github/workflows/translate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Translate

on: [push, pull_request]

jobs:
translate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm update
- run: sudo apt-get install gettext
- run: make -C po update-pot
- run: make -C po update-po
- run: make -C po update-js
59 changes: 0 additions & 59 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
maintainers:
- Joel Martin (@kanaka)
- Solly Ross (@directxman12)
- Samuel Mannehed for Cendio AB (@samhed)
- Pierre Ossman for Cendio AB (@CendioOssman)
maintainersEmeritus:
- Joel Martin (@kanaka)
- Solly Ross (@directxman12)
- @astrand
contributors:
# There are a bunch of people that should be here.
Expand Down
8 changes: 1 addition & 7 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
noVNC is Copyright (C) 2018 The noVNC Authors
noVNC is Copyright (C) 2022 The noVNC authors
(./AUTHORS)

The noVNC core library files are licensed under the MPL 2.0 (Mozilla
Expand Down Expand Up @@ -42,12 +42,6 @@ licenses (all MPL 2.0 compatible):

vendor/pako/ : MIT

vendor/browser-es-module-loader/src/ : MIT

vendor/browser-es-module-loader/dist/ : Various BSD style licenses

vendor/promise.js : MIT

Any other files not mentioned above are typically marked with
a copyright/license header at the top of the file. The default noVNC
license is MPL-2.0.
Expand Down
Loading