First code release to public
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
<footer class="bg-body-tertiary text-center">
|
<footer class="bg-body-tertiary text-center">
|
||||||
<p>Prototyp YMS <?=$g_version?></p>
|
<p>Preview YMS <?=$g_version?></p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
</div><?php /* Main container */?>
|
</div><?php /* Main container */?>
|
||||||
|
|||||||
+4
-2
@@ -12,6 +12,7 @@
|
|||||||
* # Date Changes by
|
* # Date Changes by
|
||||||
* ------ ------------ ---------------------------------------------- -----
|
* ------ ------------ ---------------------------------------------- -----
|
||||||
* 0.1.0 2024-03-12 Started development tho
|
* 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 =================================================
|
// ========== PAGE START CODE =================================================
|
||||||
|
|
||||||
// global version string
|
// global version string
|
||||||
$g_version = 'v0.1.1';
|
$g_version = 'v0.2.0';
|
||||||
|
|
||||||
$g_scriptname = basename($_SERVER['SCRIPT_NAME']);
|
$g_scriptname = basename($_SERVER['SCRIPT_NAME']);
|
||||||
|
|
||||||
@@ -88,6 +89,7 @@ try {
|
|||||||
break;
|
break;
|
||||||
case 1044:
|
case 1044:
|
||||||
case 1045:
|
case 1045:
|
||||||
|
case 1698:
|
||||||
// access denied to db or generic access denied
|
// access denied to db or generic access denied
|
||||||
echo "Unable to connect to database, perhaps username or password is wrong.\n";
|
echo "Unable to connect to database, perhaps username or password is wrong.\n";
|
||||||
break;
|
break;
|
||||||
@@ -274,7 +276,7 @@ class User {
|
|||||||
$row = $sth->fetch(PDO::FETCH_OBJ);
|
$row = $sth->fetch(PDO::FETCH_OBJ);
|
||||||
$this->role = $row->role;
|
$this->role = $row->role;
|
||||||
$this->flags = array_filter(explode(',', $row->flags));
|
$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
|
// deleted or locked, intentionally not return detailed reason
|
||||||
$this->errormessage = _('User account does not exist');
|
$this->errormessage = _('User account does not exist');
|
||||||
} elseif (password_verify($user_pass, $row->pass)) {
|
} elseif (password_verify($user_pass, $row->pass)) {
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ require 'header.php';
|
|||||||
|
|
||||||
<p class="p-3 mb-3 bg-info-subtle border border-info-subtle rounded">
|
<p class="p-3 mb-3 bg-info-subtle border border-info-subtle rounded">
|
||||||
<i class="bi bi-info-circle-fill me-2"></i>
|
<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.
|
Einige Funktionen sind noch nicht oder nicht vollständig implementiert.
|
||||||
Rückmeldungen sind immer willkommen!</p>
|
Rückmeldungen sind immer willkommen!</p>
|
||||||
|
|
||||||
|
|||||||
+6
-3
@@ -2615,9 +2615,12 @@
|
|||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</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
|
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>
|
</property>
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
@@ -2641,7 +2644,7 @@ in and useble state.
|
|||||||
<object class="GtkLabel">
|
<object class="GtkLabel">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</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>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
|
|||||||
Reference in New Issue
Block a user