9 Commits

Author SHA1 Message Date
jletienne
b0e8d8edb5 Implement normalize_upload_paths function: Add a utility to standardize upload paths, ensuring correct directory and destination paths when the provided path may include the filename. Update upload controllers to utilize this new function for improved path handling.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-22 20:14:14 +02:00
jletienne
e19a43fcd5 Add recursive directory creation utility: Implement create_directory_recursive function in utils.py to ensure directories are created recursively if they do not exist. Update upload controllers to utilize this new function for improved error handling and code clarity.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-22 19:29:00 +02:00
jletienne
571a80b725 Update README: Add documentation for downloading files in Base64 format, including endpoint details, parameters, examples, and response structure. Also, introduce new download_base64.py controller in the project structure.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-21 14:44:20 +02:00
jletienne
4c7ee65d34 Refactor upload_base64 endpoint: Change from using a Pydantic model to FastAPI Form parameters for file uploads, improving clarity and usability of the API. Update variable references for consistency.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-20 18:22:21 +02:00
jletienne
9c79988559 Add upload_base64 controller: Implement endpoint for uploading files encoded in base64 to Nextcloud, including error handling for directory creation and file upload conflicts.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-20 18:07:02 +02:00
jletienne
bbb8590cd8 Enhance configuration settings: add 'extra' parameter to model_config in Settings class to ignore additional environment variables, improving flexibility for deployment environments.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-20 17:51:16 +02:00
jletienne
0df9cd69f8 Refactor Coolify configuration: update documentation to clarify port exposure and remove external port binding in docker-compose. Enhance README with instructions for local usage and emphasize automatic port management by Traefik.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-20 17:49:54 +02:00
jletienne
89da43b706 Update .gitignore to exclude local database files and enhance README with Docker deployment instructions and examples for file uploads.
Some checks failed
Docker Build / build (push) Has been cancelled
2025-10-20 17:40:56 +02:00
jletienne
8d6ae6291e Initial commit: Set up FastAPI application for Nextcloud API with configuration, controllers, and utility functions. Added .gitignore, README, and requirements files. Implemented endpoints for file listing, uploading, and health checks. 2025-10-20 17:21:55 +02:00