Commit Graph

223 Commits (fde088ce65b977bc504e09f56119ffa20dba7596)
 

Author SHA1 Message Date
Pierre Ossman fde088ce65 Improved bandwidth monitoring
Now measures over an entire update, which should hopefully give us more
stable values. They are still small values for fast networks though so
increase precision in the values we keep.
4 years ago
Pierre Ossman a55f142c98 Don't shuffle input buffer unless actually needed 4 years ago
Pierre Ossman 25995e2490 Remove unused bufSize argument from streams 4 years ago
Pierre Ossman 281d65292a Remove special functions from JPEG compressor
We can do what we want with the standard methods.
4 years ago
Pierre Ossman 57a3c3bba8 Simplify stream availability handling
Just have a simply number of bytes argument to avoid a lot of
complexity.
4 years ago
Pierre Ossman 92c7695981 Create common base classes for buffered streams
Most streams are backed by a memory buffer. Create common base classes
for this functionality to avoid code duplication.
4 years ago
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