From 96476044387e98ee1ee7a6eb992b521bd447813c Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 3 Mar 2023 16:55:33 +0100 Subject: Renamed whiteboard to webchat --- debian/README.Debian | 32 ++++++++-------- debian/changelog | 74 +----------------------------------- debian/control | 15 ++++---- debian/rules | 4 +- debian/webchat.conf | 34 +++++++++++++++++ debian/webchat.dirs | 1 + debian/webchat.docs | 1 + debian/webchat.webchat.service | 13 +++++++ debian/whiteboard.conf | 34 ----------------- debian/whiteboard.dirs | 1 - debian/whiteboard.docs | 1 - debian/whiteboard.whiteboard.service | 13 ------- 12 files changed, 77 insertions(+), 146 deletions(-) create mode 100644 debian/webchat.conf create mode 100644 debian/webchat.dirs create mode 100644 debian/webchat.docs create mode 100644 debian/webchat.webchat.service delete mode 100644 debian/whiteboard.conf delete mode 100644 debian/whiteboard.dirs delete mode 100644 debian/whiteboard.docs delete mode 100644 debian/whiteboard.whiteboard.service (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian index 7450383..e683b0c 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -1,45 +1,45 @@ -whiteboard for Debian -===================== +webchat for Debian +================== -This package is the Debian version of whiteboard. +This package is the Debian version of webchat. It is a websocket application communicating to a webserver, e.g. Reichwein.IT webserver. -Via cron or systemd, whiteboard data in /var/lib/whiteboard is cleaned up once a day. -Data location and maximum data age can be configured via /etc/whiteboard.conf. +Via cron or systemd, webchat data in /var/lib/webchat is cleaned up once a day. +Data location and maximum data age can be configured via /etc/webchat.conf. Configuration ------------- -* You can add this to /etc/webserver.conf +* You can add this to /etc/webchat.conf - + static-files - /usr/lib/whiteboard/html + /usr/lib/webchat/html - + websocket - 127.0.0.1:9014 + 127.0.0.1:9015 -* Edit /etc/whiteboard.conf to adjust the whiteboard data path if different - from /var/lib/whiteboard +* Edit /etc/webchat.conf to adjust the webchat data path if different + from /var/lib/webchat * Enable: - # systemctl enable whiteboard.service + # systemctl enable webchat.service * Start: - # systemctl start whiteboard + # systemctl start webchat * Stop: - # systemctl stop whiteboard + # systemctl stop webchat * Query Status: - # systemctl status whiteboard + # systemctl status webchat and observe /var/log/syslog diff --git a/debian/changelog b/debian/changelog index de01abe..5891085 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,75 +1,5 @@ -whiteboard (1.9) UNRELEASED; urgency=medium - - * Updated build environment - * Added missing image files - - -- Roland Reichwein Mon, 20 Feb 2023 10:10:27 +0100 - -whiteboard (1.8) unstable; urgency=medium - - * Added config.maxconnections, defaults to 1000 - * Fixed package dependencies for PDF generation - * Touch documents on read (i.e. reset timeout on read) - * Validate id, server-side - - -- Roland Reichwein Sun, 19 Feb 2023 18:42:32 +0100 - -whiteboard (1.7) unstable; urgency=medium - - * Fix crash on stats.html page reload/close - * Focus on reconnect button - * Added Markdown to PDF download via pandoc - - -- Roland Reichwein Fri, 10 Feb 2023 18:01:37 +0100 - -whiteboard (1.6) unstable; urgency=medium - - * Added stats.html - * Use boost strands instead of mutex - - -- Roland Reichwein Mon, 06 Feb 2023 07:58:39 +0100 - -whiteboard (1.5) unstable; urgency=medium - - * Move from FCGI to websocket interface - * Position changes w/o file transmit - * Print version on main page - * Add reconnect button - * Add diff handling - - -- Roland Reichwein Mon, 30 Jan 2023 21:05:35 +0100 - -whiteboard (1.4) unstable; urgency=medium - - * Move from filesystem based documents to sqlite - * Add tests - * Separated out libreichwein - - -- Roland Reichwein Sat, 21 Jan 2023 12:20:20 +0100 - -whiteboard (1.3) unstable; urgency=medium - - * Page design (center) - * Follow editor's cursor - - -- Roland Reichwein Mon, 05 Dec 2022 19:22:27 +0100 - -whiteboard (1.2) unstable; urgency=medium - - * Fix build on Debian 11 - * UglifyJS on best-effort base - - -- Roland Reichwein Sat, 03 Dec 2022 17:03:11 +0100 - -whiteboard (1.1) unstable; urgency=medium - - * Compress Javascript - * Add QR Code - - -- Roland Reichwein Sat, 03 Dec 2022 16:10:06 +0100 - -whiteboard (1.0) unstable; urgency=medium +webchat (1.0) unstable; urgency=medium * Initial release - -- Roland Reichwein Sat, 05 Nov 2022 13:34:57 +0100 + -- Roland Reichwein Fri, 03 Mar 2023 16:16:00 +0100 diff --git a/debian/control b/debian/control index 9c75069..42fa7db 100644 --- a/debian/control +++ b/debian/control @@ -1,16 +1,17 @@ -Source: whiteboard +Source: webchat Section: web Priority: optional Maintainer: Roland Reichwein -Build-Depends: debhelper (>= 12), libboost-all-dev | libboost1.71-all-dev, clang | g++-9, llvm | g++-9, lld | g++-9, uglifyjs, python3-pkg-resources, htmlmin, cleancss, libqrcodegencpp-dev, libgraphicsmagick++-dev, pkg-config, libfmt-dev, libsqlitecpp-dev, googletest, gcovr, libreichwein-dev, emscripten +Build-Depends: debhelper (>= 12), libboost-all-dev | libboost1.71-all-dev, clang | g++-9, llvm | g++-9, lld | g++-9, uglifyjs, python3-pkg-resources, htmlmin, cleancss, pkg-config, libfmt-dev, libsqlitecpp-dev, googletest, gcovr, libreichwein-dev, emscripten Standards-Version: 4.5.0 Homepage: http://www.reichwein.it/whiteboard/ -Package: whiteboard +Package: webchat Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, libxml2-utils, pandoc, texlive-latex-recommended, texlive-latex-extra +Depends: ${shlibs:Depends}, ${misc:Depends}, libxml2-utils Recommends: webserver Homepage: http://www.reichwein.it/whiteboard/ -Description: Web application for an collaborative editor - Whiteboard is a text editor running on an HTML5 webpage (including a server - part) that enables collaborative editing and presenting. +Description: Web application for chat + Webchat is a cat web application, running on a webserver (e.g. Reichwein.IT + webserver) via websockets interface. Client-wise, it is implemented with + plain HTML and JavaScript. diff --git a/debian/rules b/debian/rules index 72c5b8c..48012e3 100755 --- a/debian/rules +++ b/debian/rules @@ -5,9 +5,9 @@ override_dh_fixperms: dh_fixperms - chmod a+rwx debian/whiteboard/var/lib/whiteboard + chmod a+rwx debian/webchat/var/lib/webchat override_dh_auto_install: dh_auto_install - dh_installsystemd --name whiteboard + dh_installsystemd --name webchat diff --git a/debian/webchat.conf b/debian/webchat.conf new file mode 100644 index 0000000..89645c0 --- /dev/null +++ b/debian/webchat.conf @@ -0,0 +1,34 @@ + + + /var/lib/webchat + + + ::1:8767 + + + 2592000 + + + 4 + + + 500 + diff --git a/debian/webchat.dirs b/debian/webchat.dirs new file mode 100644 index 0000000..c681efe --- /dev/null +++ b/debian/webchat.dirs @@ -0,0 +1 @@ +var/lib/webchat diff --git a/debian/webchat.docs b/debian/webchat.docs new file mode 100644 index 0000000..0812baa --- /dev/null +++ b/debian/webchat.docs @@ -0,0 +1 @@ +webserver.conf.example diff --git a/debian/webchat.webchat.service b/debian/webchat.webchat.service new file mode 100644 index 0000000..b41e655 --- /dev/null +++ b/debian/webchat.webchat.service @@ -0,0 +1,13 @@ +[Unit] +Description=Whiteboard +After=network.target + +[Service] +Type=simple +# Restart=always +ExecStart=/usr/bin/whiteboard + +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/debian/whiteboard.conf b/debian/whiteboard.conf deleted file mode 100644 index 6446d39..0000000 --- a/debian/whiteboard.conf +++ /dev/null @@ -1,34 +0,0 @@ - - - /var/lib/whiteboard - - - ::1:8765 - - - 2592000 - - - 4 - - - 500 - diff --git a/debian/whiteboard.dirs b/debian/whiteboard.dirs deleted file mode 100644 index 7b03c85..0000000 --- a/debian/whiteboard.dirs +++ /dev/null @@ -1 +0,0 @@ -var/lib/whiteboard diff --git a/debian/whiteboard.docs b/debian/whiteboard.docs deleted file mode 100644 index 0812baa..0000000 --- a/debian/whiteboard.docs +++ /dev/null @@ -1 +0,0 @@ -webserver.conf.example diff --git a/debian/whiteboard.whiteboard.service b/debian/whiteboard.whiteboard.service deleted file mode 100644 index b41e655..0000000 --- a/debian/whiteboard.whiteboard.service +++ /dev/null @@ -1,13 +0,0 @@ -[Unit] -Description=Whiteboard -After=network.target - -[Service] -Type=simple -# Restart=always -ExecStart=/usr/bin/whiteboard - -Restart=always - -[Install] -WantedBy=multi-user.target -- cgit v1.2.3