Pierre Ossman
7f90205cf2
Add stream avail() methods
...
Makes it more readable to write code that needs to know how much
data/space is available in a stream.
4 years ago
Pierre Ossman
910fd8fa3e
Remove unused stream methods
...
They were accidentally left unused in fbad8a9 so they haven't been used
in some time.
4 years ago
Pierre Ossman
c97828471c
Use proper constants for socket shutdown()
...
For readability.
4 years ago
Pierre Ossman
c5b7137f2b
Flush data on close
...
There might be some final handshake data that is still stuck in the
buffers, so make a best effort attempt at getting it to the client.
4 years ago
Pierre Ossman
a3c0ce55c9
Support calling methods from timers
...
We can't safely use the normal timers in base classes as we cannot
guarantee that subclasses will call the base class' handleTimeout()
properly if the subclass overrides it.
4 years ago
Lauri Kasanen
1632f4888d
Enable basicauth by default, remove the option to supply it on the command line
4 years ago
matt
93d3bf052d
Removed old line
4 years ago
matt
7b3f6876b4
Fixed syntax error
4 years ago
matt
46e03289be
Manually merged region changes
4 years ago
Lauri Kasanen
c3e30dcea1
Add support for DLP_Region
4 years ago
Lauri Kasanen
fed991d697
Return 401 unauth for non-owner trying /api/
4 years ago
Lauri Kasanen
1269fddadf
Add a more specific error for a nonexistent screenshot
4 years ago
Lauri Kasanen
688e749fda
Tentative build fix for newer gccs
4 years ago
Lauri Kasanen
980eedd33b
Add HTTP GET APIs for creating, removing users and giving control
4 years ago
Lauri Kasanen
3f6524ee30
Add support for owner screenshot HTTP GET API
4 years ago
Kasm
784a9c611d
Merge pull request #26 from kasmtech/multiuser_and_new_ui
...
Packaging changes, multiuser passwd, clipboard (UI) changes
4 years ago
Dmitry Maksyoma
05ea1b99ee
Merge branch 'KASM-1298_manually_merge_offline_changes' into multiuser_and_new_ui
4 years ago
Dmitry Maksyoma
101695970b
Reapply "Use crypt_r in threaded code"
4 years ago
Dmitry Maksyoma
6d0a020f4f
Move build-and-test-* to builder/
4 years ago
Dmitry Maksyoma
5e5467a3b0
Add build-and-test-deb and -rpm
...
It builds tarball, deb/rpm pckage, and runs the test image. It doesn't
detect source changes, so it'll always build tarball and the package.
4 years ago
Dmitry Maksyoma
9fb709087d
Add verbose logging via KASMVNC_VERBOSE_LOGGING env var
...
Running "KASMVNC_VERBOSE_LOGGING=1 builder/test-deb debian buster" will
turn on verbose logging of kasmvncserver.
4 years ago
Dmitry Maksyoma
e0c056f36b
Add rw, ro and owner users on container startup
4 years ago
Dmitry Maksyoma
7a1c1edeb4
Deb/rpm: change test user password to "foobar"
...
kasmvncpasswd validates password, so "bar" would be too short.
4 years ago
Dmitry Maksyoma
489c68f7cc
Merge branch 'users' into packages_and_multiuser_passwd
4 years ago
Dmitry Maksyoma
01d448f018
Deb: run test image, instead of just printing command
4 years ago
Kasm
f981b1e88a
Update ui.js
4 years ago
Kasm
e79b454fb5
Merge pull request #22 from kasmtech/create_fedora_package
...
Create fedora package
4 years ago
Lauri Kasanen
59fe8ad9db
kasmvncpasswd: Nicer behavior when piping a password, add example in help
4 years ago
Dmitry Maksyoma
78768d52ff
VNC Docker startup: commented out verbose logging for ease of use
4 years ago
Dmitry Maksyoma
e9626fdacf
VNC Docker startup: use new kasmvncpasswd with multiple users support
4 years ago
Dmitry Maksyoma
9084409a20
Merge branch 'users' into packages_and_multiuser_passwd
4 years ago
Dmitry Maksyoma
a5e3a47f48
Merge branch 'master' into create_fedora_package
4 years ago
Dmitry Maksyoma
fbfdf21612
Deb: Debian Bullseye XFCE works now
4 years ago
Dmitry Maksyoma
d7916b081b
Deb: Kali XFCE works now
4 years ago
Dmitry Maksyoma
fbe05cee86
Fix random 401 Forbidden on Ubuntu 20 and other newer releases
4 years ago
Dmitry Maksyoma
120dcbeaba
Deb: fix code formatting
4 years ago
Lauri Kasanen
6052f28537
Use crypt_r in threaded code
4 years ago
Dmitry Maksyoma
b3ec357e99
Rpm: extract rpm-related install to the spec
4 years ago
Dmitry Maksyoma
a865b6e6eb
Deb/Rpm: all file copying to packages is done in debian/ atm
4 years ago
Dmitry Maksyoma
9301fe9d33
Deb/Rpm: add package description
4 years ago
Dmitry Maksyoma
7f9a50562d
Deb: fix build dependencies install
4 years ago
Dmitry Maksyoma
ece969fd05
Rpm: group kasmvnc -> kasmvnc-cert
...
I feel it'd be confusing to use kasmvnc group to provide access to the
TSL certificate. Groups like that control whether you can run software,
e.g. "docker" group. Using "-cert" clearly shows it's just for
certificate access. Not unlide ssl-cert group in Debian.
4 years ago
Dmitry Maksyoma
969c64ced3
Packages: Ubuntu 20 and Fedora 33 barebones tests
4 years ago
Dmitry Maksyoma
f6e2675c02
Rpm: initial Fedora support
4 years ago
Dmitry Maksyoma
0d62f6b7aa
Rpm: don't use update-alternatives
...
Even if I set rpm as conflicting with TigerVNC, update-alternatives
breaks in post-install. That is because files like /usr/bin/vncserver
are left from TigerVNC, when post-install runs.
So, I chose to use /usr/bin/vncserver without update-alternatives.
4 years ago
Dmitry Maksyoma
9e7d57cc3c
tarball: include Xvnc.1 man page
4 years ago
Dmitry Maksyoma
24ea2d6c45
Deb: switch Buster barebones to use no WM
4 years ago
Dmitry Maksyoma
6575bbe1b3
Rpm: run xterm w/o WM in CentOS 7 barebones test
4 years ago
Kasm
c401a21c7c
Merge pull request #20 from kasmtech/create_ubuntu20_package
...
Debian, Ubuntu, Kali, CentOS support
4 years ago
Dmitry Maksyoma
5159cb9ae1
build-tarball: only rebuild www if it was changed
4 years ago