diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.Debian | 32 | ||||
-rw-r--r-- | debian/changelog | 74 | ||||
-rw-r--r-- | debian/control | 15 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/webchat.conf (renamed from debian/whiteboard.conf) | 14 | ||||
-rw-r--r-- | debian/webchat.dirs | 1 | ||||
-rw-r--r-- | debian/webchat.docs (renamed from debian/whiteboard.docs) | 0 | ||||
-rw-r--r-- | debian/webchat.webchat.service (renamed from debian/whiteboard.whiteboard.service) | 0 | ||||
-rw-r--r-- | debian/whiteboard.dirs | 1 |
9 files changed, 36 insertions, 105 deletions
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 - <path requested="/whiteboard"> + <path requested="/webchat"> <plugin>static-files</plugin> - <target>/usr/lib/whiteboard/html</target> + <target>/usr/lib/webchat/html</target> </path> - <path requested="/whiteboard/websocket"> + <path requested="/webchat/websocket"> <plugin>websocket</plugin> - <target>127.0.0.1:9014</target> + <target>127.0.0.1:9015</target> </path> -* 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 <mail@reichwein.it> 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 <mail@reichwein.it> 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 <mail@reichwein.it> 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 <mail@reichwein.it> 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 <mail@reichwein.it> 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 <mail@reichwein.it> Sat, 21 Jan 2023 12:20:20 +0100 - -whiteboard (1.3) unstable; urgency=medium - - * Page design (center) - * Follow editor's cursor - - -- Roland Reichwein <mail@reichwein.it> 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 <mail@reichwein.it> Sat, 03 Dec 2022 17:03:11 +0100 - -whiteboard (1.1) unstable; urgency=medium - - * Compress Javascript - * Add QR Code - - -- Roland Reichwein <mail@reichwein.it> Sat, 03 Dec 2022 16:10:06 +0100 - -whiteboard (1.0) unstable; urgency=medium +webchat (1.0) unstable; urgency=medium * Initial release - -- Roland Reichwein <mail@reichwein.it> Sat, 05 Nov 2022 13:34:57 +0100 + -- Roland Reichwein <mail@reichwein.it> 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 <mail@reichwein.it> -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/whiteboard.conf b/debian/webchat.conf index 6446d39..89645c0 100644 --- a/debian/whiteboard.conf +++ b/debian/webchat.conf @@ -1,19 +1,19 @@ <config> <!-- - datapath: location in filesystem to store whiteboard data - Example: /var/lib/whiteboard + datapath: location in filesystem to store webchat data + Example: /var/lib/webchat --> - <datapath>/var/lib/whiteboard</datapath> + <datapath>/var/lib/webchat</datapath> <!-- port: socket to listen on for websocket - Example: ::1:8765 + Example: ::1:8767 --> - <port>::1:8765</port> + <port>::1:8767</port> <!-- - Maximum age of individual whiteboard pages in seconds. - Older pages will be removed by whiteboard-cleanup and crond. + Maximum age of individual webchat pages in seconds. + Older pages will be removed by webchat-cleanup and crond. Example: 2592000 (~30 days) --> <maxage>2592000</maxage> 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/whiteboard.docs b/debian/webchat.docs index 0812baa..0812baa 100644 --- a/debian/whiteboard.docs +++ b/debian/webchat.docs diff --git a/debian/whiteboard.whiteboard.service b/debian/webchat.webchat.service index b41e655..b41e655 100644 --- a/debian/whiteboard.whiteboard.service +++ b/debian/webchat.webchat.service 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 |