Commit Graph

558 Commits (4de85acadbabdcebad0f8d8076f6c9f7df6052b0)

Author SHA1 Message Date
Andri Yngvason 4de85acadb Release v0.7.2 2023-11-05 21:18:13 +00:00
Andri Yngvason 2466f3a1d1 Relax auth parameter sanitation
Since more authentication modes have been added, it's no longer a
requirement to have key files set.
2023-11-05 21:15:59 +00:00
Lucas Servén Marín 51d82a183f man: document websocket flag
Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
2023-11-05 21:15:56 +00:00
Andri Yngvason 4a518986b8 Sanitise buffer damage from compositor
Some compositors fail to send properly bounded damage regions. Let's
not crash when that happens.
2023-11-04 23:33:51 +00:00
Andri Yngvason f9b129e096 ctl-server: Add null-check for info.seat 2023-10-14 10:48:25 +00:00
Christopher Snowhill e035f642a6 Add null seat pointer checks 2023-10-14 10:48:07 +00:00
Andri Yngvason 53cc5d185c meson: Bump neatvnc version requirement 2023-10-04 22:52:31 +00:00
Andri Yngvason 6ee3303c68 Release v0.7.0 2023-10-04 22:11:26 +00:00
Andri Yngvason b827af6270 util: valgrind.sh: Find suppressions regardless of current dir 2023-10-03 22:19:22 +00:00
Andri Yngvason 9ff7ba61e2 main: Add rsa to command sanity checker 2023-10-02 22:01:21 +00:00
Andri Yngvason cdeefd0851 Allow use of absolute paths with config relative paths 2023-09-30 10:18:56 +00:00
Andri Yngvason 247dbb38bb README: Use relative paths in config examples 2023-09-29 21:53:29 +00:00
Andri Yngvason afec0e131c man: Document use_relative_paths parameter 2023-09-29 21:53:29 +00:00
Andri Yngvason 6d59ab8323 Add config option to make paths relative to config file 2023-09-29 21:53:29 +00:00
Andri Yngvason 16ff0fa11d README: Document RSA-AES 2023-09-29 21:53:29 +00:00
Andri Yngvason 89e4e8508f man: Add new auth config entries 2023-09-29 21:53:29 +00:00
Andri Yngvason f2c367f191 Use new Neat VNC authentication API 2023-09-29 21:53:29 +00:00
Andri Yngvason 8395f7b106 Add config parameter for RSA private key file 2023-09-29 21:53:29 +00:00
Andri Yngvason 3a01753a22 Add non-tls authentication 2023-09-29 21:53:29 +00:00
MazTheMan ec885cf23d get pixel size from fourcc to calculate pixel stride 2023-09-29 21:48:01 +00:00
Andri Yngvason 8ed08d6f33 main: Use 1 client cleanup function 2023-09-16 10:32:17 +00:00
Andri Yngvason 945f5909d5 README: Remove "installing" section
Wayvnc have been available in most distros for a while now and there's
no need to tell people how to use their package manager.
2023-05-01 17:35:41 +00:00
Andri Yngvason c9a3702940 main: Add websockets 2023-04-30 13:35:51 +00:00
Andri Yngvason d50c616127 Assign clients to unoccupied seats 2023-04-29 20:43:13 +00:00
Andri Yngvason c01e5c6080 seat: Add occupancy count 2023-04-29 19:48:30 +00:00
Andri Yngvason 87c034db43 Add seat name to client-connected event 2023-04-29 19:35:24 +00:00
Andri Yngvason d53a04b5b0 Remove unnecessary copying when listing clients 2023-04-29 19:35:24 +00:00
Andri Yngvason 51f868c6ff Iterate over clients instead of listing
This model avoids memory allocations and allows for re-use of
the info function for client events.
2023-04-29 19:35:24 +00:00
Andri Yngvason 1c9a8c0769 Show seat in client list 2023-04-29 19:35:24 +00:00
Andri Yngvason 4700546026 main: Increase access to per-client seats 2023-04-29 19:35:22 +00:00
Andri Yngvason c29bb465ee Prepare for per-client seats 2023-04-29 19:31:02 +00:00
Andri Yngvason 1635bb5f91 .github: template: bug: Improve clarity 2023-04-23 11:17:46 +00:00
Jim Ramsay 30c5581ce4 Updated documentation for integration tests
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-03-06 06:53:35 -05:00
Jim Ramsay 5f5e5d4b3d test: Add multi-output integration test
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-28 12:20:33 -05:00
Jim Ramsay f56c487456 test: tidy up integration tests
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-28 12:20:33 -05:00
Jim Ramsay 00d7a7bde3 Fix 'wayvncctl wayvnc-exit' return code
When shutting down wayvnc, it is likely the IPC connection will drop
before the IPC response ia received, so count dicsonnection as success.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:33:43 -05:00
Jim Ramsay 88f0571dc3 Harden wayvncctl --reconnect
Required so wayvncctl doesn't exit unexpectedly especially on freebsd.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:01:27 -05:00
Jim Ramsay e3ea6652f0 Harden wayvncctl client json message parsing
This allows proper parsing of back-to-back incoming json
events/responses.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:01:27 -05:00
Jim Ramsay 80c25e7820 Add event check to integration test
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:01:27 -05:00
Jim Ramsay 2ffb5476e2 Add verbosity to integration test timeout loops
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-27 06:01:27 -05:00
Jim Ramsay ba99e7180e Add vncdotool for integration tests
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-26 11:37:55 -05:00
Andri Yngvason 9384bf3819 .github: Add pull request template 2023-02-26 11:21:34 +00:00
Andri Yngvason a8984f40a6 CONTRIBUTING.md: Summarise coding style guide
Hopefully, this should make it easier for people to understand the
style guide.
2023-02-26 10:51:51 +00:00
Andri Yngvason ab1fbdf98a CONTRIBUTING.md: Add extra commit message rule 2023-02-26 09:53:47 +00:00
Andri Yngvason 4700716d00 .github: Add issue templates 2023-02-25 11:52:19 +00:00
Benjamin Richter 78e7e448c6 main: Fix unix-socket option parsing
option_parser_get_value was looking for "unix" instead of "unix-socket" before, so it was impossible to switch to unix socket mode
2023-02-14 19:37:57 +01:00
Jim Ramsay f811beefb3 Update build deps for fedora
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-02-08 22:02:03 -05:00
Michael Vetter 5ac05ac574 Add packaging status badge to README 2023-01-29 22:12:51 +00:00
Jim Ramsay 496439c64b Fix indenting and unlicense example scripts
Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-29 09:17:00 -05:00
Jim Ramsay ba91cbd71f Add initial integration test to CI
The integration test spins up a headless sway, and wayvnc, and exercises
a handful of wayvncctl commands to ensure both wayvnc and wayvncctl
retain basic functionality.

Signed-off-by: Jim Ramsay <i.am@jimramsay.com>
2023-01-29 09:09:06 -05:00