Compare commits

...

2 Commits

Author SHA1 Message Date
Donald Zou
b355d72e0a Update version number 2025-12-12 06:58:52 +08:00
Donald Zou
ec9131ea10 Add status filter to job log query
The job log query now filters for entries where Status is 0 or 'false', improving the ability to retrieve logs with specific status values.
2025-12-11 07:31:14 +08:00
3 changed files with 3 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ from .DashboardAPIKey import DashboardAPIKey
class DashboardConfig: class DashboardConfig:
DashboardVersion = 'v4.3.0.2' DashboardVersion = 'v4.3.0.4'
ConfigurationPath = os.getenv('CONFIGURATION_PATH', '.') ConfigurationPath = os.getenv('CONFIGURATION_PATH', '.')
ConfigurationFilePath = os.path.join(ConfigurationPath, 'wg-dashboard.ini') ConfigurationFilePath = os.path.join(ConfigurationPath, 'wg-dashboard.ini')

View File

@@ -90,6 +90,7 @@ class PeerJobLogger:
db.and_( db.and_(
(self.jobLogTable.c.LogID == LogID if LogID is not None else True), (self.jobLogTable.c.LogID == LogID if LogID is not None else True),
(self.jobLogTable.c.JobID == JobID if JobID is not None else True), (self.jobLogTable.c.JobID == JobID if JobID is not None else True),
db.or_(self.jobLogTable.c.Status == 0, self.jobLogTable.c.Status == 'false')
) )
) )
) )

View File

@@ -1,6 +1,6 @@
{ {
"name": "app", "name": "app",
"version": "4.3.0.3", "version": "4.3.0.4",
"private": true, "private": true,
"type": "module", "type": "module",
"module": "es2022", "module": "es2022",