9 Commits

Author SHA1 Message Date
Gitea Actions
212d43d145 Update manifest version to 7.0.1 [▶️] 2025-12-17 18:21:40 +00:00
3045c2df3d Merge branch 'main' of https://git.icc.gg/ivancarlos/bundledcmdb
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 24m18s
2025-12-17 15:21:10 -03:00
6d5524a215 fix export excel 2025-12-17 15:20:51 -03:00
Gitea Actions
380422d230 Update manifest version to 7.0.0 [▶️] 2025-12-10 01:33:40 +00:00
e5ea38c973 refactor to php composer
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 23m5s
2025-12-09 22:33:15 -03:00
Gitea Actions
5643e77f0f Update manifest version to 6.1.0 [▶️] 2025-12-10 00:18:53 +00:00
1e95a3cf07 phar
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 22m31s
2025-12-09 21:18:18 -03:00
Gitea Actions
e6779edec7 Update AWS SDK PHAR [▶️] 2025-12-10 00:08:02 +00:00
1f18de7750 phar
All checks were successful
Build, Push, Publish / Build & Release (push) Successful in 9s
2025-12-09 21:06:35 -03:00
4 changed files with 9 additions and 7 deletions

View File

@@ -4,7 +4,7 @@ COPY composer.json composer.json
# COPY composer.lock composer.lock # No lock file yet
COPY auth_keycloak.php auth_keycloak.php
COPY s3_client.php s3_client.php
RUN composer install --no-dev --ignore-platform-reqs --no-scripts --prefer-dist
RUN export COMPOSER_PROCESS_TIMEOUT=2000 && composer install --no-dev --ignore-platform-reqs --no-scripts --prefer-dist
# Stage 2: Final image
FROM php:8.4-fpm-alpine
@@ -16,6 +16,8 @@ RUN apk add --no-cache --update nginx \
# Copy dependencies from vendor stage
COPY --from=vendor /app/vendor /var/www/html/vendor
# Copy aws.phar
# aws.phar is now installed via composer
# Copy application code
COPY . /var/www/html/

View File

@@ -4,10 +4,10 @@
"type": "project",
"require": {
"php": "^8.2",
"aws/aws-sdk-php": "^3.300",
"ext-pdo": "*",
"ext-curl": "*",
"ext-json": "*"
"ext-json": "*",
"aws/aws-sdk-php": "^3.0"
},
"autoload": {
"classmap": [
@@ -15,4 +15,4 @@
"s3_client.php"
]
}
}
}

View File

@@ -1,4 +1,4 @@
{
"version": "6.0.0",
"version": "7.0.1",
"author": "Ivan Carlos"
}

View File

@@ -140,7 +140,7 @@ $output = fopen('php://output', 'w');
fwrite($output, "\xEF\xBB\xBF");
// Write CSV header row
fputcsv($output, $columns_to_export);
fputcsv($output, $columns_to_export, ",", "\"", "\\");
// Write all rows
foreach ($allRows as $row) {
@@ -152,7 +152,7 @@ foreach ($allRows as $row) {
}
$exportRow[] = $val;
}
fputcsv($output, $exportRow);
fputcsv($output, $exportRow, ",", "\"", "\\");
}
fclose($output);