fixed sanitizeFilename for backend\API,

added new API call attachmentDownload,
fixed attachment URL to call attachmentDownload,
refactoring Report.vue for <script setup>
This commit is contained in:
2025-10-16 01:40:44 +02:00
parent ed3d202488
commit 3e9056f4a6
4 changed files with 225 additions and 169 deletions

16
backend/composer.lock generated
View File

@ -8,11 +8,11 @@
"packages": [
{
"name": "tpsoft/apilite",
"version": "v1.0.2",
"version": "v1.0.3",
"source": {
"type": "git",
"url": "https://gitea.tpsoft.org/TPsoft.org/APIlite.git",
"reference": "2d3f8bfdd46d0d304bac44057ff8444bfb2a4a17"
"reference": "c0fd7b3fe5270ee44a84a92e9255ada2438812b7"
},
"require": {
"php": ">=8.2"
@ -49,15 +49,15 @@
"type": "other"
}
],
"time": "2025-06-12T05:54:37+00:00"
"time": "2025-10-13T21:36:34+00:00"
},
{
"name": "tpsoft/dbmodel",
"version": "v1.0.4",
"version": "v1.0.5",
"source": {
"type": "git",
"url": "https://gitea.tpsoft.org/TPsoft.org/DBmodel.git",
"reference": "ae59ffaa97094854bcd1d863c6648a5b4dada671"
"reference": "80e889946bc4e38e987f46a13f95ee177ea934dc"
},
"require": {
"ext-pdo": "*",
@ -85,7 +85,9 @@
"keywords": [
"db",
"model",
"pdo"
"mysql",
"pdo",
"sqlite"
],
"funding": [
{
@ -93,7 +95,7 @@
"type": "other"
}
],
"time": "2025-06-15T17:07:42+00:00"
"time": "2025-10-13T21:26:19+00:00"
}
],
"packages-dev": [],