From 2476d1091a17b6d304f4e14891ef916317b02721 Mon Sep 17 00:00:00 2001 From: Thomas Hooge Date: Tue, 18 Aug 2026 10:06:04 +0200 Subject: [PATCH] First code release to public --- webgui/footer.php | 2 +- webgui/globals.inc | 6 ++++-- webgui/manual.php | 2 +- yms/ui/main.ui | 9 ++++++--- 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/webgui/footer.php b/webgui/footer.php index 848f9da..951c3af 100644 --- a/webgui/footer.php +++ b/webgui/footer.php @@ -1,5 +1,5 @@ diff --git a/webgui/globals.inc b/webgui/globals.inc index 4400403..8a70c25 100644 --- a/webgui/globals.inc +++ b/webgui/globals.inc @@ -12,6 +12,7 @@ * # Date Changes by * ------ ------------ ---------------------------------------------- ----- * 0.1.0 2024-03-12 Started development tho + ' 0.2.0 2026-08-18 First public release tho * */ @@ -47,7 +48,7 @@ define('ROLE_SAILOR', 'sailor'); // ========== PAGE START CODE ================================================= // global version string -$g_version = 'v0.1.1'; +$g_version = 'v0.2.0'; $g_scriptname = basename($_SERVER['SCRIPT_NAME']); @@ -88,6 +89,7 @@ try { break; case 1044: case 1045: + case 1698: // access denied to db or generic access denied echo "Unable to connect to database, perhaps username or password is wrong.\n"; break; @@ -274,7 +276,7 @@ class User { $row = $sth->fetch(PDO::FETCH_OBJ); $this->role = $row->role; $this->flags = array_filter(explode(',', $row->flags)); - if ($row->flags != 0 ) { + if (($row->flags != 0) and ($row->flags != '')) { // deleted or locked, intentionally not return detailed reason $this->errormessage = _('User account does not exist'); } elseif (password_verify($user_pass, $row->pass)) { diff --git a/webgui/manual.php b/webgui/manual.php index 3df8921..403625c 100644 --- a/webgui/manual.php +++ b/webgui/manual.php @@ -16,7 +16,7 @@ require 'header.php';

-Hinweis: Es handelt sich hier um einen Prototypen (Version )!
+Hinweis: Es handelt sich hier um eine Vorschau (Version )!
Einige Funktionen sind noch nicht oder nicht vollständig implementiert. Rückmeldungen sind immer willkommen!

diff --git a/yms/ui/main.ui b/yms/ui/main.ui index 3531252..b7c7aa8 100644 --- a/yms/ui/main.ui +++ b/yms/ui/main.ui @@ -2615,9 +2615,12 @@ True False - This is an early prototype of YMS native GUI. + This is an early release of YMS native GUI. Please use the web frontend wich is already -in and useble state. +in an usable state. + +For further assistance please consult the related +thread in "Segeln Forum" @@ -2641,7 +2644,7 @@ in and useble state. True False - YMS-GUI version 0.1.1 + YMS-GUI version 0.2.0 False