[PR #584] [MERGED] feat: add support for POST uploads and S3 sources #1196

Closed
opened 2026-03-15 15:58:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/flyimg/flyimg/pull/584
Author: @sadok-f
Created: 9/16/2025
Status: Merged
Merged: 9/18/2025
Merged by: @sadok-f

Base: mainHead: issue#583


📝 Commits (6)

  • e27d180 feat: add support for POST uploads and S3 sources
  • a49e85b docs: improve PHPDoc comments for clarity and consistency
  • e271b70 fix: correct PHPDoc formatting
  • 3fbaeb7 fix linting errors
  • 887fb10 fix linting errors
  • 56b183a docs: Removed outdated section on GET with data URIs for clarity.

📊 Changes

7 files changed (+402 additions, -85 deletions)

View changed files

📝 config/routes.yml (+8 -1)
📝 docs/configuration.md (+47 -0)
📝 docs/url-options.md (+39 -0)
📝 src/Core/Controller/DefaultController.php (+61 -4)
📝 src/Core/Entity/Image/InputImage.php (+182 -18)
📝 tests/Core/Controller/CoreControllerTest.php (+0 -1)
📝 tests/Core/Controller/DefaultControllerTest.php (+65 -61)

📄 Description

  • Introduced new POST /upload/{options} endpoint for image uploads with raw binary or JSON payloads.
  • Enhanced upload functionality to handle data URIs and S3 references.
  • Updated routing configuration to include methods for upload endpoints.
  • Expanded documentation to cover new upload methods and S3 configuration options.
  • Added tests for new upload features, ensuring functionality for various input types.
    closes #583

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/flyimg/flyimg/pull/584 **Author:** [@sadok-f](https://github.com/sadok-f) **Created:** 9/16/2025 **Status:** ✅ Merged **Merged:** 9/18/2025 **Merged by:** [@sadok-f](https://github.com/sadok-f) **Base:** `main` ← **Head:** `issue#583` --- ### 📝 Commits (6) - [`e27d180`](https://github.com/flyimg/flyimg/commit/e27d18084ed4a6c035e7c212d8523a3d938f7788) feat: add support for POST uploads and S3 sources - [`a49e85b`](https://github.com/flyimg/flyimg/commit/a49e85b98654e5affd52648d77dabf42f2030f37) docs: improve PHPDoc comments for clarity and consistency - [`e271b70`](https://github.com/flyimg/flyimg/commit/e271b70b42ab77e471c663dac366218fe62f5a17) fix: correct PHPDoc formatting - [`3fbaeb7`](https://github.com/flyimg/flyimg/commit/3fbaeb75d120bcd844d345b32a8d0f2696582186) fix linting errors - [`887fb10`](https://github.com/flyimg/flyimg/commit/887fb101003ec6c5711bdd405afe000b7c45051b) fix linting errors - [`56b183a`](https://github.com/flyimg/flyimg/commit/56b183acd54b9114a1304192721a05927dff3cae) docs: Removed outdated section on GET with data URIs for clarity. ### 📊 Changes **7 files changed** (+402 additions, -85 deletions) <details> <summary>View changed files</summary> 📝 `config/routes.yml` (+8 -1) 📝 `docs/configuration.md` (+47 -0) 📝 `docs/url-options.md` (+39 -0) 📝 `src/Core/Controller/DefaultController.php` (+61 -4) 📝 `src/Core/Entity/Image/InputImage.php` (+182 -18) 📝 `tests/Core/Controller/CoreControllerTest.php` (+0 -1) 📝 `tests/Core/Controller/DefaultControllerTest.php` (+65 -61) </details> ### 📄 Description - Introduced new POST /upload/{options} endpoint for image uploads with raw binary or JSON payloads. - Enhanced upload functionality to handle data URIs and S3 references. - Updated routing configuration to include methods for upload endpoints. - Expanded documentation to cover new upload methods and S3 configuration options. - Added tests for new upload features, ensuring functionality for various input types. closes #583 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 15:58:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flyimg#1196
No description provided.