First code release to public

This commit is contained in:
2026-08-18 10:06:04 +02:00
parent fb5705ada0
commit 2476d1091a
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<footer class="bg-body-tertiary text-center">
<p>Prototyp YMS <?=$g_version?></p>
<p>Preview YMS <?=$g_version?></p>
</footer>
</div><?php /* Main container */?>
+4 -2
View File
@@ -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)) {
+1 -1
View File
@@ -16,7 +16,7 @@ require 'header.php';
<p class="p-3 mb-3 bg-info-subtle border border-info-subtle rounded">
<i class="bi bi-info-circle-fill me-2"></i>
Hinweis: Es handelt sich hier um einen Prototypen (Version <?=$g_version?>)!<br>
Hinweis: Es handelt sich hier um eine Vorschau (Version <?=$g_version?>)!<br>
Einige Funktionen sind noch nicht oder nicht vollständig implementiert.
Rückmeldungen sind immer willkommen!</p>
+6 -3
View File
@@ -2615,9 +2615,12 @@
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">This is an early prototype of YMS native GUI.
<property name="label" translatable="yes">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"
</property>
</object>
<packing>
@@ -2641,7 +2644,7 @@ in and useble state.
<object class="GtkLabel">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">YMS-GUI version 0.1.1</property>
<property name="label" translatable="yes">YMS-GUI version 0.2.0</property>
</object>
<packing>
<property name="expand">False</property>