Commit Graph

562 Commits

Author SHA1 Message Date
Lauri Kasanen
fed991d697 Return 401 unauth for non-owner trying /api/ 2021-03-04 13:59:29 +02:00
Lauri Kasanen
1269fddadf Add a more specific error for a nonexistent screenshot 2021-03-04 13:43:05 +02:00
Dmitry Maksyoma
56ed2855bd Testing: keep foo-owner as -o and -w
Changing permissions to just -w removed -o.
2021-03-04 23:22:28 +13:00
Lauri Kasanen
688e749fda Tentative build fix for newer gccs 2021-03-03 15:33:58 +02:00
Lauri Kasanen
980eedd33b Add HTTP GET APIs for creating, removing users and giving control 2021-03-03 14:55:14 +02:00
Dmitry Maksyoma
43658a27f7 Deb: provide an easy way to start KasmVNC with default options
...via kasmvncserver-start.
2021-03-03 23:27:02 +13:00
Dmitry Maksyoma
e61885a448 Deb: remove obsolete code 2021-03-03 23:09:52 +13:00
Dmitry Maksyoma
8eb7e06d6c Deb: update Debian Buster barebones test to work 2021-03-03 22:47:48 +13:00
Dmitry Maksyoma
62eae815b6 Remove obsolete comment 2021-03-03 22:04:09 +13:00
Lauri Kasanen
3f6524ee30 Add support for owner screenshot HTTP GET API 2021-03-02 15:23:32 +02:00
Kasm
784a9c611d
Merge pull request #26 from kasmtech/multiuser_and_new_ui
Packaging changes, multiuser passwd, clipboard (UI) changes
2021-03-01 10:46:20 -05:00
Dmitry Maksyoma
05ea1b99ee Merge branch 'KASM-1298_manually_merge_offline_changes' into multiuser_and_new_ui 2021-02-28 22:55:47 +13:00
Dmitry Maksyoma
101695970b Reapply "Use crypt_r in threaded code" 2021-02-28 22:53:06 +13:00
Dmitry Maksyoma
6d0a020f4f Move build-and-test-* to builder/ 2021-02-28 21:28:14 +13:00
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.
2021-02-28 21:24:59 +13:00
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.
2021-02-28 21:21:49 +13:00
Dmitry Maksyoma
e0c056f36b Add rw, ro and owner users on container startup 2021-02-28 21:03:02 +13:00
Dmitry Maksyoma
7a1c1edeb4 Deb/rpm: change test user password to "foobar"
kasmvncpasswd validates password, so "bar" would be too short.
2021-02-28 20:48:17 +13:00
Dmitry Maksyoma
489c68f7cc Merge branch 'users' into packages_and_multiuser_passwd 2021-02-28 19:50:27 +13:00
Dmitry Maksyoma
01d448f018 Deb: run test image, instead of just printing command 2021-02-28 19:46:18 +13:00
Kasm
f981b1e88a
Update ui.js 2021-02-26 10:10:00 -05:00
Kasm
e79b454fb5
Merge pull request #22 from kasmtech/create_fedora_package
Create fedora package
2021-02-25 07:27:24 -05:00
Lauri Kasanen
59fe8ad9db kasmvncpasswd: Nicer behavior when piping a password, add example in help 2021-02-25 13:15:02 +02:00
Dmitry Maksyoma
78768d52ff VNC Docker startup: commented out verbose logging for ease of use 2021-02-25 23:14:50 +13:00
Dmitry Maksyoma
e9626fdacf VNC Docker startup: use new kasmvncpasswd with multiple users support 2021-02-25 23:13:32 +13:00
Dmitry Maksyoma
9084409a20 Merge branch 'users' into packages_and_multiuser_passwd 2021-02-25 22:10:40 +13:00
Dmitry Maksyoma
a5e3a47f48 Merge branch 'master' into create_fedora_package 2021-02-25 22:00:38 +13:00
Dmitry Maksyoma
fbfdf21612 Deb: Debian Bullseye XFCE works now 2021-02-25 21:58:10 +13:00
Dmitry Maksyoma
d7916b081b Deb: Kali XFCE works now 2021-02-25 21:33:38 +13:00
Dmitry Maksyoma
fbe05cee86 Fix random 401 Forbidden on Ubuntu 20 and other newer releases 2021-02-25 21:23:21 +13:00
Dmitry Maksyoma
120dcbeaba Deb: fix code formatting 2021-02-25 21:22:56 +13:00
Lauri Kasanen
6052f28537 Use crypt_r in threaded code 2021-02-24 14:46:48 +02:00
Dmitry Maksyoma
b3ec357e99 Rpm: extract rpm-related install to the spec 2021-02-24 22:53:43 +13:00
Dmitry Maksyoma
a865b6e6eb Deb/Rpm: all file copying to packages is done in debian/ atm 2021-02-24 21:20:33 +13:00
Dmitry Maksyoma
9301fe9d33 Deb/Rpm: add package description 2021-02-24 21:19:49 +13:00
Dmitry Maksyoma
7f9a50562d Deb: fix build dependencies install 2021-02-24 21:16:53 +13:00
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.
2021-02-22 22:28:30 +13:00
Dmitry Maksyoma
969c64ced3 Packages: Ubuntu 20 and Fedora 33 barebones tests 2021-02-22 21:25:02 +13:00
Dmitry Maksyoma
f6e2675c02 Rpm: initial Fedora support 2021-02-22 21:24:16 +13:00
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.
2021-02-22 21:21:21 +13:00
Dmitry Maksyoma
9e7d57cc3c tarball: include Xvnc.1 man page 2021-02-19 22:58:38 +13:00
Dmitry Maksyoma
24ea2d6c45 Deb: switch Buster barebones to use no WM 2021-02-18 22:32:09 +13:00
Dmitry Maksyoma
6575bbe1b3 Rpm: run xterm w/o WM in CentOS 7 barebones test 2021-02-18 22:00:34 +13:00
Kasm
c401a21c7c
Merge pull request #20 from kasmtech/create_ubuntu20_package
Debian, Ubuntu, Kali, CentOS support
2021-02-17 08:25:01 -05:00
Dmitry Maksyoma
5159cb9ae1 build-tarball: only rebuild www if it was changed 2021-02-16 22:21:48 +13:00
Dmitry Maksyoma
7bcf8ebf1f Update GitLab pipeline to use new build/ structure 2021-02-14 19:20:13 +13:00
Dmitry Maksyoma
c151f479f4 Merge branch 'master' into create_ubuntu20_package 2021-02-14 18:59:53 +13:00
Dmitry Maksyoma
4f561568a3 Rpm: make rpmlint happier 2021-02-12 23:07:53 +13:00
Dmitry Maksyoma
0aeffaf2ef Rpm: run rpmlint after building rpm 2021-02-12 23:07:03 +13:00
Dmitry Maksyoma
0d0f8afceb Update FSF address in licences to please rpmlint 2021-02-12 23:06:40 +13:00