feat: implement authentication routes with login, logout, and user info retrieval

feat: add S3 bucket versioning support and related XML response handling

refactor: rename temporary file paths from 'teleuploader' to 'filedrop' for consistency

fix: update Swagger documentation to reflect new API name and descriptions

test: add unit tests for authentication routes and utilities

test: implement end-to-end tests for S3 bucket configuration and versioning

chore: update environment variable defaults for new service name
This commit is contained in:
asepharyana
2026-07-07 19:58:15 +07:00
parent 144ebe6dd3
commit 340c12d671
28 changed files with 898 additions and 52 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
#!/bin/bash
# ─── TeleUploader Deploy Script ──────────────────────────────────────────────
# ─── FileDrop Deploy Script ──────────────────────────────────────────────────
# Builds the Bun app locally and deploys to the VPS via Docker.
#
# Strategy: build dist locally, ship dist + Docker context to VPS via tar pipe,
@@ -22,14 +22,14 @@
# VPS_SSH_KEY — path/contents of SSH private key
#
# Optional:
# DEPLOY_DIR — deploy dir on VPS (default: /opt/teleuploader)
# DEPLOY_DIR — deploy dir on VPS (default: /opt/filedrop)
# ADMIN_PASSWORD — verify health after deploy (optional)
# ──────────────────────────────────────────────────────────────────────────────
set -eu
# ── Config ────────────────────────────────────────────────────────────────────
APP_NAME="teleuploader"
APP_NAME="filedrop"
GITLAB_PROJECT="superaseph%2FTeleUploader"
DEPLOY_DIR="${DEPLOY_DIR:-/opt/${APP_NAME}}"
COMPOSE_FILE="docker-compose.yml"